/* ==========================================================================
   Components — each maps to an Elementor container/widget pattern
   (see docs/elementor-implementation-guide.md)
   ========================================================================== */

/* ---------- Buttons (PDF Step 1 global styles) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--f-body); font-size: var(--t-label); font-weight: 600; line-height: 1.2;
  letter-spacing: var(--btn-track); text-transform: uppercase; text-align: center;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; }
/* Primary: deep teal, white text, square — "Book a Coffee Chat" (and landing-page main action) */
.btn--primary { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--c-accent-hover); border-color: var(--c-accent-hover); }
/* Secondary: black outline, black text — every other button */
.btn--secondary { background: transparent; color: var(--c-text); border-color: var(--c-line-strong); }
.btn--secondary:hover, .btn--secondary:focus-visible { background: var(--c-text); color: #fff; }
.on-dark .btn--secondary, .hero--home .btn--secondary { color: #fff; border-color: #fff; }
.on-dark .btn--secondary:hover, .hero--home .btn--secondary:hover,
.on-dark .btn--secondary:focus-visible, .hero--home .btn--secondary:focus-visible { background: #fff; color: var(--c-text); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn--block { width: 100%; }

.text-link {
  font-weight: 500; text-decoration: underline; text-underline-offset: 0.25em;
  display: inline-flex; min-height: 44px; align-items: center;
}

/* ---------- Header (Theme Builder header) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 239, 0.94);       /* live header: #F7F4EF at ~85–100% */
  -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
.site-header__inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 1rem; min-height: var(--header-h);
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { width: 90px; height: auto; aspect-ratio: 744 / 576; object-fit: contain; }
.primary-nav { justify-self: center; }
.primary-nav ul { list-style: none; display: flex; gap: 0.25rem; }
.primary-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0.75rem;
  font-size: var(--t-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--c-text); white-space: nowrap;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 50% calc(100% - 10px);
  transition: background-size var(--dur) var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background-size: calc(100% - 1.5rem) 1px; }
.primary-nav a[aria-current="page"] { font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--c-line-strong);
  background: transparent; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Landing-page header variant: logo only (PDF Phase 2 rules) */
.site-header--landing .site-header__inner { grid-template-columns: 1fr; justify-items: start; }

/* ---------- Footer (Theme Builder footer) ---------- */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-text); font-size: var(--t-small); }
.site-footer a { color: #fff; }
.site-footer__cta {
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.site-footer__cta .container { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.site-footer__cta p { font-family: var(--f-head); font-size: var(--t-h4); color: #fff; margin: 0; max-width: 32rem; line-height: 1.25; }
.site-footer__main { padding-block: clamp(3rem, 2.2rem + 3vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer-brand img { width: 96px; height: 96px; background: #fff; padding: 4px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 20rem; }
.footer-col h2 {
  font-family: var(--f-body); font-size: var(--t-label); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; margin: 0 0 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.25rem; }
.footer-col a { text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.footer-col a:hover { text-decoration: underline; }
.footer-office li { padding-block: 0.2rem; }
.social { display: flex; gap: 0.5rem; margin-top: 1.25rem; list-style: none; }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.3); }
.social a:hover { border-color: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,0.14); padding-block: 1.5rem; }
.site-footer__legal .container { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.eho { display: inline-flex; align-items: center; gap: 0.6rem; }
.eho svg { width: 34px; height: 34px; flex: none; }
.legal-list { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; }
.site-footer--landing .site-footer__legal { border-top: 0; }

/* ---------- Pending asset (truthful placeholder for client-supplied media) ---------- */
.pending-media {
  position: relative; display: flex; align-items: flex-end; justify-content: flex-start;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.035) 0 12px, transparent 12px 24px),
    var(--c-pending-bg);
  color: var(--c-pending-text); width: 100%; height: 100%;
  min-height: 200px;
}
.pending-media__label {
  margin: 1rem; padding: 0.4rem 0.65rem; background: rgba(255,255,255,0.85);
  font-size: 0.8125rem; font-weight: 500; line-height: 1.35;
}
.pending-text { color: var(--c-pending-text); font-style: italic; }
.pending-chip {
  display: inline-block; font-size: 0.8125rem; padding: 0.15rem 0.5rem;
  background: var(--c-pending-bg); color: var(--c-pending-text); font-style: normal;
}

/* ---------- Home hero (full-bleed image, preserved layout) ---------- */
.hero--home { position: relative; color: #fff; background: #26292A; isolation: isolate; }
.hero--home .hero__media { position: absolute; inset: 0; z-index: -2; }
.hero--home .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--home .hero__media .pending-media { background: #3A3D3D; color: #DADADA; align-items: flex-end; justify-content: flex-end; }
.hero--home .hero__media .pending-media__label { background: rgba(0,0,0,0.45); color: #fff; }
.hero--home::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,17,17,0.72) 0%, rgba(17,17,17,0.45) 55%, rgba(17,17,17,0.15) 100%); }
.hero--home .container { min-height: clamp(520px, 72vh, 680px); display: flex; flex-direction: column; justify-content: center; padding-block: 5rem; }
.hero--home h1 { font-size: var(--t-hero); line-height: 1.05; max-width: 15ch; margin-bottom: 1.25rem; }
.hero--home .hero__sub { font-size: var(--t-lead); max-width: 36rem; color: #F1F1F1; margin-bottom: 2rem; }

/* ---------- Interior page hero (light, text + image) ---------- */
.hero--page { background: var(--c-alt); }
.hero--page .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 2.4rem + 4.4vw, 6.5rem); }
.hero--page.hero--textonly .container { grid-template-columns: minmax(0, 1fr); max-width: calc(52rem + var(--gutter) * 2); }
.hero--page h1 { margin-bottom: 1rem; }
.hero--page .hero__sub { font-size: var(--t-lead); color: var(--c-muted); max-width: 34rem; margin-bottom: 2rem; }
.hero--page .hero__media { aspect-ratio: 4 / 5; max-height: 560px; width: 100%; overflow: hidden; }
.hero--page .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Trust strip under hero ---------- */
.trust-strip { background: var(--c-alt); border-bottom: 1px solid var(--c-line); }
.trust-strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem clamp(1.5rem, 1rem + 3vw, 4rem); padding-block: 1.5rem; }
.trust-strip li { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 500; }

.icon { width: 28px; height: 28px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 22px; height: 22px; }
.icon-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--c-bg); border: 1px solid var(--c-line); display: inline-flex; align-items: center; justify-content: center; color: var(--c-text); }
.section--alt .icon-badge { background: #fff; }

/* ---------- Problem / outcome lists ---------- */
.point-list { list-style: none; display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.point-list li { display: flex; gap: 1rem; align-items: flex-start; font-size: var(--t-lead); line-height: 1.35; }
.point-list--problems li { border-top: 1px solid var(--c-line-strong); padding-top: 1.25rem; }
.point-list--outcomes { text-align: center; }
.point-list--outcomes li { flex-direction: column; align-items: center; gap: 1rem; font-family: var(--f-head); font-size: var(--t-h4); }

/* ---------- Split (guide / story) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { aspect-ratio: 2 / 3; max-height: 640px; overflow: hidden; width: 100%; }
.split__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.split__media--landscape { aspect-ratio: 4 / 3; }

.proof-list { list-style: none; display: grid; gap: 0.9rem; margin: 2rem 0; }
.proof-list li { display: flex; gap: 0.85rem; align-items: center; font-weight: 500; }
.proof-list--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.proof-list--row li { align-items: flex-start; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.quote { margin: 0; padding: 2rem; background: var(--c-bg); border: 1px solid var(--c-line); display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.section--alt .quote { background: #fff; }
.quote blockquote { margin: 0; font-family: var(--f-head); font-size: var(--t-h4); line-height: 1.35; }
.quote figcaption { font-size: var(--t-small); color: var(--c-muted); font-weight: 500; }
.quote--single { max-width: 46rem; }

/* ---------- Plan steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.steps li { counter-increment: step; border-top: 1px solid var(--c-line-strong); padding-top: 1.5rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--f-head); font-size: 3rem; line-height: 1; margin-bottom: 1rem; }
.steps h3 { font-size: var(--t-h4); margin-bottom: 0.4rem; }
.steps p { color: var(--c-muted); margin: 0; }

/* ---------- Service cards (existing card pattern, reduced to 3) ---------- */
.service-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 2.5rem 2rem; background: #fff; border: 1px solid var(--c-line); border-bottom: 3px solid var(--c-text); }
.service-card h3 { font-size: var(--t-h4); margin: 0.5rem 0 0; }
.service-card p { color: var(--c-muted); margin: 0; }
.service-card .btn { margin-top: auto; }

/* ---------- Free class cards ---------- */
.class-card { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--c-line); }
.class-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-pending-bg); }
.class-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.class-card__body { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.class-card__body h3 { font-size: var(--t-h4); margin: 0; }
.class-card__body p { color: var(--c-muted); margin: 0; }
.class-card__body .btn { margin-top: auto; }

/* ---------- Story paragraph ---------- */
.story-text { font-family: var(--f-head); font-size: clamp(1.375rem, 1.15rem + 1vw, 2rem); line-height: 1.45; text-align: center; max-width: 48rem; margin-inline: auto; }

/* ---------- Neighborhood rows (existing alternating split pattern, preserved) ---------- */
.hood-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hood-row + .hood-row { margin-top: clamp(3rem, 2rem + 4vw, 6rem); }
.hood-row:nth-of-type(even) .hood-row__media { order: 2; }
.hood-row__media { aspect-ratio: 4 / 5; max-height: 620px; overflow: hidden; width: 100%; }
.hood-row__media img { width: 100%; height: 100%; object-fit: cover; }
.hood-row h3 { font-size: var(--t-h3); margin-bottom: 0.5rem; }
.price-range { font-size: var(--t-small); color: var(--c-muted); margin: 0 0 1.25rem; letter-spacing: 0.02em; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 1.5rem; }
.tags li { font-size: var(--t-small); padding: 0.3rem 0.75rem; border: 1px solid var(--c-line-strong); }

/* Compact neighborhood cards (Neighborhoods page, remaining areas) */
.hood-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); }
.hood-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-pending-bg); }
.hood-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hood-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.hood-card__body h3 { font-size: var(--t-h4); margin-bottom: 0.25rem; }
.hood-card__body p { color: var(--c-muted); font-size: var(--t-small); }
.hood-card .tags { margin: 1rem 0; }
.hood-card .tags li { font-size: 0.8125rem; }
.hood-card__link { margin-top: auto; }

/* ---------- Blog cards & archive ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.post-card { display: flex; flex-direction: column; position: relative; }
.post-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-alt); margin-bottom: 1.25rem; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__cat { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 0.5rem; }
.post-card__cat a { text-decoration: none; }
.post-card h3 { font-size: 1.375rem; line-height: 1.3; margin-bottom: 0.5rem; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card p { color: var(--c-muted); font-size: var(--t-small); }
.post-card time { font-size: 0.8125rem; color: var(--c-muted); margin-top: auto; }
.post-card .ext { font-size: 0.8125rem; color: var(--c-muted); }
.pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 3.5rem; list-style: none; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-line-strong); text-decoration: none; padding: 0 0.75rem; }
.pagination [aria-current="page"] { background: var(--c-text); color: #fff; }
.cat-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin-bottom: 2.5rem; }
.cat-list a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 0.9rem; border: 1px solid var(--c-line); text-decoration: none; font-size: var(--t-small); }
.cat-list a:hover { border-color: var(--c-text); }

/* ---------- Single post ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.post-header { max-width: 46rem; }
.post-header h1 { font-size: var(--t-h1); }
.post-meta { color: var(--c-muted); font-size: var(--t-small); display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.post-hero-img { aspect-ratio: 16 / 8; overflow: hidden; margin: 2.5rem 0; background: var(--c-alt); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 42rem; font-size: 1.125rem; line-height: 1.7; }
.prose h2 { font-size: var(--t-h3); margin-top: 2.5rem; }
.prose h3 { font-size: var(--t-h4); margin-top: 2rem; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration: underline; }
.source-note { border-left: 3px solid var(--c-line-strong); padding: 0.75rem 1rem; background: var(--c-alt); font-size: var(--t-small); margin: 2rem 0; }
.post-cta { margin-top: 3.5rem; padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); background: var(--c-alt); border: 1px solid var(--c-line); }
.post-cta h2 { font-size: var(--t-h3); margin-top: 0; }
.post-cta p { color: var(--c-muted); }
.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 1.25rem; align-items: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--c-line); }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.author-box p { margin: 0; }
.author-box strong { display: block; font-family: var(--f-head); font-weight: 400; font-size: 1.25rem; margin-bottom: 0.25rem; }
.post-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-card { padding: 2rem; background: var(--c-alt); border: 1px solid var(--c-line); }
.sidebar-card h2 { font-size: var(--t-h4); }
.sidebar-card p { color: var(--c-muted); font-size: var(--t-small); }
.mobile-chat-cta { display: none; }

/* ---------- Forms (Elementor Pro Form widget) ---------- */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--t-small); font-weight: 600; }
.field .opt { font-weight: 400; color: var(--c-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem; background: #fff;
  border: 1px solid var(--c-line); border-radius: 0; font-size: 1rem; line-height: 1.4;
  transition: border-color var(--dur) var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9B3AA; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--c-focus); outline-offset: 0; border-color: var(--c-focus); }
.field [aria-invalid="true"] { border-color: var(--c-error); }
.field-error { color: var(--c-error); font-size: 0.875rem; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.form-note { font-size: var(--t-small); color: var(--c-muted); margin: 0; }
.form-status { padding: 1rem 1.25rem; border: 1px solid var(--c-line-strong); background: #fff; font-size: var(--t-small); }
.form-status[hidden] { display: none; }
.form-status strong { display: block; margin-bottom: 0.25rem; }
.form-status--demo { border-style: dashed; }
.form-status--error { border-color: var(--c-error); color: var(--c-error); }
.form-card { background: #fff; border: 1px solid var(--c-line); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }

/* ---------- Accordion (Elementor Accordion / Nested Accordion) ---------- */
.faq-group + .faq-group { margin-top: 3.5rem; }
.faq-group > h2 { font-size: var(--t-h3); }
.accordion { border-top: 1px solid var(--c-line-strong); }
.accordion__item { border-bottom: 1px solid var(--c-line); }
.accordion__heading { margin: 0; font: inherit; }
.accordion__trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0; min-height: 56px; background: none; border: 0; text-align: left;
  font-family: var(--f-body); font-size: 1.125rem; font-weight: 500; line-height: 1.4;
}
.accordion__trigger:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.accordion__icon { width: 18px; height: 18px; flex: none; position: relative; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform var(--dur) var(--ease); }
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }
.accordion__panel { padding: 0 0 1.5rem; color: var(--c-muted); max-width: 48rem; }
.accordion__panel[hidden] { display: none; }

/* ---------- Closing CTA band ---------- */
.cta-band { background: var(--c-alt); text-align: center; border-top: 1px solid var(--c-line); }
.cta-band h2 { max-width: 22ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-band p { color: var(--c-muted); max-width: 36rem; margin: -1rem auto 2rem; }

/* ---------- Notices / live reference panels ---------- */
.notice { border: 1px solid var(--c-line-strong); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: #fff; }
.notice h2, .notice h3 { font-size: var(--t-h4); }
.notice p { color: var(--c-muted); }
.calendar-slot { min-height: 320px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 1rem; background: #fff; border: 1px solid var(--c-line); padding: 2rem; }
.calendar-slot h2 { font-size: var(--t-h4); margin: 0; }
.calendar-slot p { color: var(--c-muted); max-width: 30rem; margin: 0; }

.contact-list { list-style: none; display: grid; gap: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; align-items: start; }
.contact-list h3 { font-family: var(--f-body); font-size: var(--t-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 0.25rem; }
.contact-list a { font-weight: 500; }

/* ---------- Landing pages ---------- */
.lp-hero { background: var(--c-alt); }
.lp-hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.lp-hero h1 { font-size: var(--t-h1); }
.lp-hero .hero__sub { font-size: var(--t-lead); color: var(--c-muted); margin-bottom: 1.75rem; max-width: 34rem; }
.lp-bullets { list-style: none; display: grid; gap: 0.9rem; margin: 0 0 2rem; }
.lp-bullets li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.0625rem; }
.lp-bullets .icon { margin-top: 0.1rem; }
.checklist-mock { aspect-ratio: 8.5 / 11; max-width: 360px; width: 100%; margin-inline: auto; box-shadow: 0 1px 0 var(--c-line), 12px 12px 0 var(--c-line); }
.fine-print { font-size: 0.875rem; color: var(--c-muted); margin-top: 1.25rem; }
.trust-mini { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.trust-mini img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.trust-mini blockquote { margin: 0; font-family: var(--f-head); font-size: 1.125rem; line-height: 1.4; }
.trust-mini figcaption { font-size: 0.875rem; color: var(--c-muted); margin-top: 0.25rem; }
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.flow li { counter-increment: step; text-align: center; padding: 2rem 1.5rem; background: #fff; border: 1px solid var(--c-line); }
.flow li::before { content: counter(step); display: block; font-family: var(--f-head); font-size: 2.5rem; line-height: 1; margin-bottom: 0.75rem; }
.flow h3 { font-size: var(--t-h4); margin-bottom: 0.25rem; }
.flow p { color: var(--c-muted); font-size: var(--t-small); margin: 0; }

/* ---------- 404 ---------- */
.notfound-links { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0; }
.notfound-links a { display: flex; min-height: 72px; align-items: center; justify-content: center; border: 1px solid var(--c-line-strong); text-decoration: none; font-family: var(--f-head); font-size: 1.375rem; background: #fff; }
.notfound-links a:hover { background: var(--c-text); color: #fff; }
.footer-book { margin-top: 1.5rem; }
.footer-office a { word-break: break-word; }
.point-list--4 { --cols: 4; }
.class-card--wide { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.class-card--wide .class-card__media { aspect-ratio: auto; min-height: 280px; }
.class-card--wide h2 { font-size: var(--t-h3); margin: 0; }
.class-card--wide .class-card__body { justify-content: center; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.class-card--wide .class-card__body .btn { margin-top: 0.5rem; }
.learn-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.learn-list li { display: grid; gap: 1rem; align-content: start; }
.learn-list h3 { font-size: var(--t-h4); margin: 0 0 0.25rem; }
.learn-list p { color: var(--c-muted); margin: 0; }
.form-card > h2 { font-size: var(--t-h3); }
.after-block { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.split--top { align-items: start; }
.lp-hero .split__media { aspect-ratio: 4 / 5; max-height: 560px; }
[data-center] { margin-inline: auto; }
.hero--page .container.hero--form { align-items: start; }
.faq-controls { margin-bottom: 2.5rem; }
.ty-actions { margin-top: 1.5rem; }
.dl-note { margin-top: 0.75rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--secondary:disabled:hover { background: transparent; color: var(--c-text); }
.flow p { margin-top: 0.25rem; }
.contact-list a, .contact-list span { overflow-wrap: anywhere; }
/* Keep header geometry stable even if the logo image fails to load */
.site-logo { width: 90px; height: 70px; overflow: hidden; font-size: 0.6875rem; line-height: 1.2; text-decoration: none; }
.site-logo img { width: 100%; height: 100%; }
.footer-brand img { font-size: 0.6875rem; overflow: hidden; }
.calendar-slot.has-embed { padding: 0; border-style: solid; background: #fff; min-height: 0; }
.calendar-embed { width: 100%; min-height: 680px; border: 0; display: block; }

/* ---------- Internal review notes: hidden in Normal Preview ----------
   .dev-note        inline note about a missing asset/decision (shown only with ?review=1)
   [data-dev-only]  a whole block that exists only to show an unresolved requirement   */
.dev-note, [data-dev-only] { display: none !important; }

/* Typographic placeholder tile for areas with no approved photo yet (no fake photography) */
.name-plate {
  position: relative; width: 100%; height: 100%; min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.35rem;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  background: var(--c-alt);
  background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
  border: 1px solid var(--c-line); color: var(--c-text);
}
.section--alt .name-plate { background-color: #fff; }
.name-plate__name { font-family: var(--f-head); font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.1; }
.name-plate__sub { font-size: var(--t-small); color: var(--c-muted); }
.name-plate .dev-note { position: absolute; top: 0.75rem; left: 0.75rem; }
