/* Interval — shared shell: tokens, nav, footer, buttons, waitlist form.
   Page-specific layout stays in each page's own <style>. */

@font-face {
  font-family: 'ABC Arizona Flare';
  src: url('../fonts/ABCArizonaFlareTrial-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'ABC Arizona Sans';
  src: url('../fonts/ABCArizonaSansTrial-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'ABC Arizona Sans';
  src: url('../fonts/ABCArizonaSansTrial-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --bone: #ede7dc;
  --ink: #140502;
  --claret: #521210;
  --blush: #e9d0c9;
  --lime: #c1de60;
  --red: #b70908;
  --carbon: #1c1a18;
  --rag: #ede7dc;
  --cinnabar: #d94f26;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: 'ABC Arizona Sans', system-ui, sans-serif;
}

/* width/height attributes are presentational hints, so without this an image
   renders at its intrinsic height and ignores aspect-ratio. */
img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--claret); }
input::placeholder { color: rgba(20, 5, 2, .4); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.label {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  font-family: 'ABC Arizona Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
a.btn:hover, button.btn:hover:enabled { background: rgba(20, 5, 2, .06); color: var(--ink); }
button.btn:disabled { cursor: default; opacity: .6; }
.btn-lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
/* hover for lime lives with the micro-interactions at the foot of this file */
.btn-light { border-color: var(--bone); color: var(--bone); }
/* A session that has sold: the pill stays, the link goes. */
.btn-out { border-color: rgba(20, 5, 2, .3); color: rgba(20, 5, 2, .55); cursor: default; }

/* The waiting list beside a sold-out evening: one field, no ceremony. */
.wait { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; max-width: 300px; }
.session .wait { margin: 0; }   /* a grid cell of its own, aligned with the row */
.wait input {
  flex: 1 1 auto;
  min-width: 0;
  height: 28px;
  padding: 0 0 2px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(20, 5, 2, .35);
  border-radius: 0;
  color: var(--ink);
  font-family: 'ABC Arizona Sans', system-ui, sans-serif;
  font-size: 13px;
}
.wait input::placeholder { color: rgba(20, 5, 2, .45); }
.wait input:focus { outline: none; border-bottom-color: var(--ink); }
.wait button {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(20, 5, 2, .35);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.wait button:hover:enabled { background: var(--ink); border-color: var(--ink); color: var(--blush); }
.wait button:disabled { opacity: .45; cursor: default; }
.wait-said { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: rgba(20, 5, 2, .7); }
a.btn-light:hover { background: rgba(237, 231, 220, .14); color: var(--bone); }

/* Nav — same on every page. Sticky, so the folded wordmark has somewhere to
   land and stays put as the page scrolls. */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 48px;
  background: var(--bone);
}
.nav-brand {
  font-family: 'ABC Arizona Flare', serif;
  font-size: 19px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.nav-brand:hover { color: var(--ink); }
.nav-links {
  display: flex;
  gap: 28px;
  margin: 0 auto;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* Footer — same on every page */
.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding: 64px 48px 40px;
}
.site-footer a { color: var(--bone); }
.site-footer a:hover { color: var(--lime); }
.footer-wordmark {
  font-family: 'ABC Arizona Flare', serif;
  font-size: 64px;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 56px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  align-items: flex-start;
}
.footer-signup { max-width: 460px; flex: 1 1 auto; }
.footer-rubric {
  display: block;
  color: var(--lime);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-signup p.lede {
  margin: 14px 0 28px;
  font-size: 15px;
  line-height: 24px;
  color: rgba(237, 231, 220, .82);
}
.footer-signup label.field-label {
  display: block;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(237, 231, 220, .7);
}
.footer-signup input[type="email"] {
  width: 100%;
  margin-top: 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(237, 231, 220, .5);
  border-radius: 0;
  padding: 0 0 10px;
  font-family: 'ABC Arizona Flare', serif;
  font-size: 22px;
  color: var(--bone);
  outline: none;
}
.footer-signup input[type="email"]:focus { border-bottom-color: var(--lime); }
.footer-signup input[type="email"]::placeholder { color: rgba(237, 231, 220, .35); }
.check-group {
  margin: 20px 0 24px;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.check-group legend {
  float: left;
  padding: 0;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(237, 231, 220, .7);
}
.check-group .choices { display: flex; gap: 8px; }
.check-group input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.check-group label {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 16px;
  border: 1px solid rgba(237, 231, 220, .55);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bone);
}
.check-group label:hover { border-color: var(--bone); }
.check-group input:checked + label {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.check-group input:focus-visible + label { outline: 2px solid var(--lime); outline-offset: 2px; }

.footer-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(237, 231, 220, .7);
  min-height: 16px;
}
.footer-note.error { color: #ff9d7a; }
.footer-success p { margin: 0; }
.footer-success .head { font-family: 'ABC Arizona Flare', serif; font-size: 22px; }
.footer-success .sub { margin-top: 8px; font-size: 13px; color: rgba(237, 231, 220, .75); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 64px;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(237, 231, 220, .7);
}
.footer-bottom a { text-decoration: none; }

@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
    gap: 14px 20px;
    padding: 18px 20px;
  }
  .nav-brand { font-size: 16px; }
  .nav-links {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 18px;
    font-size: 10px;
  }
  .nav .btn { margin-left: auto; height: 30px; padding: 0 14px; font-size: 10px; }

  .site-footer { padding: 40px 20px 28px; }
  .footer-wordmark { font-size: 40px; margin-bottom: 36px; }
  .footer-grid { flex-direction: column; gap: 40px; }
  .footer-signup { max-width: none; }
  .footer-links { text-align: left; }
  .footer-bottom { margin-top: 40px; font-size: 10px; }
}

/* ---------------------------------------------------------------------------
   Micro-interactions. Three only, all hard-edged: no eased opacity fades
   anywhere, and section grounds change colour with no transition at all.
   --------------------------------------------------------------------------- */

/* 1. Lime inversion — near-black on lime becomes lime on near-black in a
      single frame. No ease, no transition. */
.btn-lime { transition: none; }
a.btn-lime:hover, a.btn-lime:focus-visible,
button.btn-lime:hover:enabled, button.btn-lime:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lime);
}

/* 2. Images arrive with a wipe from the left edge, like a sheet pulled off a
      press — then hold. Composited, and never an opacity fade. */
.wipe {
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}
.wipe.wiped {
  clip-path: inset(0 0 0 0);
  transition: clip-path 240ms linear;
}

/* 3. The wordmark folds into the nav: one transform, GPU-composited. The nav's
      own mark is hidden while the hero wordmark is still standing. */
.nav-brand.is-folded { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .wipe, .wipe.wiped { clip-path: none; transition: none; }
  .hero-wordmark { transform: none !important; }
  .nav-brand.is-folded { visibility: visible; }
}

/* The booking button that replaces the waitlist when the sale opens. */
.footer-signup .js-take-place { margin: 4px 0 18px; }
.footer-signup .sale-aside { margin: 0 0 22px; font-size: 14px; }
