/* Shared warm plaster surface: all light sections reveal the same continuous plane. */
@font-face{font-family:'Schavemaker Serif';src:url('assets/instrument-serif.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Schavemaker Serif';src:url('assets/instrument-serif-italic.ttf') format('truetype');font-style:italic;font-weight:400;font-display:swap}
:root{--paper:#f5eddf;--paint:#006786;--paint-deep:#003e57}
body{background:var(--paper);isolation:isolate}
body:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--paper) url('assets/hero-wall.webp') center top/cover no-repeat}
.partners,.services,.review-feature,.palette-reviews,.about{background:transparent}
.reference-hero{position:relative;isolation:isolate;min-height:700px;background:transparent;color:#17191b;font-family:Arial,sans-serif;padding-bottom:42px;overflow:visible}
.reference-header{height:102px;padding:0 5.4%;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:26px;position:relative;z-index:6;max-width:none}
.reference-logo{font:600 clamp(23px,2.3vw,37px)/1.1 Georgia,serif;letter-spacing:.055em;white-space:nowrap}
.reference-logo>span{display:flex;align-items:center;gap:12px;font:8px/1.2 Arial,sans-serif;letter-spacing:.43em;margin-top:8px}
.reference-logo i{display:block;width:34px;height:2px;background:#246c83}
.reference-header nav{display:flex;align-items:center;gap:30px;font:14px/1.3 Arial,sans-serif;margin-right:auto;margin-left:7%;position:relative}
.reference-header nav a:hover{color:var(--paint)}
/* Enamel is drawn on the link itself. No screenshot/backplate or rasterized text. */
.paint-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:21px;min-height:60px;padding:16px 29px;color:#fff;font:600 18px/1.35 Arial,sans-serif;background:linear-gradient(145deg,#08799a 0%,#005472 32%,#00465f 74%,#087895 100%);border:1px solid #2b829a;border-radius:5px;box-shadow:inset 1px 2px 2px #c0f4ff80,inset -2px -2px 3px #002b44b3,0 4px 9px #14354129;text-decoration:none;isolation:isolate;transition:box-shadow .2s,filter .2s;max-width:100%}
.paint-button:before{content:'';position:absolute;inset:3px;border:1px solid #7dc4d44a;border-radius:2px;pointer-events:none}
.paint-button:after{content:'';position:absolute;inset:1px;border-radius:3px;background:linear-gradient(155deg,#b2eaf326,transparent 28%,transparent 78%,#41bcd52b);pointer-events:none;z-index:-1}
.paint-button>span{position:relative;z-index:1;white-space:nowrap}
.paint-button>svg{width:21px;height:21px;flex:0 0 21px;overflow:visible}
.paint-button:hover{filter:brightness(1.08);box-shadow:inset 1px 2px 2px #c0f4ff80,inset -2px -2px 3px #002b44b3,0 5px 12px #14354133}
.paint-button:focus-visible{outline:3px solid #006786;outline-offset:5px}
.reference-contact{min-height:46px;padding:10px 19px;font-size:15px;gap:9px;margin-left:auto;flex:none}
.reference-contact>svg{width:17px;height:17px;flex-basis:17px}
.reference-layout{position:relative;padding:24px 5.4% 0}
.reference-copy{position:relative;z-index:2;width:58%;min-width:0}
.reference-eyebrow{display:flex;align-items:center;gap:15px;margin:0 0 25px;font:500 10px/1.6 Arial,sans-serif;letter-spacing:.15em}
.reference-eyebrow i{display:block;flex:0 0 34px;height:3px;background:#246c83}
.reference-hero h1{font:400 clamp(90px,9.7vw,154px)/.93 'Schavemaker Serif',Georgia,serif;letter-spacing:-.035em;margin:0;padding:0 0 .14em;overflow:visible}
.reference-hero h1>span{display:block;white-space:nowrap;overflow:visible}
.reference-hero .reference-second{font-size:.84em;line-height:1.1;margin-top:.015em;letter-spacing:-.03em}
.reference-hero h1 em{position:relative;display:inline-block;font-size:1.06em;font-weight:400;color:#006786;letter-spacing:-.025em;overflow:visible}
.reference-brush{position:absolute;width:102%;height:.23em;left:0;bottom:-.18em;display:block;overflow:visible;pointer-events:none}
.reference-intro{font:400 clamp(16px,1.4vw,21px)/1.5 Arial,sans-serif;color:#4d5050;max-width:440px;margin:29px 0 27px}
.reference-cta{min-width:259px}
.preserved-hero-reviews{font-family:'DM Sans',sans-serif;margin-top:30px}
.preserved-hero-reviews .hero-reviews{margin-top:0}
.reference-art{position:absolute;right:6.8%;top:-102px;width:34%;max-width:545px;z-index:0;pointer-events:none;overflow:visible}
.paint-drop{display:block;width:100%;height:auto;max-width:none;object-fit:contain;filter:drop-shadow(13px 19px 16px #604f3527);overflow:visible}
.reference-region{margin:32px 0 0 31%;width:270px;text-align:center;font:21px/1.2 'Schavemaker Serif',serif}
.reference-region>span{display:flex;gap:20px;align-items:center;white-space:nowrap}
.reference-region>span:before,.reference-region>span:after{content:'';display:block;width:100%;height:1px;background:#91897877}
.reference-region small{display:block;margin-top:7px;font:10px/1.5 Arial,sans-serif;letter-spacing:.065em;color:#625a53}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.reference-hero.motion-ready .reference-copy{animation:reference-enter .8s .08s both}
.reference-hero.motion-ready .reference-brush{animation:reference-stroke .6s .5s both}
@keyframes reference-enter{from{opacity:.01;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes reference-stroke{from{clip-path:inset(0 100% -50% 0)}to{clip-path:inset(0 -4% -50% 0)}}
@media(min-width:1600px){.reference-hero h1{font-size:154px}.reference-layout{padding-top:35px}.reference-hero{min-height:830px}}
@media(min-width:901px) and (max-width:1150px){.reference-header{gap:18px}.reference-header nav{gap:18px;margin-left:3%;font-size:12px}.reference-logo{font-size:23px}.reference-logo>span{font-size:6px;letter-spacing:.35em}.reference-copy{width:60%}.reference-hero h1{font-size:9.6vw}.reference-art{right:3%;width:37%;top:-80px}.reference-intro{font-size:16px;max-width:390px}.reference-region{margin-left:31%}}
/* Mobile is normal document flow: drop first, then all copy, CTA and reviews. */
@media(max-width:900px){
.reference-hero{min-height:0;padding-bottom:34px}
.reference-header{height:88px;padding:0 6%;gap:10px;align-items:center}
.reference-logo{font-size:clamp(18px,3.8vw,27px);letter-spacing:.035em}
.reference-logo>span{font-size:6px;letter-spacing:.23em;gap:7px;margin-top:6px}.reference-logo i{width:24px}
.reference-contact{min-height:44px;padding:9px 12px;font-size:13px;gap:6px;margin-left:auto}.reference-contact>svg{width:15px;height:15px;flex-basis:15px}
.reference-header .menu{display:flex;flex:none;width:25px;height:44px;padding:0;justify-content:center;align-items:center;color:#005c77}.reference-header .menu span{font-size:24px}
.reference-header nav{display:none;position:absolute;top:78px;left:0;right:0;margin:0;height:auto;background:#f5eddf url('assets/hero-wall.webp') center/cover;padding:24px 6%;box-shadow:0 10px 20px #17181818;font-size:14px;gap:23px;border-radius:0 0 12px 12px}
.reference-header nav.open{display:flex;flex-wrap:wrap}
.reference-layout{display:flex;flex-direction:column;gap:0;padding:0 6%}
.reference-art{position:relative;top:auto;right:auto;width:clamp(240px,63vw,320px);max-width:100%;align-self:center;margin-top:-88px;margin-bottom:23px;overflow:visible}
.paint-drop{width:100%;height:auto;filter:drop-shadow(7px 11px 10px #604f3524)}
.reference-copy{position:relative;width:100%;max-width:650px;align-self:center;padding:0;min-width:0}
.reference-eyebrow{font-size:clamp(8px,1.95vw,11px);letter-spacing:.095em;gap:10px;margin:0 0 23px;line-height:1.5;white-space:normal}
.reference-eyebrow i{flex:0 0 25px;height:2px}
.reference-hero h1{font-size:clamp(60px,17vw,120px);line-height:.95;letter-spacing:-.035em;padding-bottom:.17em}
.reference-hero .reference-second{font-size:.83em;line-height:1.12}
.reference-hero h1 em{font-size:1.06em;letter-spacing:-.028em}
.reference-brush{height:.23em;bottom:-.16em}
.reference-intro{max-width:470px;font-size:16px;line-height:1.5;margin:26px 0 24px}
.reference-cta{min-width:0;min-height:57px;padding:15px 23px;font-size:17px}
.preserved-hero-reviews{margin-top:27px}
.reference-region{width:min(300px,82%);margin:31px auto 0;font-size:21px}.reference-region small{font-size:9px}
}
@media(max-width:360px){.reference-header{gap:7px}.reference-logo{font-size:16px}.reference-logo>span{font-size:5.5px}.reference-contact{padding:9px 10px;font-size:12px}.reference-header .menu{width:22px}.reference-hero h1{font-size:18.5vw}.reference-hero .reference-second{font-size:.80em}.reference-art{width:230px}.reference-intro{font-size:15px}.reference-cta{font-size:16px}.preserved-hero-reviews .hero-reviews{gap:10px}}
@media(prefers-reduced-motion:reduce){.reference-hero *{animation:none!important;transition:none!important}}
