/* BUILT — home-v2 (draft homepage). Extends css/built.css; reuses its tokens.
   New editorial sections only. Base reset, nav, buttons, hero-bleed, telemetry,
   product-card and footer base all come from built.css. */

/* ---------- section rhythm ---------- */
.hsec { padding: clamp(4.5rem, 11vw, 9rem) 0; position: relative; }
.hsec + .hsec { border-top: 1px solid var(--line); }
.hsec--flush { padding: 0; }

.hhead { max-width: 46rem; margin: 0 0 clamp(2.25rem, 5vw, 3.5rem); }
.hhead .eyebrow { margin-bottom: 1rem; }
.htitle {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--chalk); text-wrap: balance; margin: 0;
}
.htitle em { font-style: normal; color: var(--volt); }
.hlead { margin: 1.25rem 0 0; font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.6; color: var(--smoke); max-width: 42rem; }

/* engineered image placeholder (for photography not yet supplied) */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    linear-gradient(135deg, var(--graphite) 0%, var(--ink) 70%);
  border: 1px solid var(--line); border-radius: 4px; isolation: isolate;
}
.ph::before, .ph::after {
  content: ""; position: absolute; width: 12px; height: 12px; border: 1px solid var(--line-volt);
}
.ph::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.ph::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.ph span {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--smoke); padding: 0.5rem 0.75rem; text-align: center;
}

/* ---------- 3 · trust strip ---------- */
.trust { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: linear-gradient(180deg, #0c0e10, var(--ink)); }
.trust-inner {
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.trust-item {
  display: flex; align-items: center; gap: 0.7rem; padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.trust-item:last-child { border-bottom: 0; }
.trust-item svg { flex: none; width: 16px; height: 16px; stroke: var(--volt); }
.trust-item span { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--chalk); }
@media (min-width: 720px) {
  .trust-inner { grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; }
  .trust-item { border-bottom: 0; border-right: 1px solid var(--line); padding: 1.4rem 1.6rem 1.4rem 0; }
  .trust-item:nth-child(3n), .trust-item:last-child { border-right: 0; }
}
@media (min-width: 1080px) { .trust-inner { grid-template-columns: repeat(5, 1fr); } .trust-item:nth-child(3n) { border-right: 1px solid var(--line); } .trust-item:last-child { border-right: 0; } }

/* ---------- 4 · shop by ride (campaign panels) ---------- */
.terrain-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .terrain-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.terrain-panel {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 62vh; padding: 2rem; overflow: hidden; border: 1px solid var(--line);
  text-decoration: none; isolation: isolate; background: var(--graphite);
}
@media (min-width: 860px) { .terrain-panel { min-height: 32rem; } }
.terrain-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1); filter: saturate(1.02);
}
.terrain-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,11,12,0.15) 0%, rgba(10,11,12,0.35) 45%, rgba(10,11,12,0.92) 100%);
}
.terrain-panel:hover img { transform: scale(1.05); }
.terrain-panel .eyebrow { margin-bottom: 0.6rem; }
.terrain-panel h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1; color: var(--white); margin: 0; letter-spacing: -0.01em; }
.terrain-panel p { margin: 0.75rem 0 1.25rem; color: var(--smoke); font-size: 0.95rem; line-height: 1.5; max-width: 26rem; }
.terrain-cta { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--volt); display: inline-flex; align-items: center; gap: 0.5rem; }
.terrain-panel:hover .terrain-cta { gap: 0.8rem; }
.terrain-cta { transition: gap 0.3s ease; }

/* ---------- 5 · flagship editorial grid ---------- */
.flag-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 720px) { .flag-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.75rem; align-items: stretch; } }
.flag-card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); background: var(--graphite-2); border-radius: 4px; overflow: hidden; transition: border-color 0.35s ease, transform 0.35s ease; }
.flag-card:hover { border-color: var(--line-strong); }
.flag-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.flag-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.flag-card:hover .flag-media img { transform: scale(1.04); }
.flag-cat { position: absolute; top: 0.9rem; left: 0.9rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); background: var(--volt); padding: 0.28rem 0.55rem; border-radius: 3px; }
.flag-avail { position: absolute; top: 0.9rem; right: 0.9rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--chalk); display: inline-flex; align-items: center; gap: 0.4rem; }
.flag-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.flag-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--chalk); margin: 0; }
.flag-desc { color: var(--smoke); font-size: 0.92rem; line-height: 1.5; margin: 0; flex: 1; }
.flag-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.flag-price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--white); }
.flag-fin { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--smoke); text-transform: uppercase; }
.flag-view { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--volt); white-space: nowrap; }

/* full-width feature card (e.g. new arrival) inside the flagship grid */
.flag-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; text-decoration: none; border: 1px solid var(--line); background: var(--graphite-2); border-radius: 4px; overflow: hidden; transition: border-color 0.35s ease; }
@media (min-width: 760px) { .flag-feature { grid-template-columns: 1.15fr 0.85fr; } }
.flag-feature:hover { border-color: var(--line-strong); }
.ff-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
@media (min-width: 760px) { .ff-media { aspect-ratio: auto; min-height: 20rem; } }
.ff-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.flag-feature:hover .ff-media img { transform: scale(1.03); }
.ff-cat { position: absolute; top: 0.9rem; left: 0.9rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); background: var(--volt); padding: 0.28rem 0.55rem; border-radius: 3px; }
.ff-body { padding: clamp(1.6rem, 3.2vw, 2.6rem); display: flex; flex-direction: column; gap: 0.8rem; justify-content: center; }
.ff-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt); }
.ff-body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--chalk); margin: 0; }
.ff-desc { color: var(--smoke); font-size: 0.98rem; line-height: 1.55; margin: 0; }
.ff-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.ff-price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--white); }
.ff-view { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--volt); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .ff-media img { transition: none; } }

/* ---------- 6 · brand story ---------- */
.brandstory-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .brandstory-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }
.brandstory-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; }
.brandstory-media img { width: 100%; height: 100%; object-fit: cover; }
.brandstory-copy .htitle { font-size: clamp(1.9rem, 4vw, 3rem); }

/* ---------- 7 · why built (contrast band) ---------- */
.why { background: #06070800; position: relative; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, rgba(194,233,19,0.05), transparent 55%); pointer-events: none; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 620px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-cell { background: var(--ink); padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; }
.why-cell .n { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--volt); }
.why-cell h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--chalk); margin: 0; }
.why-cell p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--smoke); }

/* ---------- 8 · workshop proof ---------- */
.workshop-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 940px) { .workshop-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: start; } }
.workshop-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9rem; gap: 0.7rem; }
.wm { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; }
.wm img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.04); }
.wm--tall { grid-column: 1; grid-row: 1 / span 2; }
.workshop-services { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.5rem; }
.workshop-services li { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.03em; color: var(--chalk); display: flex; align-items: baseline; gap: 0.6rem; }
.workshop-services li::before { content: ""; width: 6px; height: 6px; background: var(--volt); border-radius: 1px; transform: translateY(-1px); flex: none; }

/* ---------- 9 · how buying works ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: step; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 2rem 0; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 0.7rem; }
@media (min-width: 800px) { .step { padding: 2rem 1.75rem 2rem 0; border-top: 1px solid var(--line-strong); } }
.step .snum { font-family: var(--font-mono); font-size: 0.8rem; color: var(--volt); letter-spacing: 0.1em; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--chalk); margin: 0; }
.step p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--smoke); }

/* ---------- 10 · finance (understated: zilch + paypal only) ---------- */
.finance-panel { border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(180deg, var(--graphite-2), var(--ink)); padding: clamp(2rem, 5vw, 3.25rem); display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .finance-panel { grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; } }
.finance-copy .htitle { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.finance-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.finance-marks .chip { background: var(--white); border-radius: 6px; padding: 0.6rem 0.9rem; display: inline-flex; align-items: center; }
.finance-marks .chip img { height: 1.5rem; width: auto; display: block; }
/* Zilch artwork is white — give it a dark, bordered chip instead of a white one.
   High specificity so it wins over .footer-marks .chip / .finance-marks .chip regardless of order. */
.finance-marks .chip.chip--dark,
.footer-marks .chip.chip--dark { background: transparent; border: 1px solid var(--line-strong); }
.footer-marks .chip.chip--dark { padding: 0.35rem 0.6rem; }
.finance-note { margin: 1rem 0 0; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--smoke); line-height: 1.6; }

/* ---------- 11 · reviews (empty scaffold) ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 780px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review { border: 1px solid var(--line); border-radius: 4px; padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; background: var(--graphite-2); margin: 0; }
.review .stars { color: var(--volt); font-size: 0.95rem; letter-spacing: 0.22em; }
.review blockquote { margin: 0; flex: 1; font-size: 1.02rem; line-height: 1.6; color: var(--chalk); }
.review figcaption { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--smoke); }

/* ---------- 12 · partners ---------- */
.partners { position: relative; }
.partners-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .partners-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }
.partners-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.partners-points li { font-size: 0.92rem; color: var(--chalk); display: flex; align-items: baseline; gap: 0.7rem; line-height: 1.5; }
.partners-points li::before { content: "—"; color: var(--volt); flex: none; }
.brands-marquee { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: 2.25rem; border-top: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.brands-track { display: flex; width: max-content; animation: brands-scroll 30s linear infinite; }
.brands-marquee:hover .brands-track { animation-play-state: paused; }
.brands-strip { list-style: none; margin: 0; padding: 0 clamp(2.5rem, 6vw, 5rem) 0 0; display: flex; align-items: center; gap: 0 clamp(2.5rem, 6vw, 5rem); }
.brands-strip li { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.7rem); letter-spacing: 0.03em; text-transform: uppercase; color: var(--chalk); opacity: 0.82; white-space: nowrap; }
@keyframes brands-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; }
  .brands-strip[aria-hidden="true"] { display: none; }
  .brands-strip { flex-wrap: wrap; justify-content: center; gap: 1.25rem 2rem; padding-right: 0; }
}

/* ---------- 13 · closing cta ---------- */
.closing { text-align: center; background: linear-gradient(180deg, var(--ink), #08090a); }
.closing .eyebrow { justify-content: center; display: inline-flex; }
.closing .htitle { font-size: clamp(2.4rem, 7vw, 4.5rem); margin: 1rem auto 0; max-width: 16ch; }
.closing p { margin: 1.5rem auto 2rem; max-width: 40rem; color: var(--smoke); font-size: 1.05rem; line-height: 1.6; }
.closing .btn-row { justify-content: center; }

/* ---------- 14 · journal / instagram ---------- */
.journal-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.journal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 780px) { .journal-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.journal-item { aspect-ratio: 4 / 5; }
.journal-item.ph span { font-size: 0.6rem; }

/* ---------- 15 · expanded footer additions ---------- */
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smoke); margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--chalk); text-decoration: none; font-size: 0.88rem; }
.footer-col a:hover { color: var(--volt); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.footer-legal p { margin: 0; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; color: var(--smoke); line-height: 1.7; }
.footer-marks { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-marks .chip { background: var(--white); border-radius: 5px; padding: 0.35rem 0.55rem; display: inline-flex; }
.footer-marks .chip img { height: 1.05rem; width: auto; display: block; }

@media (prefers-reduced-motion: reduce) {
  .terrain-panel img, .flag-media img, .terrain-cta { transition: none; }
}
