/* ==========================================================================
   WONDERLAND — design system & site styles
   Palette from the identity sheet. Logo wine is kept for the mark itself
   and for focus/accent moments only.
   ========================================================================== */

@font-face { font-family: 'Marcellus'; src: url('/assets/fonts/marcellus-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Marcellus SC'; src: url('/assets/fonts/marcellus-sc-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  /* Brand palette */
  --plum: #302333;
  --sage: #596052;
  --lilac: #9A879C;
  --cream: #E8DFD0;
  --ochre: #A58B62;
  --wine: #600D10;           /* logo */

  /* Derived */
  --paper: #F4EFE7;
  --paper-2: #EFE8DC;
  --ink: var(--plum);
  --ink-soft: #5E5260;        /* 6.3:1 on paper */
  --line: rgba(48, 35, 51, 0.14);
  --line-strong: rgba(48, 35, 51, 0.28);
  --lilac-t: #E7E0E6;
  --sage-t: #DFE1D8;
  --ochre-t: #EEE5D5;
  --plum-t: #E2DBDF;
  --wine-t: #EEDDD9;
  --sage-ink: #4A5045;
  --ochre-ink: #6E5A3A;
  --lilac-ink: #66546A;

  --f-display: 'Marcellus', 'Iowan Old Style', Georgia, serif;
  --f-caps: 'Marcellus SC', 'Marcellus', Georgia, serif;
  --f-text: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 22px;
  --r-lg: 34px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.8, 0.26, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lilac); color: var(--paper); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plum); color: var(--paper); padding: 10px 16px; border-radius: var(--r-xs); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-soft); }
#main:focus { outline: none; }
h1[tabindex="-1"]:focus, .co-form__title:focus { outline: none; }

/* ── Type ──────────────────────────────────────────────────── */
.h1 { font: 400 clamp(2.4rem, 5vw, 3.9rem)/1.04 var(--f-display); letter-spacing: -0.012em; }
.h2 { font: 400 clamp(1.75rem, 3.2vw, 2.5rem)/1.1 var(--f-display); letter-spacing: -0.008em; }
.eyebrow { font: 400 0.9rem/1.2 var(--f-caps); letter-spacing: 0.14em; color: var(--ink-soft); margin-bottom: 18px; }
.eyebrow--light { color: var(--cream); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); max-width: 34em; }
.fine { font-size: 0.86rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.fine .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.95rem; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.3em; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link .icon { width: 18px; height: 18px; }
.link-btn { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: var(--line-strong); font-size: 0.88rem; color: var(--ink-soft); }
.link-btn:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ── Icons & glyphs ────────────────────────────────────────── */
.icon { width: 22px; height: 22px; flex: none; }
.glyph { width: 100%; height: auto; }

/* ── Tones (category colors) ───────────────────────────────── */
.tone-lilac { --tone: var(--lilac); --tone-t: var(--lilac-t); --tone-ink: var(--lilac-ink); }
.tone-ochre { --tone: var(--ochre); --tone-t: var(--ochre-t); --tone-ink: var(--ochre-ink); }
.tone-sage  { --tone: var(--sage);  --tone-t: var(--sage-t);  --tone-ink: var(--sage-ink); }
.tone-plum  { --tone: var(--plum);  --tone-t: var(--plum-t);  --tone-ink: var(--plum); }
.tone-wine  { --tone: var(--wine);  --tone-t: var(--wine-t);  --tone-ink: var(--wine); }
.tone-paper { --tone: var(--plum);  --tone-t: var(--paper-2); --tone-ink: var(--plum); }
.tone-text-sage { color: var(--sage); }
.tone-text-plum { color: var(--plum); }
.tone-text-ochre { color: var(--ochre); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); display: inline-block; flex: none; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--plum); color: var(--paper); font-weight: 600; font-size: 0.97rem; letter-spacing: 0.01em; text-decoration: none; border: 1.5px solid var(--plum); transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease); white-space: nowrap; }
.btn .icon { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.btn:hover { background: #45324a; border-color: #45324a; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--plum); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--plum); color: var(--paper); border-color: var(--plum); }
.btn--cream { background: var(--cream); color: var(--plum); border-color: var(--cream); }
.btn--cream:hover { background: var(--paper); border-color: var(--paper); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: var(--paper-2); }

/* ── Demo bar & header ─────────────────────────────────────── */
.demo-bar { background: var(--plum); color: var(--cream); font-size: 0.82rem; letter-spacing: 0.01em; padding: 9px var(--gutter); display: flex; justify-content: center; align-items: center; gap: 10px; text-align: center; }
.demo-bar a { color: var(--paper); font-weight: 500; }
.demo-bar__mark { width: 26px; height: 11px; flex: none; background: var(--cream); -webkit-mask: url('/assets/brand/smile.svg') center/contain no-repeat; mask: url('/assets/brand/smile.svg') center/contain no-repeat; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 239, 231, 0.92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: block; padding: 6px 0; border-radius: 6px; }
.logo { display: block; height: 46px; aspect-ratio: 1284 / 608; background: var(--wine); -webkit-mask: url('/assets/brand/logo.svg') center/contain no-repeat; mask: url('/assets/brand/logo.svg') center/contain no-repeat; forced-color-adjust: none; }
.logo--cream { background: var(--cream); height: 64px; }
.nav-toggle { display: none; }
.main-nav ul { display: flex; gap: 6px; justify-content: center; }
.main-nav a { display: block; padding: 10px 16px; text-decoration: none; font-weight: 500; font-size: 0.97rem; border-radius: 999px; position: relative; }
.main-nav a:hover { background: var(--paper-2); }
.main-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--wine); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border-radius: 999px; font-weight: 500; border: 1.5px solid var(--line-strong); background: var(--paper); }
.cart-btn:hover { border-color: var(--plum); }
.cart-btn__count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--plum); color: var(--paper); font-size: 0.8rem; font-weight: 600; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; transition: transform 0.25s var(--ease); }
.cart-btn__count.is-empty { background: var(--paper-2); color: var(--ink-soft); }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); padding: 12px var(--gutter) 28px; max-height: calc(100dvh - var(--header-h)); overflow: auto; }
.mobile-nav a { display: block; padding: 12px 0; font: 400 1.6rem/1.2 var(--f-display); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav__secondary { margin-top: 18px; }
.mobile-nav__secondary a { font: 500 1rem/1.4 var(--f-text); border: 0; padding: 8px 0; }

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding-top: clamp(40px, 6vw, 72px); }
.section--cream { background: var(--cream); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__title { font: 400 clamp(2.9rem, 6.4vw, 5.5rem)/0.98 var(--f-display); letter-spacing: -0.02em; margin-bottom: 26px; max-width: 9.5em; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero__art { position: relative; justify-self: center; width: min(100%, 470px); }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--cream); isolation: isolate; }
.arch__checker { position: absolute; inset: 0; background: url('/assets/img/site/checker-sage-1000.webp') center/cover; }
.arch__checker--plum { background-image: url('/assets/brand/checker-plum.svg'); }
.arch__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); z-index: 1; }
.arch__img.is-loaded { opacity: 1; }
.arch__smile { position: absolute; left: 50%; top: 54%; width: 54%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--plum); color: var(--cream); display: grid; place-items: center; }
.arch__smile .glyph { width: 70%; margin-top: 12%; }
.hero__sticker { position: absolute; left: -18px; bottom: 34px; z-index: 2; width: 112px; height: 112px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 8px var(--paper); display: grid; place-items: center; color: var(--plum); }
.hero__sticker .glyph { width: 58px; }

/* ── Category tiles ────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: var(--r); background: var(--paper-2); overflow: hidden; transition: transform 0.35s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile__cut { display: grid; place-items: center; position: relative; background: var(--tone); aspect-ratio: 1 / 0.78; overflow: hidden; color: var(--cream); border-radius: var(--r) var(--r) 0 0; }
.tile__cut::after { content: ''; position: absolute; inset: auto -10% -62% -10%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(232, 223, 208, 0.28); }
.tile__cut .glyph { width: 34%; max-height: 62%; transition: transform 0.5s var(--ease); }
.tile:hover .tile__cut .glyph { transform: scale(1.06) rotate(-4deg); }
.tile__name { font: 400 1.6rem/1.15 var(--f-display); padding: 20px 22px 6px; }
.tile__blurb { padding: 0 22px; color: var(--ink-soft); font-size: 0.93rem; line-height: 1.5; flex: 1; }
.tile__count { display: flex; align-items: center; justify-content: space-between; margin: 20px 22px 22px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 500; font-size: 0.9rem; }
.tile__count .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.tile:hover .tile__count .icon { transform: translateX(4px); }

/* ── Shop by age ───────────────────────────────────────────── */
.age { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.age__key { display: block; width: 46px; color: var(--lilac-ink); margin-bottom: 22px; transform: rotate(-12deg); }
.age__intro p { color: var(--ink-soft); margin-top: 16px; max-width: 26em; }
.age__list { display: grid; gap: 12px; }
.age__card { display: grid; grid-template-columns: 7.2rem 1fr auto; grid-template-rows: auto auto; column-gap: 20px; align-items: center; padding: 20px 26px; border-radius: var(--r); background: var(--paper); text-decoration: none; border: 1.5px solid transparent; transition: border-color 0.2s, transform 0.3s var(--ease); }
.age__card:hover { border-color: var(--plum); transform: translateX(4px); }
.age__num { font: 400 2.4rem/1 var(--f-display); grid-row: 1 / 3; letter-spacing: -0.02em; }
.age__unit { font: 400 0.82rem/1.2 var(--f-caps); letter-spacing: 0.14em; color: var(--ink-soft); }
.age__desc { grid-column: 2; font-size: 1rem; font-weight: 500; }
.age__arrow { grid-column: 3; grid-row: 1 / 3; }

/* ── Product grid & cards ──────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; }
.card__link { text-decoration: none; display: block; border-radius: var(--r); }
.card__link:focus-visible { outline-offset: 6px; }
.card .photo { border-radius: var(--r); }
.card .photo img { transition: transform 0.7s var(--ease); }
.card__link:hover .photo img { transform: scale(1.035); }
.card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.card__body { padding-top: 16px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
.card__meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font: 400 0.8rem/1.3 var(--f-caps); letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: 6px; }
.card__title { font: 400 1.32rem/1.2 var(--f-display); }
.card__price { font-weight: 500; font-variant-numeric: tabular-nums; padding-top: 2px; }
.card__age { font-size: 0.86rem; color: var(--ink-soft); margin-top: 4px; }
.badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--paper); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; pointer-events: none; }
.badge .glyph { width: 12px; color: var(--sage); }

/* Photo frame + branded placeholder */
.photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tone-t); isolation: isolate; }
.photo__ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; padding: 12%; }
.photo__ph::before { content: ''; position: absolute; inset: 9%; border: 1.5px dashed color-mix(in srgb, var(--tone) 38%, transparent); border-radius: 999px 999px 16px 16px; }
.photo__glyph { width: 34%; max-width: 120px; color: var(--tone); opacity: 0.9; }
.photo__name { font: 400 0.82rem/1.3 var(--f-caps); letter-spacing: 0.14em; color: var(--tone-ink); text-align: center; max-width: 16em; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity 0.45s var(--ease); }
.photo.is-loaded img { opacity: 1; }
.photo.is-loaded .photo__ph { visibility: hidden; }

/* ── Principles ────────────────────────────────────────────── */
.principles { padding-top: 0; }
.principles__title { text-align: center; margin-bottom: 52px; }
.principles__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); padding-top: 48px; }
.principles__glyph { width: 40px; height: 40px; object-fit: contain; margin-bottom: 20px; }
.principles h3 { font: 400 1.45rem/1.2 var(--f-display); margin-bottom: 10px; }
.principles p { color: var(--ink-soft); }

/* ── Gifts band ────────────────────────────────────────────── */
.gifts-band { background: var(--plum); color: var(--cream); padding: clamp(64px, 9vw, 112px) 0; position: relative; overflow: hidden; }
.gifts-band::after { content: ''; position: absolute; right: -6%; top: -30%; width: 38%; aspect-ratio: 545 / 190; background: rgba(232, 223, 208, 0.05); -webkit-mask: url('/assets/brand/smile.svg') center/contain no-repeat; mask: url('/assets/brand/smile.svg') center/contain no-repeat; pointer-events: none; }
.gifts-band__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; z-index: 1; }
.gifts-band .h2 { color: var(--paper); margin-bottom: 18px; }
.gifts-band__copy p:not(.eyebrow) { color: #D9CFD8; margin-bottom: 30px; max-width: 30em; }
.gifts-band__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { display: flex; flex-direction: column; text-decoration: none; color: var(--paper); border-radius: var(--r); }
.mini .photo { border-radius: var(--r) var(--r) var(--r) var(--r); margin-bottom: 14px; }
.mini__occ { font: 400 0.76rem/1.3 var(--f-caps); letter-spacing: 0.13em; color: #CFC3CE; }
.mini__name { font: 400 1.18rem/1.25 var(--f-display); margin: 4px 0 2px; }
.mini:hover .mini__name { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.mini__price { font-weight: 500; color: var(--cream); }

/* ── Page heads ────────────────────────────────────────────── */
.page-head { background: var(--tone-t, var(--paper-2)); padding: 22px 0 clamp(36px, 5vw, 56px); }
.page-head--lilac { --tone: var(--lilac); --tone-t: var(--lilac-t); }
.page-head--ochre { --tone: var(--ochre); --tone-t: var(--ochre-t); }
.page-head--sage  { --tone: var(--sage);  --tone-t: var(--sage-t); }
.page-head--plum  { --tone: var(--plum);  --tone-t: var(--plum-t); }
.page-head--wine  { --tone: var(--wine);  --tone-t: var(--wine-t); }
.page-head--paper { --tone: var(--plum);  --tone-t: var(--paper-2); }
.page-head__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(24px, 4vw, 44px); }
.page-head__blurb { color: var(--ink-soft); font-size: 1.08rem; max-width: 36em; margin-top: 14px; }
.page-head__note { margin-top: 10px; font-size: 0.92rem; font-weight: 500; }
.page-head__glyph { width: clamp(64px, 9vw, 110px); color: var(--tone); flex: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--ink-soft); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ── Shop ──────────────────────────────────────────────────── */
.shop { padding-top: 28px; padding-bottom: clamp(64px, 9vw, 120px); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 500; font-size: 0.93rem; background: var(--paper); transition: border-color 0.2s; }
.pill:hover { border-color: var(--plum); }
.pill[aria-current="page"] { background: var(--plum); color: var(--paper); border-color: var(--plum); }
.pill[aria-current="page"] .dot { box-shadow: 0 0 0 2px var(--paper); }
.pill--wine .dot { background: var(--wine); }
.pill--lilac .dot { background: var(--lilac); } .pill--ochre .dot { background: var(--ochre); } .pill--sage .dot { background: var(--sage); } .pill--plum .dot { background: var(--plum); }
.pill[aria-current="page"].pill--plum .dot { background: var(--paper); }
.shop__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 22px 0 36px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seg { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.seg__legend { float: left; font: 400 0.82rem/1 var(--f-caps); letter-spacing: 0.14em; color: var(--ink-soft); margin-right: 14px; padding-top: 13px; }
.seg__opts { display: flex; flex-wrap: wrap; gap: 4px; background: var(--paper-2); padding: 4px; border-radius: 999px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; transition: background 0.2s; }
.seg input:checked + span { background: var(--paper); box-shadow: 0 1px 2px rgba(48, 35, 51, 0.12), 0 0 0 1px var(--line); }
.seg input:focus-visible + span { outline: 2.5px solid var(--wine); outline-offset: 2px; }
.shop__right { display: flex; align-items: center; gap: 20px; }
.shop__count { font-size: 0.9rem; color: var(--ink-soft); }
.select { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.select span { font: 400 0.82rem/1 var(--f-caps); letter-spacing: 0.14em; color: var(--ink-soft); }
select, input[type='text'], input[type='email'], input[type='tel'], input:not([type]), textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; background: #FBF8F3; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); font-size: 1rem; transition: border-color 0.2s;
}
.select select { width: auto; min-height: 42px; padding: 0 38px 0 14px; border-radius: 999px; appearance: none; background: #FBF8F3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23302333' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 12px center/18px no-repeat; font-weight: 500; }
select { appearance: none; background: #FBF8F3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23302333' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 40px; }
input:hover, select:hover, textarea:hover { border-color: var(--plum); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2.5px solid var(--wine); outline-offset: 1px; border-color: var(--plum); }
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
[aria-invalid='true'] { border-color: #A3262C !important; background: #FBF1EF; }

/* ── Empty states ──────────────────────────────────────────── */
.empty { text-align: center; padding: clamp(48px, 8vw, 96px) 20px; display: grid; justify-items: center; gap: 10px; }
.empty__smile { width: 120px; color: var(--lilac); margin-bottom: 14px; }
.empty__title { font: 400 1.8rem/1.2 var(--f-display); }
.empty__text { color: var(--ink-soft); max-width: 26em; margin-bottom: 18px; }
.empty--compact { padding: 48px 8px; }

/* ── Product page ──────────────────────────────────────────── */
.pdp { padding-top: 24px; padding-bottom: clamp(32px, 5vw, 56px); }
.pdp__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); margin-top: 24px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.gallery__main { grid-column: 2; grid-row: 1; }
.gallery__main .photo { border-radius: 999px 999px var(--r) var(--r); }
.gallery__main .photo__ph::before { display: none; }
.gallery__main .photo__glyph { width: 30%; }
.gallery__thumbs { grid-column: 1; grid-row: 1; display: grid; gap: 12px; align-content: start; }
.thumb { display: block; width: 100%; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; transition: border-color 0.2s; }
.thumb[aria-current='true'] { border-color: var(--plum); }
.thumb .photo__ph { padding: 18%; }
.thumb .photo__ph::before, .thumb .photo__name { display: none; }
.thumb .photo__glyph { width: 60%; }
.gallery:has(.gallery__thumbs[hidden]) { grid-template-columns: 1fr; }
.gallery:has(.gallery__thumbs[hidden]) .gallery__main { grid-column: 1; }
.buy__cat { display: flex; align-items: center; gap: 8px; font: 400 0.84rem/1.3 var(--f-caps); letter-spacing: 0.13em; color: var(--ink-soft); }
.buy__name { font: 400 clamp(2.2rem, 4vw, 3.3rem)/1.05 var(--f-display); letter-spacing: -0.012em; margin: 14px 0 12px; }
.buy__price { font-size: 1.4rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.buy__short { margin-top: 18px; font-size: 1.08rem; color: var(--ink-soft); max-width: 30em; }
.buy__age { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--paper-2); font-weight: 500; font-size: 0.92rem; }
.buy__age .glyph { width: 20px; color: var(--lilac-ink); transform: rotate(-30deg); }
.buy__form { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 22px; }
.buy__row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy__add { flex: 1; min-width: 220px; }
.opt__legend { font-weight: 500; font-size: 0.95rem; margin-bottom: 12px; }
.opt__legend span { color: var(--ink-soft); font-weight: 400; }
.opt__list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__item { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-size: 0.92rem; font-weight: 500; }
.opt__item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__item:has(input:checked) { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.opt__item:has(input:focus-visible) { outline: 2.5px solid var(--wine); outline-offset: 2px; }
.opt__swatch { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(48, 35, 51, 0.15); }
.sw-oat { background: #E5D9C4; } .sw-lilac { background: var(--lilac); } .sw-sage { background: var(--sage); } .sw-plum { background: var(--plum); }
.sw-sage-oat { background: conic-gradient(var(--sage) 0 25%, #E5D9C4 0 50%, var(--sage) 0 75%, #E5D9C4 0); }
.sw-plum-lilac { background: conic-gradient(var(--plum) 0 25%, var(--lilac) 0 50%, var(--plum) 0 75%, var(--lilac) 0); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; height: 42px; }
.qty--lg { height: 56px; }
.qty__btn { width: 40px; height: 100%; display: grid; place-items: center; border-radius: 999px; }
.qty--lg .qty__btn { width: 50px; }
.qty__btn .icon { width: 18px; height: 18px; }
.qty__btn:hover:not([disabled]) { background: var(--paper-2); }
.qty__btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.qty__val { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.perks { margin-top: 26px; display: grid; gap: 10px; font-size: 0.93rem; }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks .icon { color: var(--sage); }
.buy__desc { margin-top: 30px; font-size: 1.04rem; max-width: 34em; }
.acc { margin-top: 26px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc__icon { transition: transform 0.25s var(--ease); width: 20px; height: 20px; }
.acc details[open] .acc__icon { transform: rotate(45deg); }
.acc details > p, .acc details > dl { padding-bottom: 20px; color: var(--ink-soft); }
.specs { display: grid; gap: 10px; }
.specs div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; font-size: 0.95rem; }
.specs dt { font-weight: 500; color: var(--ink); }
.concept-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: 0.85rem; color: var(--ink-soft); }
.concept-note .icon { width: 18px; height: 18px; margin-top: 2px; }
.inside { margin-top: 28px; padding: 22px; border-radius: var(--r); background: var(--wine-t); }
.inside__title { font: 400 1.3rem/1.2 var(--f-display); margin-bottom: 14px; }
.inside ul { display: grid; gap: 10px; }
.inside a { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; text-decoration: none; font-weight: 500; }
.inside a:hover span:nth-child(2) { text-decoration: underline; }
.inside .photo { border-radius: var(--r-xs); }
.inside .photo__ph { padding: 14%; } .inside .photo__ph::before, .inside .photo__name { display: none; } .inside .photo__glyph { width: 70%; }
.inside__price { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.inside__note { margin-top: 14px; font-size: 0.9rem; color: var(--wine); font-weight: 500; }

/* ── Bag (lines, drawer, page) ─────────────────────────────── */
.lines { display: grid; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img .photo { border-radius: var(--r-sm); }
.line__img .photo__ph { padding: 16%; } .line__img .photo__ph::before, .line__img .photo__name { display: none; } .line__img .photo__glyph { width: 60%; }
.line__cat { font: 400 0.75rem/1.3 var(--f-caps); letter-spacing: 0.13em; color: var(--ink-soft); }
.line__name { font: 400 1.2rem/1.25 var(--f-display); margin: 3px 0 4px; }
.line__name a { text-decoration: none; } .line__name a:hover { text-decoration: underline; }
.line__opt, .line__unit { font-size: 0.86rem; color: var(--ink-soft); }
.line__controls { display: grid; justify-items: end; gap: 8px; }
.line__total { font-weight: 600; font-variant-numeric: tabular-nums; }
.line--compact { grid-template-columns: 76px 1fr; }
.line--compact .line__controls { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.line--compact .line__total { margin-left: auto; }
.meter { padding: 16px 18px; border-radius: var(--r-sm); background: var(--sage-t); }
.meter__text { font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.meter__spark { width: 14px; color: var(--sage); }
.meter__track { height: 6px; border-radius: 999px; background: rgba(89, 96, 82, 0.2); margin-top: 10px; overflow: hidden; }
.meter__track span { display: block; height: 100%; background: var(--sage); border-radius: inherit; transition: width 0.4s var(--ease); }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(48, 35, 51, 0.42); opacity: 0; transition: opacity 0.28s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.32s var(--ease); outline: none; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 14px 26px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 400 1.6rem/1.2 var(--f-display); }
.drawer__body { flex: 1; overflow: auto; padding: 18px 26px 0; display: flex; flex-direction: column; }
.drawer__body .lines { flex: 1; align-content: start; }
.drawer__foot { position: sticky; bottom: 0; background: var(--paper); padding: 18px 0 24px; display: grid; gap: 10px; border-top: 1px solid var(--line); margin-top: 8px; }
.drawer__foot .sum-row { font-size: 1.05rem; font-weight: 600; }
body.drawer-open, body.nav-open { overflow: hidden; }

.page { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(64px, 9vw, 120px); }
.page__title { margin-bottom: 32px; }
.bag { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.bag__lines .lines { margin: 8px 0 28px; }
.summary { background: var(--paper-2); border-radius: var(--r); padding: 28px; display: grid; gap: 16px; }
.summary--sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.summary__title { font: 400 1.5rem/1.2 var(--f-display); }
.summary dl { display: grid; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.95rem; }
.sum-row dd { font-variant-numeric: tabular-nums; text-align: right; }
.sum-row--muted { color: var(--ink-soft); font-size: 0.88rem; }
.sum-row--total { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line-strong); font-size: 1.15rem; font-weight: 600; }
.summary__edit { justify-self: start; }

/* ── Checkout ──────────────────────────────────────────────── */
.checkout__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.checkout__head .page__title { margin: 0; }
.demo-note { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--wine-t); color: var(--wine); font-size: 0.9rem; }
.checkout__grid { display: grid; grid-template-columns: 1fr 400px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.checkout__main { scroll-margin-top: calc(var(--header-h) + 20px); }
.steps { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; counter-reset: s; }
.steps li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); background: var(--paper-2); }
.steps__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-size: 0.8rem; font-weight: 600; }
.steps__n .icon { width: 16px; height: 16px; }
.steps .is-current { background: var(--plum); color: var(--paper); }
.steps .is-current .steps__n { background: var(--paper); color: var(--plum); }
.steps .is-done { color: var(--ink); }
.steps .is-done .steps__n { background: var(--sage); color: var(--paper); }
.recap { border: 1.5px solid var(--line); border-radius: var(--r); padding: 6px 20px; margin-bottom: 28px; }
.recap__row { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 14px; padding: 12px 0; font-size: 0.93rem; }
.recap__row + .recap__row { border-top: 1px solid var(--line); }
.recap dt { color: var(--ink-soft); }
.co-form { display: grid; gap: 18px; }
.co-form__title { font: 400 1.5rem/1.2 var(--f-display); margin: 8px 0 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.92rem; }
.field__opt { color: var(--ink-soft); font-weight: 400; }
.field__hint { font-size: 0.82rem; color: var(--ink-soft); }
.field__err { font-size: 0.85rem; color: #A3262C; font-weight: 500; min-height: 0; }
.field__err:empty { display: none; }
.co-form__actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.choice { display: grid; gap: 10px; }
.choice__item { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong); cursor: pointer; background: #FBF8F3; }
.choice__item:has(input:checked) { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.choice__item input { width: 20px; height: 20px; accent-color: var(--plum); margin: 0; }
.choice__main { display: grid; gap: 2px; }
.choice__name { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.choice__smile { width: 28px; color: var(--wine); }
.choice__sub { font-size: 0.86rem; color: var(--ink-soft); }
.choice__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.gift-extra { display: grid; gap: 12px; padding: 4px 4px 0; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--plum); flex: none; }
.check--req { padding: 16px 18px; border-radius: var(--r-sm); background: var(--paper-2); font-weight: 500; }
.demo-pay { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px; border-radius: var(--r); background: var(--wine-t); color: var(--plum); }
.demo-pay__glyph { color: var(--wine); width: 52px; }
.demo-pay__title { font: 400 1.25rem/1.25 var(--f-display); color: var(--wine); margin-bottom: 6px; }
.demo-pay p:not(.demo-pay__title) { font-size: 0.93rem; }
.mini-lines { display: grid; gap: 14px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; position: relative; }
.mini-lines .photo { border-radius: var(--r-xs); }
.mini-lines .photo__ph { padding: 12%; } .mini-lines .photo__ph::before, .mini-lines .photo__name { display: none; } .mini-lines .photo__glyph { width: 70%; }
.mini-lines__qty { position: absolute; left: 44px; top: -6px; z-index: 2; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--plum); color: var(--paper); font-size: 0.74rem; font-weight: 600; display: grid; place-items: center; }
.mini-lines__name { font-weight: 500; font-size: 0.93rem; line-height: 1.3; }
.mini-lines__meta { font-size: 0.82rem; color: var(--ink-soft); }
.mini-lines__price { font-variant-numeric: tabular-nums; font-size: 0.93rem; }

/* ── Order complete & 404 ──────────────────────────────────── */
.done, .lost { position: relative; padding: clamp(48px, 8vw, 96px) 0; overflow: hidden; }
.done__bg, .lost__bg { position: absolute; inset: 0; background: url('/assets/brand/checker-plum.svg') center/cover; }
.lost__bg { background-image: url('/assets/brand/checker-ochre.svg'); }
.done__card, .lost__card { position: relative; max-width: 680px; margin: 0 auto; background: var(--paper); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: grid; gap: 16px; }
.done__smile { width: 120px; color: var(--wine); margin-bottom: 8px; }
.done__card .eyebrow { margin: 0; }
.done__lede { color: var(--ink-soft); font-size: 1.1rem; }
.done__sub { font: 400 1.3rem/1.2 var(--f-display); margin-top: 12px; }
.done__lines { display: grid; gap: 8px; }
.done__lines li { display: flex; justify-content: space-between; gap: 16px; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.done__totals { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.done__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.lost__glyph { width: 90px; color: var(--plum); }
.lost__card p { color: var(--ink-soft); }
.lost__cats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 0.92rem; }

/* ── Content pages ─────────────────────────────────────────── */
.prose-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(64px, 9vw, 112px); align-items: start; }
.prose { max-width: 40em; }
.prose .h2 { margin: 44px 0 16px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose .h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; font-size: 1.06rem; }
.ticks { display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.ticks .icon { color: var(--sage); }
.about-art { position: sticky; top: calc(var(--header-h) + 32px); }
.project { display: grid; grid-template-columns: 64px 1fr; gap: 28px; max-width: 860px; }
.project__glyph { width: 56px; color: var(--sage); }
.project p { margin: 16px 0; color: var(--ink); }
.project .btn { margin-top: 8px; }
.help { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(64px, 9vw, 112px); }
.help__cards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.info-card { background: var(--paper-2); border-radius: var(--r); padding: 28px; display: grid; gap: 12px; align-content: start; }
.info-card > .icon { width: 30px; height: 30px; color: var(--sage); }
.info-card__glyph { width: 28px; color: var(--sage); }
.info-card h2 { font: 400 1.45rem/1.2 var(--f-display); }
.info-card p { color: var(--ink-soft); font-size: 0.96rem; }
.table { width: 100%; font-size: 0.93rem; margin: 6px 0; }
.table th, .table td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font: 400 0.78rem/1.2 var(--f-caps); letter-spacing: 0.13em; color: var(--ink-soft); }
.faq { max-width: 820px; margin-top: clamp(56px, 8vw, 96px); }
.faq .h2 { margin-bottom: 18px; }
.faq summary { font-size: 1.05rem; }
.help__more { margin-top: 24px; }
.contact { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(64px, 9vw, 112px); align-items: start; }
.contact__form { display: grid; gap: 22px; }
.contact__form .btn { justify-self: start; }
.contact__aside { display: grid; gap: 16px; }
.field-msg { font-size: 0.92rem; }
.field-msg:empty { display: none; }
.field-msg.is-ok { padding: 14px 16px; border-radius: var(--r-sm); background: var(--sage-t); color: var(--sage-ink); }
.field-msg.is-error { color: #A3262C; font-weight: 500; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--plum); color: var(--cream); margin-top: 0; }
.site-footer__band { height: 64px; background: url('/assets/img/site/checker-sage-1000.webp') center 40%/cover; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-top: 64px; padding-bottom: 48px; }
.site-footer__brand p { margin-top: 18px; color: #D9CFD8; max-width: 18em; }
.site-footer h2 { font: 400 0.84rem/1.2 var(--f-caps); letter-spacing: 0.14em; color: #CFC3CE; margin-bottom: 16px; }
.site-footer__col ul { display: grid; gap: 8px; }
.site-footer__col a { text-decoration: none; color: var(--paper); }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer__news p:not(.field-msg) { color: #D9CFD8; margin-bottom: 16px; font-size: 0.95rem; }
.inline-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.inline-form input { background: rgba(244, 239, 231, 0.08); border-color: rgba(232, 223, 208, 0.4); color: var(--paper); border-radius: 999px; padding: 0 20px; }
.inline-form input::placeholder { color: #BDB1BC; }
.inline-form input:hover { border-color: var(--cream); }
.inline-form input:focus-visible { outline-color: var(--cream); border-color: var(--cream); }
.inline-form .field-msg { grid-column: 1 / -1; }
.site-footer .field-msg.is-ok { background: rgba(232, 223, 208, 0.12); color: var(--paper); }
.site-footer .field-msg.is-error { color: #F2B8B5; }
.site-footer :focus-visible { outline-color: var(--cream); }
.site-footer [aria-invalid='true'] { background: rgba(242, 184, 181, 0.12); border-color: #F2B8B5 !important; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(232, 223, 208, 0.18); font-size: 0.84rem; color: #CFC3CE; }
.site-footer__legal p:first-child { max-width: 52em; }

/* ── Toast ─────────────────────────────────────────────────── */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, calc(100% + 40px)); display: flex; align-items: center; gap: 14px; max-width: min(520px, calc(100% - 32px)); padding: 14px 20px; border-radius: var(--r-sm); background: var(--plum); color: var(--paper); font-size: 0.93rem; box-shadow: 0 10px 30px rgba(48, 35, 51, 0.25); transition: transform 0.35s var(--ease), visibility 0s 0.35s; pointer-events: none; visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform 0.35s var(--ease); }
.toast__smile { width: 36px; color: var(--cream); flex: none; }
body.drawer-open .toast { display: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .help__cards { grid-template-columns: 1fr 1fr; }
  .help__cards .info-card:first-child { grid-column: 1 / -1; }
  .bag, .checkout__grid { grid-template-columns: 1fr 340px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header__inner { grid-template-columns: 44px 1fr auto; gap: 8px; }
  .nav-toggle { display: inline-grid; margin-left: -10px; }
  .brand { justify-self: center; }
  .logo { height: 38px; }
  .main-nav { display: none; }
  .cart-btn__label { display: none; }
  .cart-btn { padding: 0 10px; border: 0; background: transparent; }
  .hero__grid, .age, .gifts-band__grid, .pdp__grid, .prose-grid, .contact { grid-template-columns: 1fr; }
  .hero__art { width: min(100%, 380px); }
  .hero__sticker { width: 88px; height: 88px; left: -8px; }
  .hero__sticker .glyph { width: 46px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .principles__list { grid-template-columns: 1fr; gap: 36px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__main { grid-column: 1; }
  .gallery__thumbs { grid-column: 1; grid-row: 2; grid-template-columns: repeat(3, 72px); }
  .bag, .checkout__grid { grid-template-columns: 1fr; }
  .summary--sticky { position: static; order: -1; }
  .about-art { position: static; max-width: 320px; }
  .help__cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile__name { font-size: 1.25rem; padding: 12px 14px 4px; }
  .tile__blurb { display: none; }
    .tile__count { margin: 14px; padding-top: 10px; font-size: 0.82rem; }
  .grid { gap: 28px 12px; }
  .card__title { font-size: 1.12rem; }
  .card__body { grid-template-columns: 1fr; }
  .card__meta { font-size: 0.72rem; }
  .badge { top: 10px; left: 10px; }
  .age__card { grid-template-columns: 5.4rem 1fr auto; padding: 16px 18px; column-gap: 14px; }
  .age__num { font-size: 1.9rem; }
  .gifts-band__list { grid-template-columns: 1fr; }
  .mini { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: center; }
  .mini .photo { grid-row: 1 / 4; margin: 0; }
  .shop__bar { flex-direction: column; align-items: stretch; }
  .seg { display: block; }
  .seg__legend { float: none; padding: 0 0 10px; }
  .seg__opts { border-radius: var(--r-sm); }
  .seg span { padding: 8px 12px; font-size: 0.86rem; }
  .shop__right { justify-content: space-between; }
  .shop__cats { margin-inline: calc(var(--gutter) * -1); overflow-x: auto; scrollbar-width: none; }
  .shop__cats .pills { flex-wrap: nowrap; padding: 2px var(--gutter); width: max-content; }
  .line { grid-template-columns: 76px 1fr; }
  .line__controls { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; justify-content: space-between; }
  .fields { grid-template-columns: 1fr; }
  .recap__row { grid-template-columns: 1fr auto; }
  .recap__row dd:nth-of-type(1) { grid-column: 1 / -1; grid-row: 2; }
  .recap__row dt { grid-column: 1; }
  .co-form__actions { flex-direction: column-reverse; align-items: stretch; }
  .co-form__actions .btn { width: 100%; white-space: normal; text-align: center; }
  .co-form__actions .text-link { justify-content: center; }
  .demo-pay { grid-template-columns: 1fr; }
  .demo-pay__glyph { width: 40px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .inline-form { grid-template-columns: 1fr; }
  .demo-bar { font-size: 0.76rem; }
  .demo-bar__mark { display: none; }
  .buy__row { flex-direction: column; }
  .buy__row .qty { align-self: flex-start; }
  .page-head__glyph { width: 56px; }
  .project { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .pill, .cart-btn, .qty, .choice__item { border: 1px solid ButtonText; }
  .photo__glyph, .glyph { forced-color-adjust: auto; }
}
.bag > *, .checkout__grid > *, .pdp__grid > *, .line__info { min-width: 0; }
