/* ==========================================================================
   Oat & Fern — design system
   Reference layout language: editorial home-goods storefront.
   Palette: cool cream + near-black ink + sage. Zero-radius controls.
   Contrast notes (WCAG AA small text >= 4.5:1):
     ink      #1B1917  on --bg 14.1:1 / on --surface 12.9:1
     body     #565049  on --bg  6.3:1 / on --surface  5.8:1
     muted    #5C564D  on --bg  5.5:1 / on --surface  5.1:1
     sale     #9E3A26  on --bg  5.6:1 / on --surface  5.2:1
   ========================================================================== */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/jost-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: 'Jost';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/jost-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;
}

:root {
  --bg: #EFECE1;
  --surface: #F7F5EC;
  --surface-2: #E3E0D2;      /* image mat / placeholders only — no text on it */
  --ink: #1B1917;
  --body: #565049;
  --muted: #5C564D;
  --hair: rgba(27, 25, 23, 0.16);
  --sage: #97A186;
  --pine: #2E4B3A;
  --peach: #F1D7C4;
  --sale: #9E3A26;
  --display: 'Jost', 'Avenir Next', 'Century Gothic', system-ui, sans-serif;
  --body-font: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 64px;
  --pad: clamp(18px, 4vw, 56px);
  --v: 20261001h;
}

/* ---------- resets ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: 0.01em; }
[id] { scroll-margin-top: calc(var(--header-h) + 30px); }
[hidden] { display: none !important; }
::selection { background: var(--sage); color: #fff; }

.container { padding-inline: var(--pad); max-width: 1480px; margin-inline: auto; }
.eyebrow {
  font-family: var(--display); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }

/* ---------- announcement marquee ---------- */
.announce { background: var(--pine); color: #F2EFE4; overflow: hidden; font-size: 12.5px; letter-spacing: 0.06em; }
.announce__track { display: flex; white-space: nowrap; animation: af-marquee 36s linear infinite; }
.announce__track > span { padding: 9px 3.2rem; flex: none; }
@keyframes af-marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60; background: var(--bg);
  border-bottom: 1px solid var(--hair);
}
.header__grid {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); gap: 16px;
}
.header__nav { display: flex; gap: clamp(14px, 2vw, 28px); }
.header__nav a {
  font-family: var(--display); font-size: 13.5px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.header__nav a:hover { border-bottom-color: var(--ink); }
.logo {
  font-family: var(--display); font-weight: 500; text-decoration: none;
  font-size: clamp(20px, 2.4vw, 26px); letter-spacing: 0.3em; text-transform: uppercase;
  white-space: nowrap; text-align: center;
}
.logo b { font-weight: 300; }
.header__tools { display: flex; gap: 18px; justify-content: flex-end; align-items: center; }
.header__tools button, .header__tools a { text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.cart-count {
  font-family: var(--display); font-size: 11px; background: var(--ink); color: var(--bg);
  border-radius: 50%; min-width: 18px; height: 18px; display: inline-grid; place-items: center;
  padding: 0 4px;
}
.header__burger { display: none; }

/* ---------- drawers ---------- */
.scrim, .drawer, .search-panel, .mnav {
  position: fixed; inset: 0; z-index: 80; background: rgba(27, 25, 23, 0.44);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
.drawer, .mnav, .search-panel { background: none; pointer-events: none; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw);
  background: var(--bg); transform: translateX(102%); visibility: hidden; pointer-events: auto;
  transition: transform 0.34s var(--ease), visibility 0s linear 0.34s;
  display: flex; flex-direction: column;
}
.drawer.is-open .drawer__panel, .mnav.is-open .mnav__panel {
  transform: none; visibility: visible; transition: transform 0.34s var(--ease);
}
.mnav__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--bg); transform: translateX(-102%); visibility: hidden; pointer-events: auto;
  transition: transform 0.34s var(--ease), visibility 0s linear 0.34s; padding: 24px;
  overflow-y: auto;
}
.drawer__head, .mnav__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--hair); }
.drawer__body { padding: 12px 22px; overflow-y: auto; flex: 1; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); align-items: start; }
.cart-line img { width: 64px; aspect-ratio: 32 / 45; object-fit: cover; background: var(--surface-2); }
.cart-line__name { font-family: var(--display); font-size: 14px; text-decoration: none; }
.qty { display: inline-flex; border: 1px solid var(--hair); }
.qty button { width: 26px; height: 26px; }
.qty span { min-width: 26px; display: grid; place-items: center; font-size: 13px; }
.cart-empty { padding: 40px 0; text-align: center; color: var(--muted); }
.drawer__foot { padding: 18px 22px; border-top: 1px solid var(--hair); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  font-family: var(--display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; transition: background 0.2s, color 0.2s; border-radius: 0;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--bg); }
.btn--full { width: 100%; }

.search-panel__box {
  position: absolute; top: 0; left: 0; right: 0; background: var(--bg);
  padding: 26px var(--pad) 34px; pointer-events: auto; visibility: hidden;
  transform: translateY(-8px); transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
  border-bottom: 1px solid var(--hair);
}
.search-panel.is-open .search-panel__box { visibility: visible; transform: none; transition: transform 0.3s var(--ease); }
.search-panel input[type="search"] {
  width: 100%; font-size: 20px; font-family: var(--display); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); padding: 10px 2px;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
input[type="search"]::-moz-search-cancel-button { display: none; }
.search-hits { margin-top: 16px; display: grid; gap: 4px; }
.search-hits a { display: flex; justify-content: space-between; text-decoration: none; padding: 8px 2px; border-bottom: 1px solid var(--hair); }
.search-hits a:hover { background: var(--surface); }

.mnav__link { display: block; font-family: var(--display); font-size: 17px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--hair); }

/* ---------- hero slideshow ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface-2); touch-action: pan-y; }
.hero__track { display: flex; transition: transform 0.7s cubic-bezier(0.33, 0, 0.2, 1); }
.hero__slide { position: relative; flex: 0 0 100%; min-width: 100%; }
.hero__media { height: calc(100vh - var(--header-h) - 36px); height: calc(100svh - var(--header-h) - 36px); min-height: 540px; max-height: 940px; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* legibility scrim: gentle all-over darkening, heavier at the copy side (bottom) */
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(27, 25, 23, 0.30) 0%, rgba(27, 25, 23, 0.16) 42%, rgba(27, 25, 23, 0.54) 100%);
}
.hero__copy {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center; text-align: center;
  padding-inline: var(--pad); padding-bottom: clamp(60px, 9vh, 116px); color: #F5F2E8;
}
.hero__copy > * { max-width: 760px; }
.hero__copy h1, .hero__copy p { text-shadow: 0 1px 30px rgba(20, 18, 14, 0.55); }
.hero__copy h1 { font-size: clamp(34px, 4.6vw, 64px); }
.hero__copy p { font-size: clamp(15px, 1.4vw, 18px); margin: 14px 0 26px; }
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 46px; height: 46px; border: 0; cursor: pointer;
  background: rgba(245, 242, 232, 0.92); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease);
}
.hero__arrow:hover { background: #F5F2E8; }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }
.hero__dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 6; }
.hero__dots button { width: 26px; height: 3px; padding: 0; border: 0; cursor: pointer; background: rgba(245, 242, 232, 0.45); }
.hero__dots button.is-active { background: #F5F2E8; }

/* ---------- shelves / cards ---------- */
.section { padding-block: clamp(44px, 7vw, 96px); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.section__head h2 { font-size: clamp(24px, 3vw, 38px); }
.link-more { font-family: var(--display); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.grid { display: grid; gap: clamp(14px, 2vw, 26px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--faves { grid-template-columns: repeat(4, 1fr); }

.card { position: relative; }
.card__media { position: relative; aspect-ratio: 32 / 45; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__media > a { position: absolute; inset: 0; z-index: 1; }
.card__flag {
  position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--pine); color: #F2EFE4;
  font-family: var(--display); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 9px;
}
.card__flag--sale { background: var(--sale); }
.card__info { padding-top: 12px; }
.card__name { font-family: var(--display); font-size: 15px; text-decoration: none; display: block; }
.card__name:hover { text-decoration: underline; }
.card__price { margin-top: 3px; font-size: 13.5px; color: var(--body); display: flex; gap: 8px; }
.card__price s { color: var(--muted); }
.card__price .now-sale { color: var(--sale); }

/* ---------- new-arrivals horizontal row (sits directly under the hero) ---------- */
.hrow-wrap { position: relative; padding-block: clamp(26px, 4vw, 52px) 4px; }
.hrow-head { display: flex; align-items: baseline; justify-content: space-between; padding-inline: var(--pad); margin-bottom: 14px; }
.hrow-head__left { display: flex; align-items: baseline; gap: 16px; }
.hrow-title { font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); letter-spacing: 0.01em; }
.hrow-hint { font-size: 13px; letter-spacing: 0.04em; color: rgba(27,25,23,0.5); white-space: nowrap; user-select: none; opacity: 0.7; animation: hrowHintPulse 2.4s ease-in-out infinite; transition: opacity .45s ease; }
.hrow-hint--hide { opacity: 0; animation: none; }
@keyframes hrowHintPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.9; } }
.hrow-nav { display: flex; gap: 8px; }
.hrow-arrow {
  width: 40px; height: 40px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s, color .2s;
}
.hrow-arrow:hover { background: var(--ink); color: var(--bg); }
.hrow-arrow svg { width: 16px; height: 16px; }
.hrow.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.hrow.is-dragging .card { pointer-events: none; }
.hrow {
  display: flex; gap: clamp(12px, 1.4vw, 20px); overflow-x: auto;
  padding-inline: var(--pad); scroll-snap-type: x proximity;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hrow::-webkit-scrollbar { display: none; }
.hrow .card { flex: 0 0 clamp(220px, 23%, 320px); scroll-snap-align: start; }

/* ---------- featured collections: 2×2 giant tiles ---------- */
.fcoll {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 24px) clamp(12px, 1.4vw, 20px);
  padding: clamp(18px, 2.6vw, 40px) clamp(12px, 1.2vw, 18px);
}
.fcoll__tile { display: block; text-decoration: none; color: var(--ink); }
.fcoll__media { display: block; overflow: hidden; background: var(--surface-2); aspect-ratio: 76 / 100; }
.fcoll__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.fcoll__tile:hover .fcoll__media img { transform: scale(1.03); }
.fcoll__label { display: block; margin-top: 10px; font-family: var(--display); font-size: 15.5px; }
.fcoll__tile:hover .fcoll__label { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- house favorites (smaller lifestyle cards) ---------- */
.fcard { display: block; text-decoration: none; color: var(--ink); }
.fcard__media { display: block; overflow: hidden; background: var(--surface-2); aspect-ratio: 5 / 4; }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.fcard:hover .fcard__media img { transform: scale(1.03); }
.fcard__label { display: block; margin-top: 10px; font-family: var(--display); font-size: 14.5px; }
.fcard:hover .fcard__label { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- editorial split ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.editorial__media { aspect-ratio: 1.25; overflow: hidden; background: var(--surface-2); }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial__copy { padding: clamp(26px, 5vw, 84px); }
.editorial__copy h2 { font-size: clamp(26px, 3.2vw, 44px); margin-bottom: 16px; }
.editorial__copy p { color: var(--body); max-width: 46ch; }
.editorial--flip .editorial__media { order: 2; }

/* ---------- value strip ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--hair); }
.values > div { padding: 26px clamp(14px, 2.4vw, 34px); border-left: 1px solid var(--hair); }
.values > div:first-child { border-left: 0; }
.values h3 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.values p { color: var(--body); font-size: 13.5px; margin: 0; }

/* ---------- newsletter ---------- */
.newsletter { background: var(--surface); border-block: 1px solid var(--hair); text-align: center; }
.newsletter h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 8px; }
.newsletter form { display: flex; max-width: 460px; margin: 22px auto 8px; border: 1px solid var(--ink); }
.newsletter input { flex: 1; border: 0; background: transparent; padding: 13px 16px; font-size: 14px; }
.newsletter button { background: var(--ink); color: var(--bg); padding: 0 26px; font-family: var(--display); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12.5px; }
.newsletter small { color: var(--muted); }
.form-status { margin-top: 10px; font-size: 13.5px; }
.form-status.is-ok { color: var(--pine); }
.form-status.is-err { color: var(--sale); }

/* ---------- collection page ---------- */
.crumbs { padding: 20px var(--pad) 0; font-size: 12.5px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.coll-hero { padding: 18px var(--pad) 8px; }
.coll-hero h1 { font-size: clamp(30px, 4vw, 52px); }
.coll-hero p { color: var(--body); max-width: 62ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px var(--pad) 22px; }
.chip {
  border: 1px solid var(--hair); padding: 8px 15px; font-family: var(--display);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
}
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip:hover { border-color: var(--ink); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding: 26px var(--pad) 60px; }
.pdp__main { aspect-ratio: 32 / 45; overflow: hidden; background: var(--surface-2); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.pdp__info h1 { font-size: clamp(26px, 3vw, 40px); margin: 6px 0 10px; }
.pdp__price { font-size: 19px; display: flex; gap: 10px; align-items: baseline; }
.pdp__price s { color: var(--muted); font-size: 16px; }
.pdp__price .now-sale { color: var(--sale); }
.pdp__desc { color: var(--body); margin: 18px 0 22px; }
.pdp__meta { border-top: 1px solid var(--hair); margin-top: 26px; }
.pdp__meta details { border-bottom: 1px solid var(--hair); }
.pdp__meta summary {
  padding: 14px 2px; font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 13px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.pdp__meta summary::-webkit-details-marker { display: none; }
.pdp__meta summary::after { content: '+'; font-size: 17px; }
.pdp__meta details[open] summary::after { content: '–'; }
.pdp__meta .pdp__meta-body { padding: 0 2px 16px; color: var(--body); font-size: 14px; }
.pdp__pay { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 7px; }
.pdp__ship-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- payment badges ---------- */
.pay-badge {
  width: 47px; height: 30px; border: 1px solid var(--hair); background: #fff;
  display: inline-grid; place-items: center; border-radius: 0;
}
.pay-badge svg { width: 36px; height: 20px; display: block; }
.pay-row { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }

/* ---------- policies / faq / about ---------- */
.doc { max-width: 860px; margin-inline: auto; padding: 34px var(--pad) 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 8px; }
.doc .doc__date { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; }
.doc h3 { font-size: 16.5px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--body); font-size: 14.5px; }
.doc ul, .doc ol { padding-left: 20px; }
.doc a { color: var(--ink); }
.toc { background: var(--surface); border: 1px solid var(--hair); padding: 18px 22px; margin: 22px 0; }
.toc a { text-decoration: none; }
.toc li { margin: 4px 0; }

.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary { padding: 16px 2px; font-family: var(--display); font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-a { padding: 0 2px 18px; color: var(--body); max-width: 68ch; }

/* ---------- about ---------- */
.about-hero { aspect-ratio: 1440 / 560; overflow: hidden; background: var(--surface-2); }
.about-hero img { width: 100%; height: 100%; object-fit: cover; }
.legal-block { background: var(--surface); border: 1px solid var(--hair); padding: 22px 26px; margin: 30px 0; font-size: 13.5px; color: var(--body); }
.legal-block h3 { margin-bottom: 8px; }
.legal-block p { margin: 4px 0; }

/* ---------- checkout ---------- */
.co { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 60px); padding: 30px var(--pad) 80px; align-items: start; }
.co__grid[hidden] { display: none; }
.co h1 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 4px; }
.co__sec { margin-top: 28px; }
.co__sec h2 { font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.co .fld { display: grid; gap: 5px; margin-bottom: 14px; }
.co .fld label { font-size: 13px; }
.co .fld label .req { color: var(--sale); }
.co .fld label .opt { color: var(--muted); font-size: 12px; }
.co .fld input, .co .fld select, .co .fld textarea {
  border: 1px solid var(--hair); background: var(--surface); padding: 11px 12px; font: inherit; font-size: 14px; width: 100%;
}
.co .fld input:focus, .co .fld select:focus, .co .fld textarea:focus { outline: 2px solid var(--pine); outline-offset: -1px; }
.co .fld.is-invalid input { border-color: var(--sale); }
.co .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-req-note { font-size: 12px; color: var(--muted); margin: 4px 0 14px; }
.co__summary { border: 1px solid var(--hair); background: var(--surface); padding: 22px 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.co__summary h2 { font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 13.5px; align-items: center; }
.co-line img { width: 56px; aspect-ratio: 32 / 45; object-fit: cover; background: var(--surface-2); }
.co-totals { padding-top: 14px; display: grid; gap: 8px; font-size: 14px; }
.co-totals .row { display: flex; justify-content: space-between; }
.co-totals .grand { font-family: var(--display); font-size: 17px; border-top: 1px solid var(--hair); padding-top: 10px; }
.co-secure { margin-top: 14px; font-size: 12px; color: var(--muted); }
.co-empty { text-align: center; padding: 60px 0 80px; }
.check-req { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 13px; color: var(--body); }
.check-req input { margin-top: 3px; }

/* ---------- footer ---------- */
.wordmark {
  font-family: var(--display); font-weight: 500; color: var(--ink);
  font-size: clamp(54px, 13vw, 196px); line-height: 0.95; letter-spacing: 0.02em;
  text-align: center; white-space: nowrap; user-select: none;
  padding: clamp(34px, 5vw, 70px) var(--pad) 0;
}
.wordmark b { font-weight: 300; }
.footer { background: var(--bg); color: var(--body); border-top: 1px solid var(--hair); margin-top: clamp(30px, 4vw, 56px); }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: clamp(24px, 4vw, 60px); padding: clamp(40px, 6vw, 72px) var(--pad) 30px; max-width: 1480px; margin-inline: auto; }
.footer h3 { color: var(--ink); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; }
.footer__brand .logo { color: var(--ink); display: inline-block; margin-bottom: 12px; }
.footer__brand p { max-width: 40ch; font-size: 13.5px; }
.footer__legal { border-top: 1px solid var(--hair); padding: 20px var(--pad); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; font-size: 12.5px; max-width: 1480px; margin-inline: auto; }
.footer__entity { font-size: 12.5px; line-height: 1.7; max-width: 60ch; }
.footer .pay-row { margin-top: 6px; }
.footer .pay-badge { border-color: var(--hair); background: #fff; }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px;
  max-width: 520px; margin-inline: auto; background: var(--bg); border: 1px solid var(--ink);
  padding: 18px 20px; box-shadow: 0 10px 40px rgba(27, 25, 23, 0.18); font-size: 13px;
  transform: translateY(102%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.cookie.is-open { transform: none; visibility: visible; transition: transform 0.4s var(--ease); }
.cookie p { margin: 0 0 12px; color: var(--body); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__btns .btn { padding: 9px 16px; font-size: 11.5px; }
.cookie__link { font-size: 12px; text-decoration: underline; align-self: center; }

/* ---------- reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .announce__track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .grid--faves { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .values > div:nth-child(odd) { border-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header__nav { display: none; }
  .header__burger { display: inline-flex; }
  .header__grid { grid-template-columns: auto 1fr auto; }
  .logo { text-align: left; font-size: 18px; }
  .pdp, .co, .editorial { grid-template-columns: 1fr; }
  .editorial--flip .editorial__media { order: 0; }
  .co__summary { position: static; order: -1; }
  .pdp__info { position: static; }
  .hero__media { height: auto; aspect-ratio: 4 / 5; min-height: 0; max-height: none; }
  .hero__copy { padding-inline: 28px; padding-bottom: 46px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(27, 25, 23, 0.12) 30%, rgba(27, 25, 23, 0.55) 100%); }
  .hero__arrow { width: 38px; height: 38px; }
  .hero__arrow--prev { left: 10px; }
  .hero__arrow--next { right: 10px; }
  .about-hero { aspect-ratio: 4 / 5; }
}
@media (max-width: 640px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .fcoll { grid-template-columns: 1fr; }
  .fcoll__media { aspect-ratio: 4 / 5; }
  .values { grid-template-columns: 1fr; }
  .values > div { border-left: 0; border-top: 1px solid var(--hair); }
  .values > div:first-child { border-top: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .co .row2 { grid-template-columns: 1fr; }
}
