/* ==========================================================================
   Smart Steps Early Learning Centre — smartsteps.com.au
   Brand system: core red + taupe + black/white, with a childlike
   complementary accent assigned per page family.
   Custom ink-line motifs live in assets/brand/ and are tinted via CSS masks.
   Type: Bricolage Grotesque (display) · Figtree (body).
   Mobile-first · WCAG AA contrast · reduced-motion respected.
   ========================================================================== */

:root {
  /* --- Core brand ------------------------------------------------------- */
  --brand-red: #d12229;
  --brand-red-deep: #a3161c;
  --brand-taupe: #dedaba;
  --brand-taupe-soft: #ece9d8;
  --brand-black: #000008;
  --brand-white: #ffffff;

  /* --- Complementary accents (each with its pale tint) ------------------ */
  --c-yellow: #f3b632;    --c-yellow-tint: #fdedd0;
  --c-coral:  #e87563;    --c-coral-tint:  #fadfda;
  --c-teal:   #509eb8;    --c-teal-tint:   #d8e7ed;
  --c-plum:   #8e485d;    --c-plum-tint:   #e3d5da;
  --c-sage:   #9ab28e;    --c-sage-tint:   #e6ebe5;
  --c-navy:   #192b49;    --c-navy-tint:   #ccd0d5;

  /* Per-page accent (overridden by body.acc-* below) — defaults to the core */
  --accent: var(--brand-red);
  --accent-tint: var(--brand-taupe-soft);
  --accent-ink: #141418;

  /* --- Mapped to the existing component tokens -------------------------- */
  --pine: var(--brand-red);
  --pine-deep: #141418;
  --sage: var(--accent);
  --sage-tint: var(--accent-tint);
  --ochre: var(--brand-red);
  --ochre-deep: var(--brand-red-deep);
  --cream: #fbfaf6;
  --sand: var(--brand-taupe-soft);
  --sand-line: var(--brand-taupe);
  --card: #ffffff;
  --ink: #1b1b1f;
  --ink-soft: #55565c;
  --placeholder-bg: #fdf3e3;
  --placeholder-line: #e0b25f;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 8, 0.05), 0 10px 30px -18px rgba(0, 0, 8, 0.28);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

/* One complementary accent per page — calm, not carnival. */
body.acc-core   { --accent: var(--brand-red); --accent-tint: var(--brand-taupe-soft); --accent-ink: #141418; }
body.acc-yellow { --accent: #9a6210; --accent-tint: var(--c-yellow-tint); --accent-ink: #6a4208; }
body.acc-coral  { --accent: #b5412f; --accent-tint: var(--c-coral-tint); --accent-ink: #7d2c1f; }
body.acc-teal   { --accent: #2f6d84; --accent-tint: var(--c-teal-tint); --accent-ink: #21505f; }
body.acc-plum   { --accent: #7c3b4f; --accent-tint: var(--c-plum-tint); --accent-ink: #582937; }
body.acc-navy   { --accent: #1f3355; --accent-tint: var(--c-navy-tint); --accent-ink: #16233d; }
body.acc-sage   { --accent: #607956; --accent-tint: var(--c-sage-tint); --accent-ink: #405339; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--pine-deep);
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine-deep); }
strong { color: var(--pine-deep); }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.45em; }

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--pine-deep); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.wrap-narrow { max-width: 800px; }

/* --- Placeholder chips: unmistakable "[CLIENT TO CONFIRM]" styling ------- */
.ph {
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-line);
  border-radius: 6px;
  padding: 0 0.35em;
  font-family: var(--font-body);
  font-size: 0.92em;
  color: var(--ochre-deep);
  white-space: normal;
}

/* --- Launch ribbon -------------------------------------------------------- */
.ribbon {
  background: var(--pine-deep);
  color: #f4efe2;
  font-size: 0.88rem;
  text-align: center;
  padding: 0.5rem 1rem;
  letter-spacing: 0.01em;
  position: relative;
  display: grid;
}
.ribbon strong { color: var(--ochre); font-weight: 600; }
.ribbon-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  color: inherit;
  text-decoration: none;
}
.ribbon-slide.is-active { opacity: 1; visibility: visible; }
a.ribbon-slide:hover { color: #fff; }
a.ribbon-slide:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .ribbon { display: block; }
  .ribbon-slide { opacity: 1; visibility: visible; transition: none; display: inline; }
  .ribbon-hiring::before { content: " · "; }
}


/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-line);
}
.header-inner {
  display: flex; align-items: center; gap: 2rem;
  padding: 0.9rem clamp(1.1rem, 4vw, 2rem);
  max-width: 1320px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center;
  color: var(--brand-red); text-decoration: none;
}
.brand-logo {
  display: block;
  width: clamp(112px, 9vw, 138px);
  height: auto;
}
.site-footer .brand-logo { width: clamp(150px, 14vw, 190px); }

.nav { display: none; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.header-cta .btn { white-space: nowrap; }
.header-phone { display: none; font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--pine-deep); white-space: nowrap; }

.nav-toggle {
  margin-left: 0.2rem;
  background: none; border: 1px solid var(--sand-line); border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem; cursor: pointer; color: var(--pine-deep);
  display: inline-flex; align-items: center;
}

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .header-phone { display: inline-block; }
  .nav { display: flex; gap: 0.7rem; margin-left: 1.25rem; }
  .nav > div { position: relative; }
  .nav a.top, .nav button.top {
    font: 600 0.85rem/1 var(--font-body);
    color: var(--ink); text-decoration: none; background: none; border: 0;
    padding: 0.65rem 0.7rem; border-radius: var(--radius-sm); cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.3rem;
    white-space: nowrap;
  }
  .nav a.top:hover, .nav button.top:hover { background: var(--sand); }
  .nav .menu {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: var(--card); border: 1px solid var(--sand-line);
    border-radius: var(--radius-sm); box-shadow: var(--shadow);
    padding: 0.45rem; display: none; z-index: 110;
  }
  .nav div:hover > .menu, .nav div:focus-within > .menu { display: block; }
  .nav .menu a {
    display: block; padding: 0.55rem 0.7rem; border-radius: 8px;
    font-size: 0.94rem; text-decoration: none; color: var(--ink);
  }
  .nav .menu a:hover { background: var(--sage-tint); color: var(--pine-deep); }
}

@media (min-width: 1000px) and (max-width: 1200px) {
  .header-inner { gap: 1rem; padding-left: 1.1rem; padding-right: 1.1rem; }
  .nav { gap: 0.25rem; margin-left: 0.4rem; }
  .nav a.top, .nav button.top { padding: 0.55rem 0.4rem; font-size: 0.74rem; }
  .header-phone { display: none; }
  .header-cta { gap: 0.75rem; }
  .header-cta .btn { padding: 0.55rem 0.9rem; font-size: 0.88rem; }
}

/* Mobile drawer */
.drawer {
  display: none; background: var(--cream);
  border-bottom: 1px solid var(--sand-line);
  padding: 0.6rem clamp(1.1rem, 4vw, 2rem) 1.4rem;
  max-height: calc(100vh - 110px); overflow: auto;
}
.drawer.open { display: block; }
.drawer h4 { margin: 1rem 0 0.3rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-soft); font-family: var(--font-body); font-weight: 700; }
.drawer a { display: block; padding: 0.5rem 0; text-decoration: none; font-weight: 500; }
.drawer .drawer-phone { font-weight: 700; color: var(--pine-deep); }
@media (min-width: 1000px) { .drawer { display: none !important; } }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 1rem/1.2 var(--font-body);
  border-radius: 999px; padding: 0.85rem 1.6rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--pine-deep); border-color: var(--pine); }
.btn-secondary:hover { background: var(--sage-tint); }
.btn-ochre { background: var(--ochre); color: #3a2a08; }
.btn-ochre:hover { background: #c88c2e; color: #2c1f04; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* --- Sections --------------------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-sand { background: var(--sand); }
.section-pine { background: var(--pine-deep); color: #f1ede2; }
.section-pine h2, .section-pine h3 { color: #fdfaf2; }
.section-pine strong, .offer strong { color: #fdfaf2; }
.section-pine a { color: var(--brand-taupe); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: 700 0.8rem/1 var(--font-body);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ochre-deep); margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: ""; width: 24px; height: 24px; flex: 0 0 24px;
  background: url("brand/smart-steps-brandmark-icon.svg") center / contain no-repeat;
}
.section-pine .eyebrow { color: var(--ochre); }

.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 62ch; }
.section-pine .lede { color: #ded9cb; }

/* Stepped divider between key bands (signature motif) */
.step-divider { height: 26px; position: relative; overflow: hidden; }
.step-divider svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* --- Hero ------------------------------------------------------------------- */
.hero { padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2.4rem, 5vw, 4rem); overflow: hidden; }
.hero-grid { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.12fr 0.88fr; } }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-bottom: 1.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.3rem; }
.micro-trust { font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.micro-trust span { white-space: nowrap; }
.hero-art { position: relative; }
.hero-art figcaption { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.6rem; }

/* --- Trust band -------------------------------------------------------------- */
.trust-band { border-top: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); background: var(--card); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; padding: 1.6rem 0; }
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .trust-grid { grid-template-columns: repeat(6, 1fr); } }
.trust-item { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; font-size: 0.86rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.trust-item svg { width: 26px; height: 26px; color: var(--sage); }

/* --- Cards ------------------------------------------------------------------- */
.card-grid { display: grid; gap: 1.3rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--sand-line);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0.4rem; }
.card .age-tag {
  display: inline-block; font: 700 0.78rem/1 var(--font-body);
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--sage-tint); color: var(--pine-deep);
  border-radius: 999px; padding: 0.4rem 0.8rem;
}
.card-link { font-weight: 700; text-decoration: none; }
.card-link::after {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-left: 0.5em;
  background: currentColor; vertical-align: -0.12em;
  -webkit-mask: url("/site/assets/icons/arrow-forward.svg") center / contain no-repeat;
  mask: url("/site/assets/icons/arrow-forward.svg") center / contain no-repeat;
}

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage-tint); color: var(--pine-deep); margin-bottom: 0.35rem;
}
.card-icon svg { width: 24px; height: 24px; }
.checklist-grid .card { padding: 1.35rem 1.4rem; }
.checklist-grid .card h3 { margin-top: 0.5rem; margin-bottom: 0.4rem; font-size: 1.06rem; }
.checklist-grid .card p { margin: 0; }

.pillar { display: flex; gap: 1rem; align-items: flex-start; }
.pillar svg { flex: 0 0 auto; width: 34px; height: 34px; color: var(--sage); margin-top: 0.2rem; }
.pillar h3 { font-size: 1.12rem; margin-bottom: 0.25rem; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.pillar p + p { margin-top: 0.6rem; }
.pillar .card-link { margin-top: 0.7rem; }


/* --- Offer / scarcity module -------------------------------------------------- */
.offer {
  background: linear-gradient(140deg, var(--pine-deep), var(--pine));
  color: #f2f0e6; border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem);
  position: relative; overflow: hidden;
}
.offer h2, .offer h3 { color: #fdfaf2; }
.offer ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.offer li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.6rem; }
.offer li svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--ochre); margin-top: 0.25rem; }
.offer .fine { font-size: 0.85rem; color: #fbe4e1; }
.offer .steps-bg { position: absolute; right: -20px; bottom: -20px; opacity: 0.12; width: 220px; }

/* --- Founder / split blocks ---------------------------------------------------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.quote {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 600; color: var(--pine-deep); line-height: 1.35;
  border-left: 4px solid var(--ochre); padding-left: 1.1rem; margin: 0 0 1.2rem;
}
.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--sand); aspect-ratio: 4 / 3;
}
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

.photo-slot {
  background: var(--sand); border: 1px dashed var(--placeholder-line);
  border-radius: var(--radius); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ochre-deep); font-weight: 600; padding: 1.2rem; font-size: 0.95rem;
}

/* --- Practicals bar ------------------------------------------------------------ */
.practicals { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.6rem; }
@media (min-width: 720px) { .practicals { grid-template-columns: repeat(3, 1fr); } .practicals-2 { grid-template-columns: 1fr 1fr; } }
.practical { background: var(--card); border: 1px solid var(--sand-line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-size: 0.95rem; }
.practical strong { display: block; margin-bottom: 0.2rem; }

/* --- Top-aligned split + CCS timeline + settling-in cards ----------------------- */
.split-top { align-items: start; }

.ccs-timeline { list-style: none; margin: 1.4rem 0 0; padding: 0; position: relative; }
.ccs-timeline li { position: relative; padding: 0 0 1.3rem 3.4rem; }
.ccs-timeline li:last-child { padding-bottom: 0; }
.ccs-timeline li::before {
  content: counter(ccs-step); counter-increment: ccs-step;
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  background: var(--sage-tint); color: var(--pine-deep);
}
.ccs-timeline { counter-reset: ccs-step; }
.ccs-timeline li::after {
  content: ""; position: absolute; left: 16px; top: 40px; bottom: 6px;
  width: 2px; background: var(--sand-line);
}
.ccs-timeline li:last-child::after { display: none; }
.ccs-timeline li:nth-child(1)::before { background: #f4e3c2; color: var(--ochre-deep); }
.ccs-timeline li:nth-child(3)::before { background: var(--pine); color: #fff; }
.ccs-timeline strong { display: block; margin-bottom: 0.15rem; }
.ccs-timeline p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

.settle-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.4rem; }
@media (min-width: 720px) { .settle-grid { grid-template-columns: 1fr 1fr; } }
.settle-card {
  background: var(--card); border: 1px solid var(--sand-line);
  border-radius: var(--radius-sm); padding: 1.1rem 1.2rem;
}
.settle-card .card-icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 0.55rem; }
.settle-card .card-icon svg { width: 20px; height: 20px; }
.settle-card strong { display: block; margin-bottom: 0.2rem; }
.settle-card p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }

.split-footer {
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--sand-line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
}
.split-footer p { margin: 0; max-width: 46ch; }
.split-footer .hero-ctas { margin: 0; }

/* --- Steps (how to enrol — real sequence) --------------------------------------- */
.enrol-steps { counter-reset: step; display: grid; gap: 1.3rem; }
@media (min-width: 760px) { .enrol-steps { grid-template-columns: repeat(3, 1fr); } }
.enrol-step { position: relative; background: var(--card); border: 1px solid var(--sand-line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; }
.enrol-step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage-tint); color: var(--pine-deep);
  font: 700 1.3rem/1 var(--font-display); margin-bottom: 0.8rem;
}
.enrol-step:nth-child(2)::before { background: #f4e3c2; color: var(--ochre-deep); }
.enrol-step:nth-child(3)::before { background: var(--pine); color: #fff; }

/* --- Forms ----------------------------------------------------------------------- */
form.lead { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.3rem; }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: 0.84rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--card); border: 1px solid #cfc9b6; border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ochre); outline-offset: 1px; border-color: var(--ochre-deep); }
.field .error-msg { display: none; color: #a33b2a; font-size: 0.85rem; margin-top: 0.25rem; font-weight: 600; }
.field.invalid .error-msg { display: block; }
.field.invalid input, .field.invalid select { border-color: #a33b2a; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-success {
  display: none; background: var(--sage-tint); border: 1px solid var(--sage);
  border-radius: var(--radius); padding: 1.6rem; margin-top: 0.5rem;
}
.form-success.show { display: block; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; font-family: var(--font-display); color: var(--pine-deep); font-size: 1.1rem; margin-bottom: 0.6rem; }

/* Time-slot picker */
.slot-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.slot {
  border: 1.5px solid var(--sand-line); background: var(--card); border-radius: 999px;
  font: 600 0.9rem/1 var(--font-body); padding: 0.6rem 1rem; cursor: pointer; color: var(--ink);
}
.slot[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }

/* --- Calculator -------------------------------------------------------------------- */
.calc { background: var(--card); border: 1px solid var(--sand-line); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.2rem); box-shadow: var(--shadow); }
.calc-grid { display: grid; gap: 1.8rem; }
@media (min-width: 880px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
.calc-output { background: var(--sand); border-radius: var(--radius); padding: 1.5rem; }
.calc-figure { font: 700 clamp(2.2rem, 5vw, 3rem)/1 var(--font-display); color: var(--pine-deep); }
.calc-figure small { font: 600 1rem/1 var(--font-body); color: var(--ink-soft); }
.calc-breakdown { list-style: none; padding: 0; margin: 1.1rem 0 0; font-size: 0.94rem; }
.calc-breakdown li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--sand-line); margin: 0; }
.calc-breakdown li:last-child { border-bottom: 0; }
.calc-note { font-size: 0.83rem; color: var(--ink-soft); margin-top: 1rem; }
output { display: block; }
input[type="range"] { width: 100%; accent-color: var(--pine); }

/* --- FAQ accordion -------------------------------------------------------------------- */
.faq-item { border: 1px solid var(--sand-line); border-radius: var(--radius-sm); background: var(--card); margin-bottom: 0.8rem; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.2rem;
  font-weight: 700; font-family: var(--font-display); color: var(--pine-deep);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--sage); flex: 0 0 auto; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 1.2rem 1.2rem; color: var(--ink-soft); }

/* --- Gallery / media placeholders --------------------------------------------------- */
.media-band { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .media-band { grid-template-columns: repeat(4, 1fr); } }
.media-slot {
  aspect-ratio: 1; border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--sage-tint), var(--sand));
  border: 1px dashed var(--sand-line);
  display: flex; align-items: flex-end; padding: 0.8rem;
  font-size: 0.78rem; font-weight: 600; color: var(--ink-soft);
}

/* --- Blog teaser ---------------------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; }
.post-card .media-slot { aspect-ratio: 16/10; margin-bottom: 1rem; }
.post-card time { font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* --- Final CTA band --------------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; margin-top: 1.4rem; }
.cta-band .call-line { margin-top: 1.1rem; font-weight: 600; }

/* --- Footer ------------------------------------------------------------------------------- */
.site-footer { background: var(--pine-deep); color: #ded9cb; font-size: 0.94rem; }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fdfaf2; font-size: 0.95rem; margin-bottom: 0.7rem; }
.site-footer a { color: #f1ede2; text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45em; }
.footer-ack { border-top: 1px solid rgba(255,255,255,0.14); padding: 1.4rem 0; font-size: 0.85rem; color: #c9c3b2; }
.footer-careers {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 700; color: var(--ochre);
  border: 1px solid rgba(216, 155, 61, 0.55);
  border-radius: 999px; padding: 0.3rem 0.75rem; margin: 0.2rem 0;
}
.site-footer a.footer-careers:hover { background: rgba(216, 155, 61, 0.16); color: var(--brand-taupe); }
.footer-social { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.footer-social a { display: inline-flex; align-items: center; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.14); padding: 1.4rem 0 1.6rem; font-size: 0.82rem; color: #c9c3b2; }

/* --- Page hero (interior pages) ------------------------------------------------------------ */
.page-hero { padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(1.6rem, 4vw, 2.6rem); }
.page-hero h1 { max-width: 22ch; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumb a { color: var(--ink-soft); }

/* --- Reveal animation (respects reduced motion) ---------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* --- Utility -------------------------------------------------------------------------------- */
.mt-1 { margin-top: 0.6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; }
.checklist li svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--sage); margin-top: 0.3rem; }
.notice {
  background: var(--sage-tint); border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.2rem; font-size: 0.95rem;
}
.notice-ochre { background: var(--placeholder-bg); border-left-color: var(--ochre); }
.table-wrap { overflow-x: auto; }
table.plain { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
table.plain th, table.plain td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--sand-line); }
table.plain th { font-family: var(--font-display); color: var(--pine-deep); }

