* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--chrome-height, calc(var(--header-height) + var(--rail-height)));
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 100%;
  line-height: var(--lh-body);
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.menu-lock,
html.menu-lock body {
  overflow: hidden;
  overscroll-behavior: none;
}

a {
  color: inherit;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--focus-dark);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* the first focusable control was the burger, ahead of the header and the whole hero rail */
.skip-link {
  position: absolute;
  z-index: 200;
  top: 0;
  left: 0;
  padding: .75rem 1rem;
  background: var(--walnut);
  color: var(--linen);
  font: 700 var(--fs-micro)/1 var(--font-meta);
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  transform: translateY(-120%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: var(--z-header);
  top: 0;
  min-height: var(--header-height);
  align-items: center;
  column-gap: var(--space-2);
  padding: 0 var(--edge-end) 0 var(--edge-start);
  border-bottom: 1px solid var(--hairline-dark);
  background: rgba(26, 16, 8, .96);
  color: var(--linen);
}

.brand-mark {
  width: 6.25rem;
  height: 2.05rem;
  color: var(--linen);
}

.brand-mark path:not([fill]),
.brand-mark [fill]:not([fill="none"]) {
  fill: currentColor;
}

.menu-trigger {
  display: inline-flex;
  min-width: 4.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  /* inherit: on a light bay the header flips to ink and a linen burger vanishes (1.13:1) */
  border: 1px solid currentColor;
  color: inherit;
  font-family: var(--font-meta);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-micro);
  text-decoration: none;
  text-transform: uppercase;
}

.site-main {
  position: relative;
  z-index: var(--z-base);
  background-color: var(--paper);
  background-image: var(--paper-grain);
  background-size: var(--paper-grain-size);
}

.shell-section {
  min-height: 36rem;
  padding: var(--section-pad) var(--gutter);
  border-bottom: 1px solid var(--hairline-light);
}

.shell-section--night {
  background: var(--night);
  color: var(--linen);
}

.shell-section--night .section-head__kicker {
  color: var(--linen);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 72rem);
  gap: var(--space-1);
  margin-inline: auto;
}

.section-head__kicker {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-meta);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
}

.section-head__title {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-d1);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  min-height: 10rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--edge-end) max(var(--space-3), env(safe-area-inset-bottom)) var(--edge-start);
  background: var(--night);
  color: var(--linen);
  font-family: var(--font-meta);
  font-size: var(--fs-micro);
  letter-spacing: .08em;
}

.site-footer__credit {
  margin-left: auto;
  white-space: nowrap;
}

.site-footer__credit a {
  text-underline-offset: .2em;
}

@media (max-width: 29.999rem) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__credit {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .menu-trigger {
    transition: border-color var(--t-plate-out) var(--ease-dolly), background-color var(--t-plate-out) var(--ease-dolly);
  }

  .menu-trigger:hover {
    border-color: var(--focus-dark);
    background: rgba(236, 229, 214, .06);
  }
}

/* --- header lockup: „Soul Food", sized per design-direction §12 -----------
   Sizing lives in hero.css alongside the rest of the header-over-hero rules; keeping a
   second declaration here made the 40rem branch unreachable in the cascade. */

/* Fable's measurement: at the 63x34 header box the lockup's FOOD cap is 3.2px and at the 45px
   burger 2.3px - a dotted rule, not a word. The header carries the script alone, the way the
   client's own venues use it, and the full lockup appears in the footer where it reads. */
.footer-lockup {
  display: block;
  width: auto;
  height: 92px;
  max-width: min(20rem, 70vw);
  color: currentColor;
  fill: currentColor;
}

.footer-lockup [fill]:not([fill="none"]) { fill: currentColor; }
.footer-lockup [stroke]:not([stroke="none"]) { stroke: currentColor; }

@media (max-width: 40rem) {
  .footer-lockup { height: 72px; }
}
