/* ZzzZDevelopment website. Tokens come from the ZzzZDevelopment design system
   (brand kit v1.2.0). Layout: one long page, light ground, a narrow reading column
   with full-width bands for values and contact. */
:root {
  --ground: #FAF6EE;
  --ground-deep: #EFE9DD;
  --surface: #FFFFFF;
  --surface-2: #F7F3EB;
  --line: #DCD3C3;
  --line-strong: #857D70;
  --ink: #16140F;
  --ink-2: #4A443B;
  --muted: #6B645A;
  --on-ink: #FAF6EE;
  --gold-text: #8A6212;
  --gold-graphic: #9C7320;
  --green: #2F6B3A;
  --on-green: #FAF6EE;
  --spark: #127A6B;
  --status-info: #1F5FAD;
  --status-online: #1B7040;

  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --measure: 68ch;
  --page: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #16140F; --ground-deep: #0F0D0A; --surface: #2A2620; --surface-2: #211E18;
    --line: #3A352C; --line-strong: #857D70; --ink: #F3EDE2; --ink-2: #CFC8BB; --muted: #A39C90;
    --on-ink: #16140F; --gold-text: #D4A23A; --gold-graphic: #D4A23A; --green: #8FBF75; --on-green: #16140F; --spark: #A3FFFF;
    --status-info: #6AA8F0; --status-online: #5FBF7F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #16140F; --ground-deep: #0F0D0A; --surface: #2A2620; --surface-2: #211E18;
  --line: #3A352C; --line-strong: #857D70; --ink: #F3EDE2; --ink-2: #CFC8BB; --muted: #A39C90;
  --on-ink: #16140F; --gold-text: #D4A23A; --gold-graphic: #D4A23A; --green: #8FBF75; --on-green: #16140F; --spark: #A3FFFF;
  --status-info: #6AA8F0; --status-online: #5FBF7F;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 72px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* Marks follow the same theme switch as the colors */
.mark-d { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mark-l { display: none; } :root:not([data-theme="light"]) .mark-d { display: block; } }
:root[data-theme="dark"] .mark-l { display: none; }
:root[data-theme="dark"] .mark-d { display: block; }
.brand > span, .hero-pic { display: block; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap {
    padding-left: max(48px, env(safe-area-inset-left, 0px));
    padding-right: max(48px, env(safe-area-inset-right, 0px));
  }
}


/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 21;
  height: env(safe-area-inset-top, 0px); background: var(--ground);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .tagline { font-size: 13px; font-weight: 600; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); white-space: nowrap; }
@media (max-width: 760px) { .site-header .brand .tagline { display: none; } }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 8px 12px; border-radius: var(--radius-pill);
}
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a, .button { transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
@media (prefers-reduced-motion: reduce) { .nav a, .button { transition: none; } }

/* Type */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--green); margin: 0 0 12px;
}
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 5.6vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }
.subhead { font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--ink); margin: 14px 0 0; }
h3 .by { font-weight: 600; font-size: 0.68em; color: var(--muted); letter-spacing: 0; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin: 20px 0 0; }
p { max-width: var(--measure); }

section { padding-block: 88px; }
@media (max-width: 640px) { section { padding-block: 52px; } }
.section-head { display: grid; gap: 4px; margin-bottom: 32px; }
.section-head p { color: var(--ink-2); margin: 10px 0 0; }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center;
}
.hero-mark { width: 168px; height: 168px; border-radius: 22%; box-shadow: 0 10px 30px rgba(22, 20, 15, .12); }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-pic { order: -1; }
  .hero-mark { width: 96px; height: 96px; }
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--font); text-decoration: none;
  padding: 13px 20px; border-radius: var(--radius-pill); border: 1px solid transparent;
}
.button.primary { background: var(--green); color: var(--on-green); }
.button.primary:hover { background: var(--ink); color: var(--on-ink); }
.button.secondary { background: var(--surface-2); color: var(--ink); border-color: var(--line-strong); }
.button.secondary:hover { background: var(--surface); }

/* Values cycle */
.values { background: var(--ground-deep); border-block: 1px solid var(--line); padding-block: 40px; }
.cycle {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.cycle li { display: grid; gap: 6px; align-content: start; }
.cycle .step { display: flex; align-items: center; gap: 10px; }
.cycle .name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.cycle .arrow { color: var(--green); font-weight: 700; }
.cycle p { margin: 0; color: var(--ink-2); font-size: 15px; }
.cycle-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; } }
@media (max-width: 420px) { .cycle { grid-template-columns: minmax(0, 1fr); } }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .products { grid-template-columns: minmax(0, 1fr); } }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0;
}
.product .kicker { font-size: 13px; color: var(--muted); margin: 0; }
.product p { margin: 0; color: var(--ink-2); }
.product ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 4px; }
.chip {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--surface-2);
}
.chip svg { width: 14px; height: 14px; flex: none; }
.chip.inuse { color: var(--status-online); }
.chip.first { color: var(--gold-text); }
.chip.dev { color: var(--ink-2); }
.chip.planned, .chip.exploring { color: var(--muted); }
/* Fleet Commander: one full-width card with its apps in a compact grid */
.product.wide { grid-column: 1 / -1; }
.apps { margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }
@media (max-width: 900px) { .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .apps { grid-template-columns: minmax(0, 1fr); } }
.apps div { min-width: 0; }
.apps dt { font-weight: 600; font-size: 14px; }
.apps dd { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }

/* Story and founders */
.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.story p { color: var(--ink-2); }
.story > div:first-child > p:not(.eyebrow) { font-size: 17px; line-height: 1.6; max-width: 60ch; margin: 16px 0 0; }
.story p:first-of-type { margin-top: 0; }
.founders { display: grid; gap: 12px; }
.founder {
  border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface);
  padding: 20px; display: grid; gap: 6px;
}
.founder .role { font-size: 13px; color: var(--muted); margin: 0; }
.founder p { margin: 0; color: var(--ink-2); font-size: 15px; }
.founder p + p { margin-top: 8px; }
.founder .traits { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--green); margin-top: 6px; }

/* Company at a glance: laid out like a grain elevator scale ticket */
.ticket {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  max-width: 880px; overflow: hidden;
}
.ticket-head {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; border-bottom: 1px dashed var(--line-strong);
  font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
}
.ticket dl { margin: 0; display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); }
.ticket dt, .ticket dd { margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.ticket dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.ticket dd { color: var(--ink); font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.ticket dl > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 520px) {
  .ticket dl { grid-template-columns: minmax(0, 1fr); }
  .ticket dt { border-bottom: 0; padding-bottom: 0; }
}

/* Contact */
.contact { background: var(--ink); color: var(--on-ink); }
.contact .eyebrow { color: var(--on-ink); opacity: 0.8; }
.contact h2 { color: var(--on-ink); }
.contact p { color: var(--on-ink); opacity: 0.9; }
.contact .email {
  display: inline-block; margin-top: 18px;
  font-size: clamp(20px, 3.4vw, 30px); font-weight: 800; letter-spacing: -0.02em;
  color: var(--on-ink); text-decoration-color: var(--gold-graphic); overflow-wrap: anywhere;
}
.contact :focus-visible { outline-color: var(--on-ink); }

/* Footer */
.site-footer { padding-top: 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer .brand img { height: 24px; width: auto; }
.site-footer p { margin: 0; }

/* The seed ember spark from the logo: the one small "AI at work" signal, on the Zimmerman Fleet card */
.spark { display: inline-block; width: 10px; height: 15px; margin-left: 6px; vertical-align: 2px; background: url("assets/spark-light.svg") center / contain no-repeat; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .spark { background-image: url("assets/spark-dark.svg"); } }
:root[data-theme="dark"] .spark { background-image: url("assets/spark-dark.svg"); }

/* Multi-page additions (Nov 24, 2026) */
.nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.page-title { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.contact .page-title, .contact h1 { color: var(--on-ink); }

/* Before and after: a sideways carousel, one example per card */
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.carousel-btn {
  width: 40px; height: 40px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong);
  background: transparent; color: var(--gold-text); font: 700 17px/1 var(--font); cursor: pointer;
  display: inline-grid; place-items: center; transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.carousel-btn:hover:not(:disabled) { border-color: var(--gold-graphic); background: var(--surface); }
.carousel-btn:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-track {
  list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 3); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .carousel-track { grid-auto-columns: calc((100% - 12px) / 2); } }
@media (max-width: 600px) { .carousel-track { grid-auto-columns: 86%; } }
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } .carousel-btn { transition: none; } }
.carousel-track:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 4px; border-radius: var(--radius-lg); }
.slide { scroll-snap-align: start; min-width: 0; display: grid; }
.pair {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: grid; gap: 6px; align-content: start; min-width: 0;
}
.pair p { margin: 0; }
.pair-status { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--surface-2); margin-bottom: 10px; }
.pair-status svg { width: 13px; height: 13px; flex: none; }
.pair-status.done { color: var(--status-online); }
.pair-status.first { color: var(--gold-text); }
.pair-status.dev { color: var(--ink-2); }
.pair-status.planned { color: var(--muted); }
.pair-label { font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.pair-label.after { color: var(--green); margin-top: 12px; }
.pair-before { font-size: 16px; color: var(--ink-2); font-style: italic; }
.pair-after { font-size: 16px; font-weight: 600; color: var(--ink); }
.pair-tag { justify-self: start; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* Teasers linking to the inner pages */
.teasers { padding-top: 0; }
.teaser-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .teaser-grid { grid-template-columns: minmax(0, 1fr); } }
.teaser {
  display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit;
  background: var(--ground-deep); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  transition: border-color .18s ease, background-color .18s ease;
}
.teaser:hover { border-color: var(--line-strong); background: var(--surface); }
.teaser p { margin: 0; color: var(--ink-2); }
.teaser .eyebrow { margin: 0; }
.teaser .more { margin-top: 8px; font-weight: 700; color: var(--green); }
@media (prefers-reduced-motion: reduce) { .teaser { transition: none; } }

/* Intro video slot on About */
.intro-video { margin: 24px 0 28px; }
.video-frame {
  aspect-ratio: 16 / 9; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong);
  background: var(--ground-deep); display: grid; place-items: center; align-content: center; gap: 14px;
  padding: 24px; text-align: center;
}
.video-frame p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 36ch; }
.video-mark img { width: 72px; height: 72px; border-radius: 22%; }
.intro-player {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); background: #16140F; border: 1px solid var(--line);
}
.intro-video figcaption { margin-top: 10px; color: var(--ink-2); font-size: 14px; }

/* Founder photos */
.founder-photo { width: 112px; height: 112px; border-radius: 28px; object-fit: cover; border: 1px solid var(--line); margin-bottom: 6px; }
.dragon-frame .founder-photo { display: block; margin: 0; border: 0; }

/* Dragon frame: a thin gold ring with one small ember spark resting on its
   upper-right corner, like the apostrophe in the logo. Used on photos and video only. */
.dragon-frame {
  --r: 32px; --i: calc(var(--r) * 0.293);
  position: relative; display: inline-block; padding: 4px;
  border: 1.5px solid var(--gold-graphic); border-radius: var(--r);
}
.dragon-frame::after {
  content: ""; position: absolute; width: 11px; height: 17px; pointer-events: none;
  right: calc(var(--i) - 6px); top: calc(var(--i) - 9px);
  background: var(--spark);
  -webkit-mask: url(assets/spark-light.svg) center / contain no-repeat;
  mask: url(assets/spark-light.svg) center / contain no-repeat;
}
.founder .dragon-frame { margin: 0 0 10px; width: max-content; align-self: flex-start; justify-self: start; }
.intro-video .dragon-frame { --r: 28px; display: block; }
.intro-video .dragon-frame .intro-player { border: 0; border-radius: 22px; }
.intro-video figcaption { margin-top: 12px; }
.founder-photo.placeholder { display: grid; place-items: center; background: var(--ground-deep); }
.founder-photo.placeholder img { width: 56px; height: 56px; border-radius: 22%; }

/* Footer links */
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-nav a { color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.carousel-rail { position: relative; height: 3px; flex: 0 1 240px; min-width: 80px; border-radius: var(--radius-pill); background: var(--line); overflow: hidden; }
.carousel-rail span { position: absolute; top: 0; bottom: 0; left: 0; width: 15%; border-radius: inherit; background: var(--gold-graphic); transition: left .25s ease, width .25s ease; }
@media (prefers-reduced-motion: reduce) { .carousel-rail span { transition: none; } }

/* Review fixes, Nov 24 2026 (QVR-ZZZZS-SITE-01) */

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

/* Header: nav plus the light / dark / auto switch */
.header-end { display: flex; align-items: center; gap: 6px; }
.theme-toggle { width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); cursor: pointer; }
.theme-toggle:hover { background: var(--surface-2); color: var(--ink); }
.theme-toggle svg { width: 19px; height: 19px; display: none; }
:root:not([data-theme-choice]) .theme-toggle .i-light,
:root[data-theme-choice="light"] .theme-toggle .i-light,
:root[data-theme-choice="dark"] .theme-toggle .i-dark,
:root[data-theme-choice="auto"] .theme-toggle .i-auto { display: block; }
@media (max-width: 440px) {
  .site-header .wrap { gap: 8px; }
  .header-end { gap: 2px; }
  .nav a { padding: 8px 6px; font-size: 13px; }
  .brand img { height: 28px; }
  .theme-toggle { width: 34px; height: 34px; }
  /* If the nav still wraps on a very narrow phone, anchors still clear the taller header */
  html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 112px); }
}

/* The header dragon wakes while you scroll (site.js adds .logo-awake-on to body)
   and falls back asleep when you stop.
   Reduced-motion visitors never get the class, so their dragon stays asleep. */
.brand > .logo-awake { display: none; }
body.logo-awake-on .brand > .logo-sleep { display: none; }
body.logo-awake-on .brand > .logo-awake { display: block; }
/* One awake dragon per view: on Home the hero tile does the waking while it is on screen. */
.brand > .logo-sleep, .brand > .logo-awake { animation: logo-fade .28s ease-out; }
@keyframes logo-fade { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .brand > .logo-sleep, .brand > .logo-awake { animation: none; } }

/* Home: product cards in the carousel link to their spot on Products */
a.pair { color: inherit; text-decoration: none; transition: border-color .18s ease, background-color .18s ease; }
a.pair:hover { border-color: var(--line-strong); }
a.pair:focus-visible { outline-offset: -3px; }
a.pair .pair-tag { color: var(--green); }
.pair.see-all { background: var(--ground-deep); align-content: center; }
@media (prefers-reduced-motion: reduce) { a.pair { transition: none; } }

/* Products: grouped, flagship first */
.group-title { font-size: 20px; letter-spacing: -0.015em; margin: 40px 0 14px; }
.section-head + .group-title { margin-top: 8px; }
.products.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .products.two { grid-template-columns: minmax(0, 1fr); } }
.product.span-2 { grid-column: span 2; }
@media (max-width: 900px) { .product.span-2 { grid-column: auto; } }
.product.how { background: var(--ground-deep); }
.product ul { font-size: 15px; }
.product .facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 20px; }
.product .facts li { padding-left: 14px; position: relative; }
.product .facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-graphic); }
.product .facts strong { color: var(--ink); }
.app-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .app-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .app-groups { grid-template-columns: minmax(0, 1fr); } }
.app-groups h4 { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--green); }
.app-groups .apps { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; }
.mini { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--muted); vertical-align: 1px; }
.mini.first { color: var(--gold-text); border-color: var(--gold-graphic); }
.product .note { font-size: 13px; color: var(--muted); }

/* Prompt Forge demo audio: plays only when pressed; the transcript opens on request. */
.demo-audio { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--ground-deep); }
.demo-audio figcaption { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.demo-audio audio { display: block; width: 100%; max-width: 420px; }
.demo-audio .transcript { margin-top: 10px; font-size: 14px; }
.demo-audio .transcript summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.demo-audio .transcript summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.demo-audio .transcript p { margin: 8px 0 0; }
.forge { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .forge { grid-template-columns: minmax(0, 1fr); } }
.forge > div { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; display: grid; gap: 6px; align-content: start; }
.forge-in { background: var(--surface-2); }
.forge-in p:last-child { font-style: italic; }
.forge-out { border-color: var(--gold-graphic) !important; }
.forge-out p:last-child { color: var(--ink); font-weight: 600; }
.forge .pair-label.after { margin-top: 0; }

/* About: three generations, one motto */
.timeline { list-style: none; margin: 28px 0 8px; padding: 0 0 0 22px; border-left: 2px solid var(--line); display: grid; gap: 18px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ground); border: 2px solid var(--gold-graphic); }
.timeline li.t-now::before { background: var(--gold-graphic); }
.story .timeline p { margin: 0; font-size: 16px; }
.story .timeline .t-who { font-weight: 800; color: var(--ink); font-size: 15px; margin-bottom: 2px; }

/* Contact page: a real next step, even without an email app */
.contact-page { min-height: calc(100vh - 150px); min-height: calc(100svh - 150px); }
.contact-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.button.on-dark { background: transparent; color: var(--on-ink); border-color: var(--gold-graphic); cursor: pointer; }
.button.on-dark:hover { background: rgba(255, 255, 255, .08); }
.copy-status { font-size: 14px; color: var(--on-ink); opacity: .9; }
.starters-title { font-size: 18px; color: var(--on-ink); margin: 40px 0 12px; letter-spacing: -0.01em; }
.starters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 880px; }
@media (max-width: 760px) { .starters { grid-template-columns: minmax(0, 1fr); } }
.starters a { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, .38); color: var(--on-ink); text-decoration: none; height: 100%; }
.starters a:hover { border-color: var(--gold-graphic); }
.starters span { font-size: 14px; opacity: .85; }
.contact .small { font-size: 14px; margin-top: 14px; }
/* Dark theme: the contact band stays dark (a deeper ground) instead of flipping to a bright cream page */
:root[data-theme="dark"] .contact { background: var(--ground-deep); --on-ink: #F3EDE2; border-top: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .contact, :root[data-theme-choice="auto"] .contact { background: var(--ground-deep); --on-ink: #F3EDE2; border-top: 1px solid var(--line); } }

/* Company: prints as a one-page fact sheet */
@media print {
  /* Paper is always light: reset the theme tokens whatever theme is chosen on screen */
  :root, :root[data-theme], :root:not([data-theme="light"]) {
    --ground: #FFFFFF; --ground-deep: #FFFFFF; --surface: #FFFFFF; --surface-2: #FFFFFF;
    --line: #DCD3C3; --line-strong: #857D70; --ink: #16140F; --ink-2: #4A443B; --muted: #6B645A;
    --on-ink: #FAF6EE; --gold-text: #8A6212; --gold-graphic: #9C7320; --green: #2F6B3A; --on-green: #FAF6EE;
    --spark: #127A6B; --status-info: #1F5FAD; --status-online: #1B7040;
  }
  .mark-d { display: none !important; }
  .mark-l { display: block !important; }
  .site-header, .site-footer, .contact, .skip-link, .no-print, .theme-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  section { padding-block: 0; }
  .ticket { border-color: #999; max-width: none; }
  a { color: #000; }
}

/* Home hero: the sleeping dragon wakes in a dark window (the eye video is dark-ground art) */
/* The eye loops are drawn on the page grounds (light #FAF6EE, dark #16140F), so no box is needed */
.hero-wake { width: 380px; max-width: 100%; }
.hero-wake video { width: 100%; height: auto; }
.hero-wake video.mark-l { display: block; }
@media (max-width: 760px) { .hero-wake { width: 300px; } }

/* About: founder names are h2 (no skipped heading level) but keep the card-title size */
.founder h2 { font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }

