/* TrakHandle static preview — Wing craft. System fonts. Mobile first. No JS. */

:root {
  /* option-b-graphite: charcoal ground, off-white type, yellow CTA accent */
  --ink: #f0f0ec;          /* primary type (light on dark) */
  --ink-soft: #b0b0ac;
  --paper: #1a1b1e;        /* graphite body */
  --paper-2: #25262a;
  --raised: #2c2d32;
  --rule: #3a3b42;
  --yellow: #ffd90d;
  --yellow-deep: #e6c200;
  --yellow-ink: #0a0a0a;
  --chrome: #0e0e10;       /* header / footer / band-ink */
  --focus: #ffd90d;
  --max: 40rem;
  --max-wide: 68rem;
  --space: 1.25rem;
  --radius: 2px;
  --nav-h: 2.75rem;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink-soft);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.nav-toggle-label:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 30;
  padding: 0.4rem 0.7rem;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

/* Preview ribbon — every page */
.preview-bar {
  margin: 0;
  padding: 0.45rem var(--space);
  background: var(--chrome);
  color: var(--yellow);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Header / nav */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.75rem var(--space);
  background: var(--chrome);
  color: var(--ink);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.05;
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark-brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wordmark-brand span {
  color: var(--yellow);
}

.wordmark-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8a8a86;
  max-width: 14rem;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--nav-h);
  padding: 0 0.75rem;
  border: 1px solid #555;
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.primary-nav {
  display: none;
  width: 100%;
}

.nav-toggle:checked ~ .primary-nav {
  display: block;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0;
}

/* Scoped — do NOT use global li+li (South Sound footer/nav lift bug) */
.primary-nav li {
  margin: 0;
  border-top: 1px solid #333;
}

.primary-nav a {
  display: flex;
  align-items: center;
  min-height: var(--nav-h);
  padding: 0 0.15rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.primary-nav a[aria-current="page"] {
  border-bottom-color: var(--yellow);
  color: var(--yellow);
}

.primary-nav a:hover {
  color: var(--yellow);
}

/* Type */
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 6.5vw, 2.85rem);
}

h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

.content-list {
  padding-left: 1.2rem;
}

.content-list > li + li {
  margin-top: 0.35rem;
}

.lede {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
}

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.display-num {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Layout */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2.5rem, var(--max-wide));
  margin-inline: auto;
}

main {
  padding-bottom: 0;
}

.section {
  padding: 2.25rem 0;
}

.section + .section {
  border-top: 1px solid var(--rule);
}

.band-yellow {
  /* accent discipline: former yellow slabs → graphite panel */
  background: var(--paper-2);
  color: var(--ink);
}

.band-ink {
  background: var(--chrome);
  color: var(--ink);
}

.band-paper {
  background: var(--paper-2);
}

/* Hero — home fold: one job */
.hero {
  padding: 2.25rem 0 2.5rem;
  background: var(--paper);
  color: var(--ink);
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.hero h1 {
  max-width: 18ch;
}

.hero .lede {
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  background: var(--yellow);
  color: var(--yellow-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--yellow-deep);
  color: var(--yellow-ink);
}

.btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--yellow-ink);
  border-color: var(--yellow);
}

.btn-yellow:hover {
  background: var(--yellow-deep);
  color: var(--yellow-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--yellow);
  color: var(--yellow-ink);
  border-color: var(--yellow);
}

.band-ink .btn-ghost {
  color: var(--ink);
  border-color: var(--ink);
}

.band-ink .btn-ghost:hover {
  background: var(--yellow);
  color: var(--yellow-ink);
  border-color: var(--yellow);
}

.btn-block {
  width: 100%;
  max-width: 22rem;
}

.buy-row {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.preview-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.band-ink .preview-note {
  color: #8a8a86;
}

/* Photo holes / product media */
.photo-hole,
.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
  border: 2px dashed #444;
  overflow: hidden;
}

.photo-hole img,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #0a0a0a;
}

.photo-hole-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
  color: var(--yellow);
  font-size: 0.875rem;
  font-weight: 600;
}

.photo-hole-label strong {
  font-size: 1rem;
}

.photo-hole.has-photo,
.product-media.has-photo {
  border-style: solid;
  border-color: #333;
}

.photo-hole.has-photo .photo-hole-label,
.product-media.has-photo .photo-hole-label {
  display: none;
}

/* Aspect ratios from actual Reed JPEG pixel sizes (PIL) */
.photo-hole-square,
.ar-1-1 {
  aspect-ratio: 1 / 1;
}

.ar-1563-879 {
  aspect-ratio: 1563 / 879;
}

.ar-1296-741 {
  aspect-ratio: 1296 / 741;
}

.ar-2000-2000 {
  aspect-ratio: 1 / 1;
}

.ar-2500-1875 {
  aspect-ratio: 2500 / 1875;
}

.photo-hole-tall {
  aspect-ratio: 3 / 4;
}

.hero .photo-hole {
  background: #111;
  border-color: #333;
}

.hero .photo-hole.has-photo {
  border-color: #111;
}

/* How-it-works scene beside beats */
.hiw-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.hiw-scene {
  margin: 0;
}

.hiw-scene figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: #b0b0ac;
}

@media (min-width: 720px) {
  .hiw-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
  }
}

/* Money page: copy+ATC first on small screens; media left on desktop */
.pdp-grid-buy-first .pdp-buy {
  order: 1;
}
.pdp-grid-buy-first .product-media {
  order: 2;
}
@media (min-width: 720px) {
  .pdp-grid-buy-first .product-media {
    order: 1;
  }
  .pdp-grid-buy-first .pdp-buy {
    order: 2;
  }
}

/* PDP layout */
.pdp {
  padding: 1.75rem 0 2.5rem;
}

.pdp-grid {
  display: grid;
  gap: 1.5rem;
}

.breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.sku-meta {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.compat {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--paper-2);
  border-left: 3px solid var(--yellow);
  font-size: 0.95rem;
}

/* How it works — three beats */
.beats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: beat;
}

.beats li {
  margin: 0;
  padding: 0;
  counter-increment: beat;
  display: grid;
  gap: 0.35rem;
}

.beats li::before {
  content: counter(beat);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-weight: 800;
  font-size: 1rem;
}

.band-ink .beats li::before {
  background: var(--yellow);
  color: var(--yellow-ink);
}

.beats h3 {
  margin: 0;
}

.beats p {
  margin: 0;
  max-width: 40ch;
}

/* Stats strip — locked numbers only */
.stats {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats li {
  margin: 0;
}

.stats .display-num {
  display: block;
  margin-bottom: 0.25rem;
}

.stats p {
  margin: 0;
  font-size: 0.95rem;
  max-width: 18ch;
}

/* Product cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  background: var(--raised);
  border: 1px solid var(--rule);
}

.card-body {
  padding: 0 1rem 1.15rem;
  display: grid;
  gap: 0.5rem;
}

.card h2,
.card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card .price-sm {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.card .btn {
  justify-self: start;
  min-height: 2.6rem;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

/* Cite strip who/where/how */
.cite-strip {
  display: grid;
  gap: 1rem;
}

.cite-strip article {
  padding: 0;
}

.cite-strip h2 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.cite-strip p {
  margin: 0;
  max-width: 36ch;
}

/* Form */
.form {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
  font-size: 1rem;
}

.req {
  font-weight: 500;
  color: var(--ink-soft);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--rule);
  background: var(--raised);
  color: var(--ink);
  font: inherit;
  border-radius: var(--radius);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.phone-xl {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.phone-xl a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.phone-xl a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.band-ink .phone-xl a:hover {
  color: var(--yellow);
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  background: var(--chrome);
  color: #b8b8b4;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--yellow);
}

.site-footer .footer-grid {
  display: grid;
  gap: 1.25rem;
}

.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.site-footer nav li {
  margin: 0;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.site-footer .fine {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #888;
}

/* Desktop */
@media (min-width: 720px) {
  .nav-toggle-label {
    display: none;
  }

  .primary-nav {
    display: block;
    width: auto;
  }

  .primary-nav ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
  }

  .primary-nav li {
    border-top: 0;
    margin: 0;
  }

  .primary-nav a {
    min-height: var(--nav-h);
    padding: 0 0.7rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }

  .pdp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .beats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cite-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}



.ar-4-3 { aspect-ratio: 4 / 3; }

/* Filled figure wrappers (shop/PDP) — aspect from PIL pixel sizes */
.hero-photo,
.card-photo,
.scene-photo,
figure.product-media {
  margin: 0;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--rule);
}

.hero-photo img,
.card-photo img,
.scene-photo img,
figure.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #0a0a0a;
}

.ar-1-1 { aspect-ratio: 1 / 1; }
.ar-1563-879 { aspect-ratio: 1563 / 879; }
.ar-1296-741 { aspect-ratio: 1296 / 741; }
.ar-2500-1875 { aspect-ratio: 2500 / 1875; }
.ar-2000-2000 { aspect-ratio: 1 / 1; }

.faq-item { margin: 0 0 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule, #ddd); }
.faq-item h2 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.faq-item p { margin: 0; }

.proof-line {
  margin: 0 0 1.1rem;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-soft, #444);
}
.proof-line a { color: inherit; text-decoration: underline; }
.pull-strip {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--yellow, #f5c518);
  background: rgba(255,255,255,0.04);
}
.pull-strip p { margin: 0 0 0.35rem; }
.pull-strip cite { font-size: 0.85rem; font-style: normal; color: var(--ink-soft, #555); }
