/* RODA design system 4 of 10: components. Every corner is 28px, controls 16px, dots are circles. */

*, *::before, *::after { box-sizing: border-box; }
/* smoothness lives on the anchor click in site.js, not here: a global scroll-behavior obeys every
   programmatic scroll, so an in-flight page is what a flythrough test photographs (network finding 16) */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--text);
  padding-left: var(--rail);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
/* --maxw is the widest cut the file actually has (macros.html pic). A frame never draws a
   photograph past its own pixels; when the frame is the wider of the two the photo centres
   in it instead of being blown up. */
picture > img { max-width: min(100%, var(--maxw, 100%)); margin-inline: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--on-band); padding: 12px 18px; border-radius: var(--radius-control); }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
/* Bagel Fat One draws an ink box of 1.441 em measured 24.09, so a line box tighter than that lets
   the glyphs out of it and the heading sits on the line above. These leadings keep the overhang under
   the gap the eyebrow rule below hands every heading. */
.display-xl { font: 400 184px/0.96 var(--display); letter-spacing: -0.01em; }
.headline-lg { font: 400 56px/1.12 var(--display); }
.headline-md { font: 400 36px/1.16 var(--display); }
.title-md { font: 800 22px/1.3 var(--text); }
.body-lg { font-size: 19px; line-height: 1.65; }
.body-sm { font: 500 14px/1.55 var(--text); }
.muted { color: var(--muted); }
.eyebrow { font: 700 14px/1.3 var(--text); color: var(--sage-deep); margin: 0 0 14px; }
/* .section-head p zeroes that margin, which left the eyebrow and the heading ink boxes touching on
   22 headings per width. The heading keeps its own gap in its own em, so it scales with the size. */
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3, .eyebrow + p.display-xl { margin-top: 0.2em; }
@media (max-width: 899px) {
  .display-xl { font-size: 72px; line-height: 0.98; }
  .headline-lg { font-size: 34px; line-height: 1.14; }
  .headline-md { font-size: 28px; }
}

/* ---------- brand mark ---------- */
/* C3: every one of these was a live link under 44 px in one direction on every page of the site */
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.mark svg { width: 26px; height: 26px; flex: none; }
.mark__word { font: 400 26px/1 var(--display); letter-spacing: 0.01em; }
.mark__sub { font: 700 14px/1.15 var(--text); color: var(--muted); max-width: 9ch; }

/* ---------- link text roll ---------- */
/* the mask has to clear the ink box of whatever is inside it: Bagel Fat One needs 1.45 em, Nunito 1.36 */
.roll { display: inline-grid; overflow: hidden; vertical-align: bottom; line-height: 1.3; height: 1.4em; }
.roll > span { grid-area: 1 / 1; transition: transform var(--t-mid) var(--ease-flat); white-space: nowrap; }
.roll > span + span { transform: translateY(100%); }
a:hover > .roll > span:first-child, a:focus-visible > .roll > span:first-child,
button:hover > .roll > span:first-child { transform: translateY(-100%); }
a:hover > .roll > span + span, a:focus-visible > .roll > span + span,
button:hover > .roll > span + span { transform: translateY(0); }
.textlink { text-decoration: none; font-weight: 800; border-bottom: 2px solid var(--outline); }
.footer__card .textlink { display: inline-flex; align-items: center; min-height: 44px; align-self: start; }
.prose a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--hero); }
.prose a:hover { text-decoration-color: var(--ink); }

/* ---------- buttons: fill grows as a circle from the cursor ---------- */
.btn {
  --x: 50%; --y: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--radius-control); border: 2px solid var(--ink);
  background: var(--ink); color: var(--on-band);
  font: 700 16px/1 var(--text); text-decoration: none; cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: var(--accent-deep);
  clip-path: circle(0 at var(--x) var(--y));
  transition: clip-path var(--t-slow) var(--ease-flat);
}
.btn:hover::before, .btn:focus-visible::before { clip-path: circle(150% at var(--x) var(--y)); }
.btn:hover, .btn:focus-visible { border-color: var(--accent-deep); color: var(--on-band); }
.btn__arrow { font-weight: 800; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--bg); color: var(--ink);
  font: 800 14px/1 var(--text); text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
}
.pill-btn:hover { background: var(--ink); color: var(--on-band); }

/* ---------- rail (desktop) ---------- */
.rail {
  position: fixed; inset: 0 auto 0 0; z-index: 60; width: var(--rail);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 24px 0; background: var(--surface); border-right: 1px solid var(--outline);
}
.burger {
  width: 52px; height: 52px; border: 0; background: transparent; cursor: pointer;
  display: grid; align-content: center; justify-items: start; gap: 5px; padding: 0 15px; border-radius: var(--radius-control);
}
/* the three lines are all 22px and are shortened with scaleX: animating width re-ran layout on every frame */
.burger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transform-origin: left center; transition: transform var(--t-mid) var(--ease); }
.burger span:nth-child(2) { transform: scaleX(.68); }
.burger span:nth-child(3) { transform: scaleX(.86); }
.burger:hover span { transform: none; }
.burger[aria-expanded="true"] span:nth-child(2) { transform: scaleX(.27); }
.rail__labels { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.rail__labels li { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.rail__labels li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--hero); }
.rail__labels a {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 700 14px/1 var(--text); letter-spacing: 0.04em; text-decoration: none; padding: 6px 0;
  color: var(--muted);
  /* the rotated label was 18 px across; the tap target now fills the rail, the glyphs stay centred */
  min-width: 44px; display: flex; justify-content: center;
}
.rail__labels a:hover, .rail__labels a[aria-current="page"] { color: var(--sage-deep); }
.rail__labels .roll { height: auto; width: 1.4em; }
.rail__labels .roll > span + span { transform: translateX(-100%); }
.rail__labels a:hover .roll > span:first-child { transform: translateX(100%); }
.rail__labels a:hover .roll > span + span { transform: translateX(0); }
.round-icon {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--bg); color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast);
}
.round-icon:hover { background: var(--ink); color: var(--on-band); }
.round-icon svg { width: 20px; height: 20px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar);
  display: flex; align-items: center; gap: 32px; padding: 0 12px 0 36px;
  background: var(--bg);
}
.topbar__links { display: flex; gap: 28px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.topbar__links a { text-decoration: none; font: 700 16px/1 var(--text); display: inline-flex; align-items: center; min-height: 44px; }  /* was 22 px tall (audit 29.09, finding 49) */
.topbar__links a[aria-current="page"] { color: var(--sage-deep); }
.topbar__cta { margin-left: 8px; }

/* ---------- drawer from the left ---------- */
.scrim { position: fixed; inset: 0; z-index: 55; background: var(--scrim); opacity: 0; visibility: hidden; transition: opacity var(--t-mid), visibility var(--t-mid); }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; z-index: 58; top: 0; bottom: 0; left: var(--rail); width: min(420px, 100vw);
  display: flex; flex-direction: column; gap: 28px; padding: 28px 32px 32px; overflow-y: auto;
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow);
  transform: translateX(calc(-100% - var(--rail))); visibility: hidden; overscroll-behavior: contain;
  /* no overshoot here: a springy ease pulled the panel past the rail and showed a strip of page behind it */
  transition: transform var(--t-slow) cubic-bezier(.22, 1, .36, 1), visibility var(--t-slow);
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.drawer__nav a { font: 400 40px/1.18 var(--display); text-decoration: none; }
.drawer__nav a:hover { color: var(--sage-deep); }
.drawer__nav .roll { line-height: 1.15; height: 1.46em; }
.drawer__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.drawer__thumbs a { display: grid; gap: 6px; text-decoration: none; font: 700 14px/1.2 var(--text); }
/* a real square cut from build/make_squares.py stands behind this 1:1 frame, so cover has nothing left to crop */
.drawer__thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-thumb); background: var(--bg); }
.drawer__contact { margin-top: auto; font-size: 15px; color: var(--muted); }
.drawer__contact a { font-weight: 800; color: var(--ink); }
.drawer__search { display: none; }

/* ---------- search panel ---------- */
.search {
  position: fixed; z-index: 58; left: calc(var(--rail) + 12px); bottom: 12px; width: min(520px, calc(100vw - 24px));
  max-height: min(640px, calc(100vh - 24px)); display: flex; flex-direction: column; gap: 14px; padding: 24px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  transform: translateY(24px); opacity: 0; visibility: hidden;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-mid), visibility var(--t-mid);
}
.search.is-open { transform: none; opacity: 1; visibility: visible; }
.search__results { list-style: none; margin: 0; padding: 0; overflow-y: auto; display: grid; gap: 6px; }
.search__results a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--radius-control); background: var(--bg); text-decoration: none; font-weight: 700; }
.search__results a:hover { background: var(--ink); color: var(--on-band); }
.search__results small { color: inherit; opacity: .7; font-weight: 600; }

/* ---------- bottom tab bar (mobile) ---------- */
.tabbar { display: none; }
@media (max-width: 899px) {
  .rail, .topbar__links, .topbar__cta { display: none; }
  .topbar { padding: 0 16px; }
  body { padding-bottom: calc(var(--tabbar) + 12px + env(safe-area-inset-bottom)); }
  /* an anchor that lands in the last 68 px of the screen would open under the bar */
  html { scroll-padding-bottom: calc(var(--tabbar) + 16px); }
  .drawer { left: 0; width: 100vw; border-radius: 0; padding: 20px 20px calc(var(--tabbar) + 32px); transform: translateX(-100%); z-index: 70; }
  .drawer__nav a { font-size: 34px; }
  .drawer__search { display: block; }
  .scrim { z-index: 65; }
  .search { left: 12px; bottom: calc(var(--tabbar) + 12px); z-index: 72; }
  .tabbar {
    position: fixed; z-index: 80; left: 0; right: 0; bottom: 0;
    height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    background: var(--surface); border-top: 1px solid var(--outline); border-radius: var(--radius) var(--radius) 0 0;
  }
  /* Audit 29.09 (B2): on the first screen the bar lay over the lead and the hero thumbnails, and
     the line right above its rounded edge showed as half-letters, cut by the curve and by the
     raised Request circle. The page is not shortened for that (a fixed bar covers something at
     every scroll position); instead a veil in the bar's own surface rises 36 px above it and over
     its corners, so a line fades into the bar instead of being sliced (a backdrop blur was tried
     and left the half-letters readable). Text under the opaque bar is covered, not overlapped:
     build/check_pages.js judges that by the element on top and counts it (b2covered). */
  .tabbar::before {
    content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: calc(100% - var(--radius)); height: calc(var(--radius) + 36px);
    pointer-events: none; background: linear-gradient(to bottom, rgba(247, 248, 242, 0), rgba(247, 248, 242, .92) 55%);
  }
  .tab {
    display: grid; justify-items: center; gap: 3px; min-height: 52px; padding: 6px 0; border: 0; background: none;
    font: 700 14px/1 var(--text); color: var(--muted); text-decoration: none; cursor: pointer;
  }
  .tab svg { width: 22px; height: 22px; }
  .tab[aria-current="page"] { color: var(--sage-deep); }
  .tab--cta { position: relative; top: -12px; }
  .tab--cta .tab__circle {
    width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ink); color: var(--on-band); box-shadow: 0 8px 20px rgba(43, 33, 28, .25);
  }
  .tab--cta span:last-child { color: var(--ink); }
}

/* ---------- panels ---------- */
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-panel); padding: 0 12px 12px; }
.stack > *, .footer > * { min-width: 0; }
.panel { position: relative; background: var(--surface); border-radius: var(--radius); padding: var(--section) clamp(16px, 5vw, 72px); }
.panel--hero { background: var(--hero); }
.panel--band { background: var(--band); color: var(--on-band); }
.panel--bg { background: transparent; }
.panel--tight { padding-block: calc(var(--section) * .55); }
.grid10 { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; }
.lead { font-size: 19px; line-height: 1.65; max-width: 64ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 28px; margin-bottom: 44px; }
.section-head p { max-width: 56ch; margin: 0; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--band); color: var(--on-band-muted); border-radius: var(--radius); padding: 26px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear var(--marquee-delay, 0s) infinite; will-change: transform; backface-visibility: hidden; }
/* paused off screen, and off entirely for reduced motion: the global rule below removes every animation,
   this one keeps the track at its start so the words read left to right instead of mid-scroll */
.marquee.is-off .marquee__track { animation-play-state: paused; }
.marquee__track span { font: 800 44px/1 var(--text); letter-spacing: 0.01em; white-space: nowrap; padding-right: 0.6em; }
.marquee--names .marquee__track span { font-size: 30px; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 899px) { .marquee__track span { font-size: 28px; } .marquee--names .marquee__track span { font-size: 22px; } .marquee { padding: 18px 0; } }

/* ---------- collection rows (pills) ---------- */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; position: relative; }
.row {
  display: grid; grid-template-columns: 64px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) 52px; align-items: center; gap: 20px;
  padding: 8px 8px 8px 8px; border-radius: 999px; background: var(--surface); text-decoration: none;
  transition: background var(--t-mid) var(--ease-flat), color var(--t-mid) var(--ease-flat);
}
.panel .row { background: var(--bg); }
/* same square cut: a circle cannot take a 1.45:1 file, so the file takes the circle */
.row__thumb { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--input); }
.row__name { font: 400 28px/1.15 var(--display); }
.row__meta { font: 700 15px/1.3 var(--text); color: var(--muted); transition: color var(--t-mid); }
.row__arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; justify-self: end;
  background: var(--surface); color: var(--ink); transition: transform var(--t-slow) var(--ease), background var(--t-mid);
}
.row__arrow svg { width: 20px; height: 20px; }
.row:hover, .row:focus-visible { background: var(--ink); color: var(--on-band); }
.row:hover .row__meta, .row:focus-visible .row__meta { color: var(--on-band-muted); }
.row:hover .row__arrow, .row:focus-visible .row__arrow { transform: rotate(-45deg); background: var(--accent); color: var(--ink); }
.row[hidden] { display: none; }
.row-preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: 280px; height: 200px; pointer-events: none;
  border-radius: var(--radius); overflow: hidden; background: var(--input); box-shadow: var(--shadow);
  opacity: 0; transform: translate3d(-9999px, 0, 0) scale(.85); transition: opacity var(--t-mid), scale var(--t-mid) var(--ease);
}
.row-preview.is-on { opacity: 1; scale: 1; }
.row-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .row { grid-template-columns: 52px minmax(0, 1fr) 44px; gap: 12px; border-radius: 32px; }
  .row__thumb { width: 52px; height: 52px; }
  .row__name { font-size: 22px; }
  .row__meta--designer, .row__meta--count { display: none; }
  .row__arrow { width: 44px; height: 44px; }
  .row-preview { display: none; }
}
@media (hover: none) { .row-preview { display: none; } }

/* ---------- segmented tabs ---------- */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: calc(var(--radius-control) + 4px); background: var(--input); margin-bottom: 20px; }
.seg button { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius-control); background: transparent; font: 700 15px/1 var(--text); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-band); }

/* ---------- cards (elastic) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
/* min-width: 0 everywhere down the card: a grid item's automatic minimum is its min-content,
   and a cut-out render's intrinsic width burst its 204 px track on /collections/eden/ and took
   the whole page 4 px sideways at 768 */
.card, .card__body, .card__photo, .card__foot { min-width: 0; }
.card__body { display: grid; gap: 14px; transition: transform var(--t-slow) var(--ease); }
.card__photo { border-radius: var(--radius); overflow: hidden; background: var(--input); transition: box-shadow var(--t-slow); }
/* --ar is the photograph's own proportion, published on the tag by the pic macro: the frame
   follows the file instead of cutting every catalog shot into a portrait (audit A2, 24.09) */
.card__photo img { width: 100%; aspect-ratio: var(--ar, 1.56); object-fit: cover; }
.card__photo--piece img { aspect-ratio: 1; object-fit: contain; background: #F4F3F1; }
/* the pill never wraps, so a long piece name plus the pill asked 258 px of a 204 px track and
   took /collections/eden/ 4 px sideways at 768. The foot wraps by the track it is in, not by the
   width of the window, which is what the phone rule below was doing. */
.card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.card__name { font: 800 19px/1.25 var(--text); margin: 0; min-width: 0; overflow-wrap: break-word; }
.card__name a { display: inline-block; padding: 3px 0; }
.card__sub { font: 600 14px/1.4 var(--text); color: var(--muted); margin: 2px 0 0; }
.card a { text-decoration: none; }
.card:hover .card__body { transform: translateY(-10px); animation: sway 900ms var(--ease) 1; }
.card:hover .card__photo { box-shadow: var(--shadow); }
@keyframes sway { 0% { rotate: 0deg; } 25% { rotate: -1.4deg; } 55% { rotate: 1deg; } 80% { rotate: -0.4deg; } 100% { rotate: 0deg; } }

.motion [data-elastic] > [data-card] { opacity: 0; transform: translateY(40px); }

/* ---------- hotspots ---------- */
.spots { position: relative; border-radius: var(--radius); overflow: visible; }
.spots > picture img, .spots > img { border-radius: var(--radius); width: 100%; }
.spot { position: absolute; z-index: 3; transform: translate(-50%, -50%); }
.spot__dot {
  width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(43, 33, 28, .25);
  font: 800 18px/1 var(--text); opacity: 0; scale: .6; transition: opacity var(--t-mid), scale var(--t-slow) var(--ease), rotate var(--t-mid) var(--ease), background var(--t-fast);
}
.spot__dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.spots:hover .spot__dot, .spots:focus-within .spot__dot, .spots.is-touched .spot__dot { opacity: 1; scale: 1; }
@media (hover: none) { .spot__dot { opacity: 1; scale: 1; } }
.spot__dot[aria-expanded="true"] { background: var(--accent); rotate: 45deg; }
.spot__tip {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); width: max-content; max-width: 240px;
  padding: 12px 16px; border-radius: var(--radius-control); background: var(--surface); box-shadow: var(--shadow);
  font: 600 14px/1.4 var(--text);
}
.spot__tip[hidden] { display: none; }
.spot__tip strong { display: block; font-weight: 800; font-size: 15px; }
.spot__tip a { font-weight: 800; }

/* ---------- cursor bubble ---------- */
.cursor-bubble {
  position: fixed; left: 0; top: 0; z-index: 90; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none; background: var(--ink); color: #fff;  /* 01.10: black with white text, client */
  font: 800 14px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0; scale: .3; transition: opacity var(--t-fast), scale var(--t-mid) var(--ease);
}
.cursor-bubble.is-on { opacity: 1; scale: 1; }
@media (pointer: coarse), (hover: none) { .cursor-bubble { display: none; } }
@media (pointer: fine) { [data-view], [data-view] a { cursor: none; } }

/* ---------- forms: filled, no border ---------- */
.form { display: grid; gap: 18px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { font: 700 15px/1.2 var(--text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 18px; border: 0; border-radius: var(--radius-control);
  background: var(--input); color: var(--ink); font: 500 16px/1.4 var(--text); appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B211C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 3px var(--sage-deep); background-color: #fff; }
.field [aria-invalid="true"] { box-shadow: 0 0 0 2px var(--error); }
.field input::placeholder, .field textarea::placeholder { color: #7B746C; }
/* the rendered Turnstile widget is 74 px tall: reserve it so the panel does not jump when the
   lazy-loaded widget appears */
.cf-turnstile { min-height: 74px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; font-weight: 700; margin: 0; }
.form__status.is-error { color: var(--error); }
.form__status.is-ok { color: var(--sage-deep); }
.form__after { font: 600 15px/1.5 var(--text); color: var(--muted); margin: 0; }
@media (max-width: 599px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- schedules ----------
   No grid tables on the network since 30.09: schedules are plaques and collection carousels
   (site.css). The lone link under a section head keeps its 44 px target (network finding 49). */
.section-head .textlink, .linkline .textlink { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- infographic: bubbles ---------- */
/* .infographic is the figure itself: build_site.py --check looks for it on every content page,
   and until now nothing in the CSS answered to it, so the figure kept the browser's own
   40 px side margins inside the panel. */
.infographic { margin: 0; }
.bubbles__map { width: 100%; height: auto; display: block; overflow: visible; }
.bubbles__map .b-line { fill: none; stroke: var(--ink); stroke-opacity: .28; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 9; }
.bubbles__map .b-hub { fill: var(--ink); }
.bubbles__map .b-hub-t { fill: var(--on-band); font: 400 40px var(--display); }
.bubbles__map .b-num { font: 400 46px var(--display); }
.bubbles__map .b-lab { font: 700 17px var(--text); }
.bubbles__map .tone-surface { fill: var(--surface); }
.bubbles__map .tone-hero { fill: var(--hero); }
.bubbles__map .tone-bg { fill: var(--bg); }
.bubbles__map .tone-rose { fill: var(--accent-deep); }
.bubbles__map .ink-dark { fill: var(--ink); }
.bubbles__map .ink-light { fill: var(--on-band); }
.bubbles__list { display: none; list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.bubbles__list::before { content: ""; position: absolute; left: 9px; top: 18px; bottom: 18px; border-left: 2.5px dotted rgba(43, 33, 28, .35); }
.bubbles__list li { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 12px 18px; margin-bottom: 10px; border-radius: var(--radius); background: var(--bg); }
.bubbles__list li::before { content: ""; position: absolute; left: -23px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--hero); }
.bubbles__list li:nth-child(3n+2) { background: var(--hero); }
.bubbles__list li:nth-child(4n) { background: var(--accent-deep); color: var(--on-band); }
.bubbles__list b { font: 400 30px/1 var(--display); flex: none; }
.bubbles__list span { font: 700 15px/1.35 var(--text); }
.bubbles__list .hub { background: var(--ink); color: var(--on-band); }
.bubbles__list .hub b { font-size: 26px; }
.bubbles figcaption { margin-top: 14px; font: 600 14px/1.5 var(--text); color: var(--muted); }
/* Text inside an SVG is drawn at the scale of the viewBox, not at the size the stylesheet names
   (network finding 17). This map is 960 units wide, so a 17 px label is drawn at 17 x (column / 960):
   10.7 px in a 606 px column, 11.8 px in a 667 px one. Measured 24.09 across the five audit widths,
   the column first reaches the 790 px that keeps the label at 14 px at a viewport of 1024; the swap is set at 1080 so
   the smallest label the map ever draws is 15.2 px, not 14.3. The list is HTML and keeps its type. */
@media (max-width: 1079px) { .bubbles__map { display: none; } .bubbles__list { display: block; } }

/* ---------- footer ---------- */
.footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-panel); padding: 0 12px 12px; }
.footer__panel {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1.1fr); gap: 48px; align-items: start;
  padding: 64px clamp(20px, 4vw, 56px); border-radius: var(--radius); background: var(--band); color: var(--on-band);
}
.footer__brand .mark svg { width: 64px; height: 64px; color: var(--hero); }
.footer__brand .mark__word { font-size: 64px; }
.footer__brand p { margin: 18px 0 0; color: var(--on-band-muted); font-size: 15px; max-width: 34ch; }
/* Audit 29.09 (network finding 49): each link is the whole of its list item, so the WCAG 2.5.8
   "link in a sentence" exception does not apply, and at 30 px tall every footer link on every page
   was a target under 44. The link is 44 tall now and the row gap gives back what it grew. */
.footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.footer__links a { text-decoration: none; font: 700 17px/1.3 var(--text); color: var(--on-band); display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.footer__links a:hover { color: var(--hero); }
.footer__card { display: grid; gap: 16px; padding: 24px; border-radius: var(--radius-thumb); background: var(--surface); color: var(--ink); }
.footer__card p { margin: 0; font-weight: 700; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-start; padding: 6px 8px 4px; font: 500 14px/1.5 var(--text); color: var(--muted); }
.footer__legal a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
@media (max-width: 1099px) { .footer__panel { grid-template-columns: 1fr 1fr; } .footer__card { grid-column: 1 / -1; } }
@media (max-width: 599px) { .footer__panel { grid-template-columns: 1fr; gap: 36px; padding-block: 44px; } .footer__brand .mark__word { font-size: 48px; } .footer__brand .mark svg { width: 48px; height: 48px; } }
/* the rolling link text cannot wrap, so on a narrow phone the two link columns put "Italian outdoor sofas" past the panel edge: below 420 px they stack instead */
@media (max-width: 420px) { .footer__links { grid-template-columns: minmax(0, 1fr); } }

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .card:hover .card__body { transform: none; }
  .marquee__track { transform: none; will-change: auto; }
  .motion [data-elastic] > [data-card] { opacity: 1; transform: none; }
}
