﻿/* ==========================================================================
   AERA — storefront stylesheet
   A single hand-written stylesheet, no framework, no build step.
   Sections: tokens · base · type · buttons · header · hero · sections
             products · editorial · story · reviews · newsletter · footer
             drawer · shop · product · cart · checkout · about · utilities
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --paper: #f6f2ea;
  --paper-2: #efe8da;
  --paper-3: #e7ddcb;
  --ink: #17150f;
  --ink-soft: #2b271f;
  --muted: #6f6759;
  --muted-2: #8d8575;
  --line: #dcd2c0;
  --line-soft: #e8dfcf;
  --clay: #a9552e;
  --clay-soft: #c07a4c;
  --sage: #5f6b57;
  --white: #fffdf8;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Songti SC", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --wrap: 1240px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 24px 60px -30px rgba(35, 28, 18, .45);
  --radius: 2px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.display { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -.015em; }
.display em { font-style: italic; }

.eyebrow {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.lead { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 46ch; }
.small { font-size: 12.5px; color: var(--muted); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.section--tight { padding: 64px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 44px;
}
.section-head h2 { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -.01em; }
.section-head p { margin-top: 10px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px; white-space: nowrap;
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 15px 28px; border-radius: 999px;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #2c2823; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- announcement ---------- */
.announce {
  background: var(--ink); color: #efe7d8;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 20px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px 14px; text-align: center;
}
.announce span { opacity: .45; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 242, 234, .86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px; gap: 20px;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  position: relative; font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-soft); padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.brand {
  font-family: var(--font-display); font-size: 21px; letter-spacing: .38em;
  text-indent: .38em; text-align: center; line-height: 1;
}
.brand span { display: block; font-family: var(--font-sans); font-size: 8px; letter-spacing: .34em; color: var(--muted-2); margin-top: 5px; }

.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 0; white-space: nowrap;
}
.icon-btn svg { width: 17px; height: 17px; }
.bag-count {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px;
  border-radius: 999px; background: var(--ink); color: var(--paper);
  font-size: 9.5px; letter-spacing: 0; padding: 0 5px;
  transition: transform .3s var(--ease);
}
.bag-count.is-bumped { transform: scale(1.28); }

.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center;
}
.hero-copy { padding: 24px 0 48px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: .98; letter-spacing: -.025em;
  margin: 18px 0 24px;
}
.hero h1 em { font-style: italic; color: var(--clay); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-foot {
  display: flex; gap: 34px; margin-top: 56px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-foot div { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-foot strong { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--ink); margin-top: 4px; }

.hero-art { position: relative; }
.hero-art .frame {
  position: relative; overflow: hidden; border-radius: 260px 260px 2px 2px;
  background: var(--paper-2); box-shadow: var(--shadow-soft);
}
.hero-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-art .badge {
  position: absolute; right: -26px; bottom: 46px;
  background: var(--paper); border: 1px solid var(--line);
  padding: 16px 20px; max-width: 210px;
  box-shadow: 0 18px 40px -28px rgba(35,28,18,.6);
}
.hero-art .badge .eyebrow { font-size: 9.5px; }
.hero-art .badge p { font-family: var(--font-display); font-size: 17px; line-height: 1.3; margin-top: 6px; }

/* ---------- values strip ---------- */
.values {
  margin-top: 76px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.values li {
  padding: 24px 26px; border-right: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.values li:last-child { border-right: 0; }
.values svg { width: 18px; height: 18px; flex: none; color: var(--clay); }

/* ---------- product grid ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px;
}
.product-grid--four { grid-template-columns: repeat(4, 1fr); }

.card { position: relative; }
.card-media {
  position: relative; overflow: hidden; background: var(--paper-2);
  aspect-ratio: 4 / 5; border-radius: var(--radius);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), opacity .5s;
}
.card:hover .card-media img { transform: scale(1.035); }
.card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(246, 242, 234, .92); color: var(--ink);
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px;
}
.quick-add {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  background: rgba(23, 21, 15, .92); color: var(--paper);
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 13px 10px; text-align: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s;
}
.quick-add:hover { background: var(--ink); }
.card:hover .quick-add, .card:focus-within .quick-add { opacity: 1; transform: none; }
@media (hover: none) { .quick-add { opacity: 1; transform: none; } }

.card-info { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; }
.card-name { font-family: var(--font-display); font-size: 19px; line-height: 1.2; }
.card-sub { font-size: 11.5px; color: var(--muted-2); margin-top: 4px; letter-spacing: .04em; }
.card-price { font-size: 13.5px; white-space: nowrap; padding-top: 4px; }
.card-price s { color: var(--muted-2); margin-right: 6px; }

/* ---------- editorial band ---------- */
.band {
  background: var(--ink); color: #efe7d8; padding: 116px 0;
  position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 50% -10%, rgba(255, 236, 205, .14), transparent 60%);
}
.band .eyebrow { color: rgba(239, 231, 216, .55); }
.band blockquote {
  font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.25; letter-spacing: -.01em; max-width: 940px; margin: 22px auto 0;
  text-align: center; text-wrap: balance;
}
.band blockquote em { font-style: italic; color: var(--clay-soft); }
.band .attribution { text-align: center; margin-top: 26px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(239,231,216,.55); }

/* ---------- story split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-media { position: relative; overflow: hidden; background: var(--paper-2); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media--tall img { aspect-ratio: 3 / 4; }
.split h2 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.015em; margin: 16px 0 20px; }
.split p { color: var(--muted); max-width: 48ch; }

.numbered { margin-top: 34px; border-top: 1px solid var(--line); }
.numbered li {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.numbered .n { font-size: 10.5px; letter-spacing: .14em; color: var(--clay); padding-top: 3px; }
.numbered h3 { font-size: 13.5px; font-weight: 500; letter-spacing: .02em; }
.numbered p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.6; }

/* ---------- scent notes ---------- */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.notes .note {
  border: 1px solid var(--line); padding: 30px 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0));
}
.notes .note .idx { font-family: var(--font-display); font-size: 13px; color: var(--clay); letter-spacing: .1em; }
.notes .note h3 { font-family: var(--font-display); font-size: 24px; margin: 14px 0 8px; }
.notes .note p { font-size: 13px; color: var(--muted); }
.notes .note .list { margin-top: 16px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { border: 1px solid var(--line); padding: 28px 26px; background: rgba(255,255,255,.35); }
.stars { display: flex; gap: 3px; color: var(--clay); margin-bottom: 16px; }
.stars svg { width: 13px; height: 13px; }
.review p { font-family: var(--font-display); font-size: 17px; line-height: 1.5; }
.review footer { margin-top: 20px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- newsletter ---------- */
.newsletter { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.newsletter .inner { max-width: 620px; margin: 0 auto; text-align: center; padding: 84px 0; }
.newsletter h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); margin: 12px 0 10px; }
.newsletter p { color: var(--muted); font-size: 13.5px; }
.newsletter form { display: flex; gap: 12px; margin-top: 30px; }
.newsletter input {
  flex: 1; background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  padding: 12px 2px; font-size: 14px; border-radius: 0;
}
.newsletter input::placeholder { color: var(--muted-2); }
.form-note { font-size: 11px; color: var(--muted-2); margin-top: 14px; }
.form-ok { color: var(--sage); font-size: 12px; margin-top: 14px; }

/* ---------- footer ---------- */
.site-footer { padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { font-size: 12.5px; color: var(--muted); max-width: 30ch; margin-top: 16px; }
.footer-col h4 { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; font-size: 13px; color: var(--ink-soft); padding: 5px 0; }
.footer-col a:hover { color: var(--clay); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2);
}
.pay-icons { display: flex; gap: 8px; align-items: center; }
.pay-icons span {
  border: 1px solid var(--line); padding: 4px 8px; font-size: 8.5px; letter-spacing: .06em;
  color: var(--muted); background: rgba(255,255,255,.4);
}

/* ---------- cart drawer ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(20, 18, 14, .45); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(430px, 100%); background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(101%); transition: transform .45s var(--ease);
  box-shadow: -30px 0 60px -40px rgba(0,0,0,.5);
}
.drawer.is-open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-family: var(--font-display); font-size: 20px; letter-spacing: .02em; }
.drawer-close { width: 34px; height: 34px; display: grid; place-items: center; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 26px; background: var(--paper); }

.ship-bar { padding: 16px 0 6px; }
.ship-bar p { font-size: 11px; letter-spacing: .06em; color: var(--muted); margin-bottom: 9px; }
.ship-track { height: 3px; background: var(--line); overflow: hidden; }
.ship-fill { height: 100%; background: var(--clay); width: 0; transition: width .5s var(--ease); }

.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.line-item img { width: 76px; height: 95px; object-fit: cover; background: var(--paper-2); }
.line-item h3 { font-family: var(--font-display); font-size: 16px; font-weight: 400; line-height: 1.25; }
.line-item .meta { font-size: 11px; color: var(--muted-2); margin-top: 4px; }
.line-item .price { font-size: 12.5px; margin-top: 10px; }
.line-item .right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.remove { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid transparent; }
.remove:hover { color: var(--clay); border-color: currentColor; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 34px; }
.qty button { width: 32px; height: 100%; display: grid; place-items: center; font-size: 14px; color: var(--muted); }
.qty button:hover { color: var(--ink); background: var(--paper-2); }
.qty input {
  width: 34px; height: 100%; text-align: center; border: 0; background: transparent;
  font-size: 12.5px; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.totals { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.totals--grand { font-size: 16px; margin: 12px 0 18px; }
.totals--grand strong { font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.drawer-foot .fine { font-size: 10.5px; color: var(--muted-2); text-align: center; margin-top: 12px; }
.empty-cart { padding: 64px 0; text-align: center; }
.empty-cart p { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.empty-cart .small { margin-bottom: 22px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper);
  padding: 14px 22px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- page head ---------- */
.page-head { padding: 56px 0 34px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.02em; margin-top: 14px; }
.page-head .lead { margin-top: 16px; max-width: 58ch; }

/* ---------- shop ---------- */
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.toolbar-right { display: flex; align-items: center; gap: 18px; }
.count-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.select {
  border: 1px solid var(--line); background: transparent; padding: 9px 12px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-radius: 0;
}
.shop-grid { padding: 44px 0 104px; }
.empty-state { text-align: center; padding: 80px 0; }
.empty-state h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 8px; }

/* ---------- product detail ---------- */
.pdp { padding: 28px 0 84px; }
.breadcrumb { display: flex; gap: 10px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); padding: 14px 0 26px; }
.breadcrumb a:hover { color: var(--ink); }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.gallery-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-main.is-zoomed img { transform: scale(1.55); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb { border: 1px solid transparent; padding: 0; background: var(--paper-2); overflow: hidden; }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .78; transition: opacity .25s; }
.thumb:hover img { opacity: 1; }
.thumb.is-active { border-color: var(--ink); }
.thumb.is-active img { opacity: 1; }

.pdp-info h1 { font-family: var(--font-display); font-size: clamp(32px, 3.8vw, 52px); line-height: 1.04; letter-spacing: -.02em; margin: 12px 0 12px; }
.pdp-price { font-size: 18px; display: flex; align-items: baseline; gap: 10px; }
.pdp-price s { color: var(--muted-2); font-size: 14px; }
.pdp-rating { display: flex; align-items: center; gap: 8px; margin: 14px 0 22px; font-size: 11.5px; color: var(--muted); }
.pdp-blurb { color: var(--muted); font-size: 14.5px; max-width: 44ch; }
.rule { border-top: 1px solid var(--line); margin: 26px 0; }
.option-label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.options { display: flex; gap: 8px; flex-wrap: wrap; }
.option {
  border: 1px solid var(--line); padding: 10px 18px; font-size: 12px;
  transition: all .2s var(--ease); background: transparent;
}
.option:hover { border-color: var(--ink); }
.option.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.buy-row { display: flex; gap: 12px; margin-top: 26px; }
.buy-row .qty { height: 52px; }
.buy-row .qty button { width: 40px; }
.buy-row .qty input { width: 40px; font-size: 14px; }
.buy-row .btn { flex: 1; }
.pdp-meta { display: flex; gap: 22px; margin-top: 18px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }

.accordion { margin-top: 34px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 16px; color: var(--muted); transition: transform .25s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .body { padding: 0 0 22px; font-size: 13.5px; color: var(--muted); }
.spec-list { display: grid; gap: 8px; }
.spec-list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 12.5px; }
.spec-list dt { color: var(--muted-2); }
.spec-list dd { margin: 0; }

.related { padding: 72px 0 104px; border-top: 1px solid var(--line); }

/* ---------- cart page ---------- */
.cart-page { padding: 48px 0 104px; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 22px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.cart-line img { width: 110px; height: 138px; object-fit: cover; background: var(--paper-2); }
.cart-line h3 { font-family: var(--font-display); font-size: 21px; font-weight: 400; }
.cart-line .meta { font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }
.cart-line .line-actions { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.cart-line .price-col { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.summary {
  border: 1px solid var(--line); background: var(--paper-2); padding: 28px 26px; position: sticky; top: 96px;
}
.summary h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 20px; }
.summary .row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; color: var(--ink-soft); }
.summary .row span:last-child { font-variant-numeric: tabular-nums; }
.summary .row--total { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 16px; font-size: 15px; }
.summary .row--total strong { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.summary .note { font-size: 11px; color: var(--muted-2); line-height: 1.6; margin-top: 16px; }
.summary .btn { margin-top: 22px; }

/* ---------- checkout ---------- */
.checkout { padding: 40px 0 104px; }
.steps { display: flex; gap: 26px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); padding-bottom: 28px; }
.steps .is-current { color: var(--ink); }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }
.form-section { margin-bottom: 36px; }
.form-section h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.form-section h2 a { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line); color: var(--muted); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; border: 1px solid var(--line); background: rgba(255,255,255,.55);
  padding: 13px 14px; font-size: 14px; border-radius: 0;
  transition: border-color .2s;

}
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-box { border: 1px solid var(--line); padding: 20px; background: rgba(255,255,255,.4); }
.pay-box .mock { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.pay-box .mock span { border: 1px solid var(--line); padding: 6px 10px; font-size: 10px; letter-spacing: .1em; }
.demo-banner {
  border: 1px dashed var(--clay); color: #7c3f20; background: rgba(169,85,46,.06);
  padding: 12px 16px; font-size: 12px; margin-bottom: 28px;
}
.summary .item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.summary .item img { width: 54px; height: 66px; object-fit: cover; background: var(--paper); }
.summary .item .t { font-size: 12.5px; }
.summary .item .q { font-size: 11px; color: var(--muted-2); }
.summary .item .p { margin-left: auto; font-size: 12.5px; }

.confirm { max-width: 560px; margin: 0 auto; text-align: center; padding: 80px 0 120px; }
.confirm .tick { width: 56px; height: 56px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 26px; }
.confirm h1 { font-family: var(--font-display); font-size: 38px; margin-bottom: 12px; }
.confirm p { color: var(--muted); }

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; padding: 64px 0 72px; }
.about-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 76px); line-height: .98; letter-spacing: -.025em; margin-top: 18px; }
.about-hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.timeline { border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline .year { font-family: var(--font-display); font-size: 22px; }
.timeline h3 { font-size: 14px; font-weight: 500; }
.timeline p { color: var(--muted); font-size: 13.5px; margin-top: 5px; max-width: 60ch; }
.quote-block { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); line-height: 1.35; max-width: 900px; text-align: center; margin: 0 auto; }
.quote-block em { color: var(--clay); }

/* ---------- collections (themes) ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 28px; }
.theme-card { display: block; }
.theme-media { overflow: hidden; background: var(--paper-2); aspect-ratio: 5 / 4; }
.theme-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.theme-card:hover .theme-media img { transform: scale(1.03); }
.theme-cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 16px; }
.theme-cap h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.15; }
.theme-cap p { font-size: 13px; color: var(--muted); margin-top: 6px; max-width: 34ch; }
.theme-count { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; padding-top: 6px; }

.collection-hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; padding: 40px 0 64px; }
.collection-hero h1 { font-family: var(--font-display); font-size: clamp(38px, 5vw, 66px); line-height: 1; letter-spacing: -.02em; margin: 14px 0 20px; }
.collection-hero .lead { max-width: 44ch; }
.collection-hero img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--paper-2); }
.collection-meta { display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.collection-meta dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.collection-meta dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 20px; }
.collection-meta strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 400; }

.story-points { margin-top: 28px; border-top: 1px solid var(--line); }
.story-points li { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.story-points b { font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); padding-top: 2px; }
.story-points span { color: var(--muted); }

.next-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.next-card { border-top: 1px solid var(--ink); padding-top: 16px; }
.next-card .eyebrow { font-size: 9.5px; }
.next-card h3 { font-family: var(--font-display); font-size: 22px; margin: 8px 0 4px; }
.next-card p { font-size: 12.5px; color: var(--muted); }
.next-card span { display: inline-block; margin-top: 12px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 3px; }

.spec-list--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.spec-list--grid div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; font-size: 12.5px; }

/* ---------- reveal ---------- */
/* Intentionally no opacity/transform hiding: content must stay visible even if
   animations are disabled or a script fails. Motion is limited to hover states. */

/* ---------- language-specific typography ---------- */
html[lang="ja"] body { line-break: strict; }
html[lang="ja"] .hero-art .badge { max-width: 252px; }
html[lang="ja"] .hero-art .badge p { font-size: 16px; }
html[lang="zh"] .hero-art .badge { max-width: 236px; }
html[lang="zh"] .hero h1 { font-size: clamp(38px, 4.4vw, 62px); letter-spacing: .01em; }
html[lang="ru"] .hero h1 { font-size: clamp(38px, 4.3vw, 62px); letter-spacing: -.01em; }
html[lang="zh"] .display, html[lang="zh"] .pdp-info h1, html[lang="zh"] .collection-hero h1 { letter-spacing: 0; }

/* ---------- language switcher ---------- */
.lang { position: relative; }
.lang > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 0;
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary svg { width: 16px; height: 16px; }
.lang > summary:hover { color: var(--clay); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 80;
  min-width: 200px; padding: 6px 0;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -32px rgba(35, 28, 18, .55);
}
.lang-menu li a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 9px 16px; font-size: 12.5px; letter-spacing: .01em;
}
.lang-menu li a span { font-size: 9px; letter-spacing: .14em; color: var(--muted-2); }
.lang-menu li a:hover { background: var(--paper-2); }
.lang-menu li a[aria-current] { color: var(--clay); }
.mobile-nav .lang-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-nav .lang-list a {
  font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; border: 1px solid var(--line); padding: 9px 12px;
}
.mobile-nav .lang-list a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 95; background: var(--paper);
  display: flex; flex-direction: column; padding: 80px 28px 40px;
  transform: translateY(-102%); transition: transform .45s var(--ease);
}
.mobile-nav.is-open { transform: none; }
.mobile-nav a { font-family: var(--font-display); font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .close { position: absolute; top: 18px; right: 22px; font-size: 22px; }
