/* QUANTROX SYSTEMS — D&D ELEVATORS COMPANY · V7 visual direction + documentary archive */
:root{--v7-bronze:#d8ba8b;--v7-ink:#0b0e13;--v7-stroke:rgba(255,255,255,.2)}
.skip-link{position:fixed;left:12px;top:-65px;background:#fff;color:#000;padding:12px;z-index:199}.skip-link:focus{top:12px}
.hero-visual{background:#111720}.hero-visual img{transition:opacity .6s ease;object-position:center 50%}.hero-visual video{opacity:0;transition:opacity .7s ease}.hero-visual video.is-ready{opacity:1}
.hero-copy h1{filter:drop-shadow(0 2px 5px #0005)}.hero-buttons .btn-gold{box-shadow:0 8px 24px #e0af6d24}.hero-buttons .btn-gold:hover{box-shadow:0 16px 35px #e0af6d42}
.clip-selector{position:absolute;z-index:4;bottom:170px;right:max(25px,5vw);display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:480px}
.clip-chip{padding:9px 12px;background:#0c1116a8;color:#e5e5e5;border:1px solid #ffffff47;backdrop-filter:blur(10px);font-size:10px;letter-spacing:.09em;font-weight:700;transition:background .2s ease,border-color .2s ease}
.clip-chip:hover,.clip-chip:focus-visible{border-color:#e4c38d}.clip-chip.active{background:#d8b98a;color:#151718;border-color:#d8b98a}
.hero .film-rail{z-index:5}.v7-eyebrow{display:block;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.19em;color:#d4b17d}
/* home storytelling teaser */
.case-teaser{padding:104px 0 112px;background:radial-gradient(ellipse at 90% 10%,#34405148,transparent 42%),#0c1117;color:white}
.case-teaser-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:36px}
.case-teaser-head h2,.v7-section-head h2{font-size:clamp(40px,5.4vw,74px);letter-spacing:-.065em;font-weight:800;line-height:1.02;margin:16px 0 0;max-width:720px}
.case-teaser-head h2 em,.v7-section-head h2 em{font-style:normal;color:#d5b17d}
.case-teaser-head p,.v7-section-head p{max-width:440px;color:#abb4be;line-height:1.8;font-size:14px}
.case-teaser-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.case-teaser-card{position:relative;overflow:hidden;min-height:470px;border:1px solid #ffffff28;background:#1e2932;isolation:isolate;display:flex;align-items:flex-end}
.case-teaser-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 47%;z-index:-2;filter:brightness(.74) saturate(.8);transition:transform .75s cubic-bezier(.2,.9,.2,1),filter .6s}
.case-teaser-card:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0b0f14b5 0%,transparent 31%,#0b0e12ed 95%);z-index:-1}
.case-teaser-card:hover img{transform:scale(1.055);filter:brightness(.89) saturate(.88)}.case-teaser-card:hover{border-color:#ddb980}
.case-teaser-meta{position:absolute;top:27px;left:26px;color:#e7c99e;font-size:10px;font-weight:800;letter-spacing:.12em}
.case-teaser-caption{width:100%;padding:32px 26px;display:flex;justify-content:space-between;align-items:flex-end;gap:18px}
.case-teaser-caption h3{font-size:clamp(24px,2.3vw,36px);letter-spacing:-.04em;line-height:1.12;max-width:280px}
.case-teaser-caption span{max-width:78px;color:#ebc28b;font-size:10px;font-weight:700;letter-spacing:.11em;line-height:1.6;text-align:right}
/* project visual showcase */
.case-deep-dive{background:#0d131a;color:#f8f6f2;padding:110px 0 120px;border-bottom:1px solid #ffffff26}
.v7-section-head{display:flex;justify-content:space-between;align-items:end;gap:45px;margin-bottom:48px}
.v7-section-head p strong{color:#f4dfbd}.case-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.case-tab{appearance:none;color:#c2c8cd;background:#1e262e;border:1px solid #ffffff24;text-align:left;padding:17px 20px;font-size:12px;font-weight:700;letter-spacing:.05em;flex:1;min-width:190px;transition:background .2s,color .2s,border-color .2s}
.case-tab[aria-selected=true]{background:#d5b27c;color:#0b1116;border-color:#d5b27c}.case-tab:hover:not([aria-selected=true]){border-color:#ddb987;color:white}
.case-spotlight{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);background:#19222b;min-height:640px;border:1px solid #ffffff25;overflow:hidden}
.case-media{position:relative;min-height:640px;isolation:isolate}.case-hero-photo{padding:0;border:0;position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#0a1015;cursor:zoom-in}
.case-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 44%;transition:transform .5s ease,opacity .2s ease}.case-hero-photo:hover img{transform:scale(1.025)}
.case-media:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#0a1219a1,transparent 30%)}
.case-media-mark{position:absolute;bottom:23px;left:28px;font-size:10px;letter-spacing:.16em;color:#fff;z-index:2;pointer-events:none}
.case-content{padding:clamp(26px,4vw,68px);display:flex;flex-direction:column;justify-content:center}
.case-code{font-size:10px;color:#e0b982;font-weight:800;letter-spacing:.18em}.case-content h3{font-size:clamp(34px,4.2vw,64px);letter-spacing:-.06em;line-height:1.02;margin:24px 0}
.case-content>p{font-size:15px;color:#b8c1c9;line-height:1.85}.case-small-title{margin:35px 0 14px;letter-spacing:.17em;font-size:10px;color:#e6be81;font-weight:700}
.case-photo-options{display:flex;gap:10px}.case-photo-option{width:78px;height:85px;border:1px solid #ffffff37;background:#1c2127;padding:0;overflow:hidden;opacity:.68;transition:opacity .2s,outline .2s}
.case-photo-option[aria-pressed=true]{opacity:1;outline:2px solid #e4bd83;outline-offset:2px}.case-photo-option:hover{opacity:1}.case-photo-option img{width:100%;height:100%;object-fit:cover}
.case-photo-caption{font-size:12px!important;color:#f2e6d5!important;margin-top:13px;min-height:24px}.case-notice{margin-top:24px;border-left:2px solid #d6b37d;padding-left:14px;font-size:11px;color:#aab4bd;line-height:1.65}
.case-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:26px}.case-quote{border:0;background:transparent;color:#f1d5aa;text-decoration:underline;text-underline-offset:5px;font-size:12px;padding:10px}
/* performance: offscreen sections may skip layout/paint, but retain semantic HTML */
@supports (content-visibility:auto){.case-teaser,.case-deep-dive,.gallery-page,.video-archive,.faq-commercial-grid{content-visibility:auto;contain-intrinsic-size:auto 700px}}
@media(max-width:1050px){.case-spotlight{grid-template-columns:1fr 1fr}.case-content{padding:35px}.case-content h3{font-size:clamp(35px,4.4vw,52px)}.clip-selector{bottom:155px}}
@media(max-width:780px){.case-teaser-head,.v7-section-head{display:block}.case-teaser-head p,.v7-section-head p{margin-top:20px}.case-teaser-grid{grid-template-columns:repeat(2,1fr)}.case-teaser-card{min-height:380px}.case-spotlight{grid-template-columns:1fr}.case-media{min-height:470px}.case-content{padding:35px}.case-deep-dive{padding:75px 0}.clip-selector{position:relative;right:auto;bottom:auto;justify-content:flex-start;margin:0 20px 16px;max-width:100%;width:calc(100% - 40px)}.clip-chip{font-size:9px}.hero .film-rail{bottom:62px}}
@media(max-width:540px){.case-teaser{padding:70px 0}.case-teaser-grid{grid-template-columns:1fr}.case-teaser-card{min-height:340px}.case-teaser-head h2,.v7-section-head h2{font-size:40px}.case-media{min-height:420px}.case-content{padding:28px}.case-content h3{font-size:40px}.case-photo-option{width:70px;height:75px}.clip-selector{position:absolute;bottom:82px;left:19px;width:auto;right:19px;gap:5px;justify-content:flex-start;margin:0}.clip-chip{font-size:8px;letter-spacing:0;padding:8px}.film-rail{display:none!important}.case-tab{min-width:100%;padding:13px 16px}.case-teaser-caption h3{font-size:32px}.case-content .btn{padding:14px}}
@media (prefers-reduced-motion:reduce){.hero-visual video{display:none!important}.case-teaser-card img,.case-hero-photo img{transition:none!important}}

.case-fullscreen{position:fixed;inset:0;background:#030506f0;z-index:160;display:grid;place-items:center;padding:28px}.case-fullscreen img{display:block;max-width:95vw;max-height:90vh;object-fit:contain}.case-fullscreen-close{position:absolute;top:16px;right:22px;width:45px;height:45px;background:#222;color:#fff;border:1px solid #aaa;font-size:28px}

/* Narrow screens prioritize text and still photography; clips remain available on the projects page. */
@media(max-width:780px){.clip-selector{display:none}}
