/* Syntonic site v1 re-skin (June brief, approved 2026-06-11): warm dictionary-page
   ground, near-black ink, one earned gold, four-family type. WCAG 2.1 AA. */

@font-face { font-family:"Cormorant"; src:url("/assets/fonts/Cormorant.ttf") format("truetype"); font-weight:300 700; font-style:normal; font-display:swap; }
@font-face { font-family:"Cormorant"; src:url("/assets/fonts/Cormorant-Italic.ttf") format("truetype"); font-weight:300 700; font-style:italic; font-display:swap; }
@font-face { font-family:"Plus Jakarta Sans"; src:url("/assets/fonts/PlusJakartaSans.ttf") format("truetype"); font-weight:200 800; font-style:normal; font-display:swap; }
@font-face { font-family:"DM Sans"; src:url("/assets/fonts/DMSans.ttf") format("truetype"); font-weight:100 1000; font-style:normal; font-display:swap; }
@font-face { font-family:"JetBrains Mono"; src:url("/assets/fonts/JetBrainsMono.ttf") format("truetype"); font-weight:100 800; font-style:normal; font-display:swap; }

:root {
  /* base tokens (ported from design-system tokens/colors.css) */
  --paper-0:#ffffff; --paper-50:#fafaf8; --paper-100:#f4f3ee; --paper-200:#ecebe3;
  --ink-900:#1a1a18; --ink-700:#3a3934; --ink-600:#5a5850; --ink-500:#6b6a64; --ink-400:#8f8d84;
  --line:#e3e2db; --line-strong:#d5d3c9;
  --gold:#d4a543; --gold-glint:#e8b131; --gold-deep:#b8862a; --gold-ink:#8a6a1e; --gold-soft:#f4e7c6; --gold-line:#e8d39b;
  --spectrum-1:#da9b8e; --spectrum-2:#d3ac85; --spectrum-3:#c6bf90; --spectrum-4:#abbfa0; --spectrum-5:#a8b0bd; --spectrum-6:#a7a0b5; --spectrum-7:#ad9baf;
  --spectrum: linear-gradient(90deg, var(--spectrum-1), var(--spectrum-2), var(--spectrum-3), var(--spectrum-4), var(--spectrum-5), var(--spectrum-6), var(--spectrum-7));
  --ok:#4b7e62; --ok-soft:#e4efe6; --warn:#b07a2a; --warn-soft:#f6ebd6; --info:#5a6a86; --info-soft:#e7ebf1;
  --select-bg: var(--gold-soft);
  /* semantic aliases */
  --bg: var(--paper-50);
  --surface: var(--paper-0);
  --surface-sunken: var(--paper-100);
  --surface-hover: var(--paper-200);
  --text: var(--ink-900);
  --text-secondary: var(--ink-600);
  --text-muted: var(--ink-500);
  --text-faint: var(--ink-400);
  --text-on-accent:#ffffff;
  --border: var(--line);
  --border-strong: var(--line-strong);
  --focus-ring: var(--gold);
  --accent: var(--gold);
  --accent-hover: var(--gold-deep);
  --accent-ink: var(--gold-ink);
  --accent-soft: var(--gold-soft);
  --link: var(--gold-ink);
  /* back-compat aliases used by this build's components */
  --card: var(--surface);
  --muted: var(--text-muted);
  --maxw: 70rem;
  --font-serif: "Cormorant", Georgia, "Times New Roman", serif;
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper-0:#1c1c1a; --paper-50:#141413; --paper-100:#232321; --paper-200:#2c2c29;
    --ink-900:#ecebe6; --ink-700:#d6d4cc; --ink-600:#9b9a92; --ink-500:#86857d; --ink-400:#65645d;
    --line:#2c2c2a; --line-strong:#3a3a36;
    --gold:#e0b85c; --gold-deep:#c79a38; --gold-ink:#e6c576; --gold-soft:#2e2613; --gold-line:#4a3d1d;
    --ok-soft:#16271c; --warn-soft:#2a2110; --info-soft:#1a1f29;
    --text-on-accent:#1a1a14;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  svg animate, svg animateMotion { display: none; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 var(--font-body);
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 650; }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.9rem); font-weight: 650; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--gold-ink); }
::selection { background: var(--accent-soft); color: var(--text); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff;
  padding: 0.5rem 1rem; z-index: 100; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

/* page-top spectrum line (item 3): first thing on the page, above the sticky header */
.spectrum-top { height: 3px; background: var(--spectrum); opacity: 0.7; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 3.5rem; }
.wordmark {
  font: 300 1.5rem/1 var(--font-serif);
  color: var(--text); text-decoration: none; letter-spacing: 0.05em;
  margin-right: auto;
}
.wordmark .o {
  color: var(--gold-glint); font-weight: 700; font-style: italic;
  margin-left: -0.085em; margin-right: -0.045em;
}
.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; }

/* buttons */
.btn {
  display: inline-block; padding: 0.55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text); text-decoration: none;
  font-size: 0.95rem; background: transparent; cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.btn-primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 600;
}
.btn.btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }

/* modules */
.module { padding: 3rem 0; border-bottom: 1px solid var(--line); }
.module:last-of-type { border-bottom: 0; }
.page-head { padding-top: 4rem; }

.category-band { padding: 1.1rem 0; background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.category-band .category { margin: 0; font-size: 1.02rem; }

.hero { padding: 4.5rem 0 3.5rem; }
.hero h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.01em; max-width: 20ch; }
.hero-subtitle { font: 500 1.25rem/1.4 var(--mono); color: var(--muted); margin-top: -0.5rem; }
.subhead { font-size: 1.15rem; max-width: 40rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
/* hero decoration (item 4): spectrum edge only; gold is never decorative */
.spectrum-edge { height: 4px; max-width: 36rem; border-radius: 999px; background: var(--spectrum); opacity: 0.7; margin-top: 2rem; }

.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.stat-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.25rem; color: var(--text); text-decoration: none;
  transition: border-color 0.15s;
}
.stat-card:hover { border-color: var(--accent); }
.stat-card .stat { font: 650 1.25rem/1.3 var(--mono); margin-bottom: 0.5rem; }
.stat-card p { margin-bottom: 0.5rem; font-size: 0.95rem; }
.stat-card .cite { color: var(--muted); font-size: 0.85rem; margin: 0; }
.frame-body { max-width: 46rem; }

.offer {
  margin: 1.5rem 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--accent);
  background: var(--card); border-radius: 0 12px 12px 0;
}
.offer p { margin: 0; font-size: 1.05rem; }

.pillar-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.pillar h3 { font-family: var(--mono); letter-spacing: 0.02em; }
.pillar .tagline { font-weight: 600; }
.pillar p { font-size: 0.95rem; }
.pillar .status { color: var(--gold-ink); font: 500 0.85rem/1.5 var(--mono); margin: 0; }

.compare table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.compare th, .compare td { text-align: left; padding: 0.75rem 1rem; border: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: 0.9rem; }
.compare tbody th { font-weight: 600; width: 11rem; }
.compare td:last-child, .compare thead th:last-child { background: var(--accent-soft); }
.caption { color: var(--muted); font-size: 0.9rem; }

/* research roadmap */
.research .subline { color: var(--muted); font: 500 0.95rem/1.6 var(--mono); }
.research-items { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.research-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.25rem; }
.research-item p { margin: 0.4rem 0 0; font-size: 0.95rem; }
.research-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; }
.research-head h3 { margin: 0; }
.chip {
  font: 600 0.72rem/1 var(--mono); letter-spacing: 0.06em; padding: 0.3rem 0.55rem;
  border-radius: 999px; border: 1px solid var(--line); white-space: nowrap;
}
.chip-done { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.chip-progress { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip-coming { background: transparent; color: var(--text-muted); border-color: var(--line); }
.chip-date { color: var(--muted); font: 400 0.8rem/1 var(--mono); }
.notify { margin-top: 1.5rem; max-width: 28rem; }
.notify-row { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.notify input { flex: 1; }
.notify-confirm { color: var(--accent); font-weight: 500; }

/* product strip */
.strip-items { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.4rem; }
.strip-items li { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: baseline; padding: 0.5rem 0; border-bottom: 1px dashed var(--line); }
.strip-name { font-weight: 600; }
.strip-status { color: var(--muted); font: 500 0.85rem/1.5 var(--mono); }
.strip-footer { color: var(--muted); font-size: 0.9rem; }

.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.band h2 { font-size: 1.3rem; }

/* content lists */
.lead-list, .mech-list, .verb-list { padding-left: 1.25rem; }
.lead-list li, .mech-list li, .verb-list li { margin-bottom: 0.75rem; }
.lead { font-size: 1.15rem; max-width: 44rem; }
.crosslink { color: var(--muted); }
.module .wrap > p, .module .wrap > ul { max-width: 46rem; }

/* faq */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 1.1rem 0; list-style: none; display: flex; align-items: baseline; gap: 0.75rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "+"; font: 600 1.1rem/1 var(--mono); color: var(--accent); flex: 0 0 auto; }
.faq-list details[open] summary::before { content: "–"; }
.faq-list summary h2 { font-size: 1.05rem; margin: 0; font-weight: 600; }
.faq-answer { padding: 0 0 1.25rem 1.6rem; max-width: 44rem; }
.faq-answer p { margin: 0; }

/* forms */
.intake { max-width: 34rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.3rem; }
input, select, textarea {
  width: 100%; padding: 0.6rem 0.75rem; font: inherit; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
}
.microcopy { color: var(--muted); font-size: 0.88rem; margin-top: 0.75rem; }
.form-fallback { color: var(--text); background: var(--accent-soft); padding: 0.75rem 1rem; border-radius: 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; margin-top: 3rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.footer-row nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-row nav a:hover { color: var(--accent); }
.footer-legal { color: var(--muted); font-size: 0.85rem; margin: 0; }
.patent-line { font-family: var(--mono); }

/* responsive — usable from 360px (PRD §9) */
@media (max-width: 56rem) {
  .stat-cards, .pillar-cards { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr; }
}
@media (max-width: 44rem) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; padding: 0.6rem 0.5rem;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--text); display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem 1.25rem; gap: 1rem;
  }
  .site-nav.open { display: flex; }
  .header-row { position: relative; }
}

/* print — /design-partner doubles as the pilot one-pager (single content source) */
@media print {
  .site-header, .site-footer, .intake-module, .spectrum-edge, .spectrum-top { display: none !important; }
  .module { border: 0; padding: 0.75rem 0; }
  body { font-size: 12px; background: #fff; color: #000; }
  .offer { border-left: 2px solid #000; background: none; }
  a { color: #000; text-decoration: none; }
  .onepager .page-head::after {
    content: "syntonic.io/design-partner · hello@syntonic.io";
    display: block; font-family: var(--mono); font-size: 10px; margin-top: 0.5rem;
  }
}
