/* Cognito Mind — child therapy clinic
   Layout: soft rounded "tiles" on white, green + teal tints carry each section (from the brand's black/white base + 1788 C green / 2592 C teal). */
:root {
  --green: #87C443;      /* PANTONE 1788 C */
  --teal: #1DA8AF;       /* PANTONE 2592 C */
  --aqua: #26C4C4;       /* PANTONE 289 C swatch */
  --graphite: #525455;   /* PANTONE 7679 C */
  --ink: #0E1215;
  --paper: #FFFFFF;
  --green-tint: #EEF7E2;
  --green-soft: #DCEFC4;
  --teal-tint: #E3F5F5;
  --teal-soft: #C9ECEC;
  --mist: #F4F7F6;
  --line: #E1E7E5;
  --muted: #5E6664;
  --teal-ink: #137E84;   /* teal darkened for text contrast */
  --grad: linear-gradient(180deg, var(--green) 0%, var(--teal) 100%);
  --grad-soft: linear-gradient(120deg, var(--teal-tint) 0%, var(--green-tint) 55%, #F6FBEF 100%);

  --font-display: "Gadugi", "Noto Sans", "Segoe UI", sans-serif;
  --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Noto Sans", "Segoe UI", sans-serif;

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --max: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::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(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 58ch; }
.small { font-size: .875rem; color: var(--muted); }
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.accent-green { color: var(--green); }
.accent-teal { color: var(--teal); }

.wrap { max-width: var(--max); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.split-head > div { display: grid; gap: 18px; justify-items: start; }
.center-head { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: 44px; }
.center-head .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font: 600 .82rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 15px 22px; border-radius: 999px; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--teal-ink); }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: #79B43A; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.link-u { font: 600 .82rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.link-u:hover { color: var(--teal-ink); }
.pill-arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); color: var(--ink); flex: none; }
.btn-light .pill-arrow, .btn-green .pill-arrow { background: var(--ink); color: var(--paper); }
.circle-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .2s ease; flex: none; }
.circle-link:hover { transform: rotate(45deg); }
.circle-link.dark { background: var(--ink); color: var(--paper); }
.circle-link.outline { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--graphite); }
.chip.dark { background: var(--ink); color: var(--paper); }
.chip.outline { background: transparent; box-shadow: inset 0 0 0 1px var(--graphite); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand svg { width: 44px; height: 44px; }
.wordmark { font-family: var(--font-display); font-weight: 700; line-height: .92; letter-spacing: .02em; font-size: 1.06rem; }
.wordmark span { display: block; }
.wordmark .w1 { color: var(--green); }
.wordmark .w2 { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; text-decoration: none; font-size: .9rem; color: var(--graphite); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--mist); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--green-tint); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 12px 18px; }
.phone-chip { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.phone-chip .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-ink); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; place-items: center; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-block: 28px 20px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: stretch; }
.hero-copy { display: grid; align-content: space-between; gap: 36px; padding-block: 28px 6px; }
.hero-copy .stack { display: grid; gap: 22px; justify-items: start; }
.hero-copy h1 em { font-style: normal; color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.stat-card { display: flex; align-items: center; gap: 14px; background: var(--green-tint); border-radius: var(--r-md); padding: 16px 18px; }
.stat-card b { font-family: var(--font-display); font-weight: 500; font-size: 2rem; letter-spacing: -0.03em; line-height: 1; }
.stat-card small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.stat-inline b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 2rem; letter-spacing: -0.03em; line-height: 1; }
.stat-inline small { font-size: .8rem; color: var(--muted); }
.avatars { display: flex; }
.avatars img, .avatars span { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); margin-left: -9px; }
.avatars img:first-child { margin-left: 0; }
.avatars span { display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: .7rem; font-weight: 700; }

.hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--teal-tint); min-height: 480px; }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,168,175,0) 55%, rgba(14,18,21,.45) 100%); }
.hero-badge { position: absolute; top: 22px; left: 22px; z-index: 2; width: 116px; height: 116px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; text-decoration: none; }
.hero-badge svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.hero-badge text { font: 600 9.6px var(--font-body); letter-spacing: .12em; text-transform: uppercase; fill: var(--ink); }
.hero-badge .core { width: 46px; height: 46px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-tags { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: grid; grid-template-columns: repeat(3, 1fr); color: var(--paper); }
.hero-tags div { padding: 4px 16px; border-left: 1px solid rgba(255,255,255,.55); font-size: .92rem; line-height: 1.3; }
.hero-tags div:first-child { border-left: 0; padding-left: 0; }

/* ---------- Feature tiles row (under hero) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 200px; color: var(--paper); text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; isolation: isolate; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.tile:hover > img { transform: scale(1.04); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,18,21,0) 40%, rgba(14,18,21,.7) 100%); }
.tile .circle-link { width: 34px; height: 34px; }
.tile h4 { font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: 0; max-width: 18ch; }
.tile.quote { background: var(--green-tint); color: var(--ink); }
.tile.quote::before { display: none; }
.tile.quote p { font-size: 1rem; line-height: 1.45; }
.tile.quote .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tile.quote .qmark { font-family: Georgia, serif; font-size: 2.4rem; line-height: .5; color: var(--green); }

/* ---------- Program cards ---------- */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.program { background: var(--teal-tint); border-radius: var(--r-md); padding: 18px 18px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.program:nth-child(even) { background: var(--green-tint); }
.program h3 { font-size: 1.4rem; }
.program .small { min-height: 3.2em; }
.program .age { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.program .media { position: relative; margin: auto -6px 6px;  border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 4.2; max-width: calc(100% + 12px); }
.program .media img { width: 100%; height: 100%; object-fit: cover; }
.program .media .btn { position: absolute; left: 12px; bottom: 12px; padding: 7px 7px 7px 14px; font-size: .7rem; background: rgba(14,18,21,.6); color: var(--paper); backdrop-filter: blur(6px); }

/* ---------- Info bento ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bento-left { display: grid; gap: 16px; }
.b-card { border-radius: var(--r-lg); padding: 24px; position: relative; overflow: hidden; }
.b-yellow { background: var(--green-tint); display: grid; gap: 28px; align-content: space-between; }
.b-yellow .top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.big-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
.b-photo { min-height: 260px; color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.b-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.b-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,18,21,.45), rgba(14,18,21,0) 45%, rgba(14,18,21,.35)); }
.b-photo h3 { font-size: 1.6rem; }
.b-tall { background: var(--teal-tint); min-height: 560px; padding: 30px; display: flex; flex-direction: column; gap: 18px; isolation: isolate; }
.b-tall h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 16ch; }
.b-tall > img { position: absolute; right: 0; bottom: 0; width: 64%; height: 60%; object-fit: cover; object-position: 50% 15%; z-index: -1; border-top-left-radius: 120px; }
.b-tall .badge-float { position: absolute; left: 30px; bottom: 30px; background: var(--paper); border-radius: var(--r-sm); padding: 14px 16px; display: grid; gap: 2px; max-width: 220px; }
.b-tall .badge-float b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1; }

/* ---------- Support / care-anywhere ---------- */
.support-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 16px; }
.support-grid .photo-lg { border-radius: var(--r-lg); overflow: hidden; min-height: 380px; position: relative; }
.support-grid .photo-lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.support-right { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto 1fr; gap: 16px; }
.feature-list { background: var(--mist); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; align-content: center; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.feature-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ico { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex: none; }
.ico svg { width: 17px; height: 17px; }
.team-mini { background: var(--teal-tint); border-radius: var(--r-lg); display: grid; place-items: center; padding: 18px; gap: 8px; text-align: center; }
.team-mini .avatars img { width: 46px; height: 46px; margin-left: -12px; }
.support-right .photo-sm { border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 190px; }
.support-right .photo-sm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-mini { background: var(--green-soft); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.cta-mini .row { display: flex; gap: 6px; align-items: center; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-lg); background: var(--grad-soft); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: center; overflow: hidden; min-height: 320px; }
.cta-band .copy { display: grid; gap: 18px; justify-items: start; position: relative; z-index: 1; }
.cta-band .copy p { max-width: 50ch; color: var(--muted); }
.cta-band .art { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(460px, 46%); opacity: .95; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.3fr; gap: 32px; padding-bottom: 44px; }
.footer-grid .about p { margin-top: 14px; color: var(--muted); font-size: .9rem; max-width: 34ch; }
.footer-grid h5 { margin: 0 0 14px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); font-weight: 600; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.footer-links a { text-decoration: none; color: var(--ink); }
.footer-links a:hover { color: var(--teal-ink); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: .9rem; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--teal); }
.newsletter { display: flex; gap: 6px; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); margin-top: 6px; }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font: inherit; font-size: .9rem; outline: none; }
.newsletter .btn { padding: 12px 16px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.socials a:hover { background: var(--ink); color: var(--paper); }
.socials svg { width: 16px; height: 16px; }
.footer-bar { background: var(--ink); color: rgba(255,255,255,.72); font-size: .8rem; }
.footer-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 16px; }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bar a { text-decoration: none; color: inherit; }
.footer-bar a:hover { color: var(--paper); }
.form-note { font-size: .82rem; color: var(--teal-ink); min-height: 1.2em; margin-top: 8px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: 28px 8px; }
.page-hero .panel { border-radius: var(--r-lg); background: var(--grad-soft); padding: clamp(32px, 6vw, 72px) clamp(24px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: end; position: relative; overflow: hidden; }
.page-hero .panel > div:not(.mark) { display: grid; gap: 16px; justify-items: start; position: relative; z-index: 1; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero .mark { position: absolute; right: -50px; top: -40px; width: 300px; opacity: .16; pointer-events: none; }

/* ---------- Generic grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { border-radius: var(--r-md); padding: 24px; background: var(--mist); display: grid; gap: 12px; align-content: start; }
.card.teal { background: var(--teal-tint); }
.card.green { background: var(--green-tint); }
.card.dark { background: var(--ink); color: var(--paper); }
.card.dark .small { color: rgba(255,255,255,.7); }
.card .ico { background: var(--paper); color: var(--teal-ink); width: 46px; height: 46px; }
.card .ico svg { width: 22px; height: 22px; }
.card.dark .ico { background: var(--green); color: var(--ink); }
.rounded-img { border-radius: var(--r-lg); overflow: hidden; }
.rounded-img img { width: 100%; height: 100%; object-fit: cover; }
.stack { display: grid; gap: 18px; justify-items: start; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1215' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row div { padding: 28px 22px; border-left: 1px solid var(--line); }
.stats-row div:first-child { border-left: 0; }
.stats-row b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.04em; color: var(--teal); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats-row span { font-size: .9rem; color: var(--muted); }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { border-radius: var(--r-lg); padding: 30px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.value h3 { font-size: 2rem; }
.value:nth-child(1) { background: var(--green); }
.value:nth-child(2) { background: var(--teal); color: var(--paper); }
.value:nth-child(2) .small { color: rgba(255,255,255,.85); }
.value:nth-child(3) { background: var(--ink); color: var(--paper); }
.value:nth-child(3) .small { color: rgba(255,255,255,.7); }
.value:nth-child(1) .small { color: rgba(14,18,21,.75); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: step; content: "Step " counter(step); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }

/* Services detail */
.service-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 40px; border-top: 1px solid var(--line); }
.service-row:nth-child(even) .rounded-img { order: 2; }
.service-row .rounded-img { aspect-ratio: 5 / 4; max-width: 100%; }
.service-row .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--graphite); }
.service-row .meta b { color: var(--ink); }

/* Pricing / packages */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border-radius: var(--r-lg); padding: 28px; background: var(--mist); display: grid; gap: 16px; align-content: start; }
.plan.featured { background: var(--ink); color: var(--paper); }
.plan.featured .small, .plan.featured .check-list { color: rgba(255,255,255,.82); }
.plan .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-family: var(--font-body); font-size: .85rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan.featured .price small { color: rgba(255,255,255,.65); }

/* Team */
.team-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.team-filter button { font: 500 .86rem var(--font-body); padding: 10px 18px; border-radius: 999px; border: 0; background: var(--mist); color: var(--graphite); cursor: pointer; }
.team-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member { display: grid; gap: 12px; align-content: start; }
.member .photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 5 / 6; background: var(--teal-tint); position: relative; max-width: 100%; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.member:hover .photo img { transform: scale(1.04); }
.member .photo .chip { position: absolute; left: 12px; top: 12px; }
.member h4 { font-size: 1.15rem; }
.member .role { font-size: .88rem; color: var(--teal-ink); font-weight: 500; }
.member .creds { font-size: .82rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--mist); border-radius: var(--r-md); padding: 4px 22px; }
.faq details[open] { background: var(--teal-tint); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 70ch; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.post .thumb { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post:hover .thumb img { transform: scale(1.04); }
.post .meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); }
.post h3 { font-size: 1.25rem; }
.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; background: var(--green-tint); border-radius: var(--r-lg); padding: 16px; text-decoration: none; margin-bottom: 40px; }
.post-featured .thumb { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; }
.post-featured .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-featured .body { display: grid; gap: 14px; justify-items: start; padding: 12px 20px 12px 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.form-card { background: var(--mist); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .8rem; font-weight: 600; color: var(--graphite); }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { cursor: pointer; position: relative; }
.field .radio-row input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.radio-row span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; font-weight: 500; color: var(--graphite); }
.radio-row input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.radio-row input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.success { display: grid; gap: 12px; justify-items: start; padding: 10px 0; }
.hours { display: grid; gap: 6px; font-size: .92rem; }
.hours div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; font-variant-numeric: tabular-nums; }
.map-card { border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 260px; background: var(--teal-tint); }
.map-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 12px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.map-card .pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote-card { border-radius: var(--r-lg); padding: 26px; background: var(--mist); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote-card:nth-child(2) { background: var(--teal-tint); }
.quote-card p { font-size: 1.05rem; line-height: 1.5; }
.quote-card .who { display: flex; align-items: center; gap: 12px; font-size: .86rem; }
.quote-card .who .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green); font-weight: 700; color: var(--ink); }
.stars { color: var(--green); letter-spacing: 2px; }

/* Reveal */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal.pre { opacity: 0; transform: translateY(18px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 10px; }
  .phone-chip { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--gutter-r) 18px var(--gutter-l); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .nav-cta .btn { display: none; }
  .hero-grid, .split-head, .grid-2, .cta-band, .page-hero .panel, .contact-grid, .post-featured, .service-row, .bento, .support-grid { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .rounded-img { order: 0; }
  .hero-media { min-height: 420px; }
  .tiles, .programs, .grid-4, .team-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .posts, .quotes, .plans, .values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row div:nth-child(3) { border-left: 0; }
  .stats-row div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-band .art { opacity: .25; width: 70%; }
  .b-tall { min-height: 480px; }
  .post-featured .body { padding: 4px 8px 12px; }
}
@media (max-width: 600px) {
  .tiles, .programs, .grid-3, .grid-4, .team-grid, .posts, .quotes, .plans, .values, .timeline, .footer-grid, .support-right { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .program .media { aspect-ratio: 16 / 10; }
  .tile { min-height: 220px; }
  .hero-tags { grid-template-columns: 1fr; gap: 6px; }
  .hero-tags div { border-left: 0; padding-left: 0; }
  .hero-badge { width: 92px; height: 92px; }
  .hero-badge text { font-size: 8px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .b-tall > img { width: 100%; height: 55%; border-top-left-radius: 0; }
  .b-tall .badge-float { left: 18px; bottom: 18px; }
}
