/* Relaxed & Awake — design system.
   Ported from the Claude Design project "Relaxed & Awake storefront design".
   The :root token blocks below are copied verbatim from tokens/*.css; the
   component rules replace the JSX components one-for-one. Keep tokens in sync
   with the design project; restyle here, never re-derive the palette. */

/* ── tokens/colors.css ─────────────────────────────────────────────────────
   Sampled from the poster art and its packaging photographs. */
:root {
  /* Ink — the poster field. Sampled #090909 – #1a1a1a across the printed sheet. */
  --ink-950: #0b0b0b;
  --ink-900: #141414;
  --ink-800: #1f1f1f;
  --ink-700: #2e2e2e;
  --ink-600: #3d3d3b;
  --ink-500: #565654;
  --ink-400: #7b7975;

  /* Chalk — the poster's printed white, slightly warm and never pure #fff. */
  --chalk-000: #f7f5f0;
  --chalk-100: #efede7;
  --chalk-200: #ddd9d0;
  --chalk-300: #c4bfb4;

  /* Paper — site surfaces. Warm, uncoated, close to the stock the posters print on. */
  --paper-000: #faf8f3;
  --paper-100: #f3f0e8;
  --paper-200: #e9e5db;
  --paper-300: #dcd7ca;

  /* Kraft — the mailer. Sampled #db9d6f (lit) → #c98a56 (shadow). */
  --kraft-100: #efdcc8;
  --kraft-300: #dcb98f;
  --kraft-500: #c98a56;
  --kraft-700: #9a6737;

  /* Sage — the cool gray-green of the photographed cloth. The one cool note. */
  --sage-100: #dfe3e1;
  --sage-300: #b6bfbd;
  --sage-500: #8c9a99;
  --sage-700: #5f6c6b;

  /* Signal — the red tear-strip on the mailer. Sale, low stock, errors only. */
  --signal-500: #c2402f;
  --signal-700: #94301f;

  /* Semantic aliases */
  --bg-page: var(--paper-100);
  --bg-raised: var(--paper-000);
  --bg-sunken: var(--paper-200);
  --bg-invert: var(--ink-900);
  --bg-poster: var(--ink-900);

  --text-primary: var(--ink-900);
  --text-body: var(--ink-700);
  --text-muted: var(--ink-500);
  --text-faint: var(--ink-400);
  --text-on-invert: var(--chalk-100);
  --text-on-invert-muted: rgba(239, 237, 231, 0.62);

  --border-hairline: rgba(20, 20, 20, 0.14);
  --border-strong: rgba(20, 20, 20, 0.42);
  --border-invert: rgba(239, 237, 231, 0.22);

  --accent: var(--kraft-500);
  --accent-quiet: var(--sage-500);
  --focus-ring: var(--ink-900);
}

/* ── tokens/typography.css ───────────────────────────────────────────────── */
:root {
  --font-display: "Oswald", "Oswald Fallback", Impact, "Haettenschweiler", sans-serif;
  --font-body: "Karla", "Helvetica Neue", Helvetica, sans-serif;

  --display-1-size: 72px;
  --display-1-line: 0.94;
  --display-2-size: 52px;
  --display-2-line: 0.96;
  --display-3-size: 34px;
  --display-3-line: 1.02;
  --display-weight: 700;
  --display-tracking: 0.01em;

  --rule-size: 24px;
  --rule-line: 1.08;
  --rule-weight: 600;
  --rule-tracking: 0.015em;

  --body-lg-size: 18px;
  --body-lg-line: 1.55;
  --body-size: 16px;
  --body-line: 1.6;
  --body-sm-size: 14px;
  --body-sm-line: 1.5;
  --body-weight: 400;
  --body-weight-strong: 600;

  --label-size: 11px;
  --label-line: 1.2;
  --label-weight: 600;
  --label-tracking: 0.16em;

  --caption-size: 13px;
  --caption-line: 1.45;
  --price-size: 20px;
  --price-weight: 600;
}

/* ── tokens/spacing.css ─────────────────────────────────────────────────── */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --gutter: var(--space-5);
  --section-y: var(--space-9);
  --measure: 62ch;
  --measure-tight: 44ch;

  --container: 1200px;
  --container-narrow: 780px;

  /* Poster geometry — 11 x 17 in. Everything that shows art keeps this ratio. */
  --poster-ratio: 11 / 17;
}

/* ── tokens/effects.css ─────────────────────────────────────────────────── */
:root {
  --radius-0: 0px;
  --radius-1: 2px;
  --radius-2: 4px;
  --radius-pill: 999px;

  --border-1: 1px;
  --border-2: 2px;

  --shadow-sheet: 0 1px 2px rgba(20, 20, 20, 0.10), 0 8px 24px rgba(20, 20, 20, 0.10);
  --shadow-sheet-lift: 0 2px 4px rgba(20, 20, 20, 0.12), 0 18px 40px rgba(20, 20, 20, 0.16);
  --shadow-inset-hairline: inset 0 0 0 1px rgba(20, 20, 20, 0.10);

  --ease: cubic-bezier(0.2, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur: 200ms;
  --dur-slow: 380ms;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  --grain-opacity-on-ink: 0.16;
  --grain-opacity-on-paper: 0.05;
}

/* Fluid display sizes. The design system fixes these in px for a 1280px
   canvas; on a phone 72px display type overflows, so clamp between a legible
   floor and the canvas value. The px tokens above stay the upper bound. */
@media (max-width: 900px) {
  :root {
    --display-1-size: clamp(38px, 9vw, 72px);
    --display-2-size: clamp(30px, 7vw, 52px);
    --display-3-size: clamp(24px, 5.4vw, 34px);
    --space-9: 64px;
    --space-8: 44px;
  }
}

/* ── reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--text-primary);
  background: var(--paper-100);
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: var(--ink-900); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kraft-700); }
button { font: inherit; }

/* ── surfaces ──────────────────────────────────────────────────────────── */
.ra-ink {
  position: relative;
  background: var(--ink-900);
  color: var(--text-on-invert);
  isolation: isolate;
}
.ra-ink::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: var(--grain-opacity-on-ink);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}
.ra-paper {
  position: relative;
  background: var(--bg-page);
  color: var(--text-primary);
  isolation: isolate;
}
.ra-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: var(--grain-opacity-on-paper);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}

/* ── type ──────────────────────────────────────────────────────────────── */
.ra-label {
  font-family: var(--font-body);
  font-size: var(--label-size);
  line-height: var(--label-line);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}
.ra-display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--text-primary);
}
.ra-d1 { font-size: var(--display-1-size); line-height: var(--display-1-line); }
.ra-d2 { font-size: var(--display-2-size); line-height: var(--display-2-line); }
.ra-d3 { font-size: var(--display-3-size); line-height: var(--display-3-line); }
.ra-ink .ra-display, .ra-display.is-invert { color: var(--text-on-invert); }

.ra-lede {
  max-width: 48ch;
  font-size: var(--body-lg-size);
  line-height: 1.6;
  color: var(--text-body);
  text-wrap: pretty;
}
.ra-ink .ra-lede { color: var(--text-on-invert-muted); }
.ra-prose { max-width: var(--measure); font-size: var(--body-lg-size); line-height: 1.65; color: var(--text-body); text-wrap: pretty; }

/* Eyebrow — 11px uppercase micro-label, optional trailing hairline. */
.ra-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}
.ra-ink .ra-eyebrow, .ra-eyebrow.is-invert { color: var(--text-on-invert-muted); }
.ra-eyebrow.has-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-hairline);
}
.ra-ink .ra-eyebrow.has-rule::after { background: var(--border-invert); }

/* Hairline rule, the only divider in the system. */
.ra-rule { border: 0; border-top: var(--border-1) solid var(--border-hairline); margin: 0; }
.ra-rule.is-heavy { border-top-color: var(--border-strong); }
.ra-ink .ra-rule { border-top-color: var(--border-invert); }

/* Focus: a hard 2px offset outline. No glow, no ring blur. */
.ra-focusable:focus-visible,
.ra-btn:focus-visible,
.ra-iconbtn:focus-visible,
.ra-acc-head:focus-visible,
.ra-step button:focus-visible {
  outline: var(--border-2) solid var(--focus-ring);
  outline-offset: 2px;
}
.ra-ink .ra-btn:focus-visible, .ra-ink .ra-iconbtn:focus-visible { outline-color: var(--chalk-100); }

/* ── layout ────────────────────────────────────────────────────────────── */
.ra-wrap { max-width: var(--container); margin: 0 auto; padding-inline: var(--space-5); }
.ra-wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding-inline: var(--space-5); }
.ra-section { padding-block: var(--space-9); }
.ra-stack { display: flex; flex-direction: column; }
.ra-stack-4 { gap: var(--space-4); }
.ra-stack-5 { gap: var(--space-5); }
.ra-stack-7 { gap: var(--space-7); }
.ra-row { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }

/* ── button ────────────────────────────────────────────────────────────── */
.ra-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-1);
  border: 1px solid var(--ink-900);
  background: var(--ink-900);
  color: var(--chalk-100);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.ra-btn:hover { background: var(--ink-700); border-color: var(--ink-700); color: var(--chalk-100); }
.ra-btn:active { transform: translateY(1px); }
.ra-btn[disabled], .ra-btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.ra-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.ra-btn.is-sm { padding: 8px 14px; font-size: 11px; }
.ra-btn.is-sm svg { width: 14px; height: 14px; }
.ra-btn.is-lg { padding: 17px 30px; font-size: 13px; letter-spacing: 0.13em; }
.ra-btn.is-lg svg { width: 18px; height: 18px; }
.ra-btn.is-full { display: flex; width: 100%; }

.ra-btn.is-outline {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--border-strong);
}
.ra-btn.is-outline:hover { background: rgba(20, 20, 20, 0.06); color: var(--ink-900); }

.ra-btn.is-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--ink-900);
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.ra-btn.is-quiet:hover { background: transparent; text-underline-offset: 5px; color: var(--ink-900); }

/* Inverted variants, for use on ink fields. */
.ra-ink .ra-btn, .ra-btn.is-invert {
  background: var(--chalk-100);
  color: var(--ink-900);
  border-color: var(--chalk-100);
}
.ra-ink .ra-btn:hover, .ra-btn.is-invert:hover { background: var(--chalk-000); border-color: var(--chalk-000); color: var(--ink-900); }
.ra-ink .ra-btn.is-outline, .ra-btn.is-invert.is-outline {
  background: transparent;
  color: var(--chalk-100);
  border-color: var(--border-invert);
}
.ra-ink .ra-btn.is-outline:hover, .ra-btn.is-invert.is-outline:hover { background: rgba(239, 237, 231, 0.10); color: var(--chalk-100); }
.ra-ink .ra-btn.is-quiet, .ra-btn.is-invert.is-quiet { background: transparent; border-color: transparent; color: var(--chalk-100); }

/* ── icon button ───────────────────────────────────────────────────────── */
.ra-iconbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-1);
  color: inherit;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.ra-iconbtn:hover { background: rgba(20, 20, 20, 0.06); }
.ra-ink .ra-iconbtn:hover { background: rgba(239, 237, 231, 0.10); }
.ra-iconbtn svg { width: 20px; height: 20px; }
.ra-iconbtn .ra-badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--ink-900);
  color: var(--chalk-100);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.ra-iconbtn.has-items .ra-badge-count { display: inline-flex; }
.ra-ink .ra-iconbtn .ra-badge-count { background: var(--chalk-100); color: var(--ink-900); }

/* ── badge ─────────────────────────────────────────────────────────────── */
.ra-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--radius-1);
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-hairline);
}
.ra-badge.is-kraft { background: var(--kraft-100); color: var(--kraft-700); border-color: rgba(154, 103, 55, 0.32); }
.ra-badge.is-sage  { background: var(--sage-100);  color: var(--sage-700);  border-color: rgba(95, 108, 107, 0.32); }
.ra-badge.is-ink   { background: var(--ink-900);   color: var(--chalk-100); border-color: var(--ink-900); }
.ra-badge.is-signal{ background: rgba(194, 64, 47, 0.10); color: var(--signal-700); border-color: rgba(194, 64, 47, 0.32); }

/* ── notice ────────────────────────────────────────────────────────────── */
.ra-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-1);
  font-size: var(--body-sm-size);
  line-height: 1.55;
  color: var(--text-body);
  text-wrap: pretty;
}
.ra-notice svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--text-muted); }
.ra-notice.is-kraft { background: var(--kraft-100); border-color: rgba(154, 103, 55, 0.28); }
.ra-notice.is-kraft svg { color: var(--kraft-700); }
.ra-notice.is-sage { background: var(--sage-100); border-color: rgba(95, 108, 107, 0.28); }
.ra-notice.is-sage svg { color: var(--sage-700); }
.ra-notice.is-signal { background: rgba(194, 64, 47, 0.08); border-color: rgba(194, 64, 47, 0.28); }
.ra-notice.is-signal svg { color: var(--signal-700); }

/* ── price ─────────────────────────────────────────────────────────────── */
.ra-price { display: flex; flex-direction: column; gap: 3px; }
.ra-price-row { display: flex; align-items: baseline; gap: 10px; }
.ra-price-now {
  font-size: var(--price-size);
  font-weight: var(--price-weight);
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.ra-price.is-lg .ra-price-now { font-size: 28px; }
.ra-price-was { font-size: 15px; text-decoration: line-through; color: var(--text-faint); }
.ra-price-note { color: var(--text-muted); }
.ra-ink .ra-price-now { color: var(--chalk-100); }
.ra-ink .ra-price-note, .ra-ink .ra-price-was { color: var(--text-on-invert-muted); }

/* ── poster sheet ──────────────────────────────────────────────────────── */
.ra-sheet {
  width: 100%;
  background: transparent;
  box-shadow: var(--shadow-sheet);
  transition: box-shadow var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.ra-sheet.is-matted {
  background: var(--paper-000);
  padding: clamp(14px, 7%, 34px);
  border: 1px solid var(--border-hairline);
}
.ra-sheet-inner {
  position: relative;
  aspect-ratio: var(--poster-ratio);
  background: var(--ink-900);
  overflow: hidden;
}
.ra-sheet-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
a.ra-sheet:hover, .ra-sheet.is-lift { box-shadow: var(--shadow-sheet-lift); transform: translateY(-3px); }

/* ── site header ───────────────────────────────────────────────────────── */
.ra-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 232, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border-hairline);
  color: var(--ink-900);
}
.ra-header-note {
  text-align: center;
  padding: 9px 16px;
  background: var(--ink-900);
  color: var(--chalk-100);
}
.ra-header-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.ra-wordmark { text-decoration: none; color: var(--ink-900); display: flex; flex-direction: column; gap: 2px; }
.ra-wordmark:hover { color: var(--ink-900); }
.ra-wordmark-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.ra-wordmark-url { color: var(--text-muted); font-size: 9px; }
.ra-nav { display: flex; align-items: center; gap: var(--space-5); }
.ra-nav a {
  text-decoration: none;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
}
.ra-nav a:hover { color: var(--ink-900); }
.ra-nav a[aria-current="page"] { color: var(--ink-900); border-bottom-color: var(--ink-900); }

/* ── site footer ───────────────────────────────────────────────────────── */
.ra-footer { padding: var(--space-8) var(--space-5) var(--space-6); }
.ra-footer-top { display: flex; flex-wrap: wrap; gap: var(--space-8); justify-content: space-between; }
.ra-footer-brand { max-width: 320px; display: flex; flex-direction: column; gap: 12px; }
.ra-footer-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.ra-footer-note { font-size: var(--body-sm-size); line-height: 1.6; color: var(--text-on-invert-muted); text-wrap: pretty; }
.ra-footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 150px; }
.ra-footer-col a { font-size: var(--body-sm-size); color: var(--chalk-100); text-decoration: none; }
.ra-footer-col a:hover { color: var(--chalk-100); text-decoration: underline; }
.ra-footer-fine { display: flex; flex-wrap: wrap; gap: var(--space-5); color: var(--text-on-invert-muted); }

/* ── the eight rules ───────────────────────────────────────────────────── */
.ra-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-8); row-gap: var(--space-6); }
.ra-rules.is-compact { grid-template-columns: 1fr; }
.ra-rule-item { display: grid; grid-template-columns: 38px 1fr; gap: var(--space-3); }
.ra-rule-n {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--kraft-500);
}
.ra-rule-body { display: flex; flex-direction: column; gap: 6px; }
.ra-rule-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
.ra-rule-text { font-size: 15px; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.ra-rule-tag { color: var(--kraft-700); }

/* ── accordion ─────────────────────────────────────────────────────────── */
.ra-acc { border-top: 1px solid var(--border-hairline); }
.ra-acc details { border-bottom: 1px solid var(--border-hairline); }
.ra-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.ra-acc summary::-webkit-details-marker { display: none; }
.ra-acc summary svg { width: 16px; height: 16px; flex-shrink: 0; }
.ra-acc summary .ra-acc-minus { display: none; }
.ra-acc details[open] summary .ra-acc-minus { display: block; }
.ra-acc details[open] summary .ra-acc-plus { display: none; }
.ra-acc-panel {
  padding-bottom: 18px;
  max-width: var(--measure);
  font-size: var(--body-sm-size);
  line-height: 1.65;
  color: var(--text-body);
  text-wrap: pretty;
}

/* ── quantity stepper ──────────────────────────────────────────────────── */
.ra-step {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-1);
  background: var(--paper-000);
}
.ra-step button {
  width: 42px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--ink-900);
  cursor: pointer;
}
.ra-step button:hover:not([disabled]) { background: rgba(20, 20, 20, 0.06); }
.ra-step button[disabled] { opacity: 0.3; cursor: not-allowed; }
.ra-step button svg { width: 16px; height: 16px; }
.ra-step input {
  width: 44px;
  height: 46px;
  border: 0;
  border-inline: 1px solid var(--border-hairline);
  background: transparent;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-900);
  -moz-appearance: textfield;
}
.ra-step input::-webkit-outer-spin-button,
.ra-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── form fields ───────────────────────────────────────────────────────── */
.ra-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ra-field label { color: var(--text-muted); }
.ra-field input {
  height: 46px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-900);
  background: var(--paper-000);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-1);
}
.ra-field input:focus-visible { outline: var(--border-2) solid var(--focus-ring); outline-offset: 2px; }

/* ── cart line ─────────────────────────────────────────────────────────── */
.ra-cartline {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border-hairline);
}
.ra-cartline-thumb { width: 64px; aspect-ratio: var(--poster-ratio); object-fit: cover; background: var(--ink-900); }
.ra-cartline-title { font-size: 16px; font-weight: 600; }
.ra-cartline-meta { font-size: var(--body-sm-size); color: var(--text-muted); }
.ra-cartline-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ra-cartline-price { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }

.ra-totals { display: flex; flex-direction: column; gap: 10px; padding-top: var(--space-5); }
.ra-total-row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--text-body); }
.ra-total-row.is-muted { color: var(--text-muted); }
.ra-total-row span:last-child { font-variant-numeric: tabular-nums; }
.ra-total-row.is-grand { font-size: 20px; font-weight: 600; color: var(--text-primary); }

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ra-rules { grid-template-columns: 1fr; row-gap: var(--space-5); }
  .ra-split { grid-template-columns: 1fr !important; gap: var(--space-6) !important; }
  .ra-split-media { justify-content: flex-start !important; order: -1; }
  .ra-promises { grid-template-columns: 1fr !important; gap: var(--space-5) !important; }
  .ra-signup { grid-template-columns: 1fr !important; align-items: start !important; }
  .ra-rules-aside { grid-template-columns: 1fr !important; gap: var(--space-5) !important; }
  .ra-wordmark-url { display: none; }
  .ra-nav { gap: var(--space-4); }
}
@media (max-width: 640px) {
  .ra-header-bar { flex-wrap: wrap; padding-block: 10px; gap: var(--space-3); }
  .ra-header-note { font-size: 10px; letter-spacing: 0.10em; }
  .ra-gallery { flex-direction: column-reverse !important; }
  .ra-thumbs { flex-direction: row !important; }
  .ra-footer-top { gap: var(--space-6); }
  .ra-cartline { grid-template-columns: 56px minmax(0, 1fr); }
  .ra-cartline-right { grid-column: 2; align-items: flex-start; }
  .ra-btn.is-lg { padding: 15px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Skip link — keyboard users land here first. */
.ra-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink-900);
  color: var(--chalk-100);
}
.ra-skip:focus { left: 0; color: var(--chalk-100); }

[hidden] { display: none !important; }
