/* =====================================================================
   ReachNavigator — design system
   Dark "global network" shell (glass) + porcelain content zones (clay).
   Palette is drawn from the logo mark: amber, lime, coral, ocean blue, orange.
   ===================================================================== */

:root {
  color-scheme: light;

  /* Ink (dark shell) */
  --ink-950: #050918;
  --ink-900: #0a1233;
  --ink-800: #111c4a;
  --ink-700: #1b2a66;
  --d-text: #eef2ff;
  --d-muted: #aab5d8;
  --d-line: rgb(255 255 255 / 14%);

  /* Porcelain (light content) */
  --canvas: #eef1f8;
  --canvas-2: #f7f8fc;
  --surface: #ffffff;
  --text: #0f1733;
  --muted: #4a5578;
  --line: #d9dfed;

  /* Brand (from logo) */
  --amber: #f5a623;
  --amber-deep: #b86e00;
  --lime: #7db843;
  --coral: #e5483b;
  --blue: #1f5fd6;
  --ocean: #0b6a9c;
  --orange: #ef8322;
  --sky: #6cc7ff;

  /* Clay tints */
  --clay-amber: #ffe8bf;
  --clay-lime: #def2cb;
  --clay-coral: #ffdcd6;
  --clay-blue: #d8e6ff;
  --clay-orange: #ffe2c8;

  --focus: #ffb938;

  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 124px;

  /* Clay recipe (light source: top-left) */
  --clay-shadow:
    0 22px 44px -22px rgb(20 34 90 / 38%),
    0 2px 6px -2px rgb(20 34 90 / 10%),
    inset 0 2px 1px rgb(255 255 255 / 95%),
    inset 7px 9px 18px rgb(255 255 255 / 70%),
    inset -9px -11px 20px rgb(28 46 120 / 11%);
  --clay-shadow-hover:
    0 30px 56px -24px rgb(20 34 90 / 45%),
    0 2px 6px -2px rgb(20 34 90 / 10%),
    inset 0 2px 1px rgb(255 255 255 / 95%),
    inset 7px 9px 18px rgb(255 255 255 / 70%),
    inset -9px -11px 20px rgb(28 46 120 / 13%);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.2em; height: 1.2em; flex: none; stroke-width: 2; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 12px 18px; border-radius: 12px; background: var(--amber); color: #1c1200; font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--amber), var(--coral)); }
.on-dark .eyebrow, .eyebrow--light { color: var(--sky); }
.display { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 750; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -0.015em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.on-dark { color: var(--d-text); }
.on-dark .lead, .on-dark .muted, .hero .lead, .hero .muted { color: #b9c3e4; }
.hero .eyebrow { color: var(--sky); }
.muted { color: var(--muted); }
.grad-text {
  background: linear-gradient(100deg, #ffd27a 0%, var(--amber) 35%, #ff8a5c 70%, #ff6b8b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.prose { display: grid; gap: 1.1em; color: #283357; max-width: 68ch; }
.prose p:first-child { font-size: 1.15rem; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 24px;
  border-radius: 999px; border: 0;
  font-weight: 800; font-size: .98rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .22s var(--spring), box-shadow .22s var(--ease), background-color .2s, color .2s;
}
.btn .icon { transition: transform .25s var(--spring); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--sm { --btn-h: 42px; padding: 0 16px; font-size: .88rem; }

/* Clay button (primary) */
.btn--clay {
  color: #231500;
  background: linear-gradient(180deg, #ffc85e 0%, var(--amber) 55%, #f08f12 100%);
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 60%),
    inset 0 -5px 10px rgb(170 80 0 / 32%),
    0 14px 26px -10px rgb(245 140 20 / 70%);
}
.btn--clay:hover { transform: translateY(-2px); box-shadow: inset 0 2px 0 rgb(255 255 255 / 60%), inset 0 -5px 10px rgb(170 80 0 / 32%), 0 20px 32px -12px rgb(245 140 20 / 80%); }

/* Clay button — ink */
.btn--ink {
  color: #fff;
  background: linear-gradient(180deg, #2a3c8f, var(--ink-800));
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 20%), inset 0 -5px 10px rgb(0 0 0 / 30%), 0 14px 26px -12px rgb(17 28 74 / 70%);
}
.btn--ink:hover { transform: translateY(-2px); }

/* Glass button (on dark) */
.btn--glass {
  color: #fff;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 22%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgb(255 255 255 / 15%); transform: translateY(-2px); }

/* Outline (on light) */
.btn--line { color: var(--text); background: var(--surface); border: 1.5px solid var(--line); box-shadow: 0 6px 16px -10px rgb(20 34 90 / 30%); }
.btn--line:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue); }
.link-arrow .icon { transition: transform .25s var(--spring); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Surfaces ---------- */
.glass {
  position: relative;
  background: rgb(14 24 66 / 92%);
  border: 1px solid var(--d-line);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%), 0 24px 60px -24px rgb(0 0 0 / 60%);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: linear-gradient(160deg, rgb(40 58 140 / 42%), rgb(12 20 58 / 50%)); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
  .glass--light { background: rgb(255 255 255 / 62%) !important; }
}
.glass--light { background: rgb(255 255 255 / 94%); border-color: rgb(255 255 255 / 80%); box-shadow: inset 0 1px 0 #fff, 0 24px 60px -30px rgb(20 34 90 / 40%); color: var(--text); }

.clay {
  position: relative;
  background: var(--clay-bg, var(--surface));
  border-radius: var(--r-lg);
  box-shadow: var(--clay-shadow);
}
.clay-bubble {
  display: grid; place-items: center; flex: none;
  width: 58px; height: 58px; border-radius: 20px;
  color: var(--acc-ink, var(--blue));
  background: var(--acc-soft, var(--clay-blue));
  box-shadow:
    inset 0 2px 1px rgb(255 255 255 / 90%),
    inset 4px 5px 10px rgb(255 255 255 / 70%),
    inset -5px -6px 12px rgb(0 0 0 / 9%),
    0 10px 18px -10px var(--acc-glow, rgb(31 95 214 / 55%));
}
.clay-bubble .icon { width: 26px; height: 26px; }

/* Accent sets (applied on any element) */
.acc-amber  { --acc: var(--amber);  --acc-soft: var(--clay-amber);  --acc-ink: #8a5200; --acc-glow: rgb(245 166 35 / 60%); }
.acc-lime   { --acc: var(--lime);   --acc-soft: var(--clay-lime);   --acc-ink: #3c6d12; --acc-glow: rgb(125 184 67 / 60%); }
.acc-coral  { --acc: var(--coral);  --acc-soft: var(--clay-coral);  --acc-ink: #a4241a; --acc-glow: rgb(229 72 59 / 55%); }
.acc-blue   { --acc: var(--blue);   --acc-soft: var(--clay-blue);   --acc-ink: #163f93; --acc-glow: rgb(31 95 214 / 55%); }
.acc-orange { --acc: var(--orange); --acc-soft: var(--clay-orange); --acc-ink: #93430a; --acc-glow: rgb(239 131 34 / 60%); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header .container { width: min(100% - 2 * var(--gutter), 1400px); }
.topbar {
  font-size: .82rem; color: var(--d-muted);
  transition: margin-top .35s var(--ease), opacity .3s;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #dfe6ff; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--amber); width: 15px; height: 15px; }
.topbar__left { display: flex; gap: 22px; }
.topbar__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; color: #bfe8ff; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fe39c; box-shadow: 0 0 0 0 rgb(47 227 156 / 60%); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgb(47 227 156 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(47 227 156 / 0%); } }
.site-header.is-scrolled .topbar { margin-top: -40px; opacity: 0; }

.navbar {
  display: flex; align-items: center; gap: 12px;
  margin-top: 6px; padding: 10px 10px 10px 18px;
  border-radius: 22px;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled .navbar { background: rgb(8 14 44 / 88%); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; margin-right: 8px; }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 4px 10px rgb(0 0 0 / 35%)); }
.brand__word { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; color: #fff; }
.brand__name span { color: var(--amber); }
.brand__tag { font-size: .66rem; color: var(--d-muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  min-height: 44px; padding: 0 12px; border-radius: 12px;
  font-weight: 700; font-size: .93rem; color: #dbe3ff;
  background: none; border: 0;
  transition: background-color .2s, color .2s;
}
.nav__link:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: #fff; background: rgb(255 255 255 / 9%); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__trigger { color: #fff; background: rgb(255 255 255 / 12%); box-shadow: inset 0 -2px 0 var(--amber); }
.nav__trigger .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: max-content; max-width: min(760px, 92vw);
  padding: 14px; border-radius: 24px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.mega__grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 4px; }
.mega__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: #e3e9ff; font-weight: 650; font-size: .92rem; transition: background-color .18s; }
.mega__link:hover, .mega__link:focus-visible { background: rgb(255 255 255 / 10%); color: #fff; }
.mega__link[aria-current="page"] { background: rgb(245 166 35 / 16%); color: #fff; }
.mega__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--acc-soft); color: var(--acc-ink); box-shadow: inset 0 1px 1px #fff, inset -3px -3px 6px rgb(0 0 0 / 10%); flex: none; }
.mega__ico .icon { width: 18px; height: 18px; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 12px 4px; border-top: 1px solid var(--d-line); color: var(--d-muted); font-size: .85rem; }
.mega__foot a { color: var(--amber); font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--d-line); background: rgb(255 255 255 / 8%); color: #fff; place-items: center; }

/* Drawer (mobile) */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(3 6 20 / 60%); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 10px 10px 10px auto; width: min(420px, calc(100% - 20px));
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(170deg, #16225a, #0a1233 60%);
  border: 1px solid var(--d-line); border-radius: 26px; color: var(--d-text);
  transform: translateX(110%); transition: transform .38s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 12px 20px; border-bottom: 1px solid var(--d-line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px; overscroll-behavior: contain; }
.drawer__link, .drawer__acc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px; border-radius: 14px; font-weight: 750; font-size: 1.05rem; cursor: pointer; list-style: none; }
.drawer__acc > summary::-webkit-details-marker { display: none; }
.drawer__link:hover, .drawer__acc > summary:hover { background: rgb(255 255 255 / 7%); }
.drawer__acc[open] > summary .icon { transform: rotate(180deg); }
.drawer__sub { display: grid; gap: 2px; padding: 4px 0 10px 12px; margin-left: 12px; border-left: 2px solid rgb(245 166 35 / 50%); }
.drawer__sub a { padding: 10px 12px; border-radius: 10px; color: #d2dbff; font-weight: 600; }
.drawer__sub a:hover { background: rgb(255 255 255 / 7%); color: #fff; }
.drawer__foot { display: grid; gap: 10px; padding: 14px; border-top: 1px solid var(--d-line); }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--d-line); background: rgb(255 255 255 / 8%); color: #fff; }

@media (max-width: 1400px) {
  .nav__actions .hide-md, .navbar .brand__tag { display: none; }
  .nav__link, .nav__trigger { padding: 0 10px; font-size: .9rem; }
}
@media (max-width: 1280px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .topbar__status, .topbar__left a:nth-child(2) span { display: none; }
  .nav__actions .btn { display: none; }
  .brand__tag { display: none; }
  .navbar { padding-left: 12px; }
}

/* ---------- Heroes ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 50% at 78% 38%, rgb(31 95 214 / 35%), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgb(229 72 59 / 18%), transparent 70%),
    radial-gradient(40% 35% at 30% 10%, rgb(245 166 35 / 14%), transparent 70%),
    linear-gradient(180deg, var(--ink-950), var(--ink-900) 60%, #0d1640);
  color: var(--d-text);
}
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background-image: radial-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px); background-size: 3px 3px; mask-image: linear-gradient(180deg, #000, transparent 80%); }
.hero__fade { position: absolute; inset: auto 0 0; height: 120px; z-index: -1; background: linear-gradient(180deg, transparent, var(--ink-900)); pointer-events: none; }

.hero--home { min-height: max(760px, 100svh); display: grid; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.hero--home .hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #dfe7ff; }
.hero__badge b { padding: 4px 10px; border-radius: 999px; background: var(--amber); color: #231500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; align-items: center; gap: 14px; color: var(--d-muted); font-size: .88rem; font-weight: 600; }
.hero__trust img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 2px; }

.hero__stage { position: relative; min-height: 520px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 22px; animation: bob 7s ease-in-out infinite; }
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.55rem; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.float-card span { font-size: .82rem; color: var(--d-muted); font-weight: 600; }
.float-card .clay-bubble { width: 46px; height: 46px; border-radius: 15px; }
.float-card .clay-bubble .icon { width: 22px; height: 22px; }
.float-card--a { top: 6%; left: -2%; }
.float-card--b { top: 44%; right: -4%; animation-delay: -2.3s; }
.float-card--c { bottom: 4%; left: 12%; animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--d-muted); font-weight: 700; }
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; border: 2px solid rgb(255 255 255 / 30%); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

@media (max-width: 980px) {
  .hero--home .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { min-height: 380px; order: -1; margin-bottom: -40px; }
  .float-card--a { left: 0; top: 2%; }
  .float-card--b { right: 0; }
  .float-card--c { left: 4%; bottom: 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .hero__stage { min-height: 290px; margin-bottom: -20px; }
  .hero__trust br { display: none; }
  .float-card { padding: 10px 14px 10px 10px; gap: 10px; }
  .float-card strong { font-size: 1.2rem; }
  .float-card--c { display: none; }
}

/* Inner page hero */
.hero--page { padding: calc(var(--header-h) + 36px) 0 clamp(70px, 9vw, 120px); }
.hero--page .hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero--page.hero--solo .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--solo .hero__copy { max-width: 900px; }
.hero--page h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--d-muted); }
.crumbs a { color: #dfe7ff; }
.crumbs a:hover { color: var(--amber); }
.crumbs .icon { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--amber); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: .85rem; font-weight: 750; background: rgb(255 255 255 / 8%); border: 1px solid var(--d-line); color: #e5ebff; }
.chip .icon { width: 16px; height: 16px; color: var(--amber); }

.photo-frame { position: relative; padding: 12px; border-radius: 30px; transform: rotate(1.5deg); transition: transform .5s var(--ease); }
.photo-frame:hover { transform: rotate(0deg) translateY(-4px); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.photo-frame__tag { position: absolute; left: -18px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 20px; transform: rotate(-1.5deg); color: var(--text); }
.photo-frame__tag strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.05; }
.photo-frame__tag span { font-size: .78rem; font-weight: 700; color: var(--muted); }
.photo-frame__tag .clay-bubble { width: 44px; height: 44px; border-radius: 14px; }
.photo-frame__tag .clay-bubble .icon { width: 20px; height: 20px; }

/* Generated "data card" visual for pages without photography */
.data-visual { position: relative; padding: 22px; border-radius: 30px; display: grid; gap: 14px; }
.data-visual__row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 8%); }
.data-visual__row i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: inset 0 2px 2px rgb(255 255 255 / 45%), inset -3px -4px 6px rgb(0 0 0 / 20%); }
.data-visual__row b { display: block; height: 9px; border-radius: 5px; background: rgb(255 255 255 / 28%); width: var(--w, 70%); }
.data-visual__row b + b { margin-top: 7px; height: 7px; background: rgb(255 255 255 / 12%); width: calc(var(--w, 70%) - 22%); }
.data-visual__row div { flex: 1; }
.data-visual__row em { font-style: normal; font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: rgb(47 227 156 / 16%); color: #6ff0bd; letter-spacing: .04em; }
.data-visual__label { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--d-muted); }

@media (max-width: 900px) {
  .hero--page .hero__grid { grid-template-columns: 1fr; }
  .photo-frame { max-width: 560px; }
  .photo-frame__tag { left: 10px; }
}

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.stat-strip > div { padding: 16px 18px; border-radius: 20px; }
.stat-strip dt { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--d-muted); }
.stat-strip dd { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.15; }
@media (max-width: 640px) { .stat-strip { gap: 8px; } .stat-strip > div { padding: 12px; } .stat-strip dt { font-size: .64rem; letter-spacing: .06em; } .stat-strip dd { font-size: 1rem; } }

/* ---------- Sections ---------- */
.section { position: relative; overflow-x: clip; padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--light { background: var(--canvas); }
.section--white { background: var(--canvas-2); }
.section--dark {
  color: var(--d-text); isolation: isolate; overflow: hidden;
  background:
    radial-gradient(50% 60% at 85% 0%, rgb(31 95 214 / 30%), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgb(245 166 35 / 14%), transparent 70%),
    var(--ink-900);
}
.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.section > .container { position: relative; z-index: 1; }

/* Marquee */
.marquee { overflow: hidden; background: var(--ink-900); color: var(--d-text); border-block: 1px solid var(--d-line); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; padding: 22px 0; animation: marquee 40s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; white-space: nowrap; }
.marquee__item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intro split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Capability tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { display: grid; gap: 14px; padding: 20px; border-radius: 24px; transition: transform .3s var(--spring), box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--clay-shadow-hover); }
.tile h3 { font-size: 1.02rem; letter-spacing: -0.01em; font-family: var(--font-body); font-weight: 800; }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bento__cell { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg); transition: transform .3s var(--spring), box-shadow .3s; }
.bento__cell:hover { transform: translateY(-4px); box-shadow: var(--clay-shadow-hover); }
.bento__cell--wide { grid-column: span 2; }
.bento__cell--full { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; }
.bento__cell--full > div { display: grid; gap: 6px; }
.bento__cell--tall { grid-row: span 2; }
.bento__cell .bento__num { font-family: var(--font-display); font-weight: 750; font-size: clamp(2.3rem, 4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.bento__num small { font-size: .5em; color: var(--acc-ink); margin-left: 2px; }
.bento__cell h3 { font-size: 1.2rem; }
.bento__cell p { color: var(--muted); font-size: .98rem; }
.bento__cell--feature { background: linear-gradient(160deg, #fff 0%, var(--acc-soft) 130%); }
.bento__cell--ink { --clay-bg: var(--ink-800); color: var(--d-text); background: linear-gradient(160deg, #22348a, var(--ink-900)); box-shadow: 0 28px 50px -24px rgb(10 18 51 / 70%), inset 0 2px 0 rgb(255 255 255 / 16%), inset -10px -12px 24px rgb(0 0 0 / 30%); }
.bento__cell--ink .bento__num { color: #fff; }
.bento__cell--ink p { color: var(--d-muted); }
.bento__spark { margin-top: auto; height: 70px; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento__cell--wide { grid-column: auto; } .bento__cell--full { flex-direction: column; align-items: flex-start; } .bento__cell--tall { grid-row: auto; } }

/* Big numbers band */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric { padding: 26px 24px; border-radius: 26px; display: grid; gap: 10px; }
.metric__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgb(255 255 255 / 10%); color: var(--c, var(--amber)); border: 1px solid var(--d-line); }
.metric__value { font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 3.3rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.metric__label { color: var(--d-muted); font-weight: 650; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .metrics { grid-template-columns: 1fr; } }

/* Service cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); transition: transform .35s var(--spring), box-shadow .35s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--clay-shadow-hover); }
.svc-card__media { position: relative; margin: 12px 12px 0; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--acc-soft); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__body { display: grid; gap: 12px; padding: 22px 24px 28px; }
.svc-card__body p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Process (clay beads on a rail) */
.process { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 38px; left: 6%; right: 6%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--amber), var(--lime), var(--sky), var(--blue), var(--coral), var(--orange)); opacity: .35; }
.process__step { position: relative; display: grid; justify-items: center; text-align: center; gap: 14px; }
.process__bead { position: relative; width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); box-shadow: inset 0 3px 2px rgb(255 255 255 / 90%), inset 6px 8px 14px rgb(255 255 255 / 60%), inset -8px -10px 16px rgb(0 0 0 / 12%), 0 16px 26px -12px var(--acc-glow); transition: transform .35s var(--spring); }
.process__step:hover .process__bead { transform: translateY(-6px) rotate(-6deg); }
.process__bead .icon { width: 30px; height: 30px; }
.process__bead::after { counter-increment: step; content: counter(step); position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-800); color: #fff; font-size: .8rem; font-weight: 800; box-shadow: 0 4px 10px rgb(0 0 0 / 25%); }
.process__step h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em; }
.process__step p { font-size: .9rem; color: var(--muted); }
@media (max-width: 1000px) {
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .process::before { display: none; }
}
@media (max-width: 560px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Explore / directory tiles */
.dir-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dir-tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 22px; font-weight: 750; transition: transform .28s var(--spring), box-shadow .28s; }
.dir-tile:hover { transform: translateY(-3px); box-shadow: var(--clay-shadow-hover); }
.dir-tile .clay-bubble { width: 48px; height: 48px; border-radius: 16px; }
.dir-tile .clay-bubble .icon { width: 22px; height: 22px; }
.dir-tile span { flex: 1; line-height: 1.25; }
.dir-tile > .icon { color: var(--muted); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.dir-tile:hover > .icon { opacity: 1; transform: none; }
@media (max-width: 1000px) { .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dir-grid { grid-template-columns: 1fr; } }

.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 2px 6px rgb(20 34 90 / 10%); margin-bottom: 28px; }
.tabs [role="tab"] { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: none; font-weight: 800; color: var(--muted); transition: .2s; }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink-800); color: #fff; box-shadow: 0 8px 18px -8px rgb(17 28 74 / 70%), inset 0 1px 0 rgb(255 255 255 / 20%); }
[role="tabpanel"][hidden] { display: none; }

/* Solution pills */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 10px; border-radius: 999px; font-weight: 750; }
.pill .clay-bubble { width: 36px; height: 36px; border-radius: 50%; }
.pill .clay-bubble .icon { width: 18px; height: 18px; }

/* CTA band */
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); color: #1d1200; background: linear-gradient(135deg, #ffd27a 0%, var(--amber) 45%, #ff8b4d 100%); box-shadow: inset 0 3px 0 rgb(255 255 255 / 50%), inset -14px -18px 34px rgb(160 60 0 / 25%), 0 40px 70px -30px rgb(239 131 34 / 60%); }
.cta-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-card p { font-weight: 600; opacity: .85; margin-top: 10px; max-width: 52ch; }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-card__ring { position: absolute; border-radius: 50%; border: 2px solid rgb(255 255 255 / 35%); pointer-events: none; }
@media (max-width: 820px) { .cta-card { grid-template-columns: 1fr; } }

/* ---------- Content layout (inner pages) ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.layout > * { min-width: 0; }
.layout__aside { position: sticky; top: 110px; display: grid; gap: 20px; }
@media (max-width: 1040px) { .layout { grid-template-columns: 1fr; } .layout__aside { position: static; } }

.panel { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); }
.panel + .panel { margin-top: 24px; }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.panel__title { display: flex; align-items: center; gap: 14px; }

/* Searchable list */
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; min-height: 48px; padding: 0 16px 0 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--canvas-2); box-shadow: inset 0 2px 5px rgb(20 34 90 / 8%); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(31 95 214 / 15%); }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.list-meta { font-size: .88rem; color: var(--muted); font-weight: 650; margin-bottom: 14px; }
.seg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: 16px; background: var(--canvas-2); border: 1px solid var(--line); font-weight: 650; font-size: .95rem; line-height: 1.35; transition: border-color .2s, background-color .2s, transform .2s; }
.seg:hover { border-color: color-mix(in srgb, var(--acc, var(--blue)) 55%, white); background: #fff; transform: translateX(2px); }
.seg .icon { color: var(--acc, var(--blue)); width: 18px; height: 18px; margin-top: 1px; }
.seg[hidden] { display: none; }
.empty-state { display: none; padding: 26px; text-align: center; border-radius: 18px; border: 1.5px dashed var(--line); color: var(--muted); font-weight: 650; }
.empty-state.is-visible { display: block; }
@media (max-width: 640px) { .seg-grid { grid-template-columns: 1fr; } }

.group { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.group[hidden] { display: none; }
.group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 14px; font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em; }
.group h3 small { font-size: .78rem; font-weight: 800; color: var(--acc-ink, var(--blue)); background: var(--acc-soft, var(--clay-blue)); padding: 3px 9px; border-radius: 999px; }

/* Quick jump chips */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.jump a { padding: 7px 13px; border-radius: 999px; background: var(--canvas-2); border: 1px solid var(--line); font-size: .84rem; font-weight: 700; color: var(--muted); }
.jump a:hover { color: var(--blue); border-color: var(--blue); }

/* Side nav */
.side-nav { display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; font-weight: 700; font-size: .93rem; color: #2b3659; transition: background-color .2s; }
.side-nav a:hover { background: var(--canvas); }
.side-nav a[aria-current="page"] { background: var(--ink-800); color: #fff; }
.side-nav .mega__ico { width: 32px; height: 32px; border-radius: 10px; }
.side-nav .mega__ico .icon { width: 16px; height: 16px; }

/* Feature grid (service benefits) */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.feature { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 24px; transition: transform .3s var(--spring), box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--clay-shadow-hover); }
.feature h3 { font-size: 1.06rem; font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: .95rem; }

/* Steps (numbered vertical timeline) */
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px; border-radius: 22px; background: var(--canvas-2); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--acc-ink); background: var(--acc-soft); box-shadow: inset 0 2px 1px #fff, inset -4px -5px 10px rgb(0 0 0 / 10%), 0 10px 16px -10px var(--acc-glow); }
.step h3 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em; margin: 4px 0 4px; }
.step p { color: var(--muted); font-size: .97rem; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 650; }
.checklist .icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--clay-lime); color: #2f6a08; margin-top: 1px; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }

.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: var(--clay-amber); color: #5a3600; font-weight: 650; box-shadow: inset 0 2px 1px #fff, inset -6px -8px 14px rgb(150 80 0 / 10%); }
.note .icon { flex: none; color: var(--amber-deep); margin-top: 2px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 800; color: #26314f; }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--canvas-2);
  box-shadow: inset 0 2px 5px rgb(20 34 90 / 7%);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgb(31 95 214 / 15%); }
.field[data-invalid] input, .field[data-invalid] textarea, .field[data-invalid] select { border-color: var(--coral); }
.field__error { font-size: .84rem; font-weight: 700; color: #b3261e; min-height: 0; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { display: none; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; font-weight: 700; }
.form__status.is-success { display: flex; background: var(--clay-lime); color: #28530a; }
.form__status.is-error { display: flex; background: var(--clay-coral); color: #8f1f16; }
.form__fine { font-size: .82rem; color: var(--muted); }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn[aria-busy="true"] .icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Dark form variant */
.on-dark .field label { color: #dfe6ff; }
.on-dark .field input, .on-dark .field textarea, .on-dark .field select { background: rgb(255 255 255 / 7%); border-color: rgb(255 255 255 / 18%); color: #fff; box-shadow: inset 0 2px 6px rgb(0 0 0 / 25%); }
.on-dark .field input::placeholder, .on-dark .field textarea::placeholder { color: #8f9cc6; }
.on-dark .field input:focus, .on-dark .field textarea:focus, .on-dark .field select:focus { background: rgb(255 255 255 / 11%); border-color: var(--sky); box-shadow: 0 0 0 4px rgb(108 199 255 / 20%); }
.on-dark .field select option { color: var(--text); }
.on-dark .form__fine { color: var(--d-muted); }
.on-dark .field__error { color: #ffb4a9; }

/* ---------- Events explorer ---------- */
.explorer__bar { display: grid; grid-template-columns: minmax(0, 1fr) 260px auto; gap: 12px; align-items: center; margin-bottom: 18px; }
.explorer__bar .search { max-width: none; }
.select { position: relative; }
.select select { appearance: none; width: 100%; min-height: 48px; padding: 0 42px 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--canvas-2); font-weight: 700; box-shadow: inset 0 2px 5px rgb(20 34 90 / 8%); }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); width: 18px; height: 18px; }
.select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(31 95 214 / 15%); }
@media (max-width: 820px) { .explorer__bar { grid-template-columns: 1fr; } }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; margin-bottom: 8px; }
.cat-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 750; font-size: .86rem; color: #2e3a5f; transition: .2s; }
.cat-chip small { font-weight: 800; color: var(--muted); }
.cat-chip:hover { border-color: var(--blue); }
.cat-chip[aria-pressed="true"] { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }
.cat-chip[aria-pressed="true"] small { color: var(--amber); }
.event-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.event-table th { text-align: left; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 16px 4px; }
.event-table td { background: var(--canvas-2); padding: 14px 16px; border-block: 1px solid var(--line); font-weight: 650; }
.event-table td:first-child { border-left: 1px solid var(--line); border-radius: 16px 0 0 16px; color: var(--muted); font-variant-numeric: tabular-nums; width: 64px; }
.event-table td:last-child { border-right: 1px solid var(--line); border-radius: 0 16px 16px 0; text-align: right; width: 1%; white-space: nowrap; }
.event-table tr:hover td { background: #fff; border-color: #c5d2ee; }
.event-name { font-weight: 800; color: var(--text); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 800; background: var(--acc-soft, var(--clay-blue)); color: var(--acc-ink, var(--blue)); white-space: nowrap; }
.event-table .btn { --btn-h: 38px; padding: 0 14px; font-size: .84rem; }
@media (max-width: 720px) {
  .event-table thead { display: none; }
  .event-table, .event-table tbody, .event-table tr, .event-table td { display: block; width: 100%; }
  .event-table tr { margin-bottom: 10px; padding: 14px 16px; border-radius: 18px; background: var(--canvas-2); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
  .event-table td { padding: 0; border: 0 !important; background: none !important; border-radius: 0 !important; width: auto !important; text-align: left !important; }
  .event-table td:first-child { display: none; }
  .event-table td:nth-child(2) { grid-column: 1 / -1; }
}
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.pager__info { font-weight: 700; color: var(--muted); font-size: .92rem; }
.pager__btns { display: flex; gap: 6px; flex-wrap: wrap; }
.pager button { min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 800; }
.pager button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.pager button[aria-current="page"] { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

.flags { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.flag { display: grid; justify-items: center; gap: 12px; padding: 20px 12px; border-radius: 24px; font-weight: 800; text-align: center; transition: transform .3s var(--spring); }
.flag:hover { transform: translateY(-4px); }
.flag img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 10px 20px -8px rgb(0 0 0 / 35%); }
@media (max-width: 1000px) { .flags { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .flags { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 24px; }
.contact-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 800; }
.contact-card p, .contact-card a { color: var(--muted); font-weight: 650; }
.contact-card a:hover { color: var(--blue); }
.contact-card img.flag-sm { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.map-frame { overflow: hidden; border-radius: var(--r-xl); padding: 10px; }
.map-frame iframe { width: 100%; height: 420px; border: 0; border-radius: 28px; display: block; filter: saturate(.9); }

/* Legal */
.legal { display: grid; gap: 28px; }
.legal h2 { font-size: 1.35rem; margin-bottom: 10px; letter-spacing: -0.015em; }
.legal p, .legal li { color: #2c3759; }
.legal ul { display: grid; gap: 8px; padding-left: 0; }
.legal li { display: flex; gap: 10px; }
.legal li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--amber); }
.legal section { display: grid; gap: 10px; }

/* ---------- Footer ---------- */
.pre-footer { background: linear-gradient(180deg, var(--canvas) 50%, var(--ink-900) 50%); padding-top: 20px; }
.site-footer { position: relative; overflow: hidden; background: var(--ink-900); color: var(--d-muted); padding: clamp(56px, 7vw, 90px) 0 0; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(50% 60% at 50% 100%, rgb(31 95 214 / 35%), transparent 70%); z-index: -1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand p { margin: 18px 0 20px; max-width: 38ch; }
.footer__badges { display: flex; gap: 12px; }
.footer__badges img { width: 62px; height: 62px; border-radius: 50%; background: #fff; padding: 3px; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--amber); margin-top: 3px; width: 18px; height: 18px; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--d-line); font-size: .88rem; }
.footer__wordmark { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 12vw, 10.5rem); letter-spacing: -0.05em; line-height: .8; text-align: center; margin-top: 40px; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 12%); user-select: none; white-space: nowrap; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* Floating shop button */
.shop-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
@media (max-width: 640px) { .shop-fab { right: 12px; bottom: 12px; } .shop-fab .btn { --btn-h: 46px; padding: 0 16px; } }
.shop-fab .btn { box-shadow: inset 0 2px 0 rgb(255 255 255 / 60%), inset 0 -5px 10px rgb(170 80 0 / 32%), 0 16px 30px -8px rgb(0 0 0 / 40%); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.nf__code { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 14rem); font-weight: 800; line-height: .9; letter-spacing: -0.06em; }

/* ---------- Motion / effects preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: rgb(14 24 66 / 97%) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .glass--light { background: #fff !important; }
}
@media (forced-colors: active) {
  .btn, .clay, .glass, .seg, .field input, .field textarea { border: 1px solid ButtonText; }
  .grad-text { color: CanvasText; background: none; }
}
@media print {
  .site-header, .shop-fab, .hero__canvas, .drawer, .site-footer, .pre-footer { display: none !important; }
  .hero { background: none; color: #000; padding-top: 20px; }
}
@media (max-width: 640px) {
  .jump { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; margin-inline: -4px; scrollbar-width: thin; }
  .jump a { flex: none; }
}

/* =====================================================================
   v2 — industries hub, grouped mega menu, rich industry pages
   ===================================================================== */
.navbar { position: relative; }
.nav__item:has(.mega--wide) { position: static; }
.mega--wide { width: min(1240px, 96vw); max-width: none; top: calc(100% + 10px); padding: 20px 20px 12px; }
.mega__groups { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.mega__group { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin: 0 0 8px 8px; line-height: 1.3; }
.mega__groups ul { display: grid; gap: 1px; }
.mega__mini { display: block; padding: 6px 8px; border-radius: 9px; font-size: .86rem; font-weight: 600; color: #dbe3ff; line-height: 1.3; transition: background-color .15s, color .15s; }
.mega__mini:hover, .mega__mini:focus-visible { background: rgb(255 255 255 / 10%); color: #fff; }
.mega__mini[aria-current="page"] { color: var(--amber); }

/* Section heading row */
.row-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }

/* Job-title chips */
.title-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.title-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--acc-soft, var(--clay-blue)); color: var(--acc-ink, var(--blue)); font-weight: 750; font-size: .92rem; box-shadow: inset 0 1px 1px #fff, inset -3px -3px 6px rgb(0 0 0 / 7%); }
.title-chip .icon { width: 16px; height: 16px; }

/* Record fields grid */
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.fields li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--canvas-2); border: 1px solid var(--line); font-weight: 700; font-size: .92rem; }
.fields .icon { color: var(--blue); width: 18px; height: 18px; }

/* Featured events (from 360EventHub) */
.ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ev-card { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 20px; background: var(--canvas-2); border: 1px solid var(--line); transition: transform .25s var(--spring), border-color .2s, background-color .2s; }
.ev-card:hover { transform: translateY(-3px); border-color: #c3d0ee; background: #fff; }
.ev-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; font-weight: 750; color: var(--muted); }
.ev-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ev-card__meta .icon { width: 14px; height: 14px; color: var(--amber-deep); }
.ev-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.ev-card p { font-size: .88rem; color: var(--muted); }
.ev-card__foot { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; font-size: .86rem; font-weight: 800; }
.ev-card__foot a { color: var(--blue); display: inline-flex; align-items: center; gap: 5px; }
.ev-card__foot a:hover { text-decoration: underline; }
.ev-card__foot .icon { width: 14px; height: 14px; }
.source-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 720px) { .ev-grid { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--canvas-2); border: 1px solid var(--line); transition: background-color .2s, border-color .2s; }
.faq details[open] { background: #fff; border-color: #c3d0ee; box-shadow: 0 16px 30px -22px rgb(20 34 90 / 40%); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; min-height: 56px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--clay-blue); color: var(--blue); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 18px 18px; color: #2c3759; }
.on-dark .faq details { background: rgb(255 255 255 / 6%); border-color: var(--d-line); }
.on-dark .faq details[open] { background: rgb(255 255 255 / 10%); }
.on-dark .faq details > div { color: #c9d2ef; }

/* Generated industry visual (no photo) */
.ind-visual { position: relative; padding: 26px; border-radius: 30px; display: grid; gap: 16px; overflow: hidden; }
.ind-visual__head { display: flex; align-items: center; gap: 16px; }
.ind-visual__head .clay-bubble { width: 72px; height: 72px; border-radius: 24px; }
.ind-visual__head .clay-bubble .icon { width: 34px; height: 34px; }
.ind-visual__head strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: #fff; letter-spacing: -0.03em; }
.ind-visual__head span { font-size: .82rem; font-weight: 700; color: var(--d-muted); }
.ind-visual__rows { display: grid; gap: 8px; }
.ind-visual__rows li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 8%); font-size: .88rem; font-weight: 650; color: #e1e8ff; }
.ind-visual__rows li i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.ind-visual__rows li em { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; background: rgb(47 227 156 / 16%); color: #6ff0bd; }
.ind-visual__glow { position: absolute; width: 260px; height: 260px; right: -80px; top: -90px; border-radius: 50%; background: radial-gradient(circle, var(--acc, #f5a623) 0%, transparent 65%); opacity: .35; pointer-events: none; }

/* Industries hub */
.hub-group { margin-top: clamp(36px, 5vw, 56px); }
.hub-group:first-of-type { margin-top: 0; }
.hub-group[hidden] { display: none; }
.hub-group h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 18px; }
.hub-group h2 small { font-family: var(--font-body); font-size: .8rem; font-weight: 800; color: var(--muted); letter-spacing: 0; }
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.ind-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: center; padding: 16px; border-radius: 24px; transition: transform .28s var(--spring), box-shadow .28s; }
.ind-card[hidden] { display: none; }
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--clay-shadow-hover); }
.ind-card .clay-bubble { grid-row: span 2; width: 52px; height: 52px; border-radius: 17px; }
.ind-card .clay-bubble .icon { width: 24px; height: 24px; }
.ind-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.ind-card p { font-size: .82rem; font-weight: 700; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.ind-card p b { color: var(--acc-ink); }
.hub-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.hub-bar .search { max-width: 420px; }

/* Numbered "how it works" rail on dark */
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: how; }
.how li { position: relative; padding: 24px 22px; border-radius: 24px; display: grid; gap: 10px; align-content: start; }
.how li::before { counter-increment: how; content: "0" counter(how); font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--amber); }
.how h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.how p { color: var(--d-muted); font-size: .95rem; }
@media (max-width: 960px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } }

/* Two-column info list */
.info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.info-list li { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: var(--canvas-2); border: 1px solid var(--line); }
.info-list li .clay-bubble { width: 42px; height: 42px; border-radius: 14px; flex: none; }
.info-list li .clay-bubble .icon { width: 20px; height: 20px; }
.info-list strong { display: block; font-weight: 800; margin-bottom: 2px; }
.info-list span { color: var(--muted); font-size: .93rem; }
@media (max-width: 640px) { .info-list { grid-template-columns: 1fr; } }

/* Menus sit inside the blurred navbar (nested backdrop-filter has no effect), so keep them near-opaque */
.mega.glass { background: linear-gradient(170deg, rgb(24 36 96 / 98%), rgb(9 15 44 / 98%)); }
.layout > * > * { min-width: 0; }
