/* BarTable landing — Speakeasy palette and type. Hand-written, no build step:
   site/ is copied to the web root as-is by .github/workflows/site.yml. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/archivo-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-variable.woff2") format("woff2");
}

:root {
  --mahogany: #1c0f0a;
  --panel: #241009;
  --wood: #3a1d15;
  --oxblood: #8a3a28;
  --brass: #c19a4e;
  --brass-light: #e8c778;
  --brass-dark: #9c7433;
  --cream: #f3ecd8;
  --cream-deep: #ece2cc;
  --paper: #fbf6e8;
  --sand: #d3c095;
  --felt: #4d5c37;
  --felt-deep: #2f3b22;
  --felt-text: #e9eddc;
  --ink: #241009;
  --ink-soft: #3d2a1e;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 6vw, 120px);
}

/* Unthemed, the site is dark. A signed-in member's saved theme (session.js sets data-theme and
   themes.css supplies the --t-* colours) re-points the page's own colour names at it: the page
   colour, text, panel and brass roles. The light paper sections keep their own colours. */
html:not([data-theme]) { color-scheme: dark; }
html[data-theme] {
  --mahogany: var(--t-surface);
  --panel: var(--t-panel);
  --wood: var(--t-line);
  --cream: var(--t-ink);
  --sand: var(--t-ink-muted);
  --brass: var(--t-accent);
  --brass-light: var(--t-accent-strong);
  --brass-dark: var(--t-accent-line);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mahogany);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  /* A short page keeps the footer at the foot of the window, not floating under the content. */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body > main { width: 100%; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: italic; }
section[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 2px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--brass-light); color: var(--mahogany); font-weight: 600;
}
.skip:focus { top: 16px; }

.wrap { padding-inline: var(--gutter); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.diamond { display: inline-block; width: 9px; height: 9px; flex-shrink: 0; background: currentColor; transform: rotate(45deg); }

/* Buttons: one primary action, repeated down the page */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 34px; border-radius: 4px; border: 1px solid transparent;
  font: 700 17px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-brass { background: var(--brass); color: var(--mahogany); }
.btn-brass:hover { background: var(--brass-light); }
.btn-oxblood { background: var(--oxblood); color: var(--paper); }
.btn-oxblood:hover { background: #5c2420; }
.btn-outline { min-height: 44px; padding: 0 22px; border-color: var(--brass); color: var(--brass-light); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.btn-outline:hover { background: var(--brass); color: var(--mahogany); }
.fineprint { font-size: 14px; line-height: 1.5; }
.coming-soon { margin-block: 20px; padding: 12px 16px; border-left: 3px solid var(--brass); background: var(--panel); }
.coming-soon a { color: var(--brass-light); }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; border-bottom: 1px solid var(--brass-dark); }
.brand { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; gap: 16px; text-decoration: none; color: var(--cream); white-space: nowrap; }
.brand img { width: 101px; height: 44px; }
.brand-name { font: 600 30px/1 var(--serif); }
.brand-sub { font-size: 12px; font-weight: 600; letter-spacing: 0.28em; color: var(--brass); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--sand); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--cream); }
.nav-links a { white-space: nowrap; }
.nav-links a:not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.nav-links .nav-quiet { opacity: 0.75; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.sunburst { position: absolute; inset: 0; width: 100%; height: 100%; }
.sunburst line { stroke: var(--brass); stroke-width: 1.5; opacity: 0.28; }
.sunburst .ring { fill: none; stroke: var(--brass); stroke-width: 1; opacity: 0.22; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: clamp(32px, 5vw, 88px); padding-block: 72px 88px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero .eyebrow { display: flex; align-items: center; gap: 14px; color: var(--brass-light); }
.hero .eyebrow .diamond { color: var(--brass); }
.hero h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.01em; text-wrap: wrap; }
.hero h1 span { display: block; }
.hero h1 em { color: var(--brass-light); }
.hero-sub { max-width: 560px; font-size: clamp(17px, 1.4vw, 19px); color: var(--sand); }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 4px; }
.hero-cta .fineprint { max-width: 460px; color: var(--sand); }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--brass-light); text-underline-offset: 4px; }
.textlink:hover { color: var(--paper); }
.textlink.dark { color: var(--oxblood); }
.textlink.dark:hover { color: var(--ink); }

/* A sample player page */
.profile-card { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--mahogany); border: 1px solid var(--brass-dark); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.profile-card-head { display: flex; align-items: center; gap: 14px; }
.avatar { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--felt); border: 2px solid var(--brass); font: 600 20px var(--serif); color: var(--paper); }
.pc-name { font: 600 28px/1.1 var(--serif); color: var(--cream); }
.pc-place { font-size: 14px; color: var(--sand); }
.profile-card .sample { margin-left: auto; }
.pc-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; padding-top: 16px; border-top: 1px solid var(--wood); font-size: 15px; }
.pc-facts dt { color: var(--sand); }
.pc-facts dd { margin: 0; color: var(--cream); }
.pc-stats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--wood); font-size: 14px; color: var(--sand); }
.pc-stats b { font: 600 24px var(--serif); color: var(--brass-light); margin-right: 2px; }
.pc-actions { display: flex; gap: 10px; }
.pc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--brass); border-radius: 4px; font-size: 14px; font-weight: 600; color: var(--brass-light); }
.pc-btn-on { background: var(--brass); color: var(--mahogany); }
.pc-note { font-size: 13px; color: var(--sand); }

/* Why BarTable: the community story, in the player's own words */
.story { padding-block: 80px 24px; background: var(--cream); color: var(--ink); }
.story .eyebrow { color: var(--oxblood); margin-bottom: 14px; }
.story h2 { max-width: 820px; font-size: clamp(36px, 4.2vw, 58px); font-weight: 600; line-height: 1.04; }
.story-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: 32px; }
.story-body p { font-size: 17px; color: var(--ink-soft); }
.story-close { max-width: 820px; margin-top: 32px; font: italic 500 clamp(24px, 2.6vw, 34px)/1.25 var(--serif); color: var(--oxblood); }

/* What you get */
.gets { padding-block: 96px 72px; background: var(--cream); color: var(--ink); }
.gets .section-head p { color: var(--ink-soft); }
.get-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.get { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 18px; border-top: 4px solid var(--brass); }
.get h3 { display: flex; align-items: baseline; gap: 10px; font-size: 28px; font-weight: 600; line-height: 1.1; }
.get h3 em { font-size: 26px; color: var(--oxblood); }
.get p { font-size: 15px; color: var(--ink-soft); }

/* Photography slots (#200): placeholders until real photos land */
.scene { padding-block: 0 88px; background: var(--cream); }
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-slot { margin: 0; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; padding: 14px; background: var(--wood); border: 2px dashed var(--brass-dark); }
.photo-slot picture, .photo-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-slot:has(img) { padding: 0; border: 0; background: none; overflow: hidden; }
.scene-note { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.rooms-photo { margin: 24px 0 0; }
.rooms-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-slot figcaption { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); }

/* Rooms, makers and shops: the smaller path */
.rooms { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 88px); align-items: center; padding-block: 72px; background: var(--paper); color: var(--ink); border-top: 1px solid var(--brass); }
.rooms .eyebrow { color: var(--oxblood); margin-bottom: 12px; }
.rooms h2 { font-size: clamp(34px, 3.8vw, 52px); font-weight: 600; line-height: 1.04; }
.rooms p { color: var(--ink-soft); }
.rooms-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 20px; }

/* The honest note */
.honest { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 88px); align-items: center; padding-block: 64px; background: var(--brass); color: var(--mahogany); }
.honest h2 { font-size: clamp(34px, 3.8vw, 54px); font-weight: 600; line-height: 1.04; }
.honest p { font-size: 18px; line-height: 1.6; }
.honest p + p { margin-top: 14px; font-weight: 600; }

/* The Table, on the cloth */
.felt { background: var(--felt); }
.rail-strip { display: flex; align-items: center; justify-content: space-between; height: 56px; padding-inline: clamp(20px, 5.5vw, 80px); background: var(--wood); color: var(--brass-light); }
.rail-strip.top { border-bottom: 4px solid var(--felt-deep); }
.rail-strip.bottom { border-top: 4px solid var(--felt-deep); }
.rail-strip .diamond { width: 11px; height: 11px; }
.cloth { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); align-items: center; gap: 24px; padding-left: var(--gutter); }
.cloth-copy { display: flex; flex-direction: column; gap: 24px; padding-block: 72px; }
.cloth-copy .eyebrow { color: var(--paper); }
.cloth-copy .textlink { color: var(--paper); }
.cloth-copy h2 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1; color: var(--paper); }
.cloth-copy p { font-size: 18px; color: var(--cream); }
.rule-quote { display: flex; gap: 16px; }
.rule-quote::before { content: ""; width: 3px; flex-shrink: 0; background: var(--brass-light); }
.rule-quote p { font: italic 500 26px/1.3 var(--serif); color: var(--paper); }
.shot { width: 100%; height: auto; align-self: stretch; }
.shot text { font: 600 14px var(--sans); fill: var(--paper); letter-spacing: 0.12em; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(24px, 5vw, 80px); margin-bottom: 56px; }
.section-head h2 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.02; }
.section-head p { max-width: 460px; }

/* Your numbers */
.numbers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: 96px; background: var(--cream-deep); color: var(--ink); border-top: 1px solid var(--brass); }
.numbers-copy { display: flex; flex-direction: column; gap: 24px; }
.numbers-copy .eyebrow { color: var(--oxblood); }
.numbers-copy h2 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.02; }
.numbers-copy h2 em { color: var(--oxblood); }
.numbers-copy p { color: var(--ink-soft); }
.numbers-copy p.strong { font-weight: 600; color: var(--ink); }
.panel { display: flex; flex-direction: column; gap: 22px; padding: 32px; background: var(--mahogany); color: var(--cream); box-shadow: 0 30px 60px rgba(28, 15, 10, 0.3); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--brass-light); text-transform: uppercase; }
.sample { padding: 4px 8px; border: 1px solid #5a4030; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--sand); white-space: nowrap; }
.bars { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: minmax(110px, 170px) 1fr 48px; align-items: center; gap: 16px; font-size: 15px; }
.bar { height: 10px; background: var(--wood); }
.bar span { display: block; height: 10px; }
.bars b { text-align: right; font-weight: 600; }
.misses { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--wood); }
.misses svg { width: 100%; height: auto; }
.misses text { font: 600 12px var(--sans); fill: var(--cream); letter-spacing: 0.14em; }

/* Sponsor: one slot a page, fixed standard size so it never shifts the layout */
.sponsor { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-block: 36px 40px; background: var(--mahogany); }
.sponsor .eyebrow { font-size: 12px; color: var(--sand); }
.sponsor-slot { display: flex; align-items: center; justify-content: center; gap: 24px; width: 728px; max-width: 100%; height: 90px; padding-inline: 28px; overflow: hidden; border: 1px solid var(--brass-dark); color: var(--cream); text-decoration: none; }
.sponsor-slot:hover { border-color: var(--brass-light); }
.sponsor-slot img { width: 100%; height: 100%; object-fit: cover; }
.sponsor-slot.has-banner { padding-inline: 0; gap: 0; }
.sponsor-slot picture { display: block; width: 100%; height: 100%; }
.sponsor-line { flex-shrink: 0; font: italic 500 30px/1 var(--serif); color: var(--brass-light); }
.sponsor-sub { font-size: 13px; line-height: 1.45; color: var(--sand); }

/* Eight diamonds */
.roadmap { padding-block: 112px 104px; background: var(--felt-deep); }
.roadmap .eyebrow { display: block; margin-bottom: 18px; color: var(--brass-light); }
.roadmap .section-head h2 { color: var(--paper); }
.roadmap .section-head p { color: var(--felt-text); }
.stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 64px; margin: 0; padding: 0; list-style: none; }
.stop { display: flex; flex-direction: column; gap: 10px; padding-right: 36px; border-top: 18px solid var(--wood); }
.stop .mark { width: 14px; height: 14px; margin: -16px 0 22px 4px; transform: rotate(45deg); border: 2px solid var(--brass); }
.stop.open .mark { border: 0; background: var(--brass-light); box-shadow: 0 0 0 4px rgba(232, 199, 120, 0.3); }
.stop.works .mark { border-color: var(--brass-light); background: var(--oxblood); }
.stop h3 { font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--paper); }
.stop .status { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--felt-text); }
.stop.open .status { color: #d6e3b4; }
.stop.works .status { color: var(--brass-light); }
.stop p { font-size: 15px; line-height: 1.55; color: var(--felt-text); }

/* Waitlist */
.waitlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); margin-top: 88px; padding: clamp(28px, 4vw, 48px); background: var(--paper); color: var(--ink); }
.waitlist h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 600; line-height: 1.08; }
.waitlist-copy p { margin-top: 12px; color: var(--ink-soft); }
.waitlist form { display: flex; flex-direction: column; gap: 10px; }
.waitlist label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oxblood); }
.field { display: flex; gap: 10px; }
.field input { flex: 1; min-width: 0; min-height: 58px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 4px; background: #fff; color: var(--ink); font: 400 17px var(--sans); }
.field input::placeholder { color: #7a6a5c; }
.waitlist .fineprint { color: var(--ink-soft); }
.waitlist .fineprint a { color: var(--oxblood); }
.waitlist .profile-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.waitlist-status { min-height: 1.5em; font-weight: 600; }
.waitlist-status.ok { color: #3c4a2a; }
.waitlist-status.err { color: var(--oxblood); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Closing */
.closing { display: flex; flex-direction: column; align-items: center; gap: 26px; padding-block: 88px; background: var(--cream); color: var(--ink); text-align: center; }
.closing img { width: 184px; height: 80px; }
.closing h2 { font-size: clamp(48px, 6vw, 84px); line-height: 1; }
.closing h2 em { color: var(--oxblood); }
.closing p { max-width: 560px; font-size: 18px; color: var(--ink-soft); }
.closing .fineprint { font-size: 14px; }

/* Footer: the mark and tagline, then the links in three groups, then the small print. */
.footer { margin-top: auto; padding-block: 48px 32px; border-top: 1px solid var(--brass-dark); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 56px; }
.footer .brand img { width: 74px; height: 32px; }
.footer .brand-name { font-size: 24px; }
.footer-tag { margin-top: 8px; font-size: 13px; color: var(--sand); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.footer-col h2 { margin-bottom: 4px; font: 700 12px/1.6 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.footer-col a { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--sand); text-decoration: none; }
.footer-col a:hover { color: var(--cream); }
.footer .disclaimer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--wood); font-size: 13px; color: var(--sand); }
.footer .copyright { margin-top: 12px; font-size: 13px; color: var(--sand); }
.footer .copyright a { color: var(--brass-light); }
/* On a desktop the footer stays quiet: pointer-sized links, less padding. */
@media (min-width: 768px) {
  .footer { padding-block: 28px 20px; }
  .footer-cols { flex-direction: column; gap: 0; }
  .footer-col { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
  .footer-col h2 { width: 96px; margin-bottom: 0; }
  .footer-col a { min-height: 32px; }
  .footer .brand img { width: 60px; height: 26px; }
  .footer .brand-name { font-size: 20px; }
  .footer .disclaimer { margin-top: 20px; padding-top: 14px; }
  .footer .copyright { margin-top: 6px; }
}
/* Plain pages (privacy, 404) */
.plain { max-width: 720px; margin-inline: auto; padding: 72px var(--gutter) 96px; }
.plain .leagues-eyebrow { margin-bottom: 14px; color: var(--brass); }
.plain h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.02; margin-bottom: 24px; }
.plain h2 { font-size: 30px; font-weight: 600; margin: 40px 0 10px; }
.plain p, .plain li { color: var(--sand); }
.plain ul { margin: 0; padding-left: 20px; }
.plain li + li { margin-top: 10px; }
.plain li strong { color: var(--cream); }
.plain p + p { margin-top: 14px; }
.plain .draft-banner { border: 1px solid var(--brass-dark); border-radius: 4px; padding: 10px 14px; margin-bottom: 24px; color: var(--cream); }
.plain a { color: var(--brass-light); }
.plain .btn { margin-top: 32px; color: var(--mahogany); }
.plain .btn-outline { color: var(--brass-light); }
.plain .btn-outline:hover { color: var(--mahogany); }

/* Find a Space (spaces.html): the filter form and the list of Spaces the page fetches. */
.nav-links a[aria-current="page"] { color: var(--cream); border-bottom: 2px solid var(--brass); }
.dir-form { display: grid; gap: 10px; margin: 28px 0 0; }
.dir-form label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.dir-form input, .dir-form select { display: block; width: 100%; min-height: 48px; margin-top: 4px; padding: 10px 14px; border: 1px solid var(--brass-dark); border-radius: 4px; background: var(--paper); color: var(--ink); font: 400 16px var(--sans); letter-spacing: 0; text-transform: none; }
.dir-form .btn { margin-top: 8px; justify-self: start; }
.dir-status { margin-top: 22px; }
.dir-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dir-list li + li { margin-top: 0; }
.dir-list a.item { display: block; padding: 14px 18px; background: var(--panel); border: 1px solid var(--brass-dark); border-radius: 8px; text-decoration: none; color: var(--cream); }
.dir-list a.item:hover { border-color: var(--brass); }
.dir-list a.has-logo { display: flex; gap: 14px; align-items: center; }
.dir-list .logo { width: 48px; height: 48px; flex: none; border-radius: 8px; object-fit: cover; border: 1px solid var(--brass-dark); }
.dir-list .body { display: block; min-width: 0; }
.dir-list .name { font: 600 22px/1.2 var(--serif); }
.dir-list .badge { margin-left: 10px; padding: 1px 8px; border: 1px solid var(--brass); border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); }
.dir-list .meta { display: block; margin-top: 2px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); }
.dir-list .tag { display: block; margin-top: 4px; color: var(--sand); }
.dir-pager { margin: 22px 0 0; display: flex; gap: 18px; }
.dir-pager a { display: inline-flex; align-items: center; min-height: 44px; }

/* The header never wraps (#332): as the window narrows it sheds the quieter links first,
   and keeps Sign in and the call to action at every width. The footer carries the rest. */
@media (max-width: 1180px) {
  .brand-sub { display: none; }
}
@media (max-width: 1100px) {
  .nav-links a:not(.btn):not(.if-out) { display: none; }
}

@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav-links a { white-space: nowrap; }
  .nav-links .nav-quiet { display: none; }
  .brand { gap: 12px; flex-shrink: 0; }
  .brand img { width: 81px; height: 35px; }
  .brand-name { font-size: 26px; }
  .brand-sub { display: none; }
  .story-body { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .get-grid, .stops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .profile-card { max-width: 480px; }
  .rooms { grid-template-columns: minmax(0, 1fr); }
  .numbers { grid-template-columns: minmax(0, 1fr); }
  .cloth { grid-template-columns: minmax(0, 1fr); padding-right: var(--gutter); }
  .cloth-copy { padding-bottom: 8px; }
  .shot { max-width: 640px; margin: 0 auto 40px; }
}

/* Narrow phones: wordmark, Sign in and the CTA only just fit, so the mark steps aside. */
@media (max-width: 480px) {
  .nav .brand img { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { min-height: 72px; }
  .nav { gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 69px; height: 30px; }
  .brand-name { font-size: 24px; }
  .nav .btn-outline { padding: 0 12px; font-size: 13px; white-space: nowrap; }
  .nav-links a:not(.btn) { font-size: 14px; }
  .shot text { font-size: 26px; }
  .hero-inner { padding-block: 36px 56px; gap: 32px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.2em; gap: 10px; }
  .btn { width: 100%; }
  .btn-outline { width: auto; }
  .hero-cta { width: 100%; }
  .honest, .waitlist { grid-template-columns: minmax(0, 1fr); }
  .story { padding-block: 56px 8px; }
  .gets { padding-block: 64px 48px; }
  .scene { padding-bottom: 56px; }
  .scene-grid { grid-template-columns: minmax(0, 1fr); }
  .photo-slot { aspect-ratio: 16 / 9; }
  .rooms { padding-block: 56px; }
  .honest { padding-block: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .get-grid, .stops { grid-template-columns: minmax(0, 1fr); }
  .numbers { padding-block: 72px; }
  .panel { padding: 22px; }
  .bars li { grid-template-columns: 112px 1fr 40px; gap: 10px; font-size: 14px; }
  .sponsor-slot { flex-direction: column; gap: 6px; width: 320px; height: 100px; padding-inline: 14px; text-align: center; }
  .sponsor-line { font-size: 24px; }
  .sponsor-sub { font-size: 11px; line-height: 1.35; }
  .roadmap { padding-block: 72px; }
  .stops { row-gap: 40px; }
  .stop { padding-right: 0; }
  .waitlist { margin-top: 64px; }
  .field { flex-direction: column; }
  .closing { padding-block: 72px; }
  .rail-strip .diamond:nth-child(even) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* session.js adds .signed-in: sign-in links give way to a link into the app. */
.if-in { display: none; }
.signed-in .if-in { display: inline-flex; }
.signed-in .if-out { display: none !important; }
/* Sponsor page (sponsors.html): to-scale banner mockups, price tables, inquiry form */
.pay-panel { color-scheme: light; margin: 20px 0 28px; padding: clamp(20px, 4vw, 32px); background: var(--paper); color: var(--ink); }
.pay-panel h2 { margin-top: 0; color: var(--oxblood); }
.pay-panel p { color: var(--ink); }
.pay-panel .fineprint { color: var(--ink-soft); }
.pay-panel .fineprint a { color: var(--oxblood); }
.pay-panel .btn { margin-top: 8px; }
.pay-panel .waitlist-status.err { color: var(--oxblood); }
.sponsor-page h3 { font-size: 24px; font-weight: 600; color: var(--cream); margin-bottom: 10px; }
.sponsor-page h3 span { margin-left: 8px; font: 400 14px var(--sans); color: var(--sand); }
.sponsor-page .fineprint { margin-top: 12px; font-size: inherit; line-height: inherit; }
.ad-slot { margin-top: 24px; padding: 20px; border: 1px solid var(--brass-dark); }
.ad-mock-label { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.ad-mock { display: flex; align-items: center; justify-content: center; max-width: 100%; margin-top: 6px; border: 1px dashed var(--brass); background: var(--wood); color: var(--brass-light); font: italic 500 22px var(--serif); }
.price-table { width: 100%; border-collapse: collapse; margin-top: 12px; color: var(--sand); }
.price-table th, .price-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--brass-dark); text-align: left; vertical-align: top; }
.price-table thead th { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.price-table tbody th { color: var(--cream); font-weight: 600; white-space: nowrap; }
.sponsor-form { color-scheme: light; display: flex; flex-direction: column; gap: 8px; margin: 20px 0 28px; padding: clamp(20px, 4vw, 32px); background: var(--paper); color: var(--ink); }
.sponsor-form label, .sponsor-form legend { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oxblood); }
.sponsor-form .optional { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.sponsor-form input[type="text"], .sponsor-form input[type="email"], .sponsor-form textarea { min-height: 48px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 4px; background: #fff; color: var(--ink); font: 400 17px var(--sans); }
.sponsor-form fieldset { margin: 8px 0 0; padding: 0; border: 0; }
.sponsor-form .choice { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font: 400 16px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.sponsor-form .choice input { width: 20px; height: 20px; accent-color: var(--oxblood); }
.sponsor-form .estimate { min-height: 1.5em; font-weight: 700; color: var(--ink); }
.sponsor-form .btn { margin-top: 0; align-self: flex-start; }
.sponsor-form .fineprint, .sponsor-form .fineprint a { color: var(--ink-soft); }
.sponsor-form .fineprint a { color: var(--oxblood); }
.sponsor-page .sponsor-form p { color: var(--ink); }
.sponsor-page .sponsor-form .fineprint { color: var(--ink-soft); }
.sponsor-page .sponsor-form .waitlist-status.ok { color: #3c4a2a; }
.sponsor-page .sponsor-form .waitlist-status.err { color: var(--oxblood); }
@media (max-width: 560px) {
  .price-table tbody th { white-space: normal; }
  .sponsor-page h3 span { display: block; margin: 2px 0 0; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sponsors page (our-sponsors.html): state/kind filters and one card per sponsor */
.dir-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 24px 0 8px; }
.dir-filters label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.dir-filters select { min-height: 44px; padding: 8px 12px; border: 1px solid var(--brass-dark); border-radius: 2px; background: var(--wood); color: var(--cream); font: 400 16px var(--sans); }
.dir-card { padding: 14px 0; border-bottom: 1px solid var(--brass-dark); }
.dir-card h3 { margin-bottom: 4px; font-size: 22px; }
.dir-card a { color: var(--cream); }

[hidden] { display: none !important; }
