@font-face { font-family: 'Space Grotesk'; src: url('../vendor/space-grotesk/latin.woff2') format('woff2'); font-style: normal; font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../vendor/cormorant-garamond/normal.woff2') format('woff2'); font-style: normal; font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../vendor/cormorant-garamond/italic.woff2') format('woff2'); font-style: italic; font-weight: 500; font-display: swap; }
:root { --canvas: #f6f7f5; --surface: #fff; --soft: #e9ece7; --ink: #20251f; --muted: #565e54; --quiet: #687163; --line: #d3d8ce; --accent: #466429; --accent-soft: #e1edce; --coral: #be5037; --stage: #e3e7df; --positive: #406343; --signal: #def790; --display: 'Space Grotesk', Arial, sans-serif; }
[data-theme="dark"] { --canvas: #121410; --surface: #1b1e18; --soft: #21251d; --ink: #f3f5ee; --muted: #b6bdae; --quiet: #9ba791; --line: #343c2b; --accent: #def790; --accent-soft: #303b22; --coral: #f9a387; --stage: #20251c; --positive: #bdcf99; }
body { font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif; }
.container { width: min(1280px, calc(100% - 96px)); }
.navbar { background: var(--canvas); border-bottom-color: var(--line); }
.nav-inner { min-height: 76px; }
.nav-logo { font-size: 20px; }
.logo-period { color: var(--coral); }
.nav-menu { gap: 25px; }
.nav-link { font-size: 12px; border-bottom-width: 1px; }
.nav-link.active { border-color: var(--coral); }
.language-switch { border: none; padding-right: 0; }
.language-switch .active { background: none; text-decoration: underline; text-underline-offset: 5px; }
.icon-btn { border-radius: 50%; }
.btn { border-radius: 2px; font-weight: 500; }
.btn-primary { background: var(--ink); color: var(--canvas); border-color: var(--ink); box-shadow: none; }
.btn-primary:hover { background: var(--accent); color: var(--canvas); border-color: var(--accent); }
.section-badge, .panel-kicker { font: 11px/1.5 'Space Grotesk', sans-serif; font-weight: 500; }
.section { padding-block: 96px; }
.text-link { font-size: 13px; font-weight: 500; }
.playground-hero { position: relative; padding: 27px 0 0; overflow: clip; }
.motion-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; }
.playground-intro { color: var(--muted); }
.motion-location { color: var(--muted); }
.motion-location span { margin-left: 15px; color: var(--quiet); }
.motion-scene { height: min(400px, 40svh); min-height: 260px; position: relative; isolation: isolate; }
.sculpture-canvas, .sculpture-poster { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.sculpture-canvas { opacity: 0; cursor: grab; touch-action: pan-y; transition: opacity 450ms; outline-offset: -6px; }
.sculpture-canvas:active { cursor: grabbing; }
.sculpture-poster { object-fit: contain; pointer-events: none; }
.motion-scene[data-scene-state="ready"] .sculpture-canvas { opacity: 1; }
.motion-scene[data-scene-state="ready"] .sculpture-poster { opacity: 0; }
.motion-scene[data-scene-state="fallback"] .sculpture-canvas { visibility: hidden; }
.scene-controls { position: absolute; right: max(48px,calc((100% - 1280px)/2)); top: 48%; display: flex; gap: 6px; }
.scene-controls .icon-btn { border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.scene-index { position: absolute; left: max(48px,calc((100% - 1280px)/2)); top: 51%; font-size: 11px; color: var(--ink); }
.scene-index span { margin-left: 26px; color: var(--quiet); }
.motion-identity { text-align: center; position: relative; }
.motion-discipline { font-size: 11px; text-transform: uppercase; color: var(--ink); }
.motion-discipline span { color: var(--quiet); margin-left: 7px; }
.playground-name { font-family: var(--display); font-size: 100px; line-height: 1.03; font-weight: 500; padding: 10px 0 25px; text-wrap: balance; }
.playground-name em { font-weight: 500; color: var(--coral); }
.motion-baseline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 35px; border-top: 1px solid var(--line); padding: 20px 0 24px; }
.motion-baseline > p { max-width: 310px; font-size: 11px; line-height: 1.7; text-align: left; }
.motion-explore { display: flex; align-items: center; gap: 18px; font-size: 12px; min-height: 44px; }
.motion-explore span { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; transition: background 200ms, transform 200ms; }
.motion-explore:hover span { transform: translateY(3px); color: var(--canvas); background: var(--ink); }
.motion-baseline .availability { justify-self: end; text-align: left; font-size: 11px; color: var(--muted); }
.availability-dot { background: var(--coral); }
.home-work { padding-top: 40px; }
.editorial-heading { align-items: end; }
.editorial-heading h2 { font-family: var(--display); font-weight: 500; font-size: 64px; line-height: 1.05; }
.editorial-heading p { font-size: 13px; max-width: 620px; }
.editorial-heading > .text-link { border-bottom: 1px solid var(--line); }
.work-browser { padding-bottom: 96px; }
.work-controls { gap: 24px; }
.work-filter-btn { font-size: 12px; border-radius: 0; position: relative; }
.work-filter-btn.active { color: var(--ink); background: transparent; box-shadow: inset 0 -1px var(--coral); }
.work-view-btn.active { border-color: var(--line); background: var(--soft); }
.work-result-count { font-size: 10px; margin-block: 17px 28px; }
.portfolio-index-grid { gap: 48px 30px; }
.project-media-wrap { isolation: isolate; }
.portfolio-index-media { border-radius: 0; background: var(--stage); border: 1px solid var(--line); aspect-ratio: 1.65; }
.portfolio-index-media img { object-fit: contain; padding: 18px; transition: transform 650ms cubic-bezier(.2,.7,.2,1); }
.portfolio-index-content { padding-top: 19px; }
.portfolio-index-content h2 { font-size: 25px; font-weight: 500; line-height: 1.3; }
.portfolio-index-meta { font-size: 10px; }
.portfolio-index-meta span:last-child { color: var(--coral); }
.portfolio-index-summary { font-size: 13px; }
.work-tags span { border-radius: 0; background: none; border: 1px solid var(--line); font-size: 10px; }
.portfolio-index-link { font-size: 12px; font-weight: 500; }
.exhibit-number { position: absolute; z-index: 2; top: 14px; left: 14px; width: 30px; height: 30px; display: grid; place-items: center; font-size: 10px; background: var(--surface); color: var(--muted); border-radius: 50%; pointer-events: none; }
.project-open, .project-preview { border-radius: 50%; border: 1px solid var(--line); width: 44px; height: 44px; background: var(--surface); color: var(--ink); box-shadow: none; }
.project-preview { right: 67px; }
.project-preview:hover, .project-open:hover { background: var(--ink); color: var(--canvas); }
.work-browser[data-view="gallery"] .portfolio-index-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px 18px; perspective: 1400px; }
.work-browser[data-view="gallery"] .portfolio-index-media { aspect-ratio: .79; transform-origin: 50% 100%; transition: transform 600ms cubic-bezier(.2,.7,.2,1), border-color 300ms; }
.work-browser[data-view="gallery"] .portfolio-index-media img { object-fit: contain; padding: 10px; }
.work-browser[data-view="gallery"] .portfolio-index-content h2 { font-size: 18px; font-weight: 500; }
.work-browser[data-view="gallery"] .portfolio-index-meta { display: block; font-size: 9px; }
.work-browser[data-view="gallery"] .portfolio-index-meta span:last-child { display: none; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    .work-browser[data-view="gallery"] .portfolio-index-card:hover .portfolio-index-media, .work-browser[data-view="gallery"] .portfolio-index-card:focus-within .portfolio-index-media { transform: translateY(-10px) rotateX(3deg); border-color: var(--quiet); }
    .portfolio-index-media:hover img { transform: scale(1.045); }
}
.motion-story { background: var(--soft); border-block: 1px solid var(--line); }
.motion-section-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 36px; }
.motion-section-top .section-badge { margin: 0; }
.motion-story-layout { display: grid; grid-template-columns: minmax(220px,.6fr) 1.4fr; align-items: center; gap: 110px; }
.motion-portrait { max-width: 280px; }
.motion-portrait img { width: 100%; aspect-ratio: 4/5; height: auto; object-fit: cover; filter: grayscale(100%); }
.motion-portrait > span { display: block; font-size: 10px; color: var(--muted); margin-top: 13px; }
.motion-story-copy h2 { font-family: var(--display); font-weight: 500; font-size: 58px; line-height: 1.05; }
.motion-story-copy h2 em { color: var(--quiet); font-weight: 500; }
.motion-story-copy > p { max-width: 560px; margin: 24px 0 14px; font-size: 14px; }
.motion-practice { margin-top: 66px; }
.practice-disclosure { border-top: 1px solid var(--line); }
.practice-disclosure:last-child { border-bottom: 1px solid var(--line); }
.practice-disclosure summary { display: flex; align-items: center; gap: 44px; padding: 24px 0; cursor: pointer; list-style: none; }
.practice-disclosure summary::-webkit-details-marker { display: none; }
.practice-disclosure summary > span { color: var(--quiet); font-size: 11px; }
.practice-disclosure h3 { font-size: 25px; font-weight: 400; }
.practice-disclosure summary > i { margin-left: auto; font-size: 14px; color: var(--muted); transition: transform 200ms; }
.practice-disclosure[open] summary > i { transform: rotate(45deg); }
.practice-disclosure > div { padding: 0 45px 25px 60px; max-width: 820px; }
.practice-disclosure p { font-size: 14px; }
.practice-disclosure .practice-tools { font-size: 11px; color: var(--quiet); margin: 15px 0 5px; }
.recognition-item { grid-template-columns: 90px 1fr 22px; }
.recognition-item h3 { font-weight: 400; font-size: 22px; }
.recognition-item > i { color: var(--coral); }
.recognition-item p { font-size: 12px; }
.final-cta { background: var(--soft); padding-block: 88px; }
.final-cta h2 { font-family: var(--display); font-size: 70px; font-weight: 500; line-height: 1.07; max-width: 860px; }
.cta-arrow { width: 106px; height: 106px; flex-basis: 106px; border-color: var(--quiet); transition: transform 250ms,background 250ms; }
.cta-arrow:hover { transform: rotate(8deg); }
.cta-email { font-size: 14px; color: var(--muted); }
.footer { padding-top: 46px; }
.whatsapp-float { width: 44px; height: 44px; font-size: 22px; }
.about-hero h1, .portfolio-index-hero h1, .skills-hero h1, .notes-hero h1, .contact-hero h1 { font-family: var(--display); font-size: 76px; font-weight: 500; line-height: 1.06; }
.about-hero p, .portfolio-index-hero p, .skills-hero p, .notes-hero p, .contact-hero p { font-size: 15px; }
.about-profile-card > img { border-radius: 0; }
.section-heading h2 { font-family: var(--display); font-size: 48px; font-weight: 500; }
.about-story h2 { font-family: var(--display); font-weight: 500; font-size: 43px; }
.about-service-item > i, .capability-card > span, .detail-fact-card i { color: var(--coral); }
.capability-card, .skill-matrix-card, .education-card, .experience-card { border-radius: 0; }
.skill-context-chip { border-radius: 0; }
.skill-matrix-head > i, .experience-date { color: var(--coral); }
.note-media, .contact-intake-card, .detail-visual-card { border-radius: 0; }
.note-title { font-weight: 500; }
.note-link { font-size: 12px; }
.detail-hero h1 { font-family: var(--display); font-weight: 500; }
.detail-outcome-card { border-left-color: var(--coral); }
.reading-progress { position: fixed; height: 2px; background: var(--coral); width: 100%; left: 0; top: 0; z-index: 100; transform-origin: left; transform: scaleX(0); pointer-events: none; }
.project-inspector { padding: 0; width: min(1120px,calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 4px; background: var(--canvas); color: var(--ink); }
.project-inspector::backdrop { background: #08090bdd; backdrop-filter: blur(8px); }
.project-preview-open { overflow: hidden; }
.inspector-top, .inspector-bottom { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px; gap: 20px; }
.inspector-top { border-bottom: 1px solid var(--line); }
.inspector-top p, .inspector-bottom > span { font-size: 11px; color: var(--muted); }
.inspector-body { display: grid; grid-template-columns: 1.3fr 1fr; }
.inspector-image { width: 100%; height: 430px; object-fit: contain; padding: 24px; background: var(--stage); }
.inspector-copy { padding: 36px; display: flex; flex-direction: column; align-items: start; gap: 22px; }
.inspector-copy h2 { font-family: var(--display); font-size: 39px; font-weight: 500; line-height: 1.08; }
.inspector-copy p { font-size: 14px; }
.inspector-copy .work-tags { margin-top: 0; }
.inspector-copy .btn { margin-top: auto; }
.inspector-bottom { border-top: 1px solid var(--line); }
.inspector-arrows { display: flex; gap: 8px; }
.inspector-arrows .icon-btn { border: 1px solid var(--line); }
@media (min-width:1700px) { .motion-scene { height: min(510px,46svh); } .playground-name { font-size: 116px; } }
@media (max-width:1100px) {
    .container { width: calc(100% - 56px); }
    .nav-menu { gap: 17px; }
    .playground-name { font-size: 82px; }
    .scene-controls { right: 28px; }
    .scene-index { left: 28px; }
    .motion-story-layout { gap: 65px; }
    .motion-story-copy h2 { font-size: 48px; }
    .work-browser[data-view="gallery"] .portfolio-index-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .work-browser[data-view="gallery"] .portfolio-index-media { aspect-ratio: 1.35; }
}
@media (max-width:760px) {
    .container { width: calc(100% - 40px); }
    .nav-inner { min-height: 72px; gap: 12px; }
    .nav-menu { gap: 6px; }
    .nav-link { font-size: 16px; }
    .nav-logo { font-size: 18px; gap: 6px; }
    .whatsapp-float { display: none; }
    .section { padding-block: 62px; }
    .playground-hero { padding-top: 18px; }
    .motion-topline { font-size: 10px; align-items: start; gap: 20px; }
    .playground-intro { max-width: 150px; }
    .motion-location { max-width: 115px; text-align: right; }
    .motion-location span { display: block; margin-left: 0; }
    .motion-scene { height: 280px; min-height: 0; }
    .scene-controls { top: auto; bottom: 6px; right: 20px; }
    .scene-controls .icon-btn { width: 44px; height: 44px; flex-basis: 44px; border: 0; }
    .scene-index { top: auto; bottom: 22px; left: 20px; font-size: 9px; }
    .scene-index span { margin-left: 12px; }
    .motion-discipline { font-size: 9px; }
    .playground-name { font-size: 58px; padding: 16px 0 22px; }
    .playground-name em { display: block; }
    .motion-baseline { grid-template-columns: 1fr auto; padding: 14px 0 22px; gap: 12px 15px; }
    .motion-baseline > p { font-size: 10px; grid-column: 1/-1; text-align: center; max-width: none; }
    .motion-explore { font-size: 11px; gap: 12px; }
    .motion-baseline .availability { font-size: 10px; max-width: 145px; }
    .home-work { padding-top: 44px; }
    .editorial-heading { gap: 20px; }
    .editorial-heading h2 { font-size: 43px; }
    .editorial-heading p { font-size: 12px; }
    .work-browser { padding-bottom: 60px; }
    .work-controls { gap: 10px; }
    .work-filter-btn { padding-inline: 10px; font-size: 11px; }
    .portfolio-index-grid { gap: 34px; }
    .portfolio-index-content h2 { font-size: 24px; }
    .portfolio-index-media img { padding: 10px; }
    .work-browser[data-view="gallery"] .portfolio-index-grid { gap: 28px 12px; }
    .work-browser[data-view="gallery"] .portfolio-index-media { aspect-ratio: .77; }
    .work-browser[data-view="gallery"] .portfolio-index-content h2 { font-size: 15px; }
    .work-browser[data-view="gallery"] .portfolio-index-meta { font-size: 9px; }
    .work-browser[data-view="gallery"] .portfolio-index-meta span:first-child { display: block; }
    .work-browser[data-view="gallery"] .portfolio-index-media img { padding: 5px; }
    .work-browser[data-view="gallery"] .exhibit-number { top: 8px; left: 8px; width: 24px; height: 24px; font-size: 9px; }
    .work-browser[data-view="gallery"] .project-preview, .work-browser[data-view="gallery"] .project-open { bottom: 8px; width: 44px; height: 44px; font-size: 12px; border-radius: 2px; }
    .work-browser[data-view="gallery"] .project-preview { right: auto; left: 8px; }
    .work-browser[data-view="gallery"] .project-open { right: 8px; }
    .motion-section-top { gap: 18px; margin-bottom: 30px; }
    .motion-section-top .section-badge { font-size: 10px; }
    .motion-story-layout { grid-template-columns: 1fr; gap: 28px; }
    .motion-portrait { max-width: 160px; }
    .motion-story-copy h2 { font-size: 43px; }
    .motion-story-copy > p { font-size: 13px; }
    .motion-practice { margin-top: 38px; }
    .practice-disclosure summary { gap: 19px; padding-block: 22px; }
    .practice-disclosure h3 { font-size: 20px; }
    .practice-disclosure > div { padding-inline: 33px 0; }
    .practice-disclosure p { font-size: 13px; }
    .recognition-item { grid-template-columns: 45px 1fr; gap: 15px; }
    .recognition-item h3 { font-size: 17px; }
    .recognition-item > i { display: none; }
    .final-cta { padding-block: 60px; }
    .final-cta h2 { font-size: 46px; }
    .cta-arrow { width: 64px; height: 64px; flex-basis: 64px; font-size: 22px; }
    .about-hero h1, .portfolio-index-hero h1, .skills-hero h1, .notes-hero h1, .contact-hero h1 { font-size: 52px; }
    .section-heading h2 { font-size: 38px; }
    .about-story h2 { font-size: 35px; }
    .project-inspector { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
    .inspector-body { grid-template-columns: 1fr; }
    .inspector-image { height: 230px; padding: 14px; }
    .inspector-copy { padding: 23px; gap: 16px; }
    .inspector-copy h2 { font-size: 33px; }
}
@media (max-width:390px) { .playground-name { font-size: 51px; } .motion-scene { height: 245px; } .motion-story-copy h2 { font-size: 39px; } .motion-topline { font-size: 9px; } }
@media (max-width:350px) { .playground-name { font-size: 45px; } .motion-scene { height: 215px; } .motion-baseline .availability { max-width: 122px; } .motion-explore { gap: 6px; } .motion-story-copy h2 { font-size: 34px; } .final-cta h2 { font-size: 40px; } }
@media (max-height:600px) and (min-width:600px) {
    .nav-inner { min-height: 62px; }
    .playground-hero { padding-top: 12px; }
    .motion-scene { height: min(150px,32svh); min-height: 0; }
    .playground-name { font-size: 54px; padding: 6px 0 12px; }
    .motion-baseline { padding: 10px 0; }
    .motion-baseline > p { font-size: 10px; }
    .home-work { padding-top: 24px; }
}
@media (max-height:480px) and (min-width:600px) { .motion-topline { display: none; } .playground-hero { padding-top: 0; } }
@media (prefers-reduced-motion:reduce) { .reading-progress { display: none; } .sculpture-canvas, .portfolio-index-media, .portfolio-index-media img { transition: none; } }

/* The workroom is the primary experience; project images are the scene itself. */
.workroom-hero { overflow: clip; }
.workroom-masthead { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 24px; padding-bottom: 16px; }
.workroom-title .playground-intro { font-size: 11px; margin-bottom: 4px; }
.workroom-title h1 { display: flex; align-items: baseline; flex-wrap: wrap; font-size: 100px; font-weight: 600; line-height: 1.05; }
.title-dot { color: var(--accent); }
.workroom-surname { display: block; margin-left: 22px; max-width: 210px; font-size: 27px; font-weight: 400; line-height: 1.1; color: var(--quiet); }
.workroom-introduction { max-width: 285px; }
.workroom-introduction > p { color: var(--ink); font-size: 13px; line-height: 1.65; }
.workroom-introduction .availability { font-size: 11px; color: var(--muted); margin-top: 12px; }
.availability-dot { background: var(--accent); }
.workroom { position: relative; }
.workroom-toolbar { display: flex; align-items: center; justify-content: space-between; height: 48px; position: relative; z-index: 2; }
.room-edition { font: 10px/1.5 'Space Grotesk',sans-serif; color: var(--quiet); }
.room-modes { display: flex; gap: 5px; }
.room-modes .icon-btn { width: 40px; flex-basis: 40px; height: 40px; color: var(--muted); border-radius: 4px; font-size: 13px; }
.room-modes [aria-pressed="true"] { color: var(--ink); background: var(--soft); }
.room-viewport { position: relative; height: min(360px,calc(100svh - 570px)); min-height: 140px; touch-action: pan-y; isolation: isolate; }
.room-canvas { display: block; width: 100%; height: 100%; position: absolute; inset: 0; opacity: 0; cursor: grab; touch-action: pan-y; outline-offset: -5px; }
.room-canvas:active { cursor: grabbing; }
.workroom[data-state="ready"] .room-canvas { opacity: 1; }
.workroom[data-state="fallback"] .room-canvas { visibility: hidden; }
.room-fallback { position: absolute; inset: 5% 10%; display: flex; align-items: center; justify-content: center; pointer-events: auto; }
.room-fallback a { height: 100%; width: min(600px,100%); display: grid; place-items: center; }
.room-fallback a > span { font-size: 24px; }
.room-fallback img { width: 100%; height: 100%; object-fit: contain; }
.workroom[data-state="ready"] .room-fallback { opacity: 0; pointer-events: none; }
.room-edge { position: absolute; top: 39%; color: var(--quiet); font-size: 9px; line-height: 1.8; pointer-events: none; z-index: 1; }
.room-edge-left { left: max(20px,calc((100% - 1360px)/2)); }
.room-edge-right { right: max(20px,calc((100% - 1360px)/2)); display: flex; flex-direction: column; align-items: center; }
.room-edge-right [data-room-index] { font-size: 31px; color: var(--ink); font-weight: 500; }
.room-caption { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 4px; padding-bottom: 14px; min-height: 85px; }
.room-meta { display: block; color: var(--quiet); font-size: 10px; margin-bottom: 6px; }
.room-caption h2 { font-size: 24px; font-weight: 500; line-height: 1.2; }
.room-caption-copy { min-width: 0; }
.room-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.room-actions .btn { font-size: 12px; background: var(--signal); color: #20251f; border-color: var(--signal); }
.room-actions .btn:hover { background: #cce779; transform: none; }
.room-arrows { display: flex; gap: 4px; }
.room-arrows .icon-btn { border: 1px solid var(--line); border-radius: 50%; font-size: 12px; }
.room-enhanced .room-fallback-link { display: none; }
.room-tray { display: flex; gap: 0; overflow-x: auto; padding-block: 2px 16px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.room-tray button { flex: 1 0 0; min-width: 110px; max-width: 190px; display: flex; gap: 9px; align-items: center; text-align: left; color: var(--quiet); background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 12px 0 0; min-height: 48px; line-height: 1.35; transition: color 180ms,border-color 180ms; }
.room-tray button > span:first-child { font-size: 10px; flex-shrink: 0; }
.room-tray button > span:last-child { font-size: 10px; max-width: 120px; }
.room-tray button[aria-pressed="true"] { color: var(--ink); border-top: 2px solid var(--accent); }
.room-tray button:hover { color: var(--accent); }
.workroom-bottom { border-top: 1px solid var(--line); }
.workroom-bottom > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 62px; font-size: 11px; }
.workroom-bottom a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; }
.workroom-bottom a:hover { color: var(--accent); }
.workroom-bottom > div > span { color: var(--muted); }
.editorial-heading h2 { font-size: 50px; line-height: 1.12; font-weight: 500; }
.home-work { padding-top: 58px; }
.portfolio-index-media { border: none; }
.work-browser[data-view="gallery"] .portfolio-index-media { aspect-ratio: 1.1; }
.work-browser[data-view="gallery"] .portfolio-index-media img { padding: 14px; }
.exhibit-number { border-radius: 0; background: none; font-size: 13px; color: var(--quiet); }
.work-browser[data-view="gallery"] .portfolio-index-content h2 { font-size: 18px; }
.motion-story-copy h2 { font-size: 50px; font-weight: 500; line-height: 1.13; }
.motion-story-copy h2 em { font-family: 'Cormorant',Georgia,serif; font-size: 58px; }
.final-cta h2 { font-size: 66px; font-weight: 500; }
.about-hero h1, .portfolio-index-hero h1, .skills-hero h1, .notes-hero h1, .contact-hero h1 { font-size: 64px; }
.project-inspector { width: min(1240px,calc(100% - 48px)); border-radius: 6px; }
.inspector-body { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); }
.inspector-image { height: 500px; padding: 30px; }
.inspector-copy { min-width: 0; padding: 30px; gap: 18px; }
.inspector-copy h2 { font-size: 31px; font-weight: 500; }
.inspector-facts { display: flex; gap: 30px; margin: 0; }
.inspector-facts dt { color: var(--quiet); font-size: 10px; margin-bottom: 5px; }
.inspector-facts dd { margin: 0; color: var(--ink); font-size: 12px; }
.inspector-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); width: 100%; }
.inspector-tabs button { padding: 10px 0; min-height: 44px; border: 0; background: none; color: var(--quiet); font-size: 12px; }
.inspector-tabs [aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px var(--accent); }
.inspector-panel { width: 100%; max-height: 195px; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; }
.inspector-panel p { font-size: 13px; }
.inspector-panel p + p { margin-top: 12px; }
.inspector-copy .work-tags { margin-block: 0; }
.project-inspector .inspector-top { position: sticky; top: 0; z-index: 3; background: var(--canvas); }
.project-inspector .inspector-bottom { position: sticky; bottom: 0; z-index: 3; background: var(--canvas); }
.command-palette { width: min(650px,calc(100% - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); color: var(--ink); max-height: min(650px,85dvh); }
.command-palette::backdrop { background: #090c0bd9; backdrop-filter: blur(12px); }
.command-head { position: sticky; top: 0; background: var(--canvas); padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 15px; z-index: 2; }
.command-head > i { color: var(--quiet); }
.command-head input { font: inherit; min-width: 0; width: 100%; background: transparent; border: none; padding: 7px 0; color: var(--ink); outline-offset: 3px; }
.command-results { padding: 12px; }
.command-result { display: flex; align-items: center; gap: 15px; width: 100%; min-height: 66px; padding: 9px 12px; border: none; background: none; text-align: left; border-radius: 4px; }
.command-result img { width: 66px; height: 43px; object-fit: contain; background: var(--soft); }
.command-result:hover, .command-result:focus-visible { background: var(--soft); }
.command-result > div { min-width: 0; flex: 1; }
.command-result strong { display: block; font-size: 14px; font-weight: 500; }
.command-result span { color: var(--quiet); font-size: 11px; }
.command-result > i { font-size: 12px; color: var(--quiet); }
.command-count { padding: 10px 24px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.command-empty { padding: 40px 24px; text-align: center; color: var(--muted); font-size: 14px; }
.contact-copy { margin-left: 12px; border: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.contact-copy[aria-label="Copied"], .contact-copy[aria-label="Tersalin"] { color: var(--accent); }
/* A fixed-height gallery track keeps expanding panels from shifting the page. */
.gallery-enhanced[data-view="gallery"] .portfolio-index-grid { align-items: start; gap: 26px 12px; }
.gallery-enhanced[data-view="gallery"] .portfolio-index-card { height: 435px; position: relative; isolation: isolate; padding: 10px; }
.gallery-enhanced[data-view="gallery"] .portfolio-index-card::before { content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: 340px; background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 0 0 4px var(--canvas),inset 0 0 0 5px var(--line); transition: height 550ms cubic-bezier(.2,.7,.2,1),border-color 300ms; }
.gallery-enhanced[data-view="gallery"] .portfolio-index-card::after { content: ''; position: absolute; bottom: 0; left: 28%; right: 28%; height: 2px; background: var(--accent); opacity: 0; transform: scaleX(.3); transition: opacity 300ms,transform 550ms; }
.gallery-enhanced[data-view="gallery"] .portfolio-index-card.gallery-active::before { height: 100%; border-color: var(--quiet); }
.gallery-enhanced[data-view="gallery"] .portfolio-index-card.gallery-active::after { opacity: 1; transform: scaleX(1); }
.gallery-enhanced[data-view="gallery"] .project-media-wrap { height: 225px; position: relative; transition: height 550ms cubic-bezier(.2,.7,.2,1); }
.gallery-enhanced[data-view="gallery"] .gallery-active .project-media-wrap { height: 290px; }
.gallery-enhanced[data-view="gallery"] .portfolio-index-media { width: 100%; max-width: 100%; height: 100%; aspect-ratio: auto; background: var(--soft); transform: none; opacity: 0; transition: opacity 350ms,transform 550ms; }
.gallery-enhanced[data-view="gallery"] .gallery-active .portfolio-index-media { opacity: 1; transform: none; }
.gallery-enhanced[data-view="gallery"] .portfolio-index-media img { padding: 8px; transform: none; }
.gallery-reveal { position: absolute; inset: 0; width: 100%; border: none; border-radius: 0; background: none; color: var(--quiet); cursor: pointer; z-index: 3; display: grid; place-items: center; }
.gallery-reveal > i { position: absolute; top: 10px; left: calc(50% - 22px); width: 44px; height: 44px; display: grid; place-items: center; font-size: 10px; transition: transform 350ms; }
.gallery-mark { font-family: 'Space Grotesk',sans-serif; font-weight: 700; font-size: 64px; font-style: italic; color: var(--muted); transition: opacity 220ms,transform 450ms; }
.gallery-mark > span { color: var(--coral); }
.gallery-active .gallery-reveal { bottom: auto; left: calc(50% - 22px); width: 44px; height: 44px; }
.gallery-active .gallery-reveal > i { top: 0; color: var(--ink); background: var(--surface); opacity: 0; }
.gallery-active .gallery-reveal:is(:hover,:focus-visible) > i { opacity: 1; }
.gallery-active .gallery-mark { opacity: 0; transform: translateY(-12px) scale(.8); pointer-events: none; }
.gallery-enhanced[data-view="gallery"] .exhibit-number { left: 50%; top: auto; bottom: -109px; transform: translateX(-50%); width: auto; height: 25px; font-size: 11px; color: var(--quiet); }
.gallery-enhanced[data-view="gallery"] .portfolio-index-content { position: relative; padding: 16px 8px 0; text-align: center; }
.gallery-enhanced[data-view="gallery"] .portfolio-index-content h2 { font-size: 14px; line-height: 1.45; font-weight: 600; max-width: 230px; margin: 0 auto; }
.gallery-enhanced[data-view="gallery"] .portfolio-index-meta { display: none; }
.gallery-enhanced[data-view="gallery"] .project-preview { z-index: 4; right: 10px; left: auto; bottom: 10px; opacity: 0; }
.gallery-enhanced[data-view="gallery"] .gallery-active .project-preview, .gallery-enhanced[data-view="gallery"] .project-preview:focus-visible { opacity: 1; }
.gallery-enhanced[data-view="gallery"] .project-open { display: none; }
@media (max-width:600px) {
    .gallery-enhanced[data-view="gallery"] .portfolio-index-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(270px,78%); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
    .gallery-enhanced[data-view="gallery"] .portfolio-index-card { scroll-snap-align: center; }
}
@media (prefers-reduced-motion:reduce) {
    .gallery-enhanced *, .gallery-enhanced ::before, .gallery-enhanced ::after { transition: none !important; }
}
@media (min-width:1800px) { .workroom-title h1 { font-size: 118px; } }
@media (max-width:1100px) { .workroom-title h1 { font-size: 76px; } .workroom-surname { font-size: 22px; max-width: none; margin-left: 0; flex-basis: 100%; } .workroom-introduction { max-width: 245px; } .room-edge { display: none; } }
@media (min-width:761px) and (max-width:1000px) {
    .nav-toggle { display: inline-flex; }
    .nav-menu { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 15px 28px; background: var(--canvas); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
    .nav-menu.active { display: flex; }
    .nav-link { font-size: 15px; border: 0; padding: 6px; }
}
@media (max-width:760px) {
    .workroom-masthead { display: block; padding-top: 20px; padding-bottom: 10px; }
    .workroom-title h1 { font-size: 67px; }
    .workroom-title .playground-intro { font-size: 10px; max-width: none; }
    .workroom-surname { font-size: 21px; max-width: none; margin-left: 0; margin-top: 3px; }
    .workroom-introduction { max-width: none; margin-top: 10px; }
    .workroom-introduction > p { font-size: 11px; max-width: 340px; }
    .workroom-introduction .availability { margin-top: 7px; font-size: 10px; }
    .workroom-toolbar { height: 50px; }
    .room-edition { font-size: 9px; }
    .room-modes .icon-btn { width: 44px; height: 44px; flex-basis: 44px; }
    .room-viewport { height: 195px; min-height: 0; }
    .workroom[data-mode="wall"] .room-viewport { height: 400px; }
    .room-fallback { inset: 8px 20px; }
    .room-caption { display: block; min-height: 134px; padding-block: 4px 12px; }
    .room-caption h2 { font-size: 21px; min-height: 27px; }
    .room-meta { font-size: 9px; }
    .room-actions { justify-content: space-between; gap: 12px; margin-top: 12px; }
    .room-actions .btn { min-height: 44px; padding: 10px 15px; font-size: 11px; }
    .room-tray { padding-bottom: 12px; }
    .room-tray button { min-width: 92px; padding-top: 8px; min-height: 48px; }
    .room-tray button > span:last-child { font-size: 9px; }
    .workroom-bottom > div { min-height: 54px; font-size: 10px; }
    .workroom-bottom > div > span { display: none; }
    .editorial-heading h2 { font-size: 37px; }
    .home-work { padding-top: 40px; }
    .work-browser[data-view="gallery"] .portfolio-index-media { aspect-ratio: .92; }
    .work-browser[data-view="gallery"] .portfolio-index-media img { padding: 5px; }
    .work-browser[data-view="gallery"] .portfolio-index-content h2 { font-size: 15px; }
    .motion-story-copy h2 { font-size: 35px; }
    .motion-story-copy h2 em { font-size: 43px; }
    .final-cta h2 { font-size: 42px; }
    .about-hero h1, .portfolio-index-hero h1, .skills-hero h1, .notes-hero h1, .contact-hero h1 { font-size: 44px; }
    .project-inspector { width: calc(100% - 20px); max-height: calc(100dvh - 24px); }
    .inspector-body { grid-template-columns: 1fr; }
    .inspector-image { height: 235px; padding: 16px; }
    .inspector-copy { padding: 22px; gap: 17px; }
    .inspector-copy h2 { font-size: 27px; }
    .inspector-panel { max-height: 190px; }
}
@media (max-width:480px) { .nav-logo > span { display: none; } .nav-inner { gap: 4px; } }
@media (max-width:360px) { .workroom-title h1 { font-size: 59px; } .workroom-surname { font-size: 19px; } .room-viewport { height: 180px; } .room-caption h2 { font-size: 19px; } }
@media (max-height:600px) and (min-width:600px) {
    .workroom-masthead { padding-block: 8px; }
    .workroom-title h1 { font-size: 54px; }
    .workroom-title .playground-intro { display: none; }
    .workroom-surname { font-size: 18px; max-width: 140px; }
    .workroom-introduction > p { font-size: 10px; }
    .workroom-introduction .availability { display: none; }
    .workroom-toolbar { height: 40px; }
    .room-viewport { height: 140px; min-height: 0; }
    .room-caption { min-height: 56px; padding-block: 4px; }
    .room-caption h2 { font-size: 19px; }
    .room-tray { display: none; }
    .workroom-bottom > div { min-height: 44px; }
}
