/* =========================================================
   Delphi Charity Golf — Save the Date
   Static site export
   ========================================================= */

:root {
  --h1-dark: #0a0e1a;
  --bg-darkest: #040b12;
  --bg-dark: #0e2230;
  --text-light: #f4efe2;
  --text-accent: #c9a84c;
  --icon-gold: #c8a85a;
  --p1-dark: #1a1a1a;
  --bg-cards: #e5e7eb;
  --teal-badge: #003b52;
  --blue-cta: #0092cc;
  --red-badge: #c85a5a;

  /* Font stacks approximate the source design's Lora / Georgia / Inter / Trebuchet MS
     typefaces using widely-available system fonts, so this export has no external
     font requests and stays fully self-contained. */
  --font-serif: Georgia, 'Times New Roman', Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-accent: 'Trebuchet MS', Tahoma, sans-serif;

  --container-max: 1200px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--p1-dark);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-accent);
  margin: 0 0 16px;
}

.heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  color: var(--h1-dark);
  margin: 0 0 24px;
}
.heading--light { color: var(--text-light); }

.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading .heading { margin-bottom: 0; }

.prose p,
.prose__lead {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  color: var(--p1-dark);
}
.prose--light p { color: var(--text-light); }

.divider {
  border: none;
  height: 1px;
  background: var(--icon-gold);
  margin: 0;
}
.divider--sm { width: 60px; }
.divider--wide { width: 100%; opacity: 0.25; }
.divider--faint { opacity: 0.15; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 48px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25); }
.btn--blue { background: var(--blue-cta); color: #fff; }
.btn--gold { background: var(--text-accent); color: var(--h1-dark); }
.btn--gold-outline { background: var(--icon-gold); color: var(--h1-dark); border: 1px solid var(--icon-gold); }

/* ---------- Layout helpers ---------- */
.overview__inner,
.charity__inner,
.schedule__inner,
.fork__inner,
.sponsorship__inner,
.addons__inner,
.rsvp__inner,
.gallery__inner,
.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 24px 24px;
  background: var(--h1-dark);
  color: var(--text-light);
  overflow: hidden;
  text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(14, 40, 48, 0) 0%,
    rgba(14, 36, 48, 0) 20%,
    rgba(14, 32, 48, 0.45) 44%,
    rgba(14, 34, 48, 0.85) 63%,
    rgba(14, 34, 48, 0.95) 80%,
    rgb(4, 11, 18) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 900px;
}
.hero__logo img { height: 44px; width: auto; margin: 0 auto; }

.hero__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 24px;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1.05;
  color: #fff;
  margin: 0;
}
.hero__meta { display: flex; flex-direction: column; gap: 24px; }
.hero__meta-group { display: flex; flex-direction: column; gap: 4px; }
.hero__date {
  font-family: var(--font-serif);
  font-size: clamp(20px, 4vw, 32px);
  margin: 0;
  color: #fff;
}
.hero__subline {
  font-family: var(--font-accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--icon-gold);
  margin: 0;
}
.hero__venue {
  font-family: var(--font-serif);
  font-size: clamp(18px, 3vw, 24px);
  letter-spacing: 1px;
  color: var(--text-light);
  margin: 0;
}
.hero__address {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(244, 239, 226, 0.72);
  margin: 0;
}
.hero__cta-block { display: flex; flex-direction: column; align-items: center; gap: 24px; }

.hero__countdown {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
  margin: 8px 0;
}
.hero__countdown-unit { text-align: center; }
.hero__countdown-value {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: var(--icon-gold);
  line-height: 1;
  margin: 0 0 6px;
  font-variant-numeric: tabular-nums;
}
.hero__countdown-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 239, 226, 0.72);
  margin: 0;
}
@media (max-width: 640px) {
  .hero__countdown { gap: 18px; margin: 4px 0; }
  .hero__countdown-value { font-size: 26px; }
  .hero__countdown-label { font-size: 9px; }
}

.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--text-light);
  margin: 0;
}
.hero__explore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-light);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.hero__explore:hover { opacity: 1; }
.hero__explore span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero__explore-icon { width: 16px; height: 16px; }

/* =========================================================
   OVERVIEW
   ========================================================= */
.overview { background: var(--bg-darkest); }
.overview__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 80px 40px;
}
.overview__collage {
  flex: 1 1 480px;
  display: flex;
  justify-content: center;
}
/* Mosaic tile positions are pulled directly from the Figma source (node 92:1440):
   each tile's x/y/w/h as a percentage of the 524x742 collage frame, rotated as a
   whole by the frame's actual 16.13deg tilt to reproduce the overlapping diamond
   arrangement. */
.collage {
  /* Width is deliberately less than 100% of the wrapper: rotating a 524x742 box by
     16.13deg expands its bounding box to ~1.35x its unrotated width, so sizing the
     unrotated box at ~82% of the available space keeps the rotated result from
     overflowing its container at any breakpoint, while reading closer in scale to
     the Figma source than the original 70%/360px cap did. */
  position: relative;
  width: 82%;
  max-width: 460px;
  aspect-ratio: 524 / 742;
  transform: rotate(16.13deg);
  overflow: hidden;
}
.collage__item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
/* Gradient overlay (Figma node 143:3818), sized/positioned as a percentage of the
   524x742 collage frame to match the source's 1416x1113 rect offset at
   right:-401.84px / top:-251.17px — this is what mutes/blends the photos into the
   dark section background instead of showing them at full brightness. */
.collage__overlay {
  position: absolute;
  left: -93.542%;
  top: -33.850%;
  width: 270.229%;
  height: 150%;
  background-image: linear-gradient(199.939deg, rgba(4, 11, 18, 0.35) 8.286%, rgb(4, 11, 18) 75.102%);
  pointer-events: none;
}

.overview__content {
  flex: 1 1 480px;
}

/* =========================================================
   CHARITY
   ========================================================= */
.charity { background: var(--text-light); }
.charity__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  padding: 80px 40px;
}
.charity__media {
  flex: 1 1 400px;
  max-width: 515px;
  display: flex;
}
/* Fallback ratio (matches the Figma source, 515x785) in case the flex-stretch
   height from the sibling column isn't available for some reason — keeps the
   video from collapsing to its no-metadata browser default size. */
.charity__media video { aspect-ratio: 515 / 785; }
.charity__content {
  flex: 2 1 500px;
}
.logo-badge {
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: var(--teal-badge);
  border: 6px solid var(--text-light);
  box-shadow: 0 0 0 1px var(--bg-cards);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo-badge img { width: 74%; height: auto; }

/* ---------- video placeholders ---------- */
.video-placeholder {
  position: relative;
  width: 100%;
  min-height: 320px;
  background: repeating-linear-gradient(135deg, #1a2530, #1a2530 12px, #202f3d 12px, #202f3d 24px);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.video-placeholder--portrait { aspect-ratio: 515 / 785; min-height: 0; }
.video-placeholder__label {
  font-family: var(--font-sans);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px dashed rgba(244, 239, 226, 0.5);
  padding: 12px 20px;
  border-radius: 4px;
}
.video-placeholder__video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================
   SCHEDULE
   ========================================================= */
.schedule { background: var(--bg-dark); }
.schedule__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  padding: 80px 40px;
}
.schedule__intro { flex: 1 1 360px; max-width: 420px; }

.detail-list { display: flex; flex-direction: column; gap: 32px; margin-top: 48px; }
.detail-row { display: flex; align-items: center; gap: 16px; }
.icon-bubble {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--icon-gold);
  border: 1px solid var(--icon-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-bubble img { width: 20px; height: 20px; }
.detail-row__text { display: flex; flex-direction: column; gap: 2px; }
.detail-row__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-accent);
}
.detail-row__value {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-light);
}

.agenda-card {
  flex: 2 1 480px;
  background: #fff;
  border: 1px solid var(--bg-cards);
  border-radius: 16px;
  padding: 40px;
}
.agenda-row {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(244, 239, 226, 0.9);
}
.agenda-row--last { border-bottom: none; }
.agenda-row__time {
  flex: none;
  width: 100px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-accent);
}
.agenda-row__text { display: flex; flex-direction: column; gap: 4px; }
.agenda-row__title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--h1-dark);
}
.agenda-row__desc {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--bg-dark);
  opacity: 0.7;
  max-width: 420px;
}

/* =========================================================
   FORK (Choose Your Path)
   ========================================================= */
.fork__inner { padding: 80px 40px; }
.fork__cards {
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin-bottom: 48px;
}
.fork__divider { flex: none; width: 1px; background: var(--bg-cards); }
.fork-card {
  flex: 1 1 0;
  min-width: 280px;
  background: var(--text-light);
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow: 12px 8px 12px rgba(151, 151, 151, 0.15);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.fork-card__label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-accent);
  margin: 0;
}
.fork-card__title {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--h1-dark);
  margin: 0;
}
.fork-card__desc { color: var(--p1-dark); margin: 0; }
.fork-card__price { color: var(--h1-dark); font-weight: 700; margin: 0; }

.fork__footnote {
  text-align: center;
  font-weight: 400;
}
.fork__footnote a { text-decoration: underline; color: var(--p1-dark); }

/* =========================================================
   SPONSORSHIP
   ========================================================= */
.sponsorship {
  background: linear-gradient(180deg, #fff 20%, #d3d3d3 100%);
  text-align: center;
}
.sponsorship__inner { padding: 120px 40px; }
.sponsorship__intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  max-width: 760px;
  margin: 0 auto 48px;
}
.sponsor-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 16px;
  text-align: left;
}
.sponsor-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--bg-cards);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.sponsor-card:hover,
.sponsor-card:focus-visible {
  border-color: var(--icon-gold);
  box-shadow: 0 6px 20px rgba(200, 168, 90, 0.22);
  transform: translateY(-3px);
}
.sponsor-card--sold-out {
  cursor: default;
  opacity: 0.85;
}
.sponsor-card--sold-out:hover,
.sponsor-card--sold-out:focus-visible {
  border-color: var(--bg-cards);
  box-shadow: none;
  transform: none;
}
.sponsor-card { overflow: hidden; }
.sponsor-card__ribbon {
  position: absolute;
  top: 26px;
  right: -52px;
  width: 220px;
  transform: rotate(45deg);
  background: var(--h1-dark);
  color: var(--text-light);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 9px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.sponsor-card__ribbon--red {
  background: var(--red-badge);
}
@media (max-width: 640px) {
  .sponsor-card__ribbon {
    top: 18px;
    right: -46px;
    width: 180px;
    font-size: 12px;
    padding: 7px 0;
  }
}
.sponsor-card__price { flex: 1 1 260px; }
.sponsor-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--h1-dark);
  margin: 0 0 4px;
}
.sponsor-card__amount {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--text-accent);
  margin: 0;
}
.sponsor-card__perks { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--p1-dark); }
.check-list img { width: 14px; height: 14px; flex: none; }
.plus-divider {
  display: flex;
  align-items: center;
  width: 100%;
  height: 16px;
}
.plus-divider__line {
  flex: 1 1 auto;
  min-width: 8px;
  height: 2px;
  background: var(--text-light);
  border-radius: 1px;
}
.plus-divider__icon { flex: none; width: 16px; height: 16px; margin: 0 3px; }

/* =========================================================
   ADD-ONS
   ========================================================= */
.addons { background: var(--bg-dark); }
.addons__inner { padding: 60px 40px 120px; text-align: center; }
.addons__intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--text-light);
  max-width: 760px;
  margin: 24px auto 0;
}
.addon-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.addon-card {
  background: #F8F5EF;
  border: 1px solid var(--bg-cards);
  border-radius: 4px;
  padding: 18px;
  width: 280px;
  max-width: 100%;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.addon-card__title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--p1-dark);
  margin: 0 0 12px;
}
.addon-card__price {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-accent);
  margin: 0;
}

/* =========================================================
   RSVP
   ========================================================= */
.rsvp { background: var(--text-light); }
.rsvp__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  padding: 120px 40px;
}
.rsvp__intro { flex: 1 1 340px; max-width: 400px; }
.payment-notice { display: flex; flex-direction: column; gap: 8px; }
.payment-notice__label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-accent);
  margin: 0;
}
.payment-notice__text {
  font-size: 15px;
  opacity: 0.7;
  margin: 0;
}

.rsvp__form-wrap { flex: 2 1 460px; }
.rsvp-form {
  background: #fff;
  border: 1px solid var(--bg-cards);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row { display: flex; flex-wrap: wrap; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; border: none; padding: 0; margin: 0; }
.form-row > .form-field { flex: 1 1 200px; }
/* Fieldsets don't reliably behave as flex containers in all browsers (they
   render with an internal anonymous content box that can miscalculate size
   when the fieldset itself has display:flex). Force the fieldset back to a
   plain block wrapper and move the flex/gap layout to an inner div instead. */
fieldset.form-field { display: block; }
.fieldset-body { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.form-field > label:not(.radio-option):not(.checkbox-option),
.form-field legend {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-accent);
  padding: 0;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  border: 1px solid var(--bg-cards);
  border-radius: 4px;
  padding: 17px;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--p1-dark);
  background: #fff;
  width: 100%;
}
.form-field select {
  appearance: none;
  background-image: url("../images/icon-chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  padding-right: 44px;
  color: rgba(26, 26, 26, 0.6);
}
.form-field textarea { resize: vertical; min-height: 106px; font-family: var(--font-serif); }

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--p1-dark);
  cursor: pointer;
}
.radio-option input,
.checkbox-option input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.radio-option__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--bg-cards);
  background: #fff;
  flex: none;
  position: relative;
}
.radio-option input:checked + .radio-option__dot {
  border-color: var(--icon-gold);
}
.radio-option input:checked + .radio-option__dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--icon-gold);
}
.checkbox-option__box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--bg-cards);
  background: #fff;
  flex: none;
  position: relative;
}
.checkbox-option input:checked + .checkbox-option__box {
  border-color: var(--icon-gold);
  background: var(--icon-gold);
}
.checkbox-option input:checked + .checkbox-option__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-option em {
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-accent);
  margin-left: 4px;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}

.rsvp-form .btn { align-self: flex-start; }
.form-status { font-size: 14px; color: var(--text-accent); margin: 0; }
.form-status:empty { display: none; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { background: var(--text-light); }
.gallery__inner { padding: 80px 40px; }
.gallery__heading { text-align: center; }
.gallery__intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.gallery-grid {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  /* Explicit height, matching the Figma source (node 84:607): the row's height
     must not depend on its children's intrinsic sizing, since a <video> with no
     loaded source reports a fixed 300x150 default intrinsic size that would
     otherwise squash the whole row down to 150px. */
  height: 500px;
}
.gallery-grid__col { flex: 1 1 0; display: flex; flex-direction: column; gap: 20px; min-width: 200px; }
.gallery-grid__cell {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
}
.gallery-grid__cell--tall { flex-grow: 1.3; }
.gallery-grid__cell--video { flex: 1.3 1 0; min-width: 240px; overflow: hidden; }
.gallery-grid__cell--video video,
.gallery-grid__cell--video .video-placeholder { width: 100%; height: 100%; border-radius: 8px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--h1-dark); color: var(--text-light); }
.site-footer__inner { padding: 80px 40px 40px; display: flex; flex-direction: column; gap: 64px; }
.site-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}
.site-footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.site-footer__logo { height: 44px; width: auto; opacity: 0.9; flex: none; }
.site-footer__brand p { opacity: 0.6; font-size: 14px; margin: 0; }
.site-footer__group { flex: 1 1 180px; font-size: 13px; }
.site-footer__group p { margin: 0 0 4px; }
.site-footer__heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 16px !important;
}
.site-footer__office { margin-bottom: 12px; }
.site-footer__group a { text-decoration: none; }
.site-footer__group a:hover { text-decoration: underline; }
.site-footer__social { display: flex; gap: 16px; }
.site-footer__social img { width: 24px; height: 24px; }
.site-footer__copyright { font-size: 12px; opacity: 0.4; text-align: center; margin: 0; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--icon-gold);
  color: var(--h1-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .charity__media {
    max-width: none;
    flex-basis: 100%;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -56px;
    aspect-ratio: 4 / 3;
    position: relative;
    z-index: 1;
  }
  .charity__media video { aspect-ratio: 4 / 3; }
  .overview { position: relative; z-index: 2; }
  .charity__inner { flex-direction: column; }
  .schedule__inner,
  .rsvp__inner { flex-direction: column; }
  .fork__cards { flex-direction: column; }
  .fork-card:first-child { order: 2; }
  .fork-card:last-child { order: 1; }
  .fork__divider { display: none; }
  .gallery-grid { flex-direction: column; height: auto; }
  .gallery-grid__col { flex-direction: row; }
  .gallery-grid__cell--video { flex: none; width: 100%; height: 280px; }
}

@media (max-width: 640px) {
  .hero { padding: 40px 20px 20px; }
  .overview__content { position: relative; z-index: 2; }
  .overview__collage { margin-top: -72px; position: relative; z-index: 1; }
  .sponsor-card { flex-direction: column; }
  .sponsor-card__price { flex: 1 1 auto; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .form-row > .form-field { flex: 1 1 auto; }
  .site-footer__cols { flex-direction: column; gap: 32px; }
  .site-footer__brand,
  .site-footer__group { flex: 1 1 auto; }
  .gallery-grid__col { flex-direction: column; flex: none; }
  .gallery-grid__cell { flex: none; height: 200px; }
}
