/* Ninebark Counseling: sample site by NOSITE (made-up practice).
   Feel: warm paper, light upright display serif set big and tight (300 weight, about -4% tracking),
   moss-dark sections, photos of light and quiet rooms. No glass, no pills, no grain, no purple or orange. */

:root {
  --paper: #f2f1eb;
  --paper-2: #e7e5dc;
  --card: #fbfaf7;
  --wall: #c6c4a8;         /* hero = the wall in hero.webp */
  --mist: #e5e8e1;
  --lakemist: #e2e7e7;
  --ink: #1f231e;          /* 14.1:1 on paper, 9.0 on wall */
  --ink-2: #3a3d36;        /* 9.8 on paper, 6.2 on wall */
  --muted: #5b5e55;        /* 5.8 on paper; never on wall */
  --line: rgb(31 35 30 / .14);
  --line-2: rgb(31 35 30 / .28);
  --border-input: #7e8178;
  --spruce: #1e3229;
  --spruce-2: #29453a;
  --night: #1b2633;
  --on-deep: #f2f1eb;
  --on-deep-2: #b8bcb1;
  --on-deep-dim: rgb(242 241 235 / .62);
  --leaf: #2f6b45;         /* status dots, small accents */
  --open-deep: #8cc79a;
  --sage: #9aa58d;
  --sage-soft: #dfe3d4;
  --tone: #1b2633;

  --serif: "Spectral", "Iowan Old Style", Georgia, serif;
  --sans: "Host Grotesk", "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gut: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
  --hdr: 100px;
  --r: 6px;
  --sheet: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 400 17px/1.6 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
p, h1, h2, h3, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.i { width: 20px; height: 20px; flex: none; }

/* ---------- NOSITE strip (standard for samples): in the flow, scrolls away, never covers the header ---------- */
.nosite-strip { margin: 0; padding: 8px 16px; background: #111113; color: #fff; font: 400 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: center; }
.nosite-strip a { display: inline-block; padding: 14px 4px; margin: -14px -4px; color: #c9f55b; text-decoration: none; white-space: nowrap; }
.nosite-strip a:hover { text-decoration: underline; text-underline-offset: 2px; }
.nosite-strip a:focus-visible { outline: 2px solid #c9f55b; outline-offset: 2px; }

/* ---------- small shared bits ---------- */
.ex { display: inline-block; vertical-align: .12em; margin-left: .35em; padding: 1px 6px; border: 1px dashed currentColor; border-radius: 4px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 4px; background: rgb(251 248 242 / .92); color: var(--ink); font: 500 11px/1.3 var(--sans); letter-spacing: .02em; }
.tag--in { position: static; margin-left: 6px; background: var(--paper-2); }
.tnote { margin-top: 18px; padding: 12px 14px; border: 1.5px dashed var(--line-2); border-radius: var(--r); font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.tnote b { display: block; margin-bottom: 2px; font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--leaf); vertical-align: .1em; box-shadow: 0 0 0 3px rgb(76 107 79 / .18); }
.kicker { display: flex; align-items: center; gap: 10px; font: 500 14px/1.3 var(--sans); color: var(--muted); margin-bottom: 18px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.h2 { font: 300 clamp(42px, 5.6vw, 88px)/.98 var(--serif); letter-spacing: -.035em; color: var(--ink); }
.ln { display: block; overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: block; }
.link { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* buttons: rectangles with a 6px radius (no pills) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent; font: 500 16px/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .i[aria-hidden] { transform: translateX(3px); }
.btn--ink { background: var(--spruce); color: var(--paper); }
.btn--ink:hover { background: var(--spruce-2); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: rgb(31 35 30 / .04); }
.btn--paper { background: var(--paper); color: var(--night); }
.btn--paper:hover { background: #fff; }
.btn--paperline { border-color: rgb(238 239 230 / .45); color: var(--on-deep); }
.btn--paperline:hover { border-color: var(--on-deep); }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--full { width: 100%; }

/* ---------- header: crisis line always visible, then the bar ---------- */
.hdr { position: sticky; top: 0; z-index: 40; }
.util { position: relative; display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); min-height: 36px; background: var(--spruce); color: var(--on-deep); font-size: 14px; }
.util p { margin: 0; }
.util__crisis { font-weight: 500; }
.util__crisis a { color: #fff; font-weight: 600; text-underline-offset: 3px; display: inline-block; padding: 8px 2px; margin: -8px -2px; }
.util__open { margin-left: auto !important; display: flex; align-items: center; color: var(--on-deep-2); }
.util__open .ex { color: var(--on-deep-2); }
.util__open .dot { background: #9fc29f; box-shadow: 0 0 0 3px rgb(159 194 159 / .2); }
.util__links { display: flex; align-items: center; gap: 22px; }
.util__links .linkbtn { color: var(--on-deep); min-height: 36px; }
.util__phone { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--on-deep); min-height: 36px; }
.util__phone .i { width: 16px; height: 16px; }
.tnote--pop { position: absolute; right: var(--gut); top: calc(100% + 8px); z-index: 50; background: var(--card); max-width: 360px; box-shadow: 0 18px 40px -18px rgb(31 35 30 / .35); }
.bar { display: flex; align-items: center; gap: 28px; padding: 0 var(--gut); height: 64px; background: rgb(243 238 229 / 0); border-bottom: 1px solid transparent; transition: background-color .35s var(--ease), border-color .35s var(--ease); }
.hdr.is-solid .bar { background: var(--paper); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand__mark { width: 34px; height: 34px; color: var(--leaf); }
.brand__name { font: 400 22px/1 var(--serif); letter-spacing: -.02em; }
.brand__name span { color: var(--ink-2); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 10px 12px; border-radius: var(--r); text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.nav a:hover { background: rgb(31 35 30 / .06); }
.bar__cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menubtn { display: none; width: 44px; height: 44px; margin-left: auto; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; cursor: pointer; }
.menu { padding: 8px var(--gut) 20px; background: var(--paper); border-bottom: 1px solid var(--line); display: grid; }
.menu[hidden] { display: none; }
.menu a { padding: 13px 0; font: 300 26px/1.1 var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu .menu__cta { margin-top: 16px; border: 0; }
.menu .menu__small { font: 500 16px/1.2 var(--sans); padding: 12px 0; border: 0; }
@media (max-width: 1080px) {
  .nav, .bar__cta { display: none; }
  .menubtn { display: inline-flex; }
}
@media (max-width: 760px) {
  :root { --hdr: 88px; }
  .util { gap: 12px; font-size: 13px; min-height: 32px; }
  .util__open, .util__links .linkbtn, .util__phone span { display: none !important; }
  .util__links { margin-left: auto; }
  .util__phone { min-width: 44px; min-height: 44px; justify-content: center; margin: -6px -10px; }
  .bar { height: 56px; }
  .brand__name { font-size: 20px; }
  .brand__mark { width: 30px; height: 30px; }
}

/* ---------- 1. hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: calc(100svh - var(--hdr) - 33px); margin-top: calc(-1 * 64px); }
.hero__text { padding: calc(64px + clamp(40px, 7vh, 96px)) var(--gut) 40px; display: flex; flex-direction: column; justify-content: center; max-width: 900px; }
.hero__where { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: clamp(20px, 3.4vh, 36px); }
.hero__where .i { width: 18px; height: 18px; color: var(--leaf); }
.said { position: relative; }
.said__stack { display: grid; }
.said__item { grid-area: 1 / 1; font: 300 clamp(40px, 5.5vw, 92px)/1.02 var(--serif); letter-spacing: -.04em; color: var(--ink); text-indent: -.42em; padding-left: .42em; visibility: hidden; }
.said__item::before { content: "\201C"; color: var(--sage); }
.said__item::after { content: "\201D"; color: var(--sage); }
.said__item:last-child, .said__item.is-on { visibility: visible; }
.js-motion .said__item:last-child:not(.is-on) { visibility: hidden; }
.said__toggle { position: absolute; right: 0; top: -44px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: transparent; font-size: 13px; color: var(--muted); cursor: pointer; }
.said__toggle[hidden] { display: none; }
.hero__h { margin-top: clamp(22px, 3.2vh, 36px); font: 400 clamp(26px, 2.7vw, 44px)/1.1 var(--serif); letter-spacing: -.02em; color: var(--leaf); max-width: 20ch; }
.hero__sub { margin-top: 16px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vh, 40px); }
.hero__eve { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero__eve .i { width: 16px; height: 16px; }
.hero__media { position: relative; min-height: 100%; }
.hero__photo { position: absolute; inset: 0; overflow: hidden; }

.open { position: absolute; left: clamp(-80px, -5vw, -24px); bottom: clamp(110px, 16vh, 170px); width: min(320px, 80%); padding: 18px 18px 14px; background: var(--card); border-radius: 10px; box-shadow: 0 30px 60px -30px rgb(31 35 30 / .45), 0 0 0 1px var(--line); }
.open__k { display: flex; align-items: center; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.open__list { list-style: none; padding: 0; display: grid; gap: 10px; }
.open__list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.3; }
.open__list img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.open__list b { display: block; color: var(--ink); font-weight: 600; }
.open__upd { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); background: var(--paper); position: relative; z-index: 1; }
.facts > div { padding: 22px var(--gut) 26px; display: grid; gap: 4px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font: 300 clamp(34px, 3.2vw, 52px)/1 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.facts dd { font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 34ch; }
@media (max-width: 999px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding-bottom: 28px; max-width: none; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 4.2; max-height: 72svh; margin: 0 var(--gut); border-radius: 10px; overflow: hidden; }
  .open { left: 14px; right: 14px; width: auto; bottom: 14px; }
  .facts { margin-top: 24px; grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 92px 1fr; align-items: baseline; gap: 14px; padding: 16px var(--gut); }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts dt { font-size: 34px; }
  .said__toggle { top: -40px; }
}
@media (max-width: 760px) {
  .hero { margin-top: -56px; }
  .hero__text { padding-top: calc(56px + 28px); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__media { aspect-ratio: 4 / 5; }
  .said__toggle { position: static; margin-top: 12px; }
}

/* ---------- 2. what's been on your mind: pinned scene on wide screens ---------- */
.mind { background: var(--tone); }
.mind__stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr auto; column-gap: clamp(32px, 5vw, 96px); padding: clamp(56px, 8vh, 96px) var(--gut) clamp(40px, 6vh, 72px); max-width: var(--max); margin: 0 auto; }
.mind__head { grid-column: 1; }
.mind__lead { margin-top: 18px; max-width: 42ch; font-size: 16px; color: var(--ink-2); }
.mind__lead b { font-weight: 500; color: var(--ink); }
.mind__opts { grid-column: 1; margin-top: clamp(20px, 3.4vh, 36px); align-self: start; border-top: 1px solid var(--line-2); }
.opt { position: relative; display: block; width: 100%; padding: 10px 0 10px 28px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.opt::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.opt__t { display: block; font: 300 clamp(20px, 1.75vw, 27px)/1.18 var(--serif); letter-spacing: -.02em; color: rgb(31 35 30 / .55); transition: color .4s var(--ease); }
.opt__k { display: block; overflow: hidden; max-height: 0; font-size: 13px; font-weight: 500; color: var(--muted); transition: max-height .5s var(--ease), margin .5s var(--ease); }
.opt:hover .opt__t { color: var(--ink); }
.opt.is-on .opt__t { color: var(--ink); }
.opt.is-on .opt__k { max-height: 24px; margin-top: 4px; }
.opt.is-on::before { transform: scaleX(1); }
.mind__view { grid-column: 2; grid-row: 1 / span 3; position: relative; align-self: center; }
.mind__shots { position: relative; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--hdr) - 120px); margin-left: auto; overflow: hidden; border-radius: 10px; background: var(--paper-2); }
.shot { position: absolute; inset: 0; visibility: hidden; }
.shot.is-on { visibility: visible; z-index: 2; }
.shot.was-on { visibility: visible; z-index: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.mind__panels { position: absolute; left: clamp(-120px, -7vw, -40px); bottom: 28px; width: min(440px, 88%); }
.ans { padding: 22px 22px 18px; background: var(--card); border-radius: 10px; box-shadow: 0 30px 60px -30px rgb(31 35 30 / .45), 0 0 0 1px var(--line); }
.ans__k { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.ans__t { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.ans__small { margin-top: 8px; font-size: 14px; color: var(--muted); }
.ans__who { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px; font-weight: 600; color: var(--ink); font-size: 15px; }
.ans__who > img, .ans__faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.ans__who span { font-weight: 400; color: var(--muted); }
.ans__faces { display: inline-flex; }
.ans__faces img + img { margin-left: -10px; box-shadow: 0 0 0 2px var(--card); }
.ans__go { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ans__go .link { min-height: 44px; display: inline-flex; align-items: center; }
.mind__more { grid-column: 1; margin-top: 18px; font-size: 15px; color: var(--muted); }
@media (min-width: 1000px) {
  .js-motion .mind__stage { min-height: calc(100svh - var(--hdr)); align-content: center; }
}
@media (max-width: 999px) {
  .mind__stage { grid-template-columns: 1fr; grid-template-rows: none; }
  .mind__opts { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; border-top: 0; margin: 24px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 6px; scrollbar-width: none; }
  .mind__opts::-webkit-scrollbar { display: none; }
  .mind__opts li { flex: 0 0 min(260px, 72vw); scroll-snap-align: start; }
  .opt { height: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(251 248 242 / .55); }
  .opt::before { display: none; }
  .opt.is-on { background: var(--card); border-color: var(--ink); }
  .opt__t { font-size: 20px; color: var(--ink); }
  .opt__k { max-height: none; margin-top: 6px; }
  .mind__view { grid-column: 1; grid-row: auto; margin-top: 18px; }
  .mind__shots { aspect-ratio: 4 / 3.2; max-height: none; }
  .mind__panels { position: relative; left: 0; bottom: 0; width: auto; margin-top: -40px; padding: 0 12px; }
  .mind__more { margin-top: 22px; }
}

/* ---------- 3. therapists: staggered contact sheet ---------- */
.team { padding: clamp(80px, 12vh, 140px) var(--gut) clamp(80px, 12vh, 140px); max-width: var(--max); margin: 0 auto; }
.team__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: end; }
.team__head .kicker, .team__head .h2 { grid-column: 1; }
.team__lead { grid-column: 2; grid-row: 2; font-size: 18px; max-width: 40ch; }
.filter { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.filter button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); margin-top: 40px; align-items: start; }
.tcard { transition: opacity .5s var(--ease), filter .5s var(--ease); }
.tcard:nth-child(even) { margin-top: clamp(40px, 6vw, 96px); }
.tcard.is-dim { opacity: .28; filter: grayscale(1); }
.tcard__pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--paper-2); }
.tcard__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.tcard__body { padding-top: 18px; }
.tcard__name { font: 300 clamp(34px, 2.8vw, 44px)/1 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.tcard__lic { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.tcard__good { margin-top: 14px; font: 400 19px/1.35 var(--serif); color: var(--ink); }
.tcard__good span { display: block; margin-bottom: 4px; font: 500 12px/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tcard__tags { margin-top: 12px; font-size: 14px; color: var(--muted); }
.tcard__tags a { color: var(--ink); text-underline-offset: 3px; }
.tcard__fmt, .tcard__st { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.tcard__fmt .i { width: 16px; height: 16px; color: var(--leaf); }
.tcard__st .dot { margin-right: 0; }
.tcard__st.is-limited .dot { background: #b5a26a; box-shadow: 0 0 0 3px rgb(181 162 106 / .2); }
.more { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 16px; padding: 0; border: 0; border-top: 1px solid var(--line-2); background: none; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.more .i { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.more[aria-expanded="true"] .i { transform: rotate(45deg); }
.tnote-box { padding: 6px 0 4px; }
.q-k { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.q { margin-top: 8px; font: 300 21px/1.35 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.how { margin-top: 14px; font-size: 15px; line-height: 1.55; }
.how b { color: var(--ink); font-weight: 600; }
.lic { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.tnote-box .btn { margin-top: 16px; }
.team__foot { margin-top: 56px; font-size: 16px; color: var(--muted); text-align: center; }
@media (max-width: 1099px) {
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .team__head { grid-template-columns: 1fr; }
  .team__lead { grid-column: 1; grid-row: auto; margin-top: 16px; }
  .filter { margin-top: 24px; }
}
@media (max-width: 560px) {
  .team__grid { grid-template-columns: 1fr; gap: 40px; }
  .tcard:nth-child(even) { margin-top: 0; }
  .tcard { display: grid; grid-template-columns: 120px 1fr; column-gap: 16px; }
  .tcard__pic { grid-row: 1; }
  .tcard__body { display: contents; }
  .tcard__name { grid-column: 2; grid-row: 1; align-self: end; padding-bottom: 50px; font-size: 34px; }
  .tcard__lic { grid-column: 2; grid-row: 1; align-self: end; padding-bottom: 26px; }
  .tcard__good, .tcard__tags, .tcard__fmt, .tcard__st, .more, .tnote-box { grid-column: 1 / -1; }
}

/* ---------- 4. fees: the dark section, pricing in the open ---------- */
.fees { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 120px); padding: clamp(80px, 12vh, 140px) max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); background: var(--spruce); color: var(--on-deep-2); }
.fees .kicker { color: var(--on-deep-2); }
.fees .h2 { color: var(--on-deep); }
.fees__lead { margin-top: 18px; font-size: 18px; max-width: 34ch; }
.tabs { display: inline-grid; grid-auto-flow: column; margin-top: 32px; padding: 4px; border: 1px solid rgb(238 239 230 / .2); border-radius: 8px; }
.tabs button { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r); background: transparent; color: var(--on-deep-2); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease); }
.tabs button[aria-selected="true"] { background: var(--on-deep); color: var(--spruce); }
.tabs button:focus-visible, .fees a:focus-visible, .fees input:focus-visible { outline-color: var(--on-deep); }
.fees__body { grid-row: 1 / span 2; grid-column: 2; align-self: end; }
.pay { padding: clamp(24px, 3vw, 40px); border: 1px solid rgb(238 239 230 / .16); border-radius: 12px; background: #24382f; }
.pay:focus-visible { outline: 2px solid var(--on-deep); }
.pay__k { display: flex; align-items: center; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--on-deep); }
.pay__k .ex, .fees .ex { color: var(--on-deep-2); }
.plans { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 16px 0 22px; font: 300 clamp(22px, 2vw, 30px)/1.25 var(--serif); letter-spacing: -.015em; color: var(--on-deep); }
.plans li:not(:last-child)::after { content: "·"; margin: 0 .45em; color: var(--sage); }
.pay__t { font-size: 16.5px; line-height: 1.6; max-width: 62ch; }
.pay__t b { color: var(--on-deep); font-weight: 500; }
.pay__small { margin-top: 14px; font-size: 14.5px; }
.receipt { margin: 18px 0 22px; }
.receipt > div { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed rgb(238 239 230 / .22); }
.receipt dt { font-size: 16px; color: var(--on-deep); }
.receipt dt::after { content: ""; }
.receipt dd { margin-left: auto; font: 300 clamp(26px, 2.4vw, 36px)/1 var(--serif); color: var(--on-deep); white-space: nowrap; }
.oon { margin: 24px 0 0; padding: 20px; border-radius: 10px; background: rgb(0 0 0 / .14); }
.oon__l { display: block; font-size: 15.5px; color: var(--on-deep); }
.oon input[type="range"] { --p: 50%; width: 100%; height: 44px; margin: 6px 0 10px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.oon input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--on-deep) var(--p), rgb(238 239 230 / .22) var(--p)); }
.oon input[type="range"]::-moz-range-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--on-deep) var(--p), rgb(238 239 230 / .22) var(--p)); }
.oon input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px; border-radius: 50%; background: var(--on-deep); border: 4px solid var(--spruce); box-shadow: 0 0 0 1px var(--on-deep); }
.oon input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--on-deep); border: 4px solid var(--spruce); }
.oon__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.oon__out p { display: grid; gap: 4px; font-size: 13.5px; }
.oon__out b { font: 300 clamp(28px, 2.6vw, 40px)/1 var(--serif); color: var(--on-deep); }
.oon__out .is-you b { color: #cfe0c4; }
.oon__note { margin-top: 12px; font-size: 13.5px; }
.ask { margin-top: 22px; }
.ask__k { font-size: 14px; font-weight: 600; color: var(--on-deep); }
.ask ol { margin-top: 10px; counter-reset: q; display: grid; gap: 8px; }
.ask li { counter-increment: q; display: grid; grid-template-columns: 26px 1fr; font-size: 15px; line-height: 1.5; }
.ask li::before { content: counter(q) "."; color: var(--sage); }
.fees .tnote { border-color: rgb(238 239 230 / .3); color: var(--on-deep-2); }
.fees .tnote b { color: var(--on-deep); }
.fees__more { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(56px, 8vh, 96px); padding-top: 40px; border-top: 1px solid rgb(238 239 230 / .16); }
.fees__row h3, .gfe h3 { display: flex; align-items: center; flex-wrap: wrap; font: 400 24px/1.15 var(--serif); letter-spacing: -.01em; color: var(--on-deep); margin-bottom: 10px; }
.fees__row p, .gfe p { font-size: 15px; line-height: 1.6; }
.gfe { padding: 22px 24px; border: 1px solid rgb(238 239 230 / .26); border-radius: 10px; }
.gfe p + p { margin-top: 10px; }
.gfe a { color: var(--on-deep); }
@media (max-width: 999px) {
  .fees { grid-template-columns: 1fr; }
  .fees__body { grid-row: auto; grid-column: 1; margin-top: 28px; }
  .fees__more { grid-template-columns: 1fr; }
  .tabs { display: grid; grid-auto-columns: 1fr; width: 100%; }
  .tabs button { padding: 0 6px; font-size: 14.5px; }
}
@media (max-width: 560px) {
  .oon__out { grid-template-columns: 1fr; }
  .oon__out p { grid-template-columns: 1fr auto; align-items: baseline; }
  .receipt > div { flex-wrap: wrap; }
}

/* ---------- 5. where we see you ---------- */
.where { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(32px, 6vw, 110px); align-items: center; padding: clamp(80px, 12vh, 140px) var(--gut); max-width: var(--max); margin: 0 auto; }
.where__pic { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 5; background: var(--paper-2); }
.where__pic picture, .where__pic img { width: 100%; height: 100%; object-fit: cover; }
.where__pic img { transform-origin: 50% 50%; scale: 1.12; }
.where__pic figcaption { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; padding: 6px 10px; border-radius: var(--r); background: rgb(251 248 242 / .94); font-size: 13.5px; color: var(--ink); }
.where__two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.where__two h3 { display: flex; align-items: center; gap: 8px; font: 400 23px/1.15 var(--serif); color: var(--ink); margin-bottom: 8px; }
.where__two h3 .i { color: var(--leaf); }
.where__two p { font-size: 16px; }
.where__small { margin-top: 10px; font-size: 14.5px !important; color: var(--muted); }
.hours { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.hours__k { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.hours__k .i { width: 18px; height: 18px; color: var(--leaf); }
.hours dl { margin-top: 10px; }
.hours dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.hours dt { color: var(--ink-2); }
.hours dd { color: var(--ink); font-weight: 500; }
.hours .is-today dt, .hours .is-today dd { color: var(--ink); font-weight: 600; }
.hours .is-today dt::after { content: "Today"; margin-left: 10px; padding: 1px 7px; border-radius: 4px; background: var(--sage-soft); font-size: 12px; font-weight: 600; }
.hours__small { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 999px) {
  .where { grid-template-columns: 1fr; }
  .where__pic { aspect-ratio: 4 / 4; margin-bottom: 40px; }
}
@media (max-width: 600px) {
  .where__two { grid-template-columns: 1fr; }
}

/* ---------- 6. how it starts ---------- */
.start { padding: clamp(80px, 12vh, 140px) var(--gut); background: var(--paper-2); }
.start > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(48px, 7vh, 80px); }
.steps li { position: relative; padding-top: 22px; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
.js-motion .steps li::before { transform: scaleX(var(--draw, 0)); transition: transform 1.2s var(--ease); }
.js-motion .steps.is-in li::before { --draw: 1; }
.js-motion .steps.is-in li:nth-child(2)::before { transition-delay: .15s; }
.js-motion .steps.is-in li:nth-child(3)::before { transition-delay: .3s; }
.js-motion .steps.is-in li:nth-child(4)::before { transition-delay: .45s; }
.steps__n { display: block; font: 300 clamp(48px, 5vw, 80px)/1 var(--serif); letter-spacing: -.04em; color: #6b7362; }
.steps h3 { margin-top: 14px; font: 400 24px/1.15 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.steps p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; }
.methods { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 6vw, 110px); margin-top: clamp(72px, 10vh, 120px); padding-top: 40px; border-top: 1px solid var(--line-2); }
.methods__h { font: 300 clamp(30px, 3vw, 46px)/1.05 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.methods__lead { grid-column: 1; margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 32ch; }
.methods__list { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.methods__list dt { font: 400 26px/1.1 var(--serif); color: var(--ink); }
.methods__list dt span { display: block; margin-top: 4px; font: 500 13px/1.3 var(--sans); color: var(--muted); }
.methods__list dd { margin-top: 10px; font-size: 15.5px; line-height: 1.6; }
@media (max-width: 999px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .methods { grid-template-columns: 1fr; }
  .methods__list { grid-column: 1; grid-row: auto; margin-top: 28px; }
}
@media (max-width: 560px) {
  .steps, .methods__list { grid-template-columns: 1fr; }
}

/* ---------- 7. crisis: plain, noticeable, before the form ---------- */
.crisis { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: clamp(28px, 6vw, 110px); padding: clamp(56px, 9vh, 96px) max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); background: var(--night); color: var(--on-deep-2); }
.crisis__num { font: 300 clamp(120px, 17vw, 270px)/.8 var(--serif); letter-spacing: -.06em; color: var(--on-deep); }
.crisis__h { font: 400 clamp(30px, 3vw, 44px)/1.1 var(--serif); letter-spacing: -.02em; color: var(--on-deep); margin-bottom: 14px; }
.crisis__text p { font-size: 17px; max-width: 56ch; }
.crisis__911 { margin-top: 14px; font-weight: 600; color: #fff !important; font-size: 19px !important; }
.crisis__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.link--light { color: var(--on-deep); min-height: 44px; display: inline-flex; align-items: center; }
.crisis__small { margin-top: 18px; font-size: 14px !important; }
.crisis a:focus-visible { outline-color: var(--on-deep); }
@media (max-width: 760px) {
  .crisis { grid-template-columns: 1fr; }
  .crisis__num { font-size: 120px; margin-bottom: 18px; }
}

/* ---------- 8. form ---------- */
.call { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(32px, 6vw, 110px); padding: clamp(80px, 12vh, 140px) var(--gut); max-width: var(--max); margin: 0 auto; align-items: start; }
.call__text { position: sticky; top: calc(var(--hdr) + 32px); }
.call__lead { margin-top: 18px; font-size: 18px; max-width: 40ch; }
.call__next { margin-top: 28px; display: grid; gap: 12px; }
.call__next li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.call__next .i { color: var(--leaf); margin-top: 2px; }
.call__card { padding: clamp(22px, 3vw, 40px); background: var(--card); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgb(31 35 30 / .45); }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0; }
.opt-l { font-weight: 400; color: var(--muted); font-size: 13.5px; margin-left: 4px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; font-size: 16px; color: var(--ink); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(31 35 30 / .12); }
.field--two { grid-template-columns: 1fr 1fr; column-gap: 12px; }
.field--two > div { display: grid; gap: 6px; }
.field--two .field__help, .field--two .field__err { grid-column: 1 / -1; }
.field__help { font-size: 13.5px; color: var(--muted); }
.field__err { font-size: 14px; font-weight: 500; color: #8a2d22; }
.field__err:empty { display: none; }
.field.is-bad input { border-color: #8a2d22; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 8px; float: left; }
.chips .field__help, .chips .field__err { width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 15px; font-weight: 500; color: var(--ink); background: #fff; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form__privacy { padding: 14px 16px; border-radius: var(--r); background: var(--sage-soft); font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.form__privacy p { display: flex; gap: 10px; }
.form__privacy p + p { margin-top: 6px; padding-left: 30px; color: var(--ink-2); }
.form__privacy .i { width: 18px; height: 18px; margin-top: 2px; }
.form__after { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); text-align: center; }
.done { display: grid; gap: 14px; padding: 12px 0; }
.done:focus { outline: none; }
.done__mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); }
.done__h { font: 300 44px/1 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.done .link { justify-self: start; min-height: 44px; }
@media (max-width: 999px) {
  .call { grid-template-columns: 1fr; }
  .call__text { position: static; margin-bottom: 36px; }
}
@media (max-width: 480px) {
  .field--two { grid-template-columns: 1fr; row-gap: 14px; }
}

/* ---------- footer ---------- */
.foot { background: var(--spruce); color: var(--on-deep-2); }
.foot__photo { height: clamp(160px, 26vw, 320px); overflow: hidden; }
.foot__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.foot__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; padding: 56px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 40px; font-size: 15px; line-height: 1.6; }
.foot a, .foot .linkbtn { color: var(--on-deep); }
.foot__name { font: 300 clamp(34px, 3.4vw, 52px)/1 var(--serif); letter-spacing: -.03em; color: var(--on-deep); margin-bottom: 14px; }
.foot__brand p + p { margin-top: 6px; }
.foot__links { display: grid; align-content: start; justify-items: start; gap: 2px; }
.foot__links a, .foot__links .linkbtn { min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; }
.foot__links a:hover, .foot__links .linkbtn:hover { text-decoration: underline; }
.foot .tnote { border-color: rgb(238 239 230 / .3); color: var(--on-deep-2); margin-top: 8px; }
.foot .tnote b { color: var(--on-deep); }
.foot__crisis p + p { margin-top: 10px; }
.foot__crisis b { color: var(--on-deep); font-weight: 600; }
.foot__sample { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgb(238 239 230 / .14); font-size: 13.5px; }
.foot a:focus-visible, .foot button:focus-visible { outline-color: var(--on-deep); }
@media (max-width: 860px) {
  .foot__in { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- phone bar ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar .btn { min-height: 48px; padding: 0 12px; }
  .foot { padding-bottom: 76px; }
}

/* ==========================================================================================
   Design consilium pass ("Layers of bark"): hero on the wall color from the photo, the "mind" scene on deep
   weather colors, light fees, mist sections, dark sheets with a rounded bottom laid over the next section.
   ========================================================================================== */
.hero { background: var(--wall); }
.hero__where, .hero__eve, .hero .ex, .facts dd { color: var(--ink-2); }
.hero__where .i { color: var(--spruce); }
.hero__h { color: var(--spruce); }
.said__item::before, .said__item::after { color: #7f8a6f; }
.said__toggle { border-color: rgb(31 35 30 / .3); color: var(--ink-2); }
.facts { background: var(--wall); border-top-color: rgb(31 35 30 / .18); }
.facts > div + div { border-color: rgb(31 35 30 / .18); }
.hdr.is-solid .bar { background: var(--paper); }

.mind { position: relative; z-index: 2; color: var(--on-deep-2); border-radius: 0 0 var(--sheet) var(--sheet); margin-bottom: calc(-1 * var(--sheet)); }
.mind .kicker, .mind__lead, .mind__more { color: var(--on-deep-2); }
.mind .h2 { color: var(--on-deep); }
.mind__lead b { color: var(--on-deep); }
.mind .link { color: var(--on-deep); }
.mind :focus-visible { outline-color: var(--on-deep); }
.mind .ans :focus-visible { outline-color: var(--ink); }
.mind .ans .link { color: var(--ink); }
.mind__opts { border-top-color: rgb(242 241 235 / .22); }
.opt { border-bottom-color: rgb(242 241 235 / .14); }
.opt::before { background: var(--on-deep); }
.opt__t { color: var(--on-deep-dim); }
.opt:hover .opt__t, .opt.is-on .opt__t { color: var(--on-deep); }
.opt__k { color: var(--on-deep-2); }
.mind__shots { background: rgb(0 0 0 / .2); }
.mind .ex { color: var(--muted); }
@media (max-width: 999px) {
  .opt { border: 1px solid rgb(242 241 235 / .22); background: rgb(242 241 235 / .05); }
  .opt.is-on { background: rgb(242 241 235 / .12); border-color: var(--on-deep); }
  .opt__t { color: var(--on-deep); }
}
.team { padding-top: calc(clamp(80px, 12vh, 140px) + var(--sheet)); }

.fees { background: var(--paper); color: var(--ink-2); border-top: 1px solid var(--line); }
.fees .kicker { color: var(--muted); }
.fees .h2 { color: var(--ink); }
.tabs { border-color: var(--line-2); background: var(--paper-2); }
.tabs button { color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--spruce); color: var(--paper); }
.tabs button:focus-visible, .fees a:focus-visible, .fees input:focus-visible, .pay:focus-visible { outline-color: var(--ink); }
.pay { background: var(--paper-2); border-color: var(--line); }
.pay__k, .plans, .pay__t b, .receipt dt, .receipt dd, .oon__l, .oon__out b, .ask__k, .fees__row h3, .gfe h3, .gfe a { color: var(--ink); }
.pay__k .ex, .fees .ex { color: var(--muted); }
.plans li:not(:last-child)::after { color: #8a937c; }
.receipt > div { border-bottom-color: var(--line-2); }
.oon { background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.oon input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--spruce) var(--p), rgb(31 35 30 / .18) var(--p)); }
.oon input[type="range"]::-moz-range-track { background: linear-gradient(90deg, var(--spruce) var(--p), rgb(31 35 30 / .18) var(--p)); }
.oon input[type="range"]::-webkit-slider-thumb { background: var(--card); border: 2px solid var(--spruce); box-shadow: 0 2px 6px rgb(31 35 30 / .25); }
.oon input[type="range"]::-moz-range-thumb { background: var(--card); border: 2px solid var(--spruce); }
.oon__out .is-you b { color: var(--leaf); }
.ask li::before { color: var(--muted); }
.fees .tnote { border-color: var(--line-2); color: var(--muted); }
.fees .tnote b { color: var(--ink); }
.fees__more { border-top-color: var(--line); }
.gfe { border-color: var(--line-2); background: var(--card); }

.where { max-width: none; margin: 0; padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); padding-right: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); background: var(--lakemist); }
.start { background: var(--mist); }
.crisis { position: relative; z-index: 2; border-radius: 0 0 var(--sheet) var(--sheet); margin-bottom: calc(-1 * var(--sheet)); color: var(--on-deep-2); }
.crisis__num, .crisis__h { color: var(--on-deep); }
.call { padding-top: calc(clamp(80px, 12vh, 140px) + var(--sheet)); }
.foot { background: var(--spruce); }
@media (max-width: 760px) { :root { --sheet: 24px; } }

.mind__panels { z-index: 3; }
.mind .h2 { font-size: clamp(38px, 4.2vw, 66px); }
@media (min-width: 1000px) {
  .opt { padding: 8px 0 8px 26px; }
  .opt__t { font-size: clamp(19px, 1.55vw, 24px); }
  .mind__opts { margin-top: clamp(16px, 2.6vh, 28px); }
  .mind__stage { padding-top: clamp(36px, 6vh, 72px); padding-bottom: clamp(32px, 5vh, 56px); }
}
.where__pic img { scale: 1.16; }
.where__thumb { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; margin-bottom: 16px; background: var(--paper-2); }
.where__thumb img { width: 100%; height: 100%; object-fit: cover; }
.start__head { display: grid; }
.start__pic { margin-top: clamp(40px, 6vh, 64px); aspect-ratio: 21 / 8; overflow: hidden; border-radius: 12px; background: var(--paper-2); }
.start__pic img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; }
@media (max-width: 760px) { .start__pic { aspect-ratio: 4 / 3; } }
/* ==========================================================================================
   Motion pass: cursor, scene counter, button fills, link underlines, photo hovers, footer reveal
   ========================================================================================== */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); }
.has-cursor .cursor.is-on { opacity: 1; }
.cursor__dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); mix-blend-mode: multiply; transition: transform .45s var(--ease), background-color .3s var(--ease); }
.cursor.is-link .cursor__dot { transform: scale(2.6); background: rgb(31 35 30 / .18); }
.cursor.is-word .cursor__dot { transform: scale(9.2); background: var(--spruce); mix-blend-mode: normal; }
.cursor__label { position: absolute; left: 0; top: 0; translate: -50% -50%; white-space: nowrap; font: 500 12px/1 var(--sans); color: var(--paper); opacity: 0; scale: .6; transition: opacity .3s var(--ease), scale .45s var(--ease); }
.cursor.is-word .cursor__label { opacity: 1; scale: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

.mind__view { --pad: 0px; }
.mind__count { position: absolute; right: 0; top: -34px; font: 400 15px/1 var(--sans); letter-spacing: .04em; color: var(--on-deep-2); font-variant-numeric: tabular-nums; }
.mind__count span { color: var(--on-deep); }
.mind__prog { position: absolute; right: -22px; top: 0; bottom: 0; width: 1px; background: rgb(242 241 235 / .18); }
.mind__prog span { position: absolute; inset: 0; background: var(--on-deep); transform-origin: top; transform: scaleY(.125); transition: transform .25s linear; }
@media (max-width: 999px) { .mind__count { top: 12px; right: 12px; z-index: 3; padding: 6px 9px; border-radius: 4px; background: rgb(27 38 51 / .6); } .mind__prog { display: none; } }

.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--spruce-2); transform: translateY(101%); transition: transform .55s var(--ease); border-radius: inherit; }
.btn--ink:hover { background: var(--spruce); }
.btn--ink:hover::before { transform: translateY(0); }
.btn--line::before { background: rgb(31 35 30 / .06); }
.btn--line:hover::before, .btn--paperline:hover::before { transform: translateY(0); }
.btn--paperline::before { background: rgb(242 241 235 / .1); }
.btn--paper::before { background: #fff; }
.btn--paper:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.98); transition: transform .12s ease-out; }
.chips span:active, .filter button:active, .tabs button:active { transform: scale(.97); }

.nav a, .foot__links a { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 12px calc(100% - 8px); transition: background-size .45s var(--ease), background-color .3s; }
.nav a:hover { background-size: calc(100% - 24px) 1px; background-color: transparent; }
.foot__links a { background-position: 0 calc(100% - 9px); }
.foot__links a:hover { background-size: 100% 1px; text-decoration: none; }

.tcard__pic img { transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.tcard__pic:hover img { transform: scale(1.045); }
.tcard__pic .tag { transition: transform .5s var(--ease); }
.shot img, .where__pic img, .hero__photo img { will-change: transform; }

/* the page lifts off the footer: the footer waits underneath and is revealed (desktop, tall screens) */
@media (min-width: 1000px) and (min-height: 760px) {
  main { position: relative; z-index: 1; background: var(--paper); border-radius: 0 0 var(--sheet) var(--sheet); box-shadow: 0 40px 60px -40px rgb(0 0 0 / .4); }
  .foot { position: sticky; bottom: 0; z-index: 0; margin-top: calc(-1 * var(--sheet)); padding-top: var(--sheet); }
}

/* 3D objects: studio photos of real handmade things (ceramic ninebark sprig, river stones, two mugs), cut out.
   They drift a little with scroll; the hero sprig also leans toward the pointer. Decorative only. */
.obj { position: absolute; z-index: 4; pointer-events: none; height: auto; filter: drop-shadow(0 22px 26px rgb(31 35 30 / .16)); }
.obj--sprig { width: clamp(150px, 13vw, 230px); left: 7%; top: clamp(120px, 15vh, 170px); }
.said__toggle { position: static; margin-top: 14px; }
.start__head { position: relative; }
.obj--stones { width: clamp(110px, 11vw, 180px); right: 3%; top: 8%; }
.obj--mugs { position: relative; display: block; width: clamp(150px, 15vw, 230px); margin: 28px 0 0 auto; }
@media (max-width: 999px) {
  .obj--sprig { left: auto; right: 8px; top: 8px; width: 118px; }
  .obj--stones { width: 92px; right: 0; top: 0; }
}
@media (max-width: 560px) { .obj--stones { width: 72px; } .obj--mugs { width: 140px; margin-top: 20px; } }

/* ---------- first screen loop: a slow breeze moves the leaf shadow on the wall; a passing cloud softens the light.
   The shadow layer is a white-and-grey map multiplied over the clean wall, so at rest it is exactly the photo. ---------- */
.hero__cam { position: absolute; inset: 0; }
.hero__cam picture, .hero__cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.hero__shade { mix-blend-mode: multiply; transform-origin: 92% 0%; animation: breeze 13s ease-in-out infinite, cloud 23s ease-in-out infinite; will-change: transform, opacity; }
.hero__shade img { transform-origin: 92% 0%; animation: flutter 4.7s ease-in-out infinite; }
@keyframes breeze {
  0%, 100% { transform: rotate(0deg) translate3d(0, 0, 0); }
  18% { transform: rotate(.9deg) translate3d(.7%, .25%, 0); }
  31% { transform: rotate(.35deg) translate3d(.2%, .1%, 0); }
  47% { transform: rotate(1.4deg) translate3d(1.1%, .45%, 0); }
  63% { transform: rotate(-.3deg) translate3d(-.35%, -.1%, 0); }
  81% { transform: rotate(.6deg) translate3d(.45%, .2%, 0); }
}
@keyframes flutter { 0%, 100% { transform: skewX(0deg) scale(1); } 50% { transform: skewX(.6deg) scale(1.006); } }
@keyframes cloud { 0%, 30%, 100% { opacity: 1; } 48%, 58% { opacity: .62; } }
.hero-still .hero__shade, .hero-still .hero__shade img, .hero-off .hero__shade, .hero-off .hero__shade img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero__shade, .hero__shade img { animation: none; } }

/* phones: the living wall comes first, right under the header, so the breeze is in the first screen */
@media (max-width: 760px) {
  .hero__cam picture, .hero__cam img { object-position: 78% 40%; }
  .hero__media { order: -1; margin: 64px var(--gut) 0; aspect-ratio: auto; height: min(30svh, 260px); max-height: none; }
  .said__item { font-size: clamp(32px, 8.6vw, 40px); }
  .hero__where { margin-bottom: 14px; font-size: 14px; }
  .hero__h { margin-top: 14px; }
  .said__toggle { margin-top: 10px; }
  .hero__text { padding-top: 24px; }
  .mbar { transform: none; }
}

/* ==========================================================================================
   П1 (14.11 evening): a living first screen. Phrases are said word by word, the therapist who works with the
   phrase lights up in the card, the leaf shadow breathes in two depths, a warm patch of sun drifts.
   ========================================================================================== */
.said__item .w { display: inline-block; text-indent: 0; will-change: transform, opacity; }
.hero__media { grid-column: 2; grid-row: 1; }
@media (max-width: 999px) { .hero__media { grid-column: 1; grid-row: auto; } }
.said__item .w:first-child { margin-left: 0; }
.said__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-top: 16px; padding: 0 12px 0 10px; border: 1px solid rgb(31 35 30 / .22); border-radius: var(--r); background: rgb(242 241 235 / .35); font: 500 13px/1 var(--sans); color: var(--ink-2); cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.said__toggle:hover { background: rgb(242 241 235 / .7); border-color: rgb(31 35 30 / .4); }
.said__ico { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.said__ico .i-play { display: none; fill: currentColor; stroke: none; }
.said__toggle[aria-pressed="true"] .i-pause { display: none; }
.said__toggle[aria-pressed="true"] .i-play { display: inline; }

/* the card lives in the hero grid now (on phones it sits under the buttons) */
.open { position: relative; left: auto; bottom: auto; grid-column: 2; grid-row: 1; align-self: end; justify-self: start; z-index: 5;
  width: min(340px, 86%); margin: 0 0 clamp(96px, 15vh, 160px) clamp(-96px, -6vw, -32px); }
.open__list li { position: relative; padding: 6px 8px 6px 12px; margin: 0 -8px 0 -12px; border-radius: 6px; transition: background-color .5s var(--ease); }
.open__list li::before { content: ""; position: absolute; left: 2px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--leaf); transform: scaleY(0); transform-origin: top; transition: transform .5s cubic-bezier(.165, .84, .44, 1); }
.open__list li.is-on { background: rgb(47 107 69 / .08); }
.open__list li.is-on::before { transform: scaleY(1); }
.open__list li > span { flex: 1; }
.open__w { margin-left: auto; font: italic 400 12.5px/1.2 var(--serif); color: var(--leaf); white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.open__list li.is-on .open__w { opacity: 1; transform: none; }
.open.is-all .open__w { font-size: 0; }
.open.is-all .open__w::after { content: "any of us"; font-size: 12.5px; }

/* two depths of leaf shadow + a drifting warm patch of sun */
.hero__shade--far { opacity: .35; transform-origin: 80% 0%; animation: breeze-far 17s ease-in-out infinite reverse; }
.hero__shade--far img { animation: none; }
@keyframes breeze-far {
  0%, 100% { transform: rotate(0deg) translate3d(0, 0, 0) scale(1.04); }
  33% { transform: rotate(-1.2deg) translate3d(-1%, .4%, 0) scale(1.04); }
  66% { transform: rotate(.8deg) translate3d(.8%, -.3%, 0) scale(1.04); }
}
.hero__sun { position: absolute; left: 38%; top: 18%; width: 70%; height: 64%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 236 196 / .55), rgb(255 236 196 / 0)); mix-blend-mode: soft-light; pointer-events: none; animation: sun 21s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes sun { 0% { transform: translate3d(0, 0, 0) scale(1); opacity: .9; } 100% { transform: translate3d(-4%, 5%, 0) scale(1.06); opacity: .55; } }
.hero-still .hero__shade--far, .hero-off .hero__shade--far, .hero-still .hero__sun, .hero-off .hero__sun { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero__shade--far, .hero__sun { animation: none; } }
@media (max-width: 999px) { .hero__shade--far { display: none; } }   /* the light version below desktop */

@media (max-width: 999px) {
  .open { left: auto; right: auto; bottom: auto; grid-column: 1; grid-row: auto; justify-self: stretch; width: auto; margin: 4px var(--gut) 28px; box-shadow: 0 0 0 1px var(--line); }
  .open__list { grid-template-columns: 1fr 1fr; grid-auto-flow: row; gap: 4px 12px; }
  .open__list li { flex-direction: row; align-items: center; margin: 0; padding: 8px 8px 8px 12px; }
  .open__w { display: none; }
  .open__upd { display: block; }
}
@media (max-width: 760px) {

  .open__list { grid-template-columns: 1fr; }
  .open__list li { font-size: 14px; }
}
@media (max-width: 999px) and (min-width: 761px) { .open__w { display: inline; } }

.said__ghost { position: fixed; left: 0; top: 0; z-index: 30; margin: 0; pointer-events: none; transform-origin: 0 0; will-change: transform, opacity; color: var(--ink); }
.said__ghost::before { content: "\201C"; color: #7f8a6f; margin-left: -.42em; }

/* П2.3: "How it starts" is a path. One thin line runs from 01 to 04 as you scroll; each step has a small detail
   from real life (the laptop you write on, the tea during the call, the chair, the planner), not an icon. */
.steps-wrap { position: relative; margin-top: clamp(48px, 7vh, 80px); }
.steps-wrap .steps { margin-top: 0; }
.steps li { padding-top: 26px; }
.steps__path { position: absolute; left: 0; right: 0; top: -10px; width: 100%; height: 40px; overflow: visible; display: none; }
.steps__path path { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.steps__det { width: 84px; height: 84px; margin: 0 0 18px; border-radius: 50% 50% 50% 8px; overflow: hidden; background: var(--paper-2); box-shadow: 0 0 0 4px var(--mist), 0 10px 24px -14px rgb(31 35 30 / .5); }
.steps__det img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .steps__path { display: block; }
  .steps li::before { display: none; }        /* the single drawn path replaces the per-step rules */
  .js-motion .steps__path path { stroke-dashoffset: 1; }
  .js-motion .steps li .steps__det, .js-motion .steps li h3, .js-motion .steps li p, .js-motion .steps li .steps__n { opacity: .18; transform: translateY(10px); transition: opacity .7s cubic-bezier(.165, .84, .44, 1), transform .7s cubic-bezier(.165, .84, .44, 1); }
  .js-motion .steps li .steps__det { transform: scale(.82); }
  .js-motion .steps li.is-reached .steps__det, .js-motion .steps li.is-reached h3, .js-motion .steps li.is-reached p, .js-motion .steps li.is-reached .steps__n { opacity: 1; transform: none; }
  .js-motion .steps li.is-reached p { transition-delay: .08s; }
}
@media (max-width: 999px) { .steps__det { width: 72px; height: 72px; } }

@media (max-width: 560px) {
  .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: start; }
  .steps__det { grid-row: 1 / span 3; width: 64px; height: 64px; margin: 4px 0 0; }
  .steps__n { font-size: 40px; }
  .steps h3 { margin-top: 6px; }
}

/* П2.4 form in three steps */
.fprog { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.fprog__bar { flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.fprog__bar i { display: block; height: 100%; background: var(--spruce); transform: scaleX(.3333); transform-origin: left; transition: transform .7s cubic-bezier(.165, .84, .44, 1); }
.fprog__lab { font: 500 13px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fprog__lab b { color: var(--ink); }
.fstep { display: grid; gap: 22px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fstep__h { float: left; width: 100%; margin-bottom: 4px; font: 300 clamp(26px, 2.4vw, 32px)/1.1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.fnav { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.fnav .btn { margin-left: auto; }
.fback { min-height: 44px; }
@media (max-width: 480px) { .fnav .btn { width: 100%; } .fnav { flex-direction: column-reverse; align-items: stretch; } .fback { align-self: flex-start; } }

@media (max-width: 760px) { .mbar.is-off { transform: translateY(110%); } }

/* П2.5 a hand-made route sketch that draws itself, line by line, when it comes into view */
.route { margin: 32px 0 0; padding: 18px 18px 14px; border-radius: 12px; background: rgb(255 255 255 / .45); box-shadow: 0 0 0 1px var(--line); }
.route__svg { display: block; width: 100%; height: auto; overflow: visible; }
.r { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.r--river { stroke: #a9bfc3; stroke-width: 12; opacity: .55; }
.r--hwy { stroke: #b9b7a0; stroke-width: 7; }
.r--st { stroke: #8d917f; stroke-width: 2; }
.r--grand { stroke: var(--spruce); stroke-width: 3.4; }
.r--side { stroke: #b3b6a8; stroke-width: 1.2; stroke-dasharray: 1; }
.r--walk { stroke: var(--leaf); stroke-width: 1.6; }
.route__lab text { font: 500 13px var(--sans); fill: var(--muted); letter-spacing: .01em; }
.route__lab .route__bus { fill: var(--leaf); font-weight: 600; }
.route__lab .route__p { font: 700 11px var(--sans); fill: #6f7462; }
.route__stop { fill: var(--paper); stroke: var(--leaf); stroke-width: 2; }
.route__pin circle { fill: var(--spruce); }
.route__pin .route__ring { fill: rgb(30 50 41 / .14); }
.route__us { font: 400 17px var(--serif); fill: var(--ink); }
.route figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.js-motion .route .r { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.45, 0, .55, 1); }
.js-motion .route .route__lab, .js-motion .route .route__pin, .js-motion .route .route__us, .js-motion .route .route__stop { opacity: 0; transition: opacity .8s cubic-bezier(.165, .84, .44, 1); }
.js-motion .route .route__pin { transform: scale(.4); transform-origin: 280px 186px; transition: opacity .6s, transform .9s cubic-bezier(.34, 1.4, .64, 1); }
.js-motion .route.is-drawn .r { stroke-dashoffset: 0; }
.js-motion .route.is-drawn .r--hwy { transition-delay: .1s; } .js-motion .route.is-drawn .r--st { transition-delay: .35s; }
.js-motion .route.is-drawn .r--grand { transition-delay: .6s; } .js-motion .route.is-drawn .r--side { transition-delay: .9s; }
.js-motion .route.is-drawn .r--walk { transition-delay: 1.6s; transition-duration: 1s; }
.js-motion .route.is-drawn .route__lab { opacity: 1; transition-delay: 1.1s; }
.js-motion .route.is-drawn .route__stop { opacity: 1; transition-delay: 1.4s; }
.js-motion .route.is-drawn .route__pin { opacity: 1; transform: none; transition-delay: 1.9s; }
.js-motion .route.is-drawn .route__us { opacity: 1; transition-delay: 2.1s; }

.tcard__fmt { flex-wrap: nowrap; align-items: flex-start; }
.tcard__fmt .i { margin-top: 3px; }

/* ---------- reduced motion: no transitions, everything in place ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .where__pic img { scale: 1; }
  .cursor { display: none; }
  .btn::before { display: none; }
}
