/* Tellus Development Foundation — Brand Stylesheet
   Colour palette per brand guidelines:
   Burnt Ochre #A65D2A | Deep Earth Brown #5A4637 | Sand #D8C7A3
   Eucalyptus Green #5E7663 | Charcoal #343434 | Deep Navy (from mark) #17324A
------------------------------------------------------------------ */

:root {
  --ochre: #A65D2A;
  --ochre-dark: #8B4A21;
  --earth-brown: #5A4637;
  --sand: #D8C7A3;
  --sand-light: #F3ECDD;
  --eucalyptus: #5E7663;
  --charcoal: #343434;
  --navy: #17324A;
  --cream: #FBF8F2;
  --white: #FFFFFF;
  --line: rgba(52,52,52,0.12);
  --shadow: 0 12px 32px rgba(23,50,74,0.10);
  --radius: 6px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 600;
  margin-bottom: 14px;
}

.lede {
  font-size: 1.2rem;
  color: var(--earth-brown);
  max-width: 62ch;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,248,242,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.brand img { height: 44px; width: auto; }
.brand .org-name strong { display: block; font-weight: 600; }
.brand .org-name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eucalyptus);
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--charcoal);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ochre);
  border-color: var(--ochre);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--ochre);
  color: var(--white);
}
.btn-primary:hover { background: var(--ochre-dark); }

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

.btn-outline-light {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand-light) 0%, var(--cream) 100%);
  padding: 90px 0 70px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-copy .tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--eucalyptus);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.hero-mark {
  display: flex;
  justify-content: center;
}
.hero-mark-glow {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark-glow::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sand) 0%, rgba(216,199,163,0) 72%);
  opacity: 0.9;
}
.hero-mark-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(23,50,74,0.15);
}
.hero-mark-glow img {
  position: relative;
  width: 78%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(23,50,74,0.16));
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 78px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: var(--sand); }
.page-hero .eyebrow { color: var(--sand); }

.contour-bg {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
}

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-tight { padding: 56px 0; }
.alt { background: var(--white); }
.deep {
  background: var(--navy);
  color: var(--sand-light);
}
.deep h2, .deep h3 { color: var(--white); }
.deep .eyebrow { color: var(--ochre); }

.section-head {
  max-width: 720px;
  margin: 0 0 46px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ochre);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-badge svg { width: 24px; height: 24px; }

/* value / stat strips */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-strip .stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--ochre);
  display: block;
}
.stat-strip .stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sand);
}

/* pipeline / process */
.pipeline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}
.pipeline-step {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 0 8px;
}
.pipeline-step .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ochre);
  margin: 0 auto 14px;
}
.pipeline-step h4 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.pipeline-step p { font-size: 0.88rem; color: var(--sand); margin: 0; }
.pipeline-line {
  position: absolute;
  top: 6px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--sand) 0 8px, transparent 8px 14px);
  z-index: 0;
}

/* quote / intent block */
.intent-block {
  border-left: 3px solid var(--ochre);
  padding-left: 28px;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--navy);
  font-style: italic;
  max-width: 780px;
}

/* table-ish list */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--earth-brown);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--eucalyptus);
}

/* board / people */
.person-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.person-card .avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.person-card h4 { margin-bottom: 2px; }
.person-card .role { color: var(--ochre); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }

/* CTA band */
.cta-band {
  background: var(--eucalyptus);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: var(--sand-light); margin: 0 auto 8px; text-align: center; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: var(--sand-light);
  padding: 56px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: var(--ochre); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 34px; }
.footer-brand span { font-family: var(--serif); color: var(--white); font-size: 1.15rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(216,199,163,0.7);
  font-size: 0.82rem;
}

/* Acknowledgement of Country strip */
.acknowledgement {
  background: var(--sand-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  font-size: 0.92rem;
  color: var(--earth-brown);
  text-align: center;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-mark { order: -1; max-width: 260px; margin: 0 auto; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pipeline { flex-direction: column; }
  .pipeline-line { display: none; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 10px 28px 20px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
