/* ============================================================
   BW Tutoring & Intervention — styles
   Warm, nurturing, Australian-natural. Cozy-Hollow-inspired.
   Vanilla CSS, mobile-first, WCAG-AA minded.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Type */
  --font-head: "Chewy", "Trebuchet MS", system-ui, cursive;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --maxw: 1120px;
  --maxw-narrow: 760px;
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 40px -28px rgba(46, 56, 44, 0.45);
  --shadow-card: 0 24px 50px -34px rgba(46, 56, 44, 0.55);

  /* Palette — Eucalyptus & Ochre (default).
     The Tweaks panel swaps these six per named palette. */
  --bg:        #F7F3EA;
  --bg-alt:    #ECEFE4;
  --bg-deep:   #36473A;
  --heading:   #2E4233;
  --accent:    #C0894A;
  --cta:       #A8593A;

  /* Derived / stable tokens (kept dark enough for AA in every palette) */
  --surface:   #FDFBF5;
  --border:    #E4DCCC;
  --text:      #41453C;
  --text-soft: #6B6E61;
  --cta-text:  #FBF5EC;
  --on-deep:   #F1EDE0;
  --on-deep-soft: rgba(241, 237, 224, 0.72);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.0625rem; /* 17px */
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; }

::selection { background: color-mix(in oklch, var(--accent) 30%, transparent); }

/* ---------- Focus (a11y) ---------- */
:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--bg-deep);
  color: var(--on-deep);
  padding: 12px 20px;
  border-radius: 10px;
  z-index: 200;
  transition: top 0.2s ease;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.narrow { max-width: var(--maxw-narrow); }

section { padding-block: var(--section-y); position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow .sprig { width: 22px; height: 22px; }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

h2.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  margin-bottom: 1rem;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-soft);
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 14px 26px -16px color-mix(in oklch, var(--cta) 80%, black);
}
.btn-primary:hover { transform: translateY(-2px); background: color-mix(in oklch, var(--cta) 88%, black); }
.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: color-mix(in oklch, var(--heading) 30%, transparent);
}
.btn-ghost:hover { background: color-mix(in oklch, var(--heading) 8%, transparent); transform: translateY(-2px); }
.btn-on-deep { background: var(--bg); color: var(--heading); }
.btn-on-deep:hover { background: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1.2rem 2.4rem; font-size: 1.05rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.25rem, 5vw, 3rem);
  background: color-mix(in oklch, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand .sprig { width: 30px; height: 30px; flex: none; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--heading);
  letter-spacing: 0;
  line-height: 1;
}
.brand-name .amp { color: var(--accent); }

.nav { display: none; align-items: center; gap: 2rem; }
.nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--heading); }
.header-cta { display: inline-flex; }
.header-cta .btn { padding: 0.78rem 1.4rem; font-size: 0.95rem; }

@media (min-width: 900px) {
  .nav { display: flex; }
}

/* ============================================================
   HERO — illustrated Australian-bushland scene
   ============================================================ */
:root {
  /* Scene shades derive from the palette tokens, so the landscape
     re-tints automatically with every Tweaks palette. */
  --scene-far:    color-mix(in oklch, var(--heading) 20%, var(--bg));
  --scene-mid:    color-mix(in oklch, var(--heading) 34%, var(--bg));
  --scene-hill:   color-mix(in oklch, var(--heading) 50%, var(--bg));
  --scene-forest: color-mix(in oklch, var(--heading) 64%, var(--bg));
  --scene-near:   color-mix(in oklch, var(--heading) 80%, var(--bg));
  --scene-ground: var(--heading);
  --scene-cloud:  color-mix(in oklch, white 90%, var(--bg));
  --scene-water:  color-mix(in oklch, white 70%, var(--scene-far));
  --scene-foam:   color-mix(in oklch, white 84%, var(--bg));
  --scene-wall:   color-mix(in oklch, var(--bg) 45%, white);
  --scene-wall2:  color-mix(in oklch, var(--bg) 22%, white);
  --scene-roof:   var(--cta);
  --scene-roof2:  color-mix(in oklch, var(--cta) 64%, var(--scene-ground));
  --scene-door:   var(--accent);
  --scene-window: color-mix(in oklch, var(--accent) 50%, white);
  --scene-path:   color-mix(in oklch, var(--accent) 38%, var(--scene-near));
  --sky-top:      color-mix(in oklch, var(--bg) 90%, white);
  --sky-bot:      color-mix(in oklch, var(--bg-alt) 55%, var(--scene-far));
}

.hero {
  position: relative;
  min-height: clamp(600px, 94vh, 880px);
  padding-top: clamp(6.5rem, 14vh, 9.5rem);
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--sky-top) 0%, var(--sky-bot) 74%);
  display: flex;
  flex-direction: column;
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: 820px; margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  margin-bottom: 1.7rem;
  letter-spacing: 0;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Sky + drifting clouds */
.hero-sky { position: absolute; inset: 0 0 auto 0; height: 74%; z-index: 1; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; color: var(--scene-cloud); will-change: transform; filter: drop-shadow(0 6px 9px color-mix(in oklch, var(--scene-far) 32%, transparent)); }
.cloud svg { width: 100%; height: auto; display: block; }
.cloud.c1 { top: 10%; width: clamp(150px, 18vw, 280px); animation: cloud-drift 70s linear infinite; }
.cloud.c2 { top: 22%; width: clamp(110px, 13vw, 200px); opacity: 0.92; animation: cloud-drift 95s linear infinite; animation-delay: -30s; }
.cloud.c3 { top: 6%;  width: clamp(90px, 10vw, 160px); opacity: 0.8;  animation: cloud-drift 120s linear infinite; animation-delay: -70s; }
.cloud.c4 { top: 34%; width: clamp(120px, 14vw, 220px); opacity: 0.85; animation: cloud-drift 84s linear infinite; animation-delay: -52s; }
.cloud.c5 { top: 16%; width: clamp(80px, 9vw, 150px); opacity: 0.7;  animation: cloud-drift 132s linear infinite; animation-delay: -18s; }
.cloud.c6 { top: 30%; width: clamp(70px, 8vw, 130px); opacity: 0.62; animation: cloud-drift 150s linear infinite; animation-delay: -100s; }
@keyframes cloud-drift {
  from { transform: translateX(-34vw); }
  to   { transform: translateX(170vw); }
}

/* Waterfall flow + foam */
.fall-streak { animation: fall-flow 1.6s linear infinite; }
.fall-streak.f2 { animation-duration: 2.2s; animation-delay: -0.7s; }
.fall-streak.f3 { animation-duration: 1.9s; animation-delay: -1.1s; }
@keyframes fall-flow { 0% { transform: translateY(-12px); opacity: .3; } 50% { opacity: .85; } 100% { transform: translateY(16px); opacity: .3; } }
.foam-puff { transform-box: fill-box; transform-origin: center; animation: foam-bob 3.4s ease-in-out infinite; }
.foam-puff.b2 { animation-duration: 2.6s; animation-delay: -1s; }
@keyframes foam-bob { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* Landscape */
.hero-scene { position: absolute; inset: auto 0 0 0; z-index: 2; width: 100%; line-height: 0; pointer-events: none; }
.hero-scene svg { width: 100%; height: auto; display: block; }
.hero-scene .layer { will-change: transform; }
.tree-sway { transform-box: fill-box; transform-origin: bottom center; animation: tree-sway 7s ease-in-out infinite; }
.tree-sway.s2 { animation-duration: 9.5s; animation-delay: -2s; }
.tree-sway.s3 { animation-duration: 8s; animation-delay: -4s; }
@keyframes tree-sway { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1.3deg); } }

/* What we provide — slim band under the scene */
.provide-band { padding-block: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.hero-to-about { background: var(--bg); padding-top: clamp(1.25rem, 3vw, 2.25rem); }
.hero-to-about .divider { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; max-width: 880px; margin-inline: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Wave / hill dividers ----------
   A divider lives as the last child of a section. The section drops its
   bottom padding (.has-wave) and the divider's margin-top restores the
   breathing room, so the wave sits flush against the next section whose
   background colour the divider's fill matches. */
.divider {
  display: block;
  width: 100%;
  height: auto;
  color: var(--bg-alt);
  margin-top: var(--section-y);
  margin-bottom: -1px;
}
.divider.to-bg { color: var(--bg); }
.divider.to-alt { color: var(--bg-alt); }
.divider.to-deep { color: var(--bg-deep); }
section.has-wave { padding-bottom: 0; }
.hero.has-wave { padding-bottom: 0; }

/* ============================================================
   ABOUT / OUR STORY
   ============================================================ */
.about { background: var(--bg-alt); }
.about-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
.about-text p { margin-bottom: 1.1rem; color: var(--text); line-height: 1.8; }
.about-text p:last-child { margin-bottom: 0; }
.about-text .lead-quote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 400;
  color: var(--heading);
  line-height: 1.5;
  margin-bottom: 1.6rem;
}

.about-media { display: grid; gap: 1.25rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  color: var(--heading);
  display: block;
  line-height: 1;
}
.stat .num.heart { color: var(--cta); }
.stat .lbl {
  font-size: 0.82rem; font-weight: 700; color: var(--text-soft);
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.6rem;
  display: block; line-height: 1.4;
}

/* Photo placeholder */
.photo-ph {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--surface);
  background-image: repeating-linear-gradient(
    135deg,
    color-mix(in oklch, var(--heading) 7%, transparent) 0 12px,
    transparent 12px 24px
  );
  min-height: 320px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 2rem;
  overflow: hidden;
}
.photo-ph .ph-tag {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-soft);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  letter-spacing: 0.02em;
}
.photo-ph .ph-note { font-size: 0.82rem; color: var(--text-soft); max-width: 240px; margin-inline: auto; }

.founder-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 18px 40px -22px color-mix(in oklch, var(--heading) 55%, transparent);
}
.founder-photo img { display: block; width: 100%; height: auto; object-fit: cover; }

@media (min-width: 880px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; }
  .about-grid.flip .about-media { order: -1; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: 1fr;
}
.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: color-mix(in oklch, var(--accent) 45%, var(--border)); }
.service .ico {
  width: 54px; height: 54px;
  display: grid; place-content: center;
  border-radius: 14px;
  background: color-mix(in oklch, var(--accent) 16%, var(--surface));
  color: var(--heading);
  margin-bottom: 1.2rem;
}
.service .ico svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.32rem; margin-bottom: 0.6rem; }
.service p { font-size: 0.98rem; color: var(--text-soft); line-height: 1.7; }

@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* Specialist support band */
.specialist {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  background: var(--bg-deep);
  color: var(--on-deep);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.2rem, 4.5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.specialist .sp-decor { position: absolute; right: -40px; top: -40px; width: 260px; color: var(--on-deep); opacity: 0.07; pointer-events: none; }
.specialist .sp-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: color-mix(in oklch, var(--accent) 70%, white);
  margin-bottom: 1rem;
}
.specialist h3 { color: var(--on-deep); font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.9rem; max-width: 620px; }
.specialist .sp-intro { color: var(--on-deep-soft); max-width: 640px; margin-bottom: 2rem; font-size: 1.05rem; }
.sp-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; position: relative; }
.sp-item {
  border: 1px solid rgba(241, 237, 224, 0.16);
  background: rgba(241, 237, 224, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
}
.sp-item h4 { font-family: var(--font-head); font-weight: 400; color: var(--on-deep); font-size: 1.25rem; margin-bottom: 0.5rem; }
.sp-item p { color: var(--on-deep-soft); font-size: 0.96rem; line-height: 1.65; }
@media (min-width: 760px) { .sp-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   HOW SESSIONS WORK
   ============================================================ */
.sessions { background: var(--bg-alt); }
.modes { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.mode {
  text-align: center;
  padding: 1.5rem 1.25rem;
}
.mode .ico {
  width: 70px; height: 70px; margin: 0 auto 1.2rem;
  display: grid; place-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--heading);
  box-shadow: var(--shadow-soft);
}
.mode .ico svg { width: 34px; height: 34px; }
.mode h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.mode p { color: var(--text-soft); font-size: 0.98rem; max-width: 300px; margin-inline: auto; }
@media (min-width: 760px) { .modes { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.why-card {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.why-card .num {
  flex: none;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--accent);
  width: 46px; height: 46px;
  display: grid; place-content: center;
  border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 14%, var(--surface));
  border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent);
}
.why-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.7; }
@media (min-width: 820px) { .why-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-alt); }
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--heading);
  text-align: left;
  padding: 1.3rem 1.5rem;
}
.faq-q .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform 0.3s ease; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
}
.faq-q .plus::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.faq-q .plus::after { left: 11px; top: 3px; bottom: 3px; width: 2px; transition: transform 0.3s ease; }
.faq-item[open] .faq-q .plus::after { transform: scaleY(0); }
.faq-a { padding: 0 1.5rem 1.4rem; color: var(--text-soft); line-height: 1.75; }
.faq-a p { font-size: 0.98rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-deep); color: var(--on-deep); }
.contact .eyebrow { color: color-mix(in oklch, var(--accent) 72%, white); }
.contact h2.section-title { color: var(--on-deep); }
.contact .lede { color: var(--on-deep-soft); }
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
.contact-info p { color: var(--on-deep-soft); margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.8; }
.contact-detail { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.contact-detail .ci {
  width: 42px; height: 42px; flex: none;
  display: grid; place-content: center; border-radius: 12px;
  background: rgba(241,237,224,0.08); color: var(--on-deep);
}
.contact-detail .ci svg { width: 20px; height: 20px; }
.contact-detail a, .contact-detail span.val { color: var(--on-deep); text-decoration: none; font-weight: 600; }
.contact-detail a:hover { text-decoration: underline; }
.contact-detail .placeholder-flag {
  font-family: ui-monospace, Menlo, monospace; font-size: 0.7rem;
  color: var(--bg-deep); background: color-mix(in oklch, var(--accent) 65%, white);
  border-radius: 6px; padding: 0.15rem 0.5rem; margin-left: 0.5rem; font-weight: 700;
}

/* Form */
.enquiry {
  background: var(--surface);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--heading); text-transform: uppercase;
}
.field label .req { color: var(--cta); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--cta) 22%, transparent);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }
.form-msg { font-size: 0.95rem; font-weight: 700; }
.form-msg.ok { color: #2E7D52; }
.form-msg.err { color: var(--cta); }
.form-fine { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.9rem; }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-deep);
  color: var(--on-deep-soft);
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(241,237,224,0.1);
}
.site-footer .f-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--on-deep);
  margin-bottom: 0.4rem;
}
.site-footer .f-brand .amp { color: color-mix(in oklch, var(--accent) 72%, white); }
.site-footer .f-tag { font-style: italic; margin-bottom: 1.2rem; }
.site-footer .f-sprig { width: 36px; margin: 0 auto 1.2rem; color: color-mix(in oklch, var(--accent) 60%, white); opacity: 0.8; }
.site-footer .f-copy { font-size: 0.85rem; opacity: 0.7; }
.site-footer .f-abn { font-size: 0.78rem; opacity: 0.55; letter-spacing: 0.02em; margin-top: 0.35rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* Child stagger: container reveals immediately, children cascade in */
.reveal.stagger { opacity: 1; transform: none; transition: none; }
.reveal.stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.stagger.in > * { opacity: 1; transform: none; }
.reveal.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal.stagger.in > *:nth-child(2) { transition-delay: 0.14s; }
.reveal.stagger.in > *:nth-child(3) { transition-delay: 0.23s; }
.reveal.stagger.in > *:nth-child(4) { transition-delay: 0.32s; }
.reveal.stagger.in > *:nth-child(5) { transition-delay: 0.41s; }

/* Header gently drops in on first load */
@keyframes header-drop {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
.site-header { animation: header-drop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal.stagger > * { opacity: 1; transform: none; }
  .hero-decor .float { animation: none; }
}
