/* genesis.css — the only stylesheet for /genesis/.
   Deliberately NOT ../styles.css: touching the shared sheet forces a ?v= bump across nine
   pages (memory 1xev-public-page-gate). The colour and type tokens below are COPIES of
   styles.css's :root values, so the page matches the site without depending on it.
   Shapes borrowed from site-factory/library/parts: fee-math-band (.frow rows, §5),
   checklist-print (.chk buttons + print sheet, §8), lightbox (§3), flow-layer (the
   container-query card grid). Re-tokened to the dark palette on purpose — dropping the
   parts' own light tokens in here would paint ink on ink (opus-build-pitfalls class 3). */

:root {
  --bg:        #0a0a0a;
  --bg-soft:   #121212;
  --panel:     #161616;
  --line:      rgba(255,255,255,.10);
  --ink:       #f4f2ee;
  --ink-dim:   #a8a49c;
  --ink-faint: #8a867d;
  --gold:      #c9a86a;
  --gold-soft: rgba(201,168,106,.14);
  --maxw: 880px;
  --ease: cubic-bezier(.16,.84,.44,1);
  --bar: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

.skip-link { position: absolute; left: 16px; top: -60px; background: var(--gold); color: #1a1509;
  padding: 10px 16px; border-radius: 2px; z-index: 300; font-size: 13px; transition: top .2s; }
.skip-link:focus { top: 8px; }

/* ---------- header ---------- */
.top { border-bottom: 1px solid var(--line); background: rgba(10,10,10,.92);
  position: sticky; top: 0; z-index: 90; backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 56px; flex-wrap: wrap; }
.mark { font-size: 15px; letter-spacing: .04em; font-weight: 700; color: var(--ink); padding: 8px 0; }
.mark span { color: var(--gold); }
.top-call { font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 2px; padding: 8px 14px; color: var(--gold); }

/* ---------- type ---------- */
section { padding: 44px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
h1 { font-size: clamp(27px, 6.6vw, 42px); line-height: 1.12; letter-spacing: -.01em;
  font-weight: 700; margin-bottom: 14px; }
h2 { font-size: clamp(21px, 4.4vw, 28px); line-height: 1.2; font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
p { margin-bottom: 14px; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
.lead { color: var(--ink-dim); font-size: clamp(16px, 2.4vw, 18px); }
.small { font-size: 13.5px; color: var(--ink-faint); line-height: 1.6; }
strong, b { color: var(--ink); font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 2px; border: 1px solid var(--gold);
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
  min-height: 48px; }
.btn:hover { text-decoration: none; }
.btn--solid { background: var(--gold); color: #1a1509; }
.btn--solid:hover { background: #dbbd7f; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 12px; }
.btn-row .btn { flex: 1 1 150px; }

/* ---------- hero film ---------- */
.film { position: relative; border: 1px solid var(--line); border-radius: 3px;
  overflow: hidden; background: var(--panel); margin-bottom: 24px; }
.film-frame { position: relative; aspect-ratio: 16/9; width: 100%; }
.film-frame img { width: 100%; height: 100%; object-fit: cover; }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  background: rgba(10,10,10,.28); cursor: pointer; display: grid; place-items: center; }
.film-play .disc { width: 66px; height: 66px; border-radius: 50%; background: var(--gold);
  color: #1a1509; display: grid; place-items: center; font-size: 22px; padding-left: 5px; }
.film-play:hover .disc { background: #dbbd7f; }
.film-more { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.film-more .cap { font-size: 13px; color: var(--ink-faint); }
.mini { background: transparent; border: 1px solid var(--line); color: var(--ink);
  font-family: inherit; font-size: 13px; padding: 10px 14px; border-radius: 2px;
  cursor: pointer; min-height: 44px; transition: border-color .3s, color .3s; }
.mini:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- the disclosure block ---------- */
.disclose { background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: 2px; padding: 20px; }

/* ---------- product cards (flow-layer shape, container queries) ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { border: 1px solid var(--line); border-radius: 3px; background: var(--bg-soft);
  overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .cbody { padding: 18px; }
.card .cbody p { font-size: 14.5px; color: var(--ink-dim); margin-bottom: 0; }
.card .cbody p + p { margin-top: 10px; }
.card.noshot .cbody { padding-top: 22px; }

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
@media (min-width: 560px) { .shots { grid-template-columns: repeat(4, 1fr); } }
.shots button { border: 1px solid var(--line); border-radius: 2px; background: none;
  padding: 0; cursor: pointer; overflow: hidden; }
.shots button:hover { border-color: var(--gold); }
.shots img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- lightbox (library part: lightbox) ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(6,6,6,.94);
  display: grid; place-items: center; padding: 20px; }
.lb img { max-width: 100%; max-height: 82vh; width: auto; border-radius: 3px; }
.lb-close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 16px;
  background: none; border: 1px solid var(--line); color: var(--ink); font-size: 24px;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; line-height: 1; }

/* ---------- folds (affordance gate: it must LOOK like it opens) ---------- */
details.fold { border: 1px solid var(--line); border-radius: 3px; background: var(--panel);
  margin-top: 18px; }
details.fold > summary { cursor: pointer; list-style: none; padding: 16px 46px 16px 18px;
  font-weight: 700; position: relative; color: var(--ink); min-height: 48px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "+"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); color: var(--gold); font-size: 24px; line-height: 1; }
details.fold[open] > summary::after { content: "\2212"; }
details.fold > summary:hover { color: var(--gold); }
details.fold .fbody { padding: 0 18px 18px; }
details.fold .fbody p { font-size: 14.5px; color: var(--ink-dim); }

/* ---------- tables (library part: facts-table) ---------- */
.tbl-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 3px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 12px 16px 0; font-size: 13px; color: var(--ink-faint); }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line);
  vertical-align: top; }
th { color: var(--ink-faint); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td.num { text-align: right; white-space: nowrap; color: var(--ink); font-weight: 700; }
th.num { text-align: right; }
.lots td { color: var(--ink-dim); font-size: 14.5px; }

/* ---------- the delivery band (library part: fee-math-band) ---------- */
.band { background: var(--panel); border: 1px solid var(--line); border-radius: 3px;
  padding: 20px; margin: 20px 0 0; }
.band h3 { margin-bottom: 4px; }
.askrow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.askrow input { flex: 1 1 200px; min-width: 0; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px; padding: 14px 15px;
  font-family: inherit; font-size: 16px; min-height: 48px; }
.askrow input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.askrow .btn { flex: 0 0 auto; }
.band .answer { margin-top: 12px; color: var(--gold); font-weight: 700; font-size: 15px; }

/* ---------- the fit checklist (library part: checklist-print) ---------- */
.lgrid { display: grid; gap: 10px; margin: 16px 0; }
.chk { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 3px;
  padding: 14px 16px; color: var(--ink); font-family: inherit; font-size: 15px;
  line-height: 1.5; cursor: pointer; min-height: 48px; transition: border-color .3s; }
.chk:hover { border-color: var(--gold); }
.chk .box { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; border-radius: 2px;
  border: 1px solid var(--ink-faint); display: grid; place-items: center;
  font-size: 14px; line-height: 1; color: #1a1509; }
.chk[aria-pressed="true"] { border-color: var(--gold); }
.chk[aria-pressed="true"] .box { background: var(--gold); border-color: var(--gold); }
.chk[aria-pressed="true"] .box::after { content: "\2713"; }
.lfoot { display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  justify-content: space-between; }
.count { font-size: 13.5px; color: var(--ink-faint); }
.printonly { display: none; }

/* ---------- form ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--panel); border: 1px solid var(--line); color: var(--ink);
  padding: 14px 15px; border-radius: 2px; font-family: inherit; font-size: 16px;
  min-height: 48px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { border: 1px solid var(--gold); border-radius: 3px; padding: 24px;
  background: var(--panel); }
.form-success h3 { color: var(--gold); }
.prefill-flash { border-color: var(--gold) !important; }

/* ---------- footer + sticky bar ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 30px; }
footer .fname { font-weight: 700; font-size: 16px; }
footer p { font-size: 14.5px; color: var(--ink-dim); }

.callbar--off { transform: translateY(110%); }
.callbar { transition: transform .25s; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: flex; gap: 10px; background: rgba(10,10,10,.96); border-top: 1px solid var(--line);
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(8px); }
.callbar .btn { flex: 1 1 0; padding: 12px 10px; min-height: 46px; font-size: 13px; }

@media print {
  .callbar, .top, .film, form, .lb { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .printonly { display: block; }
  .chk { border: 1px solid #999; background: #fff; color: #000; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

.sr { position:absolute; left:-9999px; }

/* the Why Genesis block, copied from their site (Victor 2026-09-15) */
@media (min-width: 720px) { .cards.why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards.why { grid-template-columns: repeat(4, 1fr); } }
.cards.why .cbody p + p { margin-top: 14px; }

/* The delivery check's width picker (2026-09-15). Same tick-button shape as .chk in the
   access checklist, sized down: the answer above it changes the moment one is pressed, so
   they read as a control, not as labels. */
.widthpick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.widthpick .small { margin: 0; }
.chip { min-height: 40px; padding: 8px 14px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 14px;
  cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: #14140f; font-weight: 700; }

/* THE PHONE TRIM (2026-09-15, round 2). At 375 the card photos were taller than the phone's
   own text block - a 4:3 crop is 257px of picture before a word is read, and there are four
   of them plus the gallery. 16:9 on a phone only: the same photographs, the same crop centre,
   ~90px less of each. Nothing is hidden and no photo is dropped; the desktop grid keeps 4:3,
   where a wide card can afford it. */
@media (max-width: 719px) {
  /* height:auto is the load-bearing line. Every one of these <img> tags carries width= and
     height= attributes (they are there so the page does not jump while a photo loads), and a
     pinned height attribute BEATS aspect-ratio - the CSS computed to 16/9 and the photos
     still rendered 450px tall until this was added. Measured, not assumed. */
  .card img, .shots img { height: auto; aspect-ratio: 16/9; }
}
