/* The storefront's two steps, /store/ (the plan picker, then step 2's style)
   and /cart/ (the same page with its cart drawer open), in English and
   French. Hand-edited; the pages that load it are written by
   site/tools/build_store.py.

   The landing page's look (owner, 2026-09-25: "make it as clean as the rest
   of the landing page"; site/new/src/css/00-base.css): a white ground, one
   clean sans at big airy sizes, near-black pills, amber only on the one
   primary button, few words, soft cards. Amber is never a price, a badge, a
   label or a hover on anything but that button. A pill is ink or grey.

   D6: white is the default ground; `?ground=dark` (html without
   `data-ground="light"`) keeps the dark one. */

:root {
  --ground:    #FFFFFF;
  --surface:   #F5F5F4;
  --raised:    #FFFFFF;
  --line:      #E7E5E4;
  --line-soft: rgba(17, 17, 16, 0.07);
  --ink:       #111110;
  /* ~7.5:1 on white: everything secondary a person must read. */
  --ink-mid:   #57534E;
  /* ~5.6:1: captions and quiet numbers. */
  --ink-dim:   #6B6661;
  --live:      #E9A23B;
  --dark:      #111110;
  --on-dark:   #FFFFFF;
  --studio:    #FEFEFE;

  --sans: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(1rem, 5vw, 3rem);
  --radius: 24px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
/* `?ground=dark`: the old dark ground, same shapes. */
html:not([data-ground="light"]) {
  --ground:    #0B0A09;
  --surface:   #1C1917;
  --raised:    #141210;
  --line:      #2A2622;
  --line-soft: rgba(242, 239, 234, 0.08);
  --ink:       #F2EFEA;
  --ink-mid:   #B8B2AA;
  --ink-dim:   #8A847C;
  --dark:      #F2EFEA;
  --on-dark:   #0B0A09;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, fieldset, ul { margin: 0; }
h1, h2, h3 { font-family: var(--sans); text-wrap: balance; }
h1 { font-weight: 500; font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1.02; letter-spacing: -0.035em; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled, a.button[aria-disabled="true"] { cursor: not-allowed; opacity: 0.5; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); }
.ic { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 60; padding: 12px 16px; background: var(--ink); color: var(--ground); border-radius: 999px; }
.skip:focus { top: 16px; }
.fine { font-size: 15px; color: var(--ink-dim); line-height: 1.5; }
.note { margin-top: 14px; font-size: 15px; color: var(--ink-mid); line-height: 1.5; }
.error { margin-top: 12px; font-size: 15px; color: var(--ink); }
.error:empty { display: none; }
/* A price slot is empty until pricing.js fills it; its room is kept so the
   line never moves when the number lands. */
.amt { display: inline-block; min-width: 3.2ch; }
.amt:not(:empty), .plan .amt:not(:empty), .summary .amt:not(:empty), .member .amt:not(:empty) { display: inline; min-width: 0; }

/* --- controls: the landing's pills ------------------------------------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--surface); font-size: 17px; font-weight: 600; line-height: 1.2; text-align: center; transition: background-color 160ms, color 160ms, transform 160ms; }
.button .ic { width: 20px; height: 20px; }
.button.primary { background: var(--live); color: #16120A; }
.button.primary:hover { background: #F0B14F; }
/* The unselected plans: a quiet grey pill, clearly a button. */
.button.muted { background: var(--surface); color: var(--ink); }
.button.muted:hover { background: var(--line); }
.button:active { transform: scale(0.98); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--line); }
.text-link:hover { text-decoration-color: currentColor; }

/* --- nav: the landing's — the mark and RELAY, the language, one pill ----- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-size: 20px; font-weight: 600; letter-spacing: .02em; line-height: 1; color: var(--ink); }
.brand .mark { width: 36px; height: 19px; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.locale { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; color: var(--ink-mid); }
.locale:hover { color: var(--ink); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--dark); color: var(--on-dark); font-size: 15px; font-weight: 600; transition: background-color 160ms; }
.cart-link:hover { background: #2B2A28; }
html:not([data-ground="light"]) .cart-link:hover { background: #FFFFFF; }
.cart-link .ic { width: 18px; height: 18px; }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; margin-right: -6px; border-radius: 10px; background: var(--on-dark); color: var(--dark); font-size: 13px; line-height: 20px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }

footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer-inner { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 15px; color: var(--ink-dim); }
.footer-inner .brand { font-size: 18px; }
.footer-inner .brand .mark { width: 30px; height: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 16px; color: var(--ink-mid); }
.footer-links a:hover { color: var(--ink); }
.footer-inner > span { margin-left: auto; }

.ship-to { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-dim); }
.ship-to select { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--ground); color: var(--ink); font-size: 15px; cursor: pointer; }
.ship-to select:hover { border-color: var(--ink-dim); }

/* --- the step row: four quiet numbers under the nav --------------------- */
.steps { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0; padding: 8px 0 0; list-style: none; }
.step { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-dim); }
.step + .step::before { content: ""; width: 20px; height: 1px; background: var(--line); margin-right: 2px; }
.step-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); font-size: 13px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.step[data-state="done"] { color: var(--ink-mid); }
.step[data-state="done"] .step-n { border-color: var(--ink-mid); }
.step[data-state="now"] { color: var(--ink); font-weight: 500; }
.step[data-state="now"] .step-n { background: var(--ink); border-color: var(--ink); color: var(--ground); }

/* --- /store/: the plan picker ------------------------------------------- */
.picker { padding-top: 16px; padding-bottom: clamp(5rem, 10vw, 8rem); }
.picker-head { text-align: center; margin-top: clamp(3rem, 7vw, 5.5rem); }
.picker-head .sub { max-width: 46ch; margin: 18px auto 0; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.4; color: var(--ink-mid); text-wrap: balance; }

/* Step 1 and step 2 are one page; `html[data-view]` (set before the first
   paint from `?step=style` or /cart/) says which shows. */
html[data-view="style"] .view-plan, html:not([data-view="style"]) .view-style { display: none; }
.picker-head h1:focus { outline: none; }
.view-plan .plans { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* Four calm cards in one row. Each is a subgrid of the row's six tracks, so
   the names, the prices and the buttons line up whatever each card says. */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); column-gap: 16px; row-gap: 0; margin: 0 auto; }
.plan { position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; min-width: 0; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); cursor: pointer; transition: border-color 200ms, box-shadow 200ms; }
.plan[data-plan="teams"] { cursor: default; }
.plan:hover { border-color: var(--ink-dim); }
.plan[data-selected] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
/* The one pill, the 2-year saving: small, grey or ink, never amber. */
.ribbon, .ribbon-room { justify-self: start; align-self: start; height: 28px; margin-bottom: 18px; }
.ribbon { display: inline-block; line-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.plan[data-selected] .ribbon { background: var(--ink); color: var(--ground); }
.ribbon .amt:empty { min-width: 3.4ch; }
.plan h2 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 20px; }
.price-line .big { font-size: clamp(2.6rem, 4vw, 3.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price-line .big .amt:empty { min-width: 3.4ch; }
.price-line .compare { font-size: 17px; color: var(--ink-dim); text-decoration-thickness: 1px; }
.price-line .compare .amt:empty { min-width: 4ch; }
.price-line .today { font-size: 17px; color: var(--ink-mid); }
.plan .per { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--ink-mid); }
.plan .per .amt:empty { min-width: 2.6ch; }
.plan-foot { grid-row: span 2; display: grid; grid-template-rows: subgrid; padding-top: 28px; }
.plan-foot .button { width: 100%; padding-inline: 16px; }
.renew { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-dim); }

.view-plan > .error { text-align: center; margin-top: 20px; }
.terms { max-width: 640px; margin: 40px auto 0; text-align: center; font-size: 15px; line-height: 1.55; color: var(--ink-dim); text-wrap: pretty; }
.terms .text-link { min-height: 0; color: var(--ink-mid); }
.terms-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-top: 16px; }

/* --- step 2: choose your style ----------------------------------------- */
/* A large gallery of the studio photographs, left, on their own white
   sweep; the one choice, right. */
.style-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 400px); justify-content: center; align-items: start; gap: 72px; margin-top: clamp(3rem, 6vw, 4.5rem); }
.gallery { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--studio); border: 1px solid var(--line-soft); }
.gallery-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { box-shadow: inset 0 0 0 2px #111110; }
.slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 1 / 1; }
.slide picture, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.gallery-foot { position: absolute; left: 24px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.gallery-bar { flex: 1 1 auto; height: 2px; margin-right: 12px; border-radius: 2px; background: rgba(17, 17, 16, 0.12); overflow: hidden; }
.gallery-bar span { display: block; height: 100%; border-radius: 2px; background: #111110; transition: transform 320ms var(--ease-out); }
.gallery-arrow { pointer-events: auto; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #FFFFFF; color: #111110; box-shadow: 0 1px 2px rgba(17, 17, 16, 0.12), 0 0 0 1px rgba(17, 17, 16, 0.06); transition: opacity 200ms; }
.gallery-arrow .ic { width: 20px; height: 20px; }
.gallery-arrow:disabled { opacity: 0.4; cursor: default; }
.gallery-arrow:focus-visible { outline-color: #111110; }

.style-pick { display: grid; gap: 0; padding-top: 4px; }
.pick-group { padding: 0; margin: 0; border: 0; min-width: 0; }
.pick-group + .pick-group { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.pick-group legend { padding: 0; }
.style-pick h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; }
.style-pick h3 { font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.pick-now { margin-top: 8px; font-size: 17px; color: var(--ink-mid); }
.pick-now b { color: var(--ink); font-weight: 600; }
.pick-note { margin-top: 2px; font-size: 15px; line-height: 1.5; color: var(--ink-dim); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.swatch-opt { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; cursor: pointer; }
.swatch-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch { display: block; width: 50px; height: 50px; border-radius: 50%; background: var(--surface) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(17, 17, 16, 0.1); }
/* The chosen one: a ring with a gap. Ink, never amber. */
.swatch-opt::after, .lens-opt .swatch::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; transition: border-color 200ms; }
.swatch-opt:has(input:checked)::after { border-color: var(--ink); }
.swatch-opt:hover::after { border-color: var(--line); }
.swatch-opt:has(input:checked):hover::after { border-color: var(--ink); }
.swatch-opt:has(input:focus-visible) { outline: 2px solid var(--live); outline-offset: 3px; }
.lenses { gap: 8px; }
.lens-opt { display: grid; justify-items: center; gap: 8px; min-width: 76px; min-height: 44px; padding: 4px 4px 2px; border: 0; background: none; color: var(--ink-mid); font-size: 15px; }
.lens-opt .swatch { position: relative; width: 44px; height: 44px; }
.lens-opt .swatch::after { inset: -4px; }
.lens-opt[aria-pressed="true"] { color: var(--ink); }
.lens-opt[aria-pressed="true"] .swatch::after { border-color: var(--ink); }
.lens-opt:hover .swatch::after { border-color: var(--line); }
.lens-opt[aria-pressed="true"]:hover .swatch::after { border-color: var(--ink); }
.pick-frame { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink-mid); }
.pick-frame span { font-weight: 600; color: var(--ink); }
.style-continue { width: 100%; margin-top: 32px; }
.pick-included { margin-top: 16px; text-align: center; font-size: 15px; color: var(--ink-dim); }
.pick-plan { text-align: center; font-size: 15px; color: var(--ink-dim); }
.pick-plan .text-link { min-height: 44px; color: var(--ink-mid); }

/* --- the questions ------------------------------------------------------- */
.faq { max-width: 760px; margin: clamp(5rem, 11vw, 8rem) auto 0; }
.faq h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 24px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa-plus { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.qa-plus::before, .qa-plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--ink-mid); transition: transform 200ms; }
.qa-plus::after { transform: rotate(90deg); }
.qa[open] .qa-plus::after { transform: rotate(0deg); }
.qa p { padding: 0 48px 24px 0; font-size: 17px; line-height: 1.6; color: var(--ink-mid); }
.qa .text-link, .faq-more .text-link { min-height: 0; }
.faq-more { margin-top: 20px; font-size: 15px; color: var(--ink-mid); }

/* --- the cart drawer ----------------------------------------------------- */
/* A white sheet from the right over the dimmed page; a full-screen sheet on
   a phone. The light tokens are redeclared on the panel so it stays white
   whatever the ground. */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(17, 17, 16, 0.32); opacity: 0; transition: opacity 280ms var(--ease-out); }
.drawer-panel {
  --ground:  #FFFFFF;
  --surface: #F5F5F4;
  --raised:  #FFFFFF;
  --line:    #E7E5E4;
  --ink:     #111110;
  --ink-mid: #57534E;
  --ink-dim: #6B6661;
  color-scheme: light;
  position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(460px, 100%);
  background: var(--ground); color: var(--ink); box-shadow: -24px 0 64px rgba(17, 17, 16, 0.12);
  transform: translateX(100%); transition: transform 320ms var(--ease-out); outline: none;
}
.drawer[data-open] .drawer-scrim { opacity: 1; }
.drawer[data-open] .drawer-panel { transform: none; }
.drawer-panel :focus-visible { outline-color: var(--ink); }
body.drawer-lock { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 16px 8px 28px; }
.drawer-head h2 { font-size: 28px; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.drawer-x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.drawer-x:hover { background: var(--surface); }
.drawer-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 8px 28px 28px; }
#cart-content { display: grid; gap: 0; }
.dcard { padding: 0; background: none; }
.dcard + .dcard { margin-top: 20px; }

.member-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 4px; }
.member-head h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.member-head .text-link { min-height: 36px; font-size: 15px; color: var(--ink-mid); }
.member-note { margin-top: 8px; padding: 12px 16px; border-radius: 16px; background: var(--surface); font-size: 15px; }
.items { list-style: none; padding: 0; }
.item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.thumb { display: block; width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: var(--studio); border: 1px solid var(--line); }
/* A <picture> is the tile itself, so the grid sees one cell. */
.item picture { display: block; width: 56px; height: 56px; }
img.thumb { padding: 4px; }
img.thumb[data-case-photo] { object-fit: cover; padding: 0; }
.mark-thumb { display: grid; place-items: center; background: #111110; border-color: #111110; }
.mark-thumb img { width: 36px; height: auto; }
.icon-thumb { display: grid; place-items: center; background: var(--surface); border-color: var(--surface); color: var(--ink); }
.icon-thumb .ic { width: 22px; height: 22px; }
.item-text { display: flex; flex-direction: column; min-width: 0; }
.item-name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.item-sub { margin-top: 2px; font-size: 15px; line-height: 1.35; color: var(--ink-dim); }
.item-right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; white-space: nowrap; }
.item-free, .item-price { font-size: 16px; font-weight: 600; line-height: 1.3; }
.item-free { color: var(--ink-mid); font-weight: 500; }
.item-price .amt:empty { min-width: 3.4ch; }
.qty { margin-top: 2px; font-size: 13px; color: var(--ink-dim); }
.trial-back { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-dim); }

.summary { padding-top: 20px; border-top: 1px solid var(--line); }
.summary .sum-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; }
.summary .sum-line + .sum-line { margin-top: 6px; }
.summary .sum-total { font-size: 18px; font-weight: 600; }
.summary .sum-total .amt { font-variant-numeric: tabular-nums; }
.summary .sum-total .amt:empty { min-width: 4ch; }
.summary .sum-ship { font-size: 15px; color: var(--ink-mid); }
.summary .sum-ship span { white-space: nowrap; }
.summary .sum-ship span:last-child { color: var(--ink-dim); text-align: right; }
.summary .button { width: 100%; margin-top: 20px; }
.renew-fine { margin-top: 12px; text-align: center; }
.renew-fine:empty { display: none; }

.gift { padding: 4px 16px; border-radius: 16px; background: var(--surface); }
.check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; font-size: 16px; font-weight: 600; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-label { flex: 1 1 auto; }
.check .box { width: 24px; height: 24px; border: 1.5px solid var(--ink-dim); border-radius: 7px; display: grid; place-items: center; flex: 0 0 auto; background: var(--ground); }
.check input:checked ~ .box { background: var(--ink); border-color: var(--ink); }
.check input:checked ~ .box::after { content: ""; width: 11px; height: 6px; border: 2px solid var(--ground); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.check input:focus-visible ~ .box { outline: 2px solid var(--ink); outline-offset: 3px; }
.check .ic { width: 20px; height: 20px; }
.gift-fields { padding: 4px 0 16px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 15px; color: var(--ink-mid); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--ground); color: var(--ink); font-size: 17px; line-height: 1.4; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.counter { margin-top: -8px; text-align: right; font-size: 13px; color: var(--ink-dim); }

.drawer-foot { display: grid; justify-items: center; gap: 2px; padding-top: 8px; text-align: center; }
.drawer-foot .secure { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-dim); }
.drawer-foot .secure .ic { width: 16px; height: 16px; }
.drawer-foot .text-link { min-height: 0; }
.drawer-foot .ship-to { margin-top: 8px; }

.cart-empty { display: grid; justify-items: center; gap: 16px; padding: 88px 16px; text-align: center; }
.cart-empty .ic { width: 40px; height: 40px; color: var(--ink-dim); }
.cart-empty p { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-mid); }

/* --- widths -------------------------------------------------------------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(12, auto); row-gap: 16px; max-width: 760px; }
}
@media (max-width: 860px) {
  :root { --radius: 20px; }
  .brand > span { font-size: 18px; }

  .step + .step::before { width: 14px; }
  .picker-head { margin-top: 40px; }
  .style-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; }
  .gallery { margin: 0 calc(-1 * var(--pad)); border-radius: 0; border: 0; }
  .gallery-arrow { display: none; }
  .gallery-foot { left: 16px; right: 16px; bottom: 14px; }
  .gallery-bar { margin-right: 0; }
  .style-pick { padding-top: 0; }
  .plans { display: flex; flex-direction: column; gap: 12px; }
  .plan { display: block; padding: 24px 20px 20px; }
  .ribbon-room { display: none; }
  .ribbon { position: absolute; top: 22px; right: 20px; margin: 0; }
  .price-line { margin-top: 12px; }
  .price-line .big { font-size: 44px; }
  .plan-foot { display: block; padding-top: 20px; }
  .qa p { padding-right: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-inner > span { margin-left: 0; }
  /* On a phone the drawer is a full-screen sheet from the bottom. */
  .drawer-panel { width: 100%; transform: translateY(100%); box-shadow: none; }
  .drawer-head { padding: 12px 8px 4px 20px; }
  .drawer-body { padding: 4px 20px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .plan, .drawer-scrim, .drawer-panel, .qa-plus::before, .qa-plus::after,
  .gallery-bar span, .gallery-arrow, .swatch-opt::after, .lens-opt .swatch::after, .cart-link { transition: none; }
  .button:active { transform: none; }
}

/* The step row is the numbered circles only (owner, 2026-09-26: "Keep the old
   progress bar without the labels"); each step keeps its words for screen
   readers in .vh. */
.step-label { display: none; }
