:root {
  --ink: #080808;
  --paper: #f1f1ef;
  --surface: #e3e3e0;
  --surface-2: #c9c9c5;
  --muted: #4a4a46;
  --muted-dark: #b8b8b4;
  --pad: clamp(20px, 3.2vw, 40px);
  --max: 1760px;
  --display: 124px;
  --h2: 86px;
  --h3: 49px;
  --lead: 24px;
  --body: 17px;
  --small: 13px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  caret-color: currentColor;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

p {
  max-width: 36em;
}

::selection {
  background: #9a9a9a;
  color: var(--ink);
}

::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--small);
  transform: translateY(-160%);
  transition: transform var(--t-ui) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

main {
  display: flex;
  flex-direction: column;
}

#main > [data-view] {
  display: none;
}

#main > [data-view].is-active {
  display: block;
}

#main > [data-view].is-active.page-divider {
  display: grid;
}

.hero[data-view="home"] {
  order: 1;
}

.page-divider.divider-home {
  order: 2;
  margin-inline: 0;
  padding-inline: var(--pad);
  background: #f7f7f5;
}

.profile[data-view="home"] {
  order: 3;
}

.page-divider.divider-awards {
  order: 1;
  margin-inline: 0;
  padding-inline: var(--pad);
  background: #f4f4f2;
}

.awards[data-view="awards"] {
  order: 2;
}

.divider-projects-top {
  order: 1;
}

.experience[data-view="projects"] {
  order: 2;
}

.divider-projects-mid {
  order: 3;
}

.work[data-view="projects"] {
  order: 4;
}

.divider-internship {
  order: 1;
}

.internship[data-view="internship"] {
  order: 2;
}

body[data-view="projects"],
body[data-view="internship"] {
  background: var(--ink);
}

body[data-view="home"] {
  background: #f7f7f5;
}

body[data-view="awards"] {
  background: #f4f4f2;
}

.page-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-inline: var(--pad);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.page-divider--top {
  margin-top: 140px;
}

.page-divider--dark {
  margin-inline: 0;
  padding-inline: var(--pad);
  border-color: var(--line-dark);
  background: var(--ink);
  color: var(--muted-dark);
}

.divider-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.divider-diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  transform: rotate(45deg);
}

.divider-center {
  text-align: center;
}

.divider-right {
  text-align: right;
}

.work,
.awards,
.internship {
  padding-inline: var(--pad);
}

.work > .wrap,
.awards > .wrap,
.internship > .wrap {
  padding-inline: 0;
  position: relative;
  z-index: 1;
}

/* =========================================================
   header
   ========================================================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 92px;
  padding: 22px var(--pad);
  background: transparent;
  color: var(--paper);
}

body[data-view="awards"] .site-header {
  color: var(--ink);
}

body.is-transitioning .site-header {
  color: var(--paper);
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(24px, 3.4vw, 54px);
}

.site-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: currentColor;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.58;
  transition: opacity var(--t-hover) ease;
}

.site-nav a span {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.62;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a.is-active {
  font-weight: 700;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: var(--paper);
  font-size: var(--small);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color var(--t-hover) ease;
}

.header-contact:hover {
  background: transparent;
  text-decoration-color: currentColor;
}

.header-contact:active {
  transform: none;
}

.menu-button {
  display: none;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: var(--body);
  cursor: pointer;
}

.menu-button:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* =========================================================
   mobile menu
   ========================================================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px var(--pad) 32px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.55s var(--ease-out), visibility 0.55s;
}

.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  padding: 14px 0;
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.mobile-menu nav a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 8px;
}

.mobile-menu-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--small);
  color: var(--muted-dark);
}

.mobile-menu-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* =========================================================
   shared
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--body);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.btn:hover {
  background: var(--surface-2);
}

.btn:active {
  transform: scale(0.98);
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: var(--body);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  cursor: pointer;
  transition: color var(--t-hover) ease;
}

.text-link:hover {
  color: inherit;
  text-decoration-thickness: 3px;
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
}

.section-head h2,
.experience-head h2,
.intern-head h2 {
  font-size: var(--h2);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-head p,
.section-head-side p,
.experience-head p {
  max-width: 46ch;
  color: var(--muted);
  font-size: var(--lead);
  line-height: 1.45;
}

.work .section-head p,
.work .section-head-side p,
.internship .section-head p {
  color: rgba(241, 241, 239, 0.68);
}

.section-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* =========================================================
   hero
   ========================================================= */

.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  background: #050505;
  color: var(--paper);
  overflow: hidden;
}

/* ---- background ---- */

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #050505;
  overflow: hidden;
}

.hero-media .hero-plasma {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #080808;
}

.hero-plasma::after {
  content: "";
  position: absolute;
  inset: -12% 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0 1px,
    transparent 1px 9px
  );
  mix-blend-mode: screen;
  opacity: 0;
}

.hero-media .hero-plasma.is-fallback {
  background-color: #080808;
  background-image: url("assets/poster.jpg");
  background-position: 58% 28%;
  background-size: cover;
}

.hero-media.is-glitching .hero-plasma .plasma-canvas {
  animation: plasmaJitter 360ms steps(2, end) 1;
}

.hero-media.is-glitching .hero-plasma::after {
  opacity: 0.14;
  animation: plasmaScan 300ms steps(3, end) 1;
}

@keyframes plasmaJitter {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  28% {
    transform: translate3d(1.5px, 0, 0);
  }
  52% {
    transform: translate3d(-1px, 0, 0);
  }
  74% {
    transform: translate3d(2px, 0, 0);
  }
}

@keyframes plasmaScan {
  from {
    transform: translateY(-8%);
  }
  to {
    transform: translateY(8%);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 11%, rgba(0, 0, 0, 0.14) 30%, rgba(0, 0, 0, 0) 44%), /* taste-skill-ignore: neutral scrim */
    linear-gradient(0deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.74) 18%, rgba(0, 0, 0, 0.2) 38%, rgba(0, 0, 0, 0) 52%), /* taste-skill-ignore: neutral scrim */
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.3) 24%, rgba(0, 0, 0, 0.02) 52%, rgba(0, 0, 0, 0) 78%); /* taste-skill-ignore: neutral scrim */
}

/* ---- registration marks ---- */

.hero-marks {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-mark {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0.42;
}

.hero-mark::before,
.hero-mark::after {
  content: "";
  position: absolute;
  background: rgba(241, 241, 239, 0.8);
}

.hero-mark::before {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
}

.hero-mark::after {
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
}

.hero-mark-a {
  right: 8.4%;
  top: 26%;
}

.hero-mark-b {
  left: 8.4%;
  bottom: 30%;
}

.hero-mark-c {
  right: 8.4%;
  bottom: 30%;
}

/* ---- discipline column ---- */

.hero-disciplines {
  position: absolute;
  left: var(--pad);
  top: clamp(198px, 27vh, 306px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding-left: 16px;
  color: rgba(241, 241, 239, 0.62);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 2.05;
}

.hero-disciplines::before {
  content: "";
  position: absolute;
  left: 0;
  top: -44px;
  bottom: -44px;
  width: 1px;
  background: rgba(241, 241, 239, 0.26);
}

.hero-disciplines p {
  margin: 0;
}

/* ---- lead ---- */

.hero-lead {
  position: absolute;
  left: var(--pad);
  bottom: clamp(46px, 7vh, 82px);
  z-index: 5;
  width: min(880px, 74vw);
}

.hero-name-line {
  margin: 0 0 clamp(14px, 1.6vh, 20px);
  color: rgba(241, 241, 239, 0.78);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.6;
}

.name-slot {
  color: var(--paper);
  font-weight: 700;
}

.hero-word {
  margin: 0;
  color: var(--paper);
  font-size: clamp(64px, 10.4vw, 172px);
  font-weight: 900;
  font-style: normal;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-indent: -0.085em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-intro {
  margin: clamp(16px, 2.1vh, 24px) 0 0;
  max-width: 46ch;
  color: rgba(241, 241, 239, 0.78);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
}

.hero-context {
  margin: 8px 0 0;
  color: rgba(241, 241, 239, 0.5);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(18px, 2.5vh, 28px);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--paper);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background var(--t-hover) ease,
    border-color var(--t-hover) ease,
    color var(--t-hover) ease,
    transform var(--t-hover) var(--ease-out);
}

.hero-cta .cta-arrow {
  transition: transform var(--t-hover) var(--ease-out);
}

.hero-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

.hero-cta:hover .cta-arrow {
  transform: translateX(3px);
}

.hero-cta.is-ghost {
  border-color: rgba(241, 241, 239, 0.34);
  background: transparent;
  color: var(--paper);
}

.hero-cta.is-ghost:hover {
  border-color: var(--paper);
  background: rgba(241, 241, 239, 0.07);
}

.hero-rule {
  position: absolute;
  right: var(--pad);
  bottom: clamp(74px, 10.6vh, 112px);
  z-index: 4;
  width: min(420px, 26vw);
  height: 1px;
  background: rgba(241, 241, 239, 0.22);
  pointer-events: none;
}


.page-transition {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 140px var(--pad) 40px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease-out), visibility 0.32s;
}

.page-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.transition-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 12px;
}

.transition-divider > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.transition-divider > span:nth-child(2) {
  text-align: center;
}

.transition-divider > span:last-child {
  text-align: right;
}

.transition-number {
  align-self: flex-end;
  font-size: clamp(140px, 24vw, 340px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.is-transitioning {
  overflow: hidden;
}

/* =========================================================
   profile
   ========================================================= */

.profile {
  padding-block: clamp(64px, 7vw, 112px) clamp(96px, 12vw, 180px);
  background:
    radial-gradient(circle at 82% 38%, #ffffff 0%, rgba(255, 255, 255, 0) 34%), /* taste-skill-ignore: monochrome gradient brief */
    linear-gradient(180deg, #f7f7f5 0%, #f7f7f5 24%, #e7e7e4 100%); /* taste-skill-ignore: monochrome gradient brief */
}

.about-layout {
  display: grid;
  grid-template-columns: 18% 16.5% 18.2% minmax(0, 1fr);
  column-gap: 0;
  row-gap: clamp(56px, 6.5vw, 104px);
  align-items: start;
}

.about-photo {
  grid-column: 1;
  grid-row: 1 / span 5;
  align-self: start;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.about-label {
  grid-column: 3;
  font-size: var(--body);
  font-weight: 600;
  line-height: 1.4;
}

.about-intro,
.about-fact {
  grid-column: 4;
}

.about-intro h2 {
  margin-bottom: 12px;
  font-size: var(--h3);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-role {
  margin-bottom: 24px !important;
  color: var(--muted) !important;
  font-size: var(--small) !important;
}

.about-intro p,
.about-fact {
  max-width: 36em;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.75;
}

.about-intro p + p {
  margin-top: 16px;
}

.about-intro .text-link {
  margin-top: 28px;
}

/* =========================================================
   work index
   ========================================================= */

.work {
  position: relative;
  overflow: hidden;
  padding-block: 56px clamp(96px, 12vw, 180px);
  background:
    linear-gradient(180deg, #080808 0%, #080808 96px, rgba(8, 8, 8, 0) 260px),
    radial-gradient(circle at 18% 24%, #292929 0%, #0b0b0b 44%, #050505 100%); /* taste-skill-ignore: monochrome gradient brief */
  color: var(--paper);
}

.work .section-head h2 {
  font-size: var(--display);
}

.work .btn {
  color: var(--ink);
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 32px 0 36px;
}

.filter {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(241, 241, 239, 0.58);
  font-size: var(--body);
  cursor: pointer;
  transition: color var(--t-hover) ease;
}

.filter span {
  margin-left: 4px;
  color: var(--muted-dark);
  font-size: var(--small);
}

.filter:hover {
  color: var(--paper);
}

.filter.is-active {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  font-weight: 700;
}

.work-group {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(36px, 5vw, 60px);
}

.work-group:first-child {
  padding-top: 0;
}

.work-group[hidden] {
  display: none;
}

.group-head {
  position: sticky;
  top: 96px;
  align-self: start;
}

.group-head h3 {
  font-size: var(--h3);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.group-head p {
  margin-top: 10px;
  color: var(--muted-dark);
  font-size: var(--small);
}

.group-head span {
  display: block;
  margin-top: 12px;
  color: var(--muted-dark);
  font-size: var(--small);
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work-row button {
  display: block;
  width: 100%;
  padding: 16px 14px;
  border: 0;
  background: transparent;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: background var(--t-ui) ease, color var(--t-ui) ease, padding-left var(--t-ui) var(--ease-out);
}

.work-row button:hover {
  background: var(--paper);
  color: var(--ink);
  padding-left: 24px;
}

.w-title {
  display: block;
  font-size: var(--lead);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.w-sub {
  display: block;
  margin-top: 4px;
  color: rgba(241, 241, 239, 0.52);
  font-size: var(--small);
  line-height: 1.5;
  transition: color var(--t-ui) ease;
}

.work-row button:hover .w-sub {
  color: var(--muted);
}

/* =========================================================
   awards
   ========================================================= */

.awards {
  position: relative;
  overflow: hidden;
  padding-block: 48px clamp(96px, 12vw, 180px);
  background: linear-gradient(180deg, #f4f4f2 0%, #f4f4f2 240px, #d5d5d1 62%, #b7b7b3 100%); /* taste-skill-ignore: monochrome gradient brief */
  color: var(--ink);
}

.awards .section-head p {
  color: var(--ink);
}

.award-features {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(12px, 1.6vw, 24px);
  margin-top: clamp(40px, 5vw, 64px);
}

.award-feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: clamp(24px, 3.4vw, 44px);
  background: linear-gradient(145deg, #1c1c1c 0%, #050505 100%); /* taste-skill-ignore: monochrome gradient brief */
  color: var(--paper);
}

.award-feature-gold {
  background: linear-gradient(145deg, #ffffff 0%, #d8d8d5 100%); /* taste-skill-ignore: monochrome gradient brief */
  color: var(--ink);
}

.award-feature h3 {
  max-width: 12ch;
  font-size: var(--h3);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.award-meta {
  font-size: var(--small);
}

.award-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.award-result {
  font-size: var(--lead);
  font-weight: 700;
  line-height: 1.2;
}

.award-project {
  font-size: var(--small);
  line-height: 1.5;
}

.award-record {
  display: flex;
  flex-direction: column;
  gap: clamp(96px, 8vw, 140px);
  margin-top: clamp(96px, 8vw, 140px);
}

.award-year-block {
  display: grid;
  grid-template-columns: 0.2fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.award-year-block > h3 {
  font-size: var(--h3);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.award-rows {
  display: flex;
  flex-direction: column;
}

.award-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px 140px;
  gap: 24px;
  align-items: baseline;
  padding: 15px 12px;
  font-size: var(--body);
  transition: background var(--t-hover) ease, color var(--t-hover) ease;
}

.award-row:hover {
  background: var(--ink);
  color: var(--paper);
}

.award-name {
  font-weight: 500;
}

.award-prize {
  font-weight: 700;
}

.award-type {
  font-size: var(--small);
  text-align: right;
}

/* =========================================================
   experience
   ========================================================= */

.experience {
  padding-block: 48px clamp(96px, 12vw, 180px);
  background:
    linear-gradient(180deg, #080808 0%, #080808 96px, rgba(8, 8, 8, 0) 260px),
    radial-gradient(circle at 18% 30%, #242424 0%, #080808 55%, #050505 100%); /* taste-skill-ignore: monochrome gradient brief */
  color: var(--paper);
}

.project-intro {
  display: grid;
  grid-template-columns: 0.30fr 0.325fr 0.375fr;
  column-gap: clamp(28px, 3.4vw, 48px);
  align-items: start;
  min-height: clamp(330px, 25vw, 400px);
  padding-block: clamp(32px, 2.8vw, 44px);
}

.project-intro + .project-intro {
  border-top: 1px solid var(--line-dark);
}

.project-intro:first-of-type {
  padding-top: clamp(24px, 3vw, 44px);
}

.project-number {
  align-self: center;
  padding-left: clamp(20px, 3.8vw, 62px);
  font-size: clamp(110px, 11.3vw, 190px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.project-media {
  align-self: start;
  aspect-ratio: 1.376;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
  transition: transform 1s var(--ease-soft), filter 500ms var(--ease-out);
}

.project-intro--poster .project-media img {
  object-position: center top;
}

.project-intro:hover .project-media img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.025);
}

.project-intro:focus-within .project-media img {
  filter: grayscale(0) contrast(1);
}

.project-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-copy h2 {
  max-width: 9em;
  font-size: clamp(44px, 4.35vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 24px;
  margin-top: auto;
  padding-top: clamp(64px, 6.8vw, 104px);
}

.project-label {
  grid-column: 1 / -1;
  color: var(--muted-dark);
  font-size: var(--small);
}

.project-detail > p {
  grid-column: 1 / -1;
  max-width: 34em;
  margin-top: 10px;
  color: rgba(241, 241, 239, 0.62);
  font-size: var(--body);
  line-height: 1.55;
}

.project-detail > .project-result {
  grid-column: 1;
  margin-top: 14px !important;
  align-self: center;
  color: var(--paper);
  font-size: var(--small);
  font-weight: 600;
}

.project-detail .text-link {
  grid-column: 2;
  margin-top: 14px;
  align-self: flex-start;
  justify-self: end;
  color: var(--paper);
}

.experience-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  margin-bottom: clamp(56px, 8vw, 104px);
}

.case {
  margin-bottom: clamp(56px, 8vw, 104px);
}

.case:last-of-type {
  margin-bottom: 0;
}

.case-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.case-copy h3 {
  max-width: 18ch;
  font-size: var(--h3);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.case-label {
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--small);
}

.case-copy > p:not(.case-label) {
  max-width: 36em;
  margin-top: 24px;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.75;
}

.case-link {
  margin-top: 24px;
}

.case-outcome {
  background: linear-gradient(145deg, #f1f1ef 0%, #d8d8d4 100%); /* taste-skill-ignore: monochrome gradient brief */
  padding: clamp(24px, 3.4vw, 44px);
}

.outcome-number {
  font-size: var(--h3);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.outcome-arrow {
  color: var(--ink);
}

.outcome-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--small);
}

.outcome-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 32px;
  font-size: var(--small);
}

.case-statement .case-quote {
  max-width: 16ch;
  font-size: var(--lead);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.case-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  margin-top: 32px;
}

.case-detail > p:first-child {
  max-width: 36em;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.75;
}

.case-role {
  color: var(--muted);
  font-size: var(--small);
  line-height: 1.6;
}

.case-detail .case-link {
  grid-column: 2;
  margin-top: 0;
}

.case-dark {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(32px, 5vw, 72px);
  background: var(--ink);
  color: var(--paper);
}

.case-dark .case-copy h3 {
  color: var(--paper);
}

.case-dark .case-label,
.case-dark .case-copy > p:not(.case-label) {
  color: rgba(241, 241, 239, 0.64);
}

.case-dark .text-link {
  color: var(--paper);
}

.case-dark .text-link:hover {
  color: var(--paper);
  text-decoration-thickness: 3px;
}

.case-dark-metrics {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.metric-values,
.metric-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric-values span {
  font-size: var(--h3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.metric-labels span {
  color: var(--muted-dark);
  font-size: var(--small);
  line-height: 1.5;
}

.more-projects {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  margin-top: clamp(64px, 9vw, 120px);
}

.more-projects h3,
.collab h3 {
  color: var(--paper);
  font-size: var(--h3);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.more-projects ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 48px);
}

.more-projects li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 8px;
  font-size: var(--body);
  color: var(--paper);
  transition: background var(--t-hover) ease;
}

.more-projects li:hover {
  background: rgba(241, 241, 239, 0.08);
}

.more-projects li span:last-child {
  color: var(--muted-dark);
  font-size: var(--small);
  text-align: right;
}

.more-projects .text-link {
  grid-column: 2;
  margin-top: 24px;
}

.collab {
  margin-top: clamp(64px, 9vw, 120px);
}

.collab-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(32px, 6vw, 96px);
  margin-top: 28px;
}

.collab-list h4 {
  margin-bottom: 8px;
  font-size: var(--body);
  font-weight: 700;
  color: var(--paper);
}

.collab-list p {
  max-width: 36em;
  color: rgba(241, 241, 239, 0.6);
  font-size: var(--body);
  line-height: 1.7;
}

/* =========================================================
   internship
   ========================================================= */

.internship {
  position: relative;
  overflow: hidden;
  padding-block: 48px clamp(96px, 12vw, 180px);
  background:
    linear-gradient(180deg, #080808 0%, #080808 96px, rgba(8, 8, 8, 0) 260px),
    radial-gradient(circle at 82% 30%, #262626 0%, #0a0a0a 46%, #050505 100%); /* taste-skill-ignore: monochrome gradient brief */
  color: var(--paper);
}

.intern-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  margin-bottom: clamp(48px, 7vw, 88px);
}

.intern-head h2 {
  color: var(--paper);
}

.company {
  max-width: 40ch;
  color: var(--muted-dark);
  font-size: var(--lead);
  line-height: 1.5;
}

.roles {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
}

.role {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.role-date {
  color: var(--muted-dark);
  font-size: var(--lead);
  font-weight: 600;
  line-height: 1.3;
}

.role-body h3 {
  margin-bottom: 24px;
  font-size: var(--h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.role-body li {
  max-width: 36em;
  margin-bottom: 20px;
}

.role-body li:last-child {
  margin-bottom: 0;
}

.role-body strong {
  display: block;
  margin-bottom: 4px;
  font-size: var(--body);
  font-weight: 600;
}

.role-body span {
  display: block;
  color: rgba(241, 241, 239, 0.62);
  font-size: var(--body);
  line-height: 1.75;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(56px, 8vw, 96px);
}

.metrics p {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metrics strong {
  font-size: var(--lead);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.metrics small {
  font-size: var(--small);
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 1px;
}

.metrics span {
  color: var(--muted-dark);
  font-size: var(--small);
}

/* =========================================================
   footer
   ========================================================= */

.site-footer {
  padding-block: clamp(80px, 10vw, 140px) 32px;
  background:
    radial-gradient(circle at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 42%), /* taste-skill-ignore: monochrome gradient brief */
    linear-gradient(180deg, #f7f7f5 0%, #dcdcd9 100%); /* taste-skill-ignore: monochrome gradient brief */
  color: var(--ink);
}

.site-footer h2 {
  font-size: var(--display);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.footer-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(40px, 5vw, 64px);
}

.footer-mail {
  max-width: 100%;
  color: var(--ink);
  font-size: var(--lead);
  font-weight: 600;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
  transition: color var(--t-hover) ease;
}

.footer-mail:hover {
  color: var(--ink);
  text-decoration-thickness: 5px;
}

.footer-info p {
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.7;
  text-align: right;
}

.footer-info a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease;
}

.footer-info a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(56px, 7vw, 96px);
  color: var(--muted);
  font-size: var(--small);
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
}

.footer-bottom a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================================
   case dialog
   ========================================================= */

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
}

.case-modal[hidden] {
  display: none !important;
}

.case-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.82);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  width: min(1080px, 100%);
  max-height: 88vh;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32); /* taste-skill-ignore: dialog panel is a real overlay */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out);
}

.case-modal.is-open .case-backdrop {
  opacity: 1;
}

.case-modal.is-open .case-panel {
  opacity: 1;
  transform: none;
}

.case-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: clamp(24px, 3.4vw, 40px);
  background: linear-gradient(145deg, #ededeb 0%, #bdbdb9 100%); /* taste-skill-ignore: monochrome gradient brief */
  color: var(--ink);
}

.case-visual-label,
.case-visual-meta {
  font-size: var(--small);
}

.case-visual h2 {
  max-width: 10ch;
  font-size: var(--h3);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.case-content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 56px);
}

.case-close {
  position: absolute;
  top: 20px;
  right: 20px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--small);
  cursor: pointer;
  transition: background var(--t-hover) ease, color var(--t-hover) ease;
}

.case-close:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.case-sub {
  max-width: 40ch;
  margin-top: 32px;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.5;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-top: 28px;
}

.case-meta div span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: var(--small);
}

.case-meta div strong {
  font-size: var(--body);
  font-weight: 600;
}

.case-body {
  margin-top: 28px;
}

.case-body p {
  max-width: 36em;
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.75;
}

.case-award {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--small);
  font-weight: 600;
}

.case-award[hidden] {
  display: none;
}

.case-note {
  margin-top: 32px;
  color: var(--muted);
  font-size: var(--small);
}

.case-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: clamp(32px, 4vw, 48px);
}

.case-view-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--small);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--t-hover) ease, color var(--t-hover) ease;
}

.case-view-link[hidden] {
  display: none;
}

.case-view-link span {
  transition: transform var(--t-hover) var(--ease-out);
}

.case-view-link:hover {
  background: transparent;
  color: var(--ink);
}

.case-view-link:hover span {
  transform: translate(2px, -2px);
}

/* =========================================================
   motion
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {
  .js .hero-name-line,
  .js .hero-intro,
  .js .hero-context,
  .js .hero-actions {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 800ms var(--ease-out) forwards;
  }

  .js .hero-word {
    opacity: 0;
    transform: translateY(26px);
    animation: rise 1000ms var(--ease-out) 140ms forwards;
  }

  .js .hero-name-line {
    animation-delay: 100ms;
  }

  .js .hero-intro {
    animation-delay: 180ms;
  }

  .js .hero-context {
    animation-delay: 250ms;
  }

  .js .hero-actions {
    animation-delay: 320ms;
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out);
    transition-delay: var(--i, 0ms);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .js .award-feature[data-reveal] {
    opacity: 1;
  }

  .js .awards [data-reveal] {
    opacity: 1;
  }

}

@keyframes lineUp {
  to {
    transform: translateY(0);
  }
}

@keyframes wordUp {
  to {
    transform: translateY(0);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroGlitchJitter {
  0% {
    translate: -2px 0;
  }
  18% {
    translate: 3px 0;
  }
  36% {
    translate: -3px 0;
  }
  54% {
    translate: 2px 0;
  }
  72% {
    translate: -1px 0;
  }
  100% {
    translate: 0 0;
  }
}

/* =========================================================
   responsive
   ========================================================= */

@media (max-width: 1180px) {
  :root {
    --display: 104px;
    --h2: 72px;
    --h3: 42px;
    --lead: 22px;
  }

  .section-head,
  .experience-head,
  .intern-head {
    gap: 32px;
  }

  .work-group {
    grid-template-columns: 0.28fr 1fr;
    gap: 40px;
  }

  .award-row {
    grid-template-columns: minmax(0, 1fr) 200px 120px;
    gap: 18px;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .role {
    grid-template-columns: 150px 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --display: 72px;
    --h2: 56px;
    --h3: 36px;
    --lead: 20px;
    --body: 16px;
  }

  .site-nav {
    display: none;
  }

  .site-header {
    justify-content: flex-end;
    min-height: 64px;
    padding: 16px var(--pad);
  }

  .menu-button {
    display: block;
  }

  #main > .hero.is-active {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 22px;
    height: 100svh;
    min-height: 620px;
    padding: 0 var(--pad) 28px;
  }

  .hero-media .hero-plasma.is-fallback {
    background-position: 56% 26%;
  }

  .hero-lead,
  .hero-disciplines {
    position: static;
    width: auto;
    max-width: none;
  }

  .hero-disciplines {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 4px clamp(18px, 4vw, 24px);
    padding-left: 0;
    font-size: 10px;
    letter-spacing: 0.14em;
    line-height: 1.8;
  }

  .hero-disciplines::before {
    display: none;
  }

  .hero-disciplines p + p::before {
    content: none;
  }

  .hero-marks,
  .hero-rule {
    display: none;
  }

  .hero-word {
    font-size: clamp(52px, 12.4vw, 96px);
  }

  .project-intro,
  .section-head,
  .experience-head,
  .intern-head,
  .case-split,
  .case-dark,
  .more-projects {
    grid-template-columns: 1fr;
  }

  .section-head,
  .experience-head,
  .intern-head {
    align-items: start;
    gap: 24px;
  }

  .section-head h2,
  .experience-head h2,
  .intern-head h2 {
    font-size: var(--h2);
  }

  .work .section-head h2 {
    font-size: var(--display);
  }

  .award-feature-gold {
    background: transparent;
  }

  .about-layout {
    grid-template-columns: 24% 17% minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 56px;
  }

  .about-photo {
    grid-column: 1;
    grid-row: 1 / span 5;
    aspect-ratio: 3 / 4;
  }

  .about-label {
    grid-column: 2;
  }

  .about-intro,
  .about-fact {
    grid-column: 3;
  }

  .project-intro {
    min-height: 0;
    gap: 24px;
    padding-block: 32px;
  }

  .project-number {
    align-self: start;
    padding-left: 0;
    font-size: 96px;
  }

  .project-copy {
    min-height: 0;
  }

  .project-copy h2 {
    max-width: none;
  }

  .project-detail {
    padding-top: 44px;
  }

  .page-divider--top {
    margin-top: 110px;
  }

  .page-transition {
    padding: 100px var(--pad) 30px;
  }

  .transition-number {
    font-size: 30vw;
  }

  .work-group {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 36px;
  }

  .group-head {
    position: static;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
  }

  .group-head h3 {
    font-size: var(--h3);
  }

  .group-head p {
    margin-top: 0;
    font-size: var(--small);
  }

  .group-head span {
    margin-top: 0;
    margin-left: auto;
  }

  .work-row button {
    padding: 14px 8px;
  }

  .work-row button:hover {
    padding-left: 16px;
  }

  .award-features {
    grid-template-columns: 1fr;
    gap: 96px;
  }

  .award-feature {
    min-height: 260px;
  }

  .award-year-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .award-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 8px;
  }

  .award-prize,
  .award-type {
    text-align: left;
  }

  .case-detail {
    grid-template-columns: 1fr;
  }

  .case-detail .case-link {
    grid-column: 1;
  }

  .case-dark-metrics {
    gap: 18px;
  }

  .more-projects ul {
    grid-template-columns: 1fr;
  }

  .more-projects .text-link {
    grid-column: 1;
  }

  .collab-list {
    grid-template-columns: 1fr;
  }

  .collab {
    margin-top: 96px;
  }

  .role {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-info p {
    text-align: left;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }

  .footer-bottom nav {
    order: 3;
    width: 100%;
  }

  .case-panel {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .case-visual {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 20px;
    --display: 56px;
    --h2: 45px;
    --h3: 30px;
    --lead: 20px;
    --body: 16px;
  }

  .hero {
    gap: 18px;
    padding-bottom: 22px;
  }

  .hero-name-line {
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .hero-word {
    font-size: clamp(46px, 13vw, 76px);
  }

  .hero-intro {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-context {
    margin-top: 6px;
    font-size: 11px;
  }

  .hero-cta {
    min-height: 42px;
    padding: 0 15px;
    font-size: 13px;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.4) 14%, rgba(0, 0, 0, 0) 36%), /* taste-skill-ignore: neutral scrim */
      linear-gradient(0deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.16) 56%, rgba(0, 0, 0, 0) 78%); /* taste-skill-ignore: neutral scrim */
  }

  .profile,
  .work,
  .awards,
  .experience,
  .internship {
    padding-block: 72px;
  }

  .section-head h2,
  .experience-head h2,
  .intern-head h2 {
    font-size: var(--h2);
  }

  .work .section-head h2 {
    font-size: var(--display);
  }

  .about-layout {
    display: block;
  }

  .about-photo {
    width: min(64%, 230px);
    margin-bottom: 44px;
    aspect-ratio: 3 / 4;
  }

  .about-label {
    margin-top: 32px;
    margin-bottom: 8px;
  }

  .about-intro {
    margin-bottom: 48px;
  }

  .about-photo + .about-label {
    margin-top: 0;
  }

  .project-number {
    font-size: 76px;
  }

  .project-intro {
    gap: 18px;
  }

  .project-copy h2 {
    font-size: 38px;
  }

  .project-detail {
    padding-top: 34px;
  }

  .work-filters {
    gap: 2px 18px;
    padding: 24px 0 20px;
  }

  .filter {
    font-size: var(--body);
  }

  .w-title {
    font-size: var(--lead);
  }

  .w-sub {
    font-size: var(--small);
  }

  .award-feature {
    min-height: 0;
    padding: 24px;
    justify-content: flex-start;
    gap: 14px;
  }

  .award-feature h3 {
    font-size: var(--h3);
  }

  .award-row {
    font-size: var(--body);
  }

  .case-copy h3 {
    font-size: var(--h3);
  }

  .outcome-number {
    font-size: var(--h3);
  }

  .case-quote {
    font-size: var(--lead) !important;
  }

  .case-dark {
    padding: 28px 20px;
  }

  .case-dark-metrics {
    gap: 16px;
  }

  .metric-values span {
    font-size: var(--lead);
  }

  .more-projects li {
    font-size: var(--body);
  }

  .role-date {
    font-size: var(--lead);
  }

  .role-body h3 {
    font-size: var(--h3);
  }

  .role-body span {
    font-size: var(--body);
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }

  .metrics strong {
    font-size: var(--lead);
  }

  .site-footer h2 {
    font-size: var(--display);
  }

  .footer-mail {
    font-size: var(--lead);
  }

  .footer-bottom {
    gap: 14px;
    font-size: var(--small);
  }

  .footer-bottom nav {
    gap: 14px;
    flex-wrap: wrap;
  }

  .case-modal {
    padding: 0;
  }

  .case-panel {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
  }

  .case-visual {
    min-height: 200px;
    padding: 24px 20px;
  }

  .case-visual h2 {
    font-size: var(--h3);
  }

  .case-content {
    padding: 24px 20px 40px;
  }

  .case-close {
    top: 12px;
    right: 12px;
  }

  .case-sub {
    margin-top: 28px;
    font-size: var(--body);
  }

  .case-meta {
    gap: 16px 28px;
  }

  .mobile-menu-foot {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal],
  .js .hero-name-line,
  .js .hero-intro,
  .js .hero-context,
  .js .hero-actions {
    opacity: 1;
    transform: none;
  }

  .js .hero-word {
    opacity: 1;
    transform: none;
    animation: none;
  }

}
