/* The agreed identity, shared by the homepage and every content page. */
.meshdent-site{--paper:#fff;--ink:#233d37;--green:#087b60;--muted:#536e65;--line:#dbece4;--soft:#effaf5;--concept-brand:#1bb588;--concept-red:#ce2832;background:#fff}
.meshdent-site .site-header{background:#fffffff5}.meshdent-site .brand{background:transparent}
.meshdent-site .brand img{width:145px}.meshdent-site .btn{border-radius:30px}
.meshdent-site .nav .btn{background:#1bb588;border-color:#1bb588;color:#073d2e}
.meshdent-site .footer{background:#f0faf5;color:var(--ink)}.meshdent-site .footer h3{color:#087b60}
.meshdent-site .footer p,.meshdent-site .footer-bottom{color:var(--muted)}.meshdent-site .footer-bottom{border-color:#c5d4c5}
.meshdent-site .footer-wordmark img{width:170px}.meshdent-site .footer :focus-visible{outline-color:#087b60}
.meshdent-site .eyebrow:before{background:#ce2832}.meshdent-site .dark{background:#e1f6eb;color:var(--ink)}
.meshdent-site .dark .eyebrow{color:#087b60}.meshdent-site .dark .eyebrow:before{background:#ce2832}
.meshdent-site .dark .btn{background:#087b60;color:white}.meshdent-site .dark :focus-visible{outline-color:#087b60}
.meshdent-site .service-card img,.meshdent-site .work button img{object-fit:contain}.meshdent-site .service-card img{background:#f1f7f3}
.meshdent-site .hero-image,.meshdent-site .work figure{border-radius:20px}
.meshdent-site .work button span{width:auto;min-width:38px;padding:0 10px;border-radius:20px;font-size:14px;white-space:nowrap}
#lightbox{width:840px}
#lightbox > img{width:100%;height:min(52dvh,60vw,540px);background:#080c0a}
.gallery-thumbnails{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.gallery-thumbnails button{width:clamp(44px,9vw,72px);padding:2px;border:2px solid transparent;border-radius:8px;background:transparent}
.gallery-thumbnails button[aria-pressed=true]{border-color:var(--green)}
#lightbox .gallery-thumbnails img{width:100%;height:44px;object-fit:contain;background:#080c0a;border-radius:4px}
.final-home .p-story{padding-top:85px}.final-home .p-story .v-section-heading{flex-wrap:wrap;align-items:start}
.final-home .p-story .v-section-heading>p{flex-basis:100%;max-width:62ch;margin-top:-18px}
.final-home .p-story-visual{top:110px}.final-home .p-step{scroll-margin-top:110px}
.final-home .p-services-section{background:#f0faf5}.final-home .v-work{padding-top:25px}
.final-home .v-contact h2 span{color:#087b60}.final-home .contact-details{margin-top:0;gap:20px;grid-template-columns:1fr 1fr}
.final-home .contact-details a{font-size:18px}.final-home .contact-details>div:nth-child(3){grid-column:1/-1}
.final-home .contact-details>div:nth-child(4){display:none}
.dof-feature{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:70px;background:#effaf5;padding:55px;border:1px solid #d5e8dd;border-radius:24px}
.dof-feature h3{font-size:clamp(32px,3.4vw,48px);margin-bottom:24px}.dof-feature p:not(.v-eyebrow){color:var(--muted);font-size:17px;max-width:45ch}
.dof-feature .v-button{margin-top:28px}.dof-feature figure{padding:25px;background:white;border-radius:18px}.dof-feature img{width:100%;height:300px;object-fit:contain}
.contact-direct{padding:40px;background:#fff;border:1px solid var(--line);border-radius:20px}.contact-direct h3{font-size:34px;line-height:1.15;margin-bottom:24px}
.contact-direct>p:not(.eyebrow){color:var(--muted);margin-bottom:24px}.contact-direct .small{margin-top:24px}
.contact-form h3{margin-bottom:18px}.form-help{font-size:13px;color:var(--muted);margin-bottom:25px}
.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-output[data-error=true]{color:#a1242c}
.contact-form [disabled]{opacity:.6;cursor:wait}.legal-copy{max-width:850px;padding-bottom:90px}.legal-copy h2{font-size:30px;margin:40px 0 20px}
.legal-copy a:not(.btn){text-decoration:underline;text-underline-offset:4px}.legal-copy p{color:var(--muted)}.legal-copy button{margin-top:24px}
.consent-options{display:grid;gap:18px;margin-top:25px}.consent-options .check{font-size:14px}
#cookie-dialog{background:#fff;max-width:620px}#cookie-dialog .buttons{align-items:stretch}#cookie-dialog .buttons .btn{min-width:150px}
#cookie-dialog .small{margin-top:22px}#cookie-dialog .small a{text-decoration:underline}
@media(min-width:641px) and (max-height:760px){.final-home .p-viewer{height:clamp(230px,55vh,400px)}.final-home .p-story-visual{top:105px}}
@media(max-width:900px){.dof-feature{gap:30px;padding:35px}.dof-feature img{height:240px}.final-home .contact-details{grid-template-columns:1fr}.final-home .p-story-visual{top:95px}}
@media(max-width:640px){.final-home .p-story{padding-top:55px}.final-home .p-story .v-section-heading>p{margin-top:0}.dof-feature{grid-template-columns:1fr;gap:30px;padding:26px}.dof-feature figure{padding:15px}.dof-feature img{height:220px}.dof-feature p:not(.v-eyebrow){font-size:15px}.contact-direct{padding:26px}.contact-direct h3{font-size:28px}.final-home .contact-details a{font-size:18px}.meshdent-site .subhero h1,.meshdent-site .intro h1{font-size:clamp(34px,9.5vw,45px);overflow-wrap:anywhere}.final-home h2{font-size:clamp(31px,8.6vw,36px)}.final-home .p-step h3{font-size:clamp(30px,8.5vw,34px)}}
@media print{.dof-feature{break-inside:avoid}.final-home .p-step{break-inside:avoid}.legal-copy{max-width:none}}
