/* QUEEN DENT · real photographs, progressive galleries and accessible image viewer. */
.qd-real-photo{object-position:var(--photo-position,50% 50%)}
.hero.qd-real-hero{min-height:470px;background:radial-gradient(ellipse at 30% 0%,#f4e5e1,transparent 65%),var(--paper)}
.hero.qd-real-hero .hero-image{inset:28px max(48px,calc((100vw - 1280px)/2)) 28px auto;width:calc(50% - max(48px,calc((100vw - 1280px)/2)) - 16px);border-radius:22px;box-shadow:0 14px 40px #49312d10;overflow:hidden}
.hero.qd-real-hero .hero-image::after{display:none}
.hero.qd-real-hero .hero-image img{object-fit:cover;object-position:var(--photo-position,50% 50%);height:100%;width:100%}
.hero.qd-real-hero .hero-copy{width:48%;padding:48px 0 64px;max-width:600px}
.hero.qd-real-hero h1{font-size:clamp(44px,4.1vw,65px);max-width:100%}
.hero.qd-real-hero .hero-copy .lead{max-width:510px;font-size:17px}
.hero.qd-real-hero .breadcrumbs{max-width:48%}
.hero.qd-real-hero.hero-home .hero-copy{padding-top:62px;padding-bottom:65px}
.hero.qd-real-hero.hero-contact .hero-copy{padding-bottom:92px}
.hero.qd-real-hero .button-row .btn{font-size:12px;padding-inline:20px}
.hero.qd-real-hero .hero-mini-features{gap:16px;flex-wrap:wrap}
.qd-hero-photo-label{position:absolute;right:16px;bottom:16px;left:auto;background:#fcfaf8ed;backdrop-filter:blur(5px);color:var(--ink);padding:8px 13px;border-radius:7px;font-size:11px;line-height:1.5}
.hero.qd-real-hero.qd-portrait-hero .hero-image{background:var(--blush);width:30%;max-width:400px}
.hero.qd-real-hero.qd-portrait-hero .hero-image img{object-fit:contain}
.hero.qd-real-hero.qd-portrait-hero .hero-copy{width:57%}
.consult-banner.qd-real-consult{min-height:350px;background:var(--blush)}
.consult-banner.qd-real-consult .banner-image{width:46%;right:20px;top:20px;bottom:20px;border-radius:16px;overflow:hidden}
.consult-banner.qd-real-consult .banner-image::after{display:none}
.consult-banner.qd-real-consult .banner-image img{object-position:var(--photo-position,50% 50%)}
.consult-banner.qd-real-consult .consult-banner-content{width:52%;padding:36px}
.consult-banner.qd-real-consult h2{font-size:35px}
.qd-real-entrance{position:relative;overflow:hidden;background:var(--blush)}
.qd-real-entrance img{object-fit:cover;object-position:50% 40%}
.qd-real-entrance>span{position:absolute;bottom:12px;left:12px;right:12px;background:#fcfaf8f2;border-radius:7px;padding:8px;font-size:11px;text-align:center}
.qd-real-service-visual>img{width:100%;height:100%;object-fit:cover;object-position:var(--photo-position,50% 50%)}
.qd-gallery-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 26px;padding:24px 12px;border-bottom:1px solid var(--line)}
.qd-gallery-nav a{display:flex;gap:10px;align-items:center;min-height:44px;font-size:13px;color:var(--copper)}
.qd-gallery-nav .icon{width:17px}
.qd-gallery-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:28px}
.qd-gallery-heading .eyebrow{margin-bottom:12px}
.qd-gallery-heading .lead{font-size:15px;max-width:700px;margin-top:17px}
.qd-photo-total{display:flex;flex-direction:column;align-items:flex-end;font:48px/1.1 var(--serif);color:var(--copper);padding-top:10px}
.qd-photo-total small{font:11px/2 var(--sans);color:var(--muted)}
.qd-photo-filters{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0 28px}
.qd-photo-filters button{border:1px solid var(--line);background:#fff8f5;border-radius:24px;padding:11px 17px;min-height:46px;font-size:12px;display:flex;align-items:center;gap:9px}
.qd-photo-filters button span{font-size:10px;opacity:.8}
.qd-photo-filters button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.qd-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.qd-photo-tile{margin:0;min-width:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.qd-photo-open{position:relative;display:block;overflow:hidden;aspect-ratio:4/3;background:#eee6e1}
.qd-photo-open img{width:100%;height:100%;object-fit:cover;object-position:var(--photo-position,50% 50%);transition:transform .25s}
.qd-photo-open:hover img{transform:scale(1.025)}
.qd-photo-open:focus-visible{outline:3px solid var(--rose-dark);outline-offset:-4px}
.qd-photo-zoom{position:absolute;bottom:12px;right:12px;border:1px solid #eee7e1;background:#ffffffed;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;color:var(--ink)}
.qd-photo-zoom .icon{width:18px;height:18px}
.qd-photo-tile figcaption{display:flex;gap:15px;padding:20px 18px;align-items:flex-start}
.qd-photo-number{font-size:11px;color:var(--copper);padding-top:4px}
.qd-photo-tile h3{font-size:20px;line-height:1.35}
.qd-photo-tile figcaption p{font-size:11px;color:var(--muted);line-height:1.7;margin-top:7px}
.qd-gallery-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px}
.qd-gallery-bottom>span{font-size:12px;color:var(--muted)}
.qd-gallery-bottom .btn{min-width:200px;background:#fff}
.qd-case-notice{font-size:12px;max-width:830px;color:var(--muted);line-height:1.8;padding:14px 18px;background:var(--blush);border-left:2px solid var(--copper);margin:0 0 28px}
.qd-case-grid .qd-photo-open{aspect-ratio:1/1;background:#f5f1ef}
.qd-case-grid .qd-photo-open img{object-fit:contain;object-position:center}
.qd-case-grid .qd-photo-open:hover img{transform:none}
.qd-teaser-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:45px;align-items:center;border:1px solid var(--line);border-radius:18px;overflow:hidden;padding:24px;background:linear-gradient(120deg,#fff,var(--blush))}
.qd-teaser-grid>figure{min-width:0;position:relative}
.qd-teaser-grid img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:11px}
.qd-teaser-grid figcaption{font-size:10px;color:var(--muted);margin-top:10px}
.qd-teaser-grid>div{padding:12px 24px 12px 0;min-width:0}
.qd-teaser-grid .eyebrow{margin-bottom:13px}
.qd-teaser-grid h2{font-size:34px}
.qd-teaser-grid p{font-size:13px;color:var(--muted);line-height:1.8;margin-top:18px;max-width:480px}
.qd-teaser-grid .button-row{gap:10px 20px;margin-top:24px}
.qd-teaser-grid .btn{font-size:12px;padding-inline:18px}
.qd-photo-viewer{border:1px solid #ffffff24;border-radius:18px;background:#242930;color:#fff;width:min(1180px,calc(100vw - 40px));max-width:none;height:min(900px,calc(100dvh - 36px));max-height:none;margin:auto;padding:0;overflow:hidden;box-shadow:0 30px 120px #0008}
.qd-photo-viewer::backdrop{background:#10151bea;backdrop-filter:blur(5px)}
.qd-viewer-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%}
.qd-viewer-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;border-bottom:1px solid #fff2}
.qd-viewer-head span{font-size:10px;color:#d7c8c4}
.qd-viewer-head h2{font:23px/1.3 var(--serif);margin-top:5px;letter-spacing:0}
.qd-viewer-close,.qd-viewer-prev,.qd-viewer-next{width:46px;height:46px;border:1px solid #fff4;border-radius:50%;color:#fff;display:grid;place-items:center;background:#242930e8;flex-shrink:0}
.qd-photo-viewer button:hover{background:#5d4a4b}
.qd-photo-viewer button:focus-visible,.qd-photo-viewer a:focus-visible{outline-color:#f5c4cb}
.qd-photo-viewer button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6}
.qd-viewer-stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;padding:12px 68px;touch-action:pan-y pinch-zoom}
#photo-viewer-image{width:100%;height:100%;min-height:0;object-fit:contain;object-position:center}
.qd-viewer-prev,.qd-viewer-next{position:absolute;top:calc(50% - 23px);z-index:2}
.qd-viewer-prev{left:12px}.qd-viewer-next{right:12px}
.qd-viewer-foot{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:20px;padding:17px 24px;border-top:1px solid #fff2;min-height:60px}
.qd-viewer-foot p{font-size:12px;line-height:1.6;color:#f0e8e5}
.qd-viewer-foot span{font-size:12px;white-space:nowrap}
.qd-viewer-foot a{font-size:11px;color:#f1c5ce;text-decoration:underline;text-underline-offset:4px;min-height:36px;display:flex;align-items:center}
@media(max-width:1120px){
 .hero.qd-real-hero h1{font-size:50px}
 .hero.qd-real-hero .hero-copy .lead{font-size:15px}
 .consult-banner.qd-real-consult .consult-banner-content{padding:30px}
 .consult-banner.qd-real-consult h2{font-size:30px}
 .qd-teaser-grid{gap:30px}.qd-teaser-grid h2{font-size:29px}
}
@media(max-width:900px){
 .hero.qd-real-hero .hero-image{right:24px;width:calc(50% - 36px)}
 .hero.qd-real-hero h1{font-size:43px}
 .hero.qd-real-hero .hero-mini-features{display:none}
 .qd-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .qd-teaser-grid{gap:25px}.qd-teaser-grid>div{padding-right:0}
 .qd-viewer-foot{gap:12px}
}
@media(max-width:800px){
 .hero.qd-real-hero{display:flex;flex-direction:column;min-height:0}
 .hero.qd-real-hero>.container{order:0;width:calc(100% - 40px)}
 .hero.qd-real-hero .hero-copy,.hero.qd-real-hero.hero-home .hero-copy,.hero.qd-real-hero.hero-contact .hero-copy,.hero.qd-real-hero.qd-portrait-hero .hero-copy{width:100%;padding:24px 0 28px;max-width:none}
 .hero.qd-real-hero .hero-image,.hero.qd-real-hero.qd-portrait-hero .hero-image{position:relative;order:1;inset:auto;width:calc(100% - 40px);max-width:none;margin:0 20px 28px;height:auto;aspect-ratio:3/2;border-radius:15px}
 .hero.qd-real-hero.qd-portrait-hero .hero-image{height:360px;aspect-ratio:auto}
 .hero.qd-real-hero .hero-copy .lead{max-width:570px;font-size:15px}
 .hero.qd-real-hero .breadcrumbs{max-width:none}
 .hero.qd-real-hero .hero-image img{position:absolute;inset:0}
 .hero.qd-real-hero h1{font-size:45px;letter-spacing:-1.6px}
 .hero.qd-real-hero .button-row{margin-top:24px}
 .hero.qd-real-hero.hero-home .hero-mini-features{display:flex;margin-top:24px}
 .consult-banner.qd-real-consult{display:flex;flex-direction:column;min-height:0}
 .consult-banner.qd-real-consult .consult-banner-content{width:100%;padding:30px 25px 24px}
 .consult-banner.qd-real-consult .banner-image{position:relative;inset:auto;width:calc(100% - 32px);height:auto;aspect-ratio:3/2;margin:0 16px 16px;order:2}
 .consult-banner.qd-real-consult .banner-image img{width:100%;height:100%}
 .qd-teaser-grid{grid-template-columns:1fr;padding:18px;gap:20px}
 .qd-teaser-grid>div{padding:0 5px 8px}.qd-teaser-grid h2{font-size:32px}
 .qd-gallery-nav{justify-content:flex-start;gap:4px 22px;padding-inline:0}
}
@media(max-width:540px){
 .qd-photo-grid{grid-template-columns:minmax(0,1fr);gap:19px}
 .qd-gallery-heading{gap:10px}.qd-gallery-heading .lead{font-size:13px}
 .qd-photo-total{font-size:34px}.qd-photo-total small{font-size:9px}
 .qd-gallery-heading h2{font-size:32px}
 .qd-photo-filters{gap:8px;flex-wrap:wrap}
 .qd-photo-filters button{font-size:11px;padding:10px 13px;min-height:44px}
 .qd-photo-tile h3{font-size:21px}.qd-photo-tile figcaption{padding:18px}
 .qd-gallery-bottom{align-items:stretch;flex-direction:column;gap:14px}
 .qd-gallery-bottom>span{text-align:center}
 .qd-case-notice{font-size:11px;margin-bottom:22px}
 .qd-gallery-nav a{font-size:11px}.qd-gallery-nav{gap:2px 16px}
 .qd-hero-photo-label{font-size:10px;bottom:10px;right:10px;padding:6px 10px}
 .hero.qd-real-hero h1{font-size:42px}
 .qd-photo-viewer{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:12px}
 .qd-viewer-head{padding:14px}.qd-viewer-head h2{font-size:20px}
 .qd-viewer-head span{font-size:9px}
 .qd-viewer-stage{padding:8px 0 58px}
 .qd-viewer-prev,.qd-viewer-next{top:auto;bottom:6px}
 .qd-viewer-prev{left:calc(50% - 57px)}.qd-viewer-next{right:calc(50% - 57px)}
 .qd-viewer-foot{grid-template-columns:1fr auto;padding:12px 14px;gap:8px}
 .qd-viewer-foot p{grid-column:1/-1;font-size:11px}
 .qd-viewer-foot a{justify-self:end}
 .qd-teaser-grid .button-row{align-items:stretch;flex-direction:column}
 .qd-teaser-grid .text-link{justify-content:center}
}
@media(prefers-reduced-motion:reduce){.qd-photo-open img{transition:none}.qd-photo-open:hover img{transform:none}}
@media print{.qd-photo-filters,.qd-photo-zoom,.qd-gallery-bottom,.qd-photo-viewer{display:none!important}.qd-photo-tile{break-inside:avoid}.qd-photo-grid{grid-template-columns:repeat(3,1fr)}.qd-photo-tile[hidden]{display:block!important}.hero.qd-real-hero .hero-copy{width:100%}.hero.qd-real-hero .hero-image{display:none}.qd-photo-section{break-before:page}}

html:not(.js) .qd-photo-filters{display:none}
