/* ==========================================================================
   Waggle Dance Ranch — design tokens & components
   Art direction: warm rustic luxury. Urbane Bronze lodge, cedar, honey bronze.
   ========================================================================== */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.03rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.3rem + 3.8vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.625rem;
  --radius-full: 9999px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 660px;
  --content-default: 1020px;
  --content-wide: 1320px;

  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4rem, 9vw, 8.5rem);
}

/* ---------- LIGHT ---------- */
:root, [data-theme='light'] {
  --color-bg: #f4efe6;
  --color-surface: #faf6ef;
  --color-surface-2: #fdfbf7;
  --color-surface-offset: #ece5d8;
  --color-surface-dynamic: #e2d9c9;
  --color-divider: #ddd4c4;
  --color-border: #cfc5b2;

  --color-text: #2a251e;
  --color-text-muted: #6b6153;
  --color-text-faint: #9c9384;
  --color-text-inverse: #f7f2e9;

  --color-primary: #7a5a2c;         /* bronze */
  --color-primary-hover: #5d4420;
  --color-primary-soft: #e6dbc6;

  --color-ink: #33312b;             /* Urbane Bronze lodge dark */
  --color-ink-2: #26241f;
  --color-on-ink: #f2ece1;
  --color-on-ink-muted: #b3aa9a;
  --color-brass: #b98b46;           /* accent on dark surfaces */

  --shadow-sm: 0 1px 2px rgba(42, 37, 30, 0.07);
  --shadow-md: 0 6px 18px rgba(42, 37, 30, 0.09);
  --shadow-lg: 0 18px 48px rgba(42, 37, 30, 0.14);
  --hero-scrim: linear-gradient(to top, rgba(28, 25, 20, 0.82) 0%, rgba(28, 25, 20, 0.48) 42%, rgba(28, 25, 20, 0.16) 78%, rgba(28, 25, 20, 0.26) 100%);
}

/* ---------- DARK ---------- */
[data-theme='dark'] {
  --color-bg: #17150f;
  --color-surface: #1d1b15;
  --color-surface-2: #232019;
  --color-surface-offset: #221f18;
  --color-surface-dynamic: #2c2820;
  --color-divider: #2b2720;
  --color-border: #3d382e;

  --color-text: #e6e0d3;
  --color-text-muted: #a49b8a;
  --color-text-faint: #756d5e;
  --color-text-inverse: #1a1812;

  --color-primary: #cda061;
  --color-primary-hover: #e0b477;
  --color-primary-soft: #332d20;

  --color-ink: #201e18;
  --color-ink-2: #191710;
  --color-on-ink: #eae4d7;
  --color-on-ink-muted: #a29886;
  --color-brass: #cda061;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.6);
  --hero-scrim: linear-gradient(to top, rgba(14, 13, 9, 0.9) 0%, rgba(14, 13, 9, 0.6) 42%, rgba(14, 13, 9, 0.26) 78%, rgba(14, 13, 9, 0.36) 100%);
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--default { max-width: var(--content-default); }
.wrap--narrow { max-width: var(--content-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--ink { background: var(--color-ink); color: var(--color-on-ink); }
.section--offset { background: var(--color-surface-offset); }

.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::after { content: ''; flex: 1; max-width: 4rem; height: 1px; background: currentColor; opacity: 0.4; }
.section--ink .eyebrow { color: var(--color-brass); }

h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: -0.015em; }
.h-hero { font-size: var(--text-3xl); line-height: 1.02; }
.h-page { font-size: var(--text-2xl); line-height: 1.05; }
.h-section { font-size: var(--text-xl); line-height: 1.12; }
.h-card { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; }

.lede { font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.55; max-width: 46ch; }
.section--ink .lede { color: var(--color-on-ink-muted); }
.muted { color: var(--color-text-muted); }
.section--ink .muted { color: var(--color-on-ink-muted); }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 46px; padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius-full); border: 1px solid transparent;
}
.btn--primary { background: var(--color-primary); color: #fff; }
[data-theme='dark'] .btn--primary { color: #1a1812; }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--ghost { border-color: color-mix(in oklab, currentColor 34%, transparent); color: inherit; }
.btn--ghost:hover { border-color: currentColor; background: color-mix(in oklab, currentColor 8%, transparent); }
.btn--light { background: var(--color-on-ink); color: var(--color-ink); }
.btn--light:hover { background: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--color-primary);
}
.section--ink .link-arrow { color: var(--color-brass); }
.link-arrow svg { transition: transform var(--transition-interactive); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease-out), background 300ms var(--ease-out);
}
.header--scrolled { border-bottom-color: var(--color-divider); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-text); }
.brand svg { color: var(--color-primary); flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.1; letter-spacing: 0.01em; }
.brand__sub { display: block; font-family: var(--font-display); font-style: italic; font-size: 0.8125rem; letter-spacing: 0.01em; color: var(--color-primary); margin-top: 3px; white-space: nowrap; }
[data-theme="dark"] .brand__sub { color: var(--color-primary); }

.nav { display: flex; align-items: center; gap: clamp(var(--space-4), 2vw, var(--space-8)); }
.nav a { white-space: nowrap;
  font-size: var(--text-sm); text-decoration: none; color: var(--color-text-muted);
  padding-block: var(--space-2); position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.nav a:hover { color: var(--color-text); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: var(--color-text); }

.header__actions { display: flex; align-items: center; gap: var(--space-3); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); color: var(--color-text-muted);
}
.icon-btn:hover { color: var(--color-text); border-color: var(--color-text-muted); }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-divider);
    padding: var(--space-2) var(--gutter) var(--space-6);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
    box-shadow: var(--shadow-lg);
  }
  .nav[data-open='true'] { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding-block: var(--space-4); font-size: var(--text-base); border-bottom: 1px solid var(--color-divider); }
  .nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .nav a.nav__cta { color: var(--color-primary); font-weight: 600; border-bottom: none; }
}
.nav a.nav__cta { display: none; }
@media (max-width: 1023px) { .nav a.nav__cta { display: block; } }


/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; color: #f7f2e9; display: flex; align-items: flex-end; }
.hero--tall { min-height: min(93vh, 900px); }
.hero--page { min-height: min(60vh, 560px); }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroDrift 24s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hero-scrim); }
.hero__inner { padding-block: clamp(3rem, 8vw, 6.5rem); width: 100%; }
.hero__eyebrow {
  font-size: var(--text-xs); letter-spacing: 0.24em; text-transform: uppercase;
  color: #e0cba4; margin-bottom: var(--space-5);
}
.hero h1 { max-width: 20ch; }
.hero__lede { margin-top: var(--space-6); max-width: 52ch; color: rgba(247, 242, 233, 0.84); font-size: var(--text-base); }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6);
  margin-top: var(--space-8); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(247, 242, 233, 0.72);
}
.hero__meta li { display: flex; align-items: center; gap: var(--space-3); }
.hero__meta li + li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--color-brass); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Editorial blocks
   ========================================================================== */
.split { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.15fr 1fr; }
  .split--flip .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3 / 4; }
.split__body > * + * { margin-top: var(--space-5); }

.section-head { display: grid; gap: var(--space-5); margin-bottom: clamp(var(--space-8), 5vw, var(--space-16)); }
@media (min-width: 900px) {
  .section-head--row { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: end; gap: var(--space-12); }
}

.rule { height: 1px; background: var(--color-divider); border: 0; }

/* Feature list with hairlines */
.spec-list { display: grid; gap: 0; }
.spec-list > li {
  display: grid; gap: var(--space-1) var(--space-6); padding-block: var(--space-5);
  border-top: 1px solid var(--color-divider); max-width: none;
}
.spec-list > li:last-child { border-bottom: 1px solid var(--color-divider); }
@media (min-width: 720px) { .spec-list > li { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); } }
.spec-list dt, .spec-list__term { font-weight: 600; font-size: var(--text-base); }
.spec-list__note { color: var(--color-text-muted); font-size: var(--text-sm); }
.section--ink .spec-list > li { border-color: rgba(242, 236, 225, 0.16); }
.section--ink .spec-list__note { color: var(--color-on-ink-muted); }

/* ==========================================================================
   Itinerary / numbered cards
   ========================================================================== */
.itinerary { display: grid; gap: var(--space-6); }
@media (min-width: 820px) { .itinerary { grid-template-columns: repeat(3, 1fr); } }
.itin-card {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: var(--color-surface); border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg); text-decoration: none; color: inherit;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.itin-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.itin-card__num { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-primary); }
.itin-card p { color: var(--color-text-muted); font-size: var(--text-sm); flex: 1; }

/* ==========================================================================
   Amenity cards
   ========================================================================== */
.cards { display: grid; gap: var(--space-6); }
.cards--2 { grid-template-columns: 1fr; }
.cards--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards--2, .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg);
}
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-surface-offset); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.card__meta { font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); }
.card p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* Compact fact tiles */
.tiles { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }
.tile {
  padding: var(--space-6); border: 1px solid var(--color-divider); border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.section--ink .tile { background: rgba(242, 236, 225, 0.05); border-color: rgba(242, 236, 225, 0.16); }
.tile h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-2); }
.tile p { font-size: var(--text-sm); color: var(--color-text-muted); }
.section--ink .tile p { color: var(--color-on-ink-muted); }

/* Stat row */
.stats { display: grid; gap: var(--space-6) var(--space-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.stat__value { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; color: var(--color-primary); }
.section--ink .stat__value { color: var(--color-brass); }
.stat__label { display: block; margin-top: var(--space-3); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); }
.section--ink .stat__label { color: var(--color-on-ink-muted); }

/* Full-bleed band */
.band { position: relative; isolation: isolate; color: #f7f2e9; display: flex; align-items: center; min-height: min(70vh, 620px); }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 18, 14, 0.9) 0%, rgba(20, 18, 14, 0.7) 45%, rgba(20, 18, 14, 0.35) 100%); }
.band__inner { padding-block: clamp(3rem, 7vw, 6rem); }
.band h2 { max-width: 24ch; }
.band p { color: rgba(247, 242, 233, 0.82); max-width: 46ch; margin-top: var(--space-5); }

/* Pull quote */
.pullquote {
  font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.28;
  max-width: 30ch; margin-inline: auto; text-align: center; text-wrap: balance;
}
.pullquote__attr { display: block; margin-top: var(--space-6); font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-text-faint); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--color-surface-offset); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 800ms var(--ease-out); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: var(--space-8) var(--space-4) var(--space-3);
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: #f7f2e9;
  background: linear-gradient(to top, rgba(20, 18, 14, 0.85), transparent);
  max-width: none;
}
@media (min-width: 900px) {
  .gallery { grid-auto-flow: row dense; }
  .gallery .g-wide { grid-column: span 2; }
  .gallery .g-tall { grid-row: span 2; }
  .gallery .g-tall img { aspect-ratio: 3 / 4; height: 100%; }
  .gallery .g-hero { grid-column: span 2; grid-row: span 2; }
  .gallery .g-hero img { aspect-ratio: auto; height: 100%; }
}

/* ==========================================================================
   Booking — calendar + form
   ========================================================================== */
.booking { display: grid; gap: clamp(var(--space-8), 4vw, var(--space-16)); align-items: start; }
@media (min-width: 1000px) { .booking { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); } }

.panel { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: clamp(var(--space-6), 3vw, var(--space-10)); }

.cal-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.cal-head__title { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; }
.cal-nav { display: flex; gap: var(--space-2); }

/* Two months side by side only when the calendar panel itself is wide enough.
   Sized off the panel, not the window, so the laptop two-column booking layout
   (where the panel is narrow) stacks the months instead of spilling over the form. */
#calendar { container-type: inline-size; min-width: 0; }
.months { display: grid; gap: var(--space-8); grid-template-columns: minmax(0, 1fr); }
@container (min-width: 540px) { .months { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.month__name { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: var(--space-4); }
.month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.month__dow { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-faint); text-align: center; padding-bottom: var(--space-2); }
.day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm); font-variant-numeric: tabular-nums; border-radius: var(--radius-sm);
  border: 1px solid transparent; background: var(--color-surface-offset); color: var(--color-text);
  min-height: 34px; position: relative;
}
.day[data-empty] { background: none; }
.day[data-state='past'] { color: var(--color-text-faint); background: none; }
.day[data-state='booked'] { color: var(--color-text-faint); background: none; border: 1px dashed var(--color-border); text-decoration: line-through; text-decoration-color: var(--color-border); }
.day[data-state='open'] { cursor: pointer; }
.day[data-state='open']:hover { border-color: var(--color-primary); background: var(--color-primary-soft); }
.day[data-selected='start'], .day[data-selected='end'] { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
[data-theme='dark'] .day[data-selected='start'], [data-theme='dark'] .day[data-selected='end'] { color: #1a1812; }
.day[data-selected='between'] { background: var(--color-primary-soft); border-color: var(--color-primary-soft); }

.legend { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); margin-top: var(--space-8); font-size: var(--text-xs); color: var(--color-text-muted); }
.legend span { display: inline-flex; align-items: center; gap: var(--space-2); }
.legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.legend .i-open { background: var(--color-surface-offset); border: 1px solid var(--color-border); }
.legend .i-booked { background: none; border: 1px dashed var(--color-border); }
.legend .i-sel { background: var(--color-primary); }

.field { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.field label { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: var(--space-3) var(--space-4); font-size: var(--text-base);
  background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  min-height: 46px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px var(--color-primary-soft); }
.field-row { display: grid; gap: var(--space-4); }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-4); }
.form-status {
  margin-top: var(--space-5); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md);
  background: var(--color-primary-soft); border: 1px solid var(--color-primary);
  font-size: var(--text-sm); display: none;
}
.form-status[data-show='true'] { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--color-ink-2); color: var(--color-on-ink); padding-block: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-8); }
.footer__grid { display: grid; gap: clamp(var(--space-8), 4vw, var(--space-16)); }
@media (min-width: 860px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer h2 { font-size: var(--text-xl); max-width: 22ch; }
.footer p { color: var(--color-on-ink-muted); font-size: var(--text-sm); }
.footer__col h3 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-brass); margin-bottom: var(--space-4); }
.footer__col ul { display: grid; gap: var(--space-3); }
.footer__col a { color: var(--color-on-ink-muted); text-decoration: none; font-size: var(--text-sm); }
.footer__col li a[href*="maps"] { display: inline-block; line-height: 1.5; }
.footer__col a:hover { color: var(--color-on-ink); }
.footer__bar {
  margin-top: clamp(var(--space-10), 5vw, var(--space-16)); padding-top: var(--space-6);
  border-top: 1px solid rgba(242, 236, 225, 0.14);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between;
  font-size: var(--text-xs); color: var(--color-on-ink-muted);
}
.footer .brand { color: var(--color-on-ink); }
.footer .brand svg { color: var(--color-brass); }
.footer .brand__sub { color: var(--color-brass); }

.skip-link {
  position: absolute; left: var(--space-4); top: var(--space-4); z-index: 100;
  padding: var(--space-3) var(--space-5); background: var(--color-primary); color: #fff;
  border-radius: var(--radius-md); text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ==========================================================================
   Penalty shootout (outdoor page)
   ========================================================================== */
.shootout { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-14)); align-items: start; }
@media (min-width: 900px) { .shootout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.shootout__intro .h-section { margin-top: var(--space-4); }
.shootout__intro .lede { margin-top: var(--space-6); }
.shootout__note {
  margin-top: var(--space-6); padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-sm); color: var(--color-text-muted); max-width: 44ch;
}
.shootout__rules h3 {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.rules { list-style: none; counter-reset: rule; display: grid; gap: var(--space-5); }
.rules li {
  counter-increment: rule;
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: var(--space-2) var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.rules li:last-child { padding-bottom: 0; border-bottom: 0; }
.rules li::before {
  content: counter(rule, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--font-display); font-size: var(--text-base);
  color: var(--color-brass); line-height: 1.35;
}
.rules__head { font-weight: 600; font-size: var(--text-base); }
.rules__body { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 520px) {
  .rules li { grid-template-columns: 1.9rem minmax(0, 1fr); }
}

/* Footer crest (every page) */
.footer__crest {
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
}
.footer__crest-rule {
  flex: 1 1 0;
  max-width: 11rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 236, 225, .22) 40%, rgba(242, 236, 225, .22) 60%, transparent);
}
.footer__crest-mark {
  width: clamp(78px, 9vw, 104px);
  height: auto;
  flex: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45));
}
.footer__crest + .footer__bar { margin-top: clamp(var(--space-8), 4vw, var(--space-10)); }

/* ==========================================================================
   Brand crest (homepage)
   ========================================================================== */
.crest {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(1rem, 2vw, 1.5rem);
  text-align: center;
  background: var(--color-bg);
}
.crest__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  justify-content: center;
}
.crest__rule {
  flex: 1 1 0;
  max-width: 16rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-divider) 35%, var(--color-divider) 65%, transparent);
}
.crest__mark {
  width: clamp(124px, 16vw, 184px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 14px 28px rgba(26, 20, 12, .18));
}
.crest__line {
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  padding-inline: 1.5rem;
  max-width: 34ch;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.45;
  color: var(--color-text-muted);
}
[data-theme="dark"] .crest__mark { filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .5)); }

/* ==========================================================================
   Course cards (golf nearby)
   ========================================================================== */
.courses {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}
.course {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--color-divider);
}
.course:first-child { padding-top: 0; border-top: 0; }
.course__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--color-surface-2);
}
.course__media img { width: 100%; height: 100%; object-fit: cover; }
.course__tag {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.course__drive {
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fbf7f0;
  letter-spacing: .12em;
}
.course__body > h3 { margin-top: .9rem; }
.course__body > .lede { margin-top: 1.1rem; }
.course__body .spec-list { margin-top: 2rem; }
.course__body a:not(.btn):not(.link-arrow) {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 3px;
}
.course__body a:not(.btn):not(.link-arrow):hover { color: var(--color-primary); text-decoration-color: currentColor; }
.tile a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.section-head a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.section-head a:hover { color: var(--color-primary); }
.course__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.booking-cta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (max-width: 900px) {
  .course { grid-template-columns: 1fr; }
  .course__media { aspect-ratio: 16 / 10; }
}

/* ==========================================================================
   Small-screen overrides (must stay last)
   ========================================================================== */
@media (max-width: 700px) {
  .gallery figcaption {
    position: static; inset: auto; background: none; color: var(--color-text-muted);
    padding: var(--space-3) 0 0; letter-spacing: 0.1em; font-size: 0.6875rem; line-height: 1.4;
  }
  .gallery { align-items: start; }
  .gallery figure { background: none; overflow: visible; display: block; }
  .gallery img { border-radius: var(--radius-md); height: auto; }
}

/* ---------- Roster / who are you bringing ---------- */
.roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 1.6vw, 1.35rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.roster__card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: clamp(1.35rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color var(--dur-md) var(--ease-out), transform var(--dur-md) var(--ease-out);
}
.roster__card:hover { border-color: var(--color-brass); transform: translateY(-3px); }
.roster__count {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.roster__card h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  text-wrap: balance;
}
.roster__card p:last-child {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}
.roster__ask {
  margin: clamp(2rem, 3.5vw, 2.75rem) auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  max-width: 30ch;
  text-wrap: balance;
}

/* ---------- Master logo ---------- */
.brand__logo { width: 58px; height: 58px; flex: none; border-radius: 50%; display: block; filter: drop-shadow(0 2px 6px rgba(40, 28, 10, .22)); }
.footer .brand__logo { width: 60px; height: 60px; }
@media (max-width: 720px) { .brand__logo { width: 44px; height: 44px; } }
.crest__mark { border-radius: 50%; }
.footer__crest-mark { border-radius: 50%; }
.tile a { overflow-wrap: anywhere; }
.header__cta { white-space: nowrap; }
.header .brand__sub { font-size: 0.75rem; }
.header .brand { min-width: 0; }

@media (max-width: 520px) {
  .header .brand { gap: var(--space-2); }
  .header .brand__name { font-size: 0.95rem; }
  .header .brand__sub { font-size: 0.68rem; white-space: normal; line-height: 1.25; }
}
.brand__name { white-space: nowrap; }
@media (max-width: 520px) {
  .header .brand__logo { width: 40px; height: 40px; }
  .header .brand__sub { font-size: 0.66rem; white-space: nowrap; letter-spacing: 0; }
  .header__actions { gap: var(--space-2); }
}
@media (max-width: 374px) {
  .header .brand__name { font-size: 0.88rem; }
  .header .brand__sub { font-size: 0.6rem; }
}

/* ---------- Statement taglines ---------- */
.statement { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--color-surface); border-bottom: 1px solid var(--color-divider); }
.statement--quiet { background: transparent; padding-block: clamp(3rem, 6vw, 5rem) 0; border-bottom: 0; }
.statement__inner { text-align: center; display: grid; justify-items: center; gap: var(--space-4); }
.statement__eyebrow { justify-content: center; }
.statement__line { font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; color: var(--color-text); max-width: 28ch; text-wrap: balance; margin: 0; }
.statement__sub { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); color: var(--color-primary); margin: var(--space-2) 0 0; text-wrap: balance; }
.footer__tagline { margin-top: 1.5rem; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.3; color: var(--color-brass); }
.crest__tagline { margin: clamp(1.5rem, 3vw, 2.25rem) auto 0; padding-inline: 1.5rem; text-align: center; font-family: var(--font-display); font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.01em; color: var(--color-text); text-wrap: balance; }
.crest__tagline + .crest__line { margin-top: var(--space-4); }
.quip { display: block; font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); line-height: 1.35; color: var(--color-primary); margin-bottom: var(--space-4); text-wrap: balance; }
.quip--end { margin: var(--space-4) 0 0; font-size: var(--text-base); color: var(--color-text-muted); }
.roster__card p.roster__quip { margin-top: auto; padding-top: var(--space-3); font-family: var(--font-display); font-style: italic; font-size: var(--text-sm); color: var(--color-primary); }
.roster__card p.roster__quip + * { margin: 0; }
.roster__card h3 + p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin: 0; }
.statement--band { background: var(--color-surface-2, var(--color-surface)); border-block: 1px solid var(--color-divider); }
.statement--pb .statement__line { max-width: 30ch; }

/* ---------- Homepage stacked hero: headline above the house ---------- */
.hero-stack { background: var(--color-bg); }
.hero-stack__text { text-align: center; display: grid; justify-items: center; padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.hero-stack__eyebrow { justify-content: center; }
.hero-stack__title { color: var(--color-text); max-width: 18ch; margin-top: var(--space-4); text-wrap: balance; }
.hero-stack__lede { margin-top: var(--space-5, 1.25rem); max-width: 60ch; color: var(--color-text-muted); font-size: var(--text-base); text-wrap: pretty; }
.hero-stack__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-5, 1.25rem); margin-top: var(--space-5, 1.25rem); font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-faint); }
.hero-stack__meta li { display: flex; align-items: center; gap: var(--space-3); }
.hero-stack__meta li + li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--color-brass); }
.hero-stack__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
.hero-stack__actions .btn--ghost { color: var(--color-text); }
.hero-stack__media { width: 100%; aspect-ratio: 2 / 1; max-height: 78vh; overflow: hidden; }
.hero-stack__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
@media (max-width: 720px) { .hero-stack__media { aspect-ratio: 4 / 3; } }
.hero-stack__actions a.btn--ghost, .hero-stack__actions a.btn--ghost:visited { color: var(--color-text); text-decoration: none; }
@media (max-width: 600px) {
  .hero-stack__meta { flex-direction: column; align-items: center; }
  .hero-stack__meta li + li::before { display: none; }
}
@media (max-width: 600px) {
  .hero-stack__text { padding-block: 2rem 1.75rem; }
  .hero-stack__lede { font-size: var(--text-sm); }
  .hero-stack__actions { flex-direction: row; }
  .hero-stack__actions .btn { padding-inline: 1.1rem; }
}
.hero--pb::before { background: linear-gradient(90deg, rgba(24,22,18,.74) 0%, rgba(24,22,18,.42) 50%, rgba(24,22,18,.12) 100%), var(--hero-scrim); }
@media (max-width: 720px) { .hero--pb::before { background: rgba(24,22,18,.58); } }
.shootout__note a { color: var(--color-primary); text-underline-offset: 3px; }
.statement__sub--lead { font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.5rem); max-width: 40ch; }
.statement__rule { width: 72px; height: 1px; background: var(--color-brass); margin-block: var(--space-6) var(--space-2); }
.statement__line--second { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem); }

/* ---------- Homepage hero: headline in the sky, right third ---------- */
.hero-sky { background: var(--color-bg); }
.hero-sky__media { position: relative; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; }
.hero-sky__media > img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
.hero-sky__title-wrap { position: absolute; top: 5%; right: 5%; width: min(34%, 36rem); text-align: right; color: #fff; }
.hero-sky__eyebrow { font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; text-shadow: 0 1px 10px rgba(20, 35, 60, .55); margin: 0 0 var(--space-3); }
.hero-sky__title { color: #fff; font-size: clamp(2rem, 1rem + 3.3vw, 4.4rem); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; margin: 0; text-shadow: 0 2px 6px rgba(15, 30, 55, .35), 0 8px 34px rgba(15, 30, 55, .45); }
.hero-sky__text { text-align: center; display: grid; justify-items: center; padding-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 3.75rem); }
@media (max-width: 720px) {
  .hero-sky__media { aspect-ratio: 4 / 5; }
  .hero-sky__media > img { object-position: 62% bottom; }
  .hero-sky__title-wrap { top: 6%; right: 6%; left: 6%; width: auto; text-align: center; }
  .hero-sky__title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
}
@media (min-width: 721px) {
  .hero-sky__title-wrap { top: 4.5%; right: 4.5%; width: 46%; }
  .hero-sky__title { font-size: clamp(1.6rem, 3.4vw, 4rem); line-height: 1.04; text-wrap: initial; }
  .hero-sky__eyebrow { white-space: nowrap; font-size: clamp(0.6rem, 0.8vw, 0.8rem); }
}
@media (min-width: 721px) {
  .hero-sky__title-wrap { right: 11%; top: 5%; }
}
@media (min-width: 721px) {
  .hero-sky__title-wrap { width: auto; max-width: 46%; text-align: left; }
  .hero-sky__title { margin-left: -0.04em; }
}
@media (min-width: 721px) {
  .hero-sky__title-wrap { left: 51%; right: auto; }
}
.header .brand__sub { white-space: normal; max-width: 19rem; line-height: 1.3; }
@media (max-width: 520px) { .header .brand__sub { max-width: 13rem; font-size: 0.66rem; } }
@media (max-width: 374px) { .header .brand__sub { max-width: 11rem; font-size: 0.62rem; } }
.brand__sub { text-wrap: balance; } .header .brand__sub { max-width: 15rem; }
.hero__quip { margin-top: var(--space-4); max-width: 34ch; font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.6rem); line-height: 1.3; color: #f1d7a6; text-wrap: balance; }
.split__quip { margin: calc(var(--space-2) * -1) 0 var(--space-4); font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 0.9rem + 0.7vw, 1.4rem); line-height: 1.3; color: var(--color-primary); }
.split__body .split__quip { margin: var(--space-3) 0 var(--space-2); }

/* ---------- Soccer page roast ---------- */
.roast__list { margin-top: var(--space-6); display: grid; gap: 0; counter-reset: roast; }
.roast__list li { display: grid; grid-template-columns: 9rem 1fr; gap: var(--space-6); align-items: baseline; padding-block: clamp(1.25rem, 2.4vw, 1.9rem); border-top: 1px solid var(--color-divider); }
.roast__list li:last-child { border-bottom: 1px solid var(--color-divider); }
.roast__tag { font-size: var(--text-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; position: relative; padding-left: 1.6rem; }
.roast__tag::before { content: '\00D7'; position: absolute; left: 0; top: 50%; transform: translateY(-52%); font-size: 1.25rem; color: #b5523b; font-weight: 400; }
.roast__list p { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem); line-height: 1.2; color: var(--color-text); text-wrap: balance; }
@media (max-width: 640px) { .roast__list li { grid-template-columns: 1fr; gap: var(--space-2); } }

.roast-punch { position: relative; isolation: isolate; color: #f7f2e9; min-height: min(86vh, 820px); display: flex; align-items: flex-end; }
.roast-punch__media { position: absolute; inset: 0; z-index: -2; }
.roast-punch__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.roast-punch::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20,18,14,.86) 0%, rgba(20,18,14,.5) 38%, rgba(20,18,14,0) 70%); }
.roast-punch__inner { padding-block: clamp(3rem, 7vw, 5.5rem); }
.roast-punch__kicker { font-size: var(--text-xs); letter-spacing: .22em; text-transform: uppercase; color: #e6c48a; font-weight: 600; margin: 0 0 var(--space-3); }
.roast-punch__line { font-family: var(--font-display); font-size: clamp(2rem, 1.1rem + 3.4vw, 4.2rem); line-height: 1.04; max-width: 20ch; margin: 0; text-wrap: balance; }
.roast-punch__aside { margin: var(--space-4) 0 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.6rem); color: #f1d7a6; }
.statement--closer .statement__line { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 5rem); line-height: 1.02; }
.shootout__intro .split__quip { margin: var(--space-4) 0 var(--space-5, 1.25rem); max-width: 26ch; text-wrap: balance; }
.hero__because { margin-top: var(--space-3); font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 1.2rem + 3vw, 3.8rem); line-height: 1.05; color: #f1d7a6; }
.roast { padding-top: clamp(2.5rem, 5vw, 4rem); }
.roast__list { margin-top: 0; }
.hero-sky__bubble { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); line-height: 1.15; color: var(--color-primary); text-wrap: balance; max-width: 30ch; }
.hero-sky__bubble + .hero-stack__lede { margin-top: var(--space-4); }
.hero-sky__text .hero-stack__lede { max-width: 66ch; }
.h-hero--long { font-size: clamp(2.2rem, 1.2rem + 3vw, 4rem); max-width: 22ch; line-height: 1.05; }
.statement--tag .statement__brand { margin: 0 0 var(--space-4); font-family: var(--font-display); font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); line-height: 1.05; color: var(--color-primary); letter-spacing: -0.01em; }
.statement--tag .statement__line { font-size: clamp(1.25rem, 0.95rem + 1.1vw, 1.9rem); line-height: 1.3; font-style: italic; max-width: 40ch; margin-inline: auto; }
.crest__line + .crest__tagline { margin-top: var(--space-6, 1.5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Game Day schedule ---------- */
.sched-legend { display:flex; gap:1.25rem; flex-wrap:wrap; margin: 0 0 1rem; font-size: var(--text-sm); color: var(--color-text-muted); }
.sched-key { display:inline-flex; align-items:center; gap:.5rem; }
.sched-key::before { content:""; width:.75rem; height:.75rem; border-radius:50%; background: var(--sched-c); }
.sched-key--home, .sched__row--home { --sched-c: var(--color-primary); }
.sched-key--away, .sched__row--away { --sched-c: #2b3a55; }
.sched-key--neutral, .sched__row--neutral { --sched-c: var(--color-text-faint, #9a9184); }
[data-theme="dark"] .sched-key--away, [data-theme="dark"] .sched__row--away { --sched-c: #8fa3c7; }
.sched { list-style:none; margin:0; padding:0; border-top: 1px solid var(--color-border); }
.sched__row { display:grid; grid-template-columns: 8.5rem minmax(0,1.4fr) 5.5rem minmax(0,1.6fr) minmax(0,1fr); gap: 1rem; align-items:center; padding: 1.1rem 0 1.1rem 1rem; border-bottom: 1px solid var(--color-border); border-left: 4px solid var(--sched-c); }
.sched__row--home { background: color-mix(in srgb, var(--color-primary) 6%, transparent); }
.sched__date { font-size: var(--text-sm); font-weight:600; letter-spacing:.02em; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.sched__opp { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height:1.2; color: var(--color-text); }
.sched__vs { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-text-muted); margin-right:.25rem; }
.sched__note { display:block; font-family: var(--font-body); font-size: var(--text-xs, .78rem); letter-spacing:.08em; text-transform: uppercase; color: var(--color-primary); margin-top:.2rem; }
.sched__site { font-size: var(--text-xs, .78rem); letter-spacing:.1em; text-transform:uppercase; font-weight:600; color: var(--sched-c); }
.sched__venue { font-size: var(--text-sm); color: var(--color-text-muted); }
.sched__info { font-size: var(--text-sm); text-align:right; color: var(--color-text); font-variant-numeric: tabular-nums; padding-right: 1rem; }
.sched__info--win { font-weight:700; color: #2f6b3a; }
.sched__info--loss { color: var(--color-text-muted); }
[data-theme="dark"] .sched__info--win { color:#7fc48c; }
@media (max-width: 860px) {
  .sched__row { grid-template-columns: 1fr auto; gap:.35rem 1rem; padding-right: .75rem; }
  .sched__date { grid-column:1; } .sched__site { grid-column:2; grid-row:1; text-align:right; }
  .sched__opp { grid-column:1 / -1; } .sched__venue { grid-column:1; } .sched__info { grid-column:2; padding-right:0; }
}
@media (min-width: 1280px) { .nav { gap: clamp(0.85rem, 1.15vw, 1.75rem); } .nav a { font-size: 0.9rem; } }
.sched__row { max-width: none; }
.hero--gd .hero__media img { object-position: 50% 74%; }
@media (min-width: 1024px) and (max-width: 1439px) {
  .nav { gap: 0.8rem; } .nav a, .nav__parent { font-size: 0.85rem; }
  .header .btn { padding-inline: 1.1rem; font-size: 0.8rem; letter-spacing: 0.06em; }
}
.hero-sky__eyebrow--line { text-transform: none; letter-spacing: 0.01em; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1rem, 0.85rem + 0.6vw, 1.35rem) !important; white-space: normal !important; max-width: 36ch; line-height: 1.3; }
.hero__actions--ask { margin-top: var(--space-5, 1.25rem); margin-bottom: var(--space-5, 1.25rem); }
.crest__tagline:last-child { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero-sky__title--long { font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4.2rem); max-width: 16ch; }
.split__media img[src*="garage-wedges"] { aspect-ratio: 2 / 1; }
.wide-shot { margin: 0; }
.wide-shot img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.section-head--row .split__quip { margin: var(--space-3) 0 0; }
.shootout__photo { margin: var(--space-8) 0 0; } .shootout__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .shootout__photo { margin-right: clamp(1.5rem, 3vw, 2.75rem); } }
.field-note { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--color-border); align-items: end; }
.field-note .h-section { margin-top: var(--space-4); }
.field-note .lede { margin-top: var(--space-5, 1.25rem); }
@media (min-width: 900px) { .field-note { grid-template-columns: 1.1fr 1fr; } }

/* Date inputs carry an intrinsic min width; let them shrink to the column. */
.field-row > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; box-sizing: border-box; }

.field-hint { margin: var(--space-2) 0 0; font-size: var(--text-xs); line-height: 1.5; color: var(--color-text-muted); }
.field-hint b { font-weight: 600; color: var(--color-text); }
.field-hint--lead { margin: 0 0 var(--space-4); }

/* ---- Day Trips/Excursions ---- */
.subtabs { position: sticky; top: var(--header-h, 72px); z-index: 20; background: var(--color-bg); border-bottom: 1px solid var(--color-divider); }
.subtabs__inner { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); overflow-x: auto; scrollbar-width: none; }
.subtabs__inner::-webkit-scrollbar { display: none; }
.subtabs a { flex: none; padding: 1rem 0 .9rem; font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.subtabs a:hover { color: var(--color-text); }
.subtabs a[aria-current='page'] { color: var(--color-text); border-bottom-color: var(--color-primary); font-weight: 600; }
.menu-table-wrap { margin-bottom: 2rem; }
.menu-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.menu-table th { text-align: left; font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 500; padding: 0 1rem .75rem 0; border-bottom: 1px solid var(--color-divider); }
.menu-table td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--color-divider); vertical-align: top; color: var(--color-text-muted); }
.menu-table td.menu-table__holes { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-primary); line-height: 1; width: 4.5rem; }
.menu-table td.menu-table__choice { color: var(--color-text); font-weight: 600; width: 34%; }
@media (max-width: 560px) {
  .menu-table thead { display: none; }
  .menu-table tr { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--color-divider); }
  .menu-table td { border: 0; padding: 0; width: auto !important; }
  .menu-table td.menu-table__holes { grid-row: span 2; }
  .menu-table td:last-child { margin-top: .3rem; }
}
.flow-wrap { margin: 0 0 1.5rem; }
.flow__label { font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 .75rem; }
.flow { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.flow li { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--text-sm); padding: .45rem .85rem; border: 1px solid var(--color-divider); border-radius: 999px; background: var(--color-surface); color: var(--color-text); }
.flow li + li::before { content: '\2192'; color: var(--color-primary); margin-left: -.15rem; }
.fine { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 70ch; }
.course__actions + .fine, .fine + .course__actions { margin-top: 1.5rem; }
.quote-line { margin-top: 2.25rem; padding: 1.5rem 1.75rem; border: 1px solid var(--color-divider); border-radius: var(--radius-lg, 14px); background: var(--color-surface); }
.quote-line p { margin: 0; }
.quote-line p + p { margin-top: .5rem; }
.quote-line > p:nth-child(2) { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-text); }
.quote-line span { color: var(--color-primary); }
.proposed-note { margin: 2rem auto 0; max-width: 62ch; font-size: var(--text-sm); color: var(--color-text-muted); text-align: center; }
.split-media { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: 2.5rem; }
.split-media__img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-lg, 14px); }
.split-media__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .split-media { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.sources-section { padding-block: clamp(2rem, 4vw, 3rem); }
.sources { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; margin: .75rem 0 0; list-style: none; font-size: var(--text-sm); }
.sources a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
a.card { text-decoration: none; color: inherit; }
a.card .link-arrow { margin-top: auto; }
@media (min-width: 1024px) { .header__inner > .brand { flex-shrink: 0; } }
.header > .wrap.header__inner { max-width: 1600px; }
.field-hint a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Grouped top menu ---- */
.nav__group { position: relative; }
.nav__parent { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; font: inherit; font-size: var(--text-sm); color: var(--color-text-muted); background: none; border: 0; padding: var(--space-2) 0; cursor: pointer; position: relative; }
.nav__parent:hover, .nav__parent[data-current='true'], .nav__group:focus-within .nav__parent { color: var(--color-text); }
.nav__parent[data-current='true']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-primary); }
.nav__caret { transition: transform 200ms var(--ease-out); }
.nav__menu { position: absolute; top: calc(100% + .5rem); left: -1rem; min-width: 12rem; display: grid; padding: .5rem; background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms; z-index: 70; }
.nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
.nav__menu a { padding: .6rem .75rem; border-radius: 8px; }
.nav__menu a::after { display: none; }
.nav__menu a:hover, .nav__menu a[aria-current='page'] { background: var(--color-surface-offset); color: var(--color-text); }
@media (min-width: 1024px) {
  .nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu, .nav__group[data-open='true'] .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__group:hover .nav__caret, .nav__group[data-open='true'] .nav__caret { transform: rotate(180deg); }
}
@media (max-width: 1023px) {
  .nav__group { border-bottom: 1px solid var(--color-divider); padding-bottom: var(--space-2); }
  .nav__parent { width: 100%; padding: var(--space-4) 0 var(--space-1); font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; cursor: default; pointer-events: none; }
  .nav__parent::after, .nav__caret { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 0 var(--space-3); min-width: 0; }
  .nav .nav__menu a { border-bottom: 0; padding: var(--space-3) 0; }
  .nav__menu a:hover, .nav__menu a[aria-current='page'] { background: none; color: var(--color-primary); }
}
#minibikes { scroll-margin-top: 96px; }

/* ---- Wife's Area ---- */
.wife-title { max-width: 18ch; text-wrap: balance; }
.quiz { text-align: left; }
.quiz > * + * { margin-top: var(--space-5); }
.quiz__title { color: var(--color-on-ink); text-wrap: balance; }
.quiz__lede { max-width: 56ch; }
.quiz__subjects { display: grid; gap: .75rem; margin-top: var(--space-8) !important; }
.quiz__subject, .quiz__option { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; padding: 1rem 1.25rem; border-radius: 12px; border: 1px solid rgba(242,236,225,.22); background: rgba(242,236,225,.05); color: var(--color-on-ink); font: inherit; font-size: var(--text-base); text-transform: none; letter-spacing: 0; line-height: 1.4; cursor: pointer; transition: border-color 160ms, background 160ms; white-space: normal; }
.quiz__subject:hover, .quiz__option:hover:not(:disabled) { border-color: var(--color-brass); background: rgba(242,236,225,.1); }
.quiz__subject::after { content: '→'; margin-left: auto; color: var(--color-brass); }
.quiz__options { display: grid; gap: .65rem; }
.quiz__option:disabled { cursor: default; opacity: .6; }
.quiz__option.is-right, .quiz__option.is-key { opacity: 1; border-color: var(--color-brass); background: rgba(196,160,96,.16); }
.quiz__option.is-wrong { opacity: 1; border-color: rgba(230,140,120,.7); }
.quiz__letter { flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid currentColor; font-size: .8rem; font-weight: 600; color: var(--color-brass); }
.quiz__q { font-family: var(--font-display); font-weight: 400; font-size: var(--text-lg); line-height: 1.3; color: var(--color-on-ink); text-wrap: balance; }
.quiz__progress { display: flex; gap: .4rem; }
.quiz__progress span { flex: 1; height: 3px; border-radius: 2px; background: rgba(242,236,225,.18); }
.quiz__progress .is-done, .quiz__progress .is-now { background: var(--color-brass); }
.quiz__progress .is-now { opacity: .55; }
.quiz__feedback > * + * { margin-top: var(--space-4); }
.quiz__feedback:empty { display: none; }
.quiz__verdict { color: var(--color-on-ink); }
.quiz__verdict a { color: var(--color-brass); text-decoration: underline; }
.quiz__retry { font-family: var(--font-display); font-style: italic; color: var(--color-brass); font-size: var(--text-lg); line-height: 1.35; }
.quiz__note { font-size: var(--text-sm); color: var(--color-on-ink-muted); max-width: 60ch; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.quiz h2:focus, .quiz h3:focus { outline: none; }
.quiz__form { margin-top: var(--space-8) !important; }
.section--ink .quiz__form label { color: var(--color-on-ink-muted); }
.section--ink .quiz__form input, .section--ink .quiz__form select, .section--ink .quiz__form textarea { background: rgba(242,236,225,.06); color: var(--color-on-ink); border-color: rgba(242,236,225,.22); }
.section--ink .quiz__form select option { color: #222; }
.quiz__done:empty { display: none; }
#quiz { scroll-margin-top: 72px; }
.hero--wife::before { background: linear-gradient(90deg, rgba(28,24,18,.72) 0%, rgba(28,24,18,.5) 45%, rgba(28,24,18,.12) 75%), var(--hero-scrim); }
.hero--wife .hero__eyebrow { color: #f0dcb4; }
.quiz .quiz__subject, .quiz .quiz__option { justify-content: flex-start; }
.hero--wife .btn { text-wrap: balance; text-align: center; }
.hero--wife .hero__eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,.55); }
@media (max-width: 760px) { .hero--wife::before { background: linear-gradient(180deg, rgba(28,24,18,.62) 0%, rgba(28,24,18,.55) 60%, rgba(28,24,18,.7) 100%); } .hero--wife .btn { font-size: .8rem; letter-spacing: .06em; padding-inline: 1.25rem; } }
.prize-list { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); column-gap: 2.5rem; }
.prize-list li { position: relative; padding: .9rem 0 .9rem 1.9rem; border-top: 1px solid var(--color-divider); line-height: 1.45; }
.prize-list li::before { content: ''; position: absolute; left: .2rem; top: 1.3rem; width: .7rem; height: .4rem; border-left: 2px solid var(--color-primary); border-bottom: 2px solid var(--color-primary); transform: rotate(-45deg); }
.talent { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: .25rem 0 .5rem; }
.talent__btn { font: inherit; font-size: var(--text-sm); font-weight: 600; letter-spacing: .04em; padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--color-primary); color: var(--color-primary); background: transparent; cursor: pointer; white-space: nowrap; transition: background 160ms, color 160ms; }
.talent__btn:hover { background: var(--color-primary-soft, rgba(120,80,40,.08)); }
.talent__btn[aria-pressed='true'] { background: var(--color-primary); color: #fff; }
.talent__hint { margin: 0 !important; flex: 1 1 16rem; }
.statement--closing { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4.5rem, 9vw, 7.5rem); }
.statement--closing .statement__line { max-width: 24ch; line-height: 1.15; }
/* Compact top bar 1024–1199px so every tab stays visible */
@media (min-width: 1024px) and (max-width: 1199px) {
  .header__cta { display: none; }
  .nav { gap: .7rem; }
  .nav a, .nav__parent { font-size: .82rem; }
}
.wife-sub { margin-top: var(--space-4); font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 0.9rem + 1.2vw, 1.85rem); line-height: 1.25; color: #f0dcb4; max-width: 30ch; text-wrap: balance; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.quiz__brag { margin-top: var(--space-5); font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.5rem); line-height: 1.35; color: #f0dcb4; max-width: 40ch; text-wrap: balance; }
/* ---- The Gym ---- */
.hero--gym::before { background: linear-gradient(90deg, rgba(24,21,16,.82) 0%, rgba(24,21,16,.62) 45%, rgba(24,21,16,.15) 78%), var(--hero-scrim); }
.hero--gym .hero__eyebrow { color: #f0dcb4; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.hero--gym .hero__lede, .hero--gym .hero__meta { text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (max-width: 760px) { .hero--gym::before { background: linear-gradient(180deg, rgba(24,21,16,.68) 0%, rgba(24,21,16,.6) 60%, rgba(24,21,16,.75) 100%); } }

/* Auburn Students menu fit */
@media (min-width: 1024px) and (max-width: 1299px) { .header__inner .brand__sub { display: none; } }
@media (min-width: 1200px) and (max-width: 1299px) { .nav { gap: .85rem; } }

/* Opening-page nonsense */
.statement--family .statement__sub { max-width: 52ch; margin-inline: auto; }
.roster__quip { margin: 0; text-align: center; max-width: 40ch; }
.gallery__quip { margin: var(--space-3) 0 0; }
.hero--shade .hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,14,.8) 0%, rgba(20,18,14,.58) 45%, rgba(20,18,14,.1) 75%, rgba(20,18,14,0) 100%); }
@media (max-width: 720px) { .hero--shade .hero__media::after { background: rgba(20,18,14,.68); } }

.bb-closer { color: #f1d7a6; margin: 0 auto var(--space-4); max-width: 34ch; text-align: center; }

/* Wide cards (Outdoor: Stargazing fills row 2 on desktop; Dozy Central sits beside the orchard) */
@media (min-width: 700px) {
  .card--wide-md { grid-column: span 2; display: grid; grid-template-columns: 1.3fr 1fr; }
  .card--wide-md .card__media { aspect-ratio: auto; min-height: 100%; }
}
@media (min-width: 1040px) {
  .card--wide-lg { grid-column: span 2; display: grid; grid-template-columns: 1.3fr 1fr; }
  .card--wide-lg .card__media { aspect-ratio: auto; min-height: 100%; }
}

/* Dozy Central picture: keep the Dozy Tree sign in frame */
.split__media img[src*="dozy-central"] { aspect-ratio: 3 / 2; object-position: 50% 50%; }
@media (max-width: 699px) { .hero__media img[src*="dozy-central"] { object-position: 100% 50% !important; } }
.cards--pair { margin-top: clamp(2rem, 4vw, 3rem); }

/* Golf: 10-day weather panel on each RTJ course */
.wx-note { margin-top: 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: .9rem 1rem; align-items: start; padding: 1.1rem 1.25rem; border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary); border-radius: var(--radius-lg); background: var(--color-surface-2); }
.wx-note__icon { color: var(--color-primary); margin-top: .1rem; }
.wx-note__title { margin: 0; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.25; color: var(--color-text); }
.wx-note__text { margin: .35rem 0 0; font-size: var(--text-sm); color: var(--color-text-muted); max-width: 52ch; }
.wx-note .btn { grid-column: 2; justify-self: start; }
@media (max-width: 520px) { .wx-note { grid-template-columns: 1fr; } .wx-note__icon { display: none; } .wx-note .btn { grid-column: 1; } }
