/* ==========================================================================
   Tiny Scholars Daycare — Malvern, Arkansas
   Palette: bark + leaf-green (from the logo) + amber rope + pond teal
   Type:    Bricolage Grotesque (display) / Nunito Sans (text) / Caveat (notes)
   ========================================================================== */

/* ---------- Tokens: light is the base, every color defined here ---------- */
:root {
  --bark:        #1E2A20;
  --bark-soft:   #33422F;
  --leaf:        #8CC63E;
  --leaf-deep:   #5E9425;
  --leaf-wash:   #EDF4E1;
  --sun:         #F2A93B;
  --sun-wash:    #FDF0DC;
  --pond:        #2E7D8F;
  --pond-wash:   #E2F0F2;

  /* Buttons keep their own tokens so the label stays legible in both themes */
  --btn-bg:        #4C7A1C;
  --btn-bg-hover:  #3A5F13;
  --btn-fg:        #FFFFFF;
  --btn-sun-bg:       #F2A93B;
  --btn-sun-bg-hover: #DE9220;
  --btn-sun-fg:       #35230A;

  --paper:       #FBFAF6;
  --surface:     #FFFFFF;
  --mist:        #F0F3EA;
  --line:        #DCE3D3;
  --ink:         #1E2A20;
  --ink-2:       #46543F;
  --muted:       #66735F;

  --shadow-sm: 0 1px 2px rgba(30, 42, 32, .06), 0 6px 16px -10px rgba(30, 42, 32, .22);
  --shadow-md: 0 2px 4px rgba(30, 42, 32, .05), 0 22px 44px -26px rgba(30, 42, 32, .40);

  --leaf-mask: 56% 12% 56% 12% / 48% 16% 48% 16%;
  --radius:    18px;
  --radius-sm: 12px;

  --step--1: clamp(.82rem, .80rem + .10vw, .90rem);
  --step-0:  clamp(1rem, .97rem + .16vw, 1.10rem);
  --step-1:  clamp(1.18rem, 1.10rem + .38vw, 1.40rem);
  --step-2:  clamp(1.45rem, 1.28rem + .80vw, 1.95rem);
  --step-3:  clamp(1.80rem, 1.48rem + 1.50vw, 2.85rem);
  --step-4:  clamp(2.20rem, 1.62rem + 2.70vw, 4.10rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap:   1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bark:      #0F150F;
    --bark-soft: #1A241A;
    --leaf:      #A3DB5C;
    --leaf-deep: #8CC63E;
    --leaf-wash: #1D2A18;
    --sun:       #F4B75C;
    --sun-wash:  #2B2114;
    --pond:      #74C3D2;
    --pond-wash: #16282C;

    --btn-bg:        #A3DB5C;
    --btn-bg-hover:  #C4EA90;
    --btn-fg:        #0F150F;
    --btn-sun-bg:       #F4B75C;
    --btn-sun-bg-hover: #F9CE8B;
    --btn-sun-fg:       #241703;

    --paper:     #121812;
    --surface:   #18211A;
    --mist:      #1C261C;
    --line:      #2C3A2B;
    --ink:       #EAF1E4;
    --ink-2:     #C3D2BB;
    --muted:     #93A38C;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.40), 0 6px 16px -10px rgba(0,0,0,.70);
    --shadow-md: 0 2px 4px rgba(0,0,0,.35), 0 22px 44px -26px rgba(0,0,0,.85);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bark:      #0F150F;
  --bark-soft: #1A241A;
  --leaf:      #A3DB5C;
  --leaf-deep: #8CC63E;
  --leaf-wash: #1D2A18;
  --sun:       #F4B75C;
  --sun-wash:  #2B2114;
  --pond:      #74C3D2;
  --pond-wash: #16282C;

  --btn-bg:        #A3DB5C;
  --btn-bg-hover:  #C4EA90;
  --btn-fg:        #0F150F;
  --btn-sun-bg:       #F4B75C;
  --btn-sun-bg-hover: #F9CE8B;
  --btn-sun-fg:       #241703;

  --paper:     #121812;
  --surface:   #18211A;
  --mist:      #1C261C;
  --line:      #2C3A2B;
  --ink:       #EAF1E4;
  --ink-2:     #C3D2BB;
  --muted:     #93A38C;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.40), 0 6px 16px -10px rgba(0,0,0,.70);
  --shadow-md: 0 2px 4px rgba(0,0,0,.35), 0 22px 44px -26px rgba(0,0,0,.85);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--leaf-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: "Bricolage Grotesque", "Nunito Sans", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -.01em; }
p  { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 66ch; }

.eyebrow {
  font-family: "Nunito Sans", sans-serif;
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--leaf);
  border-radius: 2px;
  flex: none;
}
.note {
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--muted);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: .7rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: var(--step-0);
  line-height: 1.1;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn svg { flex: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-sm); }
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--btn-bg-hover); color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--leaf); background: var(--leaf-wash); color: var(--ink); transform: translateY(-2px); }
.btn-sun { background: var(--btn-sun-bg); color: var(--btn-sun-fg); }
.btn-sun:hover,
.btn-sun:focus-visible { background: var(--btn-sun-bg-hover); color: var(--btn-sun-fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex; align-items: center; gap: 1rem;
  min-height: 78px;
}
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { height: 46px; width: auto; max-width: none; flex: none; }
:root[data-theme="dark"] .brand img { filter: invert(1) hue-rotate(180deg) brightness(1.15); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img { filter: invert(1) hue-rotate(180deg) brightness(1.15); }
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: .5rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--leaf-deep); background: var(--leaf-wash); }

.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-cta .btn { padding: .72rem 1.15rem; font-size: .93rem; }
.phone-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.phone-link:hover { color: var(--leaf-deep); }

.nav-toggle {
  display: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: .6rem; cursor: pointer; color: var(--ink);
}

@media (max-width: 1080px) {
  .nav a { padding: .5rem .5rem; font-size: .9rem; }
  .header-cta .phone-link { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: .2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.6rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .28s ease;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
  }
  .nav a { padding: .85rem .9rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav.open { transform: translateY(0); }
  .nav .nav-extra { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
}
.nav .nav-extra { display: none; }
@media (max-width: 900px) { .nav .nav-extra { display: flex; } }

/* ---------- Section rhythm ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-mist { background: var(--mist); }
.section-head { display: grid; gap: .9rem; max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(120% 90% at 88% 4%, var(--leaf-wash) 0%, transparent 58%),
    radial-gradient(90% 70% at 4% 96%, var(--sun-wash) 0%, transparent 55%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { display: grid; gap: 1.4rem; justify-items: start; }
.hero h1 .swing { color: var(--leaf-deep); display: inline-block; }
.hero-lead { font-size: var(--step-1); color: var(--ink-2); max-width: 46ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: .5rem .6rem;
  padding-top: .4rem;
}
.fact {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem .95rem;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink-2);
}
.fact svg { color: var(--leaf-deep); flex: none; }

/* Hero photo cluster — leaf-shaped masks echo the tree in the logo */
.hero-art { position: relative; }
.hero-art .photo-main {
  border-radius: var(--leaf-mask);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow-md);
  background: var(--mist);
}
.hero-art .photo-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .photo-chip {
  position: absolute;
  left: -6%;
  bottom: 8%;
  width: 43%;
  border-radius: 22px 22px 22px 6px;
  overflow: hidden;
  border: 5px solid var(--paper);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--mist);
}
.hero-art .photo-chip img { width: 100%; height: 100%; object-fit: cover; }

.swing-badge {
  position: absolute;
  right: 2%;
  top: -10px;
  background: var(--sun);
  color: #3A2708;
  border-radius: 16px;
  padding: .7rem 1rem;
  font-weight: 800;
  line-height: 1.15;
  font-size: .9rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transform-origin: 50% -34px;
  animation: sway 6s ease-in-out infinite;
}
.swing-badge::before {
  content: "";
  position: absolute;
  left: 50%; top: -34px;
  width: 2px; height: 34px;
  background: var(--sun);
  transform: translateX(-50%);
}
.swing-badge small { display: block; font-weight: 700; font-size: .74rem; opacity: .8; letter-spacing: .06em; text-transform: uppercase; }
@keyframes sway {
  0%, 100% { transform: rotate(-3.5deg); }
  50%      { transform: rotate(3.5deg); }
}
@media (prefers-reduced-motion: reduce) { .swing-badge { animation: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; }
  .hero-art .photo-chip { width: 38%; left: -4%; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background:
    radial-gradient(100% 120% at 92% 0%, var(--leaf-wash) 0%, transparent 60%),
    var(--paper);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.page-banner .inner { display: grid; gap: 1rem; max-width: 64ch; }
.page-banner p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.crumbs { font-size: var(--step--1); color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--leaf-deep); }

/* ---------- Highlights strip ---------- */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.highlight {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  display: grid;
  gap: .6rem;
  align-content: start;
}
.highlight .ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--leaf-wash);
  color: var(--leaf-deep);
}
.highlight:nth-child(2) .ic { background: var(--sun-wash); color: #B87514; }
.highlight:nth-child(3) .ic { background: var(--pond-wash); color: var(--pond); }
.highlight:nth-child(5) .ic { background: var(--sun-wash); color: #B87514; }
.highlight h3 { font-size: 1.05rem; }
.highlight p { font-size: var(--step--1); color: var(--muted); line-height: 1.5; }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-copy { display: grid; gap: 1.1rem; align-content: start; }
.split-copy p { color: var(--ink-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.leaf {
  border-radius: var(--leaf-mask);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
}
.split-media.framed {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
}
.split.reverse .split-media { order: 2; }
@media (max-width: 720px) { .split.reverse .split-media { order: -1; } }

/* ---------- Program cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--leaf); }
.card .thumb { aspect-ratio: 16 / 11; overflow: hidden; background: var(--mist); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.card-body { padding: 1.25rem 1.25rem 1.45rem; display: grid; gap: .6rem; align-content: start; }
.card-body p { font-size: var(--step--1); color: var(--muted); line-height: 1.55; }
.age-tag {
  justify-self: start;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--leaf-deep); background: var(--leaf-wash);
  padding: .3rem .65rem; border-radius: 999px;
}
.card-link {
  margin-top: auto; padding: 0 1.25rem 1.25rem;
  font-weight: 800; font-size: .92rem; color: var(--leaf-deep); text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
}
.card-link:hover { gap: .6rem; }

/* ---------- Program detail rows ---------- */
.prog-row { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.prog-row + .prog-row { margin-top: clamp(2.5rem, 6vw, 5rem); padding-top: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.prog-row .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-md); }
.prog-row .media img { width: 100%; height: 100%; object-fit: cover; }
.prog-row:nth-child(even) .media { order: 2; }
.prog-copy { display: grid; gap: .9rem; align-content: start; }
.prog-copy p { color: var(--ink-2); }
@media (max-width: 820px) {
  .prog-row { grid-template-columns: 1fr; }
  .prog-row:nth-child(even) .media { order: -1; }
}

/* ---------- Steps (enrollment) ---------- */
.steps { display: grid; gap: 1.1rem; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 1.05rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Info panels ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid; gap: 1rem; align-content: start;
}
.panel.accent { background: var(--leaf-wash); border-color: color-mix(in srgb, var(--leaf) 40%, var(--line)); }
.panel.sun { background: var(--sun-wash); border-color: color-mix(in srgb, var(--sun) 40%, var(--line)); }
.panel h3 { font-size: var(--step-1); }
.panel p { color: var(--ink-2); }
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }

.hours-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 700;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }

.holiday-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.holiday-list li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: baseline;
  padding: .85rem .2rem;
  border-bottom: 1px dashed var(--line);
}
.holiday-list li:last-child { border-bottom: 0; }
.holiday-list .leafdot { width: 9px; height: 9px; border-radius: 50% 8% 50% 8%; background: var(--leaf); transform: rotate(20deg); }
.holiday-list .when { color: var(--muted); font-size: var(--step--1); font-weight: 700; white-space: nowrap; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}
.gallery-grid button {
  padding: 0; border: 0; cursor: zoom-in; background: var(--mist);
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-grid button:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid button:nth-child(1),
.gallery-grid button:nth-child(6) { grid-row: span 2; aspect-ratio: 4 / 5; }
@media (max-width: 560px) {
  .gallery-grid button:nth-child(1),
  .gallery-grid button:nth-child(6) { grid-row: auto; aspect-ratio: 4 / 3; }
}

.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .8rem;
}
.strip a { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1; background: var(--mist); box-shadow: var(--shadow-sm); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.strip a:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(12, 18, 12, .88);
  display: grid; place-items: center;
  padding: var(--gutter);
}
.lightbox img { max-width: min(1000px, 92vw); max-height: 84vh; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.lightbox button {
  position: absolute; top: 1rem; right: 1rem;
  background: #fff; color: #1E2A20; border: 0;
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bark);
  color: #EAF1E4;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(2rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  box-shadow: var(--shadow-md);
}
.cta-band h2, .cta-band h3 { color: #FFFFFF; }
.cta-band p { color: #C6D6BE; }
.cta-band .btn-ghost { color: #EAF1E4; border-color: rgba(234, 241, 228, .35); }
.cta-band .btn-ghost:hover { background: rgba(234, 241, 228, .1); border-color: var(--leaf); }
.cta-copy { display: grid; gap: 1rem; justify-items: start; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-details { display: grid; gap: .9rem; }
.cta-detail {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(234, 241, 228, .14);
  border-radius: var(--radius-sm);
  padding: .95rem 1.05rem;
}
.cta-detail svg { color: var(--leaf); margin-top: 3px; }
.cta-detail strong { display: block; color: #fff; font-size: .95rem; }
.cta-detail span, .cta-detail a { color: #C6D6BE; font-size: .95rem; text-decoration: none; }
.cta-detail a:hover { color: var(--leaf); text-decoration: underline; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote {
  display: grid; gap: 1.1rem;
  border-left: 4px solid var(--leaf);
  padding-left: clamp(1.1rem, 3vw, 2rem);
  max-width: 62ch;
}
.quote p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: var(--step-2);
  line-height: 1.28;
  letter-spacing: -.015em;
  color: var(--ink);
}
.quote cite { font-style: normal; font-weight: 800; font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 800; font-size: var(--step--1); color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.form-note { font-size: var(--step--1); color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bark);
  color: #C6D6BE;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.8rem, 4vw, 3rem);
}
.site-footer h4 {
  color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  font-family: "Nunito Sans", sans-serif; font-weight: 800; margin-bottom: .9rem;
}
.site-footer a { color: #C6D6BE; text-decoration: none; }
.site-footer a:hover { color: var(--leaf); text-decoration: underline; }
.footer-brand img { height: 62px; width: auto; max-width: none; filter: invert(1) hue-rotate(180deg) brightness(1.2); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-size: .95rem; line-height: 1.6; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(234,241,228,.16);
  color: #EAF1E4;
}
.socials a:hover { background: var(--leaf); color: #16210F; border-color: var(--leaf); }
.footer-bottom {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(234,241,228,.14);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: #93A88B;
}

/* ---------- Reveal on scroll (visible by default; JS opts in) ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; }
}
