/* QCC V2.35 — meticulous practice-wide visual system (progressive enhancement). */
:root{--qcg-ink:#10232b;--qcg-navy:#071923;--qcg-bronze:#c9a77a;--qcg-cream:#f3f0e9;--qcg-ease:cubic-bezier(.22,1,.36,1);--qcg-space:clamp(80px,8.4vw,144px)}
html{scroll-padding-top:92px}body{font-kerning:normal;text-rendering:optimizeLegibility}body[data-page]{background-color:var(--qcg-cream)}
body[data-page] :is(h1,h2,h3,h4){text-wrap:balance}body[data-page] :is(p,figcaption,small){text-wrap:pretty}
body[data-page] :is(p,.display,.intro-copy,.service-description){overflow-wrap:break-word}
body[data-page] ::selection{background:#c9a77a;color:#0b2028}
body[data-page] :is(.nav,.site-footer){isolation:isolate}
body[data-page] .nav{backdrop-filter:saturate(120%);-webkit-backdrop-filter:saturate(120%)}
body[data-page] .qcg-identity{min-width:0}
body[data-page] .nav-links>a:not(.nav-cta){position:relative;transition:color .3s var(--qcg-ease),opacity .3s var(--qcg-ease)}
body[data-page] .nav-links>a:not(.nav-cta)::after{content:'';position:absolute;left:0;right:100%;bottom:7px;height:1px;background:var(--qcg-bronze);transition:right .48s var(--qcg-ease)}
body[data-page] .nav-links>a:not(.nav-cta):hover::after,body[data-page] .nav-links>a:not(.nav-cta):focus-visible::after{right:0}
body[data-page] .inner-hero{min-height:min(660px,78svh);display:flex;align-items:center;position:relative;overflow:hidden}
body[data-page] .inner-hero::before{transform:scale(1.015);transition:transform 16s ease-out;will-change:auto}
body[data-page] .inner-hero .inner-hero-inner{padding-bottom:clamp(56px,5vw,110px)}
body[data-page] .inner-hero h1{max-width:16ch;line-height:1.035;letter-spacing:-.062em}
body[data-page] .inner-hero p{max-width:62ch;line-height:1.86}
body[data-page] .inner-hero small{max-width:68ch;line-height:1.7;letter-spacing:.03em}
body[data-page] .inner-hero-inner .section-no{margin-bottom:clamp(20px,2.5vw,38px)}
body[data-page] :is(.home-studio,.home-services,.home-work,.q-about-story,.q-about-expertise,.q-about-team,.q-about-process,.q-about-evidence,.workflow,.practice-delivery,.approach-evidence,.difference,.projects,.la-fontaine-study,.capabilities,.proposal-project,.proposal-conversation){scroll-margin-top:98px}
body[data-page] :is(.portfolio-tile,.project-card,.story-visual,.q-project-image,.la-fontaine-hero,.proposal-housing-card,.q-about-scene-frame,.systems-visual){backface-visibility:hidden}
body[data-page] :is(.portfolio-tile,.project-card,.q-project-image,.la-fontaine-hero){transition:box-shadow .6s var(--qcg-ease),transform .65s var(--qcg-ease)}
@media(hover:hover){body[data-page] :is(.portfolio-tile,.project-card,.la-fontaine-hero):hover{transform:translateY(-4px);box-shadow:0 22px 48px rgba(8,28,35,.10)}}
body[data-page] :is(.portfolio-tile img,.project-card img,.la-fontaine-gallery img,.proposal-project img){transform:translateZ(0);transition:transform 1.35s var(--qcg-ease),filter 1.2s var(--qcg-ease)}
@media(hover:hover){body[data-page] :is(.portfolio-tile,.la-fontaine-gallery figure,.proposal-housing-card):hover img{transform:scale(1.022)}}
body[data-page] :is(.btn,.nav-cta,.q-btn,.home-hero-secondary,.text-link,.portfolio-study-link){transition:transform .4s var(--qcg-ease),background .35s ease,border-color .35s ease,box-shadow .35s ease}
body[data-page] :is(.btn,.nav-cta,.q-btn):hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(9,23,26,.13)}
body[data-page] img{object-fit:cover}body[data-page] img[alt=""]{object-fit:contain}
body[data-page] .home-panel{padding-block:clamp(90px,9.5vw,156px)}
body[data-page="home"] .home-studio-grid,body[data-page="home"] .home-services-grid{column-gap:clamp(45px,7vw,130px)}
body[data-page="home"] .home-work .home-feature-grid{gap:clamp(17px,2vw,32px)}
body[data-page="home"] .home-flagship-overlay{z-index:6;pointer-events:none}
body[data-page="home"] .home-flagship-overlay a{pointer-events:auto}
body[data-page="home"] .home-hero-lede{max-width:59ch;line-height:1.78}
body[data-page="home"] .qcg-film-switch{border-radius:0;letter-spacing:.045em;min-height:44px;padding:12px 18px}
body[data-page="home"] .home-view-picker button{transition:opacity .35s ease,transform .4s var(--qcg-ease),border-color .4s ease}
body[data-page="about"] .q-about-hero{min-height:min(900px,96svh)}
body[data-page="about"] .q-about-scene{min-width:0}
body[data-page="about"] .q-about-scene-frame img{object-position:center center}
body[data-page="about"] .q-about-source{font-size:11px;line-height:1.65}
body[data-page="about"] :is(.q-about-story,.q-about-expertise,.q-about-team,.q-about-process,.q-about-evidence){padding-block:clamp(95px,8.5vw,155px)}
body[data-page="about"] .q-disc-media img{object-fit:cover;object-position:center}
body[data-page="services"] .capabilities{padding-block:clamp(92px,8vw,140px)}
body[data-page="services"] .cap-grid{gap:0}
body[data-page="services"] .cap-card{transition:background-color .45s ease,box-shadow .45s ease}
body[data-page="services"] .cap-card:is(:hover,:focus-within){background:#1a333b;box-shadow:inset 0 0 0 1px rgba(217,182,139,.35)}
body[data-page="approach"] .workflow{padding-block:clamp(100px,8vw,155px)}
body[data-page="approach"] .difference-visual img{object-position:center}
body[data-page="projects"] .portfolio-tile{overflow:hidden}
body[data-page="projects"] .portfolio-tile>a{min-height:100%}
body[data-page="proposals"] .proposal-project{padding-block:clamp(92px,8.2vw,144px)}
body[data-page="contact"] .contact{padding-block:clamp(95px,8vw,145px)}
body[data-page] .site-footer{padding-top:20px}
body[data-page] .site-footer .footer{row-gap:23px}
/* Continuous small entrance, not card-by-card strobe. JS only enables it on eligible elements in view. */
@media(prefers-reduced-motion:no-preference){
  body.qcg-motion-ready .qcg-entrance:not(.qcg-visible){opacity:0;transform:translate3d(0,17px,0)}
  body.qcg-motion-ready .qcg-entrance{transition:opacity .9s var(--qcg-ease),transform 1.05s var(--qcg-ease);transition-delay:var(--qcg-delay,0ms)}
  body.qcg-motion-ready .qcg-entrance.qcg-visible{opacity:1;transform:translate3d(0,0,0)}
}
@media(max-width:1100px){body[data-page] .inner-hero{min-height:580px}body[data-page] .inner-hero h1{letter-spacing:-.045em}}
@media(max-width:780px){
  body[data-page] .inner-hero{min-height:540px;align-items:flex-end}
  body[data-page] .inner-hero .inner-hero-inner{padding-top:160px;padding-bottom:55px}
  body[data-page] .inner-hero h1{max-width:13ch;font-size:clamp(43px,9.3vw,73px);letter-spacing:-.052em}
  body[data-page] .inner-hero p{font-size:14px;max-width:42ch;line-height:1.75}
  body[data-page] .home-panel{padding-block:clamp(75px,11vw,100px)}
  body[data-page="about"] .q-about-hero{min-height:unset}
  body[data-page="about"] :is(.q-about-story,.q-about-expertise,.q-about-team,.q-about-process,.q-about-evidence){padding-block:clamp(74px,11vw,100px)}
  body[data-page] :is(.portfolio-tile,.project-card,.la-fontaine-hero):hover{transform:none;box-shadow:none}
  body[data-page="home"] .home-flagship-controls{z-index:7}
}
@media(max-width:500px){
  body[data-page] .inner-hero{min-height:520px}
  body[data-page] .inner-hero .inner-hero-inner{padding-top:140px;padding-bottom:50px}
  body[data-page] .inner-hero h1{font-size:clamp(39px,11.7vw,58px)}
  body[data-page] .inner-hero p{font-size:13px;line-height:1.8}
  body[data-page] .inner-hero small{font-size:10px}
  body[data-page="home"] .home-flagship-overlay h1{max-width:none}
  body[data-page="home"] .home-hero-lede{font-size:13px;max-width:39ch}
  body[data-page] .nav-links a{min-height:48px}
  body[data-page] .site-footer .footer{padding-block:33px}
  body[data-page] .home-panel{padding-block:78px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:0.01ms!important;animation-iteration-count:1!important;transition-duration:0.01ms!important}
}

/* V2.35: discipline evidence is an editorial gallery with explicit source distinctions. */
.qcg-disc-evidence{margin:clamp(85px,10vw,160px) 0 clamp(78px,9vw,145px);padding-top:clamp(35px,5vw,65px);border-top:1px solid rgba(240,238,226,.33)}
.qcg-disc-evidence-head{display:grid;grid-template-columns:1.15fr .85fr;align-items:end;gap:clamp(25px,6vw,90px);margin-bottom:clamp(30px,4vw,60px)}
.qcg-disc-evidence-head h3{font:600 clamp(34px,4.1vw,62px)/1.08 Manrope,Arial,sans-serif;letter-spacing:-.055em;max-width:13ch;margin:24px 0 0;color:#f6f4ee}
.qcg-disc-evidence-head h3 em{font:italic 1.1em 'Instrument Serif',Georgia,serif;color:#dfc09a}
.qcg-disc-evidence-head p{max-width:55ch;margin:0 0 3px;color:#c5d0cb;font-size:14px;line-height:1.85}
.qcg-disc-evidence-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:clamp(12px,1.8vw,28px)}
.qcg-disc-evidence-grid figure{position:relative;overflow:hidden;min-height:clamp(370px,34vw,525px);margin:0;background:#17333b;isolation:isolate}
.qcg-disc-evidence-grid figure::after{position:absolute;inset:32% 0 0;z-index:1;content:'';background:linear-gradient(0deg,rgba(4,21,29,.94) 0%,rgba(5,22,29,.5) 50%,transparent 100%);pointer-events:none}
.qcg-disc-evidence-grid img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform 1.1s cubic-bezier(.22,1,.36,1)}
.qcg-disc-evidence-grid figure:hover img{transform:scale(1.035)}
.qcg-disc-evidence-grid figcaption{position:absolute;left:clamp(17px,2vw,32px);right:clamp(17px,2vw,32px);bottom:clamp(22px,2.5vw,39px);z-index:2;display:flex;flex-direction:column;gap:12px}
.qcg-disc-evidence-grid figcaption span{color:#e3bc8b;font-size:10px;font-weight:700;letter-spacing:.15em}
.qcg-disc-evidence-grid figcaption strong{font:600 clamp(19px,2vw,28px)/1.2 Manrope,Arial,sans-serif;letter-spacing:-.04em;color:#fffdf7}
.qcg-disc-evidence-grid figcaption small{font-size:11px;line-height:1.6;color:#d8ded8}
@media(max-width:900px){.qcg-disc-evidence-head{grid-template-columns:1fr;gap:15px}.qcg-disc-evidence-grid{grid-template-columns:1fr 1fr}.qcg-disc-evidence-grid figure:first-child{grid-column:span 2;min-height:460px}.qcg-disc-evidence-grid figure{min-height:380px}}
@media(max-width:550px){.qcg-disc-evidence-grid{grid-template-columns:1fr;gap:15px}.qcg-disc-evidence-grid figure:first-child{grid-column:auto;min-height:360px}.qcg-disc-evidence-grid figure{min-height:330px}.qcg-disc-evidence-head h3{max-width:none}.qcg-disc-evidence-head p{font-size:13px}}
