/* =========================================================
   The Oriad — Coming Soon
   ========================================================= */

:root {
    --ink: #0a1620;
    --ink-2: #102530;
    --ink-3: #173441;
    --sand: #f4ede2;
    --sand-2: #e9dcc7;
    --cream: #faf6ef;
    --gold: #c8a46a;
    --gold-light: #e6cc9f;
    --gold-deep: #8a6934;
    --coral: #e2775d;
    --text-dark: #1d2a31;
    --text-muted-dark: #5d544a;
    --text-muted-light: rgba(250, 246, 239, .72);
    --line-light: rgba(230, 204, 159, .28);

    --sans: "Jost", "Segoe UI", system-ui, sans-serif;

    --sea-h: clamp(140px, 22vh, 240px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Film grain over everything for a printed, tactile feel */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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)'/%3E%3C/svg%3E");
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------- Typography helpers ---------- */

.eyebrow {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 1.25rem;
}

.section--dark .eyebrow,
.hero .eyebrow,
.invite .eyebrow { color: var(--gold-light); }

.eyebrow--lined {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}
.eyebrow--lined::before,
.eyebrow--lined::after {
    content: "";
    width: clamp(1.5rem, 5vw, 3.5rem);
    height: 1px;
    background: currentColor;
    opacity: .6;
}

.display {
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -.01em;
}
.display em { font-style: normal; font-weight: 400; color: var(--gold-deep); }
.section--dark .display em,
.invite .display em { color: var(--gold-light); }

.lede {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    color: var(--text-muted-dark);
    max-width: 34rem;
}
.section--dark .lede { color: var(--text-muted-light); }

/* ---------- Buttons ---------- */

.btn {
    --btn-pad-y: 1rem;
    --btn-pad-x: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    border: 1px solid transparent;
    border-radius: 999px;
    font: 500 .74rem/1 var(--sans);
    letter-spacing: .26em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
    color: var(--ink);
    background: linear-gradient(135deg, #f1dcb2 0%, var(--gold) 55%, #b18a4c 100%);
    box-shadow: 0 10px 30px -10px rgba(200, 164, 106, .7);
}
.btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(200, 164, 106, .9); }

.btn--ghost {
    color: var(--cream);
    border-color: var(--line-light);
    background: rgba(10, 22, 32, .15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn--sm { --btn-pad-y: .7rem; --btn-pad-x: 1.3rem; font-size: .66rem; }

/* ---------- Navigation ---------- */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    color: var(--cream);
    transition: background .5s var(--ease), border-color .5s var(--ease), padding .5s var(--ease);
    border-bottom: 1px solid transparent;
    padding-block: 1.25rem;
}
.nav.is-scrolled {
    background: rgba(10, 22, 32, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line-light);
    padding-block: .7rem;
}
.nav__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold-light);
}
.nav__links { display: flex; gap: 2.5rem; }
.nav__links a {
    position: relative;
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted-light);
    transition: color .3s;
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 1px;
    background: var(--gold-light);
    transform: scaleX(0);
    transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { transform: scaleX(1); }

.crest--nav { width: 22px; height: auto; color: var(--gold-light); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 7.5rem var(--gutter) calc(var(--sea-h) + 2.5rem);
    color: var(--cream);
    text-align: center;
}

.hero__sky {
    position: absolute;
    inset: 0;
    z-index: -6;
    background:
        radial-gradient(ellipse 70% 40% at 50% calc(100% - var(--sea-h)), rgba(255, 186, 120, .55), transparent 70%),
        linear-gradient(180deg,
            #060d1a 0%,
            #0e1630 22%,
            #261d42 40%,
            #5b2c50 54%,
            #a54456 64%,
            #dc6f57 72%,
            #f2a45c 79%,
            #f7c77f 84%,
            #f7c77f 100%);
}

.hero__stars {
    position: absolute;
    inset: 0 0 45% 0;
    z-index: -5;
    opacity: .8;
    background-image:
        radial-gradient(1px 1px at 12% 18%, #fff, transparent),
        radial-gradient(1px 1px at 22% 42%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 31% 12%, #fff, transparent),
        radial-gradient(1px 1px at 44% 30%, #fff, transparent),
        radial-gradient(1px 1px at 58% 10%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 67% 36%, #fff, transparent),
        radial-gradient(1px 1px at 76% 16%, #fff, transparent),
        radial-gradient(1px 1px at 86% 44%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 92% 8%, #fff, transparent),
        radial-gradient(1px 1px at 6% 52%, #fff, transparent),
        radial-gradient(1px 1px at 52% 52%, #fff, transparent);
    animation: twinkle 7s ease-in-out infinite alternate;
}

.hero__sun {
    position: absolute;
    left: 50%;
    bottom: calc(var(--sea-h) - clamp(60px, 9vw, 110px));
    width: clamp(140px, 18vw, 230px);
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    z-index: -4;
    background: radial-gradient(circle at 50% 45%, #fff7df 0%, #ffe0a3 35%, #f8b066 65%, #ec7f52 100%);
    box-shadow:
        0 0 60px 20px rgba(255, 190, 120, .45),
        0 0 180px 80px rgba(255, 140, 90, .25);
    animation: sun-breathe 9s ease-in-out infinite alternate;
}

.hero__sea {
    position: absolute;
    inset: auto 0 0 0;
    height: var(--sea-h);
    z-index: -3;
    background: linear-gradient(180deg, #3b2f4f 0%, #1f2a44 30%, #12222f 65%, var(--ink) 100%);
}
.hero__sea::before {  /* horizon glint */
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 214, 160, .9) 50%, transparent);
}

.hero__reflection {
    position: absolute;
    left: 50%;
    top: 0;
    width: clamp(160px, 22vw, 300px);
    height: 85%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255, 205, 140, .85), rgba(255, 150, 100, .25) 60%, transparent);
    filter: blur(3px);
    -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 3px, transparent 3px 8px);
            mask-image: repeating-linear-gradient(180deg, #000 0 3px, transparent 3px 8px);
    clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
    animation: shimmer 4s ease-in-out infinite alternate;
}

.wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    animation: wave-drift linear infinite;
}
.wave--back  { height: 70%; fill: #1a2c3d; opacity: .8; animation-duration: 28s; }
.wave--mid   { height: 50%; fill: #122431; animation-duration: 19s; animation-direction: reverse; }
.wave--front { height: 32%; fill: var(--ink); animation-duration: 13s; }

.palm {
    position: absolute;
    bottom: -2%;
    height: min(82vh, 760px);
    width: auto;
    fill: #050b13;
    z-index: -1;
    pointer-events: none;
}
.palm--left  { left: max(-80px, -6vw); }
.palm--right { right: max(-110px, -8vw); transform: scaleX(-1); height: min(68vh, 620px); }

.palm__crown {
    transform-origin: 0 0;
    animation: sway 8s ease-in-out infinite alternate;
}
.palm--right .palm__crown { animation-duration: 10s; animation-delay: -3s; }

.hero__content {
    position: relative;
    max-width: 880px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero__content > * { animation: rise 1.4s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .15s; }
.hero__content > :nth-child(3) { animation-delay: .3s; }
.hero__content > :nth-child(4) { animation-delay: .45s; }
.hero__content > :nth-child(5) { animation-delay: .6s; }
.hero__content > :nth-child(6) { animation-delay: .75s; }
.hero__content > :nth-child(7) { animation-delay: .9s; }

.crest--hero {
    width: clamp(44px, 5vw, 60px);
    height: auto;
    color: var(--gold-light);
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 0 18px rgba(230, 204, 159, .35));
}

.wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--sans);
    line-height: .9;
    text-shadow: 0 10px 40px rgba(6, 13, 26, .35);
}
.wordmark__the {
    font-weight: 400;
    font-size: clamp(.8rem, 1.4vw, 1rem);
    letter-spacing: .6em;
    margin-right: -.6em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.1em;
}
.wordmark__name {
    font-weight: 200;
    font-size: clamp(2.9rem, 11.5vw, 8rem);
    letter-spacing: .2em;
    margin-right: -.2em; /* balance trailing letter-spacing */
    text-transform: uppercase;
    background: linear-gradient(180deg, #fffaf0 0%, #f3e3c3 45%, #d9b57c 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

.hero__tagline {
    margin-top: 1.25rem;
    font-family: var(--sans);
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 300;
    letter-spacing: .04em;
    color: rgba(250, 246, 239, .88);
}

.hero__opening {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--gold-light);
}
.hero__opening::before,
.hero__opening::after {
    content: "";
    width: 6px;
    height: 6px;
    transform: rotate(45deg);
    border: 1px solid currentColor;
}

/* Countdown */
.countdown {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.5rem, 1.6vw, 1rem);
    width: min(100%, 560px);
}
.countdown__unit {
    position: relative;
    padding: clamp(.9rem, 2vw, 1.3rem) .25rem clamp(.75rem, 1.6vw, 1rem);
    border: 1px solid var(--line-light);
    border-radius: 120px 120px 14px 14px;  /* arched, like the crest */
    background: linear-gradient(180deg, rgba(10, 22, 32, .45), rgba(10, 22, 32, .2));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.countdown__value {
    display: block;
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(1.7rem, 4.4vw, 2.8rem);
    line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--cream);
}
.countdown__label {
    display: block;
    margin-top: .5rem;
    font-size: clamp(.55rem, 1.2vw, .66rem);
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-light);
}
.countdown.is-open { display: block; font-family: var(--sans); font-weight: 300; font-size: 1.5rem; }

.hero__actions {
    margin-top: 2.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(5rem, 11vw, 9rem); position: relative; }

.section--light { background: var(--sand); }

.section--dark {
    background:
        radial-gradient(ellipse 60% 50% at 85% 20%, rgba(23, 52, 65, .9), transparent 70%),
        var(--ink);
    color: var(--cream);
}

.section--sand {
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(226, 119, 93, .12), transparent 70%),
        linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%);
}

.section__head {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}
.feature {
    position: relative;
    padding: 2.25rem 1.75rem 2.5rem;
    background: rgba(255, 255, 255, .45);
    border: 1px solid rgba(138, 105, 52, .18);
    border-radius: 200px 200px 18px 18px;
    text-align: center;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease);
}
.feature:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 30px 60px -30px rgba(29, 42, 49, .35);
}
.feature__num {
    display: block;
    font-family: var(--sans);
    font-size: .85rem;
    letter-spacing: .2em;
    color: var(--gold-deep);
    margin-top: 1rem;
}
.feature__icon {
    width: 52px;
    height: 52px;
    margin: 1.25rem auto 1.5rem;
    fill: none;
    stroke: var(--gold-deep);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.feature h3 {
    font-family: var(--sans);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: .75rem;
}
.feature p { font-size: .95rem; color: var(--text-muted-dark); }

.quote {
    margin: clamp(4rem, 9vw, 7rem) auto 0;
    max-width: 52rem;
    text-align: center;
}
.quote p {
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(1.4rem, 3.2vw, 2.3rem);
    line-height: 1.45;
    color: var(--text-dark);
}
.quote::before {
    content: "";
    display: block;
    width: 1px;
    height: 64px;
    margin: 0 auto 2rem;
    background: linear-gradient(180deg, transparent, var(--gold));
}

/* Setting */
.setting {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: center;
}
.setting__text .lede { margin-top: 1.75rem; }

.highlights {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}
.highlights li {
    position: relative;
    padding: 0 0 1.25rem 2rem;
    border-bottom: 1px solid var(--line-light);
}
.highlights li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .55rem;
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    background: var(--gold);
}
.highlights strong {
    display: block;
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--cream);
}
.highlights span { font-size: .92rem; color: var(--text-muted-light); }

.coords {
    margin-top: 2rem;
    font-size: .72rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.arch {
    position: relative;
    aspect-ratio: 4 / 5;
    padding: 12px;
    border: 1px solid var(--line-light);
    border-radius: 999px 999px 24px 24px;
}
.arch::after {  /* soft glow behind the frame */
    content: "";
    position: absolute;
    inset: 10% 5% -5%;
    z-index: -1;
    background: radial-gradient(circle, rgba(200, 164, 106, .25), transparent 70%);
    filter: blur(40px);
}
.arch iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 999px 999px 16px 16px;
    filter: grayscale(.55) sepia(.25) contrast(1.05) brightness(.95);
    transition: filter .6s var(--ease);
}
.arch:hover iframe { filter: none; }

/* Invite / notify */
.invite {
    position: relative;
    max-width: 820px;
    margin-inline: auto;
    padding: clamp(4rem, 9vw, 6.5rem) clamp(1.5rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem);
    text-align: center;
    color: var(--cream);
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 164, 106, .18), transparent 70%),
        linear-gradient(180deg, var(--ink-2), var(--ink));
    border-radius: 420px 420px 28px 28px;
    box-shadow: 0 50px 100px -40px rgba(10, 22, 32, .6);
    overflow: hidden;
}
.invite::before {  /* inner hairline arch */
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid var(--line-light);
    border-radius: 410px 410px 18px 18px;
    pointer-events: none;
}
.crest--invite { width: 46px; height: auto; margin: 0 auto 1.5rem; color: var(--gold-light); }
.invite__copy { margin: 1.25rem auto 0; max-width: 30rem; color: var(--text-muted-light); }

.notify {
    position: relative;
    margin-top: 2.75rem;
    display: grid;
    grid-template-columns: 1fr 1.3fr auto;
    gap: 1.25rem;
    align-items: end;
    text-align: left;
}
.notify__field label {
    display: block;
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: .35rem;
}
.notify__field .optional { letter-spacing: .1em; text-transform: none; opacity: .65; font-weight: 300; }
.notify__field input {
    width: 100%;
    padding: .8rem 0;
    font: 300 1.05rem var(--sans);
    color: var(--cream);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-light);
    border-radius: 0;
    transition: border-color .3s;
}
.notify__field input::placeholder { color: rgba(250, 246, 239, .35); }
.notify__field input:focus { outline: none; border-bottom-color: var(--gold-light); }
.notify__field input[aria-invalid="true"] { border-bottom-color: var(--coral); }

.notify__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notify__submit { white-space: nowrap; }
.notify__submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.notify.is-loading .notify__label::after { content: "…"; }

.notify__status {
    grid-column: 1 / -1;
    min-height: 1.5em;
    font-size: .95rem;
    text-align: center;
}
.notify__status.is-success { color: var(--gold-light); }
.notify__status.is-error { color: #f29a85; }

.notify.is-done .notify__field,
.notify.is-done .notify__submit { display: none; }
.notify.is-done .notify__status {
    font-family: var(--sans);
    font-size: 1.2rem;
}

.invite__fine { margin-top: 1rem; font-size: .8rem; color: rgba(250, 246, 239, .5); }

/* ---------- Footer ---------- */

.footer {
    background: var(--ink);
    color: var(--text-muted-light);
    padding-top: clamp(4rem, 8vw, 6rem);
    font-size: .95rem;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}
.crest--footer { width: 34px; height: auto; color: var(--gold-light); margin-bottom: 1rem; }
.footer__name {
    font-family: var(--sans);
    font-size: 1.25rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: .5rem;
}
.footer__heading {
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
}
.footer__link { text-decoration: none; color: var(--cream); border-bottom: 1px solid var(--line-light); transition: border-color .3s; }
.footer__link:hover { border-bottom-color: var(--gold-light); }
.footer__muted { color: rgba(250, 246, 239, .55); margin-top: .35rem; }
.footer__grid p + p { margin-top: .4rem; }

.social { display: flex; gap: .75rem; }
.social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    color: var(--gold-light);
    transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    padding-block: 1.75rem;
    border-top: 1px solid rgba(230, 204, 159, .15);
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(250, 246, 239, .45);
}

/* ---------- Error page ---------- */

.error-page {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: var(--gutter);
    text-align: center;
    color: var(--cream);
    background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(226, 119, 93, .25), transparent 70%), var(--ink);
}
.error-page .crest { width: 48px; margin: 0 auto 1.5rem; color: var(--gold-light); }
.error-page .display em { color: var(--gold-light); }
.error-page p { margin: 1rem auto 2rem; color: var(--text-muted-light); max-width: 28rem; }

/* ---------- Scroll reveal (only when JS is running) ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.features .reveal:nth-child(2) { transition-delay: .1s; }
.features .reveal:nth-child(3) { transition-delay: .2s; }
.features .reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- Keyframes ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2.5deg); } }
@keyframes twinkle { from { opacity: .45; } to { opacity: .9; } }
@keyframes shimmer { from { opacity: .65; transform: translateX(-50%) scaleX(.92); } to { opacity: 1; transform: translateX(-50%) scaleX(1.06); } }
@keyframes sun-breathe {
    from { box-shadow: 0 0 60px 20px rgba(255, 190, 120, .4), 0 0 160px 70px rgba(255, 140, 90, .22); }
    to   { box-shadow: 0 0 80px 28px rgba(255, 190, 120, .55), 0 0 220px 95px rgba(255, 140, 90, .3); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .palm--left  { height: min(60vh, 560px); left: -90px; }
    .palm--right { height: min(50vh, 460px); right: -110px; }
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature { border-radius: 160px 160px 18px 18px; }
}

@media (max-width: 860px) {
    .nav__links { display: none; }
    .section__head,
    .setting { grid-template-columns: 1fr; }
    .section__head { align-items: start; }
    .setting__map { max-width: 440px; width: 100%; margin-inline: auto; }
    .notify { grid-template-columns: 1fr; }
    .notify__submit { width: 100%; margin-top: .5rem; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    :root { --sea-h: clamp(110px, 17vh, 160px); }
    .hero { padding-top: 6.5rem; }
    .nav__brand span { font-size: 1rem; letter-spacing: .26em; }
    .palm--left  { height: 46vh; left: -70px; opacity: .9; }
    .palm--right { height: 38vh; right: -80px; opacity: .9; }
    .hero__actions { flex-direction: column; width: 100%; max-width: 320px; }
    .hero__actions .btn { width: 100%; }
    .countdown__unit { border-radius: 80px 80px 10px 10px; }
    .features { grid-template-columns: 1fr; }
    .feature { border-radius: 180px 180px 18px 18px; max-width: 420px; width: 100%; margin-inline: auto; }
    .invite { border-radius: 200px 200px 22px 22px; }
    .invite::before { inset: 10px; border-radius: 192px 192px 14px 14px; }
    .footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .footer__bottom { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 380px) {
    .nav .btn--sm { --btn-pad-x: 1rem; letter-spacing: .18em; }
    .eyebrow--lined::before, .eyebrow--lined::after { width: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
