/* ── Local Fonts ── */
@font-face {
  font-family: 'Pinyon Script';
  src: url('fonts/PinyonScript.woff2') format('woff2');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-weight: 400;
  src: url('fonts/BodoniModa-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-weight: 500;
  src: url('fonts/BodoniModa-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 400;
  src: url('fonts/CormorantGaramond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 600;
  src: url('fonts/CormorantGaramond-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-weight: 300;
  src: url('fonts/Jost-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-weight: 400;
  src: url('fonts/Jost-400.woff2') format('woff2');
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #16170F;
  --green:      #1C3B2A;
  --gold:       #AC8645;
  --sand:       #E2D6BE;
  --paper:      #FBFAF5;
  --text-mid:   #4a4a42;
  --text-light: #8a8a78;
  --white:      #FFFFFF;

  --font-ui:      'Jost', 'Helvetica Neue', sans-serif;
  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body:    'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(172, 134, 69, 0.25);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Nav logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: clamp(34px, 3.5vw, 46px);
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-ui);
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1.2rem;
  border-radius: 1px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links .nav-cta:hover { opacity: 0.85; color: var(--ink); }

/* ── Hero ── */
.hero {
  background: var(--green);
  color: var(--white);
  padding: 5.5rem 2rem 5rem;
  text-align: center;
}

.hero-inner {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  border: 1px solid rgba(172,134,69,0.6);
  display: inline-block;
  padding: 0.5rem 1.4rem;
  border-radius: 1px;
}

.hero-logo-img {
  width: clamp(280px, 45vw, 520px);
  height: auto;
  margin-bottom: 2.5rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
  margin-bottom: 2.2rem;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border-radius: 1px;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1.8rem;
  border-radius: 1px;
  transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ── Details Strip ── */
.details-strip {
  background: var(--paper);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--sand);
  display: flex;
  justify-content: center;
}

.detail {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 3rem;
  border-right: 1px solid var(--sand);
  flex: 1;
  max-width: 400px;
  min-height: 100px;
}

.detail:last-child { border-right: none; }

.detail-logo { width: auto; object-fit: contain; }
.logo-eagles-nest { height: 72px; max-width: 220px; }
.logo-sickkids    { height: 40px; max-width: 160px; }

.detail-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.detail-value {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ── Sections ── */
.section { padding: 5rem 2rem; }

.container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 1.8rem;
  line-height: 1.8;
}

.about-blurb { background: var(--paper); }

/* ── Contact ── */
.contact { background: var(--sand); }


.contact a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  transition: opacity 0.2s;
}

.contact a:hover { opacity: 0.7; }

/* ── Footer ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 1.5rem 2rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Page Header (inner pages) ── */
.page-header {
  background: var(--green);
  color: var(--white);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(172,134,69,0.3);
}

.page-header-inner { max-width: 740px; margin: 0 auto; }

.page-header .page-eyebrow {
  font-family: var(--font-ui);
  font-size: clamp(0.72rem, 1.2vw, 0.85rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.03em;
}

/* ── Section helpers ── */
.container.wide { max-width: 960px; text-align: left; }
.section.alt { background: var(--sand); }
.section-divider { height: 1px; background: var(--sand); }

.section-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.container.wide h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 1rem;
  text-align: left;
  font-weight: 500;
}

.container.wide p {
  max-width: 680px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 1.4rem;
  line-height: 1.8;
}

/* ── Info Grid ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-top: 2px solid var(--gold);
  padding: 1.5rem 1.2rem;
  text-align: center;
}

.info-icon { margin-bottom: 0.8rem; line-height: 1; }
.info-icon svg { display: block; margin: 0 auto; }

.info-title {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.info-body {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* ── Timeline ── */
.timeline {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(226,214,190,0.7);
  align-items: flex-start;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-time {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  min-width: 80px;
  padding-top: 0.15rem;
  text-transform: uppercase;
}

.timeline-title {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── Prize Grid ── */
.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.prize-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  padding: 2rem 1.5rem 0;
  box-shadow: 0 4px 16px rgba(22,23,15,0.07);
  display: flex;
  flex-direction: column;
}

.gold-border   { border-top: 3px solid var(--gold); }
.silver-border { border-top: 3px solid #a0a098; }
.bronze-border { border-top: 3px solid #8a6a4a; }

.prize-place {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.prize-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.prize-detail {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.prize-card-footer {
  margin-top: auto;
  background: var(--green);
  border-top: 1px solid rgba(28,59,42,0.3);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  text-align: center;
}

/* ── Side Prizes ── */
.side-prizes {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.side-prize {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--sand);
  padding: 1.2rem 1.5rem;
}

.side-prize-title {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.side-prize-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ── Entry Fee ── */
.entry-fee-block {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 1.5rem;
  padding: 2rem 2.5rem;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-left: 3px solid var(--gold);
  box-shadow: 0 4px 12px rgba(22,23,15,0.06);
}

.entry-fee-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.entry-fee-amount span {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

.entry-fee-team {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}

.entry-fee-receipt {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-mid);
  border-left: 1px solid var(--sand);
  padding-left: 3rem;
  line-height: 1.75;
}

/* ── About Page Partner Logos ── */
.section-partner-logo {
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--sand);
}

.about-partner-logo {
  width: auto;
  display: block;
}

.sickkids-about-logo {
  height: 52px;
}

.eagles-nest-about-logo {
  height: 80px;
}

/* ── Sponsorship Divider (within combined section) ── */
.sponsorship-divider {
  border: none;
  border-top: 1px solid var(--sand);
  margin: 3rem 0 2.5rem;
}

/* ── Tax Note ── */
.tax-note {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.tax-note-item {
  flex: 1;
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
}

.tax-note-title {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.tax-note-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .tax-note { flex-direction: column; }
}

/* ── Sponsorship Download Button ── */
.btn-sponsorship {
  display: inline-block;
  margin-top: 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1.8rem;
  border-radius: 1px;
  transition: background 0.2s, color 0.2s;
}

.btn-sponsorship:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ── Registration Form ── */
.reg-intro {
  max-width: 600px;
  margin-bottom: 3rem;
}

.players-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.player-card {
  border: 1px solid var(--sand);
  border-top: 2px solid var(--gold);
  padding: 2rem;
  background: var(--white);
}

.player-card-header {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.8rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
}

.field-group:last-child {
  margin-bottom: 0;
}

.field-group label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.field-group input,
.field-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 1px;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.field-group input::placeholder {
  color: var(--text-light);
}

.field-group input:focus {
  border-color: var(--gold);
  background: var(--white);
}

.field-hint {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.4rem;
  line-height: 1.5;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.btn-submit {
  border: none;
  cursor: pointer;
  font-size: 0.72rem;
}

.btn-submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.form-note {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .prize-grid { grid-template-columns: 1fr; }
  .side-prizes { flex-direction: column; }
  .entry-fee-block { flex-direction: column; gap: 1.5rem; }
  .entry-fee-receipt { border-left: none; padding-left: 0; border-top: 1px solid var(--sand); padding-top: 1.5rem; }
  .players-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 640px) {
  .nav-links { gap: 1rem; }
  .nav-wordmark { display: none; }
  .nav-divider { display: none; }
  .details-strip { flex-direction: column; align-items: stretch; }
  .detail { border-right: none; border-bottom: 1px solid var(--sand); }
  .detail:last-child { border-bottom: none; }
}
