/* Readable editorial labels and touch-first behavior. */
.hero::before{display:none}.hero{padding-top:56px}
.eyebrow,.card-meta,.ds-step,.lab-title,.lab-display-top,.appearance-title,.art-caption,.sample-profile small,.token-output>span{letter-spacing:0!important;text-transform:none!important;font-family:var(--sans)}
.hero .eyebrow{letter-spacing:0}.card-meta{font-size:14px}.draft-tag{border:0;padding:0;color:var(--muted)}
.monogram>span:empty,.footer-star,.hero-star,.sparkle,.private-label{display:none}
.capability-strip span:before{display:none}.capability-strip span{border-right:1px solid var(--line)}
.site-footer{font-size:14px}.site-footer>div{gap:24px}
.work-card h3{font-size:28px;line-height:1.25}.section-heading h2,.journey-intro h2{font-size:clamp(34px,4.2vw,58px);line-height:1.15}
.ds-step{font-size:14px!important}.build-note{display:grid;grid-template-columns:1fr 1.5fr;gap:48px;border-top:1px solid var(--line)}
.build-note h2{font-size:clamp(30px,3vw,44px);margin-top:14px}.build-note-copy{max-width:68ch}.build-note-copy p{font-size:16px;color:var(--muted);line-height:1.8}.build-note-copy p+p{margin-top:18px}
.owner-content-note{border-left:3px solid var(--mint);background:var(--panel);padding:20px 24px;margin-top:32px}.owner-content-note h4{margin-top:0!important}
.sample-interface label{display:block;font-size:16px;line-height:1.5;margin:20px 0 8px;color:var(--demo-ink)}
.sample-interface select{width:100%;min-height:48px;border:1px solid var(--control-border);border-radius:var(--demo-radius);background:var(--demo-paper);color:var(--demo-ink);font:inherit;padding:10px 12px}
.sample-interface .sample-task{display:flex;gap:12px;align-items:start}.sample-task>div{min-width:0}.sample-task strong{line-height:1.5}.sample-task small{display:block;font-size:14px;line-height:1.65;margin-top:8px}
.sample-interface .sample-badge{display:block;margin-left:auto;white-space:nowrap;font-size:14px;padding:4px 8px}
.sample-interface .sample-cta{width:100%;min-height:52px;font-size:16px;touch-action:manipulation;transition:transform 140ms ease,background-color 140ms ease}
.sample-cta:active{transform:scale(.96)}.sample-cta[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--demo-ink)}
.sample-interface .sample-feedback{font-size:16px;line-height:1.6;min-height:3.2em;margin-top:16px}.sample-note{font-size:14px;line-height:1.6;color:var(--demo-muted);margin-top:12px}
.motion-primary{margin:24px 0 32px}.motion-primary .demo-result{margin-top:16px}.interaction-target.is-held{transform:scale(.94)}.kinetic-card.is-held{transform:scale(var(--press-scale,.96))}
.atlas-demo button,.atlas-demo select,.atlas-demo input[type=range]{min-height:48px;touch-action:manipulation}.atlas-demo input[type=checkbox]{width:20px;height:20px;flex:none}.demo-check{min-height:48px;align-items:center}
.demo-state-buttons{display:flex;flex-wrap:wrap;gap:8px}.demo-state-buttons button{flex:1 1 70px}.motion-primary .demo-device{padding:24px}.demo-result{overflow-wrap:anywhere}
@media(max-width:760px){
 .site-header{display:flex;flex-wrap:wrap;gap:12px;padding:18px 5% 10px}
 .site-header nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;order:3;gap:4px;align-items:stretch}
 .site-header nav a,.site-header nav a:nth-child(3){display:flex;align-items:center;justify-content:center;min-height:48px;line-height:1.4;font-size:16px;white-space:nowrap;padding:8px 0}
 .site-header .brand{max-width:100%}.brand small{font-size:14px;letter-spacing:0}.brand{font-size:14px;letter-spacing:0}
 .appearance-inner{flex-wrap:wrap}.appearance-title{font-size:14px}.theme-field{max-width:none}.theme-field select{min-height:44px}.contrast-toggle{min-height:44px}
 .lab-shell{display:flex;flex-direction:column}.lab-display{order:0;padding:22px 18px}.lab-controls{order:1;border-top:1px solid var(--line);border-bottom:0;display:flex;flex-direction:column;gap:16px;padding:24px 20px}
 .lab-controls>*,.lab-controls .lab-width-control,.lab-controls .switch-label,.lab-controls .reset-button{margin:0!important;width:100%;max-width:none}
 .lab-controls input[type=range]{min-height:44px;touch-action:pan-x}.lab-controls .segmented{max-width:none}.lab-controls .segmented button{min-height:48px}.swatches button{width:44px;height:44px}
 .lab-width-control{display:none!important}.sample-interface{margin-top:16px}.sample-profile h3{font-size:24px;line-height:1.3}.sample-profile small{font-size:14px}.sample-avatar{display:none}.sample-tabs button{min-height:48px}
 .sample-interface .sample-task{flex-wrap:wrap}.sample-interface .sample-badge{margin:4px 0 0}.lab-version{display:none}.token-output{flex-direction:column;align-items:start;gap:8px}.token-output>span{width:auto;font-size:14px}
 .mobile-resume .passport-modes,.mobile-resume .book-gesture-hint,.mobile-resume .passport-position,.mobile-resume .passport-endpaper,.mobile-resume .passport-cover-shell,.mobile-resume .close-passport{display:none!important}
 .mobile-resume .passport-console{border:0;border-radius:0;padding:0;background:transparent;margin-top:28px}.mobile-resume .passport-toolbar{margin:0 0 12px}.mobile-resume .passport-caption{font-size:16px}
 .mobile-resume .passport-route{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}.mobile-resume .passport-route button{display:inline-flex;align-items:center;min-height:48px;padding:10px 14px;gap:8px;border-radius:8px;min-width:0}
 .mobile-resume .passport-route button strong{font-size:16px;line-height:1.4}.mobile-resume .passport-route button:after{content:'↓';font-size:18px}.mobile-resume .route-index,.mobile-resume .passport-route button>span:last-child{display:none}
 .mobile-resume .passport-book,.mobile-resume .passport-book .timeline{display:block;min-height:0;max-height:none;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;perspective:none;touch-action:auto}
 .mobile-resume.passport-ready .passport-book .timeline>article{display:block;height:auto;min-height:0;max-height:none;padding:28px 0;margin:0;border-radius:0;border-bottom:1px solid var(--line);border-top:0;background:transparent;box-shadow:none;overflow:visible;scroll-margin-top:175px}
 .mobile-resume .timeline article::after,.mobile-resume .timeline-dot,.mobile-resume .timeline article .book-brief{display:none!important}
 .mobile-resume .timeline article h3{font-size:28px}.mobile-resume .timeline .experience-detail{margin-top:24px}.mobile-resume .timeline .experience-detail summary{display:none}.mobile-resume .timeline .experience-detail-body{padding:0}
 .mobile-resume .timeline .experience-detail-body p,.mobile-resume .timeline .experience-detail-body li,.mobile-resume .timeline article>p{font-size:16px;line-height:1.75}.mobile-resume .timeline .experience-detail-body h4{font-size:20px;line-height:1.4}.mobile-resume .timeline .timeline-date{font-size:14px;letter-spacing:0}
 .build-note{grid-template-columns:1fr;gap:24px}.hero{padding-top:36px}.system-section .section-heading h2{font-size:36px}.work-card h3{font-size:27px}.dialog-top{position:sticky;top:0;background:var(--bg);z-index:5;padding-bottom:12px}.close-button{min-width:48px;min-height:48px}.study-tabs{gap:16px;flex-wrap:wrap}.study-tabs button{min-height:52px}
 .atlas-demo .demo-mobile{max-width:100%;width:100%}.kinetic-card{max-width:100%}.atlas-demo .demo-code{white-space:pre-wrap;overflow-wrap:anywhere}.dialog-footer{flex-wrap:wrap;gap:16px}
}
@media(max-width:360px){.site-header nav a,.site-header nav a:nth-child(3){font-size:14px}.appearance-inner{column-gap:8px}.theme-field{flex:1 1 100%}.sample-interface{padding:16px!important}.study-tabs button{font-size:16px}}
@media(prefers-reduced-motion:reduce){.sample-cta,.interaction-target,.kinetic-card{transition:none!important}.sample-cta:active,.interaction-target.is-held,.kinetic-card.is-held{transform:none!important}}
.reduce-motion .sample-cta:active,.reduce-motion .interaction-target.is-held,.reduce-motion .kinetic-card.is-held,.demo-reduced .kinetic-card.is-held{transform:none!important}
@media(forced-colors:active){.sample-cta[aria-pressed=true]{outline:3px solid Highlight}.sample-interface select{border:1px solid ButtonText}.owner-content-note{border-color:CanvasText}}
@media(max-width:760px){.token-output>span{flex:none}.token-output{margin:24px 0 0;width:100%}.lab-controls .lab-disclaimer{font-size:14px}.sample-interface .sample-tabs{margin-top:18px}.atlas-demo select{max-width:100%;min-width:0}.atlas-demo #demo-layout,.atlas-demo #demo-viewport,.atlas-demo label[for=demo-layout],.atlas-demo label[for=demo-viewport]{display:none}}
.demo-dot{position:absolute;top:.35rem;left:.35rem;transform:none;transition-property:left}.demo-dot-end{left:calc(100% - 2.2rem - .35rem);transform:none}

/* Center the selection mark at every swatch size. */
.swatch{padding:0;flex-shrink:0}
.swatch.selected::after{display:grid;place-items:center;inset:0;line-height:1;font-size:16px;text-align:center}
.back-to-top{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:15;display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--paper);border-radius:50%;background:var(--panel);color:var(--paper);box-shadow:0 4px 20px color-mix(in srgb,var(--bg) 40%,transparent);touch-action:manipulation}
.back-to-top svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.back-to-top:hover{background:var(--paper);color:var(--bg)}.back-to-top:active{transform:scale(.96)}
.dialog-open .back-to-top{display:none}.build-credit{font-size:14px;color:var(--muted)}
html.reduce-motion{scroll-behavior:auto}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.back-to-top:active{transform:none}}
@media(forced-colors:active){.back-to-top{border:2px solid ButtonText;background:ButtonFace;color:ButtonText;box-shadow:none}}
@media print{.back-to-top{display:none!important}}

.hero-intro + .hero-intro{margin-top:18px}

/* Name-led hero. Spotlight is decorative and never captures input. */
.hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:42px;padding-block:72px}
.hero-copy{position:relative;isolation:isolate;min-width:0;padding:36px 0}
.hero-copy::before{content:"";position:absolute;inset:-70px -35px;z-index:-1;pointer-events:none;border-radius:50%;background:radial-gradient(circle 170px at var(--spot-x,45%) var(--spot-y,40%),color-mix(in srgb,var(--mint) 20%,transparent),transparent 100%);opacity:.65;transition:opacity 350ms ease}
.hero-copy.spotlight-on::before{opacity:1}
.hero #hero-title{font-size:clamp(38px,5.2vw,88px);white-space:nowrap;line-height:1.15;letter-spacing:-.055em;margin:24px 0 34px;transform:perspective(900px) rotateX(var(--name-x,0deg)) rotateY(var(--name-y,0deg));transition:transform 200ms ease;text-shadow:1px 1px 0 var(--line),2px 2px 0 var(--line),3px 3px 0 var(--line),4px 4px 0 var(--line),8px 12px 22px color-mix(in srgb,var(--bg) 65%,transparent)}
.hero #hero-title em{display:inline;text-shadow:inherit}.hero .hero-actions{margin-top:0}.hero .geographic-atlas{min-width:0}
@media(max-width:820px){.hero{grid-template-columns:1fr;gap:30px;padding-top:32px}.hero-copy{padding:18px 0}.hero #hero-title{font-size:clamp(38px,9vw,74px);margin:22px 0 30px}.hero .geographic-atlas{width:100%;max-width:650px}.hero-copy::before{inset:-35px 0}}
@media(max-width:340px){.hero #hero-title{white-space:normal;font-size:42px}}
@media(prefers-reduced-motion:reduce){.hero #hero-title{transform:none;transition:none}.hero-copy::before{transition:none}}
.reduce-motion .hero #hero-title{transform:none;transition:none}.reduce-motion .hero-copy::before{transition:none}
[data-high-contrast=true] .hero #hero-title,[data-high-contrast=true] .hero #hero-title em{transform:none;text-shadow:none}
[data-high-contrast=true] .hero-copy::before{display:none}
@media(forced-colors:active){.hero #hero-title,.hero #hero-title em{transform:none;text-shadow:none}.hero-copy::before{display:none}}

.ds-brief{border-top:1px solid var(--line)}.ds-brief h2{font-size:clamp(30px,3.5vw,48px);line-height:1.2}.ds-brief>p{font-size:16px;line-height:1.8;color:var(--muted);max-width:65ch;margin-top:24px}

/* Geometry and menu lighting are decorative; link hit areas remain unchanged. */
.hero-copy::after{content:"";position:absolute;z-index:-2;pointer-events:none;inset:-65px -5px -35px;opacity:.7;background-image:repeating-linear-gradient(0deg,transparent 0 43px,color-mix(in srgb,var(--mint) 17%,transparent) 44px 45px),repeating-linear-gradient(90deg,transparent 0 43px,color-mix(in srgb,var(--mint) 17%,transparent) 44px 45px),radial-gradient(ellipse at 55% 50%,transparent 0 34%,color-mix(in srgb,var(--lilac) 22%,transparent) 34.3% 34.8%,transparent 35% 49%,color-mix(in srgb,var(--coral) 18%,transparent) 49.3% 49.8%,transparent 50%);transform:perspective(650px) rotateX(34deg) rotateZ(-12deg);mask-image:radial-gradient(ellipse at center,#000 15%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse at center,#000 15%,transparent 72%)}
.site-header nav{position:relative;isolation:isolate}.site-header nav::before{content:"";position:absolute;z-index:-1;inset:-16px;pointer-events:none;background:radial-gradient(circle 85px at var(--menu-x,50%) var(--menu-y,50%),color-mix(in srgb,var(--mint) 35%,transparent),transparent);filter:blur(14px);opacity:0;transition:opacity 220ms ease}
.site-header nav.menu-lit::before,.site-header nav:focus-within::before{opacity:1}.site-header nav a{border-radius:8px;padding-inline:8px}.site-header nav a:focus-visible{outline-offset:2px}
@media(max-width:760px){.site-header nav a,.site-header nav a:nth-child(3){padding-inline:0}.site-header nav a:nth-child(2){white-space:normal;text-align:center}.hero-copy::after{inset:-25px 0 -15px;transform:perspective(500px) rotateX(24deg) rotateZ(-10deg)}}
@media(prefers-reduced-motion:reduce){.site-header nav::before{transition:none}.hero-copy::after{transform:none}}
.reduce-motion .site-header nav::before{transition:none}.reduce-motion .hero-copy::after{transform:none}
[data-high-contrast=true] .hero-copy::after,[data-high-contrast=true] .site-header nav::before{display:none}
@media(forced-colors:active){.hero-copy::after,.site-header nav::before{display:none}}
.hero{overflow:clip}.site-header nav::before{inset:0}

/* Each strength keeps its own readable width; items wrap rather than compress. */
.capability-strip{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 28px;padding:20px 5%}
.capability-strip span,.capability-strip span:first-child,.capability-strip span:nth-child(4){display:block;flex:0 1 auto;min-width:0;max-width:100%;padding:0;margin:0;border:0;font-size:16px;line-height:1.5;white-space:normal}
.capability-strip span::before{display:none!important}
@media(max-width:760px){.capability-strip{justify-content:flex-start;gap:12px 16px}.capability-strip span{padding:7px 12px!important;border:1px solid var(--line);border-radius:8px;background:var(--panel)}}

/* Theme changes update foreground and background together. */
.button,.map-stops a,.passport-route button,.interaction-target{transition-property:transform,box-shadow}
.capability-strip{scroll-margin-top:180px}
@media(max-width:760px){.capability-strip span,.capability-strip span:first-child,.capability-strip span:nth-child(4){border:1px solid var(--line);border-radius:8px;background:var(--panel);letter-spacing:0}}

/* Compact, native appearance controls stay available at the top on mobile. */
.appearance-inner{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px 20px;padding-block:8px}
.theme-field{display:flex;align-items:center;gap:10px;max-width:none!important}.theme-field label{font-size:14px}.theme-field select{min-height:44px;width:auto;max-width:150px;padding:8px 30px 8px 10px;font-size:16px}
.contrast-toggle,.motion-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;border:1px solid var(--control-border);border-radius:6px;color:var(--paper);background:var(--panel);font-size:14px;line-height:1.4;cursor:pointer}
.contrast-toggle input,.motion-toggle input{width:18px;height:18px;margin:0;accent-color:var(--mint)}.motion-toggle:has(input:disabled){cursor:default}.motion-toggle input:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:760px){.appearance-inner{justify-content:flex-start;gap:8px 12px}.theme-field{flex:0 1 auto!important}.motion-toggle,.contrast-toggle{flex:0 0 auto}}
.reduce-motion .button:hover,.reduce-motion .button:active,.reduce-motion .back-to-top:active,.reduce-motion .map-stops a:hover,.reduce-motion .geo-marker:hover,.reduce-motion .interaction-target:hover,.reduce-motion .kinetic-card,.reduce-motion .kinetic-card:hover{transform:none!important}
.reduce-motion .hero-copy::before,.reduce-motion .site-header nav::before{display:none!important}
@media(prefers-reduced-motion:reduce){.button:hover,.button:active,.back-to-top:active,.map-stops a:hover,.geo-marker:hover,.interaction-target:hover,.kinetic-card:hover{transform:none!important}.hero-copy::before,.site-header nav::before{display:none!important}}
@media(max-width:760px){.appearance-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.appearance-inner .theme-field{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;gap:12px}.appearance-inner .theme-field label{margin:0}.appearance-inner .theme-field select{width:150px;max-width:65%;margin:0}.appearance-inner .contrast-toggle,.appearance-inner .motion-toggle{min-width:0;width:100%;padding:8px 6px;gap:6px;justify-content:center;font-size:14px;white-space:nowrap}}

/* Frosted appearance bar, with the same decorative lighting as navigation. */
.appearance-bar{background:color-mix(in srgb,var(--bg) 94%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.appearance-inner{position:relative;isolation:isolate}
.appearance-inner::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(circle 110px at var(--menu-x,75%) var(--menu-y,50%),color-mix(in srgb,var(--mint) 25%,transparent),transparent);filter:blur(14px);opacity:0;transition:opacity 220ms ease}
.appearance-inner.menu-lit::before,.appearance-inner:focus-within::before{opacity:1}
.reduce-motion .appearance-inner::before{display:none!important}
[data-high-contrast=true] .appearance-bar{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}
[data-high-contrast=true] .appearance-inner::before{display:none}
@media(prefers-reduced-motion:reduce){.appearance-inner::before{display:none!important}}
@media(forced-colors:active){.appearance-bar{background:Canvas;-webkit-backdrop-filter:none;backdrop-filter:none}.appearance-inner::before{display:none}}
