/* ============================================================
   TRAIL FORGE - bespoke running keepsakes
   Dark, gallery-lit, photography-led. The page is an
   extension of the object: charcoal board, crisp white text,
   one restrained gold accent, faint topographic contours.
   ============================================================ */

:root {
  --bg:        #0b0b0c;
  --bg-2:      #141416;
  --bg-3:      #1a1a1d;
  --bg-board:  #161618;   /* the charcoal background board of the frame */
  --line:      rgba(255,255,255,0.085);
  --line-2:    rgba(255,255,255,0.16);
  --text:      #f3f1ec;
  --muted:     #9d9990;
  --faint:     #6b6862;
  --cream:     #e6dfce;   /* 3D relief-map material */
  --cream-ink: #161512;   /* route line / text on cream */
  --accent:    oklch(0.79 0.085 79);   /* restrained brushed-gold */
  --accent-dim: oklch(0.79 0.085 79 / 0.16);
  --accent-line: oklch(0.79 0.085 79 / 0.42);

  --font:  "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- topographic contour texture (generated in app.js) ---- */
#contours {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--contour-opacity, 0.5);
  transition: opacity .4s ease;
}
#contours svg { width: 100%; height: 100%; display: block; }
#contours path { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* keep real content above the texture */
header, main, footer { position: relative; z-index: 1; }

/* ---------- typography helpers ---------- */
h1, h2, h3 { font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  font-weight: 500;
}
.eyebrow.muted { color: var(--faint); }

.section-lead { color: var(--muted); max-width: 56ch; font-size: clamp(17px, 1.4vw, 20px); text-wrap: pretty; }

a { color: inherit; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: clamp(72px, 11vw, 160px); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 20px; }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.01em; font-size: 18px; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: grid; place-items: center;
  position: relative;
}
.brand .mark::before, .brand .mark::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--accent-line);
}
.brand .mark::before { inset: 5px; }
.brand .mark::after { inset: 9px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.cta { color: var(--bg); }
.nav-links a.btn-primary { color: #000000; }
@media (max-width: 760px){ .nav-links a:not(.cta){ display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  padding: 15px 28px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .18s ease, background .2s, border-color .2s, color .2s;
  letter-spacing: -0.01em; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #000000; border-color: var(--accent); font-weight: 700; letter-spacing: 0.005em; }
.btn-primary:hover { background: oklch(0.85 0.095 79); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; justify-content: center; padding-block: 18px; font-size: 17px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateY(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(60px, 9vw, 110px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
@media (max-width: 940px){ .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(40px, 6.6vw, 82px); letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.sub { margin: 28px 0 38px; color: var(--muted); font-size: clamp(18px, 1.7vw, 22px); max-width: 30ch; line-height: 1.5; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.hero-meta .item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .k { font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.hero-meta .l { font-size: 13px; color: var(--faint); letter-spacing: 0.04em; }

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}
.hero-art image-slot { width: 100%; height: 100%; }
.hero-art .hero-img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.hero-art .tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); background: rgba(0,0,0,0.55); padding: 7px 12px; border-radius: 100px;
  border: 1px solid var(--line); backdrop-filter: blur(6px);
  pointer-events: none;
}

/* ============================================================
   PRODUCT CARDS (the two versions)
   ============================================================ */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
@media (max-width: 760px){ .products { grid-template-columns: 1fr; } }
.pcard {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.pcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pcard .pimg { aspect-ratio: 5 / 4; position: relative; }
.pcard .pimg image-slot { width: 100%; height: 100%; }
.pcard .pimg .pimg-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* sold-out treatment */
.pcard-soldout { opacity: 0.6; }
.pcard-soldout:hover { transform: none; border-color: var(--line); }
.pcard-soldout .pimg { filter: grayscale(1); }
.pcard-soldout .pimg::after {
  content: ""; position: absolute; inset: 0; background: rgba(12,12,13,0.45);
}
.pcard-soldout .btn[disabled] {
  cursor: not-allowed; pointer-events: none;
  background: transparent; color: var(--muted); border-color: var(--line);
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px;
}
.oos-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text);
  background: rgba(0,0,0,0.7); padding: 7px 12px; border-radius: 100px;
  border: 1px solid var(--line-2); backdrop-filter: blur(6px);
}
.pcard .pbody { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .ptitle { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pcard .ptitle h3 { font-size: 26px; }
.pcard .price { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.pcard .pdesc { color: var(--muted); font-size: 15px; margin: 6px 0 22px; line-height: 1.5; }
.pcard .btn { margin-top: auto; }
.swatch { width: 13px; height: 13px; border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 9px; border: 1px solid var(--line-2); }
.swatch.white { background: #f1efe9; }
.swatch.black { background: #18181a; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); counter-reset: step; }
@media (max-width: 880px){ .steps { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }
.step { display: flex; flex-direction: column; gap: 16px; }
.step .icon {
  width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--accent); background: var(--bg-2);
}
.step .icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.1em; }
.step h3 { font-size: 19px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.55; }

/* ============================================================
   DIFFERENT (comparison)
   ============================================================ */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
@media (max-width: 760px){ .diff-grid { grid-template-columns: 1fr; } }
.diff-card { border-radius: 10px; padding: 36px; border: 1px solid var(--line); }
.diff-card.them { background: transparent; }
.diff-card.us { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-color: var(--accent-line); }
.diff-card .tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 22px; display: block; }
.diff-card.them .tag { color: var(--faint); }
.diff-card.us .tag { color: var(--accent); }
.diff-card h3 { font-size: 24px; margin-bottom: 22px; }
.diff-card.them h3 { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.checklist .mk { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; }
.checklist.them li { color: var(--faint); }
.checklist .mk svg { width: 20px; height: 20px; fill: none; stroke-width: 1.7; }

/* ============================================================
   ORDER FORM - build your frame
   ============================================================ */
.order { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 900px){ .order-grid { grid-template-columns: 1fr; } }
.order-aside { position: sticky; top: 92px; }
@media (max-width: 900px){ .order-aside { position: static; } }
.order-aside h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.order-aside p { color: var(--muted); }
.order-summary {
  margin-top: 30px; border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; background: var(--bg);
}
.order-summary .row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 15px; }
.order-summary .row + .row { border-top: 1px solid var(--line); }
.order-summary .row .lbl { color: var(--muted); }
.order-summary .row .val { font-family: var(--mono); }
.order-summary .total { font-size: 18px; padding-top: 14px; }
.order-summary .total .val { color: var(--accent); font-size: 22px; }

form.builder { display: grid; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px){ .field.row2 { grid-template-columns: 1fr; } }
.field > label, .field-label {
  font-size: 13px; color: var(--muted); letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
}
.field .hint { font-size: 12px; color: var(--faint); font-family: var(--mono); }
input, select, textarea {
  font-family: var(--font); font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 14px 15px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239d9990' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
input.invalid, select.invalid, textarea.invalid { border-color: oklch(0.62 0.17 25); box-shadow: 0 0 0 3px oklch(0.62 0.17 25 / 0.14); }
.err-msg { font-size: 12.5px; color: oklch(0.74 0.14 30); min-height: 0; }

/* frame-colour selector */
.colour-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.colour-opt { position: relative; cursor: pointer; }
.colour-opt input { position: absolute; opacity: 0; pointer-events: none; }
.colour-opt .box {
  border: 1px solid var(--line-2); border-radius: 8px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px; transition: border-color .2s, background .2s;
}
.colour-opt .box .dot { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto; border: 1px solid var(--line-2); }
.colour-opt .box .dot.white { background: #f1efe9; }
.colour-opt .box .dot.black { background: #161618; }
.colour-opt .box .meta { display: flex; flex-direction: column; line-height: 1.25; }
.colour-opt .box .meta .n { font-size: 15px; font-weight: 600; }
.colour-opt .box .meta .p { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.colour-opt input:checked + .box { border-color: var(--accent); background: var(--accent-dim); }
.colour-opt input:focus-visible + .box { box-shadow: 0 0 0 3px var(--accent-dim); }
.colour-opt-disabled { cursor: not-allowed; opacity: 0.5; }
.colour-opt-disabled .box { filter: grayscale(1); }

/* file upload */
.upload {
  border: 1px dashed var(--line-2); border-radius: 8px; padding: 22px; text-align: center;
  cursor: pointer; transition: border-color .2s, background .2s; display: block; position: relative;
}
.upload:hover { border-color: var(--accent); background: var(--bg-3); }
.upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload .up-icon { color: var(--accent); margin-bottom: 8px; }
.upload .up-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.upload .up-main { font-size: 15px; }
.upload .up-sub { font-size: 12.5px; color: var(--faint); font-family: var(--mono); margin-top: 4px; }
.upload.filled { border-style: solid; border-color: var(--accent); }
.upload.filled .up-icon { color: var(--accent); }

.reassure { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.reassure svg { flex: 0 0 auto; width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.6; margin-top: 1px; }

.form-success {
  display: none; text-align: center; padding: 48px 28px; border: 1px solid var(--accent-line);
  border-radius: 12px; background: var(--bg);
}
.form-success.show { display: block; animation: pop .4s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-success .ok-mark { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--accent); display: grid; place-items: center; margin: 0 auto 22px; color: var(--accent); }
.form-success .ok-mark svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }
.form-success h3 { font-size: 26px; margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 42ch; margin: 0 auto; }

/* ============================================================
   FOR RACE ORGANISERS (partnership band)
   ============================================================ */
.partners { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 900px){ .partner-grid { grid-template-columns: 1fr; } }
.partner-aside h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 18px; }
.partner-aside .section-lead { margin-bottom: 34px; }
.partner-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.partner-points li { display: flex; gap: 16px; align-items: flex-start; }
.partner-points li div { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.partner-points li strong { color: var(--text); font-weight: 600; }
.pp-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent); background: var(--bg); }
.pp-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.partner-formwrap { border: 1px solid var(--line); border-radius: 12px; padding: clamp(26px, 3vw, 38px); background: var(--bg); }
.pf-title { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.01em; }

/* ============================================================
   THE DETAILS - recreate the finished frame
   ============================================================ */
.detail-stage { display: grid; grid-template-columns: 1fr; gap: 40px; justify-items: center; }
.frame-outer {
  width: min(560px, 100%);
  background: #0a0a0b;
  padding: 22px;
  border-radius: 6px;
  border: 1px solid #2a2a2d;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.02);
}
.frame-board {
  background: var(--bg-board);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  padding: 30px 30px 0;
  position: relative;
  box-shadow: inset 0 2px 30px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
}
.frame-racename {
  text-align: center; font-size: clamp(15px, 3.4vw, 21px); font-weight: 600;
  letter-spacing: 0.02em; color: #fff; margin-bottom: 26px; text-wrap: balance;
}
.frame-mid { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.frame-stat { display: flex; flex-direction: column; gap: 3px; }
.frame-stat.tr, .frame-stat.br { text-align: right; align-items: flex-end; }
.frame-stat .sl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.frame-stat .sv { font-size: clamp(15px, 3.6vw, 22px); font-weight: 600; letter-spacing: -0.01em; color: #fff; font-variant-numeric: tabular-nums; }
.frame-medal { display: flex; flex-direction: column; align-items: center; }
.frame-ribbon { width: 30px; height: 30px; position: relative; margin-bottom: -6px; z-index: 1; }
.frame-ribbon::before, .frame-ribbon::after {
  content: ""; position: absolute; top: 0; width: 13px; height: 34px;
  background: linear-gradient(180deg, var(--accent), oklch(0.62 0.09 70));
}
.frame-ribbon::before { left: 2px; transform: rotate(13deg); transform-origin: top; }
.frame-ribbon::after { right: 2px; transform: rotate(-13deg); transform-origin: top; }
.frame-medal image-slot { width: clamp(74px, 18vw, 104px); height: clamp(74px, 18vw, 104px); }
.frame-name { text-align: center; font-size: clamp(13px, 2.8vw, 17px); color: var(--accent); letter-spacing: 0.04em; margin: 18px 0 24px; font-weight: 500; }
.frame-stats-bottom { display: grid; grid-template-columns: 1fr 1fr; }
.frame-map { margin: 0 -30px; }
.frame-map image-slot { width: 100%; height: clamp(120px, 26vw, 175px); display: block; }

/* finished-frame placeholders: white caption, no "browse files" hint */
.frame-medal image-slot, .frame-map image-slot { color: #ffffff; }
.frame-medal image-slot::part(cap), .frame-map image-slot::part(cap) { color: #ffffff; font-weight: 500; }
.frame-medal image-slot::part(sub), .frame-map image-slot::part(sub) { display: none; }
.frame-medal image-slot::part(icon), .frame-map image-slot::part(icon) { display: none; }
.frame-medal image-slot::part(ring), .frame-map image-slot::part(ring) { border-color: rgba(255,255,255,0.45); }

/* annotation callouts */
.detail-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; width: min(900px, 100%); }
@media (max-width: 760px){ .detail-notes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px){ .detail-notes { grid-template-columns: 1fr; } }
.detail-note { border-top: 1px solid var(--line-2); padding-top: 14px; }
.detail-note .nidx { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.detail-note h4 { font-size: 15px; margin: 8px 0 5px; font-weight: 600; }
.detail-note p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
@media (max-width: 760px){ .gallery-grid { grid-template-columns: 1fr 1fr; } }
.gallery-grid image-slot { width: 100%; aspect-ratio: 4 / 5; }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-wide image-slot { aspect-ratio: auto; height: 100%; }
@media (max-width: 760px){ .gallery-grid .g-wide { grid-column: span 2; } .gallery-grid .g-wide image-slot { aspect-ratio: 16/10; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 820px){ .quotes { grid-template-columns: 1fr; } }
.quote { border: 1px solid var(--line); border-radius: 10px; padding: 30px; background: var(--bg-2); display: flex; flex-direction: column; gap: 22px; }
.quote .stars { color: var(--accent); letter-spacing: 3px; font-size: 14px; }
.quote p { font-size: 17px; line-height: 1.5; margin: 0; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 13px; }
.quote .who image-slot { width: 42px; height: 42px; flex: 0 0 auto; }
.quote .who .nm { font-size: 14px; font-weight: 600; }
.quote .who .rc { font-size: 12.5px; color: var(--faint); font-family: var(--mono); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; color: var(--text); font-family: var(--font); font-size: clamp(17px, 2vw, 21px); font-weight: 500; text-align: left; padding: 26px 44px 26px 0; cursor: pointer; position: relative; letter-spacing: -0.01em; }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--accent); font-weight: 300; transition: transform .25s; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 0 26px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 68ch; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--line); background: var(--bg); padding-block: clamp(56px, 7vw, 88px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 700px){ .foot-grid { grid-template-columns: 1fr; gap: 36px; } }
.foot-signup h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.foot-signup p { color: var(--muted); margin-bottom: 22px; max-width: 40ch; }
.signup-row { display: flex; gap: 10px; max-width: 440px; }
.signup-row input { flex: 1; }
.foot-links { display: flex; flex-direction: column; gap: 14px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.foot-links a:hover { color: var(--accent); }
.foot-links svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.foot-bottom { margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--faint); font-size: 13px; font-family: var(--mono); letter-spacing: 0.02em; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
