/* Measured nateherk.com composition, with PYROX content and native CSS scenes. */
:root{--paper:#edf3f8;--ink:#101419;--muted:#4d5e70;--line:#d1dce5;--accent:#0875d1;--white:#fff;color-scheme:light}
.voice-callout{display:grid;grid-template-columns:1.3fr 1fr;gap:56px;margin:0 auto 64px;padding:40px;border-top:1px solid #97b1c5;border-bottom:1px solid #97b1c5;background:#f4f9fde8}
.voice-callout h2{font-size:clamp(28px,3vw,40px);letter-spacing:-.045em;margin:0 0 16px}
.voice-callout p{font-size:16px;line-height:1.6;color:#354c60;margin-bottom:16px}
.voice-callout .voice-notice{font-size:13px;max-width:52ch}.voice-callout a{color:#005fae;text-underline-offset:4px;font-size:14px}
.voice-actions{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}
.voice-actions .button{min-height:52px;line-height:1.35}.voice-actions>a{margin-top:4px}
.voice-actions [hidden]{display:none!important}.voice-actions button{cursor:pointer}.voice-actions button:disabled{cursor:wait}
#voice-status{margin:0;font-size:14px;max-width:38ch}#voice-status:not(:has([data-voice-state]:not([hidden]))){display:none}#voice-status:has([data-voice-state="error"]:not([hidden])){color:#8e2727}
@media(max-width:800px){.voice-callout{grid-template-columns:1fr;gap:24px;padding:28px 24px}.voice-actions{align-items:stretch}.voice-actions .button{font-size:15px;text-align:center}}
html{scroll-padding-top:110px}
body{background:var(--paper);color:var(--ink)}
.reference-ground{position:fixed;inset:-5%;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#ffffff70,transparent 75%),repeating-linear-gradient(90deg,#ffffff60 0px,#edf2f51a 7px,#819aaa24 14px,#ffffffb0 27px,#bcd8e555 29px,#ffffff44 31px),radial-gradient(ellipse at 88% 10%,#6fc5fa 0%,transparent 48%),radial-gradient(ellipse at 4% 80%,#95cdf4 0%,transparent 40%),#e7edf2;transform:translateY(calc(var(--ref-page,0)*-30px)) rotate(calc(var(--ref-page,0)*-.5deg))}
.reference-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:50;background:#35adff;transform:scaleX(var(--ref-page,0));transform-origin:left;pointer-events:none}
.container{width:min(1296px,calc(100% - 96px))}
.site-header{position:absolute;top:16px;left:50%;transform:translateX(-50%);width:min(1344px,calc(100% - 48px));z-index:40;background:transparent;border:0;transition:width .4s cubic-bezier(.2,.7,.2,1),background .3s,border-radius .3s,box-shadow .3s}
.site-header .container{width:calc(100% - 48px)}
.header-inner{min-height:72px}.brand{color:#101419;font-size:17px;letter-spacing:-.03em}.brand img{width:30px;height:30px}
.desktop-nav{gap:24px}.desktop-nav a{color:#101419}.desktop-nav .button{color:#fff;border-radius:999px}
.languages a{color:#35495d}.languages [aria-current=page]{color:#0066ba;text-decoration:underline;text-underline-offset:4px}
.site-header[data-scrolled]{position:fixed;top:14px;width:min(880px,calc(100% - 32px));border-radius:999px;background:#f8fbffef;box-shadow:0 8px 24px #3e709326;border:1px solid #ffffff}
.site-header[data-scrolled] .header-inner{min-height:52px}.site-header[data-scrolled] .container{width:calc(100% - 32px)}
.site-header[data-scrolled] .brand{font-size:14px}.site-header[data-scrolled] .brand img{width:24px;height:24px}
.site-header[data-scrolled] .desktop-nav{gap:18px;font-size:13px}
.button{border-radius:14px;background:#0875d1;border-color:#0875d1;color:#fff;padding:16px 26px;box-shadow:0 8px 24px #1673b622}
.button:hover{background:#005ca9;border-color:#005ca9;color:#fff}.button:active{transform:translateY(1px)}
.button.secondary{background:#f8fbffcc;color:#111820;border-color:#c8d5df}
.button.secondary:hover{background:#fff;color:#005ca9;border-color:#0875d1}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #0875d1;outline-offset:5px}
.hero{position:relative;height:auto;min-height:100svh;padding:190px 0 90px;overflow:clip;background:transparent}
.hero-grid{display:grid;grid-template-columns:1.2fr .9fr;gap:44px;align-items:center;min-height:660px}
.hero-intro{position:relative;z-index:3;transform:translateY(calc(var(--ref-hero,0)*-38px))}
.hero-facts{display:flex;gap:44px;margin-bottom:30px}.hero-facts p{display:grid;gap:4px}.hero-facts strong{font-size:32px;line-height:1;font-weight:750;letter-spacing:-.04em;color:#111820}.hero-facts span{font-size:13px;color:#4d5e70}
.hero h1{font-family:Inter,sans-serif;font-size:clamp(58px,6.8vw,98px);font-weight:750;line-height:1.02;letter-spacing:-.068em;max-width:none;text-wrap:balance}
.hero h1>span{display:block}.hero h1>span:last-child{color:#0875d1}
.hero h1>span:first-child{color:var(--ink)}.hero h1 .reference-word{display:inline-block;color:inherit}
.hero h1>span .reference-word:last-child{color:inherit}
.hero .lead{font-size:22px;line-height:1.6;max-width:43ch;margin-top:28px;color:#344252}
.hero-actions{gap:24px;margin-top:32px;align-items:center}.hero-actions .text-link{color:#111820;font-size:15px}
.hero-ceo{position:relative;align-self:center;transform:translateY(calc(var(--ref-hero,0)*55px));min-width:0;padding-top:40px}
.hero-ceo::before{content:'';position:absolute;inset:5% 0 8%;border-radius:50% 50% 0 0;background:#ffffff60;z-index:-1}
.hero-ceo .portrait-frame{height:590px;width:min(100%,410px);margin:auto;background:#0d151a;overflow:hidden;border-radius:220px 220px 24px 24px;box-shadow:0 30px 70px #30485826}
.hero-ceo .team-portrait-ceo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 35%;transform:none}
.hero-ceo figcaption{margin-top:18px}
.hero-ceo figcaption{justify-content:center;gap:20px;color:#1d354d;font-size:14px}.hero-ceo figcaption small{color:#0064b6}
#agents{position:relative;border:0;background:transparent;padding:0 0 120px}
#agents>.container{padding:64px 72px;background:#ffffffbc;border:1px solid #fff;border-radius:28px;box-shadow:0 22px 50px #4a718326;backdrop-filter:blur(10px)}
.section-heading{gap:48px;align-items:start;margin-bottom:50px}
h2{font-family:Inter,sans-serif;font-size:clamp(36px,5vw,68px);font-weight:720;line-height:1.06;letter-spacing:-.06em}
.section-heading p{font-size:20px;line-height:1.5;color:#35475a;max-width:40ch}
.card{grid-template-columns:48px minmax(0,.8fr) minmax(0,1.2fr) minmax(100px,.4fr);gap:28px;padding:30px 8px;border-color:#c8d6e0;background:transparent;border-radius:12px}
.card:last-child{border-color:#c8d6e0}.card-number{color:#0875d1}.card h3{font-size:22px;letter-spacing:-.035em}.card p{font-size:16px;color:#4d5e70}.card-link{color:#0875d1;font-size:14px}
/* Three scoped projects occupy the reference's spatial recognition scene. */
#case-study{position:relative;background:transparent;border:0;padding:48px 0 120px}
.reference-orbit-stage{position:relative}
#case-study .section-heading{display:block;max-width:490px;padding:28px;background:#f8fbffeb;border:1px solid white;border-radius:22px;box-shadow:0 16px 36px #496e8520}
#case-study h2{font-size:54px}#case-study .section-heading p{font-size:18px;margin-top:18px}
.reference-orbit-mark{display:none}
.proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;perspective:1200px}
.proof-item{display:flex;position:relative;padding:28px;min-height:300px;border:1px solid #fff;border-radius:24px;background:#f6faffeb;box-shadow:0 20px 48px #37678330;color:#101419;backface-visibility:hidden}
.proof-item .card-number{color:#0070c5;font-size:12px}.proof-value{font-size:30px;font-weight:700;letter-spacing:-.055em;line-height:1.08}.proof-item p{color:#4d5e70;font-size:16px}.proof-item .text-link{color:#0066b8;min-height:44px;padding-top:12px}
#case-study>.container>p{position:relative;z-index:3;text-align:right}
.case-index-action{margin-top:24px}.all-cases-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:56px;padding:16px 24px;border:1px solid #102d44;border-radius:999px;background:#102d44;color:#fff;text-decoration:none;font-size:15px;font-weight:600;box-shadow:0 10px 24px #173a5626;transition:background .2s,box-shadow .2s}.all-cases-button svg{flex:none;transition:transform .2s}.all-cases-button:hover{background:#194b70;box-shadow:0 12px 28px #173a5633}.all-cases-button:hover svg{transform:translateX(3px)}.all-cases-button:focus-visible{outline:3px solid #0875d1;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.all-cases-button,.all-cases-button svg{transition:none}.all-cases-button:hover svg{transform:none}}
#process{background:transparent;border:0;padding:70px 0 100px}
#process>.container{display:grid;grid-template-columns:1fr 1fr;gap:64px;padding:72px;background:#ffffffbf;border-radius:28px;border:1px solid #fff;box-shadow:0 16px 48px #47697d22}
#process .section-heading{display:block;margin:0}#process .section-heading p{margin-top:36px;font-size:24px}
.steps{display:grid;grid-template-columns:1fr;gap:12px}.step{padding:18px 0;border-color:#b9cddd}.step h3{font-size:25px;margin:12px 0}.step p{font-size:17px;line-height:1.6;margin:0;color:#425a6b}.step>span{color:#0875d1}
.reference-gallery{position:relative;padding:90px 0 110px;overflow:clip}
.reference-gallery-stage{position:relative}
.reference-gallery .section-heading{display:block;text-align:center;margin-bottom:64px}
.reference-gallery h2{max-width:none}
.hero-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;width:min(1152px,calc(100% - 96px));max-width:none;margin:0 auto;padding:0;background:none}
.hero-people .team-portrait{margin:0;min-width:0}.hero-people .team-portrait:nth-child(2){padding-top:100px}
.hero-people .portrait-frame{height:420px;border-radius:18px;background:#142023;box-shadow:0 22px 45px #42667c30}
.hero-people .team-portrait img,.hero-people .team-portrait:nth-child(2) img,.hero-people .team-portrait:nth-child(3) img{object-position:50% 25%;transform:none}
.hero-people .team-portrait img[src*="daniel"]{transform:scale(1.18);transform-origin:50% 22%}
.hero-people figcaption{display:inline-flex;margin-top:12px;padding:10px 14px;border-radius:9px;background:#ffffffde;color:#162c40;font-size:14px}
/* Biographies remain in document flow and never cover a face. */
.person-profile{position:relative;margin:4px 0 0;color:#162c40;text-align:left}
.hero-ceo .person-profile{width:min(100%,410px);margin:4px auto 0}
.person-profile>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 14px;border-bottom:1px solid #a8bfce;cursor:pointer;list-style:none;font-size:14px;font-weight:600}
.person-profile>summary::-webkit-details-marker{display:none}
.person-profile>summary::after{content:'+';font-size:24px;font-weight:400;color:#0064b6}
.person-profile[open]>summary::after{content:'−'}
.person-profile>p{position:static;margin:0;padding:18px 14px;background:#f8fbfff2;color:#243e51;font-size:15px;line-height:1.6;border-radius:0 0 12px 12px}
.person-profile[open]>p{animation:profile-in .28s ease-out both}
@keyframes profile-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* The operating example retains its explicit demo boundary and dark control surface. */
.proof-lab{color:#e8f0f5;background:#101d29;border:0;border-radius:28px;width:min(1296px,calc(100% - 96px));margin:40px auto 80px;padding:56px 48px}
.proof-lab h2{font-family:Inter,sans-serif;font-weight:700;color:#f1f5f8}.proof-lab button:focus-visible{outline-color:#8dd9ff}.lab-eyebrow{color:#8dd9ff}
#pricing{background:transparent;border:0;padding:60px 0 80px}
#pricing>.container{background:#ffffffc9;border:1px solid white;border-radius:28px;padding:64px}
.price-card{border:1px solid #cad8e2;border-radius:20px;background:#f8fbffe6;padding:28px}.price-card:nth-child(2){background:#e1f0fe;border-color:#8fc6ed}.price-card h3{font-size:23px;color:#122a3c}.price{color:#101419;font-size:34px}.price-card ul{color:#43586b}
#faq{background:transparent;border:0;padding:50px 0}.faq details{background:#ffffffb8;padding:0 24px;border-radius:14px;margin-bottom:12px;border:1px solid #fff}.faq summary{color:#14212e}.faq details p{color:#3d5266}
#contact{background:transparent;border:0;padding:110px 0 80px}
.contact-grid{display:block}.contact-copy{text-align:center;max-width:1150px;margin:auto}.contact-copy .eyebrow{display:none}.contact-copy h2{font-size:clamp(44px,6.4vw,88px);max-width:none;line-height:1.06}.contact-copy p{font-size:20px;max-width:65ch;margin:28px auto}.direct-links{justify-content:center;margin:32px 0}.direct-links a{color:#005fae}
.contact-form{max-width:720px;margin:60px auto 0;padding:36px;background:#ffffffd9;border:1px solid white;border-radius:24px}
.field input,.field textarea{background:#fff;border-color:#8da7bc;color:#142331;border-radius:10px}.field label{color:#2f4a60}
.site-footer{background:#e9f1f8c9;border-top:1px solid white}.site-footer p,.site-footer a{color:#354b5e}
.link-language{display:inline-block;font:600 9px/1.4 Inter,sans-serif;letter-spacing:.04em;border:1px solid currentColor;border-radius:3px;padding:1px 4px;vertical-align:middle;margin-left:4px}
.reference-gallery,.hero,.reference-orbit-stage{--ref-p:0}
.reference-word{display:inline-block}
.reference-reveal[data-reveal] .reference-word{animation:reference-word-in .7s both;animation-delay:calc(var(--word-order,0)*24ms)}
@keyframes reference-word-in{from{opacity:.25;filter:blur(5px);transform:translateY(8px)}to{opacity:1;filter:blur(0);transform:none}}
.reference-end{position:relative;padding:0}
.reference-end .contact-copy{padding:100px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:650px;transform:scale(calc(.94 + var(--ref-close,0)*.06));transform-origin:center}
.reference-end .direct-links{flex-direction:column;gap:32px}
.reference-end .direct-links a:first-child{display:inline-flex;padding:22px 32px;background:#0875d1;color:#fff;border-radius:14px;font-size:20px;box-shadow:0 14px 35px #0076c233;text-decoration:none}
.reference-end .direct-links a:first-child:hover{background:#005ca9}
.reference-signoff{display:flex;align-items:center;gap:12px;margin-top:50px;font-size:24px;font-weight:700;letter-spacing:-.06em}
.reference-signoff img{width:42px;height:42px}
/* Closing contact is a single composition, not a default underlined directory. */
.reference-end .direct-links{align-items:center}
.reference-end .direct-links a[href^="tel:"]{display:inline-flex;align-items:center;gap:14px;padding:12px 18px 12px 12px;border:1px solid #779dbd;border-radius:999px;background:#f6fbffe8;color:#244660;font-size:15px;font-weight:550;letter-spacing:.015em;text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
.reference-end .direct-links a[href^="tel:"]::before{content:"";width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#dbeefa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23005fae' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L8 10a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/18px no-repeat}
.reference-end .direct-links a[href^="tel:"]:hover{background:#fff;border-color:#005fae;transform:translateY(-2px)}
.reference-signoff{gap:16px;margin-top:44px;font-size:clamp(28px,3.3vw,46px);font-weight:600;letter-spacing:-.055em}
.reference-signoff img{width:54px;height:54px}
.site-footer{position:relative;padding:64px 0 26px;background:#eaf3f9f5;border-top:1px solid #acbfd0}
.site-footer .footer-grid{grid-template-columns:1.5fr .8fr 1fr;gap:48px}
.site-footer .brand{display:inline-block;font-size:clamp(38px,5vw,68px);font-weight:550;line-height:1;letter-spacing:-.065em;color:#132a3d}
.site-footer .footer-grid p{font-size:14px;line-height:1.8;margin-top:24px;color:#435c70}
.site-footer .footer-grid h3{font-size:11px;font-weight:650;letter-spacing:.16em;text-transform:uppercase;color:#435c70;margin:4px 0 22px}
.site-footer .footer-grid a:not(.brand){width:fit-content;font-size:15px;line-height:1.5;margin:0 0 13px;text-decoration:none;text-underline-offset:5px}
.site-footer a:hover{text-decoration:underline;color:#005fae}
.site-footer .resource-links{margin-top:40px;padding:18px 0;border-top:1px solid #b9cad6;border-bottom:1px solid #b9cad6}
.site-footer .resource-links summary{font-size:14px;letter-spacing:.01em;cursor:pointer}
.site-footer .footer-bottom{margin-top:24px;padding-top:0;border:0;font-size:12px;line-height:1.6;color:#435c70;justify-content:flex-start;gap:24px}
.site-footer .footer-bottom a:first-of-type{margin-left:auto}
@media(max-width:900px){.site-footer .footer-grid{grid-template-columns:1fr 1fr;gap:32px}.site-footer .footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:540px){.site-footer{padding-top:40px}.site-footer .footer-grid{grid-template-columns:1fr;gap:26px}.site-footer .brand{font-size:48px}.site-footer .footer-grid h3{margin-bottom:14px}.reference-end .direct-links a[href^="tel:"]{font-size:14px;gap:10px}}
@media(min-width:380px) and (max-width:540px){.site-footer .footer-grid{grid-template-columns:.85fr 1.3fr;column-gap:20px}.site-footer .footer-grid a:not(.brand){font-size:14px}.site-footer .footer-bottom{flex-direction:row;gap:12px 20px}.site-footer .footer-bottom span{flex-basis:100%}.site-footer .footer-bottom a:first-of-type{margin-left:0}}
@media(max-width:379px){.site-footer .footer-bottom a:first-of-type{margin-left:0}}
.reference-details{width:min(1296px,calc(100% - 96px));margin:0 auto 24px;border:1px solid #ffffffbd;border-radius:20px;background:#ffffffb8}
.reference-details>summary{cursor:pointer;padding:26px 32px;font-size:22px;font-weight:650;letter-spacing:-.03em}
.reference-details .section{padding:24px 0}.reference-details .container{width:calc(100% - 48px);padding:24px!important;background:none!important;box-shadow:none!important;border:0!important}
.reference-details .contact-form{margin:0 auto 40px}
.reference-glass{display:block;position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .5s}
.reference-glass[data-ready]{opacity:1}.reference-glass[hidden]{display:none}
.reference-ground:has(.reference-glass[data-ready]){transform:none}
.proof-surface{display:flex;flex-direction:column;gap:16px;min-height:0;flex:1;width:100%}
.proof-surface .proof-value,.proof-surface p{margin:0}
.proof-surface p{line-height:1.6}
.proof-surface .text-link{margin-top:auto}
.proof-item[data-front] .proof-surface{transform:perspective(900px) rotateX(var(--card-lean-x,0deg)) rotateY(var(--card-lean-y,0deg));transform-origin:center}
.reference-wipe[data-reveal]{animation:reference-wipe .9s cubic-bezier(.2,.7,.2,1) both}
@keyframes reference-wipe{from{clip-path:inset(100% 0 0 round 18px)}to{clip-path:inset(0 round 18px)}}
.orbit-controls{display:none}
.reference-entry[data-reveal]{animation:reference-entry .75s cubic-bezier(.2,.7,.2,1) both}
.hero-actions.reference-entry[data-reveal]{animation-delay:.5s}
@keyframes reference-entry{from{opacity:.08;transform:translateY(26px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
 #case-study[data-ref-motion]{height:300svh;padding:0;overflow:clip;--ring-radius:clamp(280px,30vw,430px)}
 #case-study[data-ref-motion] .reference-orbit-stage{height:100svh;position:sticky;top:0;padding:0;perspective:1500px}
 #case-study[data-ref-motion] .section-heading{position:absolute;top:110px;left:0;z-index:4;width:min(450px,65%);padding:22px;background:#f8fbffed}
 #case-study[data-ref-motion] .section-heading h2{font-size:42px}
 #case-study[data-ref-motion] .section-heading p{font-size:16px;margin-top:12px;line-height:1.5}
 #case-study[data-ref-motion] .reference-orbit-mark{display:grid;position:absolute;left:50%;top:43%;width:200px;height:200px;place-items:center;transform:translate(-50%,-50%);background:#ffffff8c;border:1px solid #fff;border-radius:28px;box-shadow:0 18px 50px #45617c20}
 .reference-orbit-mark img{width:90px;height:90px}
 /* Compose the shared world rotation into each plate: WebKit otherwise paints
    nested zero-size preserve-3d layers differently from their hit-test bounds. */
 #case-study[data-ref-motion] .proof-grid{position:absolute;left:50%;top:63%;width:0;height:0;display:block;perspective:1500px;perspective-origin:0 0;transform:none}
 #case-study[data-ref-motion] .proof-item{position:absolute;left:0;top:0;width:280px;min-height:220px;padding:24px;transform:translate(-50%,-50%) rotateX(var(--ring-x,-6deg)) rotateY(calc(var(--card-angle,0deg) + var(--ring-y,0deg))) translateZ(var(--ring-radius));background:#f5faffed;backface-visibility:hidden;box-shadow:0 20px 48px #37678325;will-change:transform}
 #case-study[data-ref-motion] .proof-value{font-size:27px}
 #case-study[data-ref-motion] .proof-item p{font-size:15px}
 #case-study[data-ref-motion]>.container>p{position:absolute;top:125px;right:0;background:transparent;padding:0;margin:0!important;z-index:5}
 #case-study[data-ref-motion] .orbit-controls{display:flex;position:absolute;z-index:5;bottom:30px;left:50%;transform:translateX(-50%);align-items:center;gap:20px;background:#f8fbfff0;border:1px solid white;border-radius:999px;padding:5px;box-shadow:0 8px 26px #29455718}
 .orbit-controls button{display:grid;place-items:center;width:46px;height:46px;border:1px solid #b5cddd;border-radius:50%;background:white;color:#075d9d;cursor:pointer;font-size:23px}
 .orbit-controls button:hover{background:#e2f1fc}.orbit-controls button[aria-disabled=true]{opacity:.45;cursor:default}
 .orbit-controls span{min-width:62px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums;color:#29495f}
 .reference-gallery[data-ref-motion]{padding:0;overflow:clip}
 .reference-gallery[data-ref-motion] .reference-gallery-stage{position:sticky;top:0;height:100svh;padding:110px 0 30px}
 .reference-gallery[data-ref-motion] .section-heading{margin-bottom:42px}
 .reference-gallery[data-ref-motion] h2{font-size:clamp(34px,4.5vw,60px)}
 .reference-gallery[data-ref-motion] .hero-people{display:flex;gap:48px;width:max-content;max-width:none;margin:0 0 0 var(--gallery-inset,22vw);transform:translateX(var(--gallery-x,0px))}
 .reference-gallery[data-ref-motion] .team-portrait{width:390px;flex-shrink:0;transform:translateY(calc((1 - var(--photo-settle,1))*24px))}
 .reference-gallery[data-ref-motion] .portrait-frame{opacity:calc(.6 + var(--photo-settle,1)*.4)}
 .reference-gallery[data-ref-motion] .team-portrait:nth-child(2){padding-top:30px}
 .reference-gallery[data-ref-motion] .portrait-frame{height:clamp(220px,calc(100svh - 400px),420px);transition:height .3s ease}
 .reference-gallery[data-ref-motion] .team-portrait:has(details[open]) .portrait-frame{height:clamp(160px,calc(100svh - 560px),280px)}
 .reference-gallery[data-ref-motion] .reference-gallery-stage:has(details[open]){overflow-y:auto;overscroll-behavior-y:contain}
 .reference-gallery[data-ref-motion] .hero-people .team-portrait img{object-fit:cover}
 .reference-gallery[data-ref-motion] .team-portrait:has(details[open]) img{object-fit:contain;transform:none}
}
@media(min-width:1100px) and (min-height:720px) and (prefers-reduced-motion:no-preference){
 .hero-ceo{padding-top:0;transform:translateY(calc(var(--ref-hero,0)*18px)) scale(calc(1 - var(--ref-hero,0)*.04))}
 .hero-ceo .portrait-frame{height:min(570px,calc(100svh - 300px))}
 .hero[data-ref-motion]{height:135svh;padding:0}.hero[data-ref-motion] .hero-grid{position:sticky;top:0;min-height:100svh;padding-top:140px;padding-bottom:70px}
 .hero[data-ref-motion]:has(details[open]){height:auto;min-height:135svh}
 .hero[data-ref-motion]:has(details[open]) .hero-grid{position:relative}
 .reference-end[data-ref-motion]{height:140svh}.reference-end[data-ref-motion] .contact-copy{position:sticky;top:0;min-height:100svh;padding:100px 0 50px}
 .reference-end[data-ref-motion] .direct-links{opacity:1;transform:translateY(calc((1 - clamp(0,var(--ref-close,0)*4,1))*22px))}
 .reference-end[data-ref-motion] .reference-signoff{opacity:clamp(0,calc(var(--ref-close,0)*4),1)}
 .reference-end:has(:focus-visible) .direct-links,.reference-end:has(:focus-visible) .reference-signoff{opacity:1;transform:none}
}
@media(max-width:1099px){
 .container{width:calc(100% - 48px)}.hero{padding:140px 0 70px}.hero-grid{gap:20px;min-height:0}.hero h1{font-size:clamp(48px,6.4vw,68px)}.hero .lead{font-size:18px}.hero-ceo .portrait-frame{height:540px}
 #agents>.container,#process>.container,#pricing>.container{padding:40px}.proof-grid{gap:16px}.proof-item{padding:22px}.proof-value{font-size:26px}
 .card{grid-template-columns:32px 1fr 1.4fr}.card-link{grid-column:2/-1;text-align:left}.section-heading p{font-size:18px}
 .hero-people{gap:24px;width:calc(100% - 64px)}.hero-people .portrait-frame{height:330px}.hero-people .team-portrait:nth-child(2){padding-top:50px}
 .site-header[data-scrolled]{border-radius:20px}.site-header .container{width:calc(100% - 32px)}
 #menu-toggle{color:#14212e;background:#ffffffce;border:1px solid #b9cfdf;border-radius:12px}.mobile-menu.open{background:#f5faff;border-radius:0 0 18px 18px;color:#14212e}
}
@media(max-width:800px){
 .hero-grid{grid-template-columns:1fr}.hero{padding:128px 0 48px}.hero-intro{transform:none}.hero h1{font-size:clamp(48px,9vw,72px);max-width:14ch}.hero-ceo{width:min(460px,100%);margin:24px auto 0;transform:none}.hero-ceo .portrait-frame{height:520px}.hero-facts{margin-bottom:28px}
 .section-heading{display:block}.section-heading p{margin-top:24px}.proof-grid{grid-template-columns:1fr}.proof-item{min-height:0}.proof-value{font-size:34px}.reference-orbit-mark{display:none}
 #process>.container{display:block}#process .steps{margin-top:40px}#process .section-heading p{font-size:20px}
 .reference-gallery{padding:40px 0 70px}.hero-people{grid-template-columns:1fr;max-width:440px;gap:40px}.hero-people .team-portrait:nth-child(2){padding-top:0}.hero-people .portrait-frame{height:430px}
 .proof-lab{width:calc(100% - 48px);padding:36px 24px}.contact-form{padding:24px}.contact-copy h2{font-size:52px}
}
@media(max-width:540px){
 .container{width:calc(100% - 32px)}.site-header{width:calc(100% - 16px);top:8px}.site-header .container{width:calc(100% - 24px)}.hero{padding-top:112px}.hero h1{font-size:clamp(43px,11vw,58px)}.hero .lead{font-size:17px}.hero-facts{gap:32px}.hero-facts strong{font-size:28px}.hero-facts span{font-size:12px}
 .hero-actions{align-items:start;flex-direction:column;gap:22px}.hero-ceo .portrait-frame{height:450px}.hero-ceo figcaption{font-size:14px}
 #agents{padding-bottom:70px}#agents>.container,#process>.container,#pricing>.container{padding:30px 24px;border-radius:22px}
 .card{display:block;padding:24px 0}.card-number{display:block;margin-bottom:14px}.card h3{font-size:24px;margin-bottom:14px}.card-link{display:inline-block;margin-top:12px}#case-study h2{font-size:40px}
 #case-study{padding-bottom:56px}.proof-item{padding:26px}.proof-item p{font-size:16px}.section-heading p{font-size:17px}
 #process{padding:30px 0 60px}.reference-gallery h2{font-size:40px}.hero-people{width:calc(100% - 48px)}.hero-people .portrait-frame{height:380px}
 .proof-lab{width:calc(100% - 32px);margin-bottom:48px}.price-card{padding:24px}.price-card .price{font-size:30px}#pricing{padding-block:24px 40px}
 #contact{padding-top:64px}.contact-copy h2{font-size:44px}.contact-copy p{font-size:18px}.contact-form{margin-top:40px;padding:24px 20px}.direct-links{gap:18px}
}
@media(max-width:800px){.reference-details{width:100%}.reference-details>summary{padding:22px}.reference-details .container{width:100%;padding:24px!important}.reference-end .contact-copy{min-height:0;padding:60px 0}.reference-end .direct-links a:first-child{font-size:17px;padding:18px 24px}.reference-signoff{margin-top:28px}}
@media(prefers-reduced-motion:reduce){.reference-ground,.hero-intro,.hero-ceo,.reference-end .contact-copy{transform:none}.reference-progress{display:none}.button,.site-header{transition:none}.reference-reveal .reference-word{animation:none!important}}
@media(max-width:800px) and (prefers-reduced-motion:no-preference){
 .reference-reveal[data-reveal] .reference-word{animation-name:mobile-word-in;animation-duration:.3s;animation-delay:calc(var(--word-order,0)*10ms)}
 #case-study[data-ref-motion]{--ring-radius:clamp(180px,55vw,300px);height:280svh}
 #case-study[data-ref-motion] .reference-orbit-stage{width:100%;perspective:1200px}
 #case-study[data-ref-motion] .section-heading{top:88px;left:20px;width:calc(100% - 40px);max-width:460px;padding:18px;box-shadow:none}
 #case-study[data-ref-motion] .section-heading h2{font-size:32px}
 #case-study[data-ref-motion] .section-heading p{font-size:14px;margin-top:10px}
 #case-study[data-ref-motion] .reference-orbit-mark{top:38%;width:120px;height:120px;border-radius:20px}
 #case-study[data-ref-motion] .reference-orbit-mark img{width:58px;height:58px}
 #case-study[data-ref-motion] .proof-grid{top:60%;perspective:1200px}
 #case-study[data-ref-motion] .proof-item{width:min(300px,72vw);padding:20px;min-height:220px;border-radius:20px}
 #case-study[data-ref-motion] .proof-value{font-size:23px}
 #case-study[data-ref-motion] .proof-item p{font-size:14px}
 #case-study[data-ref-motion]>.container>p{top:auto;bottom:8px;right:auto;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px;padding:6px 10px}
 #case-study[data-ref-motion] .orbit-controls{bottom:54px}
 .reference-gallery[data-ref-motion] .reference-gallery-stage{padding-top:94px}
 .reference-gallery[data-ref-motion] .section-heading{margin-bottom:28px;text-align:left}
 .reference-gallery[data-ref-motion] .hero-people{gap:30px}
 .reference-gallery[data-ref-motion] .team-portrait{width:min(360px,82vw)}
 .reference-gallery[data-ref-motion] .team-portrait:nth-child(2){padding-top:0}
 .reference-gallery[data-ref-motion] .portrait-frame{height:clamp(200px,calc(100svh - 350px),420px)}
 .reference-gallery[data-ref-motion] .team-portrait:has(details[open]) .portrait-frame{height:clamp(150px,calc(100svh - 520px),280px)}
}
@media(max-height:700px) and (prefers-reduced-motion:no-preference){
 #case-study[data-ref-motion] .reference-orbit-mark{display:none}
 #case-study[data-ref-motion] .proof-item[data-front] .proof-surface{transform:none}
 @keyframes mobile-word-in{from{opacity:.35}to{opacity:1}}
 #case-study[data-ref-motion] .section-heading{top:85px;padding:12px 18px}
 #case-study[data-ref-motion] .section-heading h2{font-size:28px}
 #case-study[data-ref-motion] .section-heading p{font-size:13px;margin-top:6px}
 #case-study[data-ref-motion] .proof-grid{top:56%}
 #case-study[data-ref-motion] .proof-item{min-height:180px;padding:16px}
 #case-study[data-ref-motion] .proof-value{font-size:21px}
 #case-study[data-ref-motion] .proof-surface{gap:10px}
 #case-study[data-ref-motion] .orbit-controls{bottom:48px}
 .reference-gallery[data-ref-motion] .reference-gallery-stage{padding-top:85px}
 .reference-gallery[data-ref-motion] .section-heading{margin-bottom:18px}
 .reference-gallery[data-ref-motion] h2{font-size:30px}
}
@media(prefers-reduced-motion:reduce){
 .reference-entry,.reference-wipe,.person-profile[open]>p{animation:none!important;clip-path:none}
 .reference-glass{display:none}.portrait-frame{transition:none!important}
}
/* Phone-sized stages need separate space for navigation and the case-index link. */
@media(max-width:800px) and (prefers-reduced-motion:no-preference){
 #case-study[data-ref-motion] .orbit-controls{bottom:88px}
 #case-study[data-ref-motion]>.container>p.case-index-action{bottom:14px;padding:0}
 #case-study[data-ref-motion] .proof-grid{top:53%;perspective:none}
 #case-study[data-ref-motion] .proof-item{transform:translate(-50%,-50%);width:min(330px,calc(100vw - 48px));min-height:210px;opacity:0!important;visibility:hidden!important;pointer-events:none}
 #case-study[data-ref-motion] .proof-item[data-front]{opacity:1!important;visibility:visible!important;pointer-events:auto;animation:mobile-case-in .35s ease-out}
 #case-study[data-ref-motion] .reference-orbit-mark{display:none}
 @keyframes mobile-case-in{from{opacity:0;transform:translate(-45%,-50%)}to{opacity:1;transform:translate(-50%,-50%)}}
}
/* Deliberate editorial rhythm: a lead travelling with three distinct portraits. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 .reference-gallery[data-ref-motion] .section-heading{position:absolute;left:48px;top:34%;width:360px;max-width:36vw;text-align:left;transform:translateX(var(--gallery-x,0px));margin:0}
 .reference-gallery[data-ref-motion] .section-heading h2{font-size:clamp(34px,4vw,56px)}
 .reference-gallery[data-ref-motion] .hero-people{margin-top:110px}
 .reference-gallery[data-ref-motion] .team-portrait:first-child{width:420px}
 .reference-gallery[data-ref-motion] .team-portrait:nth-child(2){width:360px;padding-top:48px}
 .reference-gallery[data-ref-motion] .team-portrait:nth-child(3){width:440px;padding-top:16px}
 .reference-gallery[data-ref-motion] .team-portrait:nth-child(2) .portrait-frame{height:clamp(200px,calc(100svh - 440px),360px)}
}
/* On phones the CEO belongs in the opening composition, not below the fold. */
@media(max-width:800px){
 .hero{padding:92px 0 56px;min-height:100svh}
 .hero-grid{display:flex;flex-direction:column;gap:22px}
 .hero-ceo{order:-1;width:100%;margin:0;padding:0;transform:none}
 .hero-ceo::before{display:none}
 .hero-ceo .portrait-frame{width:220px;height:260px;border-radius:120px 120px 18px 18px}
 .hero-ceo figcaption{margin-top:10px;padding:0;font-size:13px}
 .hero-ceo .person-profile{width:min(320px,100%);margin:0 auto}
 .hero-ceo .person-profile>summary{min-height:40px;padding:6px 12px;font-size:12px}
 .hero-intro{text-align:center;width:100%}
 .hero-facts{justify-content:center;gap:32px;margin-bottom:18px}
 .hero-facts strong{font-size:22px}.hero-facts span{font-size:11px}
 .hero h1{font-size:clamp(32px,8.8vw,50px);max-width:18ch;margin-inline:auto;letter-spacing:-.055em}
 .hero .lead{font-size:16px;line-height:1.5;max-width:42ch;margin:20px auto 0}
 .hero-actions{justify-content:center;align-items:center;gap:18px;margin-top:24px}
 .hero-actions .button{padding:14px 22px}.hero-actions .text-link{font-size:14px}
}
@media(max-width:800px) and (max-height:700px){
 .hero-ceo .portrait-frame{width:180px;height:210px}
 .hero-grid{gap:18px}.hero-facts{margin-bottom:14px}
 .hero .lead{font-size:15px}.hero h1{font-size:clamp(30px,8.8vw,40px)}
}
@media(min-width:801px) and (max-height:800px) and (prefers-reduced-motion:no-preference){
 #case-study[data-ref-motion] .proof-grid{top:54%}
 #case-study[data-ref-motion] .proof-item{width:300px}
}
@media(prefers-reduced-motion:no-preference){
 .hero h1>.reference-reveal[data-reveal] .reference-word{animation-delay:calc(260ms + var(--word-order,0)*70ms)}
 .hero h1>.reference-reveal[data-reveal]:last-child .reference-word{animation-delay:calc(440ms + var(--word-order,0)*70ms)}
 .hero .lead.reference-reveal[data-reveal] .reference-word{animation-delay:calc(640ms + var(--word-order,0)*24ms)}
 .hero-actions.reference-entry[data-reveal]{animation-delay:1050ms}
 .proof-item[data-card-seen] .proof-surface>*{animation:reference-word-in .6s both}
 .proof-item[data-card-seen] .proof-surface>:nth-child(2){animation-delay:120ms}
 .proof-item[data-card-seen] .proof-surface>:nth-child(3){animation-delay:240ms}
 .proof-item[data-card-seen] .proof-surface>:nth-child(4){animation-delay:360ms}
 .card{transition:background-color .18s}
 .card:hover{background:#e4f1fd66}
 .card-link{transition:transform .18s}.card:hover .card-link{transform:translate(2px,-2px)}
}
@media(max-width:1099px) and (min-height:720px) and (prefers-reduced-motion:no-preference){
 .reference-end[data-ref-motion]{height:150svh}
 .reference-end[data-ref-motion] .contact-copy{position:sticky;top:0;min-height:100svh;padding:100px 0 50px}
 .reference-end[data-ref-motion] .direct-links{opacity:1;transform:translateY(calc((1 - clamp(0,var(--ref-close,0)*4,1))*18px))}
 .reference-end:has(:focus-visible) .direct-links{opacity:1;transform:none}
}
/* One continuous closing surface; the directory belongs to the closing scene. */
.reference-finale{position:relative;isolation:isolate;background:linear-gradient(180deg,transparent 25%,#eaf3f9f5 85%)}
.reference-finale .reference-end{padding-inline:max(16px,calc((100vw - 1296px)/2))}
.reference-finale .site-footer{background:transparent;border-top:0;padding-top:0}
.reference-finale .site-footer>.container{border-top:1px solid #9fb8ca;padding-top:32px}
@media(max-width:800px) and (prefers-reduced-motion:no-preference){
 .hero[data-hero-pin]{padding:0;height:calc(var(--hero-stage-height,100svh) + 35svh);min-height:0}
 .hero[data-hero-pin] .hero-grid{position:sticky;top:var(--hero-sticky-top,0px);padding-top:92px;padding-bottom:32px;min-height:100svh}
 .hero[data-hero-pin] .hero-ceo{transform:translateY(calc(var(--ref-hero,0)*-10px))}
}
@media(prefers-reduced-motion:reduce){
 /* Native CSS fallback works even before the browser delivers the media-change event. */
 .reference-gallery[data-ref-motion]{height:auto!important}
 .proof-item{visibility:visible!important;opacity:1!important}
}
