/* ===== SANEWORDS — STYLESHEET ===== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Variables ── */
:root {
  --ink:      #1a1a1a;
  --paper:    #f7f4ef;
  --cream:    #ede9e2;
  --navy:     #0d2545;
  --gold:     #b8873a;
  --gold-lt:  #d4a85a;
  --rule:     #c9c0b0;
  --muted:    #6b6359;
  --white:    #ffffff;
  --red:      #9e2a2b;
  --serif:    'Playfair Display', Georgia, serif;
  --body:     'Source Serif 4', Georgia, serif;
  --sans:     'DM Sans', system-ui, sans-serif;
  --radius:   4px;
  --max:      1140px;
  --shadow:   0 2px 16px rgba(0,0,0,.10);
}

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

html { scroll-behavior: smooth; font-size: 17px; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Utility ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 12px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  border: none;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: #1a3a6b; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #9c6e2a; }

/* ── Header ── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  max-width: var(--max);
  margin: 0 auto;
  height: 68px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .03em;
}
.logo span { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: all .18s;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

/* ── Top Ribbon ── */
.date-ribbon {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
}

/* ── Hero (Home) ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 100px 28px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(184,135,58,.18) 0%, transparent 65%),
              repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.03) 40px);
  pointer-events: none;
}
.hero-tag { color: var(--gold-lt); border-color: var(--gold-lt); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 720px;
  margin-inline: auto;
}
.hero h1 em { color: var(--gold-lt); font-style: italic; }
.hero p.lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Section Titles ── */
.section-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.section-lead { font-size: 1rem; color: var(--muted); max-width: 600px; margin-bottom: 40px; }
.ruled { border: none; border-top: 2px solid var(--rule); margin: 60px 0; }
.ruled-gold { border-color: var(--gold); }

/* ── Card Grid ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 28px; }

.card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cream);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2.5rem;
  color: rgba(255,255,255,.2);
  min-height: 180px;
}
.card-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-body .tag { margin-bottom: 10px; }
.card-body h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}
.card-body p { font-size: .92rem; color: var(--muted); flex: 1; margin-bottom: 18px; }
.card-meta {
  font-family: var(--sans);
  font-size: .72rem;
  color: var(--rule);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: auto;
}

/* ── Page Hero (Inner Pages) ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 28px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 10px 0 16px;
}
.page-hero p { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ── Sections ── */
.section { padding: 72px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-lead { color: rgba(255,255,255,.68); }

/* ── Featured Banner ── */
.feature-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
  margin-bottom: 60px;
}
.feature-img {
  background: linear-gradient(135deg, #0d2545 0%, #1e4a8a 60%, #b8873a 100%);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,.15);
  font-family: var(--serif);
}
.feature-copy { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.feature-copy h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
.feature-copy p { color: var(--muted); margin-bottom: 28px; }

/* ── Stat Bar ── */
.stat-bar { display: flex; gap: 0; background: var(--gold); }
.stat-item { flex: 1; text-align: center; padding: 32px 20px; border-right: 1px solid rgba(255,255,255,.25); }
.stat-item:last-child { border: none; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.stat-label {
  font-family: var(--sans);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.8);
}

/* ── Newsletter Block ── */
.newsletter-block {
  background: var(--navy);
  border-radius: 8px;
  padding: 56px 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.newsletter-block::before {
  content: '✉';
  position: absolute;
  right: 40px; top: 20px;
  font-size: 8rem;
  opacity: .05;
  pointer-events: none;
}
.newsletter-block h2 { font-family: var(--serif); font-size: 2rem; margin-bottom: 12px; }
.newsletter-block p { color: rgba(255,255,255,.7); margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  background: rgba(255,255,255,.1);
  color: var(--white);
  outline: none;
  border: 1px solid rgba(255,255,255,.25);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus { border-color: var(--gold); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-info h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 14px; }
.contact-info p { color: var(--muted); margin-bottom: 24px; }
.contact-detail { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-size: .92rem; }
.contact-detail svg { flex-shrink: 0; color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--body);
  font-size: .95rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ── Quote Pull ── */
.pull-quote {
  border-left: 4px solid var(--gold);
  padding: 24px 32px;
  margin: 40px 0;
  background: var(--cream);
  border-radius: 0 6px 6px 0;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}
.pull-quote cite {
  display: block;
  font-family: var(--sans);
  font-size: .8rem;
  font-style: normal;
  margin-top: 12px;
  color: var(--muted);
  letter-spacing: .05em;
}

/* ── Youth Section ── */
.youth-pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.pillar {
  background: var(--white);
  border-radius: 6px;
  padding: 30px 24px;
  text-align: center;
  border: 1px solid var(--cream);
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.pillar:hover { transform: translateY(-4px); }
.pillar-icon { font-size: 2.2rem; margin-bottom: 14px; }
.pillar h3 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 8px; }
.pillar p { font-size: .88rem; color: var(--muted); }

/* ── Footer ── */
.site-footer {
  background: #0a1d36;
  color: rgba(255,255,255,.65);
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}
.footer-brand .logo { margin-bottom: 14px; display: block; }
.footer-brand p { font-size: .88rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: .88rem;
  margin-bottom: 8px;
  transition: color .18s;
}
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom {
  text-align: center;
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .04em;
}

/* ── Hamburger / Mobile Nav ── */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all .2s;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 28px;
    border-top: 1px solid rgba(255,255,255,.1);
    gap: 4px;
  }
  .site-nav.open { display: flex; }
  .site-header { position: relative; }
  .feature-banner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stat-bar { flex-wrap: wrap; }
  .stat-item { min-width: 48%; }
  .newsletter-block { padding: 40px 28px; }
  .newsletter-form { flex-direction: column; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 72px 20px 64px; }
  .footer-inner { grid-template-columns: 1fr; }
}
