/* Kraft Group site styles — v3 (design system "Kraft Group").
   Language: an engineering drawing. Dot grid, mono spec labels, crop marks on photos, the
   energy line; one accent per company on a deep-teal steel neutral.
   Themes: light and dark. Tokens are defined once on :root (light), redefined for dark
   under prefers-color-scheme (unless the visitor chose light) and under [data-theme=dark]
   (the visitor's toggle). "deep" bands (hero, process, numbers, CTA, footer) stay dark in
   both themes. Components never use a literal colour that reads in one theme only.

   THEME: the BRAND block below is the only part that differs between the group sites. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/assets/fonts/archivo-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/assets/fonts/archivo-var-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-var-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/jbmono-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/jbmono-var-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Tokens ───────────────────────────────────────────────────────────────────────────── */
:root {
  /* BRAND:start — Kraft Group: the group red */
  --accent: #D7282F;            /* buttons, bars, status, the roundel */
  --accent-ink: #FFFFFF;        /* text on --accent (5.0:1) */
  --accent-text: #B81F25;       /* accent as text/icon on bg, surface, surface-2 (≥5.5:1) */
  --accent-text-dark: #FF7A6E;  /* the same in the dark theme (≥5.9:1) */
  --accent-rgb: 215, 40, 47;
  --accent-on-deep: #FF7A6E;    /* small text on the deep bands: the group red is only 2.7–3.8:1 there */
  /* BRAND:end */

  /* neutrals, light */
  --bg: #F3F5F4;
  --surface: #FFFFFF;
  --surface-2: #EAEFEE;
  --ink: #12262A;
  --text: #2A3B3E;
  --muted: #566A6D;
  --line: #D5DCDC;
  --line-soft: #E5EAEA;
  --grid-dot: rgba(18, 38, 42, .10);
  --nav-glass: rgba(255, 255, 255, .78);
  --scrim: rgba(18, 38, 42, .04);

  /* always-dark bands (both themes) */
  --deep: #10272A;
  --deep-2: #173236;
  --deep-3: #1E3D42;
  --on-deep: #ECF2F1;
  --on-deep-muted: #9DB1B5;
  --line-deep: rgba(255, 255, 255, .12);
  --shade: 14, 32, 35;          /* RGB of photo overlays */

  --signal-progress: #FFC24B;
  --signal-done: #6EE7A0;

  --shadow-sm: 0 1px 2px rgba(12, 30, 33, .06), 0 1px 1px rgba(12, 30, 33, .04);
  --shadow-md: 0 2px 4px rgba(12, 30, 33, .05), 0 14px 32px -12px rgba(12, 30, 33, .22);
  --shadow-lg: 0 4px 10px rgba(12, 30, 33, .06), 0 40px 80px -30px rgba(12, 30, 33, .42);

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --r-xs: 4px; --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --wrap: 1280px;
  --gutter: 32px;
  --nav-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .2s; --t-med: .45s; --t-slow: .9s;

  --accent-soft: rgba(var(--accent-rgb), .12);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent-text: var(--accent-text-dark);
    --bg: #0E1A1C; --surface: #142427; --surface-2: #18292C;
    --ink: #EEF3F2; --text: #C9D4D3; --muted: #93A6A8;
    --line: #28403F; --line-soft: #1F3335;
    --grid-dot: rgba(236, 242, 241, .07); --nav-glass: rgba(14, 26, 28, .78); --scrim: rgba(236, 242, 241, .03);
    --deep: #0A1416; --deep-2: #10201F; --deep-3: #16292B;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, .3), 0 16px 36px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 4px 10px rgba(0, 0, 0, .3), 0 40px 80px -30px rgba(0, 0, 0, .75);
    --accent-soft: rgba(var(--accent-rgb), .16);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --accent-text: var(--accent-text-dark);
  --bg: #0E1A1C; --surface: #142427; --surface-2: #18292C;
  --ink: #EEF3F2; --text: #C9D4D3; --muted: #93A6A8;
  --line: #28403F; --line-soft: #1F3335;
  --grid-dot: rgba(236, 242, 241, .07); --nav-glass: rgba(14, 26, 28, .78); --scrim: rgba(236, 242, 241, .03);
  --deep: #0A1416; --deep-2: #10201F; --deep-3: #16292B;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .3), 0 16px 36px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, .3), 0 40px 80px -30px rgba(0, 0, 0, .75);
  --accent-soft: rgba(var(--accent-rgb), .16);
  color-scheme: dark;
}

/* ── Base ─────────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease); }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(var(--accent-rgb), .35); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
/* Chinese version: Simplified-Chinese system faces behind the Latin ones (Archivo/Inter carry no
   CJK glyphs), no negative tracking, and a little more leading for the ideographs. */
html:lang(zh) {
  --display: "Archivo", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
}
html:lang(zh) :is(h1, h2, h3, .st-text, .srow-t, .proof b, .bcard-t, .num .n) { letter-spacing: 0; }
html:lang(zh) :is(h1, h2) { line-height: 1.15; }
html:lang(zh) body { line-height: 1.75; }
h1 { font-size: clamp(40px, 6vw, 92px); font-weight: 780; font-stretch: 88%; letter-spacing: -.025em; line-height: .98; }
h2 { font-size: clamp(32px, 4.6vw, 64px); font-weight: 760; font-stretch: 90%; letter-spacing: -.02em; line-height: 1.02; }
h3 { font-size: 22px; font-weight: 680; line-height: 1.2; letter-spacing: -.005em; }
h1 em, h2 em { font-style: normal; color: var(--accent-text); }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: var(--r-xs); }
.hero :focus-visible, .section-dark :focus-visible, .ctaband :focus-visible, .footer :focus-visible, .menu :focus-visible, .phead-img :focus-visible, .numbers :focus-visible, .is-home .nav:not(.scrolled) :focus-visible { outline-color: var(--accent-on-deep); }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* spec labels */
.kicker, .mono-label, .meta { font: 600 12.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.meta { color: var(--muted); letter-spacing: .08em; font-size: 12px; margin-bottom: 8px; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); max-width: 62ch; }

/* ── Buttons ──────────────────────────────────────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 22px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  font: 650 15.5px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.btn .ic { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px -12px rgba(var(--accent-rgb), .9); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 16px 34px -12px rgba(var(--accent-rgb), 1); transform: translateY(-1px); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { min-height: 40px; padding: 10px 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 17px 26px; font-size: 16.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 650 15px var(--sans); color: var(--ink); text-decoration: none; padding-bottom: 6px; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 100% 2px; transition: background-size var(--t-med) var(--ease); }
.link-arrow:hover { background-size: 40% 2px; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.link-arrow:hover .ic { transform: translateX(5px); }

/* ── Nav ──────────────────────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med); }
.nav.scrolled { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
@supports (backdrop-filter: blur(1px)) { .nav.scrolled { background: var(--nav-glass); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); } }
.nav-inner { display: flex; align-items: center; gap: 22px; height: 100%; }
.brand { display: flex; }
.brand img { height: 40px; width: auto; }
.brand .logo-light { display: none; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 550; font-size: 15px; color: var(--text); border-radius: var(--r-sm); transition: color var(--t-fast), background var(--t-fast); }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.nav-links a:hover { color: var(--ink); background: var(--scrim); }
.nav-links a { white-space: nowrap; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-links a[aria-current] { color: var(--ink); }
.theme-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color var(--t-fast), transform var(--t-med) var(--ease), background var(--t-fast); }
.theme-toggle:hover { border-color: var(--ink); transform: rotate(-15deg); }
.theme-toggle .ic { width: 19px; height: 19px; }
/* Language switcher: plain letter codes, the current one underlined in the accent. */
.langs { display: flex; align-items: center; gap: 2px; font: 600 12px/1 var(--mono); letter-spacing: .06em; }
.langs a, .langs span { padding: 8px 7px; border-radius: var(--r-xs); color: var(--muted); text-decoration: none; transition: color var(--t-fast), background var(--t-fast); }
.langs a:hover { color: var(--ink); background: var(--scrim); }
.langs [aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.is-home .nav:not(.scrolled) .langs a, .menu-open .nav .langs a { color: rgba(236, 242, 241, .72); }
.is-home .nav:not(.scrolled) .langs a:hover { color: var(--on-deep); background: rgba(255, 255, 255, .06); }
.is-home .nav:not(.scrolled) .langs [aria-current], .menu-open .nav .langs [aria-current] { color: var(--on-deep); }
.menu .langs { align-self: flex-start; font-size: 14px; }
.menu .langs a { color: var(--on-deep-muted); }
.menu .langs a:hover { color: var(--on-deep); background: rgba(255, 255, 255, .06); }
.menu .langs [aria-current] { color: var(--on-deep); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
  :root:not([data-theme="light"]) .brand .logo-dark { display: none; }
  :root:not([data-theme="light"]) .brand .logo-light { display: block; }
}
:root[data-theme="dark"] .brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: block; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
/* home: the nav floats over the dark hero until it scrolls */
.is-home .nav { position: fixed; left: 0; right: 0; }
.is-home .nav:not(.scrolled) .nav-links a { color: rgba(236, 242, 241, .86); }
.is-home .nav:not(.scrolled) .nav-links a:hover { color: var(--on-deep); background: rgba(255, 255, 255, .06); }
.is-home .nav:not(.scrolled) .logo-dark { display: none; }
.is-home .nav:not(.scrolled) .logo-light { display: block; }
.is-home .nav:not(.scrolled) .theme-toggle, .is-home .nav:not(.scrolled) .burger { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: var(--on-deep); }
.is-home .nav:not(.scrolled) .burger span { background: var(--on-deep); }
.menu-open .nav { background: var(--deep); border-color: var(--line-deep); }
.menu-open .nav .logo-dark { display: none; }
.menu-open .nav .logo-light { display: block; }
.menu-open .burger, .menu-open .theme-toggle { background: transparent; border-color: var(--line-deep); color: var(--on-deep); }
.menu-open .burger span { background: var(--on-deep); }
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: calc(var(--nav-h) + 20px) 28px calc(32px + env(safe-area-inset-bottom));
  background: radial-gradient(90% 60% at 100% 0%, rgba(var(--accent-rgb), .16), transparent 60%), var(--deep); color: var(--on-deep); opacity: 0; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.menu.open { opacity: 1; transform: none; }
.menu[hidden] { display: none; } /* author display:flex beats the UA [hidden] rule: without this the closed menu is an invisible full-page layer that swallows clicks */
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 750 clamp(30px, 8vw, 44px)/1.3 var(--display); font-stretch: 88%; color: var(--on-deep); text-decoration: none; border-bottom: 1px solid var(--line-deep); padding: 8px 0; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease), color var(--t-fast); transition-delay: calc(.08s + var(--i, 0) * .04s); }
.menu.open nav a { opacity: 1; transform: none; }
.menu nav a:hover { color: var(--accent-on-deep); }
.menu .btn { align-self: flex-start; }
.menu-foot { margin: 0; color: var(--on-deep-muted); font-size: 15px; }
.menu-foot a { color: var(--on-deep); }

/* ── Hero ─────────────────────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 64px) 0 52px; color: var(--on-deep); background: var(--deep); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); will-change: transform; }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(70% 60% at 85% 10%, rgba(var(--accent-rgb), .16), transparent 60%),
  linear-gradient(90deg, rgba(var(--shade), .94) 0%, rgba(var(--shade), .74) 44%, rgba(var(--shade), .30) 100%),
  linear-gradient(0deg, rgba(var(--shade), .95) 0%, transparent 42%); }
.hero-grid { position: absolute; inset: 0; pointer-events: none; }
.hero > .wrap { width: 100%; position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: end; }
.hero h1 { color: #fff; font-size: clamp(44px, 7.4vw, 120px); margin-bottom: 26px; }
.hero h1 em { color: var(--accent); }
.hero .lede { color: rgba(236, 242, 241, .82); margin-bottom: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 8px 14px 8px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-pill);
  font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-deep); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost, .deep .btn-ghost { background: rgba(255, 255, 255, .06); color: var(--on-deep); border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.pop { opacity: 0; transform: translateY(16px); animation: pop-in .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes pop-in { to { opacity: 1; transform: none; } }

/* split headline: every word rises out of its own mask */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .07em; margin-bottom: -.07em; }
.split .w > span { display: inline-block; transform: translateY(105%); animation: rise .95s var(--ease) forwards; animation-delay: calc(.08s + var(--i) * .055s); }
@keyframes rise { to { transform: none; } }

/* the project board — the PM promise, made visible; the bars fill on load */
.board { position: relative; background: rgba(16, 33, 36, .72); border: 1px solid var(--line-deep); border-radius: var(--r-lg); padding: 24px 24px 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
@supports (backdrop-filter: blur(1px)) { .board { background: rgba(16, 33, 36, .55); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); } }
.board::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .8; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-deep); margin-bottom: 6px; }
.board-title { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep-muted); }
.board-status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(110, 231, 160, .1); font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--signal-done); }
.board-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal-done); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.board-phases { list-style: none; margin: 0; padding: 0; }
.ph { display: grid; grid-template-columns: 30px 1fr auto; grid-template-areas: "n l s" "n b b"; column-gap: 12px; row-gap: 9px; padding: 13px 0; border-bottom: 1px solid var(--line-deep); }
.ph:last-child { border-bottom: 0; }
.ph-n { grid-area: n; font: 700 13px var(--mono); color: var(--on-deep-muted); padding-top: 2px; }
.ph-l { grid-area: l; font-weight: 600; color: var(--on-deep); font-size: 15px; }
.ph-s { grid-area: s; font: 500 12px var(--mono); color: var(--on-deep-muted); white-space: nowrap; }
.ph-bar { grid-area: b; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.ph-bar i { display: block; height: 100%; width: var(--pct); border-radius: 3px; background: var(--signal-done); transform-origin: left; transform: scaleX(0); animation: bar-fill 1.3s var(--ease) forwards; animation-delay: calc(1.1s + var(--k) * .22s); }
@keyframes bar-fill { to { transform: none; } }
.ph-active .ph-bar i { background: linear-gradient(90deg, var(--signal-progress), #FFD98A); box-shadow: 0 0 12px rgba(255, 194, 75, .45); }
.ph-active .ph-s { color: var(--signal-progress); }
.ph-done .ph-s { color: var(--signal-done); }
.ph-todo .ph-l { color: var(--on-deep-muted); }
.board-foot { margin: 12px 0 0; font: 500 12px/1.55 var(--mono); color: var(--on-deep-muted); }

/* the energy line */
.flowline { position: relative; display: block; width: 100%; height: 96px; margin: 34px 0 -30px; pointer-events: none; overflow: visible; }
.fl-base { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fl-draw { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; animation: draw 2.6s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fl-dot { fill: #fff; filter: drop-shadow(0 0 6px var(--accent)); opacity: 0; animation: fade-in .4s 3s forwards; }
@keyframes fade-in { to { opacity: 1; } }
.proof { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 22px 0 0; }
.proof li { flex: 1 1 0; min-width: 160px; padding-right: 24px; font: 500 12px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--on-deep-muted); }
.proof b { display: block; font: 760 clamp(28px, 3.2vw, 46px)/1.08 var(--display); font-stretch: 90%; letter-spacing: -.015em; text-transform: none; color: #fff; margin-bottom: 6px; }

/* kinetic sectors */
.kinetic { overflow: hidden; background: var(--deep); padding: 26px 0 30px; border-top: 1px solid var(--line-deep); }
.ktrack { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; animation: marquee 60s linear infinite; font: 800 clamp(40px, 7vw, 104px)/1 var(--display); font-stretch: 78%; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.js .ktrack { animation: none; }
.ktrack span { color: var(--on-deep); }
.ktrack span.o { color: transparent; -webkit-text-stroke: 1.5px rgba(236, 242, 241, .45); }
.ktrack b { font-size: .3em; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ─────────────────────────────────────────────────────────────────────────── */
.section { position: relative; padding: 128px 0; isolation: isolate; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--surface-2); }
.section-dark, .deep { background: var(--deep); color: var(--on-deep); }
.section-dark h2, .section-dark h3 { color: var(--on-deep); }
.section-dark .lede, .section-dark p { color: var(--on-deep-muted); }
.section-dark .kicker { color: var(--accent-on-deep); }
.section-dark h2 em { color: var(--accent-on-deep); }
/* the drawing grid behind plain sections */
.section:not(.section-dark):not(.section-alt)::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1.3px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.section-alt::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--bg), transparent 120px, transparent calc(100% - 120px), var(--bg)); opacity: .9; }
.section-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(var(--accent-rgb), .10), transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(255, 255, 255, .03), transparent 60%); }
.section-head { max-width: 780px; margin-bottom: 60px; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head-row h2 { margin-bottom: 0; }
.section-head-row .lede { max-width: 46ch; margin: 0; }

/* statement */
.statement { position: relative; padding: 140px 0 130px; overflow: hidden; }
.statement-solo { padding: 110px 0 40px; }
.st-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 88px; align-items: center; }
.st-text { font: 720 clamp(28px, 3.5vw, 52px)/1.12 var(--display); font-stretch: 92%; letter-spacing: -.02em; color: var(--ink); margin: 0 0 34px; }
.st-text span { color: color-mix(in srgb, var(--ink) 18%, transparent); transition: color .35s; }
.st-text span.on, html:not(.js) .st-text span { color: var(--ink); }
.st-sub { color: var(--muted); max-width: 54ch; font-size: 17.5px; margin-bottom: 30px; }
.st-media { position: relative; min-height: 580px; }
.st-img { position: absolute; margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.st-img img { width: 100%; height: 100%; object-fit: cover; }
.st-img-0 { left: 0; top: 0; width: 74%; aspect-ratio: 4 / 5; }
.st-img-1 { right: 0; bottom: 0; width: 52%; aspect-ratio: 1; outline: 8px solid var(--bg); }
.st-img::after { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, .9); border-right: 0; border-bottom: 0; border-radius: 2px 0 0 0; }
.st-badge { position: absolute; left: 58%; top: 6%; width: 150px; height: 150px; z-index: 2; animation: spin 26s linear infinite; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25)); }
.st-badge .b-bg { fill: var(--accent); }
.st-badge text { font: 700 13.5px var(--mono); letter-spacing: .22em; fill: var(--accent-ink); text-transform: uppercase; }
.st-badge .b-mid { font: 800 30px var(--display); letter-spacing: 0; animation: spin 26s linear infinite reverse; transform-origin: 100px 100px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* service index */
.slist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.slist > li { border-bottom: 1px solid var(--line); }
.srow { position: relative; display: grid; grid-template-columns: 64px 48px minmax(0, 1.1fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center; padding: 30px 20px; text-decoration: none; isolation: isolate; overflow: hidden; border-radius: var(--r-md); transition: border-radius var(--t-med); }
.srow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--deep); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.srow:hover::before, .srow:focus-visible::before { transform: none; }
.srow-n { font: 600 13px var(--mono); color: var(--muted); letter-spacing: .1em; transition: color var(--t-fast); }
.srow-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-text); transition: background var(--t-fast), color var(--t-fast); }
.srow-ic .ic { width: 24px; height: 24px; }
.srow-t { font: 750 clamp(22px, 2.4vw, 34px)/1.1 var(--display); font-stretch: 90%; letter-spacing: -.015em; color: var(--ink); transition: color .3s, transform .5s var(--ease); }
.srow-d { color: var(--muted); font-size: 15.5px; line-height: 1.55; transition: color .3s; }
.srow-go { justify-self: end; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-pill); border: 1.5px solid var(--line); color: var(--ink); transition: background .3s, border-color .3s, color .3s, transform .5s var(--ease); }
.srow-go .ic { width: 20px; height: 20px; }
.srow:hover .srow-t, .srow:focus-visible .srow-t { color: var(--on-deep); transform: translateX(8px); }
.srow:hover .srow-d, .srow:hover .srow-n, .srow:focus-visible .srow-d { color: var(--on-deep-muted); }
.srow:hover .srow-ic { background: rgba(var(--accent-rgb), .18); color: var(--accent); }
.srow:hover .srow-go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }
.srow-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 300px; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-2deg); transition: opacity .25s, transform .35s var(--ease); box-shadow: var(--shadow-lg); }
.srow-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }
.srow-preview img { width: 100%; height: 100%; object-fit: cover; }

/* process */
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: start; }
.process-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.process-count { font: 800 clamp(64px, 8vw, 120px)/1 var(--display); color: var(--on-deep); margin: 34px 0 0; display: flex; align-items: baseline; gap: 10px; }
.process-count b { color: var(--accent-on-deep); font-variant-numeric: tabular-nums; }
.process-count span { font-size: .3em; color: var(--on-deep-muted); font-weight: 600; }
.process-img { margin-top: 30px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.process-img img { width: 100%; height: 100%; object-fit: cover; }
.steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 28px; }
.steps-line { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--line-deep); }
.steps-line i { display: block; width: 100%; height: calc(var(--p, 0) * 100%); border-radius: 2px; background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), .8); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line-deep); opacity: .38; transition: opacity .5s; }
.step:last-child { border-bottom: 1px solid var(--line-deep); }
.step.on { opacity: 1; }
.step-n { font: 760 40px/1 var(--display); color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .35); transition: color .5s, -webkit-text-stroke-color .5s; }
.step.on .step-n { color: var(--accent-on-deep); -webkit-text-stroke-color: var(--accent-on-deep); }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { margin: 0; max-width: 54ch; }

/* numbers */
.numbers { position: relative; padding: 96px 0; background: var(--deep-2); color: var(--on-deep); overflow: hidden; }
.numbers::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1.3px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); }
.ngrid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.num { padding: 4px 28px; border-left: 1px solid var(--line-deep); }
.num:first-child { border-left: 0; padding-left: 0; }
.num .n { font: 780 clamp(56px, 7vw, 116px)/1 var(--display); font-stretch: 86%; letter-spacing: -.03em; color: var(--on-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.num .suf { font: 700 clamp(22px, 2.2vw, 32px)/1 var(--display); color: var(--accent-on-deep); margin-left: 4px; }
.num .l { display: block; margin-top: 14px; font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-deep-muted); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 18px; }
.bcard { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--deep-2); color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-sm); transition: box-shadow var(--t-med), transform var(--t-med) var(--ease); }
.bcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.bcard-xl { grid-column: span 2; grid-row: span 2; }
.bcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.bcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--shade), 0) 28%, rgba(var(--shade), .94)); }
.bcard:hover > img { transform: scale(1.07); }
.bcard-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .22); background: radial-gradient(70% 70% at 70% 20%, rgba(var(--accent-rgb), .18), transparent 60%), repeating-linear-gradient(135deg, var(--deep-2) 0 14px, var(--deep-3) 14px 28px); z-index: -2; }
.bcard-ph .ic { width: 64px; height: 64px; stroke-width: 1; }
.bcard-txt { position: absolute; left: 22px; right: 72px; bottom: 20px; display: grid; gap: 6px; }
.bcard .meta { color: rgba(255, 255, 255, .72); margin: 0; font-size: 11px; }
.bcard-t { font: 700 20px/1.2 var(--display); font-stretch: 94%; }
.bcard-xl .bcard-t { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -.015em; }
.bcard-xl .bcard-txt { left: 32px; bottom: 30px; right: 96px; }
.bcard-s { color: rgba(255, 255, 255, .8); font-size: 15.5px; max-width: 52ch; }
.bcard-go { position: absolute; right: 18px; bottom: 18px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.bcard-go .ic { width: 20px; height: 20px; }
.bcard:hover .bcard-go, .bcard:focus-visible .bcard-go { opacity: 1; transform: rotate(-45deg); }
.bcard::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, .85); border-right: 0; border-bottom: 0; border-radius: 2px 0 0 0; z-index: 1; }

/* why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.why-img { margin-top: 34px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-med), transform var(--t-med) var(--ease), border-color var(--t-med); }
.why li:hover { box-shadow: var(--shadow-md); transform: translateX(4px); border-color: var(--line); }
.why .ic { width: 48px; height: 48px; padding: 12px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-text); }
.why h3 { font-size: 19px; margin-bottom: 4px; }
.why p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* certificates strip */
.certs { padding: 40px 0; background: var(--bg); border-block: 1px solid var(--line); }
.certs-inner { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 26px 40px; }
.cert { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cert .ic { flex: none; }
.cert .ic { width: 36px; height: 36px; color: var(--accent-text); }
.cert b { display: block; font: 700 16px var(--display); color: var(--ink); }
.cert span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.cert .nw { font-style: normal; white-space: nowrap; }

/* cards: projects, news */
.pgrid, .ngrid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard, .ncard { position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-med), transform var(--t-med) var(--ease), border-color var(--t-med); }
a.pcard:hover, .ncard:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--line); }
.pcard[hidden] { display: none; }
.pcard-img, .ncard-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.ncard-img { aspect-ratio: 16 / 9; }
.pcard-img img, .ncard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
a.pcard:hover .pcard-img img, .ncard:hover .ncard-img img { transform: scale(1.06); }
.pcard-img::before, .pcard-img::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .9); z-index: 1; pointer-events: none; }
.pcard-img::before { left: 12px; top: 12px; border-right: 0; border-bottom: 0; border-radius: 2px 0 0 0; }
.pcard-img::after { right: 12px; bottom: 12px; border-left: 0; border-top: 0; border-radius: 0 0 2px 0; }
.pcard-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); background: radial-gradient(70% 70% at 70% 20%, var(--accent-soft), transparent 60%), repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--bg) 12px 24px); }
.pcard-ph .ic { width: 52px; height: 52px; stroke-width: 1.1; }
.pcard-body, .ncard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pcard-body h3, .ncard-body h3 { font-size: 20px; margin-bottom: 6px; }
.pcard-client { font-weight: 600; color: var(--ink); font-size: 14.5px; margin-bottom: 8px; }
.pcard-body p:not(.meta):not(.pcard-client), .ncard-body p:last-child { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 16px 0 0; }
.tags li { font: 500 11.5px var(--mono); padding: 4px 9px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); }

/* CTA band */
.ctaband { padding: 0 0 128px; }
.ctaband-inner { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; padding: 72px 64px; border-radius: var(--r-lg); background: var(--deep); color: var(--on-deep); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.ctaband-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 100%, rgba(var(--accent-rgb), .28), transparent 60%), radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1.3px) 0 0 / 24px 24px; }
.ctaband h2 { color: var(--on-deep); font-size: clamp(34px, 4.4vw, 64px); margin-bottom: 14px; }
.ctaband h2 em { color: var(--accent-on-deep); }
.ctaband .kicker { color: var(--accent-on-deep); }
.ctaband p { color: var(--on-deep-muted); margin: 0; max-width: 56ch; }
.ctaband-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ctaband-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--on-deep); text-decoration: none; font: 650 19px var(--display); }
.ctaband-phone .ic { color: var(--accent-on-deep); }

/* ── Inner pages ──────────────────────────────────────────────────────────────────────── */
.phead { position: relative; padding: 104px 0 88px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: var(--surface); }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%); mask-image: linear-gradient(100deg, transparent 35%, #000 85%); }
.phead::after { content: ""; position: absolute; right: -120px; top: -160px; z-index: -1; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 65%); }
.phead h1 { max-width: 16ch; font-size: clamp(40px, 6vw, 96px); }
.phead .lede { margin: 0; }
.phead-img { background: var(--deep); color: var(--on-deep); padding: 180px 0 96px; min-height: 64vh; display: flex; align-items: flex-end; border-bottom: 0; }
.phead-img > .wrap { width: 100%; }
.phead-img::before, .phead-img::after { display: none; }
.phead-bg { position: absolute; inset: 0; z-index: -1; }
.phead-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: none; } }
.phead-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 90% 10%, rgba(var(--accent-rgb), .14), transparent 60%), linear-gradient(90deg, rgba(var(--shade), .94), rgba(var(--shade), .55)), linear-gradient(0deg, rgba(var(--shade), .8), transparent 50%); }
.phead-img h1 { color: #fff; }
.phead-img h1 em, .phead-img .kicker { color: var(--accent-on-deep); }
.phead-img .lede { color: rgba(236, 242, 241, .82); }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-bottom: 30px; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); font: 500 12px var(--mono); letter-spacing: .05em; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; transition: color var(--t-fast); }
.crumbs a:hover { color: var(--accent-text); }
.crumbs span { margin: 0 8px; opacity: .6; }
.phead-img .crumbs { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: var(--on-deep-muted); backdrop-filter: blur(6px); }
.phead-img .crumbs a { color: var(--on-deep-muted); }
.phead-img .crumbs a:hover { color: #fff; }
.nf { min-height: 64vh; display: flex; align-items: center; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: start; }
.side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 18px; }
.side-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 26px; box-shadow: var(--shadow-sm); }
.side-h { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.side-cta { position: relative; overflow: hidden; background: var(--deep); border-color: transparent; color: var(--on-deep-muted); box-shadow: var(--shadow-md); isolation: isolate; }
.side-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 80% at 100% 0%, rgba(var(--accent-rgb), .25), transparent 60%); }
.side-cta .side-h { color: var(--on-deep); }
.side-cta p { color: var(--on-deep-muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; color: var(--text); }
.checks .ic { color: var(--accent-text); width: 20px; height: 20px; margin-top: 2px; }
.side-links, .dl-list { list-style: none; margin: 0; padding: 0; }
.side-links a, .dl-list a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; margin: 0 -10px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); transition: background var(--t-fast), color var(--t-fast); }
.side-links a:hover, .dl-list a:hover { background: var(--surface-2); color: var(--accent-text); }
.side-links .ic, .dl-list .ic { color: var(--accent-text); }
.dl-list small { display: block; font: 500 11.5px var(--mono); color: var(--muted); }
.facts { margin: 0; display: grid; }
.facts div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.facts div:first-child { border-top: 0; }
.facts dt { font: 500 11.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); font-size: 15px; }
.facts-wide { grid-template-columns: repeat(3, 1fr); column-gap: 32px; padding: 28px 32px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.facts-wide div:nth-child(-n+3) { border-top: 0; }

.prose { font-size: 17.5px; line-height: 1.75; max-width: 72ch; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 1.7em 0 .6em; }
.prose h3 { margin: 1.5em 0 .5em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--accent-text); font-weight: 700; }
.prose a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote { position: relative; margin: 1.8em 0; padding: 26px 30px 26px 66px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); font: 600 20px/1.5 var(--display); color: var(--ink); }
.prose blockquote::before { content: "„"; position: absolute; left: 22px; top: 6px; font: 800 64px/1 var(--display); color: var(--accent); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.prose figcaption { margin-top: 10px; font: 500 12px var(--mono); color: var(--muted); }
.cover { margin: 0 0 44px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.gallery img { border-radius: var(--r-md); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.share { display: flex; align-items: center; gap: 16px; margin-top: 52px; padding: 18px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-soft); }
.share a { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); text-decoration: none; }
.share .ic { color: #0A66C2; }
.note { margin-top: 44px; padding: 16px 20px; border-radius: var(--r-md); background: var(--surface-2); color: var(--muted); font-size: 14.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.note a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 650; }
.note .ic { width: 16px; height: 16px; }
.empty { color: var(--muted); }
.empty-card { padding: 30px; margin-bottom: 44px; background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r-md); color: var(--muted); }

.filters { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 40px; padding: 5px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--text); transition: background var(--t-fast), color var(--t-fast); }
.chip b { font: 600 11px var(--mono); padding: 2px 7px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); }
.chip:hover { background: var(--surface-2); }
.chip.is-on { background: var(--deep); color: var(--on-deep); }
.chip.is-on b { background: rgba(255, 255, 255, .12); color: var(--on-deep); }

.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.values li { position: relative; padding: 30px 28px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-med), transform var(--t-med) var(--ease); overflow: hidden; }
.values li:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.values .ic { width: 52px; height: 52px; padding: 13px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-text); margin-bottom: 18px; }
.values h3 { font-size: 20px; }
.values p { color: var(--muted); margin: 0; font-size: 15.5px; }
.v-n { position: absolute; right: 22px; top: 18px; font: 800 46px/1 var(--display); color: transparent; -webkit-text-stroke: 1.2px var(--line); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(var(--accent), var(--line)); }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: baseline; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.t-year { font: 780 28px/1 var(--display); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; color: var(--text); }
.certs-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card { display: grid; gap: 6px; align-content: start; padding: 26px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-med), transform var(--t-med) var(--ease); }
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cert-card > .ic { width: 46px; height: 46px; padding: 11px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-text); margin-bottom: 10px; }
.cert-card b { font: 700 18px var(--display); color: var(--ink); }
.cert-card span { color: var(--muted); font-size: 15px; }
.cert-card a { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 10px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
.cert-card a:hover { background: var(--accent); color: var(--accent-ink); }
.cert-card a .ic { width: 17px; height: 17px; }
.cert-card small { font: 500 10.5px var(--mono); opacity: .7; }

/* people */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-3 { grid-template-columns: repeat(3, 1fr); }
.person { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-med), transform var(--t-med) var(--ease); }
.person:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.person-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--surface-2), var(--line-soft)); }
.person-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.04); transition: filter .6s, transform .9s var(--ease); }
.person:hover .person-img img { filter: none; transform: scale(1.04); }
.person-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.person:hover .person-img::after { transform: none; }
.person-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 800 56px var(--display); color: var(--muted); }
.person-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 20px 22px 22px; }
.person-name { font: 700 20px/1.2 var(--display); color: var(--ink); }
.person-role { font: 600 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.person-links { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.person-links a { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 6px 8px; margin: 0 -8px; border-radius: var(--r-sm); color: var(--text); font-size: 14px; text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
.person-links a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-links a:hover { background: var(--surface-2); color: var(--accent-text); }
.person-links .ic { width: 17px; height: 17px; color: var(--accent-text); }
.person:not(:has(.person-links)) .person-body { padding-bottom: 24px; }

.group-band { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding: 40px 44px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.group-text { font: 650 clamp(20px, 2vw, 26px)/1.35 var(--display); color: var(--ink); max-width: 46ch; margin: 0; }
.group-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.group-links a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 1.5px solid var(--line); border-radius: var(--r-sm); text-decoration: none; font-weight: 650; color: var(--ink); background: var(--bg); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.group-links a:hover { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.group-links .ic { width: 18px; height: 18px; }

.jobs { list-style: none; margin: 0 0 44px; padding: 0; display: grid; gap: 14px; }
.job { display: flex; gap: 24px; justify-content: space-between; align-items: center; padding: 26px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.job p:last-child { margin: 0; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 14px; position: sticky; top: calc(var(--nav-h) + 24px); }
.ccard { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); text-decoration: none; transition: box-shadow var(--t-med), transform var(--t-med) var(--ease), border-color var(--t-med); }
a.ccard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line); }
.ccard .ic { grid-row: span 2; width: 52px; height: 52px; padding: 14px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-text); transition: background var(--t-fast), color var(--t-fast); }
a.ccard:hover .ic { background: var(--accent); color: var(--accent-ink); }
.ccard-l { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ccard b { color: var(--ink); font-weight: 650; font-size: 16.5px; overflow-wrap: anywhere; }
.quote-box { position: relative; padding: 44px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.quote-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), .2)); }
.quote-list { margin: 0 0 30px; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 8px; }
.quote-list li { counter-increment: q; display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--muted); font-size: 15.5px; }
.quote-list li::before { content: counter(q, decimal-leading-zero); font: 700 12px/1.9 var(--mono); color: var(--accent-text); }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qform label { display: grid; gap: 7px; font: 600 11.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.qform .full { grid-column: 1 / -1; }
.qform input, .qform select, .qform textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); font: 400 16px var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); }
.qform input:hover, .qform select:hover, .qform textarea:hover { border-color: var(--muted); }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.form-note { margin: 0; font: 400 13.5px/1.55 var(--sans); text-transform: none; letter-spacing: 0; color: var(--muted); }
.form-note a { color: var(--accent-text); }
.qform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform-ok, .qform-fail { display: grid; gap: 14px; margin-top: 18px; padding: 20px 22px; border-radius: var(--r-md); font-size: 15.5px; line-height: 1.55; color: var(--text); }
.qform-ok { background: var(--surface-2); border: 1px solid var(--line); }
.qform-ok b, .qform-fail b { display: block; margin-bottom: 4px; font: 700 17px var(--display); color: var(--ink); }
.qform-fail { background: var(--surface-2); border: 1px solid var(--line); border-left: 0; box-shadow: inset 4px 0 0 var(--accent); }
.qform-fail[hidden], .qform-ok[hidden] { display: none; }
.fallback-mails { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: baseline; gap: 8px 16px; }
.fallback-mails li { display: contents; }
.fallback-mails span { font: 600 11.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 480px) { .fallback-mails { grid-template-columns: minmax(0, 1fr); gap: 2px; } .fallback-mails a { margin-bottom: 8px; } }
.fallback-mails a { font-weight: 650; color: var(--accent-text); overflow-wrap: anywhere; user-select: all; }
.qform-fail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qform-fail-actions .ic { width: 17px; height: 17px; }
.apply-mail { margin: -26px 0 40px; color: var(--muted); font-size: 15px; }
.apply-mail a { color: var(--accent-text); font-weight: 600; }

/* ── Footer ───────────────────────────────────────────────────────────────────────────── */
.footer { position: relative; background: var(--deep); color: var(--on-deep-muted); padding: 88px 0 0; font-size: 15px; overflow: hidden; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 0% 0%, rgba(var(--accent-rgb), .08), transparent 60%); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-deep); }
.foot-brand img { height: 40px; width: auto; margin-bottom: 22px; }
.foot-brand p { max-width: 36ch; }
.foot-social { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-deep); color: var(--on-deep); text-decoration: none; font-weight: 600; transition: border-color var(--t-fast), background var(--t-fast); }
.foot-social:hover { border-color: var(--on-deep-muted); background: rgba(255, 255, 255, .04); }
.foot-h { font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-deep); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--on-deep-muted); text-decoration: none; transition: color var(--t-fast); }
.footer a:hover { color: var(--on-deep); }
.foot-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.foot-contact .ic { width: 18px; height: 18px; color: var(--accent-on-deep); margin-top: 3px; }
.foot-group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 24px 0; border-bottom: 1px solid var(--line-deep); }
.foot-group .mono-label { color: var(--on-deep-muted); font-size: 11px; }
.foot-group a, .foot-group span:not(.mono-label) { color: var(--on-deep); font-weight: 600; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13.5px; }
.foot-legal p { margin: 0; }
.foot-mark { font: 900 clamp(64px, 17.5vw, 300px)/.8 var(--display); font-stretch: 75%; letter-spacing: -.04em; text-align: center; white-space: nowrap; margin: 40px 0 -.12em; color: transparent; -webkit-text-stroke: 1.5px rgba(236, 242, 241, .13); user-select: none; }

/* ── Reveal ───────────────────────────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow var(--t-med), border-color var(--t-med); transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in:hover { transition-delay: 0s; }
.js a.pcard.reveal.in:hover, .js .ncard.reveal.in:hover, .js .person.reveal.in:hover, .js .values li.reveal.in:hover, .js .cert-card.reveal.in:hover { transform: translateY(-4px); }
.js .why li.reveal.in:hover { transform: translateX(4px); }
.js .reveal[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--r-md)); transition: clip-path 1.2s var(--ease), box-shadow var(--t-med), transform var(--t-med) var(--ease); transition-delay: var(--d, 0s), 0s, 0s; }
.js .reveal[data-reveal="clip"].in { clip-path: inset(0 0 0 0 round var(--r-md)); }
.js .reveal[data-reveal="clip"] > img, .js .reveal[data-reveal="clip"] > picture img { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.js .reveal[data-reveal="clip"].in > img { transform: none; }
.js .bcard.reveal.in:hover > img { transform: scale(1.07); }
.js .ctaband-inner.reveal[data-reveal="clip"] { clip-path: inset(0 0 100% 0 round var(--r-lg)); }
.js .ctaband-inner.reveal[data-reveal="clip"].in { clip-path: inset(0 0 0 0 round var(--r-lg)); }

/* ── Responsive ───────────────────────────────────────────────────────────────────────── */
/* Longer (German) menu labels: tighten the bar before it gives way to the burger. */
@media (max-width: 1320px) { .nav-inner { gap: 14px; } .nav-links a { padding-inline: 10px; } .nav-links a::after { left: 10px; right: 10px; } }
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-inner > .langs { margin-left: auto; }
  .nav-inner > .langs ~ .nav-cta { margin-left: 0; }
  .burger { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .board { max-width: 540px; }
  .st-grid { grid-template-columns: 1fr; gap: 60px; }
  .st-media { min-height: 520px; max-width: 640px; }
  .srow { grid-template-columns: 48px 44px 1fr 52px; }
  .srow-d { grid-column: 3 / 4; grid-row: 2; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .pgrid, .ngrid3, .values, .certs-list { grid-template-columns: repeat(2, 1fr); }
  .certs-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .process-grid, .why-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .process-head, .side, .contact-cards { position: static; }
  .ngrid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .num:nth-child(3) { border-left: 0; padding-left: 0; }
  .ctaband-inner { grid-template-columns: 1fr; padding: 48px 36px; }
  .facts-wide { grid-template-columns: 1fr; }
  .facts-wide div:nth-child(-n+3) { border-top: 1px solid var(--line-soft); }
  .facts-wide div:first-child { border-top: 0; }
  .section { padding: 96px 0; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .team-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; --nav-h: 66px; }
  body { font-size: 16px; }
  .brand img { height: 32px; }
  .nav-inner { gap: 10px; }
  .nav-cta { display: none; }
  .nav-inner > .langs { display: none; } /* the open menu carries the switcher on phones */
  .theme-toggle { margin-left: auto; width: 44px; height: 44px; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 48px) 0 40px; }
  .hero-shade { background: linear-gradient(180deg, rgba(var(--shade), .72), rgba(var(--shade), .94) 60%); }
  .cta { flex-direction: column; }
  .cta .btn { width: 100%; }
  .flowline { height: 60px; margin: 18px 0 -10px; }
  .proof li { flex: 1 1 45%; padding: 0 12px 16px 0; }
  .kinetic { padding: 16px 0 18px; }
  .statement { padding: 84px 0; }
  .st-media { min-height: 400px; }
  .st-badge { width: 110px; height: 110px; left: auto; right: 0; top: 0; }
  .srow { grid-template-columns: 34px 1fr 44px; gap: 12px; padding: 22px 8px; }
  .srow-ic { display: none; }
  .srow-d { grid-column: 2 / 3; }
  .srow-go { width: 44px; height: 44px; }
  .srow-preview { display: none; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
  .step { grid-template-columns: 48px 1fr; padding: 26px 0; }
  .step-n { font-size: 30px; }
  .process-count { display: none; }
  .numbers { padding: 64px 0; }
  .num { padding: 0 0 0 16px; }
  .num:nth-child(odd) { border-left: 0; padding-left: 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .bcard-xl { grid-column: auto; grid-row: span 1; }
  .bcard-xl .bcard-s { display: none; }
  .pgrid, .ngrid3, .values, .certs-list, .team, .team-3 { grid-template-columns: 1fr; }
  .certs-inner { grid-template-columns: 1fr; gap: 18px; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team-3 { grid-template-columns: 1fr; }
  .person-body { padding: 16px; }
  .person-name { font-size: 17px; }
  .ctaband { padding-bottom: 76px; }
  .ctaband-inner { padding: 36px 24px; }
  .ctaband-actions .btn { width: 100%; }
  .timeline { padding-left: 24px; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .timeline li::before { left: -24px; }
  .job { flex-direction: column; align-items: flex-start; }
  .quote-box { padding: 30px 20px; border-radius: var(--r-md); }
  .qform { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr; }
  .phead { padding: 64px 0 52px; }
  .phead-img { padding: 130px 0 56px; min-height: 54vh; }
  .group-band { padding: 28px 22px; }
  .filters { display: flex; }
  .foot-mark { margin-top: 24px; }
}
@media (max-width: 700px), (hover: none) {
  .st-badge, .st-badge .b-mid { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pop, .js .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .split .w > span, .ph-bar i { transform: none !important; }
  .fl-draw { stroke-dashoffset: 0; } .fl-dot { display: none; }
  .js .reveal[data-reveal="clip"] img, .hero-bg img, .phead-bg img { transform: none !important; }
  .st-text span { color: var(--ink) !important; }
}
@media print {
  .nav, .menu, .hero-grid, .kinetic, .flowline, .ctaband, .footer, .burger, .theme-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
