/* Peacewise Family Therapy — shared styles (built from mockup B) */
:root{--bg:#ffffff;--tint:#eff5fc;--wash:#e1edfa;--ink:#16273f;--soft:#566982;--accent:#3a70b8;--accent-dark:#2b5794;--sand:#e1edfa;--line:#d3e2f3;--note:#fff6d6}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.6 "DM Sans",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,p,ul{margin:0}
h1,h2,h3{font-weight:600;line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.soft{color:var(--soft)}

/* Header */
header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:24px}
.nav img{height:42px}
.nav ul{display:flex;gap:28px;list-style:none;padding:0;font-size:15px;font-weight:500}
.nav a{text-decoration:none}
.nav ul a:hover,.nav ul a.here{color:var(--accent);text-decoration:underline;text-underline-offset:6px}
.btn{display:inline-block;background:var(--accent);color:#fff;padding:13px 22px;border-radius:10px;text-decoration:none;font-weight:600;font-size:15px;border:0;cursor:pointer;white-space:nowrap}
.btn:hover{background:var(--accent-dark)}
.btn.line{background:none;color:var(--accent);border:1.5px solid var(--accent)}
.btn.line:hover{background:var(--tint)}

/* Home hero */
.hero{display:grid;grid-template-columns:1fr 1.05fr;gap:56px;align-items:center;padding:64px 24px 72px}
.hero h1{font-size:clamp(40px,5.6vw,68px)}
.hero h1 em{color:var(--accent)}
.hero .lead{color:var(--soft);font-size:19px;margin:20px 0 28px;max-width:44ch}
.hero .note{font-size:14px;color:var(--soft);margin-top:14px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.card{background:var(--tint);border-radius:18px;padding:14px 14px 16px;text-decoration:none;display:flex;flex-direction:column;gap:3px;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(22,39,63,.14)}
.card img{aspect-ratio:5/4;width:100%;object-fit:cover;object-position:50% 18%;border-radius:12px;margin-bottom:10px;background:var(--sand)}
.card h3{font-size:19px}
.card .role{font-size:14px;color:var(--soft)}
.tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.tags span{font-size:12px;background:#fff;border-radius:999px;padding:3px 10px;font-weight:500}
.card .open{font-size:13px;color:var(--accent);font-weight:600;margin-top:8px}
.card .go{font-size:14px;font-weight:600;color:var(--accent);margin-top:6px}

/* Sections */
section{padding:72px 0}
.tint{background:var(--tint)}
.sec h2{font-size:clamp(28px,3.6vw,40px);margin-bottom:8px}
.sec .sub{color:var(--soft);margin-bottom:24px;max-width:62ch}

/* What brings you here */
.chips{display:flex;gap:10px;flex-wrap:wrap}
.chips button{font:500 16px "DM Sans",sans-serif;padding:12px 20px;border-radius:999px;border:1.5px solid var(--accent);background:#fff;color:var(--accent);cursor:pointer}
.chips button.on{background:var(--accent);color:#fff}
.matchbox{margin-top:24px;background:#fff;border-radius:18px;padding:22px;min-height:132px}
.matchbox .hint{color:var(--soft);padding:26px 4px}
.matchbox h3{font-size:17px;margin-bottom:14px}
.matches{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.matches a{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:14px;text-decoration:none;animation:pop .25s ease}
.matches a:hover{border-color:var(--accent);background:var(--tint)}
.matches img{width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:50% 15%;flex:none}
.matches b{display:block;font-size:15px;line-height:1.25}
.matches span{font-size:13px;color:var(--soft)}
@keyframes pop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* Steps, facts, tiles */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.steps>div,.tile{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}
.steps.num{counter-reset:s}
.steps.num>div{counter-increment:s}
.steps.num>div::before{content:counter(s);display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;margin-bottom:16px}
.steps h3,.tile h3{font-size:21px;margin-bottom:8px}
.steps p,.tile p{color:var(--soft);font-size:16px}
.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:28px}
.facts div{border-top:2px solid var(--accent);padding-top:14px}
.facts b{display:block;font-size:17px}
.facts span{font-size:15px;color:var(--soft)}

/* Contact */
.contact{background:var(--ink);color:#fff}
.contact h2{font-size:clamp(30px,4vw,46px);margin-bottom:12px}
.contact .sub{opacity:.8;margin-bottom:32px;max-width:60ch}
.people{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.people div{background:#fff;color:var(--ink);border-radius:16px;padding:20px}
.people b{display:block;font-size:17px}
.people span{display:block;font-size:14px;color:var(--soft);margin:2px 0 12px}
.people a.tel{display:block;font-weight:700;font-size:18px;color:var(--accent);text-decoration:none}
.people a.more{font-size:14px;color:var(--soft)}
.offices{display:flex;gap:40px;flex-wrap:wrap;margin-top:32px;font-size:15px;opacity:.85}
.offices b{display:block}

/* Footer */
footer{padding:36px 0 48px;font-size:14px;color:var(--soft);border-top:1px solid var(--line)}
footer .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
footer a{text-decoration:none}
footer a:hover{text-decoration:underline}

/* Inner pages */
.pagehead{background:var(--tint);padding:56px 0}
.crumb{font-size:14px;color:var(--soft);margin-bottom:14px}
.crumb a{text-decoration:none}
.pagehead h1{font-size:clamp(36px,5vw,56px)}
.pagehead .lead{color:var(--soft);font-size:19px;margin-top:14px;max-width:60ch}
.prose h2{font-size:28px;margin:0 0 14px}
.prose p{margin-bottom:14px;max-width:68ch}
.prose ul{padding-left:20px;margin-bottom:14px;max-width:68ch}
.prose li{margin-bottom:6px}
.block{padding:48px 0;border-bottom:1px solid var(--line)}
.block:last-child{border-bottom:0}
.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.price{font-size:44px;font-weight:700;letter-spacing:-.03em;line-height:1}
.price small{font-size:16px;font-weight:500;color:var(--soft);letter-spacing:0}
table{width:100%;border-collapse:collapse;font-size:15px}
th,td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:center}
th:first-child,td:first-child{text-align:left}
thead th{font-size:14px;color:var(--soft);font-weight:600;vertical-align:bottom}
td.y{color:var(--accent);font-weight:700}
td.n{color:#bccde0}
.scroll{overflow-x:auto}
details{border-bottom:1px solid var(--line);padding:16px 0;max-width:760px}
summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:16px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";color:var(--accent);font-size:22px;line-height:1}
details[open] summary::after{content:"–"}
details p{color:var(--soft);margin:10px 0 0}
.confirm{background:var(--note);border-radius:14px;padding:20px 24px;font-size:15px}
.confirm b{display:block;margin-bottom:6px}
.confirm ul{padding-left:20px}

/* Therapist page */
.bio{display:grid;grid-template-columns:340px 1fr;gap:56px;align-items:start;padding:56px 24px}
.bio .photo{border-radius:20px;width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--sand)}
.side{position:sticky;top:96px}
.side .box{background:var(--tint);border-radius:18px;padding:20px;margin-top:16px;font-size:15px}
.side .box b{display:block;margin-top:12px}
.side .box b:first-child{margin-top:0}
.side .btn{display:block;text-align:center;margin-top:16px}
.bio h1{font-size:clamp(36px,5vw,54px)}
.bio .cred{font-size:19px;color:var(--soft);margin:8px 0 24px}
.bio h2{font-size:24px;margin:36px 0 12px}
.bio p{margin-bottom:14px;max-width:64ch}
.pills{display:flex;gap:8px;flex-wrap:wrap}
.pills span{background:var(--tint);border-radius:999px;padding:6px 14px;font-size:14px;font-weight:500}
.pills.top span{background:var(--accent);color:#fff}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gallery img{border-radius:14px;aspect-ratio:4/3;object-fit:cover;width:100%}
.others{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}

/* Logo intro (home page, once per visit) */
#intro{position:fixed;inset:0;z-index:1000;background:#000;display:grid;place-items:center;cursor:pointer;animation:introOut .8s ease 2s forwards}
#intro img{width:200px;filter:invert(1);opacity:0;animation:introLogo 1.1s ease .25s forwards}
#intro.gone{display:none}
@keyframes introLogo{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes introOut{to{opacity:0;visibility:hidden}}
@media (prefers-reduced-motion:reduce){#intro{animation-delay:.8s;animation-duration:.01s}#intro img{animation:none;opacity:1}}

@media (max-width:980px){
  .nav{flex-wrap:wrap;padding-top:10px;padding-bottom:10px;row-gap:6px}
  .nav ul{order:3;width:100%;overflow-x:auto;gap:20px;padding-bottom:4px;white-space:nowrap}
  .hero,.bio{grid-template-columns:1fr;gap:36px}
  .hero{padding:44px 24px 52px}
  .side{position:static;max-width:380px}
  .steps,.two,.others{grid-template-columns:1fr}
  .facts,.matches,.people{grid-template-columns:1fr 1fr}
  section{padding:52px 0}
}
@media (max-width:560px){
  .matches,.people,.grid{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr 1fr}
  .btn{padding:11px 16px}
}

/* --- Round 3 additions --- */
.matchbox[hidden]{display:none}
.price small{font-size:20px;font-weight:600;color:var(--soft);margin-left:2px}
.price.word{font-size:34px}
.tile .len{font-weight:600;color:var(--ink);margin-top:10px}
.fine{font-size:14px;color:var(--soft);margin-top:8px}
a.tilelink{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;text-decoration:none;display:block;transition:border-color .2s,transform .2s}
a.tilelink:hover{border-color:var(--accent);transform:translateY(-3px)}
a.tilelink span{display:block;margin-top:14px;font-weight:600;color:var(--accent);font-size:15px}
.people .btn{display:block;text-align:center;padding:11px 12px}
.people a.tel{font-size:14px;font-weight:500;color:var(--soft);margin-top:10px;text-align:center}
.side .box .btn{margin:0 0 16px}
.map{display:block;position:relative;margin-top:8px;border-radius:12px;overflow:hidden;border:1px solid var(--line);text-decoration:none}
.map iframe{display:block;width:100%;height:150px;border:0;pointer-events:none}

/* Bookshelf */
.shelf{padding:28px 0;border-bottom:1px solid var(--line)}
.shelf:last-child{border-bottom:0}
.shelf .who{display:flex;gap:14px;align-items:center;text-decoration:none;margin-bottom:18px}
.shelf .who img{width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:50% 15%}
.shelf .who b{display:block;font-size:20px}
.shelf .who span{font-size:14px;color:var(--soft)}
.books{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.book{aspect-ratio:2/3;border-radius:4px 10px 10px 4px;color:#fff;padding:20px 16px 16px 22px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:inset 8px 0 0 rgba(0,0,0,.18),0 6px 16px rgba(22,39,63,.18)}
.book b{font-size:19px;line-height:1.15;letter-spacing:-.01em}
.book span{font-size:13px;opacity:.85;font-style:italic}

/* Request form */
.formwrap{display:grid;grid-template-columns:1fr 300px;gap:56px;padding-top:48px;padding-bottom:72px;align-items:start}
.form{display:grid;gap:18px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form label{display:grid;gap:6px;font-weight:600;font-size:15px}
.form input,.form select,.form textarea{font:400 16px "DM Sans",sans-serif;color:var(--ink);padding:12px 14px;border:1.5px solid var(--line);border-radius:10px;background:#fff;width:100%}
.form input:focus,.form select:focus,.form textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.form .btn{justify-self:start;font-size:16px;padding:14px 28px}
.form .err{color:#a33a2a}
.sent h2{font-size:30px;margin-bottom:10px}
.aside{background:var(--tint);border-radius:18px;padding:24px}
.aside h3{font-size:18px;margin-bottom:12px}
.calls div{padding:8px 0;border-bottom:1px solid var(--line);font-size:15px}
.calls div:last-child{border-bottom:0}
.calls b{display:block}
.calls a{color:var(--accent);font-weight:600;text-decoration:none}
@media (max-width:980px){.formwrap{grid-template-columns:1fr;gap:32px}.books{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.form .row{grid-template-columns:1fr}}

.form .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.form[hidden],.sent[hidden],.confirm[hidden]{display:none}

/* --- Round 4 --- */
.herologo{width:min(320px,72%);margin:0 0 64px}
.tlink{color:var(--accent);font-weight:600}
.matches{grid-template-columns:repeat(auto-fill,minmax(236px,1fr))}
.matches a{padding:10px;gap:10px}
.matches img{width:48px;height:48px}
.matches span{white-space:nowrap}
.matches b{white-space:nowrap}
.steps .num{margin-top:12px;color:var(--ink);font-weight:600}
.steps .num a{color:var(--accent);text-decoration:none}
.aside .calls{margin-top:10px}

/* --- Round 5 --- */
.card img{aspect-ratio:1/1}
body[data-page=home] .nav{justify-content:flex-end}
body[data-page=home] .nav ul{margin-right:auto}
.book b{overflow-wrap:anywhere}

/* --- Round 6: hero quote --- */
.logoh1{margin:0;line-height:0}
.heroquote{margin:0}
.heroquote p{font-size:clamp(26px,3vw,38px);font-weight:600;line-height:1.22;letter-spacing:-.015em;color:var(--ink);text-wrap:balance}
.heroquote cite{display:block;margin-top:14px;font-style:normal;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);font-weight:600}

/* --- Round 7 --- */
.chips.places{margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}

/* --- Round 8: quote in a softer italic serif --- */
.heroquote p{font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-weight:500;font-size:clamp(23px,2.5vw,31px);line-height:1.3;letter-spacing:0}
.heroquote cite{font-size:13px;margin-top:16px}

/* --- Round 9: more air around the quote attribution --- */
.heroquote cite{margin-top:36px}
.heroquote{margin-bottom:40px}

/* --- Round 10: slightly smaller pills so the categories fit three rows on a desktop screen --- */
.chips{gap:8px}
.chips button{font-size:15px;padding:10px 16px}

/* --- Round 11: category rows stretch edge to edge on desktop --- */
.chips.cats{flex-direction:column;flex-wrap:nowrap}
.chiprow{display:flex;gap:8px}
.chiprow button{flex:1 1 auto;white-space:nowrap}
@media (max-width:1100px){
  .chips.cats{flex-direction:row;flex-wrap:wrap}
  .chiprow{display:contents}
  .chiprow button{flex:0 0 auto}
}

/* --- Round 12: real book covers --- */
.books{align-items:start}
.realbook{display:flex;flex-direction:column;gap:4px;text-decoration:none}
.realbook img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:4px 10px 10px 4px;box-shadow:0 6px 16px rgba(22,39,63,.22);margin-bottom:10px;transition:transform .2s}
.realbook:hover img{transform:translateY(-4px)}
.realbook b{font-size:17px;line-height:1.2}
.realbook span{font-size:14px;color:var(--soft);line-height:1.35}
.realbook .by{color:var(--ink);margin-top:2px}
.realbook em{font-style:normal;font-size:14px;font-weight:600;color:var(--accent);margin-top:6px}

/* --- Round 13: color theme section backgrounds (palette is set in :root at the top) --- */
.tint,.pagehead{background:var(--wash)}
.card,.side .box,.aside,.pills span{background:var(--tint)}
.tint .steps>div,.tint a.tilelink,.matchbox{background:#fff}
.chips button{border-color:var(--accent);color:var(--accent)}
.contact{background:var(--ink)}

/* --- Round 14: no logo in the top bar on any page; menu sits at the left --- */
.nav ul{margin-right:auto}

/* --- Round 15: Our Therapists landing page --- */
.tlist{padding-top:48px;padding-bottom:72px;display:grid;gap:24px}
.tcard{display:grid;grid-template-columns:240px 1fr;gap:32px;align-items:start;background:var(--tint);border-radius:20px;padding:24px}
.tcard img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:50% 18%;border-radius:14px;background:var(--sand)}
.tcard h2{font-size:28px;margin-bottom:6px}
.tcard h2 a{text-decoration:none}
.tcard h2 a:hover{color:var(--accent)}
.tcard .role{font-size:15px;color:var(--soft)}
.tcard p{margin:14px 0;max-width:62ch}
.tcard .pills span{background:#fff}
.tcard .acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
@media (max-width:700px){.tcard{grid-template-columns:1fr;gap:18px}.tcard img{max-width:260px}}

/* --- Round 16: phone layout of the top bar --- */
.nav{justify-content:flex-end}
@media (max-width:980px){
  .nav ul{margin-right:0;overflow-x:visible;flex-wrap:wrap;white-space:normal;gap:6px 18px;padding-bottom:6px}
  .nav .btn{margin-left:auto}
}
@media (max-width:560px){
  .nav ul{font-size:14px;gap:4px 14px}
  .nav{row-gap:8px}
}

/* --- Round 17: plain fee tiles, no oversized price --- */
.tile p b{color:var(--ink);font-weight:600}
.paynote{font-size:15px;color:var(--soft);margin-top:16px}

/* --- Round 18: sub-headings inside a profile bio --- */
.bio h3{font-size:19px;line-height:1.25;margin:26px 0 10px;max-width:34em}

/* --- Round 19: About page --- */
.about .leadin{letter-spacing:normal;font-style:italic;font-weight:600;font-size:21px;line-height:1.4;color:var(--ink);max-width:34em;margin-bottom:14px}
@media (max-width:560px){.about .leadin{font-size:19px}}
.abouthead{padding:44px 0}
.aboutlogo{width:min(300px,70%)}
.offices{gap:28px;margin-top:8px}
.office h3{font-size:20px;margin-bottom:6px}
.office p{margin-bottom:6px}
.office .map{margin-top:12px}
.office .map iframe{height:240px}
@media (max-width:700px){.offices{grid-template-columns:1fr}.office .map iframe{height:200px}}

/* Round 20: Crisis Support wording (988 and 911) */
.crisis p+p{margin-top:10px}
.crisis a{color:var(--accent);font-weight:600;text-decoration:none;white-space:nowrap}

/* Round 21: Getting Started step links stay on one line */
.steps .tlink{white-space:nowrap}

/* Round 22: the blue box at the top of every inner page is one fixed size */
.pagehead{height:300px;padding:56px 0 0;overflow:hidden}
.abouthead{padding:0;display:flex;align-items:center}
.abouthead .wrap{width:100%}
.aboutlogo{max-height:212px}
@media (max-width:560px){
  .pagehead{padding-top:36px}
  .pagehead .lead{font-size:17px;margin-top:10px}
}

/* --- Round 23: quote author sits close under the quote, same color as the quote, with a dash (Paul 2026-11-15) --- */
.heroquote cite{margin-top:12px;color:var(--ink)}

/* --- Round 24: article page (Why See an MFT?, Paul 2026-11-16) and a fourth Resources tile on the home page --- */
.article{padding-top:48px;padding-bottom:64px}
.article h2{margin-top:40px}
.article .after{margin-top:36px;max-width:none}
.pagehead .lead a{color:inherit}
#resources .steps{grid-template-columns:repeat(2,1fr)}
@media (max-width:760px){#resources .steps{grid-template-columns:1fr}}

/* --- Round 25: two buttons side by side keep a 12px gap, also when they stack on a phone (Getting Started and the article page) --- */
.btnrow{display:flex;flex-wrap:wrap;gap:12px}

/* --- Round 26: phones. Topic pills are an even two-column grid of same-size buttons (places: three across),
   and the results box opens right under the row of the tapped pill (site.js moves it there). --- */
.chips .matchbox{flex:0 0 100%;grid-column:1/-1}
@media (max-width:560px){
  .chips.cats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .chips.places{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  .chips button,.chiprow button{min-height:52px;padding:6px;border-radius:14px;font-size:14px;line-height:1.25;white-space:normal;text-align:center;text-wrap:balance}
  .chips.places button{padding:6px 2px;white-space:nowrap}
  .chips .matchbox{margin:2px 0 6px;padding:14px;min-height:0}
  .chips .matchbox h3{font-size:16px;margin-bottom:10px}
  .chips .matchbox .matches{gap:8px}
  .chips .matchbox .matches a{padding:6px 8px}
  .chips .matchbox .matches img{width:40px;height:40px}
}

/* --- Round 27: phones. The top bar is one row: a Menu button at the left, Request appointment at the right.
   The six links open under it when Menu is tapped (site.js). Was three rows, 130px, stuck to the top of the screen (Paul 2026-11-16).
   Without JavaScript the links stay visible as before. --- */
.navtoggle{display:none}
@media (max-width:700px){
  .nav{min-height:0;padding-top:8px;padding-bottom:8px;row-gap:0;justify-content:space-between}
  .navtoggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;box-sizing:border-box;background:none;border:1.5px solid var(--accent);border-radius:10px;padding:0 14px;margin:0 auto 0 0;font:inherit;font-size:14px;font-weight:600;line-height:1;color:var(--accent);cursor:pointer}
  .navtoggle:hover,.nav.open .navtoggle{background:var(--tint)}
  .navtoggle .bars{width:16px;height:12px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;position:relative}
  .navtoggle .bars::after{content:"";position:absolute;left:0;right:0;top:3px;border-top:2px solid currentColor}
  /* Menu and Request appointment are a pair: same 40px height, corners, type size and weight; Menu outlined, Request filled (Paul 2026-11-16) */
  .nav .btn{margin-left:0;display:inline-flex;align-items:center;justify-content:center;height:40px;box-sizing:border-box;padding:0 14px;font-size:14px;line-height:1}
  .js .nav ul{display:none}
  .js .nav.open ul{display:block;margin-top:8px;padding:4px 0 2px;border-top:1px solid var(--line);font-size:16px}
  .js .nav.open ul a{display:block;padding:11px 0}
  .js .nav.open ul a:hover,.js .nav.open ul a.here{text-decoration:none}
}

/* --- Round 28: home hero. A text link under "Request appointment" that goes to the "What brings you here?"
   topic pills on Getting Started (#services). All widths (Paul 2026-11-16). --- */
.hero .herofind{font-size:16px;color:var(--soft);margin:18px 0 0;max-width:44ch}
.hero .herofind a{color:var(--accent);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* --- Round 29: home "Request an appointment". The two office addresses sat at the left, under the first two
   cards, and read as belonging to them (Paul 2026-11-16). Where the cards are four across, the addresses are
   now one centered pair under a thin rule that spans all four cards. Narrower widths are unchanged. --- */
@media (min-width:981px){
  .contact .offices{justify-content:center;gap:72px;text-align:center;margin-top:36px;padding-top:26px;border-top:1px solid rgba(255,255,255,.22)}
}

/* Round 30: Laura's and Kiley's home request cards say "or call or text" (Paul, 2026-11-16).
   Between 981px and 1040px the four cards are narrow enough that the longer line wrapped,
   so all four phone lines are 13px there and never wrap. */
.people a.tel{white-space:nowrap}
@media (min-width:981px) and (max-width:1040px){.people a.tel{font-size:13px}}

/* --- Round 31 (Paul 2026-11-16): no blue box on Our Therapists, Getting Started and Fees & Insurance; their page
   heading stays in the code for screen readers and search engines only (.vh). Home hero: the "Find a therapist"
   line is no longer capped at 44 characters, so it fits one line on a desktop and breaks evenly when it must wrap.
   Home "Request an appointment", 980px and under: 28px between the last card and the office addresses (was 8px,
   from the About page's .offices rule). --- */
.vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.hero .herofind{max-width:none;text-wrap:balance}
@media (max-width:980px){.contact .offices{margin-top:28px}}

/* --- Round 32 (Paul 2026-11-16): on a therapist profile the left column (photo, contact box, map) stays pinned
   while the bio scrolls only when the whole column fits in the window; site.js adds .unpin when it does not, so
   the map, Sessions and Fee are no longer cut off on laptop screens. The "Open map" pill on the maps is gone
   (its .map span rule was removed above); the whole map is still a link to Google Maps. --- */
.side.unpin{position:static}

/* --- Round 33 (Paul 2026-11-16): "Client Login" in the top bar, an outlined button to the right of Request
   appointment, 12px from it; opens the TherapyPortal login in a new tab. On phones, 700px and under, there is no
   room for a third button, so it is the last link in the Menu instead (.loginli). From 981px to 1100px the menu
   links sit 16px apart and the two buttons have 16px side padding, so the six links still fit on one line. --- */
.nav .btn.login{margin-left:-12px;padding-top:11.5px;padding-bottom:11.5px}
@media (min-width:981px) and (max-width:1100px){.nav ul{gap:16px}.nav .btn{padding-left:16px;padding-right:16px}}
.nav .loginli{display:none}
@media (max-width:700px){
  .nav .btn.login{display:none}
  .nav .loginli{display:block}
}
