/* PROS11 — design tokens and layout */
:root {
  --bg: oklch(0.985 0.005 80);
  --bg-soft: oklch(0.965 0.008 80);
  --bg-deep: oklch(0.94 0.01 80);
  --ink: oklch(0.18 0.01 80);
  --ink-soft: oklch(0.36 0.01 80);
  --ink-mute: oklch(0.55 0.01 80);
  --line: oklch(0.85 0.01 80);
  --line-soft: oklch(0.92 0.008 80);
  --accent: oklch(0.42 0.15 264);
  --accent-soft: oklch(0.42 0.15 264 / 0.10);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --gap: clamp(20px, 3vw, 40px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;

  --t-fast: 220ms cubic-bezier(.2,.7,.2,1);
  --t-mid: 480ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 900ms cubic-bezier(.2,.7,.2,1);
}

/* palette presets */
[data-palette="indigo"]  { --accent: oklch(0.42 0.15 264); }
[data-palette="orange"]  { --accent: oklch(0.62 0.17 50); }
[data-palette="emerald"] { --accent: oklch(0.55 0.13 158); }
[data-palette="ink"]     { --accent: oklch(0.20 0.02 80); }

/* density */
[data-density="compact"] { --pad: clamp(16px, 3vw, 40px); --gap: clamp(14px, 2vw, 28px); }
[data-density="comfy"]   { --pad: clamp(24px, 5vw, 80px); --gap: clamp(28px, 4vw, 56px); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }

.accent { color: var(--accent); font-style: italic; font-family: var(--f-display); font-weight: 500; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.brand-mark { display: inline-flex; flex-direction: column; gap: 1px; line-height: 1; text-decoration: none; }
.brand-mark .accent { font-style: normal; font-family: inherit; color: var(--accent); }
.brand-mark .bm-name { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--ink); }
.brand-mark .bm-tag { font-size: 9px; color: var(--ink-mute); letter-spacing: 0.06em; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-soft); transition: color var(--t-fast); }
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switcher {
  display: inline-flex; gap: 0; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  font-family: var(--f-mono); font-size: 11px;
}
.lang-switcher button {
  appearance: none; border: 0; background: transparent;
  padding: 6px 10px; cursor: pointer; color: var(--ink-mute); letter-spacing: 0.06em;
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-switcher button:hover { color: var(--ink); }
.lang-switcher button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ============ HERO ============ */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--gap);
  align-items: center;
  padding: clamp(28px, 4vw, 70px) var(--pad) clamp(36px, 5vw, 90px);
  min-height: clamp(480px, 68vh, 720px);
  position: relative;
  overflow: hidden;
}
.hero-editorial { grid-template-columns: 1fr; }
.hero-editorial .hero-grid { max-width: min(960px, 100%); }
.hero-grid { display: flex; flex-direction: column; gap: 22px; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ink-mute); }

.hero-title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;
}
.hero-title .amp { font-style: italic; font-weight: 300; color: var(--ink-mute); }
.hero-title .reveal { display: block; }

.hero-lede {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer; transition: all var(--t-fast);
  font-family: var(--f-body);
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--bg); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(4px); }

.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; opacity: 0.8; }
.hero-meta .dot { color: var(--line); }

/* hero-terminal */
.terminal-card {
  background: oklch(0.18 0.01 80);
  color: oklch(0.92 0.005 80);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid oklch(0.25 0.01 80);
  box-shadow: 0 30px 80px -30px oklch(0.18 0.01 80 / 0.35), 0 1px 0 oklch(1 0 0 / 0.04) inset;
  font-family: var(--f-mono);
  min-height: 380px;
  display: flex; flex-direction: column;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid oklch(0.25 0.01 80);
  background: oklch(0.20 0.01 80);
}
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.terminal-bar .dot.r { background: oklch(0.65 0.18 25); }
.terminal-bar .dot.y { background: oklch(0.78 0.13 80); }
.terminal-bar .dot.g { background: oklch(0.70 0.13 145); }
.terminal-title { margin-left: 10px; font-size: 11px; color: oklch(0.65 0.01 80); }
.terminal-status { margin-left: auto; font-size: 10px; color: oklch(0.70 0.13 145); display: inline-flex; align-items: center; gap: 6px; }
.terminal-status .led { width: 7px; height: 7px; border-radius: 999px; background: oklch(0.70 0.13 145); animation: pulse 1.6s infinite; }

.terminal-body { padding: 18px; font-size: 12.5px; line-height: 1.7; flex: 1; overflow: hidden; }
.t-block { margin-bottom: 14px; }
.t-line { white-space: nowrap; }
.t-prompt { color: oklch(0.78 0.13 145); }
.t-cwd { color: oklch(0.78 0.13 220); }
.t-arrow { color: oklch(0.6 0.01 80); margin-right: 6px; }
.t-out { color: oklch(0.7 0.01 80); padding-left: 14px; }
.caret { display: inline-block; animation: blink 0.9s infinite; color: oklch(0.92 0.005 80); }

@keyframes blink { 0%,49% {opacity:1} 50%,100% {opacity:0} }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

/* hero-pitch */
.pitch-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 40px);
  background: var(--bg-soft);
  color: var(--ink-soft);
}
.pitch-svg { width: 100%; height: auto; display: block; }
.pitch-lbl { font-size: 9px; fill: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase; }
.pitch-node { animation: nodeIn 700ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes nodeIn { from { opacity: 0; transform: scale(0.6); transform-origin: center; } to { opacity: 1; transform: scale(1); } }
.pulse {
  transform-origin: 360px 120px;
  animation: pulseRing 2.4s infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.6); opacity: 0; }
}
.pitch-links line { stroke-dasharray: 200; stroke-dashoffset: 200; animation: drawLine 1.4s var(--delay,0s) forwards; }
.pitch-links line:nth-child(1) { animation-delay: 0.2s; }
.pitch-links line:nth-child(2) { animation-delay: 0.5s; }
.pitch-links line:nth-child(3) { animation-delay: 0.8s; }
.pitch-links line:nth-child(4) { animation-delay: 1.0s; }
.pitch-links line:nth-child(5) { animation-delay: 1.2s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* ============ SECTIONS ============ */
.section {
  padding: clamp(48px, 5vw, 72px) var(--pad);
  border-top: 1px solid var(--line-soft);
}
.section-head { max-width: var(--maxw); margin: 0 auto 28px; }
.eyebrow { display: block; margin-bottom: 10px; }
.section-title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  max-width: 22ch;
  text-wrap: balance;
}
.section-sub {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}
.section-sub-wide { max-width: 78ch; }

/* products */
.products-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft);
}
.product-card {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch;
  padding: clamp(22px, 2.6vw, 34px);
  border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  min-height: 280px;
  transition: background var(--t-fast);
}
.product-card:hover { background: var(--bg-soft); }
.pc-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pc-mock { display: flex; align-items: center; min-width: 0; }
.pc-mock .mockup { width: 100%; }
.pc-tag { color: var(--accent); }
.pc-name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.pc-line { color: var(--ink-soft); margin: 0; max-width: 50ch; flex: 1; font-size: 14px; line-height: 1.5; }

@media (max-width: 900px) {
  .product-card { grid-template-columns: 1fr; }
}

/* in-card mockups */
.mockup {
  width: 100%;
  background: oklch(0.99 0.005 80);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 9px;
  color: var(--ink);
  box-shadow: 0 2px 12px oklch(0 0 0 / 0.04);
}
.mock-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
  font-size: 8px;
}
.mock-dot { width: 5px; height: 5px; border-radius: 999px; background: var(--line); }
.mock-title { color: var(--ink-mute); }
.mock-status { margin-left: auto; color: var(--accent); font-size: 7.5px; }

/* CRM pipeline mock */
.crm-pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 8px; }
.crm-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.crm-col-head { display: flex; justify-content: space-between; align-items: center; font-size: 8px; }
.crm-stage { color: var(--ink); letter-spacing: 0.05em; text-transform: uppercase; }
.crm-count { color: var(--ink-mute); font-size: 8px; }
.crm-bar { height: 2px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.crm-bar-fill { height: 100%; background: var(--accent); }
.crm-deals { display: flex; flex-direction: column; gap: 3px; }
.crm-deal {
  background: var(--bg-soft);
  border-left: 2px solid var(--line);
  padding: 4px 5px;
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 1px;
}
.crm-deal.d-i { border-left-color: var(--accent); }
.crm-deal.d-w { border-left-color: oklch(0.55 0.18 145); background: oklch(0.95 0.04 145); }
.crm-deal.d-n { border-left-color: var(--line); opacity: 0.65; }
.cd-name { font-size: 8.5px; font-weight: 500; }
.cd-val { font-size: 7.5px; color: var(--ink-mute); }
.mock-rows { display: flex; flex-direction: column; }
.mock-row {
  display: grid; grid-template-columns: 18px 1fr auto;
  gap: 6px; align-items: center;
  padding: 5px 8px;
  border-bottom: 1px solid var(--line-soft);
}
.mock-row:last-child { border-bottom: none; }
.mock-avatar {
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--bg-deep); color: var(--ink);
  display: grid; place-items: center;
  font-size: 7px; font-family: var(--f-mono);
}
.mock-name { font-size: 9px; font-weight: 500; }
.mock-snippet { font-size: 8px; color: var(--ink-mute); }
.mock-chip {
  font-size: 7px; padding: 2px 6px; border-radius: 999px;
  border: 1px solid var(--line);
}
.chip-i { color: var(--accent); border-color: var(--accent); }
.chip-n { color: oklch(0.55 0.12 25); border-color: oklch(0.55 0.12 25 / 0.4); }
.chip-o { color: var(--ink-mute); }

/* IAMScouting Camelot Wheel */
.mockup-camelot { background: oklch(0.99 0.005 80); }
.camelot-body { padding: 8px 8px 6px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.camelot-svg { width: 100%; max-width: 200px; display: block; }
.camelot-legend { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 7.5px; color: var(--ink-mute); }
.cl-i { display: inline-flex; align-items: center; gap: 4px; }
.cl-d { width: 6px; height: 6px; border-radius: 999px; }

/* MAXXL sequence */
.seq-track {
  display: flex; gap: 4px;
  padding: 10px 8px;
  overflow: hidden;
}
.seq-step {
  flex: 1; min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 5px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--bg-soft);
}
.seq-num { font-size: 7px; color: var(--accent); }
.seq-t { font-size: 9px; font-weight: 500; }
.seq-m { font-size: 7px; color: var(--ink-mute); }

/* Skynet graph */
.mockup-graph .graph-svg { width: 100%; padding: 6px; color: var(--accent); display: block; }

/* ============ STAKEHOLDERS ============ */
.section-stake { background: var(--bg-soft); }
.stake-tabs {
  max-width: var(--maxw); margin: 0 auto 24px;
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stake-tab {
  flex: 1 1 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: none; border: none;
  border-right: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  font-size: 11px;
  color: var(--ink-mute);
  transition: background var(--t-fast), color var(--t-fast);
}
.stake-tab:last-child { border-right: none; }
.stake-tab:hover { background: var(--bg); color: var(--ink); }
.stake-tab.is-active { background: var(--ink); color: var(--bg); }
.stake-tab.is-active .stake-tab-num { color: var(--accent); }
.stake-tab-num { font-size: 10px; opacity: 0.6; }
.stake-tab-label { font-size: 12px; letter-spacing: 0.04em; }

.stake-chips {
  max-width: var(--maxw); margin: 0 auto 28px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.stake-chip {
  font-size: 10px; padding: 5px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-soft); background: var(--bg);
  letter-spacing: 0.04em;
}

.stake-panels {
  max-width: var(--maxw); margin: 0 auto;
  position: relative;
  min-height: 360px;
}
.stake-panel {
  display: none;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.stake-panel.is-active { display: grid; }
.stake-panel-l { display: flex; flex-direction: column; gap: 14px; }
.stake-tag { color: var(--accent); font-size: 11px; }
.stake-t {
  font-family: var(--f-display); font-weight: 350;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1; letter-spacing: -0.01em;
  margin: 0;
}
.stake-d { color: var(--ink-soft); margin: 0; max-width: 50ch; line-height: 1.55; }
.stake-foot {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute); font-size: 11px; line-height: 1.5;
  max-width: 50ch;
}
.stake-panel-r { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }

/* stake mockups */
.fed-rows, .sd-rows, .agency-feed { display: flex; flex-direction: column; }
.fed-row, .sd-row, .ag-row {
  display: grid; gap: 8px; align-items: center;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 10px;
}
.fed-row { grid-template-columns: 1fr auto auto; }
.fed-row:last-child, .sd-row:last-child, .ag-row:last-child { border-bottom: none; }
.fed-tier { font-weight: 500; }
.fed-status.mono { color: var(--ink-mute); font-size: 9px; }
.fed-count { color: var(--accent); font-size: 9px; }

.sd-row { grid-template-columns: 1fr 1fr auto auto auto; font-size: 9px; }
.sd-name { font-weight: 500; font-size: 10px; }
.sd-meta { color: var(--ink-mute); font-size: 8.5px; }
.sd-fit { color: var(--accent); }
.sd-val, .sd-c { color: var(--ink-mute); font-size: 8.5px; }

.ag-row { grid-template-columns: auto 1fr auto; font-size: 10px; }
.ag-prio { font-size: 8px; padding: 2px 6px; border-radius: 4px; }
.pri-high .ag-prio { background: var(--accent); color: var(--bg); }
.pri-med  .ag-prio { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.pri-low  .ag-prio { background: transparent; color: var(--ink-mute); border: 1px solid var(--line); }
.ag-time { color: var(--ink-mute); font-size: 8.5px; }

.academy-funnel { display: flex; flex-direction: column; gap: 5px; padding: 10px; }
.ac-step { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.ac-bar {
  height: 14px;
  width: calc(var(--w) * 100%);
  background: linear-gradient(90deg, var(--accent), oklch(from var(--accent) l c h / 0.4));
  border-radius: 3px;
}
.ac-label { font-size: 9px; color: var(--ink-mute); white-space: nowrap; }

.pl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.pl-cell { border: 1px solid var(--line-soft); border-radius: 6px; padding: 10px; }
.pl-label { font-size: 8.5px; color: var(--ink-mute); margin-bottom: 4px; }
.pl-val { font-family: var(--f-display); font-size: 22px; line-height: 1; }
.pl-rank { font-size: 8.5px; color: var(--accent); margin-top: 4px; }

/* hero tightening */
.hero { padding: clamp(20px, 2.5vw, 48px) var(--pad) clamp(28px, 3vw, 64px); min-height: clamp(420px, 60vh, 620px); }

/* services */
.services-list {
  max-width: var(--maxw); margin: 0 auto;
  list-style: none; padding: 0;
  border-top: 1px solid var(--line-soft);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 40px;
  gap: 24px;
  padding: clamp(16px, 2vw, 24px) 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line-soft);
  cursor: default;
  transition: background var(--t-fast), padding var(--t-fast);
}
.service-row:hover { background: var(--bg-soft); padding-left: 12px; padding-right: 12px; }
.service-row:hover .sr-arrow { color: var(--accent); transform: translateX(4px); }
.sr-num { color: var(--ink-mute); font-size: 12px; }
.sr-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.01em;
}
.sr-desc { color: var(--ink-soft); font-size: 15px; }
.sr-arrow { color: var(--ink-mute); transition: transform var(--t-fast), color var(--t-fast); text-align: right; font-size: 18px; }

/* sports / pillars */
.section-sports { background: var(--bg-soft); }
.pillars {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
}
.pillar {
  border-top: 1px solid var(--ink);
  padding: 16px 0 0;
}
.pillar-num { margin-bottom: 18px; color: var(--ink-mute); }
.pillar-t {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pillar-d { color: var(--ink-soft); font-size: 15px; max-width: 36ch; }

/* approach */
.approach-list {
  max-width: 920px; margin: 0 auto;
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0;
}
.approach-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}
.approach-step:last-child { border-bottom: 1px solid var(--line-soft); }
.as-num { color: var(--accent); font-size: 12px; padding-top: 6px; }
.as-t { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2vw, 28px); margin-bottom: 6px; letter-spacing: -0.01em; }
.as-d { color: var(--ink-soft); max-width: 56ch; }

/* contact */
.section-contact { background: var(--ink); color: oklch(0.92 0.005 80); border-top: 0; }
.section-contact .section-title { color: inherit; }
.section-contact .section-sub { color: oklch(0.72 0.005 80); }
.section-contact .eyebrow.mono { color: oklch(0.72 0.005 80); }
.contact-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact-mail {
  display: inline-block;
  font-family: var(--f-display);
  font-size: clamp(28px, 3.5vw, 44px);
  margin: 24px 0 18px;
  border-bottom: 1px solid oklch(0.4 0.01 80);
  padding-bottom: 4px;
  font-weight: 350;
}
.contact-mail:hover { color: var(--accent); border-color: var(--accent); }
.contact-meta { color: oklch(0.7 0.005 80); display: flex; gap: 10px; flex-wrap: wrap; }
.contact-meta .dot { color: oklch(0.4 0.01 80); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form span {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(0.7 0.005 80);
}
.contact-form input, .contact-form textarea {
  background: transparent;
  border: 0; border-bottom: 1px solid oklch(0.35 0.01 80);
  padding: 8px 0;
  font-family: var(--f-body);
  font-size: 16px;
  color: oklch(0.95 0.005 80);
  outline: none;
  transition: border-color var(--t-fast);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.contact-form .btn-primary { align-self: flex-start; background: oklch(0.95 0.005 80); color: var(--ink); border-color: oklch(0.95 0.005 80); margin-top: 8px; }
.contact-form .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: white; }
.contact-form .btn-primary:disabled { opacity: 0.6; cursor: wait; }

.contact-form .captcha-q { font-family: var(--f-mono); font-size: 13px; color: oklch(0.95 0.005 80); letter-spacing: 0; text-transform: none; margin-left: 6px; }
.contact-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-error { color: oklch(0.78 0.16 28); margin-top: 4px; font-size: 11px; }
.contact-ok { color: oklch(0.78 0.16 145); margin-top: 4px; font-size: 11px; }

/* footer */
.site-footer {
  padding: clamp(32px, 4vw, 56px) var(--pad);
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
}
.ft-row { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: var(--gap); margin-bottom: 32px; }
.ft-tagline { color: var(--ink-soft); margin: 12px 0 0; max-width: 32ch; font-size: 14px; }
.ft-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.ft-cols > div { display: flex; flex-direction: column; gap: 8px; }
.ft-h { color: var(--ink-mute); margin-bottom: 8px; }
.ft-cols a { font-size: 14px; color: var(--ink-soft); }
.ft-cols a:hover { color: var(--accent); }
.ft-bot {
  max-width: var(--maxw); margin: 0 auto;
  padding-top: 24px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-mute); font-size: 11px;
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 100;
  background: var(--ink); color: oklch(0.92 0.005 80);
  border: 1px solid oklch(0.3 0.01 80);
  border-radius: var(--r-md);
  box-shadow: 0 20px 60px -20px oklch(0 0 0 / 0.5);
  max-width: 880px; margin: 0 auto;
}
.cb-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 18px;
  padding: 18px 22px;
  align-items: start;
}
.cb-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cb-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: 17px; letter-spacing: -0.01em;
  color: oklch(0.95 0.005 80);
}
.cb-body { margin: 0; font-size: 13px; line-height: 1.5; color: oklch(0.78 0.005 80); max-width: 64ch; }
.cb-link {
  appearance: none; background: transparent; border: 0;
  padding: 0; align-self: flex-start;
  color: var(--accent); font-size: 11px; cursor: pointer;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cb-link:hover { color: oklch(0.95 0.005 80); }
.cb-details {
  list-style: none; padding: 8px 0 4px; margin: 4px 0 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: oklch(0.78 0.005 80);
  border-top: 1px solid oklch(0.3 0.01 80);
}
.cb-details strong { color: oklch(0.92 0.005 80); font-weight: 500; }
.cb-actions { display: flex; gap: 10px; flex-shrink: 0; align-items: flex-start; }
.cb-btn { padding: 9px 16px; font-size: 13px; }
.cookie-banner .btn-ghost { color: oklch(0.92 0.005 80); border-color: oklch(0.4 0.01 80); }
.cookie-banner .btn-ghost:hover { border-color: oklch(0.92 0.005 80); color: oklch(1 0 0); }
.cookie-banner .btn-primary { background: oklch(0.95 0.005 80); color: var(--ink); border-color: oklch(0.95 0.005 80); }
.cookie-banner .btn-primary:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.cookie-reopen {
  position: fixed; left: 16px; bottom: 16px;
  z-index: 60;
  appearance: none; background: var(--ink); color: oklch(0.92 0.005 80);
  border: 1px solid oklch(0.3 0.01 80);
  padding: 6px 12px; border-radius: 999px;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; opacity: 0.7;
  transition: opacity var(--t-fast);
}
.cookie-reopen:hover { opacity: 1; }

@media (max-width: 700px) {
  .cb-inner { grid-template-columns: 1fr; }
  .cb-actions { flex-wrap: wrap; }
  .cb-btn { flex: 1; }
}

/* ============ REVEAL ANIMATIONS (always-visible; kept class hooks) ============ */
.reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: clamp(40px, 8vw, 80px); }
  .hero-title { font-size: clamp(36px, 9vw, 64px); }
  .products-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 50px 1fr 30px; }
  .service-row .sr-desc { grid-column: 1 / -1; }
  .pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ft-row { grid-template-columns: 1fr; }
  .ft-cols { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .terminal-card { min-height: 320px; }
}
