/* =========================================================================
   True Shines Cleaning — Showcase Index
   Editorial-dark hybrid: cream type on #0a0a0a, sunset orange accent.
   Mobile-first. No utility framework. Hairline rules, oversized Fraunces,
   magazine-style section dividers.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Reset & tokens
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: #0a0a0a;
  color: #faf6ee;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --ink: #faf6ee;
  --ink-2: #cfc7b6;
  --ink-3: #8a8475;
  --line: rgba(250, 246, 238, 0.14);
  --line-2: rgba(250, 246, 238, 0.28);
  --accent: #ff6b35;
  --accent-2: #ffb38a;
  --accent-ink: #0a0a0a;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 56px);
  --gap: clamp(24px, 4vw, 56px);
  --radius: 4px;
}

/* -------------------------------------------------------------------------
   2. Typography primitives
   ------------------------------------------------------------------------- */
.kicker {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker__num {
  color: var(--accent);
  font-weight: 700;
}
.kicker--light { color: var(--ink-3); }

.section__title,
.hero__title,
.ship__title,
.pullquote__text {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0 0 24px;
}
.section__title em,
.hero__title em,
.ship__title em,
.pullquote__text em,
.rcard__title em { font-style: italic; }

.section__lede,
.hero__lede,
.ship__lede {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0;
}
.section__lede em,
.hero__lede em,
.ship__lede em,
.rcard__body em { color: var(--ink); font-style: italic; }

code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent-2);
  padding: 1px 6px;
  border-radius: 3px;
}

/* -------------------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------------------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 140px) var(--pad);
}
.section__head {
  max-width: 880px;
  margin: 0 0 clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section__title {
  font-size: clamp(40px, 7vw, 96px);
}

/* -------------------------------------------------------------------------
   4. Loader
   ------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--pad);
  pointer-events: none;
  transition: opacity 300ms ease, visibility 0s linear 300ms;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__bar {
  display: block;
  width: min(280px, 50vw);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: left center;
  animation: loaderBar 700ms ease-out forwards;
}
@keyframes loaderBar {
  0%   { transform: scaleX(0); opacity: 1; }
  60%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* -------------------------------------------------------------------------
   5. Sticky nav
   ------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav__mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius);
}
.nav__sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 6px;
}
.nav__links {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 180ms ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: var(--accent) !important;
  font-weight: 700 !important;
}
.nav__burger {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: var(--radius);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 220ms ease, opacity 220ms ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile drawer (slides down) */
.nav.is-open .nav__links {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--pad) 24px;
}
.nav.is-open .nav__links a {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  width: 100%;
}

/* -------------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(100px, 14vw, 160px) var(--pad) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(0.95) brightness(0.55);
  transform: scale(1.04);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.2) 30%, rgba(10,10,10,0.95) 100%),
    linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.1) 50%, rgba(255,107,53,0.08) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 16px var(--accent);
}
.hero__title {
  font-size: clamp(56px, 13vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0 0 32px;
  max-width: 14ch;
  color: var(--ink);
}
.hero__title em { color: var(--accent-2); }
.hero__lede {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
  max-width: 56ch;
  margin: 0 0 48px;
  color: var(--ink);
}
.hero__lede strong { color: var(--accent-2); font-weight: 600; }
.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  margin: 0 0 40px;
  max-width: 720px;
}
.hero__meta-cell {
  padding: 18px 16px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__meta-cell:nth-child(2n) { border-right: 0; }
.hero__meta-cell:nth-last-child(-n+2) { border-bottom: 0; }
.hero__meta .num {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.hero__meta .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__rail {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  right: var(--pad);
  display: none;
  gap: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* -------------------------------------------------------------------------
   7. Buttons & links
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--accent:hover {
  transform: translateY(-2px);
  background: var(--accent-2);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(250, 246, 238, 0.04);
}
.btn--lg {
  padding: 18px 28px;
  font-size: 13px;
}

.link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 180ms ease, color 180ms ease;
}
.link:hover { border-bottom-color: var(--accent); color: var(--accent-2); }

/* -------------------------------------------------------------------------
   8. Variants grid
   ------------------------------------------------------------------------- */
.vgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.vcard {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 220ms ease, transform 220ms ease;
}
.vcard:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.vcard__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.vcard__tag span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 2px;
}
.vcard__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.vcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
  filter: saturate(0.9) contrast(0.95);
}
.vcard:hover .vcard__media img { transform: scale(1.04); }
.vcard__body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.vcard__name {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  color: var(--ink);
}
.vcard__line {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.vcard__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vcard__chips li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 2px;
}
.vcard__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.vcard__actions .link--external { color: var(--ink); }
.vcard__actions .link--external:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* -------------------------------------------------------------------------
   9. Pull quote
   ------------------------------------------------------------------------- */
.pullquote {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 12vw, 160px) var(--pad);
}
.pullquote__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.pullquote__mark {
  font-family: 'Fraunces', serif;
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.5;
  color: var(--accent);
  margin: 0 0 24px;
}
.pullquote__text {
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--ink);
}
.pullquote__attr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

/* -------------------------------------------------------------------------
   10. Rationale
   ------------------------------------------------------------------------- */
.rgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.rcard {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.rcard__no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}
.rcard__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.rcard__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.rcard__foot {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* -------------------------------------------------------------------------
   11. Compare table
   ------------------------------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.compare__row {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.compare__row:first-child { border-top: 0; }
.compare__cell {
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.compare__row > .compare__cell:first-child { border-top: 0; }
.compare__cell--label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(255,255,255,0.02);
}
.compare__row--head .compare__cell {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: var(--ink);
  background: var(--bg-3);
  letter-spacing: -0.01em;
}
.compare__row--pick .compare__cell {
  background: rgba(255, 107, 53, 0.06);
  border-top: 1px solid var(--accent);
  color: var(--ink);
}
.compare__row--pick .compare__cell em { color: var(--accent-2); }

.badge {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-ink);
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: -5px;
}
.badge--a { background: #faf6ee; }
.badge--b { background: var(--accent); }
.badge--c { background: #2d5a3d; color: #faf6ee; }

/* -------------------------------------------------------------------------
   12. Tech demo
   ------------------------------------------------------------------------- */
.tgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.tcard {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.tcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.tcard__no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin-top: 8px;
}
.tcard__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.tcard__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.tcard__meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* -------------------------------------------------------------------------
   13. Specs
   ------------------------------------------------------------------------- */
.specs {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(255,107,53,0.12), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 12vw, 140px) var(--pad);
}
.specs__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.specs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  margin-top: 32px;
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(24px, 3vw, 40px) clamp(12px, 2vw, 24px);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.spec:nth-child(2n) { border-right: 0; }
.spec:nth-last-child(-n+2) { border-bottom: 0; }
.spec__num {
  font-family: 'Fraunces', serif;
  font-size: clamp(64px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-weight: 400;
}
.spec__lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.spec__sub {
  font-size: 13px;
  color: var(--ink-3);
}

/* -------------------------------------------------------------------------
   14. Ship CTA
   ------------------------------------------------------------------------- */
.ship {
  padding: clamp(80px, 14vw, 180px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  text-align: left;
}
.ship__inner { max-width: 980px; }
.ship__title {
  font-size: clamp(40px, 7.5vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
}
.ship__title em { color: var(--accent-2); }
.ship__lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 40px;
  max-width: 62ch;
}
.ship__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 40px;
}
.ship__addr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* -------------------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------------------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) var(--pad) 24px;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.footer__col a {
  color: var(--ink-2);
  transition: color 180ms ease;
}
.footer__col a:hover { color: var(--accent); }
.footer__brand {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 4px;
}
.footer__brand em { color: var(--accent-2); font-style: italic; }
.footer__tag {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  max-width: 36ch;
}
.footer__h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 8px;
}
.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* -------------------------------------------------------------------------
   16. Reveal animation (initial state, JS toggles .is-in)
   ------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.fade-up.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .vcard:hover { transform: none; }
  .btn--accent:hover { transform: none; }
  .vcard__media img { transition: none; }
}

/* -------------------------------------------------------------------------
   17. Breakpoints (mobile-first — only add, never override above)
   ------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .hero__meta { grid-template-columns: repeat(4, 1fr); }
  .hero__meta-cell { border-bottom: 0; }
  .hero__meta-cell:nth-child(2n) { border-right: 1px solid var(--line-2); }
  .hero__meta-cell:nth-child(4) { border-right: 0; }
  .hero__meta-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .hero__meta-cell:nth-last-child(1) { border-bottom: 0; }
  .specs__grid { grid-template-columns: repeat(4, 1fr); }
  .spec { border-bottom: 0; }
  .spec:nth-child(2n) { border-right: 1px solid var(--line-2); }
  .spec:nth-child(4) { border-right: 0; }
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .rgrid { grid-template-columns: repeat(3, 1fr); }
  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .compare {
    grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(0, 1.4fr));
  }
  .compare__row { display: contents; }
  .compare__cell { border-top: 0; border-left: 1px solid var(--line); }
  .compare__cell:first-child { border-left: 0; }
  .compare__row--head .compare__cell { border-top: 0; }
  .compare__row--pick .compare__cell { border-top: 1px solid var(--accent); }
  /* Re-create row dividers via JS-injected nth-child groupings, fallback via border */
  .compare .compare__row--head { grid-column: 1 / -1; display: contents; }
  .hero__rail { display: flex; }
}

@media (min-width: 1100px) {
  .tgrid { grid-template-columns: repeat(4, 1fr); }
  .hero { min-height: 96svh; }
}

/* When nav drawer is open, lock body scroll on mobile */
body.nav-locked { overflow: hidden; }

/* ============================================================
   8-VARIANT EXTENSIONS (round 2)
   - 4x2 grid for variants grid
   - 9-col compare table (1 label + 8 variants)
   - 4x2 grid for rationale cards
   ============================================================ */

.vgrid--8 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 720px) {
  .vgrid--8 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 1100px) {
  .vgrid--8 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

.rgrid--8 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) {
  .rgrid--8 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (min-width: 1100px) {
  .rgrid--8 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.compare--8 {
  display: block;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}
.compare--8 .compare__row {
  display: grid;
  grid-template-columns: 70px repeat(8, minmax(96px, 1fr));
  min-width: 980px;
}
.compare--8 .compare__cell {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.4;
}
.compare--8 .compare__cell:last-child { border-right: 0; }
.compare--8 .compare__cell--label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  position: sticky; left: 0; background: var(--bg-soft);
}
.compare--8 .compare__row--head .compare__cell {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  background: var(--bg);
}
.compare--8 .compare__row--pick .compare__cell {
  font-size: 11px;
  color: var(--ink);
}

/* Badges for new variants */
.badge--d { background: #0a2540; color: #d4a437; }
.badge--e { background: #0d4ea2; color: #e63946; }
.badge--f { background: #0d1117; color: #3b82f6; }
.badge--g { background: #0d9488; color: #fff; }
.badge--h { background: #0a0a0a; color: #7c3aed; }

/* VCard accent colors per variant */
.vcard--trust { border-top: 2px solid #d4a437; }
.vcard--corp { border-top: 2px solid #0d4ea2; }
.vcard--mod { border-top: 2px solid #3b82f6; }
.vcard--pro { border-top: 2px solid #0d9488; }
.vcard--ent { border-top: 2px solid #7c3aed; }

.vcard--trust .vcard__tag { background: #0a2540; color: #d4a437; }
.vcard--corp .vcard__tag { background: #0d4ea2; color: #fff; }
.vcard--mod .vcard__tag { background: #0d1117; color: #3b82f6; }
.vcard--pro .vcard__tag { background: #0d9488; color: #fff; }
.vcard--ent .vcard__tag { background: #0a0a0a; color: #7c3aed; }
