/* Alira Therapy — specialty and team pages
   Shares the home page's earth palette (styles.css): deep moss carries text
   and closing bands, warm sand fields own whole regions, and lime marks
   every primary action. --forest-* / --sage-* here and --slate-* / --mist-*
   in styles.css are historical names holding the same moss and sand values. */

:root {
  --forest-900: #1c2b22;
  --forest-800: #26382c;
  --forest-700: #34493a;
  --forest-600: #4d6b55;
  --forest-500: #7a9480;
  --sage-300: #e6d9c3;
  --sage-200: #efe6d6;
  --sage-100: #f7f1e7;
  --paper: #fbfaf6;
  --paper-warm: #f6f4ec;
  --ink: #1f2620;
  --body: #4f5a50;
  --clay: #a8d45a;
  --clay-dark: #93bf45;
  --clay-soft: #f3e2d8;
  --peri: #aebcf5;
  --peri-soft: #e4e9fb;
  --sun: #f2c14e;
  --sun-soft: #fbeecb;
  --shadow-sm: 0 4px 14px rgba(38, 56, 44, 0.07);
  --shadow-md: 0 12px 32px rgba(38, 56, 44, 0.1);
  --shadow-lg: 0 24px 56px rgba(38, 56, 44, 0.14);
  --radius-md: 1.25rem;
  --radius-lg: 1.5rem;
  --radius-arch: 14rem 14rem 1.5rem 1.5rem;
  --font: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--forest-600); text-decoration: none; }
a:hover { color: var(--forest-700); }

.container {
  width: min(72rem, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--forest-800);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 0.75rem;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; color: #fff; }

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

/* ---------- Type ---------- */

.display {
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.h2 {
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
  text-wrap: balance;
  margin-bottom: 1rem;
}

.h3 {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  max-width: 38rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clay);
  color: var(--forest-900);
  box-shadow: 0 8px 20px rgba(168, 212, 90, 0.3);
}
.btn-primary:hover {
  background: var(--clay-dark);
  color: var(--forest-900);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(38, 56, 44, 0.3);
}

.btn-secondary {
  background: #fff;
  color: var(--forest-700);
  box-shadow: inset 0 0 0 2px var(--forest-600);
}
.btn-secondary:hover {
  background: var(--sage-100);
  color: var(--forest-800);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--forest-800);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.btn-light:hover {
  background: var(--sage-100);
  color: var(--forest-800);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(38, 56, 44, 0.08);
  box-shadow: 0 6px 20px rgba(38, 56, 44, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.85rem;
}

.brand img { height: 2.5rem; width: auto; }
.brand--text {
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: #1f2620;
}
.brand--text span { font-weight: 400; color: #7a9480; }
.brand--text:hover { color: #1f2620; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.main-nav a:not(.btn) {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.975rem;
  white-space: nowrap;
}
.main-nav a:not(.btn):hover { color: var(--forest-600); }

.main-nav .header-cta { display: none; }

.header-cta--bar { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(42rem 30rem at 88% -12%, var(--sage-300), transparent 62%),
    linear-gradient(180deg, var(--sage-200), var(--sage-100));
  padding: clamp(3rem, 7vw, 5.5rem) 0 11rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy .display { margin-bottom: 0.9rem; }
.hero-copy .lede { margin-bottom: 2rem; }
.hero-copy .lede--first { margin-bottom: 0.55rem; }
.hero-copy .lede--second { margin-bottom: 1.5rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-arch {
  background: #fff;
  border-radius: var(--radius-arch);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) 0;
  box-shadow: var(--shadow-lg);
  width: min(26rem, 100%);
}
.hero-arch img { width: 100%; }

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--forest-800);
  box-shadow: var(--shadow-md);
}
.hero-chip svg { flex: none; }
.hero-chip--calm { left: -1rem; top: 16%; }
.hero-chip--heard { right: -0.5rem; bottom: 12%; }

/* ---------- Chooser ---------- */

.chooser { margin-top: -7.5rem; position: relative; z-index: 2; }

.chooser-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.chooser-label {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.chooser-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.chooser-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--sage-100);
  box-shadow: inset 0 0 0 2px transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background-color 0.2s ease;
}
.chooser-card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--forest-500), var(--shadow-md);
}
.chooser-card img {
  width: 4.25rem;
  flex: none;
  background: #fff;
  border-radius: 50%;
  padding: 0.35rem;
  box-shadow: var(--shadow-sm);
}
.chooser-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.chooser-card span { font-size: 0.925rem; color: var(--body); }
.chooser-card .arrow {
  margin-left: auto;
  flex: none;
  color: var(--forest-600);
  transition: transform 0.25s var(--ease-out);
}
.chooser-card:hover .arrow { transform: translateX(4px); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.25rem;
  margin-top: 2.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest-700);
}
.trust-row span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-row svg { flex: none; }

/* ---------- Sections ---------- */

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--sage { background: var(--sage-100); }
.section--warm { background: var(--paper-warm); }

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.section-head .lede { margin-top: 0.5rem; }

/* Specialties: the feature tile sits at the center of a symmetric cross —
   two tiles flanking each side, the sixth centered beneath it. */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.25rem;
}

.spec-feature {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: var(--forest-700);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  position: relative;
}
.spec-feature::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  right: -7rem;
  bottom: -9rem;
}
.spec-feature .h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.spec-feature p { color: rgba(255, 255, 255, 0.82); max-width: 30rem; }
.spec-feature img {
  width: min(15rem, 68%);
  align-self: center;
  position: relative;
  z-index: 1;
  background: var(--sage-100);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.spec-tile {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.spec-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.spec-tile:last-child { grid-column: 2; }
.spec-tile img {
  width: 4.75rem;
  background: var(--sage-100);
  border-radius: 50%;
  padding: 0.5rem;
}
.spec-tile p { font-size: 0.95rem; margin-top: 0.1rem; }

/* Assessments band */

.assess-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.assess-visual {
  background: #fff;
  border-radius: var(--radius-arch);
  box-shadow: var(--shadow-md);
  padding: 2rem 2rem 0;
  max-width: 22rem;
  margin-inline: auto;
}
.assess-list { list-style: none; margin-top: 2rem; }
.assess-list li {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(38, 56, 44, 0.12);
}
.assess-list li:last-child { border-bottom: 1px solid rgba(38, 56, 44, 0.12); }
.assess-list svg { flex: none; margin-top: 0.2rem; }
.assess-list strong { color: var(--ink); font-weight: 800; display: block; }
.assess-list p { font-size: 0.95rem; }

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--sage-200);
  color: var(--forest-700);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.step img {
  width: 8.5rem;
  margin-bottom: 1.25rem;
}
.step .h3 { margin-bottom: 0.4rem; }
.step p { font-size: 0.97rem; }
.step .step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-weight: 800;
  font-size: 0.95rem;
}

/* Team */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.team-photo {
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-quote {
  margin-top: 1.75rem;
  padding: 1.5rem 1.75rem;
  background: var(--sage-100);
  border-radius: var(--radius-md);
  color: var(--forest-800);
  font-weight: 700;
  font-size: 1.05rem;
}
.team-actions { margin-top: 2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Testimonials */

.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.story {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.9rem;
}
.story:nth-child(2) { margin-top: 2.25rem; }
.story:nth-child(3) { margin-top: 4.5rem; }
.story blockquote {
  color: var(--ink);
  font-size: 1.075rem;
  font-weight: 500;
  line-height: 1.55;
}
.story blockquote::before {
  content: "“";
  display: block;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--forest-500);
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.story figcaption {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--forest-600);
  letter-spacing: 0.02em;
}

/* FAQ */

.faq-list { max-width: 46rem; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  font-size: 1.075rem;
  font-weight: 800;
  color: var(--ink);
  padding: 1.3rem 1.5rem;
}
.faq-q svg {
  flex: none;
  transition: transform 0.3s var(--ease-out);
}
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 1.5rem 1.4rem;
  font-size: 0.98rem;
  max-width: 40rem;
}
.faq-a a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* CTA band */

.cta-band {
  background:
    radial-gradient(50rem 26rem at 50% 130%, rgba(255, 255, 255, 0.09), transparent 65%),
    var(--forest-800);
  color: #fff;
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.cta-band .h2 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin: 0 auto 2.25rem;
  font-size: 1.15rem;
}
.cta-band .hero-actions { justify-content: center; }
.cta-band .note {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest-900);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.site-footer .brand {
  display: inline-block;
  margin-bottom: 1.25rem;
}
/* same wordmark as the header, reversed out for the dark footer */
.site-footer .brand--text,
.site-footer .brand--text:hover { color: #fff; }
.site-footer .brand--text span { color: #d4ec9a; }
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #fff; }
.footer-crisis {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-top: 1.25rem;
}
.footer-crisis strong { color: #fff; display: block; margin-bottom: 0.25rem; }
.footer-crisis a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.footer-app {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.75rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.footer-app strong {
  color: #fff;
  font-size: 1rem;
}
.footer-app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-app-badges img {
  height: 3.1rem;
  width: auto;
  border-radius: 8px;
}

.footer-resources {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  margin-bottom: 2.5rem;
  font-size: 0.82rem;
}
.footer-resources-note {
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.footer-resources h5 {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.footer-resources ul { list-style: none; }
.footer-resources li { margin-bottom: 0.4rem; color: rgba(255, 255, 255, 0.6); }
.footer-resources a { color: rgba(255, 255, 255, 0.8); }
.footer-resources a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ---------- Contact page ---------- */

.page-hero {
  background:
    radial-gradient(38rem 24rem at 85% -10%, var(--sage-300), transparent 60%),
    linear-gradient(180deg, var(--sage-200), var(--paper));
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}
.page-hero .lede { margin: 0.75rem auto 0; }

.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: left;
}
.path-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.path-card .h3 { font-size: 1.3rem; }
.path-card p { font-size: 0.97rem; flex: 1; }
.path-card .btn { align-self: flex-start; margin-top: 0.5rem; }
.path-card--feature { background: var(--forest-700); }
.path-card--feature .h3, .path-card--feature p { color: #fff; }
.path-card--feature p { color: rgba(255, 255, 255, 0.82); }
.path-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.4rem;
}
.path-person img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}
.path-person span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }

.form-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.form-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.form-frame {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  min-height: 32rem;
}
.form-frame iframe {
  width: 100%;
  min-height: 60vh;
  border: 0;
  display: block;
}
.form-fallback {
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
}
.form-fallback img { margin: 0 auto 1.5rem; }
.form-fallback .h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.form-fallback p { max-width: 30rem; margin: 0 auto 1.75rem; }
.form-fallback .hero-actions { justify-content: center; }
.contact-aside .aside-block {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.1rem;
}
.contact-aside h2 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.contact-aside p { font-size: 0.95rem; }
.contact-aside .big-link {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--forest-700);
  display: block;
  margin-bottom: 0.35rem;
}
.crisis-card {
  background: var(--sun-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
}
.crisis-card h2 { font-size: 1.1rem; color: var(--ink); margin-bottom: 0.5rem; }
.crisis-card p { font-size: 0.93rem; }
.crisis-card a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Motion: one authored moment ---------- */

/* Ambient hero float — slow drift on the arch, chips counter-phased.
   Transform-only, infinite, and entirely absent under reduced-motion. */
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes hero-float-img {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-arch { animation: hero-float 7s ease-in-out infinite; }
  /* The illustration drifts inside the frame on its own period and
     phase — separate layers, one composition (7s vs 5s realigns
     only every 35s, so the relationship never feels mechanical). */
  .hero-arch img { animation: hero-float-img 5s ease-in-out -1.6s infinite; }
  .hero-chip { animation: chip-float 7s ease-in-out infinite; }
  .hero-chip--heard { animation-delay: -3.5s; }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .faq-a { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 60rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-arch { width: min(19rem, 82%); }
  .hero-chip--calm { left: 0; }
  .hero-chip--heard { right: 0; }
  .hero { padding-bottom: 10rem; }
  .chooser-cards { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .spec-feature { grid-column: auto; grid-row: auto; }
  .spec-tile:last-child { grid-column: auto; }
  .assess-grid, .team-grid, .form-grid { grid-template-columns: 1fr; }
  .steps, .stories, .paths { grid-template-columns: 1fr; }
  .story:nth-child(2), .story:nth-child(3) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-resources-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav collapses to the dropdown panel as soon as brand + nav + CTA can no
   longer share the bar without overlap (same threshold as styles.css). */
@media (max-width: 74rem) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 1.5rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(38, 56, 44, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .main-nav a:not(.btn) { font-size: 1.3rem; }
  .main-nav .header-cta { display: block; margin: 1.5rem 0 0; }
  .nav-toggle { display: block; }
  .header-cta--bar { display: none; }
}

@media (max-width: 44rem) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-resources-grid { grid-template-columns: 1fr; }
  .hero-chip { font-size: 0.8rem; padding: 0.55rem 0.9rem; }
}
