/* =========================================================
   Fragrances of Samurai — site styles
   Every color, font, spacing and radius comes from tokens.css
   (the design system). This file only lays them out.
   Breakpoints: mobile ≤ 640px · tablet 641–1024px · desktop ≥ 1025px
   ========================================================= */

/* ---------- 1. Responsive type scale -----------------------
   Desktop sizes are the design system's. Tablet and mobile keep
   the same ratios (×0.85 and ×0.7 for display type). */
:root {
  --fs-numeral: 82px; --fs-h1: 52px; --fs-h2: 41px; --fs-h3: 28px;
  --fs-promise: 22px; --fs-script: 37px; --fs-body: 16px; --fs-body-sm: 15px;
  --fs-hero: 82px;
  --page-x: var(--space-xl);
  --section-y: 120px;
  --header-h: 96px;
  --bar-h: 34px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (max-width: 1024px) {
  :root { --fs-numeral: 70px; --fs-h1: 44px; --fs-h2: 35px; --fs-h3: 24px; --fs-promise: 20px; --fs-script: 32px; --fs-hero: 64px;
          --page-x: var(--space-lg); --section-y: 96px; --header-h: 80px; }
}
@media (max-width: 640px) {
  :root { --fs-numeral: 58px; --fs-h1: 36px; --fs-h2: 29px; --fs-h3: 22px; --fs-promise: 18px; --fs-script: 28px; --fs-body: 15px; --fs-body-sm: 14px; --fs-hero: 44px;
          --page-x: var(--space-sm); --section-y: 72px; --header-h: 64px; }
}
.numeral { font-size: var(--fs-numeral); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.promise { font-size: var(--fs-promise); }
.script { font-size: var(--fs-script); }
.body { font-size: var(--fs-body); }
.body-sm { font-size: var(--fs-body-sm); }

/* ---------- 2. Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-sm); top: -60px; z-index: 100; background: var(--action); color: var(--on-action); padding: 10px 18px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: top .3s var(--ease); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--page-x); padding-right: var(--page-x); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.eyebrow, .label, .caption { text-transform: uppercase; }
.eyebrow, .label { color: var(--eyebrow); }
.heading { color: var(--ink-heading); }
.muted { color: var(--ink-muted); }
.measure { max-width: var(--measure-max); }
.rule { display: block; width: var(--rule-width); height: var(--stroke-rule); background: var(--rule-accent); border: 0; margin: var(--space-md) 0 0; }

/* Green sections: switch every semantic token at once */
.theme-green { background: var(--surface); color: var(--ink); }

/* ---------- 3. Buttons, tags, links -------------------------- */
.btn { --btn-bg: var(--action); --btn-ink: var(--on-action); display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 30px; border-radius: var(--radius-pill); border: var(--stroke-hairline) solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-ink); font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: .2em; line-height: 1; text-transform: uppercase; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.btn .arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn::after { content: ""; position: absolute; inset: 0; background: var(--btn-ink); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.btn:hover::after { opacity: .08; }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn--secondary { --btn-bg: transparent; --btn-ink: var(--ink-heading); border-color: var(--ink-heading); }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: 12px; }

.tag { display: inline-flex; align-items: center; padding: 8px 15px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; letter-spacing: .2em; line-height: 1; text-transform: uppercase; }
.tag--solid { background: var(--action); color: var(--on-action); }
.tag--line { border: var(--stroke-hairline) solid var(--eyebrow); color: var(--eyebrow); }

.link-line { position: relative; text-decoration: none; padding-bottom: 4px; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule-accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.link-line:hover::after, .link-line:focus-visible::after, .link-line[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.link-arrow span { transition: transform .45s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- 4. Header ------------------------------------- */
.announce { background: var(--surface-inverse); color: var(--ink-inverse); height: var(--bar-h); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.announce .container { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.announce p { grid-column: 2; line-height: 1; }
.announce nav { justify-self: end; display: flex; gap: 14px; align-items: center; }
.announce nav i { width: 1px; height: 12px; background: currentColor; opacity: .5; }
.announce a { text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: var(--stroke-hairline) solid var(--hairline); transition: box-shadow .3s; }
.site-header .container { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: height .4s var(--ease); }
.site-header.is-scrolled .container { height: calc(var(--header-h) - 24px); }
.nav-links { display: flex; gap: 30px; }
.nav-links a, .nav-tools a, .nav-tools button { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.brand img { height: 52px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand img { height: 42px; }
.nav-tools { justify-self: end; display: flex; gap: 22px; align-items: center; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px; margin: -6px; cursor: pointer; color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.icon-btn:hover svg { transform: translateY(-1px); }
.bag-count { font-size: 11px; color: var(--ink-muted); min-width: 2.2em; }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); color: var(--eyebrow); } }
.menu-toggle { display: none; }

/* Search panel */
.search-panel { border-top: var(--stroke-hairline) solid var(--hairline); background: var(--surface); display: none; }
.search-panel.is-open { display: block; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.search-panel form { display: flex; gap: var(--space-sm); align-items: center; padding: var(--space-sm) 0; }
.search-panel input { flex: 1; border: 0; border-bottom: var(--stroke-hairline) solid var(--ink-heading); background: transparent; padding: 10px 0; font-family: var(--font-display); font-size: var(--fs-h3); color: var(--ink-heading); border-radius: 0; }
.search-panel input:focus { outline: none; border-bottom-color: var(--focus); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--surface); color: var(--ink); display: flex; flex-direction: column; padding: var(--space-sm) var(--page-x) var(--space-lg); visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s linear .4s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.mobile-menu__top img { height: 40px; width: auto; }
.mobile-menu nav { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: 10px; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 40px; line-height: 1.2; color: var(--ink-heading); text-decoration: none; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .05s; } .mobile-menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .15s; } .mobile-menu.is-open nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.mobile-menu__foot a { text-decoration: none; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-left { display: flex; gap: 18px; align-items: center; }
  .brand img { height: 44px; }
  .site-header.is-scrolled .brand img { height: 38px; }
}
@media (max-width: 640px) {
  .announce .container { grid-template-columns: 1fr; text-align: center; }
  .announce p { grid-column: 1; }
  .announce nav { display: none; }
  .brand img { height: 36px; }
  .site-header.is-scrolled .brand img { height: 32px; }
  .nav-tools { gap: 16px; }
  .nav-tools .hide-sm, .bag-label { display: none; }
}

/* ---------- 5. Hero (home) -------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-lg); align-items: center; min-height: calc(100svh - var(--header-h) - var(--bar-h)); padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-hero); line-height: 1.02; color: var(--ink-heading); letter-spacing: -.005em; }
.hero__title .script { display: block; color: var(--eyebrow); margin-top: 6px; line-height: 1; }
.hero__lead { max-width: 44ch; color: var(--ink-muted); }
.hero__meta { display: flex; gap: var(--space-lg); margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: var(--stroke-hairline) solid var(--hairline); }
.hero__meta dt { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-subtle); }
.hero__meta dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 22px; color: var(--ink-heading); line-height: 1.2; }
.hero__media { position: relative; justify-self: end; width: 100%; max-width: 560px; }
.hero__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-none); background: var(--surface-sunk); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.is-loaded .hero__frame img { transform: scale(1); }
.hero__seal { position: absolute; left: -44px; bottom: 44px; width: 112px; height: 112px; border-radius: 50%; background: var(--surface-inverse); display: grid; place-items: center; }
.hero__seal::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: var(--stroke-hairline) solid var(--gold); }
.hero__seal img { width: 62px; }
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; min-height: 0; gap: var(--space-lg); }
  .hero__media { justify-self: stretch; max-width: none; }
  .hero__frame { aspect-ratio: 4 / 3; }
  .hero__seal { left: auto; right: 24px; bottom: -40px; }
}
@media (max-width: 640px) {
  .hero .container { padding-top: var(--space-md); gap: var(--space-md); }
  .hero__frame { aspect-ratio: 4 / 5; }
  .hero__meta { gap: var(--space-md); flex-wrap: wrap; }
  .hero__seal { width: 88px; height: 88px; bottom: -32px; right: 16px; }
  .hero__seal img { width: 48px; }
  .hero__text > div:has(.btn) { width: 100%; } .hero__text .btn { width: 100%; }
}

/* ---------- 6. Category band (green) ---------------------- */
.categories { padding: var(--space-lg) 0; }
.categories ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.cat { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; text-decoration: none; }
.cat__img { aspect-ratio: 1; overflow: hidden; background: var(--surface-sunk); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.08); }
.cat h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); color: var(--ink-heading); line-height: 1.1; }
.cat p { font-size: 13px; color: var(--ink-muted); line-height: 1.5; margin: 4px 0 10px; }
@media (max-width: 1024px) { .categories ul { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-lg); } }
@media (max-width: 640px) {
  .categories ul { grid-template-columns: 1fr; row-gap: var(--space-sm); }
  .cat { grid-template-columns: 80px 1fr; }
}

/* ---------- 7. Section heads ------------------------------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-md); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.section-head__top { display: flex; align-items: baseline; gap: 22px; }
.section-head .numeral { color: var(--numeral); }
.section-head h2 { color: var(--ink-heading); margin-top: 6px; }

/* ---------- 8. Product cards & grid ------------------------ */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg) var(--space-md); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid, .grid--3 { gap: var(--space-md) 14px; } }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-sunk); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.card__media img + img { opacity: 0; }
.card:hover .card__media img:first-child { transform: scale(1.05); }
.card:hover .card__media img + img { opacity: 1; transform: scale(1.02); }
.card__frame { position: relative; }
.card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.card__icon { position: absolute; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; background: var(--cream); display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--ease), background .3s var(--ease); }
.card__icon svg { grid-area: 1 / 1; width: 18px; height: 18px; fill: none; stroke: var(--warm-black); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: opacity .25s, transform .3s var(--ease), fill .25s, stroke .25s; }
.card__icon:active { transform: scale(.92); }
.card__wish { top: 12px; }
.card__wish[aria-pressed="true"] svg { fill: var(--burgundy); stroke: var(--burgundy); }
.card__add { bottom: 12px; }
.card__add:hover { background: var(--burgundy); }
.card__add:hover .i-bag { stroke: var(--cream); }
.card__add .i-done { opacity: 0; transform: scale(.6); stroke: var(--cream); }
.card__add.is-done { background: var(--burgundy); }
.card__add.is-done .i-bag { opacity: 0; } .card__add.is-done .i-done { opacity: 1; transform: none; }
.card__body { padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.card__family { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-subtle); }
.card__name { font-family: var(--font-display); font-size: 22px; line-height: 1.25; color: var(--ink-heading); text-decoration: none; }
.card__name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__price { font-size: 14px; font-weight: 500; color: var(--ink); }
.card__price s { color: var(--ink-subtle); font-weight: 400; margin-left: 6px; }
@media (hover: none) { .card__media img + img { display: none; } }
@media (max-width: 640px) { .card__badge { top: 10px; left: 10px; padding: 6px 10px; font-size: 10px; letter-spacing: .14em; } .card__name { font-size: 18px; } .card__icon { width: 36px; height: 36px; right: 10px; } .card__wish { top: 10px; } .card__add { bottom: 10px; } }

/* ---------- 9. Spotlight statement ------------------------- */
.spotlight-section { padding: calc(var(--section-y) * 1.2) 0; text-align: center; }
.spotlight-section .eyebrow { display: block; margin-bottom: var(--space-md); }
.spot { --x: 50%; --y: 50%; --r: 0px; margin: 0 auto; max-width: 15ch; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 7.2vw, 104px); line-height: 1.06; letter-spacing: .05em; text-transform: uppercase;
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: radial-gradient(circle var(--r) at var(--x) var(--y), var(--cream) 0%, var(--cream) 30%, var(--gold) 60%, transparent 100%),
                    linear-gradient(105deg, var(--glow-dim) 0%, var(--glow-dim) 42%, var(--gold) 47%, var(--cream) 50%, var(--gold) 53%, var(--glow-dim) 58%, var(--glow-dim) 100%);
  background-size: 100% 100%, 320% 100%; background-repeat: no-repeat; animation: wave 6s linear infinite; }
@keyframes wave { from { background-position: 0 0, 100% 0; } to { background-position: 0 0, 0% 0; } }
.spotlight-section .btn { margin-top: var(--space-lg); }

/* ---------- 10. Promise strip ------------------------------ */
.promises { border-top: var(--stroke-hairline) solid var(--hairline); border-bottom: var(--stroke-hairline) solid var(--hairline); background: var(--surface-sunk); }
.promises ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); padding: var(--space-lg) 0; }
.promises li { display: flex; gap: 16px; align-items: flex-start; }
.promises svg { flex: none; width: 28px; height: 28px; stroke: var(--ink-heading); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.promises h3 { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); line-height: 1.4; }
.promises p { font-size: 14px; line-height: 1.5; color: var(--ink-muted); margin-top: 4px; }
@media (max-width: 1024px) { .promises ul { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-md); } }
@media (max-width: 640px) { .promises ul { grid-template-columns: 1fr; } }

/* ---------- 11. Editorial split ---------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.split__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-sunk); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.split__text .promise { color: var(--ink-heading); font-style: italic; font-family: var(--font-display); }
.split--reverse .split__media { order: 2; }
@media (max-width: 1024px) { .split { gap: var(--space-lg); } }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } .split__media { aspect-ratio: 4 / 3; } }

.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.fact { border: var(--stroke-hairline) solid var(--hairline); border-radius: var(--radius-card); padding: var(--space-sm); }
.fact h3 { margin-bottom: var(--space-xs); }
@media (max-width: 1024px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards4 { grid-template-columns: 1fr; } }
.panel { border-radius: var(--radius-card); padding: var(--space-sm); color: var(--ink-on-accent); }
.panel .label { color: var(--gold); margin-bottom: var(--space-xs); display: block; }
.panel--green { background: var(--green); } .panel--burgundy { background: var(--burgundy); }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 640px) { .panels { grid-template-columns: 1fr; } }

/* ---------- 12. Newsletter + footer ------------------------ */
.newsletter { text-align: center; }
.newsletter p { margin: var(--space-xs) auto 0; max-width: 46ch; color: var(--ink-muted); }
.newsletter form { margin: var(--space-md) auto 0; max-width: 520px; display: flex; gap: 12px; }
.field-line { flex: 1; min-width: 0; height: 52px; border: var(--stroke-hairline) solid var(--ink-heading); border-radius: var(--radius-pill); background: transparent; padding: 0 22px; color: var(--ink); }
.field-line::placeholder { color: var(--ink-muted); }
.form-note { margin-top: 12px; font-size: 13px; min-height: 1.5em; color: var(--ink-muted); }
@media (max-width: 640px) { .newsletter form { flex-direction: column; } .newsletter .field-line { flex: none; } }

.site-footer { padding: var(--section-y) 0 var(--space-md); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-lg); }
.footer-brand img { width: 220px; }
.footer-brand p { margin-top: var(--space-sm); color: var(--ink-muted); max-width: 32ch; font-size: 15px; }
.site-footer h3 { font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: var(--space-sm); }
.site-footer li + li { margin-top: 10px; }
.site-footer li a { text-decoration: none; font-size: 15px; }
.footer-bottom { margin-top: var(--space-xl); padding-top: var(--space-sm); border-top: var(--stroke-hairline) solid var(--hairline); display: flex; justify-content: space-between; gap: var(--space-sm); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-subtle); flex-wrap: wrap; }
.footer-bottom img { width: 28px; }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr; gap: var(--space-md); } }

/* ---------- 13. Page hero (inner pages) -------------------- */
.page-hero { padding: var(--space-lg) 0 var(--space-md); }
.breadcrumbs { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-subtle); margin-bottom: var(--space-md); }
.breadcrumbs a { text-decoration: none; } .breadcrumbs a:hover { color: var(--ink); }
.page-hero h1 { color: var(--ink-heading); }
.page-hero p { margin-top: var(--space-xs); color: var(--ink-muted); max-width: 56ch; }

/* ---------- 14. Shop toolbar ------------------------------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); padding: var(--space-sm) 0; margin-bottom: var(--space-lg); border-top: var(--stroke-hairline) solid var(--hairline); border-bottom: var(--stroke-hairline) solid var(--hairline); flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 18px; border-radius: var(--radius-pill); border: var(--stroke-hairline) solid var(--hairline); background: transparent; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink-heading); }
.chip[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--on-action); }
.select { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-subtle); }
.select select, .field select { appearance: none; -webkit-appearance: none; border: var(--stroke-hairline) solid var(--hairline); border-radius: var(--radius-pill); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231d1a16' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; padding: 0 40px 0 18px; min-height: 40px; color: var(--ink); font-size: 13px; letter-spacing: .05em; text-transform: none; cursor: pointer; }
.results-count { font-size: 13px; color: var(--ink-muted); }
.toolbar__right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.empty { text-align: center; padding: var(--space-xl) 0; display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); }
.empty img { width: 96px; opacity: .9; }
@media (max-width: 640px) { .toolbar { display: block; } .toolbar .chips { margin-bottom: 16px; } .toolbar__right { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; } .toolbar__right .select { flex-direction: column; align-items: stretch; gap: 6px; } .toolbar__right select { width: 100%; min-width: 0; } .results-count { grid-column: 1 / -1; } .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--page-x) * -1); padding: 0 var(--page-x) 4px; scrollbar-width: none; } .chip { flex: none; } }

/* ---------- 15. Product page ------------------------------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-xl); align-items: start; padding-bottom: var(--section-y); }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumbs button { padding: 0; border: var(--stroke-hairline) solid transparent; background: var(--surface-sunk); aspect-ratio: 4 / 5; cursor: pointer; overflow: hidden; transition: border-color .25s; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--ink-heading); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-sunk); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; animation: fadein .6s var(--ease); }
@keyframes fadein { from { opacity: .2; } }
.pdp__info { display: flex; flex-direction: column; gap: var(--space-sm); }
.pdp__info h1 { color: var(--ink-heading); }
.pdp__price { font-size: 20px; font-weight: 500; }
.pdp__inspired { font-family: var(--font-display); font-style: italic; font-size: var(--fs-promise); color: var(--ink-heading); line-height: 1.45; }
.option-group legend { font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 12px; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes label { min-width: 96px; min-height: 52px; padding: 8px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: var(--stroke-hairline) solid var(--hairline); border-radius: var(--radius-card); cursor: pointer; transition: border-color .25s, background .25s; line-height: 1.3; }
.sizes label small { font-size: 12px; color: var(--ink-muted); }
.sizes input:checked + label { border-color: var(--ink-heading); background: var(--surface-sunk); box-shadow: inset 0 0 0 1px var(--ink-heading); }
.sizes input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.buy-row { display: flex; gap: 12px; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: var(--stroke-hairline) solid var(--hairline); border-radius: var(--radius-pill); height: 52px; }
.qty button { width: 44px; height: 100%; background: none; border: 0; cursor: pointer; font-size: 18px; color: var(--ink); border-radius: var(--radius-pill); }
.qty button:hover { color: var(--eyebrow); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output, .qty input { width: 36px; text-align: center; font-weight: 500; border: 0; background: none; }
.qty--sm { height: 40px; } .qty--sm button { width: 36px; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.notes .fact { padding: 18px; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.highlights .fact { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-size: 14px; line-height: 1.4; }
.highlights svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--eyebrow); stroke-width: 1.4; stroke-linejoin: round; }
.highlights--feel .fact { background: var(--surface-sunk); border-color: transparent; font-family: var(--font-display); font-size: 18px; color: var(--ink-heading); }
.notes .label { display: block; font-size: 12px; margin-bottom: 6px; }
.notes p { font-size: 14px; line-height: 1.5; }
.accordion { border-top: var(--stroke-hairline) solid var(--hairline); }
.accordion details { border-bottom: var(--stroke-hairline) solid var(--hairline); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; font-weight: 400; transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > div { padding: 0 0 18px; color: var(--ink-muted); font-size: 15px; }
@media (max-width: 1024px) { .pdp { grid-template-columns: 1fr; gap: var(--space-lg); } .gallery { position: static; } }
@media (max-width: 640px) { .buy-row .btn { letter-spacing: .1em; padding: 0 16px; font-size: 13px; } .gallery { grid-template-columns: 1fr; } .gallery__thumbs { flex-direction: row; order: 2; } .gallery__thumbs button { width: 64px; } .notes { grid-template-columns: 1fr; } }

/* Sticky mobile add-to-bag */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: var(--stroke-hairline) solid var(--hairline); padding: 12px var(--page-x); display: none; gap: 12px; align-items: center; transform: translateY(100%); transition: transform .4s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy strong { font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--ink-heading); display: block; line-height: 1.2; }
.sticky-buy span { font-size: 13px; }
.sticky-buy .btn { margin-left: auto; min-height: 46px; }
@media (max-width: 640px) { .sticky-buy { display: flex; } }

/* ---------- 16. Cart & checkout ---------------------------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-xl); align-items: start; padding-bottom: var(--section-y); }
.cart-items { border-top: var(--stroke-hairline) solid var(--hairline); }
.line { display: grid; grid-template-columns: 112px 1fr auto; gap: var(--space-sm); padding: var(--space-sm) 0; border-bottom: var(--stroke-hairline) solid var(--hairline); align-items: start; animation: fadein .4s var(--ease); }
.line.is-removing { opacity: 0; transform: translateX(12px); transition: opacity .3s, transform .3s; }
.line__img { aspect-ratio: 4 / 5; background: var(--surface-sunk); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__info { display: flex; flex-direction: column; gap: 4px; }
.line__info a { font-family: var(--font-display); font-size: 22px; color: var(--ink-heading); text-decoration: none; line-height: 1.25; }
.line__meta { font-size: 13px; color: var(--ink-muted); }
.line__actions { display: flex; gap: var(--space-sm); align-items: center; margin-top: 12px; }
.text-btn { background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--hairline); }
.text-btn:hover { color: var(--eyebrow); text-decoration-color: currentColor; }
.line__price { font-weight: 500; white-space: nowrap; }
.summary { border: var(--stroke-hairline) solid var(--hairline); border-radius: var(--radius-card); padding: var(--space-sm); position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 14px; }
.summary h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); color: var(--ink-heading); }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 15px; }
.summary dd { margin: 0; text-align: right; }
.summary .total { border-top: var(--stroke-hairline) solid var(--hairline); padding-top: 14px; font-weight: 600; font-size: 17px; }
.summary small { color: var(--ink-muted); font-size: 13px; line-height: 1.5; }
.summary .mini { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; line-height: 1.4; }
.summary .mini img { aspect-ratio: 4/5; object-fit: cover; background: var(--surface-sunk); }
@media (max-width: 1024px) { .cart-layout { grid-template-columns: 1fr; gap: var(--space-lg); } .summary { position: static; } }
@media (max-width: 640px) { .line { grid-template-columns: 84px 1fr; } .line__price { grid-column: 2; } }

.checkout-form { display: flex; flex-direction: column; gap: var(--space-lg); }
.checkout-form h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); color: var(--ink-heading); margin-bottom: var(--space-sm); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px var(--space-sm); }
.fields .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; border: var(--stroke-hairline) solid var(--hairline); border-radius: var(--radius-card); background: transparent; padding: 0 16px; color: var(--ink); font-size: 15px; transition: border-color .25s; }
.field select { border-radius: var(--radius-card); }
.field textarea { padding: 14px 16px; min-height: 96px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink-heading); box-shadow: 0 0 0 1px var(--ink-heading); }
.field [aria-invalid="true"] { border-color: var(--burgundy); box-shadow: 0 0 0 1px var(--burgundy); }
.field .error { font-size: 13px; color: var(--burgundy); min-height: 0; }
.radio-cards { display: grid; gap: 12px; }
.radio-card { display: flex; gap: 14px; align-items: flex-start; border: var(--stroke-hairline) solid var(--hairline); border-radius: var(--radius-card); padding: 18px; cursor: pointer; transition: border-color .25s; }
.radio-card:has(input:checked) { border-color: var(--ink-heading); box-shadow: inset 0 0 0 1px var(--ink-heading); }
.radio-card input { accent-color: var(--burgundy); width: 18px; height: 18px; margin-top: 3px; }
.radio-card strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.radio-card span { font-size: 14px; color: var(--ink-muted); line-height: 1.5; }
.radio-card.is-disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }

.confirm { text-align: center; padding: var(--section-y) 0; display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); }
.confirm img { width: 120px; }

/* ---------- 17. Toast -------------------------------------- */
.toast { position: fixed; z-index: 80; right: var(--space-sm); bottom: var(--space-sm); max-width: 360px; background: var(--surface-inverse); color: var(--ink-inverse); padding: 16px 20px; border-radius: var(--radius-card); display: flex; gap: 14px; align-items: center; transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .4s var(--ease); }
.toast.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.toast img { width: 48px; aspect-ratio: 4/5; object-fit: cover; }
.toast p { font-size: 14px; line-height: 1.45; }
.toast a { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (max-width: 640px) { .toast { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ---------- 18. Reveal on scroll ---------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 19. Reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .spot { background-image: none; color: var(--cream); }
}
