@import url("tokens.css");

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--wgc-font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--wgc-text);
  background: var(--wgc-offwhite);
}

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

a {
  color: var(--wgc-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
a:hover { color: var(--wgc-red-hover); }

:focus-visible {
  outline: 2px solid var(--wgc-focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: var(--wgc-gutter);
  top: -100px;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--wgc-white);
  color: var(--wgc-text);
  border-radius: var(--wgc-radius);
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

.container {
  width: min(100% - 2 * var(--wgc-gutter), var(--wgc-max));
  margin-inline: auto;
}

.measure { max-width: 45rem; }
.measure--narrow { max-width: 36rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--wgc-navy);
  color: var(--wgc-text-on-dark);
  border-bottom: 1px solid rgba(192, 197, 206, 0.25);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  padding-block: 0.75rem;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.site-logo__crest {
  height: 60px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  border-radius: 6px;
}
.site-logo__wordmark {
  font-family: var(--wgc-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.site-logo__wordmark span {
  display: block;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--wgc-gold);
  letter-spacing: 0.08em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a:not(.btn) {
  color: var(--wgc-text-on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.35rem 0.25rem;
  border-radius: var(--wgc-radius);
}
.site-nav a:not(.btn):hover {
  color: var(--wgc-gold-bright);
  background: var(--wgc-navy-mid);
}
.site-nav a[aria-current="page"]:not(.btn) { color: var(--wgc-gold-bright); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--wgc-gold);
  color: var(--wgc-gold);
  border-radius: var(--wgc-radius);
  padding: 0.4rem 0.65rem;
  font-family: var(--wgc-font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-header__inner { flex-wrap: wrap; }
  .site-logo__wordmark { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--wgc-font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--wgc-radius);
  padding: 0.875rem 1.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
  background: var(--wgc-red);
  color: var(--wgc-white);
  border-color: var(--wgc-red);
}
.btn--primary:hover {
  background: var(--wgc-red-hover);
  border-color: var(--wgc-red-hover);
  color: var(--wgc-white);
}
.btn--primary-lg {
  min-width: 220px;
  padding: 1rem 2rem;
}
.btn--secondary {
  background: transparent;
  border-color: var(--wgc-gold);
  color: var(--wgc-gold);
}
.btn--secondary:hover {
  background: var(--wgc-navy-mid);
  color: var(--wgc-gold-bright);
}
.btn--secondary-light {
  background: transparent;
  border-color: var(--wgc-navy);
  color: var(--wgc-navy);
}
.btn--secondary-light:hover {
  background: var(--wgc-offwhite);
  color: var(--wgc-navy);
}
.btn--pill {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* Sections */
.section {
  padding-block: clamp(4rem, 8vw, 6rem);
}
.section--cta {
  padding-block: clamp(5rem, 10vw, 7rem);
}
.section__title {
  font-family: var(--wgc-font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
.section__lede {
  margin: 0 0 1.5rem;
  max-width: 42rem;
}
.gold-rule {
  width: 96px;
  height: 2px;
  background: var(--wgc-gold);
  border: 0;
  margin: 1rem 0 1.5rem;
}
.gold-rule--center {
  margin-left: auto;
  margin-right: auto;
  width: 120px;
}

/* Hero */
.hero {
  background: var(--wgc-navy);
  color: var(--wgc-text-on-dark);
  padding-block: clamp(3rem, 8vw, 6rem);
  min-height: 72vh;
  display: flex;
  align-items: center;
}
@media (min-width: 800px) {
  .hero { min-height: 88vh; }
}
.hero__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  width: min(100% - 2 * var(--wgc-gutter), var(--wgc-max));
  margin-inline: auto;
}
@media (min-width: 800px) {
  .hero__inner {
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 3rem;
  }
}
.hero__crest {
  width: min(280px, 70vw);
  margin-inline: auto;
  border-radius: var(--wgc-radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.hero__copy h1 {
  font-family: var(--wgc-font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--wgc-text-on-dark);
}
.hero__eyebrow {
  font-family: var(--wgc-font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wgc-gold);
  margin: 0 0 0.75rem;
}
.hero__subhead {
  margin: 0 0 0.75rem;
  max-width: 36em;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
  line-height: 1.65;
}
.hero__support {
  margin: 0 0 1.75rem;
  max-width: 36em;
  color: var(--wgc-text-muted-dark);
  font-size: 1rem;
}
.hero a:not(.btn) { color: var(--wgc-gold-bright); }

/* About / light bands */
.mission { background: var(--wgc-offwhite); }
.mission__text {
  font-size: 1.125rem;
  max-width: 45rem;
  margin: 0 0 1.25rem;
}
.mission__text:last-child { margin-bottom: 0; }

.who-list, .diff-list, .help-list, .impact-list, .fit-list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  max-width: 42rem;
}
.who-list li, .diff-list li, .help-list li, .impact-list li, .fit-list li {
  margin-bottom: 0.5rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .card-grid--5 {
    grid-template-columns: repeat(6, 1fr);
  }
  .card-grid--5 .card:nth-child(1),
  .card-grid--5 .card:nth-child(2),
  .card-grid--5 .card:nth-child(3) { grid-column: span 2; }
  .card-grid--5 .card:nth-child(4) { grid-column: 2 / span 2; }
  .card-grid--5 .card:nth-child(5) { grid-column: 4 / span 2; }
}
.card {
  background: var(--wgc-white);
  border-radius: var(--wgc-radius-lg);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(18, 33, 52, 0.08);
  border-top: 3px solid var(--wgc-gold);
}
.card h3 {
  font-family: var(--wgc-font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: var(--wgc-navy);
}
.card p {
  margin: 0;
  color: var(--wgc-text-muted);
  font-size: 1rem;
}
.card--dark {
  background: var(--wgc-navy-mid);
  box-shadow: none;
  border-top: 3px solid var(--wgc-gold);
}
.card--dark h3 { color: var(--wgc-gold); }
.card--dark p { color: var(--wgc-text-on-dark); }

.programs {
  background: var(--wgc-navy);
  color: var(--wgc-text-on-dark);
}
.programs .section__title { color: var(--wgc-text-on-dark); }
.programs .section__lede { color: var(--wgc-text-muted-dark); }
.programs a:not(.btn) { color: var(--wgc-gold-bright); }

/* Dunes tease */
.dunes-tease { background: var(--wgc-white); }
.dunes-tease__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .dunes-tease__inner {
    grid-template-columns: 1fr minmax(140px, 220px);
  }
}
.dunes-tease__year {
  font-family: var(--wgc-font-display);
  font-weight: 800;
  font-size: clamp(4rem, 12vw, 6rem);
  line-height: 1;
  color: var(--wgc-gold);
  text-align: center;
  letter-spacing: 0.04em;
  border-left: 4px solid var(--wgc-gold);
  padding: 1rem 0 1rem 1.5rem;
}
@media (max-width: 799px) {
  .dunes-tease__year {
    border-left: none;
    border-top: 4px solid var(--wgc-gold);
    padding: 1.5rem 0 0;
  }
}

.cta-close { background: var(--wgc-cta-soft); }
.cta-close__inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}
.cta-close .section__title { color: var(--wgc-navy); }
.cta-close p {
  color: var(--wgc-text-muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--wgc-navy-deep);
  color: var(--wgc-text-muted-dark);
  padding-block: 2.5rem 2rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.site-footer a { color: var(--wgc-gold-bright); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer__brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.site-footer__crest {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.site-footer__legal { margin: 0; max-width: 36rem; }
.site-footer__legal strong {
  color: var(--wgc-text-on-dark);
  font-weight: 600;
}

/* Donate page */
.donate-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .donate-layout {
    grid-template-columns: 1fr minmax(280px, 22rem);
    align-items: start;
  }
}
.amount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}
.amount-chips button {
  font-family: var(--wgc-font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--wgc-radius);
  border: 2px solid var(--wgc-navy);
  background: transparent;
  color: var(--wgc-navy);
  cursor: pointer;
}
.amount-chips button[aria-pressed="true"] {
  background: var(--wgc-red);
  border-color: var(--wgc-red);
  color: var(--wgc-white);
}
.trust-line {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--wgc-text-muted);
}
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}
.form-field input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--wgc-silver);
  border-radius: var(--wgc-radius);
  font: inherit;
}
.trust-box {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--wgc-white);
  border-radius: var(--wgc-radius-lg);
  border-top: 3px solid var(--wgc-gold);
  box-shadow: 0 8px 24px rgba(18, 33, 52, 0.08);
  max-width: 42rem;
}
.trust-box h3 {
  font-family: var(--wgc-font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}
.trust-box dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
}
.trust-box dt { font-weight: 600; color: var(--wgc-navy); }
.trust-box dd { margin: 0; color: var(--wgc-text-muted); }

/* Campaign */
.campaign-hero {
  background: var(--wgc-navy);
  color: var(--wgc-text-on-dark);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.campaign-hero .container { width: min(100% - 2 * var(--wgc-gutter), var(--wgc-max)); }
.campaign-hero h1 {
  font-family: var(--wgc-font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.25rem);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}
.campaign-hero .year {
  color: var(--wgc-gold-bright);
  font-family: var(--wgc-font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.08em;
  margin: 0.35rem 0 0;
  line-height: 1.1;
}
.campaign-hero .lead {
  max-width: 32em;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
}
.campaign-hero .btn-row { justify-content: center; }
.progress {
  margin-top: 0;
  max-width: 36rem;
}
.progress__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--wgc-text-muted);
  margin-bottom: 0.5rem;
}
.progress__track {
  height: 0.65rem;
  background: #E6E9EE;
  border-radius: 999px;
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: 12%;
  background: var(--wgc-gold);
  border-radius: 999px;
}
.honesty {
  font-size: 0.95rem;
  color: var(--wgc-text-muted);
  max-width: 40rem;
  font-style: italic;
}
.mobile-donate {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: 90;
  background: var(--wgc-red);
}
.mobile-donate a {
  display: block;
  color: var(--wgc-white);
  text-align: center;
  padding: 0.9rem 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .mobile-donate { display: block; }
  body.has-mobile-donate { padding-bottom: 3.5rem; }
}

/* First Friday (home teaser + page) */
.ff-tease { background: var(--wgc-white); }
.ff-eyebrow { color: var(--wgc-bronze); }
.ff-tease__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .ff-tease__inner { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
}
.ff-tease__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.ff-tease__points li {
  border-left: 4px solid var(--wgc-gold);
  padding: 0.35rem 0 0.35rem 1.25rem;
  color: var(--wgc-text-muted);
}
.ff-tease__points strong {
  display: block;
  font-family: var(--wgc-font-display);
  font-weight: 700;
  color: var(--wgc-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: flow;
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}
.flow li {
  counter-increment: flow;
  position: relative;
  background: var(--wgc-white);
  border-radius: var(--wgc-radius-lg);
  padding: 1.1rem 1.25rem 1.1rem 4rem;
  box-shadow: 0 8px 24px rgba(18, 33, 52, 0.06);
}
.flow li::before {
  content: counter(flow);
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--wgc-navy);
  color: var(--wgc-gold-bright);
  font-family: var(--wgc-font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.flow strong { color: var(--wgc-navy); display: block; }
.flow span { color: var(--wgc-text-muted); }
.aar-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 700px) { .aar-grid { grid-template-columns: 1fr 1fr; } }
.aar-grid .card--dark h3 { font-size: 1.35rem; }
.tier-card { border-top-width: 5px; }
.tier-card--bronze { border-top-color: var(--wgc-bronze); }
.tier-card--silver { border-top-color: var(--wgc-silver); }
.tier-card--gold { border-top-color: var(--wgc-gold); }
.tier-card .tier-token {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wgc-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.principle {
  margin: 2rem 0 0;
  max-width: 44rem;
  background: var(--wgc-cta-soft);
  border-left: 4px solid var(--wgc-red);
  border-radius: var(--wgc-radius);
  padding: 1.25rem 1.5rem;
}
.principle p { margin: 0; color: var(--wgc-navy); }
.principle p + p { margin-top: 0.5rem; color: var(--wgc-text-muted); }
.ff-hero { min-height: auto; padding-block: clamp(4.5rem, 10vw, 7rem); }

/* Contact */
.contact { text-align: center; background: var(--wgc-cream, #f7f3ea); }
.contact__inner { max-width: 40rem; margin: 0 auto; }
.contact__address { margin-top: 1rem; font-weight: 600; }

.host-cta { margin: 1rem 0; }
.host-cta a { text-decoration: underline; }
