:root {
  --ink: #111110;
  --ink-soft: #6a6a66;
  --line: #e3e2de;
  --line-strong: #c6c5c0;
  --bg: #ffffff;
  --bg-soft: #f4f3ef;
  --bg-dark: #121211;
  --radius: 2px;
  --max: 1360px;
  --pad: 24px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }

/* `hidden` must win over the display rules below. */
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.06; margin: 0; }

.icon {
  width: 15px; height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* small label above a section heading */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow__num {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 1px;
}

/* ---------- top line + header ---------- */
.topline {
  margin: 0;
  background: var(--bg-dark);
  color: #f2f1ed;
  text-align: center;
  padding: 9px var(--pad);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--pad);
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  margin-right: auto;
}
.site-nav { display: none; gap: 26px; }
.site-nav a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
}
.site-nav a:hover { color: var(--ink); }
.header-cta {
  display: none;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (min-width: 860px) {
  .site-nav { display: flex; }
  .header-cta { display: inline-block; }
}

/* ---------- 01 · product ---------- */
.product {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad) 72px;
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  scroll-margin-top: 80px;
}
@media (min-width: 1000px) {
  .product {
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, .75fr);
    gap: 56px;
    padding: 44px var(--pad) 96px;
  }
}

/* gallery: thumbnails sit beside the photo on desktop, under it on mobile */
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .gallery { grid-template-columns: 76px minmax(0, 1fr); align-items: start; }
  /* One photo: no empty thumbnail rail beside it. */
  .gallery.is-single { grid-template-columns: minmax(0, 1fr); }
}

.gallery__stage {
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
  order: -1;
}
@media (min-width: 720px) { .gallery__stage { order: 0; } }
.gallery__stage img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: opacity .18s ease;
}
.gallery__stage.is-swapping img { opacity: .3; }

.stage__count {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(255,255,255,.92);
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.9);
  border: 0;
  cursor: pointer;
  z-index: 2;
}
.gallery__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gallery__nav:hover { background: #fff; }
.gallery__nav--prev { left: 0; }
.gallery__nav--next { right: 0; }

.gallery__thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 720px) { .gallery__thumbs { flex-direction: column; flex-wrap: nowrap; } }
.gallery__thumbs button {
  width: 70px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--bg-soft);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .12s, opacity .12s;
  opacity: .62;
}
@media (min-width: 720px) { .gallery__thumbs button { width: 100%; } }
.gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button.is-active { border-color: var(--ink); opacity: 1; }

/* ---------- buy box ---------- */
/* While it sits under the photo (phone and tablet), keep it from stretching
   into one very wide column. */
.buybox { width: 100%; max-width: 620px; }
@media (min-width: 1000px) {
  .buybox { max-width: none; position: sticky; top: 84px; align-self: start; }
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 12.5px;
  margin-bottom: 12px;
}
.rating:hover { color: var(--ink); }
.rating__stars { color: var(--ink); letter-spacing: .1em; font-size: 13px; }

.buybox__title { font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; margin-bottom: 8px; }
.buybox__tagline {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.price__now { font-size: 23px; font-weight: 700; }
.price__was { color: var(--ink-soft); text-decoration: line-through; font-size: 15px; }
.price__save { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }

.buybox__desc { margin: 0 0 28px; color: #35342f; max-width: 50ch; }

.opt { margin-bottom: 26px; }
.opt__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.opt__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.opt__label strong { color: var(--ink); }
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  color: var(--ink-soft);
}
.linkish:hover { color: var(--ink); }

.swatches { display: flex; gap: 8px; }
.swatch {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  cursor: default;
  box-shadow: 0 0 0 3px #fff inset;
}
.swatch.is-active { outline: 1.5px solid var(--ink); outline-offset: 2px; }

.size-row { margin-bottom: 12px; }
.size-row__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.sizes { display: flex; flex-wrap: wrap; gap: 7px; }
.size {
  min-width: 54px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  transition: border-color .12s, background .12s, color .12s;
}
.size:hover:not(:disabled) { border-color: var(--ink); }
.size.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.size:disabled {
  cursor: not-allowed;
  color: var(--line-strong);
  border-color: var(--line);
  background: linear-gradient(to top left, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px));
}

.urgency {
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* bundles */
.bundles { display: grid; gap: 8px; }
.bundle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 15px 16px;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  transition: border-color .12s, box-shadow .12s;
}
.bundle:hover { border-color: var(--ink); }
.bundle.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bundle__radio {
  width: 16px; height: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.bundle.is-active .bundle__radio { border-color: var(--ink); }
.bundle.is-active .bundle__radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.bundle__text { flex: 1 1 auto; min-width: 0; }
.bundle__title { display: block; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; font-size: 12.5px; }
.bundle__note { display: block; font-size: 12px; color: var(--ink-soft); }
.bundle__prices { text-align: right; white-space: nowrap; }
.bundle__price { font-weight: 700; font-size: 14.5px; }
.bundle__compare { display: block; font-size: 11.5px; color: var(--ink-soft); text-decoration: line-through; }
.bundle__each { display: block; font-size: 11px; color: var(--ink-soft); }
.bundle__badge {
  position: absolute;
  top: -8px; left: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 3px 8px;
}

/* CTA */
.cta {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 19px;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .08s ease, opacity .12s;
}
.cta:hover { opacity: .9; }
.cta:active { transform: translateY(1px); }
.cta:disabled { cursor: wait; opacity: .8; }
.cta--ghost {
  width: auto;
  display: inline-flex;
  background: none;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 16px 30px;
}
.cta--ghost:hover { background: var(--ink); color: #fff; opacity: 1; }
.cta__price { font-weight: 500; letter-spacing: .06em; }
.cta__spinner {
  display: none;
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.cta.is-loading .cta__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.cta__error { display: flex; gap: 8px; margin: 10px 0 0; color: #a3271c; font-size: 13px; }
.cta__note { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; font-size: 11.5px; color: var(--ink-soft); }

.delivery {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 26px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.delivery strong { font-weight: 600; }

/* accordion (buy box + FAQ) */
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 17px; font-weight: 400; line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion p { margin: 0 0 18px; color: #35342f; max-width: 68ch; }

/* ---------- 02 · story ---------- */
.story {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px var(--pad);
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    padding: 104px calc(var(--pad) * 2);
    max-width: var(--max);
    margin: 0 auto;
  }
}
.story__figure { margin: 0; }
.story__crop {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 230%;
  background-position: 50% 44%;
}
.story__figure figcaption {
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.story__text h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 22px; max-width: 18ch; }
.story__text p { margin: 0 0 18px; max-width: 46ch; color: #35342f; }
.story__text p:last-child { margin-bottom: 0; }

/* ---------- 03 · spec ---------- */
.spec {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad);
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  scroll-margin-top: 80px;
}
/* Two columns first — three only once each one can hold a spec value on one line. */
@media (min-width: 820px) {
  .spec { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; padding: 96px var(--pad); }
  .spec__head { grid-column: 1 / -1; }
}
@media (min-width: 1160px) {
  .spec { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) minmax(0, .9fr); gap: 56px; padding: 104px var(--pad); }
  .spec__head { grid-column: auto; }
}
.spec__head h2 { font-size: clamp(24px, 3vw, 34px); max-width: 12ch; }
.spec__list { margin: 0; }
.spec__list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.spec__list div:first-child { border-top: 1px solid var(--line); }
.spec__list dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.spec__list dd { margin: 0; font-weight: 600; text-align: right; }
.spec__list dd.is-todo { color: #a3271c; }
.spec__fit h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.spec__fit p { margin: 0 0 16px; color: #35342f; }

/* ---------- 04 · faq ---------- */
.faq {
  background: var(--bg-dark);
  color: #f2f1ed;
  padding: 80px var(--pad);
  scroll-margin-top: 80px;
}
.faq__head, .faq__list { max-width: 840px; margin: 0 auto; }
.faq__head { margin-bottom: 36px; }
.faq__head .eyebrow { color: #8e8d87; }
.faq__head .eyebrow__num { color: #f2f1ed; border-color: #f2f1ed; }
.faq__head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.faq .accordion details, .faq .accordion details:first-child { border-color: #33332f; }
.faq .accordion summary { text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 600; padding: 20px 0; }
.faq .accordion p { color: #b9b8b2; margin-bottom: 20px; }

/* ---------- reviews ---------- */
.reviews {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad);
  scroll-margin-top: 80px;
}
.reviews__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.reviews__head .eyebrow { margin: 0; }
.reviews__score { font-size: 13px; color: var(--ink-soft); }
.reviews__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 760px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; padding: 26px; }
.review__stars { letter-spacing: .18em; font-size: 12px; margin-bottom: 12px; }
.review__body { margin: 0 0 16px; }
.review__author { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- closing ---------- */
.closing {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 900px) { .closing { grid-template-columns: 1fr 1fr; } }
.closing__text {
  padding: 72px var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}
@media (min-width: 900px) { .closing__text { padding: 96px calc(var(--pad) * 2.5); } }
.closing__text h2 { font-size: clamp(28px, 3.6vw, 42px); text-transform: uppercase; max-width: 14ch; }
.closing__text p { margin: 0; max-width: 40ch; color: #35342f; }
.closing__img { background: var(--bg-soft); }
.closing__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px var(--pad);
  padding-bottom: calc(24px + env(safe-area-inset-bottom) + 64px);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (min-width: 1000px) { .site-footer { padding-bottom: 24px; } }

/* ---------- sticky buy bar (mobile) ---------- */
.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--pad);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .22s ease;
}
.stickybar.is-visible { transform: none; }
.stickybar__img { width: 42px; height: 42px; object-fit: cover; background: var(--bg-soft); }
.stickybar__info { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.stickybar__name { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar__meta { display: block; font-size: 12px; color: var(--ink-soft); }
.stickybar__btn {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (min-width: 1000px) { .stickybar { display: none; } }

/* ---------- modals ---------- */
.modal {
  border: 1px solid var(--line);
  padding: 26px;
  max-width: 580px;
  width: calc(100% - 32px);
  /* Must fit a phone held sideways. */
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(0,0,0,.6); }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.modal__head h2 { margin: 0; flex: 1 1 auto; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.modal__close { background: none; border: 1px solid var(--line-strong); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-size: 12px; cursor: pointer; }
.modal--image { max-width: 940px; padding: 0; border: 0; background: #fff; position: relative; overflow: hidden; }
.modal--image img { width: 100%; max-height: calc(100dvh - 32px); object-fit: contain; }
.modal__close--float { position: fixed; top: 20px; right: 20px; background: #fff; z-index: 3; }

.unit-toggle { display: flex; border: 1px solid var(--line-strong); overflow: hidden; }
.unit-toggle button { border: 0; background: #fff; padding: 5px 13px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.unit-toggle button.is-active { background: var(--ink); color: #fff; }

.size-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.size-table th, .size-table td { border-bottom: 1px solid var(--line); padding: 10px 6px; text-align: left; }
.size-table th { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.size-table td { font-variant-numeric: tabular-nums; }
.size-table td:first-child { font-weight: 700; }
.modal__note { font-size: 12px; color: var(--ink-soft); margin: 14px 0 0; }

/* ---------- confirmation page ---------- */
.thanks { max-width: 620px; margin: 0 auto; padding: 80px var(--pad); text-align: center; }
.thanks__mark { width: 52px; height: 52px; margin: 0 auto 22px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; }
.thanks__mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thanks h1 { font-size: clamp(26px, 4vw, 36px); text-transform: uppercase; margin-bottom: 14px; }
.thanks__box { border-top: 1px solid var(--line); margin: 28px 0; text-align: left; font-size: 14px; }
.thanks__box div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.thanks__box span:first-child { color: var(--ink-soft); }
.btn-ghost {
  display: inline-block;
  border: 1.5px solid var(--ink);
  padding: 15px 26px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
