/* ========== Kairos Physio — Design Tokens ========== */
:root {
  /* ===== A2 redesign tokens (July 2026) ===== */
  --teal: #2FC1B2;
  --teal-deep: #26A296;
  --teal-glow: rgba(47, 193, 178, 0.30);
  --accent-ink: #06201C;
  --bg: #0A1116;
  --bg-2: #0E161D;
  --bg-3: #142027;
  --cream: #F5F7F6;
  --cream-2: #E9EEEC;
  --ink: #101F1C;
  --fg: #EDF2F1;
  --fg-dim: #98A6A3;
  --fg-mute: #6E7B79;
  --line: rgba(237, 242, 241, 0.12);
  --line-strong: rgba(237, 242, 241, 0.2);
  --line-light: rgba(16, 31, 28, 0.13);
  --panel-solid: #FDFEFE;
  --row-hi: rgba(47, 193, 178, 0.08);
  --card: rgba(255, 255, 255, 0.03);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --btn-radius: 4px;
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --shadow-deep: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", "Georgia", serif;
  --font-sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --display-tracking: -0.035em;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* ---- Aliases used by Resources / BlogPost (Sanity) ---- */
  --page-pad: 24px;
  --content-w: 1240px;
  --rad-md: var(--radius);
  --rad-lg: var(--radius-lg);
  --surface-2: rgba(255, 255, 255, 0.025);
  --border: var(--line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.tone-cream { background: var(--cream); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: var(--display-tracking); line-height: 1.08; margin: 0; text-wrap: balance; }
em.warm, h1 .serif, h2 .serif, h3 .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--teal); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { text-wrap: pretty; }

.mono { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); }
.teal { color: var(--teal); }
.serif { font-family: var(--font-serif); }
.dim { color: var(--fg-dim); }
.mute { color: var(--fg-mute); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--teal); }

/* ======== Nav ======== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  padding: 14px 28px;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav { border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 17, 22, 0.82); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1; }
.brand-name { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 0 20px var(--teal-glow);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name small { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.22em; color: var(--fg-dim); text-transform: uppercase; margin-top: 3px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 14px; font-size: 0.9rem; color: var(--fg-dim);
  border-radius: var(--radius-sm); transition: color .2s var(--ease), background .2s var(--ease);
  display: inline-flex; align-items: center; line-height: 1; white-space: nowrap;
}
.nav-link .chip { line-height: 1; }
.nav-link:hover { color: var(--fg); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--teal); }
.nav-link .chev { margin-left: 6px; opacity: 0.6; display: inline-block; transform: translateY(1px); }

.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #0E161D; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .22s var(--ease); box-shadow: var(--shadow-deep);
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { display: block; padding: 10px 14px; font-size: 0.88rem; border-radius: 4px; color: var(--fg-dim); }
.dropdown-item:hover { color: var(--teal); background: rgba(74, 211, 198, 0.06); }
.dropdown-item small { display: block; font-size: 0.72rem; color: var(--fg-mute); margin-top: 2px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--btn-radius); font-weight: 500; font-size: 0.88rem;
  white-space: nowrap; line-height: 1.2;
  background: var(--teal); color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px var(--teal-glow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.25) inset, 0 14px 34px -10px var(--teal-glow); }

.hamburger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 18px; height: 1.5px; background: var(--fg);
  position: relative;
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after  { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ======== Mobile staggered menu (gsap-driven, mobile-only) ======== */
.sm-mobile { display: none; }
@media (max-width: 960px) {
  .sm-mobile { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; }
}
.sm-mobile[data-open] { pointer-events: auto; }

.sm-scrim {
  position: absolute; inset: 0; background: rgba(4,10,12,0.55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.sm-mobile[data-open] .sm-scrim { opacity: 1; pointer-events: auto; }

/* Panel + staggered colour prelayers, right-anchored sheet */
.sm-prelayers, .sm-panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(440px, 90vw);
  transform: translateX(100%);
}
.sm-prelayers { z-index: 5; pointer-events: none; }
.sm-prelayer { position: absolute; inset: 0; transform: translateX(100%); }

.sm-panel {
  z-index: 10; background: var(--bg);
  border-left: 1px solid var(--line);
  /* shadow only while open: the closed panel sits at translateX(100%) and
     its shadow otherwise bleeds back in as a dark strip on the right edge */
  box-shadow: none;
  display: flex; flex-direction: column;
  padding: 84px 30px 36px; overflow-y: auto;
}
.sm-mobile[data-open] .sm-panel { box-shadow: -30px 0 80px -30px rgba(0,0,0,0.6); }
/* No-gsap fallback ONLY: CSS slide (scoped so it never fights gsap's inline transforms) */
.sm-mobile.no-gsap[data-open] .sm-prelayers,
.sm-mobile.no-gsap[data-open] .sm-panel,
.sm-mobile.no-gsap[data-open] .sm-prelayer {
  transition: transform .5s var(--ease); transform: translateX(0);
}

.sm-close {
  position: absolute; top: 22px; right: 24px; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--line); color: var(--fg);
  background: transparent; font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.sm-close:hover { border-color: var(--teal); color: var(--teal); }

.sm-panel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sm-panel-itemWrap { position: relative; overflow: hidden; line-height: 1; }
.sm-panel-item {
  position: relative; display: block; text-decoration: none;
  color: var(--fg); font-family: var(--font-display);
  font-size: clamp(1.85rem, 8.5vw, 2.6rem); font-weight: 600;
  line-height: 1.18; letter-spacing: -0.01em;
  padding: 7px 1.6em 7px 0; transition: color .25s var(--ease);
}
.sm-panel-item:hover, .sm-panel-item.active { color: var(--teal); }
.sm-panel-itemLabel { display: inline-block; will-change: transform; transform-origin: 50% 100%; }
.sm-panel-list[data-numbering] { counter-reset: smItem; }
.sm-panel-list[data-numbering] .sm-panel-item::after {
  counter-increment: smItem; content: counter(smItem, decimal-leading-zero);
  position: absolute; top: 0.55em; right: 0;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 400;
  color: var(--teal); letter-spacing: 0; pointer-events: none; user-select: none;
  opacity: var(--sm-num-opacity, 1);
}

.sm-socials { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.sm-book {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--btn-radius); text-decoration: none;
  font-weight: 500; font-size: 0.95rem; color: var(--accent-ink);
  background: var(--teal);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset, 0 10px 30px -10px var(--teal-glow);
}
.sm-socials-title {
  margin: 4px 0 0; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim); font-weight: 500;
}
.sm-socials-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.sm-socials-link {
  font-size: 1.02rem; font-weight: 500; color: var(--fg);
  text-decoration: none; transition: color .25s var(--ease);
}
.sm-socials-link:hover { color: var(--teal); }

@media (prefers-reduced-motion: reduce) {
  .sm-mobile.no-gsap[data-open] .sm-prelayers,
  .sm-mobile.no-gsap[data-open] .sm-panel,
  .sm-mobile.no-gsap[data-open] .sm-prelayer { transition: none; }
}

/* ======== Buttons ======== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--btn-radius); font-weight: 500; font-size: 0.92rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal); color: var(--accent-ink);
  box-shadow: 0 14px 40px -12px var(--teal-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -12px var(--teal-glow); }
.btn-ghost {
  background: transparent; color: var(--fg); border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: rgba(47,193,178,0.06); }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }
.btn-lg { padding: 18px 32px; font-size: 1rem; }

/* ======== Page transitions ======== */
.page { display: none; animation: fadeUp .5s var(--ease); }
.page.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ======== Section rhythm ======== */
section { position: relative; padding: 120px 0; }
section.tight { padding: 80px 0; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-header p { max-width: 440px; color: var(--fg-dim); margin: 0; }

@media (max-width: 640px) { section { padding: 80px 0; } .section-header { margin-bottom: 40px; } }

/* ======== Placeholder image system ======== */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(47,193,178,0.05) 0 12px,
      rgba(47,193,178,0.02) 12px 24px
    ),
    linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--fg-dim);
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(47,193,178,0.12), transparent 60%);
  pointer-events: none;
}
.ph-label {
  position: relative; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); padding: 6px 12px; border: 1px solid rgba(47,193,178,0.3); border-radius: 999px;
  background: rgba(10, 20, 25, 0.6);
}

/* ======== Chip ======== */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 3px; font-size: 0.78rem;
  font-family: var(--font-mono); letter-spacing: 0.08em;
  background: rgba(47,193,178,0.08); color: var(--teal);
  border: 1px solid rgba(47,193,178,0.25);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(1.25); } }

/* ======== Card ======== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(47,193,178,0.35); }
.card-link { cursor: pointer; }
.card-link:hover { transform: translateY(-4px); }

/* ======== Footer ======== */
footer { background: #07101416; border-top: 1px solid var(--line); padding: 80px 0 40px; margin-top: 80px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h5 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 18px; font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--fg-dim); font-size: 0.9rem; }
.foot-grid a:hover { color: var(--teal); }
.foot-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--fg-mute); flex-wrap: wrap; gap: 16px; }

/* ======== Kai floating assistant ======== */
.kai-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #052024; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 18px 40px -10px var(--teal-glow), 0 0 0 1px rgba(255,255,255,0.2) inset;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.kai-fab:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 50px -10px var(--teal-glow), 0 0 0 1px rgba(255,255,255,0.3) inset; }
.kai-fab-dot { width: 36px; height: 36px; border-radius: 50%; background: rgba(5,32,36,0.18); display: grid; place-items: center; }
.kai-panel {
  position: fixed; bottom: 96px; right: 24px; z-index: 81;
  width: min(380px, calc(100vw - 48px)); max-height: 70vh;
  background: #0e1b22; border: 1px solid var(--line-strong); border-radius: 24px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-deep);
  transform: translateY(20px) scale(0.96); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.kai-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.kai-head { padding: 18px 20px; background: linear-gradient(135deg, rgba(47,193,178,0.14), rgba(47,193,178,0.04)); border-bottom: 1px solid var(--line); }
.kai-head h4 { font-family: var(--font-serif); font-size: 1.15rem; margin: 0; }
.kai-head small { color: var(--fg-dim); font-size: 0.78rem; }
.kai-body { padding: 18px 20px; overflow-y: auto; flex: 1; }
.kai-msg {
  background: rgba(47,193,178,0.06); border: 1px solid rgba(47,193,178,0.12);
  padding: 14px 16px; border-radius: 14px 14px 14px 4px; font-size: 0.88rem; line-height: 1.5; color: var(--fg);
  margin-bottom: 14px;
}
.kai-msg-user {
  background: rgba(255,255,255,0.04); border-color: var(--line);
  border-radius: 14px 14px 4px 14px; margin-left: auto; max-width: 85%;
}
.kai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.kai-chip {
  padding: 10px 14px; border-radius: 999px; font-size: 0.82rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--fg); transition: all .2s var(--ease);
}
.kai-chip:hover { border-color: var(--teal); color: var(--teal); background: rgba(47,193,178,0.08); }
.kai-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; font-size: 14px; }

/* Mobile: compact icon-only Kai launcher so it stops covering content */
@media (max-width: 640px) {
  .kai-fab {
    gap: 0; padding: 10px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: 16px;
    border-radius: 50%;
  }
  .kai-fab .kai-fab-label { display: none; }
  .kai-fab-dot { width: 40px; height: 40px; }
  .kai-panel { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); right: 16px; }
}

/* Anchored sections shouldn't hide under the fixed nav */
section[id], [id^="bodymap"], #quiz { scroll-margin-top: 92px; }

/* ======== Utility ======== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }

.hidden { display: none !important; }

/* ======== Ambient background (home) ======== */
.ambient {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.ambient::before, .ambient::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
}
.ambient::before { top: -10%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(47,193,178,0.25), transparent 60%); }
.ambient::after  { bottom: -10%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(47,193,178,0.14), transparent 60%); }

/* ======== Scroll reveal ======== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ======== Forms ======== */
.field { display: block; margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  color: var(--fg); font-family: var(--font-sans); font-size: 0.95rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); background: rgba(47,193,178,0.05); }
.field select option { color: #0a1013; background: #fff; }
.field textarea { resize: vertical; min-height: 100px; }

/* ======== Accent swaps (Tweaks) ======== */
body[data-accent="teal"] { --teal: #2FC1B2; --teal-deep: #26A296; --teal-glow: rgba(47,193,178,.30); }
body[data-accent="sage"] { --teal: #86c5a3; --teal-deep: #5da57e; --teal-glow: rgba(134,197,163,.35); }
body[data-accent="sky"]  { --teal: #7cc7f0; --teal-deep: #4f9bc4; --teal-glow: rgba(124,199,240,.35); }
body[data-accent="amber"]{ --teal: #e9b66d; --teal-deep: #c99247; --teal-glow: rgba(233,182,109,.35); }
body[data-accent="coral"]{ --teal: #ea8a7a; --teal-deep: #c76858; --teal-glow: rgba(234,138,122,.35); }

noscript { display: none !important; }


/* ======== vNEXT: explicit light scrollbar ========
   Body bg is dark (#0A1116), so browsers auto-derive a dark scrollbar
   track that reads as a dark strip along the right edge of the light
   sections. Pin a light scrollbar instead. */
html { scrollbar-color: #9AA8A5 #E9EEEC; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #E9EEEC; }
::-webkit-scrollbar-thumb { background: #9AA8A5; border-radius: 6px; border: 3px solid #E9EEEC; }
::-webkit-scrollbar-thumb:hover { background: #7E8D8A; }