/* ============================================================
   Wunanbiri Aboriginal Preschool — Stylesheet
   Palette inspired by Australian earth & ochre tones
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=Mulish:wght@300;400;500;600;700;800&display=swap');

:root {
  --ochre:      #C0562B;
  --ochre-deep: #97401D;
  --gold:       #E0A62E;
  --gold-soft:  #F3C664;
  --clay:       #7A4327;
  --earth:      #2E2018;
  --earth-2:    #3D2A1E;
  --sage:       #6E7A4C;
  --cream:      #FBF4E9;
  --cream-2:    #F4E7D2;
  --cream-3:    #EAD8BD;
  --ink:        #241812;
  --muted:      #6B5A4B;
  --white:      #ffffff;

  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 18px 45px -22px rgba(46,32,24,0.45);
  --shadow-lg:  0 40px 80px -30px rgba(46,32,24,0.55);
  --maxw:       1180px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);

  --ff-head: 'Fraunces', Georgia, serif;
  --ff-body: 'Mulish', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

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

::selection { background: var(--gold); color: var(--earth); }

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

h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 600; line-height: 1.12; color: var(--earth); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p  { margin-bottom: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }

.text-muted { color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 700; font-size: 0.98rem;
  padding: 15px 30px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ochre); color: #fff; box-shadow: 0 14px 30px -12px rgba(192,86,43,0.7); }
.btn-primary:hover { background: var(--ochre-deep); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--earth); border-color: rgba(46,32,24,0.25); }
.btn-ghost:hover { border-color: var(--ochre); color: var(--ochre); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--earth); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

/* ---------- Acknowledgement strip ---------- */
.ack-strip {
  background: var(--earth); color: var(--cream-2);
  font-size: 0.82rem; text-align: center; padding: 9px 24px; letter-spacing: 0.01em;
}
.ack-strip strong { color: var(--gold-soft); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,244,233,0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(122,67,39,0.12);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(46,32,24,0.5); background: rgba(251,244,233,0.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 50% 50%, var(--earth) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 50%, transparent 9px, var(--gold) 10px 12px, transparent 13px),
    radial-gradient(circle at 50% 50%, transparent 15px, var(--ochre) 16px 18px, transparent 19px),
    var(--cream-2);
  box-shadow: inset 0 0 0 2px rgba(122,67,39,0.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--ff-head); font-weight: 700; font-size: 1.25rem; color: var(--earth); }
.brand-text small { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-weight: 600; font-size: 0.96rem; padding: 10px 15px; border-radius: 999px;
  color: var(--earth-2); position: relative; transition: color .25s var(--ease), background-color .25s var(--ease);
}
.main-nav a:not(.nav-cta):hover { color: var(--ochre); }
.main-nav a.active:not(.nav-cta) { color: var(--ochre); }
.main-nav a.active:not(.nav-cta)::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-cta { background: var(--ochre); color: #fff !important; padding: 11px 22px !important; margin-left: 8px; box-shadow: 0 12px 24px -12px rgba(192,86,43,0.7); }
.nav-cta:hover { background: var(--ochre-deep); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--earth); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(224,166,46,0.16), transparent 40%),
    radial-gradient(circle at 6% 88%, rgba(192,86,43,0.12), transparent 42%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--ochre); font-style: italic; }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px 34px; }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge b { font-family: var(--ff-head); font-size: 1.7rem; color: var(--ochre); font-weight: 700; }
.hero-badge span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

.hero-visual { position: relative; }
.hero-visual .img-main {
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid #fff; transform: rotate(1.2deg);
}
.hero-visual .img-main img { width: 100%; height: 480px; object-fit: cover; }
.hero-visual .img-float {
  position: absolute; bottom: -30px; left: -34px; width: 190px;
  border-radius: 18px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow);
  transform: rotate(-4deg);
}
.hero-visual .img-float img { width: 100%; height: 150px; object-fit: cover; }
.hero-sticker {
  position: absolute; top: -22px; right: -14px; background: var(--gold); color: var(--earth);
  font-family: var(--ff-head); font-weight: 700; font-size: 0.95rem; padding: 14px 18px; border-radius: 50%;
  width: 96px; height: 96px; display: grid; place-content: center; text-align: center; line-height: 1.1;
  box-shadow: var(--shadow); transform: rotate(8deg);
}
.hero-sticker span { font-size: 0.62rem; display: block; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--ff-body); }

/* ---------- Section base ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 12px; }

.bg-cream-2 { background: var(--cream-2); }
.bg-earth { background: var(--earth); color: var(--cream-2); }
.bg-earth h1, .bg-earth h2, .bg-earth h3 { color: #fff; }
.bg-earth .eyebrow { color: var(--gold-soft); }
.bg-earth p { color: rgba(244,231,210,0.82); }

/* ---------- Dot divider ---------- */
.dot-row { display: flex; gap: 8px; justify-content: center; padding: 6px 0 0; }
.dot-row i { width: 8px; height: 8px; border-radius: 50%; }
.dot-row i:nth-child(1){background:var(--ochre)} .dot-row i:nth-child(2){background:var(--gold)}
.dot-row i:nth-child(3){background:var(--sage)} .dot-row i:nth-child(4){background:var(--clay)}
.dot-row i:nth-child(5){background:var(--ochre)}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.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: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid rgba(122,67,39,0.1); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-content: center;
  background: var(--cream-2); color: var(--ochre); margin-bottom: 20px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0; }

/* program cards with image */
.prog-card { background:#fff; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); border: 1px solid rgba(122,67,39,0.1); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prog-card .thumb { height: 210px; overflow: hidden; }
.prog-card .thumb img { width:100%; height:100%; object-fit: cover; transition: transform .6s var(--ease); }
.prog-card:hover .thumb img { transform: scale(1.06); }
.prog-card .body { padding: 28px; }
.prog-card .body h3 { margin-bottom: 10px; }
.prog-card .body p { color: var(--muted); font-size: 0.97rem; }
.tag { display:inline-block; font-size:0.72rem; font-weight:800; letter-spacing:0.1em; text-transform:uppercase; color: var(--ochre); background: var(--cream-2); padding:6px 12px; border-radius:999px; margin-bottom:14px; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.split-media img { width: 100%; height: 460px; object-fit: cover; }
.split ul { list-style: none; margin: 22px 0 0; }
.split ul li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--muted); }
.split ul li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); box-shadow: inset 0 0 0 5px var(--cream);
}
.split ul li b { color: var(--earth); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { font-family: var(--ff-head); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold-soft); display: block; font-weight: 700; }
.stat span { color: rgba(244,231,210,0.8); font-size: 0.95rem; font-weight: 600; }

/* ---------- Who we help chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: #fff; border: 1px solid rgba(122,67,39,0.14); border-radius: 999px;
  padding: 11px 20px; font-weight: 600; font-size: 0.95rem; color: var(--earth-2);
  display: inline-flex; align-items: center; gap: 9px; transition: transform .3s var(--ease), border-color .3s;
}
.chip:hover { transform: translateY(-3px); border-color: var(--ochre); }
.chip::before { content:""; width: 9px; height: 9px; border-radius: 50%; background: var(--ochre); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 22px; background:#fff; border:1px solid rgba(122,67,39,0.1); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.step .num { counter-increment: step; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ochre); color:#fff; display:grid; place-content:center; font-family: var(--ff-head); font-weight:700; font-size:1.3rem; }
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ochre) 0%, var(--ochre-deep) 100%);
  border-radius: 28px; padding: clamp(40px, 6vw, 66px); color: #fff; position: relative; overflow: hidden;
}
.cta-band::after {
  content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
}
.cta-band h2 { color:#fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 46ch; }
.cta-band .btn-light { color: var(--ochre-deep); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { background:#fff; border:1px solid rgba(122,67,39,0.12); border-radius: var(--radius-sm); margin-bottom: 14px; overflow:hidden; }
.faq-q { width:100%; text-align:left; background:none; border:none; cursor:pointer; padding: 20px 24px; font-family: var(--ff-head); font-weight:600; font-size:1.1rem; color: var(--earth); display:flex; justify-content:space-between; align-items:center; gap: 16px; }
.faq-q .plus { flex:none; width:24px; height:24px; position:relative; }
.faq-q .plus::before, .faq-q .plus::after { content:""; position:absolute; background:var(--ochre); border-radius:2px; transition: transform .3s var(--ease); }
.faq-q .plus::before { top:11px; left:2px; right:2px; height:2.5px; }
.faq-q .plus::after { left:11px; top:2px; bottom:2px; width:2.5px; }
.faq-item.open .plus::after { transform: scaleY(0); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .4s var(--ease); }
.faq-a .faq-a-inner { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,54px); align-items:start; }
.info-list { list-style:none; display:grid; gap: 20px; }
.info-item { display:flex; gap:16px; align-items:flex-start; }
.info-item .ico { flex:none; width:48px; height:48px; border-radius:13px; background:var(--cream-2); color:var(--ochre); display:grid; place-content:center; }
.info-item .ico svg { width:22px; height:22px; }
.info-item h4 { font-family: var(--ff-body); font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); font-weight:700; margin-bottom:3px; }
.info-item a, .info-item p { color: var(--earth); font-weight:600; font-size:1.02rem; margin:0; word-break: break-word; }
.info-item a:hover { color: var(--ochre); }

.form-card { background:#fff; border-radius: var(--radius); padding: clamp(26px,3vw,38px); box-shadow: var(--shadow); border:1px solid rgba(122,67,39,0.1); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:700; font-size:0.85rem; margin-bottom:7px; color: var(--earth); }
.field input, .field textarea, .field select {
  width:100%; padding: 13px 16px; border-radius: 12px; border:1.5px solid rgba(122,67,39,0.2);
  font-family: var(--ff-body); font-size:1rem; background:var(--cream); color:var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--ochre); box-shadow: 0 0 0 3px rgba(192,86,43,0.15); background:#fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

.map-wrap { border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); border:6px solid #fff; }
.map-wrap iframe { display:block; width:100%; height:380px; border:0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px,7vw,88px) 0 clamp(48px,6vw,70px); background: var(--cream-2); position:relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; right:-40px; bottom:-40px; width:220px; height:220px; border-radius:50%; background: radial-gradient(circle, rgba(224,166,46,0.22), transparent 70%); }
.page-hero .inner { max-width: 760px; position:relative; z-index:1; }
.crumbs { font-size:0.85rem; color: var(--muted); margin-bottom: 16px; font-weight:600; }
.crumbs a:hover { color: var(--ochre); }
.crumbs span { color: var(--ochre); }

/* ---------- Value list ---------- */
.value-item { display:flex; gap:18px; }
.value-item .vnum { font-family: var(--ff-head); font-size:1.6rem; font-weight:700; color: var(--gold); flex:none; width: 46px; }
.value-item h3 { font-size:1.25rem; margin-bottom:6px; }
.value-item p { color: var(--muted); margin:0; font-size:0.98rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--earth); color: rgba(244,231,210,0.75); padding: 66px 0 30px; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(244,231,210,0.14); }
.footer-brand .brand-text strong { color:#fff; }
.footer-brand p { font-size:0.95rem; margin-top:16px; max-width: 34ch; }
.foot-col h4 { color:#fff; font-family: var(--ff-body); font-size:0.82rem; letter-spacing:0.12em; text-transform:uppercase; margin-bottom:18px; font-weight:800; }
.foot-col ul { list-style:none; display:grid; gap:11px; }
.foot-col a, .foot-col li { font-size:0.95rem; color: rgba(244,231,210,0.75); transition: color .25s; }
.foot-col a:hover { color: var(--gold-soft); }
.footer-bottom { display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center; padding-top:26px; font-size:0.85rem; }
.footer-bottom .abn { color: rgba(244,231,210,0.6); }
.footer-ack { font-size:0.85rem; color: rgba(244,231,210,0.7); margin-top: 26px; font-style: italic; max-width: 70ch; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 20px auto 0; }
  .hero-visual .img-main img { height: 380px; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media img { height: 340px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; z-index: 120; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); background: var(--cream);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: 100px 26px 40px; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,0.5); z-index: 110;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .main-nav a.active:not(.nav-cta)::after { display: none; }
  .main-nav a.active:not(.nav-cta) { background: var(--cream-2); }
  .nav-cta { margin: 12px 0 0; text-align: center; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(36,24,18,0.4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 105; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-visual .img-float { width: 140px; left: -12px; }
  .hero-sticker { width: 82px; height: 82px; }
  .cta-band { text-align: center; }
  .cta-band .btn { width: 100%; }
}
