:root {
  --neon: #1a5fff;
  --neon-dim: #c4c4c4;
  --neon-faint: rgba(26, 95, 255, 0.08);
  --red: #f03a2f;
  --amber: #e5a000;
  --bg: #f5f5f0;
  --text: #111;
  --text-dim: #555;
  --card-bg: rgba(255, 255, 255, 0.94);
  --label-bg: rgba(255, 255, 255, 0.92);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: auto; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  transition: color 450ms ease, background-color 450ms ease;
}
body.lightbox-open { overflow: hidden; }
button, a { color: inherit; font: inherit; }
img, svg { display: block; max-width: 100%; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.link-icon { flex: 0 0 auto; width: 1.1em; height: 1.1em; fill: currentColor; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--neon); outline-offset: 4px; }
::selection { color: white; background: var(--neon); }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 0.9rem;
  color: white;
  background: #111;
  border-radius: 0;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  cursor: grab;
  touch-action: none;
}
#bg-canvas.dragging { cursor: grabbing; }
#bg-canvas.panning { cursor: move; }
#bg-canvas.dollying { cursor: ns-resize; }
#brightness-overlay { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

#site-nav {
  position: fixed;
  top: 1.55rem;
  right: 2rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.45rem;
}
.nav-link {
  position: relative;
  padding: 0.15rem 0;
  color: var(--neon);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-link:hover { color: #888; }
.nav-link[aria-current="location"]::after { opacity: 0.6; transform: scaleX(1); }

#drag-hint {
  position: fixed;
  bottom: 2.2rem;
  left: 50%;
  z-index: 25;
  padding: 0.38rem 1rem;
  margin: 0;
  color: rgba(0, 0, 0, 0.38);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity 700ms ease;
}
#drag-hint.hidden, .no-webgl #drag-hint { opacity: 0; }

main { position: relative; z-index: 2; pointer-events: none; }
.section-panel {
  position: relative;
  display: flex;
  min-height: 115vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2.5rem;
  padding: 5rem 2rem;
  pointer-events: none;
}
.section-panel > * { pointer-events: auto; }
.intro-panel { min-height: 120vh; gap: 1.4rem; text-align: center; }
.about-panel { min-height: 120vh; gap: 2.2rem; }
.intro-name {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4.5rem, 13vw, 11rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-shadow: none;
}
.intro-name a { text-decoration: none; }
.intro-tagline {
  margin: 0.8rem 0 0;
  color: var(--text-dim);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 3.8vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  text-transform: uppercase;
}
.intro-role { margin: 0; color: var(--text-dim); font-size: clamp(0.76rem, 1.4vw, 0.9rem); letter-spacing: 0.12em; }
.zeus-hint {
  position: fixed;
  bottom: 4.5rem;
  left: 50%;
  z-index: 45;
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding: 0.6rem 1.2rem;
  margin: 0;
  color: white;
  background: rgba(109, 40, 217, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(76, 29, 149, 0.28);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  pointer-events: none;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: hint-pulse 2.6s ease-in-out infinite;
}
.zeus-hint[hidden], .no-webgl .zeus-hint { display: none; }
@keyframes hint-pulse { 0%, 100% { opacity: 0.82; } 50% { opacity: 1; } }

.card-label {
  padding: 0.42rem 1.1rem;
  margin: 0;
  color: var(--red);
  background: var(--label-bg);
  border: 1px solid var(--neon-dim);
  border-radius: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.glass-card {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--neon-dim);
  border-radius: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.about-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1080px, 100%);
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.about-card {
  flex: 1 1 0;
  width: auto;
  max-width: 520px;
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.5rem, 4vw, 2.8rem);
}
.about-greeting { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 1.08rem; font-weight: 600; }
.about-copy { margin: 1rem 0 0; font-size: 0.98rem; line-height: 1.8; }
.impact-word { margin: 1.25rem 0 0; color: var(--neon); font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; text-align: center; }
.about-photo-wrap {
  flex: 0 0 auto;
  width: min(440px, 42vw);
  margin: 0;
}
.about-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 599;
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.about-photo-wrap .image-button {
  overflow: hidden;
  border-radius: 0;
}
.about-photo-wrap figcaption {
  margin-top: 0.6rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  text-align: center;
}
.image-button { display: block; width: 100%; padding: 0; overflow: hidden; background: transparent; border: 0; border-radius: inherit; cursor: zoom-in; }
.image-reveal { opacity: 0; transform: translateY(16px); transition: opacity 400ms ease, transform 400ms ease; }
.image-reveal.visible { opacity: 1; transform: none; }

.project-solo-panel { gap: 2.3rem; }
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 660px;
  min-height: 370px;
  padding: clamp(2rem, 5vw, 3rem);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.project-card:hover { border-color: #9a9a9a; }
.project-accent {
  position: absolute;
  top: 1.85rem;
  right: 1.85rem;
  width: 68px;
  height: 68px;
  padding: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--neon-dim);
  border-radius: 0;
}
.project-accent--wide {
  width: 148px;
  height: 52px;
  padding: 7px 10px;
  background: #0a0a0a;
}
.project-heading { min-height: 82px; padding-right: 100px; }
.project-card:has(.project-accent--wide) .project-heading { padding-right: 168px; }
.project-heading h3 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.45rem, 3vw, 1.75rem); line-height: 1.2; }
.project-meta { margin: 0.35rem 0 0; color: var(--text-dim); font-size: 0.71rem; letter-spacing: 0.1em; text-transform: uppercase; }
.project-card > p { margin: 0 0 1.4rem; color: var(--text-dim); font-size: 0.91rem; font-weight: 300; line-height: 1.85; }
.project-counter { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.15em; opacity: 0.55; }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; list-style: none; }
.tags li { padding: 0.28rem 0.55rem; color: var(--neon); background: var(--neon-faint); border: 1px solid var(--neon-dim); border-radius: 0; font-size: 0.73rem; white-space: nowrap; }
.project-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; margin-top: auto; }
.contact-links a, .hobby-card a, .download-link, .resume-open-link { color: var(--neon); font-size: 0.8rem; font-weight: 600; text-decoration: none; }
.contact-links a:hover, .hobby-card a:hover, .download-link:hover, .resume-open-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  color: white;
  background: var(--neon);
  border-radius: 0;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}
.project-link:hover { opacity: 0.88; }
.project-note, .private-label { color: var(--text-dim); font-size: 0.68rem; opacity: 0.78; }
.project-note { display: block; margin: 0 0 1.25rem; }

.project-accordion-panel { min-height: 140vh; }
.project-accordion { display: grid; width: min(920px, 100%); gap: 0.85rem; }
.project-disclosure { overflow: hidden; transition: border-color 220ms ease, box-shadow 220ms ease; }
.project-disclosure:hover, .project-disclosure[open] { border-color: #9a9a9a; }
.project-disclosure summary {
  display: grid;
  min-height: 108px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  list-style: none;
  cursor: pointer;
}
.project-disclosure summary::-webkit-details-marker { display: none; }
.project-disclosure summary:focus-visible { outline-offset: -4px; }
.hobby-card .image-button:focus-visible, .resume-frame a:focus-visible { outline-offset: -4px; }
.project-disclosure[open] summary { border-bottom: 1px solid var(--neon-dim); }
.project-index { color: var(--red); font-family: "Space Grotesk", sans-serif; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; }
.project-summary-text { display: grid; min-width: 0; transition: transform 180ms ease; }
.project-disclosure summary:hover .project-summary-text { transform: translateX(3px); }
.project-summary-text strong { overflow: hidden; font-family: "Space Grotesk", sans-serif; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.project-summary-text small { margin-top: 0.15rem; color: var(--text-dim); font-size: 0.66rem; letter-spacing: 0.07em; text-transform: uppercase; }
.project-summary-tail { display: flex; align-items: center; justify-self: end; gap: 0.9rem; }
.project-summary-art { flex: 0 0 auto; object-fit: cover; background: white; border: 1px solid var(--neon-dim); border-radius: 0; }
.project-summary-art--graphene { width: 180px; height: 68px; padding: 6px 9px; object-fit: contain; background: #080b0f; }
.project-summary-art--reglineage { width: 180px; height: 54px; padding: 5px 9px; object-fit: contain; background: #0a0a0a; }
.project-summary-art--x { width: 72px; height: 72px; }
.project-summary-art--imc { width: 128px; height: 72px; }
.project-toggle { display: grid; width: 28px; height: 28px; place-items: center; color: var(--neon); border: 1px solid var(--neon-dim); border-radius: 0; font-size: 1.15rem; line-height: 1; transition: transform 220ms ease, color 220ms ease; }
.project-disclosure[open] .project-toggle { color: var(--red); transform: rotate(45deg); }
.project-details { padding: 1.5rem 1.35rem 1.7rem 3.75rem; animation: project-reveal 240ms ease both; }
.project-details > p { margin: 0 0 1.4rem; color: var(--text-dim); font-size: 0.88rem; font-weight: 300; line-height: 1.8; }
.project-details .project-footer { padding-top: 1.25rem; }
@keyframes project-reveal { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }

.resume-card { max-width: 660px; padding: clamp(2rem, 5vw, 3rem) clamp(1.6rem, 6vw, 3.5rem); }
.resume-card > h3 { padding-bottom: 0.85rem; margin: 0 0 1.5rem; color: var(--neon); border-bottom: 1px solid var(--neon-dim); font-family: "Space Grotesk", sans-serif; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; }
.resume-list { padding: 0; margin: 0; list-style: none; }
.resume-list > li + li { padding-top: 1.55rem; margin-top: 1.55rem; border-top: 1px solid var(--neon-dim); }
.resume-list strong, .resume-list span { display: block; }
.resume-list strong { color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 0.94rem; }
.resume-list span { margin-top: 0.28rem; color: var(--text-dim); font-size: 0.77rem; opacity: 0.82; }
.resume-list p { margin: 0.6rem 0 0; color: var(--text-dim); font-size: 0.83rem; font-weight: 300; }
.education-card { max-width: 720px; }
.education-entry { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 1.5rem; }
.school-logo { width: 96px; height: 96px; padding: 4px; object-fit: contain; background: white; border: 1px solid var(--neon-dim); border-radius: 0; }
.experience-card { max-width: 700px; }
.experience-card strong { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.experience-card .employer-logo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.95);
}
.experience-card .employer-logo--expandya {
  width: 46px;
  height: 46px;
}
.experience-card .employer-logo--northeastern {
  width: 112px;
  height: 38px;
  padding: 4px 6px;
  border-radius: 0;
  object-fit: contain;
}
.ohern-button {
  display: block;
  width: min(100%, 320px);
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--neon-dim);
  border-radius: 0;
}
.ohern-button img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.interests-panel { min-height: 130vh; }
.interests-card { position: relative; max-width: 920px; overflow: visible; }
.hobbies-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hobby-card { overflow: hidden; background: rgba(0, 0, 0, 0.025); border: 1px solid var(--neon-dim); border-radius: 0; }
.hobby-card .image-button { border-radius: 0; }
.hobby-card .image-button img { width: 100%; height: 176px; object-fit: cover; }
.hobby-card:nth-child(1) img { object-position: center 35%; }
.hobby-card:nth-child(2) img { object-position: 28% center; }
.hobby-card:nth-child(3) img { object-position: center 45%; }
.hobby-card > div { padding: 1.1rem 1.2rem 1.25rem; }
.hobby-card h4 { margin: 0 0 0.5rem; color: var(--neon); font-family: "Space Grotesk", sans-serif; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.hobby-card p { margin: 0 0 0.8rem; color: var(--text-dim); font-size: 0.8rem; font-weight: 300; }
.golf-emphasis { color: var(--neon); font-size: 1.8em; font-weight: 700; line-height: 0; }
.luna-float {
  position: absolute;
  right: -220px;
  bottom: 70px;
  width: 188px;
  margin: 0;
  padding: 8px;
  background: white;
  border: 1px solid var(--neon-dim);
}
.luna-float img {
  display: block;
  width: 100%;
  height: auto;
}
.luna-float figcaption {
  margin-top: 0.5rem;
  color: var(--text-dim);
  font-size: 0.68rem;
  text-align: center;
  white-space: nowrap;
}

.contact-panel { min-height: 125vh; gap: 2rem; padding-bottom: 8rem; }
#scene-outro { height: 200vh; pointer-events: none; }
#site-nav, #drag-hint, .back-to-top { transition: opacity 350ms ease, transform 350ms ease; }
body.scene-outro-active #site-nav,
body.scene-outro-active #drag-hint,
body.scene-outro-active .back-to-top { opacity: 0; pointer-events: none; }
.contact-intro { margin: -0.5rem 0 0; color: var(--text-dim); font-size: 0.96rem; font-weight: 300; text-align: center; }
.contact-card { max-width: 720px; padding: clamp(2rem, 6vw, 3.25rem); text-align: center; }
.email-line { margin: 0 0 1.2rem; color: var(--text); font-size: 1rem; }
.primary-button { padding: 0.85rem 2.4rem; color: white; background: var(--neon); border: 0; font-family: "Space Grotesk", sans-serif; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
#resume-preview { margin-top: 1.4rem; }
.resume-frame { width: min(580px, 100%); height: min(680px, 72vh); margin: 0 auto; overflow: hidden; background: white; border: 1px solid var(--neon-dim); border-radius: 0; }
.resume-frame a { display: block; width: 100%; height: 100%; }
.resume-frame img { width: 100%; height: 100%; object-fit: contain; }
.resume-preview-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.2rem; margin-top: 0.9rem; }
.resume-open-link, .download-link { display: inline-block; }
.contact-links { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.8rem; }
.contact-links a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.65rem 0.9rem; background: var(--neon-faint); border: 1px solid var(--neon-dim); border-radius: 0; }

.back-to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 35; padding: 0.48rem 0.68rem; color: var(--neon); background: var(--card-bg); border: 1px solid var(--neon-dim); border-radius: 0; font-size: 0.68rem; font-weight: 600; text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 180ms ease, transform 180ms ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }

#lightbox { position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 0; margin: 0; background: rgba(0, 0, 0, 0.84); border: 0; }
#lightbox[open] { display: grid; place-items: center; }
#lightbox::backdrop { background: transparent; }
#lightbox-image { max-width: 88vw; max-height: 86vh; object-fit: contain; border-radius: 0; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
#lightbox-close { position: absolute; top: 1.3rem; right: 1.4rem; display: grid; width: 44px; height: 44px; place-items: center; color: white; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 0; font-size: 1.5rem; cursor: pointer; }

body.dark-mode { --text: #e8e8e8; --text-dim: #aaa; --card-bg: rgba(18, 18, 18, 0.94); --label-bg: rgba(10, 10, 14, 0.94); background: #050505; }
body.dark-mode .intro-name { text-shadow: none; }
body.dark-mode .glass-card { border-color: #777; box-shadow: none; }
body.dark-mode .nav-link, body.dark-mode .project-toggle, body.dark-mode .contact-links a, body.dark-mode .hobby-card a, body.dark-mode .download-link, body.dark-mode .resume-open-link { color: var(--amber); }
body.dark-mode .project-link { color: #111; background: var(--amber); }
body.dark-mode .tags li { color: var(--amber); background: rgba(229, 160, 0, 0.1); border-color: rgba(229, 160, 0, 0.25); }
body.dark-mode #drag-hint { color: rgba(255, 255, 255, 0.5); background: rgba(0, 0, 0, 0.55); border-color: rgba(255, 255, 255, 0.1); }
body.dark-mode .zeus-hint { color: white; background: rgba(109, 40, 217, 0.94); border-color: rgba(221, 214, 254, 0.65); }
body.dark-mode .hobby-card { background: rgba(255, 255, 255, 0.035); border-color: #777; }

@media (max-width: 1370px) { .luna-float { display: none; } }
@media (max-width: 768px) {
  #bg-canvas { touch-action: pan-y; cursor: default; }
  #drag-hint { display: none; }
  #site-nav { top: 1.3rem; right: 1rem; gap: 0.8rem; }
  .nav-link { font-size: 0.64rem; }
  .section-panel { min-height: 110vh; padding: 5.5rem 1.25rem; }
  .intro-panel { min-height: 115vh; }
  .about-layout { flex-direction: column; gap: 1.75rem; }
  .about-card { max-width: 650px; width: 100%; }
  .about-photo-wrap { width: min(420px, 88vw); }
  .project-card { min-height: 0; }
  .project-accordion-panel { min-height: 145vh; }
  .project-disclosure summary { min-height: 100px; }
  .project-summary-art--graphene { width: 160px; height: 60px; }
  .project-summary-art--reglineage { width: 160px; height: 48px; }
  .project-summary-art--x { width: 64px; height: 64px; }
  .project-summary-art--imc { width: 112px; height: 63px; }
  .project-details { padding-left: 1.35rem; }
  .project-accent--wide { width: 128px; height: 46px; }
  .project-card:has(.project-accent--wide) .project-heading { padding-right: 148px; }
  .hobbies-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hobby-card { display: grid; grid-template-columns: 0.9fr 1.1fr; }
  .hobby-card .image-button { border-radius: 0; height: 100%; }
  .hobby-card .image-button img { height: 100%; min-height: 168px; }
  .interests-panel { min-height: 180vh; }
  .experience-card .employer-logo--expandya { width: 42px; height: 42px; }
  .experience-card .employer-logo--northeastern { width: 100px; height: 34px; }
}
@media (max-width: 520px) {
  #site-nav { top: 1.2rem; gap: 0.58rem; }
  .nav-link { font-size: 0.56rem; letter-spacing: 0.035em; }
  .section-panel { min-height: 112vh; gap: 1.7rem; padding: 5rem 1rem; }
  .intro-name { font-size: clamp(4rem, 22vw, 6rem); }
  .intro-tagline { letter-spacing: 0.38em; text-indent: 0.38em; }
  .intro-role { width: 82%; line-height: 1.8; }
  .zeus-hint { bottom: 3.7rem; font-size: 0.68rem; letter-spacing: 0.14em; }
  .card-label { font-size: 0.7rem; }
  .about-copy { font-size: 0.94rem; }
  .project-accent { top: 1.25rem; right: 1.25rem; width: 54px; height: 54px; padding: 6px; }
  .project-accent--wide { width: 112px; height: 40px; padding: 5px 8px; }
  .project-heading { min-height: 72px; padding-right: 72px; }
  .project-card:has(.project-accent--wide) .project-heading { padding-right: 128px; }
  .project-footer { align-items: flex-start; flex-direction: column; }
  .project-disclosure summary { min-height: 82px; gap: 0.7rem; padding: 0.95rem 1rem; }
  .project-summary-tail { gap: 0.55rem; }
  .project-summary-art--graphene { width: 104px; height: 40px; padding: 4px 6px; }
  .project-summary-art--reglineage { width: 104px; height: 36px; padding: 3px 6px; }
  .project-summary-art--x { width: 52px; height: 52px; }
  .project-summary-art--imc { width: 80px; height: 45px; }
  .project-details { padding: 1.25rem 1rem 1.45rem; }
  .resume-card { padding: 1.7rem 1.35rem; }
  .education-entry { grid-template-columns: 74px minmax(0, 1fr); gap: 1rem; }
  .school-logo { width: 74px; height: 74px; }
  .experience-card strong { align-items: flex-start; }
  .hobby-card { display: block; }
  .hobby-card .image-button { border-radius: 0; }
  .hobby-card .image-button img { height: 168px; min-height: 0; }
  .interests-panel { min-height: 210vh; }
  .contact-intro { width: 90%; }
  .email-line { overflow-wrap: anywhere; }
  .resume-frame { height: 62vh; }
  .contact-links { gap: 0.75rem; }
  .back-to-top { right: 0.8rem; bottom: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .zeus-hint { display: none; }
  .image-reveal { opacity: 1; transform: none; }
  .project-card:hover { transform: none; }
}
