/* ==========================================================================
   North Furnishings - design system v2 "The Floor"
   Showroom-floor retail: hang tags, signage-scale maker names, one loud colour.
   Accent is the original Square theme vermillion (#cd4631). The logo stays the
   only serif on the page. See docs/DESIGN-DIRECTION.md.
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* Colour (light) */
  --bg: #f3f3f0;            /* cool gallery white */
  --bg-2: #e6e6e1;          /* concrete: panels, image wells */
  --bg-3: #d9d9d3;
  --fg: #141413;            /* off-black: text, primary UI */
  --fg-2: #3a3a37;          /* body copy */
  --muted: #62625d;         /* secondary text, 5.5:1 on --bg */
  --line: #cfcfc8;
  --red: #cd4631;           /* brand vermillion: tags, colour block, primary buttons (4.6:1 with white) */
  --red-ink: #b3361f;       /* vermillion as text on light backgrounds */
  --on-red: #ffffff;
  --tag: #fbfaf5;           /* tag paper */
  --focus: #cd4631;
  --ok: #2f6b3a;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --condensed: 68%;
  --step--2: 0.72rem;
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  --step-3: clamp(2.2rem, 1.4rem + 3.4vw, 4.5rem);
  --step-4: clamp(2.8rem, 1.6rem + 5vw, 6rem);
  --step-hero: clamp(3rem, 1.6rem + 6.4vw, 7.5rem);

  /* Space (4px base) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section: clamp(3.5rem, 2.4rem + 5vw, 7.5rem);

  /* Layout */
  --max: 1440px;
  --gutter: clamp(1rem, 0.5rem + 2.4vw, 3rem);
  --header-h: 68px;

  /* Shape & depth: square corners, almost no shadow */
  --radius: 0;
  --rule: 2px solid var(--fg);
  --shadow-pop: 0 18px 40px -18px rgba(20, 20, 19, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --bg-2: #1c1c1a;
    --bg-3: #262623;
    --fg: #f1f1ec;
    --fg-2: #cfcfc8;
    --muted: #9d9d95;
    --line: #34342f;
    --red: #c74430;        /* 4.9:1 with white text */
    --red-ink: #ff8f78;
    --tag: #232320;
    --focus: #ff8f78;
    --ok: #7fc48a;
    --shadow-pop: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-stretch: var(--condensed); font-weight: 800;
  color: var(--fg); line-height: 0.95; letter-spacing: -0.015em; margin: 0 0 var(--s-4); text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.1; letter-spacing: -0.005em; }
p { margin: 0 0 var(--s-4); max-width: 65ch; text-wrap: pretty; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--red); color: var(--on-red); }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.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-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--fg); color: var(--bg); padding: var(--s-3) var(--s-4); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: var(--s-4); }
/* Eyebrow: mono label. Budget: max 1 per 3 sections. */
.eyebrow { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-3); }
.eyebrow--accent { color: var(--red-ink); }
.lede { font-size: var(--step-1); line-height: 1.45; color: var(--fg-2); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: 0.9em; letter-spacing: 0.01em; }
.display { font-family: var(--font-display); font-stretch: var(--condensed); font-weight: 800; letter-spacing: -0.015em; line-height: 0.95; color: var(--fg); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--panel { background: var(--bg-2); }
.section--red { background: var(--red); color: var(--on-red); }
.section--red h2, .section--red h3 { color: var(--on-red); }
.rule { border: 0; border-top: var(--rule); margin: 0; }
.stack > * + * { margin-top: var(--s-4); }

/* Section header: title with an optional action on the same baseline */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-6); }
.section-head h2 { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.8rem 1.6rem;
  border: 2px solid var(--red); border-radius: var(--radius);
  background: var(--red); color: var(--on-red);
  font-family: var(--font-display); font-stretch: 85%; font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; line-height: 1.1; text-align: center; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.1s var(--ease);
}
.btn:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--dark { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn--dark:hover { background: var(--red); border-color: var(--red); color: var(--on-red); }
.btn--light { background: var(--on-red); border-color: var(--on-red); color: #141413; }
.btn--light:hover { background: transparent; color: var(--on-red); }
.btn--block { width: 100%; }
.btn[hidden] { display: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px;
  font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; color: var(--fg); border-bottom: 2px solid var(--fg);
}
.link-arrow::after { content: "\2192"; transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--red-ink); border-color: var(--red); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Visit bar ---------- */
.visit-bar { background: #141413; color: #f3f3f0; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.04em; }
.visit-bar .container { display: flex; justify-content: center; gap: var(--s-2) var(--s-6); flex-wrap: wrap; padding-block: 0.5rem; text-align: center; }
.visit-bar a { color: inherit; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: var(--rule); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.site-logo { display: block; flex: 0 0 auto; line-height: 0; }
.site-logo img { width: clamp(168px, 28vw, 230px); height: auto; aspect-ratio: 1948 / 253; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.site-nav__list > li > a, .site-nav__shop-link {
  display: block; padding: 0.6rem 0.75rem; text-decoration: none; color: var(--fg);
  font-family: var(--font-display); font-stretch: 85%; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  border-bottom: 3px solid transparent;
}
.site-nav__list > li > a:hover, .site-nav__shop-link:hover { border-color: var(--line); }
.site-nav__list > li > a[aria-current="page"], .site-nav__shop-link[aria-current="page"] { border-color: var(--red); }
.header-actions { display: flex; align-items: center; gap: var(--s-1); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--fg); text-decoration: none; }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; background: var(--red); color: var(--on-red); font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; line-height: 20px; text-align: center; }
.cart-count[hidden] { display: none; }
.nav-toggle { display: none; }

/* Shop menu: "Shop" link + disclosure button revealing rooms, categories, makers */
.site-nav__shop { display: flex; flex-wrap: wrap; align-items: center; }
.site-nav__trigger { display: inline-grid; place-items: center; width: 32px; height: 44px; margin-left: -0.5rem; padding: 0; border: 0; background: transparent; color: var(--fg); }
.site-nav__trigger svg { transition: transform 0.2s var(--ease); }
.site-nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.no-js .site-nav__trigger { display: none; }
.shop-menu__h { margin: 0 0 var(--s-3); font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.shop-menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.shop-menu a { display: block; padding: 0.4rem 0; text-decoration: none; color: var(--fg); font-family: var(--font-display); font-stretch: var(--condensed); font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.shop-menu a:hover { color: var(--red-ink); }
.shop-menu a[aria-current="page"] { color: var(--red-ink); }
.shop-menu .btn { display: inline-flex; font-size: 1rem; font-stretch: 85%; color: var(--on-red); }
.shop-menu .btn:hover { color: var(--bg); }
@media (min-width: 900px) {
  .shop-menu { position: absolute; left: 0; right: 0; top: calc(100% + 2px); background: var(--bg); border-bottom: var(--rule); box-shadow: var(--shadow-pop); }
  .site-header__inner { position: static; }
  .shop-menu__inner { display: grid; grid-template-columns: 1fr 2fr 1.3fr auto; gap: var(--s-7); padding-block: var(--s-6) var(--s-7); }
  .shop-menu__cols { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); }
  .shop-menu__cta { align-self: end; }
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-grid; }
  .site-header__inner { gap: var(--s-2); }
  .header-actions { margin-left: auto; }
  /* Anchored to the sticky header so the visit bar can't push links off-screen */
  .site-nav { position: absolute; top: calc(100% + 2px); left: 0; right: 0; margin: 0; background: var(--bg); border-bottom: var(--rule); box-shadow: var(--shadow-pop); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--gutter) var(--s-6); }
  .site-nav__list > li > a, .site-nav__shop-link { padding: 0.85rem 0; font-size: 1.6rem; font-stretch: var(--condensed); font-weight: 800; letter-spacing: 0; border-bottom: 0; }
  .site-nav__list > li { border-bottom: 1px solid var(--line); }
  .site-nav__list > li > a[aria-current="page"], .site-nav__shop-link[aria-current="page"] { color: var(--red-ink); }
  .site-nav__shop-link { flex: 1; }
  .site-nav__trigger { width: 48px; height: 48px; margin: 0; }
  .shop-menu { flex-basis: 100%; }
  .shop-menu .container { padding-inline: 0; }
  .shop-menu__inner { display: grid; gap: var(--s-5); padding-bottom: var(--s-5); }
  .shop-menu__cols { grid-template-columns: 1fr 1fr; column-gap: var(--s-4); }
  .shop-menu a { font-size: 1.15rem; padding: 0.55rem 0; }
}
@media (max-width: 899px) { .no-js .site-nav { position: static; box-shadow: none; border: 0; flex-basis: 100%; } .no-js .site-header__inner { flex-wrap: wrap; } }
@media (max-width: 359px) { .site-logo img { width: 140px; } .header-actions { gap: 0; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding-block: var(--s-3); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.breadcrumbs a { display: inline-block; padding-block: 0.6rem; color: var(--muted); }
@media (pointer: fine) { .breadcrumbs a { padding-block: 0.35rem; } }
.breadcrumbs [aria-current] { color: var(--fg); }

/* ---------- The Tag (signature component) ----------
   A hang tag: notched left edge, punched hole, condensed price. */
.tag {
  --tag-bg: var(--tag); --tag-fg: var(--fg);
  position: relative; display: inline-flex; align-items: baseline; gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.4rem 1.45rem;
  background: var(--tag-bg); color: var(--tag-fg);
  clip-path: polygon(0.8rem 0, 100% 0, 100% 100%, 0.8rem 100%, 0 50%);
  font-family: var(--font-display); font-stretch: var(--condensed); font-weight: 800; font-size: 1.45rem; line-height: 1; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  filter: drop-shadow(0 1px 0 var(--line));
}
.tag::before { /* the punched hole */
  content: ""; position: absolute; left: 0.62rem; top: 50%; width: 0.42rem; height: 0.42rem; margin-top: -0.21rem;
  border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
}
.tag--red { --tag-bg: var(--red); --tag-fg: var(--on-red); filter: none; }
.tag--red::before { box-shadow: none; }
.tag--lg { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); padding: 0.5rem 1.2rem 0.55rem 2rem; clip-path: polygon(1.1rem 0, 100% 0, 100% 100%, 1.1rem 100%, 0 50%); }
.tag--lg::before { left: 0.85rem; width: 0.6rem; height: 0.6rem; margin-top: -0.3rem; }
.tag__note { font-family: var(--font-mono); font-stretch: 100%; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.spec { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.01em; color: var(--muted); }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-4); list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8) var(--s-5); } }
@media (min-width: 1200px) { .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.4s var(--ease); }
.card__media img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img + img { opacity: 1; }
.card:hover .card__media img { transform: scale(1.04); }
.card__noimg { display: grid; place-items: center; height: 100%; padding: var(--s-4); text-align: center; font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.card__media { order: 0; }
.card__body { order: 2; }
/* The tag hangs off the bottom edge of the photo (visual order only; DOM reads name before price) */
.card__tag { order: 1; --tag-bg: var(--red); --tag-fg: var(--on-red); filter: none; position: relative; z-index: 1; margin-top: -1.15rem; margin-left: -0.15rem; align-self: flex-start; transform-origin: 0.65rem 50%; transition: transform 0.5s var(--ease); }
.card:hover .card__tag { transform: rotate(-3deg); }
.card__tag::before { box-shadow: none; }
.card__body { display: flex; flex-direction: column; gap: 0.3rem; padding-top: var(--s-3); }
.card__maker { min-height: 1.1rem; font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.card__title { font-family: var(--font-body); font-stretch: 100%; font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem); font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--fg); margin: 0; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; } /* whole card clickable */
.card__dims { font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.02em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__dims-label { color: var(--fg-2); }
.badge { position: absolute; top: var(--s-3); left: var(--s-3); z-index: 1; padding: 0.25rem 0.55rem; background: var(--fg); color: var(--bg); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.badge--sold { background: var(--fg); color: var(--bg); }

/* ---------- Chips / filters ---------- */
.chip-row { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.4rem 1rem;
  border: 2px solid var(--fg); border-radius: var(--radius); background: transparent; color: var(--fg);
  font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.03em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.chip:hover { background: var(--bg-2); }
.chip[aria-pressed="true"], .chip[aria-current="page"], .chip.is-active { background: var(--fg); color: var(--bg); }
.chip__count { font-family: var(--font-mono); font-stretch: 100%; font-weight: 400; font-size: 0.75em; opacity: 0.7; }

/* ---------- Forms ---------- */
.field { display: grid; gap: var(--s-2); }
.field label, .label { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg); }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 0.75rem 0.95rem; border: 2px solid var(--fg); border-radius: var(--radius); background: var(--tag); color: var(--fg); font-size: 1rem; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.textarea { min-height: 160px; resize: vertical; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; }
.select { appearance: none; padding-right: 2.6rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.2rem) 52%, calc(100% - 0.85rem) 52%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
.field-hint { font-size: var(--step--1); color: var(--muted); }
.field-error { font-size: var(--step--1); color: var(--red-ink); font-weight: 600; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 0.95rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--fg); pointer-events: none; }
.search-field .input { padding-left: 2.8rem; }

/* ---------- Notice ---------- */
.notice { border: 2px solid var(--fg); border-left: 8px solid var(--red); background: var(--tag); padding: var(--s-4) var(--s-5); font-size: 0.95rem; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Info list (specs, hours) ---------- */
.info-list { display: grid; margin: 0; }
.info-list > div { display: grid; grid-template-columns: minmax(7rem, 38%) 1fr; gap: var(--s-4); padding: 0.65rem 0; }
.info-list > div + div { border-top: 1px solid var(--line); }
.info-list dt { font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.info-list dd { margin: 0; color: var(--fg); }

/* ---------- Review quote (customer reviews preserved from the original site) ---------- */
.quote { margin: 0; height: 100%; display: flex; flex-direction: column; gap: var(--s-4); }
.quote::before { content: "\201C"; display: block; height: 2.4rem; font-family: var(--font-display); font-stretch: var(--condensed); font-weight: 900; font-size: 5rem; line-height: 0.9; color: var(--red); }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-family: var(--font-display); font-stretch: 85%; font-weight: 600; font-size: var(--step-1); line-height: 1.25; color: var(--fg); }
.quote figcaption { margin-top: auto; font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); color: var(--fg-2); border-top: var(--rule); padding-block: var(--s-8) var(--s-6); font-size: 0.95rem; }
.site-footer a { color: var(--fg); text-decoration: none; }
.site-footer a:hover { color: var(--red-ink); text-decoration: underline; }
.site-footer__grid { display: grid; gap: var(--s-7) var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer__logo { width: 240px; height: auto; aspect-ratio: 1948 / 253; margin-bottom: var(--s-5); }
.site-footer h2 { font-family: var(--font-mono); font-stretch: 100%; font-size: var(--step--2); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-3); line-height: 1.4; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-footer ul a { display: inline-block; padding-block: 0.55rem; font-weight: 600; }
@media (pointer: fine) { .site-footer ul a { padding-block: 0.25rem; } }
.site-footer .hours { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem var(--s-4); margin: 0; font-family: var(--font-mono); font-size: var(--step--1); }
.site-footer .hours dt { color: var(--muted); }
.site-footer .hours dd { margin: 0; color: var(--fg); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.social { display: flex; gap: var(--s-2); }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--fg); }
.social a:hover { background: var(--fg); color: var(--bg); text-decoration: none; }
.social svg { width: 20px; height: 20px; }

/* ---------- Toast (add-to-cart feedback) ---------- */
.toast { position: fixed; left: 50%; bottom: max(var(--s-5), env(safe-area-inset-bottom)); z-index: 90; transform: translate(-50%, 160%); display: flex; align-items: center; gap: var(--s-4); width: min(92vw, 480px); padding: var(--s-4) var(--s-5); background: var(--fg); color: var(--bg); border-left: 8px solid var(--red); box-shadow: var(--shadow-pop); transition: transform 0.4s var(--ease); }
.toast.is-visible { transform: translate(-50%, 0); }
.toast a { color: inherit; font-weight: 700; margin-left: auto; white-space: nowrap; }

/* ---------- Scroll reveal (site.js adds .reveal-ready to <html> when motion is allowed) ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
