@font-face{font-family:Geist;src:url('assets/Geist.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:Switzer;src:url('assets/Switzer-Variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Sans';src:url('assets/InstrumentSans-MediumItalic.ttf') format('truetype');font-weight:500;font-style:italic;font-display:swap}
:root{--green:#2B5748;--beige:#FFF2DB;--burgundy:#760031;--yellow:#F6C73F;--scene-scale:1;--header-top:20px;--portrait-grain-size:96px;--portrait-grain-opacity:.14;--ease-out:cubic-bezier(.23,1,.32,1)}
*{box-sizing:border-box}
html{scrollbar-width:none;background:var(--beige);scroll-behavior:auto;overflow-x:clip}
html::-webkit-scrollbar{display:none}
body{margin:0;color:var(--green);font-family:Geist,Arial,sans-serif;-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;overflow-x:clip}
html.js,html.js body{height:100%;overflow:hidden;overscroll-behavior:none}
html.js.contact-locked body{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden;overscroll-behavior:none}
.js #experience{position:fixed;inset:0;overflow:hidden;background:var(--green);touch-action:pan-x pinch-zoom;outline:none}
.js #experience[data-view=portfolio],.js #experience[data-view=links]{touch-action:pan-y pinch-zoom}
.js #experience[data-view=contact]{touch-action:pan-y pinch-zoom;overscroll-behavior:none}
.content-screen[hidden],.route-transition[hidden]{display:none}
.route-transition{position:absolute;inset:0;z-index:50;overflow:hidden;isolation:isolate;background:transparent}
.route-word{position:absolute;display:block;margin:0;padding:0;font-family:Geist,Arial,sans-serif;font-weight:800;white-space:nowrap;letter-spacing:-.045em;line-height:.95;pointer-events:none}
.site-logo{position:absolute;top:var(--header-top);left:50%;z-index:30;display:grid;place-items:center;width:64px;height:44px;transform:translateX(-50%);padding:0;border:0;background:none;color:var(--beige);touch-action:manipulation;transition:color 270ms var(--ease-out)}
.site-logo[hidden],#experience[data-view=portfolio] .site-logo{display:none}
.site-logo span{display:block;width:100%;height:100%;background:currentColor;mask:url('assets/dr-logo.svg') center / contain no-repeat;transition:transform 200ms var(--ease-out);pointer-events:none}
.site-logo[data-theme=yellow],.site-logo[data-theme=beige]{color:var(--green)}
.site-logo:active span{transform:scale(.95)}
.site-logo:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:4px}
.js .site-logo{visibility:hidden}
.still .site-logo{visibility:visible;opacity:1;transition:none}
.still .site-logo span{transition:none}
.js .pin-screen{position:absolute;inset:0;width:100%;height:100%;min-height:0}
.js .story,.js .menu{opacity:0;visibility:hidden}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;cursor:pointer}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible{outline:2px solid currentColor;outline-offset:8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pin-screen{height:100svh;min-height:360px;position:relative;isolation:isolate;overflow:hidden;overflow:clip}
.stage{position:absolute;left:50%;top:50%;width:1280px;height:832px;transform:translate(-50%,-50%) scale(var(--scene-scale));transform-origin:center}
.intro{background:var(--green);color:var(--beige)}
.intro-stage{--scene-scale:var(--intro-scale,1)}
.portrait{position:absolute;width:440px;height:426px;left:420px;top:202px;border:5px solid var(--beige);border-radius:18px;background:var(--green);overflow:hidden;z-index:2}
.portrait img{display:block;width:100%;height:100%;object-fit:cover}
.portrait::after{content:"";position:absolute;inset:0;pointer-events:none;background-image:url('assets/portrait-grain.svg');background-size:calc(var(--portrait-grain-size) / var(--scene-scale)) calc(var(--portrait-grain-size) / var(--scene-scale));opacity:var(--portrait-grain-opacity);mix-blend-mode:overlay}
.hey-motion{position:absolute;left:50%;top:102px;transform:translateX(-50%);z-index:1}
.hey,.intro-word,.intro-count{font-size:144px;line-height:1;font-weight:800;letter-spacing:-.045em;white-space:nowrap}
.hey{display:block}
.intro-count{position:absolute;inset:0;font-variant-numeric:tabular-nums;text-align:center;display:none;visibility:hidden;opacity:0;pointer-events:none}
.js:not(.still) .intro-count{display:block}
.intro-word{position:absolute;z-index:3}
.im{left:275px;top:335px}
.dima{left:610px;top:570px}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:.35em;min-height:44px;padding:.15em .65em;border:1.5px solid var(--beige);border-radius:999px;background:transparent;font-family:'Instrument Sans',Geist,Arial,sans-serif;font-size:clamp(22px,2.4vw,31px);font-weight:500;font-style:italic;letter-spacing:-.029032em;line-height:1;text-transform:uppercase;white-space:nowrap;transition:background-color 240ms var(--ease-out),color 240ms var(--ease-out),transform 240ms var(--ease-out)}
.portrait-contact{position:absolute;left:752px;top:278px;z-index:4;width:278px;min-height:max(60px,calc(44px / var(--scene-scale)));padding:.12em .65em;border-width:max(1.5px,calc(1px / var(--scene-scale)));background:var(--green);font-size:max(42px,calc(20px / var(--scene-scale)));transition:background-color 240ms var(--ease-out),color 240ms var(--ease-out)}
/* Interaction stays opaque even when scrolling pauses the button's reveal mid-fade. */
.portrait-contact:focus-visible,.portrait-contact:active{opacity:1!important;background:var(--beige);color:var(--green)}
.hero-socials{position:absolute;left:22px;bottom:22px;z-index:4;display:flex;align-items:center;gap:6px;color:var(--beige)}
.hero-social-link{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;color:var(--beige);transition:background-color 200ms var(--ease-out),color 200ms var(--ease-out)}
.hero-social-link svg{display:block;width:23px;height:23px;pointer-events:none}
.hero-social-link:focus-visible{outline:1.5px solid var(--beige);outline-offset:4px;background:var(--beige);color:var(--green)}
.hero-social-link:active{background:var(--beige);color:var(--green)}
@media(hover:hover) and (pointer:fine){.hero-social-link:hover{background:var(--beige);color:var(--green)}}
.pill:active{transform:scale(.97)}
.scene-cue{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:5;margin:0;padding:16px;border:0;background:none;color:var(--green);font-family:'Instrument Sans',Geist,Arial,sans-serif;font-size:18px;line-height:1;font-weight:500;font-style:italic;letter-spacing:-.029032em;display:flex;align-items:center;gap:14px;white-space:nowrap}
.scene-cue[hidden],html:not(.js) .scene-cue{display:none}
.down-arrow{font-size:20px;font-weight:500;font-style:normal}
.story{background:var(--green);color:var(--beige)}
/* Let the story artwork pass in front of the logo without covering it with a full-screen fill. */
.js .story{z-index:31;background:transparent;pointer-events:none}
.js .story .statement{pointer-events:auto}
.js .scene-cue{z-index:32}
.statement{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;width:780px;text-align:center;font-size:48px;line-height:1.08;letter-spacing:-.035em;font-weight:500;text-transform:uppercase;z-index:2}
.statement-line{display:block;white-space:nowrap}
.word{display:inline-block}
.keepsake{position:absolute;pointer-events:none;will-change:transform,opacity}
.camera{left:456px;top:-36px;width:368px;height:276px;aspect-ratio:4/3}
.car{left:790px;top:555px;width:480px;height:258.4px;transform:rotate(-9.66deg);transform-origin:center}
.car-art{position:relative;width:100%;height:100%}
.car-body{width:100%;height:100%;object-fit:contain}
.car-wheel{position:absolute;object-fit:fill}
.wheel-front{left:18.54%;top:58.61%;width:13.37%;height:25.5%}
.wheel-rear{left:60.25%;top:53.97%;width:14.44%;height:28.48%}
.applications{left:55px;top:480px;width:215px;height:auto;transform:rotate(-10deg)}
.websites{left:1000px;top:55px;width:225px;height:auto;transform:rotate(8deg)}
.menu{background:var(--green);color:var(--beige);transition:background-color 330ms var(--ease-out),color 270ms var(--ease-out)}
.menu[data-theme=burgundy]{background:var(--burgundy);color:var(--beige)}
.menu[data-theme=yellow]{background:var(--yellow);color:var(--green)}
.menu[data-theme=beige]{background:var(--beige);color:var(--green)}
.menu-stage{height:100%;display:grid;place-items:center;padding:100px 20px}
.menu-list{display:flex;flex-direction:column;align-items:center;gap:25px}
.menu-link{position:relative;display:flex;align-items:center;justify-content:center;background:none;border:0;padding:8px 1.1em;font-size:clamp(45px,6.5625vw,100px);line-height:.95;font-weight:800;letter-spacing:-.045em;min-height:64px}
.menu-label{display:block;transition:transform 330ms var(--ease-out)}
/* The drawn arrow spans 25.414 of its 32-unit viewBox: 1.26cap matches its ink to the capitals. */
.menu-arrow{position:absolute;right:0;top:50%;width:.895em;height:.895em;width:1.26cap;height:1.26cap;pointer-events:none;transform:translate(-8px,-50%);opacity:0;transition:transform 330ms var(--ease-out),opacity 210ms ease-out}
.menu-link:focus-visible .menu-label,.menu-link[aria-pressed=true] .menu-label{transform:translateX(-8px)}
.menu-link:focus-visible .menu-arrow,.menu-link[aria-pressed=true] .menu-arrow{transform:translate(0,-50%);opacity:1}
.menu-link:active .menu-label{transform:translateX(-8px) scale(.98)}
@media(hover:hover) and (pointer:fine){.menu-link:hover .menu-label{transform:translateX(-8px)}.menu-link:hover .menu-arrow{transform:translate(0,-50%);opacity:1}.pill:hover{background:var(--beige);color:var(--green)}.portrait-contact:hover{opacity:1!important}.menu[data-theme=beige] .pill:hover,.menu[data-theme=yellow] .pill:hover{background:var(--green);color:var(--beige)}}
.js .intro{background:var(--beige);color:var(--green)}
.js .hey,.js .portrait,.js .intro-word,.js .portrait-contact,.js .hero-socials,.js .scene-cue{visibility:hidden}
.js .keepsake{opacity:0;visibility:hidden}
.js .word{opacity:.2}
.still .intro{background:var(--green);color:var(--beige)}
.still .hey,.still .portrait,.still .intro-word,.still .portrait-contact,.still .hero-socials,.still .keepsake,.still .scene-cue{visibility:visible;opacity:1;clip-path:none}
.still .word{opacity:1}
html:not(.js){--static-size:clamp(190px,34vw,426px);--static-font:clamp(62px,11.25vw,144px)}
html:not(.js) .stage{left:0;top:0;width:100%;height:100%;transform:none}
html:not(.js) .portrait{left:50%;top:50%;width:var(--static-size);height:var(--static-size);transform:translate(-50%,-50%)}
html:not(.js) .portrait img{width:100%;height:100%;left:0;top:0}
html:not(.js) .hey,html:not(.js) .intro-word{font-size:var(--static-font)}
html:not(.js) .hey-motion{top:calc(50% - var(--static-size)*.5 - var(--static-font)*.66)}
html:not(.js) .im{left:calc(50% - var(--static-size)*.8);top:calc(50% - var(--static-font)*.5)}
html:not(.js) .dima{left:calc(50% + var(--static-size)*.04);top:calc(50% + var(--static-size)*.4)}
html:not(.js) .portrait-contact{left:calc(50% + var(--static-size)*.2);top:calc(50% - var(--static-size)*.32);width:clamp(120px,24vw,300px);min-height:44px;font-size:clamp(20px,3vw,38px)}
html:not(.js) .story-stage .statement{width:95%;font-size:clamp(18px,3.75vw,48px)}
html:not(.js) .story-stage .camera{left:35.625%;top:-4.3%;width:28.75%;height:auto}
html:not(.js) .story-stage .car{left:62%;top:67%;width:37.5%;height:auto;aspect-ratio:561/302}
html:not(.js) .story-stage .applications{left:4.3%;top:58%;width:17%}
html:not(.js) .story-stage .websites{left:78%;top:6.6%;width:17.6%}
@media(max-width:700px){:root{--header-top:16px}}
@media(max-width:600px){
  .site-logo{width:56px}
  .hero-socials{left:0;right:0;bottom:76px;width:max-content;margin-inline:auto}
  .scene-cue{bottom:16px;font-size:16px}
  .menu-list{gap:24px}
  .menu-stage{padding-inline:12px}
  .menu-link{font-size:clamp(38px,10vw,60px);padding:8px 1.1em}
  .story-stage .statement{font-size:56px;width:920px}
  .story-stage .camera{top:-71px}
  .story-stage .car{left:690px;top:650px;width:460px;height:247.6px}
  .story-stage .applications{left:170px;top:645px;width:210px}
  .story-stage .websites{left:875px;top:-105px;width:225px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
  .js .intro{background:var(--green);color:var(--beige)}
  .js .hey,.js .portrait,.js .intro-word,.js .portrait-contact,.js .hero-socials,.js .keepsake,.js .scene-cue{visibility:visible;opacity:1}
  .js .word{opacity:1}
}
@media(max-height:520px){
  .menu-stage{padding:72px 12px}
  .menu-list{gap:8px}
  .menu-link{min-height:44px;font-size:clamp(28px,8vh,44px);padding:4px 1.1em}
  .scene-cue{bottom:0;font-size:16px}
}
@media(max-width:600px) and (max-height:560px){
  .hero-socials{left:12px;right:auto;bottom:6px;margin:0;gap:0}
  #experience[data-scene=intro] .scene-cue{left:auto;right:6px;bottom:6px;transform:none;padding:16px 8px;gap:8px}
}
