/* ============================================================================
   GSD Website — UI Kit Styles
   Extracted from the live site, with: light-mode support, expanded text
   ladder, expanded status palette, IBM Plex Mono, and the // eyebrow motif
   available as a utility. All token names are upward-compatible with the
   original site CSS.
   ============================================================================ */

/* Self-hosted variable fonts (SIL OFL — see /fonts/OFL.txt). No third-party
   font CDN, so no visitor data is handed to Google for font delivery. Pages
   <link rel="preload"> these woff2s for fast first paint. */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/geist.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/fonts/jetbrains-mono.woff2') format('woff2');
}

:root {
  color-scheme: dark;

  --bg: #0f0e0c;
  --bg-elevated: #181714;
  --bg-3: #221f1a;
  --bg-4: #2a2620;
  --bg-deep: #0a0a08;
  --chat-client-bg: var(--bg-3);

  --text: #f5f1ea;
  --text-muted: #a39d92;
  --text-faint: #8a8276;
  --text-on-orange: #0f0e0c;

  --orange: #fb923c;
  --orange-bright: #f97316;
  --orange-text: #fb923c;
  --orange-display: #fb923c;

  --purple: #c4b5fd;
  --purple-dim: #7c3aed;

  --border: #2a2620;
  --border-purple: #4c3d6e;

  --ok: #6db688;
  --warm-status: #d4a574;
  --hot: #d97560;
  --info: #8fb8e6;

  --ok-bg:       rgba(109, 182, 136, 0.10);
  --ok-border:   rgba(109, 182, 136, 0.30);
  --warm-bg:     rgba(212, 165, 116, 0.10);
  --warm-border: rgba(212, 165, 116, 0.30);
  --hot-bg:      rgba(217, 117, 96, 0.10);
  --hot-border:  rgba(217, 117, 96, 0.30);
  --info-bg:     rgba(143, 184, 230, 0.10);
  --info-border: rgba(143, 184, 230, 0.30);

  --green:        var(--ok);
  --green-bg:     var(--ok-bg);
  --green-border: var(--ok-border);
  --red:          var(--hot);
  --red-bg:       var(--hot-bg);
  --red-border:   var(--hot-border);
  --yellow:       var(--warm-status);

  --focus-ring: var(--purple);

  --font-display: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  /* Cool slate-paper light mode — NOT warm cream. */
  --bg:           #ebeced;
  --bg-elevated:  #ffffff;
  --bg-3:         #e2e3e7;
  --bg-4:         #d6d8dd;
  --chat-client-bg: var(--bg-3);
  /* --bg-deep stays dark — terminal is always dark */

  --text:         #0f1014;
  --text-muted:   #4a4f58;
  --text-faint:   #66686f;

  --orange-text:  #c2410c;
  --orange-display: #ea580c;
  --purple:       #6d28d9;

  --border:        #d6d8dd;
  --border-purple: #9ca0a8;

  --ok:           #15803d;
  --warm-status:  #a16207;
  --hot:          #b91c1c;
  --info:         #1d4ed8;

  --ok-bg:       rgba(21, 128, 61, 0.08);
  --ok-border:   rgba(21, 128, 61, 0.30);
  --warm-bg:     rgba(161, 98, 7, 0.08);
  --warm-border: rgba(161, 98, 7, 0.30);
  --hot-bg:      rgba(185, 28, 28, 0.08);
  --hot-border:  rgba(185, 28, 28, 0.30);
  --info-bg:     rgba(29, 78, 216, 0.08);
  --info-border: rgba(29, 78, 216, 0.30);

  --green:        var(--ok);
  --green-bg:     var(--ok-bg);
  --green-border: var(--ok-border);
  --red:          var(--hot);
  --red-bg:       var(--hot-bg);
  --red-border:   var(--hot-border);
  --yellow:       var(--warm-status);

  --focus-ring:   #6d28d9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
section { padding: 120px 0; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 100;
  background: var(--orange); color: var(--text-on-orange);
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: 4px; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 20px 0;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.nav-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  text-decoration: none; color: var(--text);
  background: none; border: none; cursor: pointer; padding: 0;
  white-space: nowrap;
  display: inline-flex; align-items: center;
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-link {
  font-family: var(--font-display); font-weight: 500; font-size: 0.9rem;
  color: var(--text-muted); text-decoration: none;
  background: none; border: none; cursor: pointer; padding: 0;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-cta {
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  padding: 10px 24px; background: var(--orange); color: var(--text-on-orange);
  border: none; border-radius: 4px; text-decoration: none; cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.nav-link { white-space: nowrap; }
.nav-cta:hover { background: var(--orange-bright); }

/* Theme toggle in nav */
.theme-toggle {
  background: none; border: 1px solid var(--border);
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); cursor: pointer;
  transition: all 0.2s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-muted); }
.theme-toggle svg { width: 16px; height: 16px; }

/* ─── HERO ─── */
/* Top-aligned hero rhythm, shared by the GSD page (.hero) and the fractional
   homepage (.hero.fractional) so both start their content at the same height
   below the nav. */
.hero { min-height: auto; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 160px; padding-bottom: 100px; }
.hero h1 {
  font-size: clamp(2.75rem, 8vw, 6rem);
  margin-bottom: 28px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero h1 .text { white-space: nowrap; }
.hero h1 .gsd-hero-arrow {
  color: var(--orange-display);
}
.hero h1 .done { color: var(--orange-display); white-space: nowrap; }
.hero-sub { font-size: clamp(1.25rem, 3vw, 1.75rem); color: var(--purple); max-width: 800px; line-height: 1.4; margin-bottom: 20px; }
.hero-audience { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin-bottom: 48px; }
.hero-audience strong { color: var(--text); font-weight: 500; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-button {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--orange); color: var(--text-on-orange);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 16px 32px; border: none; border-radius: 4px; cursor: pointer;
  text-decoration: none; transition: all 0.2s ease;
  white-space: nowrap;
}
.cta-button:hover { background: var(--orange-bright); transform: translateY(-2px); }
.cta-button:hover svg { transform: translateX(4px); }
.cta-button svg { transition: transform 0.2s ease; }
.cta-secondary { color: var(--text-muted); font-size: 0.95rem; }

/* ─── PROOF BAR ─── */
.proof-bar { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.95rem; }
.proof-item { display: flex; align-items: center; gap: 10px; }
.proof-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* ─── SECTION CHROME ─── */
.section-label {
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 24px;
  font-family: var(--font-display);
}
.section-title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 24px; }
.section-intro { font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--text-muted); max-width: 700px; margin-bottom: 64px; }

.what-we-do { background: var(--bg); }
.how-it-works { background: var(--bg-elevated); }
.what-you-get { background: var(--bg); }
.pricing-signal { background: var(--bg-elevated); text-align: center; }
.differentiators { background: var(--bg); }
.faq { background: var(--bg-elevated); }
.contact { background: var(--bg-elevated); }
.chat-section { background: var(--bg); padding: 80px 0; }

/* ─── SCENARIO GRID ─── */
.scenario-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.scenario-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 8px; padding: clamp(24px, 5vw, 40px) clamp(20px, 4vw, 32px);
  transition: all 0.3s ease;
}
.scenario-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.scenario-emoji { font-size: 1.75rem; margin-bottom: 16px; }
.scenario-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text); }
.scenario-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* ─── CHAT ─── */
.chat-wrapper { max-width: 600px; margin: 0 auto; }
.chat-window { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.chat-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.chat-header-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.chat-header-info { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.chat-header-status { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
.chat-body { padding: 24px 20px; min-height: 300px; display: flex; flex-direction: column; gap: 16px; }
.chat-msg { max-width: 85%; padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; line-height: 1.5; opacity: 0; transform: translateY(8px); animation: chatIn 0.4s ease forwards; }
.chat-msg.client { background: var(--chat-client-bg); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.gsd { background: var(--purple-dim); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg .msg-name { font-size: 0.75rem; font-weight: 600; margin-bottom: 4px; }
/* WCAG fix: msg-name was 0.7 opacity → on purple bubble that dropped white below 4.5:1. */
.chat-msg.client .msg-name { color: var(--text-muted); }
.chat-msg.gsd .msg-name    { color: rgba(255,255,255,0.92); }
.chat-timestamp { text-align: center; font-size: 0.75rem; color: var(--text-muted); animation: chatIn 0.3s ease forwards; }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-caption { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 0.95rem; }
.chat-caption strong { color: var(--text); font-weight: 500; }

/* ─── STEPS ─── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px; }
.step-number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--orange-display); opacity: 0.3; margin-bottom: 16px; }
.step-item h3 { font-size: 1.25rem; margin-bottom: 12px; }
.step-item p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* ─── GET / DIFF ─── */
.get-grid, .diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px 64px; }
.get-item h3, .diff-item h3 { font-size: 1.25rem; margin-bottom: 12px; }
.get-item p, .diff-item p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* ─── PRICING ─── */
.pricing-desc { color: var(--text-muted); font-size: 1.125rem; max-width: 600px; margin: 0 auto 32px; line-height: 1.6; }
/* WCAG fix: was opacity 0.7 → dropped text-muted below 4.5:1. Now uses --text-faint (the new lower tier) which is engineered to clear AA. */
.pricing-note { color: var(--text-faint); font-size: 0.875rem; max-width: 500px; margin: 24px auto 0; }
.pricing-signal .section-title { margin-bottom: 16px; }

/* ─── FAQ ─── */
.faq-list { max-width: 820px; margin-top: 16px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 24px; transition: color 0.2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--orange-display); flex-shrink: 0; line-height: 1; transition: transform 0.2s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 0 28px; color: var(--text-muted); font-size: 1rem; line-height: 1.7; max-width: 720px; }
.faq-item .faq-answer a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.faq-item summary:hover { color: var(--purple); }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-text { max-width: 480px; }
.contact-text p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 16px; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  transition: border-color 0.2s ease, background 0.4s ease, color 0.4s ease; width: 100%;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a39d92' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
:root[data-theme="light"] .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a4f58' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--purple); }
.form-group textarea { min-height: 120px; resize: vertical; }
.submit-button {
  align-self: flex-start; background: var(--orange); color: var(--text-on-orange);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 16px 32px; border: none; border-radius: 4px; cursor: pointer;
  transition: all 0.2s ease;
}
.submit-button:hover { background: var(--orange-bright); transform: translateY(-2px); }
.submit-button:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message { font-size: 0.9rem; padding: 12px 16px; border-radius: 4px; }
.form-message.success { background: var(--ok-bg); border: 1px solid var(--ok-border); color: var(--ok); }
.form-message.error { background: var(--hot-bg); border: 1px solid var(--hot-border); color: var(--hot); }

/* ─── FOOTER ─── */
footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; display: inline-flex; align-items: center; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s ease; cursor: pointer; }
.footer-links a:hover { color: var(--purple); }

/* ─── ABOUT PAGE ─── */
.about-hero { padding-top: 160px; padding-bottom: 80px; }
.about-hero-grid { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: center; }
.headshot { width: 280px; height: 280px; border-radius: 50%; background: var(--bg-elevated); border: 2px solid var(--border); overflow: hidden; }
.headshot img { width: 100%; height: 100%; object-fit: cover; }
.about-hero-text .role-label { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); margin-bottom: 16px; font-family: var(--font-display); }
.about-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 16px; }
.about-hero .role { font-size: clamp(1.25rem, 2.5vw, 1.5rem); color: var(--orange-display); margin-bottom: 20px; font-family: var(--font-display); font-weight: 500; }
.about-hero .lead { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin-bottom: 28px; line-height: 1.6; }
.about-hero-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.about-hero-links a { color: var(--purple); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s ease; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); }
.about-hero-links a:hover { color: var(--text); }
.bg-alt { background: var(--bg-elevated); }
section.about-section { padding: 96px 0; }
.about-section .section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 32px; }
.prose { max-width: 720px; color: var(--text-muted); font-size: 1.0625rem; line-height: 1.7; }
.prose p { margin-bottom: 20px; }
.prose strong { color: var(--text); font-weight: 500; }
.stats-strip { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.stat-number { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--orange-display); line-height: 1.1; margin-bottom: 6px; letter-spacing: -0.02em; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; line-height: 1.4; }
.capability-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.capability-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 32px 28px; }
.capability-card .role-tag { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--orange-text); letter-spacing: 0.05em; margin-bottom: 12px; text-transform: uppercase; }
.capability-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text); }
.capability-card p { color: var(--text); font-size: 1rem; line-height: 1.6; }
.engagement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; margin-top: 24px; }
.engagement-item h3 { font-size: 1.125rem; margin-bottom: 10px; }
.engagement-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.about-cta { text-align: center; padding: 96px 0; background: var(--bg-elevated); }
.about-cta h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 16px; }
.about-cta p { color: var(--text-muted); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ─── 404 PAGE (terminal stays dark in both themes) ─── */
.nf-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.nf-nav { padding: 20px 0; border-bottom: 1px solid var(--border); background: transparent; position: static; }
.nf-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px 0; }
.terminal-block { width: 100%; max-width: 640px; margin: 0 auto; }
.terminal-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #181714; /* terminal frame stays dark */
  border: 1px solid #2a2620;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}
.term-dot { width: 12px; height: 12px; border-radius: 50%; }
.term-dot.r { background: #d97560; }
.term-dot.y { background: #d4a574; }
.term-dot.g { background: #6db688; }
.term-title { margin-left: 12px; font-family: var(--font-mono); font-size: 0.8125rem; color: #a39d92; }
.terminal {
  background: var(--bg-deep);
  border: 1px solid #2a2620;
  border-radius: 0 0 8px 8px;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.95rem; line-height: 1.7; min-height: 320px;
  color: #f5f1ea;
}
.term-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(4px); transition: opacity 0.25s ease, transform 0.25s ease; }
.term-line.show { opacity: 1; transform: translateY(0); }
.prompt { color: #c4b5fd; flex-shrink: 0; }
.check-line { width: 100%; }
.check-status { margin-left: auto; opacity: 0; transition: opacity 0.2s ease; }
.check-status.show { opacity: 1; }
.check-status.fail { color: #d97560; }
.verdict { color: #fb923c; font-weight: 500; margin-top: 16px; }
.verdict-real { color: #a39d92; font-style: italic; margin-top: 4px; }
.cursor { display: inline-block; width: 8px; height: 1.1em; background: #fb923c; vertical-align: text-bottom; animation: blink 1s steps(2) infinite; margin-left: 2px; }
@keyframes blink { to { opacity: 0; } }
.nf-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: var(--text-on-orange); font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: 14px 28px; border-radius: 4px; text-decoration: none; cursor: pointer; border: none; transition: background 0.2s ease; }
.btn-primary:hover { background: var(--orange-bright); }
.btn-secondary { display: inline-flex; align-items: center; gap: 10px; color: var(--purple); font-family: var(--font-display); font-weight: 500; font-size: 1rem; padding: 14px 28px; text-decoration: none; cursor: pointer; background: none; border: none; transition: color 0.2s ease; }
.btn-secondary:hover { color: var(--text); }

/* ─── ADDITIONS for the new fractional homepage + /managed-it ─── */

/* "How I work" — posture H2 with three colored beats */
.how-i-work-section { padding: 96px 0; }
.posture-h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 0;
  max-width: 1100px;
  text-wrap: balance;
}
.posture-h2 > span { display: block; }
.how-i-work-section .section-intro {
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ─── GSD page: two arms (IT shop + Engineering team) ─── */
.arms-section {
  padding: 96px 0;
  background: var(--bg-elevated);
}
.arms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px;
  margin-top: 8px;
}
.arm-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s ease, transform 0.3s ease;
}
.arm-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.arm-card.it-shop      { border-top: 3px solid var(--purple); }
.arm-card.engineering  { border-top: 3px solid var(--orange-display); }
.arm-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.it-shop      .arm-tag { color: var(--purple); }
.engineering  .arm-tag { color: var(--orange-display); }
.arm-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.arm-lead {
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.5;
  margin-bottom: 6px;
}
.arm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.arm-list li {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}
.arm-list li::before {
  content: "\25b8";
  color: var(--orange-display);
  font-family: var(--font-mono);
  position: absolute;
  left: 0;
  top: 0;
}
.it-shop .arm-list li::before { color: var(--purple); }
.arm-ai {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: auto;
}
.arm-ai-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.arm-ai-label::before { content: "// "; opacity: 0.7; color: var(--purple); }

/* The hero "Get Stuff → Done" uses the same wordmark composition
   (flex + align-items center) so the arrow aligns identically to the
   nav/footer wordmark. */
.hero h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.16em;
  row-gap: 0;
}
.hero.fractional h1, .hero.fractional .h1 { display: block; }  /* fractional hero keeps block layout */

/* ─── GSD WORDMARK (single source of truth) ─── */
.gsd-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
}
.gsd-wm-gs { color: var(--text); }
.gsd-wm-d  { color: var(--orange-text); }
.gsd-arrow {
  display: inline-block;
  width: 0.78em;
  height: 0.39em;
  flex-shrink: 0;
}
.gsd-wm-arrow,
.gsd-hero-arrow { /* aliases; both inherit the canonical .gsd-arrow geometry */ }
.gsd-wm-arrow { color: var(--orange-text); }

/* // technical eyebrow — JetBrains Mono with leading slashes */
.gsd-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-block;
  margin-bottom: 28px;
}
.gsd-eyebrow::before {
  content: "// ";
  opacity: 0.7;
}

/* Hero adjustments for the fractional landing (no full-bleed centered phrase) */
.hero.fractional { min-height: auto; padding-top: 160px; padding-bottom: 100px; }
.hero.fractional h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 1000px;
}
.hero.fractional .hero-sub {
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  color: var(--purple);
  max-width: 760px;
  margin-bottom: 16px;
  line-height: 1.45;
}
.hero.fractional .hero-form {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero.fractional .cta-row { margin-top: 8px; }

/* Stats strip — slightly tighter than About's */
.stats-strip.tight { padding: 64px 0; }
.stats-strip.tight .stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}
.stats-strip.tight .stat-sub {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 6px;
  line-height: 1.5;
}
.stats-strip.tight .stat-label {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Prose / body sections on the fractional homepage */
.prose-section { padding: 96px 0; }
.prose-section .prose { max-width: 760px; }
.prose-section .prose p { margin-bottom: 22px; }
.prose-section .prose .alameda {
  display: block;
  margin-top: 32px;
  padding-left: 20px;
  border-left: 2px solid var(--purple);
  color: var(--text);
  font-size: 1.0625rem;
}
.prose-section .prose .alameda strong { color: var(--orange-text); font-weight: 500; }

/* Three-roles tiles (re-uses .capability-card from About) */
.roles-section { padding: 96px 0; }
.roles-section .capability-card { background: var(--bg-elevated); }
.roles-section .capability-card .role-tag.primary { color: var(--orange-text); }
.roles-section .capability-card .role-tag.also { color: var(--purple); }

/* "Who you'll work with" — bio + portrait + quote */
.bio-section { padding: 96px 0; background: var(--bg-elevated); }
.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.bio-portrait {
  width: 320px;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.bio-portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio-body .bio-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.bio-body .bio-role {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--orange-display);
  margin-bottom: 24px;
}
.bio-body .bio-text {
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 620px;
}
.bio-body .bio-text strong { color: var(--orange-display); font-weight: 500; }
.bio-quote {
  border-left: 3px solid var(--orange-display);
  padding: 4px 0 4px 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.45;
  color: var(--text);
  max-width: 640px;
  letter-spacing: -0.005em;
}
.bio-quote::before { content: "\201C"; color: var(--orange-display); margin-right: 2px; }
.bio-quote::after  { content: "\201D"; color: var(--orange-display); margin-left: 2px; }

/* How it works — 4 cards */
.engagement-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  margin-top: 16px;
}
.engagement-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.3s ease;
}
.engagement-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.engagement-card .step-numeral {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--purple);
  margin-bottom: 14px;
}
.engagement-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.engagement-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Demoted "Also available: managed IT" */
.also-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.also-inner {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 56px;
  align-items: center;
}
.also-inner .also-eyebrow { margin: 0; }
.also-inner h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--text);
}
.also-inner p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
}
.also-inner .also-link {
  color: var(--orange-display);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}
.also-inner .also-link:hover { gap: 14px; }

/* Final CTA block */
.cta-section {
  padding: 120px 0;
  background: var(--bg);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-wrap: balance;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-section .cta-email {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-top: 20px;
  display: block;
}
.cta-section .cta-email a { color: var(--purple); text-decoration: none; }
.cta-section .cta-email a:hover { color: var(--text); }

/* Why GSD — denser 4-up grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 48px 56px;
}
.why-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.why-item .why-glyph {
  font-family: var(--font-mono);
  color: var(--orange-display);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
  letter-spacing: 0.05em;
}
.why-item p { color: var(--text); font-size: 1rem; line-height: 1.65; }

/* Floating page switcher — flip between the Fractional practice and the GSD team.
   Fixed bottom-center, visible on every scroll position. */
.kit-switcher {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 9999px;
  display: flex; gap: 4px; padding: 4px; z-index: 100;
  font-family: var(--font-display); font-weight: 500; font-size: 12px;
}
.kit-switcher a {
  padding: 8px 16px; border-radius: 9999px;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-muted); font: inherit; text-decoration: none;
  white-space: nowrap; transition: all 0.15s ease;
}
.kit-switcher a:hover { color: var(--text); }
.kit-switcher a.on { background: var(--orange); color: var(--text-on-orange); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) { .contact-grid { gap: 48px; } }
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .headshot { width: 180px; height: 180px; }
  .nav-right { gap: 12px; }

  .bio-grid { grid-template-columns: 1fr; gap: 32px; }
  .bio-portrait { width: 100%; max-width: 280px; height: 320px; }

  .also-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero.fractional { padding-top: 120px; padding-bottom: 60px; }
}

/* Narrow phones: keep the fixed nav row within the viewport so the page
   doesn't load horizontally overflowed (which forces a zoomed-in layout). */
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .nav-right { gap: 10px; }
  .nav-cta { padding: 9px 16px; }
}
