:root {
  --ink: #11100d;
  --paper: #fff7da;
  --paper-2: #fffdf2;
  --orange: #ff7a00;
  --orange-2: #ffc94b;
  --marker: #ffd95c;
  --muted: #5e5548;
  --line: #18130d;
  --hand-shadow: 8px 8px 0 #11100d;
  --soft-shadow: 0 24px 80px rgba(60, 30, 0, .18);
  --nav-indicator-x: 0px;
  --nav-indicator-w: 74px;
  --hot-orange: #ff4f00;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 122, 0, .14), transparent 28%),
    linear-gradient(180deg, var(--paper) 0%, #fffaf0 48%, #fff2c7 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 16, 13, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 13, .04) 1px, transparent 1px);
  background-size: 54px 54px;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border: 2px solid var(--line);
  background: var(--paper-2);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 14px;
}

.cursor-light {
  position: fixed;
  width: 220px;
  height: 220px;
  left: var(--cursor-x, 70vw);
  top: var(--cursor-y, 16vh);
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, .24), rgba(255, 201, 75, .13) 42%, transparent 68%);
  mix-blend-mode: multiply;
}

.site-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 40;
  width: min(920px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 242, .84);
  box-shadow: 5px 5px 0 rgba(17, 16, 13, .9);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 950;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  border: 2px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-indicator {
  position: absolute;
  left: 0;
  top: 5px;
  width: var(--nav-indicator-w);
  height: calc(100% - 10px);
  border: 2px solid rgba(17, 16, 13, .92);
  border-radius: 999px 999px 60% 999px;
  background:
    radial-gradient(circle at 22% 45%, rgba(255, 255, 255, .7), transparent 18%),
    var(--marker);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translateX(var(--nav-indicator-x)) rotate(-1deg);
  transition: transform .26s cubic-bezier(.2, .8, .2, 1), width .26s ease;
}

.nav-links a,
.menu-button,
.language-toggle {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .18s ease, background .18s ease;
}

.nav-links a:hover {
  transform: rotate(-2deg) translateY(-1px);
}

.nav-links a.active {
  color: #4a2100;
}

.connect-pill {
  background: var(--ink);
  color: var(--marker);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .12);
}

.menu-button {
  display: none;
  border: 0;
  background: var(--marker);
  color: var(--ink);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 2px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}

.language-toggle i {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--line);
  transform: rotate(-20deg);
}

.language-toggle span {
  opacity: .48;
}

.language-toggle span.active {
  opacity: 1;
  color: var(--hot-orange);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 116px 24px 38px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 2px solid var(--line);
}

.hero-light-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  display: block;
  width: clamp(230px, 34vw, 560px);
  height: clamp(230px, 34vw, 560px);
  border-radius: 50%;
  opacity: .88;
  pointer-events: none;
  filter: blur(22px);
  background:
    radial-gradient(circle, rgba(255, 125, 24, .62), rgba(255, 196, 76, .46) 44%, rgba(255, 235, 178, .12) 66%, rgba(255, 245, 206, 0) 78%);
  box-shadow: 0 0 96px rgba(255, 122, 0, .22);
  animation: heroAmbientFloat 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.hero-glow-a {
  left: 8%;
  top: 30%;
}

.hero-glow-b {
  right: 4%;
  top: 20%;
  width: clamp(190px, 28vw, 430px);
  height: clamp(190px, 28vw, 430px);
  opacity: .82;
  background:
    radial-gradient(circle, rgba(255, 221, 105, .62), rgba(255, 139, 32, .42) 44%, rgba(255, 238, 186, .1) 66%, rgba(255, 245, 206, 0) 76%);
  animation-name: heroAmbientFloatReverse;
  animation-duration: 18s;
}

.hero-glow-c {
  left: 42%;
  bottom: 10%;
  width: clamp(170px, 22vw, 330px);
  height: clamp(170px, 22vw, 330px);
  opacity: .72;
  filter: blur(20px);
  background:
    radial-gradient(circle, rgba(255, 184, 73, .52), rgba(255, 122, 0, .3) 46%, rgba(255, 235, 178, .08) 66%, rgba(255, 245, 206, 0) 76%);
  animation-duration: 22s;
}

@keyframes heroAmbientFloatReverse {
  0% {
    transform: translate3d(34px, -18px, 0) scale(1);
  }

  45% {
    transform: translate3d(-46px, 34px, 0) scale(1.14);
  }

  100% {
    transform: translate3d(10px, -42px, 0) scale(.94);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 66% 28%, rgba(255, 153, 44, .18), transparent 34%),
    radial-gradient(circle at 16% 84%, rgba(255, 201, 75, .16), transparent 30%),
    linear-gradient(180deg, rgba(255, 247, 218, .04), rgba(255, 247, 218, .28));
  animation: heroLightSweep 18s ease-in-out infinite alternate;
}

@keyframes heroAmbientFloat {
  0% {
    transform: translate3d(-26px, 24px, 0) scale(.86);
  }

  45% {
    transform: translate3d(42px, -30px, 0) scale(1.12);
  }

  100% {
    transform: translate3d(-8px, 46px, 0) scale(1);
  }
}

@keyframes heroLightSweep {
  0% {
    opacity: .72;
    filter: saturate(1) brightness(1);
  }

  45% {
    opacity: .96;
    filter: saturate(1.12) brightness(1.04);
  }

  100% {
    opacity: .82;
    filter: saturate(1.04) brightness(1.02);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1060px;
  transform: translate(10%, -3vh);
}

.section-label {
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  transform: rotate(-2deg);
}

.hero-name {
  display: flex;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 10px 0 0;
  font-size: clamp(82px, 18vw, 240px);
  font-weight: 900;
  line-height: .75;
  letter-spacing: -.018em;
  text-transform: uppercase;
}

.display-fancy {
  position: relative;
  font-family: "Bangers", "Rubik Doodle Shadow", "Ma Shan Zheng", "Noto Sans SC", cursive;
  color: var(--ink);
  text-shadow:
    2px 2px 0 var(--paper-2),
    5px 5px 0 var(--orange-2),
    8px 8px 0 rgba(17, 16, 13, .92);
  -webkit-text-stroke: 1.4px var(--line);
}

.display-fancy::after {
  content: "";
  position: absolute;
  left: .02em;
  right: .04em;
  bottom: -.08em;
  height: .18em;
  z-index: -1;
  border: 2px solid rgba(17, 16, 13, .9);
  border-radius: 999px 54% 999px 64%;
  background:
    repeating-linear-gradient(-8deg, rgba(255, 122, 0, .35) 0 8px, rgba(255, 217, 92, .7) 8px 16px);
  transform: rotate(-1.2deg);
}

.letter {
  display: inline-block;
  color: var(--paper-2);
  -webkit-text-stroke: 2.5px var(--line);
  text-shadow:
    3px 3px 0 var(--hot-orange),
    7px 7px 0 var(--ink);
  transform:
    translate(var(--tx, 0), var(--ty, 0))
    rotate(var(--rot, 0deg))
    scale(var(--scale, 1));
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), color .18s ease;
  will-change: transform;
}

.letter:hover {
  color: var(--orange-2);
  text-shadow:
    -2px 2px 0 var(--paper-2),
    4px 5px 0 var(--hot-orange),
    10px 10px 0 var(--ink);
}

.letter-space {
  width: .2em;
  flex-basis: 100%;
}

.hero-sticker {
  position: absolute;
  right: 30px;
  top: 126px;
  z-index: 4;
  max-width: 190px;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: 30px;
  background: var(--marker);
  box-shadow: var(--hand-shadow);
  font-weight: 950;
  transform: rotate(-5deg);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-sticker:hover {
  transform: rotate(2deg) translate(4px, 4px);
  box-shadow: 3px 3px 0 var(--ink);
}

.hero-photo-frame {
  position: absolute;
  right: clamp(18px, 7vw, 92px);
  bottom: clamp(28px, 10vh, 92px);
  z-index: 3;
  width: clamp(190px, 24vw, 320px);
  margin: 0;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 30px;
  background: var(--paper-2);
  box-shadow: var(--hand-shadow);
  transform: rotate(4deg);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, filter .3s ease;
  will-change: transform;
}

.hero-photo-frame:hover {
  transform: rotate(-2deg) translateY(-8px) scale(1.045);
  box-shadow: 14px 15px 0 var(--ink);
  filter: saturate(1.08) contrast(1.04);
}

.hero-photo-frame img {
  width: 100%;
  height: auto;
  border: 2px solid var(--line);
  border-radius: 22px;
  object-fit: contain;
}

.section {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, .32fr) minmax(0, 1fr) minmax(170px, .32fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 34px;
}

.section-label-side {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  white-space: nowrap;
  z-index: 2;
}

.section-title-main {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(18px, 4vw, 42px);
  font-size: clamp(64px, 9vw, 140px);
  line-height: .82;
  text-align: center;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.story-section .section-intro,
.study-section .section-intro {
  margin-bottom: 20px;
}

.work-period-note {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  width: max-content;
  max-width: 220px;
  padding: 9px 13px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--marker);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: "Caveat", cursive;
  font-size: 26px;
  font-weight: 700;
  transform: rotate(2deg);
}

.connect-intro {
  grid-template-columns: minmax(170px, .32fr) minmax(0, 1fr) minmax(170px, .32fr);
  margin-bottom: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2,
.study-layout h2,
.connect-card h2 {
  margin: 0;
  font-size: clamp(48px, 8vw, 112px);
  line-height: .86;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.connect-card .section-title-main {
  letter-spacing: .02em;
}

.section-head p,
.study-intro,
.connect-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.work-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 34px;
}

.work-timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: var(--ink);
  border-radius: 999px;
}

.work-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 24px 1fr;
  gap: 18px;
  align-items: center;
}

.work-year {
  font-family: "Caveat", cursive;
  font-size: 25px;
  font-weight: 700;
  transform: rotate(-3deg);
}

.work-dot {
  width: 24px;
  height: 24px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 3px 3px 0 var(--ink);
}

.work-card,
.story-card,
.study-visual figure,
.paper-card,
.project-card,
.connect-card {
  border: 2px solid var(--line);
  background: var(--paper-2);
  box-shadow: var(--hand-shadow);
}

.work-card {
  position: relative;
  padding: 22px;
  border-radius: 32px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.work-card:hover {
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: 12px 13px 0 var(--ink);
}

.work-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.brand-logo {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 2px solid var(--line);
  border-radius: 18px 20px 16px 22px;
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-4deg);
  overflow: hidden;
}

.brand-logo-img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  border-radius: 10px;
}

.work-card-image {
  width: 60%;
  margin: 16px auto 8px;
  padding: 8px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: #fff7d2;
  overflow: hidden;
  transform: rotate(.6deg);
}

.work-card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

.company-sticker {
  display: inline-flex;
  padding: 8px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--marker);
  font-weight: 950;
  transform: rotate(-2deg);
}

.work-card h3,
.story-card h3,
.paper-card h4,
.project-card h4 {
  margin: 0;
  font-size: clamp(27px, 4vw, 48px);
  line-height: .95;
  letter-spacing: -.04em;
}

.work-card h3 {
  flex: 1 1 320px;
  align-self: center;
}

.work-card p,
.story-card p,
.paper-card p,
.project-card p,
.work-card small {
  color: var(--muted);
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 8px;
}

.tag-row span,
.study-highlights span {
  display: inline-flex;
  padding: 7px 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff0b6;
  font-size: 12px;
  font-weight: 900;
}

.story-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.story-window {
  overflow: hidden;
  padding: 8px;
}

.story-track {
  display: flex;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.story-card {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 22px;
  align-items: end;
  padding: 18px;
  border-radius: 36px;
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: 26px;
  box-shadow: 6px 6px 0 rgba(17, 16, 13, .75);
  transform: rotate(var(--rot, -1deg));
  transition: transform .25s ease;
}

.story-card:hover img {
  transform: rotate(1deg) scale(1.02);
}

.story-tone-warm img {
  filter: saturate(1.55) contrast(1.12) brightness(1.08) sepia(.05);
}

.story-meta {
  padding: 18px;
}

.story-date {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Caveat", cursive;
  font-size: 30px;
  color: #8a4300;
}

.story-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.story-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--paper-2);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}

.story-dot.active {
  width: 34px;
  border-radius: 999px;
  background: var(--hot-orange);
}

.carousel-button {
  width: 58px;
  height: 58px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--marker);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 950;
  cursor: pointer;
}

.carousel-button:hover {
  transform: rotate(-5deg);
}

.study-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  justify-items: center;
}

.study-layout > div:first-child {
  order: 2;
  width: 100%;
}

.study-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}

.study-visual {
  display: grid;
  order: 1;
  width: min(820px, 100%);
  justify-self: center;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}

.study-visual figure {
  margin: 0;
  padding: 10px;
  border-radius: 28px;
  transform: rotate(var(--rot, 1deg));
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, filter .3s ease;
  will-change: transform;
}

.study-visual figure:hover {
  transform: rotate(calc(var(--rot, 1deg) * -1)) translateY(-8px) scale(1.035);
  box-shadow: 14px 15px 0 var(--ink);
  filter: saturate(1.08) contrast(1.04);
}

.study-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

.study-grid {
  display: block;
  margin-top: 46px;
}

.study-grid h3 {
  margin: 0 0 15px;
  font-family: "Caveat", cursive;
  font-size: 42px;
}

.study-mosaic {
  width: 100%;
}

.study-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.study-column {
  display: grid;
  gap: 18px;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.paper-card,
.project-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  overflow: hidden;
  transition: transform .2s ease, background .2s ease;
}

.paper-card {
  grid-template-columns: 1fr;
  align-items: start;
}

.project-card {
  grid-template-columns: 1fr;
}

.paper-card:hover,
.project-card:hover {
  transform: translateY(-3px) rotate(-.6deg);
  background: #fff1b8;
}

.paper-card-image,
.project-card-image {
  border: 2px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 122, 0, .18), transparent 36%),
    #fff7d2;
  overflow: hidden;
  line-height: 0;
}

.paper-card-image {
  align-self: start;
  justify-self: center;
  width: min(420px, 92%);
  min-height: 0;
  padding: 6px;
  line-height: 0;
  background: #fff;
}

.project-card-image {
  width: 70%;
  justify-self: center;
  padding: 8px;
}

.paper-card-image img,
.project-card-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  transition: transform .24s ease, filter .24s ease;
}

.paper-card:hover img,
.project-card:hover img {
  transform: scale(1.04) rotate(.7deg);
  filter: saturate(1.1) contrast(1.04);
}

.paper-card-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.paper-card-body,
.project-card-body {
  min-width: 0;
}

.paper-journal {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 10px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--marker);
  font-size: 12px;
  font-weight: 950;
}

.paper-card h4,
.project-card h4 {
  margin: 0 0 7px;
  font-size: 25px;
}

.paper-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.paper-facts span {
  padding: 6px 9px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff0b6;
  font-size: 12px;
  font-weight: 950;
}

.connect-section {
  padding-bottom: 130px;
}

.connect-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 122, 0, .22), transparent 22%),
    var(--paper-2);
}

.connect-card > div:first-child {
  display: contents;
}

.connect-intro {
  grid-column: 1 / -1;
}

.connect-email {
  grid-column: 1;
  grid-row: 2;
  display: inline-flex;
  width: fit-content;
  margin-top: 0;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--marker);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Caveat", cursive;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  transform: rotate(-2deg);
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}

.connect-email:hover {
  transform: rotate(2deg) translate(4px, -4px) scale(1.03);
  box-shadow: 9px 10px 0 var(--ink);
  background: #ffe07a;
}

.contact-logo-strip {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.contact-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 2px solid var(--line);
  border-radius: 26px;
  background: var(--marker);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-logo:hover {
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: 7px 7px 0 var(--ink);
}

.contact-logo .brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(0);
}

.brand-logo--phone {
  border-radius: 18px;
  background: linear-gradient(145deg, #5df076, #19c65a);
  box-shadow: 3px 3px 0 var(--ink), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.phone-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.phone-icon rect {
  fill: transparent;
}

.phone-icon path {
  fill: #fff;
}

body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(17, 16, 13, .42);
  backdrop-filter: blur(6px);
}

.modal-backdrop[hidden] {
  display: none;
}

.contact-modal {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 122, 0, .22), transparent 30%),
    var(--paper-2);
  box-shadow: 12px 12px 0 var(--ink);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--marker);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  font-weight: 950;
}

.modal-kicker {
  margin: 0 0 8px;
  font-family: "Caveat", cursive;
  font-size: 28px;
  color: #8a4300;
}

.contact-modal h3 {
  margin: 0 0 16px;
  font-family: "Bangers", "Noto Sans SC", cursive;
  font-size: clamp(40px, 8vw, 68px);
  line-height: .86;
  text-shadow: 4px 4px 0 var(--orange-2);
}

.wechat-qr {
  width: min(260px, 80vw);
  margin: 0 auto 16px;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
}

.wechat-qr img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.modal-value {
  width: fit-content;
  margin: 0 auto;
  padding: 10px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--marker);
  font-size: 24px;
  font-weight: 950;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-nav {
    align-items: flex-start;
    border-radius: 26px;
    overflow: visible;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 10px;
    right: 10px;
    top: 62px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 2px solid var(--line);
    border-radius: 22px;
    background: var(--paper-2);
    box-shadow: var(--hand-shadow);
  }

  .nav-indicator {
    display: none;
  }

  .site-nav.open .nav-links {
    display: flex;
  }

  .brand-mark span {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding: 112px 16px 28px;
  }

  .hero-copy {
    transform: translate(0, 0);
  }

  .hero-name {
    font-size: clamp(72px, 25vw, 130px);
  }

  .hero-sticker {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: 16px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 66px 0;
  }

  .section-head,
  .section-intro,
  .work-item,
  .story-card,
  .study-layout,
  .study-grid,
  .connect-card {
    grid-template-columns: 1fr;
  }

  .work-timeline {
    padding-left: 0;
  }

  .work-timeline::before {
    display: none;
  }

  .work-item {
    gap: 10px;
  }

  .work-dot {
    display: none;
  }

  .story-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-button {
    width: 100%;
    height: 46px;
    border-radius: 999px;
  }

  .section-intro,
  .study-visual,
  .study-columns,
  .paper-card,
  .project-card {
    grid-template-columns: 1fr;
  }

  .section-title-main {
    margin-top: 0;
    justify-self: start;
    text-align: left;
    letter-spacing: .015em;
    font-size: clamp(54px, 14vw, 96px);
  }

  .work-period-note {
    justify-self: start;
    max-width: 100%;
  }

  .work-card-image {
    width: 76%;
  }

  .study-layout > div:first-child {
    order: 2;
  }

  .study-visual {
    width: min(680px, 100%);
    justify-self: center;
  }

  .project-card-image {
    width: 82%;
  }

  .study-column {
    grid-template-rows: none;
  }

  .paper-card,
  .project-card,
  .paper-card:nth-child(1),
  .project-card:nth-child(2),
  .paper-card:nth-child(2),
  .paper-card:nth-child(5),
  .project-card:nth-child(1),
  .project-card:nth-child(4),
  .paper-card:nth-child(3),
  .project-card:nth-child(3),
  .project-card:nth-child(5) {
    grid-column: 1;
  }

  .contact-logo-strip {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }

  .cursor-light {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-nav {
    top: 10px;
    width: calc(100% - 18px);
    gap: 8px;
    padding: 7px;
  }

  .language-toggle,
  .menu-button {
    padding: 8px 10px;
  }

  .hero {
    min-height: 86svh;
    padding: 96px 12px 22px;
  }

  .hero-photo-frame {
    right: 12px;
    bottom: 18px;
    width: min(42vw, 168px);
    padding: 8px;
    border-radius: 22px;
  }

  .hero-name {
    font-size: clamp(58px, 23vw, 106px);
    line-height: .8;
    letter-spacing: -.01em;
  }

  .letter {
    -webkit-text-stroke-width: 1.4px;
    text-shadow: 2px 2px 0 var(--hot-orange), 5px 5px 0 var(--ink);
  }

  .section-label {
    font-size: 24px;
  }

  .section-title-main {
    letter-spacing: .01em;
    font-size: clamp(46px, 18vw, 84px);
  }

  .section {
    width: calc(100% - 18px);
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-head h2,
  .study-layout h2,
  .connect-card h2 {
    font-size: clamp(40px, 15vw, 76px);
  }

  .work-card,
  .story-card,
  .paper-card,
  .project-card,
  .connect-card {
    border-radius: 24px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .work-card {
    padding: 16px;
  }

  .work-title-row {
    gap: 12px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .work-card h3,
  .story-card h3,
  .paper-card h4,
  .project-card h4 {
    font-size: 24px;
  }

  .story-window {
    padding: 4px;
  }

  .story-card {
    gap: 10px;
    padding: 12px;
  }

  .story-card img {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .story-meta {
    padding: 8px 4px 4px;
  }

  .story-date {
    font-size: 24px;
  }

  .study-layout {
    gap: 16px;
  }

  .study-visual {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .study-visual img {
    min-height: 160px;
  }

  .paper-card,
  .project-card {
    padding: 10px;
    gap: 10px;
    border-radius: 24px;
  }

  .paper-card-image,
  .project-card-image {
    min-height: 132px;
  }

  .paper-card-image {
    width: min(420px, 92%);
    min-height: 0;
  }

  .project-card-image {
    width: 88%;
  }

  .connect-card {
    gap: 18px;
    padding: 22px;
  }

  .connect-email {
    max-width: 100%;
    font-size: 26px;
    overflow-wrap: anywhere;
  }

  .contact-logo .brand-logo {
    width: 42px;
    height: 42px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .letter {
    transform: none !important;
  }
}
