/* ==========================================================================
   Alpha Digital Group — Core Stylesheet
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Header & navigation
   6.  Buttons & links
   7.  Hero & page hero
   8.  Cards & grids
   9.  Section components (process, split, leaders, CTA, stages, portfolio…)
   10. Forms
   11. Prose (legal / article pages)
   12. Footer
   13. Utilities
   14. Motion & reduced motion
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  /* Dark palette */
  --bg: #07090e;
  --bg-2: #0b0f17;
  --surface: #0f1420;
  --surface-2: #151b29;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.28);
  --text: #f4f5f7;
  --text-2: #c3c9d4;
  --muted: #8f98a9;

  /* Accent — a restrained brass/gold used sparingly for emphasis */
  --accent: #d6b36a;
  --accent-hi: #ebcc8a;
  --accent-soft: rgba(214, 179, 106, 0.1);
  --accent-line: rgba(214, 179, 106, 0.32);
  --accent-ink: #0b0b0c;

  /* Light palette (contrast sections) */
  --paper: #f3f1ec;
  --paper-2: #e9e6de;
  --ink: #0b0e15;
  --ink-2: #444b59;
  --ink-line: rgba(11, 14, 21, 0.12);
  --accent-deep: #7a5b1f;

  --danger: #f0a3a3;
  --success: #9fd8b5;

  /* Type */
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Geometry */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 144px);
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.35s;
}

/* 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;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--light :focus-visible,
.cta-panel :focus-visible { outline-color: var(--accent-deep); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.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;
}

/* 3. TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -0.038em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.18rem, 1.5vw, 1.35rem); letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-size: clamp(2.75rem, 7.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.display em,
h1 em,
h2 em {
  font-style: normal;
  color: var(--accent);
}
.section--light h2 em,
.cta-panel h2 em { color: var(--accent-deep); }

.lead {
  font-size: clamp(1.125rem, 1.45vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 60ch;
}
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.measure { max-width: 64ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  margin: 0 0 1.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.section--light .eyebrow,
.cta-panel .eyebrow { color: var(--accent-deep); }

.tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
}
.tagline li { display: inline-flex; align-items: center; gap: 0.9rem; }
.tagline li + li::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.tagline li:last-child { color: var(--accent); }

/* 4. LAYOUT PRIMITIVES --------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.container--wide { max-width: calc(1400px + var(--gutter) * 2); }

.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--flush-top { padding-top: 0; }
.section--alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section--light {
  background: var(--paper);
  color: var(--ink);
}
.section--light .lead,
.section--light p { color: var(--ink-2); }
.section--light h2,
.section--light h3 { color: var(--ink); }

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lead { margin-inline: auto; }

@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
    gap: 3rem;
  }
  .section-head--split .lead { justify-self: end; margin: 0; }
}

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stack > * + * { margin-top: 1rem; }

/* 5. HEADER & NAVIGATION ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(7, 9, 14, 0.7);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur), border-color var(--dur);
}
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(7, 9, 14, 0.92);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text);
}
.logo__mark { width: 36px; height: 36px; color: var(--accent); flex-shrink: 0; }
.logo__text {
  display: flex;
  flex-direction: column;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.logo__text small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.55rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link[aria-current="page"],
.nav__link.is-active { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .header-cta { display: none; white-space: nowrap; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.nav-toggle:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.04); }
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5.25px; }
.nav-toggle__bars span:nth-child(3) { top: 10.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

/* Mobile navigation panel (sibling of header — not inside it — so that
   position:fixed isn't affected by the header's backdrop-filter) */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) 32px;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
}
.mobile-nav__list { margin: 0 0 28px; padding: 0; list-style: none; }
.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  font-size: clamp(1.35rem, 5.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.3s var(--ease);
}
.mobile-nav__list a span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mobile-nav__list a:hover,
.mobile-nav__list a[aria-current="page"] { color: var(--text); padding-left: 6px; }
.mobile-nav__list a[aria-current="page"] span { color: var(--accent); }
.mobile-nav__actions { display: grid; gap: 12px; margin-bottom: 28px; }
.mobile-nav__meta { margin-top: auto; font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

@media (min-width: 560px) {
  .header-actions .header-cta { display: inline-flex; }
}
@media (min-width: 1240px) {
  .nav { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* 6. BUTTONS & LINKS ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.8rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn:active { transform: translateY(0) scale(0.985); }
.btn__icon { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover {
  background: var(--accent-hi);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -12px rgba(214, 179, 106, 0.6);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.06); transform: translateY(-1px); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1b2130; transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(11, 14, 21, 0.6); }

.btn--outline-dark { border-color: rgba(11, 14, 21, 0.25); color: var(--ink); background: transparent; }
.btn--outline-dark:hover { border-color: var(--ink); transform: translateY(-1px); }

.btn--sm { min-height: 42px; padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) {
  .btn-row--stack .btn { flex: 1 1 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.25s var(--ease), color 0.2s;
}
.text-link svg { width: 15px; height: 15px; }
.text-link:hover { gap: 0.7rem; color: var(--accent-hi); }
.section--light .text-link { color: var(--accent-deep); }
.section--light .text-link:hover { color: var(--ink); }

/* 7. HERO & PAGE HERO ---------------------------------------------------- */
.bg-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 20%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 70% at 70% 20%, #000 15%, transparent 72%);
  opacity: 0.55;
}
.glow {
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(214, 179, 106, 0.16) 0%, rgba(214, 179, 106, 0.04) 38%, transparent 66%);
}
.glow--cool { background: radial-gradient(circle, rgba(92, 122, 180, 0.16) 0%, transparent 62%); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 112px) clamp(56px, 7vw, 96px);
}
.hero .glow { top: -260px; right: -200px; }
.hero .glow--cool { top: auto; bottom: -420px; left: -320px; right: auto; }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero__title { margin-bottom: 1.6rem; max-width: 13ch; }
.hero__lead { margin-bottom: 2.4rem; }
@media (min-width: 1040px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; }
}

/* Hero visual — abstract portfolio map (inline SVG) */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}
.hero-visual svg { width: 100%; height: auto; overflow: visible; }
.hv-ring { fill: none; stroke: rgba(255, 255, 255, 0.07); }
.hv-ring--dash { stroke-dasharray: 2 7; stroke: rgba(214, 179, 106, 0.28); }
.hv-link { fill: none; stroke: rgba(214, 179, 106, 0.45); stroke-width: 1.2; stroke-dasharray: 3 6; }
.hv-node rect { fill: #0f1420; stroke: rgba(255, 255, 255, 0.14); }
.hv-node .hv-dot { fill: var(--accent); }
.hv-label { fill: var(--text); font-family: var(--font); font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.hv-sub { fill: var(--muted); font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; }
.hv-hub-outer { fill: #0f1420; stroke: var(--accent-line); }
.hv-hub-inner { fill: rgba(214, 179, 106, 0.08); stroke: rgba(214, 179, 106, 0.5); }
.hv-hub-mark { color: var(--accent); }
.hv-hub-label { fill: var(--accent); font-family: var(--font); font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; }
.hv-point { fill: var(--accent); opacity: 0.55; }
.hv-point--hollow { fill: var(--bg); stroke: var(--accent); stroke-width: 1.2; opacity: 0.75; }
.hv-square { fill: rgba(255, 255, 255, 0.06); }
@media (max-width: 560px) {
  .hv-label { font-size: 17px; transform: translateY(8px); }
  .hv-sub { display: none; }
}

.hero-visual__caption {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.trust__item:last-child { border-bottom: 0; }
.trust__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  color: var(--accent);
}
.trust__icon svg { width: 20px; height: 20px; }
.trust__item strong { display: block; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.trust__item span { font-size: 0.875rem; color: var(--muted); }
@media (min-width: 820px) {
  .trust__list { grid-template-columns: repeat(3, 1fr); }
  .trust__item { padding: 30px 28px; border-bottom: 0; border-left: 1px solid var(--line); }
  .trust__item:first-child { border-left: 0; padding-left: 0; }
}

/* Internal page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}
.page-hero .glow { top: -340px; right: -260px; }
.page-hero h1 { max-width: 17ch; margin-bottom: 1.5rem; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .lead + .lead { margin-top: 1rem; }
.page-hero .btn-row { margin-top: 2.25rem; }
.page-hero__grid { display: grid; gap: 48px; align-items: end; }
@media (min-width: 1040px) {
  .page-hero__grid { grid-template-columns: 1.4fr 0.8fr; }
}
.page-hero__subtitle {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--accent);
  margin: -0.4rem 0 1.4rem;
  max-width: 34ch;
}

.breadcrumb { margin-bottom: clamp(32px, 5vw, 56px); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-3); }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--muted); }

/* Key-points panel in page hero */
.keypoints {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}
.keypoints li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-2);
}
.keypoints li:last-child { border-bottom: 0; }
.keypoints svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); flex-shrink: 0; }
.keypoints strong { color: var(--text); font-weight: 600; }

/* 8. CARDS & GRIDS ------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur), box-shadow var(--dur);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 179, 106, 0.7), transparent);
  opacity: 0;
  transition: opacity var(--dur);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.8); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 0.65rem; }
.card p { color: var(--text-2); font-size: 0.98rem; }
.card__foot { margin-top: auto; padding-top: 1.5rem; }

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.card__num {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.icon-box {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.icon-box svg { width: 22px; height: 22px; }

/* Stretched link: makes the entire card clickable */
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.section--light .card {
  background: #fff;
  border-color: var(--ink-line);
}
.section--light .card:hover { border-color: rgba(11, 14, 21, 0.22); box-shadow: 0 30px 60px -40px rgba(11, 14, 21, 0.35); }
.section--light .card p { color: var(--ink-2); }
.section--light .icon-box { color: var(--accent-deep); background: rgba(122, 91, 31, 0.07); border-color: rgba(122, 91, 31, 0.22); }
.section--light .card__num { color: var(--ink-2); }

/* Compact list card (e.g. "what we look for") */
.criteria {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.criteria li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.criteria__num { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); padding-top: 4px; font-variant-numeric: tabular-nums; }
.criteria h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.criteria p { margin: 0; color: var(--text-2); font-size: 0.98rem; }
@media (min-width: 900px) {
  .criteria { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
.section--light .criteria,
.section--light .criteria li { border-color: var(--ink-line); }
.section--light .criteria__num { color: var(--accent-deep); }

/* 9. SECTION COMPONENTS -------------------------------------------------- */

/* Split layout */
.split { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 1000px) {
  .split { grid-template-columns: 5fr 7fr; align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; align-items: center; }
  .split--reverse > :first-child { order: 2; }
  .split__aside--sticky { position: sticky; top: calc(var(--header-h) + 40px); }
}
.split__aside h2 { max-width: 16ch; }

/* Value levers panel */
.levers {
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.levers li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: start;
  padding: 22px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.levers li:last-child { border-bottom: 0; }
.levers .icon-box { grid-row: span 2; width: 44px; height: 44px; }
.levers .icon-box svg { width: 20px; height: 20px; }
.levers strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.levers span { font-size: 0.93rem; color: var(--muted); }

/* Process (horizontal on desktop, vertical rail on mobile) */
.process {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process__step { position: relative; padding: 0 0 40px 68px; }
.process__step:last-child { padding-bottom: 0; }
.process__marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--bg);
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}
.section--alt .process__marker { background: var(--bg-2); }
/* connector rail */
.process__step::before,
.process__step::after {
  content: "";
  position: absolute;
  left: 22.5px;
  top: 46px;
  bottom: 0;
  width: 1px;
  background: var(--line-2);
}
.process__step::after {
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.9s var(--ease);
}
.process__step:last-child::before,
.process__step:last-child::after { display: none; }
.process.is-visible .process__step::after { transform: scaleY(1); }
.process__step h3 { margin: 9px 0 0.5rem; font-size: 1.25rem; }
.process__step p { margin: 0; font-size: 0.96rem; color: var(--text-2); max-width: 46ch; }
.process__arrow { display: none; }

@media (min-width: 1040px) {
  .process { grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); }
  .process__step { padding: 78px 28px 0 0; }
  .process__step::before,
  .process__step::after {
    left: 46px;
    right: 0;
    top: 22.5px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .process__step::after { transform-origin: left; transform: scaleX(0); }
  .process.is-visible .process__step::after { transform: scaleX(1); }
  .process__step h3 { margin-top: 0; }
}
.process__step:nth-child(2)::after { transition-delay: 0.15s; }
.process__step:nth-child(3)::after { transition-delay: 0.3s; }
.process__step:nth-child(4)::after { transition-delay: 0.45s; }
.process__step:nth-child(5)::after { transition-delay: 0.6s; }

/* Boxed process variant (used on light backgrounds) */
.section--light .process__marker { background: var(--paper); color: var(--accent-deep); border-color: rgba(122, 91, 31, 0.35); }
.section--light .process__step::before { background: var(--ink-line); }
.section--light .process__step::after { background: var(--accent-deep); }
.section--light .process__step p { color: var(--ink-2); }

/* Feature list (why section) */
.features { display: grid; gap: 0 40px; }
@media (min-width: 680px) { .features { grid-template-columns: 1fr 1fr; } }
.feature {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.feature__head { display: flex; align-items: center; gap: 14px; margin-bottom: 0.75rem; }
.feature__head svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.feature h3 { margin: 0; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--text-2); font-size: 0.97rem; }
.section--light .feature { border-color: var(--ink-line); }
.section--light .feature p,
.section--light .criteria p { color: var(--ink-2); }
.section--light .feature__head svg { color: var(--accent-deep); }

/* Leadership cards */
.leaders { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 820px) { .leaders { grid-template-columns: 1fr 1fr; } }
.leader {
  position: relative;
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur), transform var(--dur) var(--ease);
}
.leader:hover { border-color: var(--line-2); transform: translateY(-4px); }
.leader__body { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); }
.leader__role {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.leader h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 0.4rem; letter-spacing: -0.025em; }
.leader p { color: var(--text-2); font-size: 0.98rem; }
.leader__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.leader__links .text-link { position: relative; z-index: 2; }
@media (min-width: 1180px) {
  .leader { grid-template-columns: 0.85fr 1.15fr; }
  .leader .portrait { aspect-ratio: auto; min-height: 100%; }
}

/* Portrait placeholder. The <img> overlays it; if the image file is missing
   the inline onerror handler removes it and this styled placeholder shows. */
.portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(214, 179, 106, 0.16), transparent 58%),
    linear-gradient(160deg, #161d2c 0%, #0b0f17 100%);
  border-bottom: 1px solid var(--line);
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.portrait__initials {
  position: relative;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 179, 106, 0.55);
}
.portrait img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.portrait--tall { aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (min-width: 1180px) { .leader .portrait { border-bottom: 0; border-right: 1px solid var(--line); } }

/* CTA panel (light contrast) */
.cta-section { padding-block: clamp(56px, 8vw, 112px); }
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 40px;
  padding: clamp(36px, 6vw, 80px);
  background: var(--paper);
  color: var(--ink);
  border-radius: calc(var(--radius-lg) + 6px);
}
.cta-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 179, 106, 0.35), transparent 65%);
}
.cta-panel h2 { color: var(--ink); max-width: 18ch; margin-bottom: 1.1rem; }
.cta-panel p { color: var(--ink-2); max-width: 56ch; font-size: 1.08rem; }
.cta-panel .btn-row { margin-top: 2rem; }
@media (min-width: 1000px) {
  .cta-panel { grid-template-columns: 1.4fr 0.6fr; align-items: center; }
}
.cta-blocks {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  justify-self: end;
  width: 100%;
  max-width: 260px;
}
.cta-blocks span {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid rgba(11, 14, 21, 0.14);
  background: rgba(255, 255, 255, 0.5);
}
.cta-blocks span.is-on { background: var(--ink); border-color: var(--ink); }
.cta-blocks span.is-gold { background: var(--accent); border-color: var(--accent); }
@media (min-width: 1000px) { .cta-blocks { display: grid; } }

/* Stat-free "fact" row used on About */
.facts {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.facts li { padding: 26px 28px; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts dt, .facts .facts__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts .facts__value { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }

/* Company information table */
.company-info {
  display: grid;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.company-info div {
  display: grid;
  gap: 4px;
  padding: 20px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.company-info div:last-child { border-bottom: 0; }
.company-info dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.company-info dd { margin: 0; font-size: 1.02rem; color: var(--text); }
@media (min-width: 680px) {
  .company-info div { grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline; }
}
.section--light .company-info { background: #fff; border-color: var(--ink-line); }
.section--light .company-info div { border-color: var(--ink-line); }
.section--light .company-info dt { color: var(--ink-2); }
.section--light .company-info dd { color: var(--ink); }

/* Our Approach: sticky stage navigation + large numbered stages */
.stages-layout { display: grid; gap: 48px; }
.stage-nav { display: none; }
@media (min-width: 1040px) {
  .stages-layout { grid-template-columns: 240px 1fr; gap: 80px; align-items: start; }
  .stage-nav { display: block; position: sticky; top: calc(var(--header-h) + 48px); }
}
.stage-nav ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line-2); }
.stage-nav ol a {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 12px 0 12px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.stage-nav ol a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
}
.stage-nav ol a span { font-variant-numeric: tabular-nums; font-size: 0.78rem; letter-spacing: 0.1em; padding-top: 2px; }
.stage-nav ol a:hover { color: var(--text); }
.stage-nav ol a.is-active { color: var(--text); }
.stage-nav ol a.is-active::before { transform: scaleY(1); }
.stage-nav ol a.is-active span { color: var(--accent); }
.stage-nav__cta { margin-top: 32px; }

.stage {
  position: relative;
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.stage:first-child { border-top: 0; padding-top: 0; }
.stage__head { display: grid; gap: 8px; margin-bottom: 1.75rem; }
.stage__num {
  font-size: clamp(4.5rem, 11vw, 9rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 179, 106, 0.6);
  font-variant-numeric: tabular-nums;
}
.stage h2 { margin: 0.4rem 0 0; font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.stage .lead { margin-bottom: 2rem; }
.stage__points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 680px) { .stage__points { grid-template-columns: repeat(3, 1fr); } }
.stage__points li {
  padding: 20px;
  font-size: 0.94rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stage__points strong { display: block; margin-bottom: 4px; color: var(--text); font-weight: 600; }
.stage__bar {
  display: flex;
  gap: 6px;
  margin-top: 28px;
}
.stage__bar span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line-2);
}
.stage__bar span.is-on { background: var(--accent); }

/* Stage overview strip (Our Approach intro) */
.stage-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stage-strip li {
  padding: 16px 10px 14px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  border-top: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.02);
}
.stage-strip li:nth-child(2) { border-top-color: rgba(214, 179, 106, 0.8); }
.stage-strip li:nth-child(3) { border-top-color: rgba(214, 179, 106, 0.6); }
.stage-strip li:nth-child(4) { border-top-color: rgba(214, 179, 106, 0.45); }
.stage-strip li:nth-child(5) { border-top-color: rgba(214, 179, 106, 0.3); }
.stage-strip span { display: block; margin-bottom: 4px; color: var(--accent); font-size: 0.7rem; }
@media (max-width: 520px) {
  .stage-strip li { font-size: 0.6rem; letter-spacing: 0.06em; padding-inline: 4px; }
}

/* Portfolio */
.category-grid { display: grid; gap: 12px; }
@media (min-width: 600px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .category-grid { grid-template-columns: repeat(5, 1fr); } }
.category {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur), transform var(--dur) var(--ease);
}
.category:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.category .icon-box { width: 42px; height: 42px; margin-bottom: 22px; }
.category .icon-box svg { width: 19px; height: 19px; }
.category h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.category p { font-size: 0.88rem; color: var(--muted); margin: 0; }

.asset-card { gap: 0; }
.asset-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  white-space: nowrap;
}
.tag--accent { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.section--light .tag { color: var(--ink-2); border-color: var(--ink-line); }
.section--light .tag--accent { color: var(--accent-deep); border-color: rgba(122, 91, 31, 0.3); background: rgba(122, 91, 31, 0.06); }
.asset-card h3 { font-size: 1.3rem; }
.asset-meta {
  display: grid;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.asset-meta div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.asset-meta div:last-child { border-bottom: 0; }
.asset-meta dt { color: var(--muted); font-weight: 500; }
.asset-meta dd { margin: 0; color: var(--text); }
@media (max-width: 400px) { .asset-meta div { grid-template-columns: 1fr; gap: 2px; } }

/* Insights / articles */
.article-card { min-height: 100%; }
.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 40px;
}
.article-card h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
.article-card__status {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-card--featured { padding: clamp(32px, 5vw, 56px); }
.article-card--featured h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.03em; max-width: 20ch; }
.article-card--featured p { font-size: 1.05rem; max-width: 58ch; }
@media (min-width: 1040px) {
  .article-card--featured { grid-column: span 2; }
}
.insights-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 680px) { .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .insights-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.topic-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* FAQ (native details/summary — keyboard accessible without JS) */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.15rem; transition: color 0.2s; }
.faq__item summary:hover h3 { color: var(--accent); }
.faq__icon { position: relative; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item p { margin: 0; padding: 0 0 26px; color: var(--text-2); max-width: 64ch; }

/* Contact cards */
.contact-card .icon-box { margin-bottom: 28px; }

/* Aside panel (forms) */
.aside-panel {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}
.aside-panel + .aside-panel { margin-top: 20px; }
.aside-panel h2, .aside-panel h3 { font-size: 1.2rem; letter-spacing: -0.015em; margin-bottom: 1rem; }
.aside-panel p { color: var(--text-2); font-size: 0.96rem; }
.aside-panel address { color: var(--text-2); font-size: 0.96rem; line-height: 1.7; }

.steps-mini { margin: 0; padding: 0; list-style: none; counter-reset: mini; }
.steps-mini li {
  position: relative;
  padding: 0 0 18px 42px;
  font-size: 0.95rem;
  color: var(--text-2);
  counter-increment: mini;
}
.steps-mini li:last-child { padding-bottom: 0; }
.steps-mini li::before {
  content: counter(mini, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.steps-mini strong { display: block; color: var(--text); font-weight: 600; }

.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.section--light .check-list li { color: var(--ink-2); border-color: var(--ink-line); }
.section--light .check-list li::before { border-color: var(--accent-deep); }

/* 10. FORMS -------------------------------------------------------------- */
.form-layout { display: grid; gap: 32px; }
@media (min-width: 1040px) {
  .form-layout { grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
  .form-layout__aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
.form-card {
  padding: clamp(24px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form-card__head { margin-bottom: 2rem; }
.form-card__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0.6rem; }
.form-card__head p { color: var(--text-2); margin: 0; }

.form-grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 22px 20px; } }
.field--full { grid-column: 1 / -1; }

fieldset.form-group { margin: 0 0 36px; padding: 0; border: 0; min-width: 0; }
fieldset.form-group:last-of-type { margin-bottom: 28px; }
.form-group legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.form-group legend span { color: var(--accent); font-variant-numeric: tabular-nums; }

.field label,
.field .field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.field .req { color: var(--accent); margin-left: 2px; }
.field .opt { font-weight: 400; color: var(--muted); font-size: 0.82rem; margin-left: 4px; }
.field__hint { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--muted); }
.field__error { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--danger); }
.field__error:empty { display: none; }

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder,
.textarea::placeholder { color: #6c7486; }
.input:hover,
.select:hover,
.textarea:hover { border-color: var(--line-3); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 179, 106, 0.2);
  background: #090c13;
}
.textarea { min-height: 150px; resize: vertical; }
.select {
  padding-right: 2.75rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23d6b36a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.select option { background: var(--surface); color: var(--text); }
[aria-invalid="true"] { border-color: var(--danger) !important; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
  cursor: pointer;
}
.field .check { font-weight: 400; margin: 0; color: var(--text-2); }
.check input {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  background: var(--bg);
  border: 1px solid var(--line-3);
  border-radius: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s, border-color 0.2s;
}
.check input:hover { border-color: var(--accent); }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check a { color: var(--accent); }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.form-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 44ch;
}
.form-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }
@media (max-width: 559px) { .form-foot .btn { width: 100%; } }

.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); border-color: rgba(159, 216, 181, 0.35); background: rgba(159, 216, 181, 0.06); }
.form-status.is-error { color: var(--danger); border-color: rgba(240, 163, 163, 0.35); background: rgba(240, 163, 163, 0.06); }

/* 11. PROSE -------------------------------------------------------------- */
.prose { max-width: 72ch; color: var(--text-2); }
.prose h2 { margin: 2.6em 0 0.7em; font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--text); }
.prose h3 { margin: 2em 0 0.6em; font-size: 1.2rem; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.prose-note {
  padding: 18px 20px;
  margin-bottom: 2.5em;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-2);
}
.updated { font-size: 0.85rem; color: var(--muted); margin-top: 1.25rem; }

/* 12. FOOTER ------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 104px);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  gap: 28px;
  padding-bottom: clamp(48px, 6vw, 72px);
  margin-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.footer-top__title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}
.footer-top__title span { color: var(--accent); }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1fr auto; align-items: end; }
}

.footer-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; } }
.footer-brand p { margin: 1.25rem 0; color: var(--text-2); font-size: 0.95rem; max-width: 36ch; }
.footer-brand address { font-size: 0.85rem; line-height: 1.7; color: var(--muted); }
.footer-brand address strong { color: var(--text-2); font-weight: 600; }
.footer-col h2 {
  margin: 0 0 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a {
  font-size: 0.93rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col a[aria-current="page"] { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* 13. UTILITIES ---------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* 14. MOTION ------------------------------------------------------------- */
/* Reveal-on-scroll only applies when JS is running (html.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }

@keyframes dash-flow { to { stroke-dashoffset: -90; } }
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hv-link { animation: dash-flow 6s linear infinite; }
.hv-pulse {
  fill: none;
  stroke: var(--accent);
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse-ring 3.2s var(--ease) infinite;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hv-pulse { display: none; }
  .process__step::after { transform: none !important; }
}
