/* Webcoda AI — Dark Editorial System
   Near-black surface · off-white type · one signal red · mono meta.
   High-contrast Didone display, hairline rules, indexed sections. */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=JetBrains+Mono:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&display=swap");

:root {
  /* Palette — Webcoda dark editorial */
  --color-surface: #131211;       /* page surface */
  --color-text: #F3EDE3;         /* primary text (off-white) */
  --color-border: #2C2926;
  --color-surface-dark: #000000;    /* elevated panel: CTA / featured tier */
  --color-accent: #EA4133;      /* Webcoda signal red — used sparingly */

  /* Type */
  --font-serif: "Fraunces", "Times New Roman", serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Effective viewport unit — overridden when dev panel is open */
  --1vw: 1vw;

  /* Spacing scale — 4px base, Tailwind-aligned */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  32px;
  --space-9:  36px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-18: 72px;
  --space-20: 80px;
  --space-24: 96px;

  /* Semantic spacing — layout-level only */
  --sp-outer: var(--space-24); /* page edge margins */

  /* Layout */
  --outer: var(--sp-outer);

  /* Type scale — Tailwind-based raw sizes + paired line heights */
  --text-9xl: clamp(80px, calc(11 * var(--1vw)), 164px);  --lh-9xl: 1;
  --text-8xl: clamp(64px, calc(8 * var(--1vw)), 120px);  --lh-8xl: 1.1;
  --text-7xl: clamp(56px, calc(6 * var(--1vw)), 80px);  --lh-7xl: 1.1;
  --text-6xl: clamp(48px, calc(4 * var(--1vw)), 64px);  --lh-6xl: 1.1;
  --text-5xl: clamp(40px, calc(3 * var(--1vw)), 48px);  --lh-5xl: 1.1;
  --text-4xl: clamp(32px, calc(3 * var(--1vw)), 36px);  --lh-4xl:  1.1;
  --text-3xl: clamp(28px, calc(2 * var(--1vw)), 30px);  --lh-3xl:  1.2;
  --text-2xl:   24px;  --lh-2xl: 1.5;
  --text-xl:    20px;  --lh-xl: 1.5;
  --text-lg: 18px;  --lh-lg: 1.5;
  --text-base:  16px;  --lh-base: 1.5;
  --text-sm:    14px;  --lh-sm: 1.5;
  --text-xs:    12px;  --lh-xs: 1.5;

  /* Semantic aliases — use these in components */
  --fs-display:  var(--text-9xl);
  --fs-heading-01:  var(--text-7xl);
  --fs-heading-02:    var(--text-6xl);
  --fs-heading-03:  var(--text-5xl);
  --fs-heading-04: var(--text-4xl);
  --fs-heading-05: var(--text-3xl);
  --fs-body-lg: var(--text-2xl);
  --fs-body:     var(--text-xl);
  --fs-body-sm:     var(--text-lg);
  --fs-body-xs:    var(--text-base);
  --fs-caption:  var(--text-sm);
  --fs-label:    var(--text-xs);
  --fs-nav-primary: var(--text-base);
  --fs-button-md:  var(--text-base);
  --fs-button-sm:  var(--text-sm);

}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.wc-container[id], section[id] { scroll-margin-top: var(--sp-outer); }

/* ───────── Page load entrance animations ───────── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes loadUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes loadDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: none; }
  }

  .wc-nav {
    animation: loadDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 50ms;
  }
  /* First section header (rule + 01 label) */
  #services > div:first-child {
    animation: loadUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 120ms;
  }
  .hero-type {
    animation: loadUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 220ms;
  }
  .hero .t-lead {
    animation: loadUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 340ms;
  }
}

/* ───────── Scroll reveal FX (classes added by scroll-fx.js) ───────── */
@media (prefers-reduced-motion: no-preference) {
  .fx-r {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--fx-d, 0ms);
    will-change: opacity, transform;
  }
  .fx-r.fx-in { opacity: 1; transform: none; }

  .fx-split .fx-w {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.6em);
    transition:
      opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--fx-line, 0) * 120ms);
  }
  .fx-split.fx-in .fx-w { opacity: 1; transform: translateY(0); }
}

body {
  font-family: var(--font-sans);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-lg);
  font-feature-settings: "ss01", "cv11";
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Give Fraunces its display character on headings (WONK alternates + high opsz) */
.t-display, .t-section-head, .assess-question, .assess-start-head, .you-are,
.step .num {
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}

/* ───────── Page shell ───────── */
.wc-page {
  width: 100%;
  min-height: 100%;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  position: relative;
}
.wc-page > * { position: relative; z-index: 1; }
.wc-page > main { flex: 1; }
/* Opt out of the structural grid (used by the standalone landing page) */
.wc-page.no-grid::before { display: none; }

.wc-container {
  width: 100%;
  max-width: 100%;
  padding-left: var(--outer);
  padding-right: var(--outer);
}

/* ───────── Type utilities ───────── */
.t-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-text);
}
.t-meta-dim { color: var(--color-text); }

.t-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: var(--lh-9xl);
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin: 0;
}
.accent-word { color: var(--color-accent); }

@keyframes caretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.type-caret {
  display: inline-block;
  width: 4px;
  height: 0.8em;
  background: var(--color-text);
  margin-left: 2px;
  vertical-align: -0.15em;
  animation: caretBlink 0.7s step-end infinite;
}

.t-display i, .t-display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.t-section-head {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-heading-01);
  line-height: var(--lh-7xl);
  letter-spacing: -0.025em;
  color: var(--color-text);
}
.t-section-head i, .t-section-head em { font-style: italic; }

.t-lead {
  font-family: var(--font-sans);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-2xl);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.t-body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-xl);
  color: var(--color-text);
  font-weight: 400;
}

/* ───────── Rules / dividers ───────── */
.rule {
  width: 100%;
  height: 1px;
  background: var(--color-text);
  opacity: 0.85;
}

/* ───────── Section header pattern ───────── */
.section-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
}
.section-meta-row .left { display: flex; gap: var(--space-4); align-items: baseline; }
.section-meta-row .right { display: flex; gap: var(--space-4); align-items: baseline; }

/* ───────── Nav ───────── */
.wc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--outer);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  position: sticky; top: 0; z-index: 5;
}
.wc-nav .logo {
  color: var(--color-accent);
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: var(--fs-body-sm);
  display: flex; align-items: center; gap: var(--space-3);
}
.wc-nav .logo .dot {
  width: 10px; height: 10px; background: var(--color-accent); border-radius: 0;
  display: inline-block;
  box-shadow: 0 0 12px rgba(234,65,51,0.55);
}
.wc-nav ul {
  display: flex; gap: var(--space-9); list-style: none; margin: 0; padding: 0;
  align-self: stretch;
}
.wc-nav ul li { display: flex; }
.wc-nav ul a {
  font-family: var(--font-sans); font-size: var(--fs-nav-primary); color: var(--color-text);
  text-decoration: none; font-weight: 500;
  display: inline-flex; gap: var(--space-2); align-items: center;
  padding: var(--space-6) 0;
  position: relative;
  white-space: nowrap;
}
.wc-nav ul a .num {
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em;
  color: var(--color-text); font-weight: 500;
}
.wc-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.34s cubic-bezier(0.65, 0, 0.35, 1);
}
.wc-nav ul a:hover::after,
.wc-nav ul a:focus-visible::after { transform: scaleX(1); }
/* text colour stays put on hover; only the accent bar animates */
.wc-nav ul a:hover { color: var(--color-text); }

/* ───────── Pill button ───────── */
.pill {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-6) var(--space-3) var(--space-7);
  background: transparent;
  color: var(--color-text);
  border-radius: 999px;
  border: 1px solid var(--color-text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-button-md);
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.pill .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.18s ease;
  font-family: var(--font-mono);
  font-weight: 400;
}
.pill .arrow svg { width: 1.05em; height: 1.05em; display: block; }
.pill:hover { background: var(--color-text); color: var(--color-surface); }
.pill:hover .arrow { transform: translateX(4px); }

.pill.inverse {
  background: var(--color-accent);
  color: #FFFFFF;
  border: 1px solid var(--color-accent);
}
.pill.inverse:hover { background: #FF5A47; border-color: #FF5A47; color: #FFFFFF; }

.pill.ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px dashed var(--color-text);
}
.pill.ghost:hover { background: var(--color-text); color: var(--color-surface); border-style: solid; }

.pill-sm {
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-6);
  font-size: var(--fs-button-sm);
  gap: var(--space-3);
}
.wc-nav .pill-sm {
  margin: var(--space-3) 0;
}

/* ───────── 4-col pillars (index of offerings) ───────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pillar {
  padding: var(--space-8) var(--space-9) var(--space-8) 0;
  display: flex; flex-direction: column; gap: var(--space-6);
}
.pillar + .pillar {
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-9);
}
.pillar:last-child { padding-right: 0; }
.pillar .gfx { margin-bottom: var(--space-1); }
.pillar-content { display: flex; flex-direction: column; gap: var(--space-6); }
.pillar .gfx svg { display: block; width: auto; height: clamp(180px, 12.5vw, 300px); }
.pillar .name {
  font-family: var(--font-serif);
  font-weight: 400; font-size: var(--fs-heading-03); line-height: 0.98;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
  color: var(--color-text);
}
.pillar .items {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--space-3);
}
.pillar .items li {
  font-family: var(--font-sans);
  font-size: var(--fs-body); font-weight: 500; line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text);
  display: flex; align-items: flex-start; gap: var(--space-3);
}
.pillar .items li svg {
  color: var(--color-accent);
  width: 1em; height: 1em;
  flex: 0 0 auto;
  margin-top: 0.2em;
}

/* ───────── Approach steps ───────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
}
.step {
  padding: var(--space-7) var(--space-9) var(--space-9) 0;
  display: flex; flex-direction: column; gap: var(--space-4);
}
.step + .step {
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-9);
}
.step:last-child { padding-right: 0; }
.step .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-heading-02);
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.03em;
}
.step .label {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-heading-04);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
  color: var(--color-text);
}

/* ───────── Self-assessment ───────── */
.assess {
  border: 1px solid var(--color-border);
  padding: var(--space-10);
  margin-top: var(--space-10);
  background: var(--color-surface-dark);
  border-radius: 16px;
}
.assess-progress {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-9);
}
.assess-progress .step-dots {
  display: flex; gap: var(--space-2);
}
.assess-progress .dot {
  width: 28px; height: 4px;
  background: var(--color-border);
}
.assess-progress .dot.active { background: var(--color-text); }
.assess-progress .dot.done { background: var(--color-text); }

.assess-question {
  font-family: var(--font-serif);
  font-size: var(--fs-heading-02); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--color-text);
  font-weight: 400;
  max-width: 900px;
  margin: 0 0 var(--space-10) 0;
}
.assess-question i { font-style: italic; }

.assess-options {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--color-border);
}
.assess-option {
  display: grid;
  grid-template-columns: 56px 1fr 48px;
  align-items: center;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  color: var(--color-text);
  transition: padding 0.18s ease, background 0.18s ease;
}
.assess-option:hover {
  padding-left: var(--space-3);
  background: rgba(21,17,13,0.025);
}
.assess-option .opt-num {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  color: var(--color-text);
  font-weight: 500;
}
.assess-option .opt-text {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.assess-option .opt-arrow {
  font-family: var(--font-mono);
  color: var(--color-text);
  text-align: right;
  font-size: var(--fs-body-xs);
  display: inline-flex; align-items: center;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.assess-option .opt-arrow svg { width: 18px; height: 18px; display: block; }
.assess-option:hover .opt-arrow { opacity: 1; transform: translateX(4px); }
.assess-option.selected {
  background: var(--color-text);
  color: var(--color-surface);
  padding-left: var(--space-3);
}
.assess-option.selected .opt-text { color: var(--color-surface); }
.assess-option.selected .opt-num { color: var(--color-surface); opacity: 0.5; }
.assess-option.selected .opt-arrow { color: var(--color-surface); opacity: 1; }

/* ── Make the assessment obviously interactive ── */
.assess-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: var(--space-6); margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}
.assess-bar-meta { display: flex; gap: var(--space-3); }
.assess-badge {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-text); font-weight: 500;
}
.assess-badge .pulse {
  width: 7px; height: 7px; border-radius: 999px; background: var(--color-accent);
  display: inline-block; animation: assessPulse 1.8s ease-in-out infinite;
}
@keyframes assessPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}
@media (prefers-reduced-motion: reduce) {
  .assess-badge .pulse { animation: none; }
}

.assess-start {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6);
  padding: var(--space-3) 0 var(--space-6);
}
.assess-start-head {
  font-family: var(--font-serif); font-weight: 400; font-size: var(--fs-heading-02); line-height: 1.04;
  letter-spacing: -0.02em; color: var(--color-text); margin: 0; max-width: 900px;
}
.assess-start-head i { font-style: italic; }
.assess-start-body {
  font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.5; color: var(--color-text);
  margin: 0; max-width: 560px;
}
.assess-hint { margin-bottom: var(--space-4); }

/* Answer rows read as selectable controls */
.assess-option .opt-num {
  width: var(--space-8); height: var(--space-8); border-radius: 999px;
  border: 1px solid var(--color-border);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.assess-option:hover .opt-num { border-color: var(--color-text); color: var(--color-text); }
.assess-option.selected .opt-num { border-color: var(--color-surface); color: var(--color-surface); opacity: 1; }

/* Result screen (homepage version, inline) */
.result-gfx {
  flex-shrink: 0;
  width: 100%;
  height: 300px;
}
.result-gfx svg {
  width: 100%;
  height: 100%;
}
.assess-result {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: var(--space-12);
  align-items: center;
}
.assess-result .label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.assess-result .you-are {
  font-family: var(--font-serif);
  font-size: var(--fs-heading-01);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 var(--space-6) 0;
}
.assess-result .you-are i { font-style: italic; }
.assess-result .next {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
  margin-top: var(--space-6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6);
}
.assess-restart {
  background: transparent; border: none; padding: 0;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-text); cursor: pointer;
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.assess-restart svg { width: 13px; height: 13px; }
.assess-restart:hover { color: var(--color-text); }

/* ───────── Insights list ───────── */
.insights-list {
  border-top: 1px solid var(--color-border);
  margin-top: 0;
}
.insight-row {
  display: grid;
  grid-template-columns: 56px 1fr 180px 80px 32px;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-7) 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: padding-left 0.2s ease;
}
.insight-row:hover { padding-left: var(--space-3); }
.insight-num {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  color: var(--color-text);
  letter-spacing: 0.06em;
}
.insight-title {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.35;
}
.insight-cat {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  color: var(--color-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: right;
}
.insight-time {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  color: var(--color-text);
  white-space: nowrap;
  text-align: right;
}
.insight-arrow {
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: transform 0.2s ease;
}
.insight-row:hover .insight-arrow { transform: translateX(4px); color: var(--color-text); }
.insight-thumb {
  position: fixed;
  pointer-events: none;
  width: 280px;
  height: 175px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 100;
  filter: grayscale(1);
  transform: translate(16px, -50%);
}
.insight-thumb.visible { opacity: 1; }

/* ───────── Footer (SEO-friendly, multi-column) ───────── */
.wc-footer {
  border-top: 1px solid var(--color-text);
  background: var(--color-surface);
}
/* Landing page: no rule above the footer */
.wc-page.no-grid .wc-footer { border-top: none; }

/* Top: brand block + link columns */
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: var(--space-12);
  padding: var(--space-18) var(--outer) var(--space-14);
  border-bottom: 1px solid var(--color-border);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-6); max-width: 320px; }
.footer-brand .fb-tagline {
  font-family: var(--font-sans); font-size: var(--fs-body-sm); line-height: 1.5;
  color: var(--color-text); margin: 0;
}

.footer-col { display: flex; flex-direction: column; gap: var(--space-1); }
.footer-col h3 {
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-text); font-weight: 500;
  margin: 0 0 var(--space-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col ul a {
  font-family: var(--font-sans); font-size: var(--fs-body-xs); color: var(--color-text);
  text-decoration: none; line-height: 1.3;
  display: inline-flex; align-items: baseline; gap: var(--space-2);
  transition: color 0.15s ease;
}
.footer-col ul a:hover { color: var(--color-text); }
/* Locations column */
.footer-locations { display: flex; flex-direction: column; gap: var(--space-6); }
.footer-loc address {
  font-style: normal;
  font-family: var(--font-sans); font-size: var(--fs-caption); line-height: 1.5; color: var(--color-text);
}
.footer-loc a { color: var(--color-text); text-decoration: none; }
.footer-loc a:hover { color: var(--color-text); }

/* Bottom: legal bar */
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-4);
  padding: var(--space-6) var(--outer) var(--space-7);
}
.footer-bottom .fb-left,
.footer-bottom .fb-right { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; }
.footer-bottom .t-meta { color: var(--color-text); }
.footer-bottom a.t-meta { text-decoration: none; }
.footer-bottom a.t-meta:hover { color: var(--color-text); }

/* ───────── Layout grids ───────── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding-top: var(--space-24);
  padding-bottom: var(--sp-outer);
}
.hero .left .display-stack {
  display: flex; flex-direction: column; gap: var(--space-16);
}

/* ───────── Hero meta strip (Webcoda dark) ───────── */
.hero-section { position: relative; }

/* Hero typing effect */
.hero-type { min-height: 1.92em; }

.two-col-head {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--space-20);
  align-items: start;
  padding: var(--space-14) 0 var(--space-12);
}
.two-col-head .right p:not([class]) {
  font-family: var(--font-sans);
  font-size: var(--fs-body); line-height: 1.55; color: var(--color-text);
  margin: 0; max-width: 380px;
}
.two-col-head .right p { margin: 0; max-width: 380px; }

/* Small helpers */
.sp-120 { height: 120px; }

/* ───────── Landing page: 3-column pillars override ───────── */
.lp-pillars { grid-template-columns: repeat(3, 1fr) !important; }

/* ───────── Responsive ───────── */
@media (max-width: 1260px) {
  .wc-nav ul { display: none; }
  .pillars.lp-pillars { grid-template-columns: 1fr !important; }
  .pillar + .pillar { border-left: none; border-top: 1px solid var(--color-border); padding-left: 0; padding-right: 0; padding-top: var(--space-7); }
  .pillar { flex-direction: row-reverse; align-items: flex-start; gap: var(--space-7); }
  .pillar .gfx { flex: 0 0 min(38vw, 200px); width: min(38vw, 200px); height: min(38vw, 200px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .pillar .gfx svg { height: min(38vw, 200px); width: min(38vw, 200px); }
  .pillar-content { display: flex; flex-direction: column; gap: var(--space-4); flex: 1; }
}

@media (max-width: 1100px) {
  .assess-result { grid-template-columns: 1fr; gap: var(--space-8); }
  .result-gfx { height: 260px; }
}

@media (max-width: 900px) {
  :root {
    --outer: var(--space-7);
    --text-8xl: clamp(64px, calc(8 * var(--1vw)), 120px);
    --text-7xl: clamp(56px, calc(6 * var(--1vw)), 80px);
    --text-6xl: clamp(48px, calc(4 * var(--1vw)), 64px);
    --text-5xl: clamp(40px, calc(3 * var(--1vw)), 48px);
    --text-4xl: clamp(32px, calc(3 * var(--1vw)), 36px);
    --text-3xl: clamp(28px, calc(2 * var(--1vw)), 30px);
  }

  .two-col-head { grid-template-columns: 1fr; gap: var(--space-7); padding: var(--space-10) 0 var(--space-9); }
  .two-col-head .right p { max-width: none; }

  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid var(--color-border); padding-left: 0; padding-top: var(--space-7); }

  .assess-result { grid-template-columns: 1fr; gap: var(--space-8); }
  .result-gfx { height: 200px; }

  .assess-result .next { flex-direction: column; align-items: flex-start; gap: var(--space-6); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-9); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-locations { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; gap: var(--space-2); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
}

@media (max-width: 600px) {
  :root { --outer: var(--space-4); }

  .assess { padding: var(--space-7) var(--space-6); }
  .assess-option { grid-template-columns: var(--space-10) 1fr var(--space-9); padding: var(--space-4) 0; }
  .hero { padding-top: var(--space-10); padding-bottom: var(--space-12); }
  .wc-nav { padding: 0 var(--outer); }
  .assess-bar-meta { display: none; }
}
