/* Golden Wind — shared styles */
:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --text: #f2efe8;
  --muted: #9a968c;
  --gold: #d9a441;
  --gold-soft: #f0cf8a;
  --line: rgba(255, 255, 255, 0.1);
  --danger: #ff7a6b;
  --ok: #8fd6a4;
  --display: "Bahnschrift", "DIN Alternate", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 8vw, 6.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.75rem); }
h3 { font-size: 1.05rem; letter-spacing: 0.08em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 9vw, 112px) 0; }
.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.muted { color: var(--muted); }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 56ch; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--gold); color: #000; padding: 8px 14px;
}
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.95em 1.8em; border: 1px solid var(--gold); background: var(--gold); color: #0b0b0c;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.small { padding: 0.7em 1.1em; font-size: 0.75rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, 0.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap; }
.brand span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav a {
  font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); padding: 8px 0; transition: color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .cart-link { color: var(--text); }
.cart-count {
  display: inline-block; min-width: 1.6em; padding: 0 0.4em; margin-left: 0.3em;
  text-align: center; background: var(--gold); color: #0b0b0c; border-radius: 999px; letter-spacing: 0;
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.6em 1em; cursor: pointer;
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
}

/* Image slots: show a labelled placeholder until the real image exists */
.slot {
  position: relative; overflow: hidden; background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.16), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px),
    var(--surface);
}
.slot::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center;
  font-family: var(--display); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; z-index: 1; }
.slot.loaded img { opacity: 1; }
.slot.loaded::after { content: none; }
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-wide { aspect-ratio: 4 / 3; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; }
.hero .slot { position: absolute; inset: 0; isolation: isolate; }

.split.solo { grid-template-columns: minmax(0, 1fr); }

/* Hero slideshow: the next photo wipes in behind a gold scan line */
.hero .slide { visibility: hidden; }
.hero .slide.on, .hero .slide.in { visibility: visible; }
.hero .slide.in { z-index: 2; animation: hero-wipe 1.3s cubic-bezier(0.7, 0, 0.2, 1) both; }
.hero .slide.out { animation: hero-out 1.3s ease-in both; }
.hero-scan {
  position: absolute; top: 0; bottom: 0; left: 0; width: 3px; z-index: 3; opacity: 0; pointer-events: none;
  background: var(--gold);
  box-shadow: 0 0 18px 4px rgba(217, 164, 65, 0.75), 0 0 90px 30px rgba(217, 164, 65, 0.28), -46px 0 0 -1px rgba(217, 164, 65, 0.22), -92px 0 0 -1px rgba(217, 164, 65, 0.1);
}
.hero-scan.run { animation: hero-scan 1.3s cubic-bezier(0.7, 0, 0.2, 1) both; }
@keyframes hero-wipe {
  0% { clip-path: inset(0 100% 0 0); filter: brightness(1.9) saturate(0.2) contrast(1.2); transform: scale(1.05); }
  100% { clip-path: inset(0 0 0 0); filter: none; transform: none; }
}
@keyframes hero-out {
  to { filter: brightness(0.5) saturate(0.4); transform: scale(1.03); opacity: 0; }
}

/* A "fit" slide is zoomed out so the whole photo shows, with its edges faded into the page */
.hero .slot { container-type: size; }
.hero .slot.loaded { background: var(--bg); }
/* The photo is sized so the people in it (the middle 88% of its width, 96% of its height) just fit the frame.
   A blurred, dimmed copy of the same photo fills whatever is left, so the slide still reads as full-frame. */
.hero .slide.fit { position: absolute; inset: 0; overflow: hidden; }
.hero .slide.fit img { object-position: center; }
.hero .slide.fit .fill { filter: blur(28px) brightness(0.55) saturate(0.9); transform: scale(1.15); }
.hero .slide.fit .photo {
  --w: min(100cqw / 0.88, 100cqh / 0.96 * var(--ratio, 1.78));
  inset: auto; left: 50%; top: 50%; max-width: none; width: var(--w); height: calc(var(--w) / var(--ratio, 1.78)); translate: -50% -50%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* On tall, narrow screens a fitted photo would be tiny, so fill the frame there instead */
@media (max-aspect-ratio: 1/1) {
  /* Photo sits in the top part of the frame, so the text below it stays off the models' faces */
  .hero .slide.fit .photo {
    inset: 0 0 auto; width: 100%; height: 62%; translate: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); mask-image: linear-gradient(to bottom, #000 75%, transparent);
  }
  .hero.fit-text h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero.fit-text .lede { font-size: 1rem; }
}
/* While a fitted slide shows, the headline shrinks to sit low in the frame, under the models' faces */
@media (min-aspect-ratio: 1/1) {
  .hero.fit-text h1 { font-size: clamp(1.7rem, 4.6vw, 3.2rem); max-width: none; }
  .hero.fit-text .lede { max-width: 46ch; font-size: 1rem; }
}

/* Headline and intro wipe out and back in with the photo; the new wording is set at the midpoint */
.hero .text-swap { animation: hero-text 1.3s cubic-bezier(0.7, 0, 0.2, 1) both; }
@keyframes hero-text {
  0% { opacity: 1; clip-path: inset(0 0 0 0); transform: none; filter: none; }
  45% { opacity: 0; clip-path: inset(0 0 0 100%); transform: translateX(14px); filter: blur(6px); }
  55% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-14px); filter: blur(6px) brightness(1.8); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .text-swap { animation-name: hero-text-fade; }
}
@keyframes hero-text-fade { 45%, 55% { opacity: 0; } }

.hero .eyebrow { transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1); }

/* Slideshow progress bar */
.hero-nav { display: flex; gap: 14px; margin-top: 2.2rem; }
.hero-nav button {
  display: flex; align-items: center; gap: 10px; padding: 10px 0; background: none; border: 0; cursor: pointer;
  color: var(--muted); font-family: var(--display); font-size: 0.7rem; letter-spacing: 0.2em;
}
.hero-nav .track { position: relative; display: block; width: clamp(48px, 9vw, 96px); height: 2px; background: rgba(255, 255, 255, 0.18); }
.hero-nav .fill { position: absolute; inset: 0; width: 0; background: var(--gold); box-shadow: 0 0 10px rgba(217, 164, 65, 0.8); }
.hero-nav .fill::after {
  content: ""; position: absolute; right: -2px; top: -3px; width: 4px; height: 8px; background: #fff; opacity: 0;
  box-shadow: 0 0 10px 2px rgba(217, 164, 65, 0.9);
}
.hero-nav button:hover, .hero-nav button.active { color: var(--text); }
.hero-nav button:hover .track { background: rgba(255, 255, 255, 0.4); }
.hero-nav button.active .fill { animation: hero-progress var(--hero-time, 7s) linear both; }
.hero-nav button.active .fill::after { opacity: 1; }
.hero-nav.paused button.active .fill { animation: none; width: 100%; opacity: 0.5; }
.hero-nav .hero-pause { width: 32px; justify-content: center; gap: 4px; }
.hero-pause::before, .hero-pause::after { content: ""; width: 2px; height: 12px; background: currentColor; }
.hero-pause.paused::before { width: 0; height: 0; background: none; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.hero-pause.paused::after { content: none; }
@keyframes hero-progress { from { width: 0; } to { width: 100%; } }
@keyframes hero-scan {
  0% { left: 0; opacity: 0; }
  10%, 88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .slide.in { animation: hero-fade 0.8s both; }
  .hero .slide.out, .hero-scan.run { animation: none; }
}
@keyframes hero-fade { from { opacity: 0; } }
.hero .slot::after { place-items: start end; padding: 20px var(--gutter); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 4%, rgba(11, 11, 12, 0.55) 45%, rgba(11, 11, 12, 0.15));
}
.hero .wrap { position: relative; z-index: 3; width: 100%; padding-top: 120px; padding-bottom: clamp(40px, 8vw, 96px); }
[data-content] em { font-style: normal; color: var(--gold); }
/* On wide screens keep the hero text in the left third, clear of the people in the photo */
@media (min-width: 900px) {
  .hero h1 { font-size: clamp(3rem, 5.6vw, 5.2rem); max-width: 8ch; }
  .hero .lede { max-width: 32ch; }
  .hero .slot img { object-position: right center; }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }

/* Marquee strip */
.strip { border-block: 1px solid var(--line); overflow: hidden; padding: 14px 0; }
.strip p {
  margin: 0; white-space: nowrap; font-family: var(--display); font-size: 0.8rem;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); text-align: center;
}
.strip b { color: var(--gold); font-weight: 400; padding: 0 1.2em; }

/* Grids */
.grid { display: grid; gap: clamp(14px, 2vw, 28px); }
.grid.cats { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .grid.cats { grid-template-columns: repeat(4, 1fr); } }
.thumbs button[hidden] { display: none; }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 40px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link { font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 760px) {
  .grid.cats, .split { grid-template-columns: 1fr; }
  .grid.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones: let the two-column cards shrink instead of pushing the page sideways */
@media (max-width: 560px) {
  .card .body { padding: 12px; }
  .card .meta, .card .buy { flex-direction: column; align-items: stretch; }
  .card .buy select { width: 100%; }
  .card h3 { overflow-wrap: anywhere; }
  .card .chip { padding: 0.5em 0.6em; letter-spacing: 0.06em; }
  .card .btn.small { padding: 0.8em 0.4em; letter-spacing: 0.1em; }
}

.cat { position: relative; display: block; }
.cat .label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 48px 20px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  font-family: var(--display); letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.cat .label span:last-child { color: var(--gold); }

/* Product card */
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.card .body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card .price { color: var(--gold); font-family: var(--display); letter-spacing: 0.06em; }
.card .blurb { color: var(--muted); font-size: 0.9rem; margin: 0; flex: 1; }
.card .buy { display: flex; gap: 8px; }
.card .buy .btn { flex: 1; }

/* Color chips and model-view toggle on product cards */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: transparent; color: var(--muted); border: 1px solid var(--line); cursor: pointer;
  font-family: var(--display); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.5em 0.9em;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.chip.out { opacity: 0.45; text-decoration: line-through; }
.view-toggle {
  position: absolute; z-index: 2; right: 10px; bottom: 10px; cursor: pointer;
  background: rgba(11, 11, 12, 0.78); color: var(--text); border: 1px solid var(--line);
  font-family: var(--display); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.55em 0.8em;
}
.view-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* Product cards link to the product page */
.slot-link { position: absolute; inset: 0; z-index: 1; display: block; }
.card h3 a:hover { color: var(--gold); }

/* Product page */
.product-section { padding-top: clamp(24px, 4vw, 48px); }
.back-link { display: inline-block; margin-bottom: clamp(20px, 3vw, 36px); }
.product-page { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { padding: 0; border: 1px solid var(--line); background: var(--surface); cursor: pointer; aspect-ratio: 4 / 5; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.info .price { font-family: var(--display); font-size: 1.4rem; color: var(--gold); letter-spacing: 0.06em; }
.option { margin-top: 28px; }
.option-label { display: flex; justify-content: space-between; margin-bottom: 10px; font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; }
.option-label b { font-weight: 400; color: var(--muted); }
.info .chip { font-size: 0.8rem; padding: 0.8em 1.2em; }
.chip.size { min-width: 54px; }
.btn.cta { width: 100%; margin-top: 30px; padding: 1.2em; }
.cta-note { margin-top: 12px; text-align: center; font-size: 0.88rem; }
@media (max-width: 860px) {
  .product-page { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 64px; flex: none; }
}

/* Forms */
label { display: block; font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; background: var(--surface-2); color: var(--text); border: 1px solid var(--line);
  padding: 0.8em 0.9em; font: inherit; border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; }
textarea { min-height: 150px; resize: vertical; }
select { width: auto; }
.field select { width: 100%; }
.field { margin-bottom: 18px; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: 0.85rem; margin-top: 6px; min-height: 1.2em; }
.form-note { margin-top: 14px; font-size: 0.92rem; min-height: 1.5em; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--danger); }
.inline-form { display: flex; gap: 8px; max-width: 520px; }
.inline-form input { flex: 1; }
/* Honeypot: real people never see or fill this */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .inline-form { flex-direction: column; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(20px, 3vw, 36px) 0; }
.filters .btn[aria-pressed="true"] { background: var(--gold); color: #0b0b0c; border-color: var(--gold); }

/* Cart */
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line .slot { width: 88px; }
.cart-line .slot::after { font-size: 0; }
.cart-line h3 { margin: 0 0 4px; }
.cart-line .controls { display: flex; align-items: center; gap: 10px; }
.cart-line input[type="number"] { width: 76px; }
.cart-line .line-total { font-family: var(--display); color: var(--gold); min-width: 5.5em; text-align: right; }
.summary { margin-top: 28px; margin-left: auto; max-width: 380px; background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.summary .row { display: flex; justify-content: space-between; margin-bottom: 14px; font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.summary .btn { width: 100%; }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line .slot { width: 64px; }
  .cart-line .controls { grid-column: 1 / -1; justify-content: space-between; }
}

/* Checkout */
.split.top { align-items: start; }
.split.top h2 { font-size: 1.3rem; margin-top: 1.4em; }
.split.top h2:first-child { margin-top: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.summary h3 { margin-bottom: 18px; }
.summary [data-checkout-items] .row { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 0.92rem; color: var(--muted); gap: 12px; }
[data-pay] { margin-top: 8px; }
.summary .row.total { border-top: 1px solid var(--line); padding-top: 14px; }
.split.top .summary { margin-top: 0; width: 100%; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.values > div { border-top: 1px solid var(--gold); padding-top: 18px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* Mini cart: a glass panel that slides in from the right behind a gold edge */
html.drawer-open { overflow: hidden; }
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(5, 5, 6, 0.6); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; transition: opacity 0.4s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(440px, 100vw);
  display: flex; flex-direction: column;
  background:
    linear-gradient(160deg, rgba(217, 164, 65, 0.1), transparent 34%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 26px),
    rgba(14, 14, 16, 0.88);
  backdrop-filter: blur(22px) saturate(1.3);
  border-left: 1px solid rgba(217, 164, 65, 0.5);
  box-shadow: -1px 0 28px rgba(217, 164, 65, 0.22), -40px 0 90px rgba(0, 0, 0, 0.6);
  transform: translateX(104%); visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s 0.55s;
}
.drawer.open { transform: none; visibility: visible; transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1); }
/* A light runs down the gold edge as the panel opens */
.drawer::before {
  content: ""; position: absolute; left: -2px; top: 0; width: 3px; height: 28%; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent, #fff, var(--gold), transparent);
}
.drawer.open::before { animation: drawer-edge 1.1s 0.25s ease-out both; }
@keyframes drawer-edge { 0% { top: -28%; opacity: 1; } 100% { top: 100%; opacity: 0; } }

.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1rem; letter-spacing: 0.26em; }
.drawer-count { color: var(--gold); }
.drawer-close { position: relative; width: 40px; height: 40px; background: none; border: 1px solid var(--line); cursor: pointer; transition: border-color 0.2s, transform 0.3s; }
.drawer-close span { position: absolute; left: 11px; right: 11px; top: 50%; height: 1px; background: var(--text); transform: rotate(45deg); }
.drawer-close span + span { transform: rotate(-45deg); }
.drawer-close:hover { border-color: var(--gold); transform: rotate(90deg); }
.drawer-close:hover span { background: var(--gold); }

.drawer-lines { flex: 1; overflow-y: auto; padding: 4px 24px; overscroll-behavior: contain; }
.drawer-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.drawer.entering .drawer-line { animation: drawer-line 0.5s calc(0.18s + var(--i, 0) * 0.06s) cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes drawer-line { from { opacity: 0; transform: translateX(28px); } }
.drawer-line .slot { width: 76px; display: block; border: 1px solid var(--line); }
.drawer-line .slot::after { font-size: 0; }
.drawer-line h3 { margin: 0 0 2px; font-size: 0.85rem; letter-spacing: 0.1em; }
.drawer-line p { margin: 0; font-size: 0.82rem; }
.drawer-price { font-family: var(--display); color: var(--gold); letter-spacing: 0.06em; font-size: 0.9rem; }
.drawer-controls { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.stepper button { width: 30px; height: 30px; background: none; border: 0; color: var(--text); cursor: pointer; font-size: 1rem; line-height: 1; }
.stepper button:hover:not(:disabled) { color: var(--gold); background: rgba(217, 164, 65, 0.1); }
.stepper button:disabled { opacity: 0.3; cursor: default; }
.stepper span { min-width: 28px; text-align: center; font-family: var(--display); font-size: 0.85rem; }
.drawer-remove { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font-family: var(--display); font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; border-bottom: 1px solid transparent; }
.drawer-remove:hover { color: var(--gold); border-bottom-color: currentColor; }

.drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 24px; }
.drawer-empty[hidden], .drawer-foot[hidden] { display: none; }
.drawer-empty .btn { margin-top: 14px; }
.drawer-empty:not([hidden]) ~ .drawer-foot, .drawer-lines:empty { display: none; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid rgba(217, 164, 65, 0.35); display: grid; gap: 10px; background: rgba(11, 11, 12, 0.55); }
.drawer-row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.85rem; }
.drawer-subtotal { color: var(--gold); font-size: 1.25rem; letter-spacing: 0.06em; }
.drawer-foot p { margin: 0 0 6px; font-size: 0.8rem; }
.drawer-foot .btn { width: 100%; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer.open { transition: none; }
  .drawer.open::before, .drawer.entering .drawer-line { animation: none; }
}

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 80;
  background: var(--text); color: #0b0b0c; padding: 12px 20px; font-size: 0.9rem;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Policy pages */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.15rem; margin-top: 2em; }
.draft-note { border: 1px solid var(--gold); color: var(--gold); padding: 12px 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: 0.9rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
