/* ============================================================
   DRANVEX — an autumn ledger
   Palette: bone paper, ink, oxblood, olive
   Type: Cormorant Garamond (display) / Jost (text)
   ============================================================ */

:root {
  --paper: #f4eee3;
  --paper-2: #ece4d5;
  --paper-3: #e1d6c4;
  --ink: #1b1712;
  --ink-2: #3c352b;
  --ink-3: #756c5d;
  --line: #d5c9b6;
  --line-soft: #e5dbc9;
  --wine: #6e2a28;
  --wine-2: #8c3a34;
  --olive: #4e5138;
  --cream: #fbf7ee;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1400px;
  --gut: 40px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open { overflow: hidden; }

::selection { background: var(--wine); color: var(--cream); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.04;
}

em { font-style: italic; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}
/* sections that carry their own vertical padding but also act as the wrap */
.hero.wrap,
.cat-section.wrap,
.shop-head.wrap,
.shop-meta.wrap,
.about-hero.wrap,
.about-body.wrap,
.contact-grid.wrap {
  padding-left: var(--gut);
  padding-right: var(--gut);
}

/* ---------- type utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--wine);
}
.eyebrow--plain::before { display: none; }

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}
.sec-head h2 {
  font-size: clamp(34px, 4vw, 54px);
  margin-top: 14px;
}
.sec-head p {
  max-width: 38ch;
  color: var(--ink-3);
  font-size: 14px;
}
.sec-link {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.sec-link:hover { color: var(--wine); border-color: var(--wine); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid var(--ink);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1;
  background: transparent;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--wine); border-color: var(--wine); }
.btn--wine { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.btn--wine:hover { background: var(--ink); border-color: var(--ink); }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-u {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color .2s var(--ease);
}
.link-u:hover { color: var(--wine); }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--ink);
  color: var(--paper-2);
  text-align: center;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 10px 16px;
  line-height: 1.4;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px var(--gut);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-main a,
.nav-side a {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-main a::after,
.nav-side a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--wine);
  transition: right .3s var(--ease);
}
.nav-main a:hover::after,
.nav-side a:hover::after { right: 0; }

.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .34em;
  text-transform: uppercase;
  text-indent: .34em;
  white-space: nowrap;
}

.nav-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.bag-link span {
  display: inline-block;
  min-width: 18px;
  margin-left: 5px;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 30px;
  height: 30px;
  padding: 8px 5px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s;
}
body.is-nav-open .nav-toggle span:first-child { transform: translateY(6px) rotate(45deg); }
body.is-nav-open .nav-toggle span:last-child { transform: translateY(-6px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--paper);
  padding: 120px var(--gut) 40px;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a {
  font-family: var(--display);
  font-size: 30px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

/* ---------- footer ---------- */
.site-foot {
  margin-top: 40px;
  background: var(--ink);
  color: var(--paper-2);
  padding: 72px 0 26px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.foot-brand .wordmark {
  font-size: 30px;
  color: var(--cream);
}
.foot-brand p {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 238, 227, .62);
}
.foot-col h4 {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, .45);
  margin-bottom: 18px;
}
.foot-col a {
  display: block;
  font-size: 13px;
  padding: 5px 0;
  color: rgba(244, 238, 227, .82);
  transition: color .2s var(--ease);
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(244, 238, 227, .14);
  padding-top: 22px;
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(244, 238, 227, .48);
}
.foot-bottom span:last-child { max-width: 56ch; text-align: right; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--cream);
  padding: 13px 24px;
  font-size: 11px;
  letter-spacing: .1em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- page head (inner pages) ---------- */
.page-head {
  padding: 66px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(44px, 6vw, 78px);
  margin: 16px 0 18px;
  letter-spacing: -.02em;
}
.page-head p {
  max-width: 52ch;
  color: var(--ink-3);
  font-size: 14.5px;
}

/* ---------- static prose ---------- */
.prose {
  max-width: 760px;
  padding: 56px 0 30px;
}
.prose h2 {
  font-size: 30px;
  margin: 42px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 21px;
  margin: 28px 0 10px;
}
.prose p { margin: 0 0 15px; color: var(--ink-2); }
.prose ul { margin: 0 0 18px; padding-left: 18px; }
.prose li {
  list-style: disc;
  margin-bottom: 7px;
  color: var(--ink-2);
}
.prose a { border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--wine); color: var(--wine); }

/* ============================================================
   HOME
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding: 54px 0 46px;
}
.hero-copy { padding-bottom: 26px; }
.hero h1 {
  font-size: clamp(52px, 7vw, 104px);
  line-height: .94;
  letter-spacing: -.025em;
  margin: 22px 0 26px;
}
.hero h1 em {
  color: var(--wine);
  font-weight: 300;
}
.hero-lede {
  max-width: 42ch;
  color: var(--ink-2);
  font-size: 15px;
}
.hero-acts {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}
.hero-facts {
  display: flex;
  gap: 40px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-facts dt {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
}
.hero-facts dd {
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-fig {
  position: relative;
}
.hero-fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.94);
}
.hero-fig::before {
  content: "No. 04";
  position: absolute;
  top: 14px;
  right: -6px;
  writing-mode: vertical-rl;
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--ink-3);
}
.hero-fig figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* chapter tiles */
.cat-section { padding: 26px 0 0; }
.cat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-2);
}
.cat-tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: saturate(.92);
}
.cat-tile:hover img { transform: scale(1.045); filter: saturate(1); }
.cat-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 34px 16px 14px;
  background: linear-gradient(to top, rgba(20, 17, 13, .78), rgba(20, 17, 13, 0));
  color: var(--cream);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* editorial intro band */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.manifesto h2 {
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.02;
}
.manifesto h2 em { color: var(--wine); }
.manifesto-copy p {
  color: var(--ink-2);
  margin-bottom: 16px;
  max-width: 48ch;
}
.manifesto-copy .manifesto-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}

/* the index */
.index-list { border-top: 1px solid var(--line); }
.index-row { border-bottom: 1px solid var(--line); }
.index-row > a {
  display: grid;
  grid-template-columns: 46px 76px minmax(0, 1fr) 160px 84px 22px;
  align-items: center;
  gap: 24px;
  padding: 16px 6px;
  transition: background .3s var(--ease), padding .3s var(--ease);
}
.index-row > a:hover {
  background: var(--paper-2);
  padding-left: 16px;
  padding-right: 16px;
}
.idx-no {
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-3);
}
.idx-thumb { overflow: hidden; }
.idx-thumb img {
  width: 76px;
  height: 94px;
  object-fit: cover;
  filter: saturate(.93);
}
.idx-name h3 {
  font-size: 25px;
  line-height: 1.12;
}
.idx-name span {
  display: block;
  margin-top: 5px;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.idx-cat {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.idx-price {
  font-size: 13px;
  letter-spacing: .04em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.idx-arrow {
  font-size: 15px;
  color: var(--wine);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.index-row > a:hover .idx-arrow { opacity: 1; transform: translateX(0); }

/* feature split */
.feature {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feature img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}
.feature-copy h2 {
  font-size: clamp(32px, 3.6vw, 50px);
  margin: 16px 0 20px;
}
.feature-copy p { color: var(--ink-2); max-width: 42ch; margin-bottom: 14px; }
.feature-copy ul {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.feature-copy li {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}
.feature-copy li b {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--wine);
  min-width: 20px;
}

/* services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.service {
  padding: 34px 34px 8px 0;
  border-right: 1px solid var(--line);
}
.service:last-child { border-right: 0; }
.service + .service { padding-left: 34px; }
.service span {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: var(--wine);
}
.service h3 {
  font-size: 27px;
  margin: 12px 0 10px;
}
.service p {
  font-size: 13px;
  color: var(--ink-3);
  max-width: 30ch;
}

/* ============================================================
   SHOP
   ============================================================ */
.shop-head {
  padding: 62px 0 30px;
}
.shop-head h1 { font-size: clamp(44px, 6vw, 76px); margin: 14px 0 0; }
.shop-head p { max-width: 50ch; margin-top: 16px; color: var(--ink-3); font-size: 14px; }
.shop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky;
  top: 73px;
  z-index: 40;
  background: var(--paper);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 9px 17px;
  border: 1px solid var(--line);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.shop-tools {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.shop-count {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sort-sel {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 6px 22px 6px 2px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 49%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 51%);
  background-position: calc(100% - 8px) 52%, calc(100% - 3px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.sort-sel:focus-visible { outline: 1px solid var(--wine); outline-offset: 3px; }

.shop-body { padding: 44px 0 20px; }
.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px 26px;
}
.p-card { display: block; }
.p-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.p-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
  filter: saturate(.93);
}
.p-card:hover .p-media img { transform: scale(1.035); filter: saturate(1); }
.p-quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 11px;
  text-align: center;
  background: rgba(251, 247, 238, .94);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.p-card:hover .p-quick { opacity: 1; transform: translateY(0); }
.p-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
}
.p-meta h3 {
  font-size: 20px;
  line-height: 1.18;
}
.p-type {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.p-price {
  font-size: 12.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.p-price s {
  color: var(--ink-3);
  margin-left: 7px;
  font-size: 11px;
}
.empty-state {
  padding: 90px 0;
  text-align: center;
  color: var(--ink-3);
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
}

/* ============================================================
   PRODUCT
   ============================================================ */
.pdp-wrap { padding: 26px 0 10px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 26px;
}
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--wine); }
.crumbs span { color: var(--line); }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 76px);
  padding-bottom: 30px;
}
.pdp-gallery { position: sticky; top: 104px; align-self: start; }
.pdp-main-frame {
  overflow: hidden;
  background: var(--paper-2);
}
#pdpMain {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: var(--px, 50%) var(--py, 50%);
  transform: scale(var(--pz, 1));
  transition: transform .6s var(--ease), object-position .6s var(--ease);
}
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.pdp-thumbs button {
  padding: 0;
  border: 1px solid transparent;
  overflow: hidden;
  opacity: .62;
  transition: opacity .25s var(--ease), border-color .25s var(--ease);
}
.pdp-thumbs button img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pdp-thumbs button:hover { opacity: 1; }
.pdp-thumbs button.is-active { opacity: 1; border-color: var(--ink); }

.pdp-info { padding-top: 10px; }
.pdp-cat {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wine);
}
.pdp-name {
  font-size: clamp(36px, 4vw, 54px);
  margin: 14px 0 18px;
  line-height: 1.02;
}
.pdp-price {
  font-size: 19px;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.pdp-price s {
  font-size: 14px;
  color: var(--ink-3);
  margin-left: 12px;
}
.pdp-desc {
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  max-width: 46ch;
  line-height: 1.75;
}
.pdp-buy {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pdp-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.pdp-label a { border-bottom: 1px solid var(--line); }
.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-btn {
  min-width: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .1em;
  text-align: center;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.size-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
  font-style: italic;
  font-family: var(--display);
  font-size: 16px;
}
.pdp-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-top: 22px;
}
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
}
.qty button {
  width: 42px;
  height: 100%;
  min-height: 46px;
  font-size: 15px;
  color: var(--ink-2);
  transition: background .2s var(--ease);
}
.qty button:hover { background: var(--paper-2); }
.qty span {
  min-width: 32px;
  text-align: center;
  font-size: 13px;
}
.pdp-row .btn { flex: 1; }
.pdp-notes {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.pdp-notes div {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-3);
}
.pdp-notes b {
  font-weight: 400;
  color: var(--ink);
  min-width: 88px;
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-top: 2px;
}

.related { padding: 68px 0 20px; border-top: 1px solid var(--line); margin-top: 40px; }

/* ============================================================
   BAG / CART
   ============================================================ */
.cart-page { padding: 60px 0 40px; }
.cart-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.cart-title h1 { font-size: clamp(40px, 5vw, 66px); }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 12px;
  align-items: start;
}
.cart-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 116px 84px;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cart-head span:nth-child(2),
.cart-head span:nth-child(3) { text-align: center; }
.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 116px 84px;
  gap: 18px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.cart-prod {
  display: flex;
  gap: 20px;
  align-items: center;
}
.cart-prod img {
  width: 82px;
  height: 102px;
  object-fit: cover;
  background: var(--paper-2);
  flex-shrink: 0;
}
.cart-prod h3 { font-size: 22px; line-height: 1.15; }
.cart-prod span {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cart-qty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  height: 40px;
}
.cart-qty button {
  width: 36px;
  height: 100%;
  font-size: 14px;
  transition: background .2s var(--ease);
}
.cart-qty button:hover { background: var(--paper-2); }
.cart-qty span { min-width: 26px; text-align: center; font-size: 12px; }
.cart-line {
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.cart-remove {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  justify-self: end;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.cart-remove:hover { color: var(--wine); border-color: var(--wine); }

.cart-summary {
  background: var(--paper-2);
  padding: 32px;
  position: sticky;
  top: 104px;
}
.cart-summary h2 {
  font-size: 28px;
  padding-bottom: 18px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.sum-row.is-total {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 24px;
  color: var(--ink);
}
.sum-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-3);
  padding: 14px 0 20px;
}
.cart-summary .btn { margin-bottom: 14px; }
.cart-summary .link-u {
  display: block;
  text-align: center;
  font-size: 9.5px;
}
.cart-empty {
  padding: 90px 0 100px;
  max-width: 460px;
}
.cart-empty h2 {
  font-size: 40px;
  margin-bottom: 14px;
}
.cart-empty p {
  color: var(--ink-3);
  margin-bottom: 26px;
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-page { padding: 54px 0 30px; }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-top: 34px;
}
.ck-step {
  margin-bottom: 42px;
}
.ck-step-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}
.ck-step-head span {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--wine);
}
.ck-step-head h2 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .span-2 { grid-column: 1 / -1; }
.field {
  display: block;
}
.field > span {
  display: block;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 7px;
}
.field input,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 14px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .2s var(--ease);
}
.field input:focus,
.field select:focus {
  outline: 0;
  border-color: var(--ink);
}
.field input::placeholder { color: #a89d8c; }

.ship-opts { display: grid; gap: 10px; }
.ship-opts label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.ship-opts label:hover { border-color: var(--ink-3); }
.ship-opts label.is-active { border-color: var(--ink); background: var(--cream); }
.ship-opts b {
  display: block;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ship-opts small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-3);
}
.ship-opts label > span:last-of-type { font-size: 12px; }
.ck-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--ink-3);
}
.form-err {
  min-height: 18px;
  font-size: 11.5px;
  color: var(--wine);
  margin: 6px 0 12px;
}

.ck-aside {
  background: var(--paper-2);
  padding: 30px;
  position: sticky;
  top: 104px;
}
.ck-aside h2 {
  font-size: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.ck-items { padding: 12px 0 6px; }
.ck-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.ck-item:last-child { border-bottom: 0; }
.ck-item img {
  width: 54px;
  height: 68px;
  object-fit: cover;
  flex-shrink: 0;
}
.ck-item h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.15;
}
.ck-item span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--ink-3);
}
.ck-item b {
  margin-left: auto;
  font-weight: 400;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.ck-total-note {
  font-size: 10.5px;
  color: var(--ink-3);
  margin-top: 10px;
}

/* ============================================================
   ORDER COMPLETE
   ============================================================ */
.done-page { padding: 76px 0 60px; }
.done-page .wrap { max-width: 880px; }
.done-intro {
  text-align: center;
  margin-bottom: 40px;
}
.done-intro h1 {
  font-size: clamp(42px, 6vw, 70px);
  margin: 16px 0 14px;
}
.done-intro p { color: var(--ink-3); }
.done-intro .eyebrow { justify-content: center; }

#doneTicket {
  border: 1px solid var(--ink);
  padding: 36px 38px;
  background: var(--cream);
  position: relative;
}
.ticket-head {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}
.ticket-head span {
  display: block;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.ticket-head strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: .02em;
}
.ticket-items { padding: 20px 0 6px; }
.ticket-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}
.ticket-item:last-child { border-bottom: 0; }
#doneTicket .sum-row { padding: 8px 0; }
#doneTicket .sum-row.is-total { margin-top: 8px; }
#doneTicket .sum-note {
  padding-top: 16px;
  margin-top: 10px;
  border-top: 1px dashed var(--line);
}
.ticket-stamp {
  position: absolute;
  top: 22px;
  right: 26px;
  transform: rotate(-7deg);
  border: 1px solid var(--wine);
  color: var(--wine);
  font-size: 8.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 6px 10px;
  opacity: .8;
}
.done-acts {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 34px;
}

/* ============================================================
   ABOUT / CONTACT
   ============================================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  padding: 60px 0 46px;
}
.about-hero h1 {
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: .97;
}
.about-hero h1 em { color: var(--wine); }
.about-hero p { color: var(--ink-2); max-width: 34ch; font-size: 14px; }
.about-hero figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  padding: 56px 0 30px;
  border-top: 1px solid var(--line);
}
.about-aside h2 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.about-aside p {
  margin-top: 14px;
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
}
.about-text p {
  color: var(--ink-2);
  margin-bottom: 18px;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.8;
}
.about-text .lead {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 34ch;
  margin-bottom: 30px;
}
.about-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 20px 0 30px;
}
.about-numbers div {
  padding: 20px 18px;
  border-right: 1px solid var(--line);
}
.about-numbers div:last-child { border-right: 0; }
.about-numbers b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
}
.about-numbers span {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 90px);
  padding: 44px 0 40px;
}
.contact-main h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 16px;
}
.contact-main p { color: var(--ink-2); max-width: 46ch; margin-bottom: 24px; }
.contact-email {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 40px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.contact-email:hover { color: var(--wine); border-color: var(--wine); }
.contact-cards {
  border-top: 1px solid var(--line);
}
.contact-cards div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-cards h3 {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 8px;
}
.contact-cards p {
  font-size: 13px;
  color: var(--ink-2);
  max-width: 40ch;
}

/* policy pages */
.policy-head { padding: 60px 0 30px; border-bottom: 1px solid var(--line); }
.policy-head h1 { font-size: clamp(38px, 5vw, 62px); margin-top: 14px; }
.policy-body { padding-bottom: 40px; }
.policy-updated {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 14px;
}

/* ============================================================
   ADMIN
   ============================================================ */
body.ad-body {
  background: var(--paper);
  color: var(--ink);
}

.ad-gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 18% 12%, rgba(110, 42, 40, .09), transparent 42%),
    radial-gradient(circle at 84% 88%, rgba(78, 81, 56, .10), transparent 46%),
    var(--paper);
}
.ad-gate-card {
  width: 100%;
  max-width: 424px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 46px 40px 40px;
  box-shadow: 0 24px 60px rgba(27, 23, 18, .09);
}
.ad-gate-card .wordmark {
  display: block;
  font-size: 21px;
  letter-spacing: .3em;
  text-align: center;
}
.ad-gate-card > p {
  margin: 16px 0 26px;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-3);
}
.ad-note {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-3);
}
.ad-err {
  min-height: 18px;
  margin: 8px 0 10px;
  font-size: 11.5px;
  color: var(--wine);
}

.ad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.ad-btn:hover { background: var(--wine); border-color: var(--wine); }
.ad-btn--ghost {
  background: transparent;
  color: var(--ink);
}
.ad-btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.ad-btn--danger {
  background: transparent;
  border-color: var(--wine);
  color: var(--wine);
}
.ad-btn--danger:hover {
  background: var(--wine);
  color: var(--cream);
}
.ad-btn[disabled] {
  opacity: .42;
  pointer-events: none;
}

/* shell */
.ad-shell {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  min-height: 100svh;
}
.ad-side {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--paper-2);
  padding: 36px 28px 28px;
  overflow-y: auto;
}
.ad-side .wordmark {
  color: var(--paper);
  font-size: 20px;
  letter-spacing: .3em;
}
.ad-side > small {
  display: block;
  margin-top: 10px;
  font-size: 8.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, .48);
}
.ad-nav {
  display: flex;
  flex-direction: column;
  margin-top: 44px;
}
.ad-nav a,
.ad-nav .is-static {
  position: relative;
  padding: 13px 0;
  border-top: 1px solid rgba(244, 238, 227, .13);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, .58);
  white-space: nowrap;
}
.ad-nav a:last-child,
.ad-nav .is-static:last-child { border-bottom: 1px solid rgba(244, 238, 227, .13); }
.ad-nav a { transition: color .25s var(--ease), padding .25s var(--ease); }
.ad-nav a:hover { color: var(--paper); }
.ad-nav a.is-active {
  color: var(--paper);
  padding-left: 18px;
}
.ad-nav a.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: #c08a7d;
}
.ad-nav .is-static {
  opacity: .5;
  cursor: default;
}
.ad-side-foot {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ad-side-foot button,
.ad-side-foot a {
  color: rgba(244, 238, 227, .62);
  text-align: left;
  transition: color .25s var(--ease);
}
.ad-side-foot button:hover,
.ad-side-foot a:hover { color: var(--paper); }

.ad-main {
  min-width: 0;
  padding: 34px clamp(22px, 3.4vw, 48px) 64px;
}
.ad-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.ad-top h1 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1;
}
.ad-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ad-lang {
  display: flex;
  border: 1px solid var(--line);
}
.ad-lang button {
  padding: 8px 12px;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--ink-3);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.ad-lang button.is-active {
  background: var(--ink);
  color: var(--cream);
}

.ad-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--cream);
}
.ad-stat {
  padding: 18px 18px 16px;
  border-right: 1px solid var(--line);
}
.ad-stat:last-child { border-right: 0; }
.ad-stat span {
  display: block;
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ad-stat strong {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 29px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ad-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}
.ad-search input {
  width: min(280px, 46vw);
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  color: var(--ink);
  border-radius: 0;
}
.ad-search input:focus {
  outline: 0;
  border-color: var(--ink);
  background: var(--cream);
}
.ad-search input::placeholder { color: #a89d8c; }

.ad-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--cream);
  overflow-x: auto;
}
.ad-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.ad-table th {
  padding: 13px 16px;
  text-align: left;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.ad-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  vertical-align: middle;
}
.ad-table tbody tr:last-child td { border-bottom: 0; }
.ad-table tbody tr { transition: background .2s var(--ease); }
.ad-table tbody tr:hover { background: #f8f3ea; }
.o-no {
  font-family: var(--display);
  font-size: 15.5px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.o-no:hover { color: var(--wine); border-color: var(--wine); }
.o-cust span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--ink-3);
}
.o-actions {
  width: 1%;
  text-align: right;
  white-space: nowrap;
}
.ad-more-btn {
  padding: 7px 11px;
  border: 1px solid var(--line);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.ad-more-btn:hover { border-color: var(--ink); color: var(--ink); }

.ad-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--line);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.st-pending { color: #7a6127; border-color: #cdb47f; background: #f6edd9; }
.st-paid { color: #3c5c4c; border-color: #8aa899; background: #e7efe9; }
.st-shipped { color: #44546e; border-color: #97a4bb; background: #e9edf3; }
.st-delivered { color: #3c4029; border-color: #8f9277; background: #e9eadf; }
.st-cancelled { color: #7a3a35; border-color: #c09b96; background: #f2e5e2; }

.ad-empty {
  padding: 72px 24px;
  text-align: center;
}
.ad-empty h3 { font-size: 25px; }
.ad-empty p {
  margin: 10px 0 22px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* floating menus */
.ad-menu {
  position: fixed;
  z-index: 120;
  min-width: 172px;
  display: none;
  flex-direction: column;
  padding: 6px;
  background: var(--cream);
  border: 1px solid var(--ink);
  box-shadow: 0 18px 44px rgba(27, 23, 18, .18);
  visibility: hidden;
}
.ad-menu.is-on {
  display: flex;
  visibility: visible;
}
.ad-menu button {
  padding: 10px 12px;
  text-align: left;
  font-size: 11.5px;
  color: var(--ink-2);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.ad-menu button:hover { background: var(--paper-2); color: var(--ink); }
.ad-menu button.is-danger { color: var(--wine); }
.ad-menu button.is-danger:hover { background: #f2e5e2; }

/* modal */
.ad-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  padding: 34px 20px;
  overflow-y: auto;
  background: rgba(27, 23, 18, .52);
  backdrop-filter: blur(2px);
}
.ad-modal.is-on { display: flex; align-items: flex-start; justify-content: center; }
.ad-modal-card {
  width: 100%;
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - 68px);
  background: var(--cream);
  border: 1px solid var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
}
.ad-modal-card--wide { max-width: 830px; }
.ad-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.ad-modal-head h2 {
  font-size: 25px;
  line-height: 1.1;
}
.ad-modal-head span {
  display: block;
  margin-top: 6px;
  font-size: 8.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ad-close {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  font-size: 20px;
  line-height: 1;
  color: var(--ink-3);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.ad-close:hover { border-color: var(--ink); color: var(--ink); }
.ad-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}
.ad-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}
.ad-modal-foot .right {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.ad-kv {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  border-top: 1px solid var(--line-soft);
  margin-bottom: 22px;
}
.ad-kv dt,
.ad-kv dd {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.ad-kv dt {
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  align-self: center;
}
.ad-kv dd { color: var(--ink-2); word-break: break-word; }

.ad-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 20px;
}
.ad-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.ad-item img,
.ad-item > span {
  width: 48px;
  height: 60px;
  object-fit: cover;
  background: var(--paper-2);
}
.ad-item h4 {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}
.ad-item div span {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--ink-3);
}
.ad-item b {
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.ad-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
  font-size: 12.5px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.ad-line.is-total {
  margin-top: 6px;
  padding-top: 13px;
  border-top: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
}

.ad-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 15px;
}
.ad-form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .index-row > a { grid-template-columns: 40px 70px minmax(0, 1fr) 130px 76px 20px; gap: 18px; }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 34px; }
  .hero-fig { max-width: 680px; }
  .hero-fig img { aspect-ratio: 16 / 11; }
  .cat-strip { grid-template-columns: 1fr 1fr; }
  .manifesto { grid-template-columns: 1fr; gap: 28px; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature img { aspect-ratio: 16 / 10; }
  .services { grid-template-columns: 1fr; gap: 0; }
  .service { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .service:last-child { border-bottom: 0; }
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .pdp-gallery { position: static; }
  #pdpMain { aspect-ratio: 4 / 4.4; }
  .cart-layout { grid-template-columns: 1fr; gap: 36px; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; gap: 36px; }
  .ck-aside { position: static; }
  .about-body { grid-template-columns: 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .foot-top { grid-template-columns: 1.3fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .ad-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ad-stat:nth-child(3) { border-right: 0; }
  .ad-stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .nav-main { display: none; }
  .nav-toggle { display: flex; }
  .site-head { grid-template-columns: 1fr auto; }
  .site-head .nav-side { justify-self: end; }
  .index-row > a { grid-template-columns: 30px 64px minmax(0, 1fr) 20px; gap: 14px; }
  .idx-cat, .idx-year { display: none; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-hero { grid-template-columns: 1fr; gap: 28px; }
  .about-numbers { grid-template-columns: 1fr; }
  .about-numbers div { border-right: 0; border-bottom: 1px solid var(--line); }
  .about-numbers div:last-child { border-bottom: 0; }
  .ad-shell { grid-template-columns: 1fr; }
  .ad-side {
    position: static;
    height: auto;
    padding: 22px 22px 18px;
  }
  .ad-nav {
    flex-direction: row;
    gap: 22px;
    margin-top: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ad-nav::-webkit-scrollbar { display: none; }
  .ad-nav a,
  .ad-nav .is-static {
    padding: 8px 0;
    border-top: 0;
    border-bottom: 1px solid transparent;
  }
  .ad-nav .is-static:last-child { border-bottom-color: transparent; }
  .ad-nav a.is-active { padding-left: 0; border-bottom-color: #c08a7d; }
  .ad-nav a.is-active::before { display: none; }
  .ad-side-foot {
    flex-direction: row;
    gap: 18px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(244, 238, 227, .13);
  }
  .ad-main { padding: 26px 22px 50px; }
}

@media (max-width: 760px) {
  :root { --gut: 20px; }
  .announce { font-size: 8.5px; letter-spacing: .12em; }
  .site-head { gap: 10px; padding: 14px var(--gut); }
  .wordmark { font-size: 17px; letter-spacing: .22em; text-indent: .22em; }
  .nav-side { gap: 14px; }
  .nav-side a { font-size: 9px; letter-spacing: .14em; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-facts { flex-direction: column; gap: 16px; }
  .cat-strip { grid-template-columns: 1fr; }
  .cat-tile img { aspect-ratio: 16 / 9; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .p-grid { gap: 18px 10px; }
  .p-card h3 { font-size: 17px; }
  .p-meta h3 { font-size: 17px; }
  .p-quick { opacity: 1; transform: none; }
  .shop-head h1 { font-size: clamp(38px, 11vw, 54px); }
  .shop-meta { position: static; flex-direction: column; align-items: flex-start; gap: 12px; }
  .shop-tools { width: 100%; justify-content: space-between; }
  .pdp-info { padding-top: 4px; }
  .pdp-name { font-size: clamp(30px, 8vw, 42px); }
  .pdp-row { flex-wrap: wrap; }
  .pdp-row .btn { flex: 1 1 100%; }
  .pdp-thumbs { grid-template-columns: repeat(3, 1fr); }
  .checkout-layout { gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .cart-head { display: none; }
  .cart-row {
    grid-template-columns: auto 1fr auto;
    gap: 10px 14px;
    padding: 20px 0;
  }
  .cart-row .cart-prod { grid-column: 1 / -1; }
  .cart-row .cart-line { text-align: left; }
  .cart-row .cart-remove { justify-self: end; }
  .cart-summary { padding: 24px; }
  .cart-prod img { width: 68px; height: 86px; }
  .cart-prod h3 { font-size: 18px; }
  .about-hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .contact-email { font-size: 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .site-foot { padding-top: 52px; }
  .ad-modal { padding: 0; }
  .ad-modal-card { max-height: 100svh; min-height: 100svh; border: 0; }
  .ad-modal-body { padding: 20px; }
  .ad-modal-head, .ad-modal-foot { padding-left: 20px; padding-right: 20px; }
  .ad-modal-foot { flex-wrap: wrap; }
  .ad-form-row,
  .ad-form-row--3 { grid-template-columns: 1fr; gap: 12px; }
  .ad-kv { grid-template-columns: 1fr; }
  .ad-kv dt { padding-bottom: 0; border-bottom: 0; }
  .ad-kv dd { padding-top: 4px; }
  .ad-stats { grid-template-columns: 1fr 1fr; }
  .ad-stat { border-right: 1px solid var(--line); }
  .ad-stat:nth-child(even) { border-right: 0; }
  .ad-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ad-stat:nth-child(3) { border-right: 1px solid var(--line); }
  .ad-toolbar { flex-wrap: wrap; }
  .ad-search { width: 100%; }
  .ad-search input { width: 100%; }
  .ad-panel { border: 0; background: transparent; overflow: visible; }
  .ad-table thead { display: none; }
  .ad-table,
  .ad-table tbody { display: block; }
  .ad-table tr {
    display: block;
    margin-bottom: 12px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    background: var(--cream);
  }
  .ad-table td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
    text-align: right;
  }
  .ad-table td:last-child { border-bottom: 0; }
  .ad-table td::before {
    content: attr(data-th);
    flex-shrink: 0;
    font-size: 8.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-3);
    text-align: left;
  }
  .ad-table td.o-cust { display: block; text-align: right; }
  .ad-table td.o-cust::before { display: block; margin-bottom: 4px; }
  .o-actions { width: auto; }
  .ad-menu { min-width: 150px; }
}

@media (max-width: 420px) {
  .p-grid { grid-template-columns: 1fr; }
  .p-media img { aspect-ratio: 4 / 5; }
  .hero-acts .btn { width: 100%; }
  .done-acts { flex-direction: column; }
  .done-acts .btn { width: 100%; }
  .ticket-items { font-size: 12px; }
  .ad-top { flex-direction: column; align-items: flex-start; }
  .ad-stats { grid-template-columns: 1fr; }
  .ad-stat { border-right: 0; }
  .ad-stat:nth-child(3) { border-right: 0; }
  .ad-stat + .ad-stat { border-top: 1px solid var(--line); }
}

