/* option.black — Heavy-Metal Heraldic v7
 * Locked direction: Richard's gpt-image-2 concept zip (2026-04-23).
 * No paper, no Editorial Folio. Carbon-fiber + chrome + gunmetal + gold.
 */

:root {
    --bg-deep:        #07080A;  /* the carbon weave underneath */
    --bg-near:        #0E1014;  /* card faces, panel surfaces */
    --bg-up:          #15171C;  /* hover states, active panels */
    --steel-hi:       #C8CAD0;  /* polished chrome highlight */
    --steel:          #8A8C92;  /* brushed steel midtone */
    --steel-lo:       #3E4046;  /* gunmetal shadow */
    --gold:           #D4A838;  /* Bench Slap PRO gold */
    --gold-lo:        #8B6914;  /* gold shadow */
    --blue-cool:      #4A78B0;  /* chrome rim accent */
    --navy:           #0F1B33;  /* sigil background blue */

    /* HEAT — oxblood accent. Used for emphasis, hover, the heat-line.
       Per Richard 2026-05-07: "make the color palette more interesting
       than this boring fucking crap." Heat that complements gold without
       arguing with it. Do not overuse — scarcity gives it power. */
    --oxblood:        #7B0F1F;
    --oxblood-hi:     #9C1A2A;
    --oxblood-deep:   #4A0710;

    --ink-strong:     #F2F4F8;  /* primary text */
    --ink-soft:       #B6BAC2;  /* secondary text */
    --ink-mute:       #6E7178;  /* tertiary */
    --rule-faint:     rgba(200, 202, 208, 0.10);
    --rule-mid:       rgba(200, 202, 208, 0.22);

    /* Type — Fraunces is the new display face. Variable serif w/ optical
       sizing; reads better than Cinzel at body sizes and has more
       characterful display weights. Cormorant kept as the italic body.
       Ordered: Fraunces first, Cinzel fallback during font-load. */
    --display:  'Fraunces', 'Cinzel', 'Trajan Pro', Georgia, serif;
    --serif:    'Cormorant Garamond', Georgia, serif;
    --sans:     'Inter', system-ui, sans-serif;
    --mono:     'JetBrains Mono', 'Menlo', monospace;
}

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

html, body {
    background: var(--bg-deep);
    color: var(--ink-strong);
    font-family: var(--sans);
    /* 2026-05-07 — visitors don't have 20/20. Body bumped 16→18px, line
       height a touch tighter so two-line headlines stay readable. */
    font-size: 18px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── carbon-fiber weave background (pure CSS) ─────────────────────── */
body.foyer-v7 {
    min-height: 100vh;
    background:
        /* horizontal weave */
        repeating-linear-gradient(0deg,
            rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px,
            transparent 1px, transparent 4px),
        /* vertical weave */
        repeating-linear-gradient(90deg,
            rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px,
            transparent 1px, transparent 4px),
        /* subtle radial vignette to suggest a center light */
        radial-gradient(ellipse 90vw 70vh at 50% 35%, rgba(74, 120, 176, 0.04), transparent 70%),
        /* base gunmetal gradient */
        linear-gradient(135deg, #0A0C10 0%, #07080A 40%, #0A0B0F 100%);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.skip-link {
    position: absolute; top: -100px; left: 1rem;
    background: var(--steel-hi); color: var(--bg-deep);
    padding: 8px 14px; font-weight: 500; z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ─────────────────────── MAIN COMPOSITION ─────────────────────── */

.foyer {
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(32px, 4vw, 72px) clamp(24px, 5vw, 64px);
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: stretch;
    min-height: 100vh;
}

@media (max-width: 980px) {
    .foyer {
        grid-template-columns: 1fr;
        padding: 24px 20px 48px;
    }
}

/* ── LEFT: chrome plate (OB monogram + wordmark + profile hex) ─── */

/* Tightened 2026-05-07 — hero plate compacted so Client Portal door + the
   Consigliere chat input both clear the fold on a 1080×720 viewport. */
.plate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(12px, 1.6vw, 20px);
    padding: clamp(4px, 1vw, 14px) 0;
}

.plate-monogram {
    width: clamp(140px, 18vw, 220px);
    height: auto;
    align-self: flex-start;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.55));
    user-select: none;
}

.plate-wordmark {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(34px, 5.4vw, 72px);
    letter-spacing: 0.02em;
    line-height: 0.95;
    background:
        linear-gradient(180deg,
            #E6E8EC 0%,
            #B8BAC0 38%,
            #6E7076 60%,
            #B8BAC0 82%,
            #E6E8EC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(50, 52, 58, 0.5);
    text-shadow:
        0 1px 0 rgba(255,255,255,0.05),
        0 -1px 0 rgba(0,0,0,0.55),
        0 14px 28px rgba(0,0,0,0.6);
    margin-top: 4px;
}
/* The dot between OPTION and BLACK — tinted oxblood as the single point
   of heat in the wordmark. -webkit-text-fill-color overrides the chrome
   background-clip:text gradient so the heat actually shows through. */
.plate-wordmark .dot {
    color: var(--oxblood-hi);
    -webkit-text-fill-color: var(--oxblood-hi);
    -webkit-text-stroke: 1px var(--oxblood-deep);
    text-shadow: 0 0 18px rgba(156, 26, 42, 0.42);
}

.plate-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 4px;
}

.plate-attribution {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 44ch;
    border-top: 1px solid var(--rule-faint);
    padding-top: 16px;
    margin-top: 8px;
}
.plate-attribution strong { color: var(--ink-strong); font-weight: 500; }

.plate-contact {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--steel);
    margin-top: 4px;
    line-height: 1.85;
    letter-spacing: 0.04em;
}
.plate-contact a { color: var(--steel-hi); }
.plate-contact a:hover { color: var(--gold); }

/* Send-a-secure-message — proper VISIBLE button (was tiny mono link) */
.plate-secure-btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: 10px;
    padding: 14px 26px;
    background: linear-gradient(180deg, rgba(232,200,90,0.12) 0%, rgba(20,20,26,0.92) 50%, rgba(232,200,90,0.12) 100%);
    color: var(--gold-hi, #E8C547);
    border: 1.5px solid var(--gold);
    border-radius: 4px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 240ms ease, background 240ms ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.plate-secure-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(232,200,90,0.22) 0%, rgba(40,40,50,0.95) 50%, rgba(232,200,90,0.22) 100%);
    box-shadow: 0 12px 28px -10px rgba(212, 168, 56, 0.55);
}

/* The headline CTA — Try the Consigliere. Premium gold-pill treatment
 * with a proper top highlight so it stands out as THE primary action.
 * Placed above the small chrome Client Sign-In pill so prospective
 * employers/licensees see the public demo first. */
.plate-cta {
    display: flex; flex-direction: column; gap: 4px;
    margin-top: 14px;
    padding: 18px 22px;
    background:
        linear-gradient(180deg,
            rgba(232, 200, 90, 0.18) 0%,
            rgba(139, 105, 20, 0.50) 50%,
            rgba(232, 200, 90, 0.18) 100%),
        linear-gradient(135deg, #1A1C22 0%, #0E1014 50%, #1A1C22 100%);
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: var(--gold-hi, #E8C547);
    text-decoration: none;
    transition: transform 280ms ease, box-shadow 320ms ease, border-color 280ms ease;
    position: relative;
    align-self: flex-start;
    max-width: 360px;
}
.plate-cta::before {
    content: ''; position: absolute; left: 1px; right: 1px; top: 1px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    pointer-events: none;
}
.plate-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -18px rgba(212, 168, 56, 0.55);
    border-color: var(--gold);
}
.plate-cta-eye {
    font-family: var(--mono); font-size: 9px;
    text-transform: uppercase; letter-spacing: 0.22em;
    color: var(--gold);
}
.plate-cta-title {
    font-family: var(--display); font-weight: 600;
    font-size: 22px;
    color: var(--ink-strong);
    letter-spacing: 0.02em;
}
.plate-cta-aux {
    font-family: var(--serif); font-style: italic;
    font-size: 13px; color: var(--ink-soft);
}

/* Profile/login hex underneath, small */
.plate-login {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 10px 18px 10px 12px;
    background: var(--bg-near);
    border: 1px solid var(--rule-mid);
    color: var(--ink-strong);
    font-family: var(--sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    font-weight: 500;
    transition: border-color 280ms ease, background 280ms ease;
    align-self: flex-start;
}
.plate-login:hover { border-color: var(--gold); background: var(--bg-up); }
.plate-login::before {
    content: '';
    width: 24px; height: 24px;
    background: linear-gradient(135deg, var(--steel-lo), var(--steel) 50%, var(--steel-hi));
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ── RIGHT: 4-row themed grid (3 cols × row-label + 3-tile rows) ── */

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    column-gap: clamp(12px, 1.5vw, 22px);
    row-gap: clamp(10px, 1.4vw, 18px);
    align-content: start;
}

.rooms-grid .row-label {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 4px 4px;
    border-bottom: 1px solid rgba(216, 168, 56, 0.18);
    margin-top: 8px;
}
.rooms-grid .row-label:first-child { margin-top: 0; }
/* Roman numerals get the heat treatment — oxblood serif numerals signal
   "section" without competing with gold which carries the rule lines. */
.row-label-eye {
    font-family: var(--display);
    font-size: 18px;
    letter-spacing: 0.08em;
    color: var(--oxblood-hi);
    font-weight: 500;
    font-style: italic;
}
.row-label-text {
    font-family: var(--display);
    font-size: clamp(13px, 1.15vw, 16px);
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-strong);
}

/* Legacy alias for stale references — point them at the new grid */
.rooms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: clamp(14px, 2vw, 26px);
    align-content: center;
}

@media (max-width: 720px) {
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
    .rooms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .rooms-grid { grid-template-columns: 1fr; }
    .rooms { grid-template-columns: 1fr; }
    .rooms-grid .row-label { padding-top: 18px; }
}

.room {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(160deg, var(--bg-near) 0%, var(--bg-deep) 100%);
    border: 1px solid var(--rule-mid);
    padding: 14px 12px 16px;
    transition: transform 360ms cubic-bezier(.2,.65,.2,1),
                border-color 360ms ease,
                box-shadow 360ms ease;
    overflow: hidden;
    color: var(--ink-strong);
    text-decoration: none;
}
.room::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(220px 140px at 50% 0%, rgba(212, 168, 56, 0.10), transparent 70%);
    opacity: 0;
    transition: opacity 360ms ease;
    pointer-events: none;
}
.room:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: 0 18px 36px -22px rgba(212, 168, 56, 0.4);
}
.room:hover::before { opacity: 1; }

.room-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 305 / 220;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.room-meta {
    position: absolute; left: 14px; bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: var(--mono);
    text-shadow: 0 1px 6px rgba(0,0,0,0.85);
    pointer-events: none;
}
/* Tile caption — bumped 9px→13px eyebrow / 13px→17px caption for readability.
   Visitors aren't 20/20 and 9px text is invisible at any normal viewing
   distance. */
.room-eyebrow {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-hi, #E8C547);
}
.room-caption {
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    line-height: 1.3;
    color: var(--ink-strong);
    max-width: 92%;
    margin-top: 4px;
}

/* ── footer chamber ─────────────────────────────────────────────── */

.foot {
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px clamp(24px, 5vw, 64px) 40px;
    border-top: 1px solid var(--rule-faint);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
    font-family: var(--sans);
    font-size: 12px;
    color: var(--ink-soft);
}
@media (max-width: 720px) { .foot { grid-template-columns: 1fr; } }

.foot strong { color: var(--ink-strong); font-weight: 500; }
.foot a { color: var(--steel-hi); }
.foot a:hover { color: var(--gold); }

.foot-links {
    display: flex; gap: 22px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

/* The heat-line. Oxblood, italic Cormorant, sized up so it reads as a
   declaration not a footnote. Per Richard's directive 2026-05-07. */
.foot-epitaph {
    grid-column: 1 / -1;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(156, 26, 42, 0.22);
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(15px, 1.6vw, 19px);
    color: var(--oxblood-hi);
    letter-spacing: 0.04em;
    text-shadow: 0 0 18px rgba(156, 26, 42, 0.18);
}

/* ── load animations — fast & quiet, no slow theatrics ─────────────── */

@media (prefers-reduced-motion: no-preference) {
    .plate-monogram   { opacity: 0; animation: rise 500ms cubic-bezier(.2,.65,.2,1) 60ms forwards; }
    .plate-wordmark   { opacity: 0; animation: fade 600ms ease 200ms forwards; }
    .plate-tagline    { opacity: 0; animation: fade 500ms ease 320ms forwards; }
    .plate-attribution{ opacity: 0; animation: fade 500ms ease 400ms forwards; }
    .plate-contact    { opacity: 0; animation: fade 500ms ease 460ms forwards; }
    .plate-cta        { opacity: 0; animation: fade 500ms ease 540ms forwards; }
    .plate-doors      { opacity: 0; animation: fade 500ms ease 600ms forwards; }
    .room {
        opacity: 0; transform: translateY(6px);
        animation: rise 480ms cubic-bezier(.2,.65,.2,1) forwards;
        animation-delay: calc(700ms + var(--delay, 0ms));
    }
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }

/* ─────────────────────────────────────────────────────────────────────
   v7.2 — supreme expansion: the band sections under the hero.
   Each band sits below the hero foyer, separated by chrome dividers.
   The carbon-fiber backdrop continues throughout; bands add chrome
   gradient edges + gold accents.
   ───────────────────────────────────────────────────────────────────── */

.band {
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(64px, 8vw, 120px) clamp(24px, 5vw, 64px);
    position: relative;
}
.band + .band { border-top: 1px solid var(--rule-faint); }
.band::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--brass) 35%, var(--brass-hi, #E8C547) 50%, var(--brass) 65%, transparent 100%);
    opacity: 0.35;
    pointer-events: none;
}

.band-head {
    max-width: 760px;
    margin: 0 auto clamp(36px, 4vw, 56px);
    text-align: center;
}
.band-eye {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--gold);
    margin-bottom: 18px;
}
.band-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, #E6E8EC 0%, #B8BAC0 50%, #6E7076 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}
.band-lede {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 64ch;
    margin: 0 auto;
}
.band-lede strong { color: var(--gold); font-style: normal; font-weight: 500; }
.band-lede em { color: var(--ink-strong); font-style: italic; }

/* ── INSTRUMENTS GRID ────────────────────────────────────────────── */

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(18px, 2vw, 32px);
    max-width: 1280px;
    margin: 0 auto;
}

.instrument {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 22px 26px;
    background: linear-gradient(180deg, var(--bg-near) 0%, var(--bg-deep) 100%);
    border: 1px solid var(--rule-mid);
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink-strong);
    transition: transform 380ms cubic-bezier(.2,.65,.2,1), border-color 380ms ease, box-shadow 380ms ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.instrument::before {
    content: ''; position: absolute; left: 1px; right: 1px; top: 1px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    pointer-events: none;
}
.instrument::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(280px 180px at 50% -20%, rgba(212, 168, 56, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 360ms ease;
    pointer-events: none;
}
.instrument:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 30px 60px -28px rgba(212, 168, 56, 0.45);
}
.instrument:hover::after { opacity: 1; }
.instrument[data-tier="elite"] {
    border-color: rgba(212, 168, 56, 0.32);
}
.instrument[data-tier="elite"]::before {
    background: linear-gradient(90deg, transparent, rgba(212, 168, 56, 0.55), transparent);
}

.instrument-img {
    width: clamp(150px, 14vw, 200px);
    height: auto;
    align-self: center;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.55));
    transition: transform 460ms cubic-bezier(.2,.65,.2,1);
}
.instrument:hover .instrument-img { transform: scale(1.05); }

.instrument-meta {
    display: flex; flex-direction: column; gap: 6px;
}
.instrument-tier {
    font-family: var(--mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
}
.instrument-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 22px;
    color: var(--ink-strong);
    letter-spacing: 0.02em;
}
.instrument-line {
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ── PLATE CHAT — above-the-fold Consigliere input ─────────────────────
   Replaces the previous "Talk to the Consigliere →" CTA button. Visitors
   see an actual input on first render — typing into it scrolls to the
   full Consigliere band below and seeds the question. */
.plate-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 16px 18px 18px;
    background:
        linear-gradient(180deg,
            rgba(232, 200, 90, 0.08) 0%,
            rgba(20, 20, 26, 0.95) 30%,
            rgba(20, 20, 26, 0.95) 100%);
    border: 1px solid rgba(212, 168, 56, 0.55);
    border-radius: 8px;
    position: relative;
}
.plate-chat::before {
    content: '';
    position: absolute; left: 1px; right: 1px; top: 1px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    pointer-events: none;
}
.plate-chat-eye {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--gold);
    margin: 0;
}
.plate-chat-label {
    font-family: var(--display);
    font-weight: 500;
    font-size: 18px;
    color: var(--ink-strong);
    letter-spacing: 0.01em;
    margin: 0 0 4px;
}
.plate-chat-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}
.plate-chat-input {
    appearance: none;
    background: var(--bg-deep);
    color: var(--ink-strong);
    border: 1px solid var(--rule-mid);
    border-radius: 4px;
    padding: 12px 14px;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.4;
    transition: border-color 220ms ease, box-shadow 220ms ease;
    min-width: 0;
}
.plate-chat-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 168, 56, 0.18);
}
.plate-chat-input::placeholder { color: var(--ink-mute); }
.plate-chat-send {
    appearance: none;
    background: linear-gradient(180deg, #E8C547 0%, #D4AF37 50%, #8B6914 100%);
    color: #0E0E12;
    border: 1px solid #8B6914;
    border-radius: 4px;
    padding: 12px 18px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
    white-space: nowrap;
}
.plate-chat-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -10px rgba(212, 168, 56, 0.55);
    filter: brightness(1.06);
}
.plate-chat-aux {
    font-family: var(--serif);
    font-style: italic;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.5;
}

/* Hide the now-redundant gold CTA card — the inline chat replaces it */
.plate-cta { display: none; }

/* ── PLATE DOORS — 2×2 grid keeps Client Portal above the fold ── */
.plate-doors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
@media (max-width: 540px) { .plate-doors { grid-template-columns: 1fr; } }
.plate-door {
    display: flex;
    flex-direction: column;
    padding: 9px 12px;
    background: var(--bg-near);
    border: 1px solid var(--rule-mid);
    border-radius: 6px;
    text-decoration: none;
    color: var(--ink-strong);
    transition: border-color 240ms ease, background 240ms ease, transform 240ms ease;
    line-height: 1.25;
}
.plate-door:hover {
    border-color: var(--gold);
    background: var(--bg-up);
    transform: translateX(2px);
}
.plate-door-eye {
    font-family: var(--mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-mute);
    margin-bottom: 4px;
}
.plate-door:hover .plate-door-eye { color: var(--gold); }
.plate-door-title {
    font-family: var(--display);
    font-weight: 500;
    font-size: 14px;
    color: var(--ink-strong);
    letter-spacing: 0.04em;
}
.plate-door:hover .plate-door-title { color: var(--gold); }

.plate-door--consult { border-left: 3px solid var(--gold); }
.plate-door--client  { border-left: 3px solid var(--steel-hi, #B8BAC0); }
.plate-door--register { border-left: 3px solid var(--gold-lo); }
.plate-door--hire { border-left: 3px solid #6E7178; }

/* Scroll to consigliere band smoothly */
html { scroll-behavior: smooth; }

/* ── CHATTABLE CONSIGLIERE — multi-turn ───────────────────────────── */

.band--consigliere {
    background:
        radial-gradient(ellipse 90vw 60vh at 50% 0%, rgba(212, 168, 56, 0.05), transparent 70%);
}

.consigliere-card {
    max-width: 980px;
    margin: 0 auto;
    background: var(--bg-near);
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: clamp(24px, 3vw, 40px);
    position: relative;
    box-shadow: 0 36px 88px -34px rgba(0,0,0,0.88);
}
.consigliere-card::before {
    content: ''; position: absolute; left: 1px; right: 1px; top: 1px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    pointer-events: none;
}

.consigliere-thread {
    min-height: 320px;
    max-height: 56vh;
    overflow-y: auto;
    padding: 24px 28px 32px;
    margin-bottom: 18px;
    /* Warmer, dimensional dark — slate-navy with a soft amber glow at the
       top so the chat thread feels like a lit antechamber, not a void. */
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, rgba(212, 168, 56, 0.06), transparent 70%),
        radial-gradient(ellipse 70% 40% at 100% 100%, rgba(74, 120, 176, 0.05), transparent 60%),
        linear-gradient(180deg, #0E141C 0%, #0A0C12 100%);
    border: 1px solid rgba(212, 168, 56, 0.22);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    scroll-behavior: smooth;
}
.consigliere-thread::-webkit-scrollbar { width: 8px; }
.consigliere-thread::-webkit-scrollbar-thumb { background: var(--rule-mid); border-radius: 4px; }
.consigliere-thread::-webkit-scrollbar-thumb:hover { background: var(--gold-lo); }

/* ── BUTLER CHAT — bubble layout 2026-05-07 ────────────────────────
   User on RIGHT (warm-amber gradient).
   Consigliere on LEFT with a chrome OB monogram avatar (more friendly
   than just "CONSIGLIERE" mono text).
   Bigger text. Warmer color. Visible "who's talking" at a glance. */
.msg {
    max-width: 78%;
    padding: 16px 20px 14px;
    border-radius: 14px;
    line-height: 1.55;
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink-strong);
    position: relative;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.msg p { margin: 0; white-space: pre-wrap; }
.msg-role {
    font-family: var(--display);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: block;
}

/* USER bubble — RIGHT side, warm amber gradient with subtle ring */
.msg--user {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(232, 197, 71, 0.16) 0%, rgba(139, 105, 20, 0.32) 100%);
    border: 1px solid rgba(232, 197, 71, 0.55);
    border-bottom-right-radius: 4px;   /* tail toward right edge */
    box-shadow: 0 4px 14px rgba(212, 168, 56, 0.10);
}
.msg--user .msg-role {
    color: var(--gold-hi, #E8C547);
    align-self: flex-end;
}

/* CONSIGLIERE bubble — LEFT side, paired with avatar to the left of it */
.msg--assistant {
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(60, 100, 156, 0.12) 0%, rgba(20, 28, 44, 0.85) 100%);
    border: 1px solid rgba(168, 200, 240, 0.36);
    border-bottom-left-radius: 4px;    /* tail toward left edge */
    margin-left: 56px;                 /* room for the avatar */
}
.msg--assistant::before {
    content: '';
    position: absolute;
    left: -56px;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background:
        url('/img/option-black-v7/ob-monogram.png?v=7.7.0') center/72% no-repeat,
        radial-gradient(circle at 30% 30%, #2a3548, #0e1422);
    border: 1.5px solid rgba(168, 200, 240, 0.45);
    box-shadow: 0 4px 12px rgba(0,0,0,0.55);
}
.msg--assistant .msg-role { color: #A8C8F0; }

.msg--streaming .msg-role::after {
    content: ' ▍'; color: var(--gold);
    animation: consig-blink 900ms infinite;
}
@keyframes consig-blink { 50% { opacity: 0; } }

.consigliere-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 14px;
}
.consig-chip {
    padding: 8px 14px;
    background: var(--bg-up);
    border: 1px solid var(--rule-mid);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    cursor: pointer;
    transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}
.consig-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 168, 56, 0.07);
}

.consigliere-input-row {
    display: flex; gap: 10px;
    margin-bottom: 14px;
}
.consigliere-input {
    flex: 1;
    padding: 14px 18px;
    background: var(--bg-deep);
    border: 1px solid var(--rule-mid);
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink-strong);
    resize: vertical;
    min-height: 56px;
    transition: border-color 220ms ease, background 220ms ease;
}
.consigliere-input:focus { outline: none; border-color: var(--gold); background: var(--bg-up); }
.consigliere-send {
    padding: 0 28px;
    min-height: 56px;
    font-family: var(--display);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    background:
        linear-gradient(180deg, rgba(232, 200, 90, 0.22) 0%, rgba(139, 105, 20, 0.85) 50%, rgba(232, 200, 90, 0.22) 100%),
        var(--bg-near);
    background-blend-mode: overlay, normal;
    border: 1px solid var(--gold);
    border-radius: 6px;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease;
    position: relative;
    white-space: nowrap;
}
.consigliere-send::before {
    content: ''; position: absolute; left: 1px; right: 1px; top: 1px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
}
.consigliere-send:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -18px rgba(212, 168, 56, 0.55); }
.consigliere-send:disabled { opacity: 0.5; cursor: wait; transform: none; box-shadow: none; }

.consigliere-fine {
    margin-top: 8px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.05em;
    line-height: 1.7;
    text-align: center;
}
.consigliere-fine strong { color: var(--gold); font-weight: 500; }
.consigliere-fine a { color: var(--gold); }

/* ── CORONA CIVICA — civic-crown band (after the consigliere) ──── */
.band--corona {
    padding: 36px 24px 16px;
    text-align: center;
    color: var(--gold);
    background:
        radial-gradient(ellipse 60vw 30vh at 50% 50%, rgba(212, 168, 56, 0.025), transparent 70%);
    border-top: 1px solid rgba(212, 168, 56, 0.08);
    border-bottom: 1px solid rgba(212, 168, 56, 0.08);
}
.corona-mark {
    color: var(--gold);
    margin: 0 auto 14px;
    line-height: 0;
    opacity: 0.95;
}
.corona-mark img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(212, 168, 56, 0.18));
}
.corona-motto {
    font-family: var(--display);
    font-size: clamp(15px, 1.6vw, 18px);
    letter-spacing: 0.2em;
    color: var(--gold);
    margin: 0 0 10px;
}
.corona-motto strong { letter-spacing: 0.28em; font-weight: 600; }
.corona-motto em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--ink-soft);
    font-weight: 400;
    letter-spacing: 0.04em;
    display: block;
    margin-top: 4px;
    font-size: 14px;
}
.corona-gloss {
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-mute);
    max-width: 56ch;
    margin: 0 auto;
}

/* ── THE STACK — tech inquiry cards ───────────────────────────────── */

.band--stack {
    background:
        radial-gradient(ellipse 80vw 50vh at 50% 0%, rgba(212, 168, 56, 0.04), transparent 75%);
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto 22px;
}

.stack-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: stretch;
    padding: 16px 18px;
    background: var(--bg-near);
    border: 1px solid var(--rule-mid);
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink-strong);
    position: relative;
    overflow: hidden;
    transition: border-color 280ms ease, transform 280ms ease, box-shadow 280ms ease, background 280ms ease;
}
.stack-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold);
    opacity: 0.55;
    transition: opacity 280ms ease;
}
.stack-card:hover {
    border-color: var(--gold);
    background: var(--bg-up);
    transform: translateY(-2px);
    box-shadow: 0 24px 60px -32px rgba(212, 168, 56, 0.35);
}
.stack-card:hover::before { opacity: 1; }

.stack-emblem {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--bg-deep);
    border: 1px solid rgba(212, 168, 56, 0.15);
    flex-shrink: 0;
    align-self: start;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.stack-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.stack-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 19px;
    color: var(--ink-strong);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.stack-tag {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.3;
}

.stack-line {
    font-family: var(--serif);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 4px 0 0;
}
.stack-line strong { color: var(--gold); font-weight: 500; font-style: normal; }
.stack-line em { color: var(--ink-strong); font-style: normal; font-family: var(--mono); font-size: 13px; }

.stack-cta {
    margin-top: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    transition: color 240ms ease;
}
.stack-card:hover .stack-cta { color: var(--gold); }

.stack-foot {
    text-align: center;
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--ink-mute);
    line-height: 1.7;
}
.stack-foot a { color: var(--gold); }

@media (max-width: 880px) {
    .stack-grid { grid-template-columns: 1fr; gap: 12px; }
    .stack-card { padding: 14px; gap: 14px; grid-template-columns: 80px 1fr; }
    .stack-emblem { width: 80px; height: 80px; }
    .stack-name { font-size: 17px; }
    .stack-line { font-size: 14px; }
}

@media (max-width: 540px) {
    .stack-card { grid-template-columns: 64px 1fr; padding: 12px; gap: 12px; }
    .stack-emblem { width: 64px; height: 64px; }
    .stack-name { font-size: 16px; }
    .stack-tag { font-size: 9.5px; letter-spacing: 0.1em; }
    .stack-line { font-size: 13.5px; line-height: 1.55; }
    .stack-cta { font-size: 10px; letter-spacing: 0.1em; }
}

/* iPad: 2-col grid stays but compresses card padding so 7 cards
   fit two screen-heights on a 9.7" iPad in portrait. */
@media (min-width: 768px) and (max-width: 1023px) {
    .stack-card { padding: 14px 16px; grid-template-columns: 88px 1fr; }
    .stack-emblem { width: 88px; height: 88px; }
    .stack-line { font-size: 14px; }
}

/* ── INLINE CONSIGLIERE TRIAL (legacy — preserved for any older link) ─── */

.band--trial {
    background:
        radial-gradient(ellipse 90vw 60vh at 50% 0%, rgba(212, 168, 56, 0.04), transparent 70%);
}

.trial-card {
    max-width: 920px;
    margin: 0 auto;
    background: var(--bg-near);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: clamp(28px, 3.5vw, 44px);
    position: relative;
    box-shadow: 0 30px 80px -34px rgba(0,0,0,0.85);
}
.trial-card::before {
    content: ''; position: absolute; left: 1px; right: 1px; top: 1px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    pointer-events: none;
}
.trial-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 18px;
}
.trial-chip {
    padding: 9px 16px;
    background: var(--bg-up);
    border: 1px solid var(--rule-mid);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-soft);
    cursor: pointer;
    transition: border-color 260ms ease, color 260ms ease, background 260ms ease;
}
.trial-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 168, 56, 0.06);
}
.trial-input-row {
    display: flex; gap: 10px;
    margin-bottom: 18px;
}
.trial-input {
    flex: 1;
    padding: 14px 18px;
    background: var(--bg-deep);
    border: 1px solid var(--rule-mid);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink-strong);
    transition: border-color 240ms ease, background 240ms ease;
}
.trial-input:focus { outline: none; border-color: var(--gold); background: var(--bg-up); }
.trial-send {
    padding: 14px 26px;
    font-family: var(--display);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    background:
        linear-gradient(180deg, rgba(232, 200, 90, 0.22) 0%, rgba(139, 105, 20, 0.85) 50%, rgba(232, 200, 90, 0.22) 100%),
        var(--bg-near);
    background-blend-mode: overlay, normal;
    border: 1px solid var(--gold);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
    position: relative;
}
.trial-send::before {
    content: ''; position: absolute; left: 1px; right: 1px; top: 1px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    pointer-events: none;
}
.trial-send:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -18px rgba(212, 168, 56, 0.55); }
.trial-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.trial-reply {
    min-height: 180px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 22px 26px;
    background: var(--bg-deep);
    border: 1px solid var(--rule-mid);
    border-radius: 6px;
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-strong);
    white-space: pre-wrap;
    word-break: break-word;
}
.trial-reply.is-idle { color: var(--ink-mute); font-style: italic; }
.trial-reply.is-streaming::after {
    content: '▍';
    color: var(--gold);
    animation: trial-blink 900ms infinite;
    margin-left: 2px;
}
@keyframes trial-blink { 50% { opacity: 0; } }

.trial-fine {
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.06em;
    line-height: 1.7;
    text-align: center;
}
.trial-fine strong { color: var(--gold); font-weight: 500; }
.trial-fine a { color: var(--gold); }

/* ── PRACTITIONER (Sanders bona fides) ────────────────────────────── */

.practitioner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}
@media (max-width: 880px) {
    .practitioner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
}

.practitioner-mark img {
    width: 100%;
    max-width: 460px;
    height: auto;
    justify-self: center;
    filter: drop-shadow(0 28px 56px rgba(0,0,0,0.7));
}
@media (max-width: 880px) { .practitioner-mark img { max-width: 320px; margin: 0 auto; display: block; } }

.practitioner-stack { display: flex; flex-direction: column; gap: 18px; }
.practitioner-title { text-align: left; margin-bottom: 4px; }
@media (max-width: 880px) { .practitioner-title { text-align: center; } }
.practitioner-line {
    font-family: var(--serif);
    font-style: italic;
    font-size: 19px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 18px;
}
.practitioner-prose {
    font-family: var(--serif);
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0 0 18px 0;
    max-width: 64ch;
}
.practitioner-prose em { color: var(--gold); font-style: italic; }
.practitioner-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
}
.practitioner-specs > div {
    display: grid;
    grid-template-columns: minmax(120px, 160px) 1fr;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px dotted var(--rule-faint);
}
.practitioner-specs dt {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
    align-self: center;
}
.practitioner-specs dd {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink-strong);
    line-height: 1.55;
}
.practitioner-specs dd a { color: var(--gold); }

.practitioner-pitch {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    border-left: 3px solid var(--gold);
    padding: 14px 18px;
    background: var(--bg-near);
    border-radius: 0 4px 4px 0;
}
.practitioner-pitch strong { color: var(--gold); font-weight: 500; font-style: normal; }

.practitioner-ctas {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-top: 8px;
}
@media (max-width: 880px) { .practitioner-ctas { justify-content: center; } }
.band-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-soft);
    background: var(--bg-near);
    border: 1px solid var(--rule-mid);
    border-radius: 4px;
    text-decoration: none;
    transition: border-color 240ms ease, color 240ms ease, transform 200ms ease;
}
.band-cta:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.band-cta--gold {
    color: var(--gold);
    border-color: var(--gold);
    background:
        linear-gradient(180deg, rgba(232, 200, 90, 0.18) 0%, rgba(139, 105, 20, 0.40) 100%),
        var(--bg-near);
    position: relative;
}
.band-cta--gold::before {
    content: ''; position: absolute; left: 1px; right: 1px; top: 1px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    pointer-events: none;
}

/* ── reduced-motion + small-screen tweaks ─────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
    .instrument {
        opacity: 0; transform: translateY(8px);
        animation: instrument-rise 700ms cubic-bezier(.2,.65,.2,1) forwards;
    }
    .instrument:nth-child(1) { animation-delay: 60ms; }
    .instrument:nth-child(2) { animation-delay: 120ms; }
    .instrument:nth-child(3) { animation-delay: 180ms; }
    .instrument:nth-child(4) { animation-delay: 240ms; }
    .instrument:nth-child(5) { animation-delay: 300ms; }
    .instrument:nth-child(6) { animation-delay: 360ms; }
    .instrument:nth-child(7) { animation-delay: 420ms; }
    .instrument:nth-child(8) { animation-delay: 480ms; }
}
@keyframes instrument-rise { to { opacity: 1; transform: translateY(0); } }

/* ── 2026-05-03 mobile audit: foyer scrolled 26px past 375vw on iPhone 12 Mini.
       Belt-and-suspenders: cap body width and any band content to 100vw. ── */
html, body { max-width: 100vw; overflow-x: hidden; }
.band, .foyer, .foot { max-width: 100vw; box-sizing: border-box; }

/* ══════════════════════════════════════════════════════════════════════
   DISTINCT iPad LAYOUT (768–1023) — not stretch, a real tablet dashboard
   ══════════════════════════════════════════════════════════════════════
   - Foyer becomes a 1-column stack with the plate becoming a wide top
     banner (mark on left, copy + CTAs on right), so the rooms breathe in
     a 3-across grid below it.
   - Consigliere card grows to full width but the thread + composer split
     side-by-side so the user can see history while typing.
   - Practitioner stack drops the side mark beside prose — mark goes top.
   ══════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1023px) {
    .foyer {
        grid-template-columns: 1fr;
        padding: 28px 32px 56px;
        gap: 36px;
        min-height: auto;
    }
    .plate {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 28px;
        align-items: center;
        text-align: left;
        padding: 22px 26px;
    }
    .plate-monogram { width: 200px; height: 200px; }
    .plate-wordmark { font-size: 48px; }
    .plate-tagline { margin-bottom: 10px; }
    .plate-attribution { font-size: 13px; max-width: 56ch; }
    .plate-contact { font-size: 13px; }
    .plate-cta, .plate-login { display: inline-block; margin-right: 12px; }

    .rooms { grid-template-columns: repeat(3, 1fr); }

    .consigliere-card {
        max-width: 100%;
        padding: 28px 32px;
    }
    .consigliere-thread { min-height: 360px; max-height: 60vh; }
    .consigliere-input { min-height: 64px; }

    .practitioner {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .practitioner-mark { display: flex; justify-content: center; }
    .practitioner-mark img { max-width: 280px; }
    .practitioner-prose { max-width: 60ch; }
}

/* ══════════════════════════════════════════════════════════════════════
   DISTINCT PHONE LAYOUT (max-width 540) — built for thumbs, not stretch
   ══════════════════════════════════════════════════════════════════════
   - Plate compresses: monogram smaller and centered, wordmark scales,
     attribution prose tightens, CTAs stack full-width and become the
     primary touch targets.
   - Rooms grid stays 2-across (not 1) because phones scroll vertically
     and 1-col wastes screen — 2-across × 3-rows lets the whole foyer
     fit in two viewport heights.
   - Consigliere thread takes the full screen width with bigger touch
     targets; chips wrap horizontally; send becomes a full-width button
     under the textarea (thumb-reach optimized).
   - Corona band scales down; SVG redrawn smaller.
   - Practitioner CTAs stack vertically; specs become single column.
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 540px) {
    .foyer {
        padding: 18px 14px 36px;
        gap: 24px;
    }
    .plate { padding: 18px 14px; }
    .plate-monogram { width: 140px !important; height: 140px !important; margin: 0 auto 12px; display: block; }
    .plate-wordmark { font-size: 36px; text-align: center; }
    .plate-tagline { text-align: center; }
    .plate-attribution { font-size: 13px; line-height: 1.55; }
    .plate-contact { text-align: center; font-size: 14px; }
    .plate-cta { width: 100%; padding: 14px 16px; margin-top: 4px; }
    .plate-login { width: 100%; padding: 12px 14px; margin-top: 8px; }

    /* 2-col rooms instead of 1-col — phones scroll vertically, 1-col wastes scroll length */
    .rooms { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .room { padding: 10px 6px 12px; }
    .room-img { max-width: 110px; }
    .room-eyebrow { font-size: 9px; }
    .room-caption { font-size: 11px; }

    /* Consigliere — thumb-first composer */
    .band--consigliere { padding-left: 14px; padding-right: 14px; }
    .consigliere-card { padding: 18px 14px; border-radius: 8px; }
    .consigliere-thread { min-height: 320px; max-height: 64vh; padding: 16px 14px; gap: 12px; }
    .msg { max-width: 100%; padding: 10px 12px; font-size: 15px; }
    .consigliere-chips { gap: 6px; }
    .consig-chip { padding: 7px 11px; font-size: 10px; }
    .consigliere-input-row { flex-direction: column; gap: 8px; }
    .consigliere-input { min-height: 70px; font-size: 15px; padding: 12px 14px; }
    .consigliere-send { width: 100%; min-height: 52px; padding: 14px 18px; }
    .consigliere-fine { font-size: 10.5px; line-height: 1.6; }

    /* Corona — scaled down for phone screens */
    .band--corona { padding: 24px 18px 12px; }
    .corona-mark svg { width: 180px; height: 75px; }
    .corona-motto { font-size: 14px; letter-spacing: 0.16em; }
    .corona-motto strong { letter-spacing: 0.22em; }
    .corona-motto em { font-size: 12px; }
    .corona-gloss { font-size: 13px; line-height: 1.55; }

    /* Legacy + practitioner */
    .instruments-grid { grid-template-columns: 1fr; }
    .practitioner-specs > div { grid-template-columns: 1fr; gap: 4px; }
    .practitioner-prose { font-size: 15px; line-height: 1.7; }
    .practitioner-ctas { flex-direction: column; gap: 8px; }
    .practitioner-ctas .band-cta { width: 100%; text-align: center; }
}

/* Phones held in landscape (small height, wider): keep rooms 2-col but
   shrink the plate so the consigliere thread above the fold isn't tiny. */
@media (max-width: 920px) and (orientation: landscape) and (max-height: 540px) {
    .foyer { min-height: auto; padding: 16px 24px 28px; }
    .plate-monogram { width: 90px !important; height: 90px !important; }
    .plate-wordmark { font-size: 32px; }
    .plate-attribution, .plate-tagline { display: none; }
    .consigliere-thread { min-height: 240px; max-height: 50vh; }
}


/* ═══════════════════════ LANGUAGE BAND (top of page, right-aligned) ═══════════════════════ */
.lang-band {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    padding: 0.6rem 1.6rem;
    background: linear-gradient(180deg, #15171c 0%, #0d0f14 100%);
    border-bottom: 1px solid rgba(184, 151, 102, 0.12);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: #b8bac0;
}
.lang-band-eye {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: #8a8d94;
    font-weight: 500;
}
.lang-pills {
    display: inline-flex;
    align-items: stretch;
    background: #0a0c11;
    border: 1px solid #232730;
    border-radius: 999px;
    padding: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}
.lang-btn {
    background: transparent;
    color: #b8bac0;
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.16s ease, background 0.16s ease;
    white-space: nowrap;
}
.lang-btn:hover { color: #e4e6ea; background: rgba(184, 151, 102, 0.08); }
.lang-btn:active,
.lang-btn[aria-pressed="true"] {
    background: linear-gradient(180deg, #b89766 0%, #8b6e3f 100%);
    color: #14171c;
    font-weight: 600;
}
.lang-btn--more {
    color: #8a8d94;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.4rem 0.7rem;
}
.lang-btn--more:hover { color: var(--gold, #b89766); background: rgba(184, 151, 102, 0.06); }
.lang-band-status {
    margin-right: auto;
    font-size: 0.74rem;
    opacity: 0.65;
    font-style: italic;
    color: #8a8d94;
    padding-left: 0.4rem;
}
@media (max-width: 720px) {
    .lang-band { padding: 0.5rem 0.9rem; gap: 0.55rem; }
    .lang-band-eye { font-size: 0.62rem; }
    .lang-btn { padding: 0.32rem 0.7rem; font-size: 0.72rem; }
    .lang-band-status { display: none; }
}

.band-eye-powered {
    color: var(--gold, #b89766);
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* ═══════════════════════ INVESTORS / LICENSING BAND ═══════════════════════ */
.band--licensing {
    background: linear-gradient(180deg, #0d0f14 0%, #11141b 100%);
    padding: 5rem 1.5rem 4.5rem;
    text-align: center;
    border-top: 1px solid #1d2027;
    border-bottom: 1px solid #1d2027;
}
.band--licensing .band-head { max-width: 760px; margin: 0 auto; }
.band--licensing .band-eye { text-transform: uppercase; letter-spacing: 0.22em; color: #8a8d94; font-size: 0.75rem; margin-bottom: 1.1rem; }
.band--licensing .band-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--steel-hi, #c4c8d0);
    font-size: 1.95rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
    margin: 0 0 1.4rem;
}
.band--licensing .band-lede {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.18rem;
    line-height: 1.65;
    color: #cfd2d8;
    margin: 0 auto 1rem;
}

/* ═══════════════════════ TRANSLATION-ENGINE BENCHMARK STRIP ═══════════════════════ */
.benchmark-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.9rem;
    max-width: 1080px;
    margin: 2.5rem auto 1rem;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(180deg, rgba(184,151,102,0.05) 0%, rgba(184,151,102,0.02) 100%);
    border: 1px solid rgba(184,151,102,0.18);
    border-radius: 4px;
    font-family: 'Inter', system-ui, sans-serif;
    color: #b8bac0;
    font-size: 0.92rem;
    line-height: 1.55;
}
.benchmark-eye {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold, #b89766);
    font-size: 0.78rem;
    font-weight: 600;
    flex-shrink: 0;
}
.benchmark-line { flex: 1; min-width: 280px; font-style: normal; }
.benchmark-line em { font-style: italic; color: #d8d8de; }

@media (max-width: 720px) {
    .lang-band { font-size: 0.72rem; gap: 0.4rem; padding: 0.5rem 0.9rem; }
    .lang-band-status { display: none; }
    .band--licensing { padding: 3.5rem 1.1rem; }
    .band--licensing .band-title { font-size: 1.5rem; }
    .band--licensing .band-lede { font-size: 1.05rem; }
    .benchmark-strip { margin: 1.75rem 1rem 0.5rem; padding: 0.9rem 1.1rem; }
}

/* ═══════════════════════════════════════════════════════════════
 * CINEMATIC THRESHOLD (v9 — added 2026-05-24)
 * ───────────────────────────────────────────────────────────────
 * The page is no longer a directory. The threshold is ONE moment:
 * molten gold shield, name, one line of copy, one action. The grid
 * lives below, demoted from identity to navigation.
 *
 * Override .foyer's prior 2-column grid layout — full-bleed flow.
 * ═══════════════════════════════════════════════════════════════ */

.foyer {
    /* Override prior `grid-template-columns: 1fr 1.05fr` */
    display: flex;
    flex-direction: column;
    max-width: none;
    padding: 0;
    gap: clamp(72px, 12vh, 160px);
    align-items: stretch;
}

/* ── THE THRESHOLD ─────────────────────────────────────────────── */
.threshold {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.5vh, 36px);
    padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 64px);
    text-align: center;
    overflow: hidden;
}

/* Atmospheric radial behind the shield — single warm light source */
.threshold::before {
    content: '';
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(900px, 90vw);
    height: min(900px, 90vw);
    background:
        radial-gradient(circle at center,
            rgba(212, 168, 56, 0.16) 0%,
            rgba(212, 168, 56, 0.06) 28%,
            rgba(212, 168, 56, 0.02) 52%,
            transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(8px);
}

.threshold > * { position: relative; z-index: 1; }

.threshold-shield {
    width: clamp(280px, 38vw, 540px);
    height: auto;
    filter:
        drop-shadow(0 32px 64px rgba(0,0,0,0.65))
        drop-shadow(0 0 48px rgba(212, 168, 56, 0.22));
    user-select: none;
    animation: thresholdShieldEnter 1800ms cubic-bezier(0.16, 1, 0.3, 1) both;
    /* Source art (alt-option-black.png, 1373×1252) has "OPTION.BLACK"
       text baked into its lower ~30%. Crop tightly to upper monogram
       region (top ~58% of source) so the chrome <h1> below reads
       cleanly without duplicating the painted text. */
    aspect-ratio: 540 / 290;
    object-fit: cover;
    object-position: 50% 0%;
    height: auto;
}

@keyframes thresholdShieldEnter {
    0%   { opacity: 0; transform: scale(0.92) translateY(8px); }
    100% { opacity: 1; transform: scale(1.0)  translateY(0); }
}

.threshold-wordmark {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(40px, 6vw, 84px);
    letter-spacing: 0.02em;
    line-height: 1;
    background:
        linear-gradient(180deg,
            #E6E8EC 0%,
            #B8BAC0 38%,
            #6E7076 60%,
            #B8BAC0 82%,
            #E6E8EC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(50, 52, 58, 0.5);
    text-shadow:
        0 1px 0 rgba(255,255,255,0.05),
        0 -1px 0 rgba(0,0,0,0.55),
        0 14px 28px rgba(0,0,0,0.6);
    margin-top: 8px;
    animation: thresholdRiseFade 1400ms 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.threshold-wordmark .dot {
    color: var(--oxblood-hi);
    -webkit-text-fill-color: var(--oxblood-hi);
    -webkit-text-stroke: 1px var(--oxblood-deep);
    text-shadow: 0 0 18px rgba(156, 26, 42, 0.42);
}

.threshold-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.5vw, 19px);
    color: var(--gold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    animation: thresholdRiseFade 1400ms 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.threshold-attribution {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 52ch;
    margin: clamp(6px, 1vh, 14px) auto 0;
    animation: thresholdRiseFade 1400ms 540ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.threshold-attribution strong { color: var(--ink-strong); font-weight: 500; }

.threshold-cta {
    display: inline-block;
    margin-top: clamp(12px, 2vh, 22px);
    padding: 16px 32px;
    background: linear-gradient(180deg,
        rgba(232, 200, 90, 0.14) 0%,
        rgba(20, 20, 26, 0.92) 50%,
        rgba(232, 200, 90, 0.14) 100%);
    color: var(--gold-hi, #E8C547);
    border: 1.5px solid var(--gold);
    border-radius: 4px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 320ms ease,
                background 320ms ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    animation: thresholdRiseFade 1400ms 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.threshold-cta:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg,
        rgba(232, 200, 90, 0.26) 0%,
        rgba(40, 40, 50, 0.95) 50%,
        rgba(232, 200, 90, 0.26) 100%);
    box-shadow: 0 18px 40px -12px rgba(212, 168, 56, 0.55);
}

/* Scroll cue at bottom — discreet invitation to the rooms */
.threshold-scroll {
    position: absolute;
    bottom: clamp(20px, 4vh, 44px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--ink-mute);
    text-decoration: none;
    transition: color 240ms ease, transform 240ms ease;
    animation: thresholdRiseFade 1400ms 960ms cubic-bezier(0.16, 1, 0.3, 1) both,
               thresholdBob 2400ms 2600ms ease-in-out infinite;
}
.threshold-scroll:hover {
    color: var(--gold);
    transform: translateX(-50%) translateY(-2px);
}
.threshold-scroll-arrow {
    font-size: 18px;
    line-height: 1;
    color: var(--gold);
    opacity: 0.8;
}

@keyframes thresholdRiseFade {
    0%   { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes thresholdBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .threshold-shield,
    .threshold-wordmark,
    .threshold-tagline,
    .threshold-attribution,
    .threshold-cta,
    .threshold-scroll {
        animation: none;
    }
}

/* ── THE ROOMS BAND (wrapper around existing rooms-grid) ─────── */
.rooms-band {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 64px);
    width: 100%;
}

.rooms-band-head {
    text-align: center;
    margin-bottom: clamp(32px, 5vh, 64px);
    padding-top: clamp(40px, 8vh, 96px);
    border-top: 1px solid var(--rule-faint);
    padding-top: clamp(48px, 8vh, 96px);
}
.rooms-band-eye {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--gold);
    margin-bottom: 8px;
}
.rooms-band-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(28px, 3.5vw, 44px);
    letter-spacing: 0.04em;
    color: var(--ink-strong);
}

/* ── THE DOORS BAND ─────────────────────────────────────────── */
.doors-band {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(64px, 12vh, 120px) clamp(24px, 5vw, 64px);
    width: 100%;
}
.doors-band-head {
    text-align: center;
    margin-bottom: clamp(28px, 4vh, 48px);
}
.doors-band-eye {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--gold);
    margin-bottom: 8px;
}
.doors-band-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(22px, 2.5vw, 32px);
    letter-spacing: 0.04em;
    color: var(--ink-strong);
}
.doors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.door {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.018) 0%, rgba(0,0,0,0.22) 100%);
    border: 1px solid var(--rule-mid);
    border-radius: 6px;
    color: var(--ink-strong);
    text-decoration: none;
    transition: border-color 200ms ease, transform 200ms ease, background 200ms ease;
}
.door:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(40, 32, 14, 0.18) 100%);
}
.door-eye {
    font-family: var(--mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
}
.door-title {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink-strong);
}
.door--consult {
    opacity: 0.7;
    filter: grayscale(0.4);
}
.door--consult:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* Honor reduced-motion globally on threshold + door hovers */
@media (prefers-reduced-motion: reduce) {
    .threshold-cta:hover,
    .door:hover,
    .threshold-scroll:hover {
        transform: none;
    }
}
