/* ==========================================================================
   The JW Stories — public portfolio
   Modelled on ethanwong.photography's layout, type and motion (values measured
   from the live site; see the spec's "Reference measurements"). Plain CSS, no
   framework. Animated states hide content only under .js, so pages read
   without JavaScript.
   ========================================================================== */

@font-face { font-family: 'Italiana'; src: url("../fonts/portfolio/italiana.8a42ce7361ef.woff2") format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url("../fonts/portfolio/cormorant.65fe45813c40.woff2") format('woff2'); font-weight: 300 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url("../fonts/portfolio/cormorant-italic.98cfb5522831.woff2") format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url("../fonts/portfolio/hanken-grotesk.a6b899943e31.woff2") format('woff2'); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Pinyon Script'; src: url("../fonts/portfolio/pinyon-script.98b44e1ff3ee.woff2") format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url("../fonts/portfolio/instrument-serif.c008db4e8a97.woff2") format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
    --paper: #efede7;
    --paper-deep: #e8e3d8;
    --ink: #1c1813;
    --ink-2: #3f382e;
    --ink-3: #6a6154;          /* quiet text on paper (≥ 4.5:1) */
    --on-dark: #f4efe4;
    --on-dark-2: #cfc8ba;
    --on-dark-3: #a49c8e;
    --quiet: #8a8474;          /* numbers and hairline labels (decorative) */
    --label: #9a8f7c;
    --beige: #cdb796;          /* accents on dark: menu numbers, the phone Inquire button (no pink/red — user) */
    --beige-ink: #7a6246;      /* accents on paper: small labels, errors (≥ 4.5:1 on the page colour) */
    --night: #12100e;          /* loader, menu */
    --hero-back: #241f18;
    --rule-dark: rgba(244, 239, 228, .14);
    --rule: rgba(28, 24, 19, .14);

    --disp: goldenbook, 'Italiana', 'Cormorant', serif;
    --logo: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, 'Noto Serif SC', 'Songti SC', serif;
    --sans: 'Hanken Grotesk', 'Hanken Grotesk Variable', sans-serif;
    --serif: 'Cormorant', Georgia, serif;
    --script: 'Pinyon Script', cursive;

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-soft: cubic-bezier(.22, 1, .36, 1);
    --ease-curtain: cubic-bezier(.76, 0, .24, 1);

    --head: 74px;
    --gutter: 24px;
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.pf {
    margin: 0;
    overflow-x: clip;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Resets carry no weight (:where), so every component class overrides them. */
:where(.pf) :where(h1, h2, h3, p, figure, blockquote, ol, ul) { margin: 0; }
:where(.pf) :where(ol, ul) { padding: 0; list-style: none; }
:where(.pf) :where(img, video, svg) { display: block; max-width: 100%; }
:where(.pf) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.pf) button { cursor: pointer; }
:where(.pf) a { color: inherit; }
[hidden] { display: none !important; }
.pf :focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
    position: fixed; top: 8px; left: 8px; z-index: 200; padding: 12px 16px;
    background: var(--ink); color: var(--paper); text-decoration: none;
    transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
html.is-locked { overflow: hidden; }

/* Type roles */
.lab {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1.3;
}
.disp {
    font-family: var(--disp);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .012em;
    line-height: 1.08;
    overflow-wrap: anywhere;   /* only a word wider than the screen breaks */
}

/* Rolling label: the text slides up and an identical copy rises in behind it. */
.roll { display: inline-grid; overflow: hidden; vertical-align: top; }
.roll > span { grid-area: 1 / 1; transition: transform .5s var(--ease-out); }
.roll > span + span { transform: translateY(105%); }
a:hover > .roll > span:first-child, a:focus-visible > .roll > span:first-child { transform: translateY(-105%); }
a:hover > .roll > span + span, a:focus-visible > .roll > span + span { transform: none; }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */

.site-head {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--head);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 var(--gutter);
    color: var(--on-dark);
    transition: color .5s, background-color .4s, transform .6s var(--ease-out);
}
.site-head[data-theme="light"], .site-head.is-on-light { color: var(--ink); }
/* As the reference: always transparent; its colour follows what is under it (portfolio.js samples
   the photo or section beneath), and it steps aside while scrolling down, back on the way up. */
.site-head.is-on-dark { color: var(--on-dark); }
.site-head.is-on-light { color: var(--ink); }
.site-head.is-hidden:not(:focus-within) { transform: translateY(-100%); }
.site-head__left { justify-self: start; display: flex; align-items: center; gap: 22px; }
.site-head__home { display: grid; place-items: center; width: 32px; height: 44px; margin-left: -6px; color: inherit; }
.site-head__home svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; }
.site-head__menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border: 0;
    background: none;
    color: inherit;
}
.burger { position: relative; width: 18px; height: 7px; }
.burger::before, .burger::after {
    content: ''; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
    transition: transform .45s var(--ease-out);
}
.burger::before { top: 0; }
.burger::after { bottom: 0; }
.site-head__menu:hover .burger::after { transform: scaleX(.6); transform-origin: left; }

.logo {
    justify-self: center;
    font-family: var(--logo);
    font-size: 23px;
    font-weight: 400;
    letter-spacing: .07em;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
    transition: transform .62s var(--ease-out), opacity .5s;
}
.site-head__right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.h-link { position: relative; padding: 14px 0; text-decoration: none; }
.h-link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.h-link:hover::after, .h-link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    padding: 0 22px;
    border: 1px solid currentColor;
    border-radius: 999px;
    letter-spacing: .14em;
    line-height: 13px;
    text-decoration: none;
    transition: background .35s, color .35s, border-color .35s;
}
.site-head[data-theme="dark"]:not(.is-on-light) .nav-cta:hover,
.site-head.is-on-dark .nav-cta:hover,
.menu .nav-cta:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.site-head[data-theme="light"]:not(.is-on-dark) .nav-cta:hover,
.site-head.is-on-light .nav-cta:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-foot {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 16px;
    padding: 40px 48px 24px;
    color: var(--ink-3);
}
.site-foot .lab { font-size: 13px; letter-spacing: .12em; }
.site-foot__mid { text-align: center; }
.site-foot__links { justify-self: end; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-foot--fixed {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    padding-top: 0;
    color: var(--on-dark-3);
}

/* -------------------------------------------------------------------------
   Menu (a dark curtain that drops from the top)
   ------------------------------------------------------------------------- */

.menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    grid-template-rows: var(--head) 1fr auto;
    background: var(--night);
    color: var(--on-dark);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .7s var(--ease-curtain);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 var(--gutter);
}
.menu__close { justify-self: start; padding: 14px 0; border: 0; background: none; color: inherit; }
.menu__bar .nav-cta { justify-self: end; }
.menu__body {
    align-self: start;
    width: min(100% - 2 * var(--gutter), 1240px);
    margin: clamp(8px, 3vh, 32px) auto 0;
}
.menu__row, .menu__sub {
    display: flex;
    align-items: baseline;
    gap: 22px;
    text-decoration: none;
    color: inherit;
}
.menu__row { padding: clamp(14px, 4.8vh, 46px) 0; border-top: 1px solid var(--rule-dark); }
.menu__num { font-size: 10px; letter-spacing: .22em; color: var(--beige); min-width: 18px; }
.menu__row .menu__name {
    font-family: var(--disp);
    font-weight: 300;
    font-size: clamp(34px, 4.3vw, 62px);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: .012em;
    transition: color .35s;
}
.menu__subs { display: flex; flex-wrap: wrap; gap: 8px 34px; padding: 22px 0 0; border-top: 1px solid var(--rule-dark); }
.menu__sub .menu__name { font-family: var(--disp); font-size: 22px; text-transform: uppercase; letter-spacing: .04em; transition: color .35s; }
.menu__sub:hover .menu__name, .menu__sub:focus-visible .menu__name { color: #fff; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; padding: 0 48px 24px; color: var(--on-dark-3); font-size: 13px; letter-spacing: .12em; }

.js .menu__item, .js .menu__subs { opacity: 0; transform: translateY(24px); }
.menu.is-open .menu__item, .menu.is-open .menu__subs {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .9s var(--ease-out);
    transition-delay: calc(.22s + var(--i, 0) * .06s);
}

/* -------------------------------------------------------------------------
   Phone dock and galleries sheet
   ------------------------------------------------------------------------- */

.dock { display: none; }

@media (max-width: 720px) {
    :root { --head: 64px; --gutter: 16px; }
    .site-head { grid-template-columns: 1fr; }
    .site-head__left, .site-head__right { display: none; }

    .site-foot { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 10px; padding: 32px 16px 112px; }
    .site-foot__links { justify-self: center; }
    .site-foot .lab { font-size: 10px; }
    .site-foot--fixed { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

    .dock {
        position: fixed;
        left: 50%;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 45;
        display: flex;
        gap: 8px;
        width: min(100% - 24px, 396px);
        transform: translateX(-50%);
        color: var(--on-dark);
    }
    .dock__bar {
        flex: 1;
        display: flex;
        padding: 5px;
        border: 1px solid var(--rule-dark);
        border-radius: 999px;
        background: rgba(28, 24, 19, .74);
        -webkit-backdrop-filter: blur(14px) saturate(1.2);
        backdrop-filter: blur(14px) saturate(1.2);
    }
    .dock__tab, .dock__cta {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-height: 54px;
        padding: 6px 4px;
        border: 0;
        border-radius: 999px;
        background: none;
        color: inherit;
        text-decoration: none;
    }
    .dock__tab[aria-current], .dock__tab[aria-expanded="true"] { background: rgba(244, 239, 228, .12); }
    .dock__cta { flex: 0 0 82px; background: var(--beige); color: var(--ink); }
    .dock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
    .dock__lab { font-size: 9.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }

    .dock-sheet {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(100% + 10px);
        padding: 18px 20px 8px;
        border: 1px solid var(--rule-dark);
        border-radius: 22px;
        background: rgba(28, 24, 19, .94);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
    .dock-sheet__tag { display: block; padding-bottom: 8px; font-size: 10px; color: var(--on-dark-3); }
    .dock-sheet__cat { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule-dark); text-decoration: none; }
    .dock-sheet__num { font-size: 10px; color: var(--beige); }
    .dock-sheet__name { font-family: var(--disp); font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }

    .menu__foot { padding: 0 16px 24px; flex-direction: column; align-items: center; }
}

/* -------------------------------------------------------------------------
   Curtain between portfolio pages
   ------------------------------------------------------------------------- */

.curtain {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
}
.is-leaving .curtain { opacity: 1; pointer-events: auto; transition-duration: .35s; }
.is-entering .curtain { opacity: 1; transition: none; }

/* -------------------------------------------------------------------------
   Page heads (pricing, inquire) and the category hero — filled in by later packages
   ------------------------------------------------------------------------- */

.page-head { padding: calc(var(--head) + 120px) var(--gutter) 64px; text-align: center; }
.page-head__kicker { font-size: 12px; letter-spacing: .18em; color: var(--ink-3); }
.page-head__title { margin-top: 28px; font-size: clamp(64px, 8.3vw, 120px); }
.page-head__intro { max-width: 560px; margin: 32px auto 0; font-family: var(--serif); font-weight: 300; font-size: 23px; line-height: 1.5; color: var(--ink-3); }

.is-empty { background: linear-gradient(135deg, #3a332a, #1d1915); }

/* -------------------------------------------------------------------------
   Reduced motion: instant state changes, nothing hidden for an animation
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
        animation-duration: .01ms !important;
        animation-delay: 0ms !important;
        scroll-behavior: auto !important;
    }
}

/* -------------------------------------------------------------------------
   Main hall: the category index staggered over full-screen photos
   ------------------------------------------------------------------------- */

.hall {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--head) + 24px) 0 104px;
    overflow: hidden;
    background: var(--hero-back);
    color: var(--on-dark);
}
.hall__frames { position: absolute; inset: 0; }
.hall__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.1s ease;
}
.hall__frame.is-on { opacity: 1; }
.hall__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18, 15, 12, .46), rgba(18, 15, 12, .34) 45%, rgba(18, 15, 12, .6));
}
.hall__index, .hall__soon { position: relative; width: 100%; }
.hall__item { padding-left: var(--x, 20%); }
.hall__item:nth-child(4n + 1) { --x: 20%; }
.hall__item:nth-child(4n + 2) { --x: 28%; }
.hall__item:nth-child(4n + 3) { --x: 23%; }
.hall__item:nth-child(4n + 4) { --x: 32%; }
.hall__item + .hall__item { margin-top: clamp(8px, 3.6vh, 40px); }
.hall__name {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 3.7vw;
    color: inherit;
    text-decoration: none;
}
.hall__num {
    position: relative;
    top: -.6em;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .22em;
    color: var(--quiet);
    transition: color .9s;
}
.hall__text { font-size: clamp(38px, 6.2vw, 124px); line-height: 1.08; white-space: nowrap; color: rgba(244, 239, 228, .82); }
.no-js .hall__text { white-space: normal; }
.hall__mask { display: block; overflow: hidden; padding: .02em 0 .06em; }
.hall__rise { display: block; }
.hall__roll { display: grid; transition: transform .75s var(--ease-out); }
.hall__roll > span { grid-area: 1 / 1; }
.hall__red { color: #fff; transform: translateY(100%); }
.hall__meta {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-left: -1vw;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .45s ease, transform .7s var(--ease-out);
    pointer-events: none;
}
.hall__slash { width: 1px; height: 52px; background: currentColor; opacity: .7; transform: rotate(22deg); }
.hall__sub { font-size: 10px; font-weight: 400; letter-spacing: .18em; color: var(--on-dark-2); white-space: nowrap; }
.hall__name:hover .hall__roll, .hall__name:focus-visible .hall__roll { transform: translateY(-100%); }
.hall__name:hover .hall__num, .hall__name:focus-visible .hall__num { color: #fff; }
.hall__name:hover .hall__meta, .hall__name:focus-visible .hall__meta { opacity: 1; transform: none; }
.hall__soon { text-align: center; font-size: clamp(34px, 5vw, 72px); }

/* Reveal: names rise out of their masks; header and footer fade in. */
.js .hall__rise { transform: translateY(108%); }
.js .hall__num { opacity: 0; }
.js .page-hall .site-head, .js .page-hall .site-foot--fixed, .js .hall__soon { opacity: 0; }
.hall-revealed .hall__rise { transform: none; transition: transform 1s var(--ease-out) calc(.1s + var(--i, 0) * .09s); }
.hall-revealed .hall__num { opacity: 1; transition: opacity .8s ease calc(.5s + var(--i, 0) * .09s), color .9s; }
.hall-revealed .page-hall .site-head, .hall-revealed .page-hall .site-foot--fixed, .hall-revealed .hall__soon { opacity: 1; transition: opacity .9s ease .35s, color .5s; }

/* Loader (return visits): a counter over a thin line while the photos arrive. */
.loader { display: none; }
.js .loader {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--night);
    color: var(--on-dark-2);
    transition: opacity .7s ease, visibility 0s linear .7s;
}
.js .loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__n { font-size: 10px; font-weight: 400; letter-spacing: .22em; font-variant-numeric: tabular-nums; }
.loader__line { width: 120px; height: 1px; overflow: hidden; background: rgba(244, 239, 228, .18); }
.loader__line > span { display: block; height: 100%; background: var(--on-dark); transform: scaleX(var(--p, 0)); transform-origin: left; }

@media (max-width: 720px) {
    .hall { align-items: center; padding: calc(var(--head) + 16px) 0 190px; }
    .hall__item:nth-child(4n + 1) { --x: 6%; }
    .hall__item:nth-child(4n + 2) { --x: 11%; }
    .hall__item:nth-child(4n + 3) { --x: 8%; }
    .hall__item:nth-child(4n + 4) { --x: 13%; }
    .hall__item { padding-right: 16px; }
    .hall__item + .hall__item { margin-top: 18px; }
    .hall__name { gap: 16px; }
    .hall__num { top: -.4em; }
    .hall__text { font-size: clamp(30px, 9.2vw, 44px); white-space: normal; text-wrap: balance; }
    .hall__meta { display: none; }
}

/* -------------------------------------------------------------------------
   Intro (first visit): a title card, a letter that inks in, a signature,
   then "Go to main hall" — over a charcoal screen, modelled on the ELLE intro
   ------------------------------------------------------------------------- */

.intro { display: none; }
.intro-on .intro {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #252525;
    color: #a29d98;            /* 5.6:1 on the charcoal */
    transition: opacity .7s ease;
}
.intro-on .loader { display: none; }
.intro.is-gone { opacity: 0; pointer-events: none; }

.intro__card {
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: start;
    opacity: 0;
    filter: blur(14px);
    pointer-events: none;
}
/* As ELLE's title card: out of a heavy blur, the two lines slide towards each other (~1s), hold,
   then blur away (~.5s). */
.intro__line { display: flex; align-items: flex-start; gap: .08em; transition: transform 1.1s var(--ease-out); }
.intro__line--1 { transform: translateX(-30px); }
.intro__line--2 { transform: translateX(80px); }
.intro.is-card .intro__card { opacity: 1; filter: blur(0); transition: opacity 1s ease-out, filter 1s var(--ease-out); }
.intro.is-card .intro__line { transform: none; }
.intro.is-card-out .intro__card { opacity: 0; filter: blur(12px); transition: opacity .5s ease-in, filter .5s ease-in; }
.intro__title { position: relative; display: block; font-family: var(--logo); font-weight: 400; text-transform: uppercase; color: #8d8884; line-height: .88; }
.intro__kicker { font-size: clamp(16px, 1.9vw, 27px); letter-spacing: .02em; line-height: 1; margin-top: .25em; }
.intro__big { font-size: clamp(48px, 6.4vw, 92px); letter-spacing: -.01em; }
.intro__mark { justify-self: end; margin: -.1em 14% 0 0; font-family: var(--script); font-size: clamp(16px, 1.6vw, 24px); color: #6f6b67; transform: rotate(-8deg); }

.intro__page {
    width: min(100% - 48px, 492px);
    margin: 0 auto;
    padding: 158px 0 180px;
    opacity: 0;
    transition: opacity .4s ease;
}
.intro.is-letter .intro__page { opacity: 1; }
/* The photograph beside the letter: a full-height panel on the right on a computer (the letter moves
   into the left part), a print above the letter on a phone. It comes in with the letter, after the card. */
.intro__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0 0 44px; object-fit: cover; }
.intro__page--photo { padding-top: 72px; }
.intro.is-letter .intro__photo { animation: intro-photo 1.6s var(--ease-out) both; }
@keyframes intro-photo { from { opacity: 0; transform: scale(1.04); } }
@media (min-width: 1024px) {
    .intro__photo { position: fixed; top: 0; right: 0; width: 42vw; height: 100%; margin: 0; aspect-ratio: auto; }
    .intro__page--photo { margin-left: max(48px, calc(29vw - 246px)); padding-top: 158px; }
    .intro:has(.intro__photo) .intro__go, .intro:has(.intro__photo) .intro__dot { left: 29vw; }
}
.intro__letter { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.24; }
.intro__letter p + p { margin-top: 1.2em; }
.intro__letter .w { display: inline-block; white-space: nowrap; }
.intro__letter .c { display: inline-block; opacity: 0; filter: blur(6px); }
.intro.is-typing .intro__letter .c { animation: intro-ink .6s var(--ease-soft) var(--d, 0ms) forwards; }
@keyframes intro-ink { to { opacity: 1; filter: blur(0); } }

.intro__sign { margin-top: 84px; text-align: center; }
.intro__svg svg, .intro__png { display: block; height: 72px; width: auto; max-width: 220px; margin: 0 auto 6px; }
.intro__svg svg { stroke: #a29d98; }
.intro__svg svg [fill]:not([fill="none"]), .intro__png { filter: invert(.68); }
.intro__script { display: inline-block; font-family: var(--script); font-size: 46px; line-height: 1.4; color: #b8b2ac; }
.intro__name { font-family: var(--sans); font-size: 18px; font-weight: 400; color: #a29d98; }
.intro__role { font-family: var(--sans); font-size: 18px; font-weight: 400; color: #7f7a76; }
.js .intro__sign > * { opacity: 0; }
.js .intro__sign .intro__svg, .js .intro__sign .intro__png, .js .intro__sign .intro__script { opacity: 1; clip-path: inset(0 100% 0 0); }
.intro.is-signing .intro__sign .intro__png, .intro.is-signing .intro__sign .intro__script, .intro.is-signing .intro__sign .intro__svg.is-wipe {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.4s cubic-bezier(.45, .05, .35, 1);
}
.intro.is-signing .intro__sign .intro__svg { clip-path: none; }
.intro.is-signed .intro__name, .intro.is-signed .intro__role { opacity: 1; transition: opacity .6s ease; }
.intro.is-signed .intro__role { transition-delay: .15s; }

.intro__go {
    position: fixed;
    left: 50%;
    bottom: 64px;
    z-index: 2;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    background: rgba(244, 239, 228, .2);
    color: rgba(244, 239, 228, .82);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 400;
    transform: translateX(-50%);
    transition: background .3s, color .3s, opacity .5s;
}
.intro__go:hover, .intro__go:focus-visible { background: rgba(244, 239, 228, .36); color: #fff; }
.intro__go.is-ready { background: rgba(244, 239, 228, .34); color: #fff; }
.intro.is-leaving .intro__page, .intro.is-leaving .intro__go { opacity: 0; transition: opacity .6s ease; }

.intro__smoke { position: fixed; inset: 0; pointer-events: none; opacity: 0; }
.intro__smoke span {
    position: absolute;
    width: 46vmax;
    height: 46vmax;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(92, 86, 80, .55), rgba(92, 86, 80, 0));
    filter: blur(30px);
}
.intro__smoke span:nth-child(1) { left: 8%; top: 30%; }
.intro__smoke span:nth-child(2) { left: 48%; top: 46%; }
.intro__smoke span:nth-child(3) { left: 26%; top: 60%; }
.intro.is-leaving .intro__smoke { opacity: 1; transition: opacity .9s ease; }
.intro.is-leaving .intro__smoke span { animation: intro-drift 1.6s var(--ease-soft) forwards; }
.intro.is-leaving .intro__smoke span:nth-child(2) { animation-direction: reverse; }
@keyframes intro-drift { from { transform: translate(-6%, 8%) scale(.8); } to { transform: translate(6%, -10%) scale(1.15); } }
.intro__dot {
    position: fixed;
    left: 50%;
    bottom: 82px;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: #e9e4dc;
    box-shadow: 0 0 0 10px rgba(233, 228, 220, .06);
    opacity: 0;
    transform: scale(.4);
}
.intro.is-dot .intro__dot { opacity: 1; transform: none; transition: opacity .3s ease, transform .5s var(--ease-out); }

@media (max-width: 720px) {
    .intro__page { padding: 96px 0 160px; }
    .intro__letter { font-size: 19px; }
    .intro__go { bottom: calc(32px + env(safe-area-inset-bottom)); }
    .intro__dot { bottom: calc(50px + env(safe-area-inset-bottom)); }
}

/* Reduced motion: the finished letter at once. */
@media (prefers-reduced-motion: reduce) {
    .intro__letter .c { opacity: 1; filter: none; }
    .js .intro__sign > *, .js .intro__sign .intro__svg, .js .intro__sign .intro__png, .js .intro__sign .intro__script { opacity: 1; clip-path: none; }
}

/* -------------------------------------------------------------------------
   Category pages: hero, intro, the editorial collage, kind words, onward
   ------------------------------------------------------------------------- */

.hero {
    position: relative;
    z-index: 2;   /* passes over the gallery intro, whose words already wait at the middle of the screen */
    height: 100vh;
    height: 100svh;
    min-height: 520px;
    overflow: hidden;
    background: var(--hero-back);
    color: var(--on-dark);
}
.hero__media { position: absolute; inset: -8% 0; will-change: transform; }
.hero__img, .hero__video { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18, 16, 14, .38), rgba(18, 16, 14, .04) 38%, rgba(18, 16, 14, .58)); }
/* Title and label travel together, so a title that wraps never runs into its label. */
.hero__text {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}
.hero__title { max-width: 100%; font-size: clamp(36px, 11.5vw, 158px); line-height: .98; }
.hero__mask { display: block; overflow: hidden; padding-top: .04em; }
.hero__rise { display: block; }
.hero__label { font-size: 12px; font-weight: 400; letter-spacing: .2em; }
.hero__line { position: absolute; left: 50%; bottom: 0; width: 1px; height: 40px; background: rgba(244, 239, 228, .6); }

.cat-intro { max-width: 760px; margin: 0 auto; padding: 150px var(--gutter) 90px; text-align: center; }
.cat-intro__label, .chapter__label, .quotes__label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .22em;
    color: var(--label);
}
.cat-intro__text { max-width: 662px; margin: 24px auto 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 28px; line-height: 1.55; color: var(--ink); }

.chapters { position: relative; padding-bottom: 40px; }
.chapter { scroll-margin-top: var(--head); }
.chapter__head { max-width: 860px; margin: 0 auto; padding: 150px var(--gutter) 70px; text-align: center; }
.chapter__text { margin-top: 22px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 28px; line-height: 1.6; color: var(--ink-2); }

/* Rows sit on a 12-column grid; each pattern places its photos differently. */
.row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
    padding: 0 var(--gutter);
}
.row + .row { margin-top: clamp(56px, 12vh, 150px); }
.frame { min-width: 0; }
.frame__link { display: block; overflow: hidden; background: var(--paper-deep); cursor: zoom-in; }
.frame__img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.frame__link:hover .frame__img { transform: scale(1.025); }
.row--full .frame { grid-column: 1 / -1; }
.row--full .frame__link { position: relative; aspect-ratio: 16 / 9; }
/* Taller than its frame (top/height by the frame's height) so it can move within it. */
.row--full .frame__img { position: absolute; top: -8%; left: 0; height: 116%; object-fit: cover; transition: none; }
.row--full .frame__link:hover .frame__img { transform: none; }
.row--pair .frame:nth-child(1) { grid-column: 2 / 7; }
.row--pair .frame:nth-child(2) { grid-column: 8 / 12; margin-top: 18vh; }
.row--trio .frame:nth-child(1) { grid-column: 1 / 5; }
.row--trio .frame:nth-child(2) { grid-column: 5 / 9; margin-top: 9vh; }
.row--trio .frame:nth-child(3) { grid-column: 9 / 13; margin-top: 3vh; }
.row--solo-center .frame { grid-column: 5 / 9; }
.row--solo-left .frame { grid-column: 2 / 6; }
.row--solo-right .frame { grid-column: 8 / 12; }
.row--tall-wide { align-items: end; }
.row--tall-wide .frame:nth-child(1) { grid-column: 1 / 5; }
.row--tall-wide .frame:nth-child(2) { grid-column: 6 / 13; }

/* Chapter index: a small floating card at the left edge (desktop). */
.chapter-index { display: none; }
@media (min-width: 1100px) {
    .chapter-index {
        position: fixed;
        left: 24px;
        top: 50%;
        z-index: 30;
        display: block;
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(239, 237, 231, .86);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 0 rgba(28, 24, 19, .06);
        opacity: 0;
        transform: translate(-12px, -50%);
        pointer-events: none;
        transition: opacity .5s ease, transform .7s var(--ease-out);
    }
    .chapter-index.is-visible { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
    .no-js .chapter-index { position: absolute; top: 160px; opacity: 1; transform: none; pointer-events: auto; }
    .chapter-index a { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--ink-3); text-decoration: none; }
    .chapter-index .lab { font-size: 9px; font-weight: 400; letter-spacing: .18em; }
    .chapter-index__dash { width: 12px; height: 1px; background: currentColor; transition: width .4s var(--ease-out), background .4s; }
    .chapter-index a[aria-current] { color: var(--ink); }
    .chapter-index a[aria-current] .chapter-index__dash { width: 22px; background: var(--beige-ink); }
    .chapter-index a:hover { color: var(--ink); }
}

.quotes { max-width: 760px; margin: 0 auto; padding: 160px var(--gutter) 40px; text-align: center; }
.quotes__line { margin-top: 18px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 26px; line-height: 1.45; color: var(--ink-2); }

.onward { padding: 140px 86px 40px; }
.onward__kicker { display: block; padding-bottom: 18px; border-bottom: 1px solid var(--rule); font-size: 10px; font-weight: 400; letter-spacing: .18em; color: var(--label); }
.onward__link { display: block; padding: 26px 0 24px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.onward__small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .18em; color: var(--beige-ink); }
.onward__big { display: block; margin-top: 8px; font-size: clamp(42px, 5vw, 72px); line-height: 1; transition: transform .6s var(--ease-out), color .35s; }
.onward__link:hover .onward__big, .onward__link:focus-visible .onward__big { transform: translateX(14px); }

@media (max-width: 720px) {
    .hero__text { top: 50%; bottom: auto; transform: translateY(-50%); gap: 16px; }
    .hero__line { display: none; }
    .cat-intro { padding: 96px 20px 56px; }
    .cat-intro__text, .chapter__text { font-size: 22px; }
    .chapter__head { padding: 96px 20px 44px; }
    .row { display: block; padding: 0 16px; }
    .row + .row { margin-top: 40px; }
    .row .frame + .frame { margin-top: 40px; }
    .row--pair .frame:nth-child(2), .row--trio .frame:nth-child(2), .row--trio .frame:nth-child(3) { margin-top: 40px; }
    .row--pair .frame:nth-child(2), .row--trio .frame:nth-child(2) { width: 78%; margin-left: auto; }
    .row--solo-center .frame, .row--solo-left .frame, .row--solo-right .frame, .row--tall-wide .frame:nth-child(1) { width: 82%; }
    .row--solo-center .frame { margin: 0 auto; }
    .row--solo-right .frame { margin-left: auto; }
    .row--full { padding: 0; }
    .row--full .frame__link { aspect-ratio: 4 / 3; }
    .quotes { padding-top: 100px; }
    .quotes__line { font-size: 22px; }
    .onward { padding: 100px 16px 24px; }
}

/* The still page's motion (no GSAP): the hero title rises; [data-reveal] (pricing, inquire) fades up. */
.js .hero__rise { transform: translateY(105%); }
.js .hero__label, .js .hero__line { opacity: 0; }
.hero-in .hero__rise { transform: none; transition: transform 1.25s var(--ease-out) .12s; }
.hero-in .hero__label, .hero-in .hero__line { opacity: 1; transition: opacity .9s ease .75s; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-in, .reveal-all [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}

/* Lightbox */
.lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(18, 16, 14, .97);
    color: var(--on-dark);
}
.lightbox::backdrop { background: rgba(18, 16, 14, .6); }
.lightbox[open] { display: grid; grid-template-rows: var(--head) 1fr 72px; animation: lightbox-in .4s ease; }
@keyframes lightbox-in { from { opacity: 0; } }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.lightbox__count { font-size: 11px; letter-spacing: .2em; font-variant-numeric: tabular-nums; color: var(--on-dark-2); }
.lightbox__close, .lightbox__nav { min-width: 44px; min-height: 44px; border: 0; background: none; color: inherit; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 72px; touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .3s ease; }
.lightbox__img.is-loading { opacity: .35; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 22px; opacity: .8; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__caption { align-self: center; justify-self: center; max-width: min(90vw, 680px); padding: 0 var(--gutter); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--on-dark-2); text-align: center; }
@media (max-width: 720px) {
    .lightbox__stage { padding: 0 8px; }
    .lightbox__nav { top: auto; bottom: -58px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal], .js .hero__rise, .js .hero__label, .js .hero__line { opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------------------
   Pricing: the quote card, what happens next, the promise, where prices start
   ------------------------------------------------------------------------- */

.page-pricing .page-head { padding-bottom: 72px; }
.page-head__intro { font-style: italic; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-top: 40px;
    padding: 0 18px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .18em;
    color: var(--ink-2);
    text-decoration: none;
    transition: border-color .3s, background .3s;
}
.pill:hover { border-color: var(--ink); background: rgba(28, 24, 19, .04); }

.quote, .promise, .starts { width: min(100% - 2 * var(--gutter), 640px); margin: 0 auto; }
.quote { background: #fdfcfa; box-shadow: 0 1px 2px rgba(28, 24, 19, .05), 0 18px 48px -24px rgba(28, 24, 19, .22); }
.quote__card { padding: 40px 32px 32px; }
.quote__total { padding-bottom: 18px; border-bottom: 1px solid var(--rule); font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; }
.quote__total output { white-space: nowrap; font-variant-numeric: lining-nums; }
.quote__total output.is-bump { animation: quote-bump .45s var(--ease-out); }
@keyframes quote-bump { from { opacity: .3; transform: translateY(6px); } }
.quote__total output { display: inline-block; }
.quote__detail { min-height: 1.5em; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.field { display: block; margin: 22px 0 0; padding: 0; border: 0; }
.field__label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 400; letter-spacing: .12em; color: var(--ink); }
.field__star { color: var(--beige-ink); }
.field__control, .stepper {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(28, 24, 19, .22);
    border-radius: 2px;
    background: rgba(253, 252, 250, .72);
    transition: border-color .18s, background-color .18s;
}
.field__control { padding: 0 14px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
select.field__control:invalid { border-color: var(--beige-ink); color: var(--ink-3); }
.field__control:focus, .stepper:focus-within { border-color: var(--ink); outline: none; }
.field__help { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.stepper { display: flex; align-items: stretch; max-width: 220px; }
.stepper__btn { width: 46px; border: 0; background: none; font-size: 18px; color: var(--ink); }
.stepper__btn:disabled { color: rgba(28, 24, 19, .25); cursor: default; }
.stepper__input { flex: 1; min-width: 0; border: 0; background: none; text-align: center; font-size: 16px; -moz-appearance: textfield; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus { outline: none; }
.js .field[data-quote-units-field].is-waiting { display: none; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.check__price { margin-left: auto; color: var(--ink-3); font-size: 14px; }

.quote__next { padding: 32px; background: #f3eee4; }
.quote__kicker { display: block; margin-bottom: 18px; font-size: 10px; font-weight: 400; letter-spacing: .18em; color: var(--label); }
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.step__n { padding-top: 3px; font-size: 10px; font-weight: 400; letter-spacing: .18em; color: var(--label); }
.step__title { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.step__text { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.plan-note { margin-top: 28px; }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--rule); }
.terms__col { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 0 0; }
.terms__col + .terms__col { padding-left: 16px; border-left: 1px solid var(--rule); }
.terms__label { font-size: 10px; font-weight: 400; letter-spacing: .16em; color: var(--label); }
.terms__value { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.terms__note { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.quote__foot { padding: 28px 32px 32px; }
.btn-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border: 0;
    background: var(--ink);
    color: var(--paper);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2em;
    text-decoration: none;
    box-shadow: 0 10px 24px -14px rgba(28, 24, 19, .7);
    transition: background .3s, transform .3s var(--ease-out);
}
.btn-dark:hover { background: #000; transform: translateY(-1px); }

.promise { padding-top: 110px; }
.promise__kicker, .starts__kicker { display: block; font-size: 10px; font-weight: 500; letter-spacing: .18em; color: var(--beige-ink); }
.promise__title { margin-top: 10px; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; }
.promise__text { margin-top: 22px; font-family: var(--serif); font-weight: 300; font-size: 21px; line-height: 1.55; color: var(--ink-2); }
.promise__list { margin: 22px 0 32px; border-top: 1px solid var(--rule); }
.promise__list li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 19px; color: var(--ink-2); }

.starts { margin-top: 110px; padding: 32px; background: #fdfcfa; box-shadow: 0 1px 2px rgba(28, 24, 19, .05); scroll-margin-top: calc(var(--head) + 24px); }
.starts__kicker { color: var(--label); font-weight: 400; }
.starts__rows { margin: 18px 0 0; }
.starts__row { display: grid; grid-template-columns: 34% 1fr; align-items: baseline; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.starts__name { font-size: 10px; font-weight: 400; letter-spacing: .16em; color: var(--ink-3); }
.starts__row dd { margin: 0; }
.starts__price { font-family: var(--serif); font-size: 22px; }
.starts__note { grid-column: 2; font-size: 13px; color: var(--ink-3); }
.starts__fine { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.5; color: var(--ink-3); }

@media (max-width: 720px) {
    .quote__card, .quote__next, .quote__foot { padding-left: 20px; padding-right: 20px; }
    .terms { grid-template-columns: 1fr; }
    .terms__col + .terms__col { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-bottom: 14px; }
    .starts { padding: 24px 20px; }
    .starts__row { grid-template-columns: 1fr; }
    .starts__note { grid-column: 1; }
}

/* -------------------------------------------------------------------------
   Inquire
   ------------------------------------------------------------------------- */

.inquiry, .thanks { width: min(100% - 2 * var(--gutter), 640px); margin: 0 auto; }
.inquiry { padding: 36px 32px 32px; background: #fdfcfa; box-shadow: 0 1px 2px rgba(28, 24, 19, .05), 0 18px 48px -24px rgba(28, 24, 19, .22); }
.inquiry__alert { margin-bottom: 8px; padding: 12px 14px; background: rgba(122, 98, 70, .09); color: var(--beige-ink); font-size: 14px; }
.inquiry__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.inquiry__names, .inquiry__message, .inquiry__heard_from, .inquiry__quote, .inquiry__shoot_type { grid-column: 1 / -1; }
.inquiry .field { margin-top: 20px; }
.inquiry .field__control { padding: 0 14px; background-image: none; }
.inquiry textarea.field__control { min-height: 150px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.inquiry .field__control::placeholder { color: #9b9385; }
.field__error { display: block; margin-top: 6px; font-size: 13px; color: var(--beige-ink); }
.field:has(.field__error) .field__control { border-color: var(--beige-ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__send { margin-top: 28px; }
.inquiry__note { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }
.thanks { display: grid; justify-items: center; gap: 22px; text-align: center; }
.thanks__text { max-width: 520px; font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.5; color: var(--ink-2); }
.thanks .btn-dark { max-width: 360px; }
.page-inquire .site-foot { margin-top: 120px; }

@media (max-width: 720px) {
    .inquiry { padding: 24px 20px; }
    .inquiry__grid { grid-template-columns: 1fr; }
}

/* Without JavaScript the menu and the galleries sheet can't open: hide their buttons (the logo,
   the main hall, Pricing, Inquire and the Onward links still reach every page). */
.no-js .site-head__menu, .no-js .dock__tab[data-open-sheet] { display: none; }
.no-js .site-head__home { margin-left: 0; }

/* Hero video: the photo sits underneath; reduced motion shows only the photo. */
.hero__media .hero__img, .hero__media .hero__video { position: absolute; inset: 0; }
.hero__pause {
    position: absolute;
    right: var(--gutter);
    bottom: 40px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(244, 239, 228, .45);
    border-radius: 999px;
    background: rgba(18, 16, 14, .25);
    color: var(--on-dark);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .18em;
}
@media (prefers-reduced-motion: reduce) {
    .hero__video, .hero__pause { display: none; }
}
@media (max-width: 720px) { .hero__pause { bottom: 104px; } }

/* Menu hover (as the reference): the name's letters roll — the resting copy up and out, a white
   copy up from below, one after another — and the gallery's photos slide in beside it, the right
   one first. Leaving reverses, a little faster. */
.menu__row { position: relative; }
.menu__row .menu__name { color: rgba(244, 239, 228, .86); }
.mc { position: relative; display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.mc__a, .mc__b { display: block; transition: transform .45s cubic-bezier(.65, 0, .35, 1); transition-delay: calc(var(--c, 0) * 22ms); }
.mc__b { position: absolute; left: 0; top: 0; color: #fff; transform: translateY(105%); }
.menu__row:hover .mc__a, .menu__row:focus-visible .mc__a { transform: translateY(-105%); }
.menu__row:hover .mc__b, .menu__row:focus-visible .mc__b { transform: none; }
.menu__imgs {
    position: absolute;
    right: 0;
    top: 50%;
    display: flex;
    gap: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}
.menu__imgs img {
    width: clamp(72px, 7.6vw, 112px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0;
    transform: translateX(20%) scale(.8);
    transition: opacity .4s cubic-bezier(.165, .84, .44, 1), transform .4s cubic-bezier(.165, .84, .44, 1);
}
.menu__row:hover .menu__imgs img, .menu__row:focus-visible .menu__imgs img {
    opacity: 1;
    transform: none;
    transition-duration: .55s;
    transition-timing-function: cubic-bezier(.215, .61, .355, 1);
}
.menu__row:hover .menu__imgs img:nth-last-child(2), .menu__row:focus-visible .menu__imgs img:nth-last-child(2) { transition-delay: 35ms; }
.menu__row:hover .menu__imgs img:nth-last-child(3), .menu__row:focus-visible .menu__imgs img:nth-last-child(3) { transition-delay: 70ms; }
.menu__row:hover .menu__imgs img:nth-last-child(4), .menu__row:focus-visible .menu__imgs img:nth-last-child(4) { transition-delay: 105ms; }
.menu__row:hover .menu__imgs img:nth-last-child(5), .menu__row:focus-visible .menu__imgs img:nth-last-child(5) { transition-delay: 140ms; }
@media (max-width: 900px) { .menu__imgs { display: none; } }

/* -------------------------------------------------------------------------
   Coming soon: one full-screen black page while the portfolio is being built
   ------------------------------------------------------------------------- */

.page-soon { overflow: hidden; background: #000; }
.soon {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 540px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    background: #000;   /* plain black (user's choice) */
    color: var(--on-dark);
}
.soon__top { position: relative; display: flex; justify-content: center; padding-top: 18px; animation: soon-fade 1.2s ease .2s both; }
.soon__center { position: relative; align-self: center; padding: 0 var(--gutter); text-align: center; }
.soon__kicker { font-size: 11px; font-weight: 400; letter-spacing: .26em; color: var(--on-dark-2); animation: soon-fade 1.1s ease .25s both; }
.soon__title { margin-top: 18px; font-size: clamp(48px, 10.5vw, 152px); line-height: .95; }
.soon__word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .14em .05em; }
.soon__ch { display: inline-block; animation: soon-rise 1.35s cubic-bezier(.19, 1, .22, 1) both; animation-delay: calc(.4s + var(--i, 0) * .055s); }
.soon__text {
    max-width: 540px;
    margin: 26px auto 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(19px, 1.7vw, 24px);
    line-height: 1.5;
    color: rgba(244, 239, 228, .88);
    animation: soon-fade 1.2s ease 1.1s both;
}
.soon__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; animation: soon-fade 1.2s ease 1.3s both; }
.soon__links .nav-cta { min-height: 44px; }
.soon__links .nav-cta:hover, .soon__links .nav-cta:focus-visible { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.soon__foot {
    position: relative;
    display: grid;
    grid-template-columns: 1fr minmax(0, auto) 1fr;
    align-items: end;
    gap: 16px;
    padding: 0 48px 24px;
    color: var(--on-dark-3);
    animation: soon-fade 1.2s ease 1.5s both;
}
.soon__foot .lab { font-size: 12px; letter-spacing: .14em; }
.soon__note { max-width: 560px; text-wrap: balance; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--on-dark-2); text-align: center; }
.soon__year { justify-self: end; }
@keyframes soon-rise { from { transform: translateY(112%); } }
@keyframes soon-fade { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 720px) {
    .soon__foot { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding: 0 20px 22px; text-align: center; }
    .soon__year { justify-self: center; }
    .soon__foot .lab { font-size: 10px; }
}

/* Staff, while Coming soon is on: a small reminder that visitors see the other page. */
.soon-note {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 120;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(18, 16, 14, .86);
    color: var(--on-dark);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .14em;
}
.soon-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .soon-note { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* -------------------------------------------------------------------------
   Gallery intro (as the reference): a tall section holding a full-screen frame
   in place; its photo grid converges, zooms and splits open around the words as
   you scroll (portfolio.js, GSAP ScrollTrigger). Static without JS / motion.
   ------------------------------------------------------------------------- */

.gintro { position: relative; z-index: 1; height: 425vh; }
.gintro__frame { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); }
.gintro__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--gutter);
    text-align: center;
    pointer-events: none;
}
.gintro__more { pointer-events: auto; }
.gintro__label { font-size: 12px; font-weight: 400; letter-spacing: .22em; color: var(--label); }
.gintro__text {
    max-width: 662px;
    margin: 28px auto 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(22px, 1.95vw, 28px);
    line-height: 1.55;
    color: var(--ink);
}
.gintro__scroll { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 44px; color: var(--label); text-decoration: none; }
.gintro__scroll .lab { font-size: 11px; font-weight: 400; letter-spacing: .24em; }
.gintro__line { width: 1px; height: 72px; background: currentColor; opacity: .7; }
.gintro__grid {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 15.55vw);
    column-gap: 2.22vw;
    row-gap: 2.78vw;
    will-change: transform;
}
.gintro__item { aspect-ratio: 1; overflow: hidden; background: var(--paper-deep); }
.gintro__item img { width: 100%; height: 100%; object-fit: cover; }

.gintro--static { height: auto; }
.gintro--static .gintro__frame { position: relative; height: auto; overflow: visible; padding: 140px 0 110px; }
.gintro--static .gintro__content { position: relative; inset: auto; }
.gintro--static .gintro__grid { position: relative; left: auto; top: auto; width: max-content; max-width: calc(100% - 2 * var(--gutter)); margin: 80px auto 0; }

.cat-intro .gintro__scroll { margin-top: 44px; }

/* GSAP drives these when it runs (no CSS transitions to fight it); the photo waits for it. */
.has-motion .hero__rise[data-hero-cascade] { transform: none; transition: none; }
.has-motion .hero__label, .has-motion .hero__line { transition: none; }
.js .hero__media { opacity: 0; }
.no-motion .hero__media, .reveal-all .hero__media { opacity: 1; }
.hero-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.hero-word > span { display: inline-block; will-change: transform; }

/* Lenis smooth scrolling. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (max-width: 860px) {
    .gintro { height: 360vh; }
    .gintro__grid { grid-template-columns: repeat(3, 24vw); column-gap: 3vw; row-gap: 3.6vw; }
    .gintro--static .gintro__frame { padding: 96px 0 72px; }
}
@media (prefers-reduced-motion: reduce) {
    .js .hero__media { opacity: 1; }
}

/* -------------------------------------------------------------------------
   Check your date (templates/enquiries/check_your_date.html, static/js/enquiry.js)
   The Inquire page's card and fields; choices are flat, square, hairline-ruled, ink when chosen.
   ------------------------------------------------------------------------- */

.enq [hidden], .enq-head [hidden] { display: none !important; }
.enq-head__time { margin-top: 26px; font-size: 11px; color: var(--ink-3); }
.enq-head__go { max-width: 320px; margin: 40px auto 0; }
.enq.is-waiting { display: none; }
.enq__from { margin: 0 0 18px; font-size: 11px; line-height: 1.7; color: var(--beige-ink); }
.enq__count { min-height: 1.3em; margin: 0 0 10px; font-size: 11px; color: var(--ink-3); }
.no-js .enq__count { display: none; }
.enq__step { min-width: 0; margin: 0; padding: 0; border: 0; }
/* Without JS the steps stack; the big question titles separate them. */
.enq__step + .enq__step { margin-top: 72px; }
.enq__q {
    display: block;
    margin: 0 0 24px;
    padding: 0;
    font-family: var(--disp);
    font-weight: 300;
    font-size: clamp(30px, 5.2vw, 44px);
    line-height: 1.08;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--ink);
    outline: none;
}
.enq__hint { margin-left: 6px; color: var(--ink-3); }
.enq-cards { display: grid; gap: 10px; }
.enq-card, .enq-chip {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(28, 24, 19, .22);
    background: rgba(253, 252, 250, .72);
    cursor: pointer;
    transition: border-color .18s, background-color .25s var(--ease-soft), color .25s var(--ease-soft);
}
.enq-card { min-height: 66px; padding: 14px 18px; }
.enq-card__text { display: grid; gap: 3px; }
.enq-card__name { font-size: 17px; line-height: 1.3; }
.enq-card__note { font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.enq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.enq-chip { min-height: 44px; padding: 0 16px; font-size: 14px; line-height: 1.3; }
.enq-card input, .enq-chip input, .enq-check input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.enq-card:hover, .enq-chip:hover { border-color: var(--ink); }
.enq-card:has(input:checked), .enq-chip:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.enq-card:has(input:checked) .enq-card__note { color: var(--on-dark-2); }
.enq-card:has(input:focus-visible), .enq-chip:has(input:focus-visible), .enq-check:has(input:focus-visible) {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}
.enq-dest, .enq-countries { margin-top: 26px; }
.enq-dest .field__label, .enq-budget .field__label { margin-bottom: 12px; }
.enq-budget .enq-chips + .enq-chips { margin-top: 8px; }
.enq-check { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 12px; font-size: 14px; cursor: pointer; }
.enq-check span::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    vertical-align: -4px;
    border: 1px solid rgba(28, 24, 19, .4);
    background: #fdfcfa;
    transition: background-color .18s, box-shadow .18s;
}
.enq-check input:checked + span::before { background: var(--ink); box-shadow: inset 0 0 0 3px #fdfcfa; }
.enq-tel { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }
.enq__nav { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.enq__nav .btn-dark { max-width: 220px; margin-left: auto; }
.enq__nav--send .btn-dark { margin-top: 0; }
.enq__back { min-height: 44px; padding: 0 4px; border: 0; background: none; font-size: 11px; color: var(--ink-3); cursor: pointer; }
.enq__back:hover { color: var(--ink); }
.no-js .enq__nav:not(.enq__nav--send), .no-js .enq__back { display: none; }
.no-js .enq__nav--send .btn-dark { max-width: none; margin-left: 0; }
.enq__need { margin-top: 18px; }
.enq.is-stepping .enq__step { display: none; }
.enq.is-stepping .enq__step.is-current { display: block; animation: enq-in .5s var(--ease-out) both; }
.enq.is-stepping .enq__step + .enq__step { margin-top: 0; }
.enq__for { display: block; width: 100%; margin: 6px 0 2px; font-size: 11px; color: var(--ink-3); }
.js .enq__for { display: none; }
@keyframes enq-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.enq-summary { display: grid; gap: 12px; width: min(100%, 440px); margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); text-align: left; }
.enq-summary div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.enq-summary dt { font-size: 11px; color: var(--ink-3); }
.enq-summary dd { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.3; text-align: right; color: var(--ink); }
.enq-wa { background: #1d6b45; }   /* WhatsApp's green, the one colour from outside the palette (spec) */
.enq-wa:hover { background: #17573a; }
@media (max-width: 720px) {
    .enq__q { font-size: clamp(27px, 8vw, 36px); }
    .enq-tel { grid-template-columns: 76px minmax(0, 1fr); }
    .enq__nav .btn-dark { max-width: none; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .enq.is-stepping .enq__step.is-current { animation: none; }
    .enq-card, .enq-chip { transition: none; }
}

/* ---------- music: the vinyl in the corner (static/js/music.js) ----------
   Above the header (50) and the phone dock (45); under the menu (60), loader, intro and curtain. */
.music {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 55;
    display: flex;
    align-items: center;
    gap: 12px;
}
.music[hidden] { display: none; }
.music__disc {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.music__disc:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; }
.music__record {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--beige) 0 7px, #1a1714 7.5px 8.5px, transparent 9px),
        repeating-radial-gradient(circle, #1d1916 0 1.4px, #2b2520 1.6px 2.6px),
        #191512;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .06);
    animation: music-turn 6s linear infinite;
    animation-play-state: paused;
}
.music__record::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 20deg, transparent 0 40deg, rgba(255, 255, 255, .14) 55deg, transparent 75deg 220deg,
        rgba(255, 255, 255, .08) 235deg, transparent 255deg);
}
.music.is-playing .music__record { animation-play-state: running; }
@keyframes music-turn { to { transform: rotate(360deg); } }
.music__glyph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    transition: opacity .2s var(--ease-out);
}
.music__glyph svg { width: 11px; height: 11px; margin-left: 1px; fill: var(--ink); }
.music.is-playing .music__glyph { opacity: 0; }
.music__label {
    order: -1;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(18, 16, 14, .82);
    color: var(--on-dark);
    font: 400 11px/1.2 var(--sans);
    letter-spacing: .04em;
    white-space: nowrap;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateX(6px);
    pointer-events: none;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
@media (hover: hover) {
    .music:hover .music__label,
    .music:has(.music__disc:focus-visible) .music__label { opacity: 1; transform: none; }
}
@media (max-width: 720px) {
    .music { right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); }
}
.page-soon .music { bottom: calc(20px + env(safe-area-inset-bottom)); }
/* The footer's right-hand links keep clear of the record (laptops; phones centre the footer). */
@media (min-width: 721px) {
    body:has(> .music:not([hidden])) .site-foot { padding-right: 100px; }
}
/* While the curtain changes pages the record stays in sight: the music carries on. */
.is-leaving .music, .is-entering .music { z-index: 101; }
@media (prefers-reduced-motion: reduce) {
    .music__record { animation: none; }
}
@media print {
    .music { display: none; }
}
