﻿/* ==========================================================================
   DONNA MAISON — storefront design system
   Editorial ready-to-wear. Bone paper, ink, terracotta, restrained gold.
   Zero-build CSS: no preprocessor, no framework, works from file://.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  --bone: #faf7f2;
  --paper: #ffffff;
  --sand: #f0e9df;
  --sand-deep: #e8dfd1;
  --line: #e2d9cc;
  --line-soft: #ece4d9;
  --ink: #1c1917;
  --ink-soft: #4a443f;
  --muted: #7d756c;
  --terra: #8c3f2b;
  --terra-soft: #a5553f;
  --gold: #a8894f;
  --gold-light: #d9b98a;
  --ok: #2f6b46;
  --warn: #8a5a12;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 1400px;
  --gutter: 20px;
  --radius: 0px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 62px;
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 64px; --header-h: 72px; } }

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
/* The hidden attribute must win over any component display rule. Without this,
   every element toggled from script (empty states, filter notes, counters,
   drawers) stays on screen because .chip/.empty-state set their own display. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; background: var(--sand); }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; line-height: 1.06; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--ink); color: var(--bone); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--bone); padding: 12px 18px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.skip:focus { left: 8px; top: 8px; }

/* ----------------------------------------------------------------- shell -- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 56px; }
@media (min-width: 768px) { .section { padding-block: 76px; } }
@media (min-width: 1024px) { .section { padding-block: 100px; } }
.section--tight { padding-block: 40px; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--sand { background: var(--sand); border-block: 1px solid var(--line); }
.stack > * + * { margin-top: 14px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.eyebrow {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 500; color: var(--muted);
}
.eyebrow--line { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow--line::before { content: ""; width: 32px; height: 1px; background: var(--line); }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px; font-family: var(--sans);
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bone);
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .15s var(--ease);
  text-align: center; cursor: pointer;
}
.btn:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; pointer-events: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--quiet:hover { background: var(--sand); color: var(--ink); border-color: var(--line); }
.btn--terra { background: var(--terra); border-color: var(--terra); color: #fff; }
.btn--terra:hover { background: var(--ink); border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 10px; letter-spacing: .16em; }
.btn--block { width: 100%; }

.link-underline {
  display: inline-block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terra); border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-underline:hover { color: var(--ink); }

/* ------------------------------------------------------------ utilities -- */
.only-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.measure { max-width: 62ch; }
.measure-narrow { max-width: 46ch; }
.flow > * + * { margin-top: 16px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* Last resort: if the script never runs at all, no section may stay invisible.
   The animation finishes on the same values .is-in applies, so when the script
   does run this never becomes visible. */
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
.reveal { animation: reveal-failsafe .6s var(--ease) 2.5s forwards; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------- announcement -- */
.announce {
  background: var(--ink); color: var(--bone);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 0; overflow: hidden;
}
.announce__track { display: flex; gap: 40px; animation: marquee 52s linear infinite; width: max-content; }
.announce span { white-space: nowrap; opacity: .86; }
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce__track { animation: none; } }

/* --------------------------------------------------------------- header -- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 242, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 14px -8px rgba(28,25,23,.45); }
.header__in {
  display: grid; align-items: center;
  /* auto / flexible / auto: the menu sits at the left edge, the bag at the
     right, and the wordmark takes whatever is between them. */
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px; padding-block: 10px; min-height: var(--header-h);
}
@media (min-width: 820px) {
  /* Equal outer columns put the wordmark on the true centre line of the page,
     not merely the middle of what is left over. */
  .header__in { grid-template-columns: 1fr auto 1fr; gap: 20px; }
  .header__left { justify-self: start; }
  .header__actions { justify-self: end; }
}
.header__left { display: flex; align-items: center; min-width: 0; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 0; min-width: 0; }
@media (min-width: 640px) { .header__actions { gap: 8px; } }
.wordmark {
  font-family: var(--serif);
  /* Phones give the wordmark only what the menu and the bag leave over.
     Sizing is fluid and capped so the lockup shrinks instead of running
     under the buttons. */
  font-size: clamp(10.5px, 3.3vw, 21px);
  letter-spacing: .16em;
  /* Cormorant's light strokes vanish at phone sizes, so the lockup steps up to
     a real 600 weight where it is smallest and returns to its natural weight
     once there is room to breathe. */
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink); white-space: nowrap; line-height: 1.2; text-align: center;
  justify-self: center;
  min-width: 0;
}
@media (min-width: 640px) { .wordmark { font-size: 23px; letter-spacing: .3em; font-weight: 400; } }
@media (min-width: 1300px) { .wordmark { font-size: 25px; font-weight: 400; } }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; min-width: 44px; padding: 0 8px; flex: none;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--sand); color: var(--terra); }
.icon-btn svg { width: 19px; height: 19px; stroke-width: 1.4; flex: none; }
.icon-btn__count { color: var(--terra); font-variant-numeric: tabular-nums; }
.icon-btn__label { display: none; }
@media (min-width: 640px) { .icon-btn__label { display: inline; } }
/* The menu button is the only navigation trigger now, at every size. */

/* -------------------------------------------------------------- the door -- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: stretch;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.menu[data-open="true"] { opacity: 1; visibility: visible; }
.menu__scrim {
  position: absolute; inset: 0;
  background: rgba(28, 25, 23, .46);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.menu__panel {
  position: relative; display: flex; flex-direction: column;
  width: min(392px, 88vw); height: 100%;
  background: var(--ink); color: var(--bone);
  box-shadow: 30px 0 80px -50px rgba(0, 0, 0, .8);
  transform: translateX(-100%);
  transition: transform .36s var(--ease);
  overflow-y: auto;
}
.menu[data-open="true"] .menu__panel { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .menu__panel { transition: none; }
}
.menu__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid rgba(250,247,242,.12); flex: none;
}
.menu__word {
  font-family: var(--serif); font-size: 14px; letter-spacing: .3em;
  text-transform: uppercase; white-space: nowrap;
}
.menu__close { color: var(--bone); }
.menu__close:hover { background: rgba(250,247,242,.1); color: var(--gold-light); }
.menu__nav { display: flex; flex-direction: column; padding: 10px 20px 8px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(250,247,242,.1);
  font-family: var(--serif); font-size: clamp(24px, 5.2vw, 29px); font-weight: 300;
  letter-spacing: -.01em; color: var(--bone);
  transition: color .2s var(--ease), padding-left .22s var(--ease);
}
.menu__nav a:hover, .menu__nav a[aria-current="page"] { color: var(--gold-light); padding-left: 8px; }
.menu__nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.drawer__n {
  font-family: var(--sans); font-size: 9.5px; letter-spacing: .16em;
  color: rgba(250,247,242,.38); flex: none; min-width: 18px;
}
.menu__aside {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px;
  padding: 18px 20px 22px; margin-top: 6px;
}
.menu__aside a {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(250,247,242,.62); padding: 7px 0;
  transition: color .18s var(--ease);
}
.menu__aside a:hover { color: var(--gold-light); }
.menu__foot {
  margin-top: auto; padding: 16px 20px 22px;
  border-top: 1px solid rgba(250,247,242,.12);
  font-size: 11.5px; letter-spacing: .06em; color: rgba(250,247,242,.55);
}
.menu__foot p { margin: 0 0 4px; }
.menu__foot a { color: rgba(250,247,242,.82); }
.menu__foot a:hover { color: var(--gold-light); }

/* -------------------------------------------------------------- drawers -- */
.scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(28, 25, 23, .48);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.scrim[data-open="true"] { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 85;
  width: min(440px, 100%);
  background: var(--bone);
  display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform .34s var(--ease);
  box-shadow: -18px 0 60px -30px rgba(28,25,23,.6);
}
.drawer[data-open="true"] { transform: none; }
.drawer--wide { width: min(560px, 100%); }
.drawer--center {
  right: auto; left: 50%; top: 50%; bottom: auto;
  width: min(760px, calc(100% - 32px)); max-height: min(88vh, 780px);
  transform: translate(-50%, -46%); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  border: 1px solid var(--line);
}
.drawer--center[data-open="true"] { transform: translate(-50%, -50%); opacity: 1; }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--line); background: var(--bone); flex: none;
}
.drawer__title { font-family: var(--serif); font-size: 20px; letter-spacing: -.01em; }
.drawer__close { min-height: 44px; min-width: 44px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px var(--gutter); }
.drawer__foot { flex: none; border-top: 1px solid var(--line); padding: 18px var(--gutter); background: var(--paper); }

/* bag lines */
.bag-line { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bag-line__img { width: 78px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.bag-line__name { font-family: var(--serif); font-size: 16px; line-height: 1.3; }
.bag-line__meta { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.bag-line__price { font-family: var(--serif); font-size: 15px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.bag-line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.bag-line__remove { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid currentColor; }
.bag-line__remove:hover { color: var(--terra); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; font-size: 15px; color: var(--ink-soft); }
.qty button:hover { background: var(--sand); color: var(--ink); }
.qty input, .qty .qty__val {
  width: 42px; text-align: center; border: 0; background: transparent;
  font-size: 13px; font-variant-numeric: tabular-nums; padding: 0;
}
.qty input { height: 36px; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.bag-empty { text-align: center; padding: 44px 8px; }
.bag-empty h3 { font-size: 24px; margin-bottom: 8px; }
.bag-empty p { font-size: 13.5px; color: var(--ink-soft); max-width: 34ch; margin: 0 auto 22px; }

.summary { display: grid; gap: 8px; font-size: 13px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); }
.summary__row--total {
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px;
  color: var(--ink); font-family: var(--serif); font-size: 19px;
}
.summary__row--total span:last-child { font-variant-numeric: tabular-nums; }

/* toast */
.toast {
  position: fixed; bottom: 22px; left: 50%; z-index: 100;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  width: max-content; max-width: min(520px, calc(100% - 32px));
  background: var(--ink); color: var(--bone);
  padding: 13px 22px; text-align: center;
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase; line-height: 1.5;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.toast[data-open="true"] { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------- notices -- */
.notice {
  border-left: 3px solid var(--gold); background: var(--sand);
  padding: 14px 18px; font-size: 13px; line-height: 1.6; color: var(--ink-soft);
}
.notice--warn { border-left-color: var(--warn); background: #fbf3e3; }
.notice--alert { border-left-color: var(--terra); background: #fbf0ec; }
.notice b, .notice strong { color: var(--ink); }
.notice a { color: var(--terra); border-bottom: 1px solid currentColor; }

/* ------------------------------------------------------------------ hero -- */
.hero { display: grid; background: var(--bone); }
@media (min-width: 900px) { .hero { grid-template-columns: 1.02fr 1fr; min-height: min(86vh, 780px); } }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 40px var(--gutter) 36px; }
@media (min-width: 900px) { .hero__copy { padding: 56px 48px 56px var(--gutter); } }
@media (min-width: 1280px) { .hero__copy { padding-left: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter))); } }
.hero__title {
  font-size: clamp(38px, 8.5vw, 84px); font-weight: 300; line-height: .96;
  letter-spacing: -.03em; margin: 18px 0 18px;
}
.hero__title em { font-style: italic; }
.hero__lede { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); max-width: 46ch; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__dots { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.hero__dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.hero__dots i:nth-child(1) { background: var(--terra); }
.hero__dots i:nth-child(2) { background: var(--gold); }
.hero__dots i:nth-child(3) { background: var(--ink); }
.hero__dots span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__media { position: relative; background: var(--sand); min-height: 400px; overflow: hidden; }
@media (min-width: 900px) { .hero__media { min-height: 0; } }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; position: absolute; inset: 0; }
.hero__tag {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  padding: 14px 16px; max-width: min(240px, calc(100% - 32px));
  box-shadow: 0 12px 40px -18px rgba(28,25,23,.45);
}
.hero__tag-name { font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.hero__tag-price { font-size: 11px; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.hero__tag a { display: inline-block; margin-top: 8px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.hero__tag a:hover { text-decoration: underline; }

/* ------------------------------------------------------------- trust bar -- */
.trustbar { border-block: 1px solid var(--line); background: var(--paper); }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px; padding-block: 20px;
}
@media (min-width: 768px) { .trustbar__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trustbar__item { font-size: 11.5px; line-height: 1.5; color: var(--muted); min-width: 0; }
.trustbar__item b {
  display: block; font-family: var(--serif); font-size: 14.5px; font-weight: 500;
  color: var(--ink); margin-bottom: 2px; letter-spacing: 0;
}

/* ------------------------------------------------------------ section head -- */
.head { display: grid; gap: 18px; margin-bottom: 30px; }
@media (min-width: 768px) {
  .head { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); align-items: end; gap: 32px; }
}
.head h2 { font-size: clamp(28px, 6vw, 50px); margin-top: 12px; }
.head p { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); max-width: 42ch; }
@media (min-width: 768px) { .head p { justify-self: end; } }

/* ---------------------------------------------------------------- cards -- */
.editorial-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ed-card {
  position: relative; display: block; width: 100%; text-align: left;
  height: 380px; overflow: hidden; background: var(--sand);
}
@media (min-width: 768px) { .ed-card { height: 420px; } }
.ed-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ed-card:hover img { transform: scale(1.04); }
.ed-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,.82) 0%, rgba(28,25,23,.3) 42%, rgba(28,25,23,0) 72%);
}
.ed-card__body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: 22px; color: #fff; }
.ed-card__k { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.ed-card__t { font-family: var(--serif); font-size: clamp(22px, 4.5vw, 30px); line-height: 1.1; margin-top: 8px; font-weight: 400; }
.ed-card__d { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.86); margin-top: 8px; max-width: 30ch; }
.ed-card__go { margin-top: 14px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.ed-card__go i { font-style: normal; transition: transform .3s var(--ease); }
.ed-card:hover .ed-card__go i { transform: translateX(5px); }
.ed-card[aria-pressed="true"] { outline: 2px solid var(--terra); outline-offset: -2px; }

/* ----------------------------------------------------------- product grid -- */
.grid-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 9px 15px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--ink-soft); background: transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.chip--clear { color: var(--terra); border-color: var(--terra); }
.chip--clear:hover { background: var(--terra); color: #fff; border-color: var(--terra); }

.pgrid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 14px;
}
@media (min-width: 640px) { .pgrid { gap: 34px 18px; } }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }

.pcard { min-width: 0; position: relative; }
.pcard__media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.pcard__media .pcard__img--alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .pcard:hover .pcard__img--alt { opacity: 1; }
  .pcard:hover .pcard__media img.pcard__img--main { opacity: 0; }
  .pcard:hover .pcard__media img { transform: scale(1.03); }
}
.pcard__flag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--ink); color: var(--bone);
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px;
}
.pcard__flag--sale { background: var(--terra); }
.pcard__flag--out { background: var(--muted); }
.pcard__save {
  position: absolute; top: 6px; right: 6px; z-index: 3;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(255,255,255,.88); color: var(--ink-soft);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.pcard__save:hover { background: #fff; color: var(--terra); }
.pcard__save svg { width: 17px; height: 17px; stroke-width: 1.5; }
.pcard__save[aria-pressed="true"] { color: var(--terra); }
.pcard__quick {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  height: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bone);
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translateY(100%);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { opacity: 1; transform: none; }
@media (hover: none) { .pcard__quick { display: none; } }
.pcard__body { padding-top: 12px; display: grid; gap: 3px; min-width: 0; }
.pcard__name {
  font-family: var(--serif); font-size: 16px; line-height: 1.3; color: var(--ink);
  overflow-wrap: anywhere; transition: color .2s var(--ease);
}
@media (min-width: 640px) { .pcard__name { font-size: 18px; } }
.pcard__name:hover { color: var(--terra); }
.pcard__cat { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pcard__price { font-family: var(--serif); font-size: 15px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (min-width: 640px) { .pcard__price { font-size: 16px; } }
.pcard__range { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }

/* loading + end states */
.load-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; }
.load-status { font-size: 11px; letter-spacing: .1em; color: var(--muted); text-align: center; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.pager a, .pager span {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid var(--line); font-size: 11px; letter-spacing: .08em;
  font-variant-numeric: tabular-nums; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.pager a:hover { border-color: var(--ink); background: var(--sand); }
.pager [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.pager .is-gap { border-color: transparent; color: var(--muted); }

.empty-state { text-align: center; padding: 56px 16px; border: 1px solid var(--line); background: var(--paper); }
.empty-state h3 { font-size: 26px; margin-bottom: 8px; }
.empty-state p { font-size: 13.5px; color: var(--ink-soft); max-width: 40ch; margin: 0 auto 20px; }

/* ------------------------------------------------------- product detail -- */
.crumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-block: 16px; }
.crumbs a:hover { color: var(--terra); }
.crumbs span[aria-hidden] { opacity: .5; }

.pdp { display: grid; gap: 28px; padding-bottom: 60px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: start; } }

.pdp__gallery { display: grid; gap: 8px; min-width: 0; }
@media (min-width: 640px) { .pdp__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.pdp__shot { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; margin: 0; }
.pdp__shot:first-child { grid-column: 1 / -1; }
.pdp__shot img { width: 100%; height: 100%; object-fit: cover; }
.pdp__shot figcaption {
  position: absolute; bottom: 0; right: 0; background: rgba(250,247,242,.92);
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 4px 8px;
}

.pdp__info { min-width: 0; display: grid; gap: 0; align-content: start; }
@media (min-width: 900px) { .pdp__info { position: sticky; top: calc(var(--header-h) + 16px); } }
.pdp__name { font-size: clamp(28px, 5.5vw, 42px); margin: 6px 0 8px; overflow-wrap: anywhere; }
.pdp__price { font-family: var(--serif); font-size: 24px; font-variant-numeric: tabular-nums; }
.pdp__price small { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; color: var(--muted); display: block; margin-top: 3px; text-transform: uppercase; }
.pdp__block { border-top: 1px solid var(--line); padding-block: 18px; }
.pdp__label {
  display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 10px; font-weight: 500;
}
.pdp__label span { color: var(--muted); font-weight: 400; letter-spacing: .08em; text-transform: none; font-size: 11px; }

.opts { display: flex; flex-wrap: wrap; gap: 7px; }
.opt {
  min-width: 54px; min-height: 44px; padding: 10px 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--paper);
  font-size: 12px; letter-spacing: .06em; color: var(--ink);
  transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.opt:hover:not([disabled]) { border-color: var(--ink); }
.opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.opt[disabled] { color: var(--muted); border-style: dashed; cursor: not-allowed; text-decoration: line-through; opacity: .55; }
.opt--swatch { padding-left: 12px; gap: 8px; }
.opt--swatch i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(28,25,23,.18); flex: none; }

.buy-row { display: grid; gap: 10px; }
@media (min-width: 420px) { .buy-row { grid-template-columns: auto minmax(0, 1fr); align-items: stretch; } }
.buy-help { font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.buy-help a { color: var(--terra); border-bottom: 1px solid currentColor; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 0; cursor: pointer; list-style: none;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 16px; color: var(--muted); }
.accordion__body { padding-bottom: 18px; font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); }
.accordion__body > * + * { margin-top: 10px; }
.accordion__body a { color: var(--terra); border-bottom: 1px solid currentColor; }

/* ---------------------------------------------------------------- tables -- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--paper); }
.data-table { min-width: 560px; font-size: 12.5px; }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.data-table thead th {
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--ink); background: var(--sand); border-bottom-color: var(--line); white-space: nowrap;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.data-table td:first-child { color: var(--ink); font-weight: 500; }
.table-note { font-size: 11.5px; color: var(--muted); margin-top: 10px; }

/* ---------------------------------------------------------------- forms -- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.field .hint { font-size: 11.5px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-size: 14px; transition: border-color .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--terra); outline-offset: 1px; border-color: var(--ink); }
.field--row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------- editorial -- */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } }
.split__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(28px, 5vw, 44px); margin-bottom: 18px; }
.split p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
.split p + p { margin-top: 12px; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.figures div { border-top: 1px solid var(--line); padding-top: 12px; min-width: 0; }
.figures b { display: block; font-family: var(--serif); font-size: clamp(22px, 4vw, 29px); font-weight: 400; line-height: 1; }
.figures span { font-size: 10.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 5px; }

.cat-cards { display: grid; gap: 26px; }
@media (min-width: 768px) { .cat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; } }
.cat-card { border-top: 1px solid var(--line); padding-top: 16px; min-width: 0; }
.cat-card__n { font-family: var(--serif); font-size: 15px; color: var(--terra); }
.cat-card h3 { font-size: 22px; margin: 8px 0 6px; }
.cat-card p { font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.cat-card a { margin-top: 10px; display: inline-block; }
.cat-card__count { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* journal */
.journal-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.j-item { position: relative; overflow: hidden; background: var(--sand); height: 340px; }
@media (min-width: 768px) { .journal-grid .j-item:first-child { height: 440px; } }
.j-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.j-item:hover img { transform: scale(1.04); }
.j-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,25,23,.85), rgba(28,25,23,.28) 45%, rgba(28,25,23,0) 75%); }
.j-item__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; }
.j-item__k { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.j-item__t { font-family: var(--serif); font-size: clamp(19px, 3.6vw, 27px); line-height: 1.15; margin-top: 8px; font-weight: 400; }
.j-item__d { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.85); margin-top: 8px; }

/* ------------------------------------------------------------ newsletter -- */
.ledger { text-align: center; }
.ledger h2 { font-size: clamp(28px, 5.4vw, 46px); margin: 14px 0; }
.ledger p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); max-width: 52ch; margin: 0 auto; }
.ledger__list { display: grid; gap: 8px; max-width: 380px; margin: 24px auto; text-align: left; }
.ledger__list li { display: flex; gap: 12px; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
.ledger__list li i { font-style: normal; font-family: var(--serif); color: var(--terra); }
.ledger__note {
  max-width: 480px; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 18px;
  font-size: 12px; line-height: 1.7; color: var(--muted);
}

/* ---------------------------------------------------------------- footer -- */
.footer { background: var(--ink); color: var(--bone); }
.footer__in { padding-block: 52px 34px; }
.footer__grid { display: grid; gap: 34px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; } }
.footer__word { font-family: var(--serif); font-size: 20px; letter-spacing: .32em; text-transform: uppercase; }
.footer__blurb { font-size: 12.5px; line-height: 1.7; color: rgba(250,247,242,.6); max-width: 34ch; margin-top: 14px; }
.footer h4 { font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.footer ul { display: grid; gap: 9px; }
.footer a, .footer button { font-size: 12.5px; color: rgba(250,247,242,.68); transition: color .2s var(--ease); text-align: left; }
.footer a:hover, .footer button:hover { color: var(--gold-light); }
.footer__contact { font-size: 12.5px; line-height: 1.8; color: rgba(250,247,242,.68); }
.footer__contact a { display: inline; }
.footer__base {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(250,247,242,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(250,247,242,.42);
}
@media (max-width: 520px) { .footer__base { flex-direction: column; } }

/* ------------------------------------------------------------- page hero -- */
.page-head { padding-block: 34px 26px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(30px, 6.5vw, 54px); margin: 12px 0 12px; }
.page-head p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); max-width: 60ch; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(22px, 4vw, 30px); margin: 34px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; font-weight: 500; }
.prose p, .prose li { font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.prose p + p, .prose ul + p { margin-top: 12px; }
.prose ul { margin-top: 10px; display: grid; gap: 7px; }
.prose ul li { position: relative; padding-left: 18px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.prose a { color: var(--terra); border-bottom: 1px solid currentColor; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .notice { margin: 18px 0; }

/* ------------------------------------------------------------ utilities -- */
.row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.divider-dot { color: var(--line); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em; background: var(--sand); padding: 1px 5px; border-radius: 2px;
  overflow-wrap: anywhere;
}

/* cart layout */
.cart-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .cart-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr); gap: 48px !important; align-items: start; }
  .cart-layout > aside { position: sticky; top: calc(var(--header-h) + 16px); }
}

/* keep long option rows from overflowing narrow screens */
.opts { max-width: 100%; }
.opt { max-width: 100%; overflow-wrap: anywhere; }
.prose, .prose p, .prose li { overflow-wrap: anywhere; }
h1, h2, h3 { overflow-wrap: anywhere; }

/* ==========================================================================
   Header refinement, currency switcher, checkout wizard
   ========================================================================== */

/* Wordmark: DONNA — MAISON with a hairline rule between the words. */
.wordmark { display: inline-flex; align-items: center; gap: clamp(5px, 1vw, 12px); }
.wordmark__rule { display: block; width: clamp(10px, 2.2vw, 26px); height: 1px; background: var(--gold); opacity: .85; }

.icon-btn--currency {
  font-size: 10px; letter-spacing: .14em; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px; min-width: 52px; padding: 0 10px;
}
.icon-btn--currency:hover { border-color: var(--ink); background: transparent; }
.icon-btn--saved { position: relative; }
.icon-btn--saved .icon-btn__count {
  position: absolute; top: 6px; right: 4px; font-size: 9px; line-height: 1;
}
@media (max-width: 639px) {
  .icon-btn--saved { display: none; }
  .header__actions { gap: 4px; }
}

/* currency popover */
.currency-pop {
  position: absolute; right: var(--gutter); top: calc(100% - 6px); z-index: 70;
  min-width: 190px; padding: 14px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 22px 60px -30px rgba(28,25,23,.5);
}
.currency-pop__title {
  display: block; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.currency-pop__list { display: grid; gap: 2px; }
.currency-pop__list button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 9px 10px; font-size: 12.5px; text-align: left;
  border: 1px solid transparent; transition: background-color .16s var(--ease), border-color .16s var(--ease);
}
.currency-pop__list button:hover { background: var(--sand); }
.currency-pop__list button[aria-current="true"] { border-color: var(--ink); }
.currency-pop__list button span:last-child { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }

/* collection toolbar */
.section--flush { padding-block: 18px 72px; }
.grid-tools { margin-bottom: 22px; align-items: center; }
.grid-tools__note { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.grid-sentinel { height: 1px; }
.page-head--tight { padding-block: 22px 16px; }
.page-head--tight h1 { font-size: clamp(28px, 5.4vw, 44px); margin: 10px 0 0; }

/* ------------------------------------------------------------------ steps -- */
.steps { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 26px; padding: 0; }
.steps li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.steps li b { font-family: var(--serif); font-size: 13px; font-weight: 400; }
.steps li[aria-current="step"] { color: var(--ink); }
.steps li[aria-current="step"] b { color: var(--terra); }
.steps li[data-done="true"] { color: var(--ink-soft); }

/* --------------------------------------------------------------- checkout -- */
.checkout { display: grid; gap: 34px; }
@media (min-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 52px; align-items: start; }
  .checkout__summary { position: sticky; top: calc(var(--header-h) + 18px); }
}
.checkout__h2 { font-family: var(--serif); font-size: 21px; margin-bottom: 16px; font-weight: 400; }
.checkout__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; justify-content: space-between; }
.checkout [data-step] { min-width: 0; }
.field__error { font-size: 11.5px; color: var(--terra); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--terra); }

/* payment methods */
.pay-options { display: grid; gap: 10px; }
.pay-option {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 16px; border: 1px solid var(--line); background: var(--paper); cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.pay-option:hover { border-color: var(--ink-soft); }
.pay-option[data-selected="true"] { border-color: var(--ink); background: var(--sand); }
.pay-option input { margin-top: 3px; accent-color: var(--ink); }
.pay-option__name { font-size: 13px; font-weight: 500; }
.pay-option__methods { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pay-option__warn { font-size: 11.5px; color: var(--warn); margin-top: 4px; }

/* saved-pieces page */
[data-saved-grid] .pcard__save { display: none; }

/* ==========================================================================
   Concierge — floating knowledge base assistant
   ========================================================================== */
.concierge-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 75;
  display: inline-flex; align-items: center; gap: 9px;
  height: 52px; padding: 0 20px 0 17px;
  border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bone);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 16px 40px -18px rgba(28,25,23,.6);
  transition: transform .22s var(--ease), background-color .22s var(--ease);
}
.concierge-launcher:hover { transform: translateY(-2px); background: var(--terra); border-color: var(--terra); }
.concierge-launcher svg { width: 19px; height: 19px; stroke-width: 1.5; flex: none; }
.concierge-launcher__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light, #d9b98a); flex: none;
}
@media (max-width: 520px) { .concierge-launcher { right: 14px; bottom: 14px; padding: 0 16px; } }

.concierge {
  position: fixed; right: 20px; bottom: 20px; z-index: 86;
  width: min(392px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 40px));
  display: flex; flex-direction: column;
  background: var(--bone); border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(28,25,23,.7);
  transform: translateY(14px) scale(.985); opacity: 0; visibility: hidden;
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.concierge[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 520px) {
  .concierge { right: 0; bottom: 0; width: 100vw; height: 100dvh; border: 0; }
}

.concierge__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line); flex: none;
}
.concierge__title { font-family: var(--serif); font-size: 18px; line-height: 1.1; }
.concierge__sub { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.concierge__close { min-height: 40px; min-width: 40px; display: grid; place-items: center; color: var(--ink-soft); }
.concierge__close:hover { color: var(--ink); }
.concierge__close svg { width: 18px; height: 18px; stroke-width: 1.6; }

.concierge__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.concierge__msg { max-width: 88%; padding: 11px 14px; font-size: 13.5px; line-height: 1.6; }
.concierge__msg--bot { align-self: flex-start; background: var(--sand); color: var(--ink); }
.concierge__msg--me { align-self: flex-end; background: var(--ink); color: var(--bone); }
.concierge__msg a { color: var(--terra); border-bottom: 1px solid currentColor; }
.concierge__time { display: block; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; margin-top: 5px; }

.concierge__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.concierge__chip {
  font-size: 11px; padding: 8px 11px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-soft); text-align: left;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.concierge__chip:hover { border-color: var(--ink); background: var(--sand); color: var(--ink); }

.concierge__handoff {
  margin: 0 16px 12px; padding: 12px 14px;
  border-left: 3px solid var(--gold); background: var(--sand);
  font-size: 12.5px; line-height: 1.6; color: var(--ink-soft);
}
.concierge__handoff strong { color: var(--ink); display: block; margin-bottom: 4px; }
.concierge__wa {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  min-height: 42px; padding: 10px 16px;
  background: var(--ink); color: var(--bone);
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .18s var(--ease);
}
.concierge__wa:hover { background: var(--terra); }
.concierge__wa svg { width: 15px; height: 15px; stroke-width: 1.6; flex: none; }

.concierge__form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); flex: none; }
.concierge__input {
  flex: 1; min-height: 44px; padding: 11px 13px;
  border: 1px solid var(--line); background: var(--paper); font-size: 13.5px;
}
.concierge__input:focus { outline: 2px solid var(--terra); outline-offset: 1px; }
.concierge__send {
  min-width: 44px; min-height: 44px; display: grid; place-items: center;
  background: var(--ink); color: var(--bone);
  transition: background-color .18s var(--ease);
}
.concierge__send:hover { background: var(--terra); }
.concierge__send[disabled] { opacity: .45; }
.concierge__send svg { width: 17px; height: 17px; stroke-width: 1.7; }

.concierge__typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--sand); }
.concierge__typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: cq 1.1s infinite ease-in-out; }
.concierge__typing i:nth-child(2) { animation-delay: .15s; }
.concierge__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cq { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
body.concierge-open { overflow: hidden; }
@media (min-width: 521px) { body.concierge-open { overflow: auto; } }

/* Below 360px the two words alone fit comfortably; the divider is the first
   thing to go, which keeps the wordmark legible instead of shrinking further. */
@media (max-width: 359px) { .wordmark__rule { display: none; } }

/* ==========================================================================
   Account — sign in, orders, rewards
   ========================================================================== */
.acct { max-width: 860px; }
.acct__tabs { display: flex; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.acct__tabs button {
  padding: 12px 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.acct__tabs button:hover { color: var(--ink); }
.acct__tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--terra); }

.acct__panel { padding: 26px; background: var(--paper); border: 1px solid var(--line); }
.acct__panel h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 6px; }
.acct__panel h3 { font-family: var(--serif); font-weight: 400; font-size: 17px; margin: 0 0 6px; }
.acct__panel .field { margin-top: 14px; }
.acct__panel .btn { margin-top: 16px; }

.acct__split { display: grid; gap: 28px; }
@media (min-width: 760px) { .acct__split { grid-template-columns: 1fr 1fr; gap: 40px; } }
.acct__form--tight { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.acct__pair { display: grid; gap: 12px; }
@media (min-width: 480px) { .acct__pair { grid-template-columns: 1fr 1fr; } }
.acct__check { display: flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 12.5px; color: var(--ink-soft); }
.acct__check input { width: 18px; height: 18px; accent-color: var(--terra); }
.acct__hint { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.acct__muted { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.acct__error { margin: 14px 0 0; padding: 10px 12px; font-size: 12.5px; background: #fdecea; color: #8a1f11; border-left: 3px solid #8a1f11; }

.acct__list { margin-top: 16px; border-top: 1px solid var(--line); }
.acct__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); color: inherit;
}
a.acct__row:hover { color: var(--terra); }
.acct__row-main { display: grid; gap: 3px; min-width: 0; }
.acct__row-side { display: flex; align-items: center; gap: 12px; flex: none; }
.acct__row-side strong { font-variant-numeric: tabular-nums; }
.acct__pill {
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px;
  border: 1px solid var(--line); color: var(--muted);
}
.acct__pill--ok { border-color: var(--terra); color: var(--terra); }
.acct__pill--wait { border-color: var(--gold); color: #8a6a2f; }
.acct__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;
  letter-spacing: .06em; padding: 3px 7px; background: var(--sand); color: var(--ink);
}
.acct__tier {
  display: grid; gap: 14px; margin-top: 18px; padding: 18px;
  background: var(--sand); border-left: 3px solid var(--gold);
}
@media (min-width: 560px) { .acct__tier { grid-template-columns: repeat(4, 1fr); } }
.acct__tier strong { display: block; margin-top: 3px; font-size: 15px; }
.acct__signout {
  margin-top: 26px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 3px;
}
.acct__signout:hover { color: var(--terra); border-color: var(--terra); }

/* promo / reward code */
.promo { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.promo label {
  display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.promo__row { display: flex; gap: 8px; }
.promo__row input {
  flex: 1; min-width: 0; min-height: 42px; padding: 10px 12px;
  border: 1px solid var(--line); background: var(--paper); font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em;
}
.promo__row input:focus { outline: 2px solid var(--terra); outline-offset: 1px; }
.promo__apply {
  flex: none; min-height: 42px; padding: 0 16px;
  border: 1px solid var(--ink); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.promo__apply:hover { background: var(--ink); color: var(--bone); }
.promo__apply[disabled] { opacity: .5; }
.promo__note { margin-top: 9px; font-size: 12px; line-height: 1.5; color: #8a1f11; }
.promo__note[data-ok="true"] { color: var(--terra); }
.summary__row--credit { color: var(--terra); }

/* concierge: header shortcut and product picks */
.concierge__headwa {
  display: inline-grid; place-items: center; min-width: 40px; min-height: 40px;
  margin-left: auto; color: var(--ink-soft); border: 1px solid var(--line);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.concierge__headwa:hover { color: var(--terra); border-color: var(--terra); }
.concierge__headwa svg { width: 16px; height: 16px; stroke-width: 1.6; }
.concierge__close { margin-left: 4px; }

.concierge__picks { display: grid; gap: 6px; margin-top: 2px; }
.concierge__pick {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 12px; background: var(--paper); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.concierge__pick:hover { border-color: var(--ink); background: var(--sand); }
.concierge__pick-name { min-width: 0; }
.concierge__pick-price { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.concierge__msg { white-space: pre-line; }

/* ==========================================================================
   Popups — one renderer, many presets
   ========================================================================== */
.pop-host { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.pop-host[data-open="true"] { pointer-events: auto; }
.pop__scrim {
  position: absolute; inset: 0; background: rgba(28,25,23,.45);
  opacity: 0; transition: opacity .28s var(--ease);
}
.pop-host[data-open="true"] .pop__scrim { opacity: 1; }

.pop {
  position: absolute; z-index: 1; display: flex; overflow: hidden;
  background: var(--pop-surface); color: var(--pop-ink);
  box-shadow: 0 40px 90px -50px rgba(28,25,23,.7);
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.pop-host[data-open="true"] .pop { opacity: 1; transform: none; }

.pop__body { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; min-width: 0; flex: 1; }
.pop__head {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(21px, 3vw, 27px); line-height: 1.2; padding-right: 26px;
}
.pop__text { margin: 0; font-size: 13px; line-height: 1.65; color: color-mix(in srgb, var(--pop-ink) 78%, transparent); }
.pop__close {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  display: grid; place-items: center; font-size: 20px; line-height: 1;
  color: color-mix(in srgb, var(--pop-ink) 55%, transparent);
  transition: color .18s var(--ease);
}
.pop__close:hover { color: var(--pop-ink); }
.pop__cta {
  align-self: flex-start; margin-top: 4px; min-height: 44px;
  display: inline-flex; align-items: center; padding: 0 22px;
  background: var(--pop-accent); color: #fff;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  transition: opacity .18s var(--ease);
}
.pop__cta:hover { opacity: .86; }
.pop__code {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 9px 13px; border: 1px dashed color-mix(in srgb, var(--pop-accent) 60%, transparent);
}
.pop__code span { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.pop__code strong { font-family: ui-monospace, Menlo, monospace; font-size: 13px; letter-spacing: .08em; color: var(--pop-accent); }
.pop__media { flex: 0 0 44%; min-width: 0; }
.pop__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* layout variants */
.pop--card { flex-direction: column; width: min(var(--pop-width, 460px), calc(100vw - 32px)); }
.pop--card .pop__media { flex: none; max-height: 210px; }
.pop--split { width: min(var(--pop-width, 760px), calc(100vw - 32px)); max-height: calc(100vh - 40px); }
.pop--poster { flex-direction: column; width: min(var(--pop-width, 560px), calc(100vw - 32px)); background: linear-gradient(180deg, transparent, var(--pop-surface) 62%); }
.pop--poster .pop__media { position: absolute; inset: 0; flex: none; z-index: -1; }
.pop--poster .pop__body { padding-top: 200px; }
.pop--curtain { flex-direction: column; width: 100%; height: 100%; }
.pop--curtain .pop__body { justify-content: center; align-items: center; text-align: center; padding: 8vw; }
.pop--curtain .pop__head { font-size: clamp(30px, 6vw, 52px); }
.pop--curtain .pop__cta { align-self: center; }
.pop--curtain .pop__code { align-self: center; }

/* positions */
.pop--centre { left: 50%; top: 50%; transform: translate(-50%, calc(-50% + 14px)); }
.pop-host[data-open="true"] .pop--centre { transform: translate(-50%, -50%); }
.pop--bottom-right { right: 20px; bottom: 20px; }
.pop--bottom-left { left: 20px; bottom: 20px; }
.pop--bar {
  flex-direction: row; align-items: center; width: 100%;
  background: var(--pop-surface); padding: 0;
}
.pop--bar .pop__body { flex-direction: row; align-items: center; gap: 16px; padding: 12px 20px; flex-wrap: wrap; }
.pop--bar .pop__head { font-size: 14px; padding-right: 0; }
.pop--bar .pop__text { font-size: 12.5px; }
.pop--bar .pop__cta { margin: 0; min-height: 36px; padding: 0 16px; }
.pop--top { top: 0; left: 0; transform: translateY(-100%); }
.pop--bottom { bottom: 0; left: 0; transform: translateY(100%); }
.pop-host[data-open="true"] .pop--top,
.pop-host[data-open="true"] .pop--bottom { transform: none; }

@media (max-width: 767px) {
  .pop--split { flex-direction: column; }
  .pop--split .pop__media { flex: none; max-height: 180px; }
  .pop--bottom-right, .pop--bottom-left { right: 12px; left: 12px; bottom: 12px; }
  .pop--card, .pop--split, .pop--poster { width: calc(100vw - 24px); }
  .pop--bar .pop__body { padding: 10px 14px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pop, .pop__scrim { transition: none; }
}

/* delivery method picker */
.ship-pick { margin-top: 14px; border: 1px solid var(--line); background: var(--paper); }
.ship-pick__head {
  margin: 0; padding: 10px 14px; font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line);
}
.ship-pick__opt {
  display: flex; align-items: center; gap: 11px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); cursor: pointer; font-size: 13px;
  transition: background-color .16s var(--ease);
}
.ship-pick__opt:last-child { border-bottom: 0; }
.ship-pick__opt:hover { background: var(--sand); }
.ship-pick__opt input { width: 17px; height: 17px; accent-color: var(--terra); flex: none; }
.ship-pick__opt span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ship-pick__opt small { color: var(--muted); font-size: 11px; }
.ship-pick__fee { flex: none; font-variant-numeric: tabular-nums; text-align: right; }
.ship-pick__opt--switch { color: var(--terra); }
.ship-pick__opt--switch span { color: var(--terra); }
/* The auto block is invisible to layout so its items sit directly in the marquee
   track and keep the gap. A published CMS override replaces it entirely. */
.announce__track [data-announce-auto] { display: contents; }
/* Items run together when scrolling fast, so give each an explicit separator. */
.announce__track span + span::before {
  content: "\2014";
  margin-right: 18px;
  opacity: .45;
}

/* The Ledger signup. One field, one button, honest about the confirm step. */
.ledger__form { margin-top: 26px; max-width: 460px; }
.ledger__label {
  display: block; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.ledger__row { display: flex; gap: 10px; flex-wrap: wrap; }
.ledger__row input {
  flex: 1 1 220px; min-width: 0; padding: 13px 15px; font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); transition: border-color .16s var(--ease);
}
.ledger__row input:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; border-color: var(--terra); }
.ledger__row input[aria-invalid="true"] { border-color: #a33; }
.ledger__row .btn { flex: none; }
.ledger__hint { margin: 10px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.ledger__status { margin: 12px 0 0; font-size: 13px; line-height: 1.6; min-height: 1.2em; }
.ledger__status[data-tone="ok"] { color: #2f6b45; }
.ledger__status[data-tone="bad"] { color: #a33; }
@media (max-width: 520px) { .ledger__row .btn { width: 100%; } }

/* --- about: editorial bands -------------------------------------------- */
.about-hero { position: relative; background: var(--sand); }
.about-hero img { width: 100%; height: clamp(260px, 44vw, 540px); object-fit: cover; object-position: center 42%; display: block; }
.about-hero__cap {
  position: absolute; left: 0; bottom: 0; padding: 10px 16px; background: rgba(28,25,23,.55);
  color: #faf7f2; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
}
.about-split { display: grid; gap: 26px; align-items: center; }
.about-split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 32%; display: block; background: var(--sand); }
.about-split h2 { font-size: clamp(26px, 4.6vw, 40px); margin-bottom: 16px; }
.about-split p { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }
.about-split p + p { margin-top: 14px; }
.pull { max-width: 940px; margin: 0 auto; padding: clamp(38px, 7vw, 80px) 0; text-align: center; }
.pull blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 4.4vw, 44px); line-height: 1.24; }
.pull cite { display: block; margin-top: 18px; font-style: normal; font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.about-trio { display: grid; gap: 20px; }
.about-trio figure { margin: 0; }
.about-trio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; display: block; background: var(--sand); }
.about-trio figcaption { margin-top: 11px; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
.about-trio b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 400;
  color: var(--ink); margin-bottom: 3px; }
@media (min-width: 760px) {
  .about-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-split { grid-template-columns: 1.05fr .95fr; gap: 44px; }
  .about-split--rev { grid-template-columns: .95fr 1.05fr; }
  .about-split--rev .about-split__media { order: -1; }
}
/* The trio swaps frames client-side; a short fade keeps the change from snapping. */
.about-trio__card img { transition: opacity .28s var(--ease); }
@media (prefers-reduced-motion: reduce) { .about-trio__card img { transition: none; } }

/* back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 24px rgba(28,25,23,.14); transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.to-top:hover { transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 14px; } }
/* grid toolbar */
.grid-tools { flex-wrap: wrap; align-items: center; gap: 8px; }
.grid-tools__spacer { flex: 1 1 24px; min-width: 8px; }
.chip--label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.chip--label select {
  border: 0; background: transparent; font: inherit; color: var(--ink);
  padding: 4px 2px; cursor: pointer; appearance: auto;
}
.chip--label select:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; border-radius: 4px; }
.chip--input {
  width: 108px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); font-size: 12.5px; color: var(--ink);
}
.chip--input:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; border-color: var(--terra); }
.grid-tools__to { color: var(--muted); font-size: 12px; }

