@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --green-dark:    #0f3d28;
  --green-primary: #1a5c3a;
  --green-mid:     #226b45;
  --green-light:   #2d8a58;
  --green-muted:   #a8d5b5;
  --green-tint:    #eaf3de;
  --off-white:     #f4f3ef;
  --white:         #ffffff;
  --text-dark:     #1a1a18;
  --text-mid:      #3d3d39;
  --text-muted:    #6b6b66;
  --text-light:    #9b9b96;
  --border:        rgba(0,0,0,0.08);
  --border-dark:   rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--off-white);
}

a { color: var(--green-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── NAV ── */
.site-nav {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--green-light);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-call {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-brand-name {
  font-size: 11px;
  color: var(--green-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

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

.nav-links a {
  display: block;
  padding: 0 1rem;
  height: 60px;
  line-height: 60px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

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

.nav-links a.active {
  border-bottom: 2px solid var(--green-muted);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  background: var(--green-primary);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.015) 60px,
    rgba(255,255,255,0.015) 61px
  );
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-muted);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: var(--white);
  max-width: 720px;
  margin: 0 auto 1.25rem;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── STAT BAR ── */
.stat-bar {
  background: var(--green-dark);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  padding: 1.1rem 2.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.stat-label {
  font-size: 11px;
  color: var(--green-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 11px 24px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--white);
  color: var(--green-primary);
}

.btn-primary:hover { background: var(--off-white); color: var(--green-primary); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}

.btn-outline:hover { border-color: var(--white); color: var(--white); }

.btn-green {
  background: var(--green-primary);
  color: var(--white);
}

.btn-green:hover { background: var(--green-mid); color: var(--white); }

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
}

.section-sm { padding: 2.5rem 0; }

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 0.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.card-sm { padding: 1.1rem 1.25rem; }

/* ── CONTEST ITEMS ── */
.contest-list { display: flex; flex-direction: column; gap: 0; }

.contest-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contest-item:last-child { border-bottom: none; padding-bottom: 0; }
.contest-item:first-child { padding-top: 0; }

.contest-cal {
  background: var(--green-primary);
  color: var(--white);
  border-radius: 6px;
  width: 46px;
  min-width: 46px;
  text-align: center;
  padding: 6px 4px;
}

.contest-cal-month {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.contest-cal-day {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.contest-info-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contest-info-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  vertical-align: middle;
  margin-left: 6px;
}

.badge-green { background: var(--green-tint); color: var(--green-dark); }
.badge-blue  { background: #e6f1fb; color: #0c447c; }
.badge-red   { background: #ffcccc; color: #a20000; }

/* ── NEWS POSTS ── */
.news-post { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.news-post:last-child { border-bottom: none; }
.news-post:first-child { padding-top: 0; }

.news-post-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 4px;
}

.news-post-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.news-post-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.news-post-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-primary);
  margin-top: 6px;
}

/* ── ABOUT BLOCKS ── */
.about-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  background: var(--green-tint);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-block h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.about-block p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── RESULTS TABLE ── */
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.results-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border-dark);
  background: var(--off-white);
}

.results-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  vertical-align: top;
}

.results-table tr:last-child td { border-bottom: none; }
.results-table tr:hover td { background: var(--green-tint); }

.result-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-primary);
}

/* ── JOIN CTA BLOCK ── */
.cta-block {
  background: var(--green-primary);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.cta-block h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-block p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border-dark);
  border-radius: 5px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-primary);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--green-primary);
  padding: 3rem 2rem 2.5rem;
}

.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 560px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--green-dark);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 2px solid var(--green-light);
}

.footer-call {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer-name {
  font-size: 13px;
  color: var(--green-muted);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ── CALLOUT BOX ── */
.callout {
  background: var(--green-tint);
  border-left: 4px solid var(--green-primary);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  font-size: 14px;
  color: var(--green-dark);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--green-dark); padding: 1rem 0; }
  .nav-links.open { display: flex; }
  .nav-links a { height: auto; line-height: 1; padding: 0.75rem 2rem; }
  .nav-links a.active { border-bottom: none; border-left: 3px solid var(--green-muted); }
  .nav-toggle { display: block; }
  .stat-item { padding: 0.9rem 1.25rem; flex: 1 1 40%; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .section { padding: 2.5rem 0; }
  .container { padding: 0 1.25rem; }
  .results-table th:nth-child(3),
  .results-table td:nth-child(3) { display: none; }
}
