/* Public page layout: shared rhythm, readable measures, and predictable controls. */
:root{--content-width:76rem;--page-gutter:clamp(1.25rem,4vw,3rem)}
html{scroll-padding-top:6rem}
main :is(a,button,summary,[tabindex]),footer a{scroll-margin-top:6rem}
:focus-visible{outline:3px solid var(--teal);outline-offset:5px}
.hero :focus-visible,footer :focus-visible{outline-color:currentColor}
.site-header .header-inner{max-width:var(--content-width);margin-inline:auto;gap:1.25rem}
/* The portrait stretches with the copy, including its breathing room. */
.hero{grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr);padding:clamp(1.5rem,2.5vw,2.5rem) max(var(--page-gutter),calc((100% - var(--content-width))/2)) 0;gap:clamp(2rem,4vw,4rem)}
.hero .hero-copy{grid-column:1;grid-row:1;text-align:center;justify-items:center;align-content:center;gap:clamp(1.25rem,2vw,1.5rem);padding:1rem 0 2.5rem}
.hero .portrait{grid-column:2;grid-row:1;max-width:none;width:100%;min-height:clamp(25rem,54svh,28rem);justify-self:center;align-self:stretch}
.hero .portrait .hero-image{position:absolute;bottom:0;left:50%;width:auto;max-width:none;height:100%;aspect-ratio:auto;transform:translateX(-50%);object-fit:contain}
.hero h1{width:100%;max-width:18ch;font-size:clamp(2.35rem,2rem + 1vw,3.5rem);line-height:1.1;letter-spacing:-.045em;text-wrap:balance;overflow-wrap:normal}
.hero .lede{width:100%;max-width:52ch;font-size:1.125rem;line-height:1.55;text-align:center;text-wrap:pretty;overflow-wrap:normal}
.hero .hero-actions{width:auto;max-width:100%;flex-wrap:wrap;gap:.8rem;justify-content:center}
.hero .hero-actions .button{flex:0 1 auto;width:auto;min-width:11rem;min-height:48px;padding:.85rem 1.35rem;font-size:.95rem}
main>.section{width:100%;max-width:none;padding:clamp(3.5rem,6vw,6rem) max(var(--page-gutter),calc((100% - var(--content-width))/2))}
main>.section>*{max-width:var(--content-width);margin-inline:auto}
main .section-heading{display:grid;grid-template-columns:1fr;gap:.85rem;margin-bottom:2.25rem;text-align:center;justify-items:center}
main .section-heading h2{max-width:100%;font-size:clamp(1.9rem,3.3vw,3rem);line-height:1.15;text-wrap:balance}
main .section-heading>p:last-child{grid-column:auto!important;max-width:58ch!important}
main .about-new>.section-heading{grid-template-columns:minmax(0,1fr)}
main #services .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;border:0;align-items:stretch}
main #services .service-card{min-height:0;padding:1.5rem;border:1px solid var(--line);border-radius:1rem;gap:1.25rem;align-items:center;text-align:center}
main #services .service-card-heading{display:grid;grid-template-columns:1fr;gap:1rem;justify-items:center;text-align:center;max-width:100%}
main #services .service-card img{margin:0;width:40px;height:40px}
main #services .service-title{font-size:clamp(1.05rem,2.3vw,1.35rem);line-height:1.3;text-align:center;white-space:nowrap}
main #services .service-description{font-size:1rem;line-height:1.65;text-align:center;text-wrap:pretty}
main #services .service-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:auto;padding:.55rem 1.15rem;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:var(--paper);font-size:.95rem;font-weight:700}
main #services .service-card:is(:hover,:focus-visible) .service-action{background:var(--paper);color:var(--ink);border-color:var(--paper)}
main #services .service-card:active .service-action{transform:scale(.98)}
main #projects .project-gallery{max-width:56rem;gap:1.25rem;align-items:stretch}
.project-card{display:flex;flex-direction:column;min-width:0;border-color:var(--line);border-radius:1rem;background:var(--paper);color:var(--ink)}
.project-card>img{height:10rem;aspect-ratio:auto;flex-shrink:0}
.project-card>img.project-image-contain{padding:1rem;background:#006080}
:root[data-theme="dark"] .project-card>img.project-image-contain{background:#303640}
.project-card-copy{flex:1;height:auto;grid-template-rows:auto 1fr auto;gap:.65rem;padding:1.25rem;text-align:center;justify-items:center}
.project-card-copy h3{font-size:1.5rem;line-height:1.2}
.project-card-copy p{width:100%;max-width:36ch;margin-inline:auto;font-size:1rem;line-height:1.5;color:var(--muted)}
.project-card-copy .project-explore{min-height:44px;margin-top:.35rem;padding:.55rem 1.15rem;background:#006080;border-color:#006080;color:#fff}
.project-card-copy .project-explore:hover{background:#004b65;border-color:#004b65;color:#fff}
:root[data-theme="dark"] .project-card-copy .project-explore{background:#6ed1c5;border-color:#6ed1c5;color:#0d2024}
:root[data-theme="dark"] .project-card-copy .project-explore:hover{background:#95e0d6;border-color:#95e0d6;color:#0d2024}
.project-card-copy .project-explore:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
@media(max-width:800px){main #projects .project-gallery{max-width:28rem}}
.client-heading-row{display:grid;grid-template-columns:1fr;gap:1.5rem;justify-items:center;margin-bottom:2rem}
.client-carousel-shell{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:1rem}
.client-carousel-shell .client-carousel-button{width:44px;height:44px;border-radius:50%;font-size:1.25rem}
.client-carousel-shell .client-carousel{min-width:0;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom}
.client-carousel-shell .client-track{animation:none}
@media(max-width:1100px),(pointer:coarse){
  .client-carousel-shell{grid-template-columns:minmax(0,1fr);gap:0}
  .client-carousel-shell .client-carousel-button{display:none}
}
.language-intro{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:2rem;align-items:center}
.language-intro h3{max-width:34ch;font-size:clamp(1.3rem,2vw,1.8rem);line-height:1.45;text-wrap:pretty}
.audio-status:empty{display:none}
.audio-grid{gap:.75rem}
.about-story{gap:1.5rem;margin-top:2rem}
.bio-panels section>p{max-width:75ch;line-height:1.7}
.bio-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
.bio-tabs button{min-height:52px}
.bio-controls button{width:auto;min-width:44px;min-height:44px;height:auto;padding:.6rem 1rem;border-radius:.65rem;font-size:.9rem;font-weight:600}
.bio-controls button:not(:disabled):hover{background:var(--ink);color:var(--paper)}
.media-appearances strong,.bio-journey>.text-link{text-decoration:underline;text-underline-offset:.2em}
.quote-statement{text-align:center}
.quote-statement blockquote{line-height:1.5}
.faq-shell{grid-template-columns:minmax(15rem,.7fr) minmax(0,1.5fr);gap:clamp(1.5rem,4vw,4rem)}
.faq-filter{min-height:44px}
footer#contact{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-items:center;gap:2.5rem;padding:3.5rem max(var(--page-gutter),calc((100% - var(--content-width))/2)) 2rem}
footer .footer-brand{min-width:0;justify-items:center;text-align:center}
footer .footer-mark{width:6rem;min-width:0}
footer .footer-tagline{width:100%;max-width:none;text-align:center;text-wrap:pretty}
footer .footer-sections{display:grid;grid-template-columns:1fr;gap:1.5rem;justify-self:center;width:100%;min-width:0}
footer .footer-sections section{justify-items:center!important;text-align:center;min-width:0}
footer :is(.footer-social-links,.footer-contact-links){display:flex!important;flex-wrap:wrap;justify-content:center!important;gap:.6rem!important;max-width:none}
footer :is(.footer-social-links,.footer-contact-links) a{width:44px!important;height:44px!important}
footer .copyright{grid-column:1/-1;padding-top:1.5rem;margin-top:0}
.legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.5rem}
.legal-links a{padding:.35rem 0;text-underline-offset:.25em;font-size:.9rem}
.legal-page{max-width:54rem;margin-inline:auto;padding:2rem var(--page-gutter) 4rem}
.legal-page header{display:grid;gap:1rem;margin:2.5rem 0}
.legal-page h1{font-size:clamp(2.2rem,6vw,3.5rem);line-height:1.15;letter-spacing:-.03em}
.legal-page h2{font-size:clamp(1.3rem,3vw,1.75rem);line-height:1.3;letter-spacing:-.02em}
.legal-page section{display:grid;gap:1rem;margin-top:2rem}
.legal-page p{max-width:none;line-height:1.75}
.legal-page a{color:inherit;text-underline-offset:.25em}
.legal-page .legal-links{justify-content:flex-start;padding-block:1rem;border-block:1px solid var(--line)}
.legal-page .legal-links [aria-current="page"]{font-weight:700;text-decoration-thickness:2px}
@media(max-width:1000px){
  main #services .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .language-intro{grid-template-columns:minmax(0,1fr)}
  .language-intro>div:first-child{text-align:center}
  .language-intro h3{max-width:none}
  .audio-status{grid-column:1}
}
@media(max-width:600px){main #services .service-grid{grid-template-columns:minmax(0,1fr)}}
@media(min-width:801px) and (max-width:1000px){
  .site-header .brand-name{display:none!important}
  .site-header nav{gap:1rem}
  .site-header .header-inner{gap:1rem}
}
@media(max-width:1000px){
  .hero{grid-template-columns:minmax(0,1fr);gap:1.25rem;padding-top:clamp(1.5rem,4vw,2rem)}
  .hero .hero-copy{grid-column:1;grid-row:2;width:100%;max-width:34rem;justify-self:center;padding:0 0 2.5rem;text-align:center;gap:1.25rem}
  .hero h1{font-size:clamp(2.25rem,2rem + 1vw,3rem);max-width:18ch}
  .hero .lede{font-size:1.0625rem;width:100%;margin-inline:0;line-height:1.55}
  .hero .portrait{grid-column:1;grid-row:1;width:min(58vw,15rem);max-width:15rem;min-height:0;justify-self:center;align-self:end;border-radius:50%;margin-bottom:0}
  .hero .portrait .hero-image{position:static;width:100%;max-width:100%;height:100%;transform:none}
  .hero .hero-actions{flex-direction:row;width:100%;align-items:stretch}
  .hero .hero-actions .button{min-width:0;flex:1 1 9.5rem;font-size:1rem;line-height:1.3;padding:.8rem}
}
@media(max-width:800px){
  .site-header .header-inner{gap:.65rem}
  .site-header .brand-name{display:inline!important;font-size:.95rem}
  .faq-shell{grid-template-columns:1fr}
  .faq-guide{position:static}
  .faq-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .client-heading-row{align-items:center}
  .bio-tabs{overflow-x:auto;grid-template-columns:repeat(5,minmax(3.25rem,1fr))}
  .language-intro{grid-template-columns:minmax(0,1fr)}
  .language-intro>div:first-child{text-align:center}
  .language-intro h3{max-width:none}
  .audio-status{grid-column:1}
  footer#contact{grid-template-columns:1fr;gap:2rem}
  footer .footer-brand{justify-items:center;text-align:center}
  footer .footer-tagline{text-align:center}
  footer .footer-sections{justify-self:center}
  footer .footer-sections section{justify-items:center!important;text-align:center}
  footer :is(.footer-social-links,.footer-contact-links){justify-content:center!important}
}
@media(max-width:480px){main #services .service-grid{grid-template-columns:1fr}.audio-grid{grid-template-columns:1fr}.faq-answer{padding-right:0}.client-heading-row{display:grid}.bio-panels section{padding:1.25rem}.hero .hero-actions{flex-direction:column}.hero .hero-actions .button{flex:0 0 auto;width:100%}.footer-social-links{gap:.3rem!important}}
