/* ==========================================================================
   BRATNBIER — design system
   Built to the official brand guideline (weDO Creative Solutions):
   Fatback cream ground, Black Chasm ink, War Paint Red accent, Orange Pop
   highlight. Varna blackletter for statements, Jeko geometric sans for
   everything else — served here as Grenze Gotisch / Jost until the licensed
   originals are dropped into /assets/fonts (family names already aliased).
   ========================================================================== */

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Grenze Gotisch';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/grenze-gotisch-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/jost-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/jost-latin-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- tokens (brand palette, page 12–13 of the guideline) ---------- */
:root {
  --paper:      #fff7ee;  /* Fatback */
  --paper-2:    #fffdf8;  /* card surface */
  --navy:       #0f2b38;  /* Black Chasm */
  --navy-2:     #14364a;  /* lifted navy for dark surfaces */
  --red:        #d6521c;  /* War Paint Red */
  --red-deep:   #b8431a;
  --yellow:     #fcbd40;  /* Orange Pop */

  --tx:         var(--navy);
  --tx-dim:     rgba(15, 43, 56, 0.72);
  --tx-mute:    rgba(15, 43, 56, 0.52);
  --line:       rgba(15, 43, 56, 0.16);
  --line-soft:  rgba(15, 43, 56, 0.09);

  /* dark-section counterparts */
  --cream:      #fff7ee;
  --cream-dim:  rgba(255, 247, 238, 0.75);
  --cream-mute: rgba(255, 247, 238, 0.5);
  --line-cream: rgba(255, 247, 238, 0.16);

  --font-black: 'Varna', 'Grenze Gotisch', 'Iowan Old Style', serif;
  --font-body:  'Jeko', 'Jost', 'Century Gothic', 'Futura', sans-serif;

  --shell: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 6px;
  --radius-lg: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 78px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--tx);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 10000;
  background: var(--navy); color: var(--cream); padding: 0.6rem 1rem;
  font-weight: 600; border-radius: var(--radius);
  transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- typography ----------
   Jeko-style sans for headings (sentence case, like the guideline's own
   section titles); Varna-style blackletter reserved for brand statements. */
h1, h2, h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; line-height: 1.04; }
h1 { font-size: clamp(2.8rem, 7.5vw, 6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4, h5 { font-weight: 600; font-size: 1.05rem; line-height: 1.35; }

.display, .blackletter { font-family: var(--font-black); font-weight: 500; letter-spacing: 0.01em; line-height: 1; }
.lead { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.4rem); line-height: 1.55; color: var(--tx-dim); font-weight: 300; }
.muted { color: var(--tx-mute); }
.small { font-size: 0.875rem; }

.eyebrow {
  font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase;
  font-weight: 600; color: var(--red); display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: var(--red); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ''; width: 26px; height: 1.5px; background: var(--red); }

.prose p + p, .prose p + ul, .prose ul + p, .prose p + h3, .prose ul + h3 { margin-top: 1.15em; }
.prose h3 { margin-top: 2.2em; color: var(--red); }
.prose h3:first-child { margin-top: 0; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--navy); }
.prose ul { display: grid; gap: 0.55rem; }
.prose ul li { padding-left: 1.5rem; position: relative; color: var(--tx-dim); }
.prose ul li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.prose strong { color: var(--tx); font-weight: 600; }

/* ---------- layout ---------- */
.shell { width: min(100% - (var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.shell--narrow { max-width: 820px; }
.section { padding-block: clamp(4rem, 8vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.stack { display: grid; gap: 1.5rem; }
.stack--sm { gap: 0.75rem; }
.stack--lg { gap: 2.5rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ''; width: 26px; height: 1.5px; background: var(--red); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide { grid-template-columns: 1.15fr 0.85fr; } .split--flip > *:first-child { order: 2; } }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.8rem 1.6rem; border: 2px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius); cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  transform: translateY(101%); transition: transform 0.4s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--cream); border-color: var(--navy); }
.btn--primary { --btn-bg: var(--red); --btn-fg: #fff7ee; --btn-bd: var(--red); }
.btn--primary:hover, .btn--primary:focus-visible { border-color: var(--navy); }
.btn--ghost { --btn-bd: rgba(15,43,56,0.35); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.76rem; border-width: 1.5px; }
.btn--lg { padding: 1rem 2.1rem; font-size: 0.93rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; color: var(--red);
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.link-arrow::after { content: '→'; transition: transform 0.35s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- ticker ---------- */
.ticker {
  background: var(--red); color: var(--cream); overflow: hidden;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  padding-block: 0.55rem; position: relative; z-index: 60;
}
.ticker__track { display: flex; gap: 2.25rem; width: max-content; animation: marquee 42s linear infinite; padding-left: 2.25rem; }
.ticker__track span { white-space: nowrap; }
.ticker b { font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--red); }

/* ---------- header ---------- */
/* Sits above .mega (z-index 95) so the close button stays clickable while the
   overlay is open. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: transform 0.45s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-stuck { background: color-mix(in srgb, var(--paper) 96%, transparent); border-bottom-color: var(--line-soft); box-shadow: 0 14px 40px -28px rgba(15,43,56,0.35); }
.site-header.is-hidden { transform: translateY(-102%); }
.site-header__inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand__crest { height: 44px; width: auto; transition: transform 0.5s var(--ease); }
.brand:hover .brand__crest { transform: rotate(-5deg) scale(1.05); }
.brand__word { height: 26px; width: auto; }
@media (max-width: 400px) { .brand__word { height: 22px; } }

.site-nav { margin-left: auto; }
.site-nav > ul { display: none; gap: clamp(0.5rem, 1.6vw, 1.6rem); }
@media (min-width: 1080px) { .site-nav > ul { display: flex; } }
.site-nav__item { position: relative; }
.site-nav__item > a {
  display: block; padding: 0.6rem 0.35rem; font-size: 0.84rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-dim);
  transition: color 0.3s var(--ease);
}
.site-nav__item > a::after {
  content: ''; display: block; height: 2px; margin-top: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.site-nav__item:hover > a, .site-nav__item.is-active > a { color: var(--tx); }
.site-nav__item:hover > a::after, .site-nav__item.is-active > a::after { transform: scaleX(1); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: -1rem; min-width: 270px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 0.5rem; display: grid; gap: 1px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  box-shadow: 0 26px 50px -22px rgba(15,43,56,0.4);
}
.site-nav__item:hover .dropdown, .site-nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { padding: 0.6rem 0.8rem; border-radius: var(--radius); display: grid; gap: 1px; transition: background 0.25s var(--ease); }
.dropdown a:hover { background: rgba(214,82,28,0.08); }
.dropdown a span { font-weight: 600; font-size: 0.92rem; }
.dropdown a small { color: var(--tx-mute); font-size: 0.78rem; }

.site-header__actions { display: flex; align-items: center; gap: 0.85rem; margin-left: auto; }
@media (min-width: 1080px) { .site-header__actions { margin-left: 0; } }

.open-state { display: none; align-items: center; gap: 0.45rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-mute); }
@media (min-width: 720px) { .open-state { display: inline-flex; } }
.open-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--tx-mute); }
.open-state.is-open i { background: #3e8e5a; box-shadow: 0 0 0 0 rgba(62,142,90,0.6); animation: pulse 2.4s infinite; }
.open-state.is-closed i { background: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(62,142,90,0); } 100% { box-shadow: 0 0 0 0 rgba(62,142,90,0); } }

.burger { width: 42px; height: 42px; border: 1.5px solid var(--line); background: none; border-radius: var(--radius); display: grid; place-content: center; gap: 4px; cursor: pointer; transition: border-color 0.3s var(--ease); }
.burger:hover { border-color: var(--red); }
.burger span { display: block; width: 16px; height: 2px; background: var(--navy); transition: transform 0.4s var(--ease), opacity 0.25s var(--ease); }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- mega menu ---------- */
.mega { position: fixed; inset: 0; z-index: 95; display: grid; align-items: start; overflow-y: auto; }
.mega[hidden] { display: none; }
.mega__bg {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease);
  background: var(--paper);
}
.mega.is-open .mega__bg { opacity: 0.99; }
.mega__inner { position: relative; padding-block: calc(var(--header-h) + 3rem) 4rem; }
.mega__grid { display: grid; gap: clamp(1.5rem, 2.6vw, 2.25rem); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.mega-col { opacity: 0; transform: translateY(24px); }
.mega.is-open .mega-col { animation: megaIn 0.6s var(--ease) forwards; animation-delay: calc(0.08s * var(--i) + 0.12s); }
@keyframes megaIn { to { opacity: 1; transform: none; } }
.mega-col__head { display: grid; gap: 0.15rem; padding-bottom: 0.85rem; border-bottom: 2px solid var(--navy); }
.mega-col__de { font-family: var(--font-black); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--navy); }
.mega-col__en { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.mega-col__blurb { margin-top: 0.85rem; font-size: 0.85rem; color: var(--tx-mute); }
.mega-col__list { margin-top: 1.2rem; display: grid; gap: 0.15rem; }
.mega-col__list a { display: grid; gap: 1px; padding: 0.5rem 0.7rem; margin-left: -0.7rem; border-radius: var(--radius); transition: background 0.25s var(--ease), transform 0.35s var(--ease); }
.mega-col__list a:hover { background: rgba(214,82,28,0.08); transform: translateX(5px); }
.mega-link__label { font-weight: 600; font-size: 0.98rem; }
.mega-link__note { font-size: 0.78rem; color: var(--tx-mute); }
.mega__foot { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.mega__foot-label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.mega__foot-value { font-size: 0.95rem; color: var(--tx-dim); }
.mega__social { margin-left: auto; display: flex; gap: 0.5rem; }
body.nav-open { overflow: hidden; }

.social-link { width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 50%; display: grid; place-content: center; color: var(--tx-dim); transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.social-link svg { width: 19px; height: 19px; fill: currentColor; }
.social-link:hover { color: var(--red); border-color: var(--red); transform: translateY(-3px); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--paper);
  display: grid; place-content: center; justify-items: center; gap: 1.25rem;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__crest { width: 92px; animation: crestIn 1.2s var(--ease) both; }
@keyframes crestIn { from { opacity: 0; transform: translateY(14px) scale(0.92); } to { opacity: 1; transform: none; } }
.preloader__word { width: 190px; animation: crestIn 1.2s var(--ease) 0.25s both; }
html.no-js .preloader { display: none; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal='fade'] { transform: none; }
[data-reveal='left'] { transform: translateX(-34px); }
[data-reveal='right'] { transform: translateX(34px); }
/* On narrow screens the horizontal entry offset pushes elements past the
   viewport edge, so reveal them vertically instead. */
@media (max-width: 760px) {
  [data-reveal='left'], [data-reveal='right'] { transform: translateY(26px); }
}
[data-reveal='scale'] { transform: scale(0.94); }
html.no-js [data-reveal] { opacity: 1; transform: none; }

/* The hero's .split-line markup is authored in HTML, so it must be readable
   even if the script never runs. */
html.no-js .split-line > span { transform: none; }
/* Top padding + negative margin keeps diacritics inside the overflow mask
   without changing the line rhythm. */
.split-line { display: block; overflow: hidden; padding-top: 0.14em; margin-top: -0.14em; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(600px, 88vh, 900px); display: grid; align-items: center; overflow: hidden; padding-block: 4.5rem 6.5rem; background: var(--paper); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(55% 60% at 82% 30%, rgba(252,189,64,0.18), transparent 65%);
}
/* Positioned with top offset rather than a translateY centering transform,
   because the JS parallax writes its own transform onto this element. */
.hero__art { position: absolute; z-index: 1; right: clamp(2rem, 9vw, 11rem); top: 16%; width: clamp(200px, 24vw, 320px); display: none; pointer-events: none; }
@media (min-width: 900px) { .hero__art { display: block; } }
.hero__art img { width: 100%; filter: drop-shadow(0 30px 50px rgba(15,43,56,0.18)); }
.hero__art .hero__flames { position: absolute; width: 52%; right: -14%; bottom: -10%; opacity: 0.9; filter: none; }

.hero__bubbles { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.hero__bubbles i {
  position: absolute; bottom: -10vh; transform: rotate(45deg);
  background: var(--red); opacity: 0;
  animation: rise linear infinite;
}
.hero__bubbles i:nth-child(3n) { background: var(--yellow); }
.hero__bubbles i:nth-child(4n) { background: var(--navy); }
@keyframes rise {
  0%   { transform: translate3d(0, 0, 0) rotate(45deg) scale(0.6); opacity: 0; }
  12%  { opacity: 0.16; }
  100% { transform: translate3d(var(--x, 20px), -115vh, 0) rotate(45deg) scale(1); opacity: 0; }
}

.hero__inner { position: relative; z-index: 2; }
.hero__title { font-family: var(--font-black); font-weight: 500; font-size: clamp(3.6rem, 12vw, 10rem); line-height: 0.92; letter-spacing: 0.01em; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__sub { max-width: 44ch; margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 4vw, 3rem); margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.hero__meta div { display: grid; gap: 0.2rem; }
.hero__meta dt { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.hero__meta dd { font-size: 0.98rem; color: var(--tx-dim); }

.hero__scroll { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 3; display: none; justify-items: center; gap: 0.6rem; font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--tx-mute); }
/* only shown when there is genuinely room beneath the hero content */
@media (min-width: 900px) and (min-height: 800px) { .hero__scroll { display: grid; } }
.hero__scroll::after { content: ''; width: 2px; height: 40px; background: linear-gradient(var(--red), transparent); animation: scrollHint 2.2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes scrollHint { 0%, 100% { transform: scaleY(0.35); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* page hero (interior) */
.page-hero { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); overflow: hidden; border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 90% at 85% 0%, rgba(252,189,64,0.16), transparent 62%);
}
.page-hero::after {
  content: ''; position: absolute; z-index: 0; right: clamp(1rem, 6vw, 6rem); top: 50%;
  width: clamp(90px, 12vw, 150px); aspect-ratio: 240/639;
  transform: translateY(-50%);
  background: url('/assets/img/brand/skewer-red.png') center / contain no-repeat;
  opacity: 0.12;
}
.page-hero__inner { position: relative; z-index: 1; display: grid; gap: 1.25rem; max-width: 900px; }
.page-hero__title { font-family: var(--font-black); font-weight: 500; font-size: clamp(2.6rem, 7.5vw, 5.5rem); line-height: 0.95; }
.page-hero__title em { font-style: normal; color: var(--red); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-mute); font-weight: 500; }
.crumbs a { color: var(--red); }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.5; }
.crumbs ol, .crumbs { list-style: none; }

/* ---------- cards ---------- */
.card {
  position: relative; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.5vw, 2.25rem); overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: grid; gap: 0.85rem; align-content: start;
}
.card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(214,82,28,0.07), transparent 65%);
  transition: opacity 0.4s var(--ease);
}
.card:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(15,43,56,0.3); }
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--font-black); font-weight: 500; font-size: 2.3rem; color: var(--red); line-height: 1; }
.card h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.card p { color: var(--tx-dim); font-size: 0.95rem; }
.card--link::after { content: '→'; color: var(--red); font-size: 1.15rem; transition: transform 0.4s var(--ease); }
.card--link:hover::after { transform: translateX(6px); }
.card--feature { padding: clamp(1.75rem, 3vw, 2.75rem); }

.card-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; background: rgba(252,189,64,0.35); color: var(--navy); font-family: var(--font-black); font-weight: 600; font-size: 1.2rem; }

/* ---------- menu list ---------- */
.menu-cat { display: grid; gap: 1.75rem; }
.menu-cat__head { display: grid; gap: 0.6rem; max-width: 62ch; }
.menu-list { display: grid; gap: 0; border-top: 2px solid var(--navy); }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1.5rem; align-items: baseline;
  padding: 1.3rem 0.85rem; border-bottom: 1px solid var(--line); position: relative;
  transition: background 0.35s var(--ease), padding-left 0.35s var(--ease);
}
.menu-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: center; transition: transform 0.4s var(--ease); }
.menu-item:hover { background: rgba(214,82,28,0.04); padding-left: 1.35rem; }
.menu-item:hover::before { transform: scaleY(1); }
.menu-item__name { font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.3rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; }
.menu-item__de { font-family: var(--font-black); font-weight: 400; font-size: 0.95rem; color: var(--tx-mute); }
.menu-item__price { font-family: var(--font-black); font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.45rem); color: var(--red); white-space: nowrap; }
.menu-item__desc { grid-column: 1 / -1; color: var(--tx-dim); font-size: 0.95rem; max-width: 70ch; }
.menu-item__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.15rem; }

.tag { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: 3px; border: 1px solid var(--line); color: var(--tx-mute); }
.tag--hot { color: var(--red-deep); border-color: rgba(214,82,28,0.5); background: rgba(214,82,28,0.06); }
.tag--veg { color: #35714a; border-color: rgba(53,113,74,0.45); background: rgba(53,113,74,0.06); }
.tag--star { color: var(--navy); border-color: var(--yellow); background: rgba(252,189,64,0.28); }

.heat { display: inline-flex; gap: 2px; vertical-align: middle; }
.heat i { width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }

/* menu tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.45rem; border: 1.5px solid var(--navy); border-radius: 12px; width: max-content; max-width: 100%; position: relative; background: var(--paper-2); }
.tabs button {
  border: 0; background: none; cursor: pointer; padding: 0.65rem 1.2rem; border-radius: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tx-mute); transition: color 0.3s var(--ease); position: relative; z-index: 1;
}
.tabs button:hover { color: var(--tx); }
.tabs button[aria-selected='true'] { color: var(--cream); }
/* keyboard focus draws a yellow ring inside the pill instead of the global
   red outline, which clashed with the container's rounded border */
.tabs button:focus-visible { outline: 2px solid var(--yellow); outline-offset: -4px; border-radius: 8px; }
.tabs__pill { position: absolute; top: 0.45rem; bottom: 0.45rem; background: var(--navy); border-radius: 8px; transition: transform 0.45s var(--ease), width 0.45s var(--ease); z-index: 0; left: 0; box-shadow: 0 4px 12px -4px rgba(15,43,56,0.35); }
.tab-panel[hidden] { display: none; }

/* ---------- Google Maps embed ---------- */
.map-embed { border: 1.5px solid var(--navy); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.map-embed iframe { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; }
.map-embed__note { padding: 0.8rem 1.25rem; margin: 0; border-top: 1px solid var(--line); }

/* ---------- bier list ---------- */
.tap {
  display: grid; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper-2); position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.tap::after {
  content: ''; position: absolute; right: -18px; top: -14px; width: 90px; height: 110px;
  background: url('/assets/img/brand/flames-red.png') center / contain no-repeat;
  opacity: 0.07; transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.tap:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 22px 44px -26px rgba(15,43,56,0.3); }
.tap:hover::after { transform: scale(1.12) rotate(4deg); opacity: 0.14; }
.tap__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.tap__name { font-family: var(--font-black); font-weight: 500; font-size: 1.55rem; }
.tap__abv { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--red); font-weight: 700; }
.tap__style { font-size: 0.85rem; color: var(--tx-mute); font-weight: 500; letter-spacing: 0.04em; }
.tap__desc { font-size: 0.93rem; color: var(--tx-dim); }
.tap__foot { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }

/* fill meter used on the beer guide */
.meter { display: grid; gap: 0.3rem; }
.meter__row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.78rem; color: var(--tx-mute); }
.meter__bar { flex: 1; height: 6px; background: rgba(15,43,56,0.1); border-radius: 100px; overflow: hidden; }
.meter__fill { display: block; height: 100%; background: var(--red); width: 0; transition: width 1.2s var(--ease); }
.is-in .meter__fill { width: var(--w); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--paper-2); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 0.4rem; }
.stat__value { font-family: var(--font-black); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--red); line-height: 1; }
.stat__label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-mute); font-weight: 500; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 2px solid var(--navy); }
.step__num { counter-increment: step; font-family: var(--font-black); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--red); line-height: 0.9; min-width: 2.5ch; }
.step__num::before { content: '0' counter(step); }
.step__body { display: grid; gap: 0.5rem; }

/* ---------- accordion ---------- */
.acc { border-top: 2px solid var(--navy); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  transition: color 0.3s var(--ease);
}
.acc__btn:hover { color: var(--red); }
.acc__sign { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.acc__sign::before, .acc__sign::after { content: ''; position: absolute; inset: 50% 0 auto; height: 2px; background: var(--red); transition: transform 0.4s var(--ease); }
.acc__sign::after { transform: rotate(90deg); }
.acc__btn[aria-expanded='true'] .acc__sign::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel p { padding-bottom: 1.5rem; color: var(--tx-dim); max-width: 74ch; }

/* ---------- quote ---------- */
.quote { display: grid; gap: 1rem; padding: clamp(1.75rem, 3vw, 2.5rem); border: 1px solid var(--line); border-left: 4px solid var(--red); background: var(--paper-2); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.quote blockquote { font-family: var(--font-black); font-weight: 450; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; }
.quote cite { font-style: normal; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-mute); font-weight: 500; }
.quote cite a { color: var(--red); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.85rem; }
.plate {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  border: 1px solid var(--line); display: grid; place-content: center; text-align: center; padding: 1.5rem;
  transition: transform 0.6s var(--ease); isolation: isolate; color: var(--cream);
}
.plate::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pattern, var(--navy)); transition: transform 0.8s var(--ease); }
.plate:hover { transform: translateY(-6px); }
.plate:hover::before { transform: scale(1.06); }
.plate span { font-family: var(--font-black); font-weight: 500; font-size: 1.5rem; }
.plate small { display: block; margin-top: 0.35rem; font-size: 0.75rem; color: currentColor; opacity: 0.75; letter-spacing: 0.1em; text-transform: uppercase; }
.plate--wide { grid-column: span 2; aspect-ratio: 8 / 5; }
@media (max-width: 640px) { .plate--wide { grid-column: span 1; aspect-ratio: 4/5; } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line-soft); font-size: 0.93rem; vertical-align: top; }
th { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); background: var(--navy); position: sticky; top: 0; }
tbody tr { transition: background 0.3s var(--ease); }
tbody tr:hover { background: rgba(214,82,28,0.05); }
td:first-child { font-weight: 600; color: var(--tx); }
td { color: var(--tx-dim); }

/* ---------- forms ---------- */
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.field input, .field textarea, .field select {
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 0.85rem 1rem; transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--tx-mute); }

/* ---------- misc blocks ---------- */
.panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1rem; align-content: start; }
.panel--gold { background: rgba(252,189,64,0.22); border-color: var(--yellow); }
.panel--gold .eyebrow { color: var(--red-deep); }

.deal-code { font-family: var(--font-black); font-weight: 500; font-size: clamp(1.4rem, 3.2vw, 2.2rem); letter-spacing: 0.1em; color: var(--red); border: 2px dashed rgba(214,82,28,0.55); background: none; padding: 0.6rem 1.2rem; border-radius: var(--radius); display: inline-block; cursor: pointer; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.dl-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.dl-grid > div { background: var(--paper-2); padding: 1.15rem 1.35rem; display: grid; gap: 0.2rem; }
.dl-grid dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.dl-grid dd { color: var(--tx-dim); font-size: 0.98rem; }

.marq-band { overflow: hidden; padding-block: clamp(1.75rem, 4vw, 3rem); border-block: 1px solid var(--line-soft); background: var(--navy); color: var(--cream); }
.marq-band__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 34s linear infinite; align-items: center; }
.marq-band__track span { font-family: var(--font-black); font-weight: 500; font-size: clamp(2.2rem, 5.5vw, 4rem); color: var(--cream); white-space: nowrap; line-height: 1; }
.marq-band__track span:nth-child(even) { color: var(--yellow); font-size: clamp(1.1rem, 2.5vw, 1.8rem); }

.note {
  border-left: 3px solid var(--yellow); background: rgba(252,189,64,0.16);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.9rem; color: var(--tx-dim);
}

.post-card { display: grid; gap: 0.75rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease); }
.post-card:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 22px 44px -26px rgba(15,43,56,0.3); }
.post-card__meta { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.post-card h3 { font-size: 1.3rem; }

.timeline { display: grid; gap: 0; position: relative; padding-left: 1.75rem; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 0.6rem; bottom: 0.6rem; width: 2px; background: linear-gradient(var(--red), rgba(214,82,28,0.1)); }
.timeline li { padding: 1.1rem 0; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -1.72rem; top: 1.55rem; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
.timeline b { display: block; font-weight: 600; font-size: 1.15rem; color: var(--tx); }
.timeline span { color: var(--tx-dim); font-size: 0.94rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); }
.foot-cta { position: relative; padding-block: clamp(4rem, 8vw, 7rem); text-align: center; overflow: hidden; background: var(--navy); }
.foot-cta__inner { position: relative; z-index: 2; display: grid; gap: 1.25rem; justify-items: center; }
.foot-cta .eyebrow { color: var(--yellow); }
.foot-cta .eyebrow::before, .foot-cta .eyebrow::after { background: var(--yellow); }
.foot-cta__title { font-family: var(--font-black); font-weight: 500; color: var(--cream); font-size: clamp(3rem, 10vw, 7.5rem); line-height: 0.95; }
.foot-cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 0.75rem; }
.foot-cta .btn--ghost { --btn-fg: var(--cream); --btn-bd: rgba(255,247,238,0.4); }
.foot-cta .btn--ghost::after { background: var(--cream); }
.foot-cta .btn--ghost:hover { color: var(--navy); border-color: var(--cream); }
.foot-cta .btn--primary:hover { border-color: var(--cream); }
.foot-cta .btn--primary::after { background: var(--cream); }
.foot-cta .btn--primary:hover, .foot-cta .btn--primary:focus-visible { color: var(--navy); }

.site-footer__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line-cream); }
.foot-brand { grid-column: span 2; display: grid; gap: 1.1rem; align-content: start; max-width: 380px; }
@media (max-width: 700px) { .foot-brand { grid-column: span 1; } }
.foot-brand__logo { display: flex; align-items: center; gap: 0.9rem; }
.foot-brand__logo img:first-child { height: 56px; width: auto; }
.foot-brand__logo img:last-child { height: 30px; width: auto; }
.foot-brand p { color: var(--cream-mute); font-size: 0.92rem; }
.foot-address a { color: var(--cream-dim); transition: color 0.3s var(--ease); }
.foot-address a:hover { color: var(--yellow); }
.foot-social { display: flex; gap: 0.5rem; }
.site-footer .social-link { border-color: var(--line-cream); color: var(--cream-dim); }
.site-footer .social-link:hover { color: var(--yellow); border-color: var(--yellow); }
.foot-hours dl { display: grid; gap: 0.85rem; }
.foot-hours dt { font-size: 0.8rem; color: var(--cream); font-weight: 600; }
.foot-hours dd { font-size: 0.85rem; color: var(--cream-mute); }
.late { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); background: var(--yellow); padding: 0.12rem 0.4rem; border-radius: 3px; font-weight: 700; }
.site-footer h3, .foot-col h3 { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--yellow); font-weight: 600; margin-bottom: 1rem; }
.foot-col ul { display: grid; gap: 0.55rem; }
.foot-col a { font-size: 0.88rem; color: var(--cream-mute); transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.foot-col a:hover { color: var(--yellow); padding-left: 4px; }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.5rem; border-top: 1px solid var(--line-cream); font-size: 0.8rem; color: var(--cream-mute); }
.site-footer__base nav { display: flex; gap: 1.25rem; }
.foot-legal-note { display: block; margin-top: 0.3rem; font-size: 0.72rem; color: var(--cream-mute); }
.site-footer__base a:hover { color: var(--yellow); }

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; width: 46px; height: 46px;
  border-radius: var(--radius); border: 1.5px solid var(--line); background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px); color: var(--navy); cursor: pointer; display: grid; place-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all 0.4s var(--ease);
}
.to-top svg { width: 20px; height: 20px; fill: currentColor; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--red); color: var(--red); }

/* ---------- motion layer ----------
   Brand-flavored ambient animation: flames flicker, the crest floats,
   diamonds twinkle, rules draw themselves in. Everything here is killed
   wholesale by the prefers-reduced-motion block below. */

/* cross-page transitions (Chromium; others simply ignore it) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: 0.22s; }
  ::view-transition-new(root) { animation-duration: 0.22s; }
  .site-header { view-transition-name: site-header; }
  .ticker { view-transition-name: brand-ticker; }
}

@keyframes flameFlicker {
  0%, 100% { transform: scaleY(1) skewX(0deg); }
  30%      { transform: scaleY(1.04) skewX(-1.6deg); }
  55%      { transform: scaleY(0.97) skewX(1.2deg); }
  80%      { transform: scaleY(1.02) skewX(-0.8deg); }
}
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.9; }
}

/* hero: crest bobs, flames flicker from their base */
.hero__art > img:first-child { animation: floaty 7s var(--ease-in-out) infinite; }
.hero__art .hero__flames { transform-origin: 50% 100%; animation: flameFlicker 3.2s var(--ease-in-out) infinite; }

/* interior page heroes: the skewer watermark drifts */
.page-hero::after { animation: floaty 9s var(--ease-in-out) infinite; }

/* hero glow breathes */
@keyframes glowPulse { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
.hero__bg::before { animation: glowPulse 8s var(--ease-in-out) infinite; }

/* the hero's primary button gets a slow shine sweep */
@keyframes shine { 0% { transform: translateX(-140%) skewX(-18deg); } 45%, 100% { transform: translateX(150%) skewX(-18deg); } }
.hero .btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255,247,238,0.4) 50%, transparent 68%);
  animation: shine 4.6s var(--ease-in-out) 2.2s infinite;
}

/* small "opening soon" popup (homepage) */
.toast {
  position: fixed; z-index: 90; left: 1.25rem; bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.85rem;
  max-width: min(330px, calc(100vw - 2.5rem));
  background: var(--navy); color: var(--cream);
  border-radius: var(--radius-lg); padding: 0.9rem 1rem;
  box-shadow: 0 24px 48px -20px rgba(15,43,56,0.55);
  opacity: 0; transform: translateY(16px); visibility: hidden;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.toast.is-visible { opacity: 1; transform: none; visibility: visible; }
.toast__flame { width: 30px; height: auto; flex-shrink: 0; transform-origin: 50% 100%; animation: flameFlicker 3s var(--ease-in-out) infinite; }
.toast__title { font-family: var(--font-black); font-weight: 500; font-size: 1.15rem; line-height: 1.1; }
.toast__text { font-size: 0.82rem; color: var(--cream-dim); line-height: 1.4; }
.toast__text a { color: var(--yellow); font-weight: 600; }
.toast__close {
  background: none; border: 0; cursor: pointer; color: var(--cream-mute);
  font-size: 1.3rem; line-height: 1; padding: 0.2rem 0.4rem; align-self: flex-start;
  border-radius: 4px; transition: color 0.3s var(--ease);
}
.toast__close:hover { color: var(--cream); }

/* preloader crest settles, then floats */
.preloader__crest { animation: crestIn 1.2s var(--ease) both, floaty 5s var(--ease-in-out) 1.2s infinite; }

/* section titles draw the brand's red rule under themselves on reveal */
h2[data-reveal]::after {
  content: ''; display: block; width: 56px; height: 3px; background: var(--red);
  margin-top: 0.65rem; transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease) 0.35s;
}
h2[data-reveal].is-in::after { transform: scaleX(1); }
.center h2[data-reveal]::after { margin-inline: auto; transform-origin: center; }
html.no-js h2[data-reveal]::after { transform: scaleX(1); }

/* marquees and the ticker pause while pointed at */
.ticker:hover .ticker__track, .marq-band:hover .marq-band__track { animation-play-state: paused; }

/* buttons lift; arrows nudge */
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 0.1s; }

/* cards: icon and number react with the card */
.card-icon { transition: transform 0.45s var(--ease); }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.1); }
.card__num { transition: transform 0.45s var(--ease); display: inline-block; }
.card:hover .card__num { transform: translateX(4px) scale(1.06); }

/* menu rows: the price answers the hover */
.menu-item__price { display: inline-block; transition: transform 0.35s var(--ease); }
.menu-item:hover .menu-item__price { transform: scale(1.1) rotate(-2deg); }

/* tap cards: the watermark flame catches */
.tap:hover::after { animation: flameFlicker 1.6s var(--ease-in-out) infinite; }

/* footer CTA artwork breathes */
.foot-cta__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.foot-cta__art .fc-flames { position: absolute; left: -36px; bottom: -56px; width: 290px; opacity: 0.4; transform-origin: 50% 100%; animation: flameFlicker 4s var(--ease-in-out) infinite; }
.foot-cta__art .fc-diamonds { position: absolute; right: 6%; top: 12%; width: 104px; opacity: 0.5; animation: twinkle 4.5s var(--ease-in-out) infinite; }

/* timeline markers pulse gently as they reveal */
.timeline li::before { transition: transform 0.4s var(--ease); }
.timeline li:hover::before { transform: rotate(45deg) scale(1.5); }

/* form fields lift slightly on focus */
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: 0 8px 20px -12px rgba(214,82,28,0.4); }

/* deal code wiggles when hovered — it wants to be clicked */
@keyframes wiggle { 0%,100% { rotate: 0deg; } 25% { rotate: -1.2deg; } 75% { rotate: 1.2deg; } }
.deal-code:hover { animation: wiggle 0.4s var(--ease-in-out) 2; }

/* stat values pop as they finish counting */
.stat__value { transition: transform 0.5s var(--ease); }
.stats.is-in .stat__value { animation: crestIn 0.8s var(--ease) both; }

/* gallery plates: caption slides up */
.plate span, .plate small { transition: transform 0.5s var(--ease); }
.plate:hover span { transform: translateY(-3px); }
.plate:hover small { transform: translateY(-2px); }

/* ---------- accessibility widget ---------- */
.a11y { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 95; }
.a11y__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy);
  background: var(--navy); color: var(--cream); cursor: pointer;
  display: grid; place-content: center;
  box-shadow: 0 14px 30px -14px rgba(15,43,56,0.5);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.a11y__btn:hover { transform: translateY(-2px); background: var(--red); border-color: var(--red); }
.a11y__btn svg { width: 26px; height: 26px; fill: currentColor; }
.a11y__panel {
  position: absolute; left: 0; bottom: calc(100% + 0.75rem); width: 240px;
  background: var(--paper-2); border: 1.5px solid var(--navy); border-radius: var(--radius-lg);
  padding: 1rem 1.1rem; display: grid; gap: 0.55rem;
  box-shadow: 0 26px 50px -22px rgba(15,43,56,0.45);
}
/* display: grid above would override the hidden attribute's UA display: none */
.a11y__panel[hidden] { display: none; }
.a11y__title { font-weight: 600; font-size: 0.95rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--line); }
.a11y__row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; cursor: pointer; color: var(--tx-dim); }
.a11y__row input { width: 16px; height: 16px; accent-color: var(--red); cursor: pointer; }
.a11y__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 0.45rem; border-top: 1px solid var(--line); font-size: 0.8rem; }
.a11y__foot a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.a11y__reset { background: none; border: 1px solid var(--line); border-radius: 4px; padding: 0.25rem 0.6rem; cursor: pointer; font-size: 0.78rem; color: var(--tx-dim); }
.a11y__reset:hover { border-color: var(--red); color: var(--red); }

/* keep the homepage toast clear of the accessibility button */
.toast { bottom: 5.75rem; }

/* --- accessibility modes (persisted, toggled on <html>) --- */
html.a11y-bigtext { font-size: 118%; }
html.a11y-readable .display, html.a11y-readable .blackletter,
html.a11y-readable .hero__title, html.a11y-readable .page-hero__title,
html.a11y-readable .foot-cta__title, html.a11y-readable .mega-col__de,
html.a11y-readable .menu-item__price, html.a11y-readable .menu-item__de,
html.a11y-readable .tap__name, html.a11y-readable .card__num,
html.a11y-readable .step__num, html.a11y-readable .quote blockquote,
html.a11y-readable .deal-code, html.a11y-readable .toast__title,
html.a11y-readable .marq-band__track span, html.a11y-readable .stat__value {
  font-family: var(--font-body); font-weight: 700; letter-spacing: 0;
}
html.a11y-contrast {
  --paper: #ffffff; --paper-2: #ffffff;
  --tx: #061821; --tx-dim: #0f2b38; --tx-mute: #29434f;
  --line: rgba(6,24,33,0.4); --line-soft: rgba(6,24,33,0.25);
  --red: #b03e10; --red-deep: #932f0a;
  --cream-dim: #fff7ee; --cream-mute: #f4e6d5;
}
html.a11y-underline a { text-decoration: underline !important; text-underline-offset: 2px; }
html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after {
  animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important; scroll-behavior: auto !important;
}
html.a11y-nomotion [data-reveal], html.a11y-nomotion .split-line > span { opacity: 1 !important; transform: none !important; }
html.a11y-nomotion .preloader { display: none; }

/* ---------- no-JS fallbacks ----------
   Every interactive widget must still expose its content when the script does
   not run: tabs show all panels, accordions sit open, and controls that would
   do nothing are removed. Navigation remains available in the footer. */
html.no-js .tabs { display: none; }
html.no-js .tab-panel[hidden] { display: block; }
html.no-js .tab-panel + .tab-panel { margin-top: clamp(3rem, 6vw, 5rem); }
html.no-js .acc__panel { grid-template-rows: 1fr; }
html.no-js .acc__btn { cursor: default; }
html.no-js .acc__sign, html.no-js .burger, html.no-js .open-state, html.no-js .to-top, html.no-js .a11y { display: none; }

/* ---------- reduced 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; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .split-line > span { transform: none !important; }
  .preloader { display: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .mega, .ticker, .to-top, .foot-cta, .preloader, .scroll-progress { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .tap, .panel { border-color: #ccc; background: #fff; }
  a { color: #111; }
}
