/* =============================================================================
   Dishrupt — Stylesheet (v2, editorial / Swiss-grotesque direction)
   Visual language: pure black, Helvetica Neue (≈ Neue Haas Grotesk),
   oversized display type with tight negative tracking, hairline rules,
   restrained flame-red accent, big work grid + services as a large list.

   1.  Tokens            6.  Hero                11. Forms
   2.  Reset / base      7.  Marquee             12. Footer
   3.  Layout            8.  Work grid           13. Reveal
   4.  Type helpers      9.  Big lists / rows    14. Responsive
   5.  Buttons / links   10. Method / scores
   ========================================================================== */

/* 0. FONTS (self-hosted Neue Haas Grotesk) ---------------------------------
   Body  → Neue Haas Grotesk *Text*    (optically sized for small copy, OTF)
   Heads → Neue Haas Grotesk *Display* (optically sized for large copy, TTF)
   Weights 400 / 500 / 700 (+900 Display) cover the design's 400/500/600 use;
   a 600 request resolves to the next available cut. */

/* — Body: Neue Haas Grotesk Text — */
@font-face {
    font-family: "neue-haas-grotesk-text";
    src: url("../fonts/NeueHaasGroteskText-Roman.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-text";
    src: url("../fonts/NeueHaasGroteskText-RomanItalic.woff2") format("woff2");
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-text";
    src: url("../fonts/NeueHaasGroteskText-Medium.woff2") format("woff2");
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-text";
    src: url("../fonts/NeueHaasGroteskText-MediumItalic.woff2") format("woff2");
    font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-text";
    src: url("../fonts/NeueHaasGroteskText-Bold.woff2") format("woff2");
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-text";
    src: url("../fonts/NeueHaasGroteskText-BoldItalic.woff2") format("woff2");
    font-weight: 700; font-style: italic; font-display: swap;
}

/* — Headings: Neue Haas Grotesk Display — */
@font-face {
    font-family: "neue-haas-grotesk-display";
    src: url("../fonts/NeueHaasGroteskDisplay-Roman.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-display";
    src: url("../fonts/NeueHaasGroteskDisplay-RomanItalic.woff2") format("woff2");
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-display";
    src: url("../fonts/NeueHaasGroteskDisplay-Medium.woff2") format("woff2");
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-display";
    src: url("../fonts/NeueHaasGroteskDisplay-MediumItalic.woff2") format("woff2");
    font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-display";
    src: url("../fonts/NeueHaasGroteskDisplay-Bold.woff2") format("woff2");
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-display";
    src: url("../fonts/NeueHaasGroteskDisplay-BoldItalic.woff2") format("woff2");
    font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
    font-family: "neue-haas-grotesk-display";
    src: url("../fonts/NeueHaasGroteskDisplay-Black.woff2") format("woff2");
    font-weight: 900; font-style: normal; font-display: swap;
}

/* 1. TOKENS ----------------------------------------------------------------- */
:root {
    --bg:        #000;
    --fg:        #fff;
    --muted:     #8c8c8c;   /* secondary text */
    --muted-2:   #5e5e5e;   /* tertiary / indices */
    --line:      #242424;   /* hairline rules */
    --line-2:    #3a3a3a;   /* stronger hairline / inputs */
    --panel:     #0b0b0b;   /* barely-there raised surface */

    --accent:    #f85b26;   /* flame orange */
    --accent-2:  #ff7d4f;   /* hover (lighter orange) */

    --ease:      cubic-bezier(.51, .01, .2, 1);  /* Studio SIZE signature */
    --t:         300ms var(--ease);

    --wrap:      1760px;
    --pad:       clamp(20px, 4.5vw, 64px);

    /* Neue Haas Grotesk, self-hosted (see @font-face above). Helvetica Neue fallback. */
    --font:         "neue-haas-grotesk-text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-display: "neue-haas-grotesk-display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 2. RESET / BASE ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--fg);
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.011em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; -webkit-user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; }

h1, h2, h3, h4 { font-weight: 600; line-height: 0.95; letter-spacing: -0.02em; }
/* Headings + heading-like titles use Neue Haas Grotesk Display */
h1, h2, h3, h4,
.h1, .h2, .h3, .display, .big-statement, .biglist__title, .row__title,
.cta-band__title, .fw-title, .work-item__name, .fw-card__name, .site-footer__lede {
    font-family: var(--font-display);
}

::selection { background: var(--accent); color: #fff; }

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

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: var(--fg); color: #000; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* 3. LAYOUT ----------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.section { padding: clamp(72px, 10vw, 168px) 0; border-top: 1px solid var(--line); }
.section--flush { border-top: none; }
.section--tight { padding: clamp(48px, 6vw, 96px) 0; }

.section__head { max-width: 24ch; margin-bottom: clamp(40px, 5vw, 80px); }
.section__head--wide { max-width: 40ch; }

/* 4. TYPE HELPERS ----------------------------------------------------------- */
.label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: clamp(11px, 0.8vw, 12.5px);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: clamp(20px, 2.5vw, 36px);
    padding: 7px 15px 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
}
.label::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.label--accent { color: var(--accent); border-color: rgba(248, 91, 38, 0.4); }
.label__dot { color: var(--accent); }

.display {                       /* hero headline */
    font-size: clamp(3.1rem, 9.2vw, 9.6rem);
    line-height: 0.94;
    letter-spacing: -0.025em;
    font-weight: 600;
}
h1, .h1 { font-size: clamp(3.1rem, 9.2vw, 9.6rem); line-height: 0.94; letter-spacing: -0.025em; }
h2, .h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 0.96; letter-spacing: -0.022em; }
h3, .h3 { font-size: clamp(1.55rem, 2.4vw, 2.3rem); letter-spacing: -0.03em; }

.lead {
    font-size: clamp(1.05rem, 1.55vw, 1.5rem);
    line-height: 1.42;
    letter-spacing: -0.02em;
    color: var(--fg);
    max-width: 30ch;
    font-weight: 500;   /* subheading weight (Neue Haas Text 500) */
}
.lead--muted { color: var(--muted); }
.measure { max-width: 56ch; }

.muted { color: var(--muted); }
.accent { color: var(--accent); }
.big-statement {
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    font-weight: 600;
    max-width: 18ch;
}

/* 5. BUTTONS / LINKS -------------------------------------------------------- */
/* Fill-from-center hover (Studio SIZE .fill-overlay mechanic) */
.btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; gap: 0.6em;
    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
    font-weight: 500; letter-spacing: -0.01em;
    padding: 0.95em 1.7em;
    border: 1px solid var(--fg);
    border-radius: 100px;
    background: transparent; color: var(--fg);
    cursor: pointer;
    transition: color var(--t), border-color var(--t);
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: inherit; background: var(--fg);
    transform: scale(0); transform-origin: center;
    transition: transform var(--t);
}
.btn:hover::before { transform: scale(1.02); }
.btn--solid { background: var(--fg); color: #000; border-color: var(--fg); }
.btn--solid::before { background: var(--accent); }
.btn--solid:hover { color: #fff; border-color: var(--accent); }
.btn--ghost { color: var(--fg); border-color: var(--line-2); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: #000; border-color: var(--fg); }
.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent::before { background: #fff; }
.btn--accent:hover { color: var(--accent); border-color: #fff; }
.btn--lg { padding: 1.1em 2em; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.btn--sm { padding: 0.7em 1.3em; font-size: clamp(0.85rem, 1vw, 0.95rem); }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn .arrow { transition: transform var(--t); }
.btn:hover .arrow { transform: translateX(4px); }

/* Visually-hidden (screen-reader / SEO) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Keep "get" + the flipping word on the same line */
.hero-keep { white-space: nowrap; }

/* ----- Hero word-flip ticker (Studio SIZE "textFlip") ----- */
.flip {
    position: relative; display: inline-block; vertical-align: top;
    height: 1em; line-height: 1; overflow: hidden;
    color: var(--accent); white-space: nowrap;
    transition: width 480ms var(--ease);
}
.flip__word { position: absolute; left: 0; top: 0; display: inline-flex; }
.flip__char {
    display: inline-block;
    transform: translateY(108%);
    transition: transform 620ms var(--ease);
}
.flip__word.is-active .flip__char { transform: translateY(0); }
.flip__word.is-out .flip__char { transform: translateY(-108%); }
.flip__word.no-anim .flip__char { transition: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Understated text link with an animated underline */
.link {
    display: inline-flex; align-items: center; gap: 0.45em;
    font-weight: 500; letter-spacing: -0.01em;
    color: var(--fg);
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
    padding-bottom: 2px;
    transition: background-size var(--t), color var(--t);
}
.link:hover { background-size: 100% 1px; color: var(--fg); }
.link .arrow { transition: transform var(--t); }
.link:hover .arrow { transform: translateX(4px); }

/* 6. HERO ------------------------------------------------------------------- */
.hero { padding: clamp(120px, 17vw, 240px) 0 clamp(56px, 8vw, 120px); }

/* Showreel video block (sits below the hero headline, Studio SIZE style) */
.reel { padding: clamp(8px, 1.4vw, 26px) 0 clamp(56px, 8vw, 120px); }
.reel__frame {
    position: relative; display: block; width: 100%; padding: 0; margin: 0;
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    background: #0d0d0d; aspect-ratio: 16 / 9; cursor: pointer;
}
.reel__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel__badge {
    position: absolute; left: clamp(16px, 1.6vw, 26px); top: clamp(16px, 1.6vw, 26px); z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
    background: rgba(0,0,0,.45); padding: 9px 15px; border-radius: 100px;
}
.reel__badge::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--accent); }
@media (max-width: 760px) { .reel__frame { aspect-ratio: 4 / 3; } }
.hero__inner { max-width: 19ch; }
.hero h1 { margin-bottom: clamp(26px, 3.5vw, 52px); }
.hero h1 .accent { color: var(--accent); }
.hero__sub {
    font-size: clamp(1.1rem, 1.7vw, 1.6rem);
    line-height: 1.4; letter-spacing: -0.02em; font-weight: 500;
    color: var(--muted); max-width: 46ch; margin-bottom: clamp(30px, 4vw, 48px);
}
.hero__sub .fg { color: var(--fg); }
.hero__note {
    margin-top: clamp(30px, 4vw, 52px);
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 0.95rem; color: var(--muted); max-width: 60ch;
}
/* compact hero for interior pages */
.hero--page { padding: clamp(120px, 16vw, 220px) 0 clamp(40px, 5vw, 72px); }
.hero--page .hero__inner { max-width: 26ch; }

/* 7. MARQUEE ---------------------------------------------------------------- */
.marquee {
    overflow: hidden; white-space: nowrap;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: clamp(16px, 1.8vw, 26px) 0;
}
.marquee__track { display: inline-block; will-change: transform; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
    font-size: clamp(1.4rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em;
    padding: 0 0.5em; color: var(--fg);
}
.marquee__track .sep { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 8. WORK GRID -------------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 56px) clamp(24px, 3vw, 48px); }
.work-item { display: block; }
.work-item__media {
    position: relative; overflow: hidden;
    aspect-ratio: 4 / 3; background: #0d0d0d;
    border: 1px solid var(--line);
}
.work-item__media::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(120% 130% at 80% 0%, rgba(248,91,38,.18), transparent 55%),
        repeating-linear-gradient(45deg, #101010 0 2px, #0c0c0c 2px 14px);
}
.work-item__ph {
    position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
    font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
    transform: scale(1); transition: transform 600ms var(--ease);
}
.work-item:hover .work-item__ph { transform: scale(1.05); }
.work-item__meta {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding-top: 18px;
}
.work-item__name { font-size: clamp(1.4rem, 2vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; transition: color var(--t); }
.work-item:hover .work-item__name { color: var(--accent); }
.work-item__tag { color: var(--muted); font-size: 0.95rem; text-align: right; }
.work-item__num { color: var(--muted-2); font-size: 0.9rem; }

/* Featured Work carousel (Studio SIZE slider, vanilla scroll-snap) ---------- */
.fw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 52px); }
.fw-title { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.02em; }
.fw-actions { display: flex; align-items: center; gap: 14px; }
.fw-arrows { display: flex; gap: 8px; }
.fw-arrow {
    position: relative; overflow: hidden; isolation: isolate;
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--line-2); color: var(--fg);
    display: grid; place-items: center; cursor: pointer;
    transition: color var(--t), border-color var(--t), opacity var(--t);
}
.fw-arrow::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--accent); transform: scale(0); transform-origin: center; transition: transform var(--t); }
.fw-arrow:hover:not(:disabled)::before { transform: scale(1); }
.fw-arrow:hover:not(:disabled) { border-color: var(--accent); color: #fff; }
.fw-arrow svg { width: 18px; height: 18px; }
.fw-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

.fw-track {
    display: flex; gap: clamp(16px, 1.6vw, 28px);
    overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px;
}
.fw-track::-webkit-scrollbar { display: none; }
.fw-track { cursor: grab; }
.fw-track.is-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; -webkit-user-select: none; }
.fw-card { flex: 0 0 auto; width: clamp(250px, 27vw, 360px); scroll-snap-align: start; -webkit-user-drag: none; }
.fw-card__media {
    position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden;
    background: #0d0d0d; border: 1px solid var(--line);
}
.fw-card__poster, .fw-card__vid {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none;
}
.fw-card__poster { transition: transform 700ms var(--ease); }
.fw-card:hover .fw-card__poster { transform: scale(1.04); }
.fw-card__vid { opacity: 0; transition: opacity 0.45s var(--ease); }
.fw-card.is-playing .fw-card__vid { opacity: 1; }
.fw-card__name { padding-top: 16px; font-size: clamp(1.25rem, 1.7vw, 1.6rem); font-weight: 600; letter-spacing: -0.025em; transition: color var(--t); }
.fw-card:hover .fw-card__name { color: var(--accent); }
.fw-card__desc { margin-top: 5px; color: var(--muted); font-size: 0.95rem; }

/* Kitchen — dense masonry media gallery (Studio SIZE "Labs"): clean tiles,
   tight gaps, 4 / 3 / 2 columns. Tiles are pure media — drop img/video in. */
.kitchen-grid { column-count: 3; column-gap: 10px; }
@media (min-width: 1280px) { .kitchen-grid { column-count: 4; } }
@media (max-width: 640px)  { .kitchen-grid { column-count: 2; column-gap: 8px; } }
.kitchen-item { break-inside: avoid; margin: 0 0 10px; }
@media (max-width: 640px)  { .kitchen-item { margin-bottom: 8px; } }
.kitchen-item__media {
    position: relative; overflow: hidden;
    border-radius: 6px; background: #0d0d0d;
    aspect-ratio: var(--ar, 4 / 5);
}
/* Subtle placeholder fill until real media is dropped in */
.kitchen-item__media::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(130% 130% at 75% 0%, rgba(248,91,38,.13), transparent 58%),
        repeating-linear-gradient(45deg, #131313 0 1px, #0d0d0d 1px 13px);
}
.kitchen-item__media img,
.kitchen-item__media video {
    position: absolute; inset: 0; z-index: 1;
    width: 100%; height: 100%; object-fit: cover; display: block;
    -webkit-user-drag: none; transition: transform 700ms var(--ease);
}
.kitchen-item:hover .kitchen-item__media img,
.kitchen-item:hover .kitchen-item__media video { transform: scale(1.05); }

/* 9. BIG LISTS / ROWS ------------------------------------------------------- */
/* Large single-line list (services preview, etc.) */
.biglist { border-top: 1px solid var(--line); }
.biglist__row {
    display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
    padding: clamp(22px, 3vw, 44px) 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left var(--t), color var(--t);
}
.biglist__row:hover { padding-left: clamp(8px, 1.4vw, 26px); color: var(--accent); }
.biglist__row .idx { font-size: clamp(0.85rem, 1vw, 1rem); color: var(--muted-2); width: 3ch; flex: none; align-self: flex-start; padding-top: 0.7em; transition: color var(--t); }
.biglist__row:hover .idx { color: var(--accent); }
.biglist__title { flex: 1; font-size: clamp(2.4rem, 7vw, 6rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.025em; }
.biglist__arrow { align-self: center; opacity: 0; transform: translateX(-10px); transition: opacity var(--t), transform var(--t); font-size: clamp(1.4rem,2.4vw,2.4rem); }
.biglist__row:hover .biglist__arrow { opacity: 1; transform: none; }

/* Detailed numbered rows (services page, packages, scores, method, case studies) */
.rows { border-top: 1px solid var(--line); }
.row {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1.05fr) minmax(0, 1.25fr);
    gap: clamp(18px, 3vw, 56px);
    padding: clamp(34px, 4.5vw, 72px) 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.row__idx { color: var(--muted-2); font-size: 1rem; padding-top: 0.4em; }
.row__title { font-size: clamp(1.9rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.02em; }
.row__body { color: var(--muted); font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.45; letter-spacing: -0.015em; }
.row__body .fg { color: var(--fg); }

/* Feature list (ticks) */
.flist { display: grid; gap: 12px; margin-top: 22px; }
.flist--2 { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.flist li { position: relative; padding-left: 24px; color: var(--muted); font-size: 1rem; letter-spacing: -0.01em; }
.flist li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--accent); }

/* Pills / tags (minimal, no gradients) */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
    font-size: 0.92rem; color: var(--fg); letter-spacing: -0.01em;
    padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 100px;
    transition: border-color var(--t), color var(--t);
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* 10. METHOD / SCORES / SPLIT ---------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.split--lead { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

/* Problem "anti" list */
.anti { display: grid; gap: 0; border-top: 1px solid var(--line); }
.anti li {
    display: flex; gap: 16px; align-items: flex-start;
    padding: clamp(16px, 1.8vw, 22px) 0; border-bottom: 1px solid var(--line);
    color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); letter-spacing: -0.015em;
}
.anti li::before { content: "—"; color: var(--accent); flex: none; }

/* Disclosure — pressable rows that reveal an explanation (homepage problem list) */
.disc { display: grid; gap: 0; border-top: 1px solid var(--line); }
.disc__item { border-bottom: 1px solid var(--line); }
.disc__q {
    width: 100%; background: none; border: 0; cursor: pointer; font-family: inherit;
    display: flex; align-items: flex-start; gap: 16px; text-align: left;
    padding: clamp(16px, 1.8vw, 22px) 0;
    color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); letter-spacing: -0.015em; line-height: 1.4;
    transition: color var(--t);
}
.disc__q::before { content: "—"; color: var(--accent); flex: none; }
.disc__q:hover, .disc__q[aria-expanded="true"] { color: var(--fg); }
.disc__q-text { flex: 1; }
.disc__icon { position: relative; flex: none; width: 13px; height: 13px; margin-top: 0.42em; }
.disc__icon::before, .disc__icon::after { content: ""; position: absolute; background: var(--accent); }
.disc__icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.disc__icon::after  { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); transition: opacity var(--t), transform var(--t); }
.disc__q[aria-expanded="true"] .disc__icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
/* Smooth reveal via animatable grid rows (degrades to instant open where unsupported) */
.disc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease); }
.disc__item.is-open .disc__a { grid-template-rows: 1fr; }
.disc__a-inner { overflow: hidden; min-height: 0; }
.disc__a-inner p {
    padding: 2px 0 clamp(16px, 1.8vw, 22px) 30px;
    color: var(--muted); max-width: 54ch; line-height: 1.55; letter-spacing: -0.015em;
}

/* 11. FORMS ----------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 34px) clamp(24px, 3vw, 48px); }
.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field .req { color: var(--accent); }
.field .opt { color: var(--muted-2); text-transform: none; letter-spacing: 0; }

.field input, .field select, .field textarea {
    width: 100%;
    font-family: inherit; font-size: clamp(1.05rem, 1.4vw, 1.25rem); letter-spacing: -0.02em;
    color: var(--fg); background: transparent;
    border: none; border-bottom: 1px solid var(--line-2);
    padding: 14px 0;
    transition: border-color var(--t);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field select {
    appearance: none; cursor: pointer; color: var(--fg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f85b26' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px;
}
.field select option { background: #111; color: var(--fg); }

.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: var(--accent); }
.field__error { font-size: 0.85rem; color: var(--accent); letter-spacing: -0.01em; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
    border: 1px solid var(--accent); color: var(--accent);
    padding: 16px 20px; margin-bottom: 30px; font-size: 0.98rem; letter-spacing: -0.01em;
}
.form-note { color: var(--muted); font-size: 0.9rem; margin-top: 18px; }

/* 12. HEADER / NAV ---------------------------------------------------------- */
/* Floating pill navbar. The header is a transparent positioning layer (clicks
   pass through its padding); the pill itself is .site-header__inner.
   NOTE: no backdrop-filter on the pill — that would make it a containing block
   for the fixed fullscreen mobile menu and trap it at pill height. */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: clamp(10px, 1.4vw, 18px) var(--pad);
    pointer-events: none;
    transition: transform 440ms var(--ease), padding 380ms var(--ease);
}
/* The mobile-only bottom-bar CTA is hidden on desktop (links carry the nav). */
.nav-bar-cta { display: none; }
.site-header__inner {
    position: relative; isolation: isolate; pointer-events: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    max-width: 1320px; margin: 0 auto;
    padding: 13px 8px 13px clamp(16px, 1.9vw, 24px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    transition: max-width 460ms var(--ease), padding 460ms var(--ease),
                border-color var(--t), box-shadow var(--t);
}
/* Glass on a pseudo-element so backdrop-filter doesn't make the pill a containing
   block for the fixed fullscreen mobile menu (a pseudo isn't an ancestor of it). */
.site-header__inner::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: rgba(20, 20, 24, 0.42);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    transition: background var(--t);
}
/* Contract to a compact centered pill once the user scrolls */
.site-header.is-scrolled .site-header__inner {
    max-width: 1040px;
    padding-top: 9px; padding-bottom: 9px;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.8);
}
.site-header.is-scrolled .site-header__inner::before { background: rgba(13, 13, 16, 0.72); }
/* (Logo keeps its size on scroll — only the pill + CTA contract.) */
/* Shrink the CTA (the pill's tallest element) on scroll, smoothly */
.nav-cta .btn { transition: color var(--t), border-color var(--t), padding 460ms var(--ease); }
.site-header.is-scrolled .nav-cta .btn { padding-top: 0.62em; padding-bottom: 0.62em; }
.site-header.is-scrolled .nav-link { padding-top: 6px; padding-bottom: 6px; }
.nav-link { transition: color var(--t), background var(--t), padding var(--t); }

/* Desktop pill layout: links centered, CTA pinned to the right edge.
   ≥1000px only — below that the 6 links don't fit, so we use the bottom-bar menu. */
@media (min-width: 1000px) {
    .nav-menu { flex: 1 1 auto; justify-content: center; padding-right: 232px; }
    .nav-cta { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); margin: 0; }
    /* Hide on scroll-down, reveal on scroll-up (desktop only) */
    .site-header.nav-hidden { transform: translateY(-160%); }
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__logo { display: block; height: clamp(32px, 3vw, 39px); width: auto; flex: 0 0 auto; }
.brand__mark { width: 26px; height: 26px; }
.brand__name { font-size: clamp(1.15rem, 1.4vw, 1.4rem); font-weight: 600; letter-spacing: -0.025em; }

.nav-menu { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav-link {
    font-size: 1rem; letter-spacing: -0.01em; color: var(--muted);
    padding: 9px 15px; border-radius: 100px;
    transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--fg); background: rgba(255, 255, 255, 0.07); }
.nav-link.is-active { color: var(--fg); background: rgba(255, 255, 255, 0.1); }
.nav-cta { margin-left: clamp(6px, 1vw, 14px); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--line-2); border-radius: 100px; cursor: pointer;
    align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--fg); transition: transform var(--t), opacity var(--t); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 13. FOOTER ---------------------------------------------------------------- */
.cta-band { padding: clamp(80px, 13vw, 220px) 0; border-top: 1px solid var(--line); }
.cta-band__title { font-size: clamp(2.6rem, 7.2vw, 7.4rem); line-height: 0.94; letter-spacing: -0.025em; font-weight: 600; max-width: 16ch; margin-bottom: clamp(28px, 4vw, 52px); }
.cta-band__text { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.35rem); max-width: 46ch; margin-bottom: clamp(28px, 3.5vw, 44px); letter-spacing: -0.02em; }

.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 110px) 0 40px; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.footer-logo { display: block; height: clamp(40px, 4.5vw, 64px); width: auto; margin-bottom: 26px; }
.site-footer__lede { font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; max-width: 16ch; }
.footer-col__title { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--fg); font-size: 1.05rem; letter-spacing: -0.01em; transition: color var(--t); }
.footer-col a:hover { color: var(--accent); }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: clamp(48px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line);
    color: var(--muted-2); font-size: 0.9rem; letter-spacing: -0.01em;
}

/* CONTEXTUAL CURSOR — only appears over [data-cursor] targets (reel, slider) */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; will-change: transform; }
.cursor__inner {
    position: absolute; left: 0; top: 0;
    width: 94px; height: 94px; border-radius: 50%;
    background: var(--accent); display: grid; place-items: center;
    opacity: 0; transform: translate(-50%, -50%) scale(0.4);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}
.cursor.is-active .cursor__inner { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor__label { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; color: #fff; white-space: nowrap; }
@media (pointer: fine) {
    .has-cursor [data-cursor] { cursor: none; }
}

/* 14. REVEAL ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee__track { animation: none; }
    .work-item:hover .work-item__ph { transform: none; }
    .flip__char { transition: none; }
    .disc__a { transition: none; }
    /* Don't slide the nav pill on scroll for reduced-motion users */
    .site-header { transition: none; }
    .site-header.nav-hidden { transform: none; }
    .nav-menu > .nav-link, .nav-menu > .nav-cta { opacity: 1; transform: none; transition: none; }
}

/* 15. CASE STUDY ------------------------------------------------------------
   Long-form project pages (work-franks-fork.php, work-miyabi.php) + the
   featured project cards on work.php. Editorial, image-forward, dark canvas. */

/* Featured project card on the Work index (real, clickable projects) */
.proj { display: block; border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 88px) 0; }
.proj__media {
    position: relative; overflow: hidden; border-radius: 12px;
    border: 1px solid var(--line); background: #0d0d0d; aspect-ratio: 16 / 9;
}
.proj__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 760ms var(--ease); }
.proj:hover .proj__media img { transform: scale(1.035); }
.proj__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-top: clamp(22px, 2.6vw, 34px); }
.proj__name { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.025em; line-height: 0.98; transition: color var(--t); }
.proj:hover .proj__name { color: var(--accent); }
.proj__tag { color: var(--muted); font-size: clamp(0.95rem, 1.2vw, 1.1rem); text-align: right; letter-spacing: -0.01em; }
.proj__deck { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.22rem); line-height: 1.45; letter-spacing: -0.015em; max-width: 62ch; margin-top: 18px; }
.proj__more { margin-top: 24px; }

/* Case-study hero cover */
.case-cover { margin-top: clamp(24px, 3vw, 44px); }
.case-cover img {
    width: 100%; height: auto; display: block; max-height: 82vh; object-fit: cover;
    border: 1px solid var(--line); border-radius: 14px; background: #0d0d0d;
}
.case-cover figcaption { margin-top: 14px; color: var(--muted); font-size: 0.95rem; line-height: 1.45; letter-spacing: -0.01em; max-width: 64ch; }

/* Meta facts strip under the hero */
.case-facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(20px, 2.4vw, 40px); margin-top: clamp(34px, 4vw, 60px);
    padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line);
}
.case-fact__label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.case-fact__value { font-size: clamp(1rem, 1.2vw, 1.15rem); letter-spacing: -0.015em; line-height: 1.4; }
.case-fact__value .tags { margin-top: 0; }

/* Long-form prose blocks */
.prose { max-width: 64ch; }
.prose p { color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.6; letter-spacing: -0.015em; }
.prose p + p { margin-top: 1.1em; }
.prose .fg { color: var(--fg); }
.case-lede { color: var(--fg); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.28; letter-spacing: -0.022em; max-width: 26ch; }

/* A titled long-form section */
.case-block { border-top: 1px solid var(--line); padding-top: clamp(30px, 4vw, 56px); }
.case-block__head { font-size: clamp(1.7rem, 3.4vw, 3rem); letter-spacing: -0.025em; line-height: 1; margin-bottom: clamp(18px, 2vw, 28px); }
.case-block + .case-block { margin-top: clamp(48px, 6vw, 92px); }

/* "Why we did it" callout */
.case-why {
    margin-top: 22px; padding: 18px 0 18px 22px; border-left: 2px solid var(--accent);
    color: var(--fg); font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.5; letter-spacing: -0.015em; max-width: 60ch;
}
.case-why b, .case-why strong { color: var(--accent); font-weight: 500; }

/* Pull quote */
.pullquote {
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: clamp(40px, 6vw, 88px) 0; margin: clamp(48px, 6vw, 92px) 0;
}
.pullquote p { font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -0.025em; font-weight: 600; max-width: 22ch; }
.pullquote .accent { color: var(--accent); }

/* Figures / gallery */
.case-figures { display: grid; gap: clamp(16px, 2vw, 30px); }
.case-figures--2 { grid-template-columns: 1fr 1fr; align-items: start; }
.case-figure { margin: 0; }
.case-figure__media { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0d0d0d; }
.case-figure__media img { width: 100%; height: auto; display: block; }
.case-figure figcaption { margin-top: 13px; color: var(--muted); font-size: 0.95rem; line-height: 1.45; letter-spacing: -0.01em; max-width: 56ch; }
.case-figure figcaption b { color: var(--fg); font-weight: 500; }

/* Brand palette swatches */
.palette { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.swatch { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.swatch__chip { height: 96px; display: block; }
.swatch__body { padding: 14px 16px 16px; }
.swatch__name { font-weight: 500; letter-spacing: -0.01em; }
.swatch__hex { color: var(--muted-2); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }
.swatch__note { color: var(--muted); font-size: 0.9rem; line-height: 1.4; margin-top: 8px; letter-spacing: -0.01em; }

/* Bottom case navigation */
.case-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
    border-top: 1px solid var(--line); padding-top: clamp(28px, 3vw, 44px); margin-top: clamp(40px, 5vw, 72px);
}

/* 15b. HOMEPAGE BOLD: brands wall · food strip · manifesto · vs-table -------- */

/* "Brands we've worked with" — image credential wall */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.brand-card { position: relative; display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0d0d0d; }
.brand-card__img { aspect-ratio: 1 / 1; display: block; }
.brand-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--ease); }
.brand-card:hover .brand-card__img img { transform: scale(1.05); }
.brand-card__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 12px; font-size: 0.92rem; font-weight: 500; letter-spacing: 0.02em; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }

/* Food photography strip — horizontal scroll of real shots */
.food-strip { display: flex; gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.food-strip::-webkit-scrollbar { display: none; }
.food-strip__item { flex: 0 0 auto; width: clamp(220px, 24vw, 330px); aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #0d0d0d; scroll-snap-align: start; }
.food-strip__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--ease); }
.food-strip__item:hover img { transform: scale(1.04); }

/* Manifesto band — oversized statement on black */
.manifesto { background: #000; color: var(--fg); border-top: 1px solid var(--line); }
.manifesto .wrap { padding-top: clamp(76px, 12vw, 180px); padding-bottom: clamp(76px, 12vw, 180px); }
.manifesto .label { color: var(--accent); }
.manifesto__title { font-size: clamp(2.7rem, 7.4vw, 7.2rem); line-height: 0.95; letter-spacing: -0.03em; font-weight: 600; max-width: 17ch; color: var(--fg); }
.manifesto__title em { font-style: normal; color: var(--accent); }
.manifesto__text { margin-top: clamp(22px, 2.6vw, 36px); font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.38; letter-spacing: -0.02em; max-width: 46ch; color: var(--muted); font-weight: 500; }

/* Rent vs Own comparison table (custom-platform page) */
.vs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.vs__col { padding: clamp(24px, 3vw, 44px); }
.vs__col--own { background: #0b0b0b; border-left: 1px solid var(--line); }
.vs__head { font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.vs__col--rent .vs__head { color: var(--muted); }
.vs__col--own .vs__head { color: var(--accent); }
.vs__sub { color: var(--muted-2); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; }
.vs__list { display: grid; gap: 15px; }
.vs__list li { position: relative; padding-left: 28px; font-size: clamp(0.98rem, 1.2vw, 1.12rem); line-height: 1.45; letter-spacing: -0.01em; }
.vs__col--rent .vs__list li { color: var(--muted); }
.vs__col--rent .vs__list li::before { content: "\00d7"; position: absolute; left: 0; top: -0.05em; color: var(--muted-2); font-size: 1.1em; }
.vs__col--own .vs__list li { color: var(--fg); }
.vs__col--own .vs__list li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent); }

/* Contact — multilingual hellos + big copy-to-clipboard email */
.hello-langs {
    font-size: clamp(1.1rem, 1.7vw, 1.6rem); line-height: 1.5; letter-spacing: -0.01em;
    color: var(--muted); max-width: 34ch; margin-bottom: clamp(8px, 1vw, 16px);
}
.hello-langs b { color: var(--fg); font-weight: 500; }
.email-copy {
    display: inline-flex; flex-direction: column; gap: 10px;
    background: none; border: 0; padding: 0; margin-top: clamp(22px, 3vw, 40px);
    font-family: inherit; text-align: left; cursor: pointer; color: var(--fg);
}
.email-copy__addr {
    font-size: clamp(1.4rem, 5.4vw, 5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05;
    transition: color var(--t); word-break: break-word;
}
.email-copy:hover .email-copy__addr, .email-copy:focus-visible .email-copy__addr { color: var(--accent); }
.email-copy__hint {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
    transition: color var(--t);
}
.email-copy__hint::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); transition: background var(--t); }
.email-copy.is-copied .email-copy__hint { color: var(--accent); }
.email-copy.is-copied .email-copy__hint::before { background: var(--accent); }

/* Journal index list */
.jlist { border-top: 1px solid var(--line); }
.jpost { display: block; padding: clamp(28px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); transition: padding-left var(--t); }
.jpost:hover { padding-left: clamp(6px, 1.2vw, 22px); }
.jpost__meta { display: flex; gap: 14px; align-items: center; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.jpost__tag { color: var(--accent); }
.jpost__title { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -0.025em; line-height: 1.02; max-width: 24ch; transition: color var(--t); }
.jpost:hover .jpost__title { color: var(--accent); }
.jpost__excerpt { margin-top: 14px; max-width: 62ch; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.5; letter-spacing: -0.015em; }
.jpost .link { margin-top: 20px; }

/* 15. RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1000px) {
    .case-facts { grid-template-columns: 1fr 1fr; }
    .case-figures--2 { grid-template-columns: 1fr; }
    .vs { grid-template-columns: 1fr; }
    .vs__col--own { border-left: none; border-top: 1px solid var(--line); }
    .split, .split--lead { grid-template-columns: 1fr; gap: 32px; }
    .row { grid-template-columns: 2.5rem 1fr; }
    /* every non-index child stacks in col 2 (services body, packages includes, etc.) */
    .row > :not(.row__idx) { grid-column: 2; }
    /* Packages: the index is a word tag, not a number — stack each tier as a
       full-width card so the tag never gets cramped in the narrow index column. */
    .rows--pkg .row { grid-template-columns: 1fr; gap: 10px; }
    .rows--pkg .row > * { grid-column: 1; }
    .rows--pkg .row__idx { padding-top: 0; }
    .site-footer__top { grid-template-columns: 1fr 1fr; }
    .site-footer__lede { grid-column: 1 / -1; margin-bottom: 16px; }
}

@media (max-width: 999px) {
    .nav-menu {
        position: fixed; inset: 0; z-index: 90;
        flex-direction: column; align-items: flex-start; justify-content: center;
        gap: clamp(14px, 4vw, 28px);
        background: #000; padding: clamp(64px, 15vw, 100px) var(--pad) calc(108px + env(safe-area-inset-bottom)); overflow-y: auto;
        transform: translateY(100%); opacity: 0; visibility: hidden; will-change: transform;
        transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 380ms ease, visibility 0s linear 600ms;
    }
    .nav-menu.is-open {
        transform: none; opacity: 1; visibility: visible;
        transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 380ms ease, visibility 0s;
    }
    .nav-link, .nav-link.is-active { font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 600; letter-spacing: -0.025em; color: var(--fg); padding-left: 0; padding-right: 0; background: none; }
    .nav-cta { margin: 16px 0 0; }
    .nav-cta .btn { font-size: 1.1rem; }
    .nav-toggle { display: flex; z-index: 110; }

    /* Rama-style staggered reveal: each item rises + fades in, one after another */
    .nav-menu > .nav-link, .nav-menu > .nav-cta {
        opacity: 0; transform: translateY(44px); will-change: transform, opacity;
        transition: opacity 0.7s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: 0s;
    }
    .nav-menu.is-open > .nav-link, .nav-menu.is-open > .nav-cta { opacity: 1; transform: none; }
    .nav-menu.is-open > *:nth-child(1) { transition-delay: 0.16s; }
    .nav-menu.is-open > *:nth-child(2) { transition-delay: 0.23s; }
    .nav-menu.is-open > *:nth-child(3) { transition-delay: 0.30s; }
    .nav-menu.is-open > *:nth-child(4) { transition-delay: 0.37s; }
    .nav-menu.is-open > *:nth-child(5) { transition-delay: 0.44s; }
    .nav-menu.is-open > *:nth-child(6) { transition-delay: 0.51s; }
    .nav-menu.is-open > *:nth-child(7) { transition-delay: 0.58s; }

    /* ----- Move the pill to the BOTTOM (thumb zone) on mobile ----- */
    .site-header { top: auto; bottom: 0; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); }
    .nav-bar-cta { display: inline-flex; padding: 0.72em 1.25em; font-size: 0.92rem; }
    /* Compact content-hugging pill, centered at the bottom — a touch wider for breathing room */
    .site-header__inner { width: -moz-max-content; width: max-content; max-width: 100%; margin: 0 auto; gap: 18px; padding-left: 24px; padding-right: 18px; }
    /* Keep the bar a constant size on scroll (don't shrink it) */
    .site-header.is-scrolled .site-header__inner { padding-top: 13px; padding-bottom: 13px; max-width: 100%; }
    /* Keep content clear of the fixed bottom bar */
    body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
    /* No top nav on mobile now → reclaim the hero's top space */
    .hero, .hero--page { padding-top: clamp(40px, 13vw, 84px); }

    .work-grid { grid-template-columns: 1fr; }
    .fw-card { width: 80vw; }
    .form-grid { grid-template-columns: 1fr; }
    .flist--2 { grid-template-columns: 1fr; }
    .biglist__row { gap: 12px; }
    .biglist__row .idx { display: none; }
    .biglist__arrow { display: none; }
}

@media (max-width: 480px) {
    .btn-row .btn { width: 100%; justify-content: center; }
    .row { grid-template-columns: 1fr; gap: 14px; }
    .row__idx { padding-top: 0; }
    /* Headlines: smaller floor so hero text never overflows tiny screens */
    h1, .h1, .display { font-size: clamp(2.5rem, 11vw, 3.4rem); line-height: 1.0; }
    .big-statement, .cta-band__title { font-size: clamp(2rem, 9vw, 3rem); }
    .case-facts { grid-template-columns: 1fr; }
    .vs__col { padding: 22px; }
    .manifesto__title { font-size: clamp(2.3rem, 11vw, 3.4rem); }
}
