/* Platinum Textiles — v4 (16 Oct 2026): the board, exactly. Loaded LAST on every page, reads only from tokens.css.
   Type: Inter, headlines light + tight uppercase; labels 11px slate tracked; body 15.5px charcoal. Ground: one continuous
   off-white with the board's warm gradient (no alternating bands). Charcoal only for the Platinum OS block and contrast sections. */

/* ---------- ground ---------- */
html { background: var(--offwhite); }
body { background: var(--grad-page) fixed; color: var(--charcoal); font: var(--w-regular) var(--fs-body) / var(--lh-body) var(--sans); }
.band, .band--greige, .band--soft, .band--white, .band--tight { background: transparent; }
.band--soft, .band--greige { --rule: rgba(17, 17, 17, .14); }
.band--ink, .os { background: var(--charcoal); color: var(--offwhite); }
.band--taupe { background: var(--platinum); }
.site-head { background: rgba(247, 247, 245, .82); border-bottom-color: var(--rule); }
.site-head.over { background: linear-gradient(rgba(247, 247, 245, .9), rgba(247, 247, 245, 0)); }
.hero--knot { background: transparent; }
.hero--knot .stage { background: var(--grad-hero); }
.hero--knot .stage::after { background: linear-gradient(180deg, rgba(247, 247, 245, .3) 0%, rgba(247, 247, 245, 0) 20%, rgba(247, 247, 245, 0) 80%, rgba(247, 247, 245, .5) 100%); }
.hero--knot + .band--tight { background: transparent; }

/* ---------- type ---------- */
h1, h2, h3, h4, .serif, .lede--serif, .rows h3, .values h3, .services h3, .work-card figcaption strong, .index-list strong, .tile summary .t, .phases button .t, .hero-foot strong, .cred strong, .spec header h3, .mock .tagname, .tr-head h3, .foot-brand .tag, .loader__count, .num, .num--word, .cells .num, .sb-step > header h2, .form-side .step strong, .scard h3, .names span, .textures figcaption strong {
  font-family: var(--sans); font-variation-settings: normal; }
h1, h2, .hero--knot h1, .hero--knot .beat h2, .page-hero h1, .bigword h2, .converge .name, .os h2 { font-weight: var(--w-light); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); text-transform: uppercase; }
h1, .page-hero h1 { font-size: var(--fs-h1); max-width: 16ch; }
h2 { font-size: var(--fs-h2); }
h3 { font-weight: var(--w-medium); font-size: var(--fs-h3); letter-spacing: .02em; line-height: 1.25; }
h1 .accent, h2 .accent, .hero--knot h1 .accent, .hero--knot .beat h2 .accent, .band--ink .accent, .os h2 .accent { color: inherit; font-weight: var(--w-light); }
.hero--knot h1, .hero--knot .beat h2 { font-weight: var(--w-light); font-size: clamp(2.6rem, 4.9vw, 4.7rem); letter-spacing: -.018em; line-height: 1.04; max-width: 11ch; }
.hero--knot h1 .accent, .hero--knot .beat h2 .accent { font-weight: var(--w-light); }
.rows h3, .values h3, .services h3, .work-card figcaption strong, .index-list strong, .acc summary, .proc strong, .svc4 strong, .paths strong, .proj3 strong { font-weight: var(--w-medium); letter-spacing: .06em; text-transform: uppercase; }
.rows h3 { font-size: clamp(1rem, 1.4vw, 1.2rem); }
.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--ink-2); font-weight: var(--w-regular); }
.lede--serif { font-weight: var(--w-light); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.35; letter-spacing: -.01em; }
.label, .eyebrow, .page-meta .label, .rows .n, .proc .n, .svc4 .n, .paths .n, .anno, .hero--knot .beat .eyebrow, .hero--knot .stages li span, .hero--knot .explore, .foot-grid .foot-h, .sign, .hero--knot .variants button, .hero--knot .variants .vlabel { font-family: var(--sans); font-weight: var(--w-medium); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--slate); line-height: 1.5; }
.hero--knot .beat .eyebrow { max-width: 20ch; line-height: 1.6; }
.hero--knot .stages li b { font-weight: var(--w-regular); font-size: 12px; letter-spacing: .08em; color: var(--charcoal); }
.hero--knot .lede { font-size: 16px; line-height: 1.6; max-width: 38ch; color: var(--ink-2); }
.nav a { font-weight: var(--w-medium); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--charcoal); }
.brand .word b { font-weight: var(--w-medium); letter-spacing: .28em; } .brand .word small { font-weight: var(--w-regular); letter-spacing: .4em; }
.mobile-nav a { font-weight: var(--w-light); letter-spacing: -.01em; }
.site-foot .foot-bottom .sign { color: rgba(247, 247, 245, .55); }
.hero-foot strong, .cred strong { font-weight: var(--w-light); letter-spacing: -.02em; }
.num, .num--word, .cells .num { font-weight: var(--w-light); letter-spacing: -.02em; }

/* ---------- buttons (pill; primary charcoal fill + arrow, secondary 1px outline) ---------- */
.btn { border-radius: var(--r-pill); min-height: var(--btn-h); padding: 0 var(--btn-px); font-family: var(--sans); font-weight: var(--w-medium); font-size: var(--btn-fs); letter-spacing: var(--btn-ls); text-transform: uppercase; border: 1px solid var(--charcoal); color: var(--charcoal); background: transparent; gap: 10px; }
.btn:hover, .btn:focus-visible { background: var(--charcoal); color: var(--offwhite); border-color: var(--charcoal); }
.btn--fill { background: var(--charcoal); border-color: var(--charcoal); color: var(--offwhite); }
.btn--fill:hover, .btn--fill:focus-visible { background: #2A2B2E; border-color: #2A2B2E; color: var(--offwhite); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--platinum); border-color: var(--platinum); color: var(--slate); pointer-events: none; }
.btn:not(.btn--fill)[disabled], .btn:not(.btn--fill)[aria-disabled="true"] { background: transparent; border-color: var(--platinum); color: var(--slate); }
.band--ink .btn, .os .btn { border-color: rgba(247, 247, 245, .55); color: var(--offwhite); background: transparent; }
.band--ink .btn:hover, .os .btn:hover { background: var(--offwhite); color: var(--charcoal); border-color: var(--offwhite); }
.band--ink .btn--fill, .os .btn--fill { background: var(--offwhite); border-color: var(--offwhite); color: var(--charcoal); }
.band--ink .btn--fill:hover, .os .btn--fill:hover { background: var(--platinum); border-color: var(--platinum); color: var(--charcoal); }
.nav .btn--fill { min-height: 40px; padding: 0 20px; }
.menu-btn { border-color: rgba(17, 17, 17, .35); }

/* ---------- fields ---------- */
.field input, .field select, .field textarea { border: 1px solid var(--field-border); background-color: var(--field-bg); min-height: var(--field-h); font-family: var(--sans); font-size: 15px; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--charcoal); outline-offset: 0; border-color: var(--charcoal); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--status-error); }
.field label, .field > .label { color: var(--charcoal); }

/* ---------- reveals: content is visible by default; motion is additive once JS proves it can run it ---------- */
.rv, .rv-rule { opacity: 1; transform: none; }
html.js-reveal .rv:not(.in) { opacity: 0; transform: translateY(14px); }
html.js-reveal .rv-rule:not(.in) { transform: scaleX(0); }
html.js-reveal .rv.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js-reveal .rv-rule.in { transform: scaleX(1); transition: transform 1.1s var(--ease); }
html.js-reveal .rv-d1.in { transition-delay: .1s; } html.js-reveal .rv-d2.in { transition-delay: .2s; } html.js-reveal .rv-d3.in { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { html.js-reveal .rv:not(.in), html.js-reveal .rv-rule:not(.in) { opacity: 1; transform: none; } }

/* ---------- rules + hairlines on the light ground ---------- */
.rows, .rows > li:last-child { border-color: var(--charcoal); } .rows > li { border-bottom-color: var(--rule); }
.cred, .acc, .proc, .hero-foot { border-color: var(--charcoal); }
.rows .n, .proc .n { color: var(--slate); }

/* ---------- home sections exactly as the board panels ---------- */
.svc4--board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 900px; }
.svc4--board figure { aspect-ratio: 4 / 3; }
.svc4--board img { filter: saturate(.8) contrast(1.02); }
.svc4 strong { font-size: 11.5px; letter-spacing: .14em; } .svc4 span { font-size: 13px; color: var(--slate); }
.caps-photo { position: sticky; top: calc(var(--h-nav) + 16px); aspect-ratio: 4 / 5; overflow: hidden; margin: 0; }
.acc summary { padding: 18px 0; font-size: 11.5px; }
.acc-body { padding: 4px 0 20px; }
.acc .spec { margin: 0; display: grid; gap: 8px; } .acc .spec > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; font-size: 14px; }
.acc .spec dt { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); padding-top: 2px; } .acc .spec dd { margin: 0; color: var(--ink-2); } .acc .spec em { font-style: normal; color: var(--slate); font-size: 12.5px; }
.head--board { display: grid; gap: 14px; justify-items: start; margin-bottom: 36px; }
.head--board .btn { min-height: 40px; }
.proj-board { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
.proj-board a { text-decoration: none; color: inherit; display: grid; gap: 10px; align-content: start; }
.proj-board figure { margin: 0; overflow: hidden; background: var(--ground-deep); }
.proj-board img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.1s var(--ease); display: block; }
.proj-board a:hover img { transform: scale(1.03); }
.proj-board__tall { grid-row: 1 / 3; } .proj-board__tall figure { aspect-ratio: 3 / 4; }
.proj-board a:not(.proj-board__tall) figure { aspect-ratio: 4 / 3; }
.proj-board strong { font-size: 11.5px; font-weight: var(--w-medium); letter-spacing: .14em; text-transform: uppercase; } .proj-board span { font-size: 12.5px; color: var(--slate); }
.os .os-hex { color: var(--offwhite); margin-bottom: 18px; }
.os .os-name b { font-size: 22px; letter-spacing: .34em; font-weight: var(--w-regular); }
.os .os-note { font-size: 11px; letter-spacing: .08em; color: rgba(247, 247, 245, .5); }
.cta-split figure { aspect-ratio: 4 / 3; }
@media (max-width: 960px) { .svc4--board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proj-board { grid-template-columns: 1fr 1fr; } .proj-board__tall { grid-column: 1 / -1; grid-row: auto; } .proj-board__tall figure { aspect-ratio: 4 / 3; } .caps-photo { position: relative; top: 0; aspect-ratio: 16 / 10; } .acc .spec > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- hero (sphere) laid out like the board ---------- */
.hero--sphere { height: 600vh; height: 600svh; display: block; overflow: visible; margin-top: calc(-1 * var(--h-nav)); color: var(--charcoal); }
.hero--sphere .stage { position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden; background: var(--turn-bg, rgb(223, 224, 218)); }   /* = frame 1 corner pixel of the turntable (set live by sphere-turntable.js) */
.hero--sphere .stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(247, 247, 245, .25) 0%, rgba(247, 247, 245, 0) 18%, rgba(247, 247, 245, 0) 82%, rgba(247, 247, 245, .5) 100%); }
.hero--sphere .pt-sphere--hero { position: absolute; left: 50%; top: 50%; width: min(66vh, 46vw); max-width: none; transform: translate(-44%, -52%); z-index: 1; }
.hero--sphere .wrap { position: absolute; inset: 0; width: 100%; max-width: none; margin: 0; padding: 0 var(--gutter); display: grid; align-content: center; z-index: 2; pointer-events: none; }
.hero--sphere .wrap a, .hero--sphere .wrap button { pointer-events: auto; }
.hero--sphere .deck { display: grid; max-width: 36%; align-items: end; }
.hero--sphere .beat { grid-area: 1 / 1; opacity: 0; transition: opacity .32s var(--ease); pointer-events: none; }
.hero--sphere .beat.on { opacity: 1; transition: opacity .7s var(--ease) .28s; }
.hero--sphere .beat .eyebrow { display: block; margin-bottom: 24px; max-width: 20ch; line-height: 1.6; }
.hero--sphere h1, .hero--sphere .beat h2 { font-weight: var(--w-light); font-size: clamp(2.6rem, 4.9vw, 4.7rem); letter-spacing: -.018em; line-height: 1.04; text-transform: uppercase; max-width: 11ch; margin: 0; }
.hero--sphere .beat .w { display: inline-block; overflow: hidden; vertical-align: bottom; } .hero--sphere .beat .w span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease) .28s; } .hero--sphere .beat.on .w span { transform: none; }
.hero--sphere .beat .w:nth-child(2) span { transition-delay: .34s; } .hero--sphere .beat .w:nth-child(3) span { transition-delay: .4s; } .hero--sphere .beat .w:nth-child(4) span { transition-delay: .46s; } .hero--sphere .beat .w:nth-child(5) span { transition-delay: .52s; }
.hero--sphere .lede { font-size: 16px; line-height: 1.6; max-width: 38ch; margin-top: 24px; transition: opacity .7s var(--ease) .5s, transform .9s var(--ease) .5s; }
.hero--sphere .beat .lede { transform: translateY(10px); opacity: 0; } .hero--sphere .beat.on .lede { transform: none; opacity: 1; }
.hero--sphere .btn-row { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; max-width: 36%; }
.hero--sphere .explore { position: absolute; left: var(--gutter); bottom: clamp(28px, 5vh, 56px); display: grid; gap: 10px; justify-items: start; color: var(--slate); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; z-index: 3; }
.hero--sphere .explore span { position: relative; padding-left: 16px; } .hero--sphere .explore span::before { content: ""; position: absolute; left: 0; top: -4px; width: 1px; height: 22px; background: rgba(17, 17, 17, .35); } .hero--sphere .explore::after { content: ""; width: 46px; height: 1px; background: rgba(17, 17, 17, .45); }
.hero--sphere .stages { position: absolute; right: clamp(16px, 7vw, 110px); top: 50%; transform: translateY(-50%); z-index: 2; margin: 0; padding: 0 0 0 22px; list-style: none; display: grid; gap: 26px; border-left: 1px solid rgba(17, 17, 17, .22); }
.hero--sphere .stages li { position: relative; display: grid; gap: 8px; color: rgba(17, 17, 17, .42); transition: color .45s; }
.hero--sphere .stages li b { font-weight: var(--w-regular); font-size: 12px; letter-spacing: .08em; color: var(--charcoal); } .hero--sphere .stages li span { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.hero--sphere .stages li::before { content: ""; position: absolute; left: -23px; top: 2px; width: 1px; height: 0; background: var(--charcoal); transition: height .5s var(--ease); }
.hero--sphere .stages li.on { color: var(--charcoal); } .hero--sphere .stages li.on::before { height: 100%; } .hero--sphere .stages li.done { color: rgba(17, 17, 17, .7); }
.hero--sphere .pt-sphere__ctrl { bottom: -6px; }
html.loading .hero--sphere .rv, html.loading .hero--sphere .rv.in { opacity: 0; transform: translateY(14px); }
html.loading .hero--sphere .in .w > span { transform: translateY(110%); }
html.loading .hero--sphere .rv.in, html.loading .hero--sphere .in .w > span { animation: unhide .9s var(--ease) 7s forwards; }
.hero--sphere .explore { opacity: 1; transition: opacity 1.2s var(--ease) 1.1s; } html.loading .hero--sphere .explore { opacity: 0; }
@media (max-width: 720px) {
  .hero--sphere { height: 420svh; } .hero--sphere .stage { min-height: 640px; }
  .hero--sphere .pt-sphere--hero { width: 74vw; left: 50%; top: calc(var(--h-nav) + 8vh); transform: translate(-50%, 0); }
  .hero--sphere .wrap { align-content: end; padding-bottom: 88px; }
  .hero--sphere .deck, .hero--sphere .btn-row { max-width: none; }
  .hero--sphere .btn-row { flex-direction: column; align-items: stretch; } .hero--sphere .btn { justify-content: center; min-height: 46px; }
  .hero--sphere .beat .eyebrow { max-width: none; letter-spacing: .2em; margin-bottom: 10px; }
  .hero--sphere h1, .hero--sphere .beat h2 { font-size: clamp(1.7rem, 7.4vw, 2.3rem); max-width: none; }
  .hero--sphere .lede { font-size: 14px; margin-top: 12px; max-width: 36ch; }
  .hero--sphere .explore { left: 0; right: 0; bottom: 30px; justify-items: center; } .hero--sphere .explore span { padding-left: 0; } .hero--sphere .explore span::before { display: none; }
  .hero--sphere .stages { display: none; }
}
/* dark studio (client's board A) via ?hero=dark */
.hero--sphere[data-studio="dark"] .stage { background: radial-gradient(70% 60% at 58% 42%, #2a2a2c 0%, #19191b 45%, var(--charcoal) 100%); }
.hero--sphere[data-studio="dark"] { color: var(--offwhite); }
.hero--sphere[data-studio="dark"] h1, .hero--sphere[data-studio="dark"] .beat h2, .hero--sphere[data-studio="dark"] .stages li b, .hero--sphere[data-studio="dark"] .stages li.on { color: var(--offwhite); }
.hero--sphere[data-studio="dark"] .lede { color: rgba(247, 247, 245, .72); } .hero--sphere[data-studio="dark"] .beat .eyebrow, .hero--sphere[data-studio="dark"] .explore { color: var(--platinum); }
.hero--sphere[data-studio="dark"] .btn { border-color: rgba(247, 247, 245, .5); color: var(--offwhite); } .hero--sphere[data-studio="dark"] .btn--fill { background: var(--offwhite); border-color: var(--offwhite); color: var(--charcoal); }
.hero--sphere[data-studio="dark"] .stages { border-left-color: rgba(247, 247, 245, .22); } .hero--sphere[data-studio="dark"] .stages li::before { background: var(--offwhite); }

/* ---------- header brand (mark + stacked wordmark) ---------- */
.site-head .brand { display: flex; align-items: center; gap: 12px; }
.site-head .brand .mark { height: 36px; width: auto; display: block; }
.site-head .brand .word { display: grid; line-height: 1; color: var(--charcoal); }
.site-head .brand .word b { font-weight: var(--w-medium); font-size: 15px; letter-spacing: .3em; }
.site-head .brand .word small { font-weight: var(--w-regular); font-size: 8.5px; letter-spacing: .42em; margin-top: 4px; opacity: .85; }
.site-head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-head .nav { justify-content: center; } .site-head .head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.menu-btn { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; }
.site-head.studio-dark .brand .mark { filter: invert(1) brightness(1.6); } .site-head.studio-dark .brand .word, .site-head.studio-dark .nav a { color: var(--offwhite); }
@media (max-width: 980px) { .site-head .wrap { grid-template-columns: auto 1fr; } .site-head .nav { display: none; } .site-head .head-actions .btn--fill { display: none; } }
@media (max-width: 720px) {
  .site-head .wrap { grid-template-columns: 1fr auto 1fr; } .site-head .brand { grid-column: 2; flex-direction: column; gap: 6px; padding: 8px 0 6px; }
  .site-head .brand .mark { height: 30px; } .site-head .brand .word { text-align: center; justify-items: center; } .site-head .brand .word b { font-size: 11.5px; letter-spacing: .32em; } .site-head .brand .word small { font-size: 7px; letter-spacing: .4em; margin-top: 3px; }
  .site-head .head-actions { grid-column: 3; } .site-head { --h-nav: 84px; }
}
/* sphere a little right of centre so it only kisses the headline (board) */
.hero--sphere .pt-sphere--hero { width: min(68vh, 46vw); transform: translate(-34%, -51%); }   /* 19 Oct: larger, as on Board C */
/* phone: sphere first, copy under it, in flow — never overlapping on short screens */
@media (max-width: 720px) {
  .hero--sphere .stage { height: auto; min-height: 100svh; display: grid; grid-template-rows: auto 1fr; align-content: start; }
  .hero--sphere .pt-sphere--hero { position: relative; left: auto; top: auto; transform: none; width: min(74vw, 38svh); margin: calc(var(--h-nav) + 2vh) auto 0; }
  .hero--sphere .wrap { position: relative; inset: auto; padding: 12px var(--gutter) 92px; align-content: end; }
  .hero--sphere .explore { bottom: 26px; }
}

.foot-brand img { width: 40px; filter: none; }
.loader .loader__mark img { filter: none; }
/* phone hero: everything on the first screen like the board frame */
@media (max-width: 720px) {
  .hero--sphere .stage { min-height: 100svh; grid-template-rows: auto auto; }
  .hero--sphere .pt-sphere--hero { --ball: clamp(50vw, calc(88svh - 404px), 78vw); width: var(--ball); margin: calc(var(--h-nav) + 1vh) auto calc(var(--ball) * .12); }   /* 26 Oct: bigger ball as far as the screen height allows (copy + buttons stay on the first screen), room under it so the floor shadow clears the eyebrow */
  .hero--sphere .wrap { padding: 6px var(--gutter) 78px; }
  .hero--sphere .beat .eyebrow { margin-bottom: 8px; font-size: 10px; }
  .hero--sphere h1, .hero--sphere .beat h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .hero--sphere .lede { font-size: 13.5px; line-height: 1.5; margin-top: 10px; }
  .hero--sphere .btn-row { margin-top: 16px; gap: 8px; } .hero--sphere .btn { min-height: 42px; }
  .hero--sphere .explore { bottom: 22px; font-size: 9px; }
}

/* ---------- /start pathways + quote flow ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.paths a { text-decoration: none; color: inherit; border: 1px solid var(--rule); background: var(--offwhite); padding: 28px 26px 24px; display: grid; gap: 12px; align-content: start; min-height: 260px; transition: border-color .25s, transform .3s var(--ease); }
.paths a:hover { border-color: var(--charcoal); transform: translateY(-3px); }
.paths .n { font-size: 10px; letter-spacing: .18em; color: var(--slate); } .paths strong { font-size: 1.05rem; font-weight: var(--w-medium); text-transform: uppercase; letter-spacing: .04em; }
.paths p { margin: 0; font-size: 14px; color: var(--ink-2); } .paths .go { margin-top: auto; font-size: 11px; font-weight: var(--w-medium); letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.paths ul { margin: 0; padding-left: 16px; font-size: 13px; color: var(--slate); display: grid; gap: 4px; }
.guided { border: 1px solid var(--rule); background: var(--ground-warm); padding: 18px 20px; display: grid; gap: 14px; grid-column: 1 / -1; }
.guided[hidden] { display: none; }
.guided h4 { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: var(--w-medium); }
.upl { border: 1px dashed rgba(17, 17, 17, .4); background: var(--offwhite); padding: 18px; display: grid; gap: 8px; position: relative; }
.upl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; } .upl strong { font-size: 13px; font-weight: var(--w-medium); } .upl small { font-size: 12px; color: var(--slate); }
.upl ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12.5px; display: grid; gap: 4px; } .upl li { display: flex; justify-content: space-between; gap: 10px; } .upl li em { font-style: normal; color: var(--slate); } .upl li.bad { color: var(--status-error); }
.confirm { border: 1px solid var(--charcoal); background: var(--offwhite); padding: clamp(24px, 4vw, 48px); display: grid; gap: 18px; }
.confirm .ref { font-family: var(--mono); font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: .04em; }
.confirm dl { margin: 0; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 16px; font-size: 14px; } .confirm dt { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); padding-top: 2px; } .confirm dd { margin: 0; }
.confirm .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid var(--rule); padding-top: 16px; } .confirm .steps div { font-size: 12.5px; color: var(--ink-2); } .confirm .steps b { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.pathway-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--charcoal); border-radius: var(--r-pill); padding: 8px 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } .paths a { min-height: 0; } .confirm dl { grid-template-columns: 1fr; gap: 2px; } .confirm dd { margin-bottom: 8px; } .confirm .steps { grid-template-columns: 1fr 1fr; } }
/* sitemap tree */
.tree, .tree ul { list-style: none; margin: 0; padding: 0; } .tree ul { padding-left: 28px; border-left: 1px solid var(--rule); margin-left: 8px; }
.tree li { position: relative; padding: 8px 0 8px 16px; } .tree li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 1px; background: var(--rule); }
.tree a { font-weight: var(--w-medium); text-decoration: none; font-size: 14px; letter-spacing: .02em; } .tree a:hover { text-decoration: underline; }
.tree span { display: inline-block; margin-left: 10px; font-size: 12px; color: var(--slate); }
.tree .dash > a, .tree ul.dash a { opacity: .75; }

/* AA contrast for small text (Lighthouse, 16 Oct 2026): slate #747B84 is 4.41:1 on charcoal and 3.66:1 on ground-warm at 11 px */
.site-foot .foot-grid .foot-h { color: var(--slate-on-ink); }
.site-foot .foot-meta a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(247, 247, 245, .45); }

/* ---------- midnight hero (21 Oct, the owner's reference: dark studio, silver-graphite knot, warm light) ---------- */
.hero--sphere[data-studio="dark"] .stage { background: radial-gradient(42% 46% at 62% 46%, rgba(120, 104, 84, .16), transparent 70%), radial-gradient(80% 70% at 60% 45%, #232325 0%, #161618 50%, #0e0e0f 100%); }
.hero--sphere[data-studio="dark"] .stage::after { background: linear-gradient(180deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, 0) 20%, rgba(10, 10, 11, 0) 80%, rgba(10, 10, 11, .6) 100%); }
.hero--sphere[data-studio="dark"] h1 { font-weight: var(--w-light); }
.hero--sphere[data-studio="dark"] .stages li { color: rgba(247, 247, 245, .4); } .hero--sphere[data-studio="dark"] .stages li.done { color: rgba(247, 247, 245, .65); }
.hero--sphere[data-studio="dark"] .explore span::before, .hero--sphere[data-studio="dark"] .explore::after { background: rgba(247, 247, 245, .35); }
.hero--sphere[data-studio="dark"] .btn:hover, .hero--sphere[data-studio="dark"] .btn:focus-visible { background: var(--offwhite); color: var(--charcoal); border-color: var(--offwhite); }
.hero--sphere[data-studio="dark"] .pt-3d__vars button { background: rgba(20, 20, 22, .6); color: var(--offwhite); border-color: rgba(247, 247, 245, .25); }
.hero--sphere[data-studio="dark"] .pt-3d__vars button[aria-pressed="true"] { background: var(--offwhite); color: var(--charcoal); border-color: var(--offwhite); }
.hero--sphere[data-studio="dark"] .pt-sphere__ctrl button { background: rgba(20, 20, 22, .7); color: var(--offwhite); border-color: rgba(247, 247, 245, .3); }
.site-head.studio-dark { background: linear-gradient(rgba(12, 12, 13, .85), rgba(12, 12, 13, 0)); border-bottom-color: transparent; }
.site-head.studio-dark .head-actions .btn--fill { background: var(--offwhite); border-color: var(--offwhite); color: var(--charcoal); }
.site-head.studio-dark .menu-btn { border-color: rgba(247, 247, 245, .45); color: var(--offwhite); }
.hero--sphere[data-studio="dark"] { background: #0e0e0f; }   /* the strip under the header, above the sticky stage */

/* 26 Oct: Client login in the header (My account when signed in to Platinum OS on this device) */
.site-head .head-login { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; white-space: nowrap; padding: 6px 2px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; } .site-head .head-login:hover { color: var(--ink); border-bottom-color: var(--ink); } .site-head .head-login.is-in { color: var(--ink); }
.site-head.studio-dark .head-login { color: var(--offwhite); }
@media (max-width: 980px) { .site-head .head-login { display: none; } }
/* the account card on the sample and quote confirmations */
.sb-acct { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--ink); background: var(--white); padding: 16px 18px; } .sb-acct i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-style: normal; font-size: 13px; letter-spacing: .04em; } .sb-acct b { display: block; font-size: 15px; } .sb-acct p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); } .sb-acct p b { display: inline; font-size: inherit; color: var(--ink); }
