/* ============================================================
   ALYA — design system v2
   Warm paper ground, hairline structure, Didone display
   (Bodoni Moda pinned to its text-optical cut so hairlines
   survive at display sizes),
   letterspaced caps, photography multiply-blended onto paper.
   Motion: slow, sparse, scroll-choreographed. Everything
   respects prefers-reduced-motion.
   ============================================================ */

:root {
  --ink: #141210;
  --bone: #F2ECE1;
  --page: #EFE9DC;
  --paper: #FAF7F1;
  --hair: #C9C0B2;
  --chocolate: #4A3428;
  --taupe: #9A8C7A;
  --gray: #6B6157;
  --stone: #A89A8A;
  --oxblood: #4E2A2A;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

::selection { background: var(--bone); color: var(--chocolate); }

.serif {
  font-family: "Bodoni Moda", Didot, "Bodoni MT", "Playfair Display", serif;
  font-weight: 400;
  /* pin the variable font's optical size to its ~text cut: same
     letterforms as the wordmark, hairlines that survive 76px */
  font-variation-settings: "opsz" 22;
}

.caps {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

a { color: var(--ink); text-decoration: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

hr.hair { border: 0; border-top: 1px solid var(--hair); margin: 0; }

/* underline-slide for text links */
.ul {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.45s var(--ease);
  padding-bottom: 3px;
}

.ul:hover { background-size: 100% 1px; }

.textlink {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  color: var(--ink);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.textlink:hover { color: var(--chocolate); border-color: var(--chocolate); }

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bone);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 17px 34px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.4s ease, letter-spacing 0.4s var(--ease);
}

.btn:hover { background: var(--chocolate); letter-spacing: 0.3em; color: var(--bone); }

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

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.hd {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 26px 40px;
  transition: padding 0.4s ease;
}

.utility {
  display: flex;
  justify-content: flex-end;
  padding: 10px 40px 0;
}

header.scrolled .utility { display: none; }

.langs { display: flex; align-items: center; gap: 15px; }

.langs button {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  min-height: 28px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 2px 2px;
}

.langs button:hover { color: var(--ink); }

.langs button.on { color: var(--ink); border-bottom: 1px solid var(--ink); }

header.scrolled, body.sub header {
  background: rgba(250, 247, 241, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}

header.scrolled .hd { padding-top: 16px; padding-bottom: 16px; }

.hd nav { display: flex; align-items: center; gap: 30px; }

.hd nav.right { justify-content: flex-end; }

.hd nav a, .hd nav span { color: var(--ink); }

.hd nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 500;
}

.hd nav a:hover { color: var(--ink); }

.hd .bag {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  font: inherit;
  font-weight: 500;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  padding: 8px 12px 8px 14px;
  transition: color 0.25s ease, background 0.25s ease;
}

.hd .bag:hover,
.hd .bag:focus-visible { color: var(--ink); background: var(--paper); }

.hd .bag span { color: inherit; }

.bag-count {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0;
}

/* ---------- bag drawer ---------- */

#bagOverlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  z-index: 150;
}

body.bagopen #bagOverlay { opacity: 1; visibility: visible; }

#bagDrawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--paper);
  border-left: 1px solid var(--hair);
  z-index: 160;
  transform: translateX(102%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}

body.bagopen #bagDrawer { transform: none; }

.bd-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--hair);
}

.bd-close {
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.bd-close:hover { color: var(--ink); }

#bagItems { flex: 1; overflow-y: auto; padding: 6px 26px; }

.bd-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
  align-items: start;
}

.bd-item img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bd-name { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }

.bd-var { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-top: 5px; }

.bd-qty { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--gray); }

.bd-qty button {
  width: 24px; height: 24px;
  border: 1px solid var(--hair);
  background: none;
  color: var(--gray);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.bd-qty button:hover { border-color: var(--ink); color: var(--ink); }

.bd-remove {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--hair);
  cursor: pointer;
  margin-top: 12px;
  padding: 0 0 2px;
}

.bd-remove:hover { color: var(--oxblood); border-color: var(--oxblood); }

.bd-price { font-size: 13px; color: var(--gray); padding-top: 2px; }

.bd-empty { padding: 46px 0; color: var(--gray); font-size: 14px; text-align: center; }

.bd-foot { border-top: 1px solid var(--hair); padding: 20px 26px 26px; }

.bd-ship { font-size: 11px; color: var(--gray); }

.bd-meter { height: 1px; background: var(--hair); margin: 8px 0 4px; position: relative; }

.bd-meter i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--chocolate);
  transition: width 0.5s var(--ease);
}

.bd-sub { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 14px; }

.bd-sub .k { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray); }

.bd-sub .v { font-size: 18px; }

.bd-note { font-size: 11px; color: var(--stone); text-align: center; margin-top: 12px; min-height: 15px; }

.wordmark {
  display: inline-flex;
  width: 132px;
  line-height: 0;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

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

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
  transition-delay: var(--d, 0s);
}

html.js [data-reveal].inview { opacity: 1; transform: none; }

/* Product photography must never pass through a translucent compositing layer:
   it breaks the multiply blend and exposes the JPG's white studio ground. */
html.js .card[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

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

.hero {
  --hero-h: clamp(650px, 90svh, 820px);
  --head-space: 118px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bone);
  border-bottom: 1px solid var(--hair);
  min-height: var(--hero-h);
  padding-top: var(--head-space);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: calc(var(--head-space) + 8px);
  pointer-events: none;
  background: rgba(250, 247, 241, 0.01);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to bottom,
    #000 0%,
    rgba(0, 0, 0, 0.96) 42%,
    rgba(0, 0, 0, 0.62) 72%,
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    #000 0%,
    rgba(0, 0, 0, 0.96) 42%,
    rgba(0, 0, 0, 0.62) 72%,
    transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(242, 236, 225, 0.94) 0%,
    rgba(242, 236, 225, 0.82) 31%,
    rgba(242, 236, 225, 0.28) 51%,
    rgba(242, 236, 225, 0) 68%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% 100%;
}

.herogrid {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: calc(var(--hero-h) - var(--head-space));
  padding-top: clamp(42px, 6vh, 68px);
  padding-bottom: clamp(42px, 6vh, 68px);
}

.hero-text { width: min(600px, 52vw); }

.kicker { margin-bottom: 26px; color: var(--taupe); }

.hero h1 {
  font-size: clamp(42px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 450;
  margin: 0 0 24px;
  letter-spacing: 0.01em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero .lede { color: var(--gray); max-width: 44ch; margin: 0 0 36px; font-size: 16px; }

.heroctas { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }

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

.shop { padding: 96px 0 94px; }

.shophead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.shophead h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 450; margin: 12px 0 0; }

/* product card */

.card { display: block; }

.card .ph {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}

.card .ph img.a {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 7%;
  transition: transform 1.2s var(--ease);
}

.card .ph img.b {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.65s ease, transform 1.6s var(--ease);
}

.card:hover .ph img.b { opacity: 1; transform: scale(1); }

/* flip variant: model shot leads, product shot appears on hover */
.card.flip .ph img.a { object-fit: cover; mix-blend-mode: normal; padding: 0; }

.card .meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 16px;
}

.card .pname { color: var(--ink); }

.card .pprice { margin-left: auto; font-size: 12px; letter-spacing: 0.08em; color: var(--gray); }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 86px;
}

/* ---------- details editorial ---------- */

.details-ed { padding: 92px 0 84px; border-top: 1px solid var(--hair); }

.dhead { text-align: center; margin-bottom: 52px; }

.dhead h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 450; margin: 12px 0 0; }

.dgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.dgrid figure {
  margin: 0;
  background: var(--paper);
  isolation: isolate;
}

.dgrid img { width: 100%; display: block; mix-blend-mode: multiply; }

.dgrid figcaption { margin-top: 16px; }

.dgrid .dlabel { color: var(--stone); display: block; margin-bottom: 6px; }

.dgrid p { color: var(--gray); font-size: 13px; margin: 0; }

.service-strip { border-bottom: 1px solid var(--hair); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-grid span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 18px 24px;
  text-align: center;
  color: var(--gray);
  border-right: 1px solid var(--hair);
}

.service-grid span:last-child { border-right: 0; }

/* ---------- PDP ---------- */

.pdpmain { padding-top: 130px; }

.crumbs { padding: 6px 0 26px; }

.crumbs a { color: var(--stone); }

.crumbs span { color: var(--gray); }

.pdp {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 40px;
}

.gal { display: grid; gap: 40px; }

.gal img { width: 100%; display: block; }

.gal img.truth { mix-blend-mode: multiply; }

.buy { position: sticky; top: 104px; }

.galdots { display: none; }

/* hover/tap video over the model still — container carries the
   watermark-cropped aspect so still and clip stay aligned */

.vidwrap {
  position: relative;
  display: block;
  aspect-ratio: 856 / 1000;
  overflow: hidden;
}

.vidwrap[role="button"] { cursor: pointer; }

.vidwrap:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 4px; }

.vidwrap img,
.vidwrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.vidwrap video {
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.vidwrap.playing video { opacity: 1; }

.buy h1 { font-size: clamp(30px, 3vw, 40px); font-weight: 450; margin: 8px 0 10px; }

.buy .price { font-size: 17px; margin-bottom: 28px; }

.optlabel { margin: 24px 0 10px; }

.optlabel .sel { color: var(--ink); }

.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 10px; }

.swatches button, .sizes button {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--hair);
  color: var(--gray);
  padding: 10px 18px;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.swatches button:hover, .sizes button:hover { border-color: var(--taupe); color: var(--ink); }

.swatches button.on, .sizes button.on { border-color: var(--ink); color: var(--ink); }

.purchase-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.purchase-actions .addbag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  height: 54px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  line-height: 1;
}

.purchase-actions .addbag:hover {
  background: var(--bone);
  color: var(--ink);
  letter-spacing: 0.24em;
}

.apple-pay-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 140px;
  height: 54px;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.apple-pay-button:hover { opacity: 0.86; }

.apple-pay-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}

.apple-pay-lead {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.apple-pay-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.apple-pay-logo {
  display: block;
  width: 19px;
  height: 25px;
  fill: currentColor;
  flex: 0 0 auto;
}

@supports (-webkit-appearance: -apple-pay-button) {
  .apple-pay-button {
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: buy;
    -apple-pay-button-style: black;
    height: 54px;
    min-height: 54px;
    padding: 0;
  }

  .apple-pay-fallback { visibility: hidden; }
}

.bagnote { margin-top: 12px; font-size: 12px; color: var(--stone); text-align: center; min-height: 18px; }

/* accordions */

.acc { margin-top: 34px; border-top: 1px solid var(--hair); }

.acc details { border-bottom: 1px solid var(--hair); }

.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.acc summary::-webkit-details-marker { display: none; }

.acc summary::after {
  content: "+";
  color: var(--stone);
  font-size: 15px;
  transition: transform 0.35s var(--ease);
}

.acc details[open] summary::after { transform: rotate(45deg); }

.acc .accbody { padding: 2px 0 20px; color: var(--gray); font-size: 14px; }

.acc .accbody p { margin: 0 0 10px; }

.specs { list-style: none; margin: 0; padding: 0; }

.specs li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 0;
  font-size: 13px;
}

.specs .k {
  color: var(--stone);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-top: 2px;
  white-space: nowrap;
}

.specs .v { color: var(--gray); text-align: right; }

/* Atalina capsule disclosure */

.atalina-disclosure {
  position: relative;
  z-index: 4;
  margin-top: 18px;
}

.atalina-summary {
  position: relative;
  width: 100%;
  min-height: 58px;
  padding: 7px 50px 7px 16px;
  display: flex;
  align-items: center;
  background: #F6F1E9;
  color: var(--ink);
  border: 1px solid var(--hair);
  border-radius: 14px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.atalina-summary:hover,
.atalina-summary:focus-visible,
.atalina-disclosure.is-visible .atalina-summary {
  background: var(--bone);
  border-color: var(--taupe);
}

.atalina-lockup {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.atalina-alya-logo { display: block; width: 78px; height: auto; }

.atalina-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.atalina-partner img {
  position: relative;
  top: 1px;
  width: 82px;
  height: auto;
  display: block;
  object-fit: contain;
}

.atalina-info {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gray);
  border-radius: 50%;
  color: var(--ink);
  font-family: "Bodoni Moda", Didot, serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1;
  transform: translateY(-50%);
}

.atalina-panel {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: calc(100% + 11px);
  width: min(420px, 100%);
  padding: 21px 22px 22px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: #201D1B;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  box-shadow: 0 20px 48px rgba(20, 18, 16, 0.22);
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.atalina-panel::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -7px;
  width: 13px;
  height: 13px;
  background: #201D1B;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transform: rotate(45deg);
}

.atalina-disclosure.is-visible .atalina-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.atalina-panel-head {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.atalina-panel .atalina-panel-kicker {
  margin: 0;
  color: #D9C8B9;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.atalina-panel > p {
  margin: 0;
  color: rgba(250, 247, 241, 0.88);
  font-size: 13.5px;
  line-height: 1.62;
}

.atalina-close {
  min-width: 78px;
  min-height: 40px;
  padding: 0 12px 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.atalina-close span:last-child {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.atalina-close:hover,
.atalina-close:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.42);
}

/* related */

.related { padding: 66px 0 90px; border-top: 1px solid var(--hair); margin-top: 40px; }

.related .rhead { margin-bottom: 36px; }

.related .trio { padding-bottom: 0; }

/* ---------- prose pages ---------- */

.prosemain { padding-top: 150px; }

.prosehero { max-width: 1240px; margin: 0 auto 60px; padding: 0 40px; }

.prosehero img { width: 100%; display: block; height: 44vh; min-height: 300px; object-fit: cover; }

.prose { max-width: 680px; margin: 0 auto; padding: 0 40px 100px; }

.prose h1 { font-size: clamp(34px, 3.4vw, 46px); font-weight: 450; margin: 0 0 34px; }

.prose h2 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gray);
  margin: 44px 0 12px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.prose p { color: var(--gray); margin: 0 0 16px; }

.prose .emblem { width: 96px; display: block; margin: 10px auto 36px; }

/* ---------- checkout ---------- */

.checkout-main { padding: 146px 0 112px; min-height: 74vh; }

.checkout-heading { max-width: 620px; margin-bottom: 44px; }

.checkout-heading h1 {
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 450;
  line-height: 1.1;
  margin: 9px 0 14px;
}

.checkout-heading p {
  max-width: 48ch;
  color: var(--gray);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.checkout-page .hd nav.caps {
  font-size: 12px;
  letter-spacing: 0.18em;
}

.checkout-page .langs button {
  color: var(--gray);
  font-size: 11px;
}

.checkout-heading > .caps,
.checkout-express h2,
.checkout-address-fallback > legend,
.checkout-shipping-method > legend,
.checkout-section-head h2,
.checkout-section-head .textlink {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.18em;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  gap: clamp(48px, 6vw, 82px);
  align-items: start;
}

.checkout-flow { min-width: 0; }

.checkout-express {
  padding: 0 0 30px;
}

.checkout-express h2 { margin: 0 0 16px; font-weight: 500; }

.checkout-stripe-mount:empty { display: none; }

.checkout-wallet-stage {
  display: grid;
  min-height: 54px;
}

.checkout-wallet-preview,
.checkout-express-mount {
  grid-area: 1 / 1;
}

.checkout-wallet-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  visibility: visible;
}

.checkout-wallet-option {
  display: grid;
  place-items: center;
  align-items: center;
  width: 100%;
  min-height: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 27px;
  opacity: 1;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.checkout-wallet-apple {
  border-radius: 27px;
  background: #000;
}

.checkout-wallet-apple apple-pay-button {
  display: block;
  width: 100%;
  height: 54px;
  --apple-pay-button-width: 100%;
  --apple-pay-button-height: 54px;
  --apple-pay-button-border-radius: 27px;
  --apple-pay-button-padding: 0;
  --apple-pay-button-box-sizing: border-box;
}

.checkout-wallet-apple apple-pay-button:not(:defined) { display: none; }

.checkout-wallet-apple-fallback {
  display: none;
  width: 84px;
  height: auto;
}

.checkout-wallet-apple apple-pay-button:not(:defined) + .checkout-wallet-apple-fallback {
  display: block;
}

.checkout-google-pay-mount,
.checkout-google-pay-mount > button,
.checkout-google-pay-mount > img {
  display: block;
  width: 100%;
  height: 54px;
}

.checkout-google-pay-mount {
  border-radius: 27px;
  background: #202124;
  overflow: hidden;
}

.checkout-google-pay-mount > img { border-radius: 27px; object-fit: cover; }

.checkout-google-pay-mount > button:disabled {
  opacity: 1 !important;
  filter: none !important;
}

.checkout-express-mount {
  min-height: 54px;
  visibility: hidden;
  pointer-events: none;
}

.checkout-express.is-live .checkout-wallet-preview {
  visibility: hidden;
  pointer-events: none;
}

.checkout-express.is-live .checkout-express-mount {
  visibility: visible;
  pointer-events: auto;
}

.checkout-element-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--gray);
  font-size: 12.5px;
  line-height: 1.55;
}

.checkout-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 10px;
  color: var(--gray);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout-divider::before,
.checkout-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hair);
}

.checkout-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--hair);
}

.checkout-step { border-bottom: 1px solid var(--hair); }

.checkout-step-toggle {
  display: grid;
  grid-template-columns: 38px minmax(0, auto) minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.checkout-step-toggle:disabled {
  color: var(--gray);
  cursor: not-allowed;
}

.checkout-step-number {
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.checkout-step-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.checkout-step-summary {
  min-width: 0;
  overflow: hidden;
  color: var(--gray);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-step-action {
  visibility: hidden;
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hair);
}

.checkout-step.is-complete .checkout-step-action { visibility: visible; }

.checkout-step-chevron {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.25s var(--ease);
}

.checkout-step-toggle[aria-expanded="true"] .checkout-step-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.checkout-step-panel { padding: 4px 0 38px 50px; }
.checkout-step-panel[hidden] { display: none; }

.checkout-form { width: min(100%, 600px); }

.checkout-field { min-width: 0; margin-bottom: 18px; }

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-field-row-address { grid-template-columns: minmax(0, 1.3fr) minmax(140px, 0.7fr); }

.checkout-field label {
  display: block;
  margin: 0 0 7px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.checkout-field label span { color: var(--gray); }

.checkout-field input,
.checkout-field select {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid var(--taupe);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.checkout-field input:hover,
.checkout-field select:hover { border-color: var(--taupe); }

.checkout-field input:focus,
.checkout-field select:focus {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.25);
}

.checkout-field input[readonly] { color: var(--gray); background: var(--bone); }

.checkout-field input[aria-invalid="true"],
.checkout-field select[aria-invalid="true"] { border-color: var(--oxblood); }

.checkout-field-hint,
.checkout-address-note {
  margin: 7px 0 0;
  color: var(--gray);
  font-size: 12.5px;
  line-height: 1.55;
}

.checkout-form-error {
  min-height: 19px;
  margin: 0 0 12px;
  color: var(--oxblood);
  font-size: 13px;
  line-height: 1.55;
}

.checkout-next { width: 100%; min-height: 54px; }

.checkout-page .checkout-next,
.checkout-page .checkout-pay,
.checkout-page .checkout-empty .btn {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.2em;
}

.checkout-address-mount:not(:empty) + .checkout-address-fallback { display: none; }

.checkout-address-fallback,
.checkout-shipping-method {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.checkout-address-fallback > legend,
.checkout-shipping-method > legend {
  width: 100%;
  padding: 0;
  margin: 0 0 15px;
  font-weight: 500;
  color: var(--gray);
}

.checkout-address-note { margin: -4px 0 18px; }

.checkout-shipping-method {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}

.checkout-shipping-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  padding: 11px 14px;
  border: 1px solid var(--ink);
  cursor: pointer;
}

.checkout-shipping-option input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--ink);
}

.checkout-shipping-option strong,
.checkout-shipping-option small { display: block; }

.checkout-shipping-option strong { font-size: 14px; font-weight: 500; }
.checkout-shipping-option small { margin-top: 2px; color: var(--gray); font-size: 12px; }
.checkout-shipping-option .checkout-money { font-size: 13px; }

.checkout-payment-mount { margin-bottom: 22px; }

.checkout-payment-pending {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--hair);
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}

.checkout-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--hair);
}

.checkout-section-head h2 { margin: 0; font-weight: 500; }

.checkout-summary-shell {
  position: sticky;
  top: 126px;
  min-width: 0;
}

.checkout-summary-mobile { display: none; }

.checkout-summary {
  border-left: 1px solid var(--hair);
  padding-left: 38px;
}

.checkout-items { border-bottom: 1px solid var(--hair); }

.checkout-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 17px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(201, 192, 178, 0.62);
  background: var(--paper);
  isolation: isolate;
}

.checkout-item:last-child { border-bottom: 0; }

.checkout-item > img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.checkout-item-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.45;
  margin: 1px 0 4px;
}

.checkout-item-variant {
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0;
}

.checkout-item-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; }

.checkout-qty { display: inline-flex; align-items: center; border: 1px solid var(--hair); }

.checkout-qty button {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--gray);
  font: inherit;
  cursor: pointer;
}

.checkout-qty button:hover:not(:disabled) { color: var(--ink); background: var(--bone); }
.checkout-qty button:disabled { color: var(--hair); cursor: not-allowed; }
.checkout-qty span { min-width: 22px; text-align: center; font-size: 13px; }

.checkout-remove {
  min-height: 38px;
  border: 0;
  border-bottom: 1px solid var(--hair);
  background: transparent;
  color: var(--gray);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.checkout-remove:hover { color: var(--oxblood); border-color: var(--oxblood); }

.checkout-item-price,
.checkout-totals dd,
.checkout-money,
.bd-price,
.bd-sub .v {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.checkout-item-price { color: var(--gray); font-size: 14px; padding-top: 1px; }

.checkout-totals { margin: 0; }

.checkout-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  color: var(--gray);
  font-size: 13px;
  border-bottom: 1px solid rgba(201, 192, 178, 0.62);
}

.checkout-totals dt,
.checkout-totals dd { margin: 0; }

.checkout-totals dd { text-align: right; }

.checkout-totals .checkout-total {
  align-items: baseline;
  color: var(--ink);
  padding: 18px 0;
  border-bottom-color: var(--hair);
}

.checkout-total dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

.checkout-total dd {
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.checkout-delivery,
.checkout-secure,
.checkout-status {
  color: var(--gray);
  font-size: 12.5px;
  line-height: 1.6;
}

.checkout-delivery { margin: 14px 0 0; }
.checkout-pay { width: 100%; min-height: 54px; }
.checkout-pay[aria-busy="true"] { cursor: wait; }
.checkout-pay:disabled,
.checkout-next:disabled { background: var(--bone); border: 1px solid var(--taupe); color: var(--gray); cursor: not-allowed; }
.checkout-secure { margin: 13px 0 0; text-align: center; }
.checkout-status { min-height: 28px; margin: 10px 0 0; text-align: center; }
.checkout-status.is-error { color: var(--oxblood); }
.checkout-status.is-note { color: var(--chocolate); }

.checkout-empty { max-width: 620px; padding: 44px 0 70px; border-top: 1px solid var(--hair); }
.checkout-empty h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 450; margin: 0 0 12px; }
.checkout-empty p { color: var(--gray); margin: 0 0 28px; }

.checkout-page footer .caps,
.checkout-page footer .f-news button {
  font-size: 12px;
}

.checkout-page footer .f-news p,
.checkout-page footer .f-news input,
.checkout-page footer .f-col a {
  font-size: 14px;
}

.checkout-page footer .footbase { font-size: 12px; }

@media (min-width: 981px) {
  .checkout-summary-shell:not([open]) > .checkout-summary { display: block; }
}

.confirmation-main {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 176px 40px 110px;
}

.confirmation-panel { width: min(620px, 100%); text-align: center; }
.confirmation-panel .emblem { width: 82px; display: block; margin: 0 auto 32px; }
.confirmation-panel h1 { font-size: clamp(38px, 4vw, 54px); font-weight: 450; margin: 12px 0 18px; }
.confirmation-panel p { color: var(--gray); max-width: 50ch; margin: 0 auto; }
.confirmation-actions { margin-top: 34px; }

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

footer { background: var(--bone); border-top: 1px solid var(--hair); }

.footgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 74px;
  padding-bottom: 60px;
}

.f-news p { color: var(--gray); font-size: 13px; margin: 12px 0 26px; max-width: 34ch; }

.f-news form { display: flex; align-items: flex-end; gap: 18px; max-width: 360px; }

.f-news input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid var(--taupe);
  background: transparent;
  padding: 8px 2px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
}

.f-news input:focus { border-color: var(--ink); }

.f-news button {
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 0 8px 2px;
  border-bottom: 1px solid var(--ink);
}

.f-news .oknote { font-size: 12px; color: var(--chocolate); margin-top: 12px; min-height: 16px; }

.f-col .fhead { display: block; color: var(--stone); margin-bottom: 18px; }

.f-col a { display: block; color: var(--gray); font-size: 13px; padding: 5px 0; }

.f-col a:hover { color: var(--ink); }

.footbase {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hair);
  padding-top: 24px;
  padding-bottom: 30px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .wrap, .hd, .prosehero, .prose { padding-left: 26px; padding-right: 26px; }
  .pdp { grid-template-columns: 1fr; gap: 40px; }
  .hero { --hero-h: clamp(700px, 92svh, 780px); }
  .hero::after {
    background: linear-gradient(90deg,
      rgba(242, 236, 225, 0.97) 0%,
      rgba(242, 236, 225, 0.9) 37%,
      rgba(242, 236, 225, 0.48) 58%,
      rgba(242, 236, 225, 0) 82%);
  }
  .hero-bg { object-position: 76% 100%; }
  .herogrid {
    min-height: calc(var(--hero-h) - var(--head-space));
    padding-top: 42px;
    padding-bottom: 44px;
  }
  .hero-text { width: min(520px, 70vw); }
  .hero h1 { font-size: clamp(34px, 5vw, 46px); }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 22px; }

  /* PDP gallery becomes a swipeable strip so the buy column
     sits one short scroll away instead of three photos away */
  .pdp { gap: 30px; }

  .gal {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -26px;
    padding: 0 26px;
  }

  .gal::-webkit-scrollbar { display: none; }

  .gal > img,
  .gal > .vidwrap {
    flex: 0 0 85%;
    width: 85%;
    scroll-snap-align: center;
  }

  .gal > .vidwrap { order: -1; }

  .galdots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .galdots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hair);
    transition: background 0.3s ease;
  }

  .galdots i.on { background: var(--chocolate); }
  .trio, .dgrid { grid-template-columns: 1fr 1fr; }
  .footgrid { grid-template-columns: 1fr 1fr; }
  .buy { position: static; }
  .checkout-layout { grid-template-columns: 1fr; gap: 38px; }
  .checkout-summary-shell {
    position: static;
    order: -1;
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
  }
  .checkout-summary-shell:not([open]) > .checkout-summary { display: none; }
  .checkout-summary-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 58px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
  }
  .checkout-summary-mobile::-webkit-details-marker { display: none; }
  .checkout-summary-mobile::after {
    content: "+";
    order: 2;
    color: var(--gray);
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
  }
  .checkout-summary-shell[open] .checkout-summary-mobile::after { content: "−"; }
  .checkout-summary-mobile .checkout-money { margin-left: auto; letter-spacing: 0; }
  .checkout-summary {
    border-left: 0;
    border-top: 1px solid rgba(201, 192, 178, 0.62);
    padding: 24px 0 20px;
  }
  .hd nav { gap: 16px; }
  .hd nav.left span.hidesm, .hd nav.right span.hidesm { display: none; }
}

@media (max-width: 820px) and (orientation: portrait) {
  .hero { --hero-h: max(780px, 100svh); }
  .hero::after {
    background: linear-gradient(180deg,
      rgba(242, 236, 225, 1) 0%,
      rgba(242, 236, 225, 1) 47%,
      rgba(242, 236, 225, 0.88) 58%,
      rgba(242, 236, 225, 0.18) 75%,
      rgba(242, 236, 225, 0) 88%);
  }
  .hero-bg {
    inset: auto 0 0;
    height: 62%;
    object-position: 85% 100%;
  }
  .herogrid {
    align-items: flex-start;
    padding-top: 34px;
    padding-bottom: 280px;
  }
  .hero-text { width: 100%; max-width: 560px; }
}

@media (max-height: 600px) and (min-width: 621px) {
  .hero { --hero-h: max(540px, 100svh); }
  .hero::after {
    background: linear-gradient(90deg,
      rgba(242, 236, 225, 0.97) 0%,
      rgba(242, 236, 225, 0.86) 34%,
      rgba(242, 236, 225, 0.34) 53%,
      rgba(242, 236, 225, 0) 72%);
  }
  .hero-bg { inset: 0; height: 100%; object-position: 68% 100%; }
  .herogrid { align-items: center; padding-top: 24px; padding-bottom: 28px; }
  .hero-text { width: min(500px, 56vw); }
  .hero h1 { font-size: clamp(30px, 4.5vw, 42px); }
  .hero .lede { margin-bottom: 24px; }
}

@media (max-width: 620px) {
  .trio, .dgrid { grid-template-columns: 1fr; }
  .footgrid { grid-template-columns: 1fr; gap: 34px; }
  .wordmark { width: 108px; }
  .hd { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 8px; padding: 18px 20px; }
  .hd nav { gap: 8px; }
  .hd nav.left a[href*="about"],
  .hd nav.right a[href*="contact"] { display: none; }
  .hd .wordmark { grid-column: 2; grid-row: 1; justify-self: center; }
  .hd nav.right { grid-column: 3; grid-row: 1; }
  .hd .bag { min-height: 40px; gap: 5px; padding: 7px 8px; }
  .hd .bag-count { min-width: 18px; height: 18px; }
  .caps { font-size: 10px; }
  .hero { --head-space: 96px; --hero-h: max(740px, 100svh); }
  .herogrid { padding: 28px 20px 250px; }
  .hero-text { width: 100%; max-width: none; }
  .hero h1 { font-size: clamp(23px, 7.3vw, 40px); }
  .hero .lede { font-size: 15px; margin-bottom: 28px; }
  .heroctas { gap: 18px; }
  .heroctas .btn { padding: 15px 20px; letter-spacing: 0.18em; }
  .shop { padding: 64px 0 60px; overflow: visible; }
  .shophead { margin-bottom: 24px; }
  .shophead h2 { font-size: 30px; }
  .collection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
    margin: 0 -26px;
    padding: 0;
  }
  .collection-grid .card {
    display: grid;
    grid-template-columns: 58% 42%;
    grid-template-areas: "media caption";
    width: 100%;
    min-height: 0;
    padding: 0;
    border-top: 1px solid var(--hair);
  }
  .collection-grid .card:last-child { border-bottom: 1px solid var(--hair); }
  .collection-grid .card:nth-child(even) {
    grid-template-columns: 42% 58%;
    grid-template-areas: "caption media";
  }
  .collection-grid .card:focus-visible { outline-offset: -3px; }
  .collection-grid .card .ph {
    grid-area: media;
    width: 100%;
    height: clamp(160px, 45vw, 180px);
    aspect-ratio: auto;
  }
  .collection-grid .card .ph img.a { display: none; }
  .collection-grid .card .ph img.b {
    display: block;
    opacity: 1;
    transform: none;
    transition: none;
    object-position: 50% 74%;
  }
  .collection-grid .card[href="mesh-mary-jane.html"] .ph img.b {
    object-position: 50% 90%;
  }
  .collection-grid .card .meta {
    grid-area: caption;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    min-width: 0;
    margin-top: 0;
    padding: 18px clamp(13px, 4vw, 18px);
    border-left: 1px solid var(--hair);
    background: var(--paper);
  }
  .collection-grid .card:nth-child(even) .meta { border-left: 0; border-right: 1px solid var(--hair); }
  .collection-grid .card .pname {
    font-family: "Bodoni Moda", Didot, "Bodoni MT", "Playfair Display", serif;
    font-size: clamp(19px, 5.4vw, 22px);
    font-weight: 450;
    font-variation-settings: "opsz" 22;
    letter-spacing: 0.01em;
    line-height: 1.18;
    text-transform: none;
  }
  .collection-grid .card .pprice {
    margin: 15px 0 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
  }
  .details-ed { padding: 72px 0 68px; border-top: 0; }
  .dhead { margin-bottom: 38px; }
  .service-grid { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .service-grid span { min-height: 62px; border-right: 0; border-bottom: 1px solid var(--hair); }
  .service-grid span:last-child { border-bottom: 0; }
  .checkout-page .hd { padding-left: 16px; padding-right: 16px; }
  .checkout-page .hd nav { gap: 8px; }
  .checkout-page .hd nav.caps {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .checkout-page .wordmark {
    width: 108px;
  }
  .purchase-actions { grid-template-columns: 1fr; }
  .atalina-disclosure { margin-top: 16px; }
  .atalina-summary { min-height: 60px; padding-left: 14px; }
  .atalina-lockup { gap: 10px; }
  .atalina-alya-logo { width: 74px; }
  .atalina-partner { gap: 5px; font-size: 12.5px; }
  .atalina-partner img { width: 76px; }
  .atalina-panel {
    width: min(420px, calc(100vw - 52px));
    padding: 19px 18px 20px;
  }
  .atalina-panel > p { font-size: 13px; line-height: 1.6; }
  .checkout-main { padding-top: 132px; padding-bottom: 76px; }
  .checkout-heading { margin-bottom: 32px; }
  .checkout-heading h1 { font-size: 40px; }
  .checkout-wallet-preview { grid-template-columns: 1fr; }
  .checkout-wallet-option { width: min(100%, 338px); justify-self: center; }
  .checkout-step-toggle {
    grid-template-columns: 32px minmax(0, auto) minmax(0, 1fr) 12px;
    gap: 10px;
    min-height: 66px;
  }
  .checkout-step-action { display: none; }
  .checkout-step-panel { padding: 2px 0 32px; }
  .checkout-field-row,
  .checkout-field-row-address { grid-template-columns: 1fr; gap: 0; }
  .checkout-field input,
  .checkout-field select { font-size: 16px; }
  .checkout-item { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .checkout-item > img { width: 72px; height: 72px; }
  .checkout-item-price { grid-column: 2; margin-top: -8px; }
  .checkout-item-actions { flex-wrap: wrap; gap: 14px; }
  .checkout-summary-mobile { min-height: 56px; }
  .confirmation-main { padding: 148px 24px 90px; }
}

@media (max-width: 380px) {
  .hd { padding-left: 16px; padding-right: 16px; }
  .wordmark,
  .checkout-page .wordmark {
    width: 98px;
  }
  .hd nav.right > a[href*="contact"],
  .hd nav.left > a[href*="about"] { display: none; }
  .atalina-panel {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-height: calc(100svh - 32px);
    overflow-y: auto;
  }
  .atalina-panel::after { display: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
  #bagDrawer, #bagOverlay, .bd-meter i { transition: none; }
  .vidwrap video { transition: none; }
  .card .ph img.b, .card .ph img.a { transition: none; }
  .checkout-step-chevron { transition: none; }
  .atalina-summary,
  .atalina-panel,
  .atalina-close { transition: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
