/* =========================================================
   Forma — Autumn Register 2026
   Direction: Bento Ledger (SYSTEMS) inverted to a dark studio
   ledger. Drawn rules, brass stamp, tabular type.
   ========================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/artifacts/forma-frontend--v1--s3-alternative-direction--deepseek-4.1-flash--best-web-design--2026-09-20T13-47-18-733Z/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/artifacts/forma-frontend--v1--s3-alternative-direction--deepseek-4.1-flash--best-web-design--2026-09-20T13-47-18-733Z/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/artifacts/forma-frontend--v1--s3-alternative-direction--deepseek-4.1-flash--best-web-design--2026-09-20T13-47-18-733Z/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #14120f;
  --surface: #1b1815;
  --surface-2: #241f19;
  --ink: #f2eadb;
  --ink-soft: #d5cab6;
  --muted: #a89a82;
  --line: rgba(242, 234, 219, 0.16);
  --line-strong: rgba(242, 234, 219, 0.34);
  --accent: #e3a82b;
  --accent-hi: #f2bb46;
  --accent-ink: #191307;
  --cream: #ece1cc;
  --cream-2: #ddd0b4;
  --cream-ink: #1c1812;
  --cream-muted: #5b5143;
  --radius: 2px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% -8%, rgba(227, 168, 43, 0.09), transparent 42%),
    linear-gradient(rgba(242, 234, 219, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 234, 219, 0.028) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; }
dl, dd, dt { margin: 0; }
ol { margin: 0; padding: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

a { color: inherit; }

:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0;
}
.eyebrow--dark { color: var(--cream-ink); opacity: 0.72; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 15, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 14px 20px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
}
.brand__mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  align-self: flex-end;
  padding-bottom: 3px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--ink-soft);
  border-radius: var(--radius);
}
.site-nav a:active { color: var(--accent); transform: scale(0.97); }
.brand:active { transform: scale(0.98); }
.tally {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.tally__count {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ink { background: var(--cream-ink); color: var(--cream); border-color: var(--cream-ink); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 64px);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(3.25rem, 9.2vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-top: 22px;
}
.hero__intro {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.hero__cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__art {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 340px;
}
.hero__numeral {
  position: absolute;
  top: -0.22em;
  left: -0.04em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(8rem, 19vw, 17rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(227, 168, 43, 0.5);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero__numeral.is-tick { animation: tickNum 0.32s var(--ease); }
@keyframes tickNum {
  from { opacity: 0.25; transform: translateY(-0.06em); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__plate {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin: 0;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.hero__plate img {
  display: block;
  width: 100%;
  height: clamp(300px, 33vw, 430px);
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}
.plate-caption {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-top: 10px;
}

.season-strip {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 0.75fr 1.7fr 0.8fr 0.9fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.season-strip__cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 20px 22px;
}
.season-strip dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 9px;
}
.season-strip dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.season-strip__cell:nth-child(2) dd {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
}

/* ---------- ticker ---------- */
.ticker {
  background: var(--accent);
  color: var(--accent-ink);
  border-block: 1px solid var(--accent-ink);
  overflow: clip;
  padding-block: 11px;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker__set {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.ticker__set b { font-weight: 400; margin-inline: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- register ---------- */
.register {
  scroll-margin-top: 80px;
  padding-block: clamp(64px, 8vw, 120px) clamp(56px, 7vw, 104px);
}
.register__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.register__intro { max-width: 56ch; }
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin-top: 12px;
}
.section-lede {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--ink-soft);
}

.controls {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.field__input { position: relative; display: flex; align-items: center; }
.field__icon {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
input[type="search"] {
  height: 48px;
  width: 230px;
  padding: 0 14px 0 40px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
}
input[type="search"]::placeholder { color: var(--muted); }
.field__select { position: relative; display: flex; align-items: center; }
select {
  height: 48px;
  min-width: 186px;
  padding: 0 40px 0 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  appearance: none;
  cursor: pointer;
}
.field__chevron {
  position: absolute;
  right: 14px;
  width: 12px;
  height: 8px;
  color: var(--muted);
  pointer-events: none;
}
input[type="search"]:focus-visible,
select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.toggle__dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.toggle[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.toggle[aria-pressed="true"] .toggle__dot {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
}
.toggle:active { transform: scale(0.97); }
.toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.result-line {
  margin: 26px 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}
#resultCount { color: var(--accent); font-weight: 700; }

.register__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.register__grid[hidden] { display: none; }

/* ---------- item tile ---------- */
.item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.item[hidden] { display: none; }
.item.is-saved { box-shadow: inset 3px 0 0 var(--accent); }
.item--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: auto auto;
}
.item--featured .item__media {
  grid-column: 1;
  grid-row: 1 / 3;
  border-right: 1px solid var(--line);
  border-bottom: none;
}
.item--featured .item__media img { height: 100%; min-height: 340px; }
.item--featured .item__content { grid-column: 2; grid-row: 1; }
.item--featured .item__foot { grid-column: 2; grid-row: 2; margin-top: 0; }
.item--featured .item__title { font-size: clamp(1.9rem, 3vw, 2.8rem); }

.item__media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.item__media img {
  display: block;
  width: 100%;
  height: 214px;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.item:not(.item--featured):nth-child(even) .item__media img { height: 248px; }
.item__no {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 4px 8px;
  border-radius: var(--radius);
}
.item__content {
  padding: clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
}
.item__cat {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}
.item__title {
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.item__desc {
  margin-top: 12px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}
.item__facts {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.item__facts div { display: flex; flex-direction: column; gap: 2px; }
.item__facts dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.item__facts dd {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}

.item__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 16px clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px);
  border-top: 1px solid var(--line);
}
.item__price, .item__seats { display: flex; flex-direction: column; gap: 1px; }
.item__price span, .item__seats span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.item__price b, .item__seats b {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.item__seats b { color: var(--ink-soft); font-size: 17px; }

.open-item {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.open-item:active { transform: scale(0.97); }
.open-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.item__stamp {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 4px 9px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  transform: rotate(-7deg) scale(0.7);
  transition: opacity 0.2s var(--ease), transform 0.3s var(--ease);
}
.item.is-saved .item__stamp { opacity: 1; transform: rotate(-7deg) scale(1); }

/* ---------- reserve tile (bleeding inverted tile) ---------- */
.reserve-tile {
  grid-column: span 1;
  position: relative;
  overflow: hidden;
  margin-right: calc(-1 * var(--gutter));
  padding: clamp(24px, 2.4vw, 34px);
  padding-right: calc(var(--gutter) + 20px);
  background: var(--cream);
  color: var(--cream-ink);
  border-right: none;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reserve-tile::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 168, 43, 0.32), transparent 68%);
  pointer-events: none;
}
.reserve-tile__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(28, 24, 18, 0.55);
  margin: 6px 0 4px;
}
.reserve-tile__title {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.reserve-tile__copy {
  color: var(--cream-muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 42ch;
}
.reserve-tile .btn { margin-top: 14px; align-self: flex-start; }
.reserve-tile__note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--cream-muted);
  max-width: 46ch;
}

/* ---------- empty state ---------- */
.empty-state {
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  padding: clamp(40px, 6vw, 76px) 24px;
  text-align: center;
}
.empty-state[hidden] { display: none; }
.empty-state__mark { font-size: 30px; color: var(--accent); }
.empty-state h3 { font-size: 1.8rem; margin: 14px 0 10px; letter-spacing: -0.02em; }
.empty-state p { max-width: 48ch; margin-inline: auto; color: var(--ink-soft); }
.empty-state .btn { margin-top: 22px; }

/* ---------- practical ---------- */
.practical {
  scroll-margin-top: 80px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(64px, 8vw, 128px);
}
.practical__head { max-width: 60ch; }
.steps {
  list-style: none;
  margin-top: clamp(36px, 5vw, 58px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.step {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 2.4vw, 34px);
  transition: background-color 0.2s var(--ease);
}
.step__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 20px;
}
.step__title { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.step p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.practical__close {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.practical__line { color: var(--ink-soft); max-width: 60ch; }
.practical__line a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; padding-block: 10px; }
.practical__line a:active, .site-footer__meta a:active { color: var(--accent-hi); }

/* ---------- closing statement ---------- */
.closing {
  position: relative;
  overflow: clip;
  background: var(--bg);
  padding-block: clamp(72px, 9vw, 140px);
}
.closing__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 1040px;
}
.closing__title {
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-top: 6px;
}
.closing__line { color: var(--ink-soft); max-width: 52ch; font-size: 17px; }
.closing .btn { margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 44px;
  background: var(--bg);
}
.site-footer__inner { display: flex; flex-direction: column; gap: 10px; }
.site-footer__brand { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.site-footer__note { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.7; color: var(--muted); max-width: 78ch; }
.site-footer__meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.site-footer__meta a { color: var(--accent); text-underline-offset: 3px; padding-block: 10px; }

/* ---------- detail dialog ---------- */
.detail {
  width: min(92vw, 880px);
  max-width: 880px;
  border: none;
  padding: 0;
  background: transparent;
  color: var(--ink);
}
.detail::backdrop { background: rgba(9, 8, 6, 0.74); }
.detail__sheet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  max-height: 88vh;
  overflow: auto;
}
.detail__media { position: relative; background: var(--surface-2); }
.detail__media img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.detail__content { padding: clamp(24px, 3vw, 40px); }
.detail__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 8px 0 16px;
}
.detail__text { color: var(--ink-soft); font-size: 17px; line-height: 1.65; max-width: 56ch; }
.detail__facts {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
}
.detail__facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.detail__facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.detail__facts dd { font-family: var(--font-mono); font-size: 12px; color: var(--ink); text-align: right; }
.detail__foot {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.item__price--lg b { font-size: 26px; }
.save-item[aria-pressed="true"] {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.detail__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  background: rgba(20, 18, 15, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.detail__close:active { transform: scale(0.97); }
.detail__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.detail__stamp {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 2px solid var(--accent);
  background: rgba(20, 18, 15, 0.85);
  padding: 6px 11px;
  border-radius: var(--radius);
  opacity: 0;
  transform: rotate(-8deg) scale(0.7);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.3s var(--ease);
}
.detail.is-saved .detail__stamp { opacity: 1; transform: rotate(-8deg) scale(1); }

/* ---------- entrances (CSS-only) ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow,
.hero__title,
.hero__intro,
.hero__cta { animation: rise 0.7s var(--ease) both; }
.hero__title { animation-delay: 0.06s; }
.hero__intro { animation-delay: 0.12s; }
.hero__cta { animation-delay: 0.18s; }
.hero__art { animation: rise 0.8s var(--ease) 0.1s both; }
.season-strip { animation: rise 0.7s var(--ease) 0.24s both; }

/* ---------- hover states (fine pointers only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand__mark { background: var(--accent); color: var(--accent-ink); }
  .site-nav a:hover { color: var(--accent); background: rgba(227, 168, 43, 0.08); }
  .btn--primary:hover { background: var(--accent-hi); transform: translateY(-2px); }
  .btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
  .btn--ink:hover { background: #2b2118; transform: translateY(-2px); }
  input[type="search"]:hover, select:hover { border-color: var(--accent); }
  .toggle:hover { border-color: var(--accent); color: var(--accent); }
  .toggle[aria-pressed="true"]:hover { color: var(--accent-ink); background: var(--accent-hi); }
  .item:hover { background: var(--surface-2); }
  .item:hover .item__media img { transform: scale(1.035); filter: saturate(1) contrast(1.03); }
  .open-item:hover {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
    transform: translateY(-2px);
  }
  .step:hover { background: var(--bg); }
  .detail__close:hover { color: var(--accent); border-color: var(--accent); }
  .practical__line a:hover { color: var(--accent-hi); }
  .site-footer__meta a:hover { color: var(--accent-hi); }
  .reserve-tile .btn--ink:hover { background: #2b2118; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { justify-content: flex-start; min-height: 0; margin-top: 12px; }
  .hero__numeral { top: -0.12em; }
  .hero__plate { width: 100%; }
  .season-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .register__grid { grid-template-columns: 1fr; }
  .item--featured { grid-template-columns: 1fr; }
  .item--featured .item__media { grid-column: 1; grid-row: auto; }
  .item--featured .item__content { grid-column: 1; grid-row: auto; }
  .item--featured .item__foot { grid-column: 1; grid-row: auto; }
  .item--featured .item__media img { height: 240px; min-height: 0; }
  .reserve-tile { margin-right: 0; padding-right: clamp(24px, 2.4vw, 34px); }
  .detail__sheet { grid-template-columns: 1fr; max-height: 92vh; }
  .detail__media img { min-height: 200px; height: 210px; }
}

@media (max-width: 719px) {
  .hero__numeral { display: none; }
  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 6px;
    padding-inline-end: 24px;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 86%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent);
  }
  .site-nav::-webkit-scrollbar { height: 3px; }
  .site-nav::-webkit-scrollbar-thumb { background: var(--line-strong); }
  .tally { margin-left: auto; }
  .controls { width: 100%; }
  input[type="search"] { width: 100%; min-width: 0; }
  .field { flex: 1 1 220px; }
  .field__input, .field__select { width: 100%; }
  select { width: 100%; min-width: 0; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .season-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season-strip__cell:nth-child(2) { grid-column: 1 / -1; }
  .brand__sub { display: none; }
  .item__facts { grid-template-columns: 1fr; gap: 8px; }
  .detail__facts { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ticker__track { animation: none; justify-content: center; }
  .ticker__set:nth-child(2) { display: none; }
  .item.is-saved .item__stamp,
  .detail.is-saved .detail__stamp { transform: rotate(-7deg) scale(1); }
}
