/* UI QC fixes, 29 Nov 2026 (D-01..D-36, /root/cc-reports/odima-uiqc-20261129/QC.md). Undo: empty this file. */

/* D-01, D-02: testimonials at reading size, never serif display, never cut without Read more (motion3.js adds the toggle) */
.quote blockquote,.quote blockquote p{font-family:"Maison Text",system-ui,sans-serif;font-size:clamp(16px,1rem + .2vw,18px);line-height:1.6;text-align:left;letter-spacing:0;text-transform:none}
.quote{max-width:62ch}
#client-reviews .od-revrow>.quote{max-width:none;height:auto;max-height:none}
#client-reviews .note{margin-top:14px;font-size:15px;letter-spacing:.06em}
#client-reviews .od-actions{margin-top:28px}
.m3-hide{display:none}

/* D-03 merged home blocks */
.intro__more{max-width:720px;margin:clamp(28px,4vw,44px) auto 0;text-align:left}
.intro__more p{font-size:17px;line-height:1.65;color:var(--graphite-soft);margin-top:16px}
.intro__more h3{font-family:var(--display);font-weight:400;font-size:clamp(20px,2.4vw,26px);letter-spacing:.1em;text-transform:uppercase;margin-top:30px;text-align:center}
.intro__more .od-actions{text-align:center;margin-top:24px}
.svc__more{list-style:none;display:grid;gap:22px;max-width:1080px;margin:clamp(40px,6vw,72px) auto 0;padding:0 var(--gutter);text-align:left}
@media (min-width:900px){.svc__more{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}}
.svc__more h3{font-family:var(--display);font-weight:400;font-size:clamp(19px,2vw,23px);letter-spacing:.1em;text-transform:uppercase;line-height:1.25}
.svc__more p{margin-top:8px;font-size:16px;line-height:1.6;color:var(--graphite-soft)}
.svc__note{max-width:720px;margin:28px auto 0;padding:0 var(--gutter);font-size:16px;line-height:1.6;color:var(--graphite-soft);text-align:center}
.prj__after{max-width:720px;margin:28px auto 0;padding:0 var(--gutter);text-align:center}
.prj__after p{font-size:16.5px;line-height:1.65;color:var(--graphite-soft);margin-top:14px}
.prj__after h3{font-family:var(--display);font-weight:400;font-size:clamp(19px,2.2vw,24px);letter-spacing:.1em;text-transform:uppercase;margin-top:30px}
.prj__also a,.prj__name{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
a.prj__name{text-decoration:none}
.process .lede,.why .lede{max-width:640px;margin:18px auto 0;padding:0 var(--gutter);text-align:center;font-size:17px;line-height:1.6;color:var(--graphite-soft)}
.why__cta{text-align:center;margin-top:36px}
.areas .lede + .lede{margin-top:14px}
#articles .od-more{white-space:nowrap;font-weight:500;text-decoration:underline;text-underline-offset:3px}

/* D-12, D-14: phone header (label "Consultation" kept per Amir), logo matches sizes */
@media (max-width:429px){
  .masthead__book{font-size:14px;white-space:nowrap;min-height:44px;padding:0 12px;letter-spacing:.02em}
  .masthead__logo img,.od-mfx .masthead__logo img{width:120px;height:auto}
}

/* D-15: off-canvas menu never widens the page */
html,body{overflow-x:clip}
.menu:not([open]) .menu__panel{visibility:hidden}

/* D-20: footer and card text at 16 px on phones */
@media (max-width:767px){
  .footer__address span,.footer__hours span,.od-card__d{font-size:16px}
  .footer__legal-row span,.od-band__label{font-size:15px}
}

/* D-21: no one-word last lines in display headings */
h1,h2,h3{text-wrap:balance}
@media (max-width:400px){.od-band h2,.band .title{letter-spacing:.08em;padding-left:.08em}}

/* D-24: one heading rule: centred section heads, left body */
.od-band > h2,.od-text > h2{text-align:center}

/* D-33: footer credit on one line at 14 px (13 px only below 360 px) */
.footer__credit{white-space:nowrap;flex-wrap:nowrap;font-size:14px}
@media (max-width:359px){.footer__credit{font-size:13px}}

/* D-36: scrollable tables are focusable regions */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-wrap:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* D-29: progressive reveal failsafe (reveal-guard.js sets .od-shown when observers fail or 2 s pass in view) */
.od-shown [data-r],.od-shown .mo,.od-shown .mo-zoom,.od-shown .m3-split .m3c,[data-r].in,.od-reveal-now{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important}

/* D-30: without the sticky stage, one project per screen, no sliver of the next */
@media (max-width:599px){
  html:not(.stick) .prj__list{padding:0 20px 12px;scroll-padding-inline:20px}
  html:not(.stick) .prj__item{flex-basis:calc(100vw - 40px);padding:0}
}

/* D-03/D-05 home length on phones: medical and project cards swipe in one row instead of stacking */
@media (max-width:767px){
  .od-medical .od-cards,.od-gc .od-cards{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 14px;-webkit-overflow-scrolling:touch;grid-template-columns:none}
  .od-medical .od-cards > .od-card,.od-gc .od-cards > .od-card{flex:0 0 82%;scroll-snap-align:start}
  .od-medical .od-card img,.od-gc .od-card img{aspect-ratio:4/3;object-fit:cover;width:100%;height:auto}
}
.od-faq-more{display:flex;margin:22px auto 0}
.od-faq-more,.m3-showall,.m3-more{font-family:"Maison Text",system-ui,sans-serif}
