/* ==========================================================================
   YITAMOTOR — storefront stylesheet
   Visual system: photography-first, alternating full-bleed light/dark tiles,
   one action colour, no decorative gradients, no shadows except on photography.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* surface */
  --canvas: #ffffff;
  --parchment: #f5f5f7;
  --pearl: #fafafc;
  --tile-1: #272729;
  --tile-2: #2a2a2c;
  --tile-3: #252527;
  --void: #000000;

  /* text */
  --ink: #1d1d1f;
  --ink-80: #333333;
  --ink-48: #7a7a7a;
  --ink-link: #424245;
  --on-dark: #ffffff;
  --on-dark-muted: #cccccc;

  /* accent — the single interactive colour */
  --blue: #0066cc;
  --blue-focus: #0071e3;
  --blue-on-dark: #2997ff;

  /* lines */
  --hairline: #e0e0e0;
  --divider-soft: #f0f0f0;

  /* geometry */
  --r-sm: 8px;
  --r-md: 11px;
  --r-lg: 18px;
  --r-pill: 9999px;

  /* rhythm */
  --gutter: clamp(20px, 5.5vw, 80px);
  --section-y: clamp(48px, 6.2vw, 80px);
  --max: 1440px;

  /* the only shadow in the system — product photography only */
  --product-shadow: 0 3px 30px rgba(0, 0, 0, 0.22);

  /* type */
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

/* visible keyboard focus everywhere — never removed */
:focus-visible {
  outline: 2px solid var(--blue-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  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;
  top: 0;
  left: 50%;
  translate: -50% -120%;
  z-index: 100;
  padding: 10px 20px;
  background: var(--canvas);
  color: var(--ink);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.skip-link:focus {
  translate: -50% 0;
}

/* ---------- Layout helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.tile {
  padding-block: var(--section-y);
}

.tile--dark {
  background: var(--tile-1);
  color: var(--on-dark);
}

.tile--darker {
  background: var(--tile-3);
  color: var(--on-dark);
}

.tile--parchment {
  background: var(--parchment);
}

/* Tiles whose last element is a full-bleed image. The image ends flush with the
   tile edge, so the breathing room goes on the copy block instead of the tile. */
.tile--media {
  padding-block-end: 0;
}

.tile--media > .shell {
  padding-block-end: clamp(24px, 3vw, 34px);
}

/* ---------- Global nav ---------- */
.gnav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 44px;
  background: var(--void);
}

.gnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.gnav__brand {
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.123em;
}

.gnav__brand:hover {
  text-decoration: none;
}

.gnav__links {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnav__links a {
  color: #e8e8e8;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.gnav__links a:hover {
  color: #fff;
  text-decoration: none;
}

.gnav__actions {
  display: flex;
  gap: 22px;
  align-items: center;
}

.gnav__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #e8e8e8;
}

.gnav__icon:hover {
  color: #fff;
}

.gnav__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

/* ---------- Sub nav ---------- */
.snav {
  position: sticky;
  top: 44px;
  z-index: 40;
  height: 52px;
  background: color-mix(in srgb, var(--parchment) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid #e8e8ed;
}

.snav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.snav__title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
  color: var(--ink);
}

.snav__title:hover {
  text-decoration: none;
}

.snav__links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.snav__links a {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.snav__links a:hover {
  color: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-size: 17px;
  letter-spacing: -0.022em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.12s ease, background-color 0.16s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.95);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: #0071e3;
}

.btn--ghost {
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.btn--ghost:hover {
  background: rgba(0, 102, 204, 0.06);
}

.btn--sm {
  min-height: 34px;
  padding: 0 18px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

/* ---------- Tile: product story ---------- */
.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.story__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-align: center;
  max-width: 980px;
}

.eyebrow {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--blue);
}

.tile--dark .eyebrow,
.tile--darker .eyebrow {
  color: var(--blue-on-dark);
}

.story__title {
  font-size: clamp(30px, 4.1vw, 56px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.021em;
}

.story__tagline {
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--ink);
}

.tile--dark .story__tagline,
.tile--darker .story__tagline {
  color: var(--on-dark-muted);
}

.story__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

/* Full-bleed media band. Explicit width + height (rather than aspect-ratio alone)
   keeps the band deterministic next to the img's width/height attributes, which
   otherwise win the intrinsic-ratio calculation and letterbox the photo. */
.story__media {
  width: 100%;
  max-width: none;
  margin: 0;
}

.story__media img {
  display: block;
  width: 100%;
  height: clamp(300px, 43vw, 620px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: clamp(28px, 3.4vw, 40px);
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.section-head p {
  font-size: 17px;
  color: var(--ink-48);
  max-width: 620px;
}

/* ---------- Category / utility card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.card-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.u-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.u-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: #c9c9ce;
}

.u-card__media {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--canvas);
}

.u-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.u-card__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.u-card__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.u-card__meta {
  font-size: 14px;
  color: var(--ink-48);
  letter-spacing: -0.016em;
}

/* ---------- Reviews ---------- */
.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}

.review__stars {
  width: 78px;
  height: 12px;
  color: var(--ink);
}

.review__quote {
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.review__who {
  margin-top: auto;
}

.review__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.016em;
}

.review__vehicle {
  font-size: 12px;
  color: var(--ink-48);
  letter-spacing: -0.01em;
}

/* ---------- Fitment finder ---------- */
.finder {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: var(--pearl);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
}

.field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  letter-spacing: -0.022em;
  color: var(--ink);
  padding-right: 18px;
  cursor: pointer;
}

.field svg {
  width: 9px;
  height: 6px;
  flex: none;
  pointer-events: none;
  fill: none;
  stroke: var(--ink-48);
  stroke-width: 1.3;
  stroke-linecap: round;
}

.finder__note {
  width: 100%;
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-48);
}

/* ---------- Footer ---------- */
.foot {
  background: var(--parchment);
  padding-block: 56px 40px;
  /* A full-bleed rule separates the footer from a preceding parchment section.
     Without it the two light areas merge into one block and the tile rhythm dies. */
  border-top: 1px solid var(--hairline);
}

.foot__cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}

.foot__brand p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-48);
  max-width: 280px;
}

.foot__brand p + p {
  margin-top: 12px;
  white-space: pre-line;
}

.foot h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot ul a {
  font-size: 12px;
  color: var(--ink-link);
  letter-spacing: -0.01em;
}

.foot ul a:hover {
  color: var(--ink);
}

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--ink-48);
}

.foot__bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.foot__bar a {
  color: var(--ink-link);
  font-size: 12px;
}

/* ==========================================================================
   Catalogue page
   ========================================================================== */
.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-block: 14px;
  font-size: 12px;
  color: var(--ink-48);
}

.crumb a {
  color: var(--ink-48);
}

.crumb a:hover {
  color: var(--ink);
}

.crumb [aria-current] {
  color: var(--ink);
}

.page-head {
  padding-bottom: 22px;
}

.page-head h1 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.page-head p {
  margin-top: 8px;
  font-size: 17px;
  color: var(--ink-48);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--canvas);
  font-size: 14px;
  letter-spacing: -0.016em;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.chip:hover {
  border-color: #c9c9ce;
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.catalog {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-top: 26px;
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.filters p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-48);
  letter-spacing: -0.01em;
}

.filters fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filters legend {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.016em;
  color: var(--ink);
}

.filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: -0.016em;
  color: var(--ink-link);
  cursor: pointer;
}

.filters input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  margin: 0;
  border: 1px solid #c9c9ce;
  border-radius: 50%;
  flex: none;
  transition: border-color 0.16s ease;
}

.filters input[type="radio"]:checked {
  border: 4px solid var(--ink);
}

.filters label:hover input[type="radio"] {
  border-color: var(--ink-48);
}

.catalog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog__count {
  font-size: 14px;
  color: var(--ink-48);
  letter-spacing: -0.016em;
}

.sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--canvas);
  font-size: 14px;
  letter-spacing: -0.016em;
  color: var(--ink);
}

.sort:hover {
  border-color: #c9c9ce;
  text-decoration: none;
}

.sort svg {
  width: 8px;
  height: 5px;
  fill: none;
  stroke: var(--ink-48);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 44px;
}

.pager button,
.pager a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  font-size: 14px;
  letter-spacing: -0.016em;
  color: var(--ink-link);
}

.pager a:hover {
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.pager [aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.pager svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ==========================================================================
   Product page
   ========================================================================== */
.pdp {
  display: grid;
  grid-template-columns: 660px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-block: 40px 56px;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery__main {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--canvas);
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery__thumbs button {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 5;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.gallery__thumbs button[aria-current="true"] {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.buy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.buy__eyebrow {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--blue);
}

.buy h1 {
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: -0.016em;
}

.buy__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.buy__price strong {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.008em;
}

.buy__price s {
  font-size: 17px;
  color: var(--ink-48);
}

.buy__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-48);
}

.buy__rating svg {
  width: 78px;
  height: 12px;
  color: var(--ink);
}

.buy__divider {
  height: 1px;
  background: var(--hairline);
  border: 0;
  margin: 4px 0;
}

.fit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--parchment);
  border-radius: var(--r-lg);
}

.fit__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fit__label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.016em;
}

.fit__label svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.fit__change {
  font-size: 14px;
  letter-spacing: -0.016em;
}

.fit__vehicle {
  font-size: 17px;
  color: var(--ink-link);
  letter-spacing: -0.022em;
}

.variant {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.variant__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.016em;
}

.variant__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: 14px;
  letter-spacing: -0.016em;
  color: var(--ink);
  cursor: pointer;
}

.opt:hover {
  box-shadow: inset 0 0 0 1px #c9c9ce;
}

.opt[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.buy__row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.stepper button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--ink);
}

.stepper button:hover {
  background: rgba(0, 0, 0, 0.06);
}

.stepper svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.stepper output {
  font-size: 17px;
  letter-spacing: -0.022em;
}

.trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-link);
  letter-spacing: -0.016em;
}

.trust svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--ink-48);
  stroke-width: 1.2;
}

.accordion {
  border-top: 1px solid var(--hairline);
}

.accordion details {
  border-bottom: 1px solid var(--hairline);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 54px;
  font-size: 17px;
  letter-spacing: -0.022em;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary svg {
  width: 12px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  transition: rotate 0.2s ease;
}

.accordion details[open] summary svg {
  rotate: 45deg;
}

.accordion__body {
  padding-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-link);
  max-width: 54ch;
}

/* in the box strip */
.inbox__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 28px;
}

.inbox__item {
  padding-left: 20px;
  border-left: 1px solid var(--hairline);
}

.inbox__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.inbox__item h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 6px;
}

.inbox__item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-48);
  letter-spacing: -0.016em;
}

/* ==========================================================================
   Responsive — 1068 / 834 / 640
   ========================================================================== */
@media (max-width: 1068px) {
  .pdp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 36px;
  }

  .card-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foot__cols {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .foot__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 834px) {
  .gnav__links {
    display: none;
  }

  .snav__links {
    display: none;
  }

  .pdp {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .filters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 32px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hairline);
  }

  .card-grid--five,
  .card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inbox__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .story__title {
    font-size: 28px;
  }

  .story__tagline {
    font-size: 18px;
  }

  .story__actions .btn {
    width: 100%;
  }

  .card-grid--five,
  .card-grid--three {
    grid-template-columns: minmax(0, 1fr);
  }

  .u-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }

  .u-card__media {
    width: 96px;
    flex: none;
  }

  .u-card__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .inbox__items {
    grid-template-columns: minmax(0, 1fr);
  }

  .inbox__item {
    padding-left: 0;
    border-left: 0;
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
  }

  .inbox__item:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .foot__cols {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .field {
    width: 100%;
  }

  .field select {
    width: 100%;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .btn:active {
    transform: none;
  }

  .u-card:hover {
    transform: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .gnav,
  .snav,
  .pager,
  .story__actions {
    display: none;
  }
}
