/* =========================================================
   Dexper — static site (2026)
   Tokens · base · components · sections · motion
   ========================================================= */

:root {
  --navy: #141C28;
  --navy-900: #0B1119;
  --navy-800: #182231;
  --navy-700: #22303F;
  --green: #1BC492;
  --green-600: #16A278;
  --green-700: #0F8A66;
  --mint: #CFF1E6;
  --mint-50: #EAF9F3;
  --white: #FFFFFF;
  --off: #F6F5F7;
  --ink: #141C28;
  --ink-2: rgba(20, 28, 40, .66);
  --ink-3: rgba(20, 28, 40, .46);
  --line: rgba(20, 28, 40, .10);
  --line-strong: rgba(20, 28, 40, .18);
  --on-dark-2: rgba(255, 255, 255, .70);
  --on-dark-3: rgba(255, 255, 255, .48);
  --line-dark: rgba(255, 255, 255, .12);

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --pill: 999px;
  --r-panel: clamp(28px, 4vw, 52px);

  --shadow-sm: 0 1px 2px rgba(13, 19, 28, .05), 0 6px 16px -6px rgba(13, 19, 28, .08);
  --shadow-md: 0 14px 36px -10px rgba(13, 19, 28, .18);
  --shadow-lg: 0 40px 90px -30px rgba(13, 19, 28, .45);
  --glow-green: 0 10px 40px -10px rgba(27, 196, 146, .55);

  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 76px;
  --section: clamp(80px, 9vw, 136px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--navy); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--top-0 { padding-top: 0; }
.bg-off { background: var(--off); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Rounded dark panel: how dark sections sit between light ones */
.panel {
  background: var(--navy); color: #fff;
  border-radius: var(--r-panel);
  margin-inline: clamp(8px, 1.2vw, 20px);
  position: relative; overflow: hidden; isolation: isolate;
}
.panel .lead, .panel .muted { color: var(--on-dark-2); }
.panel .label { color: var(--green); }

/* ---------- Typography ---------- */
.h-display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.0; text-wrap: balance; }
.h-1 { font-size: clamp(2.05rem, 4.2vw, 3.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
.h-2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.h-3 { font-size: clamp(1.15rem, 1.5vw, 1.3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--ink-2); }
.statement { font-size: clamp(1.5rem, 3.3vw, 2.8rem); font-weight: 600; letter-spacing: -.028em; line-height: 1.2; text-wrap: balance; }
.statement .dim { color: var(--ink-3); }
.label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); }
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head--row > div { display: grid; gap: 16px; max-width: 640px; }
.section-head .lead { max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em; border-radius: var(--pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .975rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--green); --btn-fg: var(--navy); }
.btn--primary:hover { background: #25D19E; box-shadow: var(--glow-green), var(--shadow-md); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--glass { --btn-bg: rgba(255,255,255,.10); --btn-fg: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); }
.btn--glass:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--navy); }
.btn--lg { padding: 1.1em 1.75em; font-size: 1.05rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--green-600); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.panel .link-arrow { color: var(--green); }

/* ---------- Glass ---------- */
.glass {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 20px 60px -30px rgba(0,0,0,.6);
}
.glass-light {
  background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 #fff, var(--shadow-sm);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; color: #fff;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,17,25,.5), rgba(11,17,25,0)); transition: opacity .4s var(--ease); }
.nav.is-scrolled { color: var(--ink); background: rgba(255,255,255,.74); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom-color: var(--line); }
.nav.is-scrolled::before { opacity: 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo svg { height: 30px; width: auto; fill: currentColor; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { position: relative; padding: .55em .85em; border-radius: var(--pill); font-weight: 600; font-size: .95rem; opacity: .84; transition: background .3s var(--ease), opacity .3s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: .85em; right: .85em; bottom: .3em; height: 2px; border-radius: 2px; background: var(--green); }
.nav__links a:hover { background: rgba(255,255,255,.10); }
.nav.is-scrolled .nav__links a:hover { background: rgba(20,28,40,.06); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav .btn--nav { --btn-bg: #fff; --btn-fg: var(--navy); padding: .75em 1.2em; font-size: .92rem; }
.nav.is-scrolled .btn--nav { --btn-bg: var(--navy); --btn-fg: #fff; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); }
.nav.is-scrolled .nav__burger { border-color: var(--line); background: rgba(20,28,40,.04); }
.nav__burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background .2s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(11,17,25,.94); color: #fff;
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  display: flex; flex-direction: column; justify-content: center; padding: var(--nav-h) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .4s var(--ease), visibility 0s .4s, transform .4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), visibility 0s, transform .4s var(--ease); }
.mobile-menu > a { font-size: clamp(1.6rem, 6.5vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; padding: .32em 0; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease-out); }
.mobile-menu > a:last-of-type { border-bottom: 0; }
.mobile-menu.is-open > a { opacity: 1; transform: none; }
.mobile-menu.is-open > a:nth-child(1) { transition-delay: .05s } .mobile-menu.is-open > a:nth-child(2) { transition-delay: .1s } .mobile-menu.is-open > a:nth-child(3) { transition-delay: .15s } .mobile-menu.is-open > a:nth-child(4) { transition-delay: .2s } .mobile-menu.is-open > a:nth-child(5) { transition-delay: .25s } .mobile-menu.is-open > a:nth-child(6) { transition-delay: .3s }
.mobile-menu__foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 16px; color: var(--on-dark-3); font-size: .9rem; opacity: 0; transition: opacity .5s var(--ease) .35s; }
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__foot .btn { justify-self: start; }
@media (max-width: 900px) { .nav__links, .nav .btn--nav { display: none; } .nav__burger { display: inline-flex; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr);
  color: #fff; background: var(--navy-900); overflow: hidden;
  border-radius: 0 0 var(--r-panel) var(--r-panel);
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--navy-900); }
.hero__media > img, .hero__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: opacity 1.2s var(--ease); }
.hero__media > video { opacity: 0; }
.hero__media > video.is-ready { opacity: 1; }
.hero__media > iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%) scale(1.02); border: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media > iframe.is-ready { opacity: 1; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 100%, rgba(27,196,146,.14), transparent 70%), linear-gradient(180deg, rgba(11,17,25,.6) 0%, rgba(11,17,25,.36) 38%, rgba(11,17,25,.66) 72%, rgba(11,17,25,.94) 100%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .06; pointer-events: none; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero__content { position: relative; display: grid; justify-items: center; text-align: center; align-content: center; padding: calc(var(--nav-h) + 40px) 0 48px; gap: 24px; }
.hero__title { max-width: 15ch; }
.hero__sub { max-width: 56ch; font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: rgba(255,255,255,.78); line-height: 1.55; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }
.hero__foot { position: relative; padding: 0 0 32px; }

/* Client logos: static row on desktop, slow seamless loop on small screens */
.logo-bar { border-radius: var(--r-lg); padding: 22px clamp(18px, 3vw, 36px); display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); flex-wrap: wrap; justify-content: center; }
.logo-bar__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); white-space: nowrap; }
.logo-bar__logos { flex: 1; min-width: 0; contain: inline-size; }
.logo-bar__track { display: flex; }
.logo-set { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 22px clamp(24px, 3.5vw, 56px); }
.logo-set--dup { display: none; }
.logo-set img, .logo-set svg { height: 30px; width: auto; max-width: 150px; object-fit: contain; opacity: .92; }
.logo-set svg { fill: #fff; }
@keyframes logos { to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .logo-bar { padding: 18px 0 16px; gap: 14px; }
  .logo-bar__label { width: 100%; text-align: center; }
  .logo-bar__logos { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .logo-bar__track { width: max-content; animation: logos 26s linear infinite; }
  .logo-set { flex: none; flex-wrap: nowrap; justify-content: flex-start; gap: 44px; padding-right: 44px; }
  .logo-set--dup { display: flex; }
  .logo-set img, .logo-set svg { height: 24px; max-width: 120px; }
  .is-static .logo-bar__track { animation: none; }
}

/* ---------- Facts row ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 0 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__value { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.fact__value em { font-style: normal; color: var(--green-600); }
.fact__label { margin-top: 8px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; max-width: 26ch; }
.facts--tight { margin-top: 0; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; row-gap: 8px; } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact { padding-right: 12px; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .fact { border-left: 0; padding: 22px 0 0; border-top: 1px solid var(--line); } .fact:first-child { border-top: 0; } }

/* ---------- Pillars (home) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { display: grid; gap: 14px; align-content: start; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pillar__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-50); color: var(--green-700); }
.pillar__icon svg { width: 22px; height: 22px; }
.pillar p { color: var(--ink-2); }
.pillar .link-arrow { margin-top: 6px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Feature tabs ---------- */
.features { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.feature-list { display: grid; gap: 6px; }
.feature { border-radius: var(--r-lg); border: 1px solid transparent; padding: 16px 20px; transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.feature__btn { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; }
.feature__num { font-size: .78rem; font-weight: 700; color: var(--ink-3); width: 2ch; }
.feature__title { font-weight: 700; font-size: 1.1rem; letter-spacing: -.015em; flex: 1; }
.feature__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(20,28,40,.05); color: var(--ink); transition: background .3s, color .3s; flex: none; }
.feature__icon svg { width: 18px; height: 18px; }
.feature__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.feature__body > div { overflow: hidden; }
.feature__desc { padding: 10px 0 4px 2.5rem; color: var(--ink-2); line-height: 1.55; }
.feature__points { display: grid; gap: 8px; margin-top: 12px; padding-left: 2.5rem; padding-bottom: 6px; }
.feature__points li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.feature__points li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F8A66' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.2 4.2L19 7'/></svg>") center/10px no-repeat; }
.feature.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-md); }
.feature.is-active .feature__body { grid-template-rows: 1fr; }
.feature.is-active .feature__icon { background: var(--navy); color: #fff; }
.feature:not(.is-active):hover { background: rgba(255,255,255,.6); border-color: var(--line); }
.feature__progress { height: 2px; background: var(--line); border-radius: 2px; margin: 14px 0 0 2.5rem; overflow: hidden; opacity: 0; transition: opacity .3s; }
.feature.is-active .feature__progress { opacity: 1; }
.feature__progress i { display: block; height: 100%; width: 0; background: var(--green); }
.feature.is-active .feature__progress i { animation: progress var(--rotate, 7s) linear forwards; }
.features.is-paused .feature__progress i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
.feature-visual { position: sticky; top: calc(var(--nav-h) + 24px); }
.device { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); border: 1px solid rgba(20,28,40,.08); }
.device__bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.08); position: relative; z-index: 2; }
.device__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.device__bar .url { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: rgba(255,255,255,.08); font-size: .72rem; color: rgba(255,255,255,.55); display: flex; align-items: center; padding: 0 10px; font-weight: 600; }
.device__screen { position: relative; aspect-ratio: 921 / 630; }
.device__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease-out); }
.device__screen img.is-active { opacity: 1; transform: none; }
.device__caption { position: absolute; left: 16px; bottom: 16px; z-index: 3; padding: 10px 14px; border-radius: 12px; font-size: .82rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.device__caption i { width: 8px; height: 8px; border-radius: 50%; background: #FF5A5F; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,95,.55) } 70% { box-shadow: 0 0 0 10px rgba(255,90,95,0) } 100% { box-shadow: 0 0 0 0 rgba(255,90,95,0) } }
.feature-visual__badge { position: absolute; right: -14px; top: 36px; z-index: 4; padding: 14px 16px; border-radius: 16px; color: var(--ink); display: grid; gap: 4px; min-width: 200px; box-shadow: var(--shadow-md); animation: float 7s var(--ease) infinite; }
.feature-visual__badge strong { font-size: .95rem; }
.feature-visual__badge span { font-size: .78rem; color: var(--ink-2); }
.feature-visual__badge .bars { display: flex; gap: 4px; align-items: flex-end; height: 34px; margin-top: 6px; }
.feature-visual__badge .bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--mint); transform-origin: bottom; animation: bar 2.4s var(--ease) infinite alternate; }
.feature-visual__badge .bars i:nth-child(odd) { background: var(--green); }
.feature-visual__badge .bars i:nth-child(1) { height: 40% } .feature-visual__badge .bars i:nth-child(2) { height: 70%; animation-delay: .2s } .feature-visual__badge .bars i:nth-child(3) { height: 55%; animation-delay: .4s } .feature-visual__badge .bars i:nth-child(4) { height: 90%; animation-delay: .6s } .feature-visual__badge .bars i:nth-child(5) { height: 65%; animation-delay: .8s } .feature-visual__badge .bars i:nth-child(6) { height: 100%; animation-delay: 1s } .feature-visual__badge .bars i:nth-child(7) { height: 80%; animation-delay: 1.2s }
@keyframes bar { to { transform: scaleY(.55); } }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@media (max-width: 960px) { .features { grid-template-columns: 1fr; } .feature-visual { position: relative; top: auto; order: -1; } .feature-visual__badge { right: 10px; top: auto; bottom: -18px; } }
@media (max-width: 700px) { .feature-visual__badge { display: none; } }

/* ---------- Showcase marquee ---------- */
.showcase__track { display: flex; gap: 22px; width: max-content; animation: marquee 80s linear infinite; padding-inline: 11px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; will-change: transform; }
.showcase__track.is-js { animation: none; }
.showcase__track.is-dragging { cursor: grabbing; }
.showcase__track.is-dragging .shot { transition: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.shot { width: clamp(300px, 34vw, 480px); flex: none; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-800); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); transition: transform .5s var(--ease-out), border-color .4s; }
.shot:hover { transform: translateY(-6px); border-color: rgba(27,196,146,.5); }
.shot__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.06); }
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); }
.shot img { width: 100%; height: auto; display: block; }
.shot__meta { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-size: .85rem; color: rgba(255,255,255,.72); }
.shot__meta strong { color: #fff; font-weight: 700; }
.shot__meta span { font-size: .75rem; color: var(--on-dark-3); }

/* ---------- Quotes ---------- */
.quotes { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.quotes__bg { position: absolute; inset: 0; z-index: -2; }
.quotes__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(1.1); transform: scale(1.08); }
.quotes__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,17,25,.9), rgba(11,17,25,.74) 50%, rgba(11,17,25,.92)); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote-grid--single { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
.quote { border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 44px); display: grid; gap: 22px; color: #fff; }
.quote__mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(27,196,146,.16); color: var(--green); }
.quote__mark svg { width: 20px; height: 20px; }
.quote p { font-size: clamp(1.06rem, 1.45vw, 1.28rem); line-height: 1.5; letter-spacing: -.012em; font-weight: 500; text-wrap: pretty; }
.quote__who { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.quote__who img { height: 24px; width: auto; max-width: 140px; object-fit: contain; }
.quote__who span { font-size: .85rem; color: rgba(255,255,255,.62); text-align: right; }
@media (max-width: 820px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- Cards / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { position: relative; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 34px); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card--dark { background: var(--navy); color: #fff; border-color: rgba(255,255,255,.08); }
.card--green { background: linear-gradient(160deg, #1BC492, #0F8A66); color: var(--navy); border-color: transparent; }
.card--mint { background: var(--mint-50); }
.card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-50); color: var(--green-700); }
.card--dark .card__icon { background: rgba(255,255,255,.08); color: var(--green); }
.card--green .card__icon { background: rgba(255,255,255,.35); color: var(--navy); }
.card__icon svg { width: 21px; height: 21px; }
.card p { color: var(--ink-2); font-size: .98rem; text-wrap: pretty; }
.card--dark p { color: var(--on-dark-2); }
.card--green p { color: rgba(20,28,40,.76); }
.card__art { margin-top: auto; padding-top: 10px; }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
@media (max-width: 900px) { .bento > * { grid-column: span 12 !important; } }

/* UI mocks */
.ui-calendar { display: grid; gap: 8px; }
.ui-event { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.ui-event__date { display: grid; text-align: center; line-height: 1.05; }
.ui-event__date b { font-size: 1.05rem; } .ui-event__date span { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-3); }
.ui-event__title { font-weight: 700; } .ui-event__sub { font-size: .76rem; color: var(--on-dark-3); }
.ui-tag { font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: var(--pill); background: rgba(255,255,255,.1); }
.ui-tag--live { background: rgba(255,90,95,.18); color: #FF8A8E; display: inline-flex; align-items: center; gap: 6px; }
.ui-tag--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FF5A5F; animation: pulse 1.8s infinite; }
.ui-tag--green { background: rgba(27,196,146,.16); color: var(--green); }
.ui-series { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-episode { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ui-episode__thumb { aspect-ratio: 16/10; background: var(--navy); position: relative; overflow: hidden; }
.ui-episode__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.ui-episode__thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23141C28'><path d='M8 5v14l11-7z'/></svg>") center/14px no-repeat; }
.ui-episode__body { padding: 10px 12px; font-size: .78rem; line-height: 1.3; }
.ui-episode__body b { display: block; font-size: .8rem; }
.ui-episode__body span { color: var(--ink-3); font-size: .72rem; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ui-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: var(--pill); background: rgba(255,255,255,.5); border: 1px solid rgba(20,28,40,.12); font-size: .82rem; font-weight: 700; }
.ui-chip svg { width: 14px; height: 14px; }
.ui-profile { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ui-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--navy)); flex: none; }
.ui-profile b { display: block; font-size: .9rem; } .ui-profile span { font-size: .76rem; color: var(--ink-3); }
.ui-profile .ui-check { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; color: var(--green-700); }
.ui-profile .ui-check svg { width: 14px; height: 14px; }

/* ---------- Technology ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech { border-radius: var(--r-lg); padding: 26px 24px 28px; background: #fff; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; }
.tech:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tech__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-50); color: var(--green-700); }
.tech__icon svg { width: 21px; height: 21px; }
.tech h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.012em; }
.tech p { font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 1000px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tech-grid { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.dark-panel { border-radius: var(--r-xl); background: var(--navy); color: #fff; padding: clamp(26px, 3vw, 40px); position: relative; overflow: hidden; }
.dark-panel::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,196,146,.35), transparent); pointer-events: none; }
.stream { display: grid; gap: 12px; position: relative; }
.stream__row { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.stream__bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.stream__bar i { display: block; height: 100%; width: 100%; background: var(--green); animation: flow 3s linear infinite; }
.stream__bar.is-backup i { background: rgba(255,255,255,.28); }
@keyframes flow { 0% { transform: translateX(-100%) } 100% { transform: translateX(100%) } }
.stream__status { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: var(--pill); background: rgba(27,196,146,.16); color: var(--green); }
.stream__status.is-standby { background: rgba(255,255,255,.08); color: var(--on-dark-2); }
.stream__note { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: .82rem; color: var(--on-dark-2); }
.stream__note i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.check-list { display: grid; gap: 16px; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li svg { width: 22px; height: 22px; flex: none; color: var(--green-600); margin-top: 2px; }
.check-list b { display: block; }
.check-list span { color: var(--ink-2); font-size: .95rem; }
.panel .check-list span { color: var(--on-dark-2); }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.case { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.case__media { padding: 22px 22px 0; background: linear-gradient(180deg, var(--navy-800), var(--navy)); }
.case__media img { width: 100%; height: auto; border-radius: 12px 12px 0 0; box-shadow: 0 -12px 40px -10px rgba(0,0,0,.6); }
.case__body { padding: 24px 26px 28px; display: grid; gap: 10px; align-content: start; }
.case__label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.case h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.case .link-arrow { margin-top: 4px; }
@media (max-width: 820px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Values / approach ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { border-radius: var(--r-lg); padding: 26px 24px 28px; background: #fff; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value__num { font-size: .78rem; font-weight: 700; color: var(--green-600); letter-spacing: .08em; }
.value h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.012em; }
.value p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.principles li { display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid var(--green); }
.principles b { font-size: 1.02rem; }
.principles span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 640px) { .principles { grid-template-columns: 1fr; } }
.photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 10px; font-size: .78rem; font-weight: 600; color: #fff; }

/* ---------- Image strip ---------- */
.strip { position: relative; border-radius: var(--r-panel); overflow: hidden; box-shadow: var(--shadow-lg); }
.strip img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.strip figcaption { position: absolute; left: 20px; bottom: 20px; padding: 10px 14px; border-radius: 12px; font-size: .82rem; font-weight: 600; color: #fff; max-width: 60ch; }
@media (max-width: 640px) { .strip img { aspect-ratio: 4 / 3; } .strip figcaption { display: none; } }

/* ---------- Stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story__cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--navy-700)); position: relative; overflow: hidden; }
.story__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.story:hover .story__cover img { transform: scale(1.04); }
.story__body { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; flex: 1; }
.story h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.014em; line-height: 1.3; }
.story p { font-size: .93rem; color: var(--ink-2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story .link-arrow { margin-top: auto; padding-top: 8px; font-size: .92rem; }
@media (max-width: 960px) { .stories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stories { grid-template-columns: 1fr; } }

/* ---------- Contact panel ---------- */
.contact-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-panel); background: var(--navy-900); color: #fff; padding: clamp(36px, 6vw, 88px) clamp(24px, 5vw, 80px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact-panel::before { content: ""; position: absolute; inset: -30% auto auto -15%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,196,146,.22), transparent); z-index: -1; }
.contact-panel .lead { color: var(--on-dark-2); }
.contact-panel .label { color: var(--green); }
.contact-card { display: grid; gap: 28px; }
.contact-card__label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.contact-email { display: grid; gap: 12px; }
.contact-email__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-email__addr { font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere; }
.copy-btn { display: inline-flex; align-items: center; padding: .62em 1em; border-radius: var(--pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: .88rem; line-height: 1; white-space: nowrap; transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease-out); }
.copy-btn span { display: inline-flex; align-items: center; gap: 8px; }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); transform: translateY(-1px); }
.copy-btn .copy-btn__done { display: none; }
.copy-btn.is-copied { background: var(--green); border-color: transparent; color: var(--navy); }
.copy-btn.is-copied .copy-btn__idle { display: none; }
.copy-btn.is-copied .copy-btn__done { display: inline-flex; }
.contact-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-meta div { display: grid; gap: 6px; align-content: start; }
.contact-meta b { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.contact-meta span { color: var(--on-dark-2); line-height: 1.5; font-size: .98rem; }
.contact-meta a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.contact-meta a:hover { color: var(--green); }
.contact-meta a svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .contact-panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-meta { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #fff; padding: clamp(48px, 6vw, 80px) 0 32px; margin-top: clamp(8px, 1.2vw, 20px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand svg { height: 30px; width: auto; fill: #fff; }
.footer__brand p { color: var(--on-dark-3); font-size: .95rem; max-width: 34ch; }
.footer h4 { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--on-dark-2); font-size: .95rem; transition: color .3s; }
.footer ul a:hover { color: #fff; }
.footer__bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--on-dark-3); }
.footer__bottom a { color: var(--on-dark-2); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(56px, 8vw, 110px)) 0 clamp(48px, 6vw, 88px); background: var(--navy); color: #fff; position: relative; overflow: hidden; border-radius: 0 0 var(--r-panel) var(--r-panel); }
.page-hero::before { content: ""; position: absolute; inset: auto -10% -70% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,196,146,.22), transparent); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; inset: -60% auto auto -20%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(76,130,247,.12), transparent); pointer-events: none; }
.page-hero .lead { color: var(--on-dark-2); max-width: 58ch; }
.page-hero .label { color: var(--green); }
.page-hero .container { display: grid; gap: 18px; position: relative; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.page-hero--photo { min-height: 66vh; display: grid; align-items: end; isolation: isolate; padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--photo::before { inset: 0; width: auto; aspect-ratio: auto; border-radius: 0; background: linear-gradient(180deg, rgba(11,17,25,.45), rgba(11,17,25,.92)); z-index: -1; }
.page-hero--photo::after { display: none; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--on-dark-3); }
.crumbs a:hover { color: #fff; }

/* Cover that overlaps the page hero */
.cover-wrap { margin-top: calc(-1 * clamp(24px, 4vw, 56px)); position: relative; z-index: 2; }
.cover-wrap img { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); width: 100%; }
.cover-wrap--story img { aspect-ratio: 21 / 9; object-fit: cover; max-height: 440px; }

/* ---------- Prose ---------- */
.prose { max-width: 740px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; margin: 2.2em 0 .7em; }
.prose h3 { font-size: 1.12rem; font-weight: 700; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 1rem; font-weight: 700; margin: 1.6em 0 .4em; }
.prose p { margin: 0 0 1.1em; color: var(--ink-2); }
.prose p strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; color: var(--ink-2); display: grid; gap: .45em; }
.prose ul { list-style: disc; }
.prose ol li::marker { color: var(--green-600); font-weight: 700; }
.prose a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose .kv { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-md); background: var(--off); border: 1px solid var(--line); margin: 0 0 1em; font-size: .95rem; }
.prose .kv b { color: var(--ink); }
.prose .lead-p { font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.prose > h2:first-child { margin-top: 0; }
.story-cta { margin: 48px 0 8px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--mint-50); border: 1px solid rgba(15,138,102,.14); display: grid; gap: 14px; justify-items: start; }
.story-cta p { margin: 0; color: var(--ink); font-size: 1.05rem; }
.next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.next-prev a { padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; display: grid; gap: 6px; transition: transform .4s var(--ease-out), box-shadow .4s; }
.next-prev a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.next-prev span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 700; }
.next-prev b { font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; }
@media (max-width: 640px) { .next-prev { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in-view { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.97) translateY(14px); }
.hero__content > * { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease-out) forwards; }
.hero__content > *:nth-child(1) { animation-delay: .15s } .hero__content > *:nth-child(2) { animation-delay: .3s } .hero__content > *:nth-child(3) { animation-delay: .45s } .hero__content > *:nth-child(4) { animation-delay: .6s }
.hero__foot { opacity: 0; animation: rise 1s var(--ease-out) .9s forwards; }
.page-hero .container > * { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease-out) forwards; }
.page-hero .container > *:nth-child(1) { animation-delay: .1s } .page-hero .container > *:nth-child(2) { animation-delay: .2s } .page-hero .container > *:nth-child(3) { animation-delay: .3s } .page-hero .container > *:nth-child(4) { animation-delay: .4s } .page-hero .container > *:nth-child(5) { animation-delay: .5s }
@keyframes rise { to { opacity: 1; transform: none; } }

.is-static .hero { min-height: 900px; }
.is-static .hero__content > *, .is-static .hero__foot, .is-static [data-reveal], .is-static .page-hero .container > * { opacity: 1; transform: none; animation: none; }
.is-static .showcase__track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-reveal], .hero__content > *, .hero__foot, .page-hero .container > * { opacity: 1; transform: none; animation: none; }
  .showcase__track { animation: none; }
}
