@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #1e1e1e;
  --paper: #f4f3f5;
  --muted: #cbc9ce;
  --blue: #304cff;
  --cyan: #00d8eb;
  --pink: #e957ef;
  --yellow: #fff000;
  --mono: 'Space Mono', 'Courier New', monospace;
  --sidebar-width: 330px;
  --hello-bar-height: 36px;
  --mobile-header-height: 0px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--paper); font-family: var(--mono); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
body.is-loading .collage-figure, body.is-loader-revealing .collage-figure { transition: none !important; }
.site-loader { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; overflow: hidden; background: var(--bg); color: var(--paper); }
.loader-pattern { position: absolute; inset: -2vh -2vw; display: grid; grid-template-columns: repeat(var(--loader-columns, 8), minmax(0, 1fr)); grid-template-rows: repeat(var(--loader-rows, 5), minmax(0, 1fr)); gap: clamp(2px, .7vw, 12px); }
.loader-tile { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; filter: blur(8px); animation: loader-tile-in .85s cubic-bezier(.18,.8,.24,1) both; animation-delay: var(--tile-delay, 0ms); }
.loader-center { position: relative; z-index: 1; display: grid; place-items: center; width: min(36vw, 360px); aspect-ratio: 1; border-radius: 50%; background: rgba(30,30,30,.72); box-shadow: 0 0 80px rgba(30,30,30,.5); backdrop-filter: blur(8px); }
.loader-ring { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.loader-ring-track, .loader-ring-progress { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.loader-ring-track { stroke: rgba(244,243,245,.9); }
.loader-ring-progress { stroke: url(#loader-ring-gradient); stroke-linecap: round; stroke-dasharray: 301.593; stroke-dashoffset: 301.593; }
.loader-brand-lockup { position: relative; z-index: 1; display: grid; gap: 8px; width: min(69.5%, 250px); }
.loader-brand-lockup img { display: block; width: 100%; height: auto; }
.loader-center .loader-brand-caption { display: block; width: 100%; margin: 0; color: var(--paper); font-size: clamp(11px, 1.15vw, 14px); line-height: 1.2; font-weight: 600; text-align: left; white-space: nowrap; }
.loader-center .loader-brand-caption::after { content: ""; display: inline-block; height: 1em; margin-left: 3px; vertical-align: -.12em; border-right: 1px solid currentColor; animation: typewriter-caret .8s steps(1, end) infinite; }
@media (max-width: 760px) { .loader-center { width: min(58vw, 300px); padding: 0; } .loader-brand-lockup { width: 69.5%; gap: 6px; } .loader-center .loader-brand-caption { font-size: 11px; } }
.loader-footer { position: absolute; z-index: 2; right: max(24px, env(safe-area-inset-right)); bottom: max(30px, env(safe-area-inset-bottom)); left: max(24px, env(safe-area-inset-left)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 9px 20px; max-width: 360px; margin-inline: auto; }
.loader-caption { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.loader-percentage { display: flex; gap: 2px; justify-self: end; margin: 0; color: var(--cyan); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.loader-progress { grid-column: 1 / -1; height: 2px; overflow: hidden; background: rgba(255,255,255,.24); }
.loader-progress span { display: block; width: 100%; height: 100%; background: var(--cyan); transform: scaleX(.01); transform-origin: left center; }
.site-loader.is-exiting { animation: loader-fade-blur .8s cubic-bezier(.22,.7,.25,1) forwards; }
@keyframes loader-tile-in { from { opacity: 0; filter: blur(8px); transform: scale(.72) rotate(var(--tile-start-rotation, -8deg)); } to { opacity: .75; filter: blur(0); transform: scale(1) rotate(var(--tile-rotation, 0deg)); } }
@keyframes loader-fade-blur { to { opacity: 0; filter: blur(22px); transform: scale(1.025); visibility: hidden; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.sidebar { position: fixed; z-index: 2; inset: var(--hello-bar-height) auto 0 0; width: var(--sidebar-width); padding: 52px 42px 40px 5.3vw; display: flex; flex-direction: column; background: linear-gradient(90deg, rgba(30,30,30,.98) 85%, rgba(30,30,30,.78)); }
.brand { display: grid; grid-template-columns: 48px 1fr; align-items: center; position: relative; width: 100%; min-height: 55px; }
.brand-logo { grid-column: 1 / -1; display: block; width: 100%; height: auto; }
.sidebar .brand { width: calc(var(--sidebar-width) + 10px - 5.3vw); }
.brand-mark { position: relative; z-index: 1; font-size: 47px; line-height: .8; font-weight: 700; letter-spacing: -9px; transform: skew(-12deg); }
.brand-wave { height: 32px; margin-left: -5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 48'%3E%3Cpath d='M0 25 18 8 32 38 48 7 61 35 77 12 91 36 107 4 122 34 138 12 153 37 169 5 186 35 204 8 220 37 235 13 250 32 267 4 284 38 302 8 318 34 334 11 349 38 366 5 380 34 395 11 411 37 428 8 443 35 459 13 475 36 492 7 510 35 520 20' fill='none' stroke='%2300cfea' stroke-width='1.3'/%3E%3Cpath d='M0 23 17 38 34 7 50 35 67 5 84 37 100 9 117 36 133 6 150 39 165 9 182 34 198 6 215 39 231 9 247 35 263 7 280 37 296 8 313 38 330 5 346 34 363 9 380 37 396 6 414 35 431 9 448 38 465 6 483 35 501 8 520 29' fill='none' stroke='%23304cff' stroke-width='1.3'/%3E%3Cpath d='M0 28 20 5 38 39 58 8 77 35 96 6 114 37 133 9 151 40 171 6 189 36 210 8 228 38 248 4 267 35 286 10 305 39 326 6 344 36 365 9 384 40 404 7 422 36 443 6 463 38 482 8 501 38 520 17' fill='none' stroke='%23aaa9ad' stroke-width='.8'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.brand-caption { grid-column: 1 / -1; margin-top: 6px; font-size: 14px; line-height: 1.2; font-weight: 600; white-space: nowrap; }
.sidebar .brand-caption { font-size: clamp(16px, 1.25vw, 18px); }
.brand-caption[data-typewriter]::after { content: ""; display: inline-block; height: 1em; margin-left: 3px; vertical-align: -.12em; border-right: 1px solid currentColor; animation: typewriter-caret .8s steps(1, end) infinite; }
@keyframes typewriter-caret { 50% { opacity: 0; } }
.main-nav { display: flex; flex-direction: column; gap: 12px; margin-top: 78px; font-size: 16px; }
.menu-toggle { display: none; }
.main-nav a { width: fit-content; color: #d9d7db; transition: color .6s ease; }
.main-nav a.active { color: var(--section-marker-color, var(--yellow)); font-weight: 700; }
body.about-open .nav-modal-trigger { color: #EE7AFF; font-weight: 700; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--section-marker-color, #fff000); }
.nav-utility { width: 100%; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.nav-modal-trigger { appearance: none; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; border: 1px solid rgba(238,122,255,.45); border-radius: 99px; padding: 6px 15px; background: rgba(238,122,255,.07); color: #EE7AFF; font: 700 13px/1.3 var(--mono); text-align: left; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.nav-modal-trigger:hover, .nav-modal-trigger:focus-visible { border-color: #EE7AFF; background: #EE7AFF; color: var(--bg); transform: translateY(-1px); }
.sidebar-person { display: flex; flex-direction: column; align-items: flex-start; margin-top: auto; padding-bottom: 2px; }
.sidebar-person strong { font-size: 18px; }
.sidebar-name-tooltip { position: relative; cursor: help; }
.sidebar-name-tooltip__label { position: absolute; z-index: 5; left: 0; bottom: calc(100% + 10px); width: max-content; max-width: min(260px, 75vw); padding: 7px 11px; border: 1px solid rgba(238,122,255,.75); border-radius: 6px; background: #EE7AFF; color: var(--bg) !important; font-size: 12px !important; font-weight: 700; line-height: 1.35; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; pointer-events: none; }
.sidebar-name-tooltip__label::after { position: absolute; top: 100%; left: 14px; width: 7px; height: 7px; background: #EE7AFF; content: ""; transform: translateY(-50%) rotate(45deg); }
.sidebar-name-tooltip:hover .sidebar-name-tooltip__label, .sidebar-name-tooltip:focus-visible .sidebar-name-tooltip__label { opacity: 1; visibility: visible; transform: translateY(0); }
.sidebar-person span { font-size: 11px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; justify-content: center; min-height: 44px; border-radius: 99px; padding: 3px 17px; font-weight: 700; font-size: 12px; }
.pill--blue { background: var(--blue); color: white; margin-top: 12px; }
.cv-link { transition: background-color .2s ease, transform .2s ease; }
.cv-link:hover, .cv-link:focus-visible, .about-signature .pill:hover, .about-signature .pill:focus-visible { background: #EE7AFF; color: var(--bg); transform: translateY(-1px); }
.sidebar-rule { position: absolute; right: 0; top: 26%; height: 50%; width: 2px; background: rgba(255,255,255,.8); transition: top .45s ease, height .45s ease; }
.sidebar-rule i { position: absolute; width: 15px; height: 15px; top: 0; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: var(--section-marker-color, var(--yellow)); transition: top .6s ease, background-color .6s ease; }
.hello-bar { position: sticky; z-index: 90; top: 0; display: flex; align-items: center; width: 100%; height: var(--hello-bar-height); overflow: hidden; background: #914ada; color: var(--bg); }
.hello-ticker { width: 100%; height: 100%; overflow: hidden; padding-right: 48px; }
.hello-ticker { display: flex; align-items: center; }
.hello-ticker-group { display: flex; flex: 0 0 auto; align-items: center; gap: clamp(20px, 3vw, 44px); padding-left: clamp(22px, 4vw, 58px); color: var(--bg); font-size: clamp(12px, 1.1vw, 15px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; animation: hello-ticker-scroll 28s linear infinite; }
.hello-ticker-group i { color: var(--bg); font-size: 1.35em; font-style: normal; line-height: 1; }
.hello-bar-close { position: absolute; top: 50%; right: 10px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0 0 2px; transform: translateY(-50%); border: 1px solid var(--bg); border-radius: 50%; background: var(--bg); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.hello-bar-close:hover, .hello-bar-close:focus-visible { border-color: #fff; background: #fff; color: var(--bg); }
.hello-bar.is-dismissed { display: none; }
@keyframes hello-ticker-scroll { to { transform: translateX(-100%); } }
.scroll-top { display: none; }
main { position: relative; z-index: 1; max-width: 1600px; margin-left: var(--sidebar-width); padding: 0 5.5vw 28px 4.7vw; }
.page-wire { position: absolute; z-index: 0; pointer-events: none; opacity: .55; will-change: transform; }
.cursor-glow { position: fixed; z-index: 20; top: 0; left: 0; width: 240px; height: 240px; pointer-events: none; opacity: 0; filter: blur(24px); mix-blend-mode: screen; background: radial-gradient(circle, rgba(145, 74, 218, .18) 0%, rgba(123, 68, 197, .09) 48%, rgba(123, 68, 197, 0) 82%); transition: opacity .22s ease; will-change: transform; }
.cursor-glow.is-visible { opacity: .9; }
.interactive-butterfly { position: fixed; z-index: 30; top: 0; left: 0; display: none; width: clamp(26px, 2.6vw, 38px); height: auto; pointer-events: none; opacity: 0; transform-origin: 70% 70%; }
.interactive-butterfly.is-flying { display: block; animation: interactive-butterfly-flight 2.65s cubic-bezier(.2,.68,.18,1) both; }
@keyframes interactive-butterfly-flight {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-10deg) scale(.72) scaleX(-1); }
  12% { opacity: .95; transform: translate3d(3px, -9px, 0) rotate(5deg) scale(1) scaleX(-1); }
  38% { opacity: .9; transform: translate3d(calc(var(--flight-x) * .32), -54px, 0) rotate(-4deg) scale(1) scaleX(-1); }
  66% { opacity: .82; transform: translate3d(calc(var(--flight-x) * -.16), -112px, 0) rotate(6deg) scale(.96) scaleX(-1); }
  100% { opacity: 0; transform: translate3d(var(--flight-x), -188px, 0) rotate(-7deg) scale(.82) scaleX(-1); }
}
.page-wire--top { top: 0; right: 5px; width: 30%; height: 450px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='none'%3E%3Cpath d='M320 -10 100 65 310 110 120 150 360 210 100 250 370 310 145 360 400 420' fill='none' stroke='%23b5b3b9' stroke-width='1'/%3E%3Cpath d='M340 -10 155 70 350 115 110 170 380 220 95 275 400 330' fill='none' stroke='%23304cff' stroke-width='1.4'/%3E%3Cpath d='M330 -10 120 82 340 132 130 185 385 237 115 290 400 350' fill='none' stroke='%2300d8eb' stroke-width='1.1'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.page-wire--side { top: 360px; right: 5px; bottom: 0; width: 21%; opacity: .36; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 1000' preserveAspectRatio='none'%3E%3Cpath d='M0 10 250 100 0 165 275 230 20 310 280 400 0 470 280 550 0 630 260 715 15 810 280 895' fill='none' stroke='%23aaa9ad' stroke-width='1'/%3E%3Cpath d='M10 50 260 145 20 210 270 280 0 350 280 435 10 500 270 585 20 660 260 745 0 825 280 930' fill='none' stroke='%2300d8eb' stroke-width='1'/%3E%3Cpath d='M0 80 245 175 15 250 280 320 0 390 260 475 10 540 280 620 0 700 250 785 5 870 260 960' fill='none' stroke='%23304cff' stroke-width='1.1'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.hero { position: relative; min-height: 710px; display: flex; align-items: flex-start; padding-top: 195px; }
.hero { z-index: 1; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: min(100%, 620px); pointer-events: auto; }
.eyebrow { margin: 0 0 -9px; font-size: 22px; font-weight: 700; }
h1 { margin: 0; max-width: min(100%, 560px); font-size: clamp(42px, 5vw, 72px); line-height: 1.08; letter-spacing: -.055em; font-weight: 700; }
h1 .hero-title-sub { display: block; width: fit-content; font-size: .45em; line-height: 1.5; letter-spacing: -.02em; font-weight: 400; white-space: nowrap; }
.hero-word-tooltip { position: relative; display: inline-block; cursor: help; }
.hero-word-tooltip__label { position: absolute; z-index: 4; left: calc(50% + 48px); bottom: calc(100% + 12px); width: max-content; max-width: min(260px, 78vw); padding: 7px 11px; border: 1px solid rgba(238,122,255,.75); border-radius: 6px; background: #EE7AFF; color: var(--bg); font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: 0; white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; pointer-events: none; }
.hero-word-tooltip__label::after { position: absolute; top: 100%; left: calc(50% - 4px); width: 7px; height: 7px; background: #EE7AFF; content: ""; transform: translateY(-50%) rotate(45deg); }
.hero-word-tooltip:hover .hero-word-tooltip__label, .hero-word-tooltip:focus-visible .hero-word-tooltip__label { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hero-role { margin: 67px 0 18px; color: var(--muted); }
.hero-role strong { color: var(--pink); }
.hero-role u { color: var(--pink); text-underline-offset: 4px; }
.hero-role span { color: var(--pink); font-size: 20px; }
.hero-description { margin: 0; color: #d4d2d7; font-size: 15px; }
.review-link { display: inline-flex; align-items: center; flex-direction: column; gap: 13px; margin-top: 75px; font-size: 14px; font-weight: 700; }
.down-arrow { width: 30px; height: 30px; border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(45deg); margin-top: -12px; }
.collage-figure { position: absolute; z-index: 0; top: calc(0px - var(--hello-bar-height) - 25px); right: 0; width: min(48vw, 680px); height: 100vh; height: 100svh; container-type: inline-size; pointer-events: none; }
.collage-figure img { position: absolute; display: block; height: auto; object-fit: contain; }
.hat-butterfly-flock { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.hat-flock-butterfly { position: absolute; display: block; width: clamp(22px, 2.4vw, 36px); height: auto; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.figure-hat { z-index: 5; top: calc(100% - 93cqw - 100px); right: 4%; width: 60%; transform: translateY(var(--hat-parallax-y, 0px)) rotate(var(--hat-rotation, 0deg)); transform-origin: center; pointer-events: auto; cursor: pointer; }
.figure-hat:active { filter: brightness(1.12); }
.figure-hat:focus-visible { outline: 2px solid #EE7AFF; outline-offset: 3px; border-radius: 45%; }
.figure-rose { z-index: 2; top: calc(100% - 57.8cqw - 2px); right: 19%; width: 43%; }
.figure-butterfly { z-index: 3; top: calc(100% - 68.27cqw + 4px); right: calc(38% + 65px); width: 10%; transform: translate3d(var(--butterfly-x, 0px), var(--butterfly-y, 0px), 0) rotate(var(--butterfly-rotation, 0deg)) scaleX(-1); transform-origin: 80% 86%; }
.figure-suit { z-index: 1; bottom: 0; right: 0; width: 82%; }
.figure-lines { z-index: 2; right: 4%; bottom: -32px; width: 82%; }
.work-section { position: relative; z-index: 1; padding-top: clamp(0px, .8vw, 12px); }
.manifesto { min-height: 290px; display: flex; align-items: center; justify-content: center; gap: 0; position: relative; }
.manifesto-art { display: block; flex: 0 0 auto; height: clamp(96px, 10vw, 140px); width: auto; object-fit: contain; transform: translateY(-20px); }
.manifesto-art--end { height: clamp(126px, 13vw, 184px); }
.manifesto h2 { flex: 0 1 auto; min-width: 0; margin: 0; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.035em; text-align: center; white-space: normal; }
.eye-mark { color: #ddd; font-size: 55px; transform: scaleX(1.4); text-shadow: 0 0 2px white; }
.butterfly { display: inline-block; color: white; font-size: 22px; transform: rotate(-28deg); }
.filters { display: flex; flex-wrap: wrap; gap: 11px 12px; margin: 10px 0 84px; max-width: 1000px; scroll-margin-top: clamp(100px, 42vh, 380px); }
.filter { appearance: none; border: 1px solid transparent; min-height: 44px; padding: 6px 18px 7px; border-radius: 24px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.25; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.filter:hover { transform: translateY(-2px); }
.filter.is-active { background: white; color: var(--blue); }
.section-intro { margin-bottom: 55px; }
.section-intro h3 { margin: 0 0 5px; font-size: 24px; }
.section-intro p { margin: 0; font-size: 15px; font-weight: 600; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #29292d; transition: opacity .25s, transform .25s; }
.project-card[role="button"] { cursor: zoom-in; }
.project-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.project-card[hidden] { display: none; }
.project-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.project-card:hover img { transform: scale(1.045); }
.project-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 18px 18px; background: linear-gradient(to bottom, rgba(12,12,14,.05) 0%, rgba(12,12,14,.14) 18%, rgba(12,12,14,.3) 34%, rgba(12,12,14,.54) 50%, rgba(12,12,14,.8) 68%, rgba(12,12,14,.98) 100%); opacity: 0; transition: opacity .3s ease; }
.project-card:hover .project-overlay, .project-card:focus-within .project-overlay { opacity: 1; }
.project-overlay span { color: #b8f5ff; font-size: 11px; line-height: 1.45; text-shadow: 0 1px 5px rgba(0,0,0,.65); }
.project-overlay h4 { margin: 3px 0 0; font-size: 15px; line-height: 1.35; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.project-modal { position: fixed; inset: 0; width: min(1100px, 92vw); max-width: none; max-height: 92vh; height: fit-content; margin: auto; padding: 0; overflow: visible; border: 1px solid rgba(255,255,255,.2); border-radius: 28px; background: rgba(56,56,58,.84); color: var(--paper); }
.project-modal[open] { display: grid; place-items: center; }
.project-modal::backdrop { background: rgba(8,8,10,.72); backdrop-filter: blur(4px); }
.project-modal-figure { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr); align-items: center; gap: 32px; width: 100%; max-height: 92vh; padding: 30px; margin: 0; overflow: auto; border-radius: inherit; }
.project-modal-image { display: block; width: 100%; height: min(68vh, 740px); object-fit: contain; object-position: left center; background: transparent; }
.project-modal-caption { min-width: 0; padding: 0; text-align: left; }
.project-modal-caption > span { display: block; color: var(--cyan); font-size: 11px; line-height: 1.7; }
.project-modal-caption h2 { margin: 9px 0 0; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.25; }
.project-modal-description { margin: 18px 0 0; color: #d0ced3; font-size: 13px; line-height: 1.65; }
.project-modal-link, .project-modal-unavailable { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 22px; padding: 7px 16px; border: 0; border-radius: 99px; font: 700 12px/1.4 var(--mono); }
.project-modal-link { background: var(--blue); color: white; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.project-modal-link:hover, .project-modal-link:focus-visible { background: #EE7AFF; color: var(--bg); transform: translateY(-1px); }
.project-modal-unavailable { background: rgba(255,255,255,.1); color: #a8a6ad; cursor: not-allowed; opacity: .75; }
.project-modal-link[hidden], .project-modal-unavailable[hidden] { display: none; }
.project-modal-close { position: absolute; z-index: 2; top: 0; right: 0; transform: translate(50%,-50%); display: grid; place-items: center; width: clamp(44px,4.4vh,60px); height: clamp(44px,4.4vh,60px); padding: 0 0 3px; border: 0; border-radius: 50%; background: #d800f4; color: white; font: 400 clamp(23px,3vh,36px)/1 var(--mono); cursor: pointer; transition: background-color .2s ease; }
.project-modal-close:hover, .project-modal-close:focus-visible { background: var(--blue); }
.empty-state { color: var(--muted); padding: 24px 0 70px; }
.closing-line { position: relative; z-index: 1; min-height: 310px; display: grid; place-items: center; text-align: center; }
.closing-line p { margin: 0; font-size: clamp(25px, 3vw, 38px); color: #e2e0e4; }
.closing-line strong { color: var(--cyan); }
.closing-butterfly { position: absolute; z-index: 2; top: 82px; right: 20%; width: clamp(36px, 4.2vw, 48px); height: auto; transform: translate3d(var(--butterfly-x, 0px), var(--butterfly-y, 0px), 0) rotate(var(--butterfly-rotation, 0deg)); transform-origin: 80% 86%; }
.profile-section { position: relative; z-index: 1; padding: 24px 0 104px; }
.profile-heading { max-width: 850px; margin: 0 0 42px; }
.profile-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.25; letter-spacing: -.045em; }
.profile-heading h2 span { color: var(--yellow); }
.profile-career, #academia-title, #certificaciones, #expertise-title { scroll-margin-top: 18px; }
.profile-top-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 24px; align-items: stretch; }
.profile-panel { background: #2b2b2f; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 24px 26px; transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.profile-panel h3, .profile-subheading h3 { margin: 0 0 18px; font-size: 17px; line-height: 1.4; }
.profile-career { display: flex; flex-direction: column; background: #29292d; }
.career-list { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 20px; padding: 0; margin: 0; list-style: none; }
.career-list::before { content: ""; position: absolute; top: 7px; bottom: 7px; left: 0; width: 1px; background: rgba(0,216,235,.55); }
.career-item { position: relative; padding: 0 0 0 19px; }
.career-item::before { content: ""; position: absolute; z-index: 1; top: 6px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.career-org { font-weight: 700; font-size: 15px; }
.career-position { margin-top: 3px; }
.career-position + .career-position { margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.12); }
.career-position-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 8px; }
.career-role { color: #dedce1; font-size: 12px; font-weight: 700; line-height: 1.5; }
.career-date { color: var(--yellow); font-size: 11px; line-height: 1.5; white-space: nowrap; }
.career-description { margin: 5px 0 16px; color: #c5c3c8; font-size: 12px; line-height: 1.6; }
.career-item > .career-position:last-child .career-description { margin-bottom: 0; }
.profile-side-stack { display: grid; align-content: start; gap: 22px; }
.profile-side-stack .profile-panel { padding: 24px 25px; }
.profile-principles h3 { margin-bottom: 12px; }
.profile-bullets { display: grid; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 12px; }
.profile-bullets li { position: relative; padding-left: 15px; }
.profile-bullets li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); }
.profile-tools h3 { margin-bottom: 13px; }
.profile-tools h3 span { color: var(--yellow); }
.toolkit-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 14px; align-items: start; }
.toolkit-brand-column { display: grid; justify-items: start; gap: 13px; }
.tool-brand { color: #f7f6f8; font-size: 11px; line-height: 1.25; }
.tool-brand--figma { position: relative; display: grid; width: 100%; grid-template-columns: 48px auto; align-items: end; gap: 8px; padding-bottom: 17px; }
.tool-brand--figma::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 12px; background: url("assets/tech-icons/figma-line.png") center / 100% 100% no-repeat; pointer-events: none; }
.tool-brand--stack { display: grid; justify-items: start; gap: 3px; margin-left: 4px; }
.tool-icon, .code-icon { display: block; flex: 0 0 auto; object-fit: contain; transition: filter .2s ease; }
.tool-icon:hover, .code-icon:hover { filter: brightness(0) saturate(100%) invert(87%) sepia(99%) saturate(7462%) hue-rotate(115deg) brightness(104%) contrast(107%); }
.tool-icon--figma { width: 48px; height: 76px; }
.tool-icon--openai { width: 34px; height: 34px; }
.tool-icon--claude { width: 30px; height: 30px; }
.tool-app-list { display: grid; gap: 8px; }
.tool-app { display: grid; line-height: 1.15; }
.tool-app-mark { width: fit-content; font-family: Arial, sans-serif; font-size: 23px; line-height: 1; letter-spacing: -.04em; transition: color .2s ease; }
.tool-app-mark:hover { color: #00FFFF; }
.tool-app span:last-child { margin-top: 3px; color: #dedce1; font-size: 10px; }
.toolkit-code { margin-top: 20px; }
.toolkit-code h4 { margin: 0 0 9px; font-size: 12px; }
.code-logo-list { display: flex; justify-content: space-between; gap: 8px; }
.code-logo-item { display: grid; min-width: 0; justify-items: center; gap: 3px; color: #fff; font-size: 9px; }
.code-icon--html, .code-icon--css { width: 29px; height: 34px; }
.code-icon--bootstrap { width: 37px; height: 34px; }
.code-icon--wordpress { width: 34px; height: 34px; }
.profile-academia { margin-top: 104px; }
.profile-subheading { margin-bottom: 20px; }
.profile-subheading h3 { margin: 0; font-size: clamp(23px, 2.6vw, 32px); }
.profile-subheading > p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.education-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.education-card { position: relative; min-width: 0; min-height: 155px; padding: 20px; border-radius: 14px; background: #29292d; border: 1px solid rgba(255,255,255,.08); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.education-card--current { border-color: rgba(0,216,235,.5); }
.education-card--completed { border-color: rgba(255,240,0,.28); background: linear-gradient(135deg, rgba(255,240,0,.055), #29292d 58%); }
.education-status { display: inline-block; margin-bottom: 8px; color: var(--cyan); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.education-status--completed { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid rgba(255,240,0,.35); border-radius: 99px; color: var(--yellow); background: rgba(255,240,0,.07); }
.education-status--completed::before { content: "✓"; font-size: 12px; line-height: 1; }
.education-card h4 { margin: 0 0 6px; font-size: 14px; line-height: 1.45; }
.education-school { margin: 0 0 7px; color: #e2e0e4; font-size: 11px; font-weight: 700; line-height: 1.5; }
.education-focus { margin: 0; color: #aaa8ae; font-size: 10px; line-height: 1.6; }
.certifications { margin-top: 88px; }
.certification-grid { align-items: stretch; }
.certification-card { display: flex; min-height: 205px; flex-direction: column; align-items: flex-start; }
.certificate-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; padding-top: 14px; color: #EE7AFF; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.certificate-link:hover, .certificate-link:focus-visible { color: var(--yellow); }
.methodology-section { margin-top: 88px; scroll-margin-top: 18px; }
.methodology-section .profile-subheading { margin-bottom: 24px; }
.methodology-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.double-diamond-wrap { grid-column: 1 / -1; }
.double-diamond-wrap, .theory-u-card { min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #252529; }
.double-diamond { display: block; width: 100%; height: auto; overflow: visible; }
.method-stage { cursor: pointer; outline: none; }
.method-stage polygon { stroke-width: 2; transition: fill .2s ease, stroke .2s ease, filter .2s ease; }
.method-stage[data-method-stage="0"] polygon { fill: rgba(145,74,218,.18); stroke: #914ada; }
.method-stage[data-method-stage="1"] polygon { fill: rgba(48,76,255,.18); stroke: #6277ff; }
.method-stage[data-method-stage="2"] polygon { fill: rgba(0,216,235,.16); stroke: #00d8eb; }
.method-stage[data-method-stage="3"] polygon { fill: rgba(158,228,189,.15); stroke: #9ee4bd; }
.method-stage[aria-pressed="true"] polygon { filter: brightness(1.45); }
.method-stage:hover polygon, .method-stage:focus-visible polygon { filter: brightness(1.5); stroke-width: 3; }
.method-stage text { fill: var(--paper); font-family: var(--mono); font-size: 22px; font-weight: 700; pointer-events: none; }
.method-stage .method-stage-label { font-size: 11px; letter-spacing: 0; }
.diamond-caption { fill: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }
.methodology-hint { margin: 2px 0 12px; color: #a7a4ad; font-size: 10px; }
.method-stage-detail { min-height: 112px; padding: 14px 16px; border-left: 3px solid #914ada; background: rgba(145,74,218,.08); transition: border-color .22s ease, background-color .22s ease; }
.method-stage-detail[data-phase="0"] h4 { color: #c99ae9; }
.method-stage-detail[data-phase="1"] { border-color: #6277ff; background: rgba(48,76,255,.09); }
.method-stage-detail[data-phase="2"] { border-color: #00d8eb; background: rgba(0,216,235,.08); }
.method-stage-detail[data-phase="3"] { border-color: #9ee4bd; background: rgba(158,228,189,.09); }
.method-stage-detail__eyebrow, .theory-u-card__eyebrow { color: #c99ae9; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.method-stage-detail[data-phase="1"] .method-stage-detail__eyebrow, .method-stage-detail[data-phase="1"] h4 { color: #8292ff; }
.method-stage-detail[data-phase="2"] .method-stage-detail__eyebrow, .method-stage-detail[data-phase="2"] h4 { color: #00d8eb; }
.method-stage-detail[data-phase="3"] .method-stage-detail__eyebrow, .method-stage-detail[data-phase="3"] h4 { color: #9ee4bd; }
.method-stage-detail h4, .theory-u-card h4 { margin: 5px 0 7px; font-size: 17px; }
.method-stage-detail p, .theory-u-card > p:not(.theory-u-card__eyebrow) { margin: 0; color: #d0cdd4; font-size: 13px; line-height: 1.7; }
.theory-u-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 52px); align-items: center; padding: clamp(20px, 3vw, 34px); border-color: rgba(0,216,235,.22); }
.theory-u-copy, .theory-u-visual { min-width: 0; }
.theory-u-card__eyebrow, .theory-u-card h4, .theory-u-card > p:not(.theory-u-card__eyebrow), .theory-u-steps { position: relative; z-index: 1; }
.theory-u-card__eyebrow { margin: 0; color: var(--cyan); }
.theory-u-card h4 { margin-top: 4px; font-size: clamp(22px, 2.6vw, 30px); }
.theory-u-copy > p:not(.theory-u-card__eyebrow) { margin: 0; color: #d0cdd4; font-size: 13px; line-height: 1.7; }
.theory-u-diagram { display: block; width: 100%; height: auto; overflow: visible; }
.theory-u-curve { fill: none; stroke: url(#theory-u-gradient); stroke-width: 4; stroke-linecap: round; }
.theory-u-axis { fill: none; stroke: rgba(0,216,235,.3); stroke-width: 1; stroke-dasharray: 3 6; }
.theory-u-node { fill: #252529; stroke-width: 3; }
.theory-u-node--start { stroke: #914ada; }
.theory-u-node--center { stroke: #00d8eb; }
.theory-u-node--end { stroke: #9ee4bd; }
.theory-u-label { fill: #d6d3da; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.theory-u-label--center { fill: var(--cyan); }
.theory-u-steps { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 0; color: #c8f7fa; font-size: 10px; }
.theory-u-steps i { display: block; flex: 1; min-width: 8px; border-top: 1px solid rgba(0,216,235,.6); }
@media (max-width: 520px) {
  .methodology-section { margin-top: 68px; }
  .methodology-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .double-diamond-wrap { grid-column: auto; padding: 12px; }
  .diamond-caption { display: none; }
  .method-stage text { font-size: 26px; }
  .method-stage .method-stage-label { font-size: 14px; letter-spacing: 0; }
  .methodology-hint { margin-top: -2px; }
  .method-stage-detail { min-height: 0; }
  .theory-u-card { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .theory-u-diagram { max-height: 180px; }
  .theory-u-label { font-size: 14px; letter-spacing: 0; }
  .theory-u-steps { font-size: 10px; }
}
.profile-expertise { margin-top: 104px; }
.profile-expertise .profile-subheading { margin-bottom: 18px; }
.profile-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.profile-expertise .profile-bottom-grid { margin-top: 0; }
.profile-bottom-grid .profile-panel { padding: 20px 23px; }
.profile-bottom-grid h3 { margin-bottom: 12px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .profile-panel:hover, .education-card:hover { transform: translateY(-3px); border-color: rgba(0,216,235,.42); box-shadow: 0 9px 24px rgba(0,216,235,.07); }
  .education-card--completed:hover { border-color: rgba(255,240,0,.58); box-shadow: 0 9px 24px rgba(255,240,0,.08); }
}
.contact-section { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: start; padding: clamp(56px, 8vw, 108px) 0; border-top: 1px solid rgba(255,255,255,.55); scroll-margin-top: 24px; position: relative; z-index: 1; }
.contact-heading .eyebrow { margin: 0 0 10px; color: #EE7AFF; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.contact-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.1; letter-spacing: -.055em; }
.contact-heading > p:last-child { max-width: 28ch; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; color: #eceaee; font-size: 12px; }
.contact-field input, .contact-field textarea { width: 100%; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; outline: none; background: rgba(43,43,47,.76); color: var(--paper); font: inherit; font-size: 13px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.contact-field input { min-height: 46px; }
.contact-field textarea { min-height: 130px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #9a979f; }
.contact-field input:focus, .contact-field textarea:focus { border-color: #EE7AFF; box-shadow: 0 0 0 3px rgba(238,122,255,.12); background: rgba(43,43,47,.95); }
.contact-field--subject, .contact-field--message { grid-column: 1 / -1; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-submit-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.contact-submit { border: 0; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.contact-submit:hover, .contact-submit:focus-visible { background: #EE7AFF; color: var(--bg); transform: translateY(-1px); }
.contact-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.contact-status { min-height: 1.5em; margin: 0; color: var(--muted); font-size: 11px; }
.contact-status[data-state="success"] { color: #9ee4bd; }
.contact-status[data-state="error"] { color: #ff9e9e; }
.closing-statement { max-width: 940px; margin: clamp(44px, 6vw, 76px) 0 0; font-size: clamp(25px, 3.4vw, 46px); font-weight: 400; line-height: 1.16; letter-spacing: -.045em; }
.closing-statement strong { color: #EE7AFF; font-weight: 700; }
.footer-collage { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 0; height: clamp(150px, 16vw, 210px); margin: clamp(42px, 7vw, 88px) 0 30px; overflow: visible; }
.footer-collage-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; justify-items: stretch; min-height: 0; gap: 0; }
.footer-collage-row img { display: block; width: 118%; height: 118%; min-height: 0; object-fit: contain; }
.footer-collage-row--reverse img { transform: scaleX(-1); }
footer { min-height: 160px; border-top: 1px solid rgba(255,255,255,.7); display: flex; align-items: center; justify-content: space-between; column-gap: 20px; padding: 28px 0; position: relative; z-index: 1; }
.copyright { margin: 0; padding: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; letter-spacing: .02em; }
.brand--footer { flex: 0 1 480px; max-width: calc(100% - 170px); min-width: 0; }
.socials { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.social-dots { display: flex; gap: 10px; }
.social-dots a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); font-size: 14px; color: white; transition: transform .2s, background .2s, color .2s; }
.social-dots a:hover, .social-dots a:focus-visible { transform: translateY(-3px); background: #EE7AFF; color: var(--bg); }

@media (min-width: 1500px) {
  main { padding-right: 80px; padding-left: 70px; }
  .hero-art { right: -80px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .profile-top-grid { grid-template-columns: 1fr; }
  .profile-side-stack { grid-template-columns: 1fr; }
  .education-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-section { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 1080px) {
  .sidebar { width: 250px; padding-left: 34px; padding-right: 30px; }
  .sidebar .brand { width: 226px; }
  main { margin-left: 250px; padding-left: 42px; padding-right: 42px; }
  .hero { min-height: 620px; padding-top: 160px; }
  .collage-figure { width: min(54vw, 580px); }
  .sidebar-rule { right: 0; }
  .work-section { padding-top: clamp(0px, .8vw, 10px); }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .sidebar { position: relative; width: 100%; height: auto; padding: 20px 22px 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; background: var(--bg); }
  .brand { width: 200px; grid-template-columns: 35px 1fr; min-height: 42px; }
  .sidebar .brand { width: min(200px, calc(100vw - 44px)); }
  .brand-logo { width: 100%; }
  .brand-mark { font-size: 37px; }
  .brand-wave { height: 26px; }
  .brand-caption { font-size: 10px; margin-top: 3px; }
  .main-nav { flex-direction: row; gap: 16px; justify-content: flex-end; margin: 0; font-size: 12px; }
  .sidebar-person, .sidebar-rule { display: none; }
  main { margin-left: 0; padding: 0 22px 20px; }
  .page-wire--top { width: 48%; height: 280px; }
  .page-wire--side { top: 580px; width: 32%; }
  .hero { min-height: 710px; padding-top: 85px; }
  .hero-copy { width: 100%; }
  .eyebrow { font-size: 18px; margin-bottom: -5px; }
  h1 { font-size: clamp(34px, 9vw, 54px); }
  h1 span { font-size: .8em; }
  .hero-role { margin-top: 32px; }
  .hero-description { font-size: 13px; max-width: 270px; }
  .desktop-break { display: none; }
  .review-link { margin-top: 30px; }
  .collage-figure { width: min(84vw, 440px); right: 0; }
  .figure-hat { top: calc(100% - 96cqw - 100px); right: 0; width: 68%; }
  .figure-rose { top: calc(100% - 63.77cqw - 2px); right: 17%; width: 50%; }
  .figure-butterfly { top: calc(100% - 75.28cqw + 4px); right: calc(38% + 65px); width: 11%; }
  .figure-suit { bottom: 0; right: -2%; width: 88%; }
  .figure-lines { right: 4%; bottom: -32px; width: 88%; }
  .work-section { padding-top: max(130px, calc(100vh + 66px - clamp(600px, calc(100vh - 60px), 710px))); padding-top: max(130px, calc(100svh + 66px - clamp(600px, calc(100svh - 60px), 710px))); }
  .manifesto { min-height: 165px; gap: 0; }
  .manifesto-art { height: clamp(36px, 10vw, 76px); transform: translateY(-8px); }
  .manifesto-art--end { height: clamp(47px, 13vw, 100px); }
  .manifesto h2 { font-size: clamp(14px, 4vw, 16px); letter-spacing: -.05em; }
  .filters { gap: 8px; margin-bottom: 52px; }
  .filter { font-size: 11px; padding: 6px 12px; }
  .section-intro { margin-bottom: 25px; }
  .section-intro h3 { font-size: 19px; }
  .section-intro p { font-size: 12px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .project-overlay { opacity: 1; padding: 25px 9px 9px; }
  .project-overlay span { font-size: 9px; }
  .project-overlay h4 { font-size: 11px; }
  .closing-line { min-height: 220px; }
  .closing-butterfly { top: 40px; right: 8%; width: 34px; }
  .profile-section { padding: 8px 0 64px; }
  .profile-heading { margin-bottom: 30px; }
  .profile-heading h2 { font-size: clamp(23px, 6vw, 30px); }
  .profile-top-grid, .profile-bottom-grid { grid-template-columns: 1fr; gap: 13px; }
  .profile-side-stack { grid-template-columns: 1fr; }
  .profile-panel { padding: 20px; }
  .profile-side-stack .profile-panel { padding: 19px 20px; }
  .profile-academia { margin-top: 68px; }
  .profile-expertise { margin-top: 68px; }
  .education-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .education-card { min-height: 0; padding: 16px; }
  .education-card h4 { font-size: 12px; }
  .education-school { font-size: 10px; }
  .education-focus { font-size: 9px; }
  .profile-bottom-grid .profile-panel { padding: 18px 20px; }
  footer { min-height: 140px; align-items: flex-end; gap: 20px; }
  .brand--footer { flex-basis: 0; max-width: calc(100% - 140px); }
  .brand--footer .brand-caption { font-size: 9px; }
  .socials { font-size: 10px; }
  .social-dots a { width: 44px; height: 44px; }
  .contact-section { grid-template-columns: 1fr; gap: 25px; padding: 56px 0; }
  .contact-form { gap: 16px 12px; }
  .contact-field { font-size: 11px; }
  .contact-field input, .contact-field textarea { font-size: 12px; padding: 11px 12px; }
}
@media (max-width: 390px) {
  .sidebar { grid-template-columns: 1fr; }
  .main-nav { justify-content: flex-start; }
  .hero { min-height: 680px; }
  .collage-figure { width: 86vw; }
  .filters { margin-bottom: 38px; }
  .education-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .manifesto-art { height: 32px; transform: translateY(-6px); }
  .manifesto-art--end { height: 42px; }
  .manifesto h2 { max-width: 150px; justify-self: center; }
}

/* About modal sized to fit its desktop viewport, with independent collage layers. */
.about-modal { position: fixed; inset: 0; width: min(1420px, 96vw, 108vh); max-width: none; max-height: 94vh; padding: 0; overflow: visible; border: 0; background: transparent; color: var(--paper); }
.about-modal[open] { display: block; }
.about-modal::backdrop { background: rgba(8,8,10,.72); backdrop-filter: blur(4px); }
.about-stage { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.18 / 1; overflow: visible; background: transparent; }
.about-lines { position: absolute; z-index: 1; left: 50%; top: -7%; width: auto; height: 114%; object-fit: contain; opacity: .8; transform: translateX(calc(-50% + 25px)); transform-origin: center; pointer-events: none; }
.about-card { position: absolute; z-index: 1; left: 5.1%; top: 4%; width: 89.8%; height: 92%; overflow: visible; isolation: isolate; border-radius: 28px; background: rgba(56,56,58,.84); }
.about-close { position: absolute; z-index: 40; top: 0; right: 0; transform: translate(50%,-50%); display: grid; place-items: center; width: clamp(44px,4.4vh,60px); height: clamp(44px,4.4vh,60px); padding: 0 0 3px; border: 0; border-radius: 50%; background: #d800f4; color: white; font: 400 clamp(23px,3vh,36px)/1 var(--mono); cursor: pointer; transition: background-color .2s ease; }
.about-close:hover, .about-close:focus-visible { background: var(--blue); }
.about-copy { position: absolute; z-index: 4; top: 7.4%; left: 5.5%; width: 39%; font-size: clamp(11px,min(1.85vh,1.5vw),21px); line-height: 1.45; font-weight: 400; letter-spacing: -.035em; }
.about-copy p { margin: 0 0 .7em; }
.about-manifesto-pattern { display: none; }
.about-profile { position: absolute; z-index: 2; inset: 0; }
.about-top-pattern { position: absolute; z-index: 3; top: 7.5%; right: 5%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px 10px; width: 36%; height: 18%; overflow: hidden; opacity: 1; pointer-events: none; }
.about-top-pattern img { display: block; width: 100%; height: 100%; object-fit: contain; }
.about-top-pattern img:nth-child(2) { transform: scale(1.3); }
.about-top-pattern img:nth-child(n + 4) { transform: scaleX(-1); }
.about-top-pattern img:nth-child(5) { transform: scaleX(-1) scale(1.3); }
.about-profile h2 { position: absolute; z-index: 4; top: 31%; right: 5%; left: auto; width: 35%; margin: 0; text-align: right; font-size: clamp(28px,min(4.2vh,4.5vw),66px); line-height: 1.08; letter-spacing: -.075em; }
.about-profile h2 span { color: var(--yellow); }
.about-skills { position: absolute; z-index: 5; top: 76%; right: 5%; display: flex; flex-direction: column; gap: 1.5vh; align-items: flex-end; font-size: clamp(12px,min(1.7vh,1.45vw),19px); line-height: 1.55; text-align: right; }
.about-skills-rule { position: absolute; top: -24vh; right: 5px; display: block; width: 1px; height: 20vh; background: rgba(255,255,255,.8); }
.about-skills-rule i { position: absolute; bottom: -5px; left: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); }
.about-skills ul { list-style: none; margin: 0; padding: 0; }
.about-artwork { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.about-collage { position: absolute; z-index: 1; left: 36%; bottom: -1%; display: block; width: 42%; height: auto; transform: translateX(-10px); pointer-events: none; }
.about-hat { position: absolute; z-index: 2; top: 39%; left: 39%; width: 24%; height: auto; transform: translateX(25px); pointer-events: none; }
.about-butterfly { position: absolute; z-index: 4; top: 43%; left: 53%; width: 5.5%; height: auto; transform: translateX(25px); pointer-events: none; }
.about-signature { position: absolute; z-index: 6; left: 5.5%; bottom: 4.6%; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; }
.about-signature strong { font-size: clamp(14px,min(1.9vh,2.1vw),28px); }
.about-signature > span { color: #d2d0d3; font-size: clamp(11px,min(1.3vh,1.2vw),16px); }
.about-signature .pill { margin-top: 1vh; font-size: clamp(11px,min(1.4vh,1.2vw),14px); padding: 4px 14px; }
body.about-open { overflow: hidden; }
@media (max-width: 760px) {
  .about-modal { width: min(94vw,46vh); max-height: 94vh; overflow: visible; }
  .about-stage { aspect-ratio: .52 / 1; min-height: 0; overflow: visible; }
  .about-card { position: absolute; inset: 4% 5.1%; width: 89.8%; height: 92%; overflow: visible; padding: 0; border-radius: 20px; }
  .about-lines { left: 50%; top: 0; width: auto; height: 100%; opacity: .6; }
  .about-close { top: 0; right: 0; width: 44px; height: 44px; font-size: 25px; }
  .about-copy { position: absolute; top: 5%; left: 5%; width: 52%; font-size: clamp(11px,min(1.75vh,3.3vw),15px); line-height: 1.35; }
  .about-copy p { margin-bottom: .55em; }
  .about-profile { position: absolute; inset: 0; height: auto; margin: 0; }
  .about-top-pattern { display: none; }
  .about-profile h2 { top: 6%; right: 5%; left: auto; width: 45%; text-align: right; font-size: clamp(22px,6vw,29px); }
  .about-skills { top: 32%; right: 5%; flex-direction: column; gap: 7px; font-size: clamp(12px,3vw,14px); line-height: 1.35; text-align: right; align-items: flex-end; }
  .about-skills-rule { top: -24vh; right: 4px; height: 20vh; }
  .about-collage { left: 55%; bottom: 4%; width: 40%; }
  .about-hat { left: 64%; top: 51%; width: 18%; }
  .about-butterfly { left: 76%; top: 49%; width: 5.5%; }
  .about-signature { position: absolute; left: 5%; bottom: 4%; margin: 0; }
  .about-signature strong { font-size: clamp(14px,4vw,18px); }
  .about-signature > span { font-size: clamp(11px,3vw,13px); }
  .about-signature .pill { margin-top: 6px; font-size: 11px; }
}


/* Keep the fixed line artwork on the right while extending it through the viewport height. */
.page-wire--top { position: fixed; top: 0; right: 5px; bottom: 0; left: auto; width: 30vw; height: 100vh; height: 100svh; background-size: 100% 100%; opacity: .32; transform: scale(var(--bg-line-scale, 1)); transform-origin: top right; }
.page-wire--side { position: fixed; top: 360px; right: 5px; bottom: 0; left: auto; width: 21vw; height: auto; background-size: 100% 100%; opacity: .22; transform: scale(var(--bg-line-scale, 1)); transform-origin: top right; }
@media (max-width: 760px) {
  .page-wire--top { width: 48vw; }
  .page-wire--side { top: 300px; width: 32vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .brand-caption[data-typewriter]::after { animation: none; }
  .figure-butterfly { transform: scaleX(-1); }
  .interactive-butterfly.is-flying { animation: none; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* Mobile layout: keep the page sequence readable and preserve scroll cues. */
@media (max-width: 760px) {
  .sidebar { z-index: 2; display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 20px 16px; }
  .brand, .sidebar .brand { align-self: flex-start; width: min(190px, calc(100vw - 40px)); }
  .main-nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 7px 16px; width: 100%; font-size: 12px; }
  .sidebar-person { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 10px; margin: 0; padding: 0; }
  .sidebar-person strong, .sidebar-person span { grid-column: 1; }
  .sidebar-person strong { font-size: 13px; }
  .sidebar-person span { font-size: 10px; line-height: 1.25; }
  .sidebar-person .cv-link { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 5px 12px; font-size: 10px; white-space: nowrap; }
  .sidebar-rule { display: block; position: absolute; top: auto; right: 20px; bottom: 0; left: 20px; width: auto; height: 1px; background: rgba(255,255,255,.8); }
  .sidebar-rule i { top: 50%; left: 0; transform: translate(-50%, -50%); }
  main { padding-top: 12px; }
  .hero { min-height: clamp(600px, calc(100svh - 60px), 710px); padding-top: clamp(54px, 9vh, 76px); }
  h1 .hero-title-sub { width: auto; max-width: 100%; font-size: .5em; line-height: 1.3; white-space: normal; }
  .collage-figure { width: min(96vw, 460px); }
  .figure-suit, .figure-lines { width: 92%; }
  .manifesto { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.3fr) minmax(0, .65fr); align-items: center; gap: 2px; min-height: clamp(144px, 42vw, 170px); }
  .manifesto-art, .manifesto-art--end { width: 100%; max-width: 100%; height: auto; transform: translateY(-6px); }
  .manifesto h2 { width: 100%; max-width: 100%; font-size: clamp(14px, 4.4vw, 18px); line-height: 1.2; letter-spacing: -.055em; }
  .filters { margin-bottom: 34px; }
  .closing-line { min-height: 190px; }
  .closing-butterfly { top: 30px; right: 10%; }
  .about-close { top: 10px; right: 10px; transform: none; }
  .about-copy { left: 5%; width: 46%; font-size: clamp(10px, min(1.6vh, 3vw), 14px); line-height: 1.3; }
  .about-profile h2 { right: 5%; width: 40%; font-size: clamp(20px, 5.8vw, 27px); }
  .about-skills { right: 5%; font-size: clamp(10px, 2.8vw, 13px); }
  .about-skills-rule { top: -20vh; height: 17vh; }
  .education-card h4 { font-size: 13px; }
  .education-school { font-size: 11px; }
  .education-focus { font-size: 11px; }
  .certifications { margin-top: 68px; }
  .certification-card { min-height: 0; }
  .certificate-link { padding-top: 10px; }
  footer { align-items: flex-end; }
  .project-modal { width: min(600px, calc(100vw - 64px)); max-height: 90vh; }
  .project-modal-figure { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(180px, min(42vh, 360px)) auto; align-items: start; gap: 18px; max-height: 90vh; padding: 24px; }
  .project-modal-image { height: min(42vh, 360px); object-position: center; }
  .project-modal-caption h2 { font-size: clamp(20px, 4vw, 26px); }
}
@media (max-width: 520px) {
  .project-modal { width: calc(100vw - 56px); max-height: 90vh; }
  .project-modal-figure { max-height: 90vh; }
  .project-modal-image { height: min(38vh, 300px); }
  .project-modal-figure { grid-template-rows: minmax(160px, min(38vh, 300px)) auto; gap: 16px; padding: 24px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .project-card { aspect-ratio: 1.4 / 1; }
  .project-overlay { padding: 42px 14px 14px; }
  .project-overlay span { font-size: 11px; }
  .project-overlay h4 { font-size: 14px; }
  .education-grid { grid-template-columns: 1fr; }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .profile-panel:active, .education-card:active { transform: scale(.995); border-color: rgba(0,216,235,.42); }
  .education-card--completed:active { border-color: rgba(255,240,0,.58); }
  .tool-icon:active, .code-icon:active { filter: brightness(0) saturate(100%) invert(87%) sepia(99%) saturate(7462%) hue-rotate(115deg) brightness(104%) contrast(107%); }
  .tool-app-mark:active { color: #00FFFF; }
}

/* Full-screen mobile navigation */
@media (max-width: 760px) {
  :root { --hello-bar-height: 32px; }
  .hello-ticker-group { gap: 18px; padding-left: 18px; font-size: 10px; }
  .hello-bar-close { right: 7px; width: 22px; height: 22px; font-size: 17px; }
  .scroll-top { position: fixed; z-index: 85; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: #914ada; color: var(--bg); cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background-color .2s ease, color .2s ease; }
  .scroll-top svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
  .scroll-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .scroll-top:hover, .scroll-top:focus-visible, .scroll-top:active { border-color: #fff; background: #fff; color: var(--bg); }
  body.mobile-menu-open { overflow: hidden; }
  .sidebar { position: relative; z-index: 2; inset: auto; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: auto; min-height: 72px; padding: max(14px, env(safe-area-inset-top)) 20px 10px; background: var(--bg); }
  .sidebar .brand { align-self: auto; width: min(190px, calc(100vw - 92px)); min-height: 42px; }
  .sidebar .brand-caption { font-size: 10px; }
  .menu-toggle { position: relative; z-index: 103; display: grid; flex: 0 0 44px; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.04); color: var(--paper); cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease; }
  .menu-toggle:hover, .menu-toggle:focus-visible { color: var(--section-marker-color, #fff000); border-color: currentColor; background: rgba(255,255,255,.08); transform: scale(1.04); }
  .menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .main-nav { display: none; }
  .nav-utility { display: none; }
  .sidebar-person, .sidebar-rule { display: none; }
  .sidebar.menu-open { position: fixed; inset: 0; z-index: 100; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; height: 100vh; height: 100dvh; min-height: 100vh; min-height: 100dvh; padding: max(18px, env(safe-area-inset-top)) 22px max(18px, env(safe-area-inset-bottom)); overflow-y: auto; background: rgba(30,30,30,.99); animation: mobile-menu-appear .2s ease-out both; }
  .sidebar.menu-open .brand { align-self: flex-start; width: min(190px, calc(100vw - 92px)); }
  .sidebar.menu-open .menu-toggle { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 20px; }
  .sidebar.menu-open .menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .sidebar.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .sidebar.menu-open .menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .sidebar.menu-open .main-nav { position: relative; inset: auto; display: flex; flex: 1 0 auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: clamp(4px, 1.2vh, 10px); width: 100%; margin: 24px 0 18px; padding-left: clamp(8px, 5vw, 32px); overflow: visible; font-size: clamp(17px, 5vw, 22px); }
  .sidebar.menu-open .main-nav a { padding: 3px 10px; line-height: 1.35; }
  .sidebar.menu-open .nav-utility { display: block; width: fit-content; margin: 0 0 10px clamp(8px, 5vw, 32px); padding-top: 14px; }
  .sidebar.menu-open .nav-modal-trigger { min-height: 44px; padding: 7px 15px; }
  .sidebar.menu-open .sidebar-person { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 0; padding: 10px 0 4px clamp(8px, 5vw, 32px); text-align: left; }
  .sidebar.menu-open .sidebar-person strong { font-size: 16px; }
  .sidebar.menu-open .sidebar-person span { font-size: 11px; }
  .sidebar.menu-open .sidebar-person .cv-link { margin-top: 10px; }
}
@keyframes mobile-menu-appear { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .sidebar.menu-open { animation: none; }
  .menu-toggle span { transition: none; }
  .hello-ticker-group { animation: none; }
}
@media (max-width: 760px) {
  .sidebar .brand, .sidebar.menu-open .brand { width: min(250px, calc(100vw - 96px)); }
  .sidebar .brand-caption, .sidebar.menu-open .brand-caption { font-size: 11px; }
  .footer-collage { height: 156px; margin: 44px 0 26px; }
  .closing-statement { margin-top: 44px; font-size: clamp(24px, 6.2vw, 32px); }
  .footer-collage-row img { width: 118%; height: 118%; }
  .footer-collage-row img { width: 100%; }
  footer { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; width: calc(100% + 44px); min-height: 0; margin-left: -22px; padding: 32px 22px; }
  .brand--footer { flex: 0 0 auto; align-self: stretch; width: 100%; max-width: 100%; }
  .brand--footer .brand-logo { width: 100%; }
  .brand--footer .brand-caption { margin-top: 8px; font-size: clamp(14px, 4vw, 17px); }
  .socials { align-items: flex-start; gap: 12px; font-size: 16px; }
  .collage-figure { top: calc(0px - var(--hello-bar-height) - var(--mobile-header-height)); width: min(86vw, 420px); }
}
@media (max-width: 760px) {
  .about-modal { inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; overflow-x: hidden; overflow-y: auto; }
  .about-stage { width: 100%; min-height: 100vh; min-height: 100dvh; aspect-ratio: auto; overflow: visible; }
  .about-card { position: relative; inset: auto; display: flex; flex-direction: column; isolation: isolate; width: 100%; height: auto; min-height: 100vh; min-height: 100dvh; overflow: hidden; padding: max(86px, calc(env(safe-area-inset-top) + 72px)) 24px 28px; border-radius: 0; background: rgba(56,56,58,.96); }
  .about-close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 18px; transform: none; }
  .about-lines { top: 0; left: 0; width: 100%; height: 100%; opacity: .18; transform: none; }
  .about-profile { position: static; display: contents; inset: auto; }
  .about-profile h2 { position: relative; z-index: 2; order: 1; top: auto; right: auto; left: auto; width: 100%; margin: 0; text-align: left; font-size: clamp(34px, 10vw, 46px); line-height: 1.03; letter-spacing: -.06em; }
  .about-copy { position: relative; z-index: 2; order: 2; top: auto; left: auto; width: 100%; margin: 24px 0 0; padding-right: 70px; font-size: clamp(14px, 4vw, 16px); line-height: 1.55; letter-spacing: -.02em; }
  .about-manifesto-pattern { position: absolute; top: -108px; right: 0; display: grid; grid-template-rows: repeat(10, minmax(0, 1fr)); gap: 3px; width: 56px; height: calc(100% + 148px); overflow: visible; opacity: 1; pointer-events: none; }
  .about-manifesto-pattern img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .about-manifesto-pattern img:nth-child(odd) { transform: scale(1.35); }
  .about-manifesto-pattern img:nth-child(even) { transform: scaleX(-1) scale(1.8); }
  .about-copy p { margin: 0 0 1em; }
  .about-skills { display: none; }
  .about-signature { position: relative; z-index: 2; order: 3; left: auto; bottom: auto; display: flex; align-items: flex-start; width: 100%; margin: 8px 0 0; line-height: 1.4; }
  .about-signature strong { font-size: clamp(20px, 5.5vw, 25px); }
  .about-signature > span { font-size: 13px; }
  .about-signature .pill { margin-top: 14px; padding: 6px 18px; font-size: 12px; }
  .about-artwork { position: relative; z-index: 1; inset: auto; display: block; order: 4; flex: 0 0 auto; width: calc(100% + 48px); height: clamp(300px, 85vw, 360px); margin: 16px -24px -28px; }
  .about-collage { left: 50%; bottom: 0; width: min(64%, 380px); transform: translateX(-50%); }
  .about-hat { top: 0; left: 28%; width: 40%; transform: none; }
  .about-butterfly { top: 2%; left: 51%; width: 8%; transform: none; }
}

/* Give wide desktop screens more room and scale the opening composition with it. */
@media (min-width: 1441px) {
  main {
    max-width: none;
    padding-right: clamp(80px, 6vw, 150px);
    padding-left: clamp(70px, 5vw, 125px);
  }

  .hero {
    padding-top: clamp(195px, 11vw, 255px);
  }

  .hero-copy { width: min(56%, 760px); }
  .eyebrow { font-size: clamp(22px, 1.65vw, 30px); }
  h1 {
    max-width: min(100%, 740px);
    font-size: clamp(72px, 5.2vw, 98px);
  }
  .hero-role { font-size: clamp(16px, 1.15vw, 20px); }
  .hero-role span { font-size: 1.2em; }
  .hero-description { font-size: clamp(15px, 1.05vw, 18px); }
  .collage-figure { width: min(37vw, 700px); }

  .manifesto { min-height: clamp(290px, 22vw, 380px); }
  .manifesto-art { height: clamp(140px, 10vw, 185px); }
  .manifesto-art--end { height: clamp(184px, 13vw, 230px); }
  .manifesto h2 { font-size: clamp(32px, 2.2vw, 42px); }
  .project-grid { gap: clamp(18px, 1.4vw, 28px); }
}

/* Tablet and compact desktop layouts: reserve a clear lane for the hero collage. */
@media (min-width: 761px) and (max-width: 1080px) {
  :root { --sidebar-width: 220px; }
  .sidebar { width: 220px; padding: 36px 26px; }
  .sidebar .brand { width: 214px; }
  .main-nav { gap: 18px; margin-top: 92px; font-size: 16px; }
  .nav-modal-trigger { padding-inline: 12px; font-size: 12px; }
  main { margin-left: 220px; padding: 0 clamp(22px, 3.2vw, 34px) 28px; }
  .hero { min-height: 620px; padding-top: clamp(130px, 16vh, 170px); }
  .hero-copy { width: 54%; }
  h1 { font-size: clamp(38px, 5vw, 54px); }
  h1 .hero-title-sub { white-space: normal; }
  .hero-role { margin-top: 48px; }
  .collage-figure { width: min(60vw, 640px); }
  .work-section { padding-top: clamp(0px, .8vw, 10px); }
  .manifesto { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr) minmax(0, .8fr); min-height: 220px; }
  .manifesto-art, .manifesto-art--end { width: 100%; max-width: 100%; height: auto; }
  .manifesto h2 { font-size: clamp(18px, 2.5vw, 24px); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .profile-bottom-grid { grid-template-columns: 1fr; }
  footer { flex-wrap: wrap; gap: 18px 24px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .project-modal { width: min(700px, 90vw); }
  .project-modal-figure { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(180px, 38vh) auto; gap: 20px; }
  .project-modal-image { height: 38vh; object-position: center; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-field--subject, .contact-field--message, .contact-submit-row { grid-column: 1; }
}

@media (min-width: 1081px) and (max-width: 1440px) {
  :root { --sidebar-width: clamp(248px, 23vw, 320px); }
  .sidebar { width: var(--sidebar-width); padding: 42px clamp(24px, 3vw, 42px) 36px clamp(28px, 5.3vw, 66px); }
  .sidebar .brand { width: calc(var(--sidebar-width) + 10px - clamp(28px, 5.3vw, 66px)); }
  .sidebar .brand-caption { font-size: clamp(16px, 1.25vw, 18px); }
  main { margin-left: var(--sidebar-width); }
  .hero-copy { width: min(56%, 600px); }
  h1 { font-size: clamp(54px, 5vw, 72px); }
  h1 .hero-title-sub { white-space: normal; }
  .collage-figure { width: min(38vw, 580px); }
}

@media (min-width: 761px) and (max-height: 700px) {
  .sidebar { padding-top: 22px; padding-bottom: 22px; }
  .main-nav { gap: 14px; margin-top: 52px; }
  .nav-utility { margin-top: 18px; padding-top: 14px; }
  .sidebar-person strong { font-size: 16px; }
  .hero { padding-top: clamp(105px, 17vh, 150px); }
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Keep scroll reveals perceptible without large jumps from the viewport edge. */
[data-aos="fade-up"] { transform: translate3d(0, 26px, 0); }

/* Keep the background line art a little farther from the viewport edge. */
.page-wire--top, .page-wire--side { right: 65px; }
