/* ============================================================
   r3049 · Personal site redesign layer (2026-11-23)
   Ben's order: complete redesign, new logo, everything.
   Direction: the A3 engraved navy-and-gold editorial system,
   adapted for the personal property. Ivory paper ground, deep
   navy ink, one gold. This file loads LAST on every page and
   re-skins the fleet through the --ds-* token layer plus the
   shared chrome (header, buttons, footer, labels).
   Motion law: full motion for everyone. This file contains no
   reduced-motion stand-down, by design.
   ============================================================ */

:root{
  /* ——— r3049 palette: A3 navy + gold on ivory ——— */
  --ds-ink:#0B1B3A;
  --ds-ink-2:#12294F;
  --ds-ink-3:#1B3560;
  --ds-ink-soft:rgba(11,27,58,.62);
  --ds-bone:#F4F1E6;
  --ds-bone-2:#EAE3CF;
  --ds-bone-3:#DCD2B6;
  --muted:#565A52;
  /* The oxblood voice is retired on this property. Every former
     oxblood accent now speaks navy; emphasis on dark grounds is
     carried by gold, exactly as the engraved system intends. */
  --ds-ox:#0B1B3A;
  --ds-ox-deep:#071228;
  --ds-gold:#E8B53A;
  --ds-gold-2:#C79A2E;
  --ds-gold-deep:#8A6A1F;
  --ds-gold-3:#F2CD72;
  --ds-line:rgba(11,27,58,.16);
  --ds-line-soft:rgba(11,27,58,.08);
  --ds-line-d:rgba(244,241,230,.18);
  --ds-line-d-soft:rgba(244,241,230,.09);
  --ds-ink-faint:rgba(11,27,58,.38);
  /* ——— r3049 spacing + shape scale (one scale, everywhere) ——— */
  --r49-s1:.25rem; --r49-s2:.5rem; --r49-s3:.75rem; --r49-s4:1rem;
  --r49-s5:1.5rem; --r49-s6:2rem; --r49-s7:3rem; --r49-s8:4.5rem;
  --ds-section-y:clamp(4rem,8vw,6.5rem);
  --ds-r-sm:6px; --ds-r-md:10px; --ds-r-lg:16px;
  --r49-ring:0 0 0 3px rgba(232,181,58,.45);
  --r49-shadow:0 18px 44px -22px rgba(7,18,40,.45);
  --r49-shadow-sm:0 10px 26px -16px rgba(7,18,40,.35);
}

/* ——— Paper ground + engraved ambience ——— */
html{background:var(--ds-bone)}
body{
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(232,181,58,.10), transparent 60%),
    var(--ds-bone);
  color:var(--ds-ink);
}
::selection{background:var(--ds-ink);color:var(--ds-gold-3)}
#r3049-bg{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  width:100%;height:100%;
}
body>*{position:relative;z-index:1}
#nav{z-index:60}
#mmenu{z-index:55}

/* ——— Type: sentence-case labels, no tracked caps ——— */
.ds-eyebrow,.eyebrow,.ds-hero-eyebrow,.bs-hero-kicker,.bs-appstore-kicker,
.ds-stat-label,.flabel,.cert-pill,.cp-org,.skip-link,.ds-brand-word,
.bs-ledger-key,.ft-brand-t small,.ds-mono,[class*="kicker"]{
  text-transform:none !important;
  letter-spacing:.01em !important;
}
.ds-eyebrow,.eyebrow,.ds-hero-eyebrow,.bs-hero-kicker{
  font-family:var(--ds-sans);font-weight:600;font-size:.95rem;
  color:var(--ds-gold-deep);
  display:inline-flex;align-items:center;gap:.6em;
}
.ds-eyebrow::before,.eyebrow::before,.bs-hero-kicker::before{
  content:"";width:2rem;height:2px;background:var(--ds-gold);flex:none;
}
.on-dark .ds-eyebrow,.on-dark .eyebrow,.on-dark .bs-hero-kicker{color:var(--ds-gold-3)}
.ds-stat-label,.flabel{font-family:var(--ds-sans);font-weight:600;font-size:.85rem;color:var(--ds-ink-soft)}
.on-dark .flabel{color:rgba(244,241,230,.6)}

/* ——— Header: one stable navy bar at every scroll depth ———
   The inherited system recolors the bar per state and per page
   (layer.css top-state ivory text, design-system scroll states),
   which left the bar transparent with ivory text over ivory
   paper on subpages. The redesign pins one treatment: navy bar,
   ivory type, gold rule, everywhere. The !important flags exist
   because the state rules live at higher specificity across
   three files; this layer is the one that must win. */
body header#nav{
  background:rgba(9,22,46,.94) !important;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(232,181,58,.35);
  color:var(--ds-bone);
}
body header#nav .ds-nav-word{color:var(--ds-bone) !important;font-family:var(--ds-serif);font-size:1.05rem;letter-spacing:0}
body header#nav .nlink{font-family:var(--ds-sans);font-size:.95rem;font-weight:500;color:rgba(244,241,230,.8) !important}
body header#nav .nlink::after{background:var(--ds-gold)}
body header#nav .nlink:hover,body header#nav .nlink.is-active,body header#nav .nlink[aria-current]{color:#fff !important}
body header#nav .nlink.is-active::after,body header#nav .nlink[aria-current]::after{background:var(--ds-gold)}
#scrollProg{background:linear-gradient(90deg,var(--ds-gold-2),var(--ds-gold-3))}
body header#nav #hb,body header#nav .ds-hb{color:var(--ds-bone) !important}
body header#nav #hb span,body header#nav .ds-hb span{background:var(--ds-bone) !important}
body header#nav .bs-search-trigger,body header#nav .bs-search-nav{color:rgba(244,241,230,.85) !important;background:transparent !important}
body header#nav .bs-search-trigger:hover{color:var(--ds-gold-3) !important}
#mmenu{background:linear-gradient(180deg,#0B1B3A,#071228);color:var(--ds-bone)}
#mmenu .mlink{border-bottom-color:var(--ds-line-d-soft)}

/* ——— The mark (placeholder: Concept A, the Ledger B) ——— */
.r49-mark{border-radius:22%;box-shadow:var(--r49-shadow-sm)}
.ds-brand:hover .r49-mark{transform:translateY(-1px)}
.r49-mark{transition:transform var(--duration-fast) var(--ds-ease)}

/* ——— Buttons: one shared component voice ——— */
.ds-btn{
  font-family:var(--ds-sans);font-size:.95rem;font-weight:600;
  letter-spacing:0;text-transform:none;
  padding:.85em 1.6em;gap:.55em;
  background:var(--ds-ink);color:var(--ds-bone);
  border:1px solid var(--ds-ink);border-radius:var(--ds-r-pill);
  box-shadow:var(--r49-shadow-sm);
  transition:transform var(--duration-fast) var(--ds-ease),
    box-shadow var(--duration-fast) var(--ds-ease),
    background-color var(--duration-fast) var(--ds-ease),
    color var(--duration-fast) var(--ds-ease),
    border-color var(--duration-fast) var(--ds-ease);
}
.ds-btn:hover{transform:translateY(-2px);box-shadow:var(--r49-shadow);background:var(--ds-ink-2)}
.ds-btn:active{transform:translateY(0) scale(.97)}
.ds-btn-gold{background:var(--ds-gold);border-color:var(--ds-gold);color:var(--ds-ink)}
.ds-btn-gold:hover{background:var(--ds-gold-3);border-color:var(--ds-gold-3);color:var(--ds-ink)}
.ds-btn-ghost{background:transparent;color:var(--ds-ink);border-color:var(--ds-line);box-shadow:none}
.ds-btn-ghost:hover{border-color:var(--ds-ink);background:rgba(11,27,58,.05);box-shadow:none}
.on-dark .ds-btn-ghost{color:var(--ds-bone);border-color:var(--ds-line-d)}
.on-dark .ds-btn-ghost:hover{border-color:var(--ds-gold-3);background:rgba(244,241,230,.06)}
.ds-btn:focus-visible,.ds-flip-btn:focus-visible,summary:focus-visible,
a:focus-visible,button:focus-visible,input:focus-visible,
textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible,
[role="button"]:focus-visible{
  /* r3118: the geometry now carries !important so it is the ONE
     focus system (see the focus block at the end of this file):
     two base-sheet rules otherwise outrank it, redesign.css's
     3px Highlight outline and design-system.css's blue ring. */
  outline:2px solid var(--ds-gold-2)!important;outline-offset:3px!important;box-shadow:var(--r49-ring)!important;
}
.on-dark .ds-btn:focus-visible{outline-color:var(--ds-gold-3)}
.on-dark a:focus-visible,.on-dark button:focus-visible{outline-color:var(--ds-gold-3)!important}

/* ——— Hero: navy field, ivory serif, engraved scene stays ——— */
.ds-hero.on-dark,.bs-hero{background:
  radial-gradient(90% 70% at 85% 0%, rgba(232,181,58,.14), transparent 55%),
  linear-gradient(180deg,#0E2148 0%, #0B1B3A 55%, #081630 100%)}
.ds-hero-title{color:var(--ds-bone)}
.bs-hero-rule{background:linear-gradient(90deg,var(--ds-gold),transparent)}
.bs-ledger{border-top:1px solid var(--ds-line-d)}
.bs-ledger-cell{border-top:none}
.bs-ledger-key{font-family:var(--ds-sans);font-weight:600;font-size:.85rem;color:var(--ds-gold-3)}
.bs-ledger-val{color:var(--ds-bone)}
.bs-ledger-val small{color:rgba(244,241,230,.62)}

/* ——— Sections + cards: hairlines in navy, one radius voice ——— */
.ds-section-alt{background:linear-gradient(to bottom,var(--ds-bone) 0%,var(--ds-bone-2) 12%,var(--ds-bone-2) 88%,var(--ds-bone) 100%)}
.cert-chip,.app-card,.bs-build-card,.mm-card,.ds-faq{
  border-color:var(--ds-line);border-radius:var(--ds-r-md);
  transition:transform var(--duration-fast) var(--ds-ease),
    border-color var(--duration-fast) var(--ds-ease),
    box-shadow var(--duration-fast) var(--ds-ease);
}
.cert-chip:hover,.app-card:hover,.bs-build-card:hover,.mm-card:hover{
  transform:translateY(-3px);border-color:var(--ds-gold-2);box-shadow:var(--r49-shadow);
}
.cert-chip .dot{background:var(--ds-gold-2)}
.ds-faq-plus::before,.ds-faq-plus::after{background:var(--ds-gold-deep)}
hr{border:none;border-top:1px solid var(--ds-line)}
img{border-radius:inherit}

/* ——— Footer: navy ledger band, redesigned ———
   Specificity note: design-system.css styles the footer as
   body footer.ft (0,1,2) with a frosted ivory ground. These
   rules use the same form and load later, so the navy wins. */
body footer.ft{
  background:linear-gradient(180deg,#0B1B3A,#071228);
  color:var(--ds-bone);
  border-top:3px solid var(--ds-gold);
  margin-top:0;
}
body footer.ft .ft-band{padding-top:var(--r49-s7);padding-bottom:var(--r49-s6)}
body footer.ft .ft-brand{color:var(--ds-bone);text-decoration:none}
body footer.ft .ft-brand-t strong{font-family:var(--ds-serif);font-weight:400;font-size:1.15rem;color:var(--ds-bone)}
body footer.ft .ft-brand-t small{color:rgba(244,241,230,.6);font-size:.85rem}
body footer.ft .ft-nav a{
  color:rgba(244,241,230,.8);text-decoration:none;font-weight:500;
  padding:.3em 0;border-bottom:2px solid transparent;
  transition:color var(--duration-quick) var(--ds-ease),border-color var(--duration-quick) var(--ds-ease);
}
body footer.ft .ft-nav a:hover{color:var(--ds-gold-3);border-bottom-color:var(--ds-gold)}
body footer.ft .ft-ico{color:rgba(244,241,230,.8);border:1px solid var(--ds-line-d);border-radius:50%;
  transition:color var(--duration-quick) var(--ds-ease),border-color var(--duration-quick) var(--ds-ease),transform var(--duration-quick) var(--ds-ease)}
body footer.ft .ft-ico:hover{color:var(--ds-gold-3);border-color:var(--ds-gold-2);transform:translateY(-2px)}
body footer.ft .ft-legal-row{border-top:1px solid var(--ds-line-d-soft);padding-top:var(--r49-s5)}
body footer.ft .ft-copy{color:rgba(244,241,230,.62);font-size:.9rem}
body footer.ft .ft-copy a{color:var(--ds-bone)}
body footer.ft .ft-legal a{color:rgba(244,241,230,.75);text-decoration:none}
body footer.ft .ft-legal a:hover{color:var(--ds-gold-3)}
body footer.ft .ft-bfs{
  display:inline-flex;align-items:center;gap:.45em;
  color:var(--ds-bone);font-weight:600;text-decoration:none;
  border-bottom:1px solid var(--ds-gold);
}
body footer.ft .ft-bfs:hover{color:var(--ds-gold-3)}
body footer.ft .ft-bfs-mark{width:22px;height:22px;border-radius:50%;display:inline-block;vertical-align:middle}
body footer.ft .f20-updated{color:rgba(244,241,230,.5)}

/* ——— Forms: ivory fields, navy text, gold focus ——— */
.ds-field input,.ds-field textarea,.ds-field select,
#certSearch{background:#FFFDF6;border:1px solid var(--ds-line);color:var(--ds-ink);border-radius:var(--ds-r-sm)}
.ds-field input:focus,.ds-field textarea:focus,#certSearch:focus{
  border-color:var(--ds-gold-2);box-shadow:var(--r49-ring);outline:none}
.finput{border-radius:var(--ds-r-sm)}
.finput:focus{border-color:var(--ds-gold-2);box-shadow:var(--r49-ring)}

/* ——— Reveals: r3049.js adds .r49-in as elements arrive ——— */
.r49-reveal{opacity:0;transform:translateY(22px)}
.r49-reveal.r49-in{
  opacity:1;transform:none;
  transition:opacity 600ms var(--ease-smooth-out),transform 600ms var(--ease-smooth-out);
}
html:not(.js) .r49-reveal{opacity:1;transform:none}

/* ——— Madeline machinery (WO-PER-FR3054-1, re-implemented) ———
   Infinite app rail: cards drift in a loop, the centered card
   scales up, and the serif title above swaps to match it. */
.r49-rail-wrap{margin:var(--r49-s6) 0 var(--r49-s7)}
.r49-rail-head{text-align:center;margin-bottom:var(--r49-s5)}
.r49-rail-title{
  font-family:var(--ds-serif);font-weight:400;
  font-size:clamp(2rem,4.5vw,3.2rem);line-height:1.05;margin:0;
  transition:opacity var(--duration-quick) var(--ds-ease),transform var(--duration-quick) var(--ds-ease);
}
.r49-rail-sub{
  margin:.5rem auto 0;max-width:52ch;color:var(--ds-ink-soft);font-size:1.02rem;
  transition:opacity var(--duration-quick) var(--ds-ease),transform var(--duration-quick) var(--ds-ease);
}
.r49-rail-head.r49-swap .r49-rail-title,
.r49-rail-head.r49-swap .r49-rail-sub{opacity:0;transform:translateY(6px)}
.r49-rail{
  overflow:hidden;cursor:grab;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.r49-rail:active{cursor:grabbing}
.r49-rail-track{display:flex;gap:var(--r49-s6);width:max-content;padding:var(--r49-s4) 0;will-change:transform}
.r49-card{
  flex:none;width:210px;text-align:center;text-decoration:none;color:var(--ds-ink);
  display:flex;flex-direction:column;align-items:center;gap:.35rem;
  will-change:transform,opacity;
}
.r49-phone{
  display:block;width:150px;border-radius:26px;overflow:hidden;
  border:1px solid var(--ds-line);box-shadow:var(--r49-shadow);
  background:var(--ds-ink);
}
.r49-phone img{width:100%;height:auto;display:block}
.r49-card-name{font-family:var(--ds-serif);font-size:1.25rem;margin-top:.6rem}
.r49-card-tag{font-size:.85rem;color:var(--ds-gold-deep);font-weight:600}
@media (max-width:700px){.r49-card{width:168px}.r49-phone{width:118px}}
/* With the trio decks gone, studio bands read as single columns. */
.bs-studio-band{display:block;margin-top:var(--r49-s7)}
.bs-studio-copy{max-width:68ch}

/* Category browser: real links, live counts, cycling previews. */
.r49-cat{padding:var(--r49-s5)}
.r49-cat-row{
  display:grid;grid-template-columns:1fr auto auto;align-items:center;
  gap:var(--r49-s4);padding:.9rem .4rem;text-decoration:none;color:var(--ds-ink);
  border-top:1px solid var(--ds-line);
  transition:background-color var(--duration-quick) var(--ds-ease),padding-left var(--duration-quick) var(--ds-ease);
}
.r49-cat-row:last-child{border-bottom:1px solid var(--ds-line)}
.r49-cat-row:hover{background:rgba(232,181,58,.10);padding-left:.8rem}
.r49-cat-name{font-family:var(--ds-serif);font-size:1.3rem}
.r49-cat-count{
  font-weight:600;color:var(--ds-gold-deep);
  border:1px solid var(--ds-gold-2);border-radius:var(--ds-r-pill);
  padding:.1em .7em;font-size:.9rem;
}
.r49-cat-prev{
  width:64px;height:44px;border-radius:var(--ds-r-sm);overflow:hidden;flex:none;
  border:1px solid var(--ds-line);background:var(--ds-bone-2);
}
.r49-cat-prev img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity var(--duration-quick) var(--ds-ease)}
.r49-cat-prev img.r49-fade{opacity:0}

/* Sticky timeline (career): markers stick, a gold spine fills
   with scroll progress (JS sets --r49-tl-p on the section). */
#career{--r49-tl-p:0}
#career>div{position:relative}
#career>div::before{
  content:"";position:absolute;top:0;bottom:0;left:calc(1.25rem - 1px);width:2px;
  background:linear-gradient(180deg,var(--ds-gold) calc(var(--r49-tl-p)*100%),var(--ds-line) 0);
}
@media (min-width:768px){#career>div::before{left:calc(2.5rem - 1px)}}
#career .tl-marker{position:sticky;top:5.5rem;align-self:start;font-family:var(--ds-sans);
  font-weight:600;font-size:.9rem;color:var(--ds-gold-deep)}
#career .tl-row{border-top:1px solid var(--ds-line)}

/* ——— Small screens: keep the scale honest ——— */
@media (max-width:700px){
  :root{--ds-section-y:3.5rem}
  .ds-nav-inner{height:4rem}
  .ft-band{padding-top:var(--r49-s6)}
}

/* ——— r3067: oxblood retirement, completed (r3058 QA P2) ———
   The token remap at the top of this layer could not reach the
   direct hex/rgba uses in the base sheets. The r3067 census found
   17 live-render survivors; every one is overridden here with the
   navy/gold system at the same geometry and alpha, so no oxblood
   hue renders anywhere. --ds-ox-bright joins the remap: gold-deep
   is the redesign's hover voice on light grounds (eyebrows, faq
   marks), and its only live consumer is the booking shell hover.
   The one deliberate exception is the failed-booking border,
   which takes the site's own error red (the .t-error-msg family)
   at the same alpha: error semantics without the retired hue. */
:root{--ds-ox-bright:#8A6A1F}
.bs-showcase-pill svg{color:var(--ds-ox)}
.cw-card-ico--bug{background:rgba(11,27,58,.11);color:var(--ds-ox)}
.bs-topic-ico--ox{background:rgba(11,27,58,.11);color:var(--ds-ox)}
.ds-ambient{background-image:
  radial-gradient(60vmax 60vmax at 85% 110%, rgba(210,161,63,.07), transparent 60%),
  radial-gradient(50vmax 50vmax at 8% -10%, rgba(11,27,58,.05), transparent 60%)}
.ds-ambient::before{background-image:repeating-linear-gradient(0deg,rgba(11,27,58,.030) 0,rgba(11,27,58,.030) 1px,transparent 1px,transparent 5px),repeating-linear-gradient(90deg,rgba(201,162,39,.034) 0,rgba(201,162,39,.034) 1px,transparent 1px,transparent 5px)}
.ds-career-map a[aria-current="page"]{background:rgba(11,27,58,.045)}
.ds-career-map a[aria-current="page"] .bs-map-ico{background:rgba(11,27,58,.1);border-color:rgba(11,27,58,.22)}
li.ds-tl-row[data-era-active="true"],.tl-row[data-era-active="true"]{background-color:rgba(11,27,58,.035)}
ol.ds-timeline:not(.hm-timeline) > li.ds-tl-row.ds-tl-now{border:1px solid rgba(11,27,58,.18)}
.proj:hover,.proj:focus-visible{box-shadow:inset 0 0 0 1px rgba(11,27,58,.22),inset 0 1px 0 rgba(255,255,255,.96),0 24px 48px -24px rgba(20,20,19,.2)}
.booking-cal-inline.is-failed{border-color:rgba(192,86,77,.28)}
.booking-gold-bar{background:linear-gradient(90deg,var(--ds-ox),rgba(11,27,58,.25)) !important}
body .spotlight-host::after{background:radial-gradient(600px circle at var(--mx) var(--my),rgba(11,27,58,.10),transparent 55%),radial-gradient(500px circle at 85% 75%,rgba(11,11,12,.06),transparent 55%) !important}
@media (hover:none){body .spotlight-host::after{background:radial-gradient(600px circle at 20% 30%,rgba(11,27,58,.06),transparent 55%),radial-gradient(500px circle at 85% 75%,rgba(11,11,12,.05),transparent 55%) !important}}
.uq-hero-contact{background:radial-gradient(36vmax 26vmax at 12% 0%,rgba(11,27,58,.05),transparent 70%)}
.uq-hero-booking{background:radial-gradient(40vmax 26vmax at 85% 0%,rgba(11,27,58,.05),transparent 70%)}
.uq-hero-apps{background:radial-gradient(44vmax 28vmax at 10% 0%,rgba(11,27,58,.05),transparent 70%)}
body.uq-apps .app-card:hover .app-visual,body.uq-apps .app-card:focus-within .app-visual{box-shadow:0 32px 68px rgba(11,11,12,.35),0 12px 28px rgba(11,27,58,.14)}
.app-store-strip::before{background:radial-gradient(circle at 82% 10%,rgba(11,27,58,.08),transparent 36%),linear-gradient(90deg,transparent,rgba(11,11,12,.04),transparent)}

/* ——— r3070: one motion scale + the button unification (2026-11-23) ———
   Ben's elevation order: motion, transitions, components, buttons.
   The base sheets carry TWO duration scales that disagree: the
   --duration-* family (quick 150 / fast 250 / medium 280) and the
   --mo-* family (fast 160 / med 220 / reveal 260), both easing on
   the house curve. This layer, loaded last, puts the --mo-* family
   on the --duration-* scale, so every consumer of either family
   now runs one system. Easing was already one curve
   (cubic-bezier(.22,1,.36,1) via --ds-ease / --mo-ease).
   Buttons: the booking widget family (.bw-btn, 400+ instances on
   58 pages) kept its own voice: .2s timings, a -1px hover lift, no
   press state, a warm-brown primary hover (#26221a), and a red
   focus outline (#8b1a1a, a retired-hue survivor the r3067 census
   did not cover because it is a focus-only style in a different
   hex). It now speaks the shared .ds-btn voice exactly: same
   padding rhythm, same token timing, same -2px lift, same .97
   press, same gold focus ring. The pressable topic cards and the
   arcade's secondary buttons carried ad-hoc timings (.25s with a
   second easing curve, declared twice for .uq-pressable); both
   are on the token scale now. */
:root{--mo-fast:150ms;--mo-med:250ms;--mo-reveal:280ms}
.bw-btn{
  padding:.85em 1.6em;
  transition:background-color var(--duration-fast) var(--ds-ease),
    color var(--duration-fast) var(--ds-ease),
    border-color var(--duration-fast) var(--ds-ease),
    transform var(--duration-fast) var(--ds-ease),
    box-shadow var(--duration-fast) var(--ds-ease);
}
.bw-btn-primary:hover{background:var(--ds-ink-2);transform:translateY(-2px)}
.bw-btn-ghost{border-color:rgba(11,27,58,.55)}
.bw-btn-ghost:hover{background:rgba(11,27,58,.06)}
.bw-btn:active{transform:translateY(0) scale(.97)}
.bw-btn:focus-visible,.bw-path:focus-visible,.bw-topic:focus-within,.bw-linklike:focus-visible{
  outline:2px solid var(--ds-gold-2);outline-offset:3px;box-shadow:var(--r49-ring);
}
.uq-pressable{
  transition:transform var(--duration-fast) var(--ds-ease),
    box-shadow var(--duration-fast) var(--ds-ease),
    background-color var(--duration-fast) var(--ds-ease),
    color var(--duration-fast) var(--ds-ease),
    border-color var(--duration-fast) var(--ds-ease);
}
.game-btn-secondary{
  transition:background-color var(--duration-fast) var(--ds-ease),
    border-color var(--duration-fast) var(--ds-ease),
    color var(--duration-fast) var(--ds-ease),
    transform var(--duration-fast) var(--ds-ease),
    box-shadow var(--duration-fast) var(--ds-ease);
}
/* Page-to-page: the cross-document view transition ran on its own
   numbers too (old 180ms, new 240ms). Same scale now: the old page
   leaves on the quick step, the new one arrives on the fast step. */
::view-transition-group(root){animation-duration:var(--duration-fast)}
::view-transition-old(root){animation-duration:var(--duration-quick)}
::view-transition-new(root){animation-duration:var(--duration-fast)}

/* ——— r3082: the retired hue leaves the booking widget (2026-11-23) ———
   r3077 QA finding F-2: the r3070 block above retired the retired
   hue at this family's four focus selectors, but three base-sheet
   rules in the same widget still rendered it: .bw-linklike's text
   color, .bw-topic's input accent, and .bw-input's focus outline
   and border (design-system.css). They take the redesign's own
   voices here. The linklike and the topic accent go navy
   (var(--ds-ox), the token the redesign retired its oxblood voice
   into), and the input focus joins the family's gold treatment
   from the r3070 block verbatim (gold-deep outline, shared ring),
   its border in the same gold. Only the hue changes; the base
   sheets stay untouched, as in r3067/r3070. */
.bw-linklike{color:var(--ds-ox)}
.bw-topic input{accent-color:var(--ds-ox)}
.bw-input:focus{outline:2px solid var(--ds-gold-2);outline-offset:3px;box-shadow:var(--r49-ring);border-color:var(--ds-gold-2)}

/* ——— r3118: the r3094 fold (2026-11-23) ———
   The deep critique of this redesign (r3094) plus the r3095
   outline census, folded in before landing. Four families:
   one edge per element, the facts-ledger baseline system, the
   arcade's second chrome, and the 404 stage. */

/* One edge per element (r3095 PER-2, STD-1): the doppelrand
   plates carried a border plus two inset shadow rings, and the
   engraved plate carried a border plus two inset rings. Each
   keeps exactly one edge: the border stays, the drop shadow
   stays, the inset rings go. The definitions live in
   design-system.css (.bs-doppelrand) and layer.css (.bs-plate);
   as everywhere in this layer, the base sheets stay untouched. */
.bs-doppelrand{box-shadow:0 14px 28px -22px rgba(20,20,19,.2)}
.bs-plate{box-shadow:0 28px 56px -28px rgba(3,6,14,.55)}

/* Facts ledger (Ben, 2026-11-23: sibling columns share one size
   system, aligned baselines): the four cells already share the
   key/value classes; what drifted was the small line, which sat
   directly under values of differing line counts. The cell is
   now a column, the value stretches, and the small line pins to
   the shared bottom baseline with its original gap kept as a
   minimum. */
.bs-ledger-cell{display:flex;flex-direction:column}
.bs-ledger-val{flex:1;display:flex;flex-direction:column}
.bs-ledger-val small{margin-top:auto;padding-top:var(--ds-space-1)}

/* The arcade's second chrome (WO-PER-3094-4 / D-4): arcade-pages
   paints the shared header near-black (body.uq-arcade-sub #nav
   out-specifies the pinned body header#nav rule above), so the
   hub and all 36 game pages ran a different bar from the site
   they belong to. The pinned treatment (navy bar, ivory type,
   gold rule) now wins there too, the game-active tint no longer
   recolours site chrome, and the active link's white pill gives
   way to the gold underline the rest of the site uses. */
body.uq-arcade-sub header#nav,body.uq-arcade-landing header#nav{
  background:rgba(9,22,46,.94) !important;
  border-bottom:1px solid rgba(232,181,58,.35) !important;
}
body.uq-arcade-sub header#nav .nlink.is-active,
body.uq-arcade-landing header#nav .nlink.is-active{
  background:transparent !important;border-color:transparent !important;
}

/* Arcade info cards (WO-PER-3094-4 / D-10): the card edge fell
   back to a green (#1B6B4A) whenever the per-game accent was not
   in scope, which is everywhere outside the hero. The edge now
   takes the system gold in the same construction. */
.apg-card,.apg-cta-inner{box-shadow:inset 0 0 0 1px rgba(20,20,19,.08),inset 3px 0 0 var(--ds-gold-2),0 14px 30px -20px rgba(20,20,19,.16)!important}

/* Arcade labels (WO-PER-3094-4 / D-13): the game counter over
   the title rendered wide-tracked mono ("G a m e  3 4 / 3 6")
   and the card kickers kept a mono voice the redesign retired
   everywhere else. Both take the site's label voice: sans,
   sentence case, untracked. */
.apg-hero h1 .num{font-family:var(--ds-sans);font-weight:600;letter-spacing:.01em}
.apg-card .kicker{font-family:var(--ds-sans);font-weight:600;letter-spacing:.01em}

/* Stage contrast (WO-PER-3094-5 / D-9): inside the dark stage,
   the stat labels sat at 50% bone and the secondary button
   washed out entirely in its disabled state (dice holds Score
   hand disabled until the first roll). Labels rise to 82% bone,
   the status line with them, and both stage buttons keep
   contrast-passing colours in every state. */
.apg-stage [class~="text-bone/50"]{color:rgba(245,242,236,.82)}
.apg-stage [class~="text-bone/60"]{color:rgba(245,242,236,.82)}
.apg-stage .game-btn-secondary{color:var(--apg-bone,#F5F2EC);border-color:rgba(245,242,236,.55)}
.apg-stage .game-btn-secondary:disabled{color:rgba(245,242,236,.78);border-color:rgba(245,242,236,.4);opacity:1;cursor:not-allowed}
.apg-stage .game-btn-primary:disabled{background:rgba(210,161,63,.6);color:#1A1204;opacity:1;cursor:not-allowed}

/* The 404 stage (WO-PER-3094-3 / D-3): the vendored ASCII stage
   kept its library ground (near-black green) and grey ink. The
   stage now sits in the engraved system: navy ground, gold-tinted
   frame, warm ivory ink for the static frame. The piece itself is
   re-skinned to match (assets/ascii/pieces/page-404.js, r3118). */
.nf-ascii .ascii-stage{background:#0B1B3A;border-color:rgba(232,181,58,.38);box-shadow:0 24px 48px -24px rgba(3,6,14,.55)}
.nf-ascii .ascii-pre{color:#B9B09A}

/* ——— r3118 (cont.): one focus geometry (r3114 L2-F6 / WO-OUT-PER-1) ———
   The r3095 census convicted one fully invisible focus (PER-1:
   /about's flip toggle) and counted 6-9 distinct focus geometries
   per page; r3114 confirmed the toggle invisible at 1440 too, so
   it is both-widths. The mechanism: the sheets carried rival
   systems (a system-blue 3px Highlight outline in redesign.css
   and styles.css, ink outlines at offsets 2/3/4, bone-and-ink
   shadow rings), and design-system.css's late :is() block set
   outline:none with a paper-and-blue shadow ring, !important, on
   the main control family, the about flip toggle included: on
   ivory the paper ring vanishes and the toggle showed nothing.
   The redesign's geometry is now the only one: 2px gold-deep
   outline, 3px offset, the shared gold ring. The generic rule
   above carries it; the two rules here mirror the rival blocks
   selector for selector at equal specificity (this layer loads
   last, so it wins) for the controls a generic selector cannot
   outrank. No rule in the chain sits inside a media query, so
   the treatment is identical at every width. Form fields keep
   their border tint on top of the same outline and ring. */
:is(.ds-btn,.btn-ink,.btn-gold,.ds-btn-ghost,.btn-outline,.bs-studio-pause,.cert-pause-btn,.bs-deck-step,.bs-deck-dot,.ds-flip-btn,.booking-close,#nav .bs-search-nav,#aboutFlip .ds-flip-toggle,.atab,.pill,.arcade-fs,.arcade-fs-exit,.rx-pad,.cw-q):focus-visible{
  outline:2px solid var(--ds-gold-2)!important;outline-offset:3px!important;box-shadow:var(--r49-ring)!important;
}
.ds-flip-toggle:focus-visible,.ds-ac-toggle:focus-visible,
.ds-faq>summary:focus-visible,#bookFloat:focus-visible,
.ds-ac-dot:focus-visible,.link-line:focus-visible,
.ft-ico:focus-visible,.ft-nav a:focus-visible,
.cert-chip:focus-visible,.page-tab:focus-visible,
body .skip-link:focus-visible,body .link-line:focus-visible,
.f20-copybtn:focus-visible,.app-store-strip-links a:focus-visible,
.tactile:focus-visible,.finput:focus-visible,.nlink:focus-visible,
#hb:focus-visible,.ds-hb:focus-visible,
#nav #hb:focus-visible,#nav .ds-hb:focus-visible,
#mmenu a:focus-visible,#mmenu button:focus-visible,
button.cert-pill:focus-visible,.cert-modal-link:focus-visible,
.cert-modal-close:focus-visible,.bw-btn:focus-visible,
.bw-path:focus-visible,.bw-linklike:focus-visible,
footer .ft-group>a:focus-visible,footer .ft-group>button:focus-visible,
footer .ft-legal>a:focus-visible,
.bday input:focus-visible + span,.btime input:focus-visible + span,
.apg-fs-btn:focus-visible{
  outline:2px solid var(--ds-gold-2)!important;outline-offset:3px!important;box-shadow:var(--r49-ring)!important;
}

/* Career logos unboxed (WO-OUT-PER-1 / PER-4): the timeline
   employer logos carried a real 1px border on all sides, the
   boxed treatment. The border goes; the logos sit on the ground
   like the rest of the timeline's marks. */
.tl-logo{border:0}
