/* Basic */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.remains-page {
    margin: 0;
    background: #11100e;
    color: #eee7dc;
    font-family: Arial, sans-serif;
}

.remains-page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remains-page a {
    color: inherit;
    text-decoration: none;
}

.remains-page p {
    line-height: 1.8;
}

.remains-page h1,
.remains-page h2,
.remains-page h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
}

.remains-page .eyebrow {
    margin: 0 0 25px;
    color: #b99a62;
    font-size: 10px;
    letter-spacing: 3px;
    line-height: 1.8;
}


/* Navigation */

.remains-header {
    height: 68px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #383126;
    background: #11100e;
}

.remains-header .logo {
    font-family: Georgia, serif;
    font-size: 23px;
    letter-spacing: 2px;
}

.remains-header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.remains-header nav a {
    color: #c5beb2;
    font-size: 10px;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.remains-header nav a:hover,
.remains-header nav a.active {
    color: #c8a66a;
}


/* Intro */

.remains-intro {
    position: relative;
    min-height: 580px;
    padding: 100px 10% 110px;
    display: grid;
    grid-template-columns: 1.1fr 0.8fr;
    gap: 10%;
    align-items: center;
    background: #17140f;
}

.intro-title h1 {
    margin: 0;
    color: #f0e7d8;
    font-size: clamp(75px, 10vw, 140px);
    letter-spacing: -5px;
    line-height: 0.85;
}

.intro-title h1 span,
.ending-left h2 span {
    color: #bd9b60;
}

.intro-line {
    width: 75px;
    height: 1px;
    margin-top: 35px;
    background: #b99a62;
}

.intro-caption {
    margin-top: 20px;
    color: #a69a86;
    font-size: 9px;
    letter-spacing: 2px;
}

.intro-text {
    padding-top: 35px;
}

.intro-quote {
    color: #e1d0b1;
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.5;
}

.intro-text > p:not(.intro-quote) {
    color: #a9a196;
    font-size: 13px;
}

.remains-link {
    display: inline-block;
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #9e8353;
    color: #d2b57d;
    font-size: 10px;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.remains-link span {
    margin-left: 14px;
    font-size: 16px;
}

.remains-link:hover {
    color: #fff0d0;
}

.intro-index {
    position: absolute;
    right: 5%;
    bottom: 25px;
    color: #837761;
    font-size: 9px;
    letter-spacing: 2px;
}


/* Banner */

.banner-section {
    padding: 100px 10%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 9%;
    align-items: center;
    background: #e9e0d1;
    color: #29231c;
}

.banner-image {
    position: relative;
    height: 620px;
    background: #d5c8b3;
}

.banner-image img {
    object-position: center;
}

.banner-image-label {
    position: absolute;
    top: 20px;
    right: 20px;
    left: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #f2e8d7;
    font-size: 9px;
    letter-spacing: 2px;
}

.banner-info .eyebrow {
    color: #94784c;
}

.banner-info h2 {
    margin: 0;
    font-size: clamp(40px, 5vw, 67px);
    line-height: 1.03;
    letter-spacing: -1px;
}

.banner-description {
    margin: 25px 0;
    color: #625749;
    font-size: 13px;
}

.object-meta {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid #c8bca8;
    border-bottom: 1px solid #c8bca8;
}

.object-meta > div {
    margin-bottom: 18px;
}

.object-meta > div:last-child {
    margin-bottom: 0;
}

.object-meta small {
    color: #92784e;
    font-size: 9px;
    letter-spacing: 2px;
}

.object-meta p {
    margin: 5px 0 0;
    color: #30291f;
    font-family: Georgia, serif;
    font-size: 16px;
}


/* Object cards */

.objects-section {
    padding: 120px 10%;
    background: #141310;
}

.objects-heading {
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr 0.65fr;
    gap: 10%;
    align-items: end;
}

.objects-heading h2 {
    margin: 0;
    color: #f0e7d8;
    font-size: clamp(45px, 5.5vw, 76px);
    line-height: 1.08;
}

.objects-heading-text {
    margin: 0 0 5px;
    color: #aaa195;
    font-size: 13px;
}

.objects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px 35px;
    align-items: start;
}

.object-card {
    min-width: 0;
}

.object-image {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: #272117;
}

.object-image img {
    transition: transform 0.6s;
}

.object-card:hover .object-image img {
    transform: scale(1.04);
}

.object-number {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(238, 231, 220, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff0d8;
    font-family: Georgia, serif;
    font-size: 15px;
}

.object-text {
    padding: 25px 5px 0;
}

.object-category {
    margin: 0 0 12px;
    color: #b99a62;
    font-size: 9px;
    letter-spacing: 2px;
}

.object-text h3 {
    margin: 0;
    color: #eee5d6;
    font-size: 36px;
}

.object-text > p:not(.object-category) {
    max-width: 420px;
    color: #aaa195;
    font-size: 12px;
}

.object-bottom {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #40372a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #bba77f;
    font-size: 9px;
    letter-spacing: 2px;
}

.object-bottom span:last-child {
    font-size: 19px;
}


/* Time section */

.time-section {
    padding: 110px 10% 45px;
    background: #211c15;
}

.time-top h2 {
    margin: 0;
    color: #f0e7d8;
    font-size: clamp(42px, 5.5vw, 75px);
    line-height: 1.15;
}

.time-content {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 10%;
    align-items: center;
}

.time-number {
    padding: 35px 0;
    border-top: 1px solid #655438;
    border-bottom: 1px solid #655438;
    text-align: center;
}

.time-number > span {
    color: #b99a62;
    font-size: 10px;
    letter-spacing: 4px;
}

.time-number p {
    margin: 0;
    color: #c6a76e;
    font-family: Georgia, serif;
    font-size: clamp(100px, 15vw, 200px);
    line-height: 1.1;
    letter-spacing: -8px;
}

.time-number p span {
    font-size: 0.45em;
    vertical-align: top;
}

.time-number small {
    color: #c7b99f;
    font-size: 10px;
    letter-spacing: 5px;
}

.time-quote {
    color: #e6d6b8;
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.5;
}

.time-text p:not(.time-quote) {
    color: #aaa195;
    font-size: 13px;
}

.time-bottom {
    margin-top: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #b5a487;
    font-size: 9px;
    letter-spacing: 2px;
}

.time-line {
    flex: 1;
    height: 1px;
    background: #66563c;
}


/* Meaning */

.meaning-section {
    padding: 130px 10%;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 10%;
    align-items: center;
    background: #e9e0d1;
    color: #29231c;
}

.meaning-image {
    position: relative;
    height: 650px;
    overflow: hidden;
    background: #cfc1ab;
}

.meaning-image img {
    transition: transform 0.6s;
}

.meaning-image:hover img {
    transform: scale(1.04);
}

.meaning-image-text {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px;
    background: linear-gradient(transparent, rgba(15, 12, 8, 0.85));
}

.meaning-image-text p {
    color: #d4b77e;
    font-size: 9px;
    letter-spacing: 2px;
}

.meaning-image-text h2 {
    margin: 15px 0 0;
    color: #fff0d8;
    font-size: 46px;
    line-height: 1.1;
}

.meaning-text .eyebrow {
    color: #94784c;
}

.meaning-text > h2 {
    margin: 0 0 25px;
    font-size: clamp(48px, 5vw, 68px);
    line-height: 1.05;
}

.meaning-text > p:not(.eyebrow) {
    color: #625749;
    font-size: 13px;
}

.meaning-detail {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #c8bca8;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 15px;
}

.meaning-detail > span {
    color: #92784e;
    font-family: Georgia, serif;
    font-size: 19px;
}

.meaning-detail h3 {
    margin: 0;
    font-size: 22px;
}

.meaning-detail p {
    margin: 5px 0 0;
    color: #6e6253;
    font-size: 12px;
}


/* Ending */

.ending {
    padding: 110px 10%;
    display: grid;
    grid-template-columns: 1.1fr 0.8fr;
    gap: 10%;
    align-items: center;
    background: #17140f;
}

.ending-left h2 {
    margin: 0;
    color: #f0e7d8;
    font-size: clamp(58px, 7vw, 95px);
    letter-spacing: -3px;
    line-height: 0.98;
}

.ending-right {
    padding-top: 25px;
}

.ending-quote {
    color: #e1d0b1;
    font-family: Georgia, serif;
    font-size: 25px;
}

.ending-right > p:not(.ending-quote) {
    color: #aaa195;
    font-size: 13px;
}


/* Footer */

.remains-footer {
    padding: 30px 5%;
    border-top: 1px solid #383126;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #11100e;
}

.footer-logo {
    font-family: Georgia, serif;
    font-size: 19px;
    letter-spacing: 2px;
}

.remains-footer p,
.remains-footer span {
    color: #918779;
    font-size: 9px;
    letter-spacing: 1.5px;
}


/* Tablet */

@media (max-width: 900px) {

    .remains-header {
        height: auto;
        min-height: 68px;
        padding: 20px 5%;
        gap: 20px;
    }

    .remains-header nav {
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 15px 20px;
    }

    .remains-intro {
        padding: 80px 7% 90px;
        gap: 6%;
    }

    .intro-title h1 {
        font-size: 90px;
    }

    .banner-section,
    .meaning-section {
        padding: 90px 7%;
        gap: 7%;
    }

    .banner-image {
        height: 500px;
    }

    .objects-section {
        padding: 90px 7%;
    }

    .object-image {
        height: 320px;
    }

    .time-section {
        padding: 90px 7% 40px;
    }

    .meaning-image {
        height: 520px;
    }

    .ending {
        padding: 90px 7%;
        gap: 7%;
    }

}


/* Mobile */

@media (max-width: 600px) {

    .remains-header {
        padding: 18px 6%;
        display: block;
    }

    .remains-header .logo {
        display: block;
        margin-bottom: 18px;
    }

    .remains-header nav {
        justify-content: flex-start;
        gap: 13px 17px;
    }

    .remains-header nav a {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .remains-intro {
        min-height: auto;
        padding: 75px 7% 80px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .intro-title h1 {
        font-size: clamp(70px, 17vw, 100px);
        letter-spacing: -3px;
    }

    .intro-text {
        padding-top: 0;
    }

    .intro-quote {
        font-size: 23px;
    }

    .intro-index {
        right: 7%;
        bottom: 20px;
        font-size: 8px;
    }

    .banner-section {
        padding: 65px 7%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .banner-image {
        height: 430px;
    }

    .banner-info h2 {
        font-size: 49px;
    }

    .objects-section {
        padding: 75px 7%;
    }

    .objects-heading {
        margin-bottom: 35px;
        display: block;
    }

    .objects-heading h2 {
        font-size: 49px;
    }

    .objects-heading-text {
        margin-top: 20px;
    }

    .objects-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .object-image {
        height: 400px;
    }

    .object-text {
        padding-top: 20px;
    }

    .object-text h3 {
        font-size: 32px;
    }

    .time-section {
        padding: 75px 7% 35px;
    }

    .time-top h2 {
        font-size: 43px;
    }

    .time-content {
        margin-top: 35px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 35px;
    }

    .time-number p {
        font-size: clamp(105px, 30vw, 165px);
    }

    .time-quote {
        font-size: 22px;
    }

    .time-bottom {
        margin-top: 45px;
        gap: 12px;
        font-size: 8px;
    }

    .meaning-section {
        padding: 75px 7%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 45px;
    }

    .meaning-image {
        height: 430px;
    }

    .meaning-image-text {
        padding: 23px;
    }

    .meaning-image-text h2 {
        font-size: 39px;
    }

    .meaning-text > h2 {
        font-size: 48px;
    }

    .ending {
        padding: 75px 7%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .ending-left h2 {
        font-size: 62px;
    }

    .ending-quote {
        font-size: 23px;
    }

    .remains-footer {
        padding: 25px 6%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

}