/* ============================================================
   ECO — Educational Community Outreach · turksandcaicos.eco
   Built on ECO Brand Kit v1 (2026-08-12)
   ============================================================ */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: 'Nunito'; src: url('/Nunito-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/Nunito-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/Nunito-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/Nunito-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/Quicksand-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/Quicksand-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/Quicksand-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ---------- Brand tokens ---------- */
:root {
  --ocean: #042A3A;
  --green: #0F7F3C;
  --green-bright: #2AD46E;
  --cyan: #0A7F92;
  --sand: #F8F6F0;
  --white: #FFFFFF;
  --ink: #16323F;
  --ink-soft: #4C6472;
  --line: #E4E0D4;
  --wordmark-navy: #042A69;

  --radius: 16px;
  --pill: 999px;
  --shadow: 0 2px 14px rgba(4, 42, 58, 0.07);
  --shadow-lift: 0 8px 28px rgba(4, 42, 58, 0.12);
  --maxw: 1120px;

  --font-display: 'Nunito', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: 'Quicksand', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--ocean); line-height: 1.24; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
strong, b { font-weight: 600; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ocean); color: #fff; padding: 12px 20px; z-index: 200; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }

.nav-bar { display: flex; align-items: center; gap: 12px; padding: 12px 24px; max-width: var(--maxw); margin: 0 auto; }

.nav-brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 48px; height: 48px; }
.nav-brand .wm {
  font-family: var(--font-display); font-weight: 900; font-size: 1.32rem;
  color: var(--wordmark-navy); line-height: 1; letter-spacing: -0.01em;
}
.nav-brand .wm small {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.6rem; letter-spacing: 0.13em; color: var(--ink-soft); margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.96rem;
  color: var(--ocean); padding: 9px 14px; border-radius: var(--pill);
}
.nav-links a:hover { background: var(--sand); text-decoration: none; }
.nav-links a[aria-current="page"] { background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); }

/* Mobile header: stack brand over a centred nav row */
@media (max-width: 780px) {
  .nav-bar { flex-direction: column; gap: 10px; padding: 12px 16px; }
  .nav-brand { margin-right: 0; }
  .nav-brand .wm { font-size: 1.22rem; }
  .nav-brand .wm small { font-size: 0.54rem; letter-spacing: 0.1em; }
  .nav-links { justify-content: center; gap: 2px; }
  .nav-links a { padding: 8px 11px; font-size: 0.92rem; }
  .nav-links .btn { padding: 9px 18px; }
}
@media (max-width: 400px) {
  .nav-links a { padding: 7px 9px; font-size: 0.87rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 1rem; line-height: 1.2; padding: 13px 26px; border-radius: var(--pill);
  text-align: center; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 3px 12px rgba(15,127,60,0.28); }
.btn-green:hover { filter: brightness(1.08); box-shadow: 0 6px 18px rgba(15,127,60,0.34); }
.btn-ocean { background: var(--ocean); color: #fff; }
.btn-ocean:hover { filter: brightness(1.22); }
.btn-ghost { background: #fff; color: var(--ocean); box-shadow: inset 0 0 0 1.6px var(--line); }
.btn-ghost:hover { background: var(--sand); }
.btn-on-dark { background: rgba(255,255,255,0.1); color: #fff; box-shadow: inset 0 0 0 1.6px rgba(255,255,255,0.4); }
.btn-on-dark:hover { background: rgba(255,255,255,0.18); }
.btn-white { background: #fff; color: var(--ocean); }
.nav-links .btn { padding: 10px 20px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 900px 420px at 76% 8%, rgba(42,212,110,0.22), transparent 62%),
    radial-gradient(ellipse 760px 400px at 12% 96%, rgba(10,169,194,0.24), transparent 60%),
    linear-gradient(155deg, #04212e 0%, var(--ocean) 48%, #063f52 100%);
  color: #d7e9f0;
  padding: 76px 0 84px;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }

.hero-inner { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 48px; align-items: center; }

.hero .eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--green-bright); margin-bottom: 16px;
}
.hero h1 {
  color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700;
  letter-spacing: -0.015em; margin-bottom: 18px;
}
.hero h1 .hl { color: var(--green-bright); }
.hero p.lede { font-size: 1.12rem; color: #bcd8e3; margin-bottom: 30px; max-width: 620px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-mark {
  width: 100%; max-width: 300px; height: auto; aspect-ratio: 1 / 1; margin-left: auto;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.35));
}
.nav-brand img, .footer-brand img, .notice img { height: auto; aspect-ratio: 1 / 1; }
.nav-brand img { width: 48px; }
.footer-brand img { width: 46px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-mark { max-width: 190px; margin: 0 auto; order: -1; }
  .hero { padding: 52px 0 60px; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
}

.page-hero { padding: 54px 0 58px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); }
.page-hero p.lede { margin-bottom: 0; }

/* ---------- Stat band ---------- */
.stat-band { background: #fff; border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); max-width: var(--maxw); margin: 0 auto; }
.stat { padding: 28px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: 1.85rem; color: var(--ocean); line-height: 1.15; }
.stat .lbl { font-size: 0.87rem; color: var(--ink-soft); font-weight: 600; margin-top: 4px; }
@media (max-width: 620px) { .stat { border-left: none; border-top: 1px solid var(--line); } .stat:first-child { border-top: none; } }

/* ---------- Sections ---------- */
.section { padding: 62px 0; }
.section.tint { background: #EFEDE3; }
.section.deep { background: var(--ocean); color: #c3dbe4; }
.section.deep h2, .section.deep h3, .section.deep h4 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }
.section.deep .section-head p { color: #a9c8d4; }

h2.section-title { font-size: clamp(1.5rem, 3vw, 1.95rem); margin-bottom: 12px; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.section.deep .eyebrow { color: var(--green-bright); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(228,224,212,0.7);
}
.card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card p + p { margin-top: 10px; }

.card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px; background: #E4F5EA;
}
.card .icon.cyan { background: #DEF0F4; }
.card .icon.navy { background: #E6EDF1; }

/* ---------- Event feature ---------- */
.event-feature { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lift); overflow: hidden; }

.ef-head {
  background: linear-gradient(120deg, var(--green) 0%, #0B6B33 100%);
  color: #fff; padding: 28px 30px;
  display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; justify-content: space-between;
}
.ef-head h3 { color: #fff; font-size: 1.45rem; }
.ef-head .when { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: #d8f3e2; }

.ef-body { padding: 28px 30px 30px; }

.pill {
  display: inline-block; background: #E4F5EA; color: var(--ocean);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  padding: 7px 15px; border-radius: var(--pill); margin: 0 8px 10px 0;
}
.pill.navy { background: var(--ocean); color: #fff; }

.price-bar {
  background: var(--ocean); color: #fff; border-radius: 12px; text-align: center;
  font-family: var(--font-display); font-weight: 800; padding: 15px;
  margin: 18px 0 22px; font-size: 1.1rem; letter-spacing: 0.01em;
}

.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; margin-bottom: 24px; }
.channel { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #FDFCFA; }
.channel h4 { font-size: 1rem; margin-bottom: 4px; }
.channel p { font-size: 0.92rem; color: var(--ink-soft); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Sponsor rounds ---------- */
.round-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin: 24px 0; }
.round {
  border: 2px dashed #B9D9C6; border-radius: var(--radius);
  padding: 24px; text-align: center; background: #FBFDFB;
}
.round .r-lbl { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-soft); text-transform: uppercase; }
.round .r-amt { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--ocean); margin: 4px 0 2px; }
.round .r-state { font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; color: var(--green); }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 16px; }
.t-item {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(228,224,212,0.7);
  padding: 24px 26px; display: grid; grid-template-columns: 140px 1fr; gap: 20px;
}
.t-item .t-date {
  font-family: var(--font-head); font-weight: 700; color: var(--green);
  font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.07em; padding-top: 3px;
}
.t-item h3 { font-size: 1.1rem; margin-bottom: 7px; }
.t-item p { color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 620px) { .t-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Funding ---------- */
.snapshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.snap {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(228,224,212,0.7); padding: 28px; text-align: center;
}
.snap .num { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; color: var(--ocean); line-height: 1.15; }
.snap .lbl { font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin-top: 4px; }
.snap .sub { font-size: 0.86rem; color: var(--ink-soft); margin-top: 3px; }

.progress-wrap {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(228,224,212,0.7); padding: 30px 32px;
}
.progress-bar { background: #E6E3D8; border-radius: var(--pill); height: 16px; overflow: hidden; margin: 16px 0 10px; }
.progress-bar .fill { background: linear-gradient(90deg, var(--green), var(--green-bright)); height: 100%; border-radius: var(--pill); min-width: 10px; }

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

.donor-list { list-style: none; }
.donor-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem;
}
.donor-list li:last-child { border-bottom: none; }
.donor-list .amt { font-family: var(--font-display); font-weight: 800; color: var(--ocean); white-space: nowrap; }

ul.clean { list-style: none; }
ul.clean li { padding: 7px 0 7px 26px; position: relative; color: var(--ink-soft); font-size: 0.97rem; }
ul.clean li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); }
.section.deep ul.clean li { color: #bcd8e3; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green) 0%, #0B6B33 100%);
  border-radius: var(--radius); color: #fff; padding: 42px 38px;
  display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-lift);
}
.cta-band h2 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.cta-band p { color: #d9f2e4; max-width: 600px; }
.cta-band .btn { white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ocean); color: #a9c8d4; padding: 54px 0 0; margin-top: 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.site-footer h4 { color: #fff; font-size: 0.98rem; margin-bottom: 13px; letter-spacing: 0.03em; }
.site-footer a { color: #7FD8B4; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; }

.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-brand img { width: 46px; height: 46px; background: #fff; border-radius: 50%; padding: 3px; }
.footer-brand .wm { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: #fff; line-height: 1; }
.footer-brand .wm small { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.13em; color: #8FB3C1; margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.13); padding: 18px 0;
  font-size: 0.85rem; color: #7BA0AF;
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
}

/* ---------- Utility ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 22px; } .mt-3 { margin-top: 32px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.88rem; }
.lead-para { font-size: 1.06rem; }

.notice { padding: 110px 0 90px; text-align: center; }
.notice h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: 12px; }
.notice p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 28px; }
