:root {
  --green-deep: #0f2a1f;
  --green-forest: #18392b;
  --ivory: #f5f1e8;
  --sand: #d8ccb8;
  --gold: #9d8456;
  --charcoal: #111111;
  --charcoal-soft: #171717;
  --border: rgba(245, 241, 232, 0.14);
  --border-strong: rgba(245, 241, 232, 0.2);
  --text-muted: rgba(245, 241, 232, 0.72);
  --text-soft: rgba(245, 241, 232, 0.58);
  --max-width: 1200px;
  --transition: 0.22s ease;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--charcoal);
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--ivory);
  text-decoration: none;
}

p {
  margin-top: 0;
}

.wrap {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.18rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.96rem;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ivory);
}

.site-nav .nav-cta {
  border: 1px solid rgba(245, 241, 232, 0.14);
  padding: 12px 18px;
  color: var(--ivory);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  border-color: rgba(245, 241, 232, 0.28);
  background: rgba(255, 255, 255, 0.02);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ivory);
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.hero,
.page-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-home {
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 6, 0.78) 0%,
      rgba(5, 7, 6, 0.58) 34%,
      rgba(5, 7, 6, 0.34) 58%,
      rgba(5, 7, 6, 0.48) 100%
    ),
    linear-gradient(rgba(6, 10, 8, 0.18), rgba(6, 10, 8, 0.48)),
    url("./Assets/polo_main.png") center center / cover no-repeat;
}

.page-hero-events {
  background:
    linear-gradient(rgba(6, 10, 8, 0.24), rgba(6, 10, 8, 0.42)),
    url("./Assets/events.png") center center / cover no-repeat;
}

.page-hero-about {
  background:
    linear-gradient(rgba(6, 10, 8, 0.26), rgba(6, 10, 8, 0.46)),
    url("./Assets/about.png") center 40% / cover no-repeat;
}

.page-hero-learn {
  background:
    linear-gradient(rgba(6, 10, 8, 0.24), rgba(6, 10, 8, 0.44)),
    url("https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?auto=format&fit=crop&w=1800&q=80")
    center / cover no-repeat;
}


.hero-overlay,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at center, transparent 8%, rgba(0, 0, 0, 0.18) 78%);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 70px 0 120px;
}

.hero-content {
  transform: translateY(-16px);
}

.eyebrow,
.section-kicker {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.04;
  margin-top: 0;
  font-weight: 500;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  margin-bottom: 18px;
  max-width: 820px;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}

.hero-copy,
.lead {
  font-size: 1.14rem;
  color: rgba(245, 241, 232, 0.82);
  max-width: 640px;
}

.hero-copy {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  margin-bottom: 0;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.24);
}

.max-text {
  max-width: 860px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
}

.hero-home .eyebrow {
  margin-bottom: 18px;
  color: rgba(216, 204, 184, 0.92);
}

.button-primary {
  background: var(--ivory);
  color: var(--charcoal);
}

.button-primary:hover {
  background: transparent;
  border-color: var(--ivory);
  color: var(--ivory);
}

.button-secondary {
  border-color: rgba(245, 241, 232, 0.18);
  color: var(--ivory);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--ivory);
  background: rgba(255, 255, 255, 0.03);
}

.text-link {
  color: var(--sand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.text-link:hover {
  color: var(--ivory);
}

.section {
  padding: 96px 0;
}

.section-tinted {
  background: var(--charcoal-soft);
}

.section-dark {
  background: linear-gradient(180deg, var(--green-deep), #0d1f17);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.section-head.left {
  justify-content: flex-start;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 26px;
  transition: border-color var(--transition), transform var(--transition), background-color var(--transition);
}

.card:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.event-card,
.icon-card,
.stack-card,
.form-card {
  height: 100%;
}

.event-tag {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  margin-bottom: 10px;
}

.event-meta {
  color: var(--sand);
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  padding: 8px 12px;
  color: var(--sand);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  height: fit-content;
}

.two-column {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.simple-list,
.link-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.simple-list li,
.link-list li,
.footer-links li {
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
}

.link-list a,
.footer-links a {
  color: var(--text-muted);
}

.link-list a:hover,
.footer-links a:hover {
  color: var(--ivory);
}

.cta-band {
  text-align: center;
}

.featured-event {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.event-list {
  display: grid;
  gap: 20px;
}

.event-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.event-row-main {
  max-width: 760px;
}

.contact-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-size: 0.88rem;
  color: var(--sand);
  letter-spacing: 0.04em;
}

.contact-form label span {
  color: var(--text-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--ivory);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--sand);
  border-color: var(--sand);
}

.full-width {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid rgba(245, 241, 232, 0.08);
  padding: 56px 0;
  background: #0d0d0d;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-copy {
  color: var(--text-muted);
  max-width: 420px;
}

@media (max-width: 980px) {
  .three-up,
  .faq-grid,
  .two-up,
  .two-column,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .featured-event,
  .event-row,
  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .hero-content {
    transform: translateY(-10px);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 78px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 20px 20px;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .site-nav .nav-cta {
    margin-top: 10px;
    padding: 12px 16px;
  }

  .hero,
  .page-hero {
    min-height: calc(86vh - var(--header-height));
  }

  .hero-content,
  .page-hero-content {
    padding: 48px 0 82px;
  }

  .hero-content {
    transform: none;
  }

  .section {
    padding: 72px 0;
  }

  .wrap {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .brand {
    font-size: 1rem;
    letter-spacing: 0.14em;
  }

  .hero-copy,
  .lead {
    font-size: 1.04rem;
  }
}