/* ============================================================
   TUFF EMOTO — COMPONENT STYLES
   Mobile-first. Desktop is the adaptation.
   No hardcoded colors: every value references a token in
   theme.css.
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  letter-spacing: var(--tr-tight);
  line-height: var(--lh-snug);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 { font-size: var(--fs-4xl); line-height: var(--lh-tight); text-transform: uppercase; }
h2 { font-size: var(--fs-3xl); text-transform: uppercase; }
h3 { font-size: var(--fs-xl); }

p { margin: 0 0 var(--sp-4); }

a { color: var(--c-text); text-decoration-color: var(--c-line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--c-text); }

ul { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--sp-2); top: -100px;
  z-index: var(--z-toast);
  background: var(--c-surface); color: var(--c-text);
  padding: var(--sp-3) var(--sp-4);
  border: var(--border); border-radius: var(--r-md);
}
.skip-link:focus { top: var(--sp-2); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-12); }
.section--tight { padding-block: var(--sp-8); }
.section--flush-top { padding-top: 0; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.section__head h2 { margin: 0; }

.eyebrow {
  font-size: var(--fs-2xs);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: var(--c-text-muted);
  margin: 0 0 var(--sp-3);
}

.lede {
  font-size: var(--fs-lg);
  color: var(--c-text-2);
  max-width: var(--wrap-text);
}

.text-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tr-normal);
  color: var(--c-text-2);
  white-space: nowrap;
}
.text-link:hover { color: var(--c-text); }

.rule { border: 0; border-top: var(--border); margin: 0; }

/* ---------- Placeholder imagery ----------
   Labeled gray blocks at true aspect ratios. Replace with real
   photography at launch — see README. */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      135deg,
      var(--c-surface-2) 0 10px,
      var(--c-surface) 10px 20px
    );
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  color: var(--c-text-muted);
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  text-align: center;
  padding: var(--sp-2) var(--sp-3);
  background: var(--c-base);
  border: var(--border);
  border-radius: var(--r-pill);
  max-width: 90%;
}
.ph--1x1  { aspect-ratio: 1 / 1; }
.ph--4x5  { aspect-ratio: 4 / 5; }
.ph--3x4  { aspect-ratio: 3 / 4; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--21x9 { aspect-ratio: 21 / 9; }
.ph--hero { aspect-ratio: 4 / 5; }
@media (min-width: 760px) { .ph--hero { aspect-ratio: 16 / 9; } }

.product-image {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--c-surface-2);
}
.product-image--1x1 { aspect-ratio: 1 / 1; }
.product-image--4x5 { aspect-ratio: 4 / 5; }
.product-image--3x4 { aspect-ratio: 3 / 4; }
.product-image--16x9 { aspect-ratio: 16 / 9; }
.product-image--21x9 { aspect-ratio: 21 / 9; }

/* Real editorial photography */
.site-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-story__image {
  height: clamp(360px, 105vw, 560px);
  border-radius: var(--r-md);
  object-fit: cover;
  object-position: 50% 48%;
}
.about-story {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}
.about-story__media { min-width: 0; }
.about-story__copy { max-width: none; }
.about-story__copy h1 { margin-bottom: var(--sp-6); }
.about-story__copy .lede { max-width: none; }
.about-story__copy > :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .about-story {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(var(--sp-8), 6vw, var(--sp-12));
    align-items: start;
  }
  .about-story__image { height: clamp(620px, 58vw, 760px); }
}

/* TODO markers on placeholder content slots */
.todo-flag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--c-flag-ink);
  background: var(--c-flag);
  border-radius: var(--r-sm);
  padding: 2px var(--sp-2);
}

/* ---------- Buttons ----------
   .btn--buy is the ONLY accent-colored element on the site. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-5);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--buy {
  background: var(--c-accent);
  color: var(--c-accent-ink);
  box-shadow: var(--shadow-cta);
}
.btn--buy:hover { background: var(--c-accent-hover); }
.btn--buy:active { background: var(--c-accent-press); }

.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-line-strong);
}
.btn--ghost:hover { border-color: var(--c-text-2); background: var(--c-surface); }

.btn--quiet {
  background: var(--c-surface-2);
  color: var(--c-text);
  border-color: var(--c-line);
}
.btn--quiet:hover { background: var(--c-surface-3); }

.btn--block { width: 100%; }
.btn--lg { min-height: 54px; font-size: var(--fs-md); padding-inline: var(--sp-8); }
.btn--sm { min-height: 40px; font-size: var(--fs-2xs); padding-inline: var(--sp-4); }

.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--c-surface-3);
  color: var(--c-text-disabled);
  border-color: var(--c-line);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Announcement ---------- */
.announce {
  background: var(--c-void);
  border-bottom: var(--border);
  text-align: center;
  font-size: var(--fs-2xs);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--c-text-2);
  padding: var(--sp-2) var(--gutter);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-surface);
  border-bottom: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: var(--header-h);
}

/* Brand lockup: the TE bolt mark beside the TUFF EMOTO wordmark.
   The wordmark is 12.47:1, so it is sized on its own scale rather than
   as a fraction of the mark, and it drops out below 600px where the
   header cannot give it the width it needs — the mark carries the
   header alone at that size, which is what the logo package
   recommends. Nothing is stretched, condensed or recolored. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  margin-right: auto;
  padding-block: var(--logo-clear);
}
.brand__mark {
  height: var(--logo-h);
  width: auto;
  display: block;
  flex: 0 0 auto;
}
.brand__word {
  height: var(--word-h);
  width: auto;
  display: none;
  flex: 0 0 auto;
  /* Optical centring: the mark's bolt tail hangs below its box, so
     centring on geometry alone sits the wordmark a touch low. */
  margin-top: -0.12em;
}
@media (min-width: 600px) {
  .brand { gap: var(--sp-4); }
  .brand__word { display: block; }
}
@media (min-width: 900px) {
  .brand { --logo-h: 34px; }
  .brand__word { height: var(--word-h-md); }
}

.brand--lg { --logo-h: var(--logo-h-lg); margin-right: 0; }
.brand--lg .brand__word { height: var(--word-h-lg); }

/* Contexts with room to spare always show the full lockup. */
.mobile-nav__head .brand__word,
.footer .brand__word { display: block; }

/* Mark only — for when the brand is known enough to drop the words. */
.brand--mark-only .brand__word { display: none !important; }

/* Brand stamp band — the mark at size, given the clear space the
   package asks for. Replaces the old scrolling type marquee now that
   there is a real mark to show. */
.brand-band {
  display: grid;
  place-items: center;
  background: var(--c-surface);
  border-block: var(--border);
  padding: clamp(var(--sp-10), 9vw, var(--sp-20)) var(--gutter);
}
.brand-band__mark {
  height: var(--logo-h-xl);
  width: auto;
  display: block;
}

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: var(--sp-6); margin-right: var(--sp-6); }
  .nav a {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi);
    letter-spacing: var(--tr-normal);
    text-decoration: none;
    color: var(--c-text-2);
  }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--c-text); }
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
}
.icon-btn:hover { background: var(--c-surface-2); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.cart-badge {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: var(--c-flag);
  color: var(--c-flag-ink);
  border-radius: var(--r-pill);
  font-size: var(--fs-3xs);
  font-weight: var(--fw-bold);
  line-height: 1;
}
.cart-badge[hidden] { display: none; }

.header__menu-btn { display: inline-grid; }
@media (min-width: 900px) { .header__menu-btn { display: none; } }

/* Mobile nav sheet */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: var(--c-base);
  padding: var(--sp-4) var(--gutter) var(--sp-8);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease), visibility var(--dur-slow);
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform var(--dur-slow) var(--ease);
}
.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  min-height: var(--header-h); margin-bottom: var(--sp-6);
}
.mobile-nav__head .brand { margin-right: auto; }
.mobile-nav__links a {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: var(--tr-tight);
  text-decoration: none;
  padding: var(--sp-3) 0;
  border-bottom: var(--border);
}
.mobile-nav__cta { margin-top: var(--sp-8); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: var(--sp-6) var(--sp-10); }
.hero__grid { display: grid; gap: var(--sp-6); }
.hero__title { margin-bottom: var(--sp-3); }
.hero__title em {
  font-style: normal;
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tr-normal);
  text-transform: none;
  color: var(--c-text-muted);
}
.hero__copy { color: var(--c-text-2); font-size: var(--fs-lg); max-width: 42ch; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.hero__actions .btn { flex: 1 1 auto; min-width: 160px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  margin-top: var(--sp-6);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.hero__meta li { display: flex; align-items: center; gap: var(--sp-2); }

@media (min-width: 900px) {
  .hero { padding-block: var(--sp-12) var(--sp-16); }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: var(--sp-12);
  }
  .hero__media { order: 2; }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* ---------- Category rail ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 42%;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-2);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 760px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
}

.cat-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--r-md);
  overflow: hidden;
  border: var(--border);
  background: var(--c-surface);
}
.cat-card__label {
  position: absolute; left: var(--sp-3); bottom: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--tr-wide);
  background: var(--c-base);
  border: var(--border);
  border-radius: var(--r-pill);
  padding: var(--sp-1) var(--sp-3);
}
.cat-card:hover { border-color: var(--c-line-strong); }

/* ---------- Product grid + card ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}
@media (min-width: 700px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); } }
@media (min-width: 1000px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.card:hover { border-color: var(--c-line-strong); }

.card__media { position: relative; display: block; }
.card__media .ph { border: 0; border-radius: 0; }

.card__badge {
  position: absolute; top: var(--sp-2); left: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: var(--tr-wide);
  background: var(--c-flag);
  color: var(--c-flag-ink);
  border-radius: var(--r-sm);
  padding: 2px var(--sp-2);
  font-weight: var(--fw-bold);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-3);
  flex: 1;
}
@media (min-width: 700px) { .card__body { padding: var(--sp-4); } }

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-normal);
  margin: 0;
}
.card__title a { text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }

.card__sub {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__pricerow {
  display: flex; align-items: baseline; gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-1);
}
.price {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-normal);
}
.price--compare {
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  color: var(--c-text-muted);
  text-decoration: line-through;
}

.card__action { position: relative; z-index: 1; }

/* ---------- Stars ---------- */
.stars { display: inline-flex; align-items: center; gap: var(--sp-2); }
.stars__icons { display: inline-flex; gap: 2px; }
.stars__icons svg { width: 13px; height: 13px; fill: var(--c-star-empty); }
.stars__icons svg.is-on { fill: var(--c-star); }
.stars__count { font-size: var(--fs-3xs); color: var(--c-text-muted); }
.stars--lg .stars__icons svg { width: 16px; height: 16px; }
.stars--lg .stars__count { font-size: var(--fs-xs); }

/* ---------- Filter chips ---------- */
.chips {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-bottom: var(--sp-2);
  margin-bottom: var(--sp-5);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  background: var(--c-surface-2);
  color: var(--c-text-2);
  border: var(--border);
  border-radius: var(--r-pill);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  cursor: pointer;
  min-height: 40px;
}
.chip:hover { color: var(--c-text); border-color: var(--c-line-strong); }
.chip[aria-pressed="true"] {
  background: var(--c-text);
  color: var(--c-text-invert);
  border-color: var(--c-text);
}

/* ---------- Product detail ---------- */
.pdp { display: grid; gap: var(--sp-6); padding-block: var(--sp-6) var(--sp-10); }
@media (min-width: 900px) {
  .pdp {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--sp-12);
    align-items: start;
    padding-block: var(--sp-10) var(--sp-16);
  }
  .pdp__info { position: sticky; top: calc(var(--header-h) + var(--sp-6)); }
}

.pdp__gallery { display: grid; gap: var(--sp-2); }
.pdp__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
.pdp__thumb {
  padding: 0; border: var(--border); background: transparent;
  border-radius: var(--r-md); overflow: hidden; cursor: pointer;
}
.pdp__thumb[aria-pressed="true"] { border-color: var(--c-text-2); }
.pdp__thumb .ph { border: 0; border-radius: 0; }
.pdp__thumb .ph::after { font-size: 9px; padding: 2px var(--sp-2); }

.pdp__crumbs { padding-top: var(--sp-4); }

.breadcrumb {
  font-size: var(--fs-2xs);
  color: var(--c-text-muted);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.breadcrumb a { color: var(--c-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-text-2); }

.pdp__title { font-size: var(--fs-3xl); margin-bottom: var(--sp-2); }
.pdp__price { font-size: var(--fs-2xl); }
.pdp__pricerow { display: flex; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-4); }

.opt { margin-bottom: var(--sp-5); }
.opt__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--sp-3);
}
.opt__label {
  font-size: var(--fs-2xs);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: var(--c-text-muted);
}
.opt__list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.opt__btn {
  min-width: 56px; min-height: 46px;
  padding: 0 var(--sp-3);
  background: var(--c-surface-2);
  border: var(--border);
  border-radius: var(--r-md);
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  cursor: pointer;
}
.opt__btn:hover { border-color: var(--c-line-strong); color: var(--c-text); }
.opt__btn[aria-pressed="true"] {
  background: var(--c-text);
  color: var(--c-text-invert);
  border-color: var(--c-text);
}
.opt__btn[disabled] {
  background: var(--c-surface-3);
  color: var(--c-text-disabled);
  cursor: not-allowed;
  text-decoration: line-through;
}

.stock {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--c-ok);
  margin-bottom: var(--sp-4);
}
.stock__dot { width: 7px; height: 7px; border-radius: var(--r-pill); background: var(--c-ok); }
.stock--choose { color: var(--c-text-muted); }
.stock--out { color: var(--c-text-muted); }
.stock--out .stock__dot { background: var(--c-text-muted); }

.buybox { display: flex; gap: var(--sp-3); align-items: stretch; }
.buybox .btn { flex: 1; }

.qty {
  display: inline-flex;
  align-items: center;
  border: var(--border);
  border-radius: var(--r-md);
  background: var(--c-surface-2);
  overflow: hidden;
}
.qty button {
  width: 44px; height: 100%; min-height: 48px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--c-text-2); font-size: var(--fs-lg);
}
.qty button:hover { color: var(--c-text); background: var(--c-surface-3); }
.qty input {
  width: 40px; text-align: center;
  background: transparent; border: 0; color: var(--c-text);
  font-size: var(--fs-sm); font-weight: var(--fw-bold);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp__reassure {
  display: grid; gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: var(--border);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.pdp__reassure li { display: flex; gap: var(--sp-2); align-items: flex-start; }

.acc { border-top: var(--border); }
.acc__item { border-bottom: var(--border); }
.acc__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  text-align: left;
}
.acc__btn::after { content: '+'; color: var(--c-text-muted); font-size: var(--fs-lg); }
.acc__btn[aria-expanded="true"]::after { content: '–'; }
.acc__panel { padding-bottom: var(--sp-4); color: var(--c-text-2); font-size: var(--fs-sm); }
.acc__panel[hidden] { display: none; }
.acc__panel li { position: relative; padding-left: var(--sp-4); margin-bottom: var(--sp-2); }
.acc__panel li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 1px; background: var(--c-line-strong);
}

/* ---------- Sticky mobile buy bar ---------- */
.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--gutter);
  padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: var(--c-surface);
  border-top: var(--border);
  box-shadow: var(--shadow-3);
  transform: translateY(110%);
  transition: transform var(--dur-slow) var(--ease);
}
.stickybar.is-visible { transform: translateY(0); }
.stickybar__meta { flex: 0 0 auto; min-width: 0; }
.stickybar__title {
  font-size: var(--fs-2xs);
  color: var(--c-text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 22vw;
  margin: 0;
}
.stickybar__price { font-size: var(--fs-md); font-weight: var(--fw-bold); font-family: var(--font-display); }
.stickybar .btn--buy { flex: 1; }
.stickybar .icon-btn { flex: 0 0 auto; border: var(--border); }
body.has-stickybar { padding-bottom: var(--stickybar-h); }
@media (min-width: 900px) {
  .stickybar { display: none; }
  body.has-stickybar { padding-bottom: 0; }
}

/* ---------- Social proof ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}
@media (min-width: 700px) { .proof-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); } }

.review {
  background: var(--c-surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.review__quote { font-size: var(--fs-sm); color: var(--c-text); margin: 0; }
.review__who { font-size: var(--fs-2xs); color: var(--c-text-muted); margin: 0; }

.grid-reviews { display: grid; gap: var(--sp-3); }
@media (min-width: 760px) { .grid-reviews { grid-template-columns: repeat(3, 1fr); } }

.ridden-by {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.ridden-by li {
  flex: 1 1 140px;
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* ---------- Value props ---------- */
.props { display: grid; gap: var(--sp-3); }
@media (min-width: 760px) { .props { grid-template-columns: repeat(3, 1fr); } }
.prop {
  border: var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  background: var(--c-surface);
}
.prop h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); text-transform: uppercase; letter-spacing: var(--tr-wide); }
.prop p { margin: 0; font-size: var(--fs-sm); color: var(--c-text-2); }

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed; inset: 0;
  z-index: var(--z-drawer);
  background: var(--c-void);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.overlay.is-open { opacity: 0.72; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border-left: var(--border);
  box-shadow: var(--shadow-2);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease), visibility var(--dur-slow);
}
.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform var(--dur-slow) var(--ease);
}

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-bottom: var(--border);
}
.drawer__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: var(--tr-wide);
  margin: 0;
}
.drawer__body { flex: 1; overflow-y: auto; padding: var(--sp-4); }
.drawer__foot {
  border-top: var(--border);
  padding: var(--sp-4);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: var(--sp-3);
  background: var(--c-surface);
}

.ship-meter { display: grid; gap: var(--sp-2); font-size: var(--fs-xs); color: var(--c-text-2); }
.ship-meter__track { height: 4px; border-radius: var(--r-pill); background: var(--c-surface-3); overflow: hidden; }
.ship-meter__fill { height: 100%; background: var(--c-text-2); width: 0; transition: width var(--dur-slow) var(--ease); }

.subtotal {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--tr-wide);
  font-size: var(--fs-sm);
}
.subtotal__value { font-size: var(--fs-xl); }
.drawer__note { font-size: var(--fs-3xs); color: var(--c-text-muted); margin: 0; text-align: center; }

.line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: var(--border);
}
.line:last-child { border-bottom: 0; margin-bottom: 0; }
.line__media .ph { border-radius: var(--r-md); }
.line__media .ph::after { font-size: 8px; padding: 1px var(--sp-1); }
.line__title { font-size: var(--fs-sm); font-weight: var(--fw-semi); margin: 0 0 2px; }
.line__variant { font-size: var(--fs-2xs); color: var(--c-text-muted); margin: 0 0 var(--sp-2); }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.line__price { font-weight: var(--fw-bold); font-size: var(--fs-sm); }
.line__links { display: flex; align-items: center; gap: var(--sp-4); }
.line__link {
  font-size: var(--fs-2xs);
  color: var(--c-text-muted);
  text-decoration: underline;
}
.line__link:hover { color: var(--c-text); }

.line__remove {
  background: none; border: 0; cursor: pointer;
  font-size: var(--fs-2xs); color: var(--c-text-muted);
  text-decoration: underline; padding: var(--sp-1) 0;
}
.line__remove:hover { color: var(--c-text); }
.qty--sm button { min-height: 34px; width: 34px; font-size: var(--fs-md); }
.qty--sm input { width: 32px; font-size: var(--fs-2xs); }

.cart-empty { text-align: center; padding: var(--sp-10) var(--sp-4); color: var(--c-text-muted); }
.cart-empty h3 { color: var(--c-text); font-size: var(--fs-lg); }

/* ---------- Mock checkout screen ---------- */
.mock-screen {
  position: fixed; inset: 0;
  z-index: var(--z-toast);
  background: var(--c-base);
  overflow-y: auto;
  padding: var(--sp-6) var(--gutter) var(--sp-16);
  visibility: hidden; opacity: 0;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.mock-screen.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--dur) var(--ease);
}
.mock-screen__inner { max-width: 620px; margin-inline: auto; }
.mock-screen__close { margin-bottom: var(--sp-6); }

.mock-receipt__flag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: var(--tr-wide);
  background: var(--c-flag);
  color: var(--c-flag-ink);
  border-radius: var(--r-sm);
  padding: var(--sp-1) var(--sp-2);
  margin-bottom: var(--sp-4);
}
.mock-receipt__title { font-size: var(--fs-2xl); }
.mock-receipt__lede { color: var(--c-text-2); font-size: var(--fs-sm); }
.mock-receipt__lede code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  background: var(--c-surface-2);
  border: var(--border);
  border-radius: var(--r-sm);
  padding: 1px 5px;
}
.mock-receipt__table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0 var(--sp-4);
  font-size: var(--fs-sm);
}
.mock-receipt__table td { border-bottom: var(--border); padding: var(--sp-3) 0; }
.mock-receipt__table .num { text-align: right; white-space: nowrap; }
.mock-receipt__table tfoot td {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--tr-wide);
  border-bottom: 0;
}
.mock-receipt__variant { color: var(--c-text-muted); }
.mock-receipt__ref { font-family: var(--font-mono); font-size: var(--fs-3xs); color: var(--c-text-muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 140%);
  z-index: var(--z-toast);
  display: flex; align-items: center; gap: var(--sp-3);
  background: var(--c-surface-2);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease),
              opacity var(--dur) var(--ease),
              visibility var(--dur);
  max-width: calc(100vw - var(--sp-8));
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
body.has-stickybar .toast { bottom: calc(var(--stickybar-h) + var(--sp-4)); }

/* ---------- Editorial / about ---------- */
.prose { max-width: var(--wrap-text); }
.prose p { color: var(--c-text-2); }
.prose h2 { margin-top: var(--sp-10); }
.prose h3 { margin-top: var(--sp-8); font-size: var(--fs-lg); text-transform: uppercase; letter-spacing: var(--tr-wide); }

.pullquote {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: var(--tr-tight);
  line-height: var(--lh-snug);
  border-left: 3px solid var(--c-line-strong);
  padding-left: var(--sp-5);
  margin: var(--sp-10) 0;
  color: var(--c-text);
}

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat {
  border: var(--border); border-radius: var(--r-lg);
  padding: var(--sp-4); background: var(--c-surface);
}
.stat__value { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-black); }
.stat__label { font-size: var(--fs-2xs); color: var(--c-text-muted); text-transform: uppercase; letter-spacing: var(--tr-wide); }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-void);
  border-top: var(--border);
  padding-block: var(--sp-10) var(--sp-8);
  margin-top: var(--sp-12);
}
.footer__grid { display: grid; gap: var(--sp-8); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer h4 {
  font-size: var(--fs-2xs);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-3);
}
.footer li { margin-bottom: var(--sp-2); }
.footer a { font-size: var(--fs-sm); color: var(--c-text-2); text-decoration: none; }
.footer a:hover { color: var(--c-text); }
.footer__legal {
  margin-top: var(--sp-8); padding-top: var(--sp-5);
  border-top: var(--border);
  font-size: var(--fs-3xs);
  color: var(--c-text-muted);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between;
}
.footer__blurb { font-size: var(--fs-sm); color: var(--c-text-2); max-width: 40ch; margin-top: var(--sp-4); }

/* ---------- Small utilities (replace inline styles) ---------- */
.panel-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: var(--sp-10) var(--sp-5);
}
.panel-cta .lede {
  width: 100%;
  margin-bottom: var(--sp-6);
  text-align: center;
}
.lede--center { margin-inline: auto; }
.pdp__subtitle { font-size: var(--fs-md); color: var(--c-text-2); margin-bottom: var(--sp-3); }
.text-center { text-align: center; }

/* ============================================================
   HOME — IMAGE-LED BLOCKS
   ============================================================ */

/* Placeholder that fills its parent instead of holding a ratio */
.ph--fill { height: 100%; width: 100%; aspect-ratio: auto; border-radius: 0; border: 0; }
/* Corner the label so it never collides with overlaid headline copy. */
.ph--fill::after { position: absolute; top: var(--sp-4); right: var(--sp-4); }

/* ---------- Full-bleed hero ---------- */
.hero-full {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 86vh;
  min-height: 86svh;
  overflow: hidden;
  border-bottom: var(--border);
}
.hero-full__media { position: absolute; inset: 0; background: var(--c-void); }
.hero-full__image { object-position: 50% 50%; }
.hero-full__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    var(--c-scrim-strong) 0%,
    var(--c-scrim-mid) 42%,
    var(--c-scrim-soft) 100%
  );
}
.hero-full__inner {
  position: relative;
  width: 100%;
  padding-block: var(--sp-10) var(--sp-8);
}
.hero-full__title { margin-bottom: var(--sp-4); }
.hero-full__line {
  font-size: var(--fs-lg);
  color: var(--c-text-2);
  max-width: 30ch;
  margin-bottom: var(--sp-6);
}
.hero-full__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero-full__actions .btn { flex: 1 1 auto; min-width: 150px; }
@media (min-width: 900px) {
  .hero-full { min-height: 90svh; align-items: center; }
  .hero-full__inner { padding-block: var(--sp-16); }
  .hero-full__title { max-width: 16ch; }
  .hero-full__actions .btn { flex: 0 0 auto; }
}

/* ---------- Claims strip (replaces paragraph blocks) ---------- */
.claims {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3) var(--sp-6);
  padding-block: var(--sp-5);
  border-block: var(--border);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--c-text-muted);
  text-align: center;
}

/* ---------- Editorial split band ---------- */
.band { display: grid; gap: var(--sp-3); }
.band__media {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
}
.band__image { aspect-ratio: 16 / 9; object-position: 50% 52%; }
@media (min-width: 900px) {
  .band { grid-template-columns: 1.35fr 1fr; align-items: stretch; }
  .band__media .ph { height: 100%; aspect-ratio: auto; }
  .band__image { aspect-ratio: auto; }
}
.band__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--c-surface);
  border: var(--border);
  border-radius: var(--r-lg);
}
.band__title { font-size: var(--fs-2xl); margin: 0; }
.band__text p { margin: 0; color: var(--c-text-2); }

/* ---------- Image CTA band ---------- */
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  overflow: hidden;
  border-block: var(--border);
  text-align: center;
}
.cta-band__media { position: absolute; inset: 0; background: var(--c-void); }
.cta-band__image { object-position: 50% 43%; }
.cta-band__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--c-scrim-strong), var(--c-scrim-mid));
}
.cta-band__inner { position: relative; padding: var(--sp-10) var(--gutter); }
.cta-band__inner h2 { margin-bottom: var(--sp-3); }
.cta-band__inner p { color: var(--c-text-2); margin-bottom: var(--sp-6); }
@media (min-width: 900px) { .cta-band { min-height: 440px; } }

/* ---------- Rider photo grid, larger ---------- */
.proof-grid--lg { gap: var(--sp-2); }
@media (min-width: 900px) { .proof-grid--lg { grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); } }

/* ============================================================
   REVIEWS, EMPTY STATES, EMAIL CAPTURE
   ============================================================ */

.review__title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-normal);
  margin: 0;
}
.review__tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; }
.review__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--c-text-muted);
  border: var(--border);
  border-radius: var(--r-sm);
  padding: 2px var(--sp-2);
}
.review__tag--ok { color: var(--c-ok); border-color: var(--c-ok); }

/* Honest empty state — used wherever real data does not exist yet */
.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
}
.empty-state p { margin: 0 auto; max-width: 52ch; }
.empty-state__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: var(--tr-tight);
  color: var(--c-text);
  margin-bottom: var(--sp-2) !important;
}

/* Footer email capture. Inline only — never a popup. */
.signup { margin-top: var(--sp-5); }
.signup__row { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.signup__input {
  flex: 1 1 180px;
  min-height: 48px;
  padding: 0 var(--sp-4);
  background: var(--c-surface);
  border: var(--border);
  border-radius: var(--r-md);
  color: var(--c-text);
  font-size: var(--fs-sm);
}
.signup__input::placeholder { color: var(--c-text-muted); }
.signup__input:focus { border-color: var(--c-line-strong); }
.signup__note { font-size: var(--fs-3xs); color: var(--c-text-muted); margin: var(--sp-2) 0 0; }
.signup__note--error { color: var(--c-text-2); }
.signup__note--ok { color: var(--c-ok); }
.signup[data-disabled="true"] .signup__input { opacity: 0.7; }

/* ---------- 404 ---------- */
.notfound {
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--sp-20);
  min-height: 52vh;
}
.notfound__code {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: var(--tr-wider);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-4);
}
.notfound__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; justify-content: center; margin-top: var(--sp-6); }

/* ============================================================
   SMALL-CATALOGUE LAYOUTS
   A three-product store should look deliberate, not unfinished.
   These override the 4-up default and must stay last in the file
   so they win the cascade against the wider breakpoints above.
   ============================================================ */
.grid-products--n1 { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
@media (min-width: 700px) {
  .grid-products--n1 { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
  .grid-products--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; }
  .grid-products--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.notice {
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-8);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  background: var(--c-surface);
}
.notice p { margin: 0; }
.notice p + p { margin-top: var(--sp-2); }

.page-head { padding-block: var(--sp-10) var(--sp-6); }
.page-head h1 { font-size: var(--fs-3xl); }
.page-head .lede { margin-bottom: 0; }

.prose h2 { font-size: var(--fs-xl); }
.prose ul.bullets { margin: 0 0 var(--sp-4); }
.prose ul.bullets li {
  position: relative;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-2);
  color: var(--c-text-2);
}
.prose ul.bullets li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--c-line-strong);
}
.prose dl { margin: 0 0 var(--sp-6); }
.prose dt {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--tr-wide);
  font-size: var(--fs-sm);
  margin-top: var(--sp-5);
}
.prose dd { margin: var(--sp-2) 0 0; color: var(--c-text-2); }
.prose__meta { font-size: var(--fs-2xs); color: var(--c-text-muted); }

/* Size / spec tables */
.table-wrap { overflow-x: auto; margin-bottom: var(--sp-6); }
.table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.table caption {
  text-align: left;
  font-size: var(--fs-2xs);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding-bottom: var(--sp-3);
}
.table th, .table td {
  border-bottom: var(--border);
  padding: var(--sp-3);
  text-align: left;
  white-space: nowrap;
}
.table thead th {
  font-family: var(--font-display);
  font-size: var(--fs-2xs);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--c-text-muted);
  border-bottom-color: var(--c-line-strong);
}
.table tbody th { font-weight: var(--fw-bold); }
.table tbody tr:hover { background: var(--c-surface); }

.contact-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

/* Contact form */
.contact-shell {
  display: grid;
  gap: var(--sp-8);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-shell { grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr); }
}
.contact-form {
  position: relative;
  padding: clamp(var(--sp-5), 4vw, var(--sp-8));
  border: var(--border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { margin-bottom: var(--sp-4); }
.field label,
.captcha-box label {
  display: block;
  margin-bottom: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  color: var(--c-text-2);
}
.field label span { font-family: var(--font-body); font-weight: var(--fw-regular); letter-spacing: 0; text-transform: none; }
.field input,
.field select,
.field textarea,
.captcha-box input {
  width: 100%;
  min-height: 48px;
  border: var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: var(--c-bg);
  color: var(--c-text);
  font: inherit;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus,
.captcha-box input:focus {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-color: transparent;
}
.captcha-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: var(--sp-3);
  align-items: end;
  padding: var(--sp-4);
  border: var(--border);
  border-radius: var(--r-md);
  background: var(--c-bg);
}
.captcha-box label { margin: 0; align-self: center; }
.captcha-box input { background: var(--c-surface); text-align: center; }
.contact-form__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4);
  align-items: center;
  margin-top: var(--sp-5);
}
.form-status { margin: 0; flex: 1 1 240px; font-size: var(--fs-sm); color: var(--c-text-2); }
.form-status--error { color: #ff9a78; }
.form-status--success { color: #93d7ad; }
.contact-aside {
  padding-top: var(--sp-2);
  color: var(--c-text-2);
}
.contact-aside h2 { color: var(--c-text); font-size: var(--fs-xl); }
.contact-aside strong { color: var(--c-text); }
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
