/* =========================================================================
   VSCORE — Design System
   Palette built in OKLCH from the real brand: petrol/teal (dashboard header
   + "SCORE" wordmark) as the structural near-neutral; olive/lime-green (the
   "V" growth arrow) as the single saturated accent. Never pure #000 / #fff.
   ========================================================================= */

:root {
  /* --- Core 4 tokens (per brief) --- */
  --bg:        oklch(0.985 0.004 160);   /* warm near-white, faint green tint */
  --ink:       oklch(0.265 0.030 205);   /* near-black, tinted to brand teal  */
  --muted:     oklch(0.530 0.022 200);   /* secondary text                    */
  --accent:    oklch(0.715 0.140 112);   /* olive / lime growth — ONE accent  */

  /* --- Neutrals (all tinted toward the brand hue) --- */
  --bg-2:      oklch(0.967 0.007 178);
  --bg-3:      oklch(0.945 0.011 188);
  --ink-2:     oklch(0.395 0.030 203);
  --line:      oklch(0.872 0.013 192);
  --line-soft: oklch(0.918 0.009 190);

  /* --- Brand teal (structural; low chroma => reads as a deep neutral) --- */
  --brand:     #075E65;   /* MasterApp primary_hue c500 (exact) */
  --brand-600: #064E53;
  --brand-700: #053E42;
  --brand-800: #042E31;
  --brand-900: #031F21;

  /* --- On-dark text --- */
  --on-brand:        oklch(0.965 0.012 170);
  --on-brand-muted:  oklch(0.815 0.022 185);
  --on-brand-line:   oklch(0.480 0.045 200);

  /* --- Accent variants --- */
  --accent-ink:  oklch(0.470 0.105 112);  /* lime dark enough for text on light */
  --accent-soft: oklch(0.930 0.045 115);

  /* --- Type --- */
  --font-display: "Space Grotesk", "SF Pro Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "IBM Plex Mono", Menlo, monospace;

  --fs-xs:   clamp(0.74rem, 0.71rem + 0.12vw, 0.80rem);
  --fs-sm:   clamp(0.84rem, 0.81rem + 0.16vw, 0.92rem);
  --fs-base: clamp(1.00rem, 0.96rem + 0.22vw, 1.135rem);
  --fs-md:   clamp(1.16rem, 1.08rem + 0.40vw, 1.40rem);
  --fs-lg:   clamp(1.40rem, 1.22rem + 0.85vw, 1.95rem);
  --fs-xl:   clamp(1.85rem, 1.45rem + 1.85vw, 3.00rem);
  --fs-2xl:  clamp(2.40rem, 1.70rem + 3.20vw, 4.40rem);
  --fs-3xl:  clamp(2.90rem, 1.85rem + 5.00vw, 6.40rem);

  --lh-tight: 1.04;
  --lh-snug:  1.18;
  --lh-body:  1.62;

  /* --- Space --- */
  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;   --s-11: 11rem;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1180px;
  --maxw-wide: 1340px;
  --maxw-narrow: 760px;

  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;

  --shadow-sm: 0 1px 2px oklch(0.43 0.07 200 / 0.06), 0 2px 6px oklch(0.43 0.07 200 / 0.05);
  --shadow-md: 0 6px 18px oklch(0.43 0.07 200 / 0.08), 0 2px 6px oklch(0.43 0.07 200 / 0.06);
  --shadow-lg: 0 24px 60px oklch(0.30 0.06 202 / 0.16), 0 8px 22px oklch(0.30 0.06 202 / 0.10);
  --shadow-glow: 0 30px 80px oklch(0.20 0.04 204 / 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s; --t: 0.32s; --t-slow: 0.7s;

  --header-h: 72px;
}

/* ============================ Reset / base ============================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-feature-settings: "tnum" 1, "ss01" 1, "cv05" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select, button { font: inherit; }
ul[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ============================ Typography ============================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 520;
  line-height: var(--lh-tight);
  letter-spacing: -0.012em;
  font-optical-sizing: auto;
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }

.display { font-size: var(--fs-3xl); font-weight: 600; letter-spacing: -0.035em; hyphens: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 1.5em; height: 2px; background: var(--accent);
  display: inline-block; border-radius: 2px;
}
.section--dark .eyebrow, .section--deep .eyebrow { color: var(--on-brand-muted); }

.lede {
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
  text-wrap: pretty;
}
.muted { color: var(--muted); }
.accent-word { color: var(--accent-ink); font-weight: 600; }
.section--dark .accent-word, .section--deep .accent-word, .hero .accent-word { color: var(--accent); }

/* numbers feel deliberate */
.num { font-family: var(--font-mono); font-feature-settings: "tnum" 1; letter-spacing: -0.01em; }

/* ============================ Layout ============================ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--maxw-wide); }
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: clamp(4.5rem, 3rem + 7vw, 9rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }

.section--dark { background: var(--brand-800); color: var(--on-brand); }
.section--deep { background: var(--brand-900); color: var(--on-brand); }
.section--panel { background: var(--bg-2); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--on-brand); }
.section--dark .lede, .section--deep .lede { color: var(--on-brand-muted); }

/* hairline ledger rule — a quiet brand-specific motif */
.rule { height: 1px; background: var(--line); border: 0; }
.section--dark .rule, .section--deep .rule { background: var(--on-brand-line); }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

/* ============================ Buttons ============================ */
.btn {
  --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.5em;
  font-family: var(--font-body); font-weight: 560; font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              background var(--t) var(--ease), color var(--t) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .btn__arrow { transition: transform var(--t) var(--ease); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: oklch(0.24 0.04 120); }
.btn--accent:hover { box-shadow: 0 10px 30px oklch(0.71 0.14 112 / 0.35); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--brand); background: var(--bg-2); }
.section--dark .btn--ghost, .section--deep .btn--ghost, .hero .btn--ghost {
  --btn-fg: var(--on-brand); --btn-bd: var(--on-brand-line);
}
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: oklch(1 0 0 / 0.06); --btn-bd: var(--on-brand); }
.btn--lg { padding: 1.05em 1.9em; font-size: var(--fs-base); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 560; color: var(--brand);
  border-bottom: 2px solid transparent;
  transition: border-color var(--t) var(--ease), gap var(--t) var(--ease);
  width: fit-content;
}
.link-arrow:hover { border-color: var(--accent); gap: 0.7em; }
.section--dark .link-arrow, .section--deep .link-arrow { color: var(--on-brand); }
.link-arrow svg { transition: transform var(--t) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ============================ Reveal motion ============================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; } .reveal-d4 { transition-delay: 0.32s; }

.reveal-img { overflow: hidden; }
.reveal-img > * { transform: scale(1.08); transition: transform 1.4s var(--ease-out), clip-path 1.2s var(--ease-out); clip-path: inset(0 0 100% 0); }
.reveal-img.is-in > * { transform: scale(1); clip-path: inset(0 0 0 0); }

.line-reveal { display: block; overflow: hidden; }
.line-reveal > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.line-reveal.is-in > span { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-img > *, .line-reveal > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============================ Header ============================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner { width: 100%; max-width: var(--maxw-wide); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.site-header.is-scrolled {
  background: oklch(0.985 0.004 160 / 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line-soft);
}
/* header over the dark hero before scroll */
.site-header.is-top.over-dark { color: var(--on-brand); }
.site-header.is-top.over-dark .brand__word { color: var(--on-brand); }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 28px; width: auto; display: block; }
.brand__logo--light { display: none; }
.site-header.over-dark .brand__logo--color { display: none; }
.site-header.over-dark .brand__logo--light { display: block; }
.site-footer .brand__logo { height: 30px; }

.nav { display: flex; align-items: center; gap: clamp(0.5rem, 1.6vw, 1.6rem); }
.nav__link { font-size: var(--fs-sm); font-weight: 500; color: inherit; padding: 0.4em 0; position: relative; opacity: 0.92; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent); transition: width var(--t) var(--ease); }
.nav__link:hover { opacity: 1; } .nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: var(--s-4); }

/* language toggle */
.lang { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.is-top.over-dark .lang { border-color: var(--on-brand-line); }
.lang__btn { padding: 0.3em 0.7em; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; color: var(--muted); transition: background var(--t-fast), color var(--t-fast); }
.is-top.over-dark .lang__btn { color: var(--on-brand-muted); }
.lang__btn[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.is-top.over-dark .lang__btn[aria-pressed="true"] { background: var(--accent); color: oklch(0.24 0.04 120); }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; transition: transform var(--t) var(--ease), opacity var(--t); }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; left: 0; } .nav-toggle__bars::after { position: absolute; top: 7px; left: 0; }
body.nav-open .nav-toggle__bars { background: transparent; }
body.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; justify-content: center;
    gap: var(--s-5); background: var(--brand-800); color: var(--on-brand);
    transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform var(--t-slow) var(--ease), opacity var(--t); }
  body.nav-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { font-family: var(--font-display); font-size: var(--fs-lg); }
  .nav .btn { margin-top: var(--s-4); }
}

/* ============================ Hero ============================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--on-brand); overflow: hidden; background: var(--brand-900); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media canvas, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 92%, oklch(0.18 0.035 204 / 0.86) 0%, oklch(0.18 0.035 204 / 0.30) 42%, transparent 72%),
    linear-gradient(to top, oklch(0.16 0.03 204 / 0.78) 0%, oklch(0.16 0.03 204 / 0.10) 45%, oklch(0.16 0.03 204 / 0.30) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw-wide);
  margin-inline: auto; padding-inline: var(--gutter); padding-bottom: clamp(3rem, 8vh, 7rem); padding-top: calc(var(--header-h) + 2rem); }
.hero__content { max-width: 40ch; }
.hero h1 { color: var(--on-brand); font-size: clamp(2.05rem, 1.4rem + 2.5vw, 3.7rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; max-width: 20ch; }
.hero__sub { margin-top: var(--s-5); font-size: var(--fs-md); line-height: 1.45; color: var(--on-brand-muted); max-width: 44ch; }
.hero__cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-4); }
.hero__meta { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-6); align-items: center;
  font-size: var(--fs-sm); color: var(--on-brand-muted); }
.hero__meta b { color: var(--on-brand); font-weight: 600; }
.hero__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: inline-block; }
.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(2rem, 6vh, 4rem);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--on-brand-muted);
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue__line { width: 1px; height: 54px; background: linear-gradient(var(--on-brand-line), transparent); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 40%; background: var(--accent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(280%); } }
@media (max-width: 620px) { .scroll-cue { display: none; } .hero__content { max-width: 100%; } }

/* ============================ Thesis ============================ */
.thesis { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-2xl); line-height: 1.07; letter-spacing: -0.03em; max-width: 18ch; }
.thesis em { font-style: normal; font-weight: 600; color: var(--accent-ink); }
.section--dark .thesis em { color: var(--accent); }

/* ============================ Generic split / prose ============================ */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split--center { align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }
.prose p + p { margin-top: var(--s-4); }
.prose p { color: var(--ink-2); max-width: 64ch; }
.section--dark .prose p, .section--deep .prose p { color: var(--on-brand-muted); }

/* ============================ Feature pairs (Magic) ============================ */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3rem, 7vw, 7rem); }
.feature-row:nth-child(even) .feature-row__media { order: -1; }
.feature-row__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--brand-800); }
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-row__body { max-width: 44ch; }
.feature-row h3 { margin-bottom: var(--s-4); }
.feature-pair { display: flex; flex-direction: column; gap: var(--s-5); }
.feature-pair__item { padding-left: var(--s-5); border-left: 2px solid var(--line); }
.feature-pair__item h4 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); margin-bottom: 0.2em; color: var(--ink); }
.feature-pair__item.is-active { border-left-color: var(--accent); }
.feature-pair__item p { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 820px) { .feature-row { grid-template-columns: 1fr; } .feature-row:nth-child(even) .feature-row__media { order: 0; } .feature-row__media { aspect-ratio: 16 / 11; } }

/* ============================ Gallery / tool band ============================ */
.band { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(0.75rem, 2vw, 1.5rem); align-items: center; }
.band__cell { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-glow); background: var(--brand-900); }
.band__cell--tall { aspect-ratio: 3 / 4; } .band__cell--wide { aspect-ratio: 4 / 5; transform: scale(1.04); }
.band__cell video, .band__cell img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; } .band__cell--wide { transform: none; order: -1; aspect-ratio: 16/10; } .band__cell--tall { aspect-ratio: 16/10; } }

/* ============================ Numbered rows ============================ */
.numbered { border-top: 1px solid var(--line); }
.section--dark .numbered { border-color: var(--on-brand-line); }
.numbered__row { display: grid; grid-template-columns: auto minmax(0,1fr) minmax(0,1.1fr); gap: clamp(1rem,4vw,4rem);
  align-items: baseline; padding-block: clamp(1.75rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.section--dark .numbered__row { border-color: var(--on-brand-line); }
.numbered__no { font-family: var(--font-mono); font-size: var(--fs-md); color: var(--accent-ink); font-weight: 500; }
.section--dark .numbered__no { color: var(--accent); }
.numbered__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 440; letter-spacing: -0.015em; }
.numbered__desc { color: var(--muted); max-width: 50ch; }
.section--dark .numbered__desc { color: var(--on-brand-muted); }
@media (max-width: 760px) { .numbered__row { grid-template-columns: auto 1fr; } .numbered__desc { grid-column: 2; } }

/* ============================ Testimonial ============================ */
.quote { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-xl); line-height: 1.22; letter-spacing: -0.02em; max-width: 24ch; }
.quote__mark { color: var(--accent); }
.testimonial { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--s-6); }
.testimonial__cite { display: flex; align-items: center; gap: var(--s-4); font-size: var(--fs-sm); }
.testimonial__cite b { display: block; font-weight: 600; color: var(--on-brand); }
.testimonial__cite span { color: var(--on-brand-muted); }
.testi-dots { display: flex; gap: 0.5rem; margin-top: var(--s-5); }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-brand-line); transition: background var(--t), width var(--t); }
.testi-dot.is-active { background: var(--accent); width: 22px; border-radius: 4px; }
.testi-track { position: relative; }
.testi-slide { transition: opacity var(--t-slow) var(--ease); }
.testi-slide[hidden] { display: none; }

/* ============================ Team ============================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.team-member__photo { aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--bg-3); position: relative; }
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.02); transition: transform var(--t-slow) var(--ease); }
.team-member:hover .team-member__photo img { transform: scale(1.04); }
.team-member__photo--open { display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--line); background: var(--bg-2); }
.team-member__name { margin-top: var(--s-4); font-family: var(--font-display); font-size: var(--fs-md); font-weight: 460; }
.team-member__role { color: var(--muted); font-size: var(--fs-sm); }
.team-member__open-cta { color: var(--accent-ink); font-weight: 560; font-size: var(--fs-sm); }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================ Stat strip ============================ */
.stat-strip { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-7); align-items: center; padding-block: var(--s-5);
  border-block: 1px solid var(--line); font-size: var(--fs-sm); }
.section--dark .stat-strip { border-color: var(--on-brand-line); }
.stat-strip__item { display: inline-flex; align-items: baseline; gap: 0.5em; }
.stat-strip__no { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 480; color: var(--ink); }
.section--dark .stat-strip__no { color: var(--on-brand); }
.stat-strip__lbl { color: var(--muted); } .section--dark .stat-strip__lbl { color: var(--on-brand-muted); }

/* ============================ CTA panel ============================ */
.cta-panel { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 5.5rem);
  background: var(--brand-800); color: var(--on-brand); box-shadow: var(--shadow-lg); }
.cta-panel__glow { position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.71 0.14 112 / 0.30), transparent 62%); pointer-events: none; }
.cta-panel h2 { color: var(--on-brand); max-width: 16ch; }

/* ============================ Forms ============================ */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); font-weight: 560; color: var(--ink); }
.section--dark .field label { color: var(--on-brand); }
.input {
  width: 100%; padding: 0.85em 1em; background: var(--bg); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px oklch(0.43 0.07 200 / 0.12); }
textarea.input { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 0.7em; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.consent input { margin-top: 0.25em; accent-color: var(--brand); width: 1.05em; height: 1.05em; }
.form-status { font-size: var(--fs-sm); font-weight: 560; min-height: 1.4em; }
.form-status.is-ok { color: var(--accent-ink); }
.section--dark .form-status.is-ok { color: var(--accent); }
.form-status.is-err { color: oklch(0.55 0.16 28); }

/* signup inline */
.signup { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.signup .input { flex: 1 1 16rem; }

/* ============================ Footer ============================ */
.site-footer { background: var(--brand-900); color: var(--on-brand-muted); padding-block: clamp(3.5rem, 6vw, 6rem) var(--s-7); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); } .footer-brand { grid-column: 1 / -1; } }
.footer-brand .brand__word { color: var(--on-brand); }
.footer-brand p { color: var(--on-brand-muted); max-width: 32ch; margin-top: var(--s-4); font-size: var(--fs-sm); }
.footer-col h4 { font-family: var(--font-body); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.16em; color: var(--on-brand); margin-bottom: var(--s-4); font-weight: 600; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { color: var(--on-brand-muted); font-size: var(--fs-sm); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: var(--s-5); border-top: 1px solid var(--on-brand-line);
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; align-items: center; font-size: var(--fs-xs); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================ Utilities ============================ */
.visually-hidden { 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; top: -100%; left: var(--gutter); z-index: 200; background: var(--brand); color: var(--on-brand); padding: 0.7em 1.2em; border-radius: 0 0 var(--r-sm) var(--r-sm); }
.skip-link:focus { top: 0; }
.mt-0 { margin-top: 0; } .center { text-align: center; margin-inline: auto; }
[hidden] { display: none !important; }
.no-js .reveal, .no-js .reveal-img > *, .no-js .line-reveal > span { opacity: 1; transform: none; clip-path: none; }

/* ===== language flash guard (EN visitors only) ===== */
html.i18n-pending body { visibility: hidden; }

/* ===== link-arrow tail ===== */
.link-arrow::after { content: "\2192"; font-family: var(--font-mono); }

/* ===== page hero offset for fixed header ===== */
.page-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4.5rem)); }

/* ===== question lists ===== */
.q-list { display: grid; gap: 0.1rem; }
.q-item { display: flex; gap: 0.7em; align-items: flex-start; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-md); color: var(--ink-2); }
.q-item svg { color: var(--accent-ink); flex: none; margin-top: 0.35em; }
.section--dark .q-item, .section--deep .q-item { color: var(--on-brand); border-color: var(--on-brand-line); }
.section--dark .q-item svg, .section--deep .q-item svg { color: var(--accent); }

/* ===== the loop (tool page) ===== */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.loop__step { position: relative; padding: 1.5rem 1.25rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); }
.loop__no { font-family: var(--font-mono); color: var(--accent-ink); font-weight: 500; }
.loop__title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 460; margin: 0.5rem 0 0.4rem; }
.loop__desc { color: var(--muted); font-size: var(--fs-sm); }
.loop__arrow { position: absolute; right: -1.05rem; top: 2.4rem; color: var(--accent); z-index: 1; background: var(--bg); border-radius: 50%; }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr 1fr; } .loop__arrow { display: none; } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }

/* ===== contact ===== */
.contact-item { margin-bottom: 1.75rem; }
.contact-item h4, .contact-book h4 { font-family: var(--font-body); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 0.4rem; font-weight: 600; }
.contact-item p, .contact-book p { font-size: var(--fs-md); line-height: 1.5; }
.contact-item a { color: var(--brand); font-weight: 560; }
.contact-item a:hover { color: var(--accent-ink); }
.contact-book { margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }

/* ===== legal (impressum) ===== */
.legal__row { display: grid; grid-template-columns: 220px 1fr; gap: 1rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.legal dt { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.legal dd { font-size: var(--fs-md); color: var(--ink); }
.legal a { color: var(--brand); font-weight: 540; }
@media (max-width: 600px) { .legal__row { grid-template-columns: 1fr; gap: 0.25rem; } }

/* ===== misc ===== */
.dash-note { font-size: var(--fs-xs); color: var(--muted); font-style: italic; }
.section--dark .dash-note, .section--deep .dash-note { color: var(--on-brand-muted); }
.open-plus { font-family: var(--font-display); font-size: 2.6rem; color: var(--muted); line-height: 1; }
.cite-rule { width: 34px; height: 2px; background: var(--accent); display: inline-block; flex: none; }

/* ===== long-form legal / privacy ===== */
.legal-doc { max-width: 74ch; hyphens: auto; overflow-wrap: break-word; }
.legal-doc h2 { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 460; margin: 2.4rem 0 0.7rem; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); margin: 1.4rem 0 0.3rem; }
.legal-doc p { color: var(--ink-2); margin-bottom: 0.9rem; }
.legal-doc ul { margin: 0 0 1rem 1.2rem; display: grid; gap: 0.35rem; color: var(--ink-2); }
.legal-doc a { color: var(--brand); font-weight: 540; text-decoration: underline; text-underline-offset: 2px; }
.legal-doc address { font-style: normal; }
.draft-note { margin-top: 1.5rem; padding: 0.9rem 1.2rem; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--ink-2); }
.form-privacy { font-size: var(--fs-xs); color: var(--muted); margin-top: 0.5rem; }
.form-privacy a { color: var(--brand); text-decoration: underline; }

/* ===== video gallery (scales as more clips are added) ===== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); align-items: start; }
.video-grid--single { grid-template-columns: minmax(0, 440px); justify-content: center; }
.video-card { margin: 0; }
.video-card__play { display: block; width: 100%; position: relative; border: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--brand-900); cursor: pointer; box-shadow: var(--shadow-lg); }
.video-card__play img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.video-card__play:hover img { transform: scale(1.03); }
.video-card__btn { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: oklch(0.24 0.04 120); box-shadow: 0 10px 34px oklch(0.2 0.04 204 / 0.5); transition: transform var(--t) var(--ease); }
.video-card__play:hover .video-card__btn { transform: scale(1.08); }
.video-card__btn svg { margin-left: 3px; }
.video-card__cap { margin-top: 0.9rem; }
.video-card__title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 460; }
.video-card__player { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; display: block; }

/* tool showcase — real-tool animation on the /tool hero */
.tool-showcase__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-glow); background: var(--brand-900); }
