/* ==========================================================
   TONES — shared dock, toast and the nine extra presentation styles.
   Driven by html[data-style="<tone>"], set by the inline head script
   (to avoid a flash) and by tones.js on switching. Standard is the
   site's own stylesheet; Fun lives in fun-mode.css.

   Every tone other than Standard and Fun also gets html[data-kit]:
   a shared layer (below) that re-points the base stylesheet's
   hard-coded teal and dark values at tokens, so each tone only has
   to set its tokens plus its signature touches.

   Specificity: kit rules use html:where([data-kit]) so they beat the
   base styles by one element and always lose to a tone's own
   html[data-style="…"] rules, whatever the order.
   ========================================================== */

/* ---------- TONE DOCK (all tones) ----------
   Bottom-left, deliberately separate from the site navigation
   (Jeeves sits bottom-right). The menu is built by tones.js. */
.style-dock {
  position: fixed; left: 24px; bottom: 24px; z-index: 150;
  font-family: 'DM Sans', sans-serif;
  animation: dock-in 0.5s ease 0.6s backwards; /* not 'both': a lingering transform would trap the fixed-position phone menu */
}
@keyframes dock-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.tone-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px; border-radius: 100px;
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border-bright);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-family: 'DM Sans', sans-serif; font-size: 12.5px; font-weight: 500; line-height: 1;
  cursor: pointer; transition: border-color 0.2s, transform 0.2s;
}
.tone-trigger:hover { border-color: var(--accent); }
.tone-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.switch-prefix {
  order: 0; padding: 0 0 0 9px;
  font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary);
}
.tone-current-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-dim); font-size: 14px; order: -1;
}
.switch-label { white-space: nowrap; }
.tone-caret { font-size: 10px; color: var(--text-tertiary); transition: transform 0.2s; }
.style-dock.open .tone-caret { transform: rotate(180deg); }

/* Explainer above the dock: on hover/focus, and briefly for first-time visitors */
.style-switch-help {
  position: absolute; bottom: calc(100% + 12px); left: 0;
  width: 300px; padding: 14px 16px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid var(--border-bright);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  font-size: 12.5px; line-height: 1.5; color: var(--text-secondary);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.style-switch-help::after {
  content: ''; position: absolute; bottom: -6px; left: 28px;
  width: 10px; height: 10px; transform: rotate(45deg);
  background: var(--bg-card); border-right: 1px solid var(--border-bright); border-bottom: 1px solid var(--border-bright);
}
.style-switch-help strong { color: var(--text-primary); font-size: 13px; }
.style-switch-help b { color: var(--text-primary); font-weight: 600; }
.style-dock:hover .style-switch-help,
.style-dock:focus-within .style-switch-help,
.style-dock.show-help .style-switch-help { opacity: 1; transform: translateY(0); }
.style-dock.open .style-switch-help { opacity: 0; transform: translateY(6px); }

/* The menu */
.tone-menu {
  position: absolute; bottom: calc(100% + 12px); left: 0;
  width: 580px; max-width: calc(100vw - 48px); max-height: min(72vh, 620px); overflow-y: auto;
  padding: 14px; border-radius: 16px;
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border-bright);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  animation: tone-menu-in 0.18s ease both;
}
.tone-menu[hidden] { display: none; }
@keyframes tone-menu-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tone-menu-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 2px 6px 12px;
}
.tone-menu-head strong { font-size: 14px; font-weight: 600; }
.tone-menu-head span { font-size: 12px; color: var(--text-tertiary); }
.tone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tone-item {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: inherit; text-align: left; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s, border-color 0.15s;
}
.tone-item:hover, .tone-item:focus-visible { background: var(--accent-dim); outline: none; }
.tone-item:focus-visible { border-color: var(--accent); }
.tone-item[aria-checked="true"] { background: var(--accent-dim); border-color: var(--accent-mid); }
.tone-item-icon { font-size: 19px; text-align: center; line-height: 1; }
.tone-item-text b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.tone-item[aria-checked="true"] .tone-item-text b::after { content: ' ✓'; color: var(--accent); }
.tone-item-text small { display: block; font-size: 11.5px; color: var(--text-secondary); line-height: 1.35; }
.tone-swatch { display: flex; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(127,127,127,0.35); }
.tone-swatch i { display: block; width: 9px; height: 24px; }
.tone-surprise {
  display: block; width: 100%; margin-top: 10px; padding: 10px;
  border-radius: 10px; border: 1px dashed var(--border-bright);
  background: transparent; color: var(--text-secondary); cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
}
.tone-surprise:hover, .tone-surprise:focus-visible { color: var(--text-primary); border-color: var(--accent); outline: none; }

@media (max-width: 600px) {
  .style-dock { left: 16px; bottom: 16px; }
  .tone-trigger .switch-label { display: none; }
  .style-switch-help { width: min(300px, calc(100vw - 32px)); }
  .tone-menu {
    position: fixed; left: 12px; right: 12px; bottom: 72px;
    width: auto; max-width: none; max-height: 68vh;
  }
  .tone-grid { grid-template-columns: 1fr; }
}
@media print { .style-dock { display: none; } }

/* Fun keeps its sticker look on the dock */
html[data-style="fun"] .tone-trigger,
html[data-style="fun"] .tone-menu,
html[data-style="fun"] .style-switch-help {
  background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
html[data-style="fun"] .style-switch-help::after { border-color: var(--ink); border-width: 2px; background: #fff; bottom: -7px; }
html[data-style="fun"] .tone-current-icon { background: var(--sun); }
html[data-style="fun"] .switch-prefix { color: var(--ink); }
html[data-style="fun"] .tone-item[aria-checked="true"] { background: var(--sun); border-color: var(--ink); }
html[data-style="fun"] .tone-item:hover { background: #fff3c4; }

/* ---------- TOAST + CONFETTI (all tones) ---------- */
.style-toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 300;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--bg-card); border: 1px solid var(--border-bright); color: var(--text-primary);
  padding: 12px 18px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: opacity 0.25s, transform 0.25s; pointer-events: none;
  max-width: calc(100vw - 32px); text-align: center;
}
html[data-style="fun"] .style-toast { background: var(--ink); color: #fff; border: none; }
.style-toast.show { opacity: 1; transform: translate(-50%, 0); }
.confetti-bit {
  position: fixed; top: -40px; z-index: 299; pointer-events: none; font-size: 22px;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall { to { transform: translateY(110vh) rotate(720deg); opacity: 0.6; } }

/* Tone-only extras injected by tones.js */
[data-tone-only][hidden] { display: none !important; }
#hero > .container { position: relative; z-index: 1; }

/* ==========================================================
   SHARED KIT (every tone except Standard and Fun)
   ========================================================== */
html:where([data-kit]) {
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --on-accent: #080c12;
  --nav-bg: rgba(8,12,18,0.88);
  --line: var(--border);
  --hover-shadow: 0 14px 36px rgba(0,0,0,0.18);
  --texture: none;
}
html:where([data-kit]) body { font-family: var(--font-body); background-color: var(--bg-void); }
html:where([data-kit]) body::before { background-image: var(--texture); }
html:where([data-kit]) :is(h1, h2, h3, h4, .nav-logo, .footer-logo, .cap-title, .timeline-role, .proj-title,
  .rec-name, .metric-value, .contact-headline, .insight-title, .note-avatar, .rec-avatar) {
  font-family: var(--font-display);
}
html:where([data-kit]) :is(.section-eyebrow, .tag-pill, .hero-badge, .metric-label, .timeline-company,
  .timeline-date, .insight-meta, .note-meta, .proj-status, .proj-note, .rec-meta, .channel-label,
  .social-label, .footer-copy, .mono) {
  font-family: var(--font-mono);
}
html:where([data-kit]) :is(.btn, .btn-visit, .rec-toggle) { font-family: var(--font-body); }
html:where([data-kit]) ::selection { background: var(--accent); color: var(--on-accent); }
html:where([data-kit]) ::-webkit-scrollbar-track { background: var(--bg-void); }

html:where([data-kit]) #nav.scrolled { background: var(--nav-bg); }
html:where([data-kit]) .btn-primary { background: var(--accent); color: var(--on-accent); }
html:where([data-kit]) .btn-primary:hover { background: var(--accent); filter: brightness(1.08); box-shadow: 0 8px 24px var(--accent-dim); }
html:where([data-kit]) .btn-visit { background: var(--accent); color: var(--on-accent); }
html:where([data-kit]) .btn-visit:hover { box-shadow: 0 10px 24px var(--accent-dim); }
html:where([data-kit]) .current-badge { background: var(--accent); color: var(--on-accent); }
html:where([data-kit]) .insight-card:hover .insight-arrow { background: var(--accent); color: var(--on-accent); }
html:where([data-kit]) .hero-headline em {
  background: none; -webkit-text-fill-color: currentColor; color: var(--accent);
}
html:where([data-kit]) .tag-pill { border-color: var(--accent-mid); }
html:where([data-kit]) .tag-pill.gold { border-color: var(--gold); }
html:where([data-kit]) .tag-pill.neutral { background: transparent; border-color: var(--border); color: var(--text-secondary); }
html:where([data-kit]) :is(.cap-icon, .proj-icon, .channel-icon, .note-avatar, .rec-avatar) { border-color: var(--border); }
html:where([data-kit]) .timeline-track::before {
  background: linear-gradient(to bottom, var(--accent) 0%, var(--accent-dim) 80%, transparent 100%);
}
html:where([data-kit]) .timeline-entry.current .timeline-dot { box-shadow: 0 0 0 4px var(--accent-dim); }
html:where([data-kit]) :is(.timeline-outcomes li, .proj-features li) { border-bottom-color: var(--line); }
html:where([data-kit]) .insight-card.featured { background: var(--bg-card); border-color: var(--accent-mid); }
html:where([data-kit]) :is(.timeline-card, .rec-card, .insight-card):hover { box-shadow: var(--hover-shadow); }
html:where([data-kit]) .proj-figure { box-shadow: var(--hover-shadow); }
html:where([data-kit]) :is(.logo-dot, .hero-badge-dot) { animation-name: kit-pulse; }
@keyframes kit-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-mid); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
/* Two-column metrics on phones (the five-across ribbon is too wide) */
@media (max-width: 600px) {
  html:where([data-kit]) .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  html:where([data-kit]) .metric-item { padding: 0 10px; min-width: 0; border: none !important; padding-top: 0 !important; }
  html:where([data-kit]) .metric-item:nth-child(5) { grid-column: 1 / -1; }
}
/* A side panel sits to the right of the hero on wide screens in some tones */
@media (max-width: 1180px) {
  .tech-spec, .field-stamp, .bp-titleblock { display: none !important; }
}

/* ==========================================================
   TECHNICAL — graphite, zinc, cobalt and amber
   ========================================================== */
html[data-style="technical"] {
  --bg-void: #121214; --bg-deep: #18181b; --bg-surface: #1c1c20;
  --bg-card: #18181b; --bg-card-hover: #1f1f23;
  --accent: #3B82F6; --accent-dim: rgba(59,130,246,0.13); --accent-mid: rgba(59,130,246,0.45);
  --gold: #F59E0B; --gold-dim: rgba(245,158,11,0.12);
  --text-primary: #f4f4f5; --text-secondary: #a1a1aa; --text-tertiary: #71717a;
  --border: #27272a; --border-bright: #3f3f46; --line: #232327;
  --radius: 6px; --radius-sm: 4px;
  --font-display: 'IBM Plex Sans', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --on-accent: #ffffff;
  --nav-bg: rgba(18,18,20,0.92);
  --hover-shadow: 0 0 0 1px var(--accent-mid), 0 18px 40px rgba(0,0,0,0.4);
  --texture: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
             linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
}
html[data-style="technical"] body::before { background-size: 32px 32px; }
html[data-style="technical"] .hero-headline { font-weight: 700; letter-spacing: -0.035em; }
html[data-style="technical"] :is(.section-title, .contact-headline) { font-weight: 600; letter-spacing: -0.025em; }
html[data-style="technical"] :is(.cap-title, .timeline-role, .proj-title, .insight-title) { font-weight: 600; letter-spacing: -0.01em; }
html[data-style="technical"] .section-eyebrow { color: var(--gold); text-transform: none; letter-spacing: 0; font-size: 12px; }
html[data-style="technical"] .section-eyebrow::before { content: '//'; width: auto; height: auto; background: none; color: var(--text-tertiary); }
html[data-style="technical"] .hero-badge {
  border-radius: 4px; background: transparent; border-color: var(--border-bright);
  color: var(--text-secondary); letter-spacing: 0;
}
html[data-style="technical"] .hero-badge-dot { background: #22c55e; }
html[data-style="technical"] .tag-pill { border-radius: 4px; text-transform: none; letter-spacing: 0; font-size: 11px; }
html[data-style="technical"] .tag-pill.gold { background: var(--gold-dim); color: var(--gold); border-color: rgba(245,158,11,0.35); }
html[data-style="technical"] .btn { border-radius: 4px; }
html[data-style="technical"] .btn-primary,
html[data-style="technical"] .nav-cta { font-family: var(--font-mono); font-size: 13px; }
html[data-style="technical"] .btn-ghost:hover { border-color: var(--accent); color: var(--text-primary); }
html[data-style="technical"] .metric-value { color: var(--text-primary); font-weight: 600; }
html[data-style="technical"] .metric-suffix { color: var(--gold); }
html[data-style="technical"] .timeline-company { color: var(--gold); }
html[data-style="technical"] :is(.timeline-outcomes li, .proj-features li)::before { content: '›'; color: var(--accent); }
html[data-style="technical"] .cap-icon,
html[data-style="technical"] .proj-icon,
html[data-style="technical"] .channel-icon { border-radius: 6px; background: var(--bg-surface); }
html[data-style="technical"] .proj-status { color: var(--gold); }
html[data-style="technical"] .contact-accent-line { background: var(--gold); }

/* Config-file panel beside the hero */
.tech-spec {
  position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
  width: 410px; margin: 0;
  background: #0c0c0e; border: 1px solid #3f3f46; border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; line-height: 1.7;
  animation: fade-up 0.6s ease 0.45s both;
}
.tech-spec figcaption {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid #27272a;
  color: #71717a; font-size: 11.5px;
}
.tech-dots { display: inline-flex; gap: 6px; }
.tech-dots i { width: 9px; height: 9px; border-radius: 50%; background: #3f3f46; }
.tech-spec pre { margin: 0; padding: 16px 18px; overflow-x: auto; color: #e4e4e7; font: inherit; }
.tk-c { color: #71717a; }
.tk-k { color: #60a5fa; }
.tk-s { color: #fbbf24; }
.tk-n { color: #f59e0b; }
@media (min-width: 1181px) {
  html[data-style="technical"] #hero > .container { width: 100%; }
  html[data-style="technical"] .hero-inner { max-width: 640px; }
  html[data-style="technical"] .hero-headline { font-size: clamp(42px, 4.4vw, 62px); }
}

/* ==========================================================
   EXECUTIVE — deep navy, charcoal, off-white and platinum
   ========================================================== */
html[data-style="executive"] {
  --bg-void: #f6f4ef; --bg-deep: #eeebe4; --bg-surface: #ffffff;
  --bg-card: #ffffff; --bg-card-hover: #fbfaf7;
  --accent: #0b1b33; --accent-dim: rgba(11,27,51,0.06); --accent-mid: rgba(11,27,51,0.3);
  --gold: #8a9099; --gold-dim: #e9eaec;
  --text-primary: #0b1b33; --text-secondary: #3a414c; --text-tertiary: #6b7280;
  --border: #dcd8cf; --border-bright: #b9bec6; --line: #ebe7df;
  --radius: 2px; --radius-sm: 2px;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --on-accent: #f6f4ef;
  --nav-bg: rgba(246,244,239,0.95);
  --hover-shadow: 0 14px 34px rgba(11,27,51,0.08);
}
html[data-style="executive"] body { color: var(--text-primary); }
html[data-style="executive"] .hero-headline { font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; }
html[data-style="executive"] .hero-headline em { font-style: italic; font-weight: 500; color: #4b5b73; }
html[data-style="executive"] :is(.section-title, .contact-headline) { font-weight: 600; letter-spacing: -0.02em; }
html[data-style="executive"] :is(.cap-title, .timeline-role, .proj-title, .insight-title) { font-weight: 600; letter-spacing: -0.01em; }
html[data-style="executive"] .hero-sub { font-weight: 400; color: var(--text-secondary); }
html[data-style="executive"] .section-eyebrow { color: var(--text-tertiary); letter-spacing: 0.16em; }
html[data-style="executive"] .section-eyebrow::before { width: 32px; background: var(--accent); }
html[data-style="executive"] #nav.scrolled { border-bottom-color: var(--border); backdrop-filter: none; }
html[data-style="executive"] .hero-badge { background: transparent; border-color: var(--border-bright); color: var(--text-secondary); border-radius: 2px; }
html[data-style="executive"] .hero-badge-dot { background: #1f8a5b; }
html[data-style="executive"] .btn { border-radius: 2px; font-weight: 500; }
html[data-style="executive"] .btn-primary:hover { background: #142a4d; filter: none; }
html[data-style="executive"] .btn-ghost { border-color: var(--border-bright); color: var(--text-primary); }
html[data-style="executive"] .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
html[data-style="executive"] .tag-pill { background: transparent; color: var(--text-secondary); border-color: var(--border-bright); border-radius: 2px; }
html[data-style="executive"] .tag-pill.gold { background: var(--gold-dim); color: var(--text-primary); border-color: var(--gold); }
html[data-style="executive"] #metrics { background: #0b1b33; border-color: #0b1b33; }
html[data-style="executive"] .metric-item { border-right-color: rgba(255,255,255,0.12); }
html[data-style="executive"] .metric-value { color: #f6f4ef; font-weight: 600; font-variant-numeric: tabular-nums; }
html[data-style="executive"] .metric-label { color: #b9bec6; }
html[data-style="executive"] :is(.cap-icon, .proj-icon, .channel-icon) { background: #fff; filter: grayscale(1); border-radius: 2px; }
html[data-style="executive"] .cap-card:hover { background: #fff; }
html[data-style="executive"] .timeline-company { color: var(--text-tertiary); letter-spacing: 0.14em; }
html[data-style="executive"] .proj-status { color: var(--text-tertiary); }
html[data-style="executive"] :is(.timeline-outcomes li, .proj-features li)::before { content: '■'; font-size: 7px; top: 13px; color: var(--accent); }
html[data-style="executive"] .timeline-outcomes li::before { top: 12px; }
html[data-style="executive"] .proj-figure { filter: saturate(0.85); }
@media (max-width: 900px) {
  html[data-style="executive"] .metric-item:nth-child(4),
  html[data-style="executive"] .metric-item:nth-child(5) { border-top-color: rgba(255,255,255,0.12); }
}

.exec-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid #0b1b33; margin: -16px 0 44px;
  animation: fade-up 0.6s ease 0.45s both;
}
.exec-kpi { padding: 16px 18px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.exec-kpi + .exec-kpi { padding-left: 18px; border-left: 1px solid #dcd8cf; }
.exec-kpi b {
  font-family: 'Source Serif 4', Georgia, serif; font-size: 30px; font-weight: 600;
  letter-spacing: -0.02em; color: #0b1b33; line-height: 1.1; font-variant-numeric: tabular-nums;
}
.exec-kpi span { font-size: 13px; color: #3a414c; line-height: 1.35; }
.exec-kpi i {
  font-style: normal; font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: #6b7280;
}
@media (max-width: 700px) {
  .exec-kpis { grid-template-columns: 1fr 1fr; }
  .exec-kpi:nth-child(3) { padding-left: 0; border-left: none; }
  .exec-kpi:nth-child(n+3) { border-top: 1px solid #dcd8cf; margin-top: 8px; }
}

/* ==========================================================
   TERMINAL — pitch black, phosphor green, amber, monospace
   ========================================================== */
html[data-style="terminal"] {
  --bg-void: #0D1117; --bg-deep: #0a0e13; --bg-surface: #0f141b;
  --bg-card: #0f151c; --bg-card-hover: #121a22;
  --accent: #39ff7a; --accent-dim: rgba(57,255,122,0.08); --accent-mid: rgba(57,255,122,0.35);
  --gold: #ffb000; --gold-dim: rgba(255,176,0,0.1);
  --text-primary: #c9f7d6; --text-secondary: #84c49a; --text-tertiary: #4f8060;
  --border: rgba(57,255,122,0.14); --border-bright: rgba(57,255,122,0.38); --line: rgba(57,255,122,0.07);
  --radius: 0; --radius-sm: 0;
  --font-display: 'VT323', monospace;
  --font-body: 'IBM Plex Mono', monospace;
  --font-mono: 'IBM Plex Mono', monospace;
  --on-accent: #0D1117;
  --nav-bg: rgba(13,17,23,0.95);
  --hover-shadow: 0 0 0 1px var(--accent-mid), 0 0 24px rgba(57,255,122,0.08);
}
html[data-style="terminal"] body { font-size: 15px; }
html[data-style="terminal"] body::after {
  content: ''; position: fixed; inset: 0; z-index: 120; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 2px, rgba(0,0,0,0.2) 3px);
}
html[data-style="terminal"] :is(h1, h2, h3, .metric-value, .nav-logo, .cap-title, .proj-title, .timeline-role, .contact-headline) {
  text-shadow: 0 0 10px rgba(57,255,122,0.35);
}
html[data-style="terminal"] .hero-headline { font-size: clamp(44px, 7vw, 88px); font-weight: 400; line-height: 0.98; letter-spacing: 0; }
html[data-style="terminal"] .hero-headline em { color: var(--accent); }
html[data-style="terminal"] .hero-headline em::after {
  content: '▋'; margin-left: 0.12em; color: var(--accent);
  animation: term-blink 1s steps(1) infinite;
}
@keyframes term-blink { 50% { opacity: 0; } }
html[data-style="terminal"] .term-prompt { color: var(--gold); text-shadow: 0 0 10px rgba(255,176,0,0.35); }
html[data-style="terminal"] .hero-sub { font-size: 14.5px; font-weight: 400; color: var(--text-tertiary); }
html[data-style="terminal"] .section-title { font-size: clamp(42px, 5vw, 64px); font-weight: 400; letter-spacing: 0; line-height: 1; }
html[data-style="terminal"] .nav-logo { font-size: 28px; font-weight: 400; letter-spacing: 0; }
html[data-style="terminal"] .footer-logo { font-size: 22px; font-weight: 400; }
html[data-style="terminal"] .cap-title { font-size: 28px; font-weight: 400; line-height: 1.05; }
html[data-style="terminal"] .timeline-role { font-size: 28px; font-weight: 400; line-height: 1.05; }
html[data-style="terminal"] .proj-title { font-size: 44px; font-weight: 400; }
html[data-style="terminal"] .insight-title { font-size: 28px; font-weight: 400; line-height: 1.05; }
html[data-style="terminal"] .insight-card.featured .insight-title { font-size: 34px; }
html[data-style="terminal"] .rec-name { font-size: 22px; font-weight: 400; }
html[data-style="terminal"] .contact-headline { font-size: 60px; font-weight: 400; letter-spacing: 0; line-height: 1; }
html[data-style="terminal"] .metric-value { font-size: 60px; font-weight: 400; letter-spacing: 0; }
html[data-style="terminal"] .metric-suffix { font-size: 40px; }
html[data-style="terminal"] :is(.metric-label, .nav-links a) { text-transform: none; letter-spacing: 0; }
html[data-style="terminal"] .metric-label { font-size: 11.5px; }
html[data-style="terminal"] .section-eyebrow { color: var(--gold); text-transform: none; letter-spacing: 0; font-size: 13px; }
html[data-style="terminal"] .section-eyebrow::before { content: '$'; width: auto; height: auto; background: none; color: var(--accent); }
html[data-style="terminal"] .section-eyebrow code { font: inherit; }
html[data-style="terminal"] .hero-badge { background: transparent; border-color: var(--border-bright); border-radius: 0; letter-spacing: 0; }
html[data-style="terminal"] .tag-pill { border-radius: 0; text-transform: none; letter-spacing: 0; font-size: 11.5px; background: transparent; }
html[data-style="terminal"] .tag-pill.gold { color: var(--gold); border-color: rgba(255,176,0,0.45); background: transparent; }
html[data-style="terminal"] .btn { border-radius: 0; font-size: 13.5px; }
html[data-style="terminal"] .btn-primary:hover { box-shadow: 0 0 22px rgba(57,255,122,0.45); filter: none; }
html[data-style="terminal"] .btn-ghost { border-color: var(--accent-mid); color: var(--accent); }
html[data-style="terminal"] .btn-ghost:hover { border-color: var(--accent); background: var(--accent-dim); }
html[data-style="terminal"] .timeline-company { color: var(--gold); }
html[data-style="terminal"] :is(.timeline-outcomes li, .proj-features li)::before { content: '>'; }
html[data-style="terminal"] :is(.cap-icon, .proj-icon, .channel-icon) {
  border-radius: 0; background: transparent; border-color: var(--border-bright);
  filter: grayscale(1) sepia(1) hue-rotate(75deg) saturate(3);
}
html[data-style="terminal"] .proj-main-img,
html[data-style="terminal"] .proj-thumb-mini { filter: grayscale(1) sepia(0.5) hue-rotate(70deg) saturate(1.6) brightness(0.9); transition: filter 0.3s, opacity 0.2s; }
html[data-style="terminal"] .proj-figure:hover .proj-main-img { filter: none; }
html[data-style="terminal"] :is(.timeline-dot, .note-avatar, .rec-avatar) { border-radius: 0; }
html[data-style="terminal"] .contact-accent-line { height: 14px; width: 9px; border-radius: 0; animation: term-blink 1s steps(1) infinite; }
html[data-style="terminal"] .term-cmd {
  display: block; margin-bottom: 10px;
  font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--text-tertiary); text-shadow: none;
}
html[data-style="terminal"] #nav.scrolled { border-bottom-color: var(--border-bright); }

.term-boot {
  display: flex; flex-direction: column; gap: 3px; margin-bottom: 28px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: #4f8060;
}
.term-boot span { opacity: 0; animation: term-line 0.01s linear both; }
.term-boot span:nth-child(1) { animation-delay: 0.15s; }
.term-boot span:nth-child(2) { animation-delay: 0.45s; }
.term-boot span:nth-child(3) { animation-delay: 0.75s; }
.term-boot span:nth-child(4) { animation-delay: 1.05s; }
@keyframes term-line { to { opacity: 1; } }
.term-boot b { color: #39ff7a; font-weight: 500; }
.term-boot em { color: #ffb000; font-style: normal; }
@media (max-width: 600px) {
  html[data-style="terminal"] .nav-cta { font-size: 11.5px !important; padding: 8px 10px !important; }
  html[data-style="terminal"] .contact-headline { font-size: 46px; }
  html[data-style="terminal"] .proj-title { font-size: 36px; }
}

/* ==========================================================
   DIRECT — stark monochrome, one acidic orange
   ========================================================== */
html[data-style="direct"] {
  --bg-void: #ffffff; --bg-deep: #f1f1f1; --bg-surface: #ffffff;
  --bg-card: #ffffff; --bg-card-hover: #ffffff;
  --accent: #ff5f00; --accent-dim: rgba(255,95,0,0.12); --accent-mid: #ff5f00;
  --gold: #0a0a0a; --gold-dim: #e8e8e8;
  --text-primary: #0a0a0a; --text-secondary: #262626; --text-tertiary: #5c5c5c;
  --border: #0a0a0a; --border-bright: #0a0a0a; --line: #d4d4d4;
  --radius: 0; --radius-sm: 0;
  --font-display: 'Archivo Black', 'Archivo', sans-serif;
  --font-body: 'Archivo', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --on-accent: #0a0a0a;
  --nav-bg: #ffffff;
  --hover-shadow: 6px 6px 0 #0a0a0a;
}
html[data-style="direct"] :is(.hero-headline, .section-title, .contact-headline) {
  text-transform: uppercase; font-weight: 400; letter-spacing: -0.02em; line-height: 0.95;
}
html[data-style="direct"] .hero-headline { font-size: clamp(29px, 6.4vw, 84px); }
html[data-style="direct"] .hero-headline em {
  background: var(--accent); color: #0a0a0a; -webkit-text-fill-color: #0a0a0a;
  padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
html[data-style="direct"] :is(.cap-title, .timeline-role, .proj-title, .insight-title, .rec-name, .nav-logo, .metric-value) { font-weight: 400; }
html[data-style="direct"] .hero-sub { color: var(--text-secondary); font-weight: 400; font-size: 19px; }
html[data-style="direct"] .section-eyebrow {
  display: inline-flex; background: #0a0a0a; color: #fff; padding: 5px 10px; letter-spacing: 0.08em;
}
html[data-style="direct"] .section-eyebrow::before { display: none; }
html[data-style="direct"] #nav.scrolled { border-bottom: 3px solid #0a0a0a; backdrop-filter: none; }
html[data-style="direct"] .nav-links a { color: #0a0a0a; font-weight: 500; }
html[data-style="direct"] .nav-links a::after { height: 3px; background: var(--accent); }
html[data-style="direct"] .logo-dot { border-radius: 0; background: var(--accent); }
html[data-style="direct"] .hero-badge { background: #fff; border: 2px solid #0a0a0a; border-radius: 0; color: #0a0a0a; }
html[data-style="direct"] .btn,
html[data-style="direct"] .btn-visit { border-radius: 0; border: 3px solid #0a0a0a; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
html[data-style="direct"] .btn-primary,
html[data-style="direct"] .btn-visit { background: var(--accent); color: #0a0a0a; }
html[data-style="direct"] :is(.btn-primary, .btn-visit):hover { background: #0a0a0a; color: var(--accent); filter: none; box-shadow: none; transform: none; }
html[data-style="direct"] .btn-ghost { background: #fff; color: #0a0a0a; }
html[data-style="direct"] .btn-ghost:hover { background: #0a0a0a; color: #fff; transform: none; }
html[data-style="direct"] .tag-pill { background: #fff; color: #0a0a0a; border: 2px solid #0a0a0a; border-radius: 0; }
html[data-style="direct"] .tag-pill.gold { background: #0a0a0a; color: #fff; }
html[data-style="direct"] #metrics { background: #0a0a0a; border: none; }
html[data-style="direct"] .metric-item { border-right-color: #333; }
html[data-style="direct"] .metric-value { color: var(--accent); }
html[data-style="direct"] .metric-label { color: #fff; }
html[data-style="direct"] .caps-grid { border: 3px solid #0a0a0a; }
html[data-style="direct"] .cap-card { border-color: #0a0a0a; border-width: 0 3px 3px 0; }
html[data-style="direct"] .cap-card:nth-child(2n) { border-right: none; }
html[data-style="direct"] .cap-card:nth-child(3), html[data-style="direct"] .cap-card:nth-child(4) { border-bottom: none; }
html[data-style="direct"] .cap-card::before { height: 6px; }
html[data-style="direct"] .cap-card:hover { background: #fff6f0; }
html[data-style="direct"] :is(.cap-icon, .proj-icon, .channel-icon) { background: #fff; border: 2px solid #0a0a0a; border-radius: 0; filter: grayscale(1); }
html[data-style="direct"] :is(.timeline-card, .insight-card, .rec-card, .note-card, .channel-card) { border: 3px solid #0a0a0a; }
html[data-style="direct"] :is(.timeline-card, .insight-card, .rec-card, .note-card, .channel-card):hover {
  border-color: #0a0a0a; transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent);
}
html[data-style="direct"] .insight-card.featured { background: #fff; border-color: #0a0a0a; }
html[data-style="direct"] .insight-arrow { background: #fff; border: 2px solid #0a0a0a; color: #0a0a0a; border-radius: 0; }
html[data-style="direct"] .timeline-track::before { width: 3px; background: #0a0a0a; }
html[data-style="direct"] .timeline-dot { border-radius: 0; border: 3px solid #0a0a0a; background: #fff; left: -46px; width: 15px; height: 15px; }
html[data-style="direct"] .timeline-entry.current .timeline-dot { background: var(--accent); border-color: #0a0a0a; box-shadow: none; }
html[data-style="direct"] .timeline-company { color: #0a0a0a; font-weight: 700; }
html[data-style="direct"] .current-badge { border-radius: 0; }
html[data-style="direct"] :is(.timeline-outcomes li, .proj-features li)::before { content: '■'; color: var(--accent); font-size: 10px; top: 10px; }
html[data-style="direct"] .timeline-outcomes li::before { top: 9px; }
html[data-style="direct"] .proj-figure { border: 3px solid #0a0a0a; box-shadow: 8px 8px 0 #0a0a0a; border-radius: 0; }
html[data-style="direct"] .proj-main-img { filter: grayscale(1) contrast(1.08); transition: filter 0.3s, opacity 0.25s; }
html[data-style="direct"] .proj-figure:hover .proj-main-img { filter: none; }
html[data-style="direct"] .proj-thumb-mini { border-radius: 0; border: 2px solid #0a0a0a; }
html[data-style="direct"] :is(.note-avatar, .rec-avatar) { border-radius: 0; background: #0a0a0a; color: #fff; }
html[data-style="direct"] .contact-accent-line { height: 8px; width: 72px; border-radius: 0; }
html[data-style="direct"] :is(#timeline, #projects, #contact, #lately) { border-top: 3px solid #0a0a0a; }
html[data-style="direct"] .contact-layout { border-bottom: 3px solid #0a0a0a; }
html[data-style="direct"] .social-links a { border: 2px solid #0a0a0a; color: #0a0a0a; border-radius: 0; }
html[data-style="direct"] .social-links a:hover { background: var(--accent); }

.direct-ban {
  position: relative; z-index: 1; display: flex; align-items: stretch; overflow: hidden;
  background: #0a0a0a; color: #fff; border-top: 3px solid #0a0a0a;
}
.direct-ban-label {
  flex-shrink: 0; display: flex; align-items: center; padding: 0 18px;
  background: #ff5f00; color: #0a0a0a;
  font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.direct-ban-track { flex: 1; overflow: hidden; }
.direct-ban-run { display: flex; width: max-content; animation: direct-ban 40s linear infinite; padding: 14px 0; }
.direct-ban s {
  margin: 0 22px; white-space: nowrap;
  font-family: 'Archivo Black', sans-serif; font-size: 20px; text-transform: uppercase;
  text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: #ff5f00;
  color: #8a8a8a;
}
@keyframes direct-ban { to { transform: translateX(-50%); } }

/* ==========================================================
   ARCADE — midnight purple, magenta, cyan and neon yellow
   ========================================================== */
html[data-style="arcade"] {
  --bg-void: #1a0b2e; --bg-deep: #140726; --bg-surface: #22103b;
  --bg-card: #231040; --bg-card-hover: #2c1450;
  --accent: #ff2bd6; --accent-dim: rgba(255,43,214,0.15); --accent-mid: rgba(255,43,214,0.5);
  --gold: #ffe600; --gold-dim: rgba(255,230,0,0.12);
  --cyan: #00f0ff;
  --text-primary: #fdf3ff; --text-secondary: #cdb8e8; --text-tertiary: #9a80c2;
  --border: rgba(0,240,255,0.2); --border-bright: rgba(0,240,255,0.55); --line: rgba(0,240,255,0.1);
  --radius: 4px; --radius-sm: 2px;
  --font-display: 'Press Start 2P', monospace;
  --font-body: 'Chakra Petch', sans-serif;
  --font-mono: 'Chakra Petch', sans-serif;
  --on-accent: #1a0b2e;
  --nav-bg: rgba(26,11,46,0.92);
  --hover-shadow: 0 0 0 1px var(--cyan), 0 0 28px rgba(0,240,255,0.25);
}
html[data-style="arcade"] body::before {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(0,240,255,0.45) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,43,214,0.4) 0 1.2px, transparent 1.8px);
  background-size: 263px 191px, 317px 229px, 419px 353px;
  background-position: 0 0, 97px 131px, 211px 47px;
}
html[data-style="arcade"] :is(h1, h2, h3, .cap-title, .timeline-role, .proj-title, .insight-title, .rec-name,
  .metric-value, .contact-headline, .nav-logo, .footer-logo) { letter-spacing: 0; font-weight: 400; }
html[data-style="arcade"] .hero-headline {
  font-size: clamp(24px, 3.3vw, 46px); line-height: 1.35; color: #fff;
  text-shadow: 4px 4px 0 var(--accent);
}
html[data-style="arcade"] .hero-headline em { color: var(--gold); text-shadow: 4px 4px 0 #00a8b5; }
html[data-style="arcade"] .section-title { font-size: clamp(20px, 2.7vw, 32px); line-height: 1.45; text-shadow: 3px 3px 0 var(--accent); }
html[data-style="arcade"] .contact-headline { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.4; text-shadow: 3px 3px 0 var(--accent); }
html[data-style="arcade"] .contact-headline em { font-style: normal; color: var(--cyan); }
html[data-style="arcade"] .nav-logo { font-size: 14px; }
html[data-style="arcade"] .footer-logo { font-size: 11px; }
html[data-style="arcade"] .cap-title { font-size: 14px; line-height: 1.6; }
html[data-style="arcade"] .timeline-role { font-size: 13px; line-height: 1.6; }
html[data-style="arcade"] .proj-title { font-size: 20px; line-height: 1.4; color: var(--gold); }
html[data-style="arcade"] .insight-title { font-size: 13px; line-height: 1.6; }
html[data-style="arcade"] .insight-card.featured .insight-title { font-size: 16px; }
html[data-style="arcade"] .rec-name { font-size: 10px; line-height: 1.6; }
html[data-style="arcade"] :is(.note-avatar, .rec-avatar) { font-size: 10px; border-radius: 0; }
html[data-style="arcade"] .metric-value { font-size: 28px; text-shadow: 0 0 14px currentColor; }
html[data-style="arcade"] .metric-suffix { font-size: 18px; }
html[data-style="arcade"] .metric-item:nth-child(5n+1) .metric-value { color: var(--gold); }
html[data-style="arcade"] .metric-item:nth-child(5n+2) .metric-value { color: var(--cyan); }
html[data-style="arcade"] .metric-item:nth-child(5n+3) .metric-value { color: var(--accent); }
html[data-style="arcade"] .metric-item:nth-child(5n+4) .metric-value { color: #7dff6a; }
html[data-style="arcade"] .metric-item:nth-child(5n+5) .metric-value { color: var(--gold); }
html[data-style="arcade"] #metrics { background: #120522; border-color: var(--accent-mid); }
html[data-style="arcade"] .metric-label { font-size: 11px; color: var(--text-secondary); }
html[data-style="arcade"] .hero-sub { font-size: 18px; color: var(--text-secondary); font-weight: 400; }
html[data-style="arcade"] .section-eyebrow { font-family: 'Press Start 2P', monospace; font-size: 10px; color: var(--cyan); letter-spacing: 0; line-height: 1.6; }
html[data-style="arcade"] .section-eyebrow::before { content: '▶'; width: auto; height: auto; background: none; color: var(--gold); font-size: 10px; }
html[data-style="arcade"] .hero-badge { font-family: 'Press Start 2P', monospace; font-size: 9px; background: transparent; border-color: var(--cyan); color: var(--cyan); border-radius: 0; letter-spacing: 0; }
html[data-style="arcade"] .hero-badge-dot { background: #7dff6a; }
html[data-style="arcade"] .btn { font-family: 'Press Start 2P', monospace; font-size: 10.5px; border-radius: 0; padding: 15px 20px; line-height: 1.4; }
html[data-style="arcade"] .nav-cta { font-size: 9.5px !important; }
html[data-style="arcade"] .btn-primary { background: var(--accent); color: #fff; box-shadow: 4px 4px 0 var(--cyan); }
html[data-style="arcade"] .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--cyan); filter: none; background: var(--accent); }
html[data-style="arcade"] .btn-ghost { border: 2px solid var(--cyan); color: var(--cyan); }
html[data-style="arcade"] .btn-ghost:hover { background: rgba(0,240,255,0.1); color: #fff; border-color: var(--cyan); }
html[data-style="arcade"] .btn-visit { background: var(--gold); color: #1a0b2e; border-radius: 0; box-shadow: 4px 4px 0 var(--accent); }
html[data-style="arcade"] .tag-pill { border-radius: 0; background: transparent; color: var(--cyan); border-color: var(--border-bright); }
html[data-style="arcade"] .tag-pill.gold { color: var(--gold); border-color: rgba(255,230,0,0.5); }
html[data-style="arcade"] .tag-pill.neutral { color: var(--text-secondary); }
html[data-style="arcade"] :is(.timeline-card, .insight-card, .rec-card, .note-card, .channel-card) { border-color: var(--border-bright); }
html[data-style="arcade"] :is(.timeline-card, .insight-card, .rec-card, .note-card, .channel-card):hover { border-color: var(--cyan); }
html[data-style="arcade"] .caps-grid { border-color: var(--border-bright); }
html[data-style="arcade"] .cap-card { border-color: var(--border-bright) !important; }
html[data-style="arcade"] .cap-card::before { background: linear-gradient(90deg, var(--accent), var(--cyan)); height: 3px; }
html[data-style="arcade"] :is(.cap-icon, .proj-icon, .channel-icon) { border-radius: 0; border-color: var(--accent-mid); background: rgba(255,43,214,0.1); }
html[data-style="arcade"] .timeline-company { color: var(--cyan); }
html[data-style="arcade"] .current-badge { background: var(--gold); color: #1a0b2e; border-radius: 0; }
html[data-style="arcade"] .timeline-track::before { background: linear-gradient(to bottom, var(--accent), var(--cyan) 60%, transparent); width: 2px; }
html[data-style="arcade"] .timeline-dot { border-radius: 0; }
html[data-style="arcade"] .timeline-entry.current .timeline-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px var(--gold); }
html[data-style="arcade"] :is(.timeline-outcomes li, .proj-features li)::before { content: '★'; color: var(--gold); font-size: 11px; }
html[data-style="arcade"] .proj-figure { border: 2px solid var(--cyan); box-shadow: 6px 6px 0 var(--accent), 0 0 30px rgba(0,240,255,0.2); }
html[data-style="arcade"] .contact-accent-line { background: linear-gradient(90deg, var(--accent), var(--cyan)); height: 4px; width: 64px; }

html[data-style="arcade"] #hero { overflow: hidden; }
.arcade-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.arcade-sun {
  position: absolute; right: 4%; top: 22%; width: 280px; height: 280px; border-radius: 50%;
  background: linear-gradient(to bottom, #ffe600 0%, #ff8a3d 45%, #ff2bd6 80%);
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 50%), repeating-linear-gradient(to bottom, #000 0 16px, transparent 16px 24px);
  -webkit-mask-composite: source-over;
  mask-image: linear-gradient(to bottom, #000 50%, transparent 50%), repeating-linear-gradient(to bottom, #000 0 16px, transparent 16px 24px);
  opacity: 0.85;
}
.arcade-floor {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 42%;
  background-image:
    linear-gradient(rgba(0,240,255,0.55) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,43,214,0.55) 2px, transparent 2px);
  background-size: 70px 44px;
  transform: perspective(320px) rotateX(62deg); transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 95%);
  mask-image: linear-gradient(to top, #000 30%, transparent 95%);
  animation: arcade-floor 1.4s linear infinite;
}
@keyframes arcade-floor { to { background-position: 0 44px; } }
.arcade-hud {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 30px;
  font-family: 'Press Start 2P', monospace; font-size: 10px; color: #cdb8e8; line-height: 1.6;
}
.arcade-hud b { color: #ffe600; font-weight: 400; }
.arcade-start {
  margin: -36px 0 40px; font-family: 'Press Start 2P', monospace; font-size: 12px; color: #ffe600;
  text-shadow: 0 0 12px rgba(255,230,0,0.6); animation: term-blink 1.1s steps(1) infinite;
}
@media (max-width: 900px) {
  .arcade-sun { width: 180px; height: 180px; right: -40px; top: 90px; opacity: 0.4; }
  html[data-style="arcade"] .hero-sub { font-size: 16px; }
}

/* ==========================================================
   MINIMAL — warm linen, sage, terracotta and charcoal
   ========================================================== */
html[data-style="minimal"] {
  --bg-void: #f3eee6; --bg-deep: #efe9df; --bg-surface: #f7f3ec;
  --bg-card: #f7f3ec; --bg-card-hover: #f7f3ec;
  --accent: #b35f3a; --accent-dim: rgba(179,95,58,0.08); --accent-mid: rgba(179,95,58,0.35);
  --gold: #6f7f62; --gold-dim: rgba(138,154,123,0.15);
  --sage: #8a9a7b;
  --text-primary: #2b2a28; --text-secondary: #57544e; --text-tertiary: #87827a;
  --border: rgba(43,42,40,0.12); --border-bright: rgba(43,42,40,0.3); --line: rgba(43,42,40,0.08);
  --radius: 0; --radius-sm: 0;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --on-accent: #f7f3ec;
  --nav-bg: rgba(243,238,230,0.95);
  --hover-shadow: none;
}
html[data-style="minimal"] body { font-weight: 300; counter-reset: section; }
html[data-style="minimal"] :is(#capabilities, #timeline, #insights, #lately, #projects, #recommendations) { padding: 160px 0; }
html[data-style="minimal"] #contact { padding-top: 160px; }
html[data-style="minimal"] :is(#timeline, #projects, #contact, #lately) { border-top-color: var(--line); }
html[data-style="minimal"] :is(#timeline, #projects, #contact) { background: var(--bg-void); }
html[data-style="minimal"] .hero-headline { font-size: clamp(48px, 7vw, 100px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
html[data-style="minimal"] .hero-headline em { font-style: italic; color: var(--accent); }
html[data-style="minimal"] .section-title { font-size: clamp(40px, 5vw, 64px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; }
html[data-style="minimal"] .contact-headline { font-size: 60px; font-weight: 400; letter-spacing: -0.015em; }
html[data-style="minimal"] .contact-headline em { font-style: italic; color: var(--accent); }
html[data-style="minimal"] .cap-title { font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: 0; }
html[data-style="minimal"] .timeline-role { font-size: 26px; font-weight: 500; letter-spacing: 0; }
html[data-style="minimal"] .proj-title { font-size: 44px; font-weight: 500; }
html[data-style="minimal"] .insight-title { font-size: 26px; font-weight: 500; }
html[data-style="minimal"] .rec-name { font-size: 19px; font-weight: 600; }
html[data-style="minimal"] .nav-logo { font-size: 22px; font-weight: 600; letter-spacing: 0.02em; }
html[data-style="minimal"] .metric-value { font-size: 56px; font-weight: 400; color: var(--text-primary); letter-spacing: 0; }
html[data-style="minimal"] .metric-suffix { color: var(--accent); font-size: 36px; }
html[data-style="minimal"] .hero-sub { font-size: 18px; color: var(--text-secondary); }
html[data-style="minimal"] .section-eyebrow { color: var(--text-tertiary); letter-spacing: 0.22em; font-size: 10px; font-weight: 400; }
html[data-style="minimal"] .section-eyebrow::before {
  counter-increment: section; content: counter(section, decimal-leading-zero);
  width: auto; height: auto; background: none; color: var(--accent);
}
html[data-style="minimal"] :is(.logo-dot, .hero-badge-dot, .cap-icon, .proj-icon, .channel-icon) { display: none; }
html[data-style="minimal"] .hero-badge { background: transparent; border: none; padding: 0; color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 10px; }
html[data-style="minimal"] .tag-pill { background: transparent; border: none; padding: 0; color: var(--text-tertiary); font-weight: 400; }
html[data-style="minimal"] :is(.hero-credentials, .cap-tags, .proj-tags) { gap: 6px 18px; }
html[data-style="minimal"] .btn { border-radius: 0; font-weight: 400; letter-spacing: 0.04em; }
html[data-style="minimal"] .btn-primary { background: var(--text-primary); color: var(--bg-void); }
html[data-style="minimal"] .btn-primary:hover { background: var(--accent); filter: none; box-shadow: none; transform: none; }
html[data-style="minimal"] .btn-ghost { border: none; padding-left: 4px; padding-right: 4px; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--border-bright); }
html[data-style="minimal"] .btn-ghost:hover { color: var(--accent); transform: none; }
html[data-style="minimal"] .btn-visit { background: transparent; color: var(--text-primary); border-bottom: 1px solid var(--text-primary); border-radius: 0; padding: 6px 0; }
html[data-style="minimal"] .btn-visit:hover { color: var(--accent); border-color: var(--accent); box-shadow: none; transform: none; }
html[data-style="minimal"] #metrics { background: transparent; border-color: var(--line); padding: 72px 0; }
html[data-style="minimal"] .metric-item { border-right-color: var(--line); }
html[data-style="minimal"] .metric-label { letter-spacing: 0.16em; }
html[data-style="minimal"] .caps-grid { border: none; gap: 0 72px; }
html[data-style="minimal"] .cap-card { border: none !important; border-top: 1px solid var(--border-bright) !important; padding: 40px 0; background: transparent !important; }
html[data-style="minimal"] .cap-card::before { display: none; }
html[data-style="minimal"] :is(.timeline-card, .insight-card, .rec-card, .note-card, .channel-card) {
  background: transparent; border: none; border-top: 1px solid var(--border-bright); border-radius: 0;
  padding-left: 0; padding-right: 0;
}
html[data-style="minimal"] :is(.timeline-card, .insight-card, .rec-card, .note-card, .channel-card):hover { transform: none; box-shadow: none; border-color: var(--accent); }
html[data-style="minimal"] .insight-card.featured { background: transparent; }
html[data-style="minimal"] .insight-arrow { background: transparent; border-color: var(--border-bright); color: var(--text-primary); }
html[data-style="minimal"] .recommendations-grid { gap: 0 48px; }
html[data-style="minimal"] .timeline-track::before { background: var(--line); }
html[data-style="minimal"] .timeline-dot { width: 7px; height: 7px; left: -43px; top: 40px; border: none; background: var(--border-bright); }
html[data-style="minimal"] .timeline-entry.current .timeline-dot { background: var(--accent); box-shadow: none; }
html[data-style="minimal"] .timeline-company { color: var(--gold); letter-spacing: 0.14em; }
html[data-style="minimal"] .current-badge { background: transparent; color: var(--accent); padding: 0; }
html[data-style="minimal"] :is(.timeline-outcomes li, .proj-features li)::before { content: '—'; color: var(--text-tertiary); }
html[data-style="minimal"] .proj-status { color: var(--gold); }
html[data-style="minimal"] .proj-figure { border: none; box-shadow: none; border-radius: 0; }
html[data-style="minimal"] .proj-main-img { filter: saturate(0.82) sepia(0.06); }
html[data-style="minimal"] .proj-thumb-mini { border-radius: 0; }
html[data-style="minimal"] :is(.note-avatar, .rec-avatar) { background: transparent; border-color: var(--border-bright); color: var(--text-secondary); }
html[data-style="minimal"] .contact-accent-line { background: var(--sage); height: 1px; width: 56px; }
html[data-style="minimal"] .contact-layout { border-bottom-color: var(--line); }
html[data-style="minimal"] .social-links a { background: transparent; }
@media (max-width: 900px) {
  html[data-style="minimal"] :is(#capabilities, #timeline, #insights, #lately, #projects, #recommendations) { padding: 110px 0; }
  html[data-style="minimal"] .contact-headline { font-size: 46px; }
  html[data-style="minimal"] .metric-item:nth-child(4),
  html[data-style="minimal"] .metric-item:nth-child(5) { border-top-color: var(--line); }
}

/* ==========================================================
   FIELD GUIDE — khaki canvas, blueprint blue, graphite, stamp red
   ========================================================== */
html[data-style="field"] {
  --bg-void: #e3d6b4; --bg-deep: #d9caa2; --bg-surface: #efe6cf;
  --bg-card: #f5eed9; --bg-card-hover: #f8f2e0;
  --accent: #1f4e8c; --accent-dim: rgba(31,78,140,0.1); --accent-mid: rgba(31,78,140,0.4);
  --gold: #b3261e; --gold-dim: rgba(179,38,30,0.1);
  --text-primary: #2e2b26; --text-secondary: #48443c; --text-tertiary: #6f6756;
  --border: rgba(46,43,38,0.2); --border-bright: rgba(46,43,38,0.45); --line: rgba(31,78,140,0.14);
  --radius: 3px; --radius-sm: 3px;
  --font-display: 'Zilla Slab', Georgia, serif;
  --font-body: 'Libre Franklin', sans-serif;
  --font-mono: 'Courier Prime', 'Courier New', monospace;
  --on-accent: #f5eed9;
  --nav-bg: rgba(227,214,180,0.96);
  --hover-shadow: 3px 4px 0 rgba(46,43,38,0.18);
  --texture: repeating-linear-gradient(0deg, rgba(60,45,20,0.035) 0 1px, transparent 1px 3px),
             repeating-linear-gradient(90deg, rgba(60,45,20,0.03) 0 1px, transparent 1px 3px);
}
html[data-style="field"] .hero-headline { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
html[data-style="field"] .hero-headline em {
  color: var(--accent);
  text-decoration: underline wavy var(--gold) 2px; text-underline-offset: 10px;
}
html[data-style="field"] :is(.section-title, .contact-headline) { font-weight: 700; letter-spacing: -0.015em; }
html[data-style="field"] :is(.cap-title, .timeline-role, .proj-title, .insight-title) { font-weight: 600; letter-spacing: -0.01em; }
html[data-style="field"] .metric-value { font-weight: 700; }
html[data-style="field"] .section-eyebrow { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
html[data-style="field"] .section-eyebrow::before { content: '№'; width: auto; height: auto; background: none; color: var(--gold); }
html[data-style="field"] .section-desc { font-family: 'Kalam', cursive; font-size: 18px; color: var(--accent); line-height: 1.5; }
html[data-style="field"] .timeline-sticky .section-desc { font-size: 17px; }
html[data-style="field"] .hero-badge { background: var(--bg-card); border: 1px dashed var(--text-tertiary); color: var(--text-secondary); border-radius: 2px; letter-spacing: 0.04em; }
html[data-style="field"] .hero-badge-dot { background: var(--gold); }
html[data-style="field"] .btn { border-radius: 3px; font-weight: 600; }
html[data-style="field"] .btn-ghost { border: 1px solid var(--text-secondary); color: var(--text-primary); }
html[data-style="field"] .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
html[data-style="field"] .tag-pill { background: transparent; color: var(--text-secondary); border: 1px dashed var(--text-tertiary); border-radius: 2px; }
html[data-style="field"] .tag-pill.gold { color: var(--gold); border-color: var(--gold); }
html[data-style="field"] #metrics { background: var(--accent); border-color: #173c6c; }
html[data-style="field"] .metric-item { border-right-color: rgba(245,238,217,0.2); }
html[data-style="field"] .metric-value { color: #f5eed9; }
html[data-style="field"] .metric-label { color: #c9d6ea; }
html[data-style="field"] :is(.timeline-card, .insight-card, .rec-card, .note-card, .channel-card) {
  border: 1px solid var(--border-bright); box-shadow: 2px 3px 0 rgba(46,43,38,0.14);
  background-color: var(--bg-card);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--line) 27px 28px);
}
html[data-style="field"] .caps-grid { border: none; gap: 18px; overflow: visible; }
html[data-style="field"] .cap-card {
  border: 1px solid var(--border-bright) !important; border-radius: 3px; background: var(--bg-card);
  box-shadow: 2px 3px 0 rgba(46,43,38,0.14);
}
html[data-style="field"] .cap-card::before { background: var(--gold); }
html[data-style="field"] .cap-card:hover { background: var(--bg-card-hover); }
html[data-style="field"] :is(.cap-icon, .proj-icon, .channel-icon) { background: #efe6cf; border: 1px solid var(--border-bright); border-radius: 50%; filter: sepia(0.5); }
html[data-style="field"] .timeline-track { counter-reset: entry 11; }
html[data-style="field"] .timeline-entry { counter-increment: entry -1; }
html[data-style="field"] .timeline-company::before {
  content: 'Log ' counter(entry, decimal-leading-zero) ' ·'; color: var(--text-tertiary);
}
html[data-style="field"] .timeline-company { color: var(--accent); font-weight: 700; }
html[data-style="field"] .timeline-card { position: relative; }
html[data-style="field"] .timeline-entry.current .timeline-card::after {
  content: 'In progress'; position: absolute; top: 18px; right: 18px;
  padding: 3px 10px; border: 2px solid var(--gold); border-radius: 3px;
  font-family: 'Courier Prime', monospace; font-weight: 700; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  transform: rotate(-6deg); opacity: 0.8;
}
html[data-style="field"] .current-badge { display: none; }
html[data-style="field"] .timeline-track::before { background: none; border-left: 2px dashed var(--accent-mid); width: 0; }
html[data-style="field"] .timeline-dot { background: var(--bg-card); border-color: var(--accent); }
html[data-style="field"] .timeline-entry.current .timeline-dot { background: var(--gold); border-color: var(--gold); }
html[data-style="field"] :is(.timeline-outcomes li, .proj-features li)::before { content: '✓'; color: var(--accent); }
html[data-style="field"] .proj-status { color: var(--gold); }
html[data-style="field"] .proj-figure { background: #fbf7ea; padding: 10px; border: 1px solid var(--border-bright); box-shadow: 3px 4px 0 rgba(46,43,38,0.18); border-radius: 2px; }
html[data-style="field"] .proj-row:nth-child(odd) .proj-figure { transform: rotate(-0.7deg); }
html[data-style="field"] .proj-row:nth-child(even) .proj-figure { transform: rotate(0.7deg); }
html[data-style="field"] .proj-main-img { filter: sepia(0.18); }
html[data-style="field"] :is(.note-avatar, .rec-avatar) { background: #efe6cf; color: var(--accent); }
html[data-style="field"] .contact-accent-line { background: var(--gold); }
html[data-style="field"] .insight-card.featured { background-color: #f8f2e0; }

.field-stamp {
  position: absolute; right: 56px; top: 50%; transform: translateY(-50%) rotate(-12deg);
  width: 210px; height: 210px; border-radius: 50%;
  border: 5px double #b3261e; color: #b3261e;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-family: 'Courier Prime', monospace; text-transform: uppercase; letter-spacing: 0.14em;
  opacity: 0.78; mix-blend-mode: multiply;
  animation: field-stamp 0.5s cubic-bezier(.2,1.4,.4,1) 0.5s both;
}
.field-stamp span { font-size: 14px; font-weight: 700; }
.field-stamp b { font-family: 'Zilla Slab', serif; font-size: 40px; letter-spacing: 0; line-height: 1; padding: 6px 0; border-top: 2px solid; border-bottom: 2px solid; }
@media (min-width: 1181px) {
  html[data-style="field"] #hero > .container { width: 100%; }
  html[data-style="field"] .hero-inner { max-width: 780px; }
}
@keyframes field-stamp { from { opacity: 0; transform: translateY(-50%) rotate(-12deg) scale(1.6); } }

/* ==========================================================
   WRY — racing green, tweed grey, weathered brass, rich cream
   ========================================================== */
html[data-style="wry"] {
  --bg-void: #f3ead6; --bg-deep: #ebe0c7; --bg-surface: #f8f1e1;
  --bg-card: #faf5e9; --bg-card-hover: #fffaf0;
  --accent: #1f3d2b; --accent-dim: rgba(31,61,43,0.08); --accent-mid: rgba(31,61,43,0.35);
  --gold: #9a7a45; --gold-dim: rgba(176,141,87,0.16);
  --brass: #b08d57;
  --text-primary: #1f2a22; --text-secondary: #4b5046; --text-tertiary: #767364;
  --border: rgba(122,119,104,0.3); --border-bright: rgba(176,141,87,0.6); --line: rgba(122,119,104,0.18);
  --radius: 4px; --radius-sm: 3px;
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'Courier Prime', 'Courier New', monospace;
  --on-accent: #f3ead6;
  --nav-bg: rgba(31,61,43,0.97);
  --hover-shadow: 0 12px 30px rgba(31,42,34,0.1);
  --texture: repeating-linear-gradient(45deg, rgba(122,119,104,0.045) 0 2px, transparent 2px 6px),
             repeating-linear-gradient(-45deg, rgba(122,119,104,0.045) 0 2px, transparent 2px 6px);
}
html[data-style="wry"] body { font-size: 17px; }
html[data-style="wry"] .hero-headline { font-size: clamp(34px, 5vw, 64px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; }
html[data-style="wry"] .hero-headline em {
  font-style: italic; font-weight: 400; color: var(--accent);
  text-decoration: underline var(--brass) 2px; text-underline-offset: 8px;
}
html[data-style="wry"] :is(.section-title, .contact-headline) { font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
html[data-style="wry"] :is(.cap-title, .timeline-role, .proj-title, .insight-title) { font-weight: 700; letter-spacing: 0; }
html[data-style="wry"] .cap-title { font-size: 18px; }
html[data-style="wry"] .timeline-role { font-size: 18px; }
html[data-style="wry"] .proj-title { font-size: 28px; }
html[data-style="wry"] .metric-value { font-weight: 700; color: var(--brass); letter-spacing: -0.02em; }
html[data-style="wry"] .section-eyebrow {
  font-family: 'Libre Baskerville', serif; font-variant: small-caps; text-transform: lowercase;
  font-size: 15px; letter-spacing: 0.08em; color: var(--gold);
}
html[data-style="wry"] .section-eyebrow::before { background: var(--brass); }
html[data-style="wry"] #nav.scrolled .nav-links a { color: #d6ccb1; }
html[data-style="wry"] #nav.scrolled .nav-links a:hover,
html[data-style="wry"] #nav.scrolled .nav-links a.active { color: #f3ead6; }
html[data-style="wry"] #nav.scrolled .nav-logo { color: #f3ead6; }
html[data-style="wry"] .nav-links a::after { background: var(--brass); }
html[data-style="wry"] #nav.scrolled .nav-cta { background: var(--brass); color: #1f2a22; }
html[data-style="wry"] .logo-dot { background: var(--brass); }
html[data-style="wry"] .hero-badge { background: transparent; border-color: var(--border-bright); color: var(--text-secondary); font-style: italic; }
html[data-style="wry"] .hero-badge-dot { background: var(--brass); }
html[data-style="wry"] .hero-sub { color: var(--text-secondary); font-weight: 400; }
html[data-style="wry"] .btn { border-radius: 3px; font-weight: 600; }
html[data-style="wry"] .btn-ghost { border: 1px solid var(--brass); color: var(--accent); }
html[data-style="wry"] .btn-ghost:hover { background: var(--gold-dim); color: var(--accent); border-color: var(--brass); }
html[data-style="wry"] .tag-pill { background: transparent; color: var(--accent); border-color: var(--border-bright); border-radius: 3px; }
html[data-style="wry"] .tag-pill.gold { background: var(--gold-dim); color: #6e5530; }
html[data-style="wry"] #metrics { background: var(--accent); border-color: #16301f; }
html[data-style="wry"] .metric-item { border-right-color: rgba(243,234,214,0.14); }
html[data-style="wry"] .metric-label { color: #d6ccb1; text-transform: none; letter-spacing: 0; font-family: 'Source Sans 3', sans-serif; font-style: italic; font-size: 13px; }
html[data-style="wry"] .cap-card::before { background: var(--brass); }
html[data-style="wry"] .cap-card:hover { background: var(--bg-card); }
html[data-style="wry"] :is(.cap-icon, .proj-icon, .channel-icon) { background: var(--bg-card); border-color: var(--border-bright); filter: sepia(0.35); }
html[data-style="wry"] :is(.timeline-card, .insight-card, .rec-card, .note-card, .channel-card):hover { border-color: var(--brass); }
html[data-style="wry"] .timeline-company { color: var(--gold); }
html[data-style="wry"] .timeline-dot { border-color: var(--brass); }
html[data-style="wry"] .timeline-entry.current .timeline-dot { background: var(--accent); border-color: var(--accent); }
html[data-style="wry"] :is(.timeline-outcomes li, .proj-features li)::before { content: '–'; color: var(--brass); }
html[data-style="wry"] .proj-status { color: var(--gold); }
html[data-style="wry"] .proj-figure { border: 1px solid var(--border-bright); }
html[data-style="wry"] :is(.note-avatar, .rec-avatar) { background: var(--accent); color: #f3ead6; }
html[data-style="wry"] .contact-accent-line { background: var(--brass); }
html[data-style="wry"] .wry-aside { display: block; margin-top: 6px; font-style: italic; font-weight: 400; color: var(--text-tertiary); font-size: 0.55em; }
@media (max-width: 900px) {
  html[data-style="wry"] .metric-item:nth-child(4),
  html[data-style="wry"] .metric-item:nth-child(5) { border-top-color: rgba(243,234,214,0.14); }
}
.wry-footnote {
  margin-top: 30px; text-align: center;
  font-family: 'Courier Prime', monospace; font-size: 13px; color: #cdbb94;
}

/* ==========================================================
   BLUEPRINT — drafting cyan, vellum, grid lines, crisp white
   ========================================================== */
html[data-style="blueprint"] {
  --bg-void: #0f4c75; --bg-deep: #0d4569; --bg-surface: #11507b;
  --bg-card: #12547f; --bg-card-hover: #155b89;
  --accent: #7fdcff; --accent-dim: rgba(127,220,255,0.13); --accent-mid: rgba(127,220,255,0.5);
  --gold: #f4f1e8; --gold-dim: rgba(244,241,232,0.1);
  --text-primary: #ffffff; --text-secondary: #d3e8f6; --text-tertiary: #95c2de;
  --border: rgba(255,255,255,0.24); --border-bright: rgba(255,255,255,0.6); --line: rgba(255,255,255,0.12);
  --radius: 0; --radius-sm: 0;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --on-accent: #0f4c75;
  --nav-bg: rgba(15,76,117,0.95);
  --hover-shadow: none;
}
html[data-style="blueprint"] body::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.13) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}
html[data-style="blueprint"] :is(#metrics, #timeline, #projects, #contact) { background: transparent; }
html[data-style="blueprint"] :is(.hero-headline, .section-title, .contact-headline, .cap-title, .timeline-role, .proj-title, .insight-title, .nav-logo, .footer-logo, .metric-value) {
  text-transform: uppercase; letter-spacing: 0.02em; font-weight: 600;
}
html[data-style="blueprint"] .hero-headline { font-size: clamp(46px, 7vw, 94px); line-height: 0.95; }
html[data-style="blueprint"] .hero-headline em {
  color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px var(--accent);
}
html[data-style="blueprint"] .section-title { font-size: clamp(36px, 4.6vw, 58px); line-height: 1; }
html[data-style="blueprint"] .contact-headline { font-size: 48px; }
html[data-style="blueprint"] .cap-title { font-size: 22px; }
html[data-style="blueprint"] .timeline-role { font-size: 22px; }
html[data-style="blueprint"] .proj-title { font-size: 38px; }
html[data-style="blueprint"] .insight-title { font-size: 22px; }
html[data-style="blueprint"] .metric-value { font-size: 52px; color: #fff; }
html[data-style="blueprint"] .hero-sub { color: var(--text-secondary); font-weight: 400; }
html[data-style="blueprint"] .section-eyebrow { color: var(--accent); letter-spacing: 0.12em; }
html[data-style="blueprint"] .section-eyebrow::before {
  width: 28px; height: 9px;
  background: linear-gradient(var(--accent), var(--accent)) center / 100% 1px no-repeat;
  border-left: 1px solid var(--accent); border-right: 1px solid var(--accent);
}
html[data-style="blueprint"] .hero-badge { background: transparent; border: 1px dashed var(--border-bright); color: #fff; border-radius: 0; }
html[data-style="blueprint"] .hero-badge-dot { background: var(--accent); }
html[data-style="blueprint"] .btn { border-radius: 0; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; font-size: 13px; }
html[data-style="blueprint"] .btn-primary { background: var(--gold); color: #0f4c75; }
html[data-style="blueprint"] .btn-primary:hover { background: #fff; filter: none; box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
html[data-style="blueprint"] .btn-ghost { border: 1px dashed var(--border-bright); color: #fff; }
html[data-style="blueprint"] .btn-ghost:hover { border-style: solid; color: #fff; border-color: #fff; }
html[data-style="blueprint"] .btn-visit { background: var(--gold); color: #0f4c75; border-radius: 0; }
html[data-style="blueprint"] .tag-pill { border-radius: 0; background: transparent; color: #fff; border-color: var(--border-bright); }
html[data-style="blueprint"] .tag-pill.gold { color: var(--accent); border-color: var(--accent-mid); }
html[data-style="blueprint"] #metrics { border-color: var(--border-bright); border-style: dashed; }
html[data-style="blueprint"] .metric-item { border-right: 1px dashed var(--border); }
html[data-style="blueprint"] .metric-label { color: var(--text-secondary); }
html[data-style="blueprint"] :is(.timeline-card, .insight-card, .rec-card, .note-card, .channel-card) {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-bright);
  outline: 1px dashed rgba(255,255,255,0.18); outline-offset: 5px;
}
html[data-style="blueprint"] :is(.timeline-card, .insight-card, .rec-card, .note-card, .channel-card):hover {
  border-color: #fff; outline-color: var(--accent-mid); box-shadow: none;
}
html[data-style="blueprint"] .insight-card.featured { background: rgba(255,255,255,0.05); }
html[data-style="blueprint"] .caps-grid { border-color: var(--border-bright); counter-reset: component; }
html[data-style="blueprint"] .cap-card { border-color: var(--border) !important; counter-increment: component; }
html[data-style="blueprint"] .cap-card::after {
  content: 'C-' counter(component, decimal-leading-zero); position: absolute; top: 18px; right: 20px;
  font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--text-tertiary);
}
html[data-style="blueprint"] .cap-card:hover { background: rgba(255,255,255,0.04); }
html[data-style="blueprint"] :is(.cap-icon, .proj-icon, .channel-icon) {
  background: transparent; border: 1px dashed var(--border-bright); border-radius: 0;
  filter: grayscale(1) brightness(1.6);
}
html[data-style="blueprint"] .timeline-company { color: var(--accent); }
html[data-style="blueprint"] .timeline-track::before { background: none; border-left: 1px dashed var(--border-bright); width: 0; }
html[data-style="blueprint"] .timeline-dot { border-radius: 0; transform: rotate(45deg); background: #0f4c75; border-color: #fff; }
html[data-style="blueprint"] .timeline-entry.current .timeline-dot { background: var(--accent); border-color: var(--accent); }
html[data-style="blueprint"] .current-badge { border-radius: 0; }
html[data-style="blueprint"] :is(.timeline-outcomes li, .proj-features li)::before { content: '+'; color: var(--accent); }
html[data-style="blueprint"] .proj-figure { border: 1px solid var(--border-bright); padding: 8px; background: transparent; outline: 1px dashed rgba(255,255,255,0.2); outline-offset: 6px; border-radius: 0; box-shadow: none; }
html[data-style="blueprint"] .proj-thumb-mini { border-radius: 0; }
html[data-style="blueprint"] .proj-status { color: var(--accent); }
html[data-style="blueprint"] :is(.note-avatar, .rec-avatar) { border-radius: 0; background: transparent; border: 1px solid var(--border-bright); color: #fff; }
html[data-style="blueprint"] .contact-accent-line { background: var(--accent); height: 1px; width: 64px; }
html[data-style="blueprint"] .insight-arrow { border-radius: 0; }
html[data-style="blueprint"] .social-links a { border-radius: 0; }
@media (max-width: 900px) {
  html[data-style="blueprint"] .metric-item:nth-child(3) { border-right: none; }
  html[data-style="blueprint"] .metric-item:nth-child(4), html[data-style="blueprint"] .metric-item:nth-child(5) { border-top: 1px dashed var(--border); }
  html[data-style="blueprint"] .contact-headline { font-size: 40px; }
}

.bp-titleblock {
  position: absolute; right: 32px; bottom: 0; width: 360px;
  border-collapse: collapse; border: 2px solid #fff;
  font-family: 'Space Mono', monospace; font-size: 11px; color: #fff;
  background: rgba(15,76,117,0.85);
  animation: fade-up 0.6s ease 0.5s both;
}
.bp-titleblock th, .bp-titleblock td { border: 1px solid rgba(255,255,255,0.55); padding: 6px 10px; text-align: left; }
.bp-titleblock th { font-weight: 400; color: #95c2de; text-transform: uppercase; letter-spacing: 0.08em; font-size: 9.5px; white-space: nowrap; }
.bp-titleblock td { font-weight: 700; }
@media (min-width: 1181px) {
  html[data-style="blueprint"] #hero > .container { width: 100%; }
  html[data-style="blueprint"] .hero-inner { max-width: 720px; }
}

/* ---------- reduced motion (all tones) ---------- */
@media (prefers-reduced-motion: reduce) {
  .style-dock, .tone-menu, .tech-spec, .exec-kpis, .field-stamp, .bp-titleblock,
  .term-boot span, .arcade-floor, .arcade-start, .direct-ban-run,
  html[data-style="terminal"] .hero-headline em::after,
  html[data-style="terminal"] .contact-accent-line { animation: none !important; }
  .term-boot span { opacity: 1; }
  .direct-ban-run { flex-wrap: wrap; width: auto; }
}
