/* =============================================================================
   anxiety.css: page-specific styles for anxiety.html
   Loaded AFTER main.css. Reuses shared components; adds only what is unique to
   this page (centered hero, photo + sage split, big-ordinal rows, 5 divided
   columns on a light band).
   ========================================================================== */

/* ---- centered hero ---- */
.anx-hero { text-align: center; padding-top: clamp(48px, 7vw, 92px); }
.anx-hero .eyebrow { color: var(--sage-deep); display: block; margin-bottom: 18px; }
/* no font-size override: the h1 uses the DESIGN.md scale, clamp(2.4rem, 5vw, 4rem) */
.anx-hero h1 { max-width: 20ch; margin-inline: auto; }
.anx-hero .rule { margin-top: 26px; }
.anx-hero .hero-sub {
  max-width: 54ch; margin: 22px auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--body);
}

/* ---- full-bleed session photo ---- */
.anx-photo-band img { width: 100%; height: clamp(300px, 44vw, 620px); object-fit: cover; }

/* ---- photo + sage panel split (edge to edge) ---- */
.anx-understand { display: grid; grid-template-columns: 42% 58%; align-items: stretch; }
.anx-understand .anx-photo { position: relative; min-height: 340px; }
.anx-understand .anx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.anx-understand .panel {
  padding: clamp(40px, 6vw, 88px) clamp(26px, 5vw, 76px);
  display: flex; flex-direction: column; justify-content: center;
}
.anx-understand .panel h2 { max-width: 16ch; }
.anx-understand .panel .rule { margin: 20px 0 26px; }   /* left aligned; .band-sage renders it translucent white */
.anx-understand .panel p { max-width: 46ch; }
/* optional mid-page CTA inside the sage panel (adhd): sits left-aligned under the copy */
.anx-understand .panel .btn { margin-top: 12px; align-self: flex-start; }
@media (max-width: 520px) { .anx-understand .panel .btn { align-self: stretch; text-align: center; } }
@media (max-width: 860px) {
  .anx-understand { grid-template-columns: 1fr; }
  .anx-understand .anx-photo { min-height: 260px; }
}

/* ---- numbered process rows (big serif ordinals + hairline dividers) ---- */
.anx-steps { max-width: 980px; margin: clamp(8px, 1.2vw, 16px) auto 0; }
.anx-step {
  display: grid; grid-template-columns: 130px 1fr 1.7fr;
  gap: clamp(16px, 3vw, 44px); align-items: center;
  padding: clamp(26px, 3.6vw, 40px) 0;
  border-top: 1px solid var(--line);
}
/* the section rule opens the group: a second hairline directly beneath it is
   an orphan divider, so the first row carries no top border */
.anx-step:first-child { border-top: 0; }
.anx-step:last-child { border-bottom: 1px solid var(--line); }
.anx-step .ord {
  font-family: var(--serif); font-size: clamp(2.9rem, 5.5vw, 4.3rem);
  color: var(--sage); line-height: 1; font-weight: 500;
}
.anx-step h3 { font-size: clamp(1.3rem, 2.3vw, 1.65rem); }
.anx-step p { font-size: .95rem; margin: 0; }
@media (max-width: 720px) {
  .anx-step { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; align-items: start; }
  .anx-step .ord { font-size: 2.6rem; }
  .anx-step h3 { margin-top: 2px; }
}

/* Bare <h3> labels in the plain grid / divided-column condition sections. The
   reset zeroes all margins, so they sit tight against their paragraph; 10px is
   the same gap .anx-help-col h3 and .support-col h3 already use. Covers .grid-2
   and .divided-cols as well as .grid-3 because areas-served.html uses all three;
   before the 2026-07-29 cleanup those two cases carried the value as an inline
   style="" on thirty separate headings. Scoped to this stylesheet, so it only
   reaches the eleven pages that load it. */
.grid > div > h3,
.divided-cols > div > h3 { margin-bottom: 10px; }

/* ---- full-bleed office photo band ---- */
.anx-office-band img { width: 100%; height: clamp(260px, 36vw, 500px); object-fit: cover; }

/* ---- "How Dr. Wald helps" 5 divided columns on a light band ---- */
.anx-helps .divided-cols.cols-5 { grid-template-columns: repeat(5, 1fr); margin-top: clamp(36px, 5vw, 60px); }
.anx-helps .divided-cols > * + * { border-left-color: var(--line); }
.anx-help-col { text-align: center; }
.anx-help-col h3 { font-size: 1.15rem; margin-bottom: 10px; }
.anx-help-col p { font-size: .9rem; }
/* circled botanical glyph, the same 66px lockup the parents page uses on its
   3-column band, recoloured for a light band */
.anx-help-col .icon-circle {
  width: 66px; height: 66px; margin: 0 auto 20px;
  border: 1px solid var(--sage); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.anx-help-col .icon-circle svg { width: 30px; height: 30px; stroke: var(--sage); stroke-width: 1.4; fill: none; }
/* two of the five titles run to a second line: hand icon / title / copy to
   shared grid rows so every column's body text starts on the same baseline
   (same technique as the credentials grid on the about page) */
@media (min-width: 861px) {
  .anx-helps .divided-cols.cols-5 { grid-auto-rows: auto auto auto; }
  .anx-help-col { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
}
@media (max-width: 860px) {
  .anx-helps .divided-cols.cols-5 { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .anx-helps .divided-cols.cols-5 > * { padding-block: 14px; border-top: 1px solid var(--line); }
  .anx-helps .divided-cols.cols-5 > *:nth-child(odd) { border-left: 0; }
  .anx-helps .divided-cols.cols-5 > *:nth-child(1),
  .anx-helps .divided-cols.cols-5 > *:nth-child(2) { border-top: 0; }
}
@media (max-width: 520px) {
  .anx-helps .divided-cols.cols-5 { grid-template-columns: 1fr; }
  .anx-helps .divided-cols.cols-5 > * { border-left: 0 !important; border-top: 1px solid var(--line); padding-block: 26px; }
  .anx-helps .divided-cols.cols-5 > *:nth-child(2) { border-top: 1px solid var(--line); }
  .anx-helps .divided-cols.cols-5 > *:first-child { border-top: 0; }
}

/* ---- sage CTA band ---- */
.anx-cta { text-align: center; }
.anx-cta h2 { margin-bottom: 4px; max-width: 18ch; margin-inline: auto; }
.anx-cta p { margin: 18px auto 26px; }
/* ivory button, the same light variant the services page uses on its sage band:
   a solid sage-deep pill on --sage is 1.58:1 and barely reads as a button */

/* ===== Kids photo hero (replaces the old .anx-hero) ===== */
/* 1. HERO: full-width "growing minds" photo hero, cream-to-photo wash,
   dual CTA, four practice highlights. Scoped .wald-big-hero, site tokens. */
.wald-big-hero {
  position: relative;
  min-height: 770px;
  overflow: hidden;
  isolation: isolate;
  background: var(--linen);
}
.wald-big-hero__media,
.wald-big-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wald-big-hero__media img { object-fit: cover; object-position: 61% center; }
.wald-big-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(244, 240, 230, 1) 0%,
    rgba(244, 240, 230, 0.98) 30%,
    rgba(244, 240, 230, 0.88) 43%,
    rgba(244, 240, 230, 0.38) 59%,
    rgba(244, 240, 230, 0.02) 75%);
}
.wald-big-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 27% 18%, rgba(255,255,255,.34), transparent 29%),
    linear-gradient(180deg, transparent 55%, rgba(46, 58, 46, 0.11) 100%);
}
.wald-big-hero__inner {
  position: relative;
  z-index: 3;
  width: min(1320px, calc(100% - 2 * var(--gutter)));
  min-height: 770px;
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  padding: 100px 0 152px;
}
.wald-big-hero__content { width: min(585px, 47vw); }
.wald-big-hero__eyebrow {
  margin: 0 0 25px;
  color: var(--sage-deep);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.wald-big-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}
.wald-big-hero h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 30px 0 28px;
  background: var(--sage);
}
.wald-big-hero__copy {
  max-width: 530px;
  margin: 0;
  color: var(--body);
  font-family: var(--sans);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.68;
}
.wald-big-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.wald-big-hero__features {
  position: absolute;
  left: 0;
  bottom: 30px;
  width: min(780px, 57vw);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(46, 58, 46, 0.13);
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.82);
  box-shadow: 0 22px 55px rgba(57, 59, 47, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.wald-feature {
  min-width: 0;
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  gap: 11px;
  padding: 21px 20px;
}
.wald-feature + .wald-feature { border-left: 1px solid rgba(46, 58, 46, 0.13); }
.wald-feature svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--sage-deep);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wald-feature strong,
.wald-feature span { display: block; }
.wald-feature strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.wald-feature span {
  margin-top: 2px;
  color: #6a756d;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 1240px) {
  .wald-big-hero__inner { padding-top: 82px; }
  .wald-big-hero__content { width: min(570px, 53vw); }
  .wald-big-hero__features { width: min(760px, 68vw); }
}
@media (max-width: 900px) {
  .wald-big-hero { min-height: auto; padding-bottom: 0; }
  .wald-big-hero__media {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: clamp(350px, 66vw, 520px);
  }
  .wald-big-hero__media { height: clamp(380px, 74vw, 560px); }
  .wald-big-hero__media img { position: absolute; object-position: 63% 32%; }
  .wald-big-hero__wash {
    z-index: 2;
    background: linear-gradient(180deg,
      rgba(244,240,230,.45) 0%,
      rgba(244,240,230,0) 16%,
      rgba(244,240,230,0) 80%,
      rgba(244,240,230,.92) 100%);
  }
  .wald-big-hero__glow { display: none; }
  .wald-big-hero__inner { width: 100%; min-height: auto; display: block; padding: 0; }
  .wald-big-hero__content {
    position: relative;
    z-index: 4;
    width: min(100% - 40px, 700px);
    margin: -1px auto 0;
    padding: 66px 0 46px;
  }
  .wald-big-hero h1 { font-size: clamp(2.8rem, 11vw, 4.4rem); }
  .wald-big-hero__copy { max-width: 650px; font-size: 17px; }
  .wald-big-hero__features {
    position: relative;
    z-index: 4;
    left: auto;
    bottom: auto;
    width: min(100% - 32px, 700px);
    margin: -18px auto 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wald-feature:nth-child(3) { border-left: 0; border-top: 1px solid rgba(46, 58, 46, 0.13); }
  .wald-feature:nth-child(4) { border-top: 1px solid rgba(46, 58, 46, 0.13); }
}
@media (max-width: 620px) {
  .wald-big-hero__content { width: calc(100% - 32px); padding-top: 48px; }
  .wald-big-hero__eyebrow { margin-bottom: 18px; font-size: 10px; letter-spacing: .14em; }
  .wald-big-hero h1 { font-size: clamp(2.6rem, 15vw, 3.6rem); }
  .wald-big-hero h1::after { margin: 23px 0 22px; }
  .wald-big-hero__copy { font-size: 16px; line-height: 1.6; }
  .wald-big-hero__buttons { display: grid; }
  .wald-big-hero__buttons .btn { width: 100%; text-align: center; }
  .wald-big-hero__media { height: 390px; }
  .wald-big-hero__features { grid-template-columns: 1fr; }
  .wald-feature + .wald-feature { border-left: 0; border-top: 1px solid rgba(46, 58, 46, 0.13); }
}
