/* GodWave Invitational: landing page
   Palette: forest green, ivory, muted gold. Inter throughout, upright display, small caps sans for labels. */

:root {
  --green-950: #0a1f14;
  --green-900: #0f2b1d;
  --green-800: #143726;
  --green-700: #1c4a33;
  --ivory: #f4efe4;
  --ivory-dim: #e9e1cf;
  --gold: #c6a34f;
  --gold-bright: #ddc07d;
  --ink: #17190f;
  --line: rgba(198, 163, 79, 0.35);

  --serif: "Inter", "Helvetica Neue", Arial, sans-serif;
  --crest-serif: "Inter", var(--serif);
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.eyebrow--dark { color: var(--green-800); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
}

a { color: inherit; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 34px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  transition: background 0.35s ease, color 0.35s ease;
  white-space: nowrap;
}

.btn:hover { background: var(--gold); color: var(--green-950); }

.btn--dark {
  border-color: var(--green-800);
  color: var(--green-800);
}

.btn--dark:hover {
  background: var(--green-800);
  color: var(--ivory);
}

.btn--ghost {
  border-color: transparent;
  color: inherit;
  text-underline-offset: 6px;
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}

.btn--gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #ffffff;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  font-family: var(--sans);
  color: var(--ivory);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow .4s ease;
}

.nav.is-scrolled {
  background: rgba(10, 31, 20, 0.92);
  padding: 14px 32px;
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(6px);
}

.nav__mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ivory);
}

.nav__mark img { width: 34px; height: 34px; object-fit: contain; }

.nav__wordmark {
  font-family: var(--crest-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav__links a { text-decoration: none; opacity: 0.88; }
.nav__links a:hover { opacity: 1; color: var(--gold-bright); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ivory);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
  padding: 140px 32px 96px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/hero-bg.jpg?v=20261008a');
  background-size: cover;
  background-position: center 30%;
  animation: heroZoom 26s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(198, 163, 79, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(8,28,17,0.86) 0%, rgba(15,43,26,0.62) 42%, rgba(8,28,17,0.9) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: heroFadeUp 1s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
  .hero__inner { animation: none; }
}

.hero__crest {
  width: clamp(220px, 30vw, 330px);
  height: auto;
  margin: 0 auto 22px;
}

.hero__label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 8px;
}

.hero__title {
  width: clamp(280px, 42vw, 560px);
  height: auto;
  margin: 0 auto 14px;
}

.hero__location {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 22px;
}

.hero__sub {
  font-family: var(--sans);
  font-size: clamp(16px, 1.8vw, 19px);
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--ivory-dim);
  max-width: 560px;
  margin: 0 auto 44px;
  text-transform: none;
}

.hero__ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold), transparent);
}

/* ---------- Ethos ---------- */

.ethos {
  background: var(--ivory);
  padding: 140px 32px;
  text-align: center;
}

.ethos__quote {
  width: clamp(280px, 40vw, 520px);
  height: auto;
  margin: 0 auto 32px;
}

.section-title {
  width: clamp(220px, 32vw, 420px);
  height: auto;
  margin: 0 auto 16px;
}

.ethos__body {
  max-width: 620px;
  margin: 0 auto;
  color: #3c4438;
  font-size: 19px;
}

.rule {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 30px auto;
}

/* ---------- Experience ---------- */

.experience {
  background: var(--green-900);
  color: var(--ivory);
  padding: 120px 32px;
}

.experience__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}

.experience__head h2 {
  font-size: clamp(30px, 4vw, 42px);
}

.experience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience__card {
  background: var(--green-900);
  padding: 52px 36px;
  text-align: center;
  transition: background 0.4s ease, transform 0.4s ease;
}

.experience__card:hover {
  background: var(--green-800);
  transform: translateY(-4px);
}

.experience__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 26px;
  color: var(--gold);
}

.experience__card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.experience__card p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ivory-dim);
  letter-spacing: 0.01em;
}

/* ---------- Gallery (carousel) ---------- */

.gallery {
  position: relative;
  background: var(--green-950);
}

.gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__slide {
  position: relative;
  flex: 0 0 auto;
  width: 32%;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,28,17,0.25), rgba(8,28,17,0.45));
  pointer-events: none;
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8, 28, 17, 0.75);
  border: 1px solid var(--line);
  color: var(--ivory);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.gallery__arrow:hover {
  background: var(--green-800);
  border-color: var(--gold);
}

.gallery__arrow--prev { left: 20px; }
.gallery__arrow--next { right: 20px; }

@media (max-width: 860px) {
  .gallery__slide { width: 78%; }
  .gallery__arrow { width: 40px; height: 40px; font-size: 20px; }
}

/* ---------- Family & Community ---------- */

.family {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  padding: 160px 32px;
  text-align: center;
  color: var(--ivory);
}

.family__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,20,0.75), rgba(10,31,20,0.55) 45%, rgba(10,31,20,0.85));
}

.family__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.family__inner h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ivory-dim);
  margin-bottom: 24px;
}

.family__inner p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ivory-dim);
}

/* ---------- Philanthropy ---------- */

.philanthropy {
  background: #123228;
  color: var(--ivory);
  padding: 130px 32px;
  text-align: center;
}

.philanthropy__head {
  max-width: 640px;
  margin: 0 auto 20px;
}

.philanthropy__head h2 {
  font-size: clamp(32px, 4vw, 46px);
  color: var(--ivory);
}

.philanthropy__body {
  max-width: 560px;
  margin: 0 auto 70px;
  color: var(--ivory-dim);
}

.philanthropy__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.philanthropy__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 240px;
  text-decoration: none;
}

.philanthropy__chip {
  background: rgba(8, 28, 17, 0.55);
  border: 1px solid var(--line);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  min-height: 280px;
  min-width: 280px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.philanthropy__chip:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.philanthropy__chip img {
  max-height: 150px;
  max-width: 320px;
  width: auto;
  flex-shrink: 0;
}

.philanthropy__logo p {
  margin: 0;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  text-align: center;
}

.philanthropy__note {
  margin-top: 46px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(233, 225, 207, 0.6);
}

/* ---------- Final CTA ---------- */

.invite {
  position: relative;
  background: #f3f1e9;
  color: var(--green-900);
  text-align: center;
  padding: 150px 32px;
  overflow: hidden;
}

.invite__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.invite__title {
  width: clamp(280px, 40vw, 520px);
  height: auto;
  margin: 0 auto 24px;
}

.invite p {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #4a5245;
  max-width: 560px;
  margin: 0 auto 44px;
}

.invite__ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--green-950);
  color: var(--ivory-dim);
  padding: 56px 32px 40px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.footer__mark { width: 44px; height: 44px; color: var(--gold); }

.footer__wordmark {
  font-family: var(--crest-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ivory);
  max-width: 480px;
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 28px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__links a { text-decoration: none; opacity: 0.75; }
.footer__links a:hover { opacity: 1; }

.footer__legal {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(233, 225, 207, 0.45);
}

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .experience__grid { grid-template-columns: 1fr; }
  .experience__card { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  body.menu-open .nav__links {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 39;
    background: var(--green-950);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    font-size: 14px;
  }

  .hero { padding-top: 120px; }
  .ethos, .experience, .philanthropy, .invite { padding-left: 24px; padding-right: 24px; }
  .philanthropy__logos { gap: 24px; }
  .philanthropy__logo { min-width: 200px; }
  .philanthropy__chip { min-height: 200px; min-width: 200px; padding: 36px; }
  .philanthropy__chip img { max-height: 120px; max-width: 240px; }
  .philanthropy__chip img[alt="Kids Alive International"] { max-width: 100px; max-height: 90px; }
  .family { padding: 110px 24px; }
}

/* MOCKUP ONLY: tab 5 additions */
.cup{background:#0f2a1f;color:#f4ecd8;padding:110px 24px;text-align:center}
.cup__inner{max-width:760px;margin:0 auto}
.cup .eyebrow{color:#c9a24d}
.cup__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2.4rem,6vw,4rem);line-height:1.1;margin:18px 0 22px;color:#f4ecd8;font-weight:500}
.cup .rule{margin:0 auto 26px}
.cup__lede{font-family:Georgia,serif;font-size:1.35rem;color:#c9a24d;margin-bottom:22px}
.cup__body{font-size:1.05rem;line-height:1.8;color:#e9e1cc;margin:0 0 16px}
.partner{padding:100px 24px;background:#f4ecd8;text-align:center}
.partner__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2rem,5vw,3rem);margin:14px 0 18px;color:#14301f;font-weight:500}
.partner__intro{max-width:680px;margin:0 auto 40px;line-height:1.7;color:#2b3a30}
.partner__note{max-width:640px;margin:34px auto 24px;font-style:italic;color:#2b3a30}
.partner .experience__grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.partner .experience__grid{grid-template-columns:repeat(3,1fr);background:transparent;gap:0}
.partner .experience__card{background:#fbf6e6;color:#14301f}
.partner .experience__card h3{color:#14301f}
.partner .experience__card p{color:#3a4a3f}
@media(max-width:860px){.partner .experience__grid{grid-template-columns:1fr}}

/* MOCKUP: Cup section flipped to cream, like God. Golf. Giving. */
.cup{position:relative;overflow:hidden;background:#f3f1e9;color:var(--green-900)}
.cup__inner{position:relative}
.cup .eyebrow{color:#9a7a2e}
.cup__title{color:var(--green-900)}
.cup__lede{color:#9a7a2e}
.cup__body{color:#4a5245}

.cup__titleimg{display:block;width:min(620px,86%);height:auto;margin:20px auto 26px}

.cup__lede{font-style:normal}
