/* cheenashop.com, the one shared stylesheet. Tokens and layouts are documented in
   DESIGN.md; a page composes these classes and never defines its own. */

@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/assets/fonts/geist-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/assets/fonts/geist-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/assets/fonts/newsreader-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #FBFAF7;
  --bg-2: #F1EEE8;
  --ink: #161514;
  --ink-2: #625D57;
  --line: #E1DCD3;
  --red: #BE2D36;
  --accent: var(--red);
  --on-dark: #FBFAF7;

  --font: "Geist", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-ja-display: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --step-0: 0.8125rem;
  --step-1: 1rem;
  --step-2: 1.1875rem;
  --step-3: 1.5rem;
  --step-4: clamp(1.9rem, 1.4rem + 1.7vw, 2.75rem);
  --step-5: clamp(2.6rem, 1.6rem + 3.4vw, 4.5rem);
  --step-6: clamp(3rem, 2rem + 4vw, 5.5rem);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 9rem;

  --maxw: 1440px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  --radius: 2px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --header-h: 72px;
}

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-1); font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="ja"] body { font-family: var(--font-ja); line-height: 1.8; font-feature-settings: "palt"; }
/* Japanese headings break between phrases, never inside a word; a phrase too long for the line still wraps. */
html[lang="ja"] :is(h1, h2, h3, .card__title) { word-break: keep-all; overflow-wrap: anywhere; }
@supports (word-break: auto-phrase) { html[lang="ja"] :is(h1, h2, h3, .card__title) { word-break: auto-phrase; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.012em; line-height: 1.06; text-wrap: balance; }
html[lang="ja"] :is(h1, h2, h3, .card__title, .tile span, .site-header__sheet a, .crest-band__facts strong) { font-family: var(--font-ja-display); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
p { margin: 0 0 var(--space-3); max-width: 60ch; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: var(--space-3); top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: var(--space-2) var(--space-3); border-radius: var(--radius); }
.skip:focus { top: var(--space-3); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-2); }
.lead { font-size: var(--step-2); line-height: 1.5; }
.link { color: inherit; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link:hover { color: var(--red); }
.save { color: var(--red); font-weight: 500; }

/* ---- buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
  min-height: 50px; padding: 0 var(--space-4); border-radius: var(--radius);
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  font: 500 var(--step-1)/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
html[lang="ja"] .btn { font-family: var(--font-ja); }
.btn:hover { background: var(--red); border-color: var(--red); }
.btn--light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn--light:hover { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--line-light { background: transparent; color: var(--on-dark); border-color: color-mix(in srgb, var(--on-dark) 60%, transparent); }
.btn--line-light:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* ---- header (one partial, every page) ------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--header-h);
  color: var(--ink); background: var(--bg); border-bottom: 1px solid var(--line);
}
.site-header__row { display: flex; align-items: center; gap: var(--space-5); height: 100%; }
.site-header__logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.site-header__logo img { height: 46px; width: auto; }
/* "Since 1978" sits under the Cheena logo wherever it appears (Shawn, October 20, 2026). */
.since { font-family: var(--font-display); letter-spacing: .04em; line-height: 1.2; margin: 0; }
.site-header__logo .since { font-size: var(--step-0); font-weight: 500; }
.site-header__nav { display: flex; gap: var(--space-4); align-items: center; }
.site-header__nav a, .site-header__tools a, .site-header__tools button { text-decoration: none; font-size: var(--step-1); font-weight: 450; color: inherit; background: none; border: 0; cursor: pointer; padding: var(--space-1) 0; font-family: inherit; }
.site-header__nav a:hover, .site-header__tools a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header__tools { margin-left: auto; display: flex; gap: var(--space-4); align-items: center; }
.site-header__menu { display: none; }
.site-header__menu summary { list-style: none; cursor: pointer; padding: var(--space-1) 0; font-size: var(--step-1); font-weight: 450; }
.site-header__menu summary::-webkit-details-marker { display: none; }
.site-header__sheet { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: var(--space-4) var(--gutter) var(--space-5); }
.site-header__sheet ul { list-style: none; margin: 0; padding: 0; display: grid; }
.site-header__sheet a { display: block; padding: var(--space-2) 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: var(--step-3); text-decoration: none; }
main { margin-top: var(--header-h); }

/* ---- footer (one partial, every page) ------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: var(--space-7) var(--space-5); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: var(--space-5); }
.site-footer h2 { font-family: var(--font); font-size: var(--step-1); font-weight: 500; letter-spacing: 0; margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.site-footer p { color: color-mix(in srgb, var(--on-dark) 72%, transparent); font-size: var(--step-0); }
.site-footer__base { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid color-mix(in srgb, var(--on-dark) 18%, transparent); font-size: var(--step-0); color: color-mix(in srgb, var(--on-dark) 72%, transparent); }
.site-footer__mark img { width: 112px; height: auto; margin-bottom: var(--space-2); }
.site-footer__mark .since { display: block; width: 112px; text-align: center; font-size: var(--step-0); color: var(--on-dark); margin-bottom: var(--space-4); }
.site-footer address { font-style: normal; }
.site-footer__legal { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ---- photo hero ------------------------------------------------------------ */
/* The photo is dark on its left by design, so the type sits there with only a light shade. */
.hero-photo { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; color: var(--on-dark); background: #0E0D0C; isolation: isolate; overflow: clip; }
.hero-photo__img { position: absolute; inset: 0; z-index: -2; }
.hero-photo__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,7,6,.5) 0%, rgba(8,7,6,.22) 34%, rgba(8,7,6,0) 52%); }
.hero-photo__body { padding-block: var(--space-7); }
.hero-photo h1 { max-width: 10em; }
html[lang="ja"] .hero-photo h1 { max-width: 12em; font-size: var(--step-4); }
.hero-photo p { font-size: var(--step-2); max-width: 34ch; margin-top: var(--space-4); color: var(--on-dark); }
.hero-photo__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.rise { opacity: 0; transform: translateY(12px); animation: rise .9s var(--ease) forwards; }
.rise--2 { animation-delay: .12s; }
.rise--3 { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---- tile row: one rendered still per collection, its name underneath ------- */
.tile-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--bg); }
.tile__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile span { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); padding: var(--space-3) var(--space-3) var(--space-4); font-family: var(--font-display); font-size: var(--step-2); line-height: 1.25; }
.tile span::after { content: "\2192"; font-family: var(--font); font-size: var(--step-0); color: var(--ink-2); transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.035); }
.tile:hover span::after { transform: translateX(4px); color: var(--ink); }

/* ---- section rhythm -------------------------------------------------------- */
.section { padding-block: var(--space-7); }
.section--alt { background: var(--bg-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--ink); margin-bottom: var(--space-5); }
.section-head h2 { font-size: var(--step-4); }
.section-head a { white-space: nowrap; }

/* ---- product card ---------------------------------------------------------- */
.card { display: flex; flex-direction: column; gap: var(--space-1); text-decoration: none; color: var(--ink); }
.card__img { aspect-ratio: 4 / 5; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; margin-bottom: var(--space-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: scale(1.02); }
.card__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.25; margin: 0; font-weight: 400; min-height: calc(2 * 1.25em); }
/* Every card in a row lines its title, sizes and price up with its neighbours, however many lines
   each title takes (Shawn, October 18, 2026: "I would like everything even"). */
:is(.grid, .rail__track) > .card { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: var(--space-1); }
.card__opts { font-size: var(--step-0); color: var(--ink-2); margin: 0; }
.card__price { font-size: var(--step-1); margin: 0; }

/* ---- product rail (pinned sideways on desktop) ----------------------------- */
.rail { position: relative; }
.rail__track { --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 22vw); gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 0 var(--edge) var(--space-3); scrollbar-width: thin; }
.rail__track > * { scroll-snap-align: start; }
/* The cards size to the screen's height as well as its width, so the heading and every price fit
   on a laptop screen; on a short screen the rail stays a plain swipe row (Shawn, October 20, 2026,
   found the heading under the category tiles cut off). */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) and (min-height: 640px) and (prefers-reduced-motion: no-preference) {
  .rail[data-pin] { height: var(--rail-h, 220vh); padding-block: 0; }
  .rail[data-pin] .rail__sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: safe center; overflow: clip; }
  .rail[data-pin] .rail__track { overflow: visible; scroll-snap-type: none; will-change: transform; grid-auto-columns: max(200px, min(19vw, calc((100vh - 25rem) * 0.8))); }
  /* Japanese titles sit on taller lines and wrap onto more of them, so the Japanese row needs more height. */
  html[lang="ja"] .rail[data-pin] .rail__track { grid-auto-columns: max(200px, min(19vw, calc((100vh - 27rem) * 0.8))); }
}
/* Below 680px tall the Japanese row cannot fit pinned, so it stays the plain swipe row (site.js agrees). */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) and (max-height: 679px) {
  html[lang="ja"] .rail[data-pin] { height: auto; padding-block: var(--space-7); }
  html[lang="ja"] .rail[data-pin] .rail__sticky { position: static; height: auto; display: block; overflow: visible; }
  html[lang="ja"] .rail[data-pin] .rail__track { overflow-x: auto; scroll-snap-type: x mandatory; will-change: auto; grid-auto-columns: minmax(240px, 22vw); }
}

/* ---- headings that open a text column ------------------------------------ */
.set-band h2, .brand-split__body h2, .crest-band h2 { margin-bottom: var(--space-4); }

/* ---- set band -------------------------------------------------------------- */
.set-band__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-6); align-items: center; }
.set-band__img { aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; }
.set-band__img img { width: 100%; height: 100%; object-fit: cover; }
.set-band ul { margin: var(--space-4) 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.set-band li { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--line); }
.set-band__buy { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }

/* ---- crest band: the page turns Cheena red, like the sockeye box ----------- */
.crest-band { background: var(--red); color: var(--on-dark); padding-block: var(--space-8); }
.crest-band__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-6); align-items: center; }
.crest-band__mark img { width: 100%; height: auto; }
.crest-band__mark .since { text-align: center; font-size: var(--step-3); color: var(--on-dark); margin-top: var(--space-4); }
.crest-band h2 { font-size: var(--step-5); max-width: 14ch; }
.crest-band p { color: var(--on-dark); }
.crest-band :focus-visible { outline-color: var(--on-dark); }
.crest-band .link:hover { color: var(--on-dark); text-decoration-thickness: 2.5px; }
.crest-band__facts { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.crest-band__facts li { border-top: 1px solid color-mix(in srgb, var(--on-dark) 45%, transparent); padding-top: var(--space-3); font-size: var(--step-0); }
.crest-band__facts strong { display: block; font-family: var(--font-display); font-size: var(--step-3); font-weight: 400; line-height: 1.1; margin-bottom: var(--space-1); }

/* ---- brand split ----------------------------------------------------------- */
.brand-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.brand-split__img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.brand-split__img img { width: 100%; height: 100%; object-fit: cover; }
.brand-split__body .btn { margin-top: var(--space-3); }

/* ---- questions ------------------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space-6); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; font-size: var(--step-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: var(--step-3); line-height: 1; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: var(--space-4); color: var(--ink-2); }

/* ---- product grid (collections) -------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5) var(--space-4); }
.page-head { padding-bottom: var(--space-5); }
.page-head h1 { margin: var(--space-3) 0 var(--space-3); }
.crumbs { font-size: var(--step-0); color: var(--ink-2); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- product detail -------------------------------------------------------- */
.pdp { padding-block: var(--space-5) var(--space-7); }
.pdp__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-6); align-items: start; }
.pdp__gallery { position: sticky; top: calc(var(--header-h) + var(--space-4)); display: grid; gap: var(--space-2); }
.pdp__main { position: relative; aspect-ratio: 1; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; }
/* Pinned to the frame, so a tall box photo picked from the thumbnails shows whole instead of overflowing the square. */
.pdp__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * var(--space-2)) / 5); gap: var(--space-2); overflow-x: auto; scrollbar-width: thin; }
.pdp__thumb { padding: 0; border: 1px solid transparent; border-radius: var(--radius); background: var(--bg-2); aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pdp__thumb[aria-current="true"], .pdp__thumb:hover { border-color: var(--ink); }
.pdp__info h1 { font-size: var(--step-4); margin: var(--space-3) 0 var(--space-2); }
.pdp__price { font-size: var(--step-2); margin-bottom: var(--space-4); }
.pdp__form { display: grid; gap: var(--space-4); }
.pack { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.pack legend { font-size: var(--step-0); color: var(--ink-2); margin-bottom: var(--space-1); padding: 0; }
.pack__opt { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.pack__opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pack__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pack__opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pack__price { text-align: right; white-space: nowrap; }
.pack__price .muted, .pack__price .save { display: block; font-size: var(--step-0); }
.pdp__add { width: 100%; }
.pdp__add:disabled { background: transparent; color: var(--ink-2); border-color: var(--line); cursor: not-allowed; }
.pdp__incl { font-size: var(--step-0); color: var(--ink-2); white-space: nowrap; }
.pdp__note { font-size: var(--step-0); border-left: 2px solid var(--red); padding-left: var(--space-2); }
.pdp__about { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.pdp__about h2 { font-size: var(--step-3); margin-bottom: var(--space-3); }
.pdp__about ul { padding-left: var(--space-4); margin: 0 0 var(--space-3); }

/* ---- prose: delivery, story, contact and policy pages --------------------- */
/* Title column left and held in place, the text right, like the questions block. */
.prose__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space-6); align-items: start; }
/* Columns stay inside the screen, so a wide table scrolls in its own box (the privacy policy's cookie tables). */
.prose__grid > * { min-width: 0; }
.prose__head { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
.prose__head h1 { font-size: var(--step-4); margin: var(--space-3) 0; }
.prose__body { max-width: 44rem; }
.prose__body > :first-child { margin-top: 0; }
.prose__body h2 { font-size: var(--step-3); margin: var(--space-6) 0 var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.prose__body h3 { font-size: var(--step-2); margin: var(--space-5) 0 var(--space-2); }
.prose__body ul, .prose__body ol { padding-left: var(--space-4); margin: 0 0 var(--space-3); max-width: 60ch; }
.prose__body li { margin-bottom: var(--space-1); }
.prose__body a { font-weight: 500; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose__body a:hover { color: var(--red); }
.prose__body figure { margin: 0 0 var(--space-5); }
.prose__body figure img { width: 100%; border-radius: var(--radius); }
.prose__body figcaption { font-size: var(--step-0); color: var(--ink-2); margin-top: var(--space-2); }
.prose__body address { font-style: normal; }
.prose__body table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-4); font-size: var(--step-0); }
.prose__body th, .prose__body td { text-align: left; vertical-align: top; padding: var(--space-2) var(--space-2) var(--space-2) 0; border-bottom: 1px solid var(--line); }
.prose__links { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
.prose__table { overflow-x: auto; margin-bottom: var(--space-4); }
.prose__table table { margin: 0; min-width: 32rem; }

/* ---- cart drawer (one partial, every page) -------------------------------- */
.cart-drawer { margin: 0 0 0 auto; padding: 0; border: 0; width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--bg); color: var(--ink); }
.cart-drawer::backdrop { background: color-mix(in srgb, var(--ink) 45%, transparent); }
.cart-drawer[open] { animation: drawer-in .6s var(--ease); }
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } }
.cart-drawer__panel { display: flex; flex-direction: column; height: 100%; }
.cart-drawer__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding: var(--space-4) var(--space-4) var(--space-3); border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { font-size: var(--step-3); }
.cart-drawer__close { background: none; border: 0; padding: var(--space-1) 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cart-drawer__lines { list-style: none; margin: 0; padding: 0 var(--space-4); overflow-y: auto; flex: 1; }
.cart-drawer__empty { padding: var(--space-5) 0; color: var(--ink-2); }
.cart-drawer__foot { padding: var(--space-3) var(--space-4) var(--space-4); border-top: 1px solid var(--line); display: grid; gap: var(--space-1); }
.cart-drawer__foot[hidden] { display: none; }
.cart-drawer__label { font-size: var(--step-0); color: var(--ink-2); }
.cart-drawer textarea, .cart-drawer select { width: 100%; font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-2); }
.cart-drawer textarea { resize: vertical; }
.cart-drawer textarea:focus-visible, .cart-drawer select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.cart-drawer__hint { font-size: var(--step-0); color: var(--ink-2); margin: 0; }
.cart-drawer__total { display: flex; justify-content: space-between; font-size: var(--step-2); margin: var(--space-2) 0 0; max-width: none; }
.cart-drawer__checkout { width: 100%; margin-top: var(--space-2); }
.cart-drawer__checkout:disabled { opacity: .6; cursor: progress; }
.cart-drawer__msg { font-size: var(--step-0); margin: 0; }
.cart-drawer__msg:empty { display: none; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line__img { display: block; aspect-ratio: 4 / 5; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cart-line__info { display: grid; gap: var(--space-1); }
.cart-line__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.25; text-decoration: none; }
html[lang="ja"] .cart-line__title { font-family: var(--font-ja-display); }
.cart-line__opt { font-size: var(--step-0); color: var(--ink-2); }
.cart-line__qty { display: flex; align-items: center; gap: var(--space-2); }
.cart-line__qty button { min-width: 32px; min-height: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: inherit; font: inherit; cursor: pointer; }
.cart-line__qty button:hover { border-color: var(--ink); }
.cart-line__qty .cart-line__remove { border: 0; min-width: 0; padding: 0; margin-left: var(--space-2); font-size: var(--step-0); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.cart-line__price { white-space: nowrap; }

/* ---- search drawer (one partial, every page; the cart drawer's frame and lines) */
.search-drawer__field { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); display: grid; gap: var(--space-1); }
.search-drawer__field input { width: 100%; min-height: 50px; font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-2); }
.search-drawer__field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.search-line { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); align-items: start; text-decoration: none; color: inherit; }
.search-line:hover .cart-line__title { text-decoration: underline; text-underline-offset: 3px; }
.search-line .cart-line__price { font-size: var(--step-0); }

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .tile-row { grid-template-columns: repeat(3, 1fr); }
  .site-header__nav { display: none; }
  .site-header__menu { display: inline-flex; }
}
@media (max-width: 900px) {
  .set-band__grid, .brand-split__grid, .crest-band__grid, .faq__grid, .pdp__grid, .prose__grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .prose__head { position: static; }
  .crest-band__mark { order: -1; }
  .crest-band { padding-block: var(--space-7); }
  .pdp__gallery { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .tile-row { grid-template-columns: repeat(2, 1fr); }
  .tile span { font-size: var(--step-1); padding: var(--space-2) var(--space-2) var(--space-3); }
  .section { padding-block: var(--space-6); }
  .crest-band__facts { grid-template-columns: 1fr; }
  .rail__track { grid-auto-columns: 72vw; }
  /* Phones: the photo on top, fading into the dark ground, the words and buttons under it. */
  .hero-photo { display: flex; flex-direction: column; align-items: stretch; }
  .hero-photo__img { position: relative; inset: auto; height: 58svh; }
  .hero-photo__img img { object-position: 50% 78%; }
  .hero-photo::before { bottom: auto; height: 58svh; background: linear-gradient(180deg, rgba(14,13,12,0) 62%, #0E0D0C 100%); }
  .hero-photo__body { position: relative; margin-top: calc(var(--space-6) * -1); padding-block: 0 var(--space-5); }
  .hero-photo p { font-size: var(--step-1); margin-top: var(--space-3); }
  .hero-photo__actions { margin-top: var(--space-4); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__base { flex-direction: column; }
  .site-header__tools .hide-sm { display: none; }
  .site-header__logo img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
