/* ==========================================================================
   WingsForShare — design system
   1. Tokens
   2. Reset & base
   3. Layout primitives
   4. Typography
   5. Header / navigation
   6. Buttons & links
   7. Hero console
   8. Cards & grids
   9. Page furniture (hero, breadcrumbs, TOC, CTA)
   10. Article
   11. Forms
   12. Footer
   13. Motion & utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #050F0A;
  --ink-1: #07150F;
  --ink-2: #0A1D15;
  --ink-3: #0E2419;
  --paper: #F7F5EF;
  --paper-1: #F1EEE5;
  --paper-2: #E8E4D8;

  --fg: #F3F7F2;
  --fg-muted: #A6BCAF;
  --fg-faint: #7A9184;
  --bg: var(--ink);
  --bg-1: var(--ink-1);
  --bg-2: var(--ink-2);

  --line: rgba(233, 255, 241, 0.11);
  --line-strong: rgba(233, 255, 241, 0.2);

  --accent: #3BE38A;
  --accent-soft: rgba(59, 227, 138, 0.12);
  --accent-line: rgba(59, 227, 138, 0.34);
  --accent-ink: #03200F;
  --warn: #F0C36B;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 30px 80px -40px rgba(0, 0, 0, 0.85);

  --sans: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --max: 1220px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.71, 0.24, 1);
}

[data-theme="light"] {
  --fg: #0A1A12;
  --fg-muted: #4C6156;
  --fg-faint: #6E8377;
  --bg: var(--paper);
  --bg-1: #FBFAF6;
  --bg-2: var(--paper-1);

  --line: rgba(9, 34, 22, 0.13);
  --line-strong: rgba(9, 34, 22, 0.24);

  --accent: #0A7A4A;
  --accent-soft: rgba(10, 122, 74, 0.09);
  --accent-line: rgba(10, 122, 74, 0.3);
  --accent-ink: #FFFFFF;
  --warn: #9A6B14;

  --shadow-lg: 0 24px 60px -34px rgba(9, 34, 22, 0.28);
}

/* 2. Reset & base ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { border-radius: 2px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-900.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* 3. Layout primitives ----------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide { max-width: 1420px; }
.wrap-narrow { max-width: 820px; }

.section { padding-block: clamp(64px, 9vw, 132px); border-top: 1px solid var(--line); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--flush { border-top: 0; }
.section--alt { background: var(--bg-1); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); }
.split-even { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }

/* 4. Typography ------------------------------------------------------------ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent-line);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.display {
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); letter-spacing: -0.04em; line-height: 1.01; text-wrap: balance; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.9rem); letter-spacing: -0.038em; text-wrap: balance; }
.h3 { font-size: clamp(1.16rem, 1.7vw, 1.45rem); letter-spacing: -0.028em; line-height: 1.2; }
.h4 { font-size: 1.02rem; letter-spacing: -0.02em; line-height: 1.3; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.accent { color: var(--accent); }

.lede {
  font-size: clamp(1.02rem, 1.45vw, 1.24rem);
  line-height: 1.58;
  color: var(--fg-muted);
  max-width: 62ch;
  letter-spacing: -0.012em;
}
.small { font-size: 14px; line-height: 1.6; }
.tiny { font-size: 12.5px; line-height: 1.55; }
.muted { color: var(--fg-muted); }
.faint { color: var(--fg-faint); }
.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.measure { max-width: 68ch; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 58px);
}
.section-head .h2 { margin-top: 18px; }
.section-head p { color: var(--fg-muted); font-size: 15.5px; line-height: 1.62; }
.section-head > :last-child { padding-bottom: 6px; }

.prose p { margin-bottom: 1.05em; color: var(--fg-muted); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg); font-weight: 700; }
.prose em { font-family: var(--serif); font-style: italic; }
.prose a { color: var(--fg); border-bottom: 1px solid var(--accent-line); }
.prose a:hover { color: var(--accent); }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  backdrop-filter: blur(18px) saturate(150%);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(4px)) {
  .site-header { background: var(--bg); }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 40px; width: auto; }
.logo-on-light { display: none; }
[data-theme="light"] .logo-on-dark { display: none; }
[data-theme="light"] .logo-on-light { display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 18px; }
.nav > a,
.nav > .nav-drop > button {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 9px 13px;
  border-radius: 8px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover,
.nav > .nav-drop > button:hover,
.nav > a[aria-current="page"],
.nav > .nav-drop > button[aria-current="page"] { color: var(--fg); background: var(--accent-soft); }
.nav > a[aria-current="page"] { color: var(--accent); }

.nav-drop { position: relative; }
.nav-drop > button svg { transition: transform 0.2s var(--ease); opacity: 0.6; }
.nav-drop[data-open="true"] > button svg { transform: rotate(180deg); }

.drop-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: 620px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 120;
}
.nav-drop[data-open="true"] .drop-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.drop-panel a {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 11px 12px; border-radius: 10px;
  transition: background 0.16s var(--ease);
}
.drop-panel a:hover { background: var(--accent-soft); }
.drop-panel .d-num {
  font-family: var(--mono); font-size: 10.5px; color: var(--accent);
  padding-top: 3px; letter-spacing: 0.06em;
}
.drop-panel .d-name { font-size: 14px; font-weight: 700; letter-spacing: -0.015em; }
.drop-panel .d-desc { font-size: 12.5px; color: var(--fg-faint); line-height: 1.45; margin-top: 2px; }
.drop-foot {
  grid-column: 1 / -1; margin-top: 6px; padding: 12px 14px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--fg-muted);
}
.drop-foot a { color: var(--accent); font-weight: 600; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--fg-muted);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent-line); transform: rotate(-18deg); }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.menu-btn {
  display: none; width: 40px; height: 38px; border-radius: 9px;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  place-items: center; gap: 4px; padding: 0;
}
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--fg); transition: transform 0.22s var(--ease), opacity 0.2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent); z-index: 130; transition: width 0.1s linear;
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 95;
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 24px var(--gutter) 48px;
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer a.d-link {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 19px; font-weight: 500; letter-spacing: -0.02em;
}
.drawer a.d-link small { font-family: var(--mono); font-size: 11px; color: var(--fg-faint); }
.drawer .d-group { margin-top: 26px; }
.drawer .d-group h3 { font-size: 11px; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 8px; font-weight: 500; }
.drawer .d-sub { display: block; padding: 9px 0; font-size: 15px; color: var(--fg-muted); }
.drawer .btn { width: 100%; justify-content: center; margin-top: 24px; }
.drawer .d-contact { margin-top: 22px; font-size: 14px; color: var(--fg-muted); display: grid; gap: 6px; }
.drawer .d-contact a { color: var(--fg); }

body[data-drawer="open"] { overflow: hidden; }

/* 6. Buttons & links ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.24s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px var(--accent-line); }
.btn .arr { transition: transform 0.22s var(--ease); font-weight: 400; }
.btn:hover .arr { transform: translate(3px, -3px); }

.btn-ghost {
  background: transparent; color: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent-line); box-shadow: none; background: var(--accent-soft); }

.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 15.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: gap 0.2s var(--ease), border-color 0.2s;
}
.link-arrow:hover { gap: 13px; border-color: var(--accent-line); }

.section-link {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: clamp(26px, 4vw, 44px);
  font-size: 14px; font-weight: 600; color: var(--fg);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 6px;
  transition: gap 0.2s var(--ease), color 0.2s, border-color 0.2s;
}
.section-link:hover { gap: 18px; color: var(--accent); border-color: var(--accent-line); }
.section-link span { color: var(--accent); }

/* 7. Hero console ---------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 420px at 78% 8%, var(--accent-soft), transparent 70%),
    radial-gradient(560px 380px at 8% 92%, rgba(59, 227, 138, 0.06), transparent 72%);
}
.hero-inner { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin: 22px 0 24px; }
.hero .lede { max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--fg-muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft); flex: none;
}

.console-wrap { position: relative; }
.console {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1) 62%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--fg) 3%, transparent);
}
.console-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.console-bar .dot.on { background: var(--accent); }
.console-bar .c-title {
  margin-left: 6px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint);
}
.console-bar .c-live {
  margin-left: auto; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.console-bar .c-live::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.2s var(--ease) infinite;
}
.console-body { padding: 18px 18px 20px; display: grid; gap: 14px; }
.console-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 12px 10px;
  background: color-mix(in srgb, var(--fg) 2.5%, transparent);
}
.kpi .k-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); }
.kpi .k-value { font-size: 20px; font-weight: 900; letter-spacing: -0.04em; margin-top: 4px; line-height: 1; }
.kpi .k-value small { font-size: 11px; font-weight: 500; color: var(--accent); letter-spacing: 0; margin-left: 3px; }
.kpi .k-bar { height: 3px; border-radius: 2px; background: var(--line); margin-top: 9px; overflow: hidden; }
.kpi .k-bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }

.chart-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px 6px;
  background: color-mix(in srgb, var(--fg) 2%, transparent);
}
.chart-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.chart-top .ct-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); }
.chart-top .ct-val { font-size: 12.5px; font-weight: 700; color: var(--accent); }
.chart-svg { width: 100%; height: 76px; overflow: visible; }

.rank-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rank-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 10px; align-items: center;
  padding: 9px 13px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.rank-row:last-child { border-bottom: 0; }
.rank-row .r-kw { color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rank-row .r-pos {
  font-family: var(--mono); font-size: 11px; color: var(--fg);
  background: var(--accent-soft); color: var(--accent);
  padding: 2px 7px; border-radius: 5px; font-weight: 600;
}
.rank-row .r-delta { font-family: var(--mono); font-size: 10.5px; color: var(--accent); }

.console-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--fg-faint);
}
.console-foot b { color: var(--accent); font-weight: 500; }

.hero-stamp {
  position: absolute; right: -14px; top: -22px;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; z-index: 2;
  box-shadow: 0 18px 40px -18px var(--accent-line);
  animation: spin 22s linear infinite;
}
.hero-stamp svg { width: 100%; height: 100%; }
.hero-stamp text {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  fill: currentColor; text-transform: uppercase; font-weight: 700;
}
.hero-stamp .stamp-arrow {
  position: absolute; font-size: 22px; animation: spin 22s linear infinite reverse;
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 15px;
  background: var(--bg-1);
}
.marquee-track {
  display: flex; gap: 36px; width: max-content;
  animation: slide 42s linear infinite;
}
.marquee-track span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-faint);
  display: inline-flex; align-items: center; gap: 36px; white-space: nowrap;
}
.marquee-track span::after { content: "✳"; color: var(--accent); font-size: 9px; }

/* 8. Cards & grids --------------------------------------------------------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
  padding: clamp(20px, 2.4vw, 30px);
  transition: border-color 0.24s var(--ease), transform 0.28s var(--ease), background 0.24s var(--ease);
  display: flex; flex-direction: column;
  min-height: 100%;
}
a.card:hover, .card--hover:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  background: var(--bg-2);
}
.card-num {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 16px; display: block;
}
.card h3 { margin-bottom: 9px; }
.card p { font-size: 14.5px; line-height: 1.6; color: var(--fg-muted); }
.card-foot {
  margin-top: auto; padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--fg-faint);
}
.card-foot .arr { color: var(--accent); transition: transform 0.22s var(--ease); }
a.card:hover .card-foot .arr { transform: translate(3px, -3px); }

.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.svc-grid .card { padding: 22px 20px; }
.svc-grid .card h3 { font-size: 15.5px; letter-spacing: -0.022em; }
.svc-grid .card p { font-size: 13px; line-height: 1.55; }
.svc-grid .card .card-num { margin-bottom: 12px; }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.work-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-1);
  transition: border-color 0.24s var(--ease), transform 0.3s var(--ease);
}
.work-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.work-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--bg-2);
  display: grid; place-items: center;
}
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.035); }
.work-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border: 1px solid var(--line-strong);
  padding: 5px 9px; border-radius: 5px;
  backdrop-filter: blur(8px);
}
.work-info { padding: 18px 20px 20px; display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }
.work-info h3 { font-size: 16.5px; letter-spacing: -0.026em; line-height: 1.25; }
.work-info p { font-size: 12.5px; color: var(--fg-faint); margin-top: 5px; }
.work-info .arr { color: var(--accent); flex: none; transition: transform 0.22s var(--ease); }
.work-card:hover .work-info .arr { transform: translate(3px, -3px); }

/* Procedural poster (no photos needed) */
.poster {
  width: 100%; height: 100%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  background:
    radial-gradient(90% 70% at 88% 6%, var(--p-accent, #3BE38A) 0%, transparent 62%),
    linear-gradient(150deg, #0B1F17, #06110C 72%);
  color: #F3F7F2;
}
.poster::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,0.055) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
}
.poster-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.poster-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243,247,242,0.66); }
.poster-mark { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: rgba(243,247,242,0.44); }
.poster-title {
  position: relative; z-index: 1;
  font-size: clamp(21px, 2.6vw, 30px); font-weight: 900; letter-spacing: -0.045em;
  line-height: 0.98; text-wrap: balance;
}
.poster-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--p-accent, #3BE38A); }
.poster-bars { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; margin-top: 14px; }
.poster-bars i { display: block; height: 2px; background: rgba(243,247,242,0.16); border-radius: 2px; }
.poster-bars i:nth-child(1) { width: 78%; background: var(--p-accent, #3BE38A); opacity: 0.85; }
.poster-bars i:nth-child(2) { width: 54%; }
.poster-bars i:nth-child(3) { width: 66%; }
.poster-foot {
  position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(243,247,242,0.5);
}

/* Stats / proof */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat {
  padding: 26px clamp(16px, 2.4vw, 30px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  display: block; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 900;
  letter-spacing: -0.05em; line-height: 1; color: var(--fg);
}
.stat strong em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; }
.stat span { display: block; margin-top: 9px; font-size: 13px; line-height: 1.5; color: var(--fg-muted); }

.commit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.commit {
  background: var(--bg-1); padding: clamp(22px, 2.6vw, 32px);
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.2s var(--ease);
}
.commit:hover { background: var(--bg-2); }
.commit svg { color: var(--accent); }
.commit h3 { font-size: 15px; letter-spacing: -0.02em; }
.commit p { font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.step { background: var(--bg); padding: clamp(24px, 3vw, 36px) clamp(18px, 2.4vw, 30px); position: relative; }
.step .n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.step .n i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.55; }
.step .dur { position: absolute; top: clamp(24px, 3vw, 36px); right: clamp(18px, 2.4vw, 30px); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); }

/* Industry chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: 12.5px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--fg-muted);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.chip:hover { color: var(--fg); border-color: var(--accent-line); background: var(--accent-soft); }

/* Insight cards */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.insight {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-1); display: flex; flex-direction: column;
  transition: border-color 0.22s var(--ease), transform 0.26s var(--ease);
}
.insight:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.insight-cover { aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.insight-body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.insight .cat {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 11px;
}
.insight h3 { font-size: 16px; line-height: 1.32; letter-spacing: -0.026em; }
.insight .meta { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--fg-faint); }

/* Filter row */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3.5vw, 38px); }
.filter-btn {
  font-size: 12.5px; font-weight: 500; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--fg-muted);
  cursor: pointer; transition: all 0.18s var(--ease);
}
.filter-btn:hover { color: var(--fg); border-color: var(--accent-line); }
.filter-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.is-hidden { display: none !important; }

/* 9. Page furniture -------------------------------------------------------- */
.page-hero {
  padding-block: clamp(38px, 5vw, 68px) clamp(34px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(680px 320px at 84% 0%, var(--accent-soft), transparent 72%);
}
.page-hero > .wrap { position: relative; }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-faint); margin-bottom: 22px;
}
.crumbs a { color: var(--fg-faint); transition: color 0.18s; }
.crumbs a:hover { color: var(--accent); }
.crumbs span.sep { opacity: 0.45; }
.crumbs [aria-current="page"] { color: var(--fg-muted); }
.page-hero h1 { margin-bottom: 20px; max-width: 22ch; }
.page-hero .lede { max-width: 58ch; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.meta-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border-block: 1px solid var(--line);
  margin-top: clamp(32px, 4.5vw, 54px);
}
.meta-strip > div { background: var(--bg); padding: 18px 20px; }
.meta-strip dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 7px; }
.meta-strip dd { margin: 0; font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; }

/* Bullet list */
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.checklist li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.5; color: var(--fg-muted);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.checklist li svg { flex: none; margin-top: 3px; color: var(--accent); }
.checklist--tight { grid-template-columns: 1fr; }

.deliverables { display: grid; gap: 0; border-top: 1px solid var(--line); }
.deliverables li {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.deliverables .d-idx { font-family: var(--mono); font-size: 10.5px; color: var(--accent); letter-spacing: 0.1em; }
.deliverables .d-note { font-size: 12.5px; color: var(--fg-faint); text-align: right; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.018em; line-height: 1.42;
  transition: color 0.18s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .plus { flex: none; position: relative; width: 16px; height: 16px; margin-top: 4px; }
.faq summary .plus::before,
.faq summary .plus::after {
  content: ""; position: absolute; background: currentColor; border-radius: 1px;
  transition: transform 0.24s var(--ease), opacity 0.2s;
}
.faq summary .plus::before { left: 0; top: 7px; width: 16px; height: 1.5px; }
.faq summary .plus::after { left: 7px; top: 0; width: 1.5px; height: 16px; }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq details[open] summary { color: var(--fg); }
.faq .faq-a { padding: 0 0 22px; max-width: 74ch; }
.faq .faq-a p { font-size: 14.5px; line-height: 1.68; color: var(--fg-muted); }

/* CTA block */
.cta {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 24px;
  padding: clamp(32px, 5.5vw, 72px);
  background:
    radial-gradient(680px 320px at 88% 0%, var(--accent-soft), transparent 68%),
    var(--bg-1);
  margin-block: clamp(48px, 7vw, 92px);
}
.cta h2 { max-width: 20ch; margin: 16px 0 18px; }
.cta p { max-width: 54ch; color: var(--fg-muted); font-size: 15.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-line { margin-top: 26px; font-size: 13px; color: var(--fg-faint); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cta-line a { color: var(--fg); border-bottom: 1px solid var(--line-strong); }
.cta-line a:hover { color: var(--accent); border-color: var(--accent-line); }

/* Article */
.article-head { max-width: 830px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  margin-top: 24px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint);
}
.article-meta .cat { color: var(--accent); }
.article-layout {
  display: grid; grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 28px); }
.toc h2 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 14px; font-weight: 500; }
.toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc ol a {
  display: block; padding: 5px 0 5px 14px; margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 12.5px; line-height: 1.45; color: var(--fg-faint);
  transition: color 0.18s, border-color 0.18s;
}
.toc ol a:hover { color: var(--fg-muted); }
.toc ol a.active { color: var(--accent); border-left-color: var(--accent); }
.toc ol a.lvl3 { padding-left: 26px; font-size: 12px; }
.toc > .btn { margin-top: 20px; }

.article-body { max-width: 74ch; }
.article-body h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem); margin: clamp(38px, 5vw, 56px) 0 16px;
  letter-spacing: -0.032em; scroll-margin-top: calc(var(--header-h) + 28px);
}
.article-body h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.24rem); margin: 30px 0 12px;
  letter-spacing: -0.024em; scroll-margin-top: calc(var(--header-h) + 28px);
}
.article-body h2:first-child, .article-body h3:first-child { margin-top: 0; }
.article-body p { margin-bottom: 1.15em; font-size: 16.5px; line-height: 1.72; color: var(--fg-muted); }
.article-body > p:first-of-type { font-size: 18.5px; line-height: 1.66; color: var(--fg); }
.article-body strong { color: var(--fg); font-weight: 700; }
.article-body em { font-family: var(--serif); font-style: italic; }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 0; display: grid; gap: 10px; }
.article-body ul li {
  position: relative; padding-left: 20px; font-size: 16px; line-height: 1.66; color: var(--fg-muted);
}
.article-body ul li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.article-body ol { counter-reset: li; }
.article-body ol li {
  position: relative; padding-left: 30px; font-size: 16px; line-height: 1.66; color: var(--fg-muted);
  counter-increment: li;
}
.article-body ol li::before {
  content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 1px;
  font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.06em;
}
.article-body blockquote {
  margin: 30px 0; padding: 24px 28px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 12px 12px 0;
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.6;
}
.article-body blockquote p { color: var(--fg); font-size: inherit; margin-bottom: 0; font-family: inherit; }
.article-body hr { margin: 34px 0; }
.article-body a { color: var(--fg); border-bottom: 1px solid var(--accent-line); }
.article-body a:hover { color: var(--accent); }
.article-body table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14.5px; }
.article-body th, .article-body td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.article-body th { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); font-weight: 500; }
.article-body td { color: var(--fg-muted); }

.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: clamp(40px, 5vw, 60px); padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1);
}
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 900; font-size: 16px; letter-spacing: -0.04em;
}
.author-box h3 { font-size: 14.5px; margin-bottom: 5px; }
.author-box p { font-size: 13px; color: var(--fg-muted); line-height: 1.55; }

/* 10. Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 13px 15px; color: var(--fg); font-family: inherit; font-size: 14.5px;
  transition: border-color 0.18s, background 0.18s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg-1); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #E4574C; }
.field-error { font-size: 12px; color: #F08A80; min-height: 0; display: none; }
.field-error.show { display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--fg-faint); line-height: 1.55; }
.form-status { font-size: 13.5px; padding: 12px 14px; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--fg); }

.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  background: var(--bg-1); transition: border-color 0.2s, background 0.2s;
}
.contact-card:hover { border-color: var(--accent-line); background: var(--bg-2); }
.contact-card .cc-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 8px; }
.contact-card .cc-value { font-size: 14.5px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.45; }
.contact-card .cc-note { font-size: 12px; color: var(--fg-faint); margin-top: 6px; }
.contact-card svg { color: var(--accent); margin-bottom: 12px; }

/* 12. Footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-1); padding-top: clamp(44px, 6vw, 76px); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr));
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.footer-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--fg-muted); max-width: 34ch; line-height: 1.6; }
.footer h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 14px; font-weight: 500; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { font-size: 13.5px; color: var(--fg-muted); transition: color 0.18s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-block: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--fg-faint);
}
.footer-bottom a { color: var(--fg-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-nap { font-size: 12.5px; color: var(--fg-faint); line-height: 1.6; margin-top: 14px; }

/* 13. Motion & utilities --------------------------------------------------- */
[data-reveal] { transition: opacity 0.62s var(--ease), transform 0.62s var(--ease); }
.js [data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.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;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 36px; }
.stack { display: grid; gap: 14px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 18px; border-radius: 12px;
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  font-size: 13.5px; line-height: 1.6; color: var(--fg-muted);
}
.notice svg { color: var(--accent); flex: none; margin-top: 2px; }
.notice strong { color: var(--fg); }

.price-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-row {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.price-row:last-child { border-bottom: 0; }
.price-row.head { background: var(--bg-2); }
.price-row.head div { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); }
.price-row .p-name { font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; }
.price-row .p-band { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.price-row .p-note { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }

.timeline-note { border-left: 1px solid var(--line); padding-left: 20px; }
.timeline-note h3 { font-size: 14px; margin-bottom: 6px; }
.timeline-note p { font-size: 13.5px; color: var(--fg-muted); }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat { padding-left: clamp(16px, 2.4vw, 30px); }
  .stat:nth-child(odd) { padding-left: 0; }
  .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 4px 18px; border-left: 0; }
  .toc a { border-left: 0; padding-left: 0; border-bottom: 1px solid transparent; }
  .toc ol a.active { border-bottom-color: var(--accent); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header-actions .btn { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-copy, .hero-visual, .console-wrap, .console { min-width: 0; }
  .hero-stamp { right: 0; top: -18px; width: 76px; height: 76px; }
  .split, .split-even { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head > :last-child { padding-bottom: 0; }
  .meta-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .price-row.head { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .svc-grid, .work-grid, .insight-grid, .commit-grid, .process { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .cta { padding: 26px 20px; border-radius: 18px; }
  .hero-stamp { display: none; }
  .console-kpis { grid-template-columns: 1fr 1fr; }
  .kpi:last-child { display: none; }
  .deliverables li { grid-template-columns: 32px minmax(0, 1fr); }
  .deliverables .d-note { grid-column: 2; text-align: left; }
  .marquee-track { animation-duration: 26s; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-actions .btn, .page-hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .footer, .cta, .hero-stamp, .progress-bar, .drawer { display: none; }
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
