/* Art direction and motion: the introduction, the journey, and the small details. */
html.intro-active,body.intro-active{overflow:hidden;overscroll-behavior:none}
html.intro-active{scroll-behavior:auto}
.intro{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100svh;max-height:none;border:0;padding:30px 5vw 40px;background:#58313e;color:#f6f3ec;overflow:hidden;isolation:isolate}
.intro[open]{display:grid;grid-template-rows:minmax(0,1fr) auto}
.intro::backdrop{background:transparent}
.intro::before{content:"";position:absolute;z-index:-1;width:75vw;height:75vw;border:1px solid #e0bfc01a;border-radius:50%;top:-49vw;right:-10vw;pointer-events:none}
.intro::after{content:"";position:absolute;z-index:-1;inset:15px;border:1px solid #e0bfc012;pointer-events:none}
.intro-stage{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:0;padding:15px 0 22px}
.intro-title{font-size:clamp(78px,21vw,300px);line-height:1.16;letter-spacing:-.085em;font-weight:450;white-space:nowrap;overflow:hidden;padding:0 .08em .12em 0;margin:.025em -.08em -.07em 0;max-width:100%;color:var(--paper);outline:none}
.intro-letter{display:inline-block;transform-origin:50% 90%}
.intro-dot{color:var(--lime)}
.intro-role{font-size:12px;letter-spacing:.08em;line-height:1.8;color:#d6b9c3}
.intro-side-note{position:absolute;right:-20px;top:50%;font-size:7px;letter-spacing:.22em;line-height:1.8;writing-mode:vertical-rl;color:#b68e9e;transform:translateY(-50%);pointer-events:none}
.intro-caption{font-size:9px;letter-spacing:.16em;line-height:1.8;text-transform:uppercase;text-align:center;color:#bd97a6}
.intro[open] .intro-caption{animation:intro-fade .85s .1s var(--ease) both}
.intro-bloom{position:absolute;z-index:-1;left:-35px;bottom:20px;width:245px;height:245px;stroke:#e0bfc0;stroke-width:.6;opacity:.2;transform:rotate(-18deg)}
.intro-bloom circle{fill:var(--lime);stroke:none}
.intro[open] .intro-letter{animation:intro-letter-in 1.05s var(--ease) both;animation-delay:calc(100ms + var(--i)*85ms)}
.intro[open] .intro-role,.intro[open] .intro-scroll-cue{animation:intro-fade .9s .6s var(--ease) both}
.intro[open] .intro-bloom path{stroke-dasharray:900;animation:intro-draw 2.6s .2s var(--ease) both}
.intro.is-leaving{animation:intro-curtain .85s var(--ease) both;pointer-events:none}
.intro.is-leaving .intro-stage{transition:transform .8s var(--ease);transform:translateY(-35px) scale(.97)}
.intro-active .hero-copy,.intro-active .hero-copy>*,.intro-active .headline-line>*,.intro-active .hero-art,.intro-active .marquee-track{animation-play-state:paused!important}
.headline-line{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em;line-height:1.14}
.headline-line>*{display:block;animation:headline-rise 1.1s var(--ease) both;animation-delay:.12s}
.headline-line:nth-child(2)>*{animation-delay:.27s}.headline-line:nth-child(3)>*{animation-delay:.42s}
.hero-copy h1{animation:none!important;line-height:1.05}
.hero-handwriting{position:absolute;z-index:-1;right:-15px;top:-57px;font-family:var(--serif);font-style:italic;font-size:clamp(115px,13vw,170px);line-height:1;color:#e8d4d7;letter-spacing:-.07em;transform:rotate(-10deg);pointer-events:none}
.hero-art.visible .hero-handwriting{animation:hello-write 1.25s .15s var(--ease) both}
.wordmark:hover .brand-star{transform:rotate(90deg)}.brand-star{transition:transform .6s var(--ease)}
/* The roadmap is a distinct chapter, with the route drawn by the reader's scroll. */
.roadmap{background:var(--berry);color:var(--paper);position:relative;overflow:clip}
.roadmap-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:100px;align-items:start}
.roadmap-aside{position:sticky;top:136px}
.roadmap .section-number{color:#bd93a2}
.roadmap h2{margin-top:22px;font-size:clamp(43px,4.6vw,65px)}
.roadmap em{color:#d9b6c0}
.roadmap-intro{font-size:12px;color:#d1b7bf;line-height:1.9;max-width:310px;margin-top:27px}
.perspective-rings{position:relative;width:345px;max-width:100%;height:200px;margin:45px 0 22px}
.perspective-ring{position:absolute;left:0;top:0;width:200px;height:200px;border:1px solid #af8394;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding-right:26px;transform:translateX(-20px);transition:transform 1.2s var(--ease)}
.perspective-ring:nth-child(2){left:145px;padding-right:0;padding-left:28px;transform:translateX(20px);border-color:#d4bbc4}
.perspective-ring small{font-size:7px;letter-spacing:.16em;color:#c8a4b1}
.perspective-ring strong{font-family:var(--serif);font-weight:400;font-size:29px;letter-spacing:-.05em;line-height:1.2}
.perspective-rings.visible .perspective-ring{transform:none}
.rings-center{position:absolute;left:157px;top:79px;font-size:32px;color:var(--lime);line-height:1;animation:stamp-orbit 38s linear infinite}
.roadmap-caption{font-size:11px;color:#cba6b4;line-height:1.6}.roadmap-caption em{font-family:var(--serif);font-size:23px}
.roadmap-list{position:relative;padding-left:54px;padding-top:3px;--road-progress:0}
.roadmap-rail{position:absolute;left:14px;top:18px;bottom:125px;width:1px;background:#a57d8d66;overflow:hidden}
.roadmap-fill{position:absolute;inset:0;background:var(--lime);transform:scaleY(var(--road-progress));transform-origin:top;will-change:transform}
.roadmap-item{position:relative;margin-bottom:28px;padding-bottom:28px;border-bottom:1px solid #986b7c66}
.roadmap-node{position:absolute;left:-54px;top:0;width:29px;height:29px;border:1px solid #b48d9d;background:var(--berry);border-radius:50%;font-size:9px;line-height:1;display:grid;place-items:center;color:#d9bec8;z-index:1;transition:background .5s,color .5s,border-color .5s,box-shadow .5s}
.roadmap-item.visible .roadmap-node{background:var(--lime);border-color:var(--lime);color:var(--berry);box-shadow:0 0 0 5px #d5dfa90b}
.roadmap-date{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:9px;letter-spacing:.08em;line-height:1.8;color:var(--lime);padding-top:4px}
.roadmap-date>span{font-size:7px;color:#c29caa;border:1px solid #987083;border-radius:15px;padding:1px 8px;letter-spacing:.06em}
.roadmap-item h3{font-size:30px;line-height:1.2;letter-spacing:-.045em;margin-top:15px}
.roadmap-org{font-size:10px;color:#e0c6d0;line-height:1.8;margin-top:9px}
.roadmap-summary{font-size:12px;line-height:1.9;color:#c8a9b6;margin-top:11px;max-width:435px}
.roadmap-next{padding-bottom:0;margin-bottom:0;border:0}.roadmap-next h3{font-size:38px}
.roadmap-next .roadmap-node{font-size:21px}
.roadmap-connect{display:inline-flex;gap:35px;align-items:center;font-size:11px;min-height:44px;color:var(--lime);margin-top:14px;border-bottom:1px solid #bfa7b46b;transition:gap .3s}
.roadmap-connect:hover{gap:45px}.roadmap-connect>span{font-size:23px}
/* Keep the motion visible in the work, not only in the opening screen. */
.experience-list{position:relative}.experience-list::before{content:"";position:absolute;top:46px;bottom:46px;left:14px;width:1px;background:#c7b4b8}
.experience-item summary{position:relative;z-index:1}
.exp-index{padding:0;width:29px;height:29px;align-self:center;border:1px solid #baa2ab;border-radius:50%;background:#eeeae3;display:grid;place-items:center;transition:background .3s,color .3s}
.experience-item[open] .exp-index{background:var(--berry);border-color:var(--berry);color:var(--paper)}
.exp-heading{transition:transform .35s var(--ease)}.experience-item summary:hover .exp-heading{transform:translateX(5px)}
.toolkit-panel{animation:panel-reveal .6s var(--ease) both}
.toolkit-layout.visible .toolkit-panel:not([hidden]) .skill-cloud span{animation:chip-reveal .5s var(--ease) both;animation-delay:50ms}
.toolkit-layout.visible .skill-cloud span:nth-child(2n){animation-delay:100ms}.toolkit-layout.visible .skill-cloud span:nth-child(3n){animation-delay:150ms}.toolkit-layout.visible .skill-cloud span:nth-child(4n){animation-delay:200ms}
@media(hover:hover) and (pointer:fine){.portrait-card{transform:perspective(900px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg)) rotate(4deg);transition:transform .3s var(--ease)}.portrait-card:hover{transform:perspective(900px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg)) rotate(2deg) translateY(-4px)}}
@keyframes intro-letter-in{from{opacity:0;transform:translateY(115%) rotate(8deg);filter:blur(7px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes intro-fade{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:none}}
@keyframes intro-draw{from{stroke-dashoffset:900}to{stroke-dashoffset:0}}
@keyframes intro-curtain{from{transform:translateY(0)}to{transform:translateY(-102%)}}

@keyframes headline-rise{from{transform:translateY(112%) rotate(3deg)}to{transform:none}}
@keyframes hello-write{from{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
@keyframes panel-reveal{from{opacity:0;transform:translateY(13px) scale(.985)}to{opacity:1;transform:none}}
@keyframes chip-reveal{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.roadmap-layout{gap:65px;grid-template-columns:1fr 1.2fr}.perspective-rings{width:285px;height:170px}.perspective-ring{width:170px;height:170px;padding-right:20px}.perspective-ring:nth-child(2){left:115px;padding-left:24px}.perspective-ring strong{font-size:24px}.rings-center{left:127px;top:67px;font-size:29px}.roadmap-item h3{font-size:27px}.roadmap-date>span{font-size:6px}.hero-handwriting{font-size:135px;top:-45px;right:-5px}}
@media(max-width:800px){.roadmap-layout{gap:40px;grid-template-columns:.9fr 1.1fr}.roadmap-list{padding-left:44px}.roadmap-node{left:-44px}.roadmap-aside{top:115px}.roadmap h2{font-size:43px}.perspective-rings{width:240px;height:145px}.perspective-ring{width:145px;height:145px}.perspective-ring:nth-child(2){left:95px}.perspective-ring strong{font-size:21px}.perspective-ring small{font-size:6px}.rings-center{left:105px;top:58px;font-size:26px}.roadmap-caption em{font-size:21px}}
@media(max-width:700px){
  .intro{padding:22px 22px 59px}
  .intro::after{inset:10px}
  .intro-title{font-size:21.8vw;letter-spacing:-.075em;margin-top:19px;margin-bottom:0;line-height:1.1;padding-bottom:.15em}
  .intro-stage{padding:16px 0 28px}
  .intro-bloom{width:185px;height:185px;left:-76px;bottom:35px;opacity:.16}
  .hero-handwriting{font-size:115px;top:-38px;right:-8px}
  .headline-line{line-height:1.13}
  .roadmap-layout{grid-template-columns:1fr;gap:42px}
  .roadmap-aside{position:relative;top:auto}
  .roadmap h2{font-size:clamp(39px,10.4vw,53px)}
  .roadmap-intro{font-size:14px;max-width:440px;line-height:1.85;margin-top:23px}
  .perspective-rings{width:280px;height:164px;margin:32px auto 15px}
  .perspective-ring{width:164px;height:164px;padding-right:22px}.perspective-ring:nth-child(2){left:116px;padding-left:27px}
  .perspective-ring strong{font-size:24px}.perspective-ring small{font-size:7px}
  .rings-center{left:128px;top:67px;font-size:29px}
  .roadmap-caption{text-align:center;font-size:10px}.roadmap-caption em{font-size:23px}
  .roadmap-list{padding-left:43px}
  .roadmap-node{left:-43px;width:29px;height:29px;font-size:10px}
  .roadmap-item{margin-bottom:29px;padding-bottom:29px}
  .roadmap-item h3{font-size:28px}.roadmap-next h3{font-size:36px}
  .roadmap-date{font-size:10px;gap:7px 10px}.roadmap-date>span{font-size:7px}
  .roadmap-org{font-size:12px;margin-top:10px}.roadmap-summary{font-size:13px;line-height:1.85}
  .roadmap-connect{font-size:12px;min-height:48px}
  .experience-list::before{left:12px}.exp-index{width:25px;height:25px;font-size:9px}
  .experience-item summary:hover .exp-heading{transform:none}
}
@media(max-width:360px){.intro{padding-left:18px;padding-right:18px}.perspective-rings{width:250px;height:150px}.perspective-ring{width:150px;height:150px}.perspective-ring:nth-child(2){left:100px}.perspective-ring strong{font-size:22px}.rings-center{left:112px;top:61px;font-size:26px}.roadmap-date>span{font-size:6px}.roadmap-item h3{font-size:25px}.hero-handwriting{font-size:98px}}
@media(max-height:530px){.intro{padding-top:16px;padding-bottom:43px}.intro-stage{padding:4px 0}.intro-title{font-size:clamp(70px,16vw,160px);margin:0;line-height:1.05}.intro-bloom{display:none}}
/* Small, direct responses to the visitor's input. */
.intro{--enter-progress:0}
.intro-title{padding-top:.14em;padding-bottom:.18em}
.intro-glyph{display:inline-block;transform:translate3d(0,var(--glyph-y,0px),0) rotate(var(--glyph-r,0deg)) scale(var(--glyph-s,1));transform-origin:50% 80%;transition:transform .36s var(--ease),color .3s}
.intro::before{transform:translate3d(var(--drift-x,0px),var(--drift-y,0px),0);transition:transform .7s var(--ease)}
.intro-bloom{transform:rotate(calc(-18deg + var(--bloom-turn,0deg)));transition:transform .7s var(--ease)}
.intro-stage{transform:translateY(calc(var(--enter-progress)*-24px)) scale(calc(1 - var(--enter-progress)*.015));transition:transform .18s ease-out}
.pointer-copy{display:none}.touch-copy{display:inline}
.intro-scroll-cue{justify-self:end;display:flex;align-items:center;gap:10px;color:#d0b3bf;font-size:8px;letter-spacing:.08em;white-space:nowrap}
.intro-scroll-cue svg{width:38px;height:38px;flex-shrink:0;stroke:#d5dfa9;stroke-width:1;stroke-linecap:round}
.intro-scroll-cue .scroll-ring-track{stroke:#a17d8a66}
.scroll-ring-fill{stroke-dasharray:100;stroke-dashoffset:calc(100 - var(--enter-progress)*100);transform:rotate(-90deg);transform-origin:20px 20px;transition:stroke-dashoffset .13s linear}
.perspective-ring{background:transparent;color:inherit;text-align:center;cursor:pointer;padding-top:0;padding-bottom:0;transition:transform 1.2s var(--ease),background .3s,border-color .3s,box-shadow .3s}
.perspective-ring[aria-pressed=true]{border-color:var(--lime);background:#d5dfa90a}
.perspective-ring[aria-pressed=true] strong{color:var(--lime)}
.perspective-ring:hover{box-shadow:0 0 0 6px #d5dfa908}
.perspective-ring:active{background:#d5dfa91a}
.perspective-ring:focus-visible{outline:2px solid var(--lime);outline-offset:5px}
.rings-center{pointer-events:none}
.perspective-explorer{margin-top:20px;max-width:345px;border-top:1px solid #a17d8a66;padding-top:16px}
.perspective-prompt{font-size:7px;line-height:1.8;letter-spacing:.13em;color:#c29caa}
.perspective-detail{font-size:12px;line-height:1.9;color:#ead7df;min-height:5.7em;margin-top:9px}
.perspective-skill-link{display:inline-flex;align-items:center;gap:24px;min-height:44px;font-size:10px;color:var(--lime)}
.perspective-skill-link>span{font-size:20px;transition:transform .3s}
.perspective-skill-link:hover>span{transform:translate(3px,-3px)}
.hero-actions .button>span,.contact-arrow>span{transform:translate3d(var(--arrow-x,0px),var(--arrow-y,0px),0);transition:transform .3s var(--ease)}
@media(hover:hover) and (pointer:fine){.pointer-copy{display:inline}.touch-copy{display:none}}
@media(min-width:701px) and (max-height:950px){.roadmap-aside{position:relative;top:0}}
@media(max-width:700px){
  .intro-scroll-cue{grid-column:1/-1;justify-self:center;font-size:9px;gap:9px;min-height:29px}
  .intro-scroll-cue svg{width:29px;height:29px}
  .perspective-explorer{max-width:440px;margin:23px auto 0;text-align:center;padding-top:18px}
  .perspective-prompt{font-size:8px}
  .perspective-detail{font-size:13px;min-height:5.6em;line-height:1.8;max-width:345px;margin:10px auto 0}
  .perspective-skill-link{font-size:11px;min-height:48px}
}
@media(max-height:530px){.intro-scroll-cue{grid-column:auto;justify-self:end;font-size:8px}.intro-scroll-cue svg{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.intro *,.headline-line>*,.hero-handwriting,.toolkit-panel,.skill-cloud span,.rings-center{animation:none!important;transition:none!important}.intro.is-leaving{animation:none!important}.intro-letter{opacity:1;transform:none;filter:none}.intro-bloom path{stroke-dashoffset:0}.hero-handwriting{clip-path:none}.perspective-ring{transform:none}.roadmap-fill{transform:scaleY(1)}.portrait-card,.portrait-card:hover{transform:rotate(3deg)}.exp-heading{transform:none!important}.intro-stage,.intro-glyph,.hero-actions .button>span,.contact-arrow>span{transform:none!important}.intro::before{transform:none;transition:none}}

/* The introduction has one action: continue with a scroll. */
.intro{padding:30px 5vw max(34px,env(safe-area-inset-bottom))}
.intro-scroll-cue{justify-self:center;gap:10px;grid-column:1/-1;font-size:10px;letter-spacing:.08em;color:#d0b3bf}
.intro-scroll-cue svg{width:32px;height:32px}
@media(max-width:700px){.intro-role{font-size:11px}.intro-caption{font-size:8px}.intro-side-note{font-size:6px;right:-9px;letter-spacing:.16em}.intro-scroll-cue{font-size:9px;min-height:32px}}
@media(max-height:530px){.intro{padding:16px 5vw 22px}.intro-stage{padding:0}.intro-title{font-size:clamp(70px,16vw,160px)}.intro-role{font-size:10px}.intro-side-note{display:none}.intro-scroll-cue{font-size:9px}.intro-scroll-cue svg{width:27px;height:27px}}

/* One footer control returns to the opening scene. */
.site-footer .back-to-top{width:48px;height:48px;min-width:48px;display:grid;place-items:center;gap:0;border:1px solid #bca6ae;border-radius:50%;color:var(--berry);background:transparent;transition:background .25s,border-color .25s}
.site-footer .back-to-top svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .4s var(--ease)}
@media(hover:hover) and (pointer:fine){.site-footer .back-to-top:hover{background:#ecd6d766;border-color:var(--berry)}.site-footer .back-to-top:hover svg{transform:rotate(-35deg)}}
.site-footer .back-to-top:active{background:var(--pink)}
@media(prefers-reduced-motion:reduce){.site-footer .back-to-top:hover svg{transform:none}}
