
/* © 2026 Quant Toolbox — sitewave 2026-11-14: banner enrichment, toolbox strip, QT card, services demos, categories, customization */
.hero-banner{position:relative; overflow:hidden; border-radius:18px;}
.hero-banner .banner-particles{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden;border-radius:18px}
.hero-banner .banner-particles i{position:absolute;border-radius:50%;background:radial-gradient(circle,rgba(160,240,255,.95),rgba(160,240,255,0) 65%);animation:qtbDrift 9s ease-in-out infinite alternate}
@keyframes qtbDrift{from{transform:translate(0,0);opacity:.35}to{transform:translate(14px,-18px);opacity:.9}}
.hero-banner .banner-sweep{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(115deg,transparent 38%,rgba(255,255,255,.20) 50%,transparent 62%);background-size:300% 100%;animation:qtbSweep 84s ease-in-out infinite;border-radius:18px}
@keyframes qtbSweep{0%{background-position:130% 0}7%{background-position:-130% 0}100%{background-position:-130% 0}}
@media (prefers-reduced-motion: reduce){.hero-banner .banner-particles i,.hero-banner .banner-sweep{animation:none}}
.toolbox-strip{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:center;margin:14px 0 4px;padding:12px 14px;background:linear-gradient(90deg,#0a2450,#0b6fa4);border-radius:14px;color:#eaf7ff}
.toolbox-strip b{letter-spacing:.14em;font-size:12px;text-transform:uppercase;color:#ffd166}
.toolbox-strip a{color:#fff;text-decoration:none;font-weight:700;font-size:14px;background:rgba(255,255,255,.12);padding:6px 12px;border-radius:999px}
.toolbox-strip a:hover{background:rgba(255,255,255,.24)}
.qt-card{display:flex;gap:18px;align-items:center;background:linear-gradient(140deg,#ffffff,#eaf7ff);border:1px solid #d9ecf7;border-radius:18px;padding:20px;box-shadow:0 10px 30px rgba(11,111,164,.14);margin:26px 0}
.qt-card img{width:120px;height:120px;object-fit:cover;border-radius:50%;flex:0 0 120px;box-shadow:0 8px 22px rgba(11,111,164,.25)}
.qt-card h2{font-size:clamp(21px,3.4vw,27px);margin-bottom:6px}
.qt-card p{color:#3d5a74;max-width:44em}
.qt-card .btn{display:inline-block;margin-top:12px;background:#0b6fa4;color:#fff;padding:11px 20px;border-radius:999px;text-decoration:none;font-weight:800}
@media(max-width:560px){.qt-card{flex-direction:column;text-align:center}}
.svc-demo{margin-top:10px;background:#0a2450;color:#eaf7ff;border-radius:12px;padding:12px;font-size:14px}
.svc-demo button{background:#0b6fa4;color:#fff;border:0;border-radius:999px;padding:7px 14px;font-weight:800;cursor:pointer;margin:4px 4px 4px 0}
.svc-demo output{display:block;margin-top:8px;color:#aee9ff;min-height:1.3em}
.catnav{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.catnav a{background:#e8f5fc;color:#0b6fa4;font-weight:800;text-decoration:none;padding:7px 13px;border-radius:999px;font-size:13.5px}
.cust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:14px 0}
@media(max-width:640px){.cust-grid{grid-template-columns:1fr}}
.cust{background:#fff;border:1px solid #d9ecf7;border-radius:14px;padding:16px}
.cust h4{margin-bottom:4px}.cust p{color:#3d5a74;font-size:14px}.cust .tag{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.1em;padding:3px 8px;border-radius:6px;background:#e8f5fc;color:#0b6fa4;margin-bottom:6px}
.cust .tag.enq{background:#fff3d6;color:#7a5200}

/* Custom cursor — THE NORTH STAR (owner FINAL word 2026-11-14 ~15:29 EST) — tiny four-point star, bright as the banner's orb. Alternates kept: assets/cursor-orb.svg, assets/cursor-droplet.svg.
   Swappable: change --qtb-cursor / --qtb-cursor-hot (one asset + variable).
   Desktop fine pointers only; native fallback if the asset fails; text
   fields keep the I-beam; touch devices unaffected. */
:root{--qtb-cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><defs><radialGradient id='s' cx='0.5' cy='0.5' r='0.5'><stop offset='0' stop-color='%23ffffff'/><stop offset='0.4' stop-color='%23c9f4ff'/><stop offset='1' stop-color='%234fc9f5' stop-opacity='0'/></radialGradient></defs><circle cx='16' cy='16' r='13' fill='url(%23s)'/><path d='M16 1 L18.2 13.8 L31 16 L18.2 18.2 L16 31 L13.8 18.2 L1 16 L13.8 13.8 Z' fill='%23eafcff'/><circle cx='16' cy='16' r='3.2' fill='%23ffffff'/></svg>") 16 16, auto;
--qtb-cursor-hot: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><defs><radialGradient id='s' cx='0.5' cy='0.5' r='0.5'><stop offset='0' stop-color='%23ffffff'/><stop offset='0.4' stop-color='%23c9f4ff'/><stop offset='1' stop-color='%234fc9f5' stop-opacity='0'/></radialGradient></defs><circle cx='16' cy='16' r='14.5' fill='none' stroke='%23ffb52e' stroke-width='1.4' opacity='0.95'/><circle cx='16' cy='16' r='13' fill='url(%23s)'/><path d='M16 1 L18.2 13.8 L31 16 L18.2 18.2 L16 31 L13.8 18.2 L1 16 L13.8 13.8 Z' fill='%23eafcff'/><circle cx='16' cy='16' r='3.2' fill='%23ffffff'/></svg>") 16 16, pointer;}
@media (hover:hover) and (pointer:fine){
  body{cursor:var(--qtb-cursor);}
  a, button, select, label, input[type="checkbox"], input[type="radio"], .svc, .cust, .bcard, [role="button"]{cursor:var(--qtb-cursor-hot);}
  input[type="text"], input[type="email"], input[type="number"], input[type="search"], textarea{cursor:text;}
}

/* ===== WAVE 2 (2026-11-14): living water, QT, turning toolbox, glow ===== */
/* Moving-water body: deep-water gradient drift on a fixed layer (GPU-cheap
   transform), calm under content because cards keep their glass fills. */
body{background:#04182a;}
body::before{content:""; position:fixed; inset:-12%; z-index:-2; pointer-events:none;
  background:
    radial-gradient(60% 42% at 18% 8%, rgba(31,122,178,.34), transparent 62%),
    radial-gradient(52% 38% at 84% 22%, rgba(23,168,224,.26), transparent 60%),
    radial-gradient(70% 50% at 50% 108%, rgba(10,70,110,.55), transparent 65%),
    linear-gradient(168deg, #07293f 0%, #04182a 46%, #030f1c 100%);
  animation:qtb-water-drift 26s ease-in-out infinite alternate;}
@keyframes qtb-water-drift{from{transform:translate3d(-1.6%,-1%,0) scale(1.02);}to{transform:translate3d(1.6%,1.2%,0) scale(1.05);}}
@media (prefers-reduced-motion: reduce){ body::before{animation:none;} }

/* Rainbow-road ribbon + stronger beam on the banner (owner 2026-11-14 ~15:12:
   "go crazy" — animation layers AROUND the frozen artwork; logo untouched). */
.hero-banner{position:relative;}
.hero-banner::before{content:""; position:absolute; left:0; right:0; bottom:0; height:12px; z-index:4;
  background:linear-gradient(90deg,#ff5f6d,#ffb52e,#f9e04b,#4be38a,#39c2f0,#7a7ff0,#c86bfa,#ff5f6d);
  background-size:220% 100%; opacity:.92; animation:qtb-rainbow 56s linear infinite;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 55%); mask-image:linear-gradient(180deg,transparent,#000 55%);}
@keyframes qtb-rainbow{from{background-position:0% 0;}to{background-position:220% 0;}}
.hero-banner .beam2{position:absolute; inset:0; z-index:3; pointer-events:none; mix-blend-mode:screen;
  background:linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,0) 42%);
  animation:qtb-beam 10s ease-in-out infinite;}
@keyframes qtb-beam{0%,100%{opacity:.25; transform:translateY(-6%);}50%{opacity:.75; transform:translateY(2%);}}
@media (prefers-reduced-motion: reduce){ .hero-banner::before,.hero-banner .beam2{animation:none;} }

/* Turning toolbox at the top — compact 3D carousel band under the banner. */
.spin-band{margin:14px 0 4px; padding:10px 0 2px;}
.spin-band h2{font-size:15px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); text-align:center; margin:0 0 4px;}
.spin-stage{height:158px; perspective:760px; overflow:hidden; display:grid; place-items:center;}
.spin-ring{position:relative; width:118px; height:96px; transform-style:preserve-3d; animation:qtb-spinY 26s linear infinite; will-change:transform;}
.spin-stage:hover .spin-ring{animation-play-state:paused;}
.spin-stage:focus-within .spin-ring{animation-play-state:paused;}
.spin-ring.paused{animation-play-state:paused;}
.spin-card{position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  background:linear-gradient(160deg, rgba(23,52,82,.92), rgba(10,30,50,.94)); border:1px solid rgba(96,200,240,.45); border-radius:14px;
  color:#eaf6ff; text-decoration:none; font-size:12.5px; font-weight:700; text-align:center; padding:8px 6px;
  box-shadow:0 0 18px rgba(64,224,208,.22), inset 0 1px 0 rgba(255,255,255,.25); backface-visibility:hidden;}
.spin-card .si{font-size:27px; filter:drop-shadow(0 0 7px rgba(64,224,208,.75));}
/* Build 065: the spin-card icons are inline SVGs with a viewBox but no size —
   unsized they overflow the card and read as missing. Size them explicitly. */
.spin-card .si svg{width:30px; height:30px; display:block;}
.qt-tv.qtg-enter .qt-tv-screen{animation:qtg-pop 1.5s cubic-bezier(.2,1.35,.35,1) 1;}
@keyframes qtg-pop{0%{transform:scale(.35) translateY(16px); opacity:.2;}55%{transform:scale(1.14) translateY(-9px); opacity:1;}78%{transform:scale(.96) translateY(2px);}100%{transform:scale(1) translateY(0);}}
@media (prefers-reduced-motion: reduce){ .qtg.qtg-enter .qtg-fab, .qt-tv.qtg-enter .qt-tv-screen{animation:none;} }
@keyframes qtb-spinY{from{transform:rotateY(0deg);}to{transform:rotateY(360deg);}}
@media (prefers-reduced-motion: reduce){ .spin-ring{animation:none; transform:none; position:static; width:auto; height:auto; display:flex; gap:8px; flex-wrap:wrap; justify-content:center;} .spin-card{position:static;} .spin-stage{height:auto;} }

/* QT Box (header TV) */
.qt-tv{margin-left:12px; display:flex; flex-direction:column; align-items:center; gap:2px; flex:none; background:none; border:0; padding:0; cursor:pointer; font:inherit; -webkit-appearance:none; appearance:none;}
.qt-tv:focus-visible{outline:2px solid #17a8e0; outline-offset:3px; border-radius:10px;}
.qt-tv-screen{width:118px; height:90px; border-radius:10px; padding:3px; background:linear-gradient(160deg,#2b3f55,#101e30);
  border:1px solid rgba(96,200,240,.5); box-shadow:0 0 14px rgba(64,224,208,.35), inset 0 0 12px rgba(0,0,0,.55);}
.qt-tv-screen img{width:100%; height:100%; object-fit:cover; border-radius:7px; display:block;}
.qt-tv-label{font-size:9px; letter-spacing:.18em; color:#0b3a56; font-weight:800;}
.qt-tv.pop .qt-tv-screen{animation:qtb-pop .55s cubic-bezier(.2,1.6,.4,1);}
@keyframes qtb-pop{0%{transform:scale(1);}45%{transform:scale(1.14) rotate(-3deg);}100%{transform:scale(1);}}
@media (max-width:560px){ .qt-tv{margin-left:8px;} .qt-tv-screen{width:76px; height:58px;} }
@keyframes qtb-hop{0%{transform:translateY(0);}40%{transform:translateY(-13px) scale(1.06);}100%{transform:translateY(0);}}
@keyframes qtg-pulse{0%,100%{box-shadow:0 0 0 0 rgba(255,90,90,.45);}50%{box-shadow:0 0 0 6px rgba(255,90,90,0);}}
@media (prefers-reduced-motion: reduce){ }
@keyframes qtg-tap{0%,100%{transform:translateY(-4px) rotate(-8deg);}50%{transform:translateY(4px) rotate(0deg);}}
@keyframes qtg-micpulse{0%,100%{box-shadow:0 0 0 0 rgba(96,200,240,.5);}50%{box-shadow:0 0 0 7px rgba(96,200,240,0);}}
@media (prefers-reduced-motion: reduce){ }
@media (prefers-reduced-motion: reduce){ }

/* See-more-details tabs (owner law 2026-11-17: essentials up front, depth one tap away) */
details.more{margin:10px 0 6px; border-top:1px dashed rgba(11,111,164,.3); padding-top:8px;}
details.more>summary{cursor:pointer; font-weight:800; color:#0b6fa4; font-size:13.5px; letter-spacing:.03em; list-style:none; display:inline-block; padding:4px 0;}
details.more>summary::-webkit-details-marker{display:none;}
details.more>summary::before{content:"▸ ";}
details.more[open ]>summary::before{content:"▾ ";}

/* Ambient sound toggle */
.qtb-snd{position:fixed; left:14px; bottom:calc(86px + env(safe-area-inset-bottom)); z-index:60; width:44px; height:44px; border-radius:50%;
  background:rgba(8,32,52,.9); border:1px solid rgba(96,200,240,.55); font-size:19px; cursor:pointer; color:#eaf6ff;
  box-shadow:0 0 14px rgba(64,224,208,.3);}

/* Government-clean doors (homepage) */
.doors{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; margin:16px 0 6px;}
.door{display:flex; flex-direction:column; gap:3px; background:linear-gradient(165deg, rgba(21,50,80,.9), rgba(9,28,47,.94));
  border:1px solid rgba(96,200,240,.35); border-radius:16px; padding:15px 16px; color:#eaf6ff; text-decoration:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);}
.door b{font-size:16.5px;} .door span{font-size:13px; color:#b9d9ee; line-height:1.4;}
.door .di{font-size:24px; filter:drop-shadow(0 0 6px rgba(64,224,208,.6));}
.proof-strip{margin:14px 0 4px; background:rgba(8,32,52,.85); border:1px solid rgba(96,200,240,.35); border-radius:14px; padding:12px 16px; font-size:14px; line-height:1.65;}

/* Banner GO CRAZY (owner 2026-11-14 ~15:12 EST): prismatic shimmer riding the
   banner's surface + the same crystalline shimmer as a styling layer OVER
   the frozen header logo (overlay blend on the box — the logo image bytes
   and letterforms are never touched). */
.hero-banner::after{content:""; position:absolute; inset:0; z-index:5; pointer-events:none; mix-blend-mode:screen;
  background:linear-gradient(115deg, transparent 30%, rgba(255,95,109,.20) 42%, rgba(255,181,46,.22) 48%, rgba(75,227,138,.20) 54%, rgba(57,194,240,.24) 60%, rgba(200,107,250,.20) 66%, transparent 78%);
  background-size:280% 100%; animation:qtb-prism 96s ease-in-out infinite;}
@keyframes qtb-prism{0%{background-position:120% 0;}6%{background-position:-40% 0;}100%{background-position:-40% 0;}}
.brand{position:relative; display:inline-flex;}
@media (prefers-reduced-motion: reduce){ .hero-banner::after{animation:none;} }

/* Hero legibility on the living water (wave 2 fix) */
.hero h1{color:#f2faff; text-shadow:0 2px 22px rgba(23,168,224,.35);}
.hero .lede{color:#cfe9f7;}
.hero .kicker{color:var(--gold);}

/* Cherubs (wave 3) */
.qtb-cherub{position:fixed; left:14px; bottom:calc(198px + env(safe-area-inset-bottom)); z-index:59; display:flex; align-items:center; gap:9px;
  background:rgba(8,32,52,.92); border:1px solid rgba(255,217,104,.55); border-radius:18px; padding:8px 13px 8px 8px;
  box-shadow:0 0 18px rgba(140,220,255,.4), 0 10px 26px rgba(0,0,0,.45); cursor:pointer;
  opacity:0; transform:translateY(10px) scale(.94); transition:opacity .45s, transform .45s;}
.qtb-cherub.on{opacity:1; transform:none;}
.qtb-cherub-line{font-size:13.5px; color:#fdf6d8; max-width:170px; line-height:1.4;}

.qtb-snd{overflow:visible;}
.qtb-snd-bell{position:absolute; right:-4px; top:-5px; font-size:11px; filter:drop-shadow(0 0 4px rgba(255,217,104,.8));}

/* ===== LEGIBILITY — font COLOUR corrections (owner defect, 2026-11-14 15:27 EST) =====
   Failing pairings found in renders over the living water:
   (a) theme ink headings (#16324a-class dark navy) on the deep-water ground — near-invisible;
   (b) mid-blue body text on dark glass — washed out by glow;
   (c) muted small print under the banner — below comfort at 375px.
   Corrected palette: near-white ice for headings, pale ice-blue for body,
   bright cyan for links, gold reserved for kickers/labels — all ≥ comfort
   contrast on the #04182a–#0a2e4a water; calm solid backing behind text
   blocks that sit directly over motion. */
body{color:#dceefb;}
main h1, main h2, main h3, .hero h1{color:#f4faff; text-shadow:0 1px 14px rgba(0,10,20,.55);}
main p, main li, .lede, .sub{color:#d7ecfa;}
/* Readability pass 2026-11-15: the water-colour text above belongs on the dark
   sections. On white cards and panels it washed out (1.1-1.2:1) — there, body
   copy takes the ink colours instead. */
main .panel p, main .panel li, main .bcard p, main .bcard li, main .card p, main .card li,
main .svc p, main .svc li, main .pick p, main .pick li, main .cap p, main .prod p,
main .stat p, main .callout p, main .cust p, main .gc-grid p, main .qt-card p{color:var(--ink-soft);}
/* Readability 2026-11-15 r3: headings, links, labels and table cells inside white surfaces take ink colours */
main .card h1, main .card h2, main .card h3,
main .panel h2, main .panel h3,
main .svc h2, main .svc h3,
main .pick h2, main .pick h3,
main .cap h2, main .cap h3,
main .prod h2, main .prod h3,
main .stat h2, main .stat h3,
main .cust h3, main .cust h4,
main .gc-grid h2, main .gc-grid h3 { color: var(--ink); }
main .card a:not(.btn):not(.chip):not(.call):not(.call-pill):not(.gold):not(.cta),
main .panel a:not(.btn):not(.chip):not(.call):not(.call-pill):not(.gold):not(.cta),
main .svc a:not(.btn):not(.chip):not(.call):not(.call-pill):not(.gold):not(.cta),
main .pick a:not(.btn):not(.chip):not(.call):not(.call-pill):not(.gold),
main .cap a:not(.btn):not(.chip):not(.call):not(.call-pill):not(.gold),
main .prod a:not(.btn):not(.chip):not(.call):not(.call-pill):not(.gold),
main .cust a:not(.btn):not(.chip):not(.call):not(.call-pill):not(.gold) { color: var(--sky); }
main .card label, main .svc label, main .panel label { color: var(--ink-soft); }
main .card table td, main .card table th { color: var(--ink-soft); }
main .card table td strong, main .card table th strong { color: var(--ink); }
.kicker, .eyebrow{color:#ffd968;}
a{color:#6fd3f7;}
.mut, .fine, small{color:#a9cbe0;}
section:not(.qt-card):not(.flagship-card), .doors, .proof-strip{--tw-backdrop:1;}
.hero, .spin-band, .doors, .proof-strip{position:relative; z-index:1;}
.hero::before{content:""; position:absolute; inset:-8px 0; z-index:-1; border-radius:20px;
  background:linear-gradient(180deg, rgba(4,20,34,.55), rgba(4,20,34,.28)); }
footer{color:#cfe9f7;} footer a{color:#8fdcff;}
.appnav a{color:#dceefb;}

/* House OS live demo (wave 4) */
.osd{margin:14px 0;}
.osd-head{font-size:15px; letter-spacing:.06em; color:#f4faff; margin-bottom:8px;}
.osd-badge{display:inline-block; background:#ffb52e; color:#241a02; font-size:10.5px; font-weight:800; border-radius:999px; padding:2px 8px; margin-left:6px; vertical-align:middle;}
.osd-frame{width:min(300px,86vw); margin:0 auto; background:linear-gradient(165deg,#1b2f47,#0a1a2c); border:1px solid rgba(96,200,240,.5); border-radius:26px; padding:10px; box-shadow:0 0 26px rgba(64,224,208,.28), 0 18px 40px rgba(0,0,0,.5);}
.osd-screen{background:linear-gradient(170deg,#0a3552,#04182a 70%); border-radius:18px; overflow:hidden; aspect-ratio:240/330; display:flex; flex-direction:column;}
.osd-status{display:flex; justify-content:space-between; padding:7px 10px; font-size:12px; letter-spacing:.08em; color:#a9cbe0; border-bottom:1px solid rgba(96,200,240,.25);}
.osd-view{flex:1; padding:10px; overflow:hidden auto;}
.osd-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:8px;}
.osd-tile{background:rgba(18,57,92,.75); border:1px solid rgba(96,200,240,.4); border-radius:14px; color:#eaf6ff; padding:10px 4px 8px; font-size:12px; font-weight:700; display:flex; flex-direction:column; align-items:center; gap:4px; cursor:pointer;}
.osd-tile.hot{border-color:#ffb52e; box-shadow:0 0 10px rgba(255,181,46,.35);}
.osd-ti{color:#8fe9ff; line-height:0;}
.osd-ti svg{width:26px; height:26px; display:block;}
.osd-appbar b svg{width:17px; height:17px; vertical-align:-3px;}
.osd-status .osd-sig{display:inline-flex; gap:5px; color:#8fe9ff; line-height:0;}
.osd-status .osd-sig svg{width:13px; height:13px;}
.osd-wi{color:#8fe9ff; line-height:0;} .osd-wi svg{width:17px; height:17px; vertical-align:-3px;}
.osd-fic{display:inline-block; line-height:0; vertical-align:-6px;} .osd-fic svg{width:44px; height:44px;}
.osd-homefoot{margin-top:10px; font-size:12px; color:#a9cbe0; text-align:center;}
.osd-info{margin-top:9px; font-size:13px; color:#d7ecfa; background:rgba(8,32,52,.85); border:1px solid rgba(96,200,240,.35); border-radius:12px; padding:9px 12px;}
.osd-info.flash{border-color:#ffb52e;}
.osd-foot{font-size:12px; color:#a9cbe0; max-width:520px; margin:8px auto 0; text-align:center;}
.osd-appbar{display:flex; align-items:center; gap:8px; margin-bottom:8px; color:#f4faff; font-size:13.5px;}
.osd-back{background:#12395c; color:#eaf6ff; border:1px solid rgba(96,200,240,.5); border-radius:999px; padding:4px 10px; font-size:12px; font-weight:700; cursor:pointer;}
.osd-appbody{font-size:16px; color:#d7ecfa;}
.osd-appbody canvas{width:100%; background:rgba(4,20,34,.6); border:1px solid rgba(96,200,240,.3); border-radius:12px;}
.osd-read{margin-top:7px; font-weight:700; color:#7dffce; font-size:12.5px;}
.osd-note{font-size:12px; color:#a9cbe0; line-height:1.5;}
.osd-big{font-size:34px; font-weight:800; color:#f4faff;} .osd-big span{font-size:12px; color:#a9cbe0; font-weight:600;}
.osd-week{margin-top:6px;} .osd-wrow{display:flex; justify-content:space-between; padding:4px 2px; border-bottom:1px solid rgba(96,200,240,.18);}
.osd-vrow{display:flex; align-items:center; gap:8px; margin:7px 0; font-size:11.5px;} .osd-vrow span{width:74px; color:#a9cbe0;}
.osd-bar{flex:1; height:8px; background:rgba(96,200,240,.18); border-radius:99px; overflow:hidden;} .osd-bar i{display:block; height:100%; background:linear-gradient(90deg,#17a8e0,#4be38a); border-radius:99px;}
.osd-face{text-align:center; padding:20px 0 8px;} .osd-fdig{font-size:40px; font-weight:800; color:#f4faff; text-shadow:0 0 18px rgba(64,224,208,.6);} .osd-fsub{font-size:10.5px; letter-spacing:.14em; color:#a9cbe0; margin-top:4px;}
.osd-fbtns{display:flex; gap:6px; justify-content:center;} .osd-fbtns button{background:#12395c; color:#eaf6ff; border:1px solid rgba(96,200,240,.45); border-radius:999px; padding:5px 11px; font-size:12px; font-weight:700; cursor:pointer;}

/* ===== WAVE 5 — monochrome-bioluminescent type + icon theme (2026-11-14) =====
   Study: FONT-COLOR-STUDY-2026-11-14.md. Display: Space Grotesk (geometric,
   luminous, technical — the plankton-glow voice). Body: Inter (the
   legibility standard). Both via Google Fonts with system fallbacks; if the
   CDN is unreachable the verified system stack renders unchanged.
   Glow lives in DISPLAY type only (single-hue cyan text-shadow layers);
   body text keeps flat verified colours — every pairing ≥ 9.7:1 (table in
   the study). Gold survives ONLY as the warm accent (QT, flagship, prices)
   per the eye-landing rule — the study names it as the one exception. */
body{font-family:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;}
h1,h2,h3,.osd-head,.spin-band h2,.qt-tv-label{font-family:"Space Grotesk","Inter",system-ui,sans-serif;}
main h1, main h2{ text-shadow:0 0 18px rgba(79,201,245,.38), 0 0 42px rgba(23,168,224,.22), 0 1px 10px rgba(0,10,20,.6); }
.kicker,.eyebrow{ text-shadow:0 0 12px rgba(255,217,104,.35); }
/* Icon theme pass — every icon in the crystalline/bioluminescent register:
   one glow language, hover micro-motion, entrance ease; reduced-motion off. */
.si,.di,.osd-ti,.door .di{filter:drop-shadow(0 0 7px rgba(64,224,208,.75)) drop-shadow(0 2px 6px rgba(0,0,0,.35)); transition:transform .25s ease, filter .25s ease;}
a:hover .si, a:hover .di, .osd-tile:hover .osd-ti{transform:translateY(-2px) scale(1.12); filter:drop-shadow(0 0 12px rgba(110,255,210,.95)) drop-shadow(0 3px 8px rgba(0,0,0,.4));}
/* PERFECTION PASS 2026-11-15: the .si filter "breathe" animation was removed
   from the turning cards — animating a drop-shadow filter on six cards inside
   a 3D-rotating ring forced a full repaint of every card on every frame
   (measured judder source on phone GPUs). The static glow on .si stays. */
.spin-card .si{line-height:0;}
.spin-card .si svg{width:30px; height:30px; display:block;}
@keyframes qtb-icon-breathe{0%,100%{filter:drop-shadow(0 0 6px rgba(64,224,208,.6));}50%{filter:drop-shadow(0 0 13px rgba(110,255,210,.95));}}
.batphone{width:64px;height:64px;filter:drop-shadow(0 0 12px rgba(79,201,245,.65)); animation:qtb-icon-breathe 6s ease-in-out infinite;}
@media (prefers-reduced-motion: reduce){ .si,.di,.osd-ti,.batphone{animation:none; transition:none;} }

/* ===== WAVE 6 — OS ICON CLEANLINESS PASS (2026-11-14, owner ~15:40 EST) =====
   The House OS demo icons are now ONE set: inline SVG, 24×24 grid, single
   1.7 stroke weight, round caps, monochrome bioluminescent cyan — no emoji,
   no mixed weights, no platform-dependent glyphs. The identical set is the
   house standard for the OS program: os-program/OS-ICON-SET-2026-11-14.svg. */

/* ===== WAVE 7 — QUANT FIXES F1/F2/F5/F6 (2026-11-14, IP B59) =====
   F1: the "Meet QT" heading was #f4faff (the dark-theme main h2 colour) on
   the .qt-card's WHITE gradient slab — ≈1.1:1, invisible. Light components
   now carry their OWN complete text palette; the dark-theme rules no longer
   leak onto light slabs.
   F2 pairs (on white/#eaf7ff): headings #0a2e4a ≥12:1 · body #3d5a74 ≈7:1 ·
   links #0b6fa4 ≈5.0:1 · kicker gold darkened to #8a6100 ≈5.3:1.
   (.catnav chips were already #0b6fa4 on #e8f5fc — verified, unchanged.)
   F5: .hero-banner overflow:hidden (above) clips the sweep/beam/particle
   layers to the banner art box — no animation layer can cross the H1/.lede.
   F6: OS-demo micro-type floor raised to 12px (.osd-status/.osd-tile/
   .osd-note/.osd-homefoot, above). */
.qt-card h2, .qt-card h3, .qt-card h4{color:#0a2e4a; text-shadow:none;}
.qt-card a:not(.btn){color:#0b6fa4;}
.qt-card .kicker, .qt-card .eyebrow{color:#8a6100; text-shadow:none;}
.qt-card .mut, .qt-card .fine, .qt-card small{color:#3d5a74;}
/* --- Readability pass 2026-11-15: footers + datelines sit on the dark water.
   The theme's ink colours were washing out there (1.19-2.49:1). --- */
footer.site{color:#a9cbe4;}
footer.site p.attr, footer.site .attr{color:#eaf6ff;}
footer.site p.motto, footer.site .motto{color:#a9cbe4;}
footer.site .legal, footer.site .legal a, footer.site p.legal{color:#a9cbe4;}
.updated{color:#a9cbe4;}
.cust h3, .cust h4{color:#0a2e4a;}
.cust a{color:#0b6fa4;}
.cust .kicker, .cust .eyebrow{color:#8a6100;}

/* ===== FIX LEG 2026-11-15 — F1/F3 =====
   F3 tap targets: shared chrome raised to a 44px minimum hit height.
   min-height/display only — page-level padding rules are untouched, so
   this wins without a specificity fight on every page that links this sheet. */
nav.main a, .header-in nav a{min-height:44px; display:inline-flex; align-items:center;}
.qtb-appnav a{min-height:44px;}
a[href^="tel:"], a[href^="mailto:"]{min-height:44px; display:inline-flex; align-items:center; vertical-align:middle;}
.catnav a{min-height:44px; display:inline-flex; align-items:center;}
header.site{overflow-x:clip;}
@media (max-width:560px){ }

/* ===== PERFECTION PASS 2 (2026-11-15): metallic wordmark + motion budget + typography =====
   Owner orders 13:24-13:26 EST: the header NAME is a 3D metallic wordmark with a light
   sweep on a relaxed ~2-minute cycle; the site stays alive but dialed down; fonts and
   tap targets optimized per page. The frozen Q logo image is never touched. */
header.site .brand{min-height:44px;}
header.site .brand .name{position:relative;
  background:linear-gradient(180deg,#3d84bd 0%,#2e6ea3 32%,#0d3a5c 50%,#1d5a86 55%,#0a2e4a 80%,#14507c 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.55)) drop-shadow(0 2px 3px rgba(6,32,52,.25));}
header.site .brand .name>span{
  background:linear-gradient(180deg,#b97e14 0%,#96660d 48%,#7a5205 56%,#a8741a 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;}
header.site .brand .name::after{content:""; position:absolute; inset:0; pointer-events:none; mix-blend-mode:screen;
  background:linear-gradient(100deg, transparent 32%, rgba(255,255,255,.5) 50%, transparent 68%);
  background-size:250% 100%; background-position:130% 0; animation:qtb-metalshine 120s linear infinite;}
@keyframes qtb-metalshine{0%{background-position:130% 0;}2.5%{background-position:-60% 0;}100%{background-position:-60% 0;}}
@media (prefers-reduced-motion: reduce){ header.site .brand .name::after{display:none;} }
/* Bottom app-nav: one size everywhere (was 11px text, 18-30px targets on drifted copies) */
nav.qtb-appnav a{font-size:12.5px; min-height:48px; padding-top:9px; padding-bottom:8px;}
/* Interface pass 2026-11-17 — the bottom app-nav's base bar rules lived
   only in shop2.css, so the nav rendered as an in-flow link row on every
   other page that carries it (homepage included, once its markup lands).
   The bar itself now lives in this global sheet; shop2.css keeps its
   identical copy, so the shop page is unchanged. Pages carrying the nav
   get bottom clearance so the fixed bar never covers the footer. */
.qtb-appnav{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:flex;align-items:stretch;background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid #d9ecf7;box-shadow:0 -6px 24px rgba(11,111,164,.14);padding-bottom:env(safe-area-inset-bottom);font-family:"Avenir Next","Segoe UI",system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;}
.qtb-appnav a{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 1px 7px;text-decoration:none;color:#12283d;font-size:11px;font-weight:700;letter-spacing:.02em;line-height:1.15;}
.qtb-appnav a svg{width:22px;height:22px;fill:none;stroke:#0b6fa4;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.qtb-appnav a:active,.qtb-appnav a:hover{background:#e8f5fc;}
body:has(.qtb-appnav){padding-bottom:76px;}
/* QT Box label on the header TV (was 9px microtype) */
.qt-tv-label{font-size:10.5px;}
/* Standalone controls reach the 44px target floor */
.svc-demo button{min-height:44px;}
div.puddle-glyphs button{min-height:44px;}
form input[id^="gc-"], input[id^="gc-"]{min-height:44px; box-sizing:border-box;}

/* Perfection pass 2, round 2: remaining standalone controls to the 44px floor */
header.site nav.main a{display:inline-flex; align-items:center; min-height:44px;}
footer.site .legal a{display:inline-flex; align-items:center; min-height:44px; padding:0 4px;}
#gc-form select{min-height:44px;}
#gc-send{min-height:44px;}

/* ===== DESIGN LANGUAGE (owner order 2026-11-15 ~14:02 EST): industrial discipline,
   our futuristic take. Squared structural scale: 10px structural / 6px medium.
   Exempt by function or identity: 50% circles (Cutie's forms, status dots, particles)
   and 999px pills (buy/tap affordances). ===== */
.hero-banner, .hero-banner .banner-particles, .hero-banner .banner-sweep{border-radius:10px;}
.qt-card{border-radius:10px;}
.cust{border-radius:10px;}
.spin-card{border-radius:10px;}
.toolbox-strip{border-radius:8px;}
.qt-tv-screen{border-radius:6px;}
.qt-tv-screen img{border-radius:4px;}

/* ===== TOP-TIER PASS 2026-11-17 (owner order: top-tier site, fix every
   flaw — readability floor + calmer hierarchy; nothing removed) ===== */
body{line-height:1.62;}
.brand .tag{font-size:12.5px !important;}
.win .bar .plat{font-size:12px !important;}
.orbit-card p{font-size:12.5px !important;}
.qt-card{box-shadow:0 6px 20px rgba(11,111,164,.10);}
section.block{margin-top:34px;margin-bottom:34px;}
.qtb-appnav a{font-size:12.5px !important;}
