/* ============================================
   THE SIEL PROJECT — GLOBAL STYLESHEET
   Warm, welcoming reskin of the Coach John Bush
   architecture: teal-dominant, coral accent, lots of white.
   ============================================ */

/* === TOKENS === */
:root {
  --teal:      #2A7F7F;
  --teal-dark: #216262;
  --teal-deep: #1B5151;
  --coral:     #FF6B4A;
  --coral-dark:#E55A3A;
  --cream:     #FBF8F3;
  --teal-tint: #EEF6F5;
  --charcoal:  #28322F;
  --mid-gray:  #5F6B68;
  --light-gray:#F3F5F4;
  --white:     #FFFFFF;
  --font-display: 'Trebuchet MS', 'Gill Sans', 'Century Gothic', sans-serif;
  --font-body:    'Avenir', 'Century Gothic', 'Gill Sans MT', Calibri, sans-serif;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  font-size: 18px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* === UTILITY === */
.coral-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
  display: block;
}
.section-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.25;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.section-body {
  font-size: 18px;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 16px;
}
.wrap { max-width: 1120px; margin: 0 auto; }

/* === BUTTONS === */
.btn-primary {
  background: var(--coral);
  color: var(--white);
  padding: 16px 32px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }

.btn-secondary {
  background: var(--teal);
  color: var(--white);
  padding: 16px 32px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-secondary:hover { background: var(--teal-dark); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--teal);
  padding: 16px 32px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.btn-outline {
  background: transparent;
  color: var(--coral);
  padding: 14px 30px;
  border: 2px solid var(--coral);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { background: var(--coral); color: var(--white); transform: translateY(-2px); }

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  padding: 14px 30px;
  border: 2px solid var(--teal);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline-teal:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }

/* === NAVIGATION === */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #E8EDEC;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 46px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--coral); }
.nav-links a.active { color: var(--teal); }

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 11px 22px !important;
  border-radius: 6px;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--coral-dark) !important; color: var(--white) !important; transform: translateY(-1px); }

/* === FOOTER === */
footer {
  background: var(--teal-deep);
  padding: 56px 80px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.footer-brand-title {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--coral);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 360px;
}
.footer-email { font-size: 14px; color: rgba(255,255,255,0.55); }
.footer-email a { color: var(--coral); font-weight: 600; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--coral); }
.footer-donate-link { color: var(--coral) !important; font-weight: 700 !important; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(155deg, var(--teal) 0%, var(--teal-deep) 100%);
  padding: 72px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 120%;
  background: radial-gradient(circle, rgba(255,107,74,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 16px;
  position: relative;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

/* === HAMBURGER MENU === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  padding: 32px 24px;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--coral); }
.mobile-menu a.mobile-cta {
  background: var(--coral);
  color: var(--white);
  text-align: center;
  padding: 16px;
  border-radius: 6px;
  border: none;
  margin-top: 16px;
  font-weight: 700;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 24px 24px; }
  .page-hero { padding: 48px 24px; }
  .page-hero h1 { font-size: 28px; }
}

/* === ARTICLE PAGES === */
.article-hero {
  background: linear-gradient(160deg, #FFFFFF 0%, var(--teal-tint) 100%);
  padding: 64px 24px 52px;
  text-align: center;
}
.article-hero .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--coral); margin-bottom: 16px; display: block;
}
.article-hero h1 {
  font-family: var(--font-display); font-size: 38px; font-weight: 700;
  color: var(--teal-deep); line-height: 1.2; letter-spacing: 0.5px;
  max-width: 760px; margin: 0 auto 18px;
}
.article-hero .meta { font-size: 14px; color: var(--mid-gray); }
.article-wrap { max-width: 720px; margin: 0 auto; padding: 56px 24px 72px; }
.article-body p { font-size: 18px; line-height: 1.85; color: var(--charcoal); margin-bottom: 22px; }
.article-body h2 {
  font-family: var(--font-display); font-size: 25px; color: var(--teal);
  letter-spacing: 0.3px; margin: 40px 0 16px; line-height: 1.3;
}
.article-body em { color: var(--charcoal); }
.article-body .lead-step { font-weight: 700; color: var(--teal-deep); font-style: normal; }
.article-cta {
  margin: 48px auto 0; max-width: 720px; background: var(--teal-tint);
  border: 1px solid #D8E8E6; border-radius: 14px; padding: 36px 34px; text-align: center;
}
.article-cta h3 { font-family: var(--font-display); font-size: 21px; color: var(--teal-deep); margin-bottom: 10px; }
.article-cta p { font-size: 16px; color: var(--charcoal); line-height: 1.65; margin-bottom: 22px; }
.article-cta .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.article-back { text-align: center; margin-top: 36px; }
.article-back a { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--coral); }
@media (max-width: 900px) {
  .article-hero { padding: 44px 24px 36px; }
  .article-hero h1 { font-size: 28px; }
  .article-wrap { padding: 40px 24px 56px; }
  .article-body p { font-size: 17px; }
}
