@font-face { font-family: Silkscreen; src: url('../fonts/Silkscreen-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Nunito; src: url('../fonts/Nunito.ttf') format('truetype'); font-weight: 200 1000; font-style: normal; font-display: swap; }
:root {
  color-scheme: dark;
  --ink: #17132e;
  --deep: #100c25;
  --paper: #fff5df;
  --soft: #c8bbdf;
  --violet: #9362ff;
  --lavender: #c8a7ff;
  --pink: #e798d9;
  --line: #514071;
  --scene-blur: 11px;
  --intro-opacity: 1;
  --intro-y: 0px;
  --reveal: 0;
  font-family: Nunito, 'Trebuchet MS', sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-padding-top: 110px; }
html.home-page { scrollbar-width: none; }
html.home-page::-webkit-scrollbar { display: none; }
body { margin: 0; color: var(--paper); background: var(--ink); font-size: 17px; line-height: 1.65; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #d4c3ff; outline-offset: 6px; }
::selection { color: var(--paper); background: #713ed3; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 100; padding: 9px 18px; background: var(--paper); color: var(--ink); border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 18px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 26px 3.3%; gap: 24px; transition: opacity .25s, visibility .25s; }
.brand { font-size: clamp(24px, 2.1vw, 36px); font-weight: 1000; letter-spacing: -.04em; line-height: 1.15; text-shadow: 0 3px 0 #211438, 0 5px 12px #15102d70; }
body:is([data-page='home'], [data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu]) .brand { font-family: Silkscreen, monospace; font-weight: 700; font-size: clamp(22px, 2.1vw, 34px); letter-spacing: -.065em; }
.header-nav { display: flex; align-items: center; gap: 25px; }
.work-nav { position: relative; }
.nav-button { position: relative; display: inline-flex; justify-content: center; align-items: center; min-width: 84px; min-height: 40px; padding: 4px 17px; border: 2px solid transparent; border-radius: 18px; background: transparent; font-weight: 900; font-size: 20px; line-height: 1.3; letter-spacing: -.025em; text-shadow: 0 2px 4px #130b2d99; }
body:not([data-page='about']) .work-toggle,
.nav-button[aria-current='page'] { background: #6a38cb; border-color: var(--lavender); box-shadow: 0 3px 0 #372055, 0 0 0 2px #261535; }
body:not([data-page='about']) .work-toggle::after,
.nav-button[aria-current='page']::after { content: ''; position: absolute; width: 27px; height: 3px; left: 50%; bottom: -12px; transform: translateX(-50%); border-radius: 2px; background: var(--paper); }
.nav-button:hover { color: #fff; }
.work-menu { position: absolute; top: calc(100% + 23px); right: 0; width: 205px; padding: 8px; border: 2px solid #a580e2; border-radius: 14px; background: #231a3e; box-shadow: 5px 7px 0 #110c258f; }
.work-menu .nav-link { display: block; padding: 10px 14px; border-radius: 7px; font-size: 16px; font-weight: 800; }
.work-menu .nav-link:hover, .work-menu .nav-link[aria-current='page'] { background: #6542a3; }
.home-scroll { height: 180svh; }
.studio-viewport { position: sticky; top: 0; width: 100%; height: 100svh; overflow: clip; background: radial-gradient(ellipse at 25% 45%, #392268 0%, #241a49 50%, #17132e 100%); }
.scene-stage { position: absolute; inset: 0; overflow: clip; }
.mobile-project-links { display: none; }
.scene-frame { position: absolute; width: max(100%, calc(100svh * 1.6)); aspect-ratio: 8 / 5; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.scene-poster { display: block; width: 100%; height: 100%; filter: blur(var(--scene-blur)); transform: scale(calc(1 + .018 * (1 - var(--reveal)))); }
.scene-frame { transition: opacity .35s; }
.scene-runtime { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; filter: blur(var(--scene-blur)); transform: scale(calc(1 + .018 * (1 - var(--reveal)))); transition: opacity .35s; }
.scene-runtime canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
body[data-scene='ready'] .scene-runtime { opacity: 1; }
body[data-scene='ready'] .scene-frame { opacity: 0; }
body[data-scene='ready'][data-view='studio'] .scene-runtime { pointer-events: auto; filter: none; transform: none; }
.scene-runtime[data-hover] canvas { cursor: pointer; }
.intro-layer { position: absolute; inset: 0; z-index: 10; opacity: var(--intro-opacity); pointer-events: none; }
.intro-title { position: absolute; top: 34%; width: 100%; margin: 0; padding: 0 4%; font-family: Silkscreen, monospace; font-weight: 700; font-size: clamp(18px, 5.4vw, 83px); line-height: 1.3; letter-spacing: -.075em; white-space: nowrap; text-align: center; transform: translateY(var(--intro-y)); color: var(--paper); -webkit-text-stroke: 2px #130a34; paint-order: stroke fill; text-shadow: 0 4px 0 #170c39, 0 9px 0 #9964fb, 0 11px 0 #3e2468; }
.scroll-cue { position: absolute; bottom: 4.1%; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; border: 0; padding: 8px 16px; background: transparent; font-size: 18px; font-weight: 900; line-height: 1.3; white-space: nowrap; text-shadow: 0 2px 4px #140b33; pointer-events: auto; }
.scroll-chevron { width: 18px; height: 18px; border-right: 5px solid #cda6ff; border-bottom: 5px solid #cda6ff; border-radius: 2px; transform: rotate(45deg); filter: drop-shadow(0 3px 0 #20123b); }
.object-links { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .2s; pointer-events: none; }
.object-link { position: absolute; top: 50%; left: 50%; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; outline: none !important; }
.object-caption { position: absolute; z-index: 6; transform: translate(-50%, -100%); padding: 2px 6px; white-space: nowrap; color: var(--paper); font-size: clamp(14px, 1.15vw, 19px); font-weight: 850; line-height: 1.4; pointer-events: none; text-shadow: 0 2px 4px #130c33, 0 0 12px #130c33; }
.studio-hint { position: absolute; z-index: 5; bottom: 2%; left: 0; width: 100%; margin: 0; text-align: center; font-size: 17px; font-weight: 850; text-shadow: 0 2px 5px #130c33; opacity: 0; visibility: hidden; pointer-events: none; }
body[data-view='intro'] .site-header { opacity: 0; visibility: hidden; pointer-events: none; }
body[data-view='studio'] .object-links,
body[data-view='studio'] .studio-hint { opacity: 1; visibility: visible; }
body[data-view='studio'] .intro-layer { visibility: hidden; pointer-events: none; }
body[data-view='studio'] .scene-poster { filter: none; transform: none; }
html[data-entry='studio'] body[data-page='home'] { --scene-blur: 0px; --intro-opacity: 0; --reveal: 1; }
html[data-entry='studio'] .intro-layer { visibility: hidden; }
.no-script-nav { position: fixed; z-index: 40; inset: auto 20px 20px; padding: 16px; border: 1px solid var(--lavender); border-radius: 12px; background: var(--ink); display: flex; flex-wrap: wrap; gap: 16px; }
.no-script-nav p { width: 100%; margin: 0; }
body:not([data-page='home']) { background: radial-gradient(ellipse at 90% 0%, #38205566, transparent 55%), var(--ink); }
body:not([data-page='home']) .site-header { background: #17132ef7; border-bottom: 1px solid #57416b55; }
.content-main { max-width: 1160px; margin: 0 auto; padding: 140px 44px 80px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--soft); font-size: 14px; font-weight: 800; transition: color .18s; }
.back-link:hover { color: var(--paper); }
.page-heading { padding: 30px 0 55px; }
.eyebrow, .card-eyebrow { margin: 0 0 13px; color: var(--lavender); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.page-title { margin: 0 0 14px; font-size: clamp(42px, 6.5vw, 76px); font-weight: 1000; letter-spacing: -.055em; line-height: 1.12; text-shadow: 0 5px 0 #493071; }
.page-lead { max-width: 690px; margin: 0; color: var(--soft); font-size: 19px; line-height: 1.7; }
.content-section { margin-bottom: 48px; scroll-margin-top: 120px; }
.section-heading { margin: 0 0 20px; font-size: clamp(22px, 2.5vw, 31px); line-height: 1.3; font-weight: 900; letter-spacing: -.025em; }
.section-copy { color: var(--soft); max-width: 680px; margin: 0 0 25px; }
.section-rule { border-top: 1px solid #5f47794f; padding-top: 35px; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.case-card { position: relative; min-width: 0; padding: 30px; border: 1.5px solid #654c86; border-radius: 19px; background: #241c3c; box-shadow: 5px 7px 0 #100c2580; overflow: hidden; }
.case-title { margin: 0 0 12px; font-size: 24px; font-weight: 900; line-height: 1.35; letter-spacing: -.025em; }
.case-copy { margin: 0 0 18px; color: #d2c8e0; font-size: 16px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; padding: 0; list-style: none; }
.tag-list li { padding: 3px 10px; border: 1px solid #685086; border-radius: 7px; font-size: 12px; color: #d9c5f8; font-weight: 800; background: #36264e; }
.placeholder-frame { position: relative; display: grid; place-items: center; min-height: 160px; aspect-ratio: 16 / 9; margin: 22px 0; overflow: hidden; background: linear-gradient(145deg, #3c2959, #221934); border: 1px solid #78569c60; border-radius: 10px; }
.placeholder-frame::before, .placeholder-frame::after { content: ''; position: absolute; width: 140px; height: 140px; border: 1px solid #9b70c927; transform: rotate(35deg); border-radius: 22px; }
.placeholder-frame::before { left: -50px; bottom: -75px; }
.placeholder-frame::after { right: -60px; top: -60px; }
.placeholder-label { position: relative; color: #c5b0da; font-size: 14px; font-weight: 750; }
.muted { color: #b09fc6; font-size: 14px; }
.case-card > :last-child, .contact-card > :last-child { margin-bottom: 0; }
.contact-card { position: relative; padding: 35px; border: 1.5px solid #8b67b9; border-radius: 19px; background: linear-gradient(125deg, #302049, #241a3b); box-shadow: 5px 7px 0 #100c2580; }
.site-footer { max-width: 1072px; margin: 0 auto; padding: 23px 0 32px; color: #a896bd; border-top: 1px solid #5f47794f; font-size: 13px; }
.site-footer p { margin: 0; }
/* Project menus borrow the studio palette and share the same navigation rules. */
body:is([data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu]) { background: var(--deep); }
body:is([data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu])::before,
body:is([data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu])::after { content: ''; position: fixed; pointer-events: none; z-index: 0; }
body:is([data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu])::before { top: 0; left: 0; width: min(35vw, 430px); height: min(50vh, 420px); background: repeating-linear-gradient(133deg, transparent 0 7px, #9e72d412 7px 8px), linear-gradient(130deg, #38245745 0 25%, #21163745 25% 55%, transparent 55%); clip-path: polygon(0 0, 100% 0, 63% 14%, 46% 12%, 0 82%); }
body:is([data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu])::after { right: 0; bottom: 0; width: min(34vw, 420px); height: min(41vh, 330px); background: repeating-linear-gradient(133deg, transparent 0 7px, #9e72d418 7px 8px), linear-gradient(135deg, transparent 0 27%, #32214f70 27% 41%, #22173766 41%); clip-path: polygon(100% 0, 100% 100%, 0 100%, 18% 75%, 40% 72%, 51% 41%, 83% 28%); }
body:is([data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu]) .site-header { background: #100c25f2; border-bottom-color: transparent; }
.pc-main { position: relative; z-index: 1; max-width: 1240px; padding-top: 131px; padding-bottom: 58px; }
.pc-main .back-link { color: var(--lavender); font-size: 16px; }
.pc-page-heading { padding: 20px 0 35px; }
.pc-page-heading .page-title { margin: 0; font-size: clamp(45px, 5.5vw, 72px); text-shadow: 0 3px 0 #4a2d79, 0 7px 0 #2a1649; }
.pc-project-list { display: grid; gap: 25px; margin: 0; padding: 0; list-style: none; }
.pc-project-item { min-width: 0; scroll-margin-top: 12px; }
.pc-project-card { position: relative; display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) 29px; align-items: center; gap: 27px; padding: 13px 25px 16px 15px; border: 2px solid #7854a1; border-radius: 19px; background: linear-gradient(180deg, #4f386d 0 5px, #29203f 5px calc(100% - 6px), #1a132a calc(100% - 6px)); box-shadow: 0 5px 0 #2a1b44, 0 9px 0 #080617; transition: border-color .15s, box-shadow .15s; }
.pc-project-card::before { content: ''; position: absolute; inset: 4px 3px 8px; border: 1px solid #af80dd1f; border-radius: 14px; pointer-events: none; }
.pc-card-preview { position: relative; display: block; min-width: 0; aspect-ratio: 16 / 9; padding: 5px; overflow: hidden; border: 2px solid #130d23; border-radius: 12px; background: #7954a3; box-shadow: 0 0 0 2px #4c326e, inset 0 2px 0 #b896ea; }
.pc-card-preview img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.pc-preview-label { position: absolute; right: 8px; bottom: 8px; left: 8px; padding: 2px 5px; border-radius: 3px; color: #fff5df; background: #17132edb; font-size: 10px; font-weight: 800; line-height: 1.4; text-align: center; letter-spacing: .02em; }
.pc-card-content { min-width: 0; }
.pc-card-title { margin: 0 0 13px; font-size: clamp(23px, 2.6vw, 33px); font-weight: 1000; line-height: 1.22; letter-spacing: -.025em; overflow-wrap: anywhere; text-shadow: 0 2px 0 #171026; }
.pc-tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pc-tag-list li, .pc-detail-tags li { padding: 3px 12px; border: 1.5px solid #9d7bc0; border-radius: 8px; background: #241b36; color: #dbc4f8; box-shadow: inset 0 1px 0 #d3b3ff18, 0 2px 0 #100b1d; font-size: 14px; font-weight: 800; line-height: 1.55; }
.pc-card-arrow { display: block; width: 16px; height: 16px; margin: auto; border-top: 4px solid currentColor; border-right: 4px solid currentColor; border-radius: 1px; color: #ba95ec; transform: rotate(45deg); font-size: 0; }
.pc-project-card:hover, .pc-project-card:focus-visible { border-color: #e798d9; box-shadow: inset 0 0 0 1px #e798d9, 0 5px 0 #4a255a, 0 9px 0 #080617; }
.pc-project-card:hover .pc-card-arrow, .pc-project-card:focus-visible .pc-card-arrow { color: #f2a4df; }
.pc-project-card:focus-visible { outline-offset: 7px; }
.pc-footer { position: relative; z-index: 1; max-width: 1152px; margin: 0 auto; padding: 22px 0 35px; text-align: center; border: 0; font-size: 13px; }
.pc-detail-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; }
.pc-detail-main .pc-page-heading { padding-bottom: 26px; }
.pc-detail-main .page-title { font-size: clamp(36px, 4.8vw, 62px); overflow-wrap: anywhere; }
.pc-detail-tags { margin: 18px 0 0; }
.pc-detail-content { min-width: 0; }
.pc-media-panel { margin: 0 0 35px; padding: 7px; border: 2px solid #7854a1; border-radius: 19px; background: #35254d; box-shadow: inset 0 3px 0 #9270b8, 0 6px 0 #1b102c, 0 10px 0 #080617; }
.pc-media-placeholder { display: grid; width: 100%; min-width: 0; align-content: center; justify-items: center; gap: 12px; aspect-ratio: 16 / 9; min-height: 160px; padding: 28px; border-radius: 11px; color: var(--soft); background: linear-gradient(145deg, #312446 0 50%, #241b37 50%); text-align: center; }
.pc-media-label { margin: 0; color: var(--lavender); font-size: clamp(17px, 2.2vw, 24px); font-weight: 850; }
.pc-media-image, .pc-media-video, .pc-media-frame { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border: 0; border-radius: 11px; background: #100c25; }
.pc-media-panel--youtube .pc-media-frame { min-height: 200px; }
.pc-media-caption { margin: 9px 10px 5px; color: var(--soft); font-size: 14px; }
.pc-detail-summary { margin: 0 0 32px; color: #d2c4e5; font-size: 18px; max-width: 780px; }
.pc-detail-sections { display: grid; gap: 28px; max-width: 860px; }
.pc-detail-section { margin-bottom: 0; padding: 0 0 25px; border-bottom: 1px solid #6850866b; scroll-margin-top: 12px; }
.pc-detail-section .section-heading { margin-bottom: 10px; color: var(--paper); font-size: 25px; }
.pc-detail-section .section-copy { max-width: 800px; margin-bottom: 12px; }
.pc-detail-section > :last-child { margin-bottom: 0; }
.pc-project-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; margin-top: 40px; }
.pc-pagination-slot { min-width: 0; }
.pc-page-link { display: grid; gap: 4px; padding: 17px 20px; border: 1.5px solid #7854a1; border-radius: 12px; background: #29203f; box-shadow: 0 4px 0 #140c22; }
.pc-page-link:hover { border-color: #e798d9; }
.pc-project-next { text-align: right; }
.pc-pagination-direction { color: var(--lavender); font-size: 13px; font-weight: 800; }
.pc-pagination-title { font-size: 19px; font-weight: 900; overflow-wrap: anywhere; }
.pc-empty-state { padding: 35px; border: 2px solid #7854a1; border-radius: 19px; background: #29203f; box-shadow: 0 5px 0 #140c22; }
.pc-empty-title { margin: 0 0 10px; font-size: 25px; line-height: 1.3; }
.pc-empty-copy { color: var(--soft); margin: 0 0 18px; }
/* About keeps the studio's panel style and a compact identity portrait. */
.about-main { padding-top: 112px; padding-bottom: 42px; }
.about-main .pc-page-heading { padding: 18px 0 26px; }
.about-panel { position: relative; min-width: 0; padding: 18px 24px; border: 2px solid #7854a1; border-radius: 19px; background: linear-gradient(180deg, #4f386d 0 5px, #29203f 5px calc(100% - 6px), #1a132a calc(100% - 6px)); box-shadow: 0 5px 0 #2a1b44, 0 9px 0 #080617; }
.about-panel::before { content: ''; position: absolute; inset: 4px 3px 8px; border: 1px solid #af80dd1f; border-radius: 14px; pointer-events: none; }
.about-profile { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 32px; margin-bottom: 20px; }
.about-avatar { width: 100%; min-width: 0; aspect-ratio: 1; padding: 5px; border: 2px solid #130d23; border-radius: 12px; background: #7954a3; box-shadow: 0 0 0 2px #4c326e, inset 0 2px 0 #b896ea; }
.about-avatar img { display: block; width: 100%; height: 100%; border-radius: 5px; object-fit: contain; }
.about-identity { min-width: 0; }
.about-name-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.about-name { margin: 0; color: var(--paper); font-size: clamp(32px, 4.2vw, 52px); font-weight: 1000; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; text-shadow: 0 3px 0 #4a2d79, 0 5px 0 #1b102c; }
.about-pronouns { margin: 0; color: var(--lavender); font-size: 18px; font-weight: 900; line-height: 1.3; }
.about-university { margin: 0 0 4px; font-size: 23px; font-weight: 900; line-height: 1.3; }
.about-education { color: var(--soft); font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.about-education p { margin: 0; }
.about-heading { margin: 0 0 10px; color: var(--paper); font-size: clamp(24px, 2.4vw, 28px); font-weight: 1000; line-height: 1.25; letter-spacing: -.025em; text-shadow: 0 2px 0 #171026; }
.about-bio { margin-bottom: 20px; }
.about-copy { margin: 0; color: var(--soft); font-size: 17px; line-height: 1.6; }
.about-focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.about-tags li { max-width: 100%; overflow-wrap: anywhere; }
.about-contact { display: flex; align-items: center; gap: 28px; }
.about-contact .about-heading { margin: 0; }
.about-email { min-width: 0; padding-left: 28px; border-left: 1px solid #7854a1; color: var(--soft); font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: #9d7bc0; text-underline-offset: 4px; }
.about-email:hover { color: var(--paper); }
@media (max-width: 900px) and (min-width: 701px) {
  .about-profile { grid-template-columns: 160px minmax(0, 1fr); gap: 25px; }
  .about-name { font-size: 38px; }
}
@media (max-width: 900px) and (min-width: 701px) {
  .pc-project-card { grid-template-columns: 190px minmax(0, 1fr) 23px; gap: 22px; padding-right: 19px; }
  .pc-tag-list li { padding-inline: 9px; font-size: 13px; }
}
@media (max-width: 700px) {
  .site-header { padding: 22px 22px; gap: 15px; }
  .brand { font-size: 26px; }
  .header-nav { gap: 10px; }
  .nav-button { min-width: 68px; min-height: 36px; padding: 3px 12px; font-size: 17px; }
  .work-menu { width: 195px; }
  body:is([data-page='home'], [data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu]) .brand { font-size: clamp(18px, 4.4vw, 26px); }
  .intro-title { top: 34%; font-size: 5.4vw; padding: 0 3%; -webkit-text-stroke: 1px #130a34; text-shadow: 0 2px 0 #170c39, 0 5px 0 #9964fb, 0 7px 0 #3e2468; }
  .scroll-cue { bottom: 7%; font-size: 17px; }
  .studio-hint { bottom: 3%; font-size: 13px; }
  .studio-hint::after { content: ''; }
  .content-main { padding: 117px 23px 38px; }
  .page-heading { padding: 25px 0 38px; }
  .page-title { font-size: 47px; }
  .page-lead { font-size: 17px; }
  .content-grid { grid-template-columns: 1fr; gap: 18px; }
  .case-card { padding: 24px; }
  .case-title { font-size: 22px; }
  .contact-card { padding: 26px; }
  .site-footer { margin: 0 23px; }
  .pc-main { padding-top: 112px; padding-bottom: 37px; }
  .pc-page-heading { padding: 21px 0 29px; }
  .pc-page-heading .page-title { font-size: clamp(37px, 9vw, 52px); }
  .pc-project-list { gap: 23px; }
  .pc-project-card { grid-template-columns: minmax(0, 1fr) 23px; gap: 17px 15px; padding: 14px 17px 19px; border-radius: 17px; }
  .pc-card-preview { grid-column: 1 / -1; width: 100%; }
  .pc-card-title { font-size: 26px; margin-bottom: 12px; }
  .pc-card-arrow { width: 13px; height: 13px; border-width: 3px; }
  .pc-preview-label { left: auto; padding-inline: 7px; font-size: 11px; }
  .pc-tag-list li, .pc-detail-tags li { font-size: 12px; padding: 3px 9px; }
  .pc-footer { margin: 0 23px; padding: 18px 0 27px; font-size: 12px; }
  .pc-detail-main .page-title { font-size: 38px; }
  .pc-detail-breadcrumbs { gap: 9px 20px; }
  .pc-detail-breadcrumbs .back-link { font-size: 14px; }
  .pc-detail-tags { margin-top: 15px; }
  .pc-media-panel { margin-bottom: 29px; padding: 5px; border-radius: 15px; }
  .pc-media-placeholder { min-height: 170px; padding: 18px; }
  .pc-detail-summary { font-size: 16px; }
  .pc-detail-section .section-heading { font-size: 23px; }
  .pc-project-pagination { gap: 15px; margin-top: 30px; }
  .pc-page-link { padding: 14px 12px; }
  .pc-pagination-title { font-size: 16px; }
  .pc-empty-state { padding: 24px; }
  .about-main { padding-top: 112px; padding-bottom: 37px; }
  .about-panel { padding: 19px 18px; border-radius: 17px; }
  .about-profile { grid-template-columns: 128px minmax(0, 1fr); gap: 20px; }
  .about-name { font-size: 32px; }
  .about-pronouns { font-size: 16px; }
  .about-university { font-size: 20px; }
  .about-education, .about-copy, .about-email { font-size: 16px; }
  .about-focus-grid { grid-template-columns: 1fr; }
  .about-contact { flex-direction: column; align-items: flex-start; gap: 12px; }
  .about-email { width: 100%; padding: 12px 0 0; border-left: 0; border-top: 1px solid #7854a1; }
}
@media (max-width: 560px) {
  .about-profile { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .about-avatar { width: 128px; }
}
@media (max-width: 700px) and (max-height: 680px) {
  .studio-hint { bottom: 2%; }
}
@media (max-width: 700px) and (max-height: 500px) {
  .site-header { padding-top: 14px; }
  .studio-hint { bottom: 10px; font-size: 12px; }
}
@media (max-width: 360px) {
  body:is([data-page='home'], [data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu]) .site-header { padding-left: 14px; padding-right: 14px; gap: 10px; }
  body:is([data-page='home'], [data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu]) .header-nav { gap: 4px; }
  body:is([data-page='home'], [data-page='pc-projects'], [data-page='pc-project'], [data-page='about'], [data-project-menu]) .nav-button { min-width: 58px; padding-left: 9px; padding-right: 9px; }
}
@media (max-height: 500px) {
  body[data-page='home'] .site-header { padding-top: 14px; padding-bottom: 14px; }
  .studio-hint { bottom: 6px; font-size: 12px; }
}
@media (max-width: 700px) and (orientation: portrait) {
  body[data-page='home'][data-view='studio'] .studio-viewport { display: flex; flex-direction: column; gap: 24px; padding: 90px 18px 24px; overflow-x: hidden; overflow-y: auto; }
  body[data-page='home'][data-view='studio'] .scene-stage { position: relative; inset: auto; flex: 0 0 auto; align-self: center; width: min(100%, calc((100svh - 340px) * 1.6)); min-width: min(100%, 160px); aspect-ratio: 8 / 5; border-radius: 14px; box-shadow: 0 0 0 2px #7854a1, 0 5px 0 #1b102c; }
  body[data-page='home'][data-view='studio'] .scene-frame { inset: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; }
  body[data-page='home'][data-view='studio'] .scene-runtime { pointer-events: none; }
  body[data-page='home'] .object-links,
  body[data-page='home'] .object-caption,
  body[data-page='home'] .studio-hint { display: none; }
  body[data-page='home'][data-view='studio'] .mobile-project-links { display: grid; flex: 0 0 auto; gap: 12px; margin-block: auto; }
  .mobile-project-link { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 20px; border: 2px solid #7854a1; border-radius: 15px; background: linear-gradient(180deg, #4f386d 0 4px, #29203f 4px calc(100% - 5px), #1a132a calc(100% - 5px)); box-shadow: 0 4px 0 #2a1b44, 0 7px 0 #080617; font-size: 18px; font-weight: 900; line-height: 1.4; }
  .mobile-project-link .pc-card-arrow { flex: 0 0 auto; margin: 0 3px 0 0; width: 12px; height: 12px; border-width: 3px; }
  .mobile-project-link:hover,
  .mobile-project-link:focus-visible { border-color: var(--pink); }
}
@media (max-width: 700px) and (orientation: portrait) and (max-height: 430px) {
  body[data-page='home'][data-view='studio'] .studio-viewport { gap: 16px; padding-top: 80px; padding-bottom: 20px; }
  body[data-page='home'][data-view='studio'] .scene-stage { width: min(100%, calc((100svh - 292px) * 1.6)); min-width: min(100%, 128px); }
  body[data-page='home'][data-view='studio'] .mobile-project-links { gap: 10px; }
  .mobile-project-link { min-height: 48px; padding-block: 8px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .home-scroll { height: 100svh; }
  .scene-poster { filter: none; transform: none; }
}
