/* Clearview Testing & Counseling: site styles (direction W1 "Overlook", round 2).
   One file for every page. Sizes are fluid (clamp) between a 320px phone and a 2560px monitor, with steps up for
   bigger monitors at the end. Type: Lora (the logo's face) for reading and headings; Source Sans 3 for the small
   working text (menu, buttons, labels, form, fine print), where a serif at 13-15px gets spindly. */
:root{
  --ink:#243b4d; --mid:#5f7d91; --mist:#9bb0bd; --pale:#e8f0f4; --sun:#d6a66b;
  --label:#43627a;                       /* small text in the logo's blue: 5.6:1 or better on every light ground */
  --text:#22313d; --soft:#4a5966; --paper:#f7f5f1; --card:#fffdf9; --rule:#d9dfe2; --warm:#efe7da; --deep:#1a2f3f;
  --serif:Lora,Georgia,'Times New Roman',serif;
  --sans:'Source Sans 3','Segoe UI',system-ui,-apple-system,sans-serif;
  --gut:clamp(20px,5vw,72px); --max:1240px;
  --step:clamp(17px,.3vw + 15.8px,19px);
  --head:78px;
}
@media (min-width:1800px){:root{--max:1360px;--step:20px;--head:90px}}
@media (max-width:860px){:root{--head:64px}}

*,*::before,*::after{box-sizing:border-box}
*{margin:0}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--head) + 16px)}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{font:400 var(--step)/1.68 var(--serif);color:var(--text);background:var(--paper);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img,svg,picture{display:block;max-width:100%}
/* while a photo loads, a tiny blurred copy of it (inlined in the page) fills its place; the photo then draws over it */
picture.lqip{background:var(--ph) 50% 50% / cover no-repeat}
@media (max-aspect-ratio:4/5){.hero picture.lqip{background-image:var(--ph-tall,var(--ph))}}
a{color:inherit}
h1,h2,h3{font-weight:500;line-height:1.14;letter-spacing:-.012em;text-wrap:balance;color:var(--ink)}
p,li{text-wrap:pretty}
ul,ol{padding:0}
strong{font-weight:600}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}
/* the small label above a heading: a short gold line (the logo's trailing lines), sentence case */
.label{display:flex;align-items:center;gap:10px;font:600 15px/1.4 var(--sans);letter-spacing:.01em;color:var(--label)}
.label::before{content:"";width:24px;height:1.5px;background:var(--sun);flex:none}
.skip{position:absolute;left:12px;top:0;transform:translateY(-150%);z-index:100;background:var(--ink);color:#fff;padding:10px 16px;border-radius:2px;font-family:var(--sans)}
.skip:focus{transform:translateY(12px)}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
footer :focus-visible,.hero :focus-visible,.banner :focus-visible,.close :focus-visible,.interlude :focus-visible,.bar :focus-visible{outline-color:#fff}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------------------------------------------------------------- header */
.top{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid transparent;
  transition:background-color .35s,border-color .35s,box-shadow .35s}
.top.solid{border-bottom-color:var(--rule);box-shadow:0 6px 24px -18px rgba(20,40,60,.5)}
.home .top{position:fixed;left:0;right:0;background:transparent}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;height:var(--head)}
.brand{display:block;flex:none;line-height:0}
.brand img{height:clamp(44px,3.4vw,52px);width:auto}
@media (min-width:1100px){.brand img{height:clamp(50px,3.7vw,56px)}}
@media (min-width:1800px){.brand img{height:60px}}
.brand .lg{display:block;position:relative}
/* over the photo the logo is ink with its gold sun; on the light header it is in full colour (crossfade) */
.brand .solid{position:absolute;left:0;top:0;opacity:0;transition:opacity .45s ease}
.brand .sky{transition:opacity .45s ease}
.top.solid .brand .solid{opacity:1} .top.solid .brand .sky{opacity:0}
/* home: site.js sets --p from 0 to 1 over the first 80px of scroll; background, rule, shadow and logos follow it
   directly (no timed transition), so the change moves with the page. With the phone menu open it is fully solid (site.js). */
html .home .top{transition:none;background:rgba(247,245,241,var(--p,0));border-bottom-color:rgba(217,223,226,var(--p,0));
  box-shadow:0 6px 24px -18px rgba(20,40,60,calc(.5 * var(--p,0)))}
html .home .top .brand .sky{transition:none;opacity:calc(1 - var(--p,0))}
html .home .top .brand .solid{transition:none;opacity:var(--p,0)}

.top nav ul{display:flex;align-items:center;gap:clamp(18px,2.3vw,36px);list-style:none;font:500 17px/1 var(--sans)}
@media (min-width:1800px){.top nav ul{font-size:18.5px}}
.top nav a{text-decoration:none;color:var(--ink);padding:8px 0;position:relative}
.top nav a:not(.btn)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--sun);transform:scaleX(0);transition:transform .2s;transform-origin:left}
.top nav a:not(.btn):hover::after,.top nav a[aria-current="page"]::after{transform:scaleX(1)}
.top nav a[aria-current="page"]{font-weight:600}
.top nav a.btn{color:#fff}
.menu-btn{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--ink);color:#fff;text-decoration:none;
  font:600 17px/1.2 var(--sans);letter-spacing:.01em;padding:17px 30px;border-radius:4px;border:0;cursor:pointer;white-space:nowrap;
  transition:background-color .2s,color .2s}
.btn:hover{background:#16283a}
.btn.light{background:#fff;color:var(--ink)} .btn.light:hover{background:var(--pale)}
.top .btn{padding:12px 22px;font-size:16px}
.btn.line{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)} .btn.line:hover{background:var(--pale)}
.top nav a.btn.line{color:var(--ink)} .top nav ul .portal{margin-right:calc(-1 * clamp(18px,2.3vw,36px) + 12px)}
/* text links: no underline; a thin drawn arrow (the logo's line weight) that steps forward on hover */
.link{display:inline-flex;align-items:center;gap:12px;font:600 17px/1.4 var(--sans);color:var(--ink);text-decoration:none}
.link::after{content:"";width:24px;height:10px;flex:none;background:currentColor;transition:transform .25s ease;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M0 5h22M18 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M0 5h22M18 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center/contain}
.link:hover::after{transform:translateX(5px)}

/* ---------------------------------------------------------------- home hero */
.hero{position:relative;min-height:max(600px,100svh);display:flex;align-items:flex-end;color:#fff;overflow:hidden;background:#5b6b80}
.hero picture,.hero img{position:absolute;inset:0;width:100%;height:100%}
.hero img{object-fit:cover;object-position:42% 50%} .hero picture{background-position:42% 50%}
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:
  linear-gradient(0deg,rgba(14,24,32,.72) 0,rgba(14,24,32,.42) 38%,rgba(14,24,32,.2) 60%,rgba(14,24,32,0) 80%)}
.hero .wrap{position:relative;z-index:2;width:100%;padding-top:calc(var(--head) + 40px);padding-bottom:clamp(32px,4.5vh,64px)}
.hero .label,.banner .label,.interlude .label{color:#fff;text-transform:uppercase;letter-spacing:.16em;font-size:14px}
/* a tight dark halo so the small white words read on any part of the photo (WCAG 1.4.3) */
.hero .label,.hero p.sub,.banner .label{text-shadow:0 0 2px rgba(14,24,32,.7),0 0 10px rgba(14,24,32,.55),0 1px 18px rgba(14,24,32,.45)}
.hero h1{color:#fff;font-size:clamp(34px,3.6vw,56px);max-width:24ch;margin-top:16px;text-shadow:0 1px 18px rgba(10,20,30,.25)}
@media (min-width:1800px){.hero h1{font-size:64px}}
/* computers: the words also scale with the window's height, so a short browser window keeps the same picture as a
   tall one (words on the ridges, under the pink sky) instead of the words climbing into the sky (Paul, Nov 29) */
.hero p.sub{font-size:clamp(17px,1.25vw,21px);max-width:56ch;margin-top:22px;color:rgba(255,255,255,.94)}
/* short, wide screens (laptops): the words take less height so they stay on the ridges, below the pink sky */
.acts{display:flex;flex-wrap:wrap;align-items:center;gap:16px 30px;margin-top:34px}
.hero .link,.close .link{color:#fff}

/* ---------------------------------------------------------------- inner-page banner */
.banner{position:relative;height:clamp(300px,46vh,560px);display:flex;align-items:flex-end;color:#fff;overflow:hidden;background:#5b6b80}
.banner picture,.banner img{position:absolute;inset:0;width:100%;height:100%}
.banner img{object-fit:cover}
.banner::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(14,24,32,.66) 0,rgba(14,24,32,.2) 50%,rgba(14,24,32,0) 75%)}
.banner .wrap{position:relative;z-index:2;width:100%;padding-bottom:clamp(30px,5vh,60px)}
.banner .label{font-size:14px}
.banner h1{color:#fff;font-size:clamp(34px,4.2vw,64px);max-width:20ch;margin-top:12px;text-shadow:0 1px 18px rgba(10,20,30,.25)}
/* Contact: Paul's sea photo, taller, the words on the blurred rocks (see sea_grade in build.py) */
/* framing per photo (Pexels, Nov 29): the words sit on the meadow's shade and on the dark slopes below the cloud */
.b-testing :is(img,picture){object-position:50% 55%;background-position:50% 55%} .b-fees :is(img,picture){object-position:50% 68%;background-position:50% 68%}
.banner.tall{height:clamp(440px,72vh,780px);background:var(--deep)}
.banner.tall :is(img,picture){object-position:50% 34%;background-position:50% 34%}
.banner.tall::after{background:linear-gradient(0deg,rgba(26,47,63,.6),rgba(26,47,63,.18) 45%,rgba(26,47,63,0) 65%)}
.banner p.sub{color:rgba(255,255,255,.95);margin-top:14px;font:400 clamp(18px,1.4vw,22px)/1.5 var(--serif);max-width:40ch;text-shadow:0 1px 16px rgba(10,20,30,.3)}
/* home: the same photo opens the Services section, its sentence on the rocks */
.interlude{position:relative;min-height:clamp(520px,84vh,900px);display:flex;align-items:flex-end;color:#fff;overflow:hidden;background:var(--deep)}
.interlude picture,.interlude img{position:absolute;inset:0;width:100%;height:100%}
.interlude img{object-fit:cover;object-position:50% 34%} .interlude picture{background-position:50% 34%}
.interlude::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(26,47,63,.62),rgba(26,47,63,.2) 42%,rgba(26,47,63,0) 62%)}
.interlude .wrap{position:relative;z-index:2;width:100%;padding-bottom:clamp(56px,10vh,120px)}
.interlude h2{color:#fff;font-weight:400;font-size:clamp(26px,2.6vw,40px);line-height:1.34;max-width:27em;margin-top:16px;text-shadow:0 1px 22px rgba(10,20,30,.35)}

/* ---------------------------------------------------------------- sections */
section{position:relative}
.sec{padding:clamp(64px,9vw,136px) 0}
.sec + .sec{padding-top:0}
.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 clamp(16px,2vw,28px)}
.side{grid-column:1 / span 3;padding-top:12px}
@media (min-width:861px){.side .label{position:sticky;top:calc(var(--head) + 36px)}}   /* stays beside its section while you read */
.main{grid-column:4 / span 8}
.main > * + *{margin-top:1.1em}
.main h2{font-size:clamp(28px,2.7vw,40px)}
.main h2 + p{margin-top:.8em}
.lede,.main .lede{font-size:clamp(21px,1.9vw,29px);line-height:1.45;color:var(--ink)}
.soft{color:var(--soft)}

/* questions and answers (Julie's FAQs): native <details>, one line each until opened */
.faqs{margin-top:clamp(24px,3vw,36px)!important;border-top:1px solid rgba(36,59,77,.55)}
.faq{border-bottom:1px solid rgba(36,59,77,.55)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 0}
.faq summary::-webkit-details-marker{display:none}
.faq summary h3{flex:1;font-size:clamp(20px,1.6vw,24px);line-height:1.35;text-wrap:pretty}
/* the plus: two thin strokes; the upright one turns flat when the answer is open, leaving a minus */
.faq summary::after,.faq summary::before{content:"";flex:none;width:18px;height:1.5px;background:var(--ink);order:2;transition:transform .2s}
.faq summary::before{order:3;margin-left:-42px;transform:rotate(90deg)}
.faq[open] summary::before{transform:rotate(0)}
.faq summary:hover h3{color:var(--label)}
.faq .a{padding:0 48px 30px 0;max-width:68ch}
.faq .a > * + *{margin-top:.85em}
.faq .a p,.faq .a li{color:var(--soft)}
.ways{list-style:none} .ways li{padding:3px 0}
/* fees */
.prices dd b{font-weight:600;color:var(--ink);white-space:nowrap}
#gfe-h{font-size:clamp(24px,2.2vw,32px)}
.gfe-short .sec{padding:clamp(48px,5.5vw,84px) 0} .gfe-short .main > * + *{margin-top:.8em} .gfe-short .main p{max-width:62ch}
ul.plain{padding-left:1.15em} ul.plain li + li{margin-top:.7em}
/* plain notice pages: Good Faith Estimate, privacy, accessibility */
.plainpage h1{font-size:clamp(34px,3.6vw,52px)}
.plainpage .main h2{font-size:clamp(22px,2vw,28px);margin-top:1.8em}
.plainpage .lede{margin-top:.9em}
.notice{background:var(--pale);border-left:3px solid var(--mid);padding:clamp(22px,2.6vw,36px)}
.notice > * + *{margin-top:.9em}
.plainpage .notice .nh{font-size:clamp(21px,1.8vw,26px);margin-top:0}
.updated{font-size:15px;margin-top:2.4em!important}

/* a photo inside the reading column */
.inset{margin-top:clamp(32px,3.5vw,52px)!important;aspect-ratio:16/9;overflow:hidden;border-radius:3px;background:var(--warm)}
.inset picture,.inset img{width:100%;height:100%}
.inset img{object-fit:cover}

/* about Julie: her photo in a circle (the logo's lens), with a faint ring around it */
.about .grid{align-items:center}
.about .portrait{grid-column:1 / span 5;position:relative;padding:14px;max-width:520px;width:100%;justify-self:center}
.about .lens{position:relative;aspect-ratio:1;border-radius:50%;overflow:hidden;background:var(--pale)}
.about .lens picture,.about .lens img{width:100%;height:100%}
.about .lens img{object-fit:cover}
.about .portrait::before{content:"";position:absolute;left:0;right:0;top:0;aspect-ratio:1;border-radius:50%;border:1px solid var(--mist)}
.about .copy{grid-column:7 / span 6}
.about .copy h2{font-size:clamp(30px,3vw,44px);margin-top:14px}
.about .copy p{margin-top:1.05em}
.facts{margin-top:34px;border-top:1px solid var(--rule)}
.facts div{display:grid;grid-template-columns:minmax(120px,32%) 1fr;align-items:baseline;gap:16px;padding:15px 0;border-bottom:1px solid var(--rule)}
.facts dt{font:600 15.5px/1.6 var(--sans);color:var(--label)}
.facts dd{color:var(--ink);font-size:.92em}

/* services: two photo features, then fees as a quiet line */
.sec.offer{background:var(--card)}
.about + .offer{padding-top:clamp(64px,9vw,136px)}   /* the sea band used to sit between these two */
.feature{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 clamp(16px,2vw,28px);align-items:center;margin-top:clamp(56px,7vw,112px)}
.feature .ph{grid-column:1 / span 7;position:relative}
.feature .ph picture{position:relative;z-index:1;aspect-ratio:3/2;overflow:hidden;border-radius:3px}
.feature .ph img{width:100%;height:100%;object-fit:cover}
.feature .ph::before{content:"";position:absolute;top:clamp(18px,2.4vw,36px);left:clamp(18px,2.4vw,36px);right:clamp(-36px,-2.4vw,-18px);bottom:clamp(-36px,-2.4vw,-18px);background:var(--pale);border-radius:3px}
.feature .tx{grid-column:9 / span 4}
.feature.flip .ph{grid-column:6 / span 7;grid-row:1}
.feature.flip .ph::before{left:clamp(-36px,-2.4vw,-18px);right:clamp(18px,2.4vw,36px);background:var(--warm)}
.feature.flip .tx{grid-column:1 / span 4;grid-row:1}
.feature h3{font-size:clamp(28px,2.6vw,40px);margin-top:14px}
.feature p{margin-top:16px;color:var(--soft)}
.feature .link{display:inline-flex;margin-top:22px}
.fees-line{margin-top:clamp(80px,8vw,128px);padding:26px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px 32px;color:var(--soft);font-size:.95em}
.fees-line strong{color:var(--ink);font-weight:600}
.fees-line span{max-width:60ch}

/* checklist */
.ticks{list-style:none;columns:2;column-gap:clamp(20px,3vw,48px)}
.ticks li{break-inside:avoid;padding:10px 0 10px 26px;position:relative;border-bottom:1px solid var(--rule)}
.ticks li::before{content:"";position:absolute;left:2px;top:1.08em;width:9px;height:9px;border-radius:50%;border:1.5px solid var(--mid)}
.ticks li:first-child::before{background:var(--sun);border-color:var(--sun)}

/* note box */
.note{background:var(--pale);border-left:3px solid var(--mid);padding:20px 24px;color:var(--ink)}
.note.alert{background:#f6efe4;border-left-color:var(--sun)}
.note h3{font-size:20px;margin-bottom:6px}

/* steps: numbered rings on a line */
.steps{list-style:none;position:relative;margin-top:clamp(32px,3.4vw,48px)}
/* the line joins each ring to the next and stops at the last (gold) one */
.steps li:not(:last-child)::after{content:"";position:absolute;left:21px;top:40px;bottom:-4px;width:1.5px;background:var(--mist)}
.steps li{position:relative;padding:0 0 clamp(28px,3vw,40px) 76px}
.steps li:last-child{padding-bottom:0}
.steps .n{position:absolute;left:0;top:-4px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  background:var(--pale);border:1.5px solid var(--ink);font:500 20px/1 var(--serif);color:var(--ink)}
.steps li:last-child .n{background:var(--sun);border-color:var(--sun)}
.steps h3{font-size:clamp(21px,1.8vw,25px)}
.steps p{margin-top:8px;color:var(--soft)}

/* approaches */
.approaches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(20px,3vw,44px);list-style:none;margin-top:clamp(24px,3vw,36px)}
.approaches li{border-top:1px solid var(--rule);padding:20px 0 24px}
.approaches h3{font-size:21px}
.approaches p{margin-top:8px;color:var(--soft);font-size:.95em}

/* pale band */
.band{background:var(--pale)}
.band .sec{padding:clamp(64px,8vw,120px) 0}
.band .label{color:#3d5a70}

/* ---------------------------------------------------------------- closing photo CTA */
.close{position:relative;color:#fff;min-height:clamp(420px,62vh,640px);display:flex;align-items:center;overflow:hidden;background:var(--deep)}
.close picture,.close img{position:absolute;inset:0;width:100%;height:100%}
.close img{object-fit:cover;object-position:50% 60%} .close picture{background-position:50% 60%}
.close::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(26,47,63,.62),rgba(26,47,63,.12) 70%)}
/* the photo's foot fades into the footer, which is the same navy (the photo is graded to it in build.py) */
.close::before{content:"";position:absolute;left:0;right:0;bottom:0;height:32%;z-index:1;pointer-events:none;background:linear-gradient(rgba(26,47,63,0),var(--deep))}
.close .wrap{position:relative;z-index:2;width:100%;padding-top:64px;padding-bottom:64px}
.close h2{color:#fff;font-size:clamp(32px,3.8vw,56px);max-width:16ch}
.close p{max-width:44ch;margin-top:18px;color:rgba(255,255,255,.94)}

/* ---------------------------------------------------------------- contact page */
.c-side{grid-column:1 / span 4}
.contact .c-main{grid-column:6 / span 7;margin-top:0}
@media (max-width:1060px){.c-side{grid-column:1 / span 5}.contact .c-main{grid-column:6 / span 7}}
@media (max-width:860px){.c-side,.contact .c-main{grid-column:1 / -1}.contact .c-main{margin-top:44px}}
.contact .details div{grid-template-columns:5.2em 1fr}
.contact .details dd{font-size:clamp(18px,1.4vw,21px)}
.contact .details .link{font-size:16px}
/* Julie's photo under the address: the About lens, smaller, with a fine ring offset around it */
  box-shadow:0 0 0 10px var(--paper),0 0 0 11px var(--mist);margin-left:11px}
@media (max-width:860px){
}
/* contact: SimplePractice's form in a dialog (the widget draws its own white card; the dialog is just a frame for it) */
.spw{position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 48px));height:min(860px,calc(100dvh - 64px));max-width:none;max-height:none;
  padding:0;border:0;border-radius:8px;background:#fff;box-shadow:0 24px 70px rgba(20,36,48,.35);overflow:visible}
.spw::backdrop{background:rgba(24,40,52,.62)}
.spw iframe{display:block;width:100%;height:100%;border:0;border-radius:8px;background:#fff}
.spw-x{position:absolute;top:-14px;right:-14px;z-index:1;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  border:0;background:var(--ink);color:#fff;cursor:pointer;box-shadow:0 4px 14px rgba(20,36,48,.3)}
.spw-x:hover{background:var(--deep)}
.spw-x:focus-visible{outline:2px solid var(--sun);outline-offset:2px}
html.modal-open{overflow:hidden}
@media (max-width:700px){
  .spw{width:100vw;height:100dvh;border-radius:0}
  .spw iframe{border-radius:0}
  .spw-x{top:7px;right:8px;width:42px;height:42px;background:transparent;color:var(--ink);box-shadow:none}
  .spw-x:hover{background:var(--pale)}
}
.contact .c-main .acts{margin-top:clamp(24px,2.4vw,32px)}
.form{display:grid;gap:18px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form label{display:block;font:600 16px/1.4 var(--sans);color:var(--ink);margin-bottom:6px}
.form label small{font-weight:400;color:var(--soft);font-size:15px}
.form input,.form textarea{width:100%;font:400 17.5px/1.5 var(--sans);color:var(--text);background:#fff;border:1px solid #7f8f9b;border-radius:4px;padding:13px 14px}
.form textarea{min-height:170px;resize:vertical}
.form input:focus,.form textarea:focus{outline:2px solid var(--ink);outline-offset:0;border-color:var(--ink)}
.form .fine{font:400 15.5px/1.5 var(--sans);color:var(--soft)}
.form .msg{font:400 16px/1.5 var(--sans);color:var(--ink);background:var(--pale);padding:12px 16px;display:none}
.form .msg.on{display:block}
.form .hp{display:none}

/* ---------------------------------------------------------------- footer: an outlined box of contact details with the
   logo's symbol on its top edge like a seal; then the pages, and the fine print */
footer{background:var(--deep);color:#d5e0e6;font:400 16.5px/1.6 var(--sans);padding:clamp(100px,9vw,128px) 0 calc(34px + env(safe-area-inset-bottom))}
footer a{text-decoration:none} footer a:hover{text-decoration:underline;text-decoration-color:var(--sun);text-underline-offset:5px;text-decoration-thickness:1.5px}
.f-box{position:relative;max-width:960px;margin:0 auto;border:1px solid rgba(255,255,255,.22);border-radius:4px;
  padding:clamp(46px,4.2vw,56px) clamp(24px,4vw,56px) clamp(36px,3.4vw,44px);text-align:center}
/* raised so the seal's bottom hill line (y 62 of its 9.3-71.2 viewBox: 35% below centre) runs into the box's top edge */
.f-mark{position:absolute;left:50%;top:0;transform:translate(-50%,-85.2%);display:block;line-height:0;background:var(--deep);padding:0 18px}
.f-mark img{height:clamp(60px,5vw,72px);width:auto}
.f-mark:hover{text-decoration:none}
/* office in the middle, under the seal; phone and email in equal columns either side, so the box balances */
.f-contact{display:grid;grid-template-columns:1fr auto 1fr;gap:24px clamp(28px,5vw,72px)}
.f-contact h2{font:600 15px/1.4 var(--sans);color:#a6bac6;margin-bottom:8px}
.f-contact p{font:400 19px/1.55 var(--serif);color:#fff} .f-contact a[href^="tel"]{white-space:nowrap}
.f-pages{margin-top:clamp(44px,4.5vw,60px);border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.14);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 40px;padding:20px 0}
.f-pages ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px 30px}
.f-main{font:500 17px/1.4 var(--sans)} .f-main a{color:#fff}
.f-legal{font:400 15px/1.4 var(--sans);gap:8px 24px!important} .f-legal a{color:#c9d6de}
.f-pages a{display:inline-block;padding:3px 0}
.f-fine{display:grid;grid-template-columns:1fr auto;gap:4px 32px;padding-top:22px;font-size:14.5px}
.f-fine .crisis{color:#e3ebef}
.f-fine .copy{color:#a6bac6;text-align:right}
.f-fine .credits{grid-column:1 / -1;color:#9fb4c1;font-size:14px}
@media (max-width:860px){.f-contact{grid-template-columns:1fr 1fr;grid-template-areas:"o o" "p e"}
  .f-contact > :nth-child(1){grid-area:p} .f-contact > :nth-child(2){grid-area:o} .f-contact > :nth-child(3){grid-area:e}}
@media (max-width:860px){.f-fine{grid-template-columns:1fr;text-align:center}.f-fine .copy{text-align:center;grid-row:3}.f-fine .credits{grid-row:2}
  .f-pages{flex-direction:column;justify-content:center;gap:14px} .f-pages ul{justify-content:center}}
@media (max-width:640px){.f-contact{grid-template-columns:1fr;grid-template-areas:none;gap:20px}.f-contact > *{grid-area:auto!important}.f-contact > :nth-child(2){order:1}.f-box{padding:42px 20px 32px}.f-mark{padding:0 12px}.f-mark img{height:56px}}
@media (max-width:480px){.f-pages ul{gap:10px 18px;font-size:16px}.f-main{display:grid!important;grid-template-columns:repeat(3,auto);justify-content:center;gap:10px 26px!important;text-align:center}}
@media (max-width:360px){.f-pages ul{gap:10px 13px;font-size:15.5px}}

/* phone call bar */
.bar{display:none}

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width:1060px){
  .feature .tx{grid-column:8 / span 5}
  .feature.flip .tx{grid-column:1 / span 5}
}
@media (max-width:860px){
  .top nav{position:fixed;left:0;right:0;top:var(--head);background:var(--paper);border-bottom:1px solid var(--rule);
    box-shadow:0 18px 30px -20px rgba(20,40,60,.45);max-height:calc(100svh - var(--head));overflow:auto;display:none}
  .top.open nav{display:block}
  .top.open{background:var(--paper)}
  .top nav ul{flex-direction:column;align-items:stretch;gap:0;padding:8px var(--gut) 22px;font-size:20px}
  .top nav li{border-bottom:1px solid var(--rule)}
  .top nav li:last-child{border:0;padding-top:18px}
  .top nav a:not(.btn){display:block;padding:16px 0}
  .top nav a:not(.btn)::after{display:none}
  .top nav a[aria-current="page"]{color:var(--label)}
  .top nav .btn{width:100%;padding:16px}
  .top nav ul .portal{margin-right:0;border:0;padding-top:18px} .top nav ul .portal + li{padding-top:10px}
  .menu-btn{display:inline-flex;align-items:center;gap:10px;background:none;border:1px solid rgba(36,59,77,.4);border-radius:999px;
    color:var(--ink);font:600 16px/1 var(--sans);padding:10px 15px;cursor:pointer}
  .menu-btn i{display:block;width:18px;height:12px;position:relative;border-top:1.5px solid currentColor;border-bottom:1.5px solid currentColor}
  .menu-btn i::after{content:"";position:absolute;left:0;right:0;top:50%;border-top:1.5px solid currentColor;transform:translateY(-50%)}
  .top.open .menu-btn i{border-color:transparent}
  .top.open .menu-btn i::before,.top.open .menu-btn i::after{content:"";position:absolute;left:0;right:0;top:50%;border-top:1.5px solid var(--ink);border-bottom:0}
  .top.open .menu-btn i::before{transform:rotate(45deg)} .top.open .menu-btn i::after{transform:translateY(0) rotate(-45deg)}
  .brand img{height:44px}

  .side,.main,.about .portrait,.about .copy{grid-column:1 / -1}
  .side{padding:0 0 14px}
  /* name first, then the portrait: the copy's children join the grid so the figure can sit after the h2 */
  .about .copy{display:contents} .about .copy > *{grid-column:1 / -1;order:4}
  .about .copy .label{order:1} .about .copy h2{order:2}
  .about .portrait{order:3;max-width:210px;padding:8px;justify-self:start;margin:26px 0 6px}
  .feature .ph,.feature.flip .ph,.feature .tx,.feature.flip .tx{grid-column:1 / -1;grid-row:auto}
  .feature .ph{margin-right:18px} .feature.flip .ph{margin-right:0;margin-left:18px}
  .feature .tx{margin-top:44px}
  .approaches{grid-template-columns:1fr}
  .form .row{grid-template-columns:1fr}

  body{padding-bottom:calc(60px + env(safe-area-inset-bottom))}
  html{scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  .bar{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--ink);
    padding-bottom:env(safe-area-inset-bottom);border-top:1px solid rgba(255,255,255,.12)}
  .bar a{color:#fff;text-decoration:none;text-align:center;padding:18px 8px;font:600 17px/1 var(--sans)}
  .bar a + a{border-left:1px solid rgba(255,255,255,.16);font-weight:500;color:#e3ebef}
}
@media (max-width:640px){
  /* the closing photo: on a phone the words run the full width, over the bright sky too */
  .close::after{background:linear-gradient(90deg,rgba(26,47,63,.72),rgba(26,47,63,.5))}
  /* the home photo: on a phone the words sit higher, on the bright sky, so the shading reaches further up */
  .hero::after{background:linear-gradient(0deg,rgba(14,24,32,.72) 0,rgba(14,24,32,.45) 40%,rgba(14,24,32,.2) 62%,rgba(14,24,32,0) 85%)}
  /* and a soft shade that starts just above the words, wherever they land on the photo */
  .hero .wrap::before{content:"";position:absolute;left:0;right:0;top:calc(var(--head) - 110px);bottom:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(14,24,32,0),rgba(14,24,32,.42) 150px,rgba(14,24,32,.3))}
  .banner.tall{height:clamp(400px,56vh,480px)} .banner.tall :is(img,picture){object-position:40% 46%;background-position:40% 46%}
  .b-testing :is(img,picture){object-position:40% 55%;background-position:40% 55%} .b-fees :is(img,picture){object-position:55% 60%;background-position:55% 60%}
  .interlude{min-height:clamp(480px,76vh,660px)} .interlude :is(img,picture){object-position:42% 40%;background-position:42% 40%} .interlude .wrap{padding-bottom:40px} .interlude h2{font-size:23px}
  .interlude::after{background:linear-gradient(0deg,rgba(26,47,63,.7),rgba(26,47,63,.3) 50%,rgba(26,47,63,0) 72%)}
  .ticks{columns:1}
  .facts div{grid-template-columns:1fr;gap:2px}
  .hero .acts .btn{width:100%}
  .fees-line{flex-direction:column}
  .steps li{padding-left:62px}
  .steps .n{width:40px;height:40px;font-size:18px} .steps li:not(:last-child)::after{left:19.5px;top:36px}
}
@media (max-width:480px){
  .brand img{height:44px}
  .menu-btn span{display:none} .menu-btn{padding:11px 12px}
  .btn{white-space:normal;text-align:center}
}
/* short, wide screens (phones held sideways) */
@media (max-height:500px) and (orientation:landscape){
  .hero{min-height:520px}
  .hero .wrap{padding-top:calc(var(--head) + 24px);padding-bottom:32px}
  .hero h1{font-size:clamp(28px,4vw,40px)}
  .banner,.banner.tall{height:260px} .interlude{min-height:420px}
  .bar{display:none} body{padding-bottom:0}
}
@media (max-width:360px){.hero .label{letter-spacing:.1em;font-size:12.5px}.hero h1{font-size:30px}.hero p.sub{font-size:16px}.hero .wrap{padding-bottom:36px}.brand img{height:40px}}

/* big monitors: scale the type and the column up, so the page isn't a small island in the middle */
@media (min-width:2200px){
  :root{--max:1640px;--step:22px;--head:104px}
  .brand img{height:70px} .top nav ul{font-size:21px} .btn{font-size:20px;padding:18px 30px} .top .btn{font-size:19px;padding:14px 24px}
  .link{font-size:20px} .label,.f-contact h2,.facts dt{font-size:18px} .label::before{width:30px} .hero .label,.banner .label,.interlude .label{font-size:16px}
  .banner h1{font-size:82px}
  .main h2{font-size:48px} .lede,.main .lede{font-size:34px} .about .copy h2{font-size:54px} .feature h3{font-size:48px} .interlude h2{font-size:48px}
  .close h2{font-size:70px} .steps h3{font-size:29px} .approaches h3{font-size:25px}
  footer{font-size:19px} .f-box{max-width:1180px} .f-mark img{height:88px} .f-contact p{font-size:23px} .f-main{font-size:20px} .f-legal{font-size:17.5px} .f-fine{font-size:17px} .f-fine .credits{font-size:16.5px} .faq summary h3{font-size:28px} .plainpage h1{font-size:64px} .about .portrait{max-width:640px}
  .form label{font-size:19px} .form input,.form textarea{font-size:20px} .form .fine{font-size:18px}
  .steps .n{width:54px;height:54px;font-size:24px} .steps li:not(:last-child)::after{left:26px;top:50px} .steps li{padding-left:92px}
  .banner{height:clamp(300px,46vh,760px)} .banner.tall{height:clamp(440px,72vh,1080px)} .banner p.sub{font-size:27px} .interlude{min-height:clamp(520px,84vh,1240px)} .close{min-height:clamp(420px,62vh,860px)}
}
@media (min-width:3000px){
  :root{--max:2200px;--step:29px;--head:136px;--gut:120px}
  .brand img{height:90px} .top nav ul{font-size:28px;gap:48px} .btn{font-size:26px;padding:23px 38px} .top .btn{font-size:25px;padding:18px 30px}
  .label::before{width:40px;height:2px} .link::after{width:32px;height:13px}
  .link{font-size:26px} .label,.f-contact h2,.facts dt{font-size:23px} .hero .label,.banner .label,.interlude .label{font-size:21px}
  .banner h1{font-size:108px}
  .main h2{font-size:64px} .lede,.main .lede{font-size:45px} .about .copy h2{font-size:72px} .feature h3{font-size:64px} .interlude h2{font-size:64px}
  .close h2{font-size:92px} .steps h3{font-size:38px} .approaches h3{font-size:33px}
  footer{font-size:25px} .f-box{max-width:1560px} .f-mark img{height:116px} .f-contact p{font-size:30px} .f-main{font-size:26px} .f-legal{font-size:23px} .f-fine{font-size:22px} .f-fine .credits{font-size:21px} .faq summary h3{font-size:37px} .plainpage h1{font-size:84px} .about .portrait{max-width:860px}
  .form label{font-size:25px} .form input,.form textarea{font-size:27px} .form .fine{font-size:23px}
  .steps .n{width:72px;height:72px;font-size:32px} .steps li:not(:last-child)::after{left:35px;top:68px} .steps li{padding-left:120px}
  .ticks li::before{width:12px;height:12px} .ticks li{padding-left:34px}
  .banner{height:clamp(300px,46vh,1000px)} .banner.tall{height:clamp(440px,72vh,1440px)} .banner p.sub{font-size:35px} .interlude{min-height:clamp(520px,84vh,1650px)} .close{min-height:clamp(420px,62vh,1150px)}
}
/* motion (site.js): blocks ease in once; the closing photo is 20% taller than its frame so it can drift */
.hero picture,.banner picture,.close picture,.hero .wrap,.banner .wrap{will-change:transform}
.close picture{top:-10%;bottom:-10%;height:auto}
.rv-on .rv{opacity:0;transform:translate3d(0,24px,0);transition:opacity .9s ease,transform 1s cubic-bezier(.2,.7,.2,1)}
.rv-on .rv.in{opacity:1;transform:none}
.rv-on .feature .tx.rv{transition-delay:.12s}
/* ---------------------------------------------------------------- home hero on computers: one picture at every size.
   The photo fills the hero's height, so its ridges sit at fixed fractions of that height; the words are measured in
   the same unit (--u, 1% of the hero's height) so they keep the same size and place against the ridges on any screen
   (Paul's reference, Nov 29: tagline at 35% of the height, a four-line headline 7.2% tall, the button ending at 91%;
   here the block starts a touch lower, at 37%). On narrow windows --u is capped by the width so the words still fit. */
@media (min-width:861px){
  .hero{align-items:flex-start;--hh:max(600px,100svh);--u:min(calc(var(--hh) / 100),.62vw)}
  .hero .wrap{padding-top:calc(var(--hh) * .37);padding-bottom:calc(var(--u) * 5)}
  .hero .label{font-size:max(12px,calc(var(--u) * 1.25))}
  .hero h1{font-size:calc(var(--u) * 7.2);max-width:19ch;margin-top:calc(var(--u) * 1.7)}
  .hero p.sub{font-size:max(16px,calc(var(--u) * 2.08));max-width:58ch;margin-top:calc(var(--u) * 2.1)}
  .hero .acts{margin-top:calc(var(--u) * 3.3);gap:calc(var(--u) * 1.5) calc(var(--u) * 2.9)}
  .hero .btn{font-size:max(15px,calc(var(--u) * 1.62));padding:calc(var(--u) * 1.6) calc(var(--u) * 2.9)}
  .hero .link{font-size:max(15px,calc(var(--u) * 1.62))}
  .hero .label::before{width:calc(var(--u) * 2.4)}
}
/* very short windows: the smallest readable sizes make the block relatively taller, so it starts a little higher */
@media (min-width:861px) and (max-height:700px){.hero .wrap{padding-top:calc(var(--hh) * .335)}}
@media print{.rv-on .rv{opacity:1;transform:none}}
@media print{.top,.bar,.menu-btn,.close,.hero::after{display:none}.hero,.banner{min-height:0;height:auto;color:var(--ink)}}
/* FAQ page */
.faqpage .jump ul{list-style:none;display:flex;flex-wrap:wrap;gap:10px 12px;margin-top:clamp(22px,2.4vw,32px)}
.faqpage .jump a{display:inline-block;font:600 15.5px/1 var(--sans);color:var(--ink);text-decoration:none;padding:10px 16px;border:1px solid var(--rule);border-radius:999px;background:var(--card)}
.faqpage .jump a:hover{border-color:var(--mist);background:var(--pale)}
.faq-group h2{scroll-margin-top:calc(var(--head) + 24px)}
.faqpage .main .faq-group h2{margin-top:clamp(48px,5vw,76px)}
.faqpage .more{margin-top:clamp(40px,4vw,60px)}
