:root {
    --navy: #081d3d;
    --gold: #b88a4a;
    --gold-light: #d6b57b;
    --cream: #f7eee1;
    --muted: #536278;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--navy);
    color: var(--navy);
    font-family: Montserrat, Arial, sans-serif;
    overflow-x: hidden;
}

body:after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.loader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 1s ease,
        visibility 1s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
    color: var(--cream);
}

.loader-logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 72px;
    letter-spacing: -6px;
    color: var(--gold-light);
    animation: logoIn 1.2s ease both;
}

.loader-line {
    width: 0;
    height: 1px;
    background: var(--gold-light);
    margin: 15px auto;
    animation: loadLine 1.5s 0.3s ease forwards;
}

.loader-text {
    font-size: 9px;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.7;
}

@keyframes logoIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes loadLine {
    to {
        width: 130px;
    }
}

.hero {
    position: relative;
    /* min-height: 100svh; */
    max-height: calc(100vh - 55px);
    overflow: hidden;
    background: var(--cream);
    /* isolation: isolate; */
}

.hero-image {
    position: absolute;
    /* inset: 0; */
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    /* z-index: -3; */
    /* animation: heroZoom 14s ease-out forwards; */

    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg,
            rgba(247, 238, 225, 0.99) 0%,
            rgba(247, 238, 225, 0.95) 28%,
            rgba(247, 238, 225, 0.62) 45%,
            rgba(247, 238, 225, 0.08) 70%,
            rgba(247, 238, 225, 0) 100%);
}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    right: -160px;
    top: 8%;
    background: rgba(214, 181, 123, 0.14);
    filter: blur(70px);
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    50% {
        transform: translate(-35px, 25px);
    }
}

.topbar {
    position: absolute;
    z-index: 5;
    left: 4.5vw;
    right: 4.5vw;
    top: 25px;
    display: flex;
    align-items: center;
    gap: 40px;
    animation: navIn 1.1s 0.9s both;
}

@keyframes navIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.logo {
    color: var(--gold);
    font:
        500 58px/0.75 "Cormorant Garamond",
        serif;
    letter-spacing: -5px;
}

.nav {
    display: flex;
    gap: 34px;
}

.nav a {
    position: relative;
    text-decoration: none;
    color: var(--navy);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 9px 0;
}

.nav a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: 0.3s;
}

.nav a:hover:after,
.nav a.active:after {
    width: 100%;
}

.motto {
    margin-left: auto;
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.motto span {
    margin: 0 12px;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    padding: clamp(145px, 18vh, 210px) 0 100px 5.8vw;
    display: flex;
    align-items: flex-start;
}

.copy {
    width: min(550px, 43vw);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.d1 {
    animation-delay: 1.1s;
}

.d2 {
    animation-delay: 1.25s;
}

.d3 {
    animation-delay: 1.4s;
}

.d4 {
    animation-delay: 1.55s;
}

.d5 {
    animation-delay: 1.7s;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: none;
    }
}

.name {
    margin: 0;
    font:
        500 clamp(55px, 5.5vw, 95px)/0.85 "Cormorant Garamond",
        serif;
    letter-spacing: 8px;
    color: var(--navy);
}

.eyebrow {
    margin-top: 24px;
    font-size: 11px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    line-height: 1.8;
}

.rule {
    width: 75px;
    height: 1px;
    background: var(--gold);
    margin: 45px 0 28px;
}

.headline {
    margin: 0;
    font:
        500 clamp(48px, 5vw, 76px)/0.86 "Cormorant Garamond",
        serif;
}

.headline em {
    font-weight: 400;
    color: var(--gold);
}

.description {
    max-width: 465px;
    margin: 30px 0;
    color: #26364b;
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.6px;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 17px 27px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
    transition: 0.4s;
}

.cta:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-101%);
    transition: 0.4s;
    z-index: -1;
}

.cta:hover {
    color: #fff;
}

.cta:hover:before {
    transform: none;
}

.cta .arrow {
    transition: 0.3s;
}

.cta:hover .arrow {
    transform: translateX(6px);
}

.side-note {
    position: absolute;
    z-index: 3;
    right: 4vw;
    top: 28%;
    width: 160px;
    color: var(--navy);
    font:
        italic 25px/1.05 "Cormorant Garamond",
        serif;
    animation: sideIn 1.2s 1.5s both;
}

@keyframes sideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.side-note:after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-top: 27px;
}

.scroll {
    position: absolute;
    z-index: 5;
    right: 5vw;
    bottom: 32px;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 8px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 13px;
}

.scroll:after {
    content: "";
    height: 55px;
    width: 1px;
    background: var(--gold);
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(0.3);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

.bottom {
    position: absolute;
    z-index: 5;
    left: 5.8vw;
    right: 9vw;
    bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--gold);
    font-size: 10px;
}

.social a {
    text-decoration: none;
}

.signature {
    color: var(--gold);
    font:
        italic 27px "Cormorant Garamond",
        serif;
}

.marquee {
    background: var(--navy);
    color: var(--cream);
    height: 55px;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    gap: 35px;
    min-width: max-content;
    animation: marquee 25s linear infinite;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.marquee-dot {
    color: var(--gold);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.story {
    background: var(--cream);
    padding: 110px 8vw 120px;
    position: relative;
}

.story-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.section-label {
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
}

.story h2 {
    font:
        500 clamp(46px, 5vw, 72px)/0.9 "Cormorant Garamond",
        serif;
    margin: 18px 0 25px;
}

.story h2 em {
    color: var(--gold);
    font-weight: 400;
}

.story p {
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
    max-width: 500px;
}

.story-card {
    padding: 55px;
    border: 1px solid rgba(184, 138, 74, 0.35);
    background: rgba(255, 255, 255, 0.22);
    position: relative;
}

.story-card:before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(184, 138, 74, 0.15);
}

.story-card-number {
    position: relative;
    font:
        400 90px/0.8 "Cormorant Garamond",
        serif;
    color: var(--gold-light);
}

.story-card-title {
    position: relative;
    font:
        500 31px "Cormorant Garamond",
        serif;
    margin-top: 20px;
}

.story-card-text {
    position: relative;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 12px;
}

@media (max-width: 1000px) {
    .motto {
        display: none;
    }

    .copy {
        width: 51vw;
    }

    .nav {
        gap: 20px;
    }

    .hero-image {
        object-fit: cover;
        opacity: 0.3;
    }
}

@media (max-width: 767px) {
    .hero-image {
        object-position: 0% center;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(247, 238, 225, 0.99) 0%,
                rgba(247, 238, 225, 0.94) 45%,
                rgba(247, 238, 225, 0.72) 75%,
                rgba(247, 238, 225, 0.45) 100%);
    }

    .topbar {
        top: 17px;
        left: 7vw;
        right: 7vw;
    }

    .logo {
        font-size: 50px;
    }

    .nav {
        display: none;
    }

    .hero-content {
        padding: 105px 8vw 130px;
    }

    .copy {
        width: 100%;
    }

    .name {
        font-size: clamp(51px, 14vw, 78px);
        letter-spacing: 4px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 2.2px;
        line-height: 1.8;
        max-width: 320px;
    }

    .rule {
        margin: 31px 0 23px;
        width: 55px;
    }

    .headline {
        font-size: clamp(46px, 13vw, 68px);
    }

    .description {
        font-size: 12px;
        line-height: 1.8;
        max-width: 350px;
        margin: 23px 0;
    }

    .cta {
        padding: 15px 20px;
    }

    .side-note,
    .scroll {
        display: none;
    }

    .bottom {
        left: 8vw;
        right: 8vw;
        bottom: 18px;
    }

    .social {
        gap: 10px;
        font-size: 9px;
    }

    .social .handle {
        display: none;
    }

    .signature {
        font-size: 22px;
    }

    .story {
        padding: 80px 8vw;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .story-card {
        padding: 40px 30px;
    }
}

@media (max-width: 430px) {
    .hero-image {
        object-position: 40% center;
        opacity: 0.23;
    }

    .hero-content {
        padding-top: 98px;
    }

    .name {
        font-size: 49px;
    }

    .headline {
        font-size: 44px;
    }

    .description {
        font-size: 11.5px;
    }

    .social a:nth-child(n + 4) {
        display: none;
    }

    .story-card-number {
        font-size: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}