*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:96px}body{margin:0;background:var(--page);color:var(--ink);font-family:"Lexend Deca",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}a,button{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:2px solid var(--strong);outline-offset:6px}::selection{background:var(--line)}.flex{display:flex}.grid{display:grid}.gap-6{gap:24px}.gap-8{gap:32px}.items-center{align-items:center}.justify-between{justify-content:space-between}.text-sm{font-size:14px}.text-xs{font-size:12px}.text-stone-500{color:var(--muted)}.font-medium{font-weight:500}.tracking-tight{letter-spacing:-.035em}.rounded-lg{border-radius:8px}.overflow-hidden{overflow:hidden}.mx-auto{margin-left:auto;margin-right:auto}.max-w-7xl{max-width:1280px}.px-8{padding-left:32px;padding-right:32px}.py-6{padding-top:24px;padding-bottom:24px}.shell{width:calc(100% - 112px);max-width:1328px;margin:auto}.nav{height:96px;border-bottom:0}.brand{font-size:17px;letter-spacing:-.5px}.brand span{display:inline-block;width:10px;height:10px;background:var(--strong);border-radius:50%;margin-right:10px}.nav a:not(.brand){color:var(--secondary);font-size:14px}.nav a:hover,.text-link:hover{color:var(--strong)}.hero{padding:96px 0 80px;display:grid;grid-template-columns:1fr 2.05fr;gap:48px}.eyebrow{font-family:"Lexend Deca",Arial,sans-serif;font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);line-height:1.7}.hero h1{font-size:clamp(40px,4.5vw,64px);line-height:1.06;font-weight:400;letter-spacing:-.055em;margin:0 0 32px}.hero h1 em{font-family:"Lexend Deca",Arial,sans-serif;font-weight:400;color:var(--muted)}.intro{max-width:530px;color:var(--secondary);font-size:17px;line-height:1.6;margin:0 0 28px}.text-link{font-size:14px;border-bottom:1px solid var(--muted);padding-bottom:4px}.hero-note{align-self:end;line-height:1.7;color:var(--muted);font-size:12px}.section-head{border-top:0;padding:24px 0;display:flex;justify-content:space-between;align-items:center}.section-head h2{font-size:13px;font-weight:400;margin:0}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px 24px}.project:first-child{grid-column:1/-1}.project .visual{background:var(--line);position:relative;aspect-ratio:1.5;overflow:hidden;border-radius:8px}.project:first-child .visual{aspect-ratio:2.15}.visual img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.7,.2,1)}.project:nth-child(2) .visual{background:var(--surface)}.project:nth-child(2) img{object-fit:contain}.project:hover img{transform:scale(1.025)}.project .go{position:absolute;bottom:20px;right:20px;background:var(--page);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:22px;transition:background .2s,color .2s}.project:hover .go{background:var(--strong);color:var(--page)}.project-info{display:flex;justify-content:space-between;gap:16px;margin-top:20px}.project h3{font-size:20px;font-weight:400;letter-spacing:-.035em;margin:0 0 8px}.project p{max-width:500px;color:var(--muted);font-size:14px;line-height:1.6;margin:0}.project-info .eyebrow{white-space:nowrap}.project:nth-child(4){grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:32px;background:var(--surface);border-radius:8px;padding:32px}.project:nth-child(4) .visual{order:2;aspect-ratio:1.7}.project:nth-child(4) .project-info{flex-direction:column;justify-content:center;padding:24px;gap:24px}.project:nth-child(4) h3{font-size:28px}.about{display:grid;grid-template-columns:1fr 2.05fr;gap:48px;padding:112px 0;border-bottom:0;margin-top:80px;border-top:0}.about h2{font-weight:400;font-size:36px;line-height:1.2;letter-spacing:-.04em;margin:0 0 24px}.about p{font-size:17px;color:var(--secondary);line-height:1.7;max-width:620px}.principles{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:48px}.principles h3{font-size:15px;font-weight:400;margin:0 0 8px}.principles p{font-size:14px;margin:0}.speaking{margin-top:48px;font-size:14px;color:var(--secondary)}.speaking div{display:flex;justify-content:space-between;padding:16px 0;border-bottom:0}.footer{padding:80px 0 32px}.footer h2{font-weight:400;font-size:48px;letter-spacing:-.045em;margin:0 0 24px}.footer-bottom{display:flex;justify-content:space-between;margin-top:80px;font-size:12px;color:var(--muted)}.skip{position:absolute;top:-100px;left:16px;padding:12px;background:var(--page);z-index:2}.skip:focus{top:16px}.detail-head{padding:64px 0}.detail-head h1{font-size:clamp(42px,6vw,80px);font-weight:400;letter-spacing:-.055em;margin:40px 0 24px}.detail-head p{font-size:24px;color:var(--muted);letter-spacing:-.025em}.detail-hero{width:100%;max-height:650px;object-fit:contain;background:var(--surface);border-radius:8px}.detail-copy{display:grid;grid-template-columns:1fr 2fr;gap:64px;padding:80px 0}.detail-copy h2{font-size:32px;font-weight:400;letter-spacing:-.035em;margin:0 0 24px}.detail-copy p{font-size:18px;line-height:1.7;color:var(--secondary)}.detail-gallery{display:grid;gap:24px}.detail-gallery img{width:100%;height:auto;border-radius:8px}.next{display:block;border-top:0;margin-top:80px;padding:32px 0;font-size:24px}.next small{display:block;font-size:12px;color:var(--muted);margin-bottom:16px}@media(min-width:1500px){.hero{padding-top:128px}}@media(max-width:900px){.shell{width:calc(100% - 48px)}.hero{grid-template-columns:1fr;gap:24px;padding:56px 0}.hero-note{display:none}.hero h1{max-width:640px}.about{grid-template-columns:1fr;gap:24px}.project-info{flex-direction:column}.project:nth-child(4){display:block;padding:16px}.project:nth-child(4) .project-info{padding:8px}.detail-copy{gap:32px}}@media(max-width:600px){.shell{width:calc(100% - 40px)}.nav{height:80px}.nav .gap-8{gap:20px}.hero h1{font-size:42px}.project-grid{grid-template-columns:1fr;gap:40px}.project:first-child .visual{aspect-ratio:1.4}.project .visual{aspect-ratio:1.4}.project-info{gap:8px;margin-top:16px}.project:nth-child(4){padding:0;background:none}.project:nth-child(4) .project-info{padding:0;gap:8px}.project:nth-child(4) h3{font-size:20px}.about{padding:56px 0;margin-top:56px}.about h2{font-size:30px}.principles{grid-template-columns:1fr;gap:24px}.footer h2{font-size:36px}.footer-bottom{margin-top:56px;gap:24px}.detail-copy{grid-template-columns:1fr;padding:48px 0;gap:24px}.detail-head{padding:40px 0}.detail-head p{font-size:20px}.speaking div{gap:24px}.speaking span:last-child{text-align:right}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.visual img{transition:none}.project:hover img{transform:none}}
/* Portfolio collections */
[hidden]{display:none!important}.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}.portfolio-tabs{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--surface)}.portfolio-tabs button{border:0;background:transparent;color:var(--secondary);border-radius:999px;padding:12px 20px;cursor:pointer;font-size:14px;min-height:44px;transition:background .2s,color .2s,box-shadow .2s}.portfolio-tabs button[aria-selected=true]{background:var(--page);color:var(--ink);box-shadow:0 1px 4px #00000012}.portfolio-tabs button:hover{color:var(--strong)}.portfolio-tabs button span{font-size:10px;font-family:"Lexend Deca",Arial,sans-serif;margin-left:8px;color:var(--muted)}.collection-intro{font-size:17px;line-height:1.6;color:var(--secondary);max-width:580px;margin:16px 0 32px}.experiment-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.experiment-visual{height:440px;border-radius:8px;overflow:hidden}.hush-visual{display:flex;justify-content:center;align-items:flex-start;background:var(--ink);padding:32px 0 0}.hush-visual img{width:180px;max-width:70%;height:auto;border-radius:16px;box-shadow:0 16px 48px #0005}.crave-visual{background:var(--surface);color:var(--ink);display:flex;flex-direction:column;justify-content:center;padding:48px}.crave-visual .eyebrow{color:var(--secondary)}.crave-wordmark{font-family:"Lexend Deca",Arial,sans-serif;font-size:clamp(60px,7vw,100px);letter-spacing:-.07em;line-height:1.3}.crave-wordmark span{color:var(--strong)}.crave-visual p{font-size:20px!important;color:var(--ink)!important;line-height:1.4!important}.concept-caption{font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin-top:32px;color:var(--secondary)}.experiment-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px}.experiment h3{font-size:24px;font-weight:400;letter-spacing:-.035em;margin:0}.prototype-badge{font-size:11px;color:var(--secondary);background:var(--surface);border-radius:999px;padding:8px 12px}.experiment p{font-size:15px;line-height:1.6;color:var(--muted)}.experiment details{border-top:0;margin-top:24px}.experiment summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;padding:20px 0;font-size:14px}.experiment summary::-webkit-details-marker{display:none}.experiment summary:focus-visible{outline:2px solid var(--strong);outline-offset:4px}.experiment details[open] summary span{transform:rotate(45deg)}.experiment-details p:first-child{margin-top:0}.experiment-details{padding-bottom:8px}@media(max-width:900px){.collection-caption{display:none}.experiment-visual{height:360px}.crave-visual{padding:32px}.hush-visual{padding-top:24px}.hush-visual img{width:150px}}@media(max-width:600px){.portfolio-heading{padding:20px 0}.portfolio-tabs{width:100%}.portfolio-tabs button{flex:1;padding:12px}.portfolio-tabs button span{margin-left:4px}.experiment-grid{grid-template-columns:1fr;gap:40px}.experiment-visual{height:360px}.crave-wordmark{font-size:88px}.collection-intro{font-size:16px}}@media(prefers-reduced-motion:reduce){.portfolio-tabs button{transition:none}}

/* Single-page portfolio and persistent project index */
.single-page{display:grid;grid-template-columns:280px minmax(0,1fr);gap:64px;width:calc(100% - 80px);max-width:1520px}.portfolio-sidebar{position:sticky;top:0;height:100svh;padding:48px 0 32px;display:flex;flex-direction:column;min-height:0}.sidebar-intro{font-size:21px;line-height:1.4;letter-spacing:-.025em;margin:32px 0 16px}.sidebar-links{display:flex;gap:20px;font-size:12px;margin:20px 0 40px}.sidebar-links a:hover{color:var(--strong)}.project-index{overflow:auto;min-height:0}.project-index>p{margin:0 0 16px}.project-index a{display:flex;gap:12px;align-items:center;padding:20px 12px;border-radius:8px;margin-bottom:4px;transition:background .2s,color .2s}.project-index a:hover{background:var(--surface)}.project-index a[aria-current="location"]{background:var(--strong);color:var(--page)}.index-number{font-size:11px;font-family:"Lexend Deca",Arial,sans-serif;opacity:.6}.project-index strong{font-size:14px;font-weight:400;display:block}.project-index small{display:block;font-size:12px;margin-top:6px;opacity:.7}.index-arrow{margin-left:auto;opacity:0}.project-index a[aria-current] .index-arrow{opacity:1}.sidebar-note{margin-top:auto;padding-top:32px;color:var(--muted);font-size:11px;line-height:1.6}.page-column{min-width:0}.single-page .hero{display:block;padding:64px 0 56px}.single-page .hero h1{font-size:clamp(36px,3.9vw,60px);margin-top:24px}.single-page .intro{max-width:560px;margin:0}.single-page .section-head{gap:16px}.single-page .collection-caption{font-size:10px}.feed-project{padding:48px 0 56px;border-bottom:0;scroll-margin-top:24px}.feed-project:first-child{padding-top:24px}.feed-heading{display:flex;justify-content:space-between;align-items:center}.feed-heading .eyebrow{margin:0 0 12px}.feed-heading h3{font-size:32px;letter-spacing:-.04em;font-weight:400;margin:0}.project-number{font:12px monospace;color:var(--muted)}.feed-role{font-size:12px;color:var(--muted);margin:16px 0 24px}.feed-copy{max-width:680px;margin-bottom:32px}.feed-copy p{font-size:15px;line-height:1.65;color:var(--secondary);margin:0 0 12px}.feed-gallery img{display:block;width:100%;height:auto;border-radius:8px;background:var(--surface)}.feed-details{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;align-items:start}.single-page .about{grid-template-columns:1fr;padding:64px 0;gap:24px;margin-top:48px}.single-page .about h2{font-size:32px}.single-page .experiment-grid{grid-template-columns:1fr}.single-page .experiment{scroll-margin-top:24px;margin:24px 0 32px}.single-page .experiment-visual{height:440px}.single-page .hush-visual img{width:180px}.single-page .crave-wordmark{font-size:100px}.single-page .footer h2{font-size:40px}@media(min-width:1500px){.single-page{gap:96px}}@media(max-width:1100px){.single-page{grid-template-columns:240px minmax(0,1fr);gap:32px;width:calc(100% - 48px)}.single-page .collection-caption{display:none}.sidebar-links{gap:16px}.project-index a{padding:16px 8px;gap:8px}}@media(max-width:760px){html{scroll-padding-top:140px}.single-page{display:block;width:calc(100% - 32px)}.portfolio-sidebar{position:sticky;top:0;height:auto;padding:20px 0 8px;background:var(--glass);backdrop-filter:blur(16px);z-index:10;border-bottom:0;display:grid;grid-template-columns:1fr auto;gap:16px}.sidebar-intro,.portfolio-sidebar>.eyebrow,.sidebar-note,.project-index>p{display:none}.sidebar-links{margin:0;align-items:center;gap:16px}.sidebar-links a:last-child{display:none}.project-index{grid-column:1/-1;overflow:auto;scrollbar-width:thin}.project-index [data-index]{display:flex;width:max-content;gap:4px}.project-index a{padding:12px;margin:0;min-height:44px;white-space:nowrap}.project-index strong{font-size:12px}.project-index small,.index-number,.index-arrow{display:none}.single-page .hero{padding:48px 0 32px}.single-page .hero h1{font-size:40px}.single-page .hero>.eyebrow{font-size:9px}.single-page .feed-project,.single-page .experiment{scroll-margin-top:140px}.feed-project{padding:32px 0 40px}.feed-heading h3{font-size:28px}.feed-details{grid-template-columns:1fr;gap:12px;margin-top:12px}.feed-copy p{font-size:15px}.single-page .about{padding:48px 0}.single-page .experiment-visual{height:400px}.single-page .footer{padding-top:48px}.single-page .footer h2{font-size:36px}}@media(prefers-reduced-motion:reduce){.project-index a{transition:none}}

html{scroll-padding-top:24px}.single-page .feed-project,.single-page .experiment{scroll-margin-top:0}@media(max-width:760px){html{scroll-padding-top:140px}}

/* Manual image carousels */
.project-carousel{overflow:hidden;border-radius:16px;background:var(--surface)}.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:16px 16px 0 0;aspect-ratio:16/10;outline-offset:-4px}.carousel-track::-webkit-scrollbar{display:none}.carousel-slide{flex:0 0 100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center}.carousel-slide img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0;user-select:none;-webkit-user-drag:none}.carousel-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:12px 20px;gap:16px;border-top:0;background:var(--page)}.carousel-count{font:11px monospace;color:var(--muted);font-variant-numeric:tabular-nums}.carousel-dots{display:flex;align-items:center}.carousel-dot{width:32px;min-height:44px;padding:0;display:grid;place-items:center;background:none;border:0;cursor:pointer}.carousel-dot span{width:6px;height:6px;border-radius:999px;background:var(--muted);transition:width .2s,background .2s}.carousel-dot[aria-pressed="true"] span{background:var(--ink);width:20px}.carousel-arrows{display:flex;justify-content:flex-end;gap:8px}.carousel-arrows button{border:1px solid var(--line);background:var(--page);border-radius:50%;width:44px;height:44px;font-size:20px;cursor:pointer;color:var(--ink);transition:background .15s,color .15s}.carousel-arrows button:hover:not(:disabled){background:var(--ink);color:var(--page)}.carousel-arrows button:disabled{color:var(--muted);cursor:default}.project-carousel:focus-within{outline-offset:4px}body{background:var(--page)}.sidebar-intro,.brand,.feed-heading h3{color:var(--ink)}.hero h1 em{color:var(--muted)}@media(max-width:760px){.project-carousel{border-radius:12px}.carousel-track{border-radius:12px 12px 0 0;aspect-ratio:4/3}.carousel-bar{padding:8px 12px;gap:8px}.carousel-dot{width:28px}.carousel-arrows{gap:4px}.carousel-arrows button{width:44px;height:44px}}@media(prefers-reduced-motion:reduce){.carousel-dot span,.carousel-arrows button{transition:none}}
.carousel-track:focus-visible{outline:2px solid var(--ink);outline-offset:-3px}

/* Opening biography and same-page navigation */
.single-page{row-gap:0}.portfolio-sidebar{top:72px;height:calc(100svh - 72px);padding-top:32px}.single-page .intro-about{position:relative;padding:56px 0 48px;scroll-margin-top:0}.intro-about .intro{margin-bottom:24px;max-width:640px}.intro-about .intro:last-of-type{font-size:16px}.top-anchor{position:absolute;top:0}.about-more{max-width:640px;margin-top:32px}.about-more summary{font-size:13px;cursor:pointer;display:flex;justify-content:space-between;list-style:none;padding:16px 0;border-top:0;border-bottom:0}.about-more summary::-webkit-details-marker{display:none}.about-more[open] summary span{transform:rotate(45deg)}.about-more p{font-size:14px;color:var(--muted);line-height:1.6}.about-more .principles{margin-top:24px}.about-more .speaking{margin-top:32px}html{scroll-padding-top:96px}#contact{scroll-margin-top:0}.about-more summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}@media(max-width:760px){.portfolio-sidebar{top:56px;height:auto;padding-top:16px}.single-page .intro-about{padding:40px 0 32px}.sidebar-links{gap:12px}.sidebar-links a:last-child{display:block}html{scroll-padding-top:192px}.intro-about .intro{font-size:16px}.single-page .hero h1{font-size:38px}.about-more .principles{grid-template-columns:1fr}}

/* Sidebar is the primary navigation. */
.portfolio-sidebar{top:0;height:100svh;padding-top:48px}html{scroll-padding-top:24px}@media(max-width:760px){.portfolio-sidebar{top:0;height:auto;padding-top:20px}html{scroll-padding-top:140px}}

/* Size the viewport to the selected image, without cropping or letterboxing. */
.project-carousel{background:var(--page)}.carousel-stage{position:relative}.carousel-track{aspect-ratio:auto!important;align-items:flex-start;border-radius:16px;overflow-y:hidden;transition:height .2s ease}.carousel-slide{height:auto;align-items:flex-start}.carousel-slide img{width:100%;height:auto;object-fit:initial}.carousel-arrows{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:0 16px;pointer-events:none}.carousel-arrows button{pointer-events:auto;flex:0 0 44px;background:var(--glass);box-shadow:0 2px 12px #00000012;border-color:var(--line)}.carousel-arrows button:disabled{opacity:0;pointer-events:none}.carousel-bar{border-top:0;padding:4px 16px;background:var(--page)}.carousel-track:focus-visible{outline-offset:-3px}@media(max-width:760px){.carousel-track{border-radius:12px}.carousel-arrows{padding:0 8px}.carousel-bar{padding:4px 8px}}@media(prefers-reduced-motion:reduce){.carousel-track{transition:none}}

.hero h1 em{font-style:italic}

.product-icon{display:block;width:24px;height:24px;flex:0 0 24px}.project-index a{gap:12px}@media(max-width:760px){.product-icon{width:20px;height:20px;flex-basis:20px}.project-index a{gap:8px}}

/* Neutral themes share the same layout and retain original project imagery. */
:root{color-scheme:light;--page:#fff;--ink:#111;--strong:#000;--secondary:#555;--muted:#737373;--surface:#f5f5f5;--line:#dedede;--glass:#fffffff5}
:root[data-theme="dark"]{color-scheme:dark;--page:#111;--ink:#f5f5f5;--strong:#fff;--secondary:#c4c4c4;--muted:#aaa;--surface:#202020;--line:#393939;--glass:#111111f5}
.theme-toggle{position:fixed;top:20px;right:24px;z-index:20;display:flex;align-items:center;justify-content:center;gap:8px;min-width:104px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:var(--page);color:var(--ink);font-size:12px;cursor:pointer}
.theme-toggle:hover{background:var(--surface)}.theme-toggle svg{width:18px;height:18px}.theme-toggle .sun{display:none}[data-theme="dark"] .theme-toggle .sun{display:block}[data-theme="dark"] .theme-toggle .moon{display:none}
.hush-visual{background:#111}.skip{z-index:30}
@media(max-width:760px){.theme-toggle{top:10px;right:16px;min-width:44px;padding:10px}.theme-toggle .theme-label{display:none}.portfolio-sidebar .sidebar-links{padding-right:56px}}

/* Icon-only theme control at every screen size. */
.theme-toggle{min-width:44px;width:44px;height:44px;padding:10px}.theme-toggle .theme-label{display:none}

/* Reveal bare chevrons on pointer hover or keyboard focus. */
.carousel-arrows button{opacity:0;background:transparent;border:0;box-shadow:none;color:#fff;display:grid;place-items:center;transition:opacity .15s ease,background .15s ease,color .15s ease}
.carousel-arrows button svg{width:22px;height:22px;filter:drop-shadow(0 1px 2px rgb(0 0 0 / .24))}
.carousel-arrows button:hover:not(:disabled),.carousel-arrows button:focus-visible:not(:disabled){background:var(--surface);color:var(--ink)}
.carousel-arrows button:hover svg,.carousel-arrows button:focus-visible svg{filter:none}
.carousel-stage:hover .carousel-arrows button:not(:disabled),.carousel-stage:focus-within .carousel-arrows button:not(:disabled){opacity:1}
@media(hover:none),(pointer:coarse){.carousel-arrows button:not(:disabled){opacity:1}}
@media(prefers-reduced-motion:reduce){.carousel-arrows button{transition:none}}

.carousel-dots{grid-column:2}.carousel-bar{position:relative}

.single-page .footer{padding:40px 0 32px}.footer-bottom{margin-top:0}

/* Contact links respond to pointer hover and keyboard focus in both themes. */
.sidebar-links a{color:var(--secondary);text-decoration-line:underline;text-decoration-color:transparent;text-underline-offset:5px;text-decoration-thickness:1px;transition:color .15s ease,text-decoration-color .15s ease}
.sidebar-links a:hover,.sidebar-links a:focus-visible{color:var(--strong);text-decoration-color:currentColor}
@media(prefers-reduced-motion:reduce){.sidebar-links a{transition:none}}

.project-index .about-index-link{margin-bottom:24px;min-height:64px}
@media(max-width:760px){.project-index{display:flex;align-items:center;gap:4px}.project-index .about-index-link{margin:0;min-height:44px;flex-shrink:0}.project-index [data-index]{flex-shrink:0}}

.carousel-slide video{display:block;width:100%;height:auto;flex-shrink:0;background:#111}

/* Keep a stable frame as visitors move between images and videos. */
.carousel-track{aspect-ratio:16/9!important;align-items:stretch;transition:none;background:var(--surface)}
.carousel-slide{height:100%;align-items:center}
.carousel-slide img,.carousel-slide video{width:100%;height:100%;object-fit:contain;background:transparent}

.project-logo{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;overflow:hidden;border-radius:6px}
.project-logo img{display:block;width:100%;height:100%;object-fit:contain}.meta-logo{background:#fff}.meta-logo img{width:44px;height:44px;max-width:none;flex-shrink:0}
@media(max-width:760px){.project-logo{width:24px;height:24px;flex-basis:24px}.meta-logo img{width:38px;height:38px}}

.workrooms-logo img{object-fit:cover;object-position:center;transform:scale(1.18)}

/* Fill the stable carousel frame edge to edge for every media format. */
.carousel-slide img,.carousel-slide video{object-fit:cover;object-position:center}

.skyscanner-logo img{object-fit:cover;transform:scale(1.65)}

.experiments-coming-soon{font-size:clamp(48px,7vw,88px);line-height:1.08;font-weight:400;letter-spacing:-.055em;margin:64px 0 120px;color:var(--ink)}

/* A quiet tonal panel separates navigation from the page. */
:root{--sidebar-panel:#f7f7f7}
:root[data-theme="dark"]{--sidebar-panel:#191919}
.portfolio-sidebar{isolation:isolate;background:var(--sidebar-panel)}
.portfolio-sidebar::before{content:"";position:absolute;top:0;bottom:0;right:-24px;width:100vw;background:var(--sidebar-panel);z-index:-1;pointer-events:none}
@media(max-width:1100px){.portfolio-sidebar::before{right:-16px}}
.playful-type{appearance:none;border:0;background:none;padding:20px 0;margin:-20px 0;font:inherit;letter-spacing:inherit;color:inherit;text-align:left;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.playful-type:focus-visible{outline:2px solid currentColor;outline-offset:16px;border-radius:4px}
.playful-word{display:inline-block;white-space:nowrap}
.letter-slot,.playful-letter{display:inline-block}
.playful-letter{transform-origin:50% 75%;pointer-events:none}
@media(prefers-reduced-motion:reduce){.playful-letter{transform:none!important}}

/* Clear hover contrast against the quiet sidebar panel. */
:root{--sidebar-hover:#e5e5e5}
:root[data-theme="dark"]{--sidebar-hover:#303030}
.project-index a:not([aria-current="location"]):hover,.project-index a:not([aria-current="location"]):focus-visible{background:var(--sidebar-hover)}

/* Preserve the full AR tooling demos, including the animated overview. */
#ar-creation .carousel-slide{background:#f9f9f9}
#ar-creation .carousel-slide video,#ar-creation .carousel-slide img[src$=".gif"]{object-fit:contain;background:#f9f9f9}
/* Flat cobalt lettering keeps the playful motion. */
.playful-type{font-weight:400;letter-spacing:-.055em}
.playful-letter,[data-theme="dark"] .playful-letter{color:var(--ink);text-shadow:none}

/* A diffused cursor glow washes across the flat letter shapes. */
.playful-letter{position:relative;padding-block:.18em;margin-block:-.18em}
@property --letter-glow{syntax:"<number>";inherits:false;initial-value:0}
.playful-letter,[data-theme="dark"] .playful-letter{--letter-glow:0;color:transparent;-webkit-text-fill-color:transparent;background-image:radial-gradient(circle 175px at var(--glow-x,-200px) var(--glow-y,-200px),rgb(242 140 207 / var(--letter-glow)) 0%,rgb(196 162 242 / var(--letter-glow)) 27%,rgb(138 67 218 / var(--letter-glow)) 50%,rgb(0 71 213 / var(--letter-glow)) 73%,rgb(0 71 213 / 0) 100%),linear-gradient(var(--ink),var(--ink));background-clip:text;-webkit-background-clip:text;transition:--letter-glow .9s ease}
.playful-type.is-lit .playful-letter{--letter-glow:1;transition-duration:.25s}
@media(prefers-reduced-motion:reduce){.playful-letter{transition:none}}


/* Keep the expandable working principles together in one quiet card. */
.about-more{background:var(--surface);border-radius:16px;padding:0 24px}
.about-more summary{padding:22px 0;gap:24px}
.about-more[open]{padding-bottom:24px}
.about-more .principles{margin-top:8px}
.about-more .speaking div:last-child{padding-bottom:0}
@media(max-width:600px){.about-more{padding-left:20px;padding-right:20px}}

@media(min-width:761px){
.single-page .intro-about{padding-top:var(--about-top,185px)}
.single-page .intro-about h1{margin-top:0}
}

@media(min-width:761px){.theme-toggle{top:var(--theme-top,38px)}}

.theme-toggle{border:0;box-shadow:none}

.about-avatar{width:36px;height:36px;object-fit:cover;border-radius:50%;flex-shrink:0}

#ar-creation .carousel-slide video{padding:20px 0}

.sidebar-links{gap:4px}
.sidebar-links a{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;text-decoration:none;color:var(--ink);transition:background .15s ease,color .15s ease}
.sidebar-links a svg{width:18px;height:18px}
.sidebar-links a:hover,.sidebar-links a:focus-visible{background:var(--sidebar-hover);text-decoration:none}

.sidebar-links a:last-child{display:inline-flex}

/* Restore simple contact text links. */
.sidebar-links{gap:20px}
.sidebar-links a,.sidebar-links a:last-child{display:inline;width:auto;height:auto;border-radius:0;color:var(--secondary);text-decoration-line:underline;text-decoration-color:transparent;text-underline-offset:5px;text-decoration-thickness:1px}
.sidebar-links a:hover,.sidebar-links a:focus-visible{background:transparent;color:var(--strong);text-decoration-line:underline;text-decoration-color:currentColor}
@media(max-width:1100px){.sidebar-links{gap:16px}}

/* Keep the portrait prototype intact inside a contemporary iPhone frame. */
#ar-shopping .shopping-phone-slide{display:flex;align-items:center;justify-content:center;background:#f9f9f9;padding:3%}
.shopping-phone{position:relative;height:100%;aspect-ratio:886/1920;padding:7px;border-radius:clamp(14px,3vw,38px);background:linear-gradient(110deg,#b8b9bc,#414246 18%,#121314 50%,#828489 85%,#dedee0);box-shadow:0 12px 24px #0002,0 0 0 1px #555;box-sizing:content-box;max-height:calc(100% - 14px)}
.shopping-phone-screen{height:100%;width:100%;overflow:hidden;border-radius:clamp(10px,2.5vw,31px);background:#000}
#ar-shopping .shopping-phone-screen video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.shopping-phone-island{position:absolute;top:2.2%;left:37%;width:26%;height:2.5%;border-radius:20px;background:#000;box-shadow:inset 0 0 0 1px #161616}
.shopping-phone:after{content:"";position:absolute;right:-3px;top:28%;height:10%;width:3px;border-radius:0 2px 2px 0;background:#65666a}

#ar-shopping img[src$="ar-shopping-laura-mercier.jpg"]{object-fit:contain;padding:24px 0;background:#fff;box-sizing:border-box}
#virtual-office video:has(source[src$="workrooms-mkbhd.mp4"]){object-fit:contain;background:#f9f9f9}

/* Rounded graphite hardware, matching the preceding camera prototype. */
#ar-shopping .shopping-phone-slide{background:#fff;padding:5%}
.shopping-phone{padding:9px;border:2px solid #101010;border-radius:clamp(20px,4vw,44px);background:linear-gradient(90deg,#151515 0%,#797979 2%,#222 4%,#080808 8%,#141414 91%,#686868 96%,#1b1b1b 100%);box-shadow:inset 0 2px 1px #b3b3b3,inset 0 -3px 2px #686868,inset 3px 0 2px #999,inset -3px 0 2px #888,0 0 0 1px #555,0 9px 8px -7px #0008;max-height:calc(100% - 22px)}
.shopping-phone-screen{border-radius:clamp(14px,3.4vw,35px);box-shadow:0 0 0 2px #050505,0 0 0 4px #393939,inset 0 0 5px #000}
.shopping-phone-island{top:3%;left:41%;width:18%;height:1%;background:linear-gradient(#141414,#242424,#111);box-shadow:0 0 0 1px #080808}
.shopping-phone-island:after{content:"";position:absolute;left:125%;top:-50%;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#294862 0%,#0b2336 30%,#05080b 60%);box-shadow:0 0 0 1px #202326}
.shopping-phone:before{content:"";position:absolute;left:-4px;top:24%;width:3px;height:7%;border-radius:2px 0 0 2px;background:linear-gradient(90deg,#777,#111);box-shadow:0 40px 0 #454545}
.shopping-phone:after{right:-4px;background:linear-gradient(90deg,#111,#888);height:12%;box-shadow:0 0 0 1px #222}

/* Show both Workrooms design boards in full. */
#virtual-office img[src*="workrooms-pui-concept.png"],
#virtual-office img[src$="workrooms-design-system.png"]{object-fit:contain;padding:20px;box-sizing:border-box;background:#f9f9f9}

#virtual-office .carousel-slide:has(img[src*="workrooms-pui-concept.png"]){display:flex;align-items:center;justify-content:center;background:#f9f9f9}
#virtual-office img[src*="workrooms-pui-concept.png"]{width:calc(100% - 40px);height:auto;max-height:100%;padding:0;border-radius:12px;object-fit:contain}

/* Let even the final mobile project align at the left of the navigation strip. */
@media(max-width:760px){.project-index [data-index]{padding-right:calc(100vw - 120px)}}
