/* Self-hosted fonts (latin subsets, pulled from Google Fonts 2026-06-11).
   Same-origin = no third-party DNS/TLS on the render path. */
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/space-grotesk-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Noto Serif JP';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/noto-serif-jp-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* OneCompass v2 — shared design system
   ====================================== */

:root {
    /* DARK tokens — navy-tinted so the "void" remembers the Tokyo sky above */
    --dark-bg: #0B1428;
    --dark-bg-elev: #1F2A3D;
    --dark-gray-3: #6B7894;
    --dark-gray-2: #8C97AE;
    --dark-gray-1: #BDC4D2;
    --dark-fg: #ffffff;
    --sky: #1D94DD;            /* hero sky color, also used for blue echo */

    /* LIGHT tokens (default — HLE day-mode for the rest of the page) */
    --bg: #E8E5DD;             /* warm light gray */
    --bg-2: #DEDAD0;
    --bg-elev: #C8C4BA;        /* hairline borders, cards */
    --gray-3: #9A968D;
    --gray-2: #6F6C66;         /* muted text */
    --gray-1: #3A3937;         /* body text */
    --fg: #101011;             /* primary text on light */
    --accent: #F5A623;         /* gold, kept across both modes */

    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Space Grotesk', sans-serif;
    --space-base: 4px;
    --space-gap: 8px;
    --space-section: 48px;
    --radius: 0px;             /* hard edges, HLE */

    /* Easing curve used for all entrance animations */
    --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

.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;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 1000;
    padding: 10px 14px;
    background: var(--accent);
    color: #101011;
    font-family: var(--font-mono);
    font-size: 12px;
    text-decoration: none;
    transform: translateY(-140%);
    transition: transform 0.18s ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

body {
    background-color: var(--bg);
    color: var(--gray-1);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* DARK mode wrapper (kept for legacy / other pages — no longer used on index) */
.dark-zone {
    position: relative;
    background-color: var(--dark-bg);
    color: var(--dark-gray-1);
}
.dark-zone h2 { color: var(--dark-fg); }
.dark-zone .section-desc { color: var(--dark-gray-1); }
.dark-zone .op-card { border-color: var(--dark-bg-elev); }

/* OPS ZONE — dark studio systems band. */
.ops-zone {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: #070707;
    color: rgba(255,255,255,0.74);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: clamp(70px, 8vw, 96px) 0;
}
.ops-zone > .container { position: relative; padding-left: 24px; padding-right: 24px; }
@media (min-width: 768px) {
    .ops-zone > .container { padding-left: 40px; padding-right: 40px; }
}
.ops-zone h2 { color: #fff; }
.ops-zone .section-desc { color: rgba(255,255,255,0.62); }
.ops-zone .op-card { border-color: rgba(255,255,255,0.12); }
.ops-zone .op-card:hover { border-color: var(--accent); }
.ops-zone h2,
.ops-zone .section-desc,
.ops-zone .ops-grid {
    position: relative;
    z-index: 1;
}
.ops-zone-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 34px;
}
@media (min-width: 900px) {
    .ops-zone-head {
        grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
        gap: 72px;
    }
}
.ops-zone-head h2 {
    max-width: 18ch;
    margin-bottom: 0;
}
.ops-zone-title span {
    display: block;
}
@media (min-width: 700px) {
    .ops-zone-title span {
        white-space: nowrap;
    }
}
.ops-zone-head .section-desc {
    margin-bottom: 0;
    max-width: 54ch;
}
.system-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255,255,255,0.16);
    border-left: 1px solid rgba(255,255,255,0.16);
}
@media (min-width: 760px) {
    .system-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}
.system-strip > div {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    padding: 22px;
    border-right: 1px solid rgba(255,255,255,0.16);
    border-bottom: 1px solid rgba(255,255,255,0.16);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
        rgba(255,255,255,0.015);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.system-strip > div::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    top: 70px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.32s var(--ease-out-soft), opacity 0.2s ease;
}
.system-strip > div:hover {
    background-color: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.26);
}
.system-strip > div:hover::after {
    transform: scaleX(1);
    opacity: 0.9;
}
.system-strip span {
    display: block;
    margin-bottom: 38px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--accent);
}
.system-strip strong {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 0.95;
    font-weight: 700;
    color: #fff;
}
.system-strip p {
    margin: 0;
    max-width: 22ch;
    color: rgba(255,255,255,0.64);
    font-size: 13px;
    line-height: 1.55;
}
.ops-zone-cta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin: 34px auto 0;
    text-align: center;
}
.ops-zone-cta p {
    margin: 0;
    max-width: 46ch;
    color: rgba(255,255,255,0.74);
    font-size: 14px;
    line-height: 1.55;
}
.ops-zone-cta span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.46);
}

.dark-guide-marks {
    position: absolute;
    right: clamp(24px, 5vw, 70px);
    top: -18px;
    width: min(360px, 34vw);
    height: 160px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.28;
}
.dark-guide-marks span {
    position: absolute;
    display: block;
}
.dark-guide-marks span:nth-child(1) {
    left: 0;
    top: 34px;
    width: 170px;
    height: 64px;
    border-top: 2px solid rgba(255,255,255,0.64);
    border-radius: 50%;
    transform: rotate(-8deg);
}
.dark-guide-marks span:nth-child(1)::after {
    content: '';
    position: absolute;
    right: 4px;
    top: -7px;
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(255,255,255,0.64);
    border-right: 2px solid rgba(255,255,255,0.64);
    transform: rotate(35deg);
}
.dark-guide-marks span:nth-child(2) {
    right: 48px;
    top: 0;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(245,166,35,0.76);
    border-radius: 50%;
}
.dark-guide-marks span:nth-child(2)::before,
.dark-guide-marks span:nth-child(2)::after {
    content: '';
    position: absolute;
    background: rgba(245,166,35,0.76);
}
.dark-guide-marks span:nth-child(2)::before {
    left: -14px; right: -14px; top: 50%; height: 2px;
}
.dark-guide-marks span:nth-child(2)::after {
    top: -14px; bottom: -14px; left: 50%; width: 2px;
}
.dark-guide-marks span:nth-child(3) {
    right: 0;
    bottom: 10px;
    width: 74px;
    height: 74px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.46) 2px, transparent 2.6px);
    background-size: 14px 14px;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

.hover-line { position: relative; display: inline-block; }
.hover-line::after {
    content: '';
    position: absolute;
    width: 0; height: 1px;
    bottom: -2px; left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}
.hover-line:hover::after { width: 100%; }
.hover-line:hover { color: var(--fg); }
.dark-zone .hover-line:hover { color: var(--dark-fg); }

.hover-text:hover { color: var(--fg); }

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}
.container-wide {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
}
.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2 {
    font-family: var(--font-sans);
    color: var(--fg);
    font-weight: 500;
    letter-spacing: -0.025em;
    margin: 0;
    text-wrap: balance;
}
h1 { font-size: clamp(56px, 7vw, 104px); line-height: 0.96; }
h2 { font-size: clamp(32px, 5vw, 64px); line-height: 1; margin-bottom: 24px; }
h3 {
    font-family: var(--font-sans);
    color: var(--fg);
    font-weight: 500;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}
.dark-zone h3 { color: var(--dark-fg); }

.eyebrow {
    text-transform: uppercase;
    font-size: 11px;
    color: var(--gray-2);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: '';
    display: block;
    width: 18px; height: 1px;
    background-color: var(--gray-2);
}

/* Nav — minimal */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 18px;
    font-size: 14px;
    border-bottom: 1px solid var(--bg-elev);
    margin-bottom: 0;
    color: var(--gray-1);
    letter-spacing: 0.01em;
}
nav .brand {
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 13px;
}
nav .brand { color: var(--fg); }
nav .nav-links a { color: var(--gray-1); }
nav .nav-right span { color: var(--gray-1); }

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fg);
    font-weight: 400;
}

.star {
    display: inline-block;
    color: var(--accent);
    width: 0.92em;
    height: 0.92em;
    line-height: 0;
    vertical-align: -0.12em;
}
.star svg { width: 100%; height: 100%; display: block; }

/* CLS width/height attrs set a presentational height that defeats CSS
   aspect-ratio on fluid images. Let CSS-sized images (no explicit height
   rule of their own) honor their aspect-ratio. Higher-specificity rules
   (.work-tile-media img height:100%, etc.) still win. */
img[width][height] { height: auto; }
@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.nav-links { display: none; gap: 24px; }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-right { color: var(--gray-2); display: flex; gap: 8px; }
.nav-right span { color: var(--gray-1); }

/* ── Nav band (slim top, replaces full hero-stage) ────────────── */
.nav-band {
    position: relative;
    width: 100%;
    background: #070707;
    color: #fff;
    padding: 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-band nav {
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
    padding: 18px 0;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.01em;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav-right,
.menu-foot-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.nav-band nav .brand {
    min-width: 148px;
}
.nav-band nav .brand,
.nav-band nav .nav-right span { color: #fff; }
.nav-band nav .nav-links a { color: rgba(255,255,255,0.75); }
.nav-band nav .nav-links a:hover { color: #fff; }
.nav-band nav .star { color: var(--accent); }
.nav-band .menu-toggle {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

/* ── Hero pair: text + girl side-by-side (dark band) ──────────── */
.hero-pair-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    background: #070707;
    color: rgba(255,255,255,0.85);
    padding: 0;
}
.hero-pair-section > .container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px);
}
.hero-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 64px);
    padding: clamp(54px, 7vw, 92px) 0 clamp(58px, 7vw, 96px);
    align-items: center;
    min-width: 0;
}
@media (min-width: 900px) {
    .hero-pair {
        grid-template-columns: minmax(520px, 0.94fr) minmax(380px, 0.7fr);
    }
}
.hero-pair-text {
    display: flex;
    flex-direction: column;
    color: #fff;
    min-width: 0;
}
.hero-pair-text .eyebrow {
    margin-bottom: 18px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    line-height: 1.5;
    text-transform: uppercase;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.hero-pair-text h1 {
    font-size: clamp(38px, 5.55vw, 80px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
    color: #fff;
}
.hero-pair-text .sub-hook {
    color: rgba(255,255,255,0.72);
    max-width: min(100%, 58ch);
    overflow-wrap: break-word;
}
.hero-signal-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 26px;
    color: rgba(255,255,255,0.42);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}
.hero-signal-row span {
    position: relative;
    white-space: nowrap;
}
.hero-signal-row span + span::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 3px;
    height: 3px;
    background: var(--accent);
    transform: translateY(-50%);
    opacity: 0.7;
}
.hero-pair-text .slots-text {
    color: rgba(255,255,255,0.5);
}
.hero-cine .slots-text,
.audit-cta-band .slots-text {
    color: rgba(255,255,255,0.7);
}
.hero-cine .slots-text:hover,
.audit-cta-band .slots-text:hover {
    color: #fff;
}
.hero-offer-panel {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.035);
    color: rgba(255,255,255,0.68);
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.hero-offer-top,
.hero-offer-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    min-width: 0;
}
.hero-offer-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255,255,255,0.46);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hero-offer-top span:last-child,
.hero-offer-row > span {
    color: var(--accent);
}
.hero-offer-row:last-child {
    border-bottom: 0;
}
.hero-offer-row > span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
}
.hero-offer-row strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.hero-offer-row p {
    grid-column: 2;
    margin: 0;
    max-width: 34ch;
    line-height: 1.5;
    min-width: 0;
}
.hero-proof-desk {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    background: #0e0e0e;
    color: rgba(255,255,255,0.72);
    box-shadow: 0 30px 78px rgba(0,0,0,0.28);
}
.proof-desk-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.46);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.proof-desk-top span:last-child {
    color: var(--accent);
}
.proof-desk-feature {
    position: relative;
    display: grid;
    min-height: clamp(250px, 25vw, 360px);
    align-content: end;
    gap: 10px;
    overflow: hidden;
    padding: clamp(20px, 2.3vw, 28px);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}
.proof-desk-feature::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.06) 28%, rgba(0,0,0,0.86) 100%),
        radial-gradient(circle at 72% 14%, rgba(255,168,31,0.16), transparent 34%);
}
.proof-desk-feature img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.05) brightness(0.78);
    transform: scale(1.01);
    transition: transform 0.6s var(--ease-out-soft), filter 0.24s ease;
}
.proof-desk-feature:hover img {
    transform: scale(1.045);
    filter: saturate(0.94) contrast(1.07) brightness(0.9);
}
.proof-desk-feature span,
.proof-desk-ledger span {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    line-height: 1.45;
    text-transform: uppercase;
}
.proof-desk-feature strong {
    display: block;
    max-width: 18ch;
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(25px, 2.35vw, 34px);
    line-height: 0.98;
    letter-spacing: -0.035em;
}
.proof-desk-ledger {
    display: grid;
    grid-template-columns: 1fr;
}
.proof-desk-ledger a {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px 18px;
    padding: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.68);
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}
.proof-desk-ledger a:hover {
    background: rgba(255,255,255,0.04);
    color: #fff;
}
.proof-desk-ledger strong {
    display: block;
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.proof-desk-ledger em {
    grid-column: 2;
    max-width: 31ch;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-mono);
    font-size: 11px;
    font-style: normal;
    line-height: 1.45;
}
.hero-artifact {
    width: 100%;
    color: rgba(255,255,255,0.58);
    font-family: var(--font-mono);
}
.hero-artifact-top,
.hero-artifact-bottom span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.hero-artifact-top {
    margin-bottom: 12px;
}
.hero-artifact-top span:last-child {
    color: var(--accent);
}
.hero-artifact-bottom {
    margin-top: 14px;
}
.hero-artifact-bottom span {
    color: rgba(255,255,255,0.38);
}
.hero-artifact-bottom p {
    max-width: 38ch;
    margin: 12px 0 0;
    color: rgba(255,255,255,0.54);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.45;
}
.hero-girl-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #0a0a0a;
    border: 1px solid rgba(0,0,0,0.18);
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    overflow: hidden;
}
.hero-girl-frame .hero-girl-meta {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 1;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(7,7,7,0.76);
    box-shadow: 0 10px 28px rgba(0,0,0,0.34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-girl-frame .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-girl-frame .hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse-dot 1.6s ease-in-out infinite;
}
/* The .manga-panel is created by dither-bg.js inside .hero-girl-frame.
   Force it to fill the frame instead of using the default absolute-centered
   hero positioning. */
.hero-girl-frame .manga-panel {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    aspect-ratio: auto !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* ── Rundown band — editorial typography, no card chrome ──────── */
.rundown-band {
    margin-top: 0;
    margin-bottom: 0;
    padding: clamp(72px, 9vw, 118px) 0 clamp(64px, 8vw, 104px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0) 34%),
        radial-gradient(circle at 82% 16%, rgba(245,166,35,0.12), transparent 28%),
        var(--bg);
}
.rundown-band .container {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: clamp(20px, 5vw, 48px);
    padding-right: clamp(20px, 5vw, 48px);
}
.rundown-band .engagement-panel {
    max-width: none;
    margin: 0;
    background: transparent;
    border: 0;
    overflow: visible;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}
.rundown-band .engagement-panel::after {
    display: none;
}
.rundown-band .engagement-top {
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    background: transparent;
    color: var(--gray-2);
}
.rundown-band .engagement-main {
    padding: 32px 0 34px;
}
.rundown-band .engagement-main h2 {
    font-size: clamp(42px, 5.3vw, 72px);
    max-width: 24ch;
    letter-spacing: -0.025em;
    line-height: 1.02;
    text-wrap: balance;
}
.rundown-band .engagement-main p {
    font-size: clamp(16px, 1.5vw, 20px);
    max-width: 52ch;
    color: rgba(16,16,17,0.76);
}
.rundown-band .engagement-map {
    position: relative;
    margin: 4px 0 34px;
    padding: clamp(30px, 5vw, 48px) clamp(18px, 3vw, 34px);
    background:
        linear-gradient(135deg, rgba(245,166,35,0.12), transparent 42%),
        radial-gradient(circle at 76% 20%, rgba(29,148,221,0.16), transparent 30%),
        #111111;
    border-color: rgba(0,0,0,0.38);
    box-shadow: 0 24px 60px rgba(16,16,17,0.16);
    overflow: hidden;
}
.rundown-band .engagement-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.42;
    pointer-events: none;
}
.rundown-band .engagement-map > * {
    position: relative;
    z-index: 1;
}
.rundown-band .map-node {
    border-color: rgba(255,255,255,0.18);
    background: #f7f3e8;
    color: #101011;
    box-shadow: 0 0 0 8px rgba(247,243,232,0.06);
}
.rundown-band .map-line,
.rundown-band .map-line::after {
    background: rgba(245,166,35,0.44);
}
.rundown-band .map-row span {
    border-color: rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.68);
}
.rundown-band .map-row span:first-child {
    color: var(--accent);
    border-color: rgba(245,166,35,0.42);
    background: rgba(245,166,35,0.12);
}
.rundown-band .engagement-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    border-top: 0;
    border-bottom: 0;
}
.rundown-band .engagement-steps div {
    min-height: 72px;
    padding: 18px 22px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.24);
    font-size: 17px;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.rundown-band .engagement-steps div:hover {
    transform: translateY(-2px);
    border-color: rgba(245,166,35,0.44);
    background: rgba(255,255,255,0.42);
}
.rundown-band .engagement-steps span {
    color: var(--accent);
    font-size: 12px;
}
@media (min-width: 860px) {
    .rundown-band .engagement-panel {
        grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
        column-gap: clamp(44px, 6vw, 86px);
        align-items: start;
    }
    .rundown-band .engagement-top,
    .rundown-band .engagement-main {
        grid-column: 1 / -1;
    }
    .rundown-band .engagement-map,
    .rundown-band .engagement-steps {
        margin-top: 6px;
    }
    .rundown-band .engagement-map {
        margin-bottom: 0;
        min-height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .rundown-band .engagement-steps {
        align-self: stretch;
    }
    .rundown-band .engagement-steps div {
        min-height: 86px;
    }
}
.rundown-band .engagement-steps div:first-child { border-top: 0; }

/* ── Mobile MENU toggle + overlay ─────────────────────────────── */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    color: inherit;
    font: inherit;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 8px 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    border-radius: 2px;
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    outline: 2px solid rgba(245,166,35,0.7);
    outline-offset: 3px;
}
.hero-stage .menu-toggle {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
@media (max-width: 768px) {
    .menu-toggle { display: inline-flex; align-items: center; }
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #070707;
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow-y: auto;
}
.menu-overlay[hidden] {
    display: none;
}
.menu-overlay.is-open {
    transform: translateX(0);
}
.menu-overlay-inner {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 20px 24px 32px;
    padding-top: max(20px, env(safe-area-inset-top));
    padding-bottom: max(32px, env(safe-area-inset-bottom));
}
.menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: auto;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.menu-head .brand {
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.menu-head .star { color: var(--accent); }
.menu-close {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    font: inherit;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 2px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.menu-close:hover,
.menu-close:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    outline: 2px solid rgba(245,166,35,0.7);
    outline-offset: 3px;
}

.menu-list {
    list-style: none;
    padding: 48px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    align-content: center;
    justify-content: center;
}
.menu-list a {
    display: block;
    font-family: var(--font-serif, 'Space Grotesk', sans-serif);
    font-size: clamp(40px, 10vw, 56px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #fff;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s ease, transform 0.2s ease;
}
.menu-list a:hover,
.menu-list a:focus-visible {
    color: var(--accent);
    outline: 2px solid rgba(245,166,35,0.7);
    outline-offset: 4px;
}
.menu-case-list {
    margin: 0;
    padding: 0 0 28px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}
.menu-case-list::before {
    content: 'Selected work';
    flex-basis: 100%;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 2px;
}
.menu-case-list a {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    padding: 4px 0;
}
.menu-case-list a:hover,
.menu-case-list a:focus-visible {
    color: var(--accent);
}

/* End-of-case CTA on the dark case-study pages — centered closing moment */
.dk-cta {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 84px) clamp(16px, 3vw, 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(22px, 2.4vw, 30px);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.dk-cta p {
    margin: 0;
    font-family: var(--font-sans);
    font-size: clamp(19px, 1.9vw, 26px);
    letter-spacing: -0.015em;
    color: rgba(255,255,255,0.88);
    max-width: 26ch;
    line-height: 1.25;
}
.dk-cta .cta-row {
    justify-content: center;
    align-items: center;
}
.dk-cta .slots-text {
    color: rgba(255,255,255,0.7);
}
.dk-cta .slots-text:hover {
    color: #fff;
}
.menu-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    align-items: center;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.menu-foot-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
}
.menu-foot-live .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse-dot 1.6s ease-in-out infinite;
    display: inline-block;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50%      { opacity: 1;   transform: scale(1.15); }
}
.menu-foot-mail {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.menu-foot-mail:hover { color: var(--accent); }

/* Lock body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Subtle nav hover treatment — usable on cream pages and dark-zone */
nav .nav-links a {
    transition: color 0.25s ease, letter-spacing 0.25s ease;
}
nav .nav-links a:hover {
    color: var(--fg);
    letter-spacing: 0.10em;
}
.dark-zone nav .nav-links a:hover { color: var(--dark-fg); }

/* ==================================================================
   HERO — dithered operator panel (index only)
   ================================================================== */
.hero-stage {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 100vh;
    min-height: 820px;
    background-color: #0a0a0a;
    background-image: none;
    overflow: hidden;
    color: #fff;
}
@media (max-width: 768px) {
    .hero-stage { min-height: 720px; }
}
.hero-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 22%, transparent 78%, rgba(0,0,0,0.22) 100%);
    pointer-events: none;
    z-index: 1;
}
/* Hard hairline at the bottom edge — clean cut, no cloud-fade.
   Matches the HLE studio language: hard borders, no soft gradients. */
.hero-stage::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: rgba(255,255,255,0.18);
    pointer-events: none;
    z-index: 1;
}
.hero-stage > * { position: relative; z-index: 2; }

.hero-guide-marks {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(900px, 80vw);
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    opacity: 0.78;
}
.hero-guide-marks span {
    position: absolute;
    display: block;
}
.hero-guide-marks span:nth-child(1) {
    left: -18px;
    top: -18px;
    width: 64px;
    height: 64px;
    border-top: 2px solid rgba(255,255,255,0.72);
    border-left: 2px solid rgba(255,255,255,0.72);
}
.hero-guide-marks span:nth-child(2) {
    right: -18px;
    top: -18px;
    width: 54px;
    height: 54px;
    border-right: 2px solid rgba(245,166,35,0.92);
    border-top: 2px solid rgba(245,166,35,0.92);
}
.hero-guide-marks span:nth-child(3) {
    right: -46px;
    bottom: -42px;
    width: clamp(96px, 12vw, 168px);
    height: 48px;
    border-bottom: 2px solid rgba(255,255,255,0.58);
    border-radius: 50%;
    transform: rotate(6deg);
}
.hero-guide-marks span:nth-child(3)::after {
    content: '';
    position: absolute;
    right: 2px;
    bottom: -7px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,0.62);
    border-bottom: 2px solid rgba(255,255,255,0.62);
    transform: rotate(-42deg);
}
.hero-guide-marks span:nth-child(4) {
    left: -46px;
    top: 48%;
    width: 74px;
    height: 1px;
    background: rgba(255,255,255,0.58);
}
.hero-guide-marks span:nth-child(4)::before {
    content: '';
    position: absolute;
    left: -1px;
    top: -32px;
    width: 1px;
    height: 64px;
    background: rgba(255,255,255,0.58);
}
.hero-guide-marks span:nth-child(5) {
    right: -86px;
    top: 43%;
    width: 54px;
    height: 54px;
    background-image: radial-gradient(circle, rgba(245,166,35,0.68) 2px, transparent 2.6px);
    background-size: 14px 14px;
}

.hero-stage nav {
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
    padding: 24px 0 16px;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    border-bottom: none;
}
.hero-stage nav .brand,
.hero-stage nav .nav-right span { color: #fff; }
.hero-stage nav .nav-links a { color: rgba(255,255,255,0.75); }
.hero-stage nav .nav-links a:hover { color: #fff; }
.hero-stage nav .star { color: var(--accent); }

.corner-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.78);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 40px;
}
.corner-row.bottom {
    align-items: flex-end;
    position: absolute;
    left: 0; right: 0; bottom: 32px;
}
.corner-row .col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 32ch;
}
.corner-row .col.right { text-align: right; align-items: flex-end; }
.corner-row .col.center { align-items: center; max-width: none; }
.corner-row .pop { color: #fff; font-weight: 500; }
.corner-row a:hover { color: #fff; }

/* Centered scroll cue, decoupled from corner-row */
.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    z-index: 2;
    animation: scrollCue 2.4s ease-in-out infinite;
}
@keyframes scrollCue {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
    50%      { transform: translate(-50%, 4px); opacity: 1; }
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    animation: pulse 1.5s ease-in-out infinite;
}

/* ==================================================================
   SUB-HERO — index page beneath the photo
   ================================================================== */
.sub-hero {
    position: relative;
    padding: 64px 0 72px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: end;
}
@media (min-width: 1024px) {
    .sub-hero {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 80px;
    }
}
.sub-hero-left { max-width: 720px; }
.sub-hero-left,
.sub-hero .engagement-panel {
    position: relative;
    z-index: 1;
}
.sub-hero .eyebrow { margin-bottom: 32px; }
.sub-hero h1 { margin-bottom: 32px; color: var(--fg); }

.sub-1 {
    font-size: 17px;
    color: var(--gray-1);
    margin-bottom: 12px;
    line-height: 1.5;
    max-width: 56ch;
}
.sub-2 {
    font-family: var(--font-sans);
    font-style: italic;
    font-size: 19px;
    color: var(--gray-2);
    line-height: 1.45;
    margin-bottom: 56px;
    max-width: 56ch;
    font-weight: 500;
}
/* Index-only hook copy — sans for reading, doesn't compete with the h1 */
.sub-hook {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--gray-1);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 56ch;
    text-wrap: pretty;
}

.build-section {
    padding: 0 0 96px;
    margin-bottom: 0;
}
.build-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: end;
    margin-bottom: 40px;
}
@media (min-width: 980px) {
    .build-head {
        grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.6fr);
        gap: 72px;
    }
}
.build-head h2 {
    max-width: 14ch;
    margin-bottom: 0;
}
.build-aside {
    max-width: 42ch;
    color: var(--gray-1);
    font-size: 15px;
    line-height: 1.6;
    padding-top: 18px;
    border-top: 1px solid var(--bg-elev);
}
.build-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 900px) {
    .build-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.build-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border: 1px solid var(--bg-elev);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.12)),
        var(--bg-2);
    padding: 26px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 44px rgba(18,18,16,0.035);
    transition: transform 0.22s var(--ease-out-soft), box-shadow 0.22s ease, border-color 0.22s ease;
}
.build-card::after {
    content: '';
    position: absolute;
    left: 26px;
    right: 26px;
    top: 26px;
    height: 116px;
    border: 1px solid rgba(245,166,35,0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s var(--ease-out-soft);
}
.build-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,0,0,0.2);
    box-shadow: 0 26px 62px rgba(18,18,16,0.085);
}
.build-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}
.build-card::before {
    display: none;
}
.build-card > span {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin: 0 0 42px;
}
.build-card h3 {
    margin: 0 0 12px;
    font-size: clamp(30px, 3vw, 42px);
}
.build-card p {
    margin: 0;
    color: var(--gray-1);
    line-height: 1.6;
    font-size: 14px;
    max-width: 34ch;
}
.build-card-icon {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 116px;
    margin-bottom: 22px;
    border: 1px solid var(--bg-elev);
    background:
        linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
        rgba(255,255,255,0.2);
    background-size: 22px 22px;
    opacity: 1;
    transition: background-position 0.7s ease, border-color 0.2s ease;
}
.build-card:hover .build-card-icon {
    background-position: 22px 0, 0 22px, 0 0;
    border-color: rgba(0,0,0,0.2);
}
.build-card-icon::before,
.build-card-icon::after {
    content: '';
    position: absolute;
}
.build-card-icon--launch::before {
    left: 24%;
    right: 24%;
    top: 58px;
    width: auto;
    height: 1px;
    background: var(--fg);
}
.build-card-icon--launch::after {
    right: 23%;
    top: 51px;
    width: 14px;
    height: 14px;
    border-top: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
    transform: rotate(45deg);
}
.build-card-icon--operate {
    border-radius: 0;
}
.build-card-icon--operate::before {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
    border: 1px solid var(--fg);
    border-radius: 50%;
}
.build-card-icon--operate::after {
    left: 50%;
    top: 18px;
    width: 1px;
    height: 80px;
    background: var(--accent);
    transform: rotate(35deg);
    transform-origin: center;
}
.build-card-icon--package::before {
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    border: 1px solid var(--fg);
}
.build-card-icon--package::after {
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 1px solid var(--accent);
    transform: translate(-50%, -50%) rotate(45deg);
}

.proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
}
@media (min-width: 980px) {
    .proof-grid { grid-template-columns: repeat(3, 1fr); }
}
.proof-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.12);
    background: var(--bg-2);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 44px rgba(18, 18, 16, 0.05);
    transition: transform 0.22s var(--ease-out-soft), border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.proof-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,0,0,0.28);
    background: #d7d2c6;
    box-shadow: 0 24px 56px rgba(18, 18, 16, 0.1);
}
.proof-card:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 4px;
    border-color: rgba(0,0,0,0.32);
}
.proof-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #080808;
    border-bottom: 1px solid var(--bg-elev);
    position: relative;
}
.proof-media::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.16);
    pointer-events: none;
    mix-blend-mode: screen;
    transition: opacity 0.18s ease;
}
.proof-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.18) 48%, transparent 60%);
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
}
.proof-media img,
.proof-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.92) saturate(0.92);
    transition: transform 0.42s var(--ease-out-soft), filter 0.18s ease;
}
.proof-mark {
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.2);
}
.proof-mark::after {
    mix-blend-mode: normal;
    border-color: rgba(0,0,0,0.08);
}
.proof-mark img {
    width: min(58%, 240px);
    height: auto;
    max-height: 64%;
    object-fit: contain;
    filter: none;
    transform: none;
}
.proof-mark--dokyo {
    background: #f1eee6;
}
.proof-mark--dokyo img {
    width: min(34%, 150px);
    height: auto;
    max-height: none;
    object-fit: contain;
    clip-path: none;
}
.proof-mark--bakeris {
    background: #f1eee6;
}
.proof-mark--bakeris img {
    width: min(72%, 260px);
}
.proof-roof-mark {
    width: min(44%, 178px);
    height: auto;
    overflow: visible;
}
.proof-roof-mark path {
    fill: none;
    stroke-width: 7;
    stroke-linecap: square;
    stroke-linejoin: miter;
}
.proof-roof-mark .roof-line { stroke: #e94635; }
.proof-roof-mark .house-line,
.proof-roof-mark .base-line { stroke: #0f5292; }
.proof-mark--chair {
    background: #f1eee6;
}
.proof-mark--chair img {
    width: min(36%, 132px);
    filter: none;
}
.proof-card:hover .proof-media img,
.proof-card:hover .proof-media video {
    transform: scale(1.025);
    filter: brightness(1) saturate(1);
}
.proof-card:hover .proof-mark img {
    transform: scale(1.035);
    filter: none;
}
.proof-card:hover .proof-media::before {
    opacity: 1;
    animation: media-sheen 0.9s ease;
}
.proof-card:hover .proof-media::after {
    opacity: 0.72;
}

/* Simple line marks — Bondy, Anchor & Bloom, Entroterra */
.proof-line-mark {
    width: min(46%, 182px);
    height: auto;
    overflow: visible;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.proof-line-mark * {
    fill: none;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.proof-card:hover .proof-line-mark { transform: scale(1.035); }

/* Bondy — ring + two bonded dots */
.proof-mark--bondy {
    background: #f1eee6;
}
.proof-mark--bondy .proof-line-mark { width: min(33%, 126px); }
.proof-mark--bondy .proof-line-mark * { stroke-width: 6; }
.proof-mark--bondy .bondy-cell,
.proof-mark--bondy .bondy-bond { stroke: #c0602f; }
.proof-mark--bondy .bondy-dot { stroke: #c0602f; fill: #c0602f; }

/* Anchor & Bloom — anchor with a bloom head */
.proof-mark--anchorbloom {
    background: #f1eee6;
}
.proof-mark--anchorbloom .proof-line-mark { width: min(40%, 154px); }
.proof-mark--anchorbloom .ab-anchor { stroke: #6f9079; }
.proof-mark--anchorbloom .ab-bloom * { stroke: #cf8a83; }

/* Entroterra — brand roundel */
.proof-mark--entroterra {
    background: #f1eee6;
}
.proof-mark--entroterra img { width: min(32%, 122px); max-height: 70%; }

.proof-copy {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.proof-kicker {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-1);
    margin-bottom: 16px;
}
.proof-copy h3 {
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.05;
    margin-bottom: 14px;
}
.proof-copy p {
    margin: 0;
    color: var(--gray-1);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    text-wrap: pretty;
}
.proof-card { position: relative; }
.proof-arrow {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 18px;
    line-height: 1;
    color: var(--gray-2);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
    pointer-events: none;
    z-index: 2;
}
.proof-card:hover .proof-arrow,
.proof-card:focus-visible .proof-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
}
@keyframes media-sheen {
    from { transform: translateX(-120%); }
    to   { transform: translateX(120%); }
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Buttons — pill shape + subtle depth (OpenAI-style polish).
   Only buttons soften; cards, log, and form inputs stay HLE-sharp. */
.btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: #101011;
    padding: 12px 26px;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    box-shadow:
        0 1px 2px rgba(15,15,15,0.10),
        inset 0 1px 0 rgba(255,255,255,0.20);
    transition:
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.12s ease;
    font-size: 13px;
    letter-spacing: 0.02em;
    will-change: transform;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.42) 42%, transparent 56%);
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
}
.btn-primary:hover {
    color: #101011;
    background-color: #F8B449;
    box-shadow:
        0 10px 24px rgba(15,15,15,0.14),
        inset 0 1px 0 rgba(255,255,255,0.28);
    transform: translateY(-1px);
}
.btn-primary:hover::after {
    opacity: 1;
    animation: button-sheen 0.7s ease;
}
.btn-primary:active {
    transform: translateY(0.5px);
    box-shadow:
        0 1px 1px rgba(15,15,15,0.12),
        inset 0 1px 0 rgba(255,255,255,0.10);
}
.btn-primary:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 3px;
}
@keyframes button-sheen {
    from { transform: translateX(-120%); }
    to   { transform: translateX(120%); }
}

.slots-text {
    color: var(--gray-2);
    font-size: 13px;
}

.hero-pair-text .slots-text:focus-visible,
.hover-line:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Ops Log Widget */
.ops-log-wrapper,
.engagement-panel {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
}
@media (min-width: 1024px) {
    .ops-log-wrapper,
    .engagement-panel { margin-bottom: 8px; }
}

.engagement-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bg-elev);
    background:
        linear-gradient(135deg, rgba(245,166,35,0.12), rgba(245,166,35,0) 46%),
        var(--bg-2);
}
.engagement-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(245,166,35,0.16), transparent 34%),
        linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.13) 48%, transparent 58%);
    transform: translateX(-90%);
    opacity: 0.42;
    pointer-events: none;
    animation: panel-scan 8s ease-in-out infinite;
}
.engagement-panel > * {
    position: relative;
    z-index: 1;
}
.engagement-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--bg-elev);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-2);
}
.engagement-main {
    padding: 24px 22px 26px;
}
.engagement-main h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    max-width: 15ch;
    margin-bottom: 18px;
    text-wrap: balance;
}
.engagement-main p {
    margin: 0;
    color: var(--gray-1);
    line-height: 1.65;
    font-size: 15px;
    max-width: 38ch;
    font-family: var(--font-sans);
    text-wrap: pretty;
}
.engagement-map {
    margin: 0 18px 18px;
    padding: 20px 18px;
    border: 1px solid var(--bg-elev);
    background: rgba(255,255,255,0.12);
}
.map-node {
    width: max-content;
    margin: 0 auto;
    padding: 9px 12px;
    border: 1px solid rgba(0,0,0,0.16);
    background: var(--fg);
    color: var(--bg);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.map-line {
    width: 1px;
    height: 34px;
    margin: 0 auto;
    background: var(--bg-elev);
    position: relative;
    overflow: hidden;
}
.map-line::after {
    content: '';
    display: block;
    width: min(220px, 78%);
    height: 1px;
    background: var(--bg-elev);
    margin-left: 50%;
    transform: translateX(-50%);
    position: relative;
    top: 34px;
}
.map-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: -16px;
    width: 1px;
    height: 16px;
    background: var(--accent);
    animation: map-drop 2.8s ease-in-out infinite;
}
.map-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.map-row span {
    padding: 9px 6px;
    border: 1px solid var(--bg-elev);
    text-align: center;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-2);
    background: rgba(255,255,255,0.16);
}
.map-row span:first-child { color: var(--accent); }
.engagement-steps {
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
}
.engagement-steps div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 14px 18px;
    border-top: 1px solid var(--bg-elev);
    font-size: 14px;
    color: var(--fg);
    font-family: var(--font-sans);
    align-items: center;
}
.engagement-steps div:first-child { border-top: 0; }
.engagement-steps span {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 0.12em;
    font-family: var(--font-mono);
}
.ops-log {
    border: 1px solid var(--bg-elev);
    border-radius: var(--radius);
    background-color: var(--bg-2);
    font-size: 12px;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--bg-elev);
    color: var(--gray-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
}

/* LIVE badge — blue echo back to the hero sky */
.live-badge { display: flex; align-items: center; gap: 6px; color: var(--sky); }
.pulse-dot {
    width: 6px; height: 6px;
    background-color: var(--sky);
    border-radius: 0;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes panel-scan {
    0%, 55%, 100% { transform: translateX(-90%); opacity: 0; }
    65%           { opacity: 0.38; }
    82%           { transform: translateX(92%); opacity: 0; }
}
@keyframes map-drop {
    0%, 25% { transform: translateY(0); opacity: 0; }
    36%     { opacity: 1; }
    70%     { transform: translateY(58px); opacity: 0; }
    100%    { transform: translateY(58px); opacity: 0; }
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.log-body {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.log-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 14px;
    align-items: start;
}
.log-time { color: var(--gray-2); font-size: 11px; }
.log-desc { color: var(--fg); font-size: 12px; line-height: 1.35; }
.log-status { font-size: 10px; text-transform: uppercase; text-align: right; letter-spacing: 0.06em; }
.status-accent { color: var(--accent); font-weight: 500; }
.status-done { color: var(--gray-2); }

.log-footer {
    padding: 12px 18px;
    border-top: 1px dashed var(--bg-elev);
    color: var(--gray-3);
    font-size: 10px;
    letter-spacing: 0.04em;
}

/* Sections */
section { margin-bottom: 128px; }
section.dark-zone,
section.ops-zone { margin-bottom: 0; padding: 128px 0; }
section.dark-zone + section,
section.ops-zone + section { margin-top: 128px; }

/* Index page runs at a tighter rhythm than content pages */
body:has(.hero-stage) section { margin-bottom: 96px; }
body:has(.hero-stage) section.dark-zone,
body:has(.hero-stage) section.ops-zone { padding: 96px 0; }
body:has(.hero-stage) section.dark-zone + section,
body:has(.hero-stage) section.ops-zone + section { margin-top: 96px; }

.section-desc {
    font-family: var(--font-sans);
    color: var(--gray-1);
    margin-bottom: 32px;
    max-width: 600px;
    line-height: 1.55;
    text-wrap: pretty;
}

/* Grid list */
.grid-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--bg-elev);
}
.grid-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--bg-elev);
    transition: background-color 0.2s;
}
@media (min-width: 768px) {
    .grid-row {
        grid-template-columns: 120px 1fr auto;
        align-items: center;
    }
}
.grid-row:hover { background-color: rgba(0, 0, 0, 0.04); }
.grid-col-1 { color: var(--gray-2); }
.grid-col-2 { color: var(--fg); }
.grid-col-3 { color: var(--gray-2); text-align: right; transition: color 0.2s; }
.grid-row:hover .grid-col-3 { color: var(--accent); }

/* Merged Recent feed (work + notes interleaved) — tighter, smaller text */
.feed-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--bg-elev);
}
.feed-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
    border-bottom: 1px solid var(--bg-elev);
    transition: background-color 0.2s;
}
@media (min-width: 768px) {
    .feed-row {
        grid-template-columns: 110px 60px 1fr auto;
        gap: 20px;
        align-items: center;
        padding: 12px 0;
    }
}
.feed-row:hover { background-color: rgba(0, 0, 0, 0.04); }
.feed-date {
    color: var(--gray-2);
    font-size: 11px;
    letter-spacing: 0.06em;
}
.feed-tag {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-2);
    border: 1px solid var(--bg-elev);
    padding: 3px 7px;
    width: max-content;
    line-height: 1;
}
.feed-tag.tag-work { color: var(--accent); border-color: var(--accent); }
.feed-tag.tag-note { color: var(--gray-2); border-color: var(--bg-elev); }
.feed-title { color: var(--fg); font-size: 13px; line-height: 1.4; }
.feed-meta {
    color: var(--gray-2);
    font-size: 11px;
    text-align: right;
    transition: color 0.2s;
    letter-spacing: 0.04em;
}
.feed-row:hover .feed-meta { color: var(--accent); }

.start-section {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    border-top: 1px solid var(--bg-elev);
    padding-top: 64px;
    padding-bottom: 12px;
    margin-bottom: 44px;
}
body:has(.hero-stage) .start-section { margin-bottom: 44px; }
@media (min-width: 980px) {
    .start-section {
        grid-template-columns: minmax(0, 0.92fr) minmax(390px, 500px);
        gap: 72px;
    }
}
.start-copy h2 {
    max-width: 13ch;
    margin-bottom: 24px;
    font-size: clamp(40px, 4.6vw, 62px);
    line-height: 0.98;
}
.start-copy,
.start-board {
    position: relative;
    z-index: 1;
}
.start-copy p {
    max-width: 48ch;
    margin-bottom: 28px;
    color: var(--gray-1);
    line-height: 1.6;
}
.start-copy .cta-row {
    max-width: 48ch;
    justify-content: center;
}
.text-link {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--gray-2);
}
.text-link:hover { color: var(--fg); }

.start-board {
    width: 100%;
    justify-self: end;
    border: 1px solid var(--bg-elev);
    background:
        linear-gradient(135deg, rgba(245,166,35,0.12), rgba(245,166,35,0) 44%),
        var(--bg-2);
    box-shadow: 0 22px 54px rgba(18, 18, 16, 0.045);
}
.start-board-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--bg-elev);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-2);
}
.start-board-top span:last-child { color: var(--sky); }
.start-board-grid {
    display: grid;
    grid-template-columns: 1fr;
}
.start-board-grid > div {
    padding: 22px 22px 24px;
    border-bottom: 1px solid var(--bg-elev);
}
.start-board-grid span {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--accent);
}
.start-board-grid h3 {
    margin-bottom: 10px;
    font-size: clamp(21px, 1.8vw, 27px);
}
.start-board-grid p {
    margin: 0;
    color: var(--gray-1);
    font-size: 12px;
    line-height: 1.55;
}
/* Slim signal line — replaces the dark animated ticker on the index */
.signal-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 24px 0;
    margin-top: 0;
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-2);
}
.signal-line .hl { color: var(--accent); font-weight: 500; }
.signal-line .dot-sep { color: var(--gray-3); }

/* ==================================================================
   OPERATOR PORTRAITS — anime gold-lightning aesthetic
   ================================================================== */
.ops-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 28px;
}
@media (min-width: 700px)  { .ops-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1120px) { .ops-grid { grid-template-columns: repeat(4, 1fr); } }

.op-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: var(--radius);
    background: #08090d;
    transition: transform 0.4s var(--ease-out-soft),
                border-color 0.3s,
                box-shadow 0.3s,
                opacity 0.6s ease;
    opacity: 1;
    transform: translateY(0);
    min-height: 100%;
}
.op-card.below-fold { opacity: 0; transform: translateY(24px); }
.op-card.below-fold.in-view { opacity: 1; transform: translateY(0); }
.op-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 36px rgba(0,0,0,0.22), 0 0 0 1px rgba(245,166,35,0.4);
    transform: translateY(-4px);
}
.op-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #020305;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.op-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 22%),
        linear-gradient(0deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 34%);
    pointer-events: none;
}
.op-card img,
.op-card .op-video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out-soft), filter 0.4s;
    filter: saturate(1.05);
}
.op-card:hover img,
.op-card:hover .op-video { transform: scale(1.04); }
.op-card[data-op="riko"] img,
.op-card[data-op="riko"] .op-video { object-position: 50% 22%; }
.op-card[data-op="yuri"] img,
.op-card[data-op="yuri"] .op-video { object-position: 50% 24%; }
.op-card[data-op="suki"] img,
.op-card[data-op="suki"] .op-video { object-position: 50% 24%; }

/* Eye-sparkle glints — radial dots positioned over the iris area, pulsing */
.op-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 42% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 0.6%),
        radial-gradient(circle at 56% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 0.6%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    mix-blend-mode: screen;
    opacity: 0;
    animation: op-sparkle 4.2s ease-in-out infinite;
    z-index: 2;
}
.op-card[data-op="yuri"] .op-visual::before { animation-delay: -1.4s; }
.op-card[data-op="suki"] .op-visual::before { animation-delay: -2.8s; }
.op-card.op-card--network .op-visual::before { display: none; }

@keyframes op-sparkle {
    0%, 86%, 100% { opacity: 0; }
    88%           { opacity: 0.95; }
    91%           { opacity: 0; }
    93%           { opacity: 0.7; }
    96%           { opacity: 0; }
}

/* Riko-only — faint electric crackle overlay */
.op-card[data-op="riko"] .op-visual {
    position: relative;
}
.op-card[data-op="riko"] .op-visual > .op-electric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(252,196,25,0.18) 0%, rgba(252,196,25,0) 18%),
        radial-gradient(ellipse at 72% 60%, rgba(252,196,25,0.14) 0%, rgba(252,196,25,0) 22%);
    mix-blend-mode: screen;
    opacity: 0;
    animation: op-crackle 3.4s ease-in-out infinite;
    z-index: 1;
}

@keyframes op-crackle {
    0%, 100% { opacity: 0; }
    35%      { opacity: 0; }
    38%      { opacity: 0.85; transform: translateX(-2px); }
    40%      { opacity: 0; }
    62%      { opacity: 0; }
    64%      { opacity: 0.6; transform: translateX(3px); }
    66%      { opacity: 0; transform: translateX(0); }
}

/* Suki-only — faint warm amber rim flicker (predator on perch) */
.op-card[data-op="suki"] .op-visual > .op-electric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(252,196,25,0.10) 0%, rgba(252,196,25,0) 32%);
    mix-blend-mode: screen;
    opacity: 0;
    animation: op-scope 5s ease-in-out infinite;
    z-index: 1;
}

@keyframes op-scope {
    0%, 100% { opacity: 0; }
    50%      { opacity: 0.7; }
}

/* Respect reduced-motion preference — only kill the constant ambient pulses.
   Keep the video element visible (poster still shows) and let hover-to-play
   stay enabled since that's user-initiated, not autoplay. */
@media (prefers-reduced-motion: reduce) {
    .op-visual::before,
    .op-card .op-electric { animation: none !important; }
}

.op-card.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(0deg, rgba(0,0,0,0.40), rgba(0,0,0,0.20)),
        repeating-linear-gradient(45deg, #0c0c0d 0, #0c0c0d 10px, #15151a 10px, #15151a 20px);
    color: var(--gray-3);
    font-family: var(--font-mono);
}
.op-card.placeholder .placeholder-mark {
    font-family: 'Noto Serif JP', serif;
    font-size: 56px;
    color: var(--accent);
    opacity: 0.35;
    line-height: 1;
    transition: opacity 0.3s ease;
}
.op-card.placeholder:hover .placeholder-mark { opacity: 0.55; }
.op-card.placeholder .op-status { background: transparent; border-color: var(--gray-3); color: var(--gray-3); }
.op-meta {
    position: relative;
    padding: 18px 18px 16px;
    background: #08090d;
    font-family: var(--font-mono);
    z-index: 2;
}
.op-id {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}
.op-id .dot {
    width: 5px; height: 5px;
    background: var(--accent);
    animation: pulse 1.5s ease-in-out infinite;
}
.op-name {
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0 0 6px;
}
.op-role { color: rgba(255,255,255,0.74); font-size: 12px; line-height: 1.4; }
.op-status {
    margin-left: auto;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: var(--accent);
}
.op-status.idle { color: var(--gray-2); border-color: var(--gray-3); }
.op-card--network {
    justify-content: space-between;
    background:
        linear-gradient(135deg, rgba(245,166,35,0.10), rgba(245,166,35,0) 42%),
        #101115;
}
@media (min-width: 700px) {
    .op-card--network {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(140px, 0.35fr) 1fr;
        align-items: stretch;
    }
    .op-card--network .op-meta {
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-left: 1px solid rgba(255,255,255,0.12);
    }
}
.op-network-mark {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: clamp(64px, 8vw, 112px);
    line-height: 1;
    color: rgba(245,166,35,0.62);
}
@media (min-width: 1120px) {
    .op-card--network {
        grid-column: auto;
        display: flex;
        min-height: 100%;
    }
    .op-card--network .op-meta {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,0.12);
    }
    .op-network-mark {
        min-height: 0;
        aspect-ratio: 4 / 5;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
}

/* ==================================================================
   TICKER + FOOTER
   ================================================================== */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--dark-bg);
    border-top: 1px solid var(--dark-bg-elev);
    border-bottom: 1px solid var(--dark-bg-elev);
    padding: 12px 0;
    margin-top: 0;
}
.ticker {
    display: inline-block;
    white-space: nowrap;
    font-size: 11px;
    color: var(--dark-gray-2);
    letter-spacing: 0.14em;
    animation: ticker 36s linear infinite;
    text-transform: uppercase;
}
.ticker span { margin: 0 28px; }
.ticker span.hl { color: var(--accent); font-weight: 500; }
@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

footer {
    padding: 34px 0 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 12px;
    color: var(--gray-2);
    border-top: 1px solid var(--bg-elev);
    margin-top: 64px;
}
.signal-line + .container footer,
body:has(.signal-line) footer {
    border-top: 0;
    margin-top: 0;
}
@media (min-width: 768px) {
    footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ==================================================================
   MULTI-PAGE SHARED COMPONENTS
   (added for the cross-page migration)
   ================================================================== */

/* Text-only hero — used by all non-index pages */
.text-hero {
    position: relative;
    padding: 0 0 96px;
    border-bottom: 1px solid var(--bg-elev);
    margin-bottom: 96px;
}
.text-hero .container { padding-top: 0; }
.text-hero .lead-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    padding-top: 80px;
    flex-wrap: wrap;
}
.text-hero h1 {
    max-width: 16ch;
    margin-bottom: 0;
}
.text-hero .lead-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-2);
    text-align: right;
    line-height: 1.6;
    max-width: 28ch;
}
.text-hero .lead-meta .pop { color: var(--accent); }

/* Page eyebrow — top-left page identifier (PAGE 02 / NOTES) */
.page-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gray-2);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.page-eyebrow .num { color: var(--accent); font-weight: 500; }
.page-eyebrow .page-mark {
    display: inline-block;
    color: var(--accent);
    font-size: 10px;
    transform-origin: center;
}

/* Per-page small accent shape — distinct symbol per page */
.page-mark.notes::before    { content: '≡'; }   /* stacked rules */
.page-mark.work::before     { content: '◉'; }   /* shipped, filled */
.page-mark.now::before      { content: '●'; animation: pulse 1.5s ease-in-out infinite; }
.page-mark.rundown::before  { content: '⌖'; }   /* target/aim */
.page-mark.contact::before  { content: '◇'; }   /* open, awaiting */

/* Prose — long-form body content (notes article, rundown body) */
.prose {
    max-width: 64ch;
    color: var(--gray-1);
    font-family: var(--font-mono);
    font-size: 15px;
    line-height: 1.65;
}
.prose > * + * { margin-top: 1.1em; }
.prose p { color: var(--gray-1); }
.prose strong { color: var(--fg); font-weight: 500; }
.prose em { font-style: italic; color: var(--gray-1); }
.prose h2 {
    font-size: clamp(24px, 3vw, 38px);
    margin-top: 2em;
    margin-bottom: 0.4em;
    line-height: 1.1;
}
.prose h3 {
    font-size: 18px;
    margin-top: 1.6em;
    margin-bottom: 0.4em;
}
.prose ul, .prose ol {
    padding-left: 1.4em;
    color: var(--gray-1);
}
.prose li + li { margin-top: 0.4em; }
.prose blockquote {
    border-left: 2px solid var(--accent);
    padding-left: 18px;
    color: var(--gray-2);
    font-family: var(--font-sans);
    font-style: italic;
    font-size: 17px;
}
.prose hr {
    border: 0;
    height: 1px;
    background: var(--bg-elev);
    margin: 2em 0;
}
.prose a {
    color: var(--fg);
    border-bottom: 1px solid var(--bg-elev);
    transition: border-color 0.2s ease;
}
.prose a:hover { border-color: var(--accent); }

/* Case study card (work.html) */
.case-list {
    display: flex;
    flex-direction: column;
    gap: 96px;
}
.case-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 96px;
    border-bottom: 1px solid var(--bg-elev);
}
.case-card:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 1024px) {
    .case-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
}
.case-card .case-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-2);
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.case-card .case-meta .pop { color: var(--accent); }
.case-card h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.05;
    margin-bottom: 20px;
}
.case-card .case-body { color: var(--gray-1); font-size: 14px; line-height: 1.6; max-width: 56ch; }
.case-card .case-body h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-2);
    font-family: var(--font-mono);
    margin-top: 1.2em;
    margin-bottom: 6px;
    font-weight: 400;
}
.case-card .case-body p + h3 { margin-top: 1.6em; }
.case-card .case-body p + p { margin-top: 0.8em; }
.case-card .case-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--bg-elev);
}
.case-stat .figure {
    font-family: var(--font-sans);
    font-size: clamp(28px, 3vw, 40px);
    color: var(--fg);
    line-height: 1;
    letter-spacing: -0.02em;
}
.case-stat .label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-2);
    margin-top: 6px;
}

/* Note card (notes.html — featured + archive) */
.notes-main {
    max-width: 1120px;
    margin: 0 auto;
}
.notes-intro {
    margin-bottom: 28px;
}
.notes-intro p {
    max-width: 42ch;
    margin: 0;
    color: var(--gray-1);
    font-size: 16px;
    line-height: 1.55;
}
.note-feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 0 38px;
    border-bottom: 1px solid var(--bg-elev);
    border-top: 1px solid var(--bg-elev);
    margin-bottom: 58px;
}
@media (min-width: 1024px) {
    .note-feature { grid-template-columns: 180px minmax(0, 1fr); gap: 64px; align-items: start; }
}
.note-feature .note-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-2);
    line-height: 1.7;
}
.note-feature .note-meta span { display: block; }
.note-feature .note-meta .pop { color: var(--accent); }
.note-feature h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.02;
    margin-bottom: 0;
    max-width: 13ch;
}
.note-feature .read-cta {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.note-feature .read-cta:hover { color: var(--accent); }
.notes-queue {
    margin-bottom: 72px;
}
.notes-queue h2 {
    font-size: clamp(40px, 5vw, 58px);
    margin-bottom: 20px;
}
.notes-queue .section-desc {
    margin-bottom: 28px;
}
.notes-queue .grid-list {
    border-top-color: rgba(0,0,0,0.15);
}
.notes-queue .grid-row {
    min-height: 52px;
}

/* Services page */
.services-intro {
    margin-bottom: 64px;
}
.services-intro p {
    max-width: 62ch;
    margin: 0;
    color: var(--gray-1);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
}
.service-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.services-snapshot {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 760px;
    margin-top: 28px;
}
@media (min-width: 760px) {
    .services-snapshot {
        grid-template-columns: repeat(3, 1fr);
    }
}
.services-snapshot div {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid var(--bg-elev);
    background: rgba(255,255,255,0.18);
}
.services-snapshot span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--accent);
}
.services-snapshot strong {
    font-family: var(--font-sans);
    font-size: 18px;
    letter-spacing: -0.01em;
}
.services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.service-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--bg-elev);
    background: var(--bg-2);
    box-shadow: 0 18px 44px rgba(18, 18, 16, 0.035);
    overflow: hidden;
}
@media (min-width: 980px) {
    .service-row {
        grid-template-columns: 54px minmax(240px, 340px) minmax(0, 1fr);
        align-items: stretch;
    }
}
.service-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--accent);
    padding: 22px 18px;
    border-bottom: 1px solid var(--bg-elev);
}
@media (min-width: 980px) {
    .service-num {
        border-bottom: 0;
        border-right: 1px solid var(--bg-elev);
    }
}
.service-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin: 0;
    background: #080808;
    border-bottom: 1px solid var(--bg-elev);
}
@media (min-width: 980px) {
    .service-media {
        aspect-ratio: auto;
        min-height: 100%;
        border-bottom: 0;
        border-right: 1px solid var(--bg-elev);
    }
}
.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.88) saturate(0.9);
}
.service-copy {
    padding: clamp(24px, 4vw, 38px);
}
.service-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}
.service-title-row h2 {
    margin: 0;
    font-size: clamp(32px, 3.6vw, 48px);
}
.service-proof-link {
    margin-top: 10px;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--gray-2);
    text-transform: uppercase;
}
.service-proof-link:hover { color: var(--accent); }
@media (max-width: 760px) {
    .service-title-row {
        display: block;
    }
    .service-proof-link {
        display: inline-block;
        margin: 8px 0 0;
    }
}
.service-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 1180px) {
    .service-summary {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
        align-items: start;
    }
}
.micro-label {
    display: block;
    margin-bottom: 9px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    color: var(--accent);
    text-transform: uppercase;
}
.service-plain {
    color: var(--fg) !important;
    font-family: var(--font-sans);
    font-size: clamp(20px, 2.2vw, 28px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;
    margin-bottom: 14px !important;
    max-width: 24ch !important;
}
.service-row p {
    max-width: 54ch;
    margin: 0;
    color: var(--gray-1);
    font-size: 15px;
    line-height: 1.62;
}
.service-diagram {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 560px;
    margin-top: 26px;
    padding: 14px;
    border: 1px solid var(--bg-elev);
    background:
        linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
        rgba(255,255,255,0.12);
    background-size: 24px 24px;
}
@media (min-width: 760px) {
    .service-diagram {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.service-diagram::before {
    content: '';
    position: absolute;
    left: 30px;
    right: 30px;
    top: 50%;
    height: 1px;
    background: var(--bg-elev);
    z-index: 0;
}
.service-diagram span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 10px 8px;
    border: 1px solid var(--bg-elev);
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}
.service-diagram span::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
    transform: translateY(-50%) rotate(45deg);
}
.service-diagram span:last-child::after { display: none; }
.service-diagram--campaign span:last-child::after {
    display: none;
}
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.service-tags span {
    border: 1px solid var(--bg-elev);
    padding: 7px 9px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-2);
    background: rgba(255,255,255,0.14);
}
.service-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}
.service-actions .btn-primary {
    padding: 10px 18px;
    font-size: 12px;
}
.service-start {
    margin-top: 80px;
    padding: clamp(34px, 5vw, 58px) 0;
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 900px) {
    .service-start {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }
}
.service-start h2 {
    margin-bottom: 14px;
}
.service-start p {
    max-width: 52ch;
    margin: 0;
    color: var(--gray-1);
    line-height: 1.6;
}

/* Services explanation pass */
.services-explain {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 72px;
    min-width: 0;
}
@media (min-width: 1180px) {
    .services-explain {
        grid-template-columns: minmax(420px, 0.54fr) minmax(660px, 0.96fr);
        gap: clamp(56px, 6vw, 96px);
        align-items: center;
    }
}
.services-explain-copy p {
    max-width: 20ch;
    margin: 0;
    color: var(--gray-1);
    font-family: var(--font-sans);
    font-size: clamp(28px, 2.5vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}
.services-explain-copy .services-plain {
    margin-top: 22px;
    max-width: 44ch;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--gray-2);
}
.services-signal {
    position: relative;
    min-height: 330px;
    padding: 28px;
    border: 1px solid rgba(16,16,17,0.2);
    background:
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        #101011;
    background-size: 28px 28px;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(16,16,17,0.08);
}
.services-signal img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: grayscale(1) contrast(1.18) brightness(0.62);
}
.services-signal::before {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.78), rgba(255,255,255,0.52), transparent);
    z-index: 1;
}
.services-signal::after {
    content: '';
    position: absolute;
    left: -30%;
    top: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.18), rgba(255,255,255,0.08), transparent);
    animation: signal-scan 6.5s ease-in-out infinite;
    z-index: 2;
}
.services-signal > span {
    position: absolute;
    display: block;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(232,229,221,0.1);
    backdrop-filter: blur(1px);
}
.services-signal > span:nth-child(1) {
    left: 12%;
    top: 22%;
    width: 110px;
    height: 110px;
}
.services-signal > span:nth-child(2) {
    left: 37%;
    top: 42%;
    width: 170px;
    height: 66px;
    background: rgba(245,166,35,0.92);
    border-color: rgba(245,166,35,0.92);
    box-shadow: 0 0 36px rgba(245,166,35,0.18);
}
.services-signal > span:nth-child(3) {
    right: 17%;
    top: 26%;
    width: 78px;
    height: 148px;
}
.services-signal > span:nth-child(4) {
    right: 8%;
    bottom: 18%;
    width: 12px;
    height: 12px;
    z-index: 4;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 8px rgba(245,166,35,0.18), 0 0 26px rgba(245,166,35,0.45);
}
.services-signal-labels {
    position: absolute;
    inset: auto 28px 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    z-index: 5;
    color: rgba(255,255,255,0.62);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.services-signal-labels b {
    font-weight: 400;
}
@keyframes signal-scan {
    0%, 28% { transform: translateX(0); opacity: 0; }
    38% { opacity: 1; }
    72% { opacity: 1; }
    100% { transform: translateX(430%); opacity: 0; }
}
.services-signal span,
.service-path article > span,
.service-proof-strip span {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
@media (max-width: 640px) {
    .services-explain,
    .services-explain-copy,
    .services-explain .opflow {
        width: 100%;
        max-width: calc(100vw - 40px);
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
    }
    .services-explain-copy p {
        max-width: 100%;
        font-size: 22px;
        line-height: 1.22;
    }
    .services-explain-copy .services-plain {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .services-signal,
    .service-path,
    .service-mechanism,
    .service-proof-strip {
        max-width: 100%;
        overflow: hidden;
    }

    .services-signal {
        min-height: 230px;
        padding: 18px;
        width: 100%;
    }

    .services-signal > span:nth-child(1) {
        width: 74px;
        height: 74px;
    }

    .services-signal > span:nth-child(2) {
        left: 33%;
        width: 118px;
        height: 48px;
    }

    .services-signal > span:nth-child(3) {
        right: 10%;
        width: 52px;
        height: 104px;
    }

    .services-signal-labels {
        display: none;
    }
}
.service-path {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--bg-elev);
    border-left: 1px solid var(--bg-elev);
    margin-bottom: 76px;
}
@media (min-width: 760px) {
    .service-path {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1180px) {
    .service-path {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.service-path article {
    position: relative;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3.5vw, 46px);
    border-right: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
    background:
        radial-gradient(circle at 80% 18%, rgba(245,166,35,0.10), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
    transition: transform 0.26s var(--ease-out-soft), border-color 0.26s ease, background-color 0.26s ease;
}
.service-path article:hover {
    transform: translateY(-2px);
    border-color: rgba(245,166,35,0.46);
    background-color: rgba(255,255,255,0.18);
}
.service-path h2 {
    max-width: 12ch;
    margin-bottom: 22px;
    font-size: clamp(38px, 4.4vw, 66px);
    line-height: 0.92;
    letter-spacing: -0.03em;
}
.service-path p {
    max-width: 34ch;
    margin: 0;
    color: var(--gray-1);
    font-size: 14px;
    line-height: 1.62;
}
.service-output-tags {
    margin-top: auto;
    padding-top: clamp(24px, 3vw, 34px);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.service-output-tags b {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 9px;
    border: 1px solid rgba(16,16,17,0.12);
    color: var(--gray-2);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.18);
}

/* New-age Services pipeline: a product-demo style system board */
.sales-pipeline {
    position: relative;
    min-height: 392px;
    padding: clamp(18px, 2.8vw, 34px);
    border: 1px solid rgba(16,16,17,0.12);
    background:
        linear-gradient(90deg, rgba(16,16,17,0.045) 1px, transparent 1px),
        linear-gradient(rgba(16,16,17,0.045) 1px, transparent 1px),
        #f4f0e8;
    background-size: 32px 32px;
    color: #1a1a1a;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(16,16,17,0.10);
}
.sales-pipeline img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.sales-pipeline::before {
    content: '';
    position: absolute;
    left: clamp(38px, 6%, 58px);
    right: clamp(38px, 6%, 58px);
    top: 51%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.85), transparent);
    z-index: 1;
}
.sales-pipeline::after {
    content: '';
    position: absolute;
    left: -24%;
    top: 0;
    width: 24%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.14), transparent);
    animation: pipeline-scan 6.8s ease-in-out infinite;
    z-index: 2;
}
.pipeline-head,
.pipeline-foot,
.pipeline-track {
    position: relative;
    z-index: 3;
}
.pipeline-head,
.pipeline-foot {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: rgba(16,16,17,0.5);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.pipeline-head span:last-child {
    color: var(--accent);
}
.pipeline-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
    min-height: 268px;
    margin: 22px 0 18px;
}
.pipeline-node {
    position: relative;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    padding: 16px 14px;
    min-width: 0;
    border: 1px solid rgba(16,16,17,0.14);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(2px);
    transform: none;
    transition: transform 0.24s var(--ease-out-soft), border-color 0.24s ease, background-color 0.24s ease;
}
.pipeline-node:hover {
    transform: translateY(-3px);
    border-color: rgba(245,166,35,0.7);
    background: rgba(255,255,255,0.72);
}
.pipeline-node.is-active {
    min-height: 142px;
    background: rgba(245,166,35,0.92);
    border-color: rgba(245,166,35,0.92);
    color: #101011;
    box-shadow: 0 0 44px rgba(245,166,35,0.22);
}
.pipeline-node span {
    display: block;
    margin-bottom: 28px;
    color: currentColor;
    opacity: 0.58;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
}
.pipeline-node b {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-sans);
    font-size: clamp(18px, 1.35vw, 22px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}
.pipeline-node small {
    display: block;
    margin-top: auto;
    padding-top: 14px;
    max-width: 16ch;
    color: currentColor;
    opacity: 0.66;
    font-family: var(--font-mono);
    font-size: 10px;
    line-height: 1.45;
}
.pipeline-foot {
    align-items: center;
}
.pipeline-foot::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(245,166,35,0.16);
}
@keyframes pipeline-scan {
    0%, 24% { transform: translateX(0); opacity: 0; }
    34% { opacity: 1; }
    74% { opacity: 1; }
    100% { transform: translateX(520%); opacity: 0; }
}
@media (max-width: 900px) {
    .sales-pipeline {
        width: calc(100% - 20px);
        max-width: 100%;
        min-height: 0;
        box-sizing: border-box;
    }
    .pipeline-track {
        grid-template-columns: 1fr;
        gap: 8px;
        min-height: 0;
        margin: 28px 0;
    }
    .pipeline-node,
    .pipeline-node.is-active {
        width: 100%;
        min-height: 92px;
        box-sizing: border-box;
        transform: none;
    }
    .pipeline-node:hover {
        transform: translateY(-2px);
    }
    .pipeline-node span {
        margin-bottom: 14px;
    }
    .pipeline-node b {
        font-size: 24px;
    }
    .pipeline-head span:last-child,
    .pipeline-foot {
        display: none;
    }
    .pipeline-foot span:last-child {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sales-pipeline::after {
        animation: none;
    }
}
.service-mechanism {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: end;
    margin-bottom: 56px;
    padding: 44px 0;
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
}
@media (min-width: 980px) {
    .service-mechanism {
        grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1fr);
        gap: 68px;
    }
}
.service-mechanism h2 {
    max-width: 14ch;
    margin-bottom: 0;
    font-size: clamp(38px, 4.8vw, 66px);
}
.mechanism-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
@media (min-width: 680px) {
    .mechanism-stack {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.mechanism-stack span {
    display: grid;
    place-items: center;
    min-height: 72px;
    border: 1px solid var(--bg-elev);
    background: rgba(255,255,255,0.16);
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
    animation: mechanism-pulse 9s ease-in-out infinite;
}
.mechanism-stack span:nth-child(2) { animation-delay: 0.25s; }
.mechanism-stack span:nth-child(3) { animation-delay: 0.5s; }
.mechanism-stack span:nth-child(4) { animation-delay: 0.75s; }
.mechanism-stack span:nth-child(5) { animation-delay: 1s; }
.mechanism-stack span:nth-child(6) { animation-delay: 1.25s; }
.mechanism-stack span:nth-child(7) { animation-delay: 1.5s; }
.service-proof-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 72px;
    border-top: 1px solid var(--bg-elev);
}
.service-proof-strip a {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-elev);
    color: inherit;
}
.service-proof-strip a:hover strong {
    color: var(--accent);
}
.service-proof-strip span {
    margin-bottom: 0;
}
.service-proof-strip strong {
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.015em;
    transition: color 0.2s ease;
}
@keyframes mechanism-pulse {
    0%, 72%, 100% { border-color: var(--bg-elev); }
    8%, 16% { border-color: rgba(245,166,35,0.54); }
}
@media (prefers-reduced-motion: reduce) {
    .services-signal::after,
    .mechanism-stack span {
        animation: none;
    }
}

/* Now-page lists */
.now-block {
    margin-bottom: 80px;
}
.now-block h2 {
    font-size: clamp(20px, 2.4vw, 32px);
    margin-bottom: 24px;
    line-height: 1.1;
}
.now-block p,
.now-block li {
    color: var(--gray-1);
    line-height: 1.6;
    font-size: 15px;
    max-width: 64ch;
}
.now-block ul, .now-block ol {
    padding-left: 1.4em;
}
.now-block li + li { margin-top: 0.5em; }

/* Contact form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}
@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1fr);
        gap: 80px;
    }
}
.contact-copy {
    position: static;
}
@media (min-width: 1024px) {
    .contact-copy {
        position: sticky;
        top: 104px;
    }
}
.contact-lede {
    max-width: 46ch;
    margin: 0 0 34px;
    color: var(--gray-1);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.38;
}
.contact-side-panel {
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
}
.contact-side-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--bg-elev);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-2);
}
.contact-side-top span:last-child { color: var(--accent); }
.contact-step {
    display: grid;
    grid-template-columns: 42px minmax(0, calc(100% - 60px));
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--bg-elev);
    width: 100%;
    box-sizing: border-box;
}
.contact-step:last-child { border-bottom: 0; }
.contact-step span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.14em;
}
.contact-step p {
    margin: 0;
    color: var(--gray-1);
    line-height: 1.55;
    font-size: 14px;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
@media (max-width: 560px) {
    .contact-step {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
    }
    .contact-side-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
    .direct-note {
        margin-bottom: 28px;
    }
    .contact-form {
        margin-top: 0;
    }
}
.direct-note {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 28px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--gray-2);
    text-transform: uppercase;
}
.direct-note a { color: var(--fg); }
.intake-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 640px;
}
.contact-form {
    max-width: none;
    padding: clamp(24px, 3.4vw, 40px);
    border: 1px solid rgba(18, 18, 16, 0.18);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 42%),
        var(--bg-2);
    box-shadow: 0 26px 60px rgba(18, 18, 16, 0.06);
}
.site-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 720px) {
    .contact-form-grid { grid-template-columns: repeat(2, 1fr); }
}
.intake-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-2);
}
.intake-form input[type="text"],
.intake-form input[type="email"],
.intake-form textarea,
.intake-form select {
    /* min-width:0 lets fields shrink below their intrinsic min-content width
       (long select options were forcing the form past the mobile column) */
    width: 100%;
    min-width: 0;
    max-width: 100%;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(18, 18, 16, 0.16);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--fg);
    line-height: 1.4;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.intake-form textarea { min-height: 140px; resize: vertical; }
.contact-form textarea { min-height: 180px; }
/* 16px fields under 720px: anything smaller makes iOS Safari zoom the viewport on focus */
@media (max-width: 720px) {
    .intake-form input[type="text"],
    .intake-form input[type="email"],
    .intake-form textarea,
    .intake-form select {
        font-size: 16px;
    }
}
.contact-submit {
    margin-top: 4px;
    align-items: center;
}
.form-sent-note {
    margin: 0;
    padding: clamp(20px, 2vw, 28px);
    border: 1px solid rgba(0,0,0,0.18);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--fg);
}
.contact-submit button {
    border: 0;
    cursor: pointer;
    font-family: var(--font-mono);
}
.intake-form input:focus,
.intake-form textarea:focus,
.intake-form select:focus {
    outline: none;
    border-color: rgba(18, 18, 16, 0.34);
    background-color: rgba(255,255,255,0.34);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}

/* ==================================================================
   ANIMATION PRIMITIVES — entry-fade + scroll-reveal
   ================================================================== */
.entry-fade {
    opacity: 0;
    transform: translateY(16px);
    animation: entryFade 0.8s var(--ease-out-soft) forwards;
}
.entry-fade.delay-1 { animation-delay: 0.12s; }
.entry-fade.delay-2 { animation-delay: 0.24s; }
.entry-fade.delay-3 { animation-delay: 0.36s; }
.entry-fade.delay-4 { animation-delay: 0.48s; }

@keyframes entryFade {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* The hero media is the page's LCP element — an opacity-0 start defers LCP by the
   full fade duration. Keep the rise, skip the fade for this element only. */
.hero-cine-media.entry-fade {
    opacity: 1;
    animation-name: entryRise;
}

@keyframes entryRise {
    from { transform: translateY(16px); }
    to   { transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out-soft), transform 0.7s var(--ease-out-soft);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==================================================================
   PAGE-SPECIFIC PATTERNS (work / rundown / now / contact)
   ================================================================== */

/* Section counter eyebrow: "02 · The Week" */
.section-counter {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gray-2);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-counter .num { color: var(--accent); font-weight: 500; }
.section-counter .tail { color: var(--gray-3); margin-left: auto; }

/* Stat grid (4-up KPI tiles) */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 32px 0;
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
}
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-grid .stat .figure {
    font-family: var(--font-sans);
    font-size: clamp(28px, 3.4vw, 44px);
    color: var(--fg);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-grid .stat .label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-2);
    margin-top: 8px;
}

/* Meta grid (left/right info pairs) */
.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    padding: 24px 0;
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
    margin: 32px 0;
}
@media (min-width: 768px) {
    .meta-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
.meta-grid .meta-item .meta-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-2);
    margin-bottom: 4px;
}
.meta-grid .meta-item .meta-value {
    color: var(--fg);
    font-size: 14px;
}

/* Pull quote */
.pull-quote {
    font-family: var(--font-sans);
    font-style: italic;
    font-size: clamp(18px, 1.7vw, 24px);
    color: var(--gray-1);
    line-height: 1.4;
    border-left: 2px solid var(--accent);
    padding-left: 24px;
    margin: 40px 0;
    max-width: 56ch;
}
.pull-quote .attribution {
    display: block;
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-2);
    margin-top: 16px;
}

.rundown-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
}
@media (min-width: 980px) {
    .rundown-intro-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr);
        gap: 72px;
    }
}
.rundown-map-card {
    position: relative;
    min-height: 340px;
    border: 1px solid var(--bg-elev);
    background:
        radial-gradient(circle at center, rgba(245,166,35,0.08), transparent 46%),
        linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
        rgba(255,255,255,0.12);
    background-size: auto, 24px 24px, 24px 24px, auto;
    padding: 24px;
    overflow: hidden;
}
.rundown-map-card::before {
    content: '';
    position: absolute;
    inset: 54px;
    border: 1px dashed rgba(0,0,0,0.18);
    border-radius: 50%;
}
.rundown-map-card .map-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}
.rundown-map-card .map-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 148px;
    height: 148px;
    display: grid;
    place-items: center;
    border: 1px solid var(--fg);
    border-radius: 50%;
    background: var(--bg);
    font-family: var(--font-sans);
    font-size: 24px;
    letter-spacing: -0.02em;
}
.rundown-map-card .map-nodes span {
    position: absolute;
    min-width: 72px;
    min-height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--bg-elev);
    background: var(--bg);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-1);
}
.rundown-map-card .map-nodes span:nth-child(1) { left: 38px; top: 42%; }
.rundown-map-card .map-nodes span:nth-child(2) { left: 50%; top: 42px; transform: translateX(-50%); }
.rundown-map-card .map-nodes span:nth-child(3) { right: 38px; top: 42%; }
.rundown-map-card .map-nodes span:nth-child(4) { left: 74px; bottom: 54px; }
.rundown-map-card .map-nodes span:nth-child(5) { right: 74px; bottom: 54px; }
.rundown-map-card .map-nodes span:nth-child(6) { left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--accent); }
@media (max-width: 640px) {
    .rundown-intro-grid,
    .rundown-map-card {
        width: 100%;
        max-width: calc(100vw - 40px);
        min-width: 0;
        box-sizing: border-box;
    }
    .rundown-map-card {
        min-height: 300px;
        padding: 18px;
    }
    .rundown-map-card::before {
        inset: 58px 22px 54px;
    }
    .rundown-map-card .map-core {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 104px;
        height: 104px;
        margin: 24px auto 20px;
        font-size: 20px;
    }
    .rundown-map-card .map-nodes {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .rundown-map-card .map-nodes span {
        position: static;
        min-width: 0;
        width: 100%;
        min-height: 30px;
        font-size: 8px;
        transform: none !important;
    }
    .rundown-map-card .map-nodes span:nth-child(6) {
        grid-column: 1 / -1;
    }
}

/* Yes/no two-column fit grid */
.fit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}
@media (min-width: 768px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit-col {
    border: 1px solid var(--bg-elev);
    background: rgba(255,255,255,0.16);
    padding: clamp(22px, 3vw, 32px);
}
.fit-col h3 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-2);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bg-elev);
}
.fit-col.yes h3 { color: var(--accent); border-color: var(--accent); }
.fit-col ul { list-style: none; padding: 0; }
.fit-col li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-elev);
    color: var(--gray-1);
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.fit-col li::before {
    content: '';
    width: 6px; height: 6px;
    margin-top: 8px;
    background: var(--gray-3);
    flex-shrink: 0;
}
.fit-col.yes li::before { background: var(--accent); }

.audit-accordion {
    margin-top: 32px;
    border-top: 1px solid var(--bg-elev);
}

.audit-accordion details {
    border-bottom: 1px solid var(--bg-elev);
    background: rgba(255,255,255,0.12);
}

.audit-accordion summary {
    cursor: pointer;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 24px;
    align-items: center;
    padding: clamp(18px, 2.2vw, 26px) 0;
    color: var(--fg);
}

.audit-accordion summary::-webkit-details-marker {
    display: none;
}

.audit-accordion summary::after {
    content: '+';
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 18px;
    line-height: 1;
    transition: transform 0.18s var(--ease-out-soft);
}

.audit-accordion details[open] summary::after {
    transform: rotate(45deg);
}

.audit-accordion summary span:first-child {
    font-family: var(--font-sans);
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.audit-accordion summary span:last-child {
    color: var(--gray-2);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.audit-accordion p,
.audit-accordion ul {
    max-width: 760px;
    margin: 0;
    padding: 0 0 clamp(20px, 2.4vw, 30px);
    color: var(--gray-1);
    line-height: 1.55;
}

.audit-accordion ul {
    list-style: none;
}

.audit-accordion li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid rgba(0,0,0,0.07);
}

.audit-accordion li::before {
    content: '';
    width: 6px;
    height: 6px;
    margin-top: 9px;
    flex-shrink: 0;
    background: var(--accent);
}

@media (max-width: 640px) {
    .audit-accordion summary {
        grid-template-columns: 1fr 24px;
        gap: 16px;
    }

    .audit-accordion summary span:last-child {
        grid-column: 1;
        grid-row: 2;
    }

    .audit-accordion summary::after {
        grid-column: 2;
        grid-row: 1 / span 2;
        justify-self: end;
    }
}

/* Numbered list ("01 Findings", "02 Ship list") */
.num-list { display: flex; flex-direction: column; }
.num-list .item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    padding: 18px;
    border: 1px solid var(--bg-elev);
    border-bottom: 0;
    background: rgba(255,255,255,0.12);
    align-items: baseline;
}
.num-list .item:first-child { border-top: 1px solid var(--bg-elev); }
.num-list .item:last-child { border-bottom: 1px solid var(--bg-elev); }
.num-list .item .num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.14em;
}
.num-list .item .body { color: var(--gray-1); font-size: 14px; line-height: 1.55; }
.num-list .item .body strong { color: var(--fg); font-weight: 500; margin-right: 6px; }

/* Day block (rundown.html) */
.rundown-week-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 980px) {
    .rundown-week-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}
.day-block {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--bg-elev);
    background: rgba(255,255,255,0.16);
    min-height: 190px;
}
.day-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--bg-elev);
    background: rgba(255,255,255,0.22);
    position: relative;
}
.day-icon::before,
.day-icon::after {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid var(--fg);
    opacity: 0.72;
}
.day-icon--discover::before { border-radius: 50%; }
.day-icon--discover::after {
    inset: auto 8px 8px auto;
    width: 12px;
    height: 1px;
    border: 0;
    background: var(--accent);
    transform: rotate(45deg);
}
.day-icon--scan::before {
    border-style: dashed;
    transform: rotate(45deg);
}
.day-icon--scan::after {
    inset: 22px 8px auto;
    height: 1px;
    border: 0;
    background: var(--accent);
}
.day-icon--memo::before {
    inset: 9px 12px;
    border-radius: 0;
}
.day-icon--memo::after {
    inset: 18px 18px auto;
    height: 12px;
    border: 0;
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
}
.day-icon--call::before {
    inset: 11px;
    border-radius: 50%;
}
.day-icon--call::after {
    inset: auto 10px 12px;
    height: 10px;
    border: 0;
    border-bottom: 1px solid var(--accent);
    border-radius: 50%;
}
@media (min-width: 768px) {
    .day-block { grid-template-columns: 1fr; gap: 18px; align-items: start; }
}
.day-block .day-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.day-block h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.1;
    margin: 0 0 8px;
}
.day-block .day-body { color: var(--gray-1); font-size: 14px; line-height: 1.55; }
.day-block .day-tail {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-3);
}

/* Sample memo card */
.memo-card {
    background: var(--bg-2);
    border: 1px solid var(--bg-elev);
    padding: 28px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray-1);
    line-height: 1.55;
    max-width: 460px;
}
.memo-card .memo-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed var(--bg-elev);
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.memo-card .memo-head .filename { color: var(--fg); font-weight: 500; }
.memo-card .memo-head .tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-3);
}
.memo-card h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 14px 0 6px;
    font-weight: 400;
}
.memo-card ul { list-style: none; padding: 0; margin: 0; }
.memo-card li { padding: 4px 0; }
.memo-card li::before { content: '· '; color: var(--gray-3); }
.memo-card .memo-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin-top: 10px;
}
.memo-card .memo-stats .ms {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted var(--bg-elev);
    padding: 4px 0;
}
.memo-card .memo-stats .ms .v { color: var(--accent); font-weight: 500; }
.memo-card .memo-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px dashed var(--bg-elev);
    color: var(--gray-3);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Tech stack list */
.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px 32px;
    padding: 24px 0;
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
    margin: 32px 0;
}
.tech-item .label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-2);
    margin-bottom: 4px;
}
.tech-item .value { color: var(--fg); font-size: 13px; }

/* Now-page kanji glyph + section ornament */
.kanji-mark {
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    font-size: clamp(64px, 8vw, 120px);
    color: var(--accent);
    opacity: 0.18;
    line-height: 1;
    margin-bottom: -40px;
    pointer-events: none;
    user-select: none;
}

/* Q&A list */
.qa-list { display: flex; flex-direction: column; }
.qa-list .qa {
    padding: 24px;
    border: 1px solid var(--bg-elev);
    border-bottom: 0;
    background: rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 768px) {
    .qa-list .qa { grid-template-columns: 56px minmax(0, 1fr); gap: 32px; align-items: start; }
}
.qa-list .qa:first-child { border-top: 1px solid var(--bg-elev); }
.qa-list .qa:last-child { border-bottom: 1px solid var(--bg-elev); }
.qa-list .qa .num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.14em;
    padding-top: 4px;
}
.qa-list .qa h3 {
    font-size: clamp(20px, 2.2vw, 26px);
    margin-bottom: 10px;
    line-height: 1.2;
}
.qa-list .qa p {
    color: var(--gray-1);
    font-size: 14px;
    line-height: 1.6;
    max-width: 64ch;
}
.qa-list .qa p + p { margin-top: 8px; }

/* Two-column split (deliverables + memo, etc.) */
.split-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}
@media (min-width: 1024px) {
    .split-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 80px; }
}

.rundown-output {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: start;
}
@media (min-width: 1024px) {
    .rundown-output {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
        gap: 72px;
    }
}
.deliverable-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 760px) {
    .deliverable-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.deliverable-card {
    position: relative;
    min-height: 170px;
    border: 1px solid var(--bg-elev);
    background:
        linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
        rgba(255,255,255,0.14);
    background-size: 22px 22px;
    padding: 22px;
}
.deliverable-icon {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--bg-elev);
    background: rgba(255,255,255,0.18);
}
.deliverable-icon::before,
.deliverable-icon::after {
    content: '';
    position: absolute;
}
.deliverable-icon--findings::before {
    inset: 10px;
    border: 1px solid var(--fg);
    border-radius: 50%;
}
.deliverable-icon--findings::after {
    left: 22px;
    top: 6px;
    width: 1px;
    height: 34px;
    background: var(--accent);
}
.deliverable-icon--ship::before {
    left: 8px;
    right: 8px;
    top: 15px;
    height: 1px;
    background: var(--fg);
    box-shadow: 0 8px 0 var(--fg), 0 16px 0 var(--fg);
}
.deliverable-icon--ship::after {
    right: 8px;
    top: 12px;
    width: 8px;
    height: 8px;
    border-top: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
    transform: rotate(45deg);
}
.deliverable-icon--plan::before {
    inset: 9px;
    border: 1px solid var(--fg);
    transform: rotate(45deg);
}
.deliverable-icon--plan::after {
    left: 10px;
    right: 10px;
    top: 50%;
    height: 1px;
    background: var(--accent);
}
.deliverable-icon--stack::before {
    left: 10px;
    right: 10px;
    top: 10px;
    height: 8px;
    border: 1px solid var(--fg);
    box-shadow: 0 10px 0 -1px var(--bg), 0 10px 0 0 var(--fg), 0 20px 0 -1px var(--bg), 0 20px 0 0 var(--fg);
}
.deliverable-icon--scope::before {
    inset: 10px;
    border: 1px solid var(--fg);
}
.deliverable-icon--scope::after {
    left: 50%;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--accent);
    transform: rotate(35deg);
}
.deliverable-card.is-wide {
    min-height: 140px;
}
@media (min-width: 760px) {
    .deliverable-card.is-wide {
        grid-column: span 2;
    }
}
.deliverable-card span {
    display: block;
    margin-bottom: 34px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--accent);
}
.deliverable-card h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.05;
    margin-bottom: 10px;
}
.deliverable-card p {
    max-width: 34ch;
    color: var(--gray-1);
    font-size: 13px;
    line-height: 1.55;
}

/* Closing CTA card */
.closing-card {
    text-align: center;
    padding: 80px 0;
    border-top: 1px solid var(--bg-elev);
    margin-top: 96px;
}
.closing-card .closing-mark {
    font-size: 26px;
    color: var(--accent);
    display: inline-block;
    animation: rotate 18s linear infinite;
    margin-bottom: 24px;
}
.closing-card h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 3vw, 44px);
}
.closing-card p {
    color: var(--gray-2);
    max-width: 50ch;
    margin: 0 auto 24px;
}
.closing-card .cta-row { justify-content: center; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==================================================================
   POST-AUDIT ADDITIONS — case tag line, inputs grid, disclosures
   May 2026 best-practice pass: progressive disclosure, tasteful motion.
   ================================================================== */

/* Work case meta line (replaces meta-grid) */
.case-tag-line {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-2);
    margin-top: 10px;
    margin-bottom: 8px;
}

/* Now > Inputs section — three columns of compact lists */
.inputs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
}
@media (min-width: 768px) {
    .inputs-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.inputs-col { display: flex; flex-direction: column; gap: 14px; }
.inputs-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray-3);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bg-elev);
}
.inputs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-1);
}
.inputs-list li strong { font-weight: 500; color: var(--fg); }
.inputs-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    background: var(--bg-2);
    border: 1px solid var(--bg-elev);
    color: var(--gray-3);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Page changelog (collapsible) */
.page-changelog {
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
    padding: 20px 0;
}
.page-changelog summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-2);
    transition: color 0.2s ease;
}
.page-changelog summary::-webkit-details-marker { display: none; }
.page-changelog summary::before {
    content: '+';
    display: inline-block;
    width: 16px;
    color: var(--accent);
    font-size: 14px;
    transition: transform 0.25s var(--ease-out-soft);
}
.page-changelog[open] summary::before { transform: rotate(45deg); }
.page-changelog summary:hover { color: var(--fg); }
.changelog-label { flex: 1; }
.changelog-meta { color: var(--gray-3); font-weight: 400; }

/* Form progressive-disclosure block */
.form-disclosure {
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
    padding: 18px 0;
    margin: 8px 0;
}
.form-disclosure summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-2);
    transition: color 0.2s ease;
}
.form-disclosure summary::-webkit-details-marker { display: none; }
.form-disclosure summary:hover { color: var(--fg); }
.disclosure-label { color: var(--accent); flex: 1; }
.disclosure-meta { color: var(--gray-3); font-weight: 400; text-transform: none; letter-spacing: 0.04em; font-size: 11px; }
.form-disclosure[open] .disclosure-label::before { content: '−  '; }
.form-disclosure:not([open]) .disclosure-label::before { content: '+  '; }
.form-disclosure-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
    animation: disclosureFadeIn 0.32s var(--ease-out-soft);
}
@keyframes disclosureFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Optional-field marker on labels */
.intake-form label .opt {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 7px;
    border: 1px solid var(--bg-elev);
    color: var(--gray-3);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-style: normal;
    vertical-align: 1px;
}

/* Form focus ring: switch to sky for a calmer focus signal */
.intake-form input:focus,
.intake-form textarea:focus,
.intake-form select:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(29, 148, 221, 0.12);
}

/* ----- PAST CLIENTS section ----- */
#past-clients { position: relative; padding: 56px 0 64px; margin-bottom: 0; }
#past-clients .container { position: relative; }
.section-ghost {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.section-ghost img {
    display: block;
    width: min(360px, 34vw);
    opacity: 0.16;
    filter: contrast(1.04);
    mix-blend-mode: multiply;
}
.section-ghost--work {
    right: 36px;
    top: -44px;
}
.past-clients-head { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.past-clients-head,
.proof-grid { position: relative; z-index: 1; }
.past-clients-head h2 { font-size: clamp(40px, 5vw, 64px); margin: 0; }
.past-clients-head .section-desc { margin: 0; color: var(--gray-2, #888); font-size: 14px; }

@media (min-width: 1100px) {
    #past-clients .proof-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.work-archive-link {
    display: inline-flex;
    margin-top: 26px;
    color: var(--gray-1);
}

.audit-cta-band {
    padding: clamp(54px, 7vw, 92px) 0;
    background: #070707;
    color: rgba(255,255,255,0.72);
}

.audit-cta-inner {
    max-width: 760px;
}

.audit-cta-inner > span {
    display: block;
    margin-bottom: 16px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.audit-cta-inner h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.035em;
}

.audit-cta-inner p {
    max-width: 48ch;
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.5;
}

.audit-cta-inner .cta-row {
    margin-top: 28px;
}

.client-filter {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 28px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px; letter-spacing: 0.05em;
}
.filter-btn {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.18);
    color: inherit;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-btn:hover { border-color: rgba(0, 0, 0, 0.45); }
.filter-btn.active {
    background: #0a0a0a;
    color: var(--accent);
    border-color: #0a0a0a;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.client-card {
    border: 1px solid rgba(0,0,0,0.12);
    background: #0a0a0a;
    overflow: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.client-card.is-hidden { display: none; }
.client-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
    overflow: hidden;
}
.client-media canvas, .client-media video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.client-media--placeholder {
    display: flex; align-items: center; justify-content: center;
    background: repeating-linear-gradient(135deg, #111 0 8px, #0a0a0a 8px 16px);
    color: rgba(243, 215, 160, 0.55);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.client-info {
    padding: 16px 18px 20px;
    color: rgba(255,255,255,0.86);
    background: #090909;
}
.client-info .client-tag {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: 0.06em; color: var(--accent);
    text-transform: uppercase;
}
.client-info h3 { font-size: 22px; margin: 6px 0 8px; }
.client-info p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.72); margin: 0; }
.client-card { text-decoration: none; color: inherit; display: block; cursor: pointer; }
.client-card:hover { transform: translateY(-2px); }
.client-link {
    display: inline-block; margin-top: 12px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: 0.06em; color: var(--accent);
    text-transform: uppercase;
    transition: color 0.15s;
}
.client-card:hover .client-link { color: #fff; }

/* Dokyo case study media */
.dokyo-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
    margin: 32px 0;
}
.dokyo-video, .dokyo-img {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
    background: #0a0a0a;
    border: 1px solid rgba(0,0,0,0.08);
}

/* Past Clients — expandable card */
.client-card { display: block; padding: 0; }
.client-toggle {
    display: block; width: 100%; padding: 0;
    background: transparent; border: 0; color: inherit;
    cursor: pointer; text-align: left;
    font: inherit;
}
.client-toggle .client-media { width: 100%; }
.client-toggle .client-info { padding: 16px 18px 20px; }
.client-toggle .link-close { display: none; }
.client-toggle[aria-expanded="true"] .link-open { display: none; }
.client-toggle[aria-expanded="true"] .link-close { display: inline; }

/* When card is expanded, span full grid width so the case study has room */
.client-card:has(.client-toggle[aria-expanded="true"]) {
    grid-column: 1 / -1;
}

.client-expanded {
    padding: 24px;
    background: #0c0a07;
    color: #efe9da;
    border-top: 1px solid rgba(243, 215, 160, 0.2);
}
.client-expanded[hidden] { display: none; }
.expanded-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.expanded-media-grid video,
.expanded-media-grid img {
    width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
    background: #000;
    border: 1px solid rgba(255,255,255,0.06);
}
.expanded-body { max-width: 70ch; }
.expanded-body h4 {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    color: #b89568; margin: 18px 0 6px;
}
.expanded-body p { font-size: 14px; line-height: 1.65; color: rgba(239, 233, 218, 0.85); margin: 0 0 8px; }

.client-media--bakeris img,
.client-media--chair img { width: 100%; height: 100%; object-fit: cover; display: block; }
.client-media--bakeris,
.client-media--chair { aspect-ratio: 16/9; overflow: hidden; }
.client-media--chair img { object-position: 50% 50%; }

/* THE OPERATOR LOG — long premium running history table */
.work-log {
    border: 1px solid var(--bg-elev, #e0ddd2);
    background: var(--bg-2, #ddd9cd);
    border-radius: 0;
    overflow: hidden;
    margin-top: 8px;
}
.work-log-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    grid-template-areas: "year title action" "year tag action";
    column-gap: clamp(16px, 2vw, 32px);
    row-gap: 4px;
    align-items: center;
    padding: 22px clamp(16px, 2vw, 32px);
    border-top: 1px solid var(--bg-elev, #e0ddd2);
    text-decoration: none;
    color: inherit;
    transition: background 0.18s ease, color 0.18s ease;
}
.work-log-row:first-child { border-top: 0; }
@media (min-width: 800px) {
    .work-log-row {
        grid-template-columns: 130px minmax(140px, 220px) 1fr auto;
        grid-template-areas: "year title tag action";
    }
}
.wl-year {
    grid-area: year;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--gray-2, #6F6C66);
    white-space: nowrap;
}
.wl-title {
    grid-area: title;
    font-family: var(--font-sans, 'Space Grotesk', sans-serif);
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--fg, #101011);
    line-height: 1.2;
}
.wl-tag {
    grid-area: tag;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--gray-2, #6F6C66);
    line-height: 1.4;
}
.wl-action {
    grid-area: action;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--gray-2, #6F6C66);
    white-space: nowrap;
    display: inline-flex; align-items: center; gap: 6px;
}
.wl-arrow {
    display: inline-block;
    transition: transform 0.18s var(--ease-out-soft, ease-out);
}

/* Clickable rows — pop on hover */
a.work-log-row:hover {
    background: var(--fg, #101011);
    color: var(--bg, #E8E5DD);
}
a.work-log-row:hover .wl-year,
a.work-log-row:hover .wl-tag,
a.work-log-row:hover .wl-action { color: var(--accent, #F5A623); }
a.work-log-row:hover .wl-title { color: var(--bg, #E8E5DD); }
a.work-log-row:hover .wl-arrow { transform: translateX(4px); }

/* Note rows (no link) — slightly muted */
.work-log-row--note .wl-title { color: var(--gray-1, #3A3937); }
.work-log-row--note .wl-action { opacity: 0.5; }

/* Live row — accent state */
.work-log-row--live { background: var(--fg, #101011); color: var(--bg, #E8E5DD); }
.work-log-row--live .wl-year { color: var(--accent, #F5A623); }
.work-log-row--live .wl-title { color: var(--bg, #E8E5DD); }
.work-log-row--live .wl-tag { color: rgba(255,255,255,0.6); }
.work-log-row--live .wl-action { color: var(--accent, #F5A623); }
.work-log-row--live .pulse-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent, #F5A623);
    box-shadow: 0 0 8px var(--accent, #F5A623);
    animation: wl-pulse 1.6s ease-in-out infinite;
    display: inline-block;
}
@keyframes wl-pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50%      { opacity: 1;   transform: scale(1.1);  }
}

/* Mobile: stack the action under the title block */
@media (max-width: 640px) {
    .work-log-row {
        grid-template-columns: 90px 1fr;
        grid-template-areas: "year title" "year tag" ". action";
        padding: 18px 16px;
    }
    .wl-action { justify-self: start; padding-top: 6px; }
}

/* — Work dropdown nav (shared across all pages) — */
.nav-item-menu { position: relative; }
.nav-item-menu::after {
    content: '';
    position: absolute;
    left: -18px;
    right: -18px;
    top: 100%;
    height: 14px;
}
.nav-item-menu > a .caret {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.8em;
    transition: transform 0.18s ease;
}
.nav-item-menu:hover > a,
.nav-item-menu:focus-within > a,
.nav-item-menu > a:hover,
.nav-item-menu > a:focus-visible,
.nav-menu a:hover {
    letter-spacing: 0.06em;
}
.nav-item-menu:hover > a .caret,
.nav-item-menu:focus-within > a .caret { transform: translateY(2px); }
.nav-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: -16px;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.nav-item-menu:hover .nav-menu,
.nav-item-menu:focus-within .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* high specificity: beats `nav .nav-links a` page-level colors — the menu panel
   is always dark, so item text must stay light on every page */
nav .nav-links a.nav-menu-item,
.nav-menu-item {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 20px;
    text-decoration: none;
    color: #f5f5f5;
    border-left: 2px solid transparent;
    transition: background 0.12s ease, border-color 0.12s ease;
}
nav .nav-links a.nav-menu-item:hover,
nav .nav-links a.nav-menu-item:focus-visible,
.nav-menu-item:hover,
.nav-menu-item:focus-visible {
    background: rgba(255,255,255,0.06);
    border-left-color: var(--accent, #fcc419);
    color: #fff;
    outline: 2px solid rgba(245,166,35,0.55);
    outline-offset: -2px;
}
.nav-menu-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px; font-weight: 500;
    letter-spacing: -0.01em;
}
.nav-menu-meta {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px; letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.nav-menu-item.is-coming .nav-menu-meta { color: var(--accent, #fcc419); }

/* — Hero sound toggle — */
.dk-hero .sound {
    position: absolute;
    bottom: clamp(20px, 3vw, 40px);
    right: clamp(20px, 3vw, 40px);
    width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.4);
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    transition: background 0.18s, border-color 0.18s;
    padding: 0;
}
.dk-hero .sound:hover {
    background: rgba(0,0,0,0.6);
    border-color: rgba(255,255,255,0.5);
}
.dk-hero .sound svg { width: 18px; height: 18px; display: block; }
.dk-hero .sound .icon-on { display: none; }
.dk-hero .sound.is-on .icon-off { display: none; }
.dk-hero .sound.is-on .icon-on { display: block; }

/* ------------------------------------------------------------------
   Mobile pass — content-first, not squeezed desktop
   ------------------------------------------------------------------ */
@media (max-width: 640px) {
    *,
    *::before,
    *::after {
        max-width: 100%;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container,
    .container-wide,
    .container-narrow {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    img,
    video,
    canvas,
    svg {
        max-width: 100%;
    }

    nav,
    .hero-stage nav {
        width: 100%;
        padding: 16px 20px 14px;
        gap: 14px;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        font-size: 10px;
        letter-spacing: 0.08em;
    }
    nav .brand {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .nav-right {
        display: none;
    }
    /* Replaced by MENU overlay on mobile */
    .nav-links {
        display: none;
    }
    .nav-item-menu::after,
    .nav-menu {
        display: none !important;
    }

    .hero-stage {
        height: 520px;
        min-height: 520px;
        max-height: 560px;
    }
    .hero-stage::before {
        background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.18) 100%);
    }
    .hero-guide-marks {
        width: min(340px, 92vw);
        opacity: 0.45;
    }
    .hero-guide-marks span:nth-child(4),
    .hero-guide-marks span:nth-child(5) {
        display: none;
    }
    .manga-panel {
        top: 45% !important;
        width: min(320px, calc(100vw - 40px)) !important;
        border-width: 1px !important;
        box-shadow: 0 16px 40px rgba(0,0,0,0.42), 0 0 0 1px rgba(255,255,255,0.08) inset !important;
    }
    .corner-row {
        padding: 0 20px;
        font-size: 9px;
        letter-spacing: 0.12em;
    }
    .corner-row.bottom {
        bottom: 18px;
    }
    .corner-row .col.center {
        display: none;
    }
    .corner-row .col.right {
        display: none;
    }
    .hero-scroll-cue {
        display: none;
    }

    body:has(.hero-stage) section {
        margin-bottom: 46px;
    }
    body:has(.hero-stage) section.ops-zone {
        padding: 56px 0;
    }
    body:has(.hero-stage) section.ops-zone + section {
        margin-top: 56px;
    }

    .sub-hero {
        padding: 38px 0 46px;
        gap: 24px;
    }
    .sub-hero .eyebrow,
    .build-head .eyebrow,
    .start-copy .eyebrow {
        margin-bottom: 18px;
    }
    .sub-hero h1 {
        max-width: 100%;
        font-size: clamp(38px, 12vw, 48px);
        line-height: 0.98;
        margin-bottom: 22px;
        letter-spacing: -0.02em;
    }
    .sub-hook {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 26px;
    }
    .cta-row {
        gap: 14px;
        flex-wrap: wrap;
    }
    .btn-primary {
        min-height: 44px;
        padding: 12px 18px;
    }
    .engagement-panel {
        padding: 16px;
        max-width: none;
    }
    .engagement-main h2 {
        font-size: 24px;
        line-height: 1.04;
    }
    .map-row {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    .map-row span {
        min-height: 34px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .build-section {
        padding-bottom: 48px;
    }
    .build-head {
        gap: 18px;
        margin-bottom: 22px;
    }
    .build-head h2,
    .past-clients-head h2,
    .ops-zone-head h2,
    .start-copy h2 {
        font-size: clamp(32px, 10vw, 40px);
        line-height: 1.02;
        max-width: 12ch;
    }
    .build-aside,
    .section-desc {
        font-size: 12px;
        line-height: 1.55;
        margin-bottom: 22px;
    }
    .build-card-grid,
    .proof-grid {
        gap: 10px;
    }
    .build-card {
        min-height: 0;
        padding: 18px;
    }
    .build-card-icon {
        height: 58px;
        margin-bottom: 18px;
    }
    .build-card h3 {
        font-size: 28px;
    }
    .build-card p,
    .proof-copy p,
    .start-copy p {
        font-size: 12px;
        line-height: 1.55;
    }
    .proof-media {
        aspect-ratio: 16 / 10;
    }
    .proof-copy {
        padding: 16px 16px 18px;
    }
    .proof-kicker {
        margin-bottom: 12px;
        line-height: 1.45;
    }
    .proof-copy h3 {
        font-size: 24px;
        line-height: 1.08;
    }

    .ops-zone-head {
        gap: 18px;
        margin-bottom: 28px;
    }
    .system-strip {
        grid-template-columns: 1fr;
    }
    .system-strip > div {
        min-height: 108px;
        padding: 18px;
    }

    .start-section {
        padding-top: 40px;
        gap: 24px;
    }
    .start-board-grid > div {
        padding: 18px;
    }
    .start-board-grid h3 {
        font-size: 23px;
    }
    .signal-line,
    footer {
        justify-content: flex-start;
        text-align: left;
    }

    .text-hero {
        overflow: hidden;
        min-height: 320px;
        margin-bottom: 48px;
        padding-bottom: 56px;
    }
    .text-hero .container {
        padding-top: 0;
    }
    .lead-row {
        display: block;
    }
    .lead-row h1,
    .text-hero h1 {
        max-width: min(13ch, calc(100vw - 40px));
        font-size: clamp(44px, 13vw, 54px);
        line-height: 0.98;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .lead-meta {
        margin-top: 24px;
        text-align: left;
    }
    .contact-page .text-hero {
        min-height: 260px;
        margin-bottom: 28px;
        padding-bottom: 36px;
    }
    .contact-page .text-hero h1 {
        font-size: clamp(40px, 12vw, 50px);
    }
    main {
        padding-top: 40px;
        padding-bottom: 64px;
    }
    .services-intro {
        margin-bottom: 42px;
    }
    .services-intro p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.5;
    }
    .sub-2 {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
    .services-snapshot {
        gap: 6px;
    }
    .service-row {
        border-color: rgba(0,0,0,0.12);
        width: 100%;
    }
    .service-num {
        padding: 16px 18px 8px;
        border-bottom: 0;
    }
    .service-media {
        aspect-ratio: 16 / 9;
    }
    .service-copy {
        min-width: 0;
        padding: 18px;
    }
    .service-title-row h2 {
        font-size: 32px;
        line-height: 1;
    }
    .service-summary {
        gap: 12px;
    }
    .service-plain {
        font-size: 22px !important;
    }
    .service-row p {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.6;
        overflow-wrap: break-word;
    }
    .service-diagram {
        grid-template-columns: 1fr 1fr;
        padding: 10px;
        gap: 7px;
        max-width: 100%;
        overflow: hidden;
    }
    .service-diagram::before {
        display: none;
    }
    .service-diagram span {
        min-height: 42px;
        min-width: 0;
        padding: 9px 4px;
        font-size: 8px;
        letter-spacing: 0.08em;
    }
    .service-diagram span::after {
        display: none;
    }

    .dk-hero {
        aspect-ratio: auto !important;
        height: 280px !important;
        min-height: 280px !important;
    }
    .dk-hero .meta {
        top: 18px !important;
        right: 18px !important;
        left: 18px !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        font-size: 8px !important;
        line-height: 1.5 !important;
    }
    .dk-hero .wordmark,
    .dk-hero .title {
        left: 22px !important;
        bottom: 22px !important;
        width: min(260px, 68vw) !important;
    }
    .dk-hero .title h1 {
        font-size: clamp(44px, 14vw, 58px) !important;
        line-height: 0.95 !important;
    }
    .dk-section,
    .dk-chapter,
    .dk-intro,
    .dk-outcomes {
        padding-top: 52px !important;
        padding-bottom: 42px !important;
    }
    .dk-intro .container,
    .dk-chapter .container {
        display: block !important;
        max-width: none !important;
    }
    .dk-intro p {
        max-width: none !important;
        font-size: 17px !important;
        line-height: 1.55 !important;
        overflow-wrap: anywhere !important;
    }
    .dk-intro p:first-of-type {
        font-size: 22px !important;
        line-height: 1.22 !important;
    }
    .dk-chapter h2 {
        font-size: clamp(34px, 12vw, 46px) !important;
        line-height: 1.02 !important;
        max-width: 10ch !important;
    }
    .dk-chapter p {
        max-width: none !important;
        font-size: 13px !important;
        line-height: 1.65 !important;
    }
    .dk-trailer,
    .dk-brand-editorial,
    .dk-films,
    .dk-photos,
    .dk-spread,
    .dk-two-up,
    .dk-bench,
    .chair-build,
    .chair-feature,
    .chair-mark-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: none !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        gap: 18px !important;
    }
    .dk-trailer-player,
    .dk-film,
    .dk-photo img,
    .dk-spread img,
    .chair-build img,
    .chair-feature img {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 16 / 11 !important;
        height: auto !important;
        object-fit: cover !important;
    }
    .dk-outcomes .grid,
    .dk-stats,
    .dk-scorecard,
    .dk-numbers {
        grid-template-columns: 1fr !important;
    }
    .dk-outcome {
        min-height: 0 !important;
        grid-template-rows: auto !important;
    }
    .dk-outcome .thumb {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }
    .dk-outcome .copy {
        padding: 18px !important;
        gap: 14px !important;
    }
    .dk-outcome .n,
    .dk-stat .n,
    .dk-num .n {
        font-size: 42px !important;
    }
    .dk-video-modal {
        padding: 12px !important;
    }
    .dk-video-panel video {
        max-height: calc(100vh - 92px) !important;
    }

    /* ── Pass 1 mobile rebuild (2026-05-14) ───────────────────────── */
    /* Goal: bigger hero frame, less dead space, beefier selected work marks */

    .hero-stage {
        height: clamp(540px, 72svh, 660px);
        min-height: clamp(540px, 72svh, 660px);
        max-height: 700px;
    }
    .corner-row.bottom {
        bottom: 16px;
    }
    .manga-panel {
        width: min(84vw, 360px) !important;
        aspect-ratio: 4 / 5 !important;
    }
    .corner-row.bottom {
        bottom: 24px;
    }

    /* Selected work — beef up the marks so cards don't feel empty */
    .proof-media {
        aspect-ratio: 16 / 9;
    }
    .proof-mark--dokyo img {
        width: min(56%, 200px) !important;
    }
    .proof-mark--bakeris img {
        width: min(82%, 280px) !important;
    }
    .proof-roof-mark {
        width: min(68%, 240px) !important;
    }
    .proof-mark--chair img {
        width: min(60%, 200px) !important;
    }

    /* Ops zone heading: stop stacking 5 lines */
    .ops-zone-head h2 {
        max-width: 18ch;
    }

    /* Modern text wrapping for nicer line breaks on small screens */
    .sub-hero h1,
    .past-clients-head h2,
    .ops-zone-head h2,
    .engagement-main h2 {
        text-wrap: balance;
    }
    .sub-hook,
    .section-desc,
    .proof-copy p,
    .engagement-main p {
        text-wrap: pretty;
    }

    /* Reduce motion respect — kill autoplay/animation chrome where possible */
    @media (prefers-reduced-motion: reduce) {
        .hero-scroll-cue { display: none; }
    }

    /* ── Pass 2 mobile polish (2026-05-14) ───────────────────────── */

    /* CTA row: slots-text reads as a meta line, not a competing element */
    .slots-text {
        font-size: 11px;
        color: var(--gray-2);
        opacity: 0.75;
        letter-spacing: 0.06em;
    }
    .cta-row {
        gap: 6px 12px;
    }
    .cta-row .slots-text {
        flex-basis: 100%;
        margin-top: -2px;
    }

    /* Cards: whole card is the link, no inline OPEN CASE row needed */
    .proof-arrow {
        opacity: 0.55;
        transform: none;
        font-size: 20px;
        top: 14px;
        right: 18px;
    }

    /* Hide redundancy: steps already show the flow */
    .engagement-map {
        display: none;
    }
    .system-strip {
        display: none;
    }
    .ops-zone-head {
        margin-bottom: 16px;
    }

    /* Standardized section rhythm */
    body:has(.hero-stage) section {
        margin-bottom: clamp(32px, 8vw, 52px);
    }
    body:has(.hero-stage) section.ops-zone {
        padding: clamp(40px, 10vw, 64px) 0;
    }
    body:has(.hero-stage) section.ops-zone + section {
        margin-top: 0;
    }
    #past-clients {
        padding: clamp(32px, 8vw, 52px) 0 clamp(40px, 10vw, 64px);
    }

    /* Hero → body: gradient handoff so black doesn't slam beige */
    .hero-stage::after {
        height: 64px;
        background: linear-gradient(180deg, transparent 0%, var(--bg) 95%);
        z-index: 1;
    }

    /* Tighter footer */
    footer {
        padding: 22px 0 32px;
        gap: 12px;
        margin-top: 28px;
    }
    .footer-links {
        gap: 10px 18px;
    }

    /* ── Pass 3 mobile compression (2026-05-14) ──────────────────── */
    /* Compress work cards so stacked column feels less long */

    .proof-media {
        aspect-ratio: 2 / 1;
    }
    .proof-copy {
        padding: 18px 20px 22px;
    }
    .proof-kicker {
        margin-bottom: 12px;
        font-size: 10px;
        letter-spacing: 0.14em;
    }
    .proof-copy h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .proof-copy p {
        font-size: 14px;
        line-height: 1.55;
    }

    /* Slightly tighter mark sizes to match shorter panel */
    .proof-mark--dokyo img {
        width: min(46%, 170px) !important;
    }
    .proof-mark--bakeris img {
        width: min(72%, 240px) !important;
    }
    .proof-roof-mark {
        width: min(58%, 200px) !important;
    }
    .proof-mark--chair img {
        width: min(48%, 170px) !important;
    }
}

/* ============================================================
   Cross-document View Transitions — smooth fade between pages
   on browsers that support it (Chromium 126+). Graceful no-op
   elsewhere.
   ============================================================ */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 180ms;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
}

/* ── Hero placement pass: keep the visual balanced on wide screens ── */
@media (min-width: 1100px) {
    .hero-pair-section > .container {
        max-width: 1760px;
        padding-left: clamp(72px, 6.5vw, 136px);
        padding-right: clamp(72px, 6.5vw, 136px);
    }

    .hero-pair {
        min-height: calc(100svh - 56px);
        grid-template-columns: minmax(760px, 1fr) minmax(520px, 0.74fr);
        gap: clamp(56px, 6vw, 118px);
        align-items: center;
        padding: 56px 0 76px;
    }

    .hero-pair-text {
        max-width: 980px;
        justify-self: start;
    }

    .hero-pair-text h1 {
        font-size: clamp(76px, 5.1vw, 108px);
        line-height: 0.98;
        white-space: normal;
        max-width: 13ch;
    }

    .hero-pair-text .sub-hook {
        max-width: 760px;
    }

    .hero-girl-frame {
        width: min(100%, 640px);
        max-width: 640px;
        justify-self: center;
        align-self: center;
        margin-top: 0;
    }
}

/* Mobile: drop the dither artifact — it reads as a random block when stacked */
@media (max-width: 899px) {
    .hero-artifact { display: none; }
    .hero-pair { padding: 44px 0 56px; }
}

@media (max-width: 1099px) {
    .hero-pair-text h1 {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    #main-content {
        padding-top: 0;
    }

    .nav-band nav {
        width: 100%;
        padding: 16px 20px 14px;
    }

    .nav-band nav .brand {
        min-width: 0;
    }

    .hero-pair-section > .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-pair-text .sub-hook {
        width: 100%;
        max-width: 34ch;
    }

    .hero-signal-row {
        display: none;
    }

    .cta-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .hero-pair-text .slots-text {
        color: rgba(255,255,255,0.66);
        font-size: 12px;
        line-height: 1.3;
    }

    .hero-artifact {
        width: min(78vw, 320px);
        margin: 0 auto;
    }

    .hero-artifact-top {
        margin-bottom: 8px;
        font-size: 9px;
        letter-spacing: 0.16em;
    }

    .hero-artifact-top span:last-child {
        display: none;
    }

    .hero-artifact-bottom {
        display: none;
    }

    .hero-girl-frame {
        aspect-ratio: 1 / 1.12;
    }

    .hero-girl-frame .hero-girl-meta {
        left: 10px;
        bottom: 10px;
        padding: 7px 8px;
        font-size: 9px;
        letter-spacing: 0.12em;
    }
}

/* ── Hero alignment pass: bring the whole composition inward ───── */
@media (min-width: 1100px) {
    .hero-pair-section > .container {
        max-width: 1640px;
        padding-left: clamp(88px, 7.4vw, 148px);
        padding-right: clamp(88px, 7.4vw, 148px);
    }

    .hero-pair {
        min-height: calc(100svh - 54px);
        grid-template-columns: minmax(700px, 0.94fr) minmax(420px, 0.58fr);
        gap: clamp(64px, 6.8vw, 124px);
        align-items: start;
        padding: clamp(128px, 15vh, 188px) 0 72px;
    }

    .hero-pair-text {
        max-width: 840px;
        justify-self: start;
    }

    .hero-pair-text h1 {
        font-size: clamp(70px, 4.55vw, 92px);
        line-height: 1;
        letter-spacing: -0.018em;
        white-space: normal;
        max-width: 13ch;
        margin-bottom: 28px;
    }

    .hero-pair-text .sub-hook {
        max-width: 640px;
        font-size: 17px;
        line-height: 1.55;
    }

    .hero-signal-row {
        max-width: 650px;
        margin-top: 24px;
    }

    .hero-pair-text .cta-row {
        width: min(100%, 650px);
        justify-content: flex-start;
        gap: 30px;
        margin-top: 24px;
    }

    .hero-girl-frame {
        width: 100%;
        max-width: none;
        transform: none;
    }

    .hero-artifact {
        width: min(100%, 400px);
        max-width: 400px;
        align-self: start;
        justify-self: center;
        transform: none;
    }

    .hero-artifact-top,
    .hero-artifact-bottom span {
        font-size: 9px;
        letter-spacing: 0.2em;
    }

    .hero-artifact-top {
        margin-bottom: 10px;
    }

    .hero-artifact-bottom {
        margin-top: 8px;
    }

    .hero-artifact-bottom p {
        max-width: 30ch;
        font-size: 13px;
        line-height: 1.32;
        margin-top: 7px;
    }
}

@media (min-width: 900px) and (max-width: 1099px) {
    .hero-pair-section > .container {
        padding-left: clamp(72px, 8vw, 112px);
        padding-right: clamp(48px, 6vw, 88px);
    }

    .hero-pair {
        grid-template-columns: minmax(560px, 1fr) minmax(340px, 0.62fr);
        gap: clamp(44px, 5vw, 76px);
        align-items: start;
        padding-top: clamp(104px, 13vh, 150px);
    }

    .hero-pair-text {
        max-width: 720px;
    }

    .hero-pair-text h1 {
        font-size: clamp(62px, 7vw, 82px);
        line-height: 1;
        white-space: normal;
        max-width: 13ch;
    }

    .hero-pair-text .sub-hook {
        max-width: 600px;
    }

    .hero-signal-row {
        max-width: 600px;
        margin-top: 22px;
    }

    .hero-pair-text .cta-row {
        width: min(100%, 600px);
        justify-content: flex-start;
        gap: 28px;
        margin-top: 22px;
    }

    .hero-artifact {
        width: min(100%, 340px);
        max-width: 340px;
        justify-self: center;
    }

    .hero-artifact-bottom p {
        max-width: 28ch;
        font-size: 13px;
        line-height: 1.32;
    }
}

/* ============================================================
   Index simplification pass — proof first, fewer abstractions
   ============================================================ */
.hero-proof-wall {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-auto-rows: minmax(150px, auto);
    gap: 12px;
    align-self: stretch;
    color: #fff;
}

.hero-proof-tile {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,0.14);
    color: inherit;
    text-decoration: none;
}

.hero-proof-tile.is-large {
    grid-row: span 2;
    min-height: 360px;
}

.hero-proof-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    min-height: 180px;
    object-fit: cover;
    display: block;
    filter: brightness(0.82) saturate(0.95);
    transition: transform 0.45s var(--ease-out-soft), filter 0.2s ease;
}

.hero-proof-tile:hover img {
    transform: scale(1.025);
    filter: brightness(0.98) saturate(1);
}

.hero-proof-tile span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 9px 10px;
    background: rgba(7,7,7,0.72);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.simple-start {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #070707;
    color: rgba(255,255,255,0.74);
    padding: clamp(72px, 8vw, 118px) 0;
}

.simple-start > .container {
    max-width: 1240px;
}

.simple-start-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: end;
    margin-bottom: clamp(28px, 4vw, 48px);
}

@media (min-width: 900px) {
    .simple-start-head {
        grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.6fr);
        gap: 72px;
    }
}

.simple-start .eyebrow {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.simple-start h2 {
    color: #fff;
    margin: 0;
    max-width: 10ch;
    font-size: clamp(44px, 6vw, 84px);
    line-height: 0.96;
    letter-spacing: -0.035em;
}

.simple-start .section-desc {
    max-width: 44ch;
    margin: 0;
    color: rgba(255,255,255,0.68);
}

.simple-steps {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255,255,255,0.16);
    border-left: 1px solid rgba(255,255,255,0.16);
}

@media (min-width: 760px) {
    .simple-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.simple-steps > div {
    min-height: 210px;
    padding: clamp(22px, 3vw, 34px);
    border-right: 1px solid rgba(255,255,255,0.16);
    border-bottom: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.025);
}

.simple-steps span {
    display: block;
    margin-bottom: 58px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.simple-steps strong {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(25px, 2.6vw, 34px);
    line-height: 1;
    letter-spacing: -0.025em;
}

.simple-steps p {
    max-width: 28ch;
    margin: 0;
    color: rgba(255,255,255,0.62);
    line-height: 1.55;
}

.simple-start-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 30px;
    margin-top: 34px;
}

.simple-start-cta .slots-text {
    color: rgba(255,255,255,0.58);
}

.work-logo-section {
    padding: clamp(38px, 5vw, 70px) 0 clamp(54px, 6vw, 86px);
    background: #111;
    color: #fff;
}

.work-logo-carousel {
    display: grid;
    gap: 20px;
}

.work-logo-top,
.work-logo-foot {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.work-logo-top {
    align-items: end;
}

.work-logo-top span {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.work-logo-top h2 {
    max-width: 11ch;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 0.94;
}

.work-logo-controls {
    display: flex;
    gap: 8px;
}

.work-logo-controls button {
    min-width: 74px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.74);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.work-logo-controls button:hover {
    border-color: var(--accent);
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.work-logo-viewport {
    overflow: hidden;
}

.work-logo-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 360px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-padding-left: 1px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.work-logo-track::-webkit-scrollbar {
    display: none;
}

.work-logo-card {
    min-height: 432px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    background: var(--bg);
    color: var(--fg);
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform 0.22s var(--ease-out-soft), border-color 0.2s ease, background 0.2s ease;
}

.work-logo-card:hover {
    border-color: rgba(255,168,31,0.8);
    background: #f0ece3;
    transform: translateY(-3px);
}

.work-logo-media {
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.work-logo-media.proof-mark {
    min-height: 0;
    padding: clamp(24px, 4vw, 46px);
}

.work-logo-media img {
    max-width: min(62%, 190px);
    max-height: 62%;
    object-fit: contain;
}

.work-logo-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: clamp(20px, 2.2vw, 28px);
}

.work-logo-copy span {
    color: #9d6306;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.work-logo-copy strong {
    display: block;
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: clamp(24px, 2.05vw, 32px);
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.work-logo-copy p {
    max-width: 32ch;
    margin: 0;
    color: var(--gray-1);
    font-size: 13px;
    line-height: 1.55;
}

.work-logo-copy em {
    margin-top: auto;
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 10px;
    font-style: normal;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.work-logo-foot {
    align-items: center;
}

.work-logo-foot span {
    max-width: 52ch;
    color: rgba(255,255,255,0.42);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    line-height: 1.6;
    text-transform: uppercase;
}

.work-logo-foot .slots-text {
    color: rgba(255,255,255,0.56);
}

@media (min-width: 1020px) {
    .work-logo-track {
        grid-auto-columns: calc((100% - 28px) / 3);
    }
}

.proof-wall-section {
    padding: clamp(52px, 6vw, 88px) 0 clamp(58px, 6.6vw, 96px);
    background: #10100f;
    color: #fff;
}

.proof-wall-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: end;
    margin-bottom: clamp(24px, 3.2vw, 38px);
}

@media (min-width: 920px) {
    .proof-wall-head {
        /* match .proof-wall's columns so the sub-line aligns with the list below */
        grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.86fr);
        gap: 18px;
    }

    .proof-wall-head > span {
        grid-column: 1 / -1;
    }
}

.proof-wall-head > span,
.fix-list-layout > div:first-child > span {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.proof-wall-head h2 {
    max-width: 12ch;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5.2vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.035em;
}

.proof-wall-head p {
    max-width: 42ch;
    margin: 0;
    color: rgba(255,255,255,0.62);
    font-size: clamp(15px, 1.24vw, 18px);
    line-height: 1.55;
}

.proof-wall {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 900px) {
    .proof-wall {
        grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.86fr);
        align-items: stretch;
    }
}

.proof-wall-feature {
    position: relative;
    min-height: clamp(420px, 44vw, 650px);
    display: grid;
    align-content: end;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.proof-wall-feature::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.02) 32%, rgba(0,0,0,0.86) 100%),
        linear-gradient(90deg, rgba(0,0,0,0.54), transparent 62%);
}

.proof-wall-feature img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.86) contrast(1.04) brightness(0.82);
    transition: transform 0.7s var(--ease-out-soft), filter 0.24s ease;
}

.proof-wall-feature:hover img {
    transform: scale(1.035);
    filter: saturate(0.96) contrast(1.06) brightness(0.92);
}

.proof-wall-feature div {
    display: grid;
    gap: 12px;
    max-width: 520px;
    padding: clamp(24px, 3vw, 38px);
}

.proof-wall-feature span,
.proof-wall-list span {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    line-height: 1.45;
    text-transform: uppercase;
}

.proof-wall-feature strong {
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(46px, 6vw, 86px);
    line-height: 0.88;
    letter-spacing: -0.045em;
}

.proof-wall-feature p,
.proof-wall-list p {
    max-width: 40ch;
    margin: 0;
    color: rgba(255,255,255,0.66);
    line-height: 1.55;
}

.proof-wall-list {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255,255,255,0.14);
}

.proof-wall-list a {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: clamp(22px, 2.4vw, 32px);
    border-right: 1px solid rgba(255,255,255,0.14);
    border-bottom: 1px solid rgba(255,255,255,0.14);
    border-left: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.025);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.2s var(--ease-out-soft);
}

.proof-wall-list a:hover {
    border-color: rgba(255,168,31,0.48);
    background: rgba(255,255,255,0.055);
    transform: translateX(4px);
}

.proof-wall-list strong {
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(26px, 2.6vw, 38px);
    line-height: 0.98;
    letter-spacing: -0.035em;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.fix-list-section {
    padding: clamp(50px, 6vw, 84px) 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    background: #e9e5dc;
}

.fix-list-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(26px, 5vw, 70px);
}

@media (min-width: 900px) {
    .fix-list-layout {
        grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.82fr);
        align-items: start;
    }
}

.fix-list-layout h2 {
    max-width: 12ch;
    margin: 12px 0 0;
    color: var(--fg);
    font-size: clamp(42px, 5vw, 74px);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.fix-list {
    border-top: 1px solid rgba(0,0,0,0.18);
}

.fix-list details {
    border-bottom: 1px solid rgba(0,0,0,0.18);
}

.fix-list summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 22px 42px 22px 0;
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: clamp(21px, 2vw, 30px);
    line-height: 1.05;
    letter-spacing: -0.026em;
}

.fix-list summary::-webkit-details-marker {
    display: none;
}

.fix-list summary::after {
    content: '+';
    position: absolute;
    top: 21px;
    right: 0;
    color: #845509;
    font-family: var(--font-mono);
    font-size: 18px;
    letter-spacing: 0;
}

.fix-list details[open] summary::after {
    content: '-';
}

.fix-list p {
    max-width: 46ch;
    margin: -4px 0 24px;
    color: var(--gray-1);
    line-height: 1.6;
}

.channel-strip {
    padding: clamp(40px, 4.8vw, 62px) 0 clamp(38px, 4.8vw, 58px);
    border-top: 1px solid rgba(0,0,0,0.08);
    background: var(--bg);
}

.channel-strip-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: end;
    max-width: 1180px;
    margin-bottom: clamp(20px, 2.8vw, 30px);
}

@media (min-width: 900px) {
    .channel-strip-head {
        grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.66fr);
        gap: clamp(32px, 5vw, 58px);
    }

    .channel-strip-head > span {
        grid-column: 1 / -1;
    }
}

.channel-strip-head > span,
.channel-card span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #845509;
    font-weight: 700;
}

.channel-strip-head h2 {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(44px, 5.2vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.channel-strip-head p {
    max-width: 34ch;
    margin: 0;
    color: var(--gray-1);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.48;
}

.channel-grid,
.channel-index {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(0,0,0,0.18);
    border-bottom: 1px solid rgba(0,0,0,0.18);
}

@media (min-width: 760px) {
    .channel-grid,
    .channel-index {
        grid-template-columns: repeat(3, 1fr);
    }
}

.channel-card {
    min-height: clamp(132px, 10vw, 168px);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.4vw, 16px);
    padding: clamp(22px, 2.1vw, 28px);
    border-bottom: 1px solid rgba(0,0,0,0.16);
    color: inherit;
    text-decoration: none;
    background: transparent;
    transition: background 0.18s ease, transform 0.18s var(--ease-out-soft), border-color 0.18s ease;
}

.channel-card:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

@media (min-width: 760px) {
    .channel-card {
        border-right: 1px solid rgba(0,0,0,0.14);
        border-bottom: 0;
    }

    .channel-card:last-child {
        border-right: 0;
    }
}

.channel-card strong {
    display: block;
    margin: 0;
    max-width: 17ch;
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: clamp(21px, 1.75vw, 26px);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.channel-card em {
    display: block;
    max-width: 30ch;
    color: var(--gray-2);
    font-family: var(--font-mono);
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0.08em;
}

.channel-card p {
    margin: auto 0 0;
    padding-top: clamp(16px, 1.7vw, 22px);
    border-top: 1px solid rgba(0,0,0,0.12);
    max-width: 32ch;
    color: var(--gray-1);
    font-size: 13px;
    line-height: 1.5;
}

.channel-index .channel-card {
    min-height: 0;
}

.channel-index .channel-card strong {
    max-width: 14ch;
    margin-top: clamp(18px, 2.3vw, 28px);
}

.logo-watermark-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-top: clamp(18px, 2.2vw, 28px);
    border-top: 1px solid rgba(0,0,0,0.12);
    border-left: 1px solid rgba(0,0,0,0.12);
}

.watermark-logo {
    min-height: clamp(104px, 9.4vw, 144px);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(0,0,0,0.12);
    color: rgba(0,0,0,0.34);
    text-decoration: none;
    background: rgba(255,255,255,0.12);
    transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.watermark-logo:hover {
    background: rgba(255,255,255,0.28);
    color: var(--fg);
}

.watermark-logo img,
.watermark-logo svg {
    max-width: min(56%, 110px);
    max-height: 56px;
    object-fit: contain;
    opacity: 0.85;
    filter: saturate(0.94);
    transition: opacity 0.18s ease, filter 0.18s ease, transform 0.24s var(--ease-out-soft);
}

.watermark-logo:hover img,
.watermark-logo:hover svg {
    opacity: 1;
    filter: saturate(1);
    transform: translateY(-2px);
}

.watermark-logo::after {
    content: "\2197";
    position: absolute;
    top: 8px;
    right: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1;
    color: #845509;
    opacity: 0.45;
    transition: opacity 0.18s ease, transform 0.18s var(--ease-out-soft);
}

.watermark-logo:hover::after {
    opacity: 1;
    transform: translate(2px, -2px);
}

.watermark-logo span {
    position: absolute;
    left: 10px;
    bottom: 9px;
    right: 10px;
    overflow: hidden;
    color: rgba(0,0,0,0.52);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.watermark-logo:hover span {
    color: var(--fg);
}

.watermark-logo--bakeris .proof-roof-mark {
    width: min(44%, 76px);
}

.watermark-logo--bakeris .proof-roof-mark path {
    stroke-width: 7;
}

.watermark-logo--younes .younes-dragon {
    width: 60px;
    height: 60px;
    background: #1b1714;
    -webkit-mask: url('../img/portfolio/younes/brand/999-LOGO-dragon.jpg') center / 175% no-repeat;
    mask: url('../img/portfolio/younes/brand/999-LOGO-dragon.jpg') center / 175% no-repeat;
    -webkit-mask-mode: luminance;
    mask-mode: luminance;
    opacity: 0.82;
    transition: opacity 0.18s ease, transform 0.24s var(--ease-out-soft);
}

.watermark-logo--younes:hover .younes-dragon {
    opacity: 1;
    transform: translateY(-2px);
}

.watermark-logo--chair img {
    max-height: 62px;
}

.watermark-logo--entroterra img {
    max-height: 47px;
}

.watermark-logo--bondy img {
    max-height: 54px;
}

.watermark-logo--dokyo img {
    max-width: min(40%, 80px);
}

.watermark-logo--anchorbloom img,
.watermark-logo--anchorbloom:hover img {
    max-height: 62px;
    opacity: 1;
    filter: saturate(1.1) contrast(1.35);
}

.logo-card-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-top: clamp(18px, 2.2vw, 28px);
    border-top: 1px solid rgba(0,0,0,0.12);
    border-left: 1px solid rgba(0,0,0,0.12);
}

.logo-card-tile {
    min-height: clamp(118px, 10vw, 156px);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    border-right: 1px solid rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(0,0,0,0.12);
    color: rgba(0,0,0,0.42);
    text-decoration: none;
    background: #f8f5ed;
    transition: background 0.18s ease, color 0.18s ease, transform 0.2s var(--ease-out-soft);
}

.logo-card-tile:hover {
    background: #fffbf2;
    color: var(--fg);
    transform: translateY(-2px);
}

.logo-card-mark {
    display: grid;
    place-items: center;
    min-height: 86px;
    padding: 18px 14px 8px;
}

.logo-card-mark img,
.logo-card-mark svg {
    max-width: min(64%, 112px);
    max-height: 58px;
    object-fit: contain;
    filter: none;
    opacity: 0.56;
    transition: opacity 0.18s ease, transform 0.24s var(--ease-out-soft);
}

.logo-card-tile:hover .logo-card-mark img,
.logo-card-tile:hover .logo-card-mark svg {
    opacity: 0.94;
    transform: scale(1.035);
}

.logo-card-name {
    display: block;
    padding: 0 12px 12px;
    overflow: hidden;
    color: rgba(0,0,0,0.46);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-card-tile--bakeris .proof-roof-mark {
    width: min(58%, 94px);
}

.logo-card-tile--bakeris .proof-roof-mark path,
.logo-card-tile--bondy .proof-line-mark *,
.logo-card-tile--anchorbloom .proof-line-mark * {
    stroke-width: 7;
}

.logo-card-tile--younes img {
    mix-blend-mode: multiply;
}

.logo-card-tile--chair img,
.logo-card-tile--entroterra img {
    max-height: 66px;
}

.logo-card-tile--bondy .bondy-cell,
.logo-card-tile--bondy .bondy-bond { stroke: #c0602f; }
.logo-card-tile--bondy .bondy-dot { stroke: #c0602f; fill: #c0602f; }
.logo-card-tile--anchorbloom .ab-anchor { stroke: #6f9079; }
.logo-card-tile--anchorbloom .ab-bloom * { stroke: #cf8a83; }

.value-strip {
    padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 58px);
    border-top: 1px solid rgba(0,0,0,0.12);
    background: #f1eee6;
}

.value-strip-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: end;
    margin-bottom: clamp(16px, 2.4vw, 24px);
}

@media (min-width: 900px) {
    .value-strip-head {
        grid-template-columns: minmax(0, 0.66fr) minmax(320px, 0.58fr);
        gap: clamp(30px, 4.5vw, 52px);
    }

    .value-strip-head > span {
        grid-column: 1 / -1;
    }
}

.value-strip-head > span,
.value-card > span {
    color: #9f6505;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.value-strip-head h2 {
    margin: 0;
    max-width: 12ch;
    color: var(--fg);
    font-size: clamp(30px, 3.1vw, 44px);
    line-height: 1;
    letter-spacing: -0.035em;
}

.value-strip-head p {
    max-width: 37ch;
    margin: 0;
    color: var(--gray-1);
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.5;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(0,0,0,0.14);
}

@media (min-width: 760px) {
    .value-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
    }
}

.value-card {
    min-height: 130px;
    padding: clamp(16px, 1.8vw, 22px) 0;
    border-bottom: 1px solid rgba(0,0,0,0.14);
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s var(--ease-out-soft);
}

.value-card:hover {
    color: #000;
    transform: translateY(-2px);
}

@media (min-width: 760px) {
    .value-card {
        padding: clamp(18px, 2vw, 24px);
        border-right: 1px solid rgba(0,0,0,0.12);
    }

    .value-card:last-child {
        border-right: 0;
    }
}

.value-card strong {
    display: block;
    margin: clamp(14px, 1.8vw, 20px) 0 8px;
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: clamp(20px, 1.55vw, 24px);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.value-card p {
    max-width: 25ch;
    margin: 0;
    color: var(--gray-1);
    font-size: 12px;
    line-height: 1.48;
}

.creation-log {
    padding-bottom: clamp(72px, 9vw, 120px);
}

.creation-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: clamp(52px, 7vw, 86px);
}

@media (min-width: 900px) {
    .creation-intro {
        grid-template-columns: minmax(0, 0.78fr) 260px;
        align-items: end;
    }
}

.creation-intro p {
    max-width: 68ch;
    margin: 0;
    color: var(--gray-1);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.58;
}

.creation-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.creation-feature p {
    margin-top: 18px;
    max-width: 58ch;
}

.creation-feed {
    display: grid;
    gap: 0;
}

.creation-entry {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: clamp(18px, 4vw, 52px);
    padding: clamp(24px, 4vw, 42px) 0;
    border-top: 1px solid var(--bg-elev);
}

@media (min-width: 900px) {
    .creation-entry {
        grid-template-columns: 140px minmax(0, 1fr);
    }
}

.creation-entry > span,
.roadmap-list > div > span,
.now-grid article span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.creation-entry h2 {
    margin: 0 0 12px;
    max-width: 18ch;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1;
    letter-spacing: -0.03em;
}

.creation-entry p {
    max-width: 66ch;
    margin: 0;
    color: var(--gray-1);
    line-height: 1.58;
}

.now-main {
    padding-bottom: clamp(72px, 9vw, 120px);
}

.now-lede {
    margin-bottom: clamp(48px, 7vw, 82px);
}

.now-lede p {
    max-width: 70ch;
    margin: 0;
    color: var(--gray-1);
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.55;
}

.now-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--bg-elev);
    border-left: 1px solid var(--bg-elev);
    margin-bottom: clamp(58px, 8vw, 96px);
}

@media (min-width: 760px) {
    .now-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.now-grid article {
    min-height: 240px;
    padding: clamp(22px, 3vw, 34px);
    border-right: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
}

.now-grid article h2 {
    margin: 58px 0 14px;
    font-size: clamp(25px, 2.5vw, 36px);
    line-height: 1;
    letter-spacing: -0.03em;
}

.now-grid article p {
    max-width: 30ch;
    margin: 0;
    color: var(--gray-1);
    line-height: 1.55;
}

.now-roadmap {
    margin-bottom: clamp(58px, 8vw, 96px);
}

.roadmap-list {
    border-top: 1px solid var(--bg-elev);
}

.roadmap-list > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: clamp(24px, 4vw, 42px) 0;
    border-bottom: 1px solid var(--bg-elev);
}

@media (min-width: 900px) {
    .roadmap-list > div {
        grid-template-columns: 160px minmax(240px, 0.5fr) minmax(0, 0.65fr);
        gap: 42px;
        align-items: baseline;
    }
}

.roadmap-list h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1;
    letter-spacing: -0.03em;
}

.roadmap-list p {
    max-width: 50ch;
    margin: 0;
    color: var(--gray-1);
    line-height: 1.58;
}

.now-start {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: clamp(28px, 5vw, 48px) 0;
    border-top: 1px solid var(--bg-elev);
    border-bottom: 1px solid var(--bg-elev);
}

@media (min-width: 900px) {
    .now-start {
        grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
        gap: 70px;
        align-items: end;
    }
}

.now-start h2 {
    margin: 0;
    max-width: 15ch;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.now-start p {
    margin: 0;
    max-width: 48ch;
    color: var(--gray-1);
    line-height: 1.58;
}

@media (min-width: 1100px) {
    .hero-pair {
        min-height: auto;
        grid-template-columns: minmax(520px, 0.8fr) minmax(420px, 0.58fr);
        align-items: center;
        padding: clamp(68px, 8vh, 98px) 0 clamp(64px, 8vh, 96px);
    }

    .hero-pair-text h1 {
        max-width: 11.5ch;
        white-space: normal;
        font-size: clamp(66px, 4.7vw, 92px);
        line-height: 0.97;
        letter-spacing: -0.04em;
    }

    .hero-pair-text .sub-hook {
        max-width: 46ch;
        font-size: 18px;
    }
}

@media (min-width: 900px) and (max-width: 1099px) {
    .hero-pair {
        grid-template-columns: 1fr;
        padding-top: 76px;
    }

    .hero-pair-text h1 {
        max-width: 10.5ch;
        white-space: normal;
    }

    .hero-proof-wall {
        max-width: 820px;
    }
}

@media (max-width: 899px) {
    .hero-proof-wall {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero-proof-tile {
        aspect-ratio: 1 / 1;
        min-height: 0;
    }

    .hero-proof-tile.is-large {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 640px) {
    .work-logo-section {
        padding: 28px 0 42px;
    }

    .work-logo-top,
    .work-logo-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .work-logo-top h2 {
        max-width: 9.5ch;
    }

    .work-logo-controls {
        width: 100%;
    }

    .work-logo-controls button {
        flex: 1;
    }

    .work-logo-track {
        grid-auto-columns: minmax(260px, 82vw);
        gap: 10px;
    }

    .work-logo-card {
        min-height: 392px;
    }

    .work-logo-media.proof-mark {
        padding: 24px;
    }

    .work-logo-copy {
        padding: 20px;
    }

    .hero-pair-section {
        overflow: hidden;
    }

    .hero-pair {
        padding: 40px 0 42px;
        gap: 28px;
    }

    .hero-pair-text h1 {
        font-size: clamp(40px, 10vw, 50px);
        line-height: 0.94;
        max-width: 11ch;
        overflow-wrap: normal;
    }

    .hero-pair-text .eyebrow {
        font-size: 9px;
        letter-spacing: 0.1em;
        max-width: 100%;
        overflow-wrap: normal;
    }

    .hero-pair-text .sub-hook {
        max-width: 31ch;
        font-size: 15px;
    }

    .hero-pair-text .cta-row {
        align-items: flex-start;
    }

    .hero-offer-panel {
        width: 100%;
    }

    .hero-offer-top,
    .hero-offer-row {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 16px 18px;
    }

    .hero-offer-top span:last-child {
        display: none;
    }

    .hero-offer-row strong {
        font-size: 22px;
        max-width: 12ch;
        overflow-wrap: break-word;
    }

    .hero-proof-desk {
        width: 100%;
    }

    .proof-desk-top {
        padding: 14px 16px;
    }

    .proof-desk-top span:last-child {
        display: none;
    }

    .proof-desk-feature {
        min-height: 260px;
        padding: 18px;
    }

    .proof-desk-feature strong {
        max-width: 19ch;
        font-size: 24px;
    }

    .proof-desk-ledger a {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 8px 14px;
        padding: 16px;
    }

    .proof-desk-ledger em {
        font-size: 10px;
    }

    .channel-card {
        min-height: 0;
        padding: 18px 20px;
    }

    .channel-card strong {
        margin-top: 6px;
    }

    .channel-index .channel-card strong {
        margin-top: 14px;
    }

    .logo-watermark-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 18px;
    }

    .watermark-logo {
        min-height: 88px;
    }

    .watermark-logo:last-child {
        grid-column: 1 / -1;
    }

    .watermark-logo img,
    .watermark-logo svg {
        max-height: 32px;
    }

    .watermark-logo span {
        font-size: 8px;
    }

    .logo-card-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 18px;
    }

    .logo-card-tile {
        min-height: 112px;
    }

    .logo-card-mark {
        min-height: 78px;
        padding: 16px 12px 6px;
    }

    .logo-card-mark img,
    .logo-card-mark svg {
        max-height: 50px;
    }

    .logo-card-name {
        font-size: 8px;
        padding-bottom: 10px;
    }

    .past-clients-head {
        align-items: flex-start;
        gap: 14px;
    }

    #past-clients {
        padding-top: 44px;
    }

    .past-clients-head .section-desc {
        max-width: 30ch;
        line-height: 1.45;
    }

    .channel-strip {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .channel-strip-head {
        gap: 14px;
        margin-bottom: 24px;
    }

    .channel-strip-head h2 {
        max-width: 10.5ch;
        font-size: clamp(36px, 10vw, 46px);
        line-height: 0.98;
    }

    .channel-strip-head p {
        max-width: 31ch;
    }

    .proof-wall-section {
        padding: 42px 0 48px;
    }

    .proof-wall-head {
        gap: 14px;
        margin-bottom: 24px;
    }

    .proof-wall-head h2,
    .fix-list-layout h2 {
        max-width: 11.5ch;
        font-size: clamp(36px, 10vw, 46px);
        line-height: 0.98;
    }

    .proof-wall-head p {
        max-width: 32ch;
    }

    .proof-wall {
        gap: 12px;
    }

    .proof-wall-feature {
        min-height: 360px;
    }

    .proof-wall-feature div {
        padding: 22px;
    }

    .proof-wall-feature strong {
        font-size: clamp(42px, 14vw, 58px);
    }

    .proof-wall-list a {
        padding: 20px;
    }

    .fix-list-section {
        padding: 42px 0 48px;
    }

    .fix-list-layout {
        gap: 24px;
    }

    .fix-list summary {
        padding: 20px 34px 20px 0;
        font-size: 22px;
    }

    .fix-list summary::after {
        top: 20px;
    }

    .value-strip {
        padding-top: 46px;
        padding-bottom: 42px;
    }

    .value-strip-head {
        gap: 14px;
        margin-bottom: 24px;
    }

    .value-strip-head h2 {
        max-width: 9.5ch;
        font-size: clamp(38px, 10vw, 48px);
        line-height: 0.98;
    }

    .value-strip-head p {
        max-width: 29ch;
    }

    .value-card {
        min-height: 176px;
        padding: 22px;
    }

    .value-card strong {
        margin-top: 28px;
        font-size: clamp(30px, 9vw, 40px);
    }

    .value-card p {
        max-width: 28ch;
    }

    .simple-start h2 {
        max-width: 9ch;
        font-size: clamp(44px, 12vw, 58px);
    }

    .simple-start-cta {
        align-items: flex-start;
    }

    .proof-grid,
    .proof-card,
    .proof-copy,
    .creation-log,
    .creation-intro,
    .creation-feature,
    .creation-feed,
    .creation-entry,
    .now-main,
    .now-lede,
    .now-grid,
    .roadmap-list,
    .now-start {
        min-width: 0;
        max-width: 100%;
    }

    .proof-card {
        width: 100%;
        overflow: hidden;
    }

    .proof-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .proof-copy {
        width: 100%;
        padding-right: 34px;
    }

    .proof-copy h3,
    .proof-copy p,
    .creation-intro p,
    .creation-feature h2,
    .creation-feature p,
    .creation-entry h2,
    .creation-entry p,
    .now-lede p,
    .now-grid article h2,
    .now-grid article p,
    .roadmap-list h2,
    .roadmap-list p,
    .now-start h2,
    .now-start p {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .proof-copy h3,
    .proof-copy p {
        max-width: min(27ch, calc(100vw - 92px));
    }

    .proof-copy h3 {
        max-width: min(18ch, calc(100vw - 116px));
    }

    .creation-entry {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .creation-intro > *,
    .creation-feature > *,
    .creation-entry > *,
    .now-lede > *,
    .now-grid article > *,
    .roadmap-list > div > *,
    .now-start > * {
        min-width: 0;
        max-width: 100%;
    }

    .creation-intro p,
    .creation-feature p,
    .creation-entry h2,
    .creation-entry p,
    .now-lede p,
    .now-grid article p,
    .roadmap-list p,
    .now-start p {
        width: 100%;
        max-width: calc(100vw - 40px);
    }

    .creation-entry h2 {
        font-size: clamp(25px, 8vw, 34px);
    }

    .creation-intro p,
    .now-lede p {
        font-size: 16px;
        line-height: 1.55;
    }

}

@media (max-width: 640px) {
    .contact-page .contact-layout,
    .contact-page .contact-copy,
    .contact-page .contact-lede,
    body:has(.roof-hero) .roof-head,
    body:has(.roof-hero) .roof-head p {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .contact-page .contact-lede,
    body:has(.roof-hero) .roof-head p {
        max-width: min(31ch, calc(100vw - 40px));
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

@media (max-width: 640px) {
    body:has(.creation-log) .container,
    body:has(.now-main) .container {
        overflow: hidden;
    }

    .creation-log,
    .now-main,
    .creation-intro,
    .note-feature,
    .creation-feed,
    .now-lede,
    .now-grid,
    .now-roadmap,
    .roadmap-list,
    .now-start {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .creation-entry {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .creation-entry > span {
        margin-bottom: 2px;
    }

    .creation-intro p,
    .creation-feature p,
    .creation-entry p,
    .now-lede p,
    .roadmap-list p,
    .now-start p {
        max-width: min(31ch, calc(100vw - 64px));
    }

    .now-grid article p {
        max-width: min(29ch, calc(100vw - 92px));
    }

    .now-grid article {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .now-grid article h2 {
        width: 100%;
        max-width: min(12ch, calc(100vw - 88px));
        font-size: clamp(22px, 6.8vw, 28px);
        line-height: 1.08;
    }

    .creation-entry h2,
    .creation-feature h2,
    .roadmap-list h2,
    .now-start h2 {
        max-width: min(10.5ch, calc(100vw - 64px));
    }
}

@media (max-width: 640px) {
    body:has(.rundown-intro-grid) {
        overflow-x: hidden;
    }

    body:has(.rundown-intro-grid) .container,
    body:has(.rundown-intro-grid) main,
    body:has(.rundown-intro-grid) section {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        min-width: 0;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    body:has(.rundown-intro-grid) .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body:has(.rundown-intro-grid) .text-hero .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .services-explain-copy p,
    .services-explain-copy .services-plain,
    .rundown-intro-grid .sub-2,
    .dk-intro p {
        width: min(23ch, calc(100vw - 40px)) !important;
        max-width: min(23ch, calc(100vw - 40px)) !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .services-explain,
    .services-explain-copy,
    .rundown-intro-grid,
    .dk-intro,
    .dk-intro .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .rundown-map-card {
        width: min(100%, calc(100vw - 40px)) !important;
        max-width: calc(100vw - 40px) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
    }

    .rundown-map-card .map-nodes {
        grid-template-columns: 1fr !important;
    }

    .rundown-map-card .map-nodes span {
        max-width: 100%;
        box-sizing: border-box;
    }

    .rundown-week-grid,
    .day-block,
    .day-block > div,
    .day-body,
    .rundown-output,
    .deliverable-board,
    .memo-card,
    .audit-accordion,
    .audit-accordion details,
    .audit-accordion summary,
    .audit-accordion p,
    .audit-accordion ul {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: normal;
        white-space: normal !important;
    }

    .day-block {
        padding: 18px 16px;
        overflow: hidden;
    }

    .day-body,
    .deliverable-card p,
    .memo-card,
    .audit-accordion p,
    .audit-accordion li,
    .section-desc {
        max-width: 31ch;
        font-size: 12px;
        line-height: 1.5;
    }

    .day-body,
    .deliverable-card p {
        max-width: 28ch;
    }

    .day-icon {
        display: none;
    }

    body:has(.rundown-intro-grid) main section h2 {
        width: 100%;
        max-width: min(9.5ch, calc(100vw - 40px));
        min-width: 0;
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.02;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

/* HERO v2 — type-led with cinematic proof band
   ============================================= */

.hero-cine {
    padding: clamp(54px, 6.5vw, 84px) 0 clamp(58px, 7vw, 96px);
}

.hero-cine h1 {
    font-size: clamp(44px, 7.2vw, 116px);
    line-height: 0.97;
    letter-spacing: -0.028em;
    color: #fff;
    margin: 0;
    max-width: 19ch;
    text-wrap: balance;
}

.hero-cine-row {
    margin-top: clamp(28px, 3.4vw, 44px);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px 48px;
    flex-wrap: wrap;
}

.hero-cine-row .sub-hook {
    margin-bottom: 0;
    color: rgba(255,255,255,0.72);
    max-width: 46ch;
}

.hero-cine-row .cta-row {
    margin: 0;
}

.hero-cine-media {
    position: relative;
    display: block;
    margin-top: clamp(40px, 5vw, 72px);
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
}

.hero-cine-media img {
    display: block;
    width: 100%;
    aspect-ratio: 21 / 8;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-soft);
}

.hero-cine-media:hover img {
    transform: scale(1.015);
}

.hero-cine-media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(7,7,7,0) 48%, rgba(7,7,7,0.74) 100%);
}

@media (max-width: 720px) {
    .hero-cine-media::after {
        background: linear-gradient(180deg, rgba(7,7,7,0) 24%, rgba(7,7,7,0.78) 72%, rgba(7,7,7,0.88) 100%);
    }
}

.hero-cine-caption {
    position: absolute;
    left: clamp(18px, 2.4vw, 30px);
    right: clamp(18px, 2.4vw, 30px);
    bottom: clamp(16px, 2vw, 26px);
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px 28px;
    flex-wrap: wrap;
}

.hero-cine-caption > span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-cine-caption strong {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(16px, 1.5vw, 21px);
    color: #fff;
}

@media (max-width: 700px) {
    .hero-cine-media img {
        aspect-ratio: 4 / 3;
    }
    .hero-cine-caption strong {
        font-size: 15px;
    }
}

/* RUNDOWN v2 — facts list replaces map card, step numbers replace icons */

.rundown-facts {
    align-self: center;
    border-top: 1px solid var(--bg-elev);
}

.rundown-facts > div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    align-items: baseline;
    padding: 14px 2px;
    border-bottom: 1px solid var(--bg-elev);
}

.rundown-facts span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-2);
}

.rundown-facts strong {
    font-weight: 500;
    font-size: 15px;
    color: var(--fg);
    letter-spacing: -0.005em;
}

.day-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--accent);
}

/* The global CLS rule (img[width][height] { height: auto }) outranks the
   inline .work-tile-media img { height: 100% } on specificity, so portrait
   images overflow their 16/10 tile and show only the top slice. Re-assert. */
.work-tile .work-tile-media img[width][height] {
    height: 100%;
}

.work-tile[href="/bondy"] .work-tile-media img {
    object-position: center 62%;
}
