/* ==========================================================================
   Nadyuk Systems — the owner's manual
   Light paper pages for daytime reading, deep green chapters, lime route
   markers. Motion: one signal that travels the workflow; everything else is
   feedback or state.
   ========================================================================== */

:root {
  --bg-page: #f7f6f1;
  --bg-surface: #ffffff;
  --bg-subtle: #efede6;
  --bg-tint: #e6efe9;
  --bg-dark: #0f2922;
  --bg-dark-elevated: #16382f;
  --bg-dark-card: #1c4539;

  --ink-900: #11211c;
  --ink-700: #2a3c36;
  --ink-500: #4d625b;
  --ink-on-dark: #f3f6f4;
  --ink-muted-dark: #bfd1ca;

  --accent-primary: #b84b12;
  --accent-primary-hover: #9a3d0c;
  --accent-primary-soft: #fbece3;
  --accent-emerald: #1b6b4c;
  --accent-emerald-soft: #dff2ea;
  --accent-lime: #cde67a;
  --accent-lime-hi: #dcf095;
  --accent-amber-soft: #fef3c7;

  --border-light: #dcd9ce;
  --border-strong: #b3afa0;
  --border-dark: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 1px 2px rgba(17, 33, 28, 0.06), 0 2px 6px rgba(17, 33, 28, 0.04);
  --shadow-md: 0 10px 30px -8px rgba(17, 33, 28, 0.12), 0 4px 10px -4px rgba(17, 33, 28, 0.06);
  --shadow-lg: 0 24px 50px -14px rgba(17, 33, 28, 0.22);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, Cambria, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dwell: 4.8s;

  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-height: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
code { font-family: var(--font-mono); font-size: 0.9em; }
strong { font-weight: 700; }
a { color: var(--accent-emerald); text-underline-offset: 0.18em; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  vertical-align: -0.2em;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--bg-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 12px; outline: 3px solid var(--accent-lime); }
:focus-visible { outline: 3px solid var(--accent-primary); outline-offset: 2px; }
.section-dark :focus-visible, .blueprint-card :focus-visible, .calculator-card :focus-visible,
.sanitizer-demo :focus-visible, .mobile-bottom-bar :focus-visible { outline-color: var(--accent-lime); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 246, 241, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { border-bottom-color: var(--border-light); box-shadow: var(--shadow-sm); }

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: var(--header-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-900); }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-dark);
  color: var(--accent-lime);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.03em;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em; line-height: 1.15; }
.brand-sub { font-size: 0.8rem; color: var(--ink-500); font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover { color: var(--ink-900); background: var(--bg-subtle); }
.nav-link.active { color: var(--accent-emerald); }
.nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font: inherit; font-weight: 600; font-size: 0.95rem;
  color: var(--ink-900);
  cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 20px;
  min-height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.12s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { cursor: progress; opacity: 0.75; }
.btn .icon-arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(3px); }

.btn-primary { background: var(--accent-primary); color: #fff; box-shadow: 0 3px 10px -2px rgba(184, 75, 18, 0.35); }
.btn-primary:hover { background: var(--accent-primary-hover); box-shadow: 0 6px 16px -4px rgba(184, 75, 18, 0.45); }
.btn-secondary { background: var(--bg-surface); color: var(--ink-900); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-subtle); border-color: var(--ink-500); }
.btn-lime { background: var(--accent-lime); color: var(--ink-900); }
.btn-lime:hover { background: var(--accent-lime-hi); }
.btn-ghost-dark { background: transparent; color: var(--ink-on-dark); border-color: rgba(255, 255, 255, 0.32); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.btn-sm { padding: 9px 14px; min-height: 40px; font-size: 0.92rem; }
.btn-lg { padding: 15px 24px; min-height: 54px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.sample-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--accent-amber-soft);
  color: #7a3608;
  border: 1px solid #e9a23b;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-alt { background: var(--bg-subtle); }
.section-dark { background: var(--bg-dark); color: var(--ink-on-dark); }
.section-header { max-width: 760px; margin-bottom: 44px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink-900);
}
.section-dark .section-title { color: #fff; }
.section-lead { font-size: 1.15rem; line-height: 1.6; color: var(--ink-700); margin: 0; max-width: 62ch; }
.section-dark .section-lead { color: var(--ink-muted-dark); }
.section-dark .section-lead a { color: var(--accent-lime); font-weight: 700; }

.subsection-title { font-size: 1.3rem; font-weight: 800; margin: 44px 0 6px; letter-spacing: -0.01em; }
.subsection-lead { margin: 0 0 18px; color: var(--ink-700); max-width: 62ch; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 64px 0 88px;
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(27, 107, 76, 0.07), transparent 70%),
    radial-gradient(50% 50% at 95% 10%, rgba(184, 75, 18, 0.06), transparent 70%),
    var(--bg-page);
}
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; align-items: start; }

.hero-locale { margin: 0 0 18px; font-size: 0.95rem; font-weight: 600; color: var(--ink-500); }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.9vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-emerald);
  /* the route marker: a lime line drawn under the promise */
  background-image: linear-gradient(var(--accent-lime), var(--accent-lime));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: route-draw 1.1s 0.35s var(--ease-out) both;
}
@keyframes route-draw { from { background-size: 0% 0.16em; } to { background-size: 100% 0.16em; } }

.hero-subheadline { font-size: 1.2rem; line-height: 1.6; color: var(--ink-700); margin: 0 0 30px; max-width: 56ch; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.hero-owner { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; max-width: 58ch; }
.owner-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent-lime);
  display: grid; place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.owner-photo {
  width: 60px; height: 60px;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--bg-surface), 0 0 0 4px var(--border-light), var(--shadow-sm);
}
.owner-bio { margin: 0; font-size: 1rem; color: var(--ink-700); }
.owner-bio strong { color: var(--ink-900); }

.hero-promises {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--border-light);
  display: grid;
  gap: 10px;
}
.hero-promises li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; color: var(--ink-700); }
.hero-promises .icon { color: var(--accent-emerald); margin-top: 2px; }
.hero-promises strong { color: var(--ink-900); }

/* --- Workflow card: the signal ----------------------------------------- */
.blueprint-card {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.blueprint-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%; height: 80%;
  background: radial-gradient(closest-side, rgba(205, 230, 122, 0.12), transparent);
  pointer-events: none;
}
.blueprint-top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.blueprint-title { margin: 0; font-weight: 700; font-size: 1.02rem; color: #fff; }

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: rgba(0, 0, 0, 0.28);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.scenario-tab {
  background: transparent;
  color: var(--ink-muted-dark);
  border: none;
  padding: 9px 8px;
  font: inherit; font-size: 0.9rem; font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.scenario-tab:hover { color: #fff; }
.scenario-tab.active { background: var(--accent-lime); color: var(--ink-900); }

/* One center line for the rail, the moving signal and every step marker.
   --rail-x: line center from the wrap's left edge. --rail-y: first marker's center. */
.flow-wrap { --rail-x: 16px; --rail-y: 22px; --node-x: 36px; position: relative; padding-left: var(--node-x); margin-bottom: 16px; }
.flow-rail {
  position: absolute;
  left: calc(var(--rail-x) - 1px); top: var(--rail-y); bottom: var(--rail-y);
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}
.flow-rail-fill {
  position: absolute; inset: 0;
  background: linear-gradient(var(--accent-lime), rgba(205, 230, 122, 0.55));
  border-radius: 2px;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.7s var(--ease-out);
}
.flow-signal {
  position: absolute;
  left: var(--rail-x); top: 0;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--accent-lime);
  transform: translate(-50%, var(--rail-y));
  transition: transform 0.7s var(--ease-out);
  z-index: 2;
}
.flow-signal::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-lime);
  opacity: 0;
  animation: signal-pulse 1.8s var(--ease-out) infinite;
}
.is-paused .flow-signal::after { animation: none; }
@keyframes signal-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.flow-nodes { display: flex; flex-direction: column; gap: 10px; }
.flow-node {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 13px 15px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}
.flow-node::before {
  content: "";
  position: absolute;
  /* offsets are from the node's padding edge, inside its 1px border */
  left: calc(var(--rail-x) - var(--node-x) - 1px - 6px);
  top: calc(var(--rail-y) - 1px - 6px);
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: var(--bg-dark);
}
.flow-node.done::before { background: var(--accent-lime); border-color: var(--accent-lime); }
.flow-node:hover { background: rgba(255, 255, 255, 0.07); }
.flow-node.active { background: var(--bg-dark-card); border-color: rgba(205, 230, 122, 0.6); }
.flow-node:not(.active) .flow-node-desc { color: #a9beb6; }

.flow-node-header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.flow-node-title { font-weight: 700; font-size: 1rem; color: #fff; line-height: 1.35; }
.flow-step-tag { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent-lime); font-weight: 700; white-space: nowrap; }
.flow-node-desc { display: block; font-size: 0.93rem; line-height: 1.5; color: var(--ink-muted-dark); }

.flow-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent-lime);
  transform-origin: left;
  transform: scaleX(0);
  border-radius: 0 0 10px 10px;
}
.flow-node.active .flow-progress { animation: dwell var(--dwell) linear forwards; }
.blueprint-card:hover .flow-node.active .flow-progress,
.is-paused .flow-node.active .flow-progress { animation-play-state: paused; }
@keyframes dwell { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.flow-nodes.is-entering .flow-node { animation: node-in 0.5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
/* no transform here: the signal measures node positions while they fade in */
@keyframes node-in { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }

.blueprint-inspector {
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid var(--border-dark);
  padding: 14px 16px;
  border-radius: 10px;
}
.inspector-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.inspector-label { font-size: 0.85rem; font-weight: 700; color: var(--accent-lime); }
.inspector-text { font-size: 0.97rem; line-height: 1.55; color: var(--ink-on-dark); transition: opacity 0.14s ease, filter 0.14s ease; }
.inspector-text.is-swapping { opacity: 0; filter: blur(3px); }
.flow-toggle {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--ink-on-dark);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.flow-toggle:hover { background: rgba(255, 255, 255, 0.1); }
.flow-toggle .icon { width: 14px; height: 14px; }

/* ==========================================================================
   Story
   ========================================================================== */
.story-banner { padding: 0 0 96px; background: var(--bg-page); }
.story-box {
  background: linear-gradient(140deg, #102b24 0%, #173e33 100%);
  color: var(--ink-on-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.story-heading { margin: 0 0 18px; font-size: 1rem; font-weight: 700; color: var(--accent-lime); }
.story-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.38;
  margin: 0 0 22px;
  color: #fff;
}
.story-quote mark { background: rgba(205, 230, 122, 0.2); color: var(--accent-lime); padding: 0 4px; border-radius: 4px; }
.story-context { font-size: 1rem; color: var(--ink-muted-dark); margin: 0; max-width: 68ch; }
.story-context strong { color: #fff; }
.story-metrics { margin: 0; display: flex; flex-direction: column; gap: 0; }
.story-stat { padding: 16px 0; border-bottom: 1px solid var(--border-dark); }
.story-stat:first-child { padding-top: 0; }
.story-stat:last-child { border-bottom: none; padding-bottom: 0; }
.story-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-lime);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.story-stat-label { margin: 4px 0 0; font-size: 0.95rem; color: var(--ink-muted-dark); }

/* ==========================================================================
   Where I work: neighbors first
   ========================================================================== */
.area-section { padding-top: 0; }
.hero-locale a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent-lime); text-decoration-thickness: 2px; }
.hero-locale a:hover { color: var(--accent-emerald); }
.area-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }

.meet-ways { list-style: none; margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--border-light); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.meet-ways li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; color: var(--ink-700); }
.meet-ways .icon {
  width: 36px; height: 36px;
  padding: 8px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg-tint);
  color: var(--accent-emerald);
}
.meet-ways strong { display: block; color: var(--ink-900); font-size: 1rem; }
.area-tiers { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; position: relative; }
.area-tiers::before {
  content: "";
  position: absolute;
  left: 22px; top: 26px; bottom: 26px;
  width: 2px;
  background: var(--border-light);
}
.area-tier {
  position: relative;
  width: 100%;
  display: flex; align-items: flex-start; gap: 14px;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  font: inherit;
  color: var(--ink-700);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.area-tier:hover { background: var(--bg-surface); }
.area-tier.is-active { background: var(--bg-surface); border-color: var(--border-light); box-shadow: var(--shadow-sm); }
.tier-mark {
  position: relative; z-index: 1;
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 2px solid var(--ink-500);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.area-tier.is-reached .tier-mark { background: var(--accent-emerald); border-color: var(--accent-emerald); }
.area-tier.is-active .tier-mark { transform: scale(1.2); box-shadow: 0 0 0 4px var(--accent-emerald-soft); }
.tier-text { display: flex; flex-direction: column; gap: 2px; }
.tier-text strong { font-size: 1.08rem; color: var(--ink-900); }
.tier-text span { font-size: 0.93rem; color: var(--ink-500); }

.area-map-card {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.area-map { position: relative; }
.area-svg { display: block; width: 100%; height: auto; }
.area-svg text { font-family: var(--font-sans); paint-order: stroke; stroke: var(--bg-dark); stroke-width: 5px; stroke-linejoin: round; }

.area-grid-line { stroke: rgba(255, 255, 255, 0.045); stroke-width: 1; }
.area-contour { fill: none; stroke: rgba(191, 209, 202, 0.28); stroke-width: 1.2; stroke-dasharray: 3 4; }
.area-terrain-label { font-size: 13px; font-style: italic; fill: rgba(191, 209, 202, 0.65); }
.area-ring { fill: none; stroke: rgba(205, 230, 122, 0.16); stroke-width: 1.2; stroke-dasharray: 5 6; }
.area-svg .area-ring-label { font-size: 13px; fill: rgba(205, 230, 122, 0.6); font-family: var(--font-mono); }
.area-hwy { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.area-hwy-label { font-size: 12px; font-weight: 700; fill: rgba(255, 255, 255, 0.55); }

.area-route {
  fill: none;
  stroke: var(--accent-lime);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: var(--len) var(--len);
  stroke-dashoffset: var(--len);
  opacity: 0.9;
  transition: stroke-dashoffset 0.9s var(--ease-out), opacity 0.4s ease;
}
.area-route.is-lit { stroke-dashoffset: 0; }
.area-route.is-older { opacity: 0.32; }

.area-city { cursor: pointer; transition: opacity 0.35s ease; opacity: 0.4; }
.area-city.is-lit { opacity: 1; }
.area-city-hit { fill: transparent; stroke: none; }
.area-city-dot {
  fill: var(--ink-on-dark);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.4s var(--ease-out), fill 0.3s ease;
}
.area-city.is-lit .area-city-dot { fill: var(--accent-lime); }
.area-city.is-new .area-city-dot { transform: scale(1.45); }
.area-city.is-focus .area-city-dot { transform: scale(1.9); }
.area-svg .area-city-label { font-size: 16px; font-weight: 600; fill: var(--ink-on-dark); transition: opacity 0.3s ease; }
.area-svg .area-city.is-new .area-city-label, .area-svg .area-city.is-focus .area-city-label { fill: #fff; font-weight: 800; }
.area-svg .area-home .area-city-label { font-size: 19px; font-weight: 800; fill: #fff; }
.area-svg .area-home-sub { font-size: 12px; font-weight: 700; fill: var(--accent-lime); letter-spacing: 0.04em; }
.area-home .area-city-dot { fill: var(--accent-lime); }
.area-pulse {
  fill: none;
  stroke: var(--accent-lime);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: area-pulse 2.4s var(--ease-out) infinite;
  opacity: 0;
}
.area-pulse.p2 { animation-delay: 1.2s; }
.area-map.is-paused .area-pulse, .area-map.is-paused .area-ray { animation-play-state: paused; }
@keyframes area-pulse { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }

.area-reach {
  fill: none;
  stroke: var(--accent-lime);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.05);
  opacity: 0;
  transition: transform 1.4s var(--ease-out), opacity 0.6s ease;
}
.area-map.tier-3 .area-reach { transform: scale(1); opacity: 0.45; }
.area-ray {
  fill: none;
  stroke: var(--accent-lime);
  stroke-width: 2.2;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}
.area-ray-head { fill: var(--accent-lime); opacity: 0; transition: opacity 0.6s ease 0.3s; }
.area-svg .area-us-label { font-size: 17px; font-weight: 800; fill: var(--accent-lime); opacity: 0; transition: opacity 0.6s ease 0.4s; }
.area-map.tier-3 .area-ray, .area-map.tier-3 .area-ray-head, .area-map.tier-3 .area-us-label { opacity: 1; }
.area-map.tier-3 .area-ray { animation: ray-flow 1.2s linear infinite; }
@keyframes ray-flow { to { stroke-dashoffset: -22; } }

.area-detail {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-dark);
  min-height: 100px;
  transition: opacity 0.16s ease, filter 0.16s ease;
}
.area-detail.is-swapping { opacity: 0; filter: blur(3px); }
.area-detail-title { margin: 0 0 4px; font-weight: 800; color: var(--accent-lime); }
.area-detail-body { margin: 0; font-size: 0.97rem; color: var(--ink-on-dark); }
.area-note { margin: 10px 2px 0; font-size: 0.85rem; color: var(--ink-muted-dark); }

/* ==========================================================================
   Missed-call cost estimator
   ========================================================================== */
.cost-section { padding-top: 0; }
.cost-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.cost-fine { margin: 18px 0 0; font-size: 0.95rem; color: var(--ink-500); max-width: 48ch; }
.cost-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.cost-field { margin-bottom: 22px; }
.cost-field label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.cost-control { display: flex; align-items: center; gap: 16px; }
.cost-out {
  min-width: 4.5ch;
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  --fill: 50%;
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 28px;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent-emerald) var(--fill), var(--bg-subtle) var(--fill));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--bg-subtle); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent-emerald); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent-emerald);
  box-shadow: 0 2px 6px rgba(17, 33, 28, 0.2);
  transition: transform 0.15s ease;
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent-emerald);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.cost-result {
  margin: 8px 0 22px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}
.cost-result-label { margin: 0; font-size: 0.95rem; color: var(--ink-muted-dark); font-weight: 600; }
.cost-result-num {
  margin: 2px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--accent-lime);
  font-variant-numeric: tabular-nums;
}
.cost-result-sub { margin: 0; font-size: 1rem; color: var(--ink-on-dark); }
.cost-result-sub strong { color: var(--accent-lime); }
.cost-add { width: 100%; }
.cost-add[aria-pressed="true"] { background: var(--accent-emerald); color: #fff; }

/* ==========================================================================
   Solutions
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--ink-700);
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 0.93rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { border-color: var(--ink-500); color: var(--ink-900); }
.filter-btn.active { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.filter-count { font-family: var(--font-mono); font-size: 0.8rem; opacity: 0.8; }

.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.2s ease, background-color 0.2s ease;
}
.solution-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.solution-card.selected-for-brief { border-color: var(--accent-emerald); box-shadow: 0 0 0 1px var(--accent-emerald), var(--shadow-sm); background: #fbfefc; }
.solution-card-start { background: var(--bg-tint); border-color: #c5dccf; }

.solution-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.ladder-badge { font-size: 0.85rem; font-weight: 700; color: var(--accent-emerald); }
.price-pill {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink-900);
  background: var(--bg-subtle);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.solution-card-start .price-pill { background: #fff; }
.solution-title { font-size: 1.25rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 10px; }
.solution-pain {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--accent-primary);
  margin: 0 0 12px;
}
.solution-desc { font-size: 1rem; color: var(--ink-700); margin: 0 0 16px; }
.solution-list { list-style: none; padding: 14px 0 0; margin: 0 0 22px; border-top: 1px solid var(--border-light); }
.solution-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--ink-700);
  margin-bottom: 7px;
}
.solution-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 16px; height: 16px;
  background: var(--accent-emerald);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.solution-footer { margin-top: auto; }
.select-brief-btn {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px;
  min-height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--ink-900);
  font: inherit; font-weight: 700; font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.select-brief-btn:hover { background: var(--bg-tint); border-color: var(--accent-emerald); }
.select-brief-btn[aria-pressed="true"] { background: var(--accent-emerald); border-color: var(--accent-emerald); color: #fff; }
.select-brief-btn[aria-pressed="true"] .icon { animation: tick-in 0.35s var(--ease-out); }
@keyframes tick-in { from { transform: scale(0.4) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }

::view-transition-group(*) { animation-duration: 0.4s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

/* ==========================================================================
   Proof / case studies
   ========================================================================== */
.case-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.case-tab-btn {
  flex: 1;
  min-width: 260px;
  text-align: left;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.case-tab-btn:hover { border-color: var(--border-strong); }
.case-tab-btn.active { border-color: var(--bg-dark); box-shadow: 0 0 0 1px var(--bg-dark), var(--shadow-md); }
.case-tab-kicker { display: block; font-size: 0.88rem; font-weight: 700; color: var(--accent-emerald); margin-bottom: 4px; }
.case-tab-title { display: block; font-size: 1.15rem; font-weight: 800; color: var(--ink-900); margin-bottom: 4px; }
.case-tab-sub { font-size: 0.93rem; color: var(--ink-500); }

.case-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.case-panel.is-entering { animation: panel-in 0.4s var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.honesty-callout {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--ink-700);
  margin: 0 0 28px;
  max-width: 82ch;
}
.honesty-callout strong { color: var(--ink-900); }

.metrics-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 32px; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.metric-box { padding: 20px 20px 20px 0; }
.metric-box + .metric-box { padding-left: 20px; border-left: 1px solid var(--border-light); }
.metric-val {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent-emerald);
  line-height: 1.05;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.metric-desc { font-size: 0.93rem; color: var(--ink-700); }

/* Sample-data cleaner */
.sanitizer-demo { background: var(--bg-dark); color: var(--ink-on-dark); border-radius: var(--radius-md); padding: 26px; margin: 28px 0; }
.sanitizer-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sanitizer-title { margin: 10px 0 4px; color: #fff; font-size: 1.2rem; }
.sanitizer-sub { margin: 0; font-size: 0.95rem; color: var(--ink-muted-dark); max-width: 60ch; }
.sanitizer-sub code { color: var(--accent-lime); }
.sanitizer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.code-pane {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.5;
  overflow-x: auto;
}
.code-pane-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-lime);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-dark);
}
.sample-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 8px;
  margin: 0 -8px;
  border-radius: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  transition: background-color 0.25s ease, opacity 0.3s ease;
}
.sample-row > :last-child { text-align: right; flex-shrink: 0; }
.sample-row-total { border-bottom: none; margin-top: 4px; font-weight: 700; color: #fff; }
.badge-drop { color: #fcb4b4; }
.badge-clean { color: var(--accent-lime); }
.badge-warn { color: #fcd877; }
.row-tag { font-size: 0.8rem; }

.sample-row.is-scan { background: rgba(205, 230, 122, 0.14); }
.sample-row.is-drop { opacity: 0.55; }
.sample-row.is-drop > span:first-child { text-decoration: line-through; text-decoration-color: #fcb4b4; }
.sample-row.is-keep { background: rgba(205, 230, 122, 0.08); }
.sample-row.is-warn { background: rgba(252, 216, 119, 0.08); }
.sample-row.is-arriving { animation: row-in 0.4s var(--ease-out) both; }
@keyframes row-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.rule-card { padding: 18px 0; border-top: 1px solid var(--border-light); }
.rule-num { font-size: 0.85rem; font-weight: 700; color: var(--accent-primary); }
.rule-title { font-weight: 800; font-size: 1.05rem; line-height: 1.35; margin: 4px 0 6px; color: var(--ink-900); }
.rule-body { font-size: 0.97rem; color: var(--ink-700); margin: 0; }
.rule-biz { margin: 10px 0 0; font-size: 0.95rem; color: var(--accent-emerald); font-weight: 600; }

/* ==========================================================================
   Comparison
   ========================================================================== */
.comparison-wrap { overflow-x: auto; background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 720px; }
.comparison-table th, .comparison-table td { padding: 18px 20px; border-bottom: 1px solid var(--border-light); font-size: 0.97rem; vertical-align: top; color: var(--ink-700); }
.comparison-table tbody tr:last-child > * { border-bottom: none; }
.comparison-table thead th { background: var(--bg-subtle); font-weight: 800; color: var(--ink-900); font-size: 0.95rem; }
.comparison-table tbody th { font-weight: 700; color: var(--ink-900); width: 22%; }
.comparison-table td.highlight-col { background: #f1f8f4; color: var(--ink-900); }
.comparison-table thead th.highlight-col { background: var(--bg-dark); color: #fff; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: start; }
.pricing-table-card { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.pricing-row {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  transition: background-color 0.2s ease;
}
.pricing-row:hover { background: #fcfbf8; }
.pricing-row:last-child { border-bottom: none; }
.pricing-row-free { background: var(--bg-tint); }
.pricing-row-free:hover { background: var(--bg-tint); }
.pricing-row-name { font-weight: 800; font-size: 1.05rem; margin: 0 0 4px; }
.pricing-row-desc { font-size: 0.95rem; color: var(--ink-700); margin: 0; max-width: 60ch; }
.pricing-row-cost { font-family: var(--font-mono); font-weight: 800; font-size: 1.05rem; color: var(--accent-emerald); text-align: right; white-space: nowrap; }

.calculator-card {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  box-shadow: var(--shadow-lg);
}
.calc-heading { margin: 0 0 8px; font-size: 1.4rem; color: #fff; }
.calc-sub { font-size: 0.97rem; color: var(--ink-muted-dark); margin: 0 0 20px; }
.form-label-dark { color: #fff; }
.calc-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: var(--bg-dark-elevated);
  color: #fff;
  font: inherit; font-size: 0.97rem; font-weight: 600;
  margin-bottom: 16px;
}
.calc-toggle-label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--ink-muted-dark); margin-bottom: 18px; cursor: pointer; }
.calc-toggle-label input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent-lime); }
.calc-breakdown { background: rgba(0, 0, 0, 0.26); border: 1px solid var(--border-dark); border-radius: var(--radius-sm); padding: 18px; margin-bottom: 16px; }
.calc-line { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; margin-bottom: 10px; color: var(--ink-muted-dark); }
.calc-line strong { color: #fff; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-line .calc-credit { color: var(--accent-lime); }
.calc-line.total { border-top: 1px solid var(--border-dark); padding-top: 12px; margin: 12px 0 0; font-size: 1.02rem; color: #fff; font-weight: 700; }
.calc-line.total strong { color: var(--accent-lime); font-size: 1.2rem; }
.calc-fine { font-size: 0.88rem; color: var(--ink-muted-dark); margin: 0 0 16px; }

/* ==========================================================================
   Process track & boundaries
   ========================================================================== */
.steps-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.steps-track::before, .steps-track::after {
  content: "";
  position: absolute;
  top: 17px; left: 18px; right: 18px;
  height: 2px;
  border-radius: 2px;
}
.steps-track::before { background: var(--border-light); }
.steps-track::after { background: var(--accent-emerald); transform-origin: left; transform: scaleX(1); }
.js .steps-track::after { transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.js .steps-track.is-lit::after { transform: scaleX(1); }

.step-card { position: relative; z-index: 1; }
.step-number {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent-lime);
  font-family: var(--font-mono);
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px var(--bg-subtle);
  transition: background-color 0.4s ease, color 0.4s ease;
}
.js .steps-track:not(.is-lit) .step-number { background: var(--bg-surface); color: var(--ink-500); }
.js .steps-track .step-number { transition-delay: calc(var(--i, 0) * 220ms); }
.step-title { font-weight: 800; font-size: 1.08rem; margin: 0 0 8px; }
.step-text { font-size: 0.97rem; color: var(--ink-700); margin: 0; }

.boundary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.boundary { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 24px 26px; }
.boundary-title { display: flex; gap: 10px; align-items: flex-start; font-size: 1.1rem; font-weight: 800; margin: 0 0 10px; }
.boundary-title .icon { color: var(--accent-emerald); margin-top: 3px; }
.boundary p { margin: 0; font-size: 0.98rem; color: var(--ink-700); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 860px; display: flex; flex-direction: column; border-top: 1px solid var(--border-light); }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-h { margin: 0; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 4px;
  background: none;
  border: none;
  font: inherit; font-size: 1.12rem; font-weight: 800;
  color: var(--ink-900);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.faq-question:hover { color: var(--accent-emerald); }
.faq-icon { color: var(--accent-emerald); transition: transform 0.35s var(--ease-out); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.4s var(--ease-out), visibility 0s; }
.faq-answer-inner { overflow: hidden; font-size: 1.02rem; color: var(--ink-700); max-width: 70ch; padding: 0 4px; }
.faq-item.open .faq-answer-inner { padding-bottom: 22px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
.brief-builder { background: var(--bg-surface); color: var(--ink-900); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.brief-privacy {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 24px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-tint);
  font-size: 0.93rem;
  color: var(--ink-700);
}
.brief-privacy .icon { color: var(--accent-emerald); margin-top: 2px; }
.form-group { margin-bottom: 22px; }
.form-label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; font-size: 1rem; margin-bottom: 8px; color: var(--ink-900); }
.form-step {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent-lime);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.form-optional { font-weight: 500; font-size: 0.88rem; color: var(--ink-500); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem;
  background: var(--bg-page);
  color: var(--ink-900);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.form-input::placeholder, .form-textarea::placeholder { color: #6b7d76; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-emerald);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27, 107, 76, 0.18);
}
.form-textarea { min-height: 112px; resize: vertical; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chip {
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  font: inherit; font-size: 0.92rem; font-weight: 600;
  cursor: pointer;
  color: var(--ink-700);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.tool-chip:hover { border-color: var(--accent-emerald); }
.tool-chip.active { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }

.preview-email-box { background: var(--bg-dark-elevated); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 26px; position: sticky; top: calc(var(--header-height) + 24px); }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview-title { margin: 0; color: #fff; font-size: 1.2rem; }
.preview-count { font-size: 0.85rem; font-weight: 700; color: var(--ink-900); background: var(--accent-lime); padding: 3px 10px; border-radius: 999px; }
.brief-items { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.brief-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 8px 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(205, 230, 122, 0.1);
  border: 1px solid rgba(205, 230, 122, 0.25);
  font-size: 0.92rem;
  color: var(--ink-on-dark);
  animation: row-in 0.35s var(--ease-out) both;
}
.brief-remove {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--ink-muted-dark);
  cursor: pointer;
}
.brief-remove:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.brief-remove .icon { width: 16px; height: 16px; }
.preview-pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-on-dark);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 14px 0 18px;
  max-height: 340px;
  overflow-y: auto;
}
.preview-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.preview-actions .btn { flex: 1 1 200px; }
.copy-feedback { margin: 10px 0 0; font-size: 0.93rem; color: var(--accent-lime); min-height: 1.4em; }
.preview-promise { margin: 6px 0 0; font-size: 0.93rem; color: var(--ink-muted-dark); }

/* A real face at the decision point */
.contact-intro { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; margin-bottom: 44px; }
.contact-intro .section-header { margin-bottom: 0; }
.mark-photos { margin: 0; width: 340px; }
.mark-photos-stack { position: relative; display: block; height: 252px; }
.mark-photo {
  position: absolute;
  display: block;
  height: auto;
  border-radius: 10px;
  border: 4px solid #f3f6f4;
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.7s var(--ease-out), opacity 0.6s ease;
}
.mark-photo-a { width: 176px; left: 0; top: 0; transform: rotate(-4deg); z-index: 1; }
.mark-photo-b { width: 166px; right: 6px; top: 34px; transform: rotate(3.5deg); }
.mark-photo:hover { transform: rotate(0deg) translateY(-4px); z-index: 2; }
/* settle into place the first time they're seen; visible without JS */
.js .mark-photos:not(.is-in) .mark-photo { opacity: 0; transform: rotate(0deg) translateY(16px); }
.js .mark-photos .mark-photo-b { transition-delay: 0.12s; }
.mark-photos figcaption { margin-top: 14px; font-size: 0.95rem; color: var(--ink-muted-dark); max-width: 34ch; }

/* Floating brief tray */
.brief-tray {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 10px;
  border-radius: 999px;
  background: var(--bg-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  animation: tray-in 0.45s var(--ease-out) both;
}
.brief-tray-count {
  display: grid; place-items: center;
  min-width: 30px; height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent-lime);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-weight: 800;
}
.brief-tray-go { display: inline-flex; align-items: center; gap: 6px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.2); color: var(--accent-lime); font-weight: 700; }
.brief-tray:hover .brief-tray-go .icon { transform: translateX(3px); }
.brief-tray-go .icon { transition: transform 0.3s var(--ease-out); }
.brief-tray.is-pop .brief-tray-count { animation: count-pop 0.4s var(--ease-out); }
@keyframes tray-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes count-pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ==========================================================================
   Footer & mobile bar
   ========================================================================== */
.site-footer { background: #0a1c17; color: var(--ink-muted-dark); padding: 64px 0 40px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand { color: #fff; font-size: 1.1rem; font-weight: 800; margin: 0 0 8px; }
.footer-about { margin: 0 0 12px; max-width: 46ch; }
.footer-head { color: #fff; font-weight: 700; margin: 0 0 10px; }
.footer-mail { color: var(--accent-lime); font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--ink-muted-dark); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid var(--border-dark); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; }

.mobile-bottom-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 41, 34, 0.97);
  border-top: 1px solid var(--border-dark);
}
.mobile-bottom-bar .btn { flex: 1; }
.mobile-bottom-bar .mobile-cta { flex: 2; }
.mobile-cta-count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 800;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 18px;
    border-bottom: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; animation: menu-in 0.3s var(--ease-out) both; }
  .nav-link { padding: 12px 8px; font-size: 1.05rem; }
  .nav-link::after { left: 8px; right: auto; width: 32px; }
  .mobile-menu-btn { display: inline-flex; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1024px) {
  .hero-grid, .story-box, .pricing-layout, .contact-grid, .cost-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .cost-grid { gap: 32px; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-track { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .steps-track::before, .steps-track::after { top: 18px; bottom: 18px; left: 17px; right: auto; width: 2px; height: auto; }
  .steps-track::after { transform-origin: top; }
  .js .steps-track::after { transform: scaleY(0); }
  .js .steps-track.is-lit::after { transform: scaleY(1); }
  .step-card { display: grid; grid-template-columns: 36px 1fr; column-gap: 18px; }
  .step-number { grid-row: span 2; margin: 0; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-box:nth-child(3) { padding-left: 0; border-left: none; }
  .metric-box:nth-child(n+3) { border-top: 1px solid var(--border-light); }
  .calculator-card, .preview-email-box { position: static; }
  .contact-intro { grid-template-columns: 1fr; gap: 28px; }
  .area-grid { grid-template-columns: 1fr; gap: 28px; }
  .meet-ways { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  body { font-size: 1rem; padding-bottom: 72px; }
  .section { padding: 72px 0; }
  .container, .header-inner { padding-left: 16px; padding-right: 16px; }
  .header-cta { display: none; }
  .brand-sub { display: none; }
  .hero { padding: 40px 0 64px; }
  .hero-cta-row .btn { width: 100%; }
  .solutions-grid, .sanitizer-grid, .rules-grid, .footer-grid, .boundary-grid { grid-template-columns: 1fr; }
  .rules-grid { gap: 0; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
  .case-panel { padding: 22px 18px; }
  .case-tab-btn { min-width: 0; flex-basis: 100%; }
  .story-box { padding: 28px 22px; gap: 28px; }
  .story-banner { padding-bottom: 72px; }
  .cost-card, .brief-builder { padding: 22px 18px; }
  .blueprint-card { padding: 18px; }
  .flow-wrap { --rail-x: 13px; --node-x: 30px; }
  .flow-node-header { flex-direction: column-reverse; align-items: flex-start; gap: 2px; }
  .metrics-strip { grid-template-columns: 1fr 1fr; }
  .metric-box { padding: 16px 12px 16px 0; }
  .metric-box + .metric-box { padding-left: 12px; }
  .metric-val { font-size: 1.7rem; }
  .pricing-row { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .pricing-row-cost { text-align: left; }
  .sample-row { flex-direction: column; gap: 2px; }
  .sample-row > :last-child { text-align: left; }
  .mobile-bottom-bar { display: flex; }
  .area-map-card { padding: 12px 12px 16px; }
  /* map text is in map units; enlarge it so it stays readable on a phone */
  .area-svg .area-city-label { font-size: 30px; }
  .area-svg .area-home .area-city-label { font-size: 34px; }
  .area-svg .area-home-sub, .area-svg .area-ring-label, .area-svg .area-terrain-label, .area-svg .area-hwy-label { display: none; }
  .area-svg .area-us-label { font-size: 30px; }
  .area-svg .area-city:not(.is-new):not(.is-focus):not(.area-home) .area-city-label { opacity: 0; }
  .mark-photos { width: 100%; max-width: 320px; }
  .mark-photos-stack { height: 228px; }
  .mark-photo-a { width: 160px; }
  .mark-photo-b { width: 150px; right: 0; }
  .brief-tray { display: none !important; }
  .site-footer { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .flow-signal::after { display: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media print {
  .site-header, .mobile-bottom-bar, .filter-bar, .brief-builder, .brief-tray { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Studio edition: a refinement of the owner's manual visual language. */
:root {
  --bg-page: #f6f5ef;
  --bg-subtle: #eceee6;
  --border-light: #d8ddd2;
  --radius-lg: 16px;
  --max-width: 1328px;
  --header-height: 88px;
}
.site-header { background: var(--bg-page); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--border-light); }
.header-inner { gap: 24px; }
.brand-link { gap: 11px; }
.brand-mark { background: none; color: var(--bg-dark); width: 44px; height: 44px; border-radius: 0; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-size: 1.12rem; font-weight: 750; letter-spacing: -.035em; }
.brand-sub { font-size: .72rem; margin-top: 5px; }
.nav-link { font-size: .86rem; padding-inline: 9px; }
.btn { border-radius: 7px; font-weight: 650; }
.btn-primary, .btn-primary:hover { box-shadow: none; }
.btn-sm { min-height: 44px; }
.hero { padding: 72px 0 80px; background: var(--bg-page); }
.hero-grid { grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.hero-headline { font-size: clamp(2.7rem, 4.05vw, 3.8rem); line-height: 1.06; letter-spacing: -.035em; max-width: 15ch; margin-bottom: 26px; font-weight: 400; }
.hero-headline em { font-weight: 400; background: none; animation: none; }
.hero-subheadline { font-size: 1.08rem; line-height: 1.75; max-width: 51ch; margin-bottom: 25px; }
.hero-cta-row { gap: 14px; margin-bottom: 22px; align-items: center; }
.hero-cta-row .btn-lg { font-size: .94rem; min-height: 50px; padding: 12px 17px; }
.hero-cta-row .btn-secondary { background: none; border-color: transparent; padding-inline: 0; text-decoration: underline; text-underline-offset: 5px; font-size: .85rem; }
.hero-locale { font-size: .77rem; font-weight: 500; line-height: 1.7; margin: 0 0 28px; }
.hero-owner { padding-top: 22px; border-top: 1px solid var(--border-light); gap: 15px; margin-bottom: 20px; }
.owner-photo { width: 48px; height: 48px; box-shadow: none; }
.owner-bio { font-size: .86rem; line-height: 1.65; }
.hero-promises { border: 0; padding: 0; gap: 8px; }
.hero-promises li { font-size: .82rem; }
.blueprint-card { margin-top: 8px; padding: 28px; border: 0; box-shadow: 0 20px 44px -28px rgba(15,41,34,.5); }
.blueprint-card::before { display: none; }
.blueprint-top { margin-bottom: 24px; }
.blueprint-title { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.sample-badge { font-size: .67rem; }
.scenario-tab { min-height: 44px; font-size: .8rem; }
.flow-node { border-radius: 10px; padding: 15px; }
.flow-node-title { font-size: .94rem; font-weight: 600; }
.flow-node-desc { font-size: .83rem; line-height: 1.65; }
.flow-step-tag { font-size: .66rem; }
.blueprint-inspector { margin-top: 22px; }
.inspector-text { font-size: .88rem; line-height: 1.7; }
.section { padding: 100px 0; }
.section-title { font-weight: 400; font-size: clamp(2.1rem, 3.6vw, 3.2rem); max-width: 24ch; }
.section-lead { font-size: 1.05rem; line-height: 1.8; }
.story-box { border-radius: 16px; padding: 48px; box-shadow: none; gap: 60px; }
.story-heading { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; color: var(--ink-on-dark); }
.story-quote { font-weight: 400; line-height: 1.45; }
.story-context { font-size: .92rem; line-height: 1.8; }
.story-stat-num { font-weight: 400; }
.story-stat-label { font-size: .86rem; line-height: 1.65; }
.solution-card { box-shadow: none; border-radius: 12px; padding: 28px; }
.solution-card:hover { transform: none; box-shadow: none; border-color: var(--accent-emerald); }
.solution-title { font-size: 1.3rem; font-weight: 650; }
.solution-desc, .solution-list { line-height: 1.75; }
.pricing-table-card, .area-map-card { box-shadow: none; }
.pricing-row { padding: 24px; }
.pricing-row-name { font-weight: 650; }
.faq-question { padding-block: 25px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; letter-spacing: -.025em; }
.footer-symbol { color: var(--accent-lime); display: inline-flex; width: 40px; height: 40px; }
.footer-symbol svg { width: 100%; height: 100%; }
@media(min-width:1121px) and (max-width:1250px) { .nav-link { padding-inline: 6px; font-size: .8rem; } .header-inner { gap: 12px; } .header-cta { font-size: .8rem; } }
@media(max-width:1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-headline { max-width: 21ch; font-size: clamp(2.8rem, 6.5vw, 4rem); }
  .hero-subheadline { max-width: 65ch; }
  .blueprint-card { margin-top: 0; }
  .hero-owner { max-width: 65ch; }
}
@media(max-width:768px) {
  :root { --header-height: 72px; }
  .container, .header-inner { padding-inline: 22px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1rem; }
  .hero { padding: 38px 0 52px; }
  .hero-headline { font-size: clamp(2.55rem, 9.5vw, 3.5rem); max-width: 17ch; line-height: 1.08; }
  .hero-subheadline { font-size: 1rem; line-height: 1.75; }
  .hero-cta-row { gap: 4px; }
  .hero-cta-row .btn-secondary { min-height: 46px; }
  .hero-locale { font-size: .72rem; }
  .hero-promises li { font-size: .8rem; }
  .blueprint-card { padding: 22px 17px; }
  .blueprint-top { gap: 8px; }
  .flow-node { padding: 12px; }
  .flow-node-header { gap: 5px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 2.2rem; }
  .story-box { padding: 28px 23px; gap: 28px; }
  .story-banner { padding-bottom: 0; }
  .story-quote { font-size: 1.5rem; }
  .solution-card { padding: 24px; }
  .mobile-bottom-bar { padding-inline: 16px; }
  .footer-mail, .section-lead a { overflow-wrap: anywhere; }
}
/* Elevated: connected field guide, preserving the owner's manual identity. */
:root { --max-width: 1360px; --bg-page: #f5f5ed; --bg-subtle: #e7eadf; }
.hero { padding: 64px 0 0; }
.hero-grid { display: flex; flex-direction: column; gap: 0; }
.hero-copy { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 80px; width: 100%; }
.hero-headline { font-size: clamp(3.8rem,6.5vw,6rem); max-width: none; line-height: 1; letter-spacing: -.04em; margin: 0; }
.hero-headline em { white-space: nowrap; }
.hero-intro { padding-bottom: 4px; }
.hero-subheadline { font-size: 1.1rem; line-height: 1.7; max-width: 43ch; margin-bottom: 24px; }
.hero-explore { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: .85rem; font-weight: 600; text-decoration: none; width: fit-content; }
.hero-person { width: 100%; display: flex; align-items: center; gap: 14px; padding: 34px 0; margin-top: 28px; }
.hero-person img { border-radius: 50%; object-fit: cover; }
.hero-person p { margin: 0; font-size: .82rem; line-height: 1.65; }
.hero-person p strong { display: block; font-weight: 600; }
.hero-person p span { color: var(--ink-500); }
.hero-person > a { margin-left: auto; font-size: .83rem; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.blueprint-card { width: 100%; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto 1fr; gap: 0 64px; padding: 44px; border-radius: 16px; margin: 0; box-shadow: none; }
.blueprint-top { grid-column: 1; display: block; margin-bottom: 22px; }
.blueprint-title { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.1; font-weight: 400; margin-bottom: 14px; }
.sample-badge { display: inline-block; background: transparent; color: var(--ink-muted-dark); border: 1px solid var(--border-dark); font-family: var(--font-sans); padding: 4px 8px; }
.scenario-tabs { grid-column: 1; margin-bottom: 24px; }
.flow-wrap { grid-column: 1; grid-row: 3; }
.blueprint-inspector { grid-column: 2; grid-row: 1 / 4; margin: 0; padding: 38px; align-self: stretch; border-radius: 10px; background: #1c4539; display: flex; flex-direction: column; border: 0; }
.inspector-intro { font-family: var(--font-display); font-size: 2.45rem; line-height: 1.15; margin: 0 0 56px; color: var(--ink-on-dark); }
.inspector-intro em { color: var(--accent-lime); }
.inspector-head { margin-top: auto; }
.inspector-text { font-size: 1.08rem; line-height: 1.8; padding-top: 16px; }
.inspector-text strong { display: block; font-size: 1.25rem; margin-bottom: 12px; color: var(--accent-lime); }
.flow-node { padding: 12px 15px; background: transparent; border-color: transparent; border-bottom-color: var(--border-dark); border-radius: 4px; }
.flow-node-title { font-size: .9rem; }
.flow-node-desc { display: none; }
.flow-node.active .flow-node-desc { display: block; padding-top: 8px; }
.start-section { padding: 96px 0; }
.start-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.start-layout h2 { font-family: var(--font-display); font-size: 3.2rem; font-weight: 400; line-height: 1.1; letter-spacing: -.025em; margin: 0; }
.start-routes a { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--border-strong); text-decoration: none; color: var(--ink-900); }
.start-routes a:first-child { padding-top: 0; }
.start-routes a > span:first-child { font-size: 1.23rem; font-weight: 600; }
.start-routes a > span:nth-child(2) { color: var(--ink-500); font-size: .9rem; margin-top: 6px; }
.start-routes a .icon { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 25px; height: 25px; transition: transform .2s; }
.start-routes a:hover .icon { transform: translateX(6px); }
.start-routes a:hover > span:first-child { color: var(--accent-emerald); }
.section-header { max-width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.section-title { max-width: 22ch; margin-bottom: 0; font-size: clamp(2.4rem,3.7vw,3.4rem); }
.section-header .section-lead { margin-bottom: 5px; }
#solutions { background: var(--bg-subtle); }
.solutions-grid { grid-template-columns: repeat(2,1fr); gap: 0 48px; }
.solution-card { border: 0; border-top: 1px solid var(--border-strong); background: transparent; border-radius: 0; padding: 30px 0; }
.solution-card:hover { border-color: var(--border-strong); background: transparent; }
.solution-card { position: relative; isolation: isolate; }
/* Selected: one framed box drawn by a pseudo-element, so the fill and the border line up
   and stacked selections keep a clean gap instead of overlapping outlines. */
.solution-card.selected-for-brief { background: transparent; box-shadow: none; outline: 0; border-top-color: transparent; }
.solution-card.selected-for-brief::before { content: ''; position: absolute; inset: 8px -14px; z-index: -1; background: #f4f8ec; border: 2px solid var(--accent-emerald); border-radius: 10px; pointer-events: none; }
.solution-card.selected-for-brief:hover { border-top-color: transparent; }
.solution-title { font-size: 1.6rem; font-weight: 600; letter-spacing: -.025em; max-width: 26ch; }
.solution-pain { font-family: var(--font-sans); font-style: normal; font-size: .95rem; color: var(--ink-700); max-width: 54ch; line-height: 1.7; }
.solution-meta { justify-content: flex-start; gap: 18px; }
.price-pill { background: transparent; padding: 0; font-family: var(--font-sans); font-weight: 600; }
.ladder-badge { font-weight: 500; }
.filter-btn { border-radius: 7px; font-size: .83rem; padding: 10px 14px; background: transparent; }
.service-details { margin: 16px 0 22px; }
.service-details summary { cursor: pointer; color: var(--accent-emerald); font-size: .85rem; font-weight: 650; padding: 8px 0; width: fit-content; }
.service-details[open] summary { margin-bottom: 12px; }
.select-brief-btn { width: fit-content; min-height: 44px; font-size: .85rem; padding: 10px 16px; border-radius: 7px; }
.case-tabs { gap: 0; border-bottom: 1px solid var(--border-strong); }
.case-tab-btn { border: 0; border-radius: 0; background: transparent; padding: 24px 24px 24px 0; }
.case-tab-btn.active { box-shadow: inset 0 -3px var(--accent-emerald); }
.case-panel { background: transparent; padding: 28px 0 0; border: 0; box-shadow: none; }
.case-tab-kicker { font-weight: 500; }
.case-tab-title { font-weight: 600; font-size: 1.3rem; }
.honesty-callout { background: var(--bg-subtle); border: 0; }
.metric-val { font-weight: 400; }
#why-fde .section-header { display: block; }
#why-fde .section-lead { margin-top: 24px; }
.comparison-wrap { box-shadow: none; border-radius: 0; border: 0; }
.comparison-table th,.comparison-table td { padding: 24px; }
.cost-section { background: var(--bg-dark); color: var(--ink-on-dark); }
.cost-section .section-title { color: var(--ink-on-dark); }
.cost-section .section-lead,.cost-section .cost-fine { color: var(--ink-muted-dark); }
.cost-intro .section-lead { margin-top: 24px; }
.cost-card { background: var(--bg-dark-elevated); border: 0; box-shadow: none; }
#pricing { background: var(--bg-page); }
.story-banner { padding: 0; }
.story-banner .container { max-width: none; padding: 0; }
.story-box { border-radius: 0; padding: 80px max(32px,calc((100vw - 1312px)/2)); gap: 80px; }
.area-section { padding-top: 96px; }
.area-copy .section-lead { margin-top: 24px; }
.boundary-grid { margin-top: 64px; }
#faq .section-header { display: block; }
#faq .faq-list { max-width: 900px; margin-left: auto; }
.faq-question { font-weight: 550; font-size: 1.1rem; }
.contact-intro .section-header { display: block; }
.contact-intro .section-title { font-size: clamp(3rem,5vw,4.5rem); margin-bottom: 24px; }
.contact-intro .section-lead { max-width: 56ch; }
#contact .brief-builder { background: transparent; border: 1px solid var(--border-dark); }
#contact .preview-email-box { background: var(--bg-dark-elevated); box-shadow: none; }
.site-footer { padding-top: 64px; }
@media(max-width:1024px) {
 .hero-copy { gap: 32px; grid-template-columns: 1fr 1fr; }
 .hero-headline { font-size: 4.4rem; }
 .hero-headline em { white-space: normal; }
 .blueprint-card { gap: 0 28px; padding: 30px; }
 .blueprint-inspector { padding: 26px; }
 .inspector-intro { font-size: 2rem; }
 .start-layout { gap: 40px; }
 .section-header { gap: 32px; }
 .story-box { padding: 48px 32px; gap: 36px; }
}
@media(max-width:768px) {
 .hero { padding-top: 36px; }
 .hero-copy { grid-template-columns: 1fr; gap: 24px; }
 .hero-headline { font-size: clamp(3.2rem,12vw,5rem); max-width: 14ch; }
 .hero-headline em { white-space: nowrap; }
 .hero-intro .btn { width: 100%; font-size: .92rem; }
 .hero-explore { margin-top: 18px; }
 .hero-person { margin-top: 20px; padding: 24px 0; align-items: start; }
 .hero-person p { font-size: .75rem; }
 .hero-person > a { display: none; }
 .hero-person img { width: 40px; height: 40px; }
 .blueprint-card { display: block; padding: 26px 18px; }
 .blueprint-title { font-size: 2rem; }
 .blueprint-inspector { margin-top: 24px; padding: 22px; }
 .inspector-intro { display: none; }
 .inspector-text { font-size: .93rem; line-height: 1.7; }
 .inspector-text strong { font-size: 1.05rem; }
 .start-section { padding: 56px 0; }
 .start-layout { display: block; }
 .start-layout h2 { font-size: 2.5rem; margin-bottom: 32px; }
 .start-routes a > span:first-child { font-size: 1.1rem; }
 .start-routes a > span:nth-child(2) { font-size: .82rem; }
 .section-header { display: block; margin-bottom: 32px; }
 .section-title { font-size: 2.4rem; }
 .section-header .section-lead { margin-top: 22px; font-size: .98rem; }
 .solutions-grid { grid-template-columns: 1fr; }
 .solution-title { font-size: 1.45rem; }
 .solution-card { padding: 26px 0; }
 .solution-card.selected-for-brief::before { inset: 6px -12px; }
 .filter-bar { margin-inline: -22px; padding-inline: 22px; }
 .story-box { padding: 48px 22px; }
 .story-stat-num { font-size: 2.4rem; }
 .comparison-table { min-width: 640px; }
 .comparison-table th,.comparison-table td { padding: 18px; font-size: .88rem; }
 .contact-intro .section-title { font-size: 3rem; }
 .area-section { padding-top: 64px; }
}
@media(max-width:768px) { .hero-headline { font-size: clamp(2.65rem,10.5vw,4.5rem); } }
@media(max-width:380px) { .hero-headline em { white-space: normal; } .hero-headline { font-size: 2.9rem; } .hero-intro .btn { font-size: .82rem; padding-inline: 12px; } .scenario-tab { font-size: .7rem; padding-inline: 5px; } }
/* Explicit foregrounds on dark forms; portraits are visible before observers run. */
#contact .form-label, .calculator-card .form-label { color: var(--ink-on-dark); }
#contact .form-optional { color: var(--ink-muted-dark); }
.js .mark-photos:not(.is-in) .mark-photo { opacity: 1; }
.js .mark-photos:not(.is-in) .mark-photo-a { transform: rotate(-4deg); }
.js .mark-photos:not(.is-in) .mark-photo-b { transform: rotate(3.5deg); }
/* Retro service-area instrument. Scoped to the map; no site-wide restyling. */
.retro-dispatch { padding: 10px; border-radius: 14px; background: #d8dac7; color: var(--ink-900); border: 1px solid #acb49f; box-shadow: 0 18px 36px -24px #11211c70; }
.dispatch-face { padding: 17px 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dispatch-face h3 { margin: 0; font-family: var(--font-sans); font-size: clamp(1.6rem,2.7vw,2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.dispatch-face h3 span { display: block; font-weight: 500; letter-spacing: 0; font-size: .78rem; margin-top: 9px; }
.dispatch-insignia { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #7b8971; border-radius: 50%; flex-shrink: 0; }
.dispatch-insignia svg { width: 34px; height: 34px; }
.dispatch-console { background: #0b211b; border: 5px solid #344539; border-radius: 20px 20px 30px 30px; padding: 17px 16px 12px; position: relative; overflow: hidden; color: #d7e9b0; }
.dispatch-readout { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid #adc77545; font-family: var(--font-mono); font-size: .65rem; letter-spacing: .08em; color: #cde67a; gap: 8px; }
.dispatch-readout i { display: inline-block; width: 6px; height: 6px; background: #cde67a; border-radius: 50%; margin-right: 7px; }
.retro-dispatch .area-map { isolation: isolate; }
.retro-dispatch .area-map::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg,transparent 0px,transparent 3px,#010c0730 3px,#010c0730 4px); z-index: 2; opacity: .5; border-radius: 6px; }
.retro-dispatch .area-svg text { font-family: var(--font-mono); stroke: #0b211b; stroke-width: 4px; }
.retro-dispatch .area-grid-line { stroke: #b7d88112; }
.retro-dispatch .area-ring { stroke: #cde67a45; stroke-dasharray: 2 7; }
.retro-dispatch .area-contour { stroke: #cde67a50; }
.retro-dispatch .area-route { stroke: #cde67a; stroke-width: 2; }
.retro-dispatch .area-city { opacity: .65; }
.retro-dispatch .area-city.is-lit { opacity: 1; }
.retro-dispatch .area-city-dot { fill: #819681; stroke: #0b211b; stroke-width: 2; }
.retro-dispatch .area-city.is-lit .area-city-dot { fill: #cde67a; }
.retro-dispatch .area-home .area-city-dot { fill: #f5b978 !important; }
.retro-dispatch .area-pulse { stroke: #f5b978; }
.retro-dispatch .area-home .area-city-label { fill: #f5b978; }
.retro-dispatch .area-city-label { fill: #d8e5c8; font-weight: 500; font-size: 15px; }
.retro-dispatch .area-home-sub { fill: #f5b978; }
.dispatch-compass { fill: none; stroke: #cde67a70; stroke-width: 1; }
.dispatch-compass .compass-needle { fill: #cde67a; stroke: none; }
.dispatch-compass text { fill: #cde67a; stroke: none !important; font-size: 17px; }
.dispatch-scale { stroke: #cde67a80; fill: none; }
.dispatch-scale text { fill: #cde67a; stroke: none !important; font-size: 13px; }
.retro-dispatch .area-detail { border: 0; border-top: 1px solid #cde67a50; border-bottom: 1px solid #cde67a30; border-radius: 0; background: transparent; padding: 18px 0; margin-top: 12px; }
.retro-dispatch .area-detail-title { font-family: var(--font-mono); font-size: .88rem; color: #f5b978; font-weight: 500; }
.retro-dispatch .area-detail-body { font-size: .9rem; line-height: 1.7; color: #d6e3ce; }
.dispatch-controls { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 16px; }
.dispatch-controls .dispatch-key { display: block; width: 100%; min-height: 44px; padding: 10px 4px; text-align: center; font-family: var(--font-mono); font-size: .66rem; line-height: 1.2; background: #263b2f; color: #e1e8d1; border: 1px solid #6a805a; border-radius: 5px; box-shadow: 0 3px 5px -3px #000; }
.dispatch-controls .dispatch-key:hover { background: #3d553b; }
.dispatch-controls .dispatch-key.is-active { background: #cde67a; color: #13251a; border-color: #cde67a; box-shadow: none; }
.retro-dispatch .area-note { font-family: var(--font-mono); font-size: .62rem; line-height: 1.7; margin: 14px 0 0; color: #aebe9e; }
.dispatch-base { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 12px 7px; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .04em; color: #354a36; }
.dispatch-vents { height: 10px; flex: 1; max-width: 130px; background: repeating-linear-gradient(90deg,#6c7e63 0 2px,transparent 2px 6px); }
@media(max-width:768px) {
 .retro-dispatch { padding: 7px; }
 .dispatch-face { padding: 16px 10px 20px; }
 .dispatch-console { padding: 12px 9px; border-width: 3px; }
 .dispatch-readout { font-size: .55rem; letter-spacing: .02em; }
 .dispatch-face h3 { font-size: 1.8rem; }
 .dispatch-face h3 span { font-size: .66rem; }
 .dispatch-insignia { width: 42px; height: 42px; }
 .retro-dispatch .area-svg .area-city-label { font-size: 30px; }
 .retro-dispatch .area-svg .area-home .area-city-label { font-size: 33px; }
 .dispatch-controls { grid-template-columns: repeat(2,1fr); }
 .dispatch-controls .dispatch-key { font-size: .72rem; }
 .retro-dispatch .area-detail-body { font-size: .84rem; }
 .dispatch-scale,.dispatch-compass { display: none; }
}
/* Toolbelt: experience, never a partner-logo wall. */
.toolbelt-section { padding: 76px 0 56px; border-bottom: 1px solid var(--border-light); }
.toolbelt-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 24px; }
.toolbelt-head h2 { font-family: var(--font-display); font-size: clamp(2rem,3vw,2.8rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.12; margin: 0 0 18px; }
.toolbelt-head h2 em { color: var(--accent-emerald); }
.toolbelt-head p { color: var(--ink-500); max-width: 62ch; font-size: .94rem; line-height: 1.7; margin: 0; }
.toolbelt-controls { display: flex; flex-shrink: 0; gap: 8px; }
.toolbelt-controls button,.toolbelt-filters button { font: inherit; font-size: .78rem; min-height: 44px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 6px; background: transparent; color: var(--ink-700); cursor: pointer; }
.toolbelt-controls button:hover,.toolbelt-filters button:hover { background: var(--bg-subtle); }
.toolbelt-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 22px; }
.toolbelt-filters button { border-color: transparent; }
.toolbelt-filters button[aria-pressed="true"] { background: var(--bg-dark); color: var(--ink-on-dark); }
.toolbelt-window { overflow: hidden; padding-block: 4px; }
.toolbelt-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.tool-item { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--border-light); border-radius: 7px; min-height: 80px; font-size: .9rem; font-weight: 600; background: #fff; }
.tool-item img { object-fit: contain; width: 30px; height: 30px; flex-shrink: 0; }
.toolbelt-rotating .toolbelt-list { display: flex; width: max-content; gap: 16px; animation: toolbelt-travel var(--toolbelt-duration,116s) linear infinite; }
.toolbelt-rotating .tool-item { width: 220px; flex-shrink: 0; }
.toolbelt-rotating .toolbelt-window:hover .toolbelt-list,.toolbelt-rotating:focus-within .toolbelt-list,.toolbelt-paused .toolbelt-list { animation-play-state: paused; }
@keyframes toolbelt-travel { to { transform: translateX(calc(-50% - 8px)); } }
.toolbelt-disclaimer { margin: 24px 0 10px; color: var(--ink-500); font-size: .78rem; line-height: 1.8; max-width: 95ch; }
.toolbelt-source { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; text-underline-offset: 4px; }
@media(max-width:768px) { .toolbelt-section { padding: 48px 0; } .toolbelt-head { display: block; } .toolbelt-controls { margin-top: 20px; flex-wrap: wrap; } .toolbelt-filters { gap: 4px; } .toolbelt-filters button { font-size: .72rem; padding-inline: 10px; } .toolbelt-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .tool-item { padding: 14px 10px; gap: 9px; font-size: .75rem; min-width: 0; overflow-wrap: anywhere; } .tool-item img { width: 24px; height: 24px; } .toolbelt-rotating .tool-item { width: 185px; padding: 18px; font-size: .85rem; } }
@media(prefers-reduced-motion:reduce) { .toolbelt-rotating .toolbelt-list { animation: none; } }
/* Secondary personal offering; business services retain the primary hierarchy. */
.personal-systems { padding: 44px 0; background: var(--bg-tint); border-block: 1px solid var(--border-light); scroll-margin-top: calc(var(--header-height) + 20px); }
.personal-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: center; }
.personal-layout h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; letter-spacing: -.02em; margin: 0 0 16px; }
.personal-layout p { font-size: .94rem; line-height: 1.8; color: var(--ink-700); max-width: 64ch; margin: 0 0 12px; }
.personal-action { padding-left: 32px; border-left: 1px solid var(--border-strong); }
.personal-action p { font-size: .86rem; }
.personal-action > a { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .83rem; text-underline-offset: 4px; }
@media(max-width:768px) { .personal-systems { padding: 36px 0; } .personal-layout { grid-template-columns: 1fr; gap: 24px; } .personal-action { border-left: 0; padding: 22px 0 0; border-top: 1px solid var(--border-strong); } }

/* Calculator readouts sit on the dark card */
.cost-section .cost-out { color: var(--ink-on-dark); }

/* Footer social links */
.footer-social { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 10px; }
.footer-social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  color: var(--ink-muted-dark);
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .35s var(--ease-out);
}
.footer-social a:hover { color: var(--bg-dark); background: var(--accent-lime); border-color: var(--accent-lime); transform: translateY(-2px); }
.footer-social a:focus-visible { outline-color: var(--accent-lime); outline-offset: 3px; }
.footer-social svg { width: 18px; height: 18px; }

/* Back to top: appears after the first screen, ring fills with scroll progress */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 901;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(15, 41, 34, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--accent-lime);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.92);
  transition: opacity .35s var(--ease-out), transform .5s var(--ease-out), bottom .4s var(--ease-out), background-color .25s ease, visibility 0s linear .5s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--bg-dark-elevated); }
.to-top:focus-visible { outline-color: var(--accent-lime); outline-offset: 3px; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-track, .to-top-progress { fill: none; stroke-width: 2; }
.to-top-track { stroke: rgba(255, 255, 255, 0.12); }
.to-top-progress { stroke: var(--accent-lime); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--to-top-offset, 100); }
.to-top-arrow { position: relative; width: 20px; height: 20px; transition: transform .35s var(--ease-out); }
.to-top:hover .to-top-arrow { transform: translateY(-3px); }
body:has(#brief-tray:not([hidden])) .to-top { bottom: 92px; }
@media (max-width: 768px) {
  .to-top, body:has(#brief-tray:not([hidden])) .to-top { right: 16px; bottom: calc(78px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  .to-top-arrow { width: 18px; height: 18px; }
}
@media print { .to-top { display: none !important; } }

/* About Mark + who I work for */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.about-eyebrow { display: flex; align-items: center; gap: 22px; margin: 0 0 30px; }
.about-eyebrow-text { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.about-eyebrow-text strong { color: var(--ink-900); font-size: .9rem; letter-spacing: .1em; }
/* Two flags as embroidered shoulder patches: Old Glory behind, Arizona leaning in front */
.flag-pair { position: relative; flex: none; width: 250px; height: 150px; }
.flag-patch { position: absolute; display: block; transition: transform .6s var(--ease-out); filter: drop-shadow(0 1px 1px rgba(7, 26, 21, .45)) drop-shadow(0 9px 12px rgba(7, 26, 21, .32)); }
.flag { display: block; height: auto; }
.flag-patch-us { left: 0; top: 4px; transform: rotate(-7deg); }
.flag-patch-us .flag { width: 170px; }
.flag-patch-az { left: 120px; top: 48px; transform: rotate(8deg); animation: flag-lean 7s ease-in-out infinite; }
.flag-patch-az .flag { width: 122px; }
.flag-pair:hover .flag-patch-us { transform: rotate(-10deg) translate(-4px, -3px); }
.flag-pair:hover .flag-patch-az { transform: rotate(12deg) translate(5px, 2px); animation-play-state: paused; }
@keyframes flag-lean { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(5deg) translateY(-2px); } }
@media (max-width: 768px) { .about-eyebrow { gap: 16px; } .flag-pair { transform: scale(.64); transform-origin: left center; margin-right: -90px; margin-block: -27px; } }
.about-copy .section-title { margin-bottom: 26px; }
.about-copy .section-lead + .section-lead { margin-top: 18px; }
.who-card { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 34px; }
.who-card h3 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.25; color: var(--ink-900); }
.who-list { list-style: none; margin: 0; padding: 0; }
.who-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border-light); }
.who-list p { margin: 0; }
.who-list strong { display: block; color: var(--ink-900); margin-bottom: 3px; }
.who-list span { color: var(--ink-500); font-size: .95rem; line-height: 1.55; }
.who-list .icon { width: 22px; height: 22px; margin-top: 1px; }
.who-yes { color: var(--accent-emerald); }
.who-no { color: var(--border-strong); }
.who-list li:last-child strong { color: var(--ink-500); }
.who-fair { margin: 8px 0 0; padding: 16px 18px; border-radius: var(--radius-md); background: var(--accent-emerald-soft); color: var(--ink-900); font-weight: 600; line-height: 1.5; }
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 768px) { .who-card { padding: 24px 20px; } .who-card h3 { font-size: 1.35rem; } }
.footer-soon { margin-left: 6px; padding: 1px 7px; border-radius: 999px; border: 1px solid rgba(205, 230, 122, .45); color: var(--accent-lime); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }

/* Logo: the header N bends into an S on hover (same 4 points; the ends stay put). */
@media (prefers-reduced-motion: no-preference) {
  .brand-mark .ns-path { transition: d .55s cubic-bezier(.6,0,.4,1); }
  .brand-link:hover .ns-path, .brand-link:focus-visible .ns-path { d: path("M23 48C36 48 48 48 48 40C48 32 16 32 16 24C16 16 28 16 48 16"); }
}
