/* Shine and Speak: polish layer over the LIVE site (10 Oct 2026).
   Reece: "cant we just polish her live site and make it a stunning version of her live site?"
   Rule: same layout, colours, fonts, words and photos. Only the finish changes.
   Loaded after style.css and showcase.css on every page. */

/* ---------- type finish ---------- */
h1,h2,h3{font-optical-sizing:auto;text-wrap:balance}
p,li,dd{text-wrap:pretty}
.display{letter-spacing:-.018em}

/* ---------- homepage opening: her portrait fills the empty right half ---------- */
.hero-home .watermark{display:none}
.hero-home .wrap{display:grid;gap:40px;align-items:center}
@media(min-width:720px){
  .hero-home .wrap{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:44px;padding-top:64px;padding-bottom:72px}
}
@media(min-width:1024px){.hero-home .wrap{gap:64px;padding-top:76px;padding-bottom:84px}}
@media(min-width:720px) and (max-width:1199px){
  .hero-portrait .rays{right:0;top:-26px;width:60px;opacity:.85}
  .hero-home .hero-proof li{white-space:normal;padding-right:14px}
  .hero-home .hero-proof li+li{padding-left:14px}
}
.hero-portrait{position:relative;margin:0;justify-self:end;width:100%;max-width:430px}
.hero-portrait .ph{border-radius:4px;overflow:hidden;aspect-ratio:4/4.6;
  box-shadow:0 40px 80px -40px rgba(0,0,0,.6)}
.hero-portrait .ph img{width:100%;height:100%;object-fit:cover;object-position:50% 24%}
.hero-portrait .rays{position:absolute;top:-34px;right:-30px;width:92px;z-index:2}
.hero-portrait figcaption{margin-top:16px;font-size:14px;color:#AFC4D3;line-height:1.5}
.hero-portrait figcaption b{display:block;font:600 17px var(--serif);color:#fff;letter-spacing:-.01em;margin-bottom:2px}
@media(max-width:719px){
  .hero-portrait{justify-self:start;max-width:none;order:-1}
  .hero-portrait .ph{aspect-ratio:5/4}
  .hero-portrait .ph img{object-position:50% 18%}
  .hero-portrait .rays{top:-22px;right:-8px;width:64px}
  .hero-portrait figcaption{display:none}
  .hero-home .wrap{padding-top:34px}
}

/* ---------- funding strip: no stray divider at the start of a wrapped line ---------- */
@media(max-width:899px){
  .funding dd{gap:8px 18px}
  .funding dd span+span{margin-left:0;padding-left:0;border-left:0}
  .funding dd span{position:relative}
}

/* ---------- section heads: the intro sits on the heading's baseline ---------- */
@media(min-width:900px){.sec-head-2col{align-items:end}}
.sec-head-2col p{max-width:40ch}

/* ---------- facts: "2 languages" no longer breaks onto two lines ---------- */
.fact .n{white-space:nowrap}
@media(min-width:560px) and (max-width:1199px){.fact .n{font-size:25px}}

/* ---------- quote: a little wider so it reads in fewer, longer lines ---------- */
@media(min-width:1024px){.quote-show blockquote{max-width:20ch}}

/* ---------- area places: separators trail a word, never lead a line ---------- */
.ring-places span+span::before{display:none}
.ring-places span{display:inline-block;white-space:nowrap}
.ring-places span:not(:last-child)::after{content:"";display:inline-block;width:3px;height:3px;border-radius:50%;
  background:var(--line);background:#B9B2A3;vertical-align:middle;margin:0 9px 0 10px}

/* ---------- map: her real Google map as a linked picture, never an empty box ---------- */
.area-map-pic{display:block;border-radius:4px;overflow:hidden;border:1px solid var(--line)}
.area-map-pic img{width:100%;height:auto;aspect-ratio:12/5;object-fit:cover;display:block}
@media(max-width:640px){.area-map-pic img{aspect-ratio:4/3}}

/* ---------- footer: phone and Instagram readable on navy ---------- */
.footer .footer-note a{color:#D6E4EE;background-image:none;text-decoration:underline;text-decoration-color:rgba(214,228,238,.35);text-underline-offset:4px}
.footer .footer-note a:hover{color:#fff;text-decoration-color:#fff}

/* ---------- top bar: one tidy line on a phone ---------- */
@media(max-width:640px){.topbar{font-size:12.5px}.topbar .wrap{padding:8px 22px;gap:2px 14px}}

/* ---------- headline reveal: room for descenders (the g in Pathologist) ---------- */
.reveal-line{padding-bottom:12px;margin-bottom:-12px}

/* ---------- contrast: the live site's small text that fell under WCAG AA ---------- */
.eyebrow-light{color:#7FB3C2}                       /* was #2A7B8E on navy, 2.99:1 */
.step .num,.ring-n,span.num{color:#7E5B00}           /* was #946B00 on paper, 4.38:1 */
.paper .prose a,.paper a:not(.btn){color:#23697A}    /* was #2A7B8E on paper, 4.42:1 */

/* ---------- card grids: four cards sit two by two, never three plus a stranded one ---------- */
@media(min-width:1000px){.who-3:has(> .who-item:nth-child(4):last-child){grid-template-columns:repeat(2,1fr);column-gap:56px}}

/* tablet: the rays mark stays inside the screen (must come after the base .rays rule) */
@media(min-width:720px) and (max-width:1199px){.hero-portrait .rays{right:0;top:-26px;width:60px;opacity:.85}}
