/* =====================================================================
   Forma — Autumn Season programme board
   Direction: Soft Clay (CRAFT-WARM) — chunky, hand-formed, earthy.
   Overrides: pastel lilac/peach palette inverted to an earthy clay world;
              generative SVG clay-disc artifact anchors the hero.
   Premise: "This page is a seasonal atelier's workshop programme board."
   ===================================================================== */

/* ----- Fonts (local, no runtime CDN) ----- */
@font-face {
  font-family: "Fraunces";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/fraunces-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/fraunces-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/fraunces-600i.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/dmsans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/dmsans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/dmsans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/artifacts/forma-frontend--v1--s2--glm-5.2--best-web-design--2026-09-20T14-55-13-923Z/assets/fonts/dmsans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ----- Tokens ----- */
:root {
  --bg: #f3ead9;          /* warm clay paper */
  --bg-2: #efe2cc;        /* deeper paper band */
  --surface: #fbf5ea;     /* clay wall / card */
  --surface-2: #f6ecdb;  /* card alt */
  --ink: #2a221c;         /* deep clay-brown near-ink */
  --muted: #6b5b4a;       /* warm stone (>=4.5:1 on paper) */
  --line: #e0d2ba;        /* hairline clay */
  --accent: #c4552d;      /* terracotta */
  --accent-2: #a9441f;    /* terracotta shadow */
  --accent-ink: #fff6ec;  /* text on accent */
  --sage: #7c8a5e;        /* secondary data only */
  --gold: #b78a3e;       /* tiny accents */

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --radius-xl: 44px;

  --shadow-clay:
    0 1px 1px rgba(74, 53, 38, 0.04),
    0 10px 22px -14px rgba(74, 53, 38, 0.28),
    0 22px 48px -26px rgba(74, 53, 38, 0.30);
  --shadow-press:
    0 1px 1px rgba(74, 53, 38, 0.05),
    0 4px 10px -6px rgba(74, 53, 38, 0.30),
    0 8px 20px -12px rgba(74, 53, 38, 0.22);

  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1240px;
  --gut: clamp(20px, 4vw, 48px);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: var(--accent-2); text-underline-offset: 3px; }

/* paper grain — atmosphere, kept off text */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ----- Layout helpers ----- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* visually hidden but available to AT */
.sr-only {
  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: hidden until focused */
.skip-link {
  position: absolute;
  z-index: 100;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -160%);
  background: var(--ink);
  color: var(--accent-ink);
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: transform 180ms var(--ease-out);
}
.skip-link:focus { transform: translateX(-50%) translateY(0); outline: 3px solid var(--accent); outline-offset: 2px; }

/* ----- Focus ----- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
/* keep an outline for non-keyboard focus too (legacy/mouse) on real controls */
:where(a, button, input, select, textarea):focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
:where(a, button, input, select, textarea):focus-visible { outline-style: solid; }

/* =====================================================================
   Header
   ===================================================================== */
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-mark {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #d97246, var(--accent) 60%, var(--accent-2));
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.18), inset 0 3px 5px rgba(255,255,255,0.25);
  position: relative;
}
.brand-mark::after {
  /* thumb dimple */
  content: "";
  position: absolute;
  inset: 26% 30% 30% 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(0,0,0,0.18), transparent 70%);
}
.brand-name {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.head-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background 160ms, color 160ms, transform 160ms var(--ease);
}
.head-nav a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .head-nav .nav-link:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
  .brand:hover .brand-name { color: var(--accent-2); }
}
.brand:active { transform: scale(0.98); }
.saved-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  min-height: 44px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.saved-pill .count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.saved-pill .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}
.saved-pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .saved-pill:hover { background: #1c1813; }
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 116px) clamp(40px, 6vw, 88px);
  overflow: clip;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-lead { position: relative; }
.hero h1 {
  font-size: clamp(54px, 9.4vw, 132px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-top: 18px;
  color: var(--ink);
}
.hero h1 .ital {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}
.hero h1 .amp {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
}
.hero p.lede {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}
.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-meta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.hero-meta .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 28px;
  position: relative;
}
.hero-meta .stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 8%; bottom: 8%;
  width: 1px;
  background: var(--line);
}
.hero-meta .stat:first-child { padding-left: 0; }
.hero-meta .num {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-meta .lbl {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* the clay disc artifact */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-disc {
  width: min(86%, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #e6865a 0%, var(--accent) 46%, var(--accent-2) 100%);
  box-shadow:
    inset 0 -16px 38px rgba(60, 24, 12, 0.32),
    inset 0 18px 30px rgba(255, 234, 210, 0.35),
    0 30px 60px -28px rgba(74, 53, 38, 0.55);
  position: relative;
  animation: disc-breathe 9s ease-in-out infinite;
}
/* thumb dimples */
.hero-disc::before,
.hero-disc::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, rgba(60,24,12,0.0), rgba(60,24,12,0.22) 60%, rgba(60,24,12,0.34));
  box-shadow: inset 0 4px 10px rgba(60,24,12,0.30);
}
.hero-disc::before { inset: 16% 46% 50% 18%; transform: rotate(-18deg); }
.hero-disc::after  { inset: 48% 20% 18% 50%; transform: rotate(24deg); }
.hero-disc .seal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--accent-ink);
}
.hero-disc .seal .seal-s {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: 0.01em;
  opacity: 0.95;
}
.hero-disc .seal .seal-n {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 4px;
}
.hero-disc .seal .seal-y {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 10px;
  opacity: 0.85;
  font-weight: 600;
}
/* a small floating chip-plate, the studio stamp */
.hero-stamp {
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: clamp(120px, 16vw, 168px);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-clay);
  border: 1px solid var(--line);
  transform: rotate(5deg);
}
.hero-stamp .t { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600;}
.hero-stamp .v { font-family: "Fraunces", serif; font-weight: 700; font-size: 22px; margin-top: 2px; letter-spacing: -0.02em; }
.hero-stamp .v small { font-size: 13px; color: var(--muted); font-weight: 500; font-family: "DM Sans", sans-serif; }

/* entrance */
.hero-lead > * { animation: rise 0.7s var(--ease-out) both; }
.hero-lead .eyebrow { animation-delay: 0.04s; }
.hero-lead h1 { animation-delay: 0.10s; }
.hero-lead .lede { animation-delay: 0.18s; }
.hero-lead .hero-cta { animation-delay: 0.26s; }
.hero-lead .hero-meta { animation-delay: 0.34s; }
.hero-art { animation: rise 0.9s var(--ease-out) 0.16s both; }
.hero-stamp { animation: rise 0.8s var(--ease-out) 0.40s both; }

/* =====================================================================
   Buttons / chips
   ===================================================================== */
.btn {
  --b: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  background: var(--ink);
  color: var(--accent-ink);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease-out), background 180ms;
  box-shadow: 0 6px 0 -1px rgba(42,34,28,0.0);
}
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn .arrow { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .arrow { transform: translateX(4px); }
  .btn--accent:hover { background: var(--accent-2); }
  .btn--ghost:hover { background: var(--ink); color: var(--accent-ink); }
}
.btn:active { transform: translateY(1px) scale(0.98); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent-2);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}
.chip--sage { background: color-mix(in srgb, var(--sage) 16%, var(--surface)); color: #44502f; border-color: color-mix(in srgb, var(--sage) 30%, transparent); }
.chip--gold { background: color-mix(in srgb, var(--gold) 18%, var(--surface)); color: #6b4f12; border-color: color-mix(in srgb, var(--gold) 34%, transparent); }
.chip--ink  { background: var(--ink); color: var(--accent-ink); border-color: transparent; }

/* =====================================================================
   Controls (search / filter / saved)
   ===================================================================== */
.season {
  padding-block: clamp(8px, 2vw, 24px) clamp(48px, 6vw, 80px);
  position: relative;
}
.season-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 20px;
  margin-bottom: 28px;
}
.season-head h2 {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.season-head h2 em { font-style: italic; color: var(--accent); font-weight: 600; }
.season-head .tagline {
  color: var(--muted);
  font-size: 16px;
  max-width: 52ch;
}

.controls {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay);
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field > label .k { color: var(--accent-2); }

.search {
  position: relative;
}
.search input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px 12px 44px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-size: 16px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 180ms, box-shadow 180ms;
}
.search input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.search input:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 0; }
.search .ico {
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.search .clear {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 160ms, color 160ms;
}
.search .clear[data-show="1"] { display: inline-flex; }
.search .clear:active { transform: translateY(-50%) scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .search .clear:hover { background: var(--bg-2); color: var(--ink); }
}

.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 50px;
  padding: 12px 42px 12px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-size: 16px;
  font-family: inherit;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 180ms, box-shadow 180ms;
}
.select-wrap select:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 0; }
.select-wrap .chev {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted); pointer-events: none;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: background 180ms, border-color 180ms, color 180ms, transform 200ms var(--ease);
}
.toggle .switch {
  position: relative;
  width: 46px; height: 28px;
  border-radius: 999px;
  background: var(--line);
  flex: 0 0 46px;
  transition: background 200ms var(--ease-out);
}
.toggle .switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 220ms var(--ease);
}
.toggle[aria-pressed="true"] { background: var(--ink); color: var(--accent-ink); border-color: var(--ink); }
.toggle[aria-pressed="true"] .switch { background: var(--accent); }
.toggle[aria-pressed="true"] .switch::after { transform: translateX(18px); background: var(--accent-ink); }
.toggle:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .toggle:hover { border-color: var(--accent); }
  .toggle[aria-pressed="false"]:hover { background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
}
.toggle .lbl-on, .toggle .lbl-off { display: inline; }
.toggle[aria-pressed="true"] .lbl-off { display: none; }
.toggle[aria-pressed="false"] .lbl-on { display: none; }

/* result line */
.result-line {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.result-line .num { color: var(--ink); font-weight: 700; }
.result-line .sep { opacity: 0.4; }

/* =====================================================================
   Workshop grid (masonry-style, avoids equal rows)
   ===================================================================== */
.board {
  margin-top: 28px;
  column-count: 2;
  column-gap: 26px;
}
@media (max-width: 760px) {
  .board { column-count: 1; }
}

.item {
  position: relative;
  break-inside: avoid;
  display: block;
  margin: 0 0 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay);
  overflow: hidden;
  text-align: left;
  /* the whole card is the open control via .open-item overlay */
}
.item:first-child {
  column-span: all;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  margin-bottom: 30px;
}
.item:first-child .item-media { min-height: 360px; }
.item:first-child .item-body { padding: clamp(22px, 3vw, 40px); }
.item:first-child .item-title { font-size: clamp(30px, 3.6vw, 46px); }

.item-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
}
.item:first-child .item-media { aspect-ratio: auto; min-height: 360px; height: 100%; }
.item-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 300ms var(--ease-out), filter 200ms;
}
.item-media .cat-tag {
  position: absolute;
  top: 14px; left: 14px;
}
.item-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.item-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--ink);
}
.item-desc {
  color: color-mix(in srgb, var(--ink) 76%, transparent);
  font-size: 15px;
  line-height: 1.55;
  /* clamp to ~3 lines for tidy masonry */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.item-meta .m { display: inline-flex; align-items: baseline; gap: 6px; }
.item-meta .k {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.item-meta .v { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.item-meta .price .v { color: var(--accent-2); }
.item-meta .seats .v { color: var(--ink); }
.item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.item-open-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-2);
  font-size: 15px;
}
.item-open-label .arrow {
  transition: transform 240ms var(--ease-out);
}
.item-saved-mark {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 999px;
  padding: 5px 11px;
}
.item[data-saved="true"] .item-saved-mark { display: inline-flex; }

/* The stretched open-item control covers the card for click/keyboard */
.open-item {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: inherit;
}
.open-item::after {
  /* focus ring sits on the card edge */
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: calc(var(--radius-lg) - 6px);
  outline: none;
  box-shadow: 0 0 0 0 var(--accent);
  transition: box-shadow 180ms var(--ease-out);
}
.open-item:focus-visible { outline: none; }
.open-item:focus-visible::after { box-shadow: 0 0 0 3px var(--accent); }

/* hover: card lifts and image scales; works on focus-within too */
@media (hover: hover) and (pointer: fine) {
  .item:hover { transform: translateY(-4px); transition: transform 260ms var(--ease); }
  .item:hover .item-media img { transform: scale(1.04); }
  .item:hover .item-open-label .arrow { transform: translateX(5px); }
}
.item:has(.open-item:focus-visible) { box-shadow: var(--shadow-clay), 0 0 0 3px var(--accent); }
.item:has(.open-item:active) { transform: translateY(0) scale(0.995); }

/* =====================================================================
   Empty state
   ===================================================================== */
.empty {
  margin-top: 28px;
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 24px;
  background: var(--surface);
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: var(--radius-lg);
}
.empty .ico {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  display: grid; place-items: center;
  color: var(--accent-2);
}
.empty h3 { font-size: 26px; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 42ch; margin: 0 auto 22px; }

/* =====================================================================
   Detail dialog
   ===================================================================== */
dialog.detail {
  width: min(1080px, calc(100vw - 32px));
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  margin: auto;
  inset: 0;
  overflow: visible;
}
dialog.detail::backdrop {
  background: color-mix(in srgb, var(--ink) 62%, transparent);
  backdrop-filter: blur(4px);
}
.detail-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(28,20,14,0.6);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  max-height: 92vh;
}
.detail-media { position: relative; background: var(--bg-2); overflow: hidden; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.detail-media .cat-tag { position: absolute; top: 16px; left: 16px; }
.detail-media .seal-overlay {
  position: absolute;
  right: 16px; bottom: 16px;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  text-align: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-clay);
}
.detail-body {
  padding: clamp(22px, 3vw, 38px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.detail-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.detail-eyebrow { color: var(--muted); }
.detail-title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.0;
}
.detail-title em { font-style: italic; color: var(--accent); font-weight: 600; }
.detail-body-text {
  font-size: 17px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--ink) 86%, transparent);
  max-width: 52ch;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  background: var(--surface-2);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fact .k { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact .v { font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.fact .v.big { font-family: "Fraunces", serif; font-size: 24px; letter-spacing: -0.02em; color: var(--accent-2); }

.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }

/* save-item toggle — the thumbprint signature */
.save-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 24px 12px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 200ms var(--ease-out), color 200ms, transform 200ms var(--ease), border-color 200ms;
  overflow: hidden;
}
.save-btn .thumb {
  position: relative;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  color: var(--accent);
  transition: transform 260ms var(--ease), color 200ms;
}
.save-btn .thumb svg { width: 100%; height: 100%; }
.save-btn .thumb::after {
  /* the impression that stamps in */
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  opacity: 0;
  transition: transform 300ms var(--ease), opacity 200ms;
  z-index: -1;
}
.save-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.save-btn[aria-pressed="true"] .thumb { color: var(--accent-ink); transform: rotate(-8deg); }
.save-btn[aria-pressed="true"] .thumb::after { transform: scale(1); opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .save-btn:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
  .save-btn[aria-pressed="true"]:hover { background: var(--accent-2); border-color: var(--accent-2); }
}
.save-btn:active { transform: scale(0.97); }
.save-btn .stamp-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid; place-items: center;
}
.save-btn .stamp-burst svg {
  width: 140%; height: 140%;
  opacity: 0;
  transform: scale(0.4) rotate(-12deg);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease);
}
.save-btn.is-stamping .stamp-burst svg { opacity: 0.5; transform: scale(1) rotate(0deg); }

.close-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms, transform 200ms var(--ease);
}
.close-detail .x { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .close-detail:hover { background: var(--ink); color: var(--accent-ink); border-color: var(--ink); }
}
.close-detail:active { transform: scale(0.97); }

/* dialog entrance */
dialog.detail[open] { animation: dialog-in 280ms var(--ease-out) both; }
dialog.detail[open] .detail-card { animation: dialog-card 360ms var(--ease) both; }

/* =====================================================================
   How it works
   ===================================================================== */
.how { padding-top: 0; }
.how-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.how-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.how-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.how-step:last-child { border-bottom: 1px solid var(--line); }
.how-n {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.how-text h3 { font-size: 20px; margin-bottom: 4px; font-weight: 600; }
.how-text p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.how-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-clay);
}
.how-quote {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  margin-top: 14px;
  letter-spacing: -0.02em;
}
.how-attr {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 760px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-card { order: -1; }
}

/* =====================================================================
   Footer
   ===================================================================== */
.site-foot {
  margin-top: clamp(48px, 7vw, 96px);
  padding-block: clamp(40px, 5vw, 64px);
  background: var(--ink);
  color: var(--accent-ink);
}
.site-foot .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.site-foot h4 {
  color: var(--accent-ink);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.7;
}
.foot-brand {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.foot-brand em { font-style: italic; color: #e9a07a; }
.foot-blurb { margin-top: 14px; color: color-mix(in srgb, var(--accent-ink) 78%, transparent); max-width: 38ch; font-size: 15px; }
.foot-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-list a, .foot-list li {
  color: color-mix(in srgb, var(--accent-ink) 78%, transparent);
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}
@media (hover: hover) and (pointer: fine) {
  .foot-list a:hover { color: var(--accent-ink); text-decoration: underline; }
}
.foot-bottom {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--accent-ink) 18%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  color: color-mix(in srgb, var(--accent-ink) 60%, transparent);
  font-size: 13px;
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; max-width: 360px; margin-inline: auto; width: 100%; }
  .controls { grid-template-columns: 1fr; }
  .controls .field--saved { order: 3; }
  .detail-card { grid-template-columns: 1fr; max-height: 88vh; }
  .detail-media { max-height: 36vh; }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
  .site-foot .foot-brand-block { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .head-nav .nav-link { display: none; } /* replaced by scroll row below */
  .head-nav-scroll {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline-end: 24px;
  }
  .head-nav-scroll::-webkit-scrollbar { display: none; }
  .head-nav-scroll a {
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    min-height: 40px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    background: color-mix(in srgb, var(--ink) 5%, transparent);
    flex: 0 0 auto;
  }
  .head-nav-scroll a:active { transform: scale(0.97); }
  @media (hover: hover) and (pointer: fine) {
    .head-nav-scroll a:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }
  }
  .site-head .wrap { flex-wrap: wrap; gap: 10px; min-height: auto; padding-block: 12px; }
  .brand { margin-right: 0; }
  .head-nav { width: 100%; }
  .item:first-child { grid-template-columns: 1fr; }
  .item:first-child .item-media { min-height: 240px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(40px, 9vw, 56px); line-height: 1.02; }
  .hero p.lede { font-size: 16px; }
  .hero-stamp { right: 0; }
}
@media (min-width: 761px) {
  .head-nav-scroll { display: none; }
}
@media (max-width: 480px) {
  .hero-meta { gap: 14px 24px; }
  .hero-meta .stat { padding-inline: 18px; }
  .hero-meta .stat:first-child { padding-left: 0; }
  .hero-meta .num { font-size: 24px; }
  .detail-actions { flex-direction: column; align-items: stretch; }
  .save-btn, .close-detail { width: 100%; }
}

/* =====================================================================
   Motion
   ===================================================================== */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes disc-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.03) rotate(1.5deg); }
}
@keyframes dialog-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes dialog-card {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes item-enter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.item.enter { animation: item-enter 0.42s var(--ease-out) both; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-disc { animation: none; }
}
