*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0f0e0d;
  --paper: #f5f2ed;
  --warm: #e8e2d9;
  --accent: #c8521a;
  --accent2: #1a3c4e;
  --muted: #7a7570;
  --rule: rgba(15,14,13,0.12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --surface2: #F0EFE9;
  --surface3: #E8E7DF;
  --border: rgba(0,0,0,0.1);
  --border2: rgba(0,0,0,0.07);
  --text: #1A1917;
  --text2: #6B6A65;
  --text3: #9B9A95;
  --teal: #0A6E57;
  --teal-bg: #E3F5EF;
  --teal-text: #085040;
  --amber: #B87316;
  --amber-bg: #FDF0D8;
  --amber-text: #7A4C0A;
  --yellow: #B89212;
  --yellow-bg: #FBF3D1;
  --yellow-text: #6E5600;
  --purple: #5A4AB8;
  --purple-bg: #EEEDF8;
  --purple-text: #3C338A;
  --blue: #1A5FA6;
  --blue-bg: #E5F0FA;
  --blue-text: #0C3F74;
  --green: #2E7D42;
  --green-bg: #E8F5EC;
  --green-text: #1A5229;
  --coral: #C04A22;
  --coral-bg: #FAEDE7;
  --coral-text: #8A3218;
  --pink: #A33060;
  --pink-bg: #FAE8F0;
  --pink-text: #722043;
  --red: #C0282A;
  --red-bg: #FAEBEB;
  --red-text: #8A1A1C;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --font: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --font-display: 'Playfair Display', serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --surface: #1E1D1A;
    --surface2: #252420;
    --surface3: #2E2D28;
    --border: rgba(255,255,255,0.1);
    --border2: rgba(255,255,255,0.06);
    --text: #E8E6DC;
    --text2: #9A9890;
    --text3: #6A6860;
    --teal-bg: #07302A;
    --teal-text: #7DD4BC;
    --amber-bg: #3A2004;
    --amber-text: #F0B860;
    --yellow-bg: #43370A;
    --yellow-text: #E8D78C;
    --purple-bg: #231F54;
    --purple-text: #B0A8E8;
    --blue-bg: #0C2A50;
    --blue-text: #88B8E8;
    --green-bg: #142818;
    --green-text: #80C890;
    --coral-bg: #3A1A0C;
    --coral-text: #F09070;
    --pink-bg: #3A1428;
    --pink-text: #E890B0;
    --red-bg: #3A1010;
    --red-text: #F08888;
  }
}

html { scroll-behavior: smooth; }

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}

.site-nav.scrolled {
  background: var(--site-nav-scrolled-bg);
  border-color: var(--site-nav-border);
  backdrop-filter: blur(8px);
}

.site-nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.site-nav-logo {
  font-family: var(--serif);
  display: inline-flex;
  align-items: center;
  font-size: clamp(2rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--site-nav-logo);
  transition: color .2s;
}

.site-nav-logo:visited,
.site-nav-logo:active {
  color: var(--site-nav-logo);
}

.site-nav-logo em {
  font-style: italic;
  color: var(--site-nav-active);
  transition: color .2s;
}

.site-nav-logo:visited em,
.site-nav-logo:active em {
  color: var(--site-nav-active);
}

.site-nav-logo:hover,
.site-nav-logo:focus-visible {
  color: var(--site-nav-active);
}

.site-nav-logo:hover em,
.site-nav-logo:focus-visible em {
  color: var(--site-nav-logo);
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--site-nav-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface, #fff) 88%, transparent);
  color: var(--site-nav-active);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.site-nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.site-nav-toggle:hover,
.site-nav-toggle:focus-visible {
  background: color-mix(in srgb, var(--surface, #fff) 88%, transparent);
  border-color: var(--site-nav-border);
  color: var(--site-nav-active);
}

.site-nav.menu-open .site-nav-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.site-nav.menu-open .site-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.menu-open .site-nav-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.site-nav-links a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--site-nav-link);
  transition: color .2s;
}

.site-nav-links a:hover,
.site-nav-links a:focus-visible {
  color: var(--site-nav-active);
}

.site-nav-links a.current,
.site-nav-links a[aria-current="page"] {
  color: var(--site-nav-active);
}

@media (max-width: 900px) {
  .site-nav {
    padding: 1rem 1.5rem;
  }

  .site-nav-logo {
    font-size: clamp(1.7rem, 8vw, 2rem);
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav-links {
    display: none;
    position: absolute;
    top: calc(100% + .75rem);
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: .8rem;
    border: 1px solid var(--site-nav-border);
    border-radius: 20px;
    background: color-mix(in srgb, var(--site-nav-scrolled-bg) 92%, var(--surface, #fff));
    box-shadow: 0 18px 44px rgba(0,0,0,.14);
    backdrop-filter: blur(16px);
  }

  .site-nav.menu-open .site-nav-links {
    display: flex;
  }

  .site-nav-links li {
    width: 100%;
  }

  .site-nav-links a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: transparent;
    letter-spacing: .06em;
  }

  .site-nav-links a:hover,
  .site-nav-links a:focus-visible,
  .site-nav-links a.current,
  .site-nav-links a[aria-current="page"] {
    background: color-mix(in srgb, var(--site-nav-active) 12%, transparent);
  }
}

body.page-home {
  --site-nav-link: var(--muted);
  --site-nav-active: var(--accent);
  --site-nav-logo: var(--ink);
  --site-nav-border: var(--rule);
  --site-nav-scrolled-bg: rgba(245,242,237,.92);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.page-home::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .5;
}

.page-home a { color: var(--accent); }
.page-home .site-nav-logo,
.page-home .site-nav-logo:visited,
.page-home .site-nav-logo:active { color: var(--ink); }
.page-home .site-nav-logo em,
.page-home .site-nav-logo:visited em,
.page-home .site-nav-logo:active em { color: var(--accent); }
.page-home .site-nav-logo:hover,
.page-home .site-nav-logo:focus-visible { color: var(--accent); }
.page-home .site-nav-logo:hover em,
.page-home .site-nav-logo:focus-visible em { color: var(--ink); }
.page-home a:hover,
.page-home a:focus-visible { color: var(--muted); }

.page-home .hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding-top: 88px;
  position: relative;
  overflow: hidden;
  align-items: center;
}

.page-home .hero-left { grid-column: span 8; display: flex; flex-direction: column; justify-content: center; padding: 5rem 3rem; position: relative; z-index: 2; }
.page-home .hero-eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; opacity: 0; animation: fadeUp .6s .2s forwards; }
.page-home .hero-name { font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; margin-bottom: 1.5rem; opacity: 0; animation: fadeUp .6s .35s forwards; }
.page-home .hero-name em { font-style: italic; color: var(--accent); }
.page-home .hero-tagline { font-size: 1.1rem; font-weight: 300; color: var(--muted); max-width: 560px; margin-bottom: 3rem; opacity: 0; animation: fadeUp .6s .5s forwards; line-height: 1.65; }
.page-home .hero-tagline strong { color: var(--ink); font-weight: 500; }
.page-home .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp .6s .65s forwards; }
.page-home .btn { display: inline-block; padding: .85rem 2rem; font-size: .88rem; font-weight: 500; letter-spacing: .05em; text-decoration: none; border-radius: 3px; transition: all .25s; }
.page-home .btn-primary,
.page-home .btn-primary:visited { background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.page-home .btn-primary:hover { background: transparent; color: var(--accent); }
.page-home .btn-ghost,
.page-home .btn-ghost:visited { background: transparent; color: var(--ink); border: 2px solid var(--rule); }
.page-home .btn-ghost:hover { border-color: var(--ink); }

.page-home .hero-right { grid-column: span 4; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; height: 100%; padding: 2.5rem 1.5rem; }
.page-home .hero-photo-wrap { position: relative; z-index: 2; width: min(440px, 82%); display: flex; align-items: flex-end; justify-content: center; border-radius: 10px; overflow: hidden; animation: fadeIn 1s .5s both; }
.page-home .hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.page-home .hero-photo-wrap::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 35%; background: linear-gradient(to top, var(--paper), transparent); pointer-events: none; }

.page-home section { padding: 7rem 3rem; }
.page-home .section-inner { max-width: 1100px; margin: 0 auto; }
.page-home .section-label { font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: flex; align-items: center; gap: .75rem; }
.page-home .section-label::after { content: ''; flex: 1; height: 1px; background: var(--rule); max-width: 60px; }
.page-home h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1.5rem; }

.page-home .stats-bar { background: var(--accent); padding: 2.5rem 3rem; }
.page-home .stats-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.page-home .stat-item .stat-number { font-family: var(--serif); font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; }
.page-home .stat-item .stat-label { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: .35rem; }

.page-home .story { background: var(--ink); color: var(--paper); }
.page-home .story .section-label { color: #c8a882; }
.page-home .story .section-label::after { background: rgba(255,255,255,.15); }
.page-home .story h2 { color: var(--paper); }
.page-home .story-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: start; margin-top: 3rem; }
.page-home .story-body p { font-size: 1.05rem; line-height: 1.85; color: rgba(245,242,237,.8); margin-bottom: 1.5rem; }
.page-home .story-body p strong { color: var(--paper); font-weight: 500; }
.page-home .story-pull { font-family: var(--serif); font-size: 1.55rem; font-style: italic; line-height: 1.4; color: #c8a882; border-left: 3px solid #c8a882; padding-left: 1.75rem; margin-top: 1rem; }

.page-home .expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.page-home .expertise-card { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 2rem 2.25rem; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.page-home .expertise-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,14,13,.09); }
.page-home .expertise-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.page-home .expertise-card:hover::before { transform: scaleX(1); }
.page-home .expertise-icon { font-size: 1.75rem; margin-bottom: 1rem; display: block; }
.page-home .expertise-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.page-home .expertise-card p { font-size: .92rem; color: var(--muted); line-height: 1.65; }

.page-home .how { background: var(--warm); }
.page-home .how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.page-home .how-item { padding: 2rem; border-radius: 6px; background: var(--paper); border: 1px solid var(--rule); }
.page-home .how-num { font-family: var(--serif); font-size: 3rem; font-weight: 900; color: var(--warm); line-height: 1; margin-bottom: .5rem; -webkit-text-stroke: 1.5px var(--accent); }
.page-home .how-item h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: .6rem; }
.page-home .how-item p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

.page-home .recs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.page-home .rec-card { background: var(--warm); border-radius: 6px; padding: 2rem; border: 1px solid var(--rule); position: relative; }
.page-home .rec-card::before { content: '\201C'; font-family: var(--serif); font-size: 4rem; color: var(--accent); opacity: .3; position: absolute; top: .5rem; left: 1.25rem; line-height: 1; }
.page-home .rec-text { font-size: .93rem; line-height: 1.7; color: var(--ink); margin-bottom: 1.25rem; padding-top: 1rem; }
.page-home .rec-author { font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.page-home .cta-section { background: var(--accent2); color: #fff; text-align: center; padding: 8rem 3rem; }
.page-home .cta-section .section-label { color: #9ab8c8; justify-content: center; }
.page-home .cta-section .section-label::after { display: none; }
.page-home .cta-section h2 { color: #fff; max-width: 640px; margin: 0 auto 1rem; }
.page-home .cta-section p { color: rgba(255,255,255,.65); max-width: 480px; margin: 0 auto 3rem; font-size: 1.05rem; }
.page-home .cta-options { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.page-home .btn-white,
.page-home .btn-white:visited { background: #fff; color: var(--accent2); border: 2px solid #fff; }
.page-home .btn-white:hover { background: transparent; color: #fff; }
.page-home .btn-outline-white,
.page-home .btn-outline-white:visited { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.page-home .btn-outline-white:hover { border-color: #fff; }

.page-home .modal-backdrop { position: fixed; inset: 0; background: rgba(15,14,13,.55); display: none; align-items: center; justify-content: center; padding: 1.5rem; z-index: 1200; }
.page-home .modal-backdrop.open { display: flex; }
.page-home .contact-modal { width: min(560px, 100%); background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 20px 60px rgba(15,14,13,.25); padding: 1.5rem; }
.page-home .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.page-home .modal-title { font-family: var(--serif); font-size: 1.65rem; line-height: 1.2; letter-spacing: -.02em; }
.page-home .modal-close { border: 1px solid var(--rule); background: #fff; color: var(--ink); width: 36px; height: 36px; border-radius: 6px; font-size: 1.1rem; cursor: pointer; }
.page-home .modal-copy { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.page-home .contact-form { display: grid; gap: .85rem; }
.page-home .contact-form label { font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.page-home .contact-form input,
.page-home .contact-form textarea { width: 100%; border: 1px solid var(--rule); border-radius: 6px; padding: .72rem .85rem; font: inherit; color: var(--ink); background: #fff; }
.page-home .contact-form textarea { resize: vertical; min-height: 130px; }
.page-home .contact-form input:focus,
.page-home .contact-form textarea:focus { outline: 2px solid rgba(200,82,26,.2); border-color: var(--accent); }
.page-home .contact-form .btn-primary { width: max-content; }
.page-home .form-status { font-size: .9rem; color: var(--muted); min-height: 1.2rem; }

.page-home footer { background: var(--ink); color: var(--muted); text-align: center; padding: 2.5rem 3rem; font-size: .82rem; letter-spacing: .04em; }
.page-home footer a { color: var(--muted); text-decoration: none; }
.page-home footer a:hover { color: var(--paper); }
.page-home .divider { width: 100%; height: 1px; background: var(--rule); }

@media (max-width: 900px) {
  .page-home .hero { grid-template-columns: 1fr; min-height: auto; padding: 5rem 0 0; }
  .page-home .hero-left { padding: 2rem 1.5rem 2rem; }
  .page-home .hero-right { height: auto; width: 100%; justify-content: center; padding: 0 1.5rem 1rem; }
  .page-home .hero-photo-wrap { width: min(360px, 88vw); height: min(520px, 88vw); }
  .page-home .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .page-home .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-home .expertise-grid,
  .page-home .how-grid,
  .page-home .recs-grid { grid-template-columns: 1fr; }
  .page-home section { padding: 4rem 1.5rem; }
  .page-home .stats-bar { padding: 2rem 1.5rem; }
}

body.page-playbook {
  --site-nav-link: var(--text2);
  --site-nav-active: var(--accent);
  --site-nav-logo: var(--text);
  --site-nav-border: var(--border);
  --site-nav-scrolled-bg: rgba(245,242,237,.92);
  --playbook-nav-offset: 5.5rem;
  --playbook-gutter: 3rem;
  --playbook-content-offset: 4.25rem;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 1.5rem 0;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 820px; margin: 0 auto; }
.page-playbook .site-nav { padding-inline: var(--playbook-gutter); }
.page-playbook .wrap {
  width: calc(100% - (var(--playbook-gutter) * 2));
  max-width: none;
  margin: 0 auto;
  padding-top: calc(var(--playbook-nav-offset) + var(--playbook-content-offset));
}

.site-subnav {
  position: fixed;
  top: var(--playbook-nav-offset);
  left: 50%;
  width: calc(100vw - (var(--playbook-gutter, 3rem) * 2));
  max-width: calc(100vw - (var(--playbook-gutter, 3rem) * 2));
  transform: translateX(-50%);
  z-index: 90;
  padding: 0;
}

.site-subnav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}

.site-subnav-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-subnav-header .hdr-title {
  margin-right: 0;
}

.site-subnav-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.site-subnav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface2);
  color: var(--text);
  font: 600 11px var(--font);
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-subnav-toggle-icon {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s ease;
}

.site-subnav.menu-open .site-subnav-toggle-icon {
  transform: rotate(-135deg) translateY(-1px);
}

.hdr { margin-bottom: 1.5rem; }
.hdr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.hdr-title { font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.hdr-sub { font-size: 13px; color: var(--text2); margin-top: 3px; max-width: 480px; line-height: 1.5; }
.team-control { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.scale-lbl { font-size: 11px; color: var(--text3); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.team-select { appearance: none; -webkit-appearance: none; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font: 500 11px var(--font); padding: 4px 24px 4px 8px; cursor: pointer; min-width: 88px; }

@media (max-width: 640px) {
  body.page-playbook {
    --playbook-nav-offset: 5rem;
    --playbook-gutter: 1.5rem;
    --playbook-content-offset: 3.75rem;
  }

  .hdr-title {
    font-size: 24px;
  }

  .site-subnav-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-subnav-header {
    width: 100%;
    justify-content: space-between;
    min-width: 0;
  }

  .site-subnav-inner {
    border-radius: var(--radius-lg);
  }

  .site-subnav-toggle {
    display: inline-flex;
  }

  .site-subnav-panel {
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 2px;
  }

  .site-subnav.menu-open .site-subnav-panel {
    display: flex;
  }

  .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    overflow: visible;
    gap: 8px;
  }

  .tab {
    width: 100%;
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .team-control {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    justify-content: space-between;
  }

  .scale-lbl { display: none; }
}

.tabs { display: flex; gap: 10px; flex: 1 1 auto; flex-wrap: nowrap; overflow-x: auto; background: transparent; border-radius: var(--radius); padding: 0; margin-bottom: 0; border: none; width: auto; min-width: 0; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 5px 12px; border-radius: var(--radius-sm); font-size: 12px; font-family: var(--font); font-weight: 500; cursor: pointer; background: transparent; border: none; color: var(--text2); transition: all .15s; white-space: nowrap; }
.tab:hover { background: var(--surface); color: var(--text); }
.tab.on { background: #ebebeb; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.1);}
.tab.capture:hover, .tab.capture.on { background: var(--blue-bg); color: var(--blue-text); }
.tab.vibelab:hover, .tab.vibelab.on { background: var(--purple-bg); color: var(--purple-text); }
.tab.triage:hover, .tab.triage.on { background: var(--pink-bg); color: var(--pink-text); }
.tab.define:hover, .tab.define.on { background: var(--amber-bg); color: var(--amber-text); }
.tab.prioritize:hover, .tab.prioritize.on { background: var(--yellow-bg); color: var(--yellow-text); }
.tab.build:hover, .tab.build.on { background: var(--green-bg); color: var(--green-text); }
.tab.learn:hover, .tab.learn.on { background: var(--teal-bg); color: var(--teal-text); }

@media (max-width: 640px) {
  .hdr-title {
    font-size: 24px;
  }

  .site-subnav-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-subnav-header {
    width: 100%;
    justify-content: space-between;
    min-width: 0;
  }

  .site-subnav-toggle {
    display: inline-flex;
  }

  .site-subnav-panel {
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 2px;
  }

  .site-subnav.menu-open .site-subnav-panel {
    display: flex;
  }

  .site-subnav .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    flex: none;
    overflow: visible;
    gap: 8px;
  }

  .site-subnav .tab {
    width: 100%;
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .site-subnav .team-control {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    justify-content: space-between;
  }

  .site-subnav .scale-lbl {
    display: none;
  }
}

.sec { display: block; }
.sec.off { display: none; }
.sec-title { font-family: var(--font-display); font-size: 30px; font-weight: 500; margin-bottom: 4px; letter-spacing: -.01em; }
.sec-title.capture { color: var(--blue-text); }
.sec-title.vibelab { color: var(--purple-text); }
.sec-title.triage { color: var(--pink-text); }
.sec-title.define { color: var(--amber-text); }
.sec-title.prioritize { color: var(--yellow-text); }
.sec-title.build { color: var(--green-text); }
.sec-title.learn { color: var(--teal-text); }
.sec-sub { font-size: 13px; color: var(--text2); margin-bottom: 1.125rem; line-height: 1.55; }

.snote { display: none; border-left: 2px solid var(--blue); background: var(--blue-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 8px 12px; margin-bottom: 1rem; font-size: 12px; color: var(--blue-text); line-height: 1.5; }

.card { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; }
.card-t { font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.card-b { font-size: 13px; color: var(--text2); line-height: 1.6; }
.question-list { margin: .65rem 0 0; padding-left: 1.1rem; }
.question-list li + li { margin-top: .3rem; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media (max-width: 600px) { .g2, .g3 { grid-template-columns: 1fr; } }
.h2 { font-size: 16px; font-weight: 600; color: var(--text); margin: 1.25rem 0 .625rem; padding-bottom: 6px; border-bottom: 1px solid var(--border2); letter-spacing: .01em; }

.bw, .bi, .bs, .bd, .bt { display: inline-block; padding: 1px 8px; border-radius: 100px; font-size: 11px; font-weight: 600; vertical-align: middle; }
.bw { background: var(--amber-bg); color: var(--amber-text); }
.bi { background: var(--blue-bg); color: var(--blue-text); }
.bs { background: var(--green-bg); color: var(--green-text); }
.bd { background: var(--red-bg); color: var(--red-text); }
.bt { background: var(--purple-bg); color: var(--purple-text); }
.stage-pill { display: inline-block; padding: 1px 8px; border-radius: 100px; font-size: 11px; font-weight: 600; vertical-align: middle; }
.stage-pill.capture { background: var(--blue-bg); color: var(--blue-text); }
.stage-pill.vibelab { background: var(--purple-bg); color: var(--purple-text); }
.stage-pill.triage { background: var(--pink-bg); color: var(--pink-text); }
.stage-pill.define { background: var(--amber-bg); color: var(--amber-text); }
.stage-pill.prioritize { background: var(--yellow-bg); color: var(--yellow-text); }
.stage-pill.build { background: var(--green-bg); color: var(--green-text); }
.stage-pill.learn { background: var(--teal-bg); color: var(--teal-text); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 100px; font-size: 11px; border: 1px solid var(--border); color: var(--text2); margin: 2px; }

.flow-step { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border2); align-items: flex-start; }
.flow-step:last-child { border-bottom: none; }
.flow-num { width: 24px; height: 24px; border-radius: 50%; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--text2); flex-shrink: 0; margin-top: 1px; }
.flow-body { flex: 1; }
.flow-title { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.flow-desc { font-size: 12px; color: var(--text2); line-height: 1.55; margin-bottom: 6px; }
.flow-tools { display: flex; flex-wrap: wrap; gap: 4px; }
.ftool { font-size: 11px; padding: 1px 7px; border-radius: var(--radius-sm); background: var(--surface2); color: var(--text2); border: 1px solid var(--border2); }

.tbl { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 10px; }
.tbl th { text-align: left; padding: 6px 10px; font-weight: 600; color: var(--text2); border-bottom: 1px solid var(--border); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.tbl td { padding: 7px 10px; border-bottom: 1px solid var(--border2); vertical-align: top; line-height: 1.5; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--surface2); }

.slider-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.slider-lbl { width: 130px; font-size: 11px; color: var(--text2); flex-shrink: 0; }
.slider-val { width: 50px; text-align: right; font-size: 11px; font-weight: 600; font-family: var(--font-mono); color: var(--text2); }
input[type=range] { flex: 1; accent-color: var(--blue); cursor: pointer; }
.score-out { display: flex; align-items: center; gap: 14px; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--border2); }
.score-num { font-family: var(--font-mono); font-size: 30px; font-weight: 500; line-height: 1; }
.score-lbl { font-size: 10px; color: var(--text3); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.score-guide { font-size: 12px; color: var(--text2); line-height: 1.4; }

.score-toggle { display: flex; gap: 6px; margin-bottom: 12px; }
.stbtn { padding: 4px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 12px; font-family: var(--font); cursor: pointer; background: transparent; color: var(--text2); font-weight: 500; transition: all .15s; }
.stbtn:hover { background: var(--surface2); }
.stbtn.on { background: var(--amber-bg); color: var(--amber-text); border-color: transparent; font-weight: 600; }
.sp { display: none; }
.sp.on { display: block; }

.chk { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border2); cursor: pointer; user-select: none; transition: opacity .1s; }
.chk:last-child { border-bottom: none; }
.chk:hover { opacity: .8; }
.chkb { width: 16px; height: 16px; border: 1.5px solid var(--border); border-radius: 4px; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; font-size: 10px; transition: all .15s; }
.chk.done .chkb { background: var(--green); border-color: var(--green); color: #fff; }
.chk.done .chkt { text-decoration: line-through; color: var(--text3); }
.chkt { font-size: 13px; line-height: 1.4; }

.nnl { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media (max-width: 600px) { .nnl { grid-template-columns: 1fr; } }
.nnl-card { border-radius: var(--radius); padding: 12px 14px; border: 1px solid var(--border2); }
.nnl-card.now { background: var(--green-bg); border-color: rgba(46,125,66,.2); }
.nnl-card.next { background: var(--blue-bg); border-color: rgba(26,95,166,.2); }
.nnl-card.later { background: var(--amber-bg); border-color: rgba(184,115,22,.2); }
.nnl-head { font-size: 12px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.nnl-item { font-size: 12px; color: var(--text2); padding: 5px 8px; background: rgba(255,255,255,.5); border-radius: var(--radius-sm); margin-bottom: 4px; line-height: 1.4; }

.prd-bar { display: flex; margin-bottom: 8px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border2); }
.prd-stage { flex: 1; text-align: center; padding: 6px 4px; font-size: 10px; font-weight: 600; letter-spacing: .04em; }

.vsteps { display: flex; border-bottom: 1px solid var(--border2); margin-bottom: 14px; overflow-x: auto; }
.vstep { flex: 0 0 auto; padding: 6px 10px; font-size: 11px; font-weight: 500; color: var(--text3); border-bottom: 2px solid transparent; cursor: pointer; transition: all .15s; white-space: nowrap; }
.vstep.on { color: var(--green-text); border-bottom-color: var(--green); font-weight: 600; }
.vstep.done { color: var(--text3); border-bottom-color: var(--border); }
.vbtns { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.vbtn { padding: 5px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); cursor: pointer; background: var(--surface); color: var(--text); font-size: 13px; font-family: var(--font); font-weight: 500; transition: all .15s; }
.vbtn:hover { background: var(--surface2); }

.loop-wrap { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); padding: 12px; margin-bottom: 14px; overflow-x: auto; }

.out-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border2); font-size: 12px; }
.out-row:last-child { border-bottom: none; }
.out-lbl { width: 130px; flex-shrink: 0; }
.out-txt { color: var(--text2); line-height: 1.5; flex: 1; }

.mono { font-family: var(--font-mono); font-size: 11px; line-height: 1.8; color: var(--text2); white-space: pre; background: var(--surface2); border-radius: var(--radius-sm); padding: 12px; overflow-x: auto; border: 1px solid var(--border2); }

.hi-box {background: #fafafa; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; font-size: 13px; line-height: 1.6; border: 1px solid #ebebeb;}
.hi-box.green { background: var(--green-bg); color: var(--green-text); border: 1px solid rgba(46,125,66,.2); }
.hi-box.red { background: var(--red-bg); color: var(--red-text); border: 1px solid rgba(192,40,42,.2); }
.hi-box.amber { background: var(--amber-bg); color: var(--amber-text); border: 1px solid rgba(184,115,22,.2); }

.size-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media (max-width: 500px) { .size-cards { grid-template-columns: 1fr; } }
.size-card { text-align: center; padding: 14px 10px; background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); }
.size-emoji { font-size: 28px; margin-bottom: 6px; }
.size-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.size-desc { font-size: 12px; color: var(--text2); line-height: 1.4; }

.prd-field { padding: 10px 0; border-bottom: 1px solid var(--border2); }
.prd-field:last-child { border-bottom: none; }
.prd-fl { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text3); margin-bottom: 3px; }
.prd-fv { font-size: 13px; line-height: 1.5; }
.prd-fh { font-size: 11px; color: var(--text3); margin-top: 3px; font-style: italic; line-height: 1.4; }

.vault { background: var(--red-bg); border: 1px solid rgba(192,40,42,.2); border-radius: var(--radius); padding: 10px 14px; font-size: 12px; color: var(--red-text); line-height: 1.5; margin-bottom: 10px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }