/* =========================================================
   The Ten X Group — website styles (Brand Guidelines v1.0)
   Concept: one continuous canvas. Every page opens in Graphite;
   as you scroll, the canvas glides Graphite → White/Cloud →
   Graphite, with teal light drifting behind. Sections declare a
   tone (dark / light / cloud); main.js sets the active scene and
   the colour tokens animate between scenes.
   To restyle the whole site, edit the tokens below.
   ========================================================= */

/* Animatable colour tokens (lets the browser glide between scenes) */
@property --bg        { syntax: "<color>"; inherits: true; initial-value: #FFFFFF; }
@property --ink       { syntax: "<color>"; inherits: true; initial-value: #1C2228; }
@property --text      { syntax: "<color>"; inherits: true; initial-value: #39434C; }
@property --muted     { syntax: "<color>"; inherits: true; initial-value: #5B6670; }
@property --line      { syntax: "<color>"; inherits: true; initial-value: #E1E5E9; }
@property --surface   { syntax: "<color>"; inherits: true; initial-value: #FFFFFF; }
@property --surface-2 { syntax: "<color>"; inherits: true; initial-value: #F3F5F7; }
@property --accent-ink{ syntax: "<color>"; inherits: true; initial-value: #00706C; }
@property --well-bg   { syntax: "<color>"; inherits: true; initial-value: #E3F5F4; }
@property --well-fg   { syntax: "<color>"; inherits: true; initial-value: #00706C; }
@property --btn2      { syntax: "<color>"; inherits: true; initial-value: #5B6670; }
@property --field-line{ syntax: "<color>"; inherits: true; initial-value: #B9C0C7; }
@property --glow      { syntax: "<number>"; inherits: true; initial-value: 0.35; }

:root {
  /* Brand colours (fixed) */
  --graphite: #1C2228;
  --graphite-2: #262E35;
  --teal: #00A19C;
  --teal-light: #5ED3CD;
  --teal-deep: #00706C;
  --silver: #C9CED4;
  --slate: #5B6670;
  --cloud: #F3F5F7;
  --white: #FFFFFF;
  --belt-yellow: #F2C230; --belt-green: #2E9E5B; --belt-black: #1C2228;

  /* Scene tokens: LIGHT (default) */
  --bg: #FFFFFF;
  --ink: #1C2228;
  --text: #39434C;
  --muted: #5B6670;
  --line: #E1E5E9;
  --surface: #FFFFFF;
  --surface-2: #F3F5F7;
  --accent-ink: #00706C;
  --well-bg: #E3F5F4;
  --well-fg: #00706C;
  --btn2: #5B6670;
  --field-line: #B9C0C7;
  --glow: 0.35;

  /* Type */
  --font: "Inter", -apple-system, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2.7rem, 1.6rem + 4.4vw, 5rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.08rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-label: .78rem;

  /* Space, shape, motion */
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --shadow: 0 1px 2px rgba(10,14,18,.06), 0 8px 24px rgba(10,14,18,.07);
  --shadow-lift: 0 2px 6px rgba(10,14,18,.08), 0 22px 48px rgba(10,14,18,.16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --scene-time: 1.1s;
  --header-h: 76px;
  color-scheme: light;
}

/* DARK scene: the whole canvas when a dark section is in view (motion on),
   or locally on dark sections when motion is off */
html[data-scene="dark"],
html:not(.scene-on) :is(.hero, .page-hero, .section--dark, .site-footer, .site-header, [data-tone="dark"]) {
  --bg: #1C2228;
  --ink: #FFFFFF;
  --text: #DDE2E6;
  --muted: #B7BEC6;
  --line: #343D46;
  --surface: #252D35;
  --surface-2: #2B343C;
  --accent-ink: #5ED3CD;
  --well-bg: #24403F;
  --well-fg: #5ED3CD;
  --btn2: #7C8791;
  --field-line: #4A545D;
  --glow: 1;
  color-scheme: dark;
}
/* CLOUD scene */
html[data-scene="cloud"],
html:not(.scene-on) :is(.section--cloud, [data-tone="cloud"]) {
  --bg: #F3F5F7;
  --surface-2: #FFFFFF;
  --glow: 0.3;
}

/* The glide */
html.scene-on {
  transition:
    --bg var(--scene-time) var(--ease), --ink var(--scene-time) var(--ease), --text var(--scene-time) var(--ease),
    --muted var(--scene-time) var(--ease), --line var(--scene-time) var(--ease), --surface var(--scene-time) var(--ease),
    --surface-2 var(--scene-time) var(--ease), --accent-ink var(--scene-time) var(--ease), --well-bg var(--scene-time) var(--ease),
    --well-fg var(--scene-time) var(--ease), --btn2 var(--scene-time) var(--ease), --field-line var(--scene-time) var(--ease),
    --glow var(--scene-time) var(--ease);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--graphite); color: var(--white); padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
main, .site-footer { position: relative; z-index: 1; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.container--narrow { max-width: 820px; }

/* ---------- Teal light that drifts behind the canvas ---------- */
.glow { display: none; }
.scene-on .glow { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: var(--glow); }
.glow span { position: absolute; border-radius: 50%; will-change: transform; }
.glow__a { width: 70vmax; height: 70vmax; left: 45%; top: -30vmax; background: radial-gradient(closest-side, rgba(0,161,156,.30), rgba(0,161,156,.10) 55%, rgba(0,161,156,0)); }
.glow__b { width: 55vmax; height: 55vmax; left: -20vmax; top: 45%; background: radial-gradient(closest-side, rgba(94,211,205,.20), rgba(94,211,205,0)); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 2.5rem + 2vw, 5rem); }
.section--page { padding-block: clamp(5rem, 4rem + 6vw, 9rem); min-height: 60vh; }
/* Motion off / no JS: each section paints its own tone */
html:not(.scene-on) :is(.hero, .page-hero, .section, .logos, [data-tone], .site-footer) { background-color: var(--bg); color: var(--text); }
html:not(.scene-on) :is(.hero, .page-hero) { background-image: radial-gradient(900px 480px at 85% -10%, rgba(0,161,156,.28), rgba(0,161,156,0) 65%); }

.section-head { display: grid; gap: 1rem; max-width: 720px; margin-bottom: clamp(2.25rem, 2rem + 1.5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 2rem 4rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--text); }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 1rem 0; display: grid; gap: .45rem; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 1.5rem 0; padding: 1.1rem 1.4rem; background: var(--surface-2); border-left: 3px solid var(--teal); border-radius: var(--r-md); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface-2); font-weight: 600; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: var(--r-pill);
  font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--teal); color: var(--graphite); box-shadow: 0 6px 20px rgba(0,161,156,.25); }
.btn--primary:hover { background: var(--teal-light); color: var(--graphite); box-shadow: 0 10px 28px rgba(0,161,156,.35); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--btn2); }
.btn--secondary:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn--ghost-dark { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost-dark:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--accent-ink); }
.text-link .icon { transition: transform .35s var(--ease); }
.text-link:hover { color: var(--ink); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Announcement + header ---------- */
/* Running announcement bar: scrolls right to left, pauses on hover, stays still with reduced motion */
.announce { position: relative; z-index: 51; display: flex; align-items: center; gap: 1rem; min-height: 48px; padding: 0 clamp(.75rem, 2vw, 1.5rem); background: linear-gradient(90deg, var(--teal-deep), var(--teal) 45%, var(--teal-deep)); color: var(--white); text-decoration: none; font-size: .95rem; overflow: hidden; box-shadow: inset 0 -1px 0 rgba(0,0,0,.18); }
.announce:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
.announce__label { flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .75rem; border-radius: var(--r-pill); background: var(--graphite); color: var(--teal-light); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.announce__label i, .nav__event i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 0 rgba(94,211,205,.7); animation: livePulse 2s infinite; }
.announce__run { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.announce__track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.announce:hover .announce__track, .announce:focus-visible .announce__track { animation-play-state: paused; }
.announce__group { display: flex; }
.announce__item { display: inline-flex; align-items: center; white-space: nowrap; padding-right: 2.25rem; color: rgba(255,255,255,.92); }
.announce__item strong { color: var(--white); font-weight: 700; }
.announce__item::after { content: ""; width: 7px; height: 7px; margin-left: 2.25rem; background: var(--teal-light); transform: rotate(45deg); }
.announce__still { display: none; flex: 1; text-align: center; color: var(--white); }
.announce__btn { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: var(--r-pill); background: var(--white); color: var(--graphite); font-weight: 700; font-size: .85rem; transition: transform .35s var(--ease), box-shadow .35s; }
.announce__btn .icon { width: 1rem; height: 1rem; transition: transform .35s var(--ease); }
.announce:hover .announce__btn { box-shadow: 0 6px 18px -6px rgba(0,0,0,.45); }
.announce:hover .announce__btn .icon { transform: translateX(3px); }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(94,211,205,.7); } 70% { box-shadow: 0 0 0 8px rgba(94,211,205,0); } 100% { box-shadow: 0 0 0 0 rgba(94,211,205,0); } }
@media (prefers-reduced-motion: reduce) {
  .announce__run { display: none; }
  .announce__still { display: block; }
  .announce__label i, .nav__event i { animation: none; }
}
@media (max-width: 640px) {
  .announce { min-height: 44px; font-size: .88rem; gap: .6rem; }
  .announce__label { display: none; }
  .announce__btn { padding: .4rem .75rem; font-size: .8rem; }
}

/* Event button in the main menu */
.nav__list > li > a.nav__event { gap: .5rem; margin-left: .35rem; padding: .55rem 1rem; border: 1.5px solid var(--teal); color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--teal) 10%, transparent); transition: background-color .3s, border-color .3s, color .3s; }
.nav__list > li > a.nav__event::after { display: none; }
.nav__list > li > a.nav__event:hover, .nav__list > li > a.nav__event[aria-current="page"] { background: color-mix(in srgb, var(--teal) 22%, transparent); color: var(--ink); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: transparent; color: var(--ink);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
html:not(.scene-on) .site-header { background: var(--bg); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 1px 0 color-mix(in srgb, var(--line) 80%, transparent); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { position: relative; display: block; width: 176px; }
.brand img { width: 176px; height: auto; transition: opacity var(--scene-time) var(--ease); }
.brand__light { position: absolute; left: 0; top: 0; opacity: 0; }
html.scene-on:not([data-scene="dark"]) .brand__light { opacity: 1; }
html.scene-on:not([data-scene="dark"]) .brand__dark { opacity: 0; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-deep), var(--teal), var(--teal-light)); transform-origin: 0 50%; transform: scaleX(0); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav__list > li > a, .nav__toggle {
  position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .85rem; border-radius: var(--r-pill);
  font: 500 .95rem/1 var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__list > li > a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__list > li > a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list > li > a:hover, .nav__toggle:hover { color: var(--ink); }
.nav__list a[aria-current="page"], .nav__toggle[data-current] { color: var(--accent-ink); font-weight: 600; }
.nav__toggle .icon { width: 1rem; height: 1rem; transition: transform .35s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0; width: min(640px, 92vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift);
  padding: .75rem; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega__item { display: flex; gap: .85rem; align-items: flex-start; padding: .85rem; border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: background-color .2s; }
.mega__item:hover, .mega__item[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.mega__item strong { display: block; font-size: .95rem; font-weight: 600; }
.mega__item small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: .15rem; }
.mega__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--well-bg); color: var(--well-fg); flex: none; }
.mega__all { display: flex; align-items: center; gap: .4rem; padding: .85rem; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--accent-ink); align-self: center; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); place-items: center; cursor: pointer; }
.burger .icon--close { display: none; }
.burger[aria-expanded="true"] .icon--open { display: none; }
.burger[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 960px) {
  .burger { display: grid; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 1.25rem; overflow-y: auto;
    padding: 1.25rem var(--gutter-r) calc(2rem + env(safe-area-inset-bottom, 0px)) var(--gutter);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li > a, .nav__toggle { width: 100%; justify-content: space-between; padding: 1.05rem .25rem; font-size: 1.15rem; border-radius: 0; }
  .nav__list > li > a::after { display: none; }
  .mega { position: static; translate: none; width: auto; box-shadow: none; border: 0; padding: 0 0 .75rem; display: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .mega.is-open { display: block; }
  .mega__grid { grid-template-columns: 1fr; }
  .nav__cta { width: 100%; }
  body.nav-open .site-header { background: var(--bg); }
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-block: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)) clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.hero__mark { position: absolute; right: -6vw; top: 50%; width: min(62vw, 760px); margin-top: calc(min(62vw, 760px) / -2); opacity: .06; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--fs-display); letter-spacing: -0.04em; line-height: 1; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > * { display: inline-block; }
.hero__copy { display: grid; gap: 1.6rem; }
.hero__trust { display: flex; align-items: center; gap: .9rem; padding-top: .25rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.hero__trust img { width: 54px; height: 54px; background: var(--white); border-radius: 50%; padding: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line > * { animation: lineUp 1.1s var(--ease) both; }
  .hero h1 .line + .line > * { animation-delay: .12s; }
  .hero__in { animation: fadeUp 1s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * .1s); }
}
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Control chart (signature) */
.cc { background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); padding: clamp(1rem, .8rem + 1vw, 1.5rem); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .75rem; }
.cc__title { font-size: .95rem; font-weight: 600; color: var(--ink); }
.cc__sub { font-size: .8rem; color: var(--muted); }
.cc svg { width: 100%; height: auto; display: block; overflow: visible; }
.cc .axis { stroke: var(--line); stroke-width: 1; }
.cc .limit { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; opacity: .8; }
.cc .limit--after { stroke: var(--teal); opacity: 1; }
.cc .band { fill: #00A19C; opacity: .14; }
.cc .lbl { font: 600 10.5px var(--font); fill: var(--muted); letter-spacing: .04em; }
.cc .phase { font: 600 11px var(--font); fill: var(--ink); letter-spacing: .08em; text-transform: uppercase; }
.cc .phase--after { fill: var(--accent-ink); }
.cc .line { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linejoin: round; opacity: .75; }
.cc .line--after { stroke: var(--teal); stroke-width: 2.5; opacity: 1; }
.cc .pt { fill: var(--surface); stroke: var(--muted); stroke-width: 1.5; }
.cc .pt--after { stroke: var(--teal); }
.cc .divider { stroke: var(--ink); stroke-width: 1; opacity: .2; }
.cc__legend { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cc__stat strong { display: block; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.cc__stat span { font-size: .78rem; color: var(--muted); line-height: 1.35; display: block; }
.cc__stat--teal strong { color: var(--accent-ink); }
.cc__note { font-size: .74rem; color: var(--muted); margin-top: .75rem; }
@media (prefers-reduced-motion: no-preference) {
  .cc .line--after { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.2s .9s var(--ease) forwards; }
  .cc .pt--after, .cc .band, .cc .limit--after { opacity: 0; animation: fadein .8s 2s var(--ease) forwards; }
  .cc .band { animation-name: fadeband; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes fadeband { to { opacity: .14; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; margin-top: calc(-1 * var(--header-h)); padding-block: calc(var(--header-h) + clamp(2.5rem, 2rem + 3vw, 4.5rem)) clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.page-hero__copy { display: grid; gap: 1.25rem; }
.page-hero__media { position: relative; }
.page-hero__media > img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--r-lg); max-width: 100%; box-shadow: var(--shadow-lift); }
.page-hero__badge { position: absolute; left: -18px; bottom: -18px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lift); padding: .85rem 1.1rem; display: flex; align-items: center; gap: .75rem; max-width: 280px; font-size: .86rem; line-height: 1.35; }
.page-hero__badge img { width: 46px; height: 46px; background: var(--white); border-radius: 50%; padding: 2px; }
.page-hero--simple .page-hero__grid { grid-template-columns: minmax(0,1fr); max-width: 820px; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs span[aria-hidden] { opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .page-hero__copy > *, .page-hero__media, .article-head > * { animation: fadeUp 1s var(--ease) both; }
  .page-hero__copy > *:nth-child(2), .article-head > *:nth-child(2) { animation-delay: .08s; }
  .page-hero__copy > *:nth-child(3), .article-head > *:nth-child(3) { animation-delay: .16s; }
  .page-hero__copy > *:nth-child(4), .article-head > *:nth-child(4) { animation-delay: .24s; }
  .page-hero__copy > *:nth-child(5), .article-head > *:nth-child(5) { animation-delay: .32s; }
  .page-hero__media { animation-delay: .2s; }
}

/* ---------- Logo marquee ---------- */
.logos { padding-block: 1.5rem clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.logos__label { font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; }
.marquee__group { list-style: none; display: flex; gap: 1rem; padding-right: 1rem; }
.logo-chip { flex: none; height: 84px; min-width: 190px; padding: 0 1.75rem; display: grid; place-items: center; background: #FFFFFF; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(10,14,18,.08); }
.logo-chip img { height: 38px; width: auto; max-width: 180px; object-fit: contain; }
.logo-chip img.tall { height: 60px; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; justify-content: center; padding-inline: var(--gutter); }
  .marquee__group { flex-wrap: wrap; justify-content: center; }
  .marquee__group[aria-hidden] { display: none; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.svc { grid-column: span 2; position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--teal) 50%, var(--line)); color: var(--ink); }
.svc--wide { grid-column: span 3; }
.svc__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.svc__img img, .post-card__img img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; translate: 0 var(--py, 0px); transition: scale .9s var(--ease); }
.svc:hover .svc__img img, .post-card:hover .post-card__img img { scale: 1.18; }
.svc__body { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: .65rem; flex: 1; align-content: start; }
.svc__icon { width: 44px; height: 44px; margin-top: -2.6rem; position: relative; border-radius: 12px; background: var(--teal); color: var(--graphite); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--surface); transition: transform .5s var(--ease); }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.08); }
.svc__body p { color: var(--muted); font-size: .97rem; line-height: 1.6; }
.svc__more { margin-top: auto; padding-top: .4rem; }
.svc:hover .svc__more .icon { transform: translateX(4px); }

/* ---------- Tiles ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.tile { display: grid; gap: .7rem; align-content: start; padding: 1.6rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-width: 0; color: var(--text); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
a.tile:hover, .grid-3 > .tile:hover, .grid-4 > .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--teal) 40%, var(--line)); }
.tile p { color: var(--muted); font-size: .97rem; line-height: 1.6; }
.tile ul { list-style: none; display: grid; gap: .45rem; margin-top: .25rem; }
.tile li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; color: var(--text); line-height: 1.5; }
.tile li .icon { color: var(--teal); width: 1.05rem; height: 1.05rem; margin-top: .2rem; }
.well { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--well-bg); color: var(--well-fg); }
.well .icon { width: 24px; height: 24px; }
/* Feature tile: teal, works on any scene */
.tile--feature { background: linear-gradient(150deg, #00A19C 0%, #00807B 100%); border-color: transparent; color: #0B2B2A; }
.tile--feature h3, .tile--feature strong { color: #0E1A1A; }
.tile--feature p { color: #0B2B2A; }
.tile--feature .eyebrow { color: #0E1A1A; }
.tile--feature .well { background: rgba(255,255,255,.9); color: var(--teal-deep); }
/* Always-graphite tile */
.tile--dark { background: var(--graphite); border-color: #343D46; color: #DDE2E6; }
.tile--dark h2, .tile--dark h3 { color: var(--white); }

/* ---------- Process steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 23px; left: calc(100% / var(--n, 5) / 2); right: calc(100% / var(--n, 5) / 2); height: 2px; background: linear-gradient(90deg, var(--teal-deep), var(--teal), var(--teal-light)); transform-origin: left; }
.step { position: relative; display: grid; gap: .55rem; align-content: start; justify-items: center; text-align: center; padding-inline: .75rem; min-width: 0; }
.step__num { counter-increment: step; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 2px solid var(--teal); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: .95rem; position: relative; z-index: 1; font-variant-numeric: tabular-nums; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step:last-child .step__num { background: var(--teal); color: var(--graphite); }
.step h3 { font-size: 1.02rem; margin-top: .4rem; }
.step p { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.scene-on .steps.rv::before { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.scene-on .steps.rv.in::before { transform: scaleX(1); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__copy { display: grid; gap: 1.1rem; min-width: 0; }
.split__media { min-width: 0; }
.split__media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 5 / 4; object-fit: cover; max-width: 100%; box-shadow: var(--shadow); }
.checks { list-style: none; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.5; color: var(--text); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2228' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { padding: 1.05rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.compare thead th.us { background: var(--graphite); color: var(--teal-light); }
.compare td { color: var(--text); }
.compare td:first-child { font-weight: 600; width: 22%; color: var(--ink); }
.compare td.them { color: var(--muted); }
.compare td.us { background: color-mix(in srgb, var(--teal) 7%, var(--surface)); color: var(--ink); font-weight: 500; }
.compare td.us::before { content: "✓ "; color: var(--accent-ink); font-weight: 700; }

/* ---------- Audience tabs ---------- */
.tabs { display: grid; gap: 1.5rem; }
.tabs__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tabs__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .93rem var(--font); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.tabs__btn .icon { color: var(--accent-ink); }
.tabs__btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tabs__btn[aria-selected="true"] .icon { color: var(--teal); }
.tabs__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem 3rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.tabs__panel:not([hidden]) { animation: fadeUp .6s var(--ease) both; }
.tabs__panel h3 { font-size: 1.5rem; }
.tabs__panel .lead { font-size: 1.05rem; margin-top: .75rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.stat { padding: 1.5rem 0 0; border-top: 2px solid var(--teal); display: grid; gap: .5rem; align-content: start; }
.stat strong { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .93rem; line-height: 1.45; }
.stat small { color: var(--muted); opacity: .8; font-size: .78rem; }

/* ---------- Callout ---------- */
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center; padding: 1.4rem 1.6rem; border-radius: var(--r-lg); background: color-mix(in srgb, var(--teal) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--teal) 25%, var(--line)); color: var(--text); }
.callout > img { width: 72px; height: 72px; object-fit: contain; background: var(--white); border-radius: 50%; padding: 4px; }
.callout p { color: var(--text); font-size: .97rem; line-height: 1.6; }
.callout--plain { background: var(--surface-2); border-color: var(--line); }
.callout--3 { grid-template-columns: auto minmax(0, 1fr) auto; }
.callout--3 > img { width: 150px; height: auto; border-radius: 10px; padding: 10px 14px; }
.callout--card { grid-template-columns: minmax(0, 1fr); gap: 1rem; background: var(--surface); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, #222A31 0%, #1A2026 100%); color: var(--silver); border: 1px solid #343D46; border-radius: 28px; padding: clamp(2rem, 1.5rem + 3vw, 4.25rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; isolation: isolate; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 380px; height: 380px; background: url("../img/brand/x-mark-reversed.png") center / contain no-repeat; opacity: .07; z-index: -1; }
.cta::before { content: ""; position: absolute; inset: -40% 40% 30% -20%; background: radial-gradient(closest-side, rgba(0,161,156,.35), rgba(0,161,156,0)); z-index: -1; }
.cta h2 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.cta h2 em { font-style: normal; color: var(--teal); }
.cta p { margin-top: .85rem; max-width: 56ch; color: var(--silver); }
.cta .btn-row { justify-content: flex-end; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .3s; }
.faq details[open] { border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent-ink); transition: transform .4s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq details[open] > div { animation: fadeUp .5s var(--ease) both; }

/* ---------- Belt pathway ---------- */
.belts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: end; }
.belt { display: grid; gap: .8rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; color: var(--text); }
.belt__bar { height: 12px; border-radius: 6px; background: var(--c); position: relative; }
.belt__bar::after { content: ""; position: absolute; right: 18%; top: -5px; width: 22px; height: 22px; border-radius: 5px; background: var(--c); filter: brightness(.85); }
.belt--y { --c: var(--belt-yellow); }
.belt--g { --c: var(--belt-green); padding-bottom: 2.4rem; }
.belt--b { --c: #0D1114; padding-bottom: 3.6rem; background: var(--graphite); border-color: #3A444D; }
.belt--b h3 { color: var(--white); }
.belt--b p, .belt--b li { color: var(--silver) !important; }
.belt--b .belt__bar { box-shadow: 0 0 0 1px #6B7680; }
.belt--b .belt__bar::after { background: #2C353D; filter: none; box-shadow: 0 0 0 1px #6B7680; }
.belt__level { font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.belt--b .belt__level { color: var(--teal-light); }
.belt p { color: var(--muted); font-size: .95rem; }
.belt ul { list-style: none; display: grid; gap: .35rem; font-size: .9rem; }
.belt li { display: flex; gap: .5rem; color: var(--text); }
.belt li::before { content: "—"; color: var(--teal); }

/* ---------- DMAIC cycle ---------- */
.dmaic { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.dmaic svg { width: 100%; max-width: 440px; margin-inline: auto; display: block; }
.dmaic .seg { fill: var(--surface); stroke: var(--line); stroke-width: 2; cursor: pointer; transition: fill .4s var(--ease), stroke .4s; }
.dmaic .seg.is-active { fill: var(--teal); stroke: var(--teal); }
.dmaic .seg-l { font: 700 30px var(--font); fill: var(--ink); pointer-events: none; }
.dmaic .core { fill: var(--graphite); }
.dmaic .core-t { font: 600 13px var(--font); fill: var(--white); letter-spacing: .1em; }
.dmaic .core-s { font: 400 11px var(--font); fill: var(--silver); }
.dmaic__list { list-style: none; display: grid; gap: .5rem; }
.dmaic__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start; padding: .9rem 1rem; border-radius: var(--r-md); cursor: pointer; border: 1px solid transparent; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.dmaic__list li:hover, .dmaic__list li.is-active { background: var(--surface); border-color: var(--line); transform: translateX(4px); }
.dmaic__list b { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--well-bg); color: var(--well-fg); font-size: 1.15rem; transition: background-color .3s, color .3s; }
.dmaic__list li.is-active b { background: var(--teal); color: var(--graphite); }
.dmaic__list strong { display: block; color: var(--ink); }
.dmaic__list span { color: var(--muted); font-size: .93rem; line-height: 1.5; }

/* ---------- Kirkpatrick levels ---------- */
.levels { list-style: none; display: grid; gap: .6rem; }
.level { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 1rem; margin-left: calc(var(--i) * 6%); padding: 1rem 1.25rem; border-radius: var(--r-md); background: color-mix(in srgb, var(--teal) calc(12% + var(--i) * 20%), var(--surface)); }
.level b { font-size: 1.6rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.level strong { display: block; }
.level span { font-size: .92rem; color: var(--text); }
.level:nth-child(3) b, .level:nth-child(3) strong, .level:nth-child(3) span { color: #0E1A1A; }
.level:last-child { background: var(--graphite); }
.level:last-child b, .level:last-child strong { color: var(--teal-light); }
.level:last-child span { color: var(--silver); }

/* ---------- BESS chart + calculator ---------- */
.bess { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 1.5rem; }
.bess__chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; min-width: 0; }
.bess__chart svg { width: 100%; height: auto; display: block; }
.bess__chart .grid { stroke: var(--line); stroke-width: 1; }
.bess__chart .tick { font: 500 11px var(--font); fill: var(--muted); }
.bess__chart .load { fill: none; stroke: var(--muted); stroke-width: 2.5; opacity: .7; }
.bess__chart .area-shaved { fill: var(--teal); opacity: .28; }
.bess__chart .area-grid { fill: var(--ink); opacity: .06; }
.bess__chart .cap { stroke: var(--accent-ink); stroke-width: 2; stroke-dasharray: 6 5; }
.bess__chart .cap-l { font: 600 12px var(--font); fill: var(--accent-ink); }
.bess__chart .win { fill: var(--teal); opacity: .08; }
.bess__chart .win-l { font: 600 10.5px var(--font); fill: var(--accent-ink); letter-spacing: .06em; }
.bess__chart [data-cap], .bess__chart [data-cap-label], .bess__chart [data-clip], .bess__chart [data-gclip] { transition: y .5s var(--ease), y1 .5s var(--ease), y2 .5s var(--ease), height .5s var(--ease); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .75rem; font-size: .82rem; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: .4rem; vertical-align: middle; }
.calc { background: var(--graphite); color: var(--silver); border: 1px solid #343D46; border-radius: var(--r-lg); padding: 1.5rem; display: grid; gap: 1rem; align-content: start; }
.calc h3 { color: var(--white); }
.calc label { display: grid; gap: .45rem; font-size: .88rem; color: var(--silver); }
.calc label span { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.calc label b { color: var(--white); }
.calc input[type=range] { width: 100%; accent-color: var(--teal); }
.calc__out { border-top: 1px solid #3A444D; padding-top: 1rem; display: grid; gap: .2rem; }
.calc__out strong { font-size: 2.2rem; color: var(--teal-light); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.calc__out small { font-size: .78rem; color: #A3ADB6; line-height: 1.45; }
.calc__year { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Technology lifecycle ---------- */
.loop { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; counter-reset: loop; }
.loop li { position: relative; padding: 1.1rem .9rem 1.2rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .4rem; align-content: start; transition: transform .5s var(--ease), border-color .3s; }
.loop li:hover { transform: translateY(-4px); border-color: var(--teal); }
.loop li::before { counter-increment: loop; content: counter(loop, decimal-leading-zero); font-size: .78rem; font-weight: 700; color: var(--accent-ink); letter-spacing: .08em; }
.loop li strong { color: var(--ink); font-size: 1rem; }
.loop li span { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.loop li:last-child { background: var(--teal); border-color: var(--teal); }
.loop li:last-child::before, .loop li:last-child strong { color: var(--graphite); }
.loop li:last-child span { color: #0D3533; }
.loop-note { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.loop-note .icon { color: var(--accent-ink); }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { padding: .45rem .9rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: .9rem; font-weight: 500; transition: border-color .3s, transform .4s var(--ease); }
.pill:hover { border-color: var(--teal); transform: translateY(-2px); }

/* ---------- Data table ---------- */
.dtable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.dtable { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.dtable th, .dtable td { padding: .95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.dtable th { background: var(--surface-2); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dtable tr:last-child td { border-bottom: 0; }
.dtable tbody tr { transition: background-color .25s; }
.dtable tbody tr:hover { background: color-mix(in srgb, var(--teal) 6%, var(--surface)); }
.dtable td:first-child { font-weight: 600; white-space: nowrap; color: var(--ink); }

/* ---------- Entities ---------- */
.entities { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.entity { padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.entity small { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); }
.entity p { color: var(--muted); font-size: .95rem; }
.entity.entity--brand { background: linear-gradient(150deg, #00A19C 0%, #00807B 100%); border-color: transparent; }
.entity.entity--brand h3, .entity.entity--brand small { color: #0E1A1A; }
.entity.entity--brand p { color: #0B2B2A; }
.entities__join { display: grid; place-items: center; color: var(--teal); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.person { display: grid; gap: .9rem; align-content: start; }
.person__photo { aspect-ratio: 1; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__initials { font-size: 2.6rem; font-weight: 700; color: var(--accent-ink); letter-spacing: -0.02em; }
.person h3 { font-size: 1.1rem; }
.person p { color: var(--muted); font-size: .93rem; }

/* ---------- Partner cards ---------- */
.partner { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.partner > img { max-height: 72px; width: 100%; object-fit: contain; background: var(--white); border-radius: 10px; padding: 10px 12px; }
.partner p { color: var(--muted); font-size: .95rem; margin-top: .35rem; }
.tile > img { background: var(--white); border-radius: 12px; padding: 6px 10px; }

/* ---------- Blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button { padding: .5rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); font: 600 .88rem var(--font); color: var(--ink); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); color: var(--ink); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-card__body { padding: 1.25rem 1.4rem 1.5rem; display: grid; gap: .6rem; }
.post-card__meta { display: flex; gap: .75rem; font-size: .8rem; color: var(--muted); }
.post-card__cat { color: var(--accent-ink); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { font-size: 1.15rem; }
.post-card p { font-size: .93rem; color: var(--muted); line-height: 1.55; }
.post-card--feature { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.post-card--feature .post-card__img { aspect-ratio: auto; min-height: 320px; }
.post-card--feature .post-card__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-content: center; }
.post-card--feature h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.article-head { display: grid; gap: 1.1rem; max-width: 820px; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .9rem; }
.article-cover { margin-top: 2.5rem; }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.article-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 4rem; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1rem; }
.article-aside .tile { padding: 1.4rem; }

/* ---------- Contact form ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1.25rem; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 600; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem; border-radius: var(--r-sm); border: 1.5px solid var(--field-line);
  font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--surface); transition: border-color .2s, box-shadow .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,161,156,.18); }
.field [aria-invalid="true"] { border-color: #D92D20; }
.field .err, .consent .err { color: #D92D20; font-size: .84rem; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: var(--r-pill); border: 1.5px solid var(--field-line); font-size: .9rem; cursor: pointer; background: var(--surface); color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.choice input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--graphite); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.consent { display: flex; gap: .7rem; align-items: flex-start; flex-wrap: wrap; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--teal-deep); flex: none; }
.consent > span { flex: 1; min-width: 0; }
.hp { position: absolute !important; left: -5000px !important; }
.form__status { padding: 1rem 1.1rem; border-radius: var(--r-md); font-size: .95rem; }
.form__status--ok { background: color-mix(in srgb, var(--teal) 14%, var(--surface)); color: var(--ink); }
.form__status--err { background: #FEF3F2; color: #8A1C12; }
.form button[type=submit] { justify-self: start; }
.form button[disabled] { opacity: .6; cursor: progress; }
.contact-card { display: grid; gap: 1.25rem; }
.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .9rem; align-items: start; }
.contact-list .well { width: 44px; height: 44px; }
.contact-list small { display: block; font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.next-steps { list-style: none; display: grid; gap: 1rem; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: .8rem; color: var(--silver); font-size: .95rem; line-height: 1.5; }
.next-steps li::before { counter-increment: ns; content: counter(ns); width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: var(--graphite); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.next-steps strong { color: var(--white); display: block; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: var(--r-pill);
  background: var(--teal); color: var(--graphite); text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 30px rgba(0,161,156,.35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wa-float .icon { width: 1.35rem; height: 1.35rem; }
.wa-float:hover { color: var(--graphite); transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 36px rgba(0,161,156,.45); }

/* ---------- Footer ---------- */
.site-footer { color: var(--silver); padding-block: clamp(3.5rem, 3rem + 2vw, 5rem) calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
html:not(.scene-on) .site-footer { background: var(--graphite); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.3fr); gap: 2.5rem; }
.footer__brand { display: grid; gap: 1.1rem; align-content: start; }
.footer__brand img { width: 200px; }
.footer__brand p { font-size: .93rem; max-width: 34ch; line-height: 1.6; color: #B7BEC6; }
.footer__social { display: flex; gap: .5rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #3A444D; color: var(--silver); transition: border-color .3s, color .3s, transform .4s var(--ease); }
.footer__social a:hover { border-color: var(--teal-light); color: var(--teal-light); transform: translateY(-2px); }
.footer__col h2 { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 1rem; font-weight: 600; }
.footer__col ul { list-style: none; display: grid; gap: .6rem; }
.footer__col a { color: #DDE2E6; text-decoration: none; font-size: .94rem; transition: color .25s; }
.footer__col a:hover { color: var(--teal-light); }
.footer__contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .7rem; font-size: .93rem; line-height: 1.55; overflow-wrap: anywhere; color: #DDE2E6; }
.footer__contact .icon { color: var(--teal-light); margin-top: .2rem; width: 1.1rem; height: 1.1rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #343D46; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .84rem; color: #9AA5AF; }

/* ---------- Reveal on scroll (only for content below the first screen) ---------- */
.rv { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(8% 8% 8% 8% round var(--r-lg)); opacity: .3; transition: clip-path 1.3s var(--ease), opacity 1s var(--ease); transition-delay: var(--d, 0s); }
.rv-img.in { clip-path: inset(0 0 0 0 round var(--r-lg)); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .loop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .hero__grid, .page-hero__grid, .split, .dmaic, .bess, .contact, .article-body, .tabs__panel { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .svc, .svc--wide { grid-column: span 3; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .belts { grid-template-columns: minmax(0, 1fr); }
  .belt--g, .belt--b { padding-bottom: 1.5rem; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta .btn-row { justify-content: flex-start; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--feature { grid-column: span 2; grid-template-columns: minmax(0, 1fr); }
  .post-card--feature .post-card__img { min-height: 0; aspect-ratio: 16 / 9; }
  .article-aside { position: static; }
  .page-hero__badge { left: 12px; bottom: -18px; }
  .level { margin-left: calc(var(--i) * 3%); }
  .hero__mark { opacity: .05; width: 90vw; right: -30vw; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal-deep), var(--teal-light)); transform-origin: top; }
  .scene-on .steps.rv::before { transform: scaleY(0); }
  .scene-on .steps.rv.in::before { transform: scaleY(1); }
  .step { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 1rem; row-gap: .2rem; padding: 0; }
  .step__num { grid-row: span 2; }
  .step h3 { margin-top: .6rem; }
  .entities { grid-template-columns: minmax(0, 1fr); }
  .entities__join { transform: rotate(90deg); }
  .partner { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .partner > img { width: auto; max-width: 180px; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .svc, .svc--wide { grid-column: span 6; }
  .grid-2, .grid-3, .grid-4, .team, .posts { grid-template-columns: minmax(0, 1fr); }
  .post-card--feature { grid-column: span 1; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop li:last-child { grid-column: span 2; }
  .cc__legend { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cc__legend .cc__stat:last-child { grid-column: span 2; }
  .logo-chip { height: 68px; min-width: 150px; padding: 0 1.25rem; }
  .logo-chip img { height: 30px; }
  .logo-chip img.tall { height: 48px; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
  .callout, .callout--3 { grid-template-columns: minmax(0, 1fr); }
  .brand, .brand img { width: 150px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   Event page: The Sigma AI Shift 2027 (/sigmashiftai2027/)
   ========================================================= */
.ev-hero { overflow: hidden; }
.ev-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.ev-title { font-size: var(--fs-display); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.ev-title em { font-style: normal; color: var(--teal); }
.ev-series { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); font-weight: 500; color: var(--silver); margin-top: -.25rem; }
.ev-tagline { font-weight: 600; color: var(--teal-light); letter-spacing: -0.01em; }
.ev-card { position: relative; display: grid; gap: 1.1rem; padding: 1.75rem; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(0,161,156,.16), rgba(255,255,255,.03) 55%); border: 1px solid rgba(94,211,205,.28); box-shadow: 0 30px 80px -40px rgba(0,0,0,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--silver); }
.ev-card__label { font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-light); }
.ev-card__title { font-size: 1.35rem; color: var(--white); line-height: 1.25; }
.ev-card__meta { list-style: none; display: grid; gap: .7rem; }
.ev-card__meta li { display: flex; gap: .7rem; align-items: flex-start; color: #E6EAEE; line-height: 1.4; }
.ev-card__meta .icon { color: var(--teal-light); flex: none; margin-top: .15rem; }
.ev-card__meta small { display: block; color: var(--silver); opacity: .8; font-size: .8rem; }
.ev-count { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.ev-count[hidden] { display: none; }
.ev-count div { display: grid; justify-items: center; gap: .15rem; padding: .8rem .4rem; border-radius: var(--r-md); background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.08); }
.ev-count strong { font-size: 1.7rem; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1; }
.ev-count span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); }
.ev-card__hrdc { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; color: #E6EAEE; }
.ev-card__hrdc img { background: var(--white); border-radius: 50%; padding: 2px; }

/* Journey: six stops from problem to pitch */
.journey { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; position: relative; margin-top: 2.5rem; }
.journey::before { content: ""; position: absolute; left: 8%; right: 8%; top: 32px; height: 2px; background: linear-gradient(90deg, var(--teal-deep), var(--teal-light)); opacity: .55; }
.journey__step { position: relative; display: grid; align-content: start; justify-items: center; text-align: center; gap: .4rem; }
.journey__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--teal); color: var(--accent-ink); position: relative; z-index: 1; margin-bottom: .4rem; }
.journey__icon .icon { width: 1.5rem; height: 1.5rem; }
.journey__step--end .journey__icon { background: var(--graphite); border-color: var(--graphite); color: var(--teal-light); }
.journey__step strong { color: var(--ink); font-size: 1.02rem; }
.journey__step > span:last-child { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* Series cards */
.series { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.series__card { display: grid; gap: .55rem; align-content: start; padding: 1.6rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.series__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.series__card h3 { font-size: 1.45rem; color: var(--ink); }
.series__card p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.series__card .series__theme { color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.series__tag { font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.series__card--next { border: 2px solid var(--teal); box-shadow: 0 18px 50px -30px rgba(0,161,156,.7); }
.series__card--dark { background: var(--graphite); border-color: var(--graphite); }
.series__card--dark h3, .series__card--dark .series__theme { color: var(--white); }
.series__card--dark p { color: var(--silver); }
.series__card--dark .series__tag { color: var(--teal-light); }

/* Agenda timeline */
.ev-day { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.ev-day__intro { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.ev-legend { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .88rem; color: var(--muted); }
.ev-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--muted); display: inline-block; }
.dot--module { background: var(--teal); border-color: var(--teal); }
.agenda { list-style: none; display: grid; position: relative; }
.agenda::before { content: ""; position: absolute; left: 76px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.agenda__item { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 2rem; padding: .95rem 0; position: relative; }
.agenda__item::before { content: ""; position: absolute; left: 70px; top: 1.25rem; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.agenda__item--module::before { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 6px color-mix(in srgb, var(--teal) 22%, transparent); }
.agenda__item time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); padding-top: .1rem; font-size: .95rem; }
.agenda__item h3 { font-size: 1.08rem; color: var(--ink); line-height: 1.35; }
.agenda__item p { color: var(--muted); font-size: .93rem; line-height: 1.55; margin-top: .25rem; }
.agenda__item--break h3 { font-size: .98rem; font-weight: 500; color: var(--muted); }
.agenda__item--break p { font-size: .86rem; }
.agenda__item--module { padding: 1.1rem 0; }
.agenda__out { display: inline-flex; align-items: center; gap: .4rem; margin-top: .55rem; padding: .3rem .7rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--teal) 16%, transparent); color: var(--teal-light); font-size: .82rem; font-weight: 600; }
.agenda__out .icon { width: .95rem; height: .95rem; }
html:not([data-scene="dark"]) .agenda__out { color: var(--accent-ink); }

/* People line and partner categories */
.ev-people { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.person-line { display: grid; gap: .2rem; }
.person-line span { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.person-line strong { color: var(--ink); font-size: 1.1rem; }
.ev-cats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.ev-cats li { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; line-height: 1.35; }
.ev-cats li span { font-variant-numeric: tabular-nums; font-size: .82rem; color: var(--accent-ink); font-weight: 700; }

@media (max-width: 1100px) {
  .series { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .journey::before { display: none; }
}
@media (max-width: 960px) {
  .ev-hero__grid, .ev-day { grid-template-columns: minmax(0, 1fr); }
  .ev-day__intro { position: static; }
}
@media (max-width: 640px) {
  .series, .ev-cats { grid-template-columns: minmax(0, 1fr); }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agenda::before { left: 62px; }
  .agenda__item { grid-template-columns: 50px minmax(0, 1fr); gap: 1.6rem; }
  .agenda__item::before { left: 56px; }
}

@media (max-width: 960px) {
  .nav__list > li.nav__event-item { border-bottom: 0; padding-top: 1rem; }
  .nav__list > li > a.nav__event { margin-left: 0; justify-content: center; border-radius: var(--r-pill); padding: .95rem 1rem; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .nav { gap: 1rem; }
  .nav__list > li > a, .nav__toggle { padding-inline: .6rem; font-size: .9rem; }
  .nav__list > li > a.nav__event { padding-inline: .8rem; }
}
body.nav-open .announce { display: none; }
