/* Gateway Learning Tree Daycare
   Layout: left-aligned, photo-led sections on white and classroom-wall blue;
   photos carry a leaf-shaped corner (three round corners, one tight). */
:root {
  --paper: #FFFFFF;
  --sky: #E6F3FC;
  --wall: #2273AE;
  --wall-ink: #FFFFFF;
  --ink: #1B2F55;
  --ink-soft: #4B5B79;
  --leaf: #2E7A38;
  --sun: #FFC53D;
  --sun-ink: #1B2F55;
  --red: #D63A3A;
  --line: #D3E2EE;
  --card: #FFFFFF;
  --shadow: 0 10px 30px rgba(27, 47, 85, 0.10);
  --head: #1B2F55;

  --c-red: #E23D3D;
  --c-purple: #8B4FB3;
  --c-yellow: #E9A800;
  --c-blue: #1E88E5;

  --display: "Fredoka", "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --leaf-r: 56px 56px 56px 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1828; --sky: #15243A; --wall: #1A5C8F; --wall-ink: #FFFFFF;
    --ink: #EAF2FB; --ink-soft: #A8BAD0; --leaf: #6CC27A; --sun: #FFC53D; --sun-ink: #13213B;
    --red: #FF6B6B; --line: #253A55; --card: #132137; --shadow: 0 10px 30px rgba(0, 0, 0, 0.35); --head: #0A1424;
    --c-red: #FF6B6B; --c-purple: #C08BE6; --c-yellow: #FFC53D; --c-blue: #5CB3FF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1828; --sky: #15243A; --wall: #1A5C8F; --wall-ink: #FFFFFF;
  --ink: #EAF2FB; --ink-soft: #A8BAD0; --leaf: #6CC27A; --sun: #FFC53D; --sun-ink: #13213B;
  --red: #FF6B6B; --line: #253A55; --card: #132137; --shadow: 0 10px 30px rgba(0, 0, 0, 0.35); --head: #0A1424;
  --c-red: #FF6B6B; --c-purple: #C08BE6; --c-yellow: #FFC53D; --c-blue: #5CB3FF;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--leaf); }
:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
.lede { font-size: clamp(1.125rem, 2vw, 1.3rem); color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--sun-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--sky { background: var(--sky); }
.section--wall { background: var(--wall); color: var(--wall-ink); }
.section--wall a { color: var(--wall-ink); }
.section--wall .muted, .section--wall .lede { color: var(--wall-ink); opacity: 0.88; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--lg { gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 44rem; margin-bottom: clamp(32px, 5vw, 52px); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--head); color: #FFFFFF; border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand svg { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.2rem; white-space: nowrap; }
.brand-name b { color: var(--leaf); font-weight: 600; }
.crayon { font-family: var(--display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; }
.crayon span:nth-child(1), .crayon span:nth-child(6) { color: var(--c-red); }
.crayon span:nth-child(2) { color: var(--c-purple); }
.crayon span:nth-child(3), .crayon span:nth-child(5) { color: var(--c-yellow); }
.crayon span:nth-child(4), .crayon span:nth-child(7) { color: var(--c-blue); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 10px; color: #FFFFFF; }
.nav a:hover { background: rgba(255,255,255,0.10); color: #FFFFFF; }
.nav a[aria-current="page"] { color: #9BD46A; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid rgba(255,255,255,0.55); color: #FFFFFF; font-weight: 800; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone:hover { background: #FFFFFF; color: #1B2F55; border-color: #FFFFFF; }
.header-phone svg { flex: none; }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,0.4); border-radius: 12px; width: 48px; height: 48px; color: #FFFFFF; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1100px) {
  .header-phone { display: none; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--head); border-bottom: 1px solid rgba(255,255,255,0.12); padding: 8px var(--gutter) 18px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,0.12); border-radius: 0; }
  .header-cta .btn { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 1.1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--sun { background: var(--sun); color: var(--sun-ink); }
.btn--sun:hover { background: #FFB800; color: var(--sun-ink); }
.btn--line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--sky); color: var(--ink); }
.section--wall .btn--line { color: var(--wall-ink); }
.section--wall .btn--line:hover { background: rgba(255, 255, 255, 0.12); color: var(--wall-ink); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Photos */
.photo { border-radius: var(--leaf-r); overflow: hidden; background: var(--sky); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-photo { position: relative; }
.hero-photo .photo { aspect-ratio: 4 / 4.4; max-width: 100%; }
.sticker { position: absolute; left: -22px; bottom: 28px; width: 168px; height: 168px; border-radius: 50%; background: var(--sun); color: var(--sun-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg); box-shadow: var(--shadow); padding: 14px; }
.sticker strong { font-family: var(--display); font-size: 2.3rem; line-height: 0.95; font-weight: 700; }
.sticker span { font-weight: 800; font-size: 0.85rem; line-height: 1.2; max-width: 7.5em; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { order: -1; }
  .hero-photo .photo { aspect-ratio: 4 / 3; }
  .sticker { left: auto; right: 12px; bottom: -28px; width: 132px; height: 132px; }
  .sticker strong { font-size: 2rem; }
  .sticker span { font-size: 0.8rem; }
}

/* Facts */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { flex: none; margin-top: 2px; }
.facts strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.facts span { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* Programs */
.programs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.program { background: var(--card); border: 2px solid var(--line); border-radius: 28px; padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.program-mark { width: 56px; height: 56px; border-radius: 18px 18px 18px 6px; display: flex; align-items: center; justify-content: center; color: #FFFFFF; }
.program-mark--red { background: var(--c-red); }
.program-mark--yellow { background: var(--c-yellow); color: #1B2F55; }
.program-mark--green { background: var(--leaf); }
.program-mark--blue { background: var(--c-blue); }
.program p { color: var(--ink-soft); }
.program a { margin-top: auto; font-weight: 800; }
@media (max-width: 980px) { .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .programs { grid-template-columns: minmax(0, 1fr); } }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media .photo { aspect-ratio: 5 / 4; }
.split-media--tall .photo { aspect-ratio: 4 / 5; }
.split-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split--flip .split-media { order: 0; } }

.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Hours strip */
.hours-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.clock-line { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; font-family: var(--display); }
.clock-line .t { font-size: clamp(3.2rem, 9vw, 6rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.clock-line .to { font-size: 1.4rem; font-weight: 500; opacity: 0.85; }
@media (max-width: 860px) { .hours-strip { grid-template-columns: minmax(0, 1fr); } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--sky); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-a { grid-column: span 3; grid-row: span 4; }
.g-b { grid-column: span 3; grid-row: span 2; }
.g-c { grid-column: span 2; grid-row: span 2; }
.g-d { grid-column: span 1; grid-row: span 2; }
.g-e { grid-column: span 3; grid-row: span 2; }
.g-f { grid-column: span 3; grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .g-a, .g-b, .g-c, .g-d, .g-e, .g-f { grid-column: span 1; grid-row: span 2; }
  .g-a, .g-d { grid-column: span 2; }
}

/* Location */
.location { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.location .photo, .location .map { aspect-ratio: 4 / 3; }
.address { font-style: normal; font-family: var(--display); font-size: 1.5rem; line-height: 1.3; }
@media (max-width: 860px) { .location { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { max-width: 18ch; }

/* Page intro */
.page-intro { padding-block: clamp(40px, 7vw, 84px) clamp(32px, 5vw, 56px); background: var(--sky); }
.page-intro .wrap { display: flex; flex-direction: column; gap: 18px; }
.crumb { font-weight: 800; color: var(--leaf); font-size: 1rem; }

/* Program detail */
.program-detail { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding-block: clamp(36px, 5vw, 56px); border-bottom: 2px solid var(--line); }
.program-detail:last-child { border-bottom: 0; }
.program-detail h2 { display: flex; align-items: center; gap: 16px; }
.program-detail .stack { min-width: 0; }
@media (max-width: 860px) { .program-detail { grid-template-columns: minmax(0, 1fr); } }

.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.option { background: var(--card); border: 2px solid var(--line); border-radius: 26px; padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.option h3 { font-size: 1.6rem; }
.option .muted { font-size: 1rem; }
@media (max-width: 860px) { .options { grid-template-columns: minmax(0, 1fr); } }

/* Day timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 24px; padding-block: 20px; border-bottom: 2px dashed var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--leaf); font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline h3 { font-size: 1.3rem; margin-bottom: 4px; }
@media (max-width: 520px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.centres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.centre { border-radius: 24px; padding: 24px; background: var(--card); border: 2px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.centre h3 { font-size: 1.3rem; }
.centre p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 860px) { .centres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .centres { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-radius: 26px; background: var(--card); border: 2px solid var(--line); }
.steps li::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; background: var(--sun); color: var(--sun-ink); font-family: var(--display); font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Promo panel */
.promo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; background: var(--sun); color: var(--sun-ink); border-radius: 32px; padding: clamp(24px, 4vw, 40px); }
.promo-big { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7vw, 4.75rem); line-height: 0.9; }
.promo h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.promo p { color: var(--sun-ink); }
.promo .btn--line { color: var(--sun-ink); }
.promo .btn--line:hover { background: rgba(27, 47, 85, 0.08); color: var(--sun-ink); }
@media (max-width: 860px) { .promo { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 2px solid var(--line); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: 24px; color: var(--ink-soft); max-width: 46rem; }

/* Form */
.form-card { background: var(--card); border: 2px solid var(--line); border-radius: 32px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 1rem; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 52px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.25); }
.form-note { font-size: 0.95rem; color: var(--ink-soft); }
.form-status { font-weight: 800; color: var(--leaf); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 26px; }
.info-list h3 { font-size: 1.15rem; color: var(--leaf); margin-bottom: 6px; }
.big-link { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); text-decoration: none; font-variant-numeric: tabular-nums; word-break: break-word; }
.hours-table { border-collapse: collapse; width: 100%; max-width: 26rem; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 700; }
.hours-table td { text-align: right; }
.map { border-radius: var(--leaf-r); overflow: hidden; border: 2px solid var(--line); aspect-ratio: 4 / 3; background: var(--sky); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 56px 32px; }
.site-footer a { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font-size: 1.1rem; margin-bottom: 12px; color: var(--sun); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid p { opacity: 0.88; }
.footer-brand { font-family: var(--display); font-size: 1.6rem; font-weight: 600; line-height: 1.15; margin-bottom: 10px; }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.95rem; opacity: 0.8; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
:root[data-theme="dark"] .site-footer { background: #081120; color: #EAF2FB; }
:root[data-theme="dark"] .site-footer a { color: #EAF2FB; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: #081120; color: #EAF2FB; } :root:not([data-theme="light"]) .site-footer a { color: #EAF2FB; } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 700px) {
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .call-bar .btn { min-height: 48px; font-size: 1rem; padding: 8px 12px; }
  body { padding-bottom: 76px; }
}

/* Logos */
.brand { padding: 4px 0; }
.brand-logo { height: 58px; width: auto; display: block; }
.footer-logo { width: 120px; height: auto; background: #FFFFFF; border-radius: 24px; padding: 12px; margin-bottom: 16px; }
@media (max-width: 480px) { .brand-logo { height: 40px; } }

/* Grant card */
.grant-card { background: var(--card); border: 2px solid var(--line); border-radius: var(--leaf-r); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.grant-tag { align-self: flex-start; background: var(--sun); color: var(--sun-ink); font-weight: 800; font-size: 0.95rem; padding: 6px 14px; border-radius: 999px; }
.grant-card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.grant-card p { color: var(--ink-soft); }
.grant-card a { font-weight: 800; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; background: var(--card); border: 2px solid var(--line); border-radius: 26px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.review--lead { grid-column: 1 / -1; background: var(--sky); border-color: transparent; padding: clamp(26px, 4vw, 40px); }
.review--lead blockquote { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; color: var(--ink); }
.review blockquote { margin: 0; color: var(--ink); }
.review figcaption { font-weight: 800; color: var(--leaf); margin-top: auto; }
.stars { color: #E9A800; letter-spacing: 0.12em; font-size: 1.15rem; }
.split-copy .review { background: var(--card); }
@media (max-width: 860px) { .reviews { grid-template-columns: minmax(0, 1fr); } }
