/* KOVOLT: Ready for the Road
   Tokens follow the design handoff. 8px grid, radius 0, no shadows, no gradients. */

/* Saira, self-hosted. Same subsets Google Fonts serves, so the rendering is
   identical, but with no render-blocking third-party stylesheet, no second
   round trip to fonts.gstatic.com, and no visitor IP handed to Google - which
   a UK retail site should not be doing without a consent gate. One variable
   file per subset covers weights 200, 300 and 400. Saira is OFL 1.1. */

@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/saira-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/saira-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/saira-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

/* ---------------------------------------------------------------- tokens */

:root {
  --bone: #f5f2ed;
  --bone-deep: #ede9e2;
  --graphite: #252a2f;
  --graphite-light: #2b3035;
  --slate: #4a4f55;
  --steel: #9ba1a6;
  --ember: #d4531c;
  /* Ember as an ink rather than an accent: full ember is 3.72:1 on bone, which
     fails AA, so error text uses this darker step at 5.04:1. */
  --ember-ink: #b24417;

  --hairline-on-bone: rgba(37, 42, 47, 0.14);
  --hairline-on-graphite: rgba(245, 242, 237, 0.18);

  --header-h: 64px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 10vh, 160px);
  --col-gap: clamp(32px, 5vw, 64px);

  --reveal-duration: 700ms;
  --state-duration: 400ms;
}

/* ------------------------------------------------------------ base reset */

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

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--slate);
  font-family: Saira, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  /* No overflow-x:hidden here - it masks overflow rather than preventing it.
     Every flex child carries min-width:0 so nothing can push the page wide. */
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 300ms linear;
}

a:hover {
  color: var(--steel);
}

/* Every interactive element gets a visible keyboard focus ring. The reference
   removed outlines without replacing them, which left keyboard users lost. */
:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

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

.u-skip-link {
  position: absolute;
  top: 0;
  left: var(--gutter);
  z-index: 40;
  padding: 12px 20px;
  background: var(--graphite);
  color: var(--bone);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(-120%);
  transition: transform 200ms linear;
}

.u-skip-link:focus-visible {
  transform: translateY(0);
  color: var(--bone);
}

/* ------------------------------------------------------------ typography */

.t-display,
.t-statement,
.t-heading {
  margin: 0;
  font-weight: 200;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.t-display {
  line-height: 0.96;
  font-size: clamp(40px, 8vw, 112px);
}

/* Between the hero display and a section heading. Deleting this rule while
   markup still asked for it is what dropped the statement to body size. */
.t-statement {
  line-height: 1.12;
  font-size: clamp(30px, 4.6vw, 68px);
}

.t-heading {
  line-height: 1.1;
  font-size: clamp(32px, 4vw, 56px);
}

.t-label {
  margin: 0;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

/* Steel reads at 5.4:1 on graphite but only 2.34:1 on bone, which fails WCAG
   AA - and these labels are the smallest type on the page at 10px. Slate is
   already the palette's ink for bone surfaces and clears AA at 7.4:1, so the
   labels stay quiet without becoming unreadable. */
.s-bone .t-label,
.c-footer .t-label {
  color: var(--slate);
}

.t-body {
  margin: 0;
  max-width: 66ch;
}

.t-price {
  margin: clamp(32px, 3.5vw, 40px) 0 0;
  font-weight: 200;
  font-size: clamp(24px, 2.8vw, 40px);
  letter-spacing: -0.02em;
  color: var(--ember);
}

/* --------------------------------------------------------------- layout */

.l-section {
  padding: var(--section-y) var(--gutter);
}.l-col {
  flex: 1 1 340px;
  min-width: 0;
}

.s-bone {
  background: var(--bone);
  color: var(--slate);
}

.s-graphite {
  background: var(--graphite);
  color: var(--steel);
}

.s-bone .t-display,
.s-bone .t-heading {
  color: var(--graphite);
}

.s-graphite .t-display,
.s-graphite .t-heading {
  color: var(--bone);
}

/* --------------------------------------------------------------- header */

.c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: transparent;
  border-bottom: 0.5px solid transparent;
  transition: background var(--state-duration) linear,
    border-color var(--state-duration) linear,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(0);
  will-change: transform;
}

.c-header.is-hidden-on-scroll {
  transform: translateY(calc(-100% - 12px));
}

.c-header__link {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color var(--state-duration) linear;
}

.c-header__link--left {
  justify-self: start;
}

.c-header__link--right {
  justify-self: end;
}

.c-header__mark {
  position: relative;
  width: clamp(118px, 16vw, 166px);
  height: 26px;
  justify-self: center;
}

/* Both wordmarks are stacked and cross-fade, which is what the handoff asks
   for. The reference swapped the src instead, so the mark hard-cut and the
   graphite file was not fetched until the first scroll past the hero. */
.c-header__mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--state-duration) linear;
}

.c-header__mark img[data-mark="graphite"] {
  opacity: 0;
}

.c-header.is-past-hero {
  background: var(--bone);
  border-bottom-color: var(--hairline-on-bone);
}

.c-header.is-past-hero .c-header__link {
  color: var(--graphite);
}

.c-header.is-past-hero .c-header__link:hover {
  color: var(--steel);
}

.c-header.is-past-hero .c-header__mark img[data-mark="bone"] {
  opacity: 0;
}

.c-header.is-past-hero .c-header__mark img[data-mark="graphite"] {
  opacity: 1;
}

/* ----------------------------------------------------------------- hero */

.c-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) var(--gutter) clamp(56px, 9vh, 96px);
  overflow: hidden;
  /* Surface colour and type colour both come from .s-graphite. */
}

.c-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: grayscale(0.45) contrast(1.05) brightness(0.85);
  pointer-events: none;
}

.c-hero__wash {
  position: absolute;
  inset: 0;
  background: var(--graphite);
  opacity: 0.42;
  pointer-events: none;
}

@media (min-width: 900px) {
  .c-hero__photo {
    opacity: 1;
    filter: none;
  }

  .c-hero__wash {
    opacity: 0.25;
  }

  .c-hero__body {
    color: var(--bone);
  }

  .c-header:not(.is-past-hero) {
    background: rgba(37, 42, 47, 0.2);
  }
}

.c-hero__inner {
  position: relative;
  max-width: 1080px;
}

.c-hero__body {
  margin: clamp(24px, 4vh, 40px) 0 0;
  color: var(--bone);
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.72);
}

.c-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(40px, 5vh, 48px);
  color: var(--bone);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.c-hero__cta:hover {
  color: var(--bone);
}

.c-hero__ring {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245, 242, 237, 0.55);
  border-radius: 50%;
  transition: border-color 300ms linear;
}

.c-hero__cta:hover .c-hero__ring,
.c-hero__cta:focus-visible .c-hero__ring {
  border-color: var(--bone);
}

.c-hero__chevron {
  display: block;
  width: 7px;
  height: 7px;
  margin-left: -2px;
  border-top: 1px solid var(--ember);
  border-right: 1px solid var(--ember);
  transform: rotate(45deg);
}

/* ------------------------------------------------------------- statement */

/* ch resolves against this element's own display size, so the measure holds
   as the type scales. */
.c-product__body {
  margin: 16px 0 0;
}

.s-graphite .c-product__body {
  color: var(--steel);
}

.s-bone .c-product__body {
  color: var(--slate);
}

.c-specs {
  margin: clamp(32px, 4vw, 48px) 0 0;
}

.c-specs__title {
  margin: clamp(28px, 4vw, 44px) 0 0;
}

.c-specs__title + .c-specs {
  margin-top: 12px;
}

.c-spec {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 16px 0;
}

.c-spec__value {
  margin: 0;
  text-align: right;
  font-size: 14px;
}

.s-graphite .c-spec__value {
  color: var(--bone);
}

.s-bone .c-spec__value {
  color: var(--graphite);
}

.c-product-actions {
  margin-top: clamp(28px, 3.5vw, 40px);
}

.c-stock-button,
.c-restock__submit {
  min-height: 48px;
  border-radius: 0;
  font-family: inherit;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.c-stock-button {
  width: 100%;
  border: 0.5px solid currentColor;
  background: transparent;
  color: inherit;
}

.c-stock-button:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.s-graphite .c-stock-button:disabled {
  border-color: rgba(245, 242, 237, 0.62);
  color: var(--bone);
  opacity: 1;
}

.c-restock {
  margin-top: 24px;
}

.c-restock__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.c-restock__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.c-restock__input {
  flex: 1 1 190px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 0.5px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

/* Ember is budgeted at roughly 3% of the page - the three prices, the set
   price, the hero chevron and the focus underline. A solid ember button is
   both outside that budget and only 3.72:1 against bone, so these follow the
   Send button instead: the section's ink, inverting on hover. */
.c-restock__submit {
  flex: 1 1 210px;
  padding: 12px 18px;
  border-radius: 0;
  cursor: pointer;
  transition: background 300ms linear, color 300ms linear;
}

.s-bone .c-restock__submit {
  border: 0.5px solid var(--graphite);
  background: var(--graphite);
  color: var(--bone);
}

.s-bone .c-restock__submit:hover,
.s-bone .c-restock__submit:focus-visible {
  background: transparent;
  color: var(--graphite);
}

.s-graphite .c-restock__submit {
  border: 0.5px solid var(--bone);
  background: var(--bone);
  color: var(--graphite);
}

.s-graphite .c-restock__submit:hover,
.s-graphite .c-restock__submit:focus-visible {
  background: transparent;
  color: var(--bone);
}

.c-restock__status {
  margin: 10px 0 0;
  min-height: 1.65em;
  font-size: 13px;
}

.s-graphite .c-restock__label,
.s-graphite .c-restock__status {
  color: var(--steel);
}

.s-bone .c-restock__label,
.s-bone .c-restock__status {
  color: var(--slate);
}

/* ------------------------------------------------------------------- fit */

/* "Will it work with mine?" is the question that stops an EV accessory sale.
   It sits directly under the specs so the two read as one product summary. */
.c-fit {
  margin-top: clamp(28px, 3.5vw, 40px);
}

.c-fit__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.c-fit__item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
}

/* A hairline tick rather than a bullet - the list is a checklist of what the
   product accepts, and a disc would read as marketing. */
.c-fit__item::before {
  content: "";
  flex: none;
  width: 9px;
  height: 5px;
  margin-top: 6px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.55;
}

.s-graphite .c-fit__item {
  color: var(--bone);
}

.s-bone .c-fit__item {
  color: var(--graphite);
}

.c-fit__ask {
  margin: 20px 0 0;
  max-width: 52ch;
  font-size: 13px;
}

.s-graphite .c-fit__ask {
  color: var(--steel);
}

.s-bone .c-fit__ask {
  color: var(--slate);
}

.c-fit__ask a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
}

.s-graphite .c-fit__ask a:hover {
  color: var(--bone);
}.c-set__saving {
  margin: 12px 0 0;
  font-size: 13px;
}

.s-graphite .c-set__saving {
  color: var(--steel);
}

.s-bone .c-set__saving {
  color: var(--slate);
}/* --------------------------------------------------------------- contact */

.c-contact__cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 80px);
  align-items: flex-start;
}

.c-contact__heading {
  margin: 16px 0 0;
  max-width: 20ch;
  line-height: 1.12;
  font-size: clamp(32px, 3.6vw, 48px);
}

.c-form {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.c-field {
  display: flex;
  flex-direction: column;
}

.c-field__input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 0.5px solid rgba(37, 42, 47, 0.3);
  border-radius: 0;
  background: transparent;
  font: inherit;
  color: var(--graphite);
  transition: border-color 200ms linear;
}

textarea.c-field__input {
  min-height: 96px;
  resize: vertical;
}

.c-field__input::placeholder {
  color: var(--slate);
  opacity: 1;
}

.c-field__input:focus {
  outline: none;
  border-bottom-color: var(--ember);
}

/* The ember underline alone is too quiet a focus signal, so the ring is drawn
   on the field wrapper rather than suppressed outright. */
.c-field:focus-within {
  outline: 2px solid var(--ember);
  outline-offset: 6px;
}

.c-field__error {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ember-ink);
}

.c-field__error:empty {
  display: none;
}

.c-form__submit {
  align-self: flex-start;
  padding: 16px 34px;
  border: 0.5px solid var(--graphite);
  border-radius: 0;
  background: var(--graphite);
  color: var(--bone);
  font-family: inherit;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 300ms linear, color 300ms linear;
}

.c-form__submit:hover,
.c-form__submit:focus-visible {
  background: var(--bone);
  color: var(--graphite);
}

.c-form__submit[disabled] {
  cursor: default;
  opacity: 0.55;
}

.c-form__status {
  margin: 0;
  font-size: 13px;
  color: var(--slate);
}

.c-form__status:empty {
  display: none;
}

.s-graphite .c-field__input {
  border-bottom-color: rgba(245, 242, 237, 0.35);
  color: var(--bone);
}

.s-graphite .c-field__input::placeholder,
.s-graphite .c-form__status {
  color: var(--steel);
}

.s-graphite .c-field__error {
  color: #ff9b73;
}

.s-graphite .c-form__submit {
  border-color: var(--bone);
  background: var(--bone);
  color: var(--graphite);
}

.s-graphite .c-form__submit:hover,
.s-graphite .c-form__submit:focus-visible {
  background: transparent;
  color: var(--bone);
}

.s-graphite .c-form__status a {
  color: var(--bone);
}

/* ---------------------------------------------------------------- footer */

.c-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
  background: var(--bone);
  border-top: 0.5px solid var(--hairline-on-bone);
}

.c-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
}

.c-footer__tagline {
  font-size: 13px;
  color: var(--slate);
}

.c-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

.c-footer__email {
  text-transform: none;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* ---------------------------------------------------------------- reveal */

/* Default state is visible. If scripting fails the page still reads - the
   hidden state is only ever applied by JS, and only when motion is allowed. */
[data-reveal] {
  transition: opacity var(--reveal-duration) ease-out,
    transform var(--reveal-duration) ease-out;
}

[data-reveal].is-hidden {
  opacity: 0;
  transform: translateY(18px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  [data-reveal].is-hidden {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------ legal page */

.c-legal {
  max-width: 66ch;
  padding-top: calc(var(--header-h) + var(--section-y));
}

.c-legal h2 {
  margin: clamp(32px, 5vh, 56px) 0 0;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

.c-legal p {
  margin: 16px 0 0;
}

.c-legal a {
  color: var(--graphite);
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 3px;
}

.c-legal ul {
  margin: 16px 0 0;
  padding-left: 24px;
}

.c-legal li + li {
  margin-top: 6px;
}

.c-legal__updated {
  color: var(--slate);
  font-size: 13px;
}

/* --------------------------------------------------------------- gallery */

/* A scroll-snap strip, not a carousel. No autoplay, no slide transitions:
   the reader moves it, which is the only pattern that behaves for someone
   dragging on a phone, tabbing with a keyboard, or running with JS off.
   The thumbnails are plain anchors, so they still jump to their frame with
   no scripting at all; JS only adds smooth scrolling and the active state. */
.c-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-gallery__strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: var(--bone-deep);
}

.c-gallery__strip::-webkit-scrollbar {
  display: none;
}

.c-gallery__frame {
  scroll-snap-align: start;
  margin: 0;
  aspect-ratio: 1;
  background: var(--bone-deep);
}

.c-gallery__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-gallery__thumb {
  display: block;
  width: 64px;
  aspect-ratio: 1;
  background: var(--bone-deep);
  opacity: 0.45;
  transition: opacity 200ms linear, outline-color 200ms linear;
  outline: 1px solid transparent;
  outline-offset: -1px;
}

.c-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-gallery__thumb:hover {
  opacity: 0.8;
}

.c-gallery__thumb.is-current {
  opacity: 1;
  outline-color: var(--ember);
}

/* One image is not a gallery - hide the chrome rather than showing a strip
   of one, so a product still awaiting photography degrades quietly. */
.c-gallery[data-count="1"] .c-gallery__thumbs {
  display: none;
}

.c-gallery__count {
  font-size: 12px;
}

.s-bone .c-gallery__count {
  color: var(--slate);
}

.s-graphite .c-gallery__count {
  color: var(--steel);
}

/* ------------------------------------------------------------ item page */

.c-item {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(20px, 3vh, 32px));
  padding-bottom: clamp(32px, 5vh, 56px);
}

.c-item__back {
  display: block;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto clamp(18px, 2.5vh, 28px);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.c-item__cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--col-gap);
  align-items: flex-start;
}

.c-item__media {
  flex: 1 1 400px;
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

@media (max-width: 899.98px) {
  .c-item__media {
    position: static;
  }
}

.c-item__detail {
  flex: 1 1 360px;
  min-width: 0;
}

@media (min-width: 900px) {
  .c-item__cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
  }

  .c-item__media {
    position: static;
    width: 100%;
    max-width: min(100%, calc(100svh - 250px));
    justify-self: center;
  }

  .c-item .c-gallery {
    gap: 8px;
  }

  .c-item .c-gallery__thumbs {
    gap: 8px;
  }

  .c-item .c-gallery__thumb {
    width: 48px;
  }

  .c-item__detail {
    align-self: center;
  }

  .c-item__detail > .t-heading {
    font-size: clamp(36px, 3vw, 52px);
  }

  .c-item .c-product__body {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  .c-item .c-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 8px;
    margin-top: 10px;
    padding: 0;
    background: transparent;
  }

  .c-item .c-specs__title {
    margin: 20px 0 0;
  }

  .c-item .c-spec {
    display: block;
    min-height: 70px;
    padding: 14px 16px;
    background: var(--bone-deep);
  }

  .c-item .c-spec__value {
    margin: 5px 0 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.45;
  }

  .c-item .c-fit {
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(237, 233, 226, 0.56);
  }

  .c-item .c-fit__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
    margin-top: 10px;
  }

  .c-item .c-fit__item {
    gap: 8px;
    font-size: 12px;
    line-height: 1.45;
  }

  .c-item .c-fit__ask {
    margin-top: 12px;
    max-width: none;
    font-size: 12px;
    line-height: 1.5;
  }

  .c-item .t-price {
    margin-top: 20px;
    font-size: clamp(30px, 2.4vw, 38px);
  }

  .c-item .c-set__saving {
    margin-top: 6px;
  }

  .c-item .c-product-actions {
    margin-top: 16px;
  }

  .c-item .c-stock-button,
  .c-item .c-restock__input,
  .c-item .c-restock__submit {
    min-height: 42px;
  }

  .c-item .c-restock {
    margin-top: 14px;
  }

  .c-item .c-restock__label {
    margin-bottom: 6px;
  }

  .c-item .c-restock__row {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .c-item .c-restock__status {
    margin-top: 6px;
    min-height: 0;
  }
}

/* --------------------------------------------------------- collection */

/* Three editorial portraits on a black showroom field. The cards reveal in a
   stagger and settle once. Nothing loops and nothing competes with the images. */
.c-collection {
  position: relative;
  background: #050505;
}

.c-collection__anchor {
  display: block;
}

.c-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 532px));
  justify-content: center;
  gap: clamp(8px, 0.65vw, 12px);
  padding: clamp(24px, 1.6vw, 32px) clamp(24px, 8.4vw, 162px) clamp(40px, 3vw, 58px);
  background: #050505;
}

/* The hero and collection are two complete screens. Scroll snapping prevents
   the transition from stopping on a half-built arrangement of cards. */
@media (min-width: 900px) and (min-height: 650px) and (prefers-reduced-motion: no-preference) {
  html:has(.p-home) {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0;
  }

  html.is-past-home-intro:has(.p-home) {
    scroll-snap-type: none;
  }

  .c-home-intro {
    position: relative;
    background: #050505;
  }

  .c-home-intro .c-hero {
    height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .c-collection__anchor {
    position: absolute;
    top: 100svh;
    left: 0;
  }

  .c-home-intro .c-collection {
    min-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .c-home-intro .c-triptych {
    min-height: 100svh;
    align-items: center;
  }

  .c-home-intro .c-panel {
    max-height: calc(100svh - 80px);
    opacity: 1;
    transform: none;
  }

  .p-home .c-essay__claim {
    position: static;
  }
}

.c-panel {
  position: relative;
  display: block;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: #151515;
  color: var(--bone);
}

.c-panel__media {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #151515;
}

.c-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.c-panel.is-shown .c-panel__media img {
  transform: scale(1);
}

.c-panel:hover .c-panel__media img,
.c-panel:focus-visible .c-panel__media img {
  transform: scale(1.025);
}

.c-panel__copy {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 2vw, 36px);
  bottom: clamp(34px, 4vw, 72px);
  left: clamp(20px, 2vw, 36px);
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: center;
  color: var(--bone);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease 300ms, transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 300ms;
  pointer-events: none;
}

.c-panel.is-shown .c-panel__copy {
  opacity: 1;
  transform: translateY(0);
}

.c-panel__label {
  display: block;
  margin: 0;
  font-size: clamp(11px, 0.85vw, 14px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: inherit;
}

.c-panel__name {
  display: block;
  margin: 7px 0 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-size: clamp(25px, 2.25vw, 43px);
  color: inherit;
}

.c-panel:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 4px;
}

@media (max-width: 899.98px) {
  .c-triptych {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .c-panel {
    aspect-ratio: 3 / 4;
  }

  .c-panel__copy {
    bottom: 32px;
  }
}

/* --------------------------------------------------------------- essay */

/* Two columns: the claim on the left, the argument for it on the right. A
   single 62ch column left three-fifths of a wide screen empty and squeezed the
   display type down to five short lines. */
.c-essay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  max-width: 1480px;
}

/* No ch cap on this wrapper: ch resolves against the wrapper's own 15px, not
   the display size inside it, so a 20ch cap here is 180px and shreds the
   heading into one word a line. The column width is the constraint. */
.c-essay__claim {
  min-width: 0;
}

/* The heading holds its position while the argument scrolls past it. */
@media (min-width: 900px) {
  .c-essay__claim {
    position: sticky;
    top: calc(var(--header-h) + clamp(24px, 5vh, 56px));
  }
}

@media (max-width: 899.98px) {
  .c-essay {
    grid-template-columns: 1fr;
  }
}

.c-essay__argument {
  min-width: 0;
}

.c-essay__lead {
  margin: 0;
  max-width: 34ch;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-size: clamp(21px, 2.1vw, 29px);
  color: var(--graphite);
}

.c-essay__body {
  margin: clamp(28px, 4vh, 44px) 0 0;
  color: var(--slate);
}

.c-essay__body p {
  margin: 0;
  max-width: 62ch;
}

.c-essay__body p + p {
  margin-top: 1.5em;
}

.c-essay__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(36px, 5vh, 56px);
  padding: 15px 22px;
  background: var(--graphite);
  color: var(--bone);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 250ms linear, color 250ms linear;
}

.c-essay__cta:hover,
.c-essay__cta:focus-visible {
  background: var(--ember);
  color: var(--bone);
}

/* The homepage story reads as one centred invitation, with the CTA anchoring
   the section rather than sitting at the edge of a two-column layout. */
.p-home #why .c-essay {
  display: block;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.p-home #why .c-essay__claim {
  position: static;
}

.p-home #why .c-essay__claim .t-heading {
  max-width: 18ch;
  margin-right: auto;
  margin-left: auto;
}

.p-home #why .c-essay__argument {
  max-width: 720px;
  margin: clamp(28px, 4vh, 44px) auto 0;
}

.p-home #why .c-essay__lead,
.p-home #why .c-essay__body p {
  margin-right: auto;
  margin-left: auto;
}

.p-home #why .c-essay__lead {
  max-width: 38ch;
}

.p-home #why .c-essay__body {
  margin-top: clamp(20px, 3vh, 32px);
}

.p-home #why .c-essay__cta {
  justify-content: center;
  margin-top: clamp(28px, 4vh, 44px);
}

/* ----------------------------------------------------------- card grid */

.c-card {
  display: flex;
  flex-direction: column;
}

.c-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(48px, 8vh, 80px);
}

.c-card__media {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bone-deep);
}

.c-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-card__label {
  margin: 20px 0 0;
  font-size: 12px;
  text-transform: none;
  color: var(--slate);
}

.c-card__name {
  margin: 10px 0 0;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--graphite);
}

.c-card__body {
  margin: 12px 0 0;
  color: var(--slate);
}

.c-card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 0.5px solid var(--hairline-on-bone);
}

.c-card__price {
  font-weight: 200;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  color: var(--ember);
}

.c-card__stock {
  font-size: 12px;
  color: var(--slate);
}

/* Keep the complete collection visible as a single desktop composition. */
@media (min-width: 900px) and (min-height: 650px) {
  .c-collection-page {
    height: calc(100svh - 64px);
    min-height: 0;
    overflow: hidden;
    padding-top: calc(var(--header-h) + clamp(14px, 2vh, 22px));
    padding-bottom: clamp(14px, 2vh, 22px);
    display: flex;
    flex-direction: column;
  }

  .c-collection-page .c-cards {
    flex: 0 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 48px);
    margin-top: clamp(14px, 2.2vh, 22px);
  }

  .c-collection-page .c-card {
    min-height: 0;
  }

  .c-collection-page .c-card__media {
    height: clamp(270px, 43vh, 420px);
    aspect-ratio: auto;
  }

  .c-collection-page .c-card__media img {
    object-fit: contain;
  }

  .c-collection-page .c-card__label {
    margin-top: 10px;
    font-size: 10px;
  }

  .c-collection-page .c-card__name {
    margin-top: 4px;
    font-size: clamp(21px, 1.7vw, 28px);
  }

  .c-collection-page .c-card__body {
    margin-top: 6px;
    min-height: 3.4em;
    font-size: 12px;
    line-height: 1.4;
  }

  .c-collection-page .c-card__foot {
    margin: 10px 0 0;
    padding-top: 8px;
  }

  .c-collection-page .c-card__price {
    font-size: clamp(21px, 1.7vw, 27px);
  }

  .c-collection-page .c-card__stock {
    font-size: 10px;
  }

  .c-collection-page + .c-footer {
    min-height: 64px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}
