:root {
  /* Palette — Slate base, Electric Blue accent (default) */
  --ground:    #07090d;
  --ground-2:  #0d1117;
  --surface:   #131820;
  --surface-2: #1a2230;
  --line:      rgba(221,228,236,0.10);
  --line-2:    rgba(221,228,236,0.18);
  --ink:       #f3f5f8;
  --ink-mute:  rgba(243,245,248,0.62);
  --ink-low:   rgba(243,245,248,0.38);
  --signal:    #4a9eff;   /* primary accent — overridden via Tweaks */
  --signal-soft: rgba(74,158,255,0.14);
  --signal-line: rgba(74,158,255,0.32);
  --hot:       #ff6c4a;
  --warm:      #ffc26b;
  --cold:      #6b8cff;
  --green:     #1fbf75;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Work Sans', system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--signal); color: var(--ground); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Film grain — subtle, fixed, no animation */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* ─────────── NAV ─────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 76px; --nav-h: 76px;
  display: flex; align-items: center;
  transition: background 280ms ease, height 280ms ease, border-color 280ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,9,13,0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  height: 64px; --nav-h: 64px;
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-word { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.brand-word .dot { color: var(--signal); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-mute);
  position: relative; padding: 4px 0;
  transition: color 200ms;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--signal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 260ms;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a.nav-cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  background: #25D366; color: #fff;
  padding: 10px 18px 10px 14px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: transform 180ms, box-shadow 180ms, background 180ms;
  box-shadow: 0 2px 0 #128c41, 0 8px 18px -10px rgba(37, 211, 102, 0.55);
}
.nav-links a.nav-cta:hover { color: #fff; }
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta svg { flex-shrink: 0; }
.nav-links a.nav-cta .wa-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #b9f5cf;
  box-shadow: 0 0 0 0 rgba(185, 245, 207, 0.7);
  animation: waPulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(185, 245, 207, 0.7); }
  100% { box-shadow: 0 0 0 7px rgba(185, 245, 207, 0); }
}
.nav-links a.nav-cta:hover {
  transform: translateY(-1px);
  background: #20bb5a;
  box-shadow: 0 2px 0 #128c41, 0 10px 22px -8px rgba(37, 211, 102, 0.8);
}
.nav-links a.nav-cta:active { transform: translateY(0); }

/* Active-page indicator */
.nav-links a.is-active {
  color: var(--ink);
}
.nav-links a.is-active::after {
  transform: scaleX(1);
  background: var(--signal);
}

.hamb { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamb span {
  width: 22px; height: 1.5px; background: var(--ink); display: block;
  transition: transform 240ms, opacity 240ms;
  transform-origin: center;
}
.hamb.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamb.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamb.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .hamb { display: flex; }

  .nav-links.mobile-open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: var(--nav-h, 76px); left: 0; right: 0;
    background: #0d1117;
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }

  /* Regular nav links — full-width tap targets */
  .nav-links.mobile-open li { border-bottom: 1px solid var(--line); }
  .nav-links.mobile-open li:last-child { border-bottom: none; padding: 12px var(--gutter) 16px; }
  .nav-links.mobile-open a {
    display: flex; align-items: center;
    width: 100%; box-sizing: border-box;
    padding: 15px var(--gutter);
    font-size: 14px; letter-spacing: 0.08em;
    color: var(--ink-mute);
    transform: none !important;
  }
  .nav-links.mobile-open a:hover { color: var(--ink); }
  .nav-links.mobile-open a::after { display: none !important; }

  /* WA CTA — full-width button at the bottom */
  .nav-links.mobile-open a.nav-cta {
    display: flex; justify-content: center;
    width: 100%; box-sizing: border-box;
    padding: 13px 20px;
    border-radius: 6px;
    box-shadow: none;
  }
}

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(110px, 14vh, 160px) 0 clamp(48px, 6vh, 80px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 78% 35%, var(--signal-soft) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(74,158,255,0.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(243,245,248,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,245,248,0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 80% 75% at center, black 0%, transparent 85%);
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--signal); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--signal-line);
  background: var(--signal-soft);
  margin-bottom: 1.5rem;
}
.hero-eyebrow .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 var(--signal);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--signal); opacity: 1; }
  100% { box-shadow: 0 0 0 8px transparent; opacity: 0.5; }
}

h1.hero-h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 6.2vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.05em;
}
h1.hero-h1 em { font-style: italic; font-weight: 700; color: var(--signal); }
h1.hero-h1 .strike {
  position: relative; display: inline-block; color: var(--ink-low);
}
h1.hero-h1 .strike::after {
  content: ''; position: absolute; left: -2%; right: -2%; top: 52%; height: 3px;
  background: var(--signal); transform: rotate(-3deg);
}

.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--ink-mute);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: transform 180ms, background 220ms, color 220ms, border-color 220ms;
}
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--signal); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }

.hero-proof {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.08em;
}
.hero-proof span::before { content: '+ '; color: var(--signal); }

/* ─────────── HERO CHAT WIDGET ─────────── */
.chat-stage {
  position: relative;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(74,158,255,0.04), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-2);
}
.chat-stage::before {
  content: ''; position: absolute; inset: -1px; pointer-events: none;
  background: linear-gradient(135deg, var(--signal) 0%, transparent 35%, transparent 65%, var(--signal) 100%);
  opacity: 0.15;
  mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
  mask-composite: exclude;
  padding: 1px;
}
.chat-frame {
  background: #0a0f15;
  position: relative;
  height: clamp(440px, 56vh, 540px);
  display: flex; flex-direction: column;
}

.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: #11181f;
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--signal), #2563eb);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 18px; color: #fff;
  position: relative;
}
.chat-avatar::after {
  content: ''; position: absolute; bottom: -2px; right: -2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); border: 2px solid #11181f;
}
.chat-meta-name { font-size: 14px; font-weight: 600; }
.chat-meta-state {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.chat-meta-state .live { color: var(--green); }
.chat-tag {
  margin-left: auto;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--signal);
  padding: 4px 10px; border: 1px solid var(--signal-line);
}

.chat-stream {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
}
.chat-stream::-webkit-scrollbar { width: 6px; }
.chat-stream::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.07); border-radius: 3px; }

.bubble {
  max-width: 84%;
  padding: 10px 14px;
  font-size: 14px; line-height: 1.45;
  animation: bubbleIn 320ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bubble.in {
  align-self: flex-start;
  background: #1d262f; color: #e4e8ee;
  border-radius: 14px 14px 14px 4px;
}
.bubble.out {
  align-self: flex-end;
  background: linear-gradient(135deg, #005c4b, #00735c);
  color: #e9f7f1;
  border-radius: 14px 14px 4px 14px;
}
.bubble small {
  display: block; margin-top: 4px;
  font-family: var(--mono); font-size: 9.5px;
  opacity: 0.5; letter-spacing: 0.08em;
}

/* Typing indicator */
.typing { display: inline-flex; gap: 4px; padding: 12px 16px; }
.typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mute);
  animation: typingBounce 1.1s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.chat-prompts {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 18px 0;
}
.chat-prompts button {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--signal);
  padding: 6px 12px;
  border: 1px solid var(--signal-line);
  background: transparent;
  transition: background 180ms, color 180ms;
}
.chat-prompts button:hover { background: var(--signal); color: #fff; border-color: var(--signal); }

.chat-input-row {
  display: flex; gap: 8px; padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: #0d141b;
}
.chat-input-row input {
  flex: 1;
  background: #1a232c;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--ink);
  padding: 11px 14px;
  font-family: var(--sans); font-size: 14px;
  outline: none;
  transition: border-color 180ms;
}
.chat-input-row input:focus { border-color: var(--signal); }
.chat-input-row button.send {
  background: var(--signal); color: #fff;
  padding: 11px 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: opacity 180ms;
}
.chat-input-row button.send:disabled { opacity: 0.4; cursor: not-allowed; }

.chat-footer-note {
  margin-top: 12px;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-low); letter-spacing: 0.08em;
  text-align: center;
}

/* ─────────── TICKER ─────────── */
.ticker {
  margin-top: clamp(2.5rem, 5vh, 4rem);
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex; gap: 4rem;
  animation: tickerRoll 60s linear infinite;
  white-space: nowrap;
  width: max-content;
}
@keyframes tickerRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-mute); letter-spacing: 0.08em;
  display: inline-flex; align-items: center; gap: 12px;
}
.ticker-item .star {
  width: 6px; height: 6px; background: var(--signal); display: inline-block;
}
.ticker-item strong { color: var(--ink); font-weight: 500; }

/* ─────────── SECTIONS ─────────── */
section { position: relative; padding: clamp(72px, 11vh, 130px) 0; }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--signal); letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--signal);
}

h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.1em;
}
h2 em { font-style: italic; color: var(--signal); font-weight: 700; }
.section-lead {
  font-size: clamp(1rem, 1.15vw, 1.1rem); color: var(--ink-mute);
  max-width: 600px;
}

/* ─────────── PROBLEM ─────────── */
.problem { background: var(--ground); }
.problem-grid {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
@media (max-width: 920px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ground-2);
  position: relative;
  transition: background 240ms;
}
.problem-grid > :nth-child(4n) { border-right: none; }
.problem-grid > :nth-last-child(-n+1) { border-bottom: none; }
@media (max-width: 920px) {
  .problem-grid > * { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .problem-grid > :nth-child(2n) { border-right: none !important; }
  .problem-grid > :nth-last-child(-n+2) { border-bottom: none !important; }
}
.problem-card:hover { background: var(--surface); }
.problem-card::before {
  content: ''; position: absolute; left: 0; top: 0; height: 2px; right: 0;
  background: var(--signal); transform: scaleX(0); transform-origin: left;
  transition: transform 320ms;
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-num {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--signal); letter-spacing: 0.18em;
  margin-bottom: 1rem;
}
.problem-card h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.45rem; line-height: 1.25;
  margin-bottom: 1rem;
  padding-bottom: 0.05em;
}
.problem-card p { font-size: 14px; color: var(--ink-mute); line-height: 1.6; }

.problem-cost {
  margin-top: 3rem;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--signal-line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.problem-cost-text {
  font-family: var(--serif); font-style: italic; font-size: 1.6rem; font-weight: 600;
  line-height: 1.2;
}
.problem-cost-text strong { font-style: normal; color: var(--signal); font-weight: 700; }
.problem-cost-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.1em; }

/* ─────────── 48-HOUR PROMISE — signature moment ─────────── */
.promise {
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, var(--signal-soft) 0%, transparent 70%),
    var(--ground-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promise-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
@media (max-width: 920px) { .promise-grid { grid-template-columns: 1fr; } }

.promise-clock {
  background: #050709;
  border: 1px solid var(--line-2);
  padding: clamp(30px, 4vh, 48px);
  position: relative;
  overflow: hidden;
}
.promise-clock::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }

.clock-label {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.clock-label .live-tag { color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.clock-label .live-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: pulse 1.8s ease-out infinite;
}
.clock-digits {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.clock-unit { text-align: center; }
.clock-num {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1; color: var(--ink);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.clock-suffix {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-mute); letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 6px;
}
.clock-sep {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--signal); line-height: 1;
  transform: translateY(-4px);
  animation: blinkSep 1s steps(2) infinite;
}
@keyframes blinkSep { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.clock-progress {
  height: 4px; background: rgba(255,255,255,0.06); overflow: hidden; position: relative;
}
.clock-progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--signal), #2563eb);
  width: 35%;
  animation: fillBar 4s ease-in-out infinite alternate;
}
@keyframes fillBar { from { width: 25%; } to { width: 78%; } }
.clock-caption {
  margin-top: 1rem;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-low); letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─────────── SERVICES ─────────── */
.services { background: var(--ground); }
.services-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
@media (max-width: 1100px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

.service {
  padding: 32px 28px;
  background: var(--ground-2);
  border-right: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column;
  min-height: 540px;
  transition: background 240ms;
}
.service:last-child { border-right: none; }
@media (max-width: 1100px) {
  .service:nth-child(2n) { border-right: none; }
  .service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 580px) {
  .service { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .service:last-child { border-bottom: none !important; }
}
.service:hover { background: var(--surface); }
.service.featured::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--signal);
}
.service-tag {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-mute); letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.service.featured .service-tag { color: var(--signal); }
.service h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1.2; margin-bottom: 1rem;
  padding-bottom: 0.05em;
}
.service p.desc {
  font-size: 14px; color: var(--ink-mute);
  margin-bottom: 1.25rem; line-height: 1.6;
}
.service-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.5rem; }
.service-list li {
  display: flex; gap: 10px;
  font-size: 13px; color: var(--ink-mute); line-height: 1.5;
}
.service-list li::before {
  content: '→'; color: var(--signal); flex-shrink: 0; font-family: var(--mono);
}
.service-price-row {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.service-price {
  font-family: var(--serif); font-weight: 700; font-size: 1.7rem; line-height: 1;
}
.service-price .unit { font-size: 0.85rem; color: var(--ink-mute); font-weight: 500; }
.service-cycle { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); margin-top: 4px; letter-spacing: 0.06em; }
.service-cta {
  margin-top: 1.25rem;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--signal-line); color: var(--signal);
  transition: background 200ms, color 200ms;
}
.service-cta:hover { background: var(--signal); color: #fff; }
.service.featured .service-cta { background: var(--signal); color: #fff; }
.service.featured .service-cta:hover { background: transparent; color: var(--signal); }

/* ─────────── PULSE FEATURE — funnel viz ─────────── */
.pulse-sec {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, var(--signal-soft), transparent 70%),
    var(--ground-2);
  border-top: 1px solid var(--line);
}
.pulse-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}
@media (max-width: 920px) { .pulse-top { grid-template-columns: 1fr; } }

.pulse-quote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--ink); line-height: 1.45;
  border-left: 2px solid var(--signal);
  padding: 4px 0 4px 22px;
  margin: 1.5rem 0;
}
.pulse-quote-attr {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-mute); letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 8px;
  font-style: normal;
}

/* Funnel viz */
.funnel {
  background: #06090d;
  border: 1px solid var(--line-2);
  padding: clamp(20px, 3vw, 32px);
  position: relative;
}
.funnel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-mute); letter-spacing: 0.16em; text-transform: uppercase;
}
.funnel-stages {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 2rem;
}
.stage {
  padding: 14px 10px;
  background: var(--surface);
  position: relative;
  text-align: center;
}
.stage-name {
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.stage-count {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.6rem; line-height: 1;
}
.stage[data-tone="cold"] .stage-count { color: var(--cold); }
.stage[data-tone="warm"] .stage-count { color: var(--warm); }
.stage[data-tone="hot"]  .stage-count { color: var(--hot); }
.stage[data-tone="done"] .stage-count { color: var(--green); }
.stage[data-tone="lost"] .stage-count { color: var(--ink-low); }
@media (max-width: 540px) {
  .funnel-stages { grid-template-columns: repeat(3, 1fr) !important; gap: 4px; }
  .stage:nth-child(n+4) { grid-column: auto; }
  .stage-count { font-size: 1.25rem; }
}

.funnel-feed {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono); font-size: 12px;
  border-top: 1px dashed var(--line);
  padding-top: 1.25rem;
}
.feed-row {
  display: grid; grid-template-columns: 70px 1fr auto;
  gap: 1rem; align-items: center;
  padding: 6px 0;
}
.feed-time { color: var(--ink-low); letter-spacing: 0.06em; }
.feed-text { color: var(--ink-mute); }
.feed-text strong { color: var(--ink); font-weight: 500; }
.feed-tag {
  font-size: 9.5px; padding: 3px 8px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.feed-tag[data-tone="cold"] { background: rgba(107,140,255,0.12); color: var(--cold); }
.feed-tag[data-tone="warm"] { background: rgba(255,194,107,0.12); color: var(--warm); }
.feed-tag[data-tone="hot"]  { background: rgba(255,108,74,0.16); color: var(--hot); }
.feed-tag[data-tone="done"] { background: rgba(31,191,117,0.14); color: var(--green); }

/* Pulse tiers */
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
@media (max-width: 920px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  padding: 32px 28px;
  background: var(--ground-2);
  border-right: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column;
  transition: background 240ms;
}
.tier:last-child { border-right: none; }
@media (max-width: 920px) {
  .tier { border-right: none; border-bottom: 1px solid var(--line); }
  .tier:last-child { border-bottom: none; }
}
.tier:hover { background: var(--surface); }
.tier.featured::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--signal);
}
.tier-tag {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.5rem;
}
.tier.featured .tier-tag { color: var(--signal); }
.tier-name {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.5rem;
}
.tier-blurb {
  font-size: 13px; color: var(--ink-mute);
  margin-top: 0.5rem; margin-bottom: 1.25rem;
}
.tier-price {
  font-family: var(--serif); font-weight: 700;
  font-size: 2.2rem; line-height: 1;
}
.tier-cycle {
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  margin-top: 6px; letter-spacing: 0.06em;
}
.tier-divider { height: 1px; background: var(--line); margin: 1.25rem 0; }
.tier-feats { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.5rem; }
.tier-feats li { font-size: 13px; color: var(--ink-mute); display: flex; gap: 10px; line-height: 1.45; }
.tier-feats li.check::before { content: '✓'; color: var(--green); flex-shrink: 0; }
.tier-feats li.x { color: var(--ink-low); }
.tier-feats li.x::before { content: '—'; flex-shrink: 0; }
.tier-cta {
  margin-top: auto;
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  padding: 13px 18px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--signal-line); color: var(--signal);
  transition: background 200ms, color 200ms;
}
.tier-cta:hover { background: var(--signal); color: #fff; }
.tier.featured .tier-cta { background: var(--signal); color: #fff; }
.tier.featured .tier-cta:hover { background: transparent; color: var(--signal); }

/* ─────────── HOW IT WORKS ─────────── */
.how { background: var(--ground); }
.how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  border-top: 1px solid var(--line);
}
@media (max-width: 920px) { .how-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .how-grid { grid-template-columns: 1fr; } }
.how-step {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.how-step:last-child { border-right: none; padding-right: 0; }
.how-step:not(:first-child) { padding-left: 2rem; }
@media (max-width: 920px) {
  .how-step:nth-child(2n) { border-right: none; }
  .how-step { padding: 1.75rem 1.5rem; }
  .how-step:not(:first-child) { padding-left: 1.5rem; }
}
.how-num {
  font-family: var(--mono); font-size: 11px;
  color: var(--signal); letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.how-step h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.4rem; line-height: 1.25; margin-bottom: 0.85rem;
  padding-bottom: 0.05em;
}
.how-step p { font-size: 14px; color: var(--ink-mute); line-height: 1.6; }

/* ─────────── CTA BAND ─────────── */
.cta-band {
  background: var(--ground-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, var(--signal-soft), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  text-align: center; position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}
.cta-inner h2 { margin-bottom: 1.25rem; }
.cta-inner .section-lead { margin: 0 auto 2rem; }
.cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ─────────── FOOTER ─────────── */
footer {
  background: #050709; padding-top: 6rem; padding-bottom: 2rem;
  border-top: 1px solid var(--line);
}
.foot-jumbo {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 4rem;
  color: rgba(255,255,255,0.04);
}
.foot-jumbo .dot { color: rgba(74,158,255,0.3); }
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line);
}
@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 580px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 1rem;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--ink-mute); transition: color 200ms; }
.foot-col a:hover { color: var(--signal); }
.foot-blurb { font-size: 14px; color: var(--ink-mute); max-width: 320px; line-height: 1.65; margin-top: 14px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  margin-top: 2rem;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-low); letter-spacing: 0.08em; text-transform: uppercase;
}
.foot-status { display: flex; align-items: center; gap: 8px; }
.foot-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.8s ease-out infinite;
}

/* ─────────── REVEAL ON SCROLL ─────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 80ms; }
.reveal-2 { transition-delay: 160ms; }
.reveal-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tweaks panel — override defaults for our dark theme already handled by starter */

/* ═══════════════════════════════════════════════════════════
   INNER PAGE PATTERNS
   ═══════════════════════════════════════════════════════════ */

/* Page hero — centered, less dense than homepage */
.page-hero {
  position: relative; isolation: isolate;
  padding: clamp(140px, 18vh, 200px) 0 clamp(48px, 8vh, 100px);
  text-align: center;
  overflow: hidden;
}
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, var(--signal-soft) 0%, transparent 60%); }
.page-hero .hero-grid { position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(243,245,248,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,245,248,0.03) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center;
  mask-image: radial-gradient(ellipse 80% 70% at center, black 0%, transparent 85%); }

.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-hero .eyebrow::after,
.page-hero .eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--signal); display: inline-block;
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.12; letter-spacing: -0.025em;
  margin: 0 auto 1.75rem; max-width: 22ch;
  padding-bottom: 0.1em;
}
.page-hero h1 em { color: var(--signal); font-style: italic; font-weight: 700; }
.page-hero .lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--ink-mute);
  max-width: 540px; margin: 0 auto 2rem;
}
.page-hero .hero-ctas { justify-content: center; }
.page-hero .hero-proof {
  justify-content: center; gap: 1.25rem 2rem;
  margin-top: 1.5rem;
}

/* Two-column feature grid (Foundation/Identity "what you get") */
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  margin-top: clamp(2rem, 4vh, 3rem);
}
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-cell {
  padding: 32px 30px;
  background: var(--ground-2);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 240ms;
}
.feature-grid > :nth-child(2n) { border-right: none; }
.feature-grid > :nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 720px) {
  .feature-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .feature-cell:last-child { border-bottom: none; }
}
.feature-cell:hover { background: var(--surface); }
.feature-cell::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--signal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 300ms;
}
.feature-cell:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--signal-line);
  color: var(--signal);
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-cell h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.5rem; line-height: 1.2;
  margin-bottom: 0.5rem;
  padding-bottom: 0.05em;
}
.feature-cell p { font-size: 14px; color: var(--ink-mute); line-height: 1.6; }

/* "Three-up" cards (problems, costs, principles) */
.three-up {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin-top: clamp(2rem, 4vh, 3rem);
}
@media (max-width: 820px) { .three-up { grid-template-columns: 1fr; } }
.three-cell {
  padding: 28px 26px;
  background: var(--ground-2);
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 240ms;
}
.three-up > :last-child { border-right: none; }
@media (max-width: 820px) {
  .three-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .three-cell:last-child { border-bottom: none; }
}
.three-cell:hover { background: var(--surface); }
.three-cell::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform 300ms;
}
.three-cell:hover::before { transform: scaleX(1); }
.three-num {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--signal); letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.three-cell h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.4rem; line-height: 1.2; margin-bottom: 0.6rem;
  padding-bottom: 0.05em;
}
.three-cell p { font-size: 14px; color: var(--ink-mute); line-height: 1.6; }

/* Outlined callout box ("What R350/month covers") */
.callout {
  margin-top: clamp(2rem, 4vh, 3rem);
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--signal-line);
  display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem;
  align-items: start;
}
.callout-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--signal-line);
  color: var(--signal);
}
.callout-icon svg { width: 20px; height: 20px; }
.callout h4 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.25rem; margin-bottom: 0.5rem;
  padding-bottom: 0.05em;
}
.callout p { font-size: 14px; color: var(--ink-mute); line-height: 1.6; }
.callout p strong { color: var(--ink); font-weight: 500; }

/* Single big pricing card */
.price-card-wrap { display: flex; justify-content: center; margin-top: clamp(2rem, 4vh, 3rem); }
.price-card {
  width: 100%; max-width: 540px;
  background: var(--ground-2);
  border: 1px solid var(--line-2);
  padding: 36px;
  position: relative;
}
.price-card.featured::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--signal);
}
.price-card-title {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.5rem; margin-bottom: 0.25rem;
  padding-bottom: 0.05em;
}
.price-card-sub {
  font-size: 13px; color: var(--ink-mute); margin-bottom: 1.5rem;
}
.price-card-feats {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.price-card-feats li { font-size: 14px; color: var(--ink-mute); display: flex; gap: 10px; line-height: 1.5; }
.price-card-feats li::before { content: '✓'; color: var(--green); flex-shrink: 0; }
.price-card-price {
  font-family: var(--serif); font-weight: 700;
  font-size: 2.4rem; line-height: 1;
  padding-bottom: 0.05em;
}
.price-card-price .unit { font-size: 0.95rem; color: var(--ink-mute); font-weight: 500; }
.price-card-cycle {
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-mute); margin-top: 6px; letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}
.price-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--signal); color: #fff;
  padding: 13px 22px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transition: opacity 200ms, transform 200ms;
}
.price-card-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* FAQ accordion */
.faq {
  max-width: 760px; margin: clamp(2rem, 4vh, 3rem) auto 0;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  color: var(--ink);
  transition: color 200ms;
}
.faq-q:hover { color: var(--signal); }
.faq-q .plus {
  width: 22px; height: 22px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 18px;
  color: var(--signal);
  transition: transform 240ms;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 0 22px;
  font-size: 14px; color: var(--ink-mute); line-height: 1.65;
  max-width: 64ch;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* Crosslink row at bottom of pages */
.crosslinks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: clamp(3rem, 6vh, 5rem);
}
@media (max-width: 720px) { .crosslinks { grid-template-columns: 1fr; } }
.crosslink {
  padding: 24px 28px;
  background: var(--ground-2);
  border: 1px solid var(--line);
  position: relative;
  transition: background 240ms, border-color 240ms;
}
.crosslink:hover { background: var(--surface); border-color: var(--signal-line); }
.crosslink-tag {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 0.5rem;
}
.crosslink h4 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.25rem; margin-bottom: 0.5rem;
  padding-bottom: 0.05em;
}
.crosslink p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; margin-bottom: 0.75rem; }
.crosslink-link {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal);
  display: inline-flex; align-items: center; gap: 6px;
}
.crosslink-link::after { content: '→'; transition: transform 220ms; }
.crosslink:hover .crosslink-link::after { transform: translateX(3px); }

/* Portfolio grid */
.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vh, 3rem);
}
@media (max-width: 920px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .work-grid { grid-template-columns: 1fr 1fr; gap: 1rem; } }

.work-card {
  background: var(--ground-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 280ms, border-color 280ms, box-shadow 280ms;
  position: relative;
}
.work-card:hover {
  transform: translateY(-3px);
  border-color: var(--signal-line);
  box-shadow: 0 12px 32px -12px rgba(0,0,0,0.5);
}
.work-thumb {
  aspect-ratio: 3 / 2;
  background:
    linear-gradient(rgba(243,245,248,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,245,248,0.025) 1px, transparent 1px),
    linear-gradient(135deg, var(--surface) 0%, var(--ground) 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600;
  font-size: 1.1rem; color: var(--ink-low);
  position: relative; overflow: hidden;
}
.work-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  padding: 22% 26%;
  box-sizing: border-box; display: block;
  filter: brightness(1.05);
  transition: transform 320ms ease;
}
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-meta { padding: 16px 20px 20px; }
.work-name {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.1rem; margin-bottom: 0.2rem;
  padding-bottom: 0.05em;
}
.work-desc {
  font-size: 12px; color: var(--ink-mute);
  margin-bottom: 0.75rem;
}
.work-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 0.75rem; }
.work-tag {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal);
  padding: 2px 7px;
  border: 1px solid var(--signal-line);
}
.work-cta {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal);
  display: inline-flex; align-items: center; gap: 6px;
}
.work-cta::after { content: '→'; transition: transform 220ms; }
.work-card:hover .work-cta::after { transform: translateX(3px); }

/* About — light section */
.section-light {
  background: #f3f5f8;
  color: #0d1117;
  position: relative;
}
.section-light h2,
.section-light h3,
.section-light h4 { color: #0d1117; }
.section-light p { color: rgba(13,17,23,0.65); }
.section-light .eyebrow { color: var(--signal); }
.section-light .eyebrow::before { background: var(--signal); }
.section-light .pulse-quote { color: #0d1117; border-color: var(--signal); }
.section-light .pulse-quote-attr { color: rgba(13,17,23,0.55); }

/* Manifesto large type for About */
.manifesto {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.15; letter-spacing: -0.02em;
  text-align: center;
  max-width: 22ch; margin: 0 auto;
  padding-bottom: 0.05em;
}
.manifesto em { color: var(--signal); font-style: italic; font-weight: 700; }

/* ─── SIGNATURE: Google Search Simulator (Foundation) ─── */
.search-sim {
  max-width: 720px; margin: clamp(2rem, 5vh, 4rem) auto 0;
  background: #fff; color: #202124;
  border-radius: 28px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 10px 36px -8px rgba(74,158,255,0.25);
  position: relative;
}
.search-sim::before {
  content: ''; position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--signal), transparent 60%);
  border-radius: 30px; z-index: -1; opacity: 0.4;
}
.search-sim-icon { width: 20px; height: 20px; color: #888; flex-shrink: 0; }
.search-sim-text {
  flex: 1;
  font-family: var(--sans); font-size: 17px; color: #202124;
  min-height: 1.4em;
  position: relative;
}
.search-sim-text::after {
  content: '|'; color: var(--signal); font-weight: 400;
  animation: blinkCaret 1s steps(2) infinite;
}
@keyframes blinkCaret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.search-results {
  max-width: 720px; margin: 1.5rem auto 0;
  display: flex; flex-direction: column; gap: 14px;
  /* Fixed height so scene transitions don't shift the page */
  height: 360px;
  overflow: hidden;
}
@media (max-width: 720px) { .search-results { height: 460px; } }
.search-result {
  background: var(--ground-2); border: 1px solid var(--line);
  padding: 14px 18px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 400ms, transform 400ms;
}
.search-result.shown { opacity: 1; transform: translateY(0); }
.search-result-url {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.search-result-title {
  font-size: 16px; color: var(--signal);
  margin-bottom: 4px; text-decoration: underline;
}
.search-result-snip { font-size: 13px; color: var(--ink-mute); line-height: 1.5; }
.search-empty {
  text-align: center; padding: 40px 20px;
  font-family: var(--serif); font-style: italic;
  font-size: 1.4rem; color: var(--ink-low);
  /* Fill the fixed-height results container, vertically centered */
  margin: auto 0;
  display: flex; flex-direction: column; justify-content: center;
  flex: 1;
}
.search-empty .red { color: #ff6c4a; font-weight: 600; font-style: normal; }

/* ─── SIGNATURE: 3-Second Test (Identity) ─── */
.threesec {
  max-width: 760px; margin: clamp(2rem, 5vh, 4rem) auto 0;
  background: var(--ground-2);
  border: 1px solid var(--line-2);
  padding: clamp(24px, 4vh, 40px);
}
.threesec-label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; justify-content: space-between;
  margin-bottom: 1rem;
}
.threesec-timer {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  color: var(--signal);
  text-align: center;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin: 1rem 0;
}
.threesec-bar {
  height: 4px; background: rgba(255,255,255,0.06); position: relative; overflow: hidden;
}
.threesec-bar-fill {
  position: absolute; inset: 0; right: auto;
  background: linear-gradient(90deg, var(--signal), #2563eb);
  width: 0%;
  transition: width 100ms linear;
}
.threesec-verdict {
  margin-top: 1rem;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  text-align: center;
  min-height: 1.5em;
}
.threesec-verdict.bad { color: #ff6c4a; }
.threesec-verdict.good { color: var(--green); }

/* ─── SIGNATURE: Lead-stage simulator (Pulse) ─── */
.leadsim {
  background: var(--ground-2);
  border: 1px solid var(--line-2);
  padding: clamp(24px, 4vh, 36px);
  margin-top: clamp(2rem, 4vh, 3rem);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 820px) { .leadsim { grid-template-columns: 1fr; } }
.leadsim-stages {
  display: flex; flex-direction: column; gap: 8px;
}
.leadsim-stage {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 14px; align-items: center;
  padding: 12px 16px;
  background: #06090d;
  border: 1px solid var(--line);
  transition: border-color 360ms, background 360ms;
}
.leadsim-stage.active {
  border-color: var(--signal-line);
  background: linear-gradient(90deg, var(--signal-soft), #06090d 60%);
}
.leadsim-stage-tag {
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 3px 8px;
  width: max-content;
}
.leadsim-stage-tag[data-tone="cold"] { background: rgba(107,140,255,0.12); color: var(--cold); }
.leadsim-stage-tag[data-tone="warm"] { background: rgba(255,194,107,0.12); color: var(--warm); }
.leadsim-stage-tag[data-tone="hot"]  { background: rgba(255,108,74,0.16); color: var(--hot); }
.leadsim-stage-tag[data-tone="done"] { background: rgba(31,191,117,0.14); color: var(--green); }
.leadsim-stage-text { font-size: 13px; color: var(--ink); }
.leadsim-stage-time { font-family: var(--mono); font-size: 10.5px; color: var(--ink-low); letter-spacing: 0.08em; }

.leadsim-msgs {
  display: flex; flex-direction: column; gap: 8px;
  background: #06090d;
  border: 1px solid var(--line);
  padding: 16px;
  min-height: 280px;
  max-height: 360px;
  overflow-y: auto;
}
.leadsim-msgs::-webkit-scrollbar { width: 4px; }
.leadsim-msgs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); }
.leadsim-msg {
  max-width: 86%; font-size: 13px; line-height: 1.5;
  padding: 8px 12px;
  border-radius: 10px;
  animation: bubbleIn 320ms ease;
}
.leadsim-msg.in {
  background: #1d262f; color: #e4e8ee; align-self: flex-start;
  border-radius: 10px 10px 10px 2px;
}
.leadsim-msg.out {
  background: linear-gradient(135deg, #005c4b, #00735c);
  color: #e9f7f1; align-self: flex-end;
  border-radius: 10px 10px 2px 10px;
}
.leadsim-controls {
  margin-top: 1.25rem;
  display: flex; gap: 8px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-mute); letter-spacing: 0.08em;
}
.leadsim-controls button {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal); padding: 8px 14px;
  border: 1px solid var(--signal-line);
  transition: background 200ms, color 200ms;
}
.leadsim-controls button:hover { background: var(--signal); color: #fff; }

/* ─── About — Three principles ─── */
.principles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin-top: clamp(2rem, 4vh, 3rem);
}
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } }
.principle {
  padding: 32px 30px;
  background: var(--ground-2);
  border-right: 1px solid var(--line);
  transition: background 240ms;
}
.principles > :last-child { border-right: none; }
@media (max-width: 820px) {
  .principle { border-right: none; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: none; }
}
.principle:hover { background: var(--surface); }
.principle-num {
  font-family: var(--serif); font-weight: 700;
  font-size: 2.6rem; color: var(--signal);
  line-height: 1; margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.principle h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.4rem; line-height: 1.2;
  margin-bottom: 0.6rem;
  padding-bottom: 0.05em;
}
.principle p { font-size: 14px; color: var(--ink-mute); line-height: 1.65; }

/* About — image frame */
.about-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(45deg, rgba(74,158,255,0.05) 0 12px, transparent 12px 24px),
    radial-gradient(ellipse at center, var(--signal-soft) 0%, transparent 70%),
    var(--ground);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  overflow: hidden;
}
.about-figure img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-figure-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-low);
  text-align: center;
}
.about-figure-label strong { display: block; color: var(--signal); font-weight: 500; }
.about-figure-frame {
  position: absolute; top: 18px; right: -18px; bottom: -18px; left: 18px;
  border: 1px solid var(--signal-line);
  pointer-events: none;
}

/* Inner page section that contains text + image */
.text-image {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 920px) { .text-image { grid-template-columns: 1fr; } }


/* Hero chat — WhatsApp CTA (replaces input when LLM not connected) */
.chat-wa-cta {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: #25D366; color: #fff;
  padding: 16px 18px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: background 200ms, transform 200ms;
}
.chat-wa-cta:hover {
  background: #20bb5a;
  transform: translateY(-1px);
}
.chat-wa-cta svg { flex-shrink: 0; }
.chat-wa-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #b9f5cf;
  box-shadow: 0 0 0 0 rgba(185, 245, 207, 0.7);
  animation: waPulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
