/* =============================================
   Living Well Mission — 2026 Golf Tournament Recap
   Cinematic scroll-story. Builds on style.css tokens.
   Prefix: gx-
   ============================================= */

.golf-page {
  background: var(--navy-deep);
}

/* ---------- Shared bits ---------- */
.gx-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.gx-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.gx-eyebrow {
  display: inline-block;
  font-family: Calibri, 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.gx-h2 {
  font-family: Georgia, 'Lora', serif;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 18px;
}
.gx-h2 .gx-accent { color: var(--gold); font-style: italic; }
.gx-p {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1em;
}
.gx-p strong { color: var(--white); }

/* gold hairline divider */
.gx-rule {
  width: 64px;
  height: 2px;
  margin: 22px 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  border: 0;
}
.gx-center .gx-rule { margin-left: auto; margin-right: auto; }
.gx-center { text-align: center; }

/* ---------- HERO (full-bleed) ---------- */
.gx-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.gx-hero__bg {
  position: absolute;
  inset: 0;
  background: #0b1626 url('../assets/images/golf-2026/IMG_1433.jpg') center 38% / cover no-repeat;
  z-index: -2;
  transform: scale(1.04);
  animation: gxHeroDrift 24s ease-in-out infinite alternate;
}
@keyframes gxHeroDrift {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.12) translateY(-14px); }
}
.gx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 22, 38, 0.55) 0%, rgba(11, 22, 38, 0.15) 35%, rgba(11, 22, 38, 0.78) 100%);
}
.gx-hero__inner {
  position: relative;
  padding: 0 24px 14vh;
  max-width: 920px;
  animation: gxRise 1100ms var(--ease-out) both;
}
.gx-hero__crest {
  width: 92px;
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}
.gx-hero__kicker {
  font-family: Georgia, 'Lora', serif;
  font-style: italic;
  font-size: clamp(18px, 2.6vw, 26px);
  color: var(--gold-light);
  margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.gx-hero__title {
  font-family: Georgia, 'Lora', serif;
  font-weight: 700;
  font-size: clamp(40px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 16px;
}
.gx-hero__title .gx-accent { color: var(--gold); }
.gx-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}
.gx-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.gx-hero__meta svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; }
.gx-hero__divider {
  width: 1px; height: 18px; background: rgba(255, 255, 255, 0.3);
  display: none;
}
.gx-scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.gx-scroll-cue svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; animation: gxBounce 2s infinite; }
@keyframes gxBounce { 0%,20%,50%,80%,100%{transform:translateY(0);} 40%{transform:translateY(7px);} 60%{transform:translateY(3px);} }
@keyframes gxRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Standard navy/ivory content sections ---------- */
.gx-section { padding: clamp(64px, 9vw, 120px) 0; }
.gx-section--night { background: var(--navy-deep); }
.gx-section--navy { background: var(--navy); }
.gx-section--ivory { background: var(--ivory); }
.gx-section--ivory .gx-h2 { color: var(--navy); }
.gx-section--ivory .gx-h2 .gx-accent { color: var(--gold); }
.gx-section--ivory .gx-p { color: var(--charcoal); }
.gx-section--ivory .gx-p strong { color: var(--navy); }

.gx-lead {
  font-family: Georgia, 'Lora', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-style: italic;
  line-height: 1.5;
  color: var(--gold-light);
}
.gx-section--ivory .gx-lead { color: var(--teal); }

/* ---------- CINEMATIC FULL-BLEED BEAT ---------- */
.gx-cine {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: #0b1626;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* desktop parallax */
@media (min-width: 769px) and (hover: hover) {
  .gx-cine { background-attachment: fixed; }
}
.gx-cine::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(11, 22, 38, 0.86) 0%, rgba(11, 22, 38, 0.55) 45%, rgba(11, 22, 38, 0.2) 100%);
}
.gx-cine--right::before {
  background: linear-gradient(270deg, rgba(11, 22, 38, 0.86) 0%, rgba(11, 22, 38, 0.55) 45%, rgba(11, 22, 38, 0.2) 100%);
}
.gx-cine--center {
  justify-content: center;
  text-align: center;
}
.gx-cine--center::before {
  background: radial-gradient(ellipse at center, rgba(11, 22, 38, 0.5) 0%, rgba(11, 22, 38, 0.85) 100%);
}
.gx-cine__panel {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: clamp(48px, 8vw, 96px) 24px;
  margin-left: clamp(24px, 7vw, 110px);
}
.gx-cine--right .gx-cine__panel { margin-left: auto; margin-right: clamp(24px, 7vw, 110px); }
.gx-cine--center .gx-cine__panel { margin: 0 auto; max-width: 720px; }
.gx-cine__num {
  display: block;
  font-family: Georgia, 'Lora', serif;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  color: rgba(201, 168, 76, 0.35);
  margin-bottom: 8px;
}

/* Background images per beat */
.gx-cine[data-img="arrival"]  { background-image: url('../assets/images/golf-2026/IMG_1343.jpg'); background-position: center 42%; }
.gx-cine[data-img="tee"]      { background-image: url('../assets/images/golf-2026/IMG_3436.jpg'); }
.gx-cine[data-img="prize"]    { background-image: url('../assets/images/golf-2026/IMG_3439.jpg'); }
.gx-cine[data-img="remarks"]  { background-image: url('../assets/images/golf-2026/IMG_1431.jpg'); background-position: center 30%; }

/* ---------- EDITORIAL MOSAIC ---------- */
.gx-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
  margin-top: 40px;
}
.gx-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #0b1626;
}
.gx-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 900ms var(--ease-out);
}
.gx-tile:hover img { transform: scale(1.06); }
.gx-tile__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 12px;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(180deg, transparent, rgba(11, 22, 38, 0.85));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms ease, transform 360ms var(--ease-out);
}
.gx-tile:hover .gx-tile__cap,
.gx-tile:focus-within .gx-tile__cap { opacity: 1; transform: translateY(0); }
/* spans */
.gx-tile--wide { grid-column: span 4; }
.gx-tile--tall { grid-column: span 2; grid-row: span 2; }
.gx-tile--sq   { grid-column: span 2; }
.gx-tile--half { grid-column: span 3; }

/* ---------- STATS ---------- */
.gx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.gx-stat {
  text-align: center;
  padding: 32px 18px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 320ms var(--ease-out), border-color 320ms ease, background 320ms ease;
}
.gx-stat:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}
.gx-stat__num {
  font-family: Georgia, 'Lora', serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  color: var(--gold);
}
.gx-stat__label {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- RENAISSANCE TRIBUTE (signature) ---------- */
.gx-tribute {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11,22,38,0.78), rgba(11,22,38,0.92)),
    url('../assets/images/golf-2026/IMG_1422.jpg') center 30% / cover no-repeat fixed;
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}
@media (max-width: 768px), (hover: none) {
  .gx-tribute { background-attachment: scroll; }
}
.gx-tribute__frame {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
}
.gx-tribute__frame::before,
.gx-tribute__frame::after {
  content: '';
  position: absolute;
  width: 44px; height: 44px;
  border: 2px solid var(--gold);
  opacity: 0.75;
}
.gx-tribute__frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.gx-tribute__frame::after  { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.gx-tribute__badge {
  font-family: Calibri, 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.gx-tribute__name {
  font-family: Georgia, 'Lora', serif;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 6px;
}
.gx-tribute__sub {
  font-family: Georgia, 'Lora', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gold-light);
  margin-bottom: 26px;
}
.gx-tribute__body {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
}
.gx-tribute__body + .gx-tribute__body { margin-top: 1em; }
.gx-tribute__cta { margin-top: 30px; }

/* ---------- PULL QUOTE ---------- */
.gx-quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.gx-quote blockquote {
  font-family: Georgia, 'Lora', serif;
  font-style: italic;
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.4;
  color: var(--white);
  padding: 0;
  margin: 0;
}
.gx-quote blockquote::before { content: none; }
.gx-quote__mark {
  font-family: Georgia, 'Lora', serif;
  font-size: 80px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 8px;
}
.gx-quote cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- SPONSORS ---------- */
.gx-sponsors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 880px;
  margin: 36px auto 0;
}
.gx-sponsor-chip {
  font-family: Calibri, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease;
}
.gx-sponsor-chip:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.gx-sponsor-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--warm-gray);
  text-align: center;
}

/* ---------- FINAL CTA ---------- */
.gx-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(11,22,38,0.82), rgba(11,22,38,0.92)),
    url('../assets/images/golf-2026/IMG_1433.jpg') center 40% / cover no-repeat;
  padding: clamp(80px, 12vw, 150px) 0;
}
.gx-final .gx-h2 { color: var(--white); }
.gx-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 30px;
}

/* gold button (reuse gala aesthetic) */
.gx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  font-family: Calibri, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-decoration: none;
  background-image: none;
  border: 2px solid transparent;
  transition: transform 260ms var(--ease-out), box-shadow 300ms ease, background 300ms ease, color 200ms ease;
}
.gx-btn--gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.gx-btn--gold:hover {
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.45);
}
.gx-btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.gx-btn--outline:hover {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Reveal helper for cine text ---------- */
@media (prefers-reduced-motion: no-preference) {
  .gx-fade { opacity: 0; transform: translateY(20px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
  .gx-fade.lwm-revealed { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .gx-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; }
  .gx-tile--wide { grid-column: span 4; }
  .gx-tile--tall { grid-column: span 2; grid-row: span 2; }
  .gx-tile--sq   { grid-column: span 2; }
  .gx-tile--half { grid-column: span 2; }
  .gx-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .gx-cine { min-height: 70vh; }
  .gx-cine::before,
  .gx-cine--right::before {
    background: linear-gradient(180deg, rgba(11,22,38,0.55), rgba(11,22,38,0.85));
  }
  .gx-cine__panel,
  .gx-cine--right .gx-cine__panel { margin: 0 auto; text-align: center; }
  .gx-hero { align-items: center; }
  .gx-hero__inner { padding-bottom: 8vh; }
}
@media (max-width: 560px) {
  .gx-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gx-tile--wide, .gx-tile--tall, .gx-tile--sq, .gx-tile--half { grid-column: span 2; grid-row: span 1; }
  .gx-tile--tall { grid-row: span 1; }
  .gx-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .gx-hero__bg { animation: none; }
  .gx-scroll-cue svg { animation: none; }
  .gx-tribute, .gx-cine { background-attachment: scroll; }
}
