/* ===== Theme: Guardian Crest (white · blue · gold, from the ACMF seal) ===== */
:root {
  --color-bg:          #F4F7FA;  /* cool blue-tinted off-white */
  --color-surface:     #FFFFFF;
  --color-navy:        #16263A;  /* deep navy from the logo ring */
  --color-gold:        #C8922A;  /* heraldic gold border */
  --color-gold-bright: #E0A93D;  /* lighter gold for hovers */
  --color-red:         #C8922A;  /* legacy "red" mapped to gold for primary CTAs */
  --color-green:       #1C3550;  /* deep slate-navy band (was forest green) */
  --color-muted:       #5A6776;  /* slate body text */
  --color-border:      #D6DEE7;  /* cool hairline */
  /* Logo accent palette */
  --color-orange:      #E07B1A;
  --color-blue:        #2E6DB4;  /* skyline blue accent */
  /* Motion */
  --ease-out-quart:    cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-navy);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }

.eyebrow {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.section { padding: 5rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  border-bottom: 1px solid rgba(200, 146, 42, 0.3);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-img {
  display: block;
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.nav-logo .divider {
  width: 1px;
  height: 1.6rem;
  background: rgba(250, 246, 239, 0.4);
}
.nav-logo .full-name {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-bg);
}
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-bg);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--color-gold); }

/* Donate button in nav */
.nav-links a.nav-donate {
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a.nav-donate:hover { background: var(--color-gold-bright); color: var(--color-navy); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background-color: var(--color-navy);
  background-image: radial-gradient(circle at 15% 85%, rgba(200, 146, 42, 0.38) 0%, rgba(200, 146, 42, 0.12) 35%, rgba(28, 43, 58, 0) 70%);
  border-bottom: 2px solid var(--color-gold);
}
.hero-content { max-width: 760px; }
.hero-logo {
  display: block;
  width: min(320px, 80%);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 16px 44px rgba(0, 0, 0, 0.45));
}
.hero .eyebrow { display: block; margin-bottom: 1.2rem; }
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.5rem, 9vw, 6rem);
  color: var(--color-bg);
  margin-bottom: 1.2rem;
}
.hero h1 .accent { color: var(--color-gold); }
.hero-subhead {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(250, 246, 239, 0.8);
  margin-bottom: 2.2rem;
}
.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.hero-donate-note {
  max-width: 540px;
  margin: 0 auto 2.2rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(250, 246, 239, 0.7);
}
.hero-donate-note strong { color: var(--color-gold); }
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s var(--ease-out-quart), color 0.2s var(--ease-out-quart), transform 0.1s var(--ease-out-quart);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-gold); color: var(--color-navy); border: 2px solid var(--color-gold); }
.btn-primary:hover { background: var(--color-gold-bright); border-color: var(--color-gold-bright); }
.btn-secondary { background: transparent; color: var(--color-gold); border: 2px solid var(--color-gold); }
.btn-secondary:hover { background: var(--color-gold); color: var(--color-navy); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}
.badge svg { display: block; }
.badge span {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-gold);
}
/* Clickable badge → jumps to the foundation info */
.badge-link {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease-out-quart), transform 0.1s var(--ease-out-quart);
}
.badge-link:hover { background: var(--color-gold); }
.badge-link:hover span { color: var(--color-navy); }
.badge-link:active { transform: scale(0.97); }
.badge-link:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

.fade-in {
  animation: fadeIn 0.8s var(--ease-out-quart) both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-quart), transform 0.6s var(--ease-out-quart);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Section headings ---------- */
.section-heading {
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.center { text-align: center; }
.center .eyebrow { display: block; margin-bottom: 0.6rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: center;
}
.photo-frame {
  aspect-ratio: 3 / 4;
  background: var(--color-navy);
  border: 4px solid var(--color-gold);
  box-shadow: 6px 6px 0px var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  overflow: hidden;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Horizontal photo scroller ---------- */
.scroller-wrap {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}
.scroller-arrow {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-navy);
  background: var(--color-gold);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 38, 58, 0.18);
  transition: background 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
}
.scroller-arrow:hover { background: var(--color-gold-bright); }
.scroller-arrow:active { transform: scale(0.92); }
.scroller-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  background: var(--color-gold);
}

.photo-scroller {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) var(--color-border);
}
.photo-scroller:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 4px; }
.photo-scroller::-webkit-scrollbar { height: 8px; }
.photo-scroller::-webkit-scrollbar-track { background: var(--color-border); }
.photo-scroller::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: 999px; }
.scroll-photo {
  flex: 0 0 auto;
  width: 300px;
  height: 240px;
  margin: 0;
  scroll-snap-align: start;
  border: 3px solid var(--color-gold);
  box-shadow: 5px 5px 0 var(--color-gold);
  background: var(--color-navy);
  overflow: hidden;
}
.scroll-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s var(--ease-out-quart);
}
.scroll-photo:hover img { transform: scale(1.05); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(11, 19, 30, 0.92);
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border: 3px solid var(--color-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  cursor: default;
  animation: lightboxIn 0.25s var(--ease-out-quart) both;
}
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-navy);
  background: var(--color-gold);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: var(--color-gold-bright); }
@media (prefers-reduced-motion: reduce) {
  .lightbox-img { animation: none; }
}
.about-text .eyebrow { display: block; margin-bottom: 0.6rem; }
.about-text h2 { font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1rem; color: var(--color-muted); }
.pull-quote {
  border-left: 3px solid var(--color-gold);
  padding-left: 1.2rem;
  margin-top: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-navy);
  line-height: 1.4;
}

/* ---------- Cards ---------- */
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-gold);
  border-radius: 0;
  padding: 2rem 1.6rem;
  transition: transform 0.25s var(--ease-out-quart), box-shadow 0.25s var(--ease-out-quart);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(22, 38, 58, 0.12);
}
.card svg { margin-bottom: 1rem; }
.card h3 { font-weight: 700; font-size: 1.35rem; margin-bottom: 0.7rem; }
.card p { color: var(--color-muted); }
.card-cta {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: none;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 2px;
}
.card-cta:hover { color: var(--color-navy); }

/* ---------- Tournament ---------- */
.tournament {
  background-color: var(--color-green);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 2px,
    transparent 2px,
    transparent 38px
  );
}
.tournament-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.tournament-single { max-width: 720px; margin: 0 auto; }
.tournament-head { text-align: center; }
.tournament h2 { color: var(--color-bg); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0.5rem 0 1.5rem; }
.tournament .eyebrow { display: block; margin-bottom: 0.4rem; }
.details-grid { display: grid; grid-template-columns: max-content 1fr; gap: 0.75rem 1.5rem; }
.details-grid dt {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
}
.details-grid dd {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  color: var(--color-bg);
}
.tournament-desc { color: rgba(250, 246, 239, 0.85); margin-top: 1.5rem; }
.tournament-desc a { color: var(--color-gold); text-decoration: underline; }
/* Force the Zeffy embed (and its injected iframe) to fill the title's width */
.zeffy-embed-wrap { width: 100%; margin: 1.5rem 0; }
.zeffy-embed-wrap > div,
.zeffy-embed-wrap iframe { width: 100% !important; max-width: 100% !important; }
.zeffy-disclaimer {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--color-gold);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(250, 246, 239, 0.85);
}
.zeffy-disclaimer strong { color: var(--color-gold); }
/* Light-background variant for the donate disclaimer */
.zeffy-disclaimer.on-light {
  background: var(--color-bg);
  color: var(--color-muted);
}
.zeffy-disclaimer.on-light strong { color: var(--color-gold); }

/* ---------- Scholarships ---------- */
.intro-text { max-width: 720px; margin: 0 auto 1rem; color: var(--color-muted); }
.card-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* ---------- Sponsors ---------- */
.sponsor-tier { margin-top: 2.5rem; }
.tier-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  text-align: center;
}
.sponsor-box {
  border: 2px dashed var(--color-border);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
  padding: 1rem;
}
.tier-gold .sponsor-box { border-color: var(--color-gold); min-height: 130px; }
.tier-silver { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.tier-silver .sponsor-box { min-height: 100px; }
.tier-community { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.tier-community .sponsor-box { min-height: 80px; }

.packages-flyer {
  display: block;
  width: 75%;
  height: auto;
  margin: 1rem auto 0;
  border: 4px solid var(--color-gold);
  box-shadow: 6px 6px 0 var(--color-gold);
}

.sponsor-cta {
  border: 2px solid var(--color-gold);
  background: var(--color-bg);
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
}
.sponsor-cta h3 { font-weight: 700; font-size: 1.6rem; margin-bottom: 0.6rem; }
.sponsor-cta p { color: var(--color-muted); margin-bottom: 1.4rem; }
.btn-outline-navy {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: transparent;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline-navy:hover { background: var(--color-navy); color: var(--color-bg); }

/* ---------- Contact ---------- */
.contact { background: var(--color-navy); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.contact-info { color: var(--color-bg); display: flex; flex-direction: column; height: 100%; }
.contact-info .contact-rule { margin-top: auto; margin-bottom: 1.5rem; }
.contact-info h2 { font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 0.8rem; color: rgba(250, 246, 239, 0.85); }
.contact-info a { color: var(--color-gold); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.social-links { display: flex; gap: 1.2rem; margin: 1rem 0; }
.contact-rule { width: 50%; height: 1px; background: var(--color-gold); border: none; margin: 1.5rem 0; }
.nonprofit-note { font-size: 0.85rem; color: rgba(250, 246, 239, 0.6); }
.contact-form h2 { color: var(--color-bg); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1.5rem; }
.contact-form-fields { display: flex; flex-direction: column; }
.contact-form-fields label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0.9rem 0 0.35rem;
}
.contact-form-fields input,
.contact-form-fields textarea {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  color: var(--color-navy);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 0.7rem 0.85rem;
  width: 100%;
}
.contact-form-fields textarea { resize: vertical; }
.contact-form-fields input:focus,
.contact-form-fields textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(200, 146, 42, 0.3);
}
.contact-form-fields .btn { margin-top: 1.4rem; cursor: pointer; }
.form-status { margin-top: 1rem; font-size: 0.9rem; min-height: 1.2em; }
.form-status.is-success { color: var(--color-gold); }
.form-status.is-error { color: #ff9b8a; }

/* ---------- Footer ---------- */
.footer {
  background: var(--color-navy);
  border-top: 2px solid var(--color-gold);
  padding: 2rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-left { font-family: 'Source Sans 3', sans-serif; font-weight: 600; color: var(--color-bg); }
.footer-center { font-family: 'Playfair Display', serif; font-style: italic; color: var(--color-gold); text-align: center; }
.footer-right { font-size: 0.85rem; color: rgba(250, 246, 239, 0.7); text-align: right; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .card-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav-logo .full-name { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-navy);
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-bottom: 2px solid var(--color-gold);
  }
  .nav-links.open { display: flex; }

  .about-grid,
  .tournament-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .card-row,
  .card-row-2 { grid-template-columns: 1fr; }
  .tier-silver { grid-template-columns: 1fr; }
  .tier-community { grid-template-columns: repeat(2, 1fr); }
  .scroll-photo { width: 240px; height: 190px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right, .footer-center { text-align: center; }
}
</content>
</invoke>
