/* ==========================================================================
   Allegedlys Bar & Grill
   Brand: warm near-black, cream, gold quotation marks.
   Type:  Instrument Serif (display) · Instrument Sans (text) · Caveat (scrawls)
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg:        #171311;
  --bg-deep:   #110e0c;
  --surface:   #201b18;
  --surface-2: #2a2420;
  --line:        rgba(242, 234, 217, .11);
  --line-strong: rgba(242, 234, 217, .22);

  --cream:   #f2ead9;
  --cream-2: #ddd2bd;
  --taupe:   #b9ab95;
  --taupe-2: #998d7b;
  --gold:    #d4a24c;
  --gold-hi: #e7bb66;
  --gold-soft: rgba(212, 162, 76, .14);
  --red:     #d0644b;
  --green:   #9bb87a;

  --paper:    #efe6d2;
  --ink:      #1f1a15;
  --ink-soft: #54493d;

  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans:  'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hand:  'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

  --step--1: clamp(.84rem, .81rem + .12vw, .92rem);
  --step-0:  clamp(1rem, .97rem + .16vw, 1.08rem);
  --step-1:  clamp(1.3rem, 1.16rem + .6vw, 1.65rem);
  --step-2:  clamp(1.7rem, 1.42rem + 1.2vw, 2.4rem);
  --step-3:  clamp(2.2rem, 1.7rem + 2.3vw, 3.6rem);
  --step-4:  clamp(2.8rem, 1.9rem + 4.2vw, 5.6rem);

  --wrap:   1180px;
  /* At least the notch, on a phone held sideways (viewport-fit=cover). */
  --gutter: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left), env(safe-area-inset-right));
  --header-h: 68px;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Fine grain laid over the page, and a speckle mask for the rubber stamps. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .96 0 0 0 0 .9 .09 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --speckle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -6 4.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 64px);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--cream);
  font: 400 var(--step-0)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

/* Hidden means hidden, even on a .btn (which would otherwise win). */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold-hi); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

strong { font-weight: 600; color: var(--cream); }
em { font-family: var(--serif); font-style: italic; font-size: 1.12em; color: var(--gold); }
abbr[title] { text-decoration: none; }

address { font-style: normal; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.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;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--bg); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; color: var(--bg); }

/* The brand's gold quotation marks. */
.q { color: var(--gold); font-family: var(--serif); font-style: normal; }
.q:first-child { margin-right: .04em; }
.q:last-child  { margin-left: .02em; }

/* The ™ after the name, inside the quotes (trademark(), config.php site.mark):
   small, and level with the tops of the letters. */
.tm { position: relative; top: .35em; vertical-align: top; margin-right: .15em; font: 500 .34em/1 var(--sans); }
/* Beside a logo image: .logo-mark is a box the size of the image, and the ™
   sits on the shoulder of the "s", under the closing quote. Measured off
   assets/img/logo.png: the "s" ends 84.1% across and its top is 40.6% down.
   Any higher and it runs into the quote, which ends 30.9% down. */
.logo-mark { position: relative; }
.logo-mark > .tm { position: absolute; left: 84.7%; top: 39.5%; margin: 0; font-size: 10px; color: var(--cream-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  margin: 0 0 1rem;
  font: 600 .74rem/1.3 var(--sans);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--taupe);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); flex: none; }

.lede { font-size: var(--step-1); color: var(--taupe); line-height: 1.45; }
.fineprint { font-size: var(--step--1); color: var(--taupe-2); margin-top: 1rem; }
.empty { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--taupe-2); }
.big-empty { text-align: center; font-size: var(--step-2); padding-block: 2rem; }

/* --------------------------------------------------------------------------
   Buttons, badges, stamps
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.55em;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 .95rem/1.1 var(--sans); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-hi); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { min-height: 40px; padding: .55em 1.15em; font-size: .88rem; }
.btn-lg { min-height: 56px; padding: .9em 1.9em; font-size: 1.02rem; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; text-decoration: none; transition: gap .2s var(--ease);
}
.link-arrow .icon { width: 18px; height: 18px; }
.link-arrow:hover { gap: .7rem; }

.icon { width: 20px; height: 20px; flex: none; }

.badge {
  display: inline-block; vertical-align: .3em; margin-left: .45em;
  padding: .28em .62em; border: 1px solid var(--line-strong); border-radius: 999px;
  font: 600 .64rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--taupe);
}
.badge-gold { border-color: var(--gold); color: var(--gold); }

.stamp {
  display: inline-block;
  padding: .5em .85em .44em;
  border: 2px solid currentColor; border-radius: 5px;
  font: 700 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--red);
  transform: rotate(-6deg);
  -webkit-mask-image: var(--speckle); mask-image: var(--speckle);
  -webkit-mask-size: 140px; mask-size: 140px;
  white-space: nowrap;
}
.stamp-ok   { color: var(--green); }
.stamp-gold { color: var(--gold); }

.chip {
  display: inline-block; padding: .25em .75em; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: .78rem; color: var(--cream-2);
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* The blur lives on a pseudo-element: a backdrop-filter on the header itself
   would trap the fixed-position mobile menu inside the header's 68px. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(23, 19, 17, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  transition: background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { background: rgba(23, 19, 17, .92); }
.nav-open .site-header::before { background: var(--bg); }

.header-bar { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand {
  font: 400 1.7rem/1 var(--serif); color: var(--cream); text-decoration: none;
  letter-spacing: -.01em; white-space: nowrap; flex: none;
}
.brand .q { font-size: .9em; }
.brand:hover { color: var(--cream); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(1rem, 2vw, 1.9rem); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--taupe); text-decoration: none; font-size: .94rem; font-weight: 500;
  padding-block: .4rem; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: var(--cream); }
.site-nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--gold); }
.nav-note, .nav-social { display: none; }

.header-actions { display: flex; align-items: center; gap: .75rem; }
/* The legal page seen from the coming soon page: no menu, just a way back. */
.header-back { margin-left: auto; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--cream); cursor: pointer;
}
.nav-toggle .bars { position: relative; display: block; width: 18px; height: 10px; margin: auto; }
.nav-toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle .bars span:first-child { top: 0; }
.nav-toggle .bars span:last-child  { top: calc(100% - 1.5px); }
.nav-toggle[aria-expanded="true"] .bars span:first-child { top: calc(50% - .75px); transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:last-child  { top: calc(50% - .75px); transform: rotate(-45deg); }

/* The menu folds away below 1020px: seven links, My House and Reserve need the room. */
@media (max-width: 1020px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-bar { gap: 1rem; }
  .header-actions { margin-left: auto; }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    margin: 0; padding: 2rem var(--gutter) 3rem;
    background: var(--bg); background-image: var(--grain);
    display: flex; flex-direction: column; gap: 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li a {
    display: block; padding: .9rem 0; border: 0;
    font: 400 clamp(2rem, 8vw, 2.6rem)/1.1 var(--serif); color: var(--cream);
  }
  .site-nav li a[aria-current="page"] { color: var(--gold); }
  .nav-note { display: block; margin: 0; font-family: var(--hand); font-size: 1.6rem; color: var(--taupe); }
  .nav-social { display: flex; gap: .75rem; }
  .site-nav .nav-social-link {
    display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem .6rem .9rem;
    border: 1px solid var(--line-strong); border-radius: 999px;
    font: 500 .95rem/1 var(--sans); color: var(--cream); text-decoration: none;
  }
}

@media (max-width: 380px) {
  .brand { font-size: 1.45rem; }
  .header-actions .btn-sm { padding-inline: .9em; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: grid; place-items: center;
  padding-block: clamp(32px, 6vh, 88px) clamp(72px, 11vh, 120px);
  text-align: center;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 42%, rgba(212, 162, 76, .16), transparent 70%),
    radial-gradient(120% 80% at 50% 120%, rgba(0, 0, 0, .55), transparent 60%);
}
.hero-inner { position: relative; }

.kicker {
  display: inline-flex; align-items: center; gap: .9rem; margin: 0 0 clamp(1rem, 3vh, 2rem);
  font: 600 .74rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--taupe);
}
.kicker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.fn { color: var(--gold); text-decoration: none; margin-left: .1em; }

.hero-logo { margin: 0 auto; width: min(700px, 100%, 95vh); }
.hero-logo img { width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
/* The big logo's ™ grows with it: 2.6% of its width (above). */
.hero-logo > .tm { font-size: max(10px, min(18.2px, 2.44vw, 2.47vh)); }

.hero-lede {
  max-width: 34ch; margin: clamp(.75rem, 3vh, 2rem) auto 0;
  font-size: var(--step-1); line-height: 1.4; color: var(--cream-2);
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: clamp(1.5rem, 4vh, 2.5rem); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid var(--line-strong); border-radius: 14px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--gold); animation: scroll-dot 2.2s var(--ease) infinite;
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Entrance: logo, then words, then buttons. */
.hero .kicker, .hero-logo, .hero-lede, .hero-actions { animation: rise .9s var(--ease) both; }
.hero-logo    { animation-delay: .1s; }
.hero-lede    { animation-delay: .35s; }
.hero-actions { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  overflow: hidden; background: var(--bg-deep);
  border-block: 1px solid var(--line);
  padding-block: .95rem;
}
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li {
  padding-inline: 2rem; white-space: nowrap;
  font: italic 400 1.35rem/1.2 var(--serif); color: var(--cream-2);
}
.ticker li::before { content: '“'; color: var(--gold); margin-right: .1em; font-style: normal; }
.ticker li::after  { content: '”'; color: var(--gold); margin-left: .05em; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   The clink (beer illustration + scrawls)
   -------------------------------------------------------------------------- */

.clink { padding-block: clamp(64px, 9vw, 120px) clamp(56px, 8vw, 100px); }
.clink-inner {
  display: grid; align-items: center; column-gap: clamp(8px, 3vw, 40px);
  grid-template-columns: 1fr minmax(240px, 440px) 1fr;
  grid-template-areas: "left beers right" "line line line" "fine fine fine";
}
.beers { grid-area: beers; width: 100%; height: auto; overflow: visible; }
.scrawl {
  margin: 0; font: 700 clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem)/1 var(--hand); color: var(--cream);
}
.scrawl-left  { grid-area: left;  text-align: right; transform: rotate(-5deg); }
.scrawl-right { grid-area: right; text-align: left;  transform: rotate(4deg); }
.scrawl::after {
  content: ''; display: block; width: 72px; height: 2px; margin-top: .6rem; background: var(--gold);
  border-radius: 2px; transform: rotate(-3deg);
}
.scrawl-left::after { margin-left: auto; }

.clink-line, .story-verdict {
  grid-area: line; margin: clamp(1.5rem, 4vw, 2.5rem) 0 0; text-align: center;
  font: italic 400 var(--step-4)/1 var(--serif); color: var(--cream);
}
.clink-line::after, .story-verdict::after {
  content: ''; display: block; width: min(460px, 76%); height: 14px; margin: .15em auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14'%3E%3Cpath d='M3 10 C 70 3, 170 1, 297 7' fill='none' stroke='%23d4a24c' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.clink-fine {
  grid-area: fine; display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.5rem 0 0;
  font: 600 .74rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.clink-fine::before, .clink-fine::after { content: ''; width: 60px; height: 1px; background: var(--gold); opacity: .7; }

@media (max-width: 720px) {
  .clink-inner {
    grid-template-columns: 1fr 1fr; row-gap: 1.5rem;
    grid-template-areas: "left right" "beers beers" "line line" "fine fine";
  }
  .beers { max-width: 360px; margin-inline: auto; }
  .scrawl { font-size: 1.35rem; }
  .scrawl-left { transform: rotate(-3deg); }
  .scrawl-right { transform: rotate(3deg); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: clamp(64px, 9vw, 124px); }
.section-tint { background: rgba(0, 0, 0, .22); border-block: 1px solid var(--line); }

.section-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: var(--step-3); margin-bottom: .35em; }
.section-head p { color: var(--taupe); text-wrap: pretty; }
.section-head .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold); flex: none; }
.section-head-left { margin-left: 0; text-align: left; }
.section-head-left .eyebrow::after { display: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); }
.split-col { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.page-head {
  padding-block: clamp(56px, 9vw, 112px) clamp(36px, 5vw, 64px);
  text-align: center;
  background: radial-gradient(60% 90% at 50% 0%, rgba(212, 162, 76, .12), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold); }
.page-title { font-size: var(--step-4); line-height: .98; max-width: 16ch; margin-inline: auto; }
.page-head .lede { max-width: 58ch; margin: 1.25rem auto 0; }

/* --------------------------------------------------------------------------
   Home: allegations, lists, testimony, taps, alibi, whereabouts
   -------------------------------------------------------------------------- */

.allegations { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.allegation {
  position: relative; padding: 2rem 1.75rem 1.75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s;
}
.allegation:hover { transform: translateY(-4px); border-color: rgba(212, 162, 76, .4); }
.allegation h3 { font-size: var(--step-2); margin: .2em 0 .5em; }
.allegation p { color: var(--taupe); }
.allegation .allegation-no { font: 600 .72rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.allegation .stamp { margin-top: 1.25rem; }

.mini-list, .mini-events { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mini-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.mini-list h3, .mini-events h3 { font-size: 1.45rem; }
.mini-list p, .mini-events p { margin: .2rem 0 0; font-size: var(--step--1); color: var(--taupe); }
.mini-price { font: 400 1.35rem/1.1 var(--serif); color: var(--gold); text-align: right; flex: none; max-width: 45%; }

.mini-events li { display: flex; align-items: center; gap: 1.1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.datechip {
  flex: none; display: grid; place-items: center; width: 60px; height: 64px;
  border: 1px solid rgba(212, 162, 76, .45); border-radius: 12px; line-height: 1;
}
.datechip span { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.datechip b { font: 400 1.9rem/1 var(--serif); }

.weekly-inline { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.weekly-inline span {
  padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: .82rem; color: var(--cream-2);
}
.weekly-inline b { color: var(--gold); font-weight: 600; margin-right: .2rem; }

.testimony { margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; max-width: 900px; }
.testimony blockquote { margin: 0; font: 400 var(--step-4)/1 var(--serif); }
.testimony figcaption { margin-top: 1.25rem; font: 600 .76rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); }

.statements { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.statement { margin: 0; padding: 1.75rem; border-top: 1px solid rgba(212, 162, 76, .5); background: linear-gradient(var(--surface), transparent); border-radius: 0 0 var(--radius) var(--radius); }
.statement blockquote { margin: 0 0 1rem; font: 400 var(--step-1)/1.25 var(--serif); }
.statement figcaption { font-size: var(--step--1); color: var(--taupe); }

.tap-teaser { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.tap-card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tap-card h3 { font-size: 1.6rem; }
.tap-card-style { margin: .35rem 0 .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tap-card-note { color: var(--taupe); font-size: var(--step--1); }

.alibi-section { padding-block: clamp(48px, 7vw, 96px); }
.alibi {
  position: relative; max-width: 720px; margin-inline: auto; text-align: center;
  padding: clamp(32px, 6vw, 56px) clamp(22px, 5vw, 56px);
  background: var(--paper); color: var(--ink); border-radius: 6px;
  box-shadow: var(--shadow); transform: rotate(-1deg);
}
.alibi::before {
  content: ''; position: absolute; top: -12px; left: 50%; width: 120px; height: 26px; margin-left: -60px;
  background: rgba(212, 162, 76, .55); transform: rotate(2deg);
}
.alibi .eyebrow { color: var(--ink-soft); }
.alibi .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold); }
.alibi h2 { font-size: var(--step-3); color: var(--ink); }
.alibi-text {
  min-height: 3.2em; margin: 1.25rem auto 1.5rem; max-width: 26ch;
  font: 700 clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem)/1.1 var(--hand); color: var(--ink);
}
.alibi-text .q { color: #a8761f; }
.alibi-text.is-swapping { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px) rotate(-1deg); } to { opacity: 1; transform: none; } }
.alibi .btn-ghost { color: var(--ink); border-color: rgba(31, 26, 21, .35); }
.alibi .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.alibi .fineprint { color: var(--ink-soft); }

.case-address { display: flex; flex-direction: column; gap: .15rem; margin: 1.5rem 0 .5rem; font: 400 var(--step-2)/1.2 var(--serif); }
.case-address .stamp { align-self: flex-start; margin-top: 1rem; }
.case-label { font: 600 .72rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); margin: 0 0 .5rem; }
.struck { text-decoration: line-through; text-decoration-color: var(--gold); text-decoration-thickness: 2px; color: var(--cream-2); }

.big-social, .sealed-social, .footer-social { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.big-social-link, .sealed-social-link {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .6rem 1.2rem .6rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--cream); text-decoration: none;
  transition: border-color .2s, color .2s;
}
.big-social-link:hover, .sealed-social-link:hover { border-color: var(--gold); color: var(--gold-hi); }
.sealed-social { justify-content: center; margin-top: 1rem; }

.map-art { margin: 0 0 1.5rem; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-art svg { width: 100%; height: auto; }
.map-ring { transform-origin: 200px 145px; animation: spin 40s linear infinite; }
.map-pin { animation: bob 3s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

.hours-card { padding: 1.6rem 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hours-card h3 { font-size: var(--step-1); margin-bottom: .75rem; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dotted var(--line-strong); }
.hours dt { color: var(--cream); }
.hours dd { margin: 0; color: var(--taupe); text-align: right; }

.cta-band {
  padding-block: clamp(48px, 7vw, 88px);
  background: linear-gradient(100deg, rgba(212, 162, 76, .16), rgba(212, 162, 76, .02) 60%), var(--bg-deep);
  border-top: 1px solid var(--line);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner h2 { font-size: var(--step-3); max-width: 18ch; margin-bottom: .4em; }
.cta-inner p { color: var(--taupe); max-width: 52ch; }
@media (max-width: 760px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* Opening statement: the short version of the story (the long one is on About). */
.opening-inner { max-width: 860px; text-align: center; }
.opening .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold); flex: none; }
.opening-text { margin-bottom: .75em; font: 400 var(--step-2)/1.2 var(--serif); color: var(--cream); text-wrap: balance; }
.opening-close { margin-top: 1rem; font-size: var(--step-1); color: var(--taupe); }
.opening .link-arrow { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.story { max-width: 720px; margin-inline: auto; }
.story p { font: 400 clamp(1.35rem, 1.15rem + .8vw, 1.8rem)/1.4 var(--serif); color: var(--cream-2); }
.story p:first-child::first-letter {
  float: left; margin: .06em .12em 0 0;
  font-size: 3.4em; line-height: .8; color: var(--gold);
}

.story-close { text-align: center; }
.story-invite { max-width: 30ch; margin-inline: auto; font: 400 var(--step-2)/1.2 var(--serif); color: var(--cream-2); text-wrap: balance; }

/* --------------------------------------------------------------------------
   Menu
   -------------------------------------------------------------------------- */

.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(17, 14, 12, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner { display: flex; gap: 1.75rem; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  padding: .95rem 0; white-space: nowrap; text-decoration: none;
  font-size: .9rem; font-weight: 600; color: var(--taupe);
  border-bottom: 2px solid transparent;
}
.subnav a:hover, .subnav a.is-active { color: var(--cream); border-bottom-color: var(--gold); }

.taps { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(40px, 6vw, 80px); }
.tap {
  display: grid; grid-template-columns: 2.6rem 1fr auto; gap: 0 1rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line);
  break-inside: avoid;
}
.tap-no { font: italic 400 1.3rem/1.2 var(--serif); color: var(--gold); padding-top: .15rem; }
.tap-name { font-size: 1.6rem; line-height: 1.15; }
.tap-style { margin: .35rem 0 .45rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.tap-note { color: var(--taupe-2); font-size: var(--step--1); font-style: italic; }
.tap-price { text-align: right; line-height: 1.1; }
.tap-price .pour { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe-2); margin-bottom: .3rem; }
.tap-price .amount { font: 400 1.7rem/1 var(--serif); color: var(--gold); }
.tap.is-out { opacity: .5; }
.tap.is-out .tap-name { text-decoration: line-through; text-decoration-color: var(--gold); text-decoration-thickness: 1px; }
@media (max-width: 860px) { .taps { columns: 1; } }

/* Cold cases: the ice cream list borrows the tap list's layout. Its lines carry ingredients, so they stay upright. */
.cases .tap-note { font-style: normal; color: var(--taupe); }
.cases .amount { white-space: nowrap; }
.cases + .fineprint { margin-top: 2rem; }

.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); }
@media (max-width: 860px) { .two-lists { grid-template-columns: 1fr; } }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-line { display: flex; align-items: baseline; gap: .6rem; }
.menu-line h3, .menu-line h4 { font-size: 1.4rem; line-height: 1.2; }
.leader { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted rgba(242, 234, 217, .28); transform: translateY(-.3em); }
.price { font: 400 1.4rem/1 var(--serif); color: var(--gold); white-space: nowrap; }
.menu-item p { margin: .3rem 0 0; max-width: 54ch; color: var(--taupe); font-size: var(--step--1); }
.star { color: var(--gold); margin-left: .1em; }

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.5rem; list-style: none; margin: 0 0 2.5rem; padding: 0; font-size: var(--step--1); color: var(--taupe); }
.tag {
  display: inline-block; vertical-align: .22em; margin-left: .4em;
  padding: .22em .42em; border: 1px solid currentColor; border-radius: 4px;
  font: 700 .6rem/1 var(--sans); letter-spacing: .08em;
}
.legend .tag { margin-left: 0; margin-right: .2em; }
.tag-v { color: var(--green); }
.tag-gf { color: var(--gold); }
.tag-spicy { color: var(--red); }
.tag-star { border: 0; color: var(--gold); font: 400 1.1rem/1 var(--serif); padding: 0; vertical-align: 0; }

.food-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(40px, 7vw, 96px); }
@media (max-width: 860px) { .food-grid { grid-template-columns: 1fr; } }
.food-title { font-size: var(--step-2); padding-bottom: .6rem; border-bottom: 1px solid rgba(212, 162, 76, .45); }
.food-note { margin: .75rem 0 0; font-size: var(--step--1); color: var(--taupe-2); font-style: italic; }

/* The secret menu item: a redaction bar until tapped. */
.redact { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.redact span {
  background: var(--cream-2); color: transparent; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-color .35s, color .35s;
}
.redact:hover span, .redact:focus-visible span, .is-revealed .redact span { background: transparent; color: var(--cream); }
.redact-text { color: var(--taupe-2); letter-spacing: -.04em; }

.notice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.notice { padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.notice h2 { font-size: var(--step-1); margin-bottom: .75rem; }
.notice p { font-size: var(--step--1); color: var(--taupe); }
.notice-strong { border-color: rgba(212, 162, 76, .5); }
.notice-strong strong { color: var(--gold-hi); }

/* --------------------------------------------------------------------------
   Specials: the evidence board
   -------------------------------------------------------------------------- */

.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.6rem 1.4rem; }
.board-row { margin-bottom: clamp(48px, 7vw, 80px); }

.evidence {
  --tilt: -1.2deg;
  position: relative; padding: 1.7rem 1.35rem 1.25rem;
  background: var(--paper); color: var(--ink); border-radius: 3px;
  border-top: 5px solid var(--gold);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .85);
  transform: rotate(var(--tilt));
  transition: transform .3s var(--ease);
}
.evidence:nth-child(2n) { --tilt: 1deg; }
.evidence:nth-child(3n) { --tilt: -.4deg; }
.evidence:hover { transform: rotate(0) translateY(-3px); }
.evidence-food { border-top-color: var(--red); }
.evidence-deal { border-top-color: #6f8f55; }
.pin {
  position: absolute; top: -11px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f0c77a, #a8761f 70%);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .5);
}
.evidence h3 { font-size: 1.55rem; line-height: 1.1; color: var(--ink); margin-bottom: .5rem; }
.evidence p { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.evidence .evidence-meta {
  display: flex; justify-content: space-between; gap: .75rem; margin: 0 0 .6rem;
  font: 700 .66rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #7a6a55;
}
.evidence .evidence-price { margin: .8rem 0 .2rem; font: 400 1.5rem/1.1 var(--serif); color: #8a5a12; }
.evidence .evidence-days { margin: .3rem 0 0; font: 700 1.35rem/1 var(--hand); color: #6b5a45; }

.week { display: grid; gap: 0; }
.week-day {
  display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem 2rem; align-items: start;
  padding-block: 2.2rem; border-top: 1px solid var(--line);
}
.week-day-name { font-size: var(--step-2); display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.week-day.is-today .week-day-name { color: var(--gold); }
@media (max-width: 760px) { .week-day { grid-template-columns: 1fr; } .week-day-name { flex-direction: row; align-items: center; } }

/* --------------------------------------------------------------------------
   Events: the docket
   -------------------------------------------------------------------------- */

.docket-week {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--line); gap: 1px;
}
.docket-day { background: var(--bg); padding: 1.25rem 1rem 1.5rem; min-height: 180px; }
.docket-day h3 { font: 600 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.docket-day.is-empty { background: var(--bg-deep); }
.docket-day .empty { font-size: 1rem; }
.docket-item + .docket-item { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line-strong); }
.docket-time { margin: 0 0 .25rem; font-size: .8rem; color: var(--taupe); }
.docket-title { margin: 0; font: 400 1.25rem/1.15 var(--serif); }
.docket-cat { margin: .35rem 0 0; font-size: .72rem; color: var(--taupe-2); }
@media (max-width: 1000px) {
  .docket-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docket-day { min-height: 0; }
}
@media (max-width: 520px) { .docket-week { grid-template-columns: 1fr; } .docket-day.is-empty { display: none; } }

.event-list { display: grid; gap: 0; }
.event {
  display: grid; grid-template-columns: 104px 1fr; gap: 1.8rem;
  padding: 2rem 0; border-bottom: 1px solid var(--line);
}
.event:first-child { padding-top: 0; }
.event.is-featured {
  padding: 2rem; margin-bottom: 1rem; border: 1px solid rgba(212, 162, 76, .45); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(212, 162, 76, .12), transparent 60%);
}
.event-date {
  align-self: start; display: grid; justify-items: center; gap: .3rem;
  padding: 1rem .4rem; border: 1px solid rgba(212, 162, 76, .45); border-radius: 14px; text-align: center;
}
.event-month { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.event-day { font: 400 3rem/1 var(--serif); }
.event-day-word { font-size: 2rem; }
.event-dow { font-size: .75rem; color: var(--taupe); }
.event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 .75rem; font-size: .85rem; color: var(--taupe); }
.event-body h3 { font-size: var(--step-2); margin-bottom: .4rem; }
.event-when { display: flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--cream-2); }
.event-when .icon { width: 17px; height: 17px; color: var(--gold); }
.event-desc { color: var(--taupe); margin-bottom: 1rem; max-width: 64ch; }
@media (max-width: 560px) {
  .event { grid-template-columns: 72px 1fr; gap: 1rem; }
  .event.is-featured { padding: 1.25rem; }
  .event-day { font-size: 2.2rem; }
  .event-day-word { font-size: 1.4rem; }
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.booking { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }

.booking-form-wrap {
  position: relative; padding: clamp(20px, 4vw, 44px);
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
}
.is-sealed .form { opacity: .55; }

.sealed {
  margin-bottom: 2rem; padding: 1.75rem 1.25rem; text-align: center;
  border: 1px dashed rgba(212, 162, 76, .6); border-radius: var(--radius);
  background: var(--gold-soft);
}
.sealed-title { margin: 1rem 0 .5rem; font: 400 var(--step-2)/1.1 var(--serif); }
.sealed p { color: var(--cream-2); }

.form fieldset { margin: 0 0 2rem; padding: 0; border: 0; min-width: 0; }
.form fieldset[disabled] { cursor: not-allowed; }
.form-legend { display: block; margin-bottom: 1rem; padding: 0; font: 400 var(--step-1)/1.1 var(--serif); color: var(--cream); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-wide, .field-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid, .form-grid-3 { grid-template-columns: 1fr; } }

.field label { display: block; margin-bottom: .4rem; font-size: .86rem; font-weight: 600; color: var(--cream-2); }
.optional { font-weight: 400; color: var(--taupe-2); }

.form input:not([type="checkbox"], [type="radio"]), .form select, .form textarea,
.admin-form input:not([type="checkbox"]):not([type="radio"]), .admin-form select, .admin-form textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  font: inherit; font-size: 1rem; color: var(--cream);
  background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea, .admin-form textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.form select, .admin-form select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a24c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
}
.form input:focus, .form select:focus, .form textarea:focus,
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 162, 76, .25);
}
.form [aria-invalid="true"], .form input[aria-invalid="true"], .admin-form [aria-invalid="true"] { border-color: var(--red); }
.form ::placeholder, .admin-form ::placeholder { color: var(--taupe-2); opacity: 1; }
.form :disabled { cursor: not-allowed; }

.field-error { margin: .4rem 0 0; font-size: .85rem; color: #ee8e76; }
.field-hint { margin: .4rem 0 0; font-size: .85rem; color: var(--taupe-2); }
.field-hint:empty { display: none; }

.check { display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.25rem; font-size: .9rem; color: var(--taupe); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--gold); flex: none; }

.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-submit .fineprint { margin: 0; flex: 1 1 240px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.booking-aside { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) { .booking-aside { position: static; } }

.aside-card { padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.aside-card + .aside-card { margin-top: 1.25rem; }
.booking-aside .aside-card + .aside-card { margin-top: 0; }
.aside-card h2 { display: flex; align-items: center; gap: .55rem; font-size: var(--step-1); margin-bottom: 1rem; }
.aside-card h2 .icon { color: var(--gold); width: 22px; height: 22px; }
.aside-card p { color: var(--taupe); }
.aside-cta { background: linear-gradient(140deg, rgba(212, 162, 76, .14), transparent 70%), var(--surface); }

.ticks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.ticks li { position: relative; padding-left: 1.4rem; margin-bottom: .75rem; color: var(--taupe); font-size: .95rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .78em; width: .7rem; height: 1.5px; background: var(--gold); }
.ticks:last-child { margin-bottom: 0; }

.flash {
  margin: 0 0 1.5rem; padding: .95rem 1.15rem;
  background: var(--surface-2); border-left: 3px solid var(--green); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--cream);
}
.flash-error { border-left-color: var(--red); }
.flash-warn  { border-left-color: var(--gold); }

/* Reservation details & the party "case file" */
.case-file {
  max-width: 760px; margin-inline: auto; padding: clamp(22px, 5vw, 48px);
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}
.case-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-bottom: 1.75rem; }
.case-head .case-label { width: 100%; }
.case-number { margin: 0; font: 400 var(--step-3)/1 var(--serif); color: var(--gold); letter-spacing: .04em; }
.case-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0 0 1.5rem; }
.case-details div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.case-details dt { font: 600 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: .45rem; }
.case-details dd { margin: 0; font: 400 1.35rem/1.25 var(--serif); }
@media (max-width: 560px) { .case-details { grid-template-columns: 1fr; } }
.case-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.case-actions form { margin: 0; }
.case-file > p { color: var(--cream-2); }

.case-form-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1.5rem;
  margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px dashed var(--line-strong);
}
.case-form-head .case-label { width: 100%; }
.case-form-head h2 { font-size: var(--step-3); }
.case-number-blank { font: 400 1.2rem/1 var(--serif); color: var(--taupe); letter-spacing: .12em; }

/* --------------------------------------------------------------------------
   Private parties
   -------------------------------------------------------------------------- */

.spaces { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.space { padding: 2rem 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.space-kind { margin: 0 0 .75rem; font: 600 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.space h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.space-cap { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--cream-2); }
.space-cap .icon { color: var(--gold); }
.space p:last-child { color: var(--taupe); }

.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.package {
  position: relative; display: flex; flex-direction: column;
  padding: 2.25rem 1.9rem 1.9rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
}
.package.is-featured {
  border-color: rgba(212, 162, 76, .7);
  background: linear-gradient(160deg, rgba(212, 162, 76, .16), transparent 55%), var(--surface);
}
.package > .stamp { position: absolute; top: -.85rem; right: 1.2rem; background: var(--bg); }
.package-summary { margin: 0 0 .5rem; font: 600 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.package h3 { font-size: var(--step-3); margin-bottom: .6rem; }
.package-price { margin: 0 0 .3rem; font: 400 var(--step-1)/1.2 var(--serif); color: var(--gold); }
.package-duration { display: flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--taupe); margin-bottom: 1.4rem; }
.package-duration .icon { width: 17px; height: 17px; }
.package .btn { margin-top: auto; align-self: flex-start; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; padding-top: 1.25rem; border-top: 1px solid rgba(212, 162, 76, .55); }
.steps li::before {
  content: 'Exhibit ' counter(step, upper-alpha); display: block; margin-bottom: .8rem;
  font: 600 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.steps h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.steps p { color: var(--taupe); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Gift certificates: the certificate (always on paper, whatever the page),
   the buying form, a certificate's own page, and the admin's page for
   printing a batch. The certificate sizes itself to its own width
   (container units), so it looks the same on a phone, in the admin and on
   paper. Printing leaves just the certificates (see the end of this file).
   -------------------------------------------------------------------------- */

.gift-card {
  container-type: inline-size;
  position: relative; width: 100%; max-width: 760px; margin-inline: auto; padding: 10px;
  background: var(--paper); color: var(--ink); text-align: left;
  border-radius: 6px; box-shadow: var(--shadow);
}
.gift-card-frame {
  position: relative; overflow: hidden;
  padding: clamp(18px, 5.5cqi, 40px) clamp(18px, 6cqi, 46px) clamp(14px, 3.5cqi, 26px);
  border: 2px solid var(--gold); border-radius: 3px;
  background: radial-gradient(70% 60% at 100% 0%, rgba(212, 162, 76, .2), transparent 70%);
}
.gift-card-frame::before {
  content: ''; position: absolute; inset: 5px; pointer-events: none;
  border: 1px solid rgba(168, 118, 31, .45); border-radius: 2px;
}
.gift-card.is-promo .gift-card-frame { border-style: dashed; }

.gift-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.gift-card-brand { margin: 0; font: 400 clamp(1.6rem, 6.5cqi, 2.9rem)/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.gift-card-brand .q, .gift-card-message .q { color: #a8761f; }
.gift-card-no { margin: 0; font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.gift-card-kind { margin: .55rem 0 0; font: 700 .7rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: #8a5a12; }

.gift-card-body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.1rem clamp(16px, 4cqi, 34px);
  margin-top: clamp(10px, 2.5cqi, 20px);
}
.gift-card-amount { margin: 0; font: 400 clamp(3.6rem, 16cqi, 7.4rem)/.9 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.gift-card-good { margin: .55rem 0 1.05rem; font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
.gift-card-names { display: grid; gap: .5rem; margin: 0; }
.gift-card-names div { display: flex; align-items: baseline; gap: .8rem; }
.gift-card-names dt { flex: none; width: 3.4em; font: 700 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
/* Blank, a name is a line to write on. */
.gift-card-names dd {
  flex: 1; min-width: 0; min-height: 1.75rem; margin: 0; padding: 0 .15rem .1rem;
  border-bottom: 1px solid rgba(31, 26, 21, .35);
  font: 700 clamp(1.3rem, 4.4cqi, 1.75rem)/1.1 var(--hand); color: var(--ink); overflow-wrap: anywhere;
}
.gift-card-message { margin: .95rem 0 0; font: 700 clamp(1.15rem, 3.8cqi, 1.5rem)/1.2 var(--hand); color: var(--ink); overflow-wrap: anywhere; }
.gift-card-message [data-gift-show] { white-space: pre-line; }
.gift-card-message .q { font-family: var(--serif); font-weight: 400; }

.gift-card-side { display: grid; justify-items: center; gap: .6rem; text-align: center; }
/* Black on white on purpose, like every QR code here: every phone reads it. */
.gift-card-qr { width: clamp(84px, 19cqi, 128px); aspect-ratio: 1; overflow: hidden; background: #fff; border-radius: 4px; }
.gift-card-qr:empty { display: none; }
.gift-card-qr svg { display: block; width: 100%; height: 100%; }
.gift-card-code { margin: 0; }
.gift-card-code span { display: block; margin-bottom: .35rem; font: 700 .62rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.gift-card-code strong {
  font: 600 clamp(.95rem, 2.8cqi, 1.12rem)/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  letter-spacing: .06em; color: var(--ink); white-space: nowrap;
}
.gift-card-fine {
  margin: clamp(12px, 3cqi, 20px) 0 0; padding-top: .7rem; border-top: 1px dashed rgba(31, 26, 21, .3);
  font-size: .72rem; line-height: 1.45; color: var(--ink-soft);
}
.gift-card-stamp { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.gift-card-stamp .stamp { font-size: clamp(1rem, 4.6cqi, 1.9rem); border-width: 3px; transform: rotate(-12deg); background: rgba(239, 230, 210, .55); }

/* Narrow (a phone, a sidebar): one column, the QR code beside the code. */
@container (max-width: 520px) {
  .gift-card-body { grid-template-columns: minmax(0, 1fr); }
  .gift-card-side { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: .9rem; text-align: left; }
  .gift-card-head { flex-wrap: wrap; row-gap: .3rem; }
}

/* Home: the gift certificates section, with a sample certificate */
.home-gift .split { align-items: center; }
.home-gift-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.home-gift-actions + .fineprint { margin-top: 1.25rem; }
.home-gift-card .gift-card { max-width: 560px; transform: rotate(2deg); }

/* The buying form */
.gift-preview { margin: 0 0 2.5rem; }
.gift-preview .gift-card { transform: rotate(-.6deg); }
.amount-picks { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.amount-pick { position: relative; }
.amount-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.amount-pick span {
  display: inline-grid; place-items: center; min-width: 76px; min-height: 50px; padding: 0 1.05rem;
  background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: 999px;
  font: 400 1.4rem/1 var(--serif); color: var(--cream); cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.amount-pick:hover span { border-color: rgba(212, 162, 76, .6); }
.amount-pick input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.amount-pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.amount-pick-other span { font: 600 .92rem/1 var(--sans); }
.form input.amount-other { width: 10rem; }
.amount-picks.has-error .amount-pick span, .form .amount-picks.has-error input.amount-other { border-color: rgba(208, 100, 75, .7); }
.gift-deliver { margin-bottom: 1.1rem; }
.gift-form:has(input[name="deliver"][value="me"]:checked) .gift-them { display: none; }

.gift-check-result {
  margin: 0 0 1rem; padding: .9rem 1.1rem; color: var(--cream-2);
  background: var(--surface-2); border-left: 3px solid var(--green); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.gift-check-result strong { color: var(--cream); }
.gift-check input[name="code"] { text-transform: uppercase; letter-spacing: .08em; }
.gift-check .btn { width: 100%; margin-top: .75rem; }

/* A certificate's own page (/gift?k=…) */
.gift-page { gap: clamp(1rem, 3vh, 1.75rem); }
.gift-page .soon-logo { width: min(170px, 46vw); }
.gift-paid, .gift-page-card, .gift-page-side { width: min(760px, 100%); }
.gift-paid {
  display: flex; align-items: center; gap: .9rem 1.25rem; padding: 1rem 1.25rem;
  background: var(--surface); border: 1px solid rgba(155, 184, 122, .45); border-radius: var(--radius);
}
.gift-paid .stamp { flex: none; }
.gift-paid p { margin: 0; color: var(--cream-2); }
.gift-page-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.gift-page-balance { margin: 0; font: 400 var(--step-1)/1.25 var(--serif); color: var(--cream); }
.gift-page-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.gift-page-how { flex-basis: 100%; margin: 0; font-size: .88rem; color: var(--taupe); }
@media (max-width: 560px) { .gift-paid { flex-direction: column; align-items: flex-start; } }

/* The admin's page for printing: certificates two to a sheet of paper */
.gift-print { padding: 24px 16px 48px; }
.gift-print-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; max-width: 760px; margin: 0 auto 1.5rem; }
.gift-print-bar p { flex: 1 1 260px; margin: 0; color: var(--taupe); }
.gift-sheet { display: grid; gap: 28px; }

/* --------------------------------------------------------------------------
   Find us: rumors
   -------------------------------------------------------------------------- */

.contact-list { margin: 0 0 1rem; }
.contact-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dotted var(--line-strong); }
.contact-list dt { color: var(--taupe); }
.contact-list dd { margin: 0; }

.rumors { border-top: 1px solid var(--line); }
.rumor { border-bottom: 1px solid var(--line); }
.rumor summary {
  display: flex; align-items: center; gap: 1rem; padding: 1.4rem 0;
  list-style: none; cursor: pointer;
}
.rumor summary::-webkit-details-marker { display: none; }
.rumor-q { flex: 1; font: 400 var(--step-1)/1.2 var(--serif); }
.rumor summary::after {
  content: '+'; flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold); font: 400 1.3rem/1 var(--sans);
  transition: transform .3s var(--ease);
}
.rumor[open] summary::after { transform: rotate(45deg); }
.rumor .stamp { font-size: .64rem; transform: rotate(-4deg); }
.rumor p { margin: 0; padding: 0 3.5rem 1.5rem 0; color: var(--taupe); max-width: 64ch; }
@media (max-width: 560px) {
  .rumor summary { flex-wrap: wrap; }
  .rumor-q { flex-basis: calc(100% - 50px); }
  .rumor .stamp { order: 3; }
  .rumor p { padding-right: 0; }
}

/* --------------------------------------------------------------------------
   Legal
   -------------------------------------------------------------------------- */

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .legal-toc { position: static; padding: 1.5rem; background: var(--surface); border-radius: var(--radius); } }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: block; padding: .35rem 0; color: var(--taupe); text-decoration: none; font-size: .92rem; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero) '  '; color: var(--gold); font-size: .75rem; white-space: pre; }
.legal-toc a:hover { color: var(--cream); }
.legal-body { max-width: 760px; }
.legal-body section { margin-bottom: 3.5rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-body h2 { font-size: var(--step-2); padding-bottom: .6rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.legal-body h3 { margin: 1.75rem 0 .5rem; font: 600 .8rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); }
.legal-body p, .legal-body li { color: var(--cream-2); }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin-bottom: .6rem; }
.legal-body li::marker { color: var(--gold); }
.legal-callout { padding-left: 1.1rem; border-left: 3px solid var(--gold); font: 400 var(--step-1)/1.3 var(--serif); color: var(--cream) !important; }
.legal-sign { margin: 1.25rem 0; padding: 1.25rem 1.5rem; border: 2px solid var(--cream-2); border-radius: 6px; text-align: center; }
.legal-sign-title { margin: 0 0 .5rem; font: 700 .9rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--cream); }
.legal-sign p:last-child { color: var(--cream); font-weight: 600; }

.lost { min-height: 60vh; display: grid; place-items: center; }
.lost .stamp { margin: 1.5rem 0 .5rem; font-size: .9rem; }
.lost .page-title { margin-top: .5rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { padding-block: clamp(56px, 8vw, 96px) 32px; background: var(--bg-deep); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
.footer-logo { width: min(280px, 70vw); margin-left: -10px; }
.footer-logo img { width: 100%; }
.footer-tag { margin-top: .5rem; font: italic 400 var(--step-1)/1.2 var(--serif); color: var(--taupe); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-cols h2 { margin: 0 0 1rem; font: 600 .72rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.footer-cols a { display: block; padding: .3rem 0; color: var(--taupe); text-decoration: none; font-size: .95rem; }
.footer-cols a:hover { color: var(--cream); }
/* QR code of the site's address. Black on white on purpose, so every phone reads it. */
.footer-qr { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 0; }
.footer-qr-code { flex: none; width: 96px; height: 96px; overflow: hidden; background: #fff; border-radius: 8px; }
.footer-qr-code svg { display: block; width: 100%; height: 100%; }
.footer-qr:has(.footer-qr-code:empty) { display: none; }
.footer-qr figcaption { max-width: 16rem; font-size: .88rem; line-height: 1.45; color: var(--taupe); overflow-wrap: anywhere; }
.footer-qr figcaption strong { display: block; margin-bottom: .15rem; font: 400 1.3rem/1.15 var(--serif); color: var(--cream); }
.footer-social { flex-direction: column; gap: 0; margin: 0; }
.footer-social-link { display: flex !important; align-items: center; gap: .6rem; }
.footer-notice {
  display: flex; align-items: center; gap: 1rem; margin: 3rem 0 1.5rem; padding: 1.25rem 0;
  border-block: 1px solid var(--line);
}
.footer-notice .icon { width: 30px; height: 30px; color: var(--gold); }
.footer-notice p { margin: 0; font-size: .92rem; color: var(--taupe); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .84rem; color: var(--taupe-2); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-legal a { color: var(--taupe); text-decoration: none; }
.footer-legal a:hover { color: var(--cream); }
.footer-legal span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1rem; }
/* The small print's links, big enough for a thumb. */
@media (pointer: coarse) {
  .footer-legal { align-items: center; row-gap: 0; }
  .footer-legal a, .soon-legal a { padding-block: .55rem; }
  .soon-legal { row-gap: 0; }
}

/* --------------------------------------------------------------------------
   Entry popup
   -------------------------------------------------------------------------- */

.entry {
  width: min(560px, calc(100vw - 32px)); max-width: none;
  /* dvh: the height left between a phone browser's toolbars, so it scrolls instead of hiding under them. */
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; background: transparent; color: var(--cream); overflow-y: auto;
}
.entry::backdrop { background: rgba(10, 8, 7, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.entry[open] { animation: pop .55s var(--ease) both; }
.entry[open]::backdrop { animation: fade .4s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.entry-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(36px, 7vw, 60px) clamp(22px, 6vw, 52px) clamp(28px, 5vw, 40px);
  background: var(--bg); background-image: radial-gradient(70% 60% at 50% 0%, rgba(212, 162, 76, .18), transparent 70%), var(--grain);
  border: 1px solid rgba(212, 162, 76, .5); border-radius: 20px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
}
.entry-card::before { content: ''; position: absolute; inset: 9px; border: 1px solid var(--line); border-radius: 14px; pointer-events: none; }
.entry-kicker { margin: 0; font: italic 400 var(--step-2)/1 var(--serif); color: var(--gold); }
.entry-title { margin: .1em 0 .15em; font-size: clamp(3rem, 2rem + 6vw, 5.2rem); line-height: .95; }
.entry-year {
  display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 0 1.4rem;
  font: 600 1.1rem/1 var(--sans); letter-spacing: .6em; text-indent: .6em; color: var(--cream-2);
}
.entry-year::before, .entry-year::after { content: ''; width: 48px; height: 1px; background: var(--gold); }
.entry-note { max-width: 36ch; margin: 0 auto 1.75rem; color: var(--taupe); }
.entry-fine { margin: 1.25rem 0 0; font-size: .8rem; color: var(--taupe-2); }

/* The coming soon page: the popup's card on its own, while the site is password-protected. */
.soon {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(1rem, 3vh, 2rem);
  padding: clamp(24px, 6vh, 64px) 16px;
}
.soon-logo { width: min(240px, 62vw); }
.soon-card { width: min(560px, 100%); animation: pop .55s var(--ease) both; }
.soon-actions { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.soon-actions > .btn { max-width: 100%; text-align: center; }
.soon-preview[open] { align-self: stretch; }
.soon-preview > summary { list-style: none; }
.soon-preview > summary::-webkit-details-marker { display: none; }
.soon-preview[open] > summary { display: none; }
.soon-form { max-width: 380px; margin: 0 auto; text-align: left; }
.soon-row { display: flex; gap: .6rem; }
.soon-row input { flex: 1 1 auto; min-width: 0; }
.soon-row .btn { flex: none; }
@media (max-width: 420px) { .soon-row { flex-direction: column; } }

/* The opening statement, under the coming soon card (styled with the home page's .opening) */
.soon-opening { width: min(560px, 100%); margin: clamp(.5rem, 2vh, 1.25rem) 0; text-align: center; }
.soon-opening .opening-text { font-size: clamp(1.45rem, 1.25rem + .9vw, 1.9rem); }

/* The "Site preview" button, under the coming soon card */
.soon-below { width: min(380px, 100%); display: flex; flex-direction: column; align-items: center; }
.soon-below .soon-form { margin-top: 1rem; }
.soon-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.25rem; margin: 0; font-size: .8rem; }
.soon-legal a { color: var(--taupe-2); text-decoration: none; }
.soon-legal a:hover { color: var(--cream); }

/* "Get on the List": the mailing list form, on the coming soon page and in the footer */
.notify-lede { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; color: var(--cream-2); text-align: center; }
.notify-fields { display: grid; gap: .9rem; }
.notify-consent { margin-top: 1rem; font-size: .76rem; line-height: 1.45; }
.notify-form .field-error { margin-top: .4rem; }
.notify-form .btn { width: 100%; margin-top: 1.1rem; }
.notify-form .field-hint { text-align: center; }
.notify-done { display: flex; flex-direction: column; align-items: center; gap: .8rem; margin: .25rem 0 .75rem; color: var(--cream-2); }

/* The "Get on the List" popup on the full site: the entry popup's card, with a form */
.list-popup .entry-card { padding-top: clamp(44px, 7vw, 56px); }
.list-popup .entry-title { font-size: clamp(2.3rem, 1.7rem + 3vw, 3.4rem); }
.list-popup .entry-note { margin-bottom: 1.25rem; }
.list-popup .entry-card > .stamp { margin-bottom: 1rem; }
.list-popup-x { position: absolute; top: 20px; right: 20px; z-index: 1; margin: 0; }
.list-popup-x button {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--taupe); font: 400 1.5rem/1 var(--sans); cursor: pointer;
}
.list-popup-x button:hover { color: var(--cream); border-color: var(--gold); }
.list-popup-no {
  margin-top: 1rem; padding: .35rem; background: none; border: 0; cursor: pointer;
  font: 500 .86rem/1.3 var(--sans); color: var(--taupe); text-decoration: underline; text-underline-offset: .2em;
}
.list-popup-no:hover { color: var(--cream); }

.footer-list {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.5rem 3rem; align-items: start;
  margin-top: clamp(40px, 6vw, 64px); padding: clamp(22px, 4vw, 40px);
  background: linear-gradient(140deg, rgba(212, 162, 76, .1), transparent 60%), var(--surface);
  border: 1px solid rgba(212, 162, 76, .35); border-radius: var(--radius);
}
.footer-list-text h2 { margin: 0 0 .6rem; font-size: var(--step-2); }
.footer-list-text p { margin: 0; color: var(--taupe); }
.footer-list-form .notify-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-list-form .btn { width: auto; min-width: 220px; }
.footer-list-form .field-hint { text-align: left; }
.footer-list-done { align-items: flex-start; }
@media (max-width: 860px) { .footer-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .footer-list-form .notify-fields { grid-template-columns: 1fr; }
  .footer-list-form .btn { width: 100%; }
}

/* "Add to Home Screen": the button under the footer's QR code (or above the
   coming soon page's small print), and its popup with the steps
   (partials/home-screen.php, site.js). Phones only. The popup sits low on
   a phone, near the browser buttons the steps point at. */
.footer-home { margin-top: 1.25rem; }
.soon-home { display: flex; justify-content: center; }
.home-btn .icon { color: var(--gold); }

.home-sheet {
  width: min(440px, calc(100vw - 24px)); max-width: none;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; background: transparent; color: var(--cream); overflow-y: auto;
}
.home-sheet::backdrop { background: rgba(10, 8, 7, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.home-sheet[open] { animation: pop .45s var(--ease) both; }
.home-sheet[open]::backdrop { animation: fade .3s ease both; }
@media (max-width: 600px) {
  .home-sheet { margin: auto auto max(12px, env(safe-area-inset-bottom)); }
  .home-sheet[open] { animation-name: sheet-up; }
}
@keyframes sheet-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

.home-sheet-card {
  position: relative; padding: 24px 20px 14px;
  background: var(--bg); background-image: radial-gradient(80% 55% at 50% 0%, rgba(212, 162, 76, .16), transparent 70%), var(--grain);
  border: 1px solid rgba(212, 162, 76, .5); border-radius: 20px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .9);
}
.home-sheet .list-popup-x { top: 14px; right: 14px; }
.home-sheet-head { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
.home-sheet-icon {
  width: 58px; height: 58px; flex: none; border-radius: 13px;
  box-shadow: 0 0 0 1px rgba(212, 162, 76, .45), 0 10px 24px -12px #000;
}
.home-sheet-kicker { margin: 0 0 .2rem; font: italic 400 1.1rem/1.1 var(--serif); color: var(--gold); }
.home-sheet-title { font-size: clamp(1.65rem, 1.4rem + 1.2vw, 2rem); line-height: 1; }
.home-sheet-note { margin: 1rem 0; font-size: .95rem; line-height: 1.5; color: var(--taupe); }
.home-sheet-go { width: 100%; }

.home-steps { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.home-steps li {
  counter-increment: step;
  display: flex; align-items: flex-start; gap: .8rem; padding: .75rem .9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .95rem; line-height: 1.45; color: var(--cream-2);
}
.home-steps li::before {
  content: counter(step); flex: none; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); color: var(--bg); font: 700 .78rem/1 var(--sans);
}
.home-steps .icon { display: inline-block; vertical-align: -.28em; width: 1.3em; height: 1.3em; margin-left: .1em; color: var(--gold); }
.home-steps small { display: block; margin-top: .15rem; font-size: .82rem; color: var(--taupe-2); }
.home-steps small .icon { width: 1.15em; height: 1.15em; }
.home-sheet-later { text-align: center; }
.home-sheet-later .list-popup-no { margin-top: .6rem; padding: .6rem 1rem; }

/* The job application (/jobs): the same card, wider, with the form in it. */
.soon-logo-link { display: block; }
.jobs-card { width: min(760px, 100%); }
.jobs-card > .stamp { margin-bottom: 1.5rem; }
.jobs-done { font-size: clamp(2.6rem, 1.8rem + 4vw, 4.2rem); margin-bottom: .4em; }
.jobs-form { margin-top: 2.25rem; text-align: left; }
.jobs-form .form-legend + .field-hint { margin: -.55rem 0 1rem; }

.jobs-form .choice-set { margin-bottom: 1.4rem; }
.jobs-form .choice-set:last-child { margin-bottom: 0; }
.choice-legend { display: block; margin-bottom: .5rem; padding: 0; font-size: .86rem; font-weight: 600; color: var(--cream-2); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .65rem; }
.choices-tight { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.choice {
  display: flex; align-items: flex-start; gap: .7rem; padding: .8rem .95rem;
  background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color .2s, background-color .2s;
}
.choice:hover { border-color: rgba(212, 162, 76, .6); }
.choice:has(:checked) { border-color: var(--gold); background: var(--gold-soft); }
.choice input { width: 20px; height: 20px; margin: .12rem 0 0; accent-color: var(--gold); flex: none; }
.choice-name { display: block; font-weight: 600; line-height: 1.35; color: var(--cream); }
.choice-desc { display: block; margin-top: .2rem; font-size: .84rem; line-height: 1.4; color: var(--taupe); }
.has-error .choice:not(:has(:checked)) { border-color: rgba(208, 100, 75, .7); }

/* The contact form (/contact): the same card again, with a short form in it. */
.contact-card { width: min(640px, 100%); }
.contact-card > .stamp { margin-bottom: 1.5rem; }
.contact-card .entry-note { max-width: 46ch; }
.contact-done { font-size: clamp(2.6rem, 1.8rem + 4vw, 4.2rem); margin-bottom: .4em; }
.contact-test { text-align: left; font-size: .9rem; }
.contact-form { margin-top: .5rem; text-align: left; }
.contact-form .form-grid { margin-bottom: 1.75rem; }

/* --------------------------------------------------------------------------
   Investors: the "Interested in investing?" button at the bottom of the
   coming soon page, and the investor interest list (/investors). Emerald
   with a brass edge, a color nothing else on the site uses, so it reads as
   its own thing. The notice the SEC requires is printed on paper, so it
   can't be missed.
   -------------------------------------------------------------------------- */

:root {
  --emerald:      #0f4034;   /* bottle green */
  --emerald-deep: #0a2e25;
  --emerald-hi:   #145443;   /* hover; cream text is above 7:1 on all three */
  --emerald-soft: rgba(20, 84, 67, .24);
  --emerald-line: rgba(78, 196, 162, .28);
  --emerald-text: #7fd6b9;   /* emerald for text on the dark background */
}

.btn-invest {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--emerald-deep), var(--emerald));
  color: var(--cream);
  border-color: rgba(212, 162, 76, .6);
  box-shadow: 0 14px 34px -16px rgba(10, 46, 37, .95), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.btn-invest:hover { color: var(--cream); border-color: var(--gold-hi); background: linear-gradient(135deg, var(--emerald), var(--emerald-hi)); }
.btn-invest .icon { color: var(--gold-hi); }
/* A slow brass glint across the button on hover. */
.btn-invest::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(231, 187, 102, .22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-invest:hover::after { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) { .btn-invest::after { display: none; } }

.soon-invest { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.soon-invest-note { margin: 0; font-size: .76rem; color: var(--taupe-2); text-align: center; }

.invest-card { width: min(800px, 100%); }
.invest-card > .stamp { margin-bottom: 1.5rem; }
.invest-title { font-size: clamp(2.8rem, 1.9rem + 4.4vw, 4.6rem); }
.invest-done { font-size: clamp(2.6rem, 1.8rem + 4vw, 4.2rem); margin-bottom: .4em; }
.invest-lede { max-width: 54ch; }
.invest-owner { text-align: left; font-size: .9rem; }
.invest-body { margin-top: 2rem; text-align: left; }

.invest-notice {
  margin: 0 0 2.25rem; padding: clamp(20px, 4vw, 32px);
  background: var(--paper); color: var(--ink); text-align: left;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9);
}
.invest-notice h2 { margin: 0 0 1rem; font-size: var(--step-1); color: var(--ink); }
.invest-notice p { margin: 1rem 0 0; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.invest-notice-list { display: grid; gap: .6rem; margin: 0; padding-left: 1.3rem; font-size: .95rem; line-height: 1.5; }
.invest-notice-list li::marker { font-weight: 700; color: var(--emerald); }
.invest-notice-sm { margin: 1.5rem 0 1.75rem; }
.invest-notice-sm .invest-notice-list { font-size: .84rem; }

.invest-section { margin: 0 0 2.25rem; }
.invest-section h2 { margin: 0 0 .9rem; font-size: var(--step-2); }
.invest-section > p { color: var(--cream-2); }
.invest-muted { font-size: .9rem; color: var(--taupe); }
.invest-tests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0 1.5rem; }
.invest-test { padding: 1rem 1.1rem; background: var(--emerald-soft); border: 1px solid var(--emerald-line); border-radius: var(--radius-sm); }
.invest-test p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--cream-2); }
.invest-test .invest-test-name { margin-bottom: .35rem; font: 400 var(--step-1)/1.1 var(--serif); color: var(--emerald-text); }
@media (max-width: 700px) { .invest-tests { grid-template-columns: 1fr; } }
.invest-fine li { font-size: .9rem; }
.invest-details { margin: 0 0 1.25rem; padding: .9rem 1.1rem; background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.invest-details > summary { cursor: pointer; font-weight: 600; color: var(--cream); }
.invest-details[open] > summary { margin-bottom: .85rem; }
.invest-details p { font-size: .92rem; color: var(--cream-2); }
.invest-details .ticks { margin-bottom: 0; }
.invest-details .ticks li { font-size: .9rem; }

.invest-form .choice-set { margin-bottom: 1.4rem; }
.invest-field { margin-bottom: 1.4rem; }
.invest-ack-field .field-error { margin-top: .5rem; }
.invest-ack .choice-name { font-weight: 500; font-size: .92rem; line-height: 1.5; }
.invest-ack.has-error { border-color: rgba(208, 100, 75, .7); }
.invest-form .form-submit { margin-top: 1.5rem; }

.admin-pill {
  position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  padding: .55rem 1rem; border-radius: 999px; background: var(--gold); color: var(--bg);
  font-size: .82rem; font-weight: 700; text-decoration: none; box-shadow: var(--shadow);
}
.admin-pill:hover { color: var(--bg); background: var(--gold-hi); }

/* --------------------------------------------------------------------------
   The House: House Rewards, membership, My House
   The club side of the bar: near-black and charcoal, oxblood for House
   Member, black and brass for the Founder's Club, big serif numbers, fine
   brass rules. Recognition, not a coupon book: no coins, no confetti.
   -------------------------------------------------------------------------- */

:root {
  --house-black:   #0c0a09;
  --house-char:    #1c1815;
  --house-oxblood: #5a1d21;
  --house-oxdeep:  #2a0f11;
  --house-silver:  #cfd2d6;
}

/* Small things the admin area also has */
.muted { color: var(--taupe); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
.btn-link { background: none; border: 0; padding: 0; font: 600 .88rem/1.2 var(--sans); color: var(--gold); cursor: pointer; }
.btn-link:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: .2em; }
/* My House's text buttons ("Send a new code", "Sign out everywhere"…): a
   thumb-sized tap area that takes no extra room. Not in the admin, whose
   admin.css sets its own padding. */
.page-my-house .btn-link { padding-block: .65rem; margin-block: -.65rem; }
.btn-danger { color: #ee8e76; }
.btn-danger:hover { color: #ffae99; }
.btn .icon { width: 18px; height: 18px; }

/* "My House" in the header: a gold pill with a house (or the member's initials) */
.house-link {
  display: inline-flex; align-items: center; gap: .55rem; flex: none;
  min-height: 40px; padding: 3px .95rem 3px 3px;
  border: 1px solid rgba(212, 162, 76, .55); border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 162, 76, .14), rgba(212, 162, 76, .03));
  color: var(--cream); text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap;
  transition: border-color .2s, color .2s, background-color .2s;
}
.house-link:hover { border-color: var(--gold); color: var(--gold-hi); }
.house-link[aria-current="page"] { border-color: var(--gold); background: var(--gold-soft); }
.house-link-mark {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: var(--house-black); border: 1px solid rgba(212, 162, 76, .6);
  color: var(--gold); font: 700 .7rem/1 var(--sans); letter-spacing: .06em;
}
.house-link-mark .icon { width: 17px; height: 17px; }
.nav-house-item { display: none; }

@media (min-width: 1021px) and (max-width: 1200px) { .header-bar { gap: 1.5rem; } }
@media (max-width: 1139px) {
  .house-link { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .house-link-mark { width: 100%; height: 100%; border: 0; background: none; font-size: .78rem; }
  .house-link-mark .icon { width: 20px; height: 20px; }
  .house-link-text { display: none; }
}
@media (max-width: 1020px) {
  .site-nav .nav-house-item { display: block; }
  .site-nav .nav-house-item a { display: flex; align-items: center; gap: .7rem; color: var(--gold); }
  .site-nav .nav-house-item .icon { width: 30px; height: 30px; }
}
@media (max-width: 380px) {
  .header-actions { gap: .45rem; }
  .house-link, .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 340px) { .header-actions .house-link { display: none; } }

/* The strip across the top of every page (admin → House Rewards → Program) */
.house-banner { background: linear-gradient(90deg, rgba(212, 162, 76, .2), rgba(212, 162, 76, .06)); border-bottom: 1px solid rgba(212, 162, 76, .3); }
.house-banner p { margin-block: 0; padding: .6rem 0; text-align: center; font-size: .9rem; color: var(--cream); }
.house-banner a { display: inline-flex; align-items: center; gap: .3rem; margin-left: .5rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.house-banner .icon { width: 15px; height: 15px; }

/* Heroes: Rewards, Membership, Karaoke, My House, Missing points */
.house-hero {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding-block: clamp(64px, 11vw, 140px) clamp(56px, 8vw, 104px);
  background: linear-gradient(180deg, #0e0b0a, var(--bg));
  border-bottom: 1px solid var(--line);
}
.house-hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(212, 162, 76, .16), transparent 70%),
    repeating-radial-gradient(circle at 50% 130%, rgba(212, 162, 76, .045) 0 1px, transparent 1px 26px);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.house-hero-member .house-hero-glow,
.house-hero-karaoke .house-hero-glow {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(122, 40, 44, .42), transparent 70%),
    repeating-radial-gradient(circle at 50% 130%, rgba(212, 162, 76, .045) 0 1px, transparent 1px 26px);
}
.house-hero-inner { max-width: 900px; }
.house-hero .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold); flex: none; }
.house-hero .eyebrow .icon { width: 16px; height: 16px; color: var(--gold); }
.house-hero-title {
  max-width: 15ch; margin: 0 auto;
  font: 400 clamp(2.9rem, 1.5rem + 5.8vw, 6.4rem)/.94 var(--serif); letter-spacing: -.02em; text-wrap: balance;
}
.house-hero-lede { max-width: 46ch; margin: 1.4rem auto 0; font-size: var(--step-1); line-height: 1.45; color: var(--cream-2); text-wrap: pretty; }
.house-hero-note {
  display: inline-flex; align-items: flex-start; gap: .6rem; max-width: 100%; margin: 1.75rem auto 0; padding: .65rem 1.15rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(0, 0, 0, .3);
  font-size: .9rem; line-height: 1.45; color: var(--cream-2); text-align: left;
}
.house-hero-note .icon { width: 18px; height: 18px; margin-top: .1rem; color: var(--gold); }
.house-hero-sm { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.house-hero-sm .house-hero-title { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem); max-width: 18ch; }
.house-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.house-actions-sm { justify-content: flex-start; align-items: center; gap: .6rem 1rem; margin-top: 1.25rem; }
.house-actions-sm form { margin: 0; }
@media (max-width: 520px) {
  .house-hero .house-actions .btn { width: 100%; }
  .house-hero-note { border-radius: var(--radius-sm); }
}

/* How it works */
.house-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.house-step { padding: 2rem 1.75rem 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.house-step-no {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.1rem;
  border: 1px solid rgba(212, 162, 76, .6); border-radius: 50%; font: 400 1.5rem/1 var(--serif); color: var(--gold);
}
.house-step h3 { font-size: var(--step-2); margin-bottom: .4rem; }
.house-step p { color: var(--taupe); }
@media (max-width: 760px) { .house-steps { grid-template-columns: 1fr; } }
.house-note {
  display: flex; align-items: flex-start; gap: .7rem; max-width: 700px; margin: 2rem auto 0; padding: 1rem 1.25rem;
  border: 1px dashed rgba(212, 162, 76, .5); border-radius: var(--radius-sm); background: var(--gold-soft);
  font-size: .95rem; color: var(--cream-2);
}
.house-note .icon { color: var(--gold); margin-top: .15rem; }

/* What points are worth */
.house-points { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .house-points { grid-template-columns: 1fr; } }
.house-rate { display: grid; gap: .15em; margin-bottom: 1rem; font-size: var(--step-3); }
.house-rate span:last-child { font-style: italic; font-size: .7em; color: var(--gold); }
.house-points-text > p { color: var(--taupe); max-width: 52ch; }
.house-scale {
  list-style: none; margin: 0; padding: clamp(20px, 3vw, 32px); display: grid; gap: 1.25rem;
  background: linear-gradient(160deg, #1b1613, var(--house-black)); border: 1px solid rgba(212, 162, 76, .35);
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
}
.house-scale li { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); align-items: center; gap: .45rem 1rem; }
.house-scale-pts { font: 400 1.5rem/1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.house-scale-pts small, .house-scale-val small { font: 600 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.house-scale-bar { display: block; width: var(--w, 50%); height: 10px; border-radius: 999px; background: linear-gradient(90deg, #8a6a2e, var(--gold) 70%, var(--gold-hi)); }
.house-scale-val { grid-column: 2; font-weight: 600; color: var(--cream); }
@media (max-width: 420px) { .house-scale li { grid-template-columns: 1fr; } .house-scale-val { grid-column: 1; } }

/* Rewards: the catalog, and the member's own */
.house-sub { margin: clamp(40px, 6vw, 64px) 0 1.25rem; font-size: var(--step-2); }
.house-rewards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.house-reward { display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem 1.35rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.house-rewards-mine .house-reward { border-color: rgba(212, 162, 76, .45); background: linear-gradient(160deg, rgba(212, 162, 76, .1), transparent 60%), var(--surface); }
.house-reward h3, .house-reward h4 { font-size: 1.4rem; line-height: 1.15; }
.house-reward p { margin: 0; font-size: .92rem; color: var(--taupe); }
.house-reward .house-reward-pts { font: 400 1.9rem/1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.house-reward-pts span { margin-left: .25rem; font: 600 .64rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.house-reward .house-reward-cat { margin-top: auto; padding-top: .5rem; font: 600 .64rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-2); }
.house-reward .house-reward-exp { display: flex; align-items: center; gap: .35rem; color: var(--cream-2); }
.house-reward-exp .icon { width: 16px; height: 16px; color: var(--gold); }
.house-reward .house-reward-how { margin-top: auto; padding-top: .6rem; border-top: 1px dashed var(--line-strong); font-size: .85rem; color: var(--cream-2); }
.house-reward .btn { align-self: flex-start; margin-top: auto; }

/* Benefits, and what membership is about */
.house-benefits {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
}
.house-benefit { padding: 1.75rem 1.5rem; background: var(--bg); }
.section-tint .house-benefit { background: #141110; }
.house-benefit .icon { width: 28px; height: 28px; margin-bottom: 1rem; color: var(--gold); }
.house-benefit h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.house-benefit p { margin: 0; font-size: .95rem; color: var(--taupe); }
@media (max-width: 860px) { .house-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .house-benefits { grid-template-columns: 1fr; } }

.house-bonuses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2rem; }
.house-bonus {
  padding: 1.6rem 1.5rem; border: 1px solid rgba(212, 162, 76, .45); border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(212, 162, 76, .14), transparent 60%), var(--surface);
}
.house-bonus h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.house-bonus-when { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; font: 600 .74rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.house-bonus-when .icon { width: 16px; height: 16px; }
.house-bonus p:last-child { font-size: .95rem; color: var(--taupe); }
.house-bonuses + .fineprint { margin-top: 1.5rem; }

/* Status: House, Silver, Gold, Black */
.house-ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.house-tier { padding: 1.5rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.house-tier-swatch { display: block; width: 46px; height: 28px; margin-bottom: 1rem; border: 1px solid var(--line-strong); border-radius: 6px; }
.house-tier-house .house-tier-swatch  { background: linear-gradient(135deg, #433a33, #221d19); }
.house-tier-silver .house-tier-swatch { background: linear-gradient(135deg, #eceef0, #9da2a9); }
.house-tier-gold .house-tier-swatch   { background: linear-gradient(135deg, #f2d28b, #b3822f); }
.house-tier-black .house-tier-swatch  { background: linear-gradient(135deg, #1d1916, #050404); border-color: var(--gold); }
.house-tier h3 { font-size: 1.6rem; }
.house-tier p { margin: .3rem 0 0; font-size: .9rem; color: var(--taupe); }
@media (max-width: 760px) { .house-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.house-ladder-mine { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin: 1.1rem 0; }
.house-ladder-mine .house-tier { padding: .6rem .4rem; text-align: center; background: transparent; }
.house-ladder-mine .house-tier-swatch { width: 100%; height: 8px; margin: 0 0 .5rem; opacity: .35; }
.house-ladder-mine .is-reached .house-tier-swatch { opacity: 1; }
.house-ladder-mine .house-tier-name { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-2); }
.house-ladder-mine .is-reached .house-tier-name { color: var(--cream-2); }
.house-ladder-mine .is-here { border-color: var(--gold); }
.house-ladder-mine .is-here .house-tier-name { color: var(--gold); }

/* The join form, sign-in and codes */
.house-bday-row { display: flex; gap: .6rem; }
.house-bday-row select { flex: 1 1 0; }
/* The day needs little room, so "September" fits on a small phone. */
.house-bday-row select:last-of-type { flex: 0 0 5.5rem; }
.form fieldset.house-bday { margin: 0; }
.house-bday legend { display: block; margin-bottom: .4rem; padding: 0; font-size: .86rem; font-weight: 600; color: var(--cream-2); }
.house-more { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.house-more > summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--cream-2); }
.house-more > summary::-webkit-details-marker { display: none; }
.house-more > summary::before {
  content: '+'; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: .6rem;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold); font-weight: 400;
}
.house-more[open] > summary::before { content: '–'; }
.house-more .choices { margin-top: 1rem; }
.house-consents { margin-top: 1.1rem; }
.house-consents .check { margin-top: .9rem; }
.house-agree { color: var(--cream-2); }
.house-file { padding: .6rem .7rem !important; min-height: 0 !important; }

.house-gate-section { padding-block: clamp(32px, 5vw, 56px) clamp(64px, 9vw, 112px); }
.house-gate { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .house-gate { grid-template-columns: 1fr; } }
.house-panel { padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); }
.house-panel h2 { font-size: var(--step-2); margin-bottom: .5rem; }
.house-panel > .eyebrow { margin-bottom: .75rem; }
.house-panel .eyebrow .icon { width: 16px; height: 16px; color: var(--gold); }
.house-panel > p:not([class]) { color: var(--cream-2); }
.house-panel.is-sealed .form { opacity: .55; }
.house-panel .form-submit .btn-lg { flex: 1 1 100%; }
.house-narrow { max-width: 540px; margin-inline: auto; }
.house-code-to { color: var(--cream-2); }
.form input.house-code-input { font: 400 2.1rem/1 var(--serif); letter-spacing: .45em; text-align: center; padding-left: 1.2rem; }
.house-code-shown { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .15em; }
.house-code .btn-lg { width: 100%; margin-top: .5rem; }
.house-code-more { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.4rem; }
.house-code-more form { margin: 0; }
.house-demo-form { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px dashed var(--line-strong); }
.house-demo-form .fineprint { margin-top: .6rem; }
.house-in { padding: 1.5rem 0; text-align: center; }
.house-in h2 { margin: 1.1rem 0 .5rem; font-size: var(--step-3); }
.house-in p { max-width: 46ch; margin-inline: auto; color: var(--cream-2); }
.house-in .house-actions { justify-content: center; }
.house-claim-gate { display: grid; gap: 2rem; }
.house-claim-gate h2 { margin-bottom: .4rem; font-size: var(--step-2); }
.house-claim-join { padding-top: 2rem; border-top: 1px dashed var(--line-strong); }
.house-claim-join.is-sealed .form { opacity: .55; }

/* Membership: the three tiers */
.house-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
@media (max-width: 980px) { .house-plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.house-plan {
  position: relative; display: flex; flex-direction: column; padding: 2.25rem 1.9rem 1.9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
}
.house-plan-member {
  border-color: rgba(212, 162, 76, .6); box-shadow: var(--shadow);
  background: radial-gradient(120% 60% at 50% 0%, rgba(122, 40, 44, .5), transparent 70%), linear-gradient(180deg, #211715, #151010);
}
.house-plan-founder {
  border-color: rgba(212, 162, 76, .45);
  background: repeating-linear-gradient(135deg, rgba(212, 162, 76, .035) 0 1px, transparent 1px 9px), linear-gradient(180deg, #100e0d, #080707);
}
.house-plan > .stamp { position: absolute; top: -.85rem; right: 1.2rem; background: var(--bg); }
.house-plan-kicker { margin: 0 0 .9rem; font: 600 .74rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.house-plan-price { margin: 0; font: 400 clamp(2.6rem, 2rem + 2vw, 3.4rem)/1 var(--serif); font-variant-numeric: tabular-nums; }
.house-plan-price span { margin-left: .15rem; font: 400 1rem/1 var(--sans); color: var(--taupe); }
.house-plan-per { margin: .5rem 0 1.5rem; font-size: .92rem; color: var(--taupe); }
.house-plan .ticks { flex: 1; margin-bottom: 1.75rem; }
.house-plan .ticks li { color: var(--cream-2); }
.house-plan > .btn, .house-buy .btn { width: 100%; }
.house-plan .house-plan-count { margin: -.5rem 0 1rem; font-weight: 600; color: var(--gold-hi); }
.house-plan-yours { display: flex; align-items: center; gap: .4rem; margin: 0 0 .75rem; font-weight: 600; color: var(--green); }
.house-buy { display: grid; gap: .9rem; }
.house-buy .check { margin-top: 0; }
.house-buy .fineprint { margin: 0; }
.house-plan-picks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; padding: 0; border: 0; }
.house-plan-pick { position: relative; }
.house-plan-pick input { position: absolute; opacity: 0; }
.house-plan-pick span {
  display: grid; gap: .15rem; padding: .7rem .8rem; text-align: center; cursor: pointer;
  background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--cream-2); transition: border-color .2s, background-color .2s;
}
.house-plan-pick input:checked + span { border-color: var(--gold); background: var(--gold-soft); color: var(--cream); }
.house-plan-pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.house-renews { margin: 0; font-size: .85rem; line-height: 1.5; color: var(--cream-2); }
.house-plans-fine { max-width: 72ch; margin: 2rem auto 0; }

.house-founders .split { align-items: center; }
.house-count { margin: 0 0 .4rem; font: 400 var(--step-1)/1.2 var(--serif); color: var(--gold-hi); }
.house-founders-state { color: var(--cream-2); }
.house-wait { margin-top: 1.5rem; }
.house-wait h3 { margin-bottom: 1rem; font-size: var(--step-1); }
.house-wait.is-sealed .form { opacity: .55; }
/* Not .notify-done: the "Get on the List" popup reads that as a mailing-list sign-up */
.house-wait-done { display: flex; flex-direction: column; align-items: center; gap: .8rem; margin: .25rem 0 .75rem; color: var(--cream-2); text-align: center; }

/* The membership card. Sized by its own width, like the gift certificate. */
.house-card {
  container-type: inline-size;
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 1.586; overflow: hidden;
  border-radius: 18px; color: var(--cream); background: var(--house-char);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.house-card::before, .house-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.house-card::before { background: repeating-radial-gradient(circle at 115% -20%, rgba(255, 255, 255, .03) 0 1px, transparent 1px 6px); }
.house-card::after { background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .08) 46%, transparent 60%); }
.house-card-rewards { background: radial-gradient(120% 90% at 0% 0%, #3d352e, #1b1714 60%, #110e0c); }
.house-card-member  { background: radial-gradient(120% 90% at 0% 0%, #742a2f, #3d1417 55%, #1a0a0b); }
.house-card-founder {
  background: radial-gradient(120% 90% at 0% 0%, #2c2621, #0e0c0b 55%, #050404);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(212, 162, 76, .6);
}
.house-card-face { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; padding: 7cqi 7.5cqi 6.5cqi; }
.house-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.house-card-brand { margin: 0; font: 400 6.4cqi/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.house-card-site { margin: 0; font: 400 4.2cqi/1 var(--serif); color: rgba(242, 234, 217, .72); }
.house-card-site .q { color: var(--gold); }
/* The name here is small print, so its ™ is a bigger share of it (still level with the letter tops). */
.house-card-site .tm { font-size: .5em; top: .15em; }
.house-card-tier { align-self: start; margin: 4.5cqi 0 0; font: 700 3.2cqi/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.house-card-founder .house-card-brand, .house-card-founder .house-card-tier { color: var(--gold-hi); }
.house-card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.house-card-name { margin: 0 0 1.6cqi; font: 500 5cqi/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.house-card-since { margin: 0; font: 600 2.6cqi/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(242, 234, 217, .62); }
.house-card-no { margin: 0; text-align: right; font: 400 8.4cqi/1 var(--serif); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.house-card-no span { display: block; margin-bottom: 1.4cqi; font: 600 2.3cqi/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(242, 234, 217, .6); }
.house-card-flag {
  position: absolute; top: 17cqi; right: 7.5cqi; padding: .8cqi 2cqi; border: 1px solid rgba(242, 234, 217, .35); border-radius: 999px;
  font: 700 2.2cqi/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(242, 234, 217, .7);
}

/* Two sample cards, fanned: the one behind shows its name and tier above the one in front. */
.house-card-stack { position: relative; display: grid; place-items: center; min-height: 420px; }
.house-card-stack .house-card { grid-area: 1 / 1; max-width: 380px; }
.house-card-stack .house-card:first-child { transform: rotate(-5deg) translate(-8%, -27%); }
.house-card-stack .house-card:last-child { transform: rotate(3deg) translate(7%, 25%); }
@media (max-width: 560px) {
  .house-card-stack { min-height: 330px; }
  .house-card-stack .house-card { max-width: min(280px, 78vw); }
}

/* Home: "It's your house." */
.house-home { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #0e0b0a, #15110f); border-block: 1px solid var(--line); }
.house-home .house-hero-glow {
  background: radial-gradient(50% 60% at 78% 50%, rgba(122, 40, 44, .38), transparent 70%), radial-gradient(40% 50% at 15% 25%, rgba(212, 162, 76, .1), transparent 70%);
  -webkit-mask-image: none; mask-image: none;
}
.house-home-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .house-home-inner { grid-template-columns: 1fr; } }
.house-home h2 { margin-bottom: .45em; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.4rem); line-height: .98; }
.house-home h2 span { display: block; font-style: italic; color: var(--gold); }
.house-home-lede { max-width: 38ch; font-size: var(--step-1); line-height: 1.45; color: var(--cream-2); }
.house-home .house-actions { justify-content: flex-start; }
.house-home-text > .fineprint { font-size: var(--step--1); }

/* My House */
.house-dash-head { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(32px, 6vw, 72px) clamp(24px, 3vw, 36px); background: linear-gradient(180deg, #0e0b0a, var(--bg)); border-bottom: 1px solid var(--line); }
.house-demo {
  display: flex; align-items: flex-start; gap: .6rem; margin: 0 0 1.5rem; padding: .75rem 1rem;
  border: 1px dashed rgba(212, 162, 76, .6); border-radius: var(--radius-sm); background: var(--gold-soft);
  font-size: .9rem; color: var(--cream-2);
}
.house-demo .icon { flex: none; margin-top: .1rem; color: var(--gold); }
.house-demo-tag { padding: .25em .7em; border: 1px dashed rgba(212, 162, 76, .7); border-radius: 999px; font: 700 .64rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.house-greet { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.5rem); }
.house-greet-text { min-width: 0; }
.house-avatar {
  flex: none; display: grid; place-items: center; width: clamp(64px, 14vw, 88px); aspect-ratio: 1; border-radius: 50%;
  background: var(--house-black); border: 1px solid rgba(212, 162, 76, .6); box-shadow: 0 0 0 6px rgba(212, 162, 76, .07);
  font: 400 clamp(1.5rem, 1rem + 2vw, 2.2rem)/1 var(--serif); color: var(--gold-hi);
}
.house-avatar-member  { background: radial-gradient(circle at 30% 25%, #742a2f, var(--house-oxdeep)); }
.house-avatar-founder { background: radial-gradient(circle at 30% 25%, #2c2621, #050404); border-color: var(--gold); }
.house-greet .eyebrow { margin-bottom: .45rem; }
.house-greet h1 { font-size: var(--step-3); overflow-wrap: anywhere; }
.house-greet-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin: .7rem 0 0; font-size: .88rem; color: var(--taupe); }
.house-tier-pill { padding: .35em .85em; border: 1px solid var(--line-strong); border-radius: 999px; font: 700 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); }
.house-tier-pill-member  { border-color: rgba(212, 162, 76, .6); background: rgba(122, 40, 44, .45); color: var(--gold-hi); }
.house-tier-pill-founder { border-color: var(--gold); background: var(--gold); color: var(--bg); }
.house-welcome {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; margin-top: 1.5rem; padding: 1rem 1.25rem;
  background: var(--surface); border: 1px solid rgba(155, 184, 122, .45); border-radius: var(--radius);
}
.house-welcome p { flex: 1 1 280px; margin: 0; color: var(--cream-2); }

.house-dash { padding-top: clamp(28px, 4vw, 48px); }
.house-dash-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
@media (max-width: 900px) { .house-dash-top { grid-template-columns: 1fr; } }
.house-balance {
  position: relative; overflow: hidden; padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(212, 162, 76, .45); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
  background: radial-gradient(100% 80% at 100% 0%, rgba(212, 162, 76, .15), transparent 60%), linear-gradient(160deg, #1e1916, #0e0b0a);
}
.house-balance-label { margin: 0; font: 600 .74rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.house-balance-value { margin: .6rem 0 .5rem; font: 400 clamp(4rem, 2.4rem + 6.5vw, 6.8rem)/.9 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.house-balance-next { margin: 0 0 1rem; color: var(--cream-2); }
.house-balance-sorry { max-width: 34ch; margin: 1rem 0 1.25rem; font: 400 var(--step-1)/1.35 var(--serif); color: var(--cream); }
.house-balance-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.house-handoff { margin: .6rem 0 0; font-size: .8rem; color: var(--taupe-2); }
.house-bonus-now { display: flex; align-items: center; gap: .5rem; margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line-strong); font-size: .92rem; color: var(--cream-2); }
.house-bonus-now .icon { color: var(--gold); }
.house-progress { height: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: rgba(242, 234, 217, .08); }
.house-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9c7431, var(--gold), var(--gold-hi)); }
.house-progress-lg { height: 12px; margin: .5rem 0 1rem; }
.house-dash-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: clamp(18px, 3vw, 28px);
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
}
.house-dash-card .house-card { max-width: 440px; }
.house-dash-card-note { margin: 0; text-align: center; font-size: .88rem; color: var(--taupe); }

.house-milestone {
  display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; padding: 1.1rem 1.4rem;
  border: 1px solid rgba(212, 162, 76, .45); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(212, 162, 76, .14), transparent 70%), var(--surface);
}
.house-milestone .icon { width: 30px; height: 30px; color: var(--gold); }
.house-milestone h2 { font-size: var(--step-1); }
.house-milestone p { margin: .2rem 0 0; color: var(--taupe); }

.house-section { margin-top: clamp(32px, 5vw, 56px); }
.house-section > .fineprint { margin-top: 1rem; }
.house-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.1rem; }
.house-section-head h2 { font-size: var(--step-2); }
.house-empty { margin: 0; padding: 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); font: italic 400 1.2rem/1.4 var(--serif); color: var(--taupe); }
.house-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
.house-two > .house-section { margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 860px) { .house-two { grid-template-columns: 1fr; } .house-two > .house-section + .house-section { margin-top: 1.25rem; } }
.house-panel .house-status-name { font-size: var(--step-3); }
.house-status-silver { color: var(--house-silver); }
.house-status-gold { color: var(--gold-hi); }
.house-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 1rem 0 1.25rem; }
.house-facts div { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.house-facts dt { margin-bottom: .4rem; font: 600 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.house-facts dd { margin: 0; font: 400 1.3rem/1.2 var(--serif); }
@media (max-width: 420px) { .house-facts { grid-template-columns: 1fr; } }

.house-events { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.house-event { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.house-event h3 { font-size: 1.35rem; }
.house-event-body p { margin: .2rem 0 0; }
.house-event-go .stamp { transform: rotate(-3deg); }
@media (max-width: 560px) { .house-event { grid-template-columns: auto minmax(0, 1fr); } .house-event-go { grid-column: 1 / -1; } }

.house-perks { list-style: none; margin: 1rem 0 1.25rem; padding: 0; display: grid; gap: .75rem; }
.house-perks li { display: flex; gap: .7rem; font-size: .95rem; color: var(--taupe); }
.house-perks li.is-yours { color: var(--cream-2); }
.house-perks strong { color: inherit; }
.house-perk-mark { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--taupe-2); }
.house-perks li.is-yours .house-perk-mark { border-color: var(--gold); color: var(--gold); }
.house-perk-mark .icon { width: 14px; height: 14px; }
.house-soon {
  display: inline-block; margin-left: .35rem; padding: .15em .55em; vertical-align: .1em;
  border: 1px dashed var(--line-strong); border-radius: 999px; font: 600 .6rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--taupe);
}

.house-claims { list-style: none; margin: 1rem 0 0; padding: 0; }
.house-claims li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--cream-2); }
.house-claims li:last-child { border-bottom: 0; }
.house-claim-status { white-space: nowrap; color: var(--taupe); }
.house-claim-approved, .house-claim-resolved { color: var(--green); }
.house-claim-rejected { color: #ee8e76; }
.house-claim-new, .house-claim-review { color: var(--gold-hi); }

.house-members-only { border-color: rgba(212, 162, 76, .5); background: linear-gradient(140deg, rgba(122, 40, 44, .32), transparent 70%), var(--surface); }
.house-prose p { color: var(--cream-2); }

.house-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.house-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.house-table th { padding: .8rem 1rem; text-align: left; white-space: nowrap; font: 700 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); background: rgba(0, 0, 0, .22); border-bottom: 1px solid var(--line-strong); }
.house-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); color: var(--cream-2); }
.house-table tr:last-child td { border-bottom: 0; }
.house-table .num { text-align: right; font-variant-numeric: tabular-nums; }

.house-details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.house-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; list-style: none; cursor: pointer; }
.house-details > summary::-webkit-details-marker { display: none; }
.house-details > summary::after {
  content: '+'; flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold); font: 400 1.3rem/1 var(--sans); transition: transform .3s var(--ease);
}
.house-details[open] > summary::after { transform: rotate(45deg); }
.house-details > summary h2 { font-size: var(--step-1); }
.house-profile { padding: 0 1.4rem 1.4rem; }
.house-profile .choice-legend { margin-top: 1.25rem; }
.house-profile > .btn { margin-top: 1.25rem; }
/* Confirming a number or email from My House */
.house-change { margin: 0 1.4rem 1.25rem; padding: 1.1rem 1.2rem; border: 1px solid var(--gold-line, var(--line-strong)); border-radius: var(--radius-sm); background: var(--bg-deep); }
.house-change .form { margin: 0; }
.house-change .field { max-width: 14rem; margin: .8rem 0; }
.house-change-more { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: .8rem; }
.house-change-more form { margin: 0; }
.house-confirm-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 0 1.4rem .9rem; padding: .7rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }
.house-confirm-row p { margin: 0; }
.house-confirm-row.house-confirm-nudge { margin: 1.25rem 0 0; }
.house-leave { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); }
.house-leave form { margin: 0; }
.house-close { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); }
.house-close label { display: block; margin-bottom: .4rem; font-size: .86rem; font-weight: 600; color: var(--cream-2); }
.house-close-row { display: flex; align-items: center; gap: .75rem; }
.house-close-row input {
  width: 10rem; min-height: 44px; padding: .5rem .8rem; font: inherit; color: var(--cream);
  background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
}

/* Karaoke perks, and events: who they're for */
.house-perk-cards { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.house-perk-card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.house-perk-card.is-yours { border-color: rgba(212, 162, 76, .55); }
.house-perk-card.is-soon { background: transparent; border-style: dashed; }
.house-perk-who { margin: 0 0 .7rem; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.house-perk-card h3 { margin-bottom: .4rem; font-size: 1.45rem; }
.house-perk-card p { color: var(--taupe); }
.house-perk-card .house-perk-yours { display: flex; align-items: center; gap: .35rem; margin-top: .75rem; font-size: .88rem; font-weight: 600; color: var(--green); }
.house-perk-yours .icon { width: 16px; height: 16px; }

.event-house { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin: 0 0 1rem; }
.event-house .stamp { font-size: .66rem; transform: rotate(-3deg); }
.event-house-note { font-size: .88rem; color: var(--cream-2); }
.event-go { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.chip-house { display: inline-flex; align-items: center; gap: .35rem; border-color: rgba(212, 162, 76, .55); color: var(--gold-hi); }
.chip-house .icon { width: 13px; height: 13px; }
.docket-house { display: inline-flex; align-items: center; gap: .2rem; color: var(--gold); }
.docket-house .icon { width: 12px; height: 12px; }
.house-event-note { font-size: .9rem; color: var(--cream-2); }

/* The terms, while a draft */
.house-review { padding: .05em .3em; border-radius: 3px; background: rgba(212, 162, 76, .22); color: var(--gold-hi); font-size: .94em; }
.house-draft { border-color: var(--gold); }
.house-draft .legal-sign-title { color: var(--gold); }

.house-cta { background: linear-gradient(100deg, rgba(122, 40, 44, .38), rgba(212, 162, 76, .05) 60%), var(--bg-deep); }

/* --------------------------------------------------------------------------
   Reveal on scroll (added by site.js; content is visible without it)
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .ticker, .hero-scroll, .subnav, .entry, .admin-pill { display: none !important; }
  html, body { background: #fff; color: #000; }

  /* Gift certificates: just the certificates, in their colors. On the
     admin's sheet, two to a page: 6in wide fits two on Letter or A4, with
     room for a longer note. */
  .gift-card {
    width: 6.75in; max-width: 100%; box-shadow: none; transform: none !important; break-inside: avoid;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .gift-print, .page-gift .soon { display: block; min-height: 0; padding: 0; }
  .gift-print-bar, .page-gift .soon-logo-link, .gift-paid, .gift-page-side { display: none !important; }
  .gift-sheet { display: block; }
  .gift-sheet .gift-card { width: 6in; margin-bottom: 8mm; }
  .gift-sheet .gift-card:nth-child(2n):not(:last-child) { break-after: page; }
}
