:root {
    --bg: #0a0908;
    --bg2: #12100d;
    --panel: #17140f;
    --cream: #f3eadc;
    --mut: #b5aa9a;
    --green: #2bb673;
    --deep: #0e3a27;
    --line: rgba(243, 234, 220, 0.14);
    --pad: clamp(1.1rem, 4vw, 3.4rem);
    --serif: "Bodoni Moda", "Times New Roman", serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html { overflow-x: clip; scroll-padding-top: 5.5rem; scroll-behavior: smooth; }

body {
    margin: 0;
    overflow-x: clip;
    background: var(--bg);
    color: var(--cream);
    font-family: var(--sans);
    font-size: 1.06rem;
    line-height: 1.55;
    text-wrap: pretty;
    -webkit-font-smoothing: antialiased;
}

body::after {
    content: "";
    position: fixed;
    z-index: 90;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }

a { color: inherit; }

button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.25;
    text-wrap: balance;
}

h2 em, h1 em, .em { font-style: italic; color: var(--green); }

p { margin: 0; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    color: var(--green);
    font-weight: 600;
}

.eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: currentColor; }

/* ---------- header ---------- */

.skip {
    position: fixed;
    z-index: 100;
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: var(--green);
    color: #03150c;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-200%);
}

.skip:focus { transform: none; }


.navbox { position: absolute; opacity: 0; pointer-events: none; }

.bar {
    position: fixed;
    z-index: 60;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem var(--pad);
}

.bar::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(10, 9, 8, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 1;
}

.brand { display: inline-flex; position: relative; z-index: 2; }

.brand img { height: 2rem; width: auto; filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 0.2rem; }

.nav a {
    position: relative;
    padding: 0.5rem 0.9rem;
    color: var(--cream);
    font-size: 0.98rem;
    font-weight: 500;
    text-decoration: none;
}

.nav a::after {
    content: "";
    position: absolute;
    right: 0.9rem;
    bottom: 0.2rem;
    left: 0.9rem;
    height: 1px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.bar__end { display: flex; justify-content: flex-end; align-items: center; gap: 0.8rem; position: relative; z-index: 2; }

.navbtn { display: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0.6rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: var(--cream);
    color: #0a0908;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn:hover { transform: translateY(-2px); }

.btn--go { background: var(--green); color: #03150c; box-shadow: 0 0 0 0 rgba(43, 182, 115, 0.5); }

.btn--go:hover { background: #4ad38f; box-shadow: 0 10px 40px -8px rgba(43, 182, 115, 0.65); }

.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(243, 234, 220, 0.45); }

.btn--ghost:hover { background: var(--cream); color: #0a0908; }

.btn .ar { transition: transform 0.35s var(--ease); }

.btn:hover .ar { transform: translateX(4px); }

/* ---------- hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    overflow: clip;
    background:
        radial-gradient(55% 60% at 50% 72%, rgba(43, 182, 115, 0.3), transparent 72%),
        radial-gradient(38% 40% at 12% 18%, rgba(190, 120, 55, 0.18), transparent 70%),
        radial-gradient(34% 40% at 90% 10%, rgba(43, 182, 115, 0.14), transparent 70%),
        var(--bg);
}

.hero__word {
    position: absolute;
    z-index: 1;
    top: 5svh;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    font-size: clamp(8.5rem, 34vw, 38rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--cream);
    white-space: nowrap;
}

.hero__word span {
    display: inline-block;
    animation: letter 1.5s var(--ease) both;
    animation-delay: calc(0.15s + var(--i) * 0.09s);
}

@keyframes letter {
    from { opacity: 0; translate: 0 22%; filter: blur(14px); }
    to { opacity: 1; translate: 0 0; filter: blur(0); }
}

.hero__arch {
    position: absolute;
    z-index: 2;
    bottom: 6.2rem;
    left: 50%;
    width: min(21vw, 23rem);
    min-width: 14rem;
    aspect-ratio: 4 / 5.3;
    margin-left: calc(min(21vw, 23rem) / -2);
    border-radius: 999px 999px 1.4rem 1.4rem;
    overflow: hidden;
    background: #1b1713;
    box-shadow: 0 50px 120px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(243, 234, 220, 0.14);
    animation: arch 1.6s 0.35s var(--ease) both;
}

@keyframes arch {
    from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); translate: 0 5rem; }
    to { clip-path: inset(0 0 0 0 round 999px 999px 1.4rem 1.4rem); translate: 0 0; }
}

.hero__arch img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.hero__arch img:first-child { opacity: 1; }

.hero__meta {
    position: absolute;
    z-index: 6;
    bottom: 3.2rem;
    max-width: 19rem;
    animation: fade 1.2s 1.4s var(--ease) both;
}

.hero__meta--l { left: var(--pad); }

.hero__meta--r { right: var(--pad); display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; }

.hero__meta .kick { margin-bottom: 0.5rem; font-family: var(--serif); font-size: 1.7rem; line-height: 1.25; }

.hero__meta p { color: var(--mut); }

@keyframes fade { from { opacity: 0; translate: 0 1rem; } to { opacity: 1; translate: 0 0; } }

.hero__scroll {
    position: absolute;
    z-index: 3;
    bottom: 1.1rem;
    left: 50%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(-50%);
    color: var(--mut);
    font-size: 0.85rem;
    text-decoration: none;
}

.hero__scroll::after {
    content: "";
    width: 1px;
    height: 2rem;
    background: linear-gradient(var(--cream), transparent);
    animation: drip 2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes drip {
    0% { transform: scaleY(0); opacity: 1; }
    60% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- beans ---------- */

.bean {
    position: absolute;
    z-index: var(--z, 2);
    width: var(--w);
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.6)) blur(var(--b, 0));
    animation: float var(--t, 9s) ease-in-out var(--d, 0s) infinite alternate;
}

@keyframes float {
    from { translate: 0 -12px; rotate: calc(var(--r, 0deg) - 5deg); }
    to { translate: 0 16px; rotate: calc(var(--r, 0deg) + 6deg); }
}

.hero .bean { z-index: 4; }

.bean.is-back { z-index: 0; }

/* ---------- statement ---------- */

.statement {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.9fr);
    align-items: center;
    gap: clamp(1.6rem, 4vw, 4.5rem);
    padding: clamp(4rem, 10vh, 7rem) var(--pad);
    background: var(--bg);
}

.statement p {
    max-width: 11em;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.35rem, 4.4vw, 4.8rem);
    line-height: 1.25;
}

.statement__shot {
    margin: 0;
    justify-self: end;
    width: min(100%, 34rem);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 999px 999px 1.4rem 1.4rem;
    background: #1b1713;
    box-shadow: 0 50px 120px -28px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(243, 234, 220, 0.14);
}

.statement__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

.statement .w {
    display: block;
    color: rgba(243, 234, 220, 0.2);
}

.statement em { font-style: italic; color: var(--green); }

.statement .w--quiet {
    max-width: 28em;
    margin-top: 1.4rem;
    font-family: var(--sans);
    font-size: clamp(1.05rem, 1.35vw, 1.35rem);
    font-weight: 400;
    line-height: 1.45;
    color: rgba(243, 234, 220, 0.55);
}

.statement .w--quiet + .w--quiet { margin-top: 0.15em; }

/* ---------- rail ---------- */

.rail { position: relative; background: var(--bg2); }

.rail__pin { position: relative; display: flex; align-items: center; height: 100svh; overflow: clip; }

@media (min-width: 901px) {
    .rail.is-run .rail__pin { position: sticky; top: 0; }
}

.rail__intro {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(46rem, 48vw);
    padding: 3rem 12rem 3rem var(--pad);
    background: linear-gradient(90deg, var(--bg2) 0, var(--bg2) 62%, rgba(18, 16, 13, 0.85) 78%, transparent);
    pointer-events: none;
}

.rail__intro h2 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); }

.rail__intro p.sub { margin-top: 1.1rem; max-width: 24rem; color: var(--mut); }

.rail__bar { display: block; width: 12rem; height: 2px; margin-top: 1.8rem; background: var(--line); overflow: hidden; }

.rail__bar i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0.04); }

.rail__track {
    display: flex;
    flex: none;
    gap: 1.4rem;
    width: max-content;
    padding: 0 var(--pad) 0 max(36rem, calc(var(--pad) + 40vw));
}

.shot {
    position: relative;
    flex: none;
    height: min(72svh, 40rem);
    margin: 0;
    overflow: hidden;
    border-radius: 1.2rem;
    background: #1b1713;
}

.shot--p { aspect-ratio: 4 / 5; }
.shot--w { aspect-ratio: 16 / 11; }
.shot--s { aspect-ratio: 1024 / 803; }

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.shot:hover img { transform: scale(1.06); }

.shot figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 4rem 1.4rem 1.2rem;
    background: linear-gradient(transparent, rgba(8, 7, 6, 0.82));
    font-family: var(--serif);
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    line-height: 1.25;
}

.shot--end {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.2rem;
    width: min(26rem, 80vw);
    padding: 2rem;
    background: linear-gradient(160deg, #124a31, #0b2a1d);
    color: var(--cream);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(43, 182, 115, 0.35);
}

.shot--end strong { font-family: var(--serif); font-size: clamp(2.4rem, 3.4vw, 3.4rem); font-weight: 500; line-height: 1.25; }

.shot--end .circle {
    display: grid;
    place-items: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background: var(--green);
    color: #03150c;
    font-size: 1.4rem;
    transition: transform 0.5s var(--ease);
}

.shot--end:hover .circle { transform: translateX(8px) rotate(-45deg); }

/* ---------- blend ---------- */

.blend {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    padding: clamp(5rem, 12vh, 9rem) var(--pad);
    overflow: clip;
    background:
        radial-gradient(60% 70% at 20% 40%, rgba(43, 182, 115, 0.22), transparent 70%),
        linear-gradient(180deg, #0c2a1d, #07150e);
}

.blend__img { position: relative; z-index: 1; aspect-ratio: 4 / 5; max-height: 80svh; overflow: hidden; border-radius: 999px 999px 1.4rem 1.4rem; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.8); }

.blend__img img { width: 100%; height: 112%; object-fit: cover; object-position: center 90%; }

.blend__txt { position: relative; z-index: 1; max-width: 34rem; }

.blend__txt h2 { font-size: clamp(3rem, 6vw, 6rem); }

.blend__txt p { margin-top: 1.2rem; color: #cfd9d2; }

.blend dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 2.4rem; margin: 2rem 0; padding: 1.2rem 0; border-block: 1px solid var(--line); }

.blend dt { color: var(--mut); font-size: 0.9rem; }

.blend dd { margin: 0.1rem 0 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; }

/* ---------- visit ---------- */

.visit {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(5rem, 12vh, 9rem) var(--pad);
    background: var(--bg);
}

.visit__map { height: min(34rem, 70svh); overflow: hidden; border-radius: 1.4rem; box-shadow: 0 0 0 1px var(--line); }

.visit__map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.55) brightness(0.92) contrast(0.95); }

.visit__txt h2 { font-size: clamp(2.8rem, 5.4vw, 5.4rem); }

.visit address { margin: 1.4rem 0; font-size: 1.25rem; font-style: normal; line-height: 1.45; }

.visit__links { display: grid; gap: 0.3rem; margin-bottom: 1.8rem; }

.visit__links a { width: fit-content; color: var(--cream); text-decoration: none; background: linear-gradient(var(--green), var(--green)) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }

.visit__links a:hover { background-size: 100% 1px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- close ---------- */

.close {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 82svh;
    padding: 6rem var(--pad);
    overflow: clip;
    text-align: center;
    background: #0a0908;
}

.close__bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }

.close::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(60% 60% at 50% 50%, rgba(10, 9, 8, 0.1), rgba(10, 9, 8, 0.85));
}

.close h1, .close h2 { max-width: 14ch; margin: 0 auto 2rem; font-size: clamp(3rem, 8vw, 8rem); }

/* ---------- footer ---------- */

.foot { position: relative; overflow: clip; padding: 4rem var(--pad) 0; background: var(--bg); border-top: 1px solid var(--line); }

.foot__top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 2rem 3rem;
}

.foot__top p { margin-top: 1rem; max-width: 28ch; color: var(--mut); }

.foot nav, .foot .reach { display: grid; align-content: start; gap: 0.55rem; }

.foot nav { justify-items: center; text-align: center; }

.foot .reach { justify-items: end; text-align: right; }

.foot a { text-decoration: none; }

.foot .reach a { color: var(--cream); font-weight: 400; }

.foot nav a:hover, .foot .reach a:hover { color: var(--green); }

.foot__word {
    margin: -2.5rem 0 -0.3em;
    text-align: center;
    font-family: var(--serif);
    font-size: clamp(7rem, 31vw, 34rem);
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(243, 234, 220, 0.28), rgba(243, 234, 220, 0));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

/* ---------- inner pages ---------- */

.subhero {
    position: relative;
    isolation: isolate;
    min-height: min(64svh, 40rem);
    display: flex;
    align-items: flex-end;
    padding: 9rem var(--pad) 3.5rem;
    overflow: clip;
    background:
        radial-gradient(50% 70% at 80% 30%, rgba(43, 182, 115, 0.24), transparent 70%),
        var(--bg);
}

.subhero h1 { max-width: 12ch; font-size: clamp(3.4rem, 9vw, 9rem); animation: fade 1.2s 0.1s var(--ease) both; }

.subhero .lede { max-width: 30rem; margin-top: 1.4rem; color: var(--mut); font-size: 1.2rem; animation: fade 1.2s 0.3s var(--ease) both; }

.subhero__arch {
    position: absolute;
    z-index: -1;
    top: 7rem;
    right: var(--pad);
    width: min(24vw, 22rem);
    aspect-ratio: 4 / 5.2;
    overflow: hidden;
    border-radius: 999px 999px 1.2rem 1.2rem;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
}

.subhero__arch img { width: 100%; height: 100%; object-fit: cover; }

.wrap { width: min(1120px, calc(100% - (var(--pad) * 2))); margin-inline: auto; }

.prose {
    width: min(54rem, calc(100% - (var(--pad) * 2)));
    margin: 0 0 0 var(--pad);
    padding: 3.2rem 0 2.8rem;
    font-size: clamp(1.2rem, 1.45vw, 1.45rem);
    line-height: 1.55;
}

.prose p + p { margin-top: 1rem; }

.prose a { color: var(--green); }

.aims {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 0 var(--pad) 1.4rem;
}

.aims article {
    padding: 1.6rem 1.7rem 1.8rem;
    border-radius: 1.2rem;
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line);
}

.aims h2 { margin-bottom: 0.7rem; font-size: clamp(2rem, 3vw, 2.8rem); }

.aims p { max-width: 36rem; color: var(--mut); font-size: 1.08rem; line-height: 1.55; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding-bottom: 5rem; }

.pair.wrap { width: auto; margin: 0; padding-left: var(--pad); padding-right: var(--pad); }

.pair .par { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.2rem; }

.pair .par img { width: 100%; height: 118%; object-fit: cover; }

.pair .par:nth-child(2) { margin-top: 4rem; }

.sheet { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.2rem; padding: 3rem 0 6rem; }

.panel { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 1.4rem; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }

.panel h2 { font-size: clamp(2rem, 3.2vw, 3rem); }

.reach p { margin-top: 1rem; }

.reach a, .note a { color: var(--green); font-weight: 600; text-underline-offset: 0.2em; }

.note { margin-top: 1.4rem; color: var(--mut); }

.form { display: grid; gap: 1rem; align-content: start; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form label { display: grid; gap: 0.4rem; color: var(--mut); font-size: 0.95rem; font-weight: 500; }

.form label.wide { grid-column: 1 / -1; }

.form input, .form textarea, .form select {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 0;
    border-radius: 0.8rem;
    background: #221e18;
    box-shadow: inset 0 0 0 1px transparent;
    color: var(--cream);
    line-height: 1.25;
    transition: box-shadow 0.3s;
}

.form input:focus, .form textarea:focus, .form select:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--green); }

.form textarea { min-height: 9rem; resize: vertical; }

.form select option { background: #221e18; }

.form .check { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 400; }

.form .check input { width: auto; margin-top: 0.2rem; accent-color: var(--green); }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.flash { margin: 0; padding: 0.85rem 1rem; border-radius: 0.8rem; background: rgba(43, 182, 115, 0.16); color: #7be0ae; font-weight: 600; }

.flash.is-bad { background: rgba(220, 70, 70, 0.16); color: #ff9c9c; }

/* ---------- motion that needs scroll timelines ---------- */

@supports (animation-timeline: view()) {
    .bar::before { opacity: 0; animation: barbg linear both; animation-timeline: scroll(root); animation-range: 0 140px; }

    @keyframes barbg { to { opacity: 1; } }

    .home .hero__arch img { animation: ken 18s ease-in-out infinite alternate, cf 18s ease-in-out infinite; }
    .home .hero__arch img:nth-child(2) { animation-delay: 0s, -12s; }
    .home .hero__arch img:nth-child(3) { animation-delay: 0s, -6s; }

    .hero__word { animation: wordup linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    .hero__arch.is-scroll { }

    @keyframes wordup { to { translate: 0 -12svh; opacity: 0.2; } }

    .hero .bean { animation: float var(--t, 9s) ease-in-out var(--d, 0s) infinite alternate, lift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100svh; }

    @keyframes lift { to { transform: translateY(var(--py, -18svh)); } }

    .statement .w { animation: lit linear both; animation-timeline: view(); animation-range: cover 18% cover 42%; }

    @keyframes lit { to { color: var(--cream); } }

    .par img { animation: par linear both; animation-timeline: view(); }

    @keyframes par { from { translate: 0 -7%; } to { translate: 0 7%; } }

    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 5% entry 50%; }

    @keyframes rv { from { opacity: 0; translate: 0 3.2rem; } to { opacity: 1; translate: 0 0; } }

    .blend .bean, .close .bean { animation: float var(--t, 9s) ease-in-out var(--d, 0s) infinite alternate, lift2 linear both; animation-timeline: auto, view(); }

    @keyframes lift2 { from { transform: translateY(8svh); } to { transform: translateY(-8svh); } }

    .foot__word { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
}

@supports not (animation-timeline: view()) {
    .home .hero__arch img { animation: cf 18s ease-in-out infinite; }
    .home .hero__arch img:nth-child(2) { animation-delay: -12s; }
    .home .hero__arch img:nth-child(3) { animation-delay: -6s; }
    .statement .w { color: var(--cream); }
    .rail__pin { height: auto; padding: 5rem 0; flex-direction: column; align-items: stretch; }
    .rail__intro { position: static; width: auto; transform: none; background: none; }
    .rail__track { width: auto; padding: 1rem var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; }
    .shot { scroll-snap-align: start; }
}

@keyframes cf {
    0%, 27% { opacity: 1; }
    32%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes ken { from { scale: 1; } to { scale: 1.12; } }

/* ---------- mobile ---------- */

@media (max-width: 900px) {
    .bar { grid-template-columns: 1fr auto; }

    .navbtn {
        display: inline-flex;
        padding: 0.55rem 1rem;
        border-radius: 999px;
        box-shadow: inset 0 0 0 1px rgba(243, 234, 220, 0.4);
        font-weight: 600;
        cursor: pointer;
    }

    .navbtn .shut { display: none; }
    .navbox:checked ~ .bar .navbtn .open { display: none; }
    .navbox:checked ~ .bar .navbtn .shut { display: inline; }

    .bar__end .btn { min-height: 2.6rem; padding-inline: 1.1rem; }

    .nav {
        position: fixed;
        z-index: 1;
        inset: 0;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 6rem var(--pad) 3rem;
        background: radial-gradient(70% 50% at 80% 90%, rgba(43, 182, 115, 0.25), transparent 70%), #0a0908;
    }

    .nav a { padding: 0.2rem 0; font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 3.4rem); line-height: 1.25; animation: fade 0.7s var(--ease) both; }
    .nav a:nth-child(2) { animation-delay: 0.06s; }
    .nav a:nth-child(3) { animation-delay: 0.12s; }
    .nav a:nth-child(4) { animation-delay: 0.18s; }
    .nav a::after { display: none; }

    .navbox:checked ~ .bar .nav { display: flex; }

    .hero__word { top: 15svh; font-size: clamp(7rem, 35vw, 20rem); }

    .hero__arch { bottom: 11rem; width: min(62vw, 22rem); margin-left: calc(min(62vw, 22rem) / -2); }

    .hero__meta { bottom: 2.6rem; }
    .hero__meta--l { right: var(--pad); max-width: none; }
    .hero__meta--l p:not(.kick) { display: none; }
    .hero__meta--l .kick { font-size: 1.25rem; }
    .hero__meta--r { left: var(--pad); right: var(--pad); flex-direction: row; align-items: center; justify-content: flex-end; bottom: 2.6rem; }
    .hero__meta--l { bottom: 6.4rem; left: var(--pad); }
    .hero__scroll { display: none; }

    .rail { height: auto; }
    .rail__pin { position: relative; height: auto; padding: 5rem 0 2.5rem; flex-direction: column; align-items: stretch; overflow: visible; }
    .rail__intro { position: static; width: auto; padding: 0 var(--pad) 1.4rem; transform: none; background: none; }
    .rail__intro p.sub { display: none; }
    .rail__intro h2 { font-size: clamp(2.2rem, 9vw, 3rem); }
    .rail__track { width: auto; max-width: 100%; padding: 0 var(--pad) 1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
    .shot { scroll-snap-align: start; }
    .shot { height: min(48svh, 26rem); }

    .blend, .visit, .sheet, .pair, .form-grid, .foot__top, .statement, .aims { grid-template-columns: 1fr; }

    .foot nav, .foot .reach { justify-items: start; text-align: left; }

    .statement__shot { justify-self: stretch; width: 100%; max-height: 28rem; }

    .blend__img { max-height: 70svh; }
    .blend dl { grid-template-columns: repeat(3, auto); gap: 0 1.4rem; }

    .visit__map { order: 2; height: 22rem; }

    .subhero { min-height: 70svh; padding-top: 8rem; }
    .subhero__arch { top: 6rem; right: var(--pad); width: 11rem; opacity: 0.9; }
    .subhero h1 { font-size: clamp(3.2rem, 15vw, 5.4rem); }

    .pair .par:nth-child(2) { margin-top: 0; }

    .subhero .bean { display: none; }
    .prose { width: auto; margin: 0; padding: 2.2rem var(--pad) 2rem; font-size: 1.1rem; }

    .close { min-height: 70svh; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .hero__arch img { opacity: 0; }
    .hero__arch img:first-child { opacity: 1; }
    .statement .w { color: var(--cream); }
    .rail { height: auto; }
    .rail__pin { position: relative; height: auto; padding: 5rem 0; flex-direction: column; align-items: stretch; }
    .rail__intro { position: static; width: auto; transform: none; background: none; }
    .rail__track { width: auto; padding: 1rem var(--pad); overflow-x: auto; }
}
