/* ==========================================================================
   The Mustard Seed of Central Florida — Raise the Table 2027 Living Impact Wall
   Design System: Warm Editorial Almanac × Gala Program
   Tokens synthesized from Oura (warm canvas & serif restraint),
   Starbucks (calibrated 4-tier botanical green & ceremony gold),
   Claude (band alternation & polarity-flipped featured cards),
   and diagram-design (zero-shadow, 1px hairline, static-frame data graphics).
   Zero external fonts or CDN dependencies — 100% offline-ready.
   ========================================================================== */

:root {
  /* Surface Worlds */
  --canvas: #f7f3eb;          /* Warm linen paper — resting page floor */
  --surface: #ffffff;         /* Crisp white elevated cards */
  --sand: #efe9dd;            /* Soft warm secondary band */
  --sage-wash: #e6ede5;       /* Botanical light tint */
  --forest-deep: #192b20;     /* Deep nocturnal forest stage (hero, featured tier, footer) */
  --forest-elev: #213729;     /* Elevated panel inside dark forest band */
  --forest-ribbon: #132118;   /* Private-preview top strip */

  /* Brand & Accent */
  --forest-brand: #223a2b;    /* Primary headings & brand ink */
  --forest-action: #254933;   /* Primary button fill on light (10.1:1 w/ white) */
  --forest-action-hover: #1c3927;
  --ochre: #825914;           /* Focal editorial accent on light (5.6:1 on canvas, 6.2:1 on white) */
  --ochre-tint: rgba(130, 89, 20, 0.09);
  --gold-light: #dec06b;      /* Ceremony gold on dark forest (8.4:1 on forest-deep) */
  --gold-soft: rgba(222, 192, 107, 0.14);
  --lime-brand: #b8cf52;      /* Mustard Seed leaf-lime accent on dark (8.6:1 on forest-deep) */

  /* Text & Hairlines */
  --ink: #1a221d;             /* Primary body & heading ink on light (14.7:1 on canvas) */
  --muted: #4c5850;           /* Secondary copy on light (6.7:1 on canvas) */
  --muted-sand: #47524a;      /* Secondary copy on sand (6.8:1 on sand) */
  --on-dark: #f7f3eb;         /* Cream ink on forest-deep (13.5:1) */
  --on-dark-muted: #d6ded7;   /* Secondary ink on forest-deep (9.2:1) */
  --hairline: #dfd8ca;        /* 1px warm paper border */
  --hairline-strong: #c9c0ae; /* Stronger table/chart baseline */
  --hairline-dark: rgba(247, 243, 235, 0.16);

  /* Typography — Zero network dependency system editorial stack */
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Scale & Rhythm (4px/8px grid) */
  --max-w: 1180px;
  --gutter: clamp(16px, 4vw, 36px);
  --section-pad: clamp(44px, 6.5vw, 84px);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--forest-action);
  text-underline-offset: 3px;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--forest-deep);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ==========================================================================
   Private-Preview Chrome (Mandatory on all 4 pages)
   ========================================================================== */
.preview-ribbon {
  background-color: var(--forest-ribbon);
  color: var(--on-dark);
  border-bottom: 1px solid var(--hairline-dark);
  font-size: 12.5px;
  line-height: 1.4;
}

.preview-ribbon__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 9px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.preview-ribbon__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.preview-ribbon__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-brand);
  flex: 0 0 auto;
}

.preview-ribbon__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--on-dark-muted);
}

.expiry-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(222, 192, 107, 0.45);
  background: rgba(222, 192, 107, 0.10);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.expiry-pill--expired {
  border-color: rgba(247, 243, 235, 0.35);
  background: rgba(247, 243, 235, 0.08);
  color: var(--on-dark);
}

/* ==========================================================================
   Site Header & Shared Navigation (Works identically with or without JS)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(247, 243, 235, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 10px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest-brand);
  min-width: 0;
}

.brand-lockup__logo {
  height: 36px;
  width: auto;
  flex: 0 0 auto;
}

.brand-lockup__divider {
  width: 1px;
  height: 26px;
  background: var(--hairline-strong);
  display: none;
}

.brand-lockup__tag {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  margin: 0 calc(var(--gutter) * -1);
  background: var(--canvas);
}

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 8px 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.site-nav__link:hover {
  color: var(--forest-brand);
  background: rgba(34, 58, 43, 0.04);
}

.site-nav__link[aria-current="page"] {
  color: var(--forest-brand);
  border-bottom-color: var(--ochre);
  background: rgba(130, 89, 20, 0.05);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--forest-action);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.header-cta:hover {
  background: var(--forest-action-hover);
}

.header-cta:active {
  transform: scale(0.97);
}

@media (min-width: 768px) {
  .brand-lockup__logo {
    height: 42px;
  }
  .brand-lockup__divider,
  .brand-lockup__tag {
    display: block;
  }
  .site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 74px;
  }
  .site-header__top {
    padding: 0;
    min-height: 74px;
    flex: 0 0 auto;
  }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    border-top: none;
    margin: 0;
    background: transparent;
  }
  .site-nav__link {
    padding: 8px 14px;
    font-size: 14px;
    min-height: 40px;
    border-radius: var(--radius-pill);
    border-bottom: none;
  }
  .site-nav__link[aria-current="page"] {
    background: var(--sand);
    color: var(--forest-brand);
    border-bottom: none;
    box-shadow: inset 0 0 0 1px var(--hairline-strong);
  }
  .header-cta {
    padding: 9px 18px;
    font-size: 13.5px;
  }
  .header-cta--mobile {
    display: none;
  }
}

.header-cta--desktop {
  display: none;
}

@media (min-width: 768px) {
  .header-cta--desktop {
    display: inline-flex;
  }
}

/* ==========================================================================
   Typography Primitives
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 12px;
}

.eyebrow--on-dark {
  color: var(--gold-light);
}

.display-h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.section-h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--forest-brand);
  margin: 0 0 14px;
}

.section-h2--on-dark {
  color: var(--on-dark);
}

.card-h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.lead {
  font-size: clamp(1rem, 1.6vw, 1.175rem);
  line-height: 1.62;
  color: var(--muted);
  margin: 0;
  max-width: 64ch;
}

.lead--on-dark {
  color: var(--on-dark-muted);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Buttons (Pill system — Starbucks × Oura)
   ========================================================================== */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--forest-action);
  color: #ffffff;
  border-color: var(--forest-action);
}
.btn--primary:hover {
  background: var(--forest-action-hover);
  border-color: var(--forest-action-hover);
}

.btn--gold {
  background: var(--gold-light);
  color: var(--forest-deep);
  border-color: var(--gold-light);
}
.btn--gold:hover {
  background: #e7cc7e;
  border-color: #e7cc7e;
}

.btn--outline-dark {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(247, 243, 235, 0.45);
}
.btn--outline-dark:hover {
  background: rgba(247, 243, 235, 0.1);
  border-color: var(--on-dark);
}

.btn--outline-light {
  background: transparent;
  color: var(--forest-brand);
  border-color: var(--forest-brand);
}
.btn--outline-light:hover {
  background: rgba(34, 58, 43, 0.06);
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   Surface Bands (Color-block rhythm — no redundant shadows)
   ========================================================================== */
.band {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--hairline);
}

.band--canvas {
  background: var(--canvas);
}

.band--surface {
  background: var(--surface);
}

.band--sand {
  background: var(--sand);
}

.band--forest {
  background: var(--forest-deep);
  color: var(--on-dark);
  border-bottom-color: var(--hairline-dark);
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-header--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
}

/* ==========================================================================
   Hero — Gala Program Stage (index.html) & Subpage Editorial Headers
   ========================================================================== */
.hero-gala {
  background: var(--forest-deep);
  color: var(--on-dark);
  padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--hairline-dark);
}

.hero-gala__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-gala__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-gala__date-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(222, 192, 107, 0.45);
  background: var(--gold-soft);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-gala__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline-dark);
}

@media (min-width: 600px) {
  .hero-gala__facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-fact__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 4px;
}

.hero-fact__value {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--on-dark);
  line-height: 1.3;
}

.hero-photo-frame {
  margin: 0;
  background: var(--forest-elev);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-photo-frame__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 22%;
}

.hero-photo-frame__cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--on-dark-muted);
  border-top: 1px solid var(--hairline-dark);
}

/* Subpage Header Band */
.page-intro {
  background: var(--forest-deep);
  color: var(--on-dark);
  padding: clamp(36px, 5vw, 60px) 0;
  border-bottom: 1px solid var(--hairline-dark);
}

.page-intro__inner {
  max-width: 820px;
}

.page-intro .display-h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  margin-bottom: 14px;
}

/* ==========================================================================
   Impact Stat Wall (Architectural Ledger)
   ========================================================================== */
.stat-wall {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

@media (min-width: 540px) {
  .stat-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .stat-wall {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-cell {
  padding: 24px 22px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.stat-cell:last-child {
  border-bottom: none;
}

@media (min-width: 540px) {
  .stat-cell {
    border-right: 1px solid var(--hairline);
  }
  .stat-cell:nth-child(2n) {
    border-right: none;
  }
  .stat-cell:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (min-width: 960px) {
  .stat-cell {
    border-bottom: none;
    border-right: 1px solid var(--hairline);
  }
  .stat-cell:nth-child(2n) {
    border-right: 1px solid var(--hairline);
  }
  .stat-cell:last-child {
    border-right: none;
  }
}

.stat-cell__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
}

.stat-cell__num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--forest-brand);
  font-variant-numeric: tabular-nums;
}

.stat-cell__label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.stat-cell__detail {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 2px;
}

.source-caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
}

.source-caption--on-dark {
  color: var(--on-dark-muted);
}

/* ==========================================================================
   Sponsor-Tier Program Cards (Instantly scannable, program-like)
   ========================================================================== */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 680px) {
  .tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .tier-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tier-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--forest-brand);
  border-radius: var(--radius-md);
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.tier-card--gold {
  border-top-color: var(--ochre);
}

.tier-card--silver {
  border-top-color: #6b7870;
}

.tier-card--table {
  border-top-color: #8b9a8e;
}

.tier-card--featured {
  background: var(--forest-deep);
  color: var(--on-dark);
  border-color: var(--forest-deep);
  border-top: 4px solid var(--gold-light);
}

.tier-card__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--forest-brand);
  margin-bottom: 12px;
}

.tier-card--featured .tier-card__badge {
  background: var(--gold-soft);
  color: var(--gold-light);
  border: 1px solid rgba(222, 192, 107, 0.4);
}

.tier-card__name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 6px;
}

.tier-card__price {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 10px;
}

.tier-card--featured .tier-card__price {
  color: var(--gold-light);
}

.tier-card__equiv {
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--canvas);
  color: var(--muted);
  border: 1px solid var(--hairline);
  margin-bottom: 16px;
}

.tier-card--featured .tier-card__equiv {
  background: var(--forest-elev);
  color: var(--on-dark-muted);
  border-color: var(--hairline-dark);
}

.tier-card__equiv strong {
  color: var(--forest-brand);
}

.tier-card--featured .tier-card__equiv strong {
  color: var(--on-dark);
}

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.45;
}

.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--ochre);
}

.tier-card--featured .tier-list li::before {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

/* ==========================================================================
   Diagram-Design Editorial SVG Frames
   ========================================================================== */
.grid-2 > *,
.grid-2-uneven > *,
.grid-3 > *,
.diagram-card {
  min-width: 0;
}

.diagram-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 28px);
}

.diagram-card--canvas {
  background: var(--canvas);
}

.diagram-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.diagram-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 400;
  color: var(--forest-brand);
  margin: 0;
}

.diagram-card__subtitle {
  font-size: 13.5px;
  color: var(--muted);
  margin: 4px 0 0;
}

.diagram-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.diagram-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.diagram-svg {
  width: 100%;
  min-width: 0;
  height: auto;
  display: block;
}

/* ==========================================================================
   Content Grids, Cards, Program Timeline, Quotes, Photos
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
}

@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-2-uneven {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

@media (min-width: 880px) {
  .grid-2-uneven {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 28px);
}

.panel--sand {
  background: var(--sand);
}

.panel--forest {
  background: var(--forest-elev);
  border-color: var(--hairline-dark);
  color: var(--on-dark);
}

/* Gala Schedule List */
.program-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-list__item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

.program-list__item:last-child {
  border-bottom: none;
}

.program-list__time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ochre);
  letter-spacing: 0.04em;
}

.program-list__title {
  font-weight: 600;
  color: var(--forest-brand);
  display: block;
  margin-bottom: 2px;
}

.program-list__desc {
  font-size: 14px;
  color: var(--muted);
  display: block;
}

/* Photo Editorial Card */
.media-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.media-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-card__body {
  padding: 20px 22px 22px;
}

/* Published Client Quote Card (strictly attributed & linked out) */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius-md);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.quote-card__text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.38;
  color: var(--forest-brand);
  margin: 0;
  font-style: italic;
}

.quote-card__context {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.quote-card__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
}

.quote-card__who {
  font-weight: 600;
  color: var(--ink);
}

/* Key-Value Ledger Table */
.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.ledger-table th,
.ledger-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.ledger-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger-table td.num,
.ledger-table th.num {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

@media (min-width: 640px) {
  .ledger-table td.num,
  .ledger-table th.num {
    white-space: nowrap;
    font-size: 14px;
  }
}

.ledger-table tr.ledger-total td {
  font-weight: 700;
  color: var(--forest-brand);
  border-top: 1.5px solid var(--forest-brand);
  border-bottom: none;
}

/* ==========================================================================
   Brief Page — Narrated Audio Player Mock & Draft Email Sheet
   ========================================================================== */
.player-shell {
  background: var(--forest-deep);
  color: var(--on-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 28px);
}

.player-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 20px;
  margin-bottom: 18px;
}

.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(222, 192, 107, 0.5);
  background: var(--gold-soft);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--gold-light);
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform 0.12s ease, background-color 0.15s ease;
}

.play-btn:hover {
  background: #e7cc7e;
}

.play-btn:active {
  transform: scale(0.95);
}

.player-track-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.player-range {
  width: 100%;
  accent-color: var(--gold-light);
  cursor: pointer;
  height: 24px;
}

.player-times {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--on-dark-muted);
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .chapter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.chapter-btn {
  text-align: left;
  background: var(--forest-elev);
  color: var(--on-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  font-family: var(--font-sans);
  min-height: 44px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.chapter-btn:hover,
.chapter-btn[aria-pressed="true"] {
  border-color: var(--gold-light);
  background: rgba(222, 192, 107, 0.12);
}

.chapter-btn__time {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.chapter-btn__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.transcript-box {
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(19, 33, 24, 0.65);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}

.transcript-seg {
  padding: 6px 8px;
  margin: 0 -8px 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.transcript-seg.is-active {
  background: rgba(222, 192, 107, 0.14);
  color: var(--on-dark);
}

/* Draft Email Sheet */
.email-sheet {
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.email-sheet__chrome {
  background: var(--sand);
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
}

.draft-stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--ochre-tint);
  color: var(--ochre);
  border: 1px solid rgba(130, 89, 20, 0.35);
}

.email-sheet__headers {
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline);
  font-size: 13.5px;
  display: grid;
  gap: 6px;
}

.email-header-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
}

.email-header-row__k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.email-sheet__body {
  padding: 24px 20px 26px;
  max-width: 62ch;
}

/* Mobile Step Cards (Complements 4-step SVG rail) */
.step-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .step-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 18px;
}

.step-card--focal {
  border-color: var(--ochre);
  background: var(--ochre-tint);
}

.step-card__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ochre);
  margin-bottom: 6px;
  display: block;
}

/* ==========================================================================
   Trust & Attribution Strip + Shared Footer
   ========================================================================== */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 14px 18px;
  background: var(--sage-wash);
  border: 1px solid #cedbcc;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--forest-brand);
}

.site-footer {
  background: var(--forest-deep);
  color: var(--on-dark);
  padding: clamp(40px, 6vw, 64px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline-dark);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 12px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-list a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--on-dark);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  font-size: 12.5px;
  color: var(--on-dark-muted);
}

.studio-colophon {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(194, 206, 197, 0.78);
}

/* Subtle utility helpers */
.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.small-note {
  font-size: 13px;
  color: var(--muted);
}
.small-note--dark {
  font-size: 13px;
  color: var(--on-dark-muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   Combined-master polish layer (Slate lane, 11/25)
   ========================================================================== */
@supports (min-height: 44px) {
  .site-nav__link[aria-current="page"] { border-bottom-width: 3px; }
}
@media (min-width: 900px) {
  .site-nav__link[aria-current="page"] { font-weight: 700; }
}
@media (max-width: 560px) {
  .hero-gala .btn-row .btn { width: 100%; }
}

/* ==========================================================================
   External-audit fixes (11/25): mobile chart legibility
   ========================================================================== */
.diagram-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  padding: 10px 2px 0;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .diagram-scroll .diagram-svg--wide { min-width: 0; }
}
@media (max-width: 767px) {
  /* Wide editorial charts stay native-scale in the scroll container so their
     text never drops below ~10px on a phone; users swipe sideways. */
  .diagram-scroll .diagram-svg--wide { min-width: 680px; }
}
@media (max-width: 639px) {
  #prod-rail { display: none; }  /* 4 step cards below carry the same facts */
}

