:root {
  --ink: #1C181C; --mag: #C80058; --wine: #970141; --mag-on-dark: #FF2986;
  --tile: #F3EFF1; --tile2: #E8E2E5; --bar: #E4DEE1; --line: rgba(28, 24, 28, .12); --muted: #6E686C;
  --night: #151113; --night2: #201A1D;
  --display: 'Sora', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif; --mono: 'Space Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4.4vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mag); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

.eyebrow, .announce, .nav, .hero-foot, .art-number, .art-caption, .chapter-bar, .tag, .opt-label, .bag-btn {
  font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow { font-size: 10px; font-weight: 700; margin: 0 0 22px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: .95; margin: 0; }
h1 span, h2 span { color: var(--mag); }
.muted { color: var(--muted); margin: 14px 0 0; }
.fine { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

/* top bar + header */
.announce { display: flex; justify-content: space-between; gap: 16px; padding: 9px var(--pad); background: var(--bar); font-size: 10px; font-weight: 700; }
.header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 12px var(--pad); background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); }
.logo img { width: 116px; }
.nav { display: flex; gap: 34px; font-size: 11px; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--mag); }
.bag-btn { justify-self: end; display: flex; align-items: center; gap: 8px; border: 0; background: none; font-size: 12px; font-weight: 700; cursor: pointer; padding: 8px; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(780px, calc(100svh - 110px)); border-bottom: 1px solid var(--line); }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 64px var(--pad) 96px; }
h1 { font-size: clamp(46px, 6.3vw, 104px); }
.lede { max-width: 31ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); margin: 26px 0 32px; }
.cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 44px; width: max-content; padding: 19px 22px;
  border-radius: 10px; background: var(--mag); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.cta:hover { background: var(--wine); }
.hero-foot { position: absolute; left: var(--pad); bottom: 30px; display: flex; align-items: center; gap: 14px; margin: 0; font-size: 10px; color: var(--muted); }
.rule { width: 34px; height: 1px; background: currentColor; }
.hero-art { position: relative; display: grid; place-items: end center; overflow: hidden;
  background: radial-gradient(110% 85% at 55% 42%, #fff 0%, var(--tile) 52%, var(--tile2) 100%); }
.hero-art img { width: min(90%, 740px); }
.art-number { position: absolute; top: 22px; right: 24px; font-size: 11px; color: var(--muted); }
.art-caption { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; font-size: 10px; color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .88); }
.art-code { margin-left: auto; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1px solid rgba(28, 24, 28, .28); }
.chapter-bar { display: flex; justify-content: space-between; padding: 16px var(--pad); border-bottom: 1px solid var(--line); font-size: 10px; color: var(--muted); }

/* shop */
.shop { padding: clamp(64px, 8vw, 120px) var(--pad); }
.section-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
h2 { font-size: clamp(40px, 4.8vw, 74px); }
.filters { display: flex; gap: 8px; }
.filters button { padding: 11px 22px; border-radius: 999px; border: 1px solid transparent; background: var(--tile2); font-weight: 600; font-size: 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: #fff; border-color: var(--ink); }
.product { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.product-image { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--tile); }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.tag { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .88); font-size: 10px; color: var(--muted); }
.tag-r { left: auto; right: 14px; }
.buy { position: sticky; top: 104px; }
.buy h3 { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.08; letter-spacing: -.035em; }
.price { font-size: 22px; font-weight: 600; margin: 14px 0 6px; }
.buy-note { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.opt { margin: 0 0 22px; }
.opt-label { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 700; }
.opt-label em { margin-left: 8px; font-style: normal; color: var(--muted); }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sizes button { display: grid; place-content: center; height: 56px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; font-size: 15px; line-height: 1.15; cursor: pointer; }
.sizes button[aria-pressed="true"] { border: 2px solid var(--ink); }
.sizes button:disabled { color: #ADA5A9; background: var(--tile); cursor: not-allowed; }
.sizes .l { text-decoration: line-through; }
.sizes small { font: 400 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; }
.qty button { width: 46px; height: 46px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.add { width: 100%; height: 56px; border: 0; border-radius: 10px; background: var(--mag); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; }
.add:hover { background: var(--wine); }
.add:disabled { background: #CFC7CB; cursor: not-allowed; }

/* details (dark) */
.essentials { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); color: #fff; }
.essentials-art { position: relative; margin: 0; min-height: 560px; overflow: hidden; background: var(--night2); }
.essentials-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag-light { top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(21, 17, 19, .72); color: rgba(255, 255, 255, .86); }
.zoom { position: absolute; left: 20px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 0; border-radius: 999px;
  background: rgba(21, 17, 19, .72); color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.essentials-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 7vw, 110px) var(--pad); }
.essentials-copy .eyebrow { color: rgba(255, 255, 255, .72); }
.essentials-copy h2 span { color: var(--mag-on-dark); }
.essentials-copy > p { max-width: 42ch; margin: 24px 0 32px; color: rgba(255, 255, 255, .74); }
.notes details { border-top: 1px solid rgba(255, 255, 255, .15); }
.notes details:last-child { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.notes summary { display: flex; align-items: center; gap: 22px; padding: 18px 0; list-style: none; cursor: pointer; font-weight: 500; }
.notes summary::-webkit-details-marker { display: none; }
.notes summary b { font: 400 10px var(--mono); color: rgba(255, 255, 255, .5); }
.notes summary::after { content: '+'; margin-left: auto; font-size: 20px; line-height: 1; color: rgba(255, 255, 255, .6); }
.notes details[open] summary::after { content: '\2212'; }
.notes details p { margin: 0 0 18px 42px; color: rgba(255, 255, 255, .72); font-size: 15px; }

/* footer */
.footer { padding: 56px var(--pad) 32px; background: var(--bar); }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: center; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-top img { width: 150px; }
.footer-line { margin: 0; font: 800 clamp(30px, 3.4vw, 50px)/1 var(--display); letter-spacing: -.045em; }
.top { font-size: 13px; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding-top: 22px; font-size: 12.5px; color: var(--muted); }
.policy-links { display: flex; gap: 18px; }
.policy-links a, .footer-bottom a { color: var(--ink); }

/* bag drawer + zoom */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(21, 17, 19, .45); }
.bag { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; display: flex; flex-direction: column; width: min(420px, 100%); padding: 22px; background: #fff; box-shadow: -20px 0 40px rgba(0, 0, 0, .12); }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-size: 26px; letter-spacing: -.035em; }
.bag-head button, .zoom-dialog button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tile); font-size: 22px; line-height: 1; cursor: pointer; }
.bag-lines { flex: 1; overflow: auto; margin: 0; padding: 0; list-style: none; }
.bag-lines li { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bag-lines img { border-radius: 6px; background: var(--tile); }
.bag-lines b { display: block; font-size: 14px; line-height: 1.3; }
.bag-lines span { display: block; font-size: 13px; color: var(--muted); }
.bag-lines li > button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; font-size: 18px; cursor: pointer; color: var(--muted); }
.bag-empty { flex: 1; color: var(--muted); }
.bag-foot .sub { display: flex; justify-content: space-between; padding: 16px 0 4px; font-size: 16px; }
.bag-foot .add { margin-top: 14px; }
.bag-msg { min-height: 1.2em; margin: 10px 0 0; font-size: 13px; color: var(--wine); }
.zoom-dialog { width: min(92vw, 880px); padding: 0; border: 0; border-radius: 8px; background: var(--tile); }
.zoom-dialog::backdrop { background: rgba(21, 17, 19, .72); }
.zoom-dialog button { position: absolute; top: 12px; right: 12px; }

/* ordering switched off (catalog.json "orders": false) */
.no-orders .bag-btn, .no-orders .qty-opt, .no-orders .ship-note { display: none; }

/* policy + thank-you pages */
.page { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad); }
.page h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 14px; }
.page h2 { font-size: 22px; letter-spacing: -.025em; line-height: 1.2; margin: 34px 0 8px; }
.page p, .page li { color: #3C363A; }
.page .cta { margin-top: 18px; }

@media (max-width: 900px) {
  .header { grid-template-columns: auto 1fr auto; gap: 16px; }
  .nav { justify-content: flex-end; gap: 20px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 52px var(--pad) 84px; }
  .hero-art { aspect-ratio: 1; }
  .product { grid-template-columns: 1fr; }
  .buy { position: static; }
  .essentials { grid-template-columns: 1fr; }
  .essentials-copy { order: -1; }
  .essentials-art { min-height: 0; aspect-ratio: 1; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-line { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .logo img { width: 92px; }
  .nav-2, .announce-r, .tag-r { display: none; }
  .announce { justify-content: center; }
  .cta { width: 100%; }
  .section-top { align-items: flex-start; }
  .filters { width: 100%; }
  .filters button { flex: 1; }
}
