:root {
  --paper: #fffdf8;
  --paper-deep: #f5f0e7;
  --white: #fffefa;
  --ink: #28353a;
  --ink-soft: #59676a;
  --muted: #8c9695;
  --line: #cdd2ce;
  --blue: #d9ebf4;
  --blue-deep: #6794a8;
  --mint: #dff0df;
  --mint-deep: #609078;
  --yellow: #f8e8a5;
  --yellow-deep: #b6973d;
  --peach: #f6d9d1;
  --peach-deep: #b57c73;
  --lavender: #e9e0f3;
  --lavender-deep: #8775a7;
  --dark: #28363b;
  --shadow: 4px 5px 0 rgba(81, 108, 113, .13);
  --wide: 1170px;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --hand: "Kaiti SC", "STKaiti", "KaiTi", "DFKai-SB", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(circle at 1px 1px, rgba(61, 76, 75, .25) 1px, transparent 1.2px);
  background-size: 21px 21px;
  opacity: .45;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, .3) 50%, transparent 52%);
  opacity: .18;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.section-shell,
.site-header { width: min(calc(100% - 64px), var(--wide)); margin: 0 auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 16px 0 13px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 253, 248, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; width: 25px; height: 25px; padding: 4px; border: 1px solid var(--ink); border-radius: 50%; transform: rotate(-8deg); }
.brand-mark i { display: block; width: 4px; transform: skew(-14deg); }
.brand-mark i:nth-child(1) { height: 9px; background: var(--yellow-deep); }
.brand-mark i:nth-child(2) { height: 16px; background: var(--blue-deep); }
.brand-mark i:nth-child(3) { height: 12px; background: var(--mint-deep); }
.brand-copy { display: flex; align-items: baseline; gap: 9px; }
.brand-copy strong { font-size: 14px; font-weight: 900; letter-spacing: -.04em; }
.brand-copy small { color: var(--muted); font-size: 9px; }
.site-nav { display: flex; align-items: center; gap: 23px; color: var(--ink-soft); font-size: 10px; }
.site-nav a { position: relative; padding: 7px 0; }
.site-nav a:not(.nav-contact)::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; content: ""; background: var(--yellow-deep); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:not(.nav-contact):hover::after, .site-nav a:not(.nav-contact).is-active::after { transform: scaleX(1); transform-origin: left; }
.site-nav .nav-contact { padding: 9px 13px; border: 1px solid var(--ink); border-radius: 6px 4px 7px 5px; background: var(--white); box-shadow: 2px 2px 0 rgba(81, 108, 113, .1); }
.site-nav .nav-contact span { margin-left: 7px; color: var(--blue-deep); font-size: 13px; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }

/* Shared paper language */

.speech-bubble { position: relative; display: flex; gap: 10px; align-items: flex-start; border: 1.3px solid var(--ink-soft); border-radius: 13px 8px 12px 6px; box-shadow: 2px 3px 0 rgba(81, 108, 113, .14); }
.speech-bubble::after { position: absolute; bottom: -10px; left: 30px; width: 16px; height: 12px; content: ""; border-right: 1.3px solid var(--ink-soft); border-bottom: 1.3px solid var(--ink-soft); background: inherit; clip-path: polygon(0 0, 100% 0, 55% 100%); }
.speech-bubble--blue { background: var(--blue); }
.speech-bubble--yellow { background: var(--yellow); }
.speech-bubble--mint { background: var(--mint); }
.speech-bubble--peach { background: var(--peach); }
.bubble-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 25px; height: 25px; color: var(--white); background: var(--blue-deep); border: 1px solid var(--ink-soft); border-radius: 50%; font-size: 11px; line-height: 1; }
.speech-bubble p { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: 12px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; color: var(--blue-deep); border-bottom: 1px solid var(--blue-deep); font-size: 10px; font-weight: 800; }
.text-link span { font-size: 14px; }

/* Hero: photo left, identity middle, result sheet right */

.hero { display: grid; grid-template-columns: 158px minmax(0, 1fr) 410px; gap: 42px; align-items: start; padding-top: 48px; padding-bottom: 41px; }
.hero-photo-column { padding-top: 54px; }
.portrait-card { width: 151px; margin: 0; padding: 11px 10px 12px; background: var(--white); border: 1.3px solid var(--ink-soft); border-radius: 5px 9px 6px 8px; box-shadow: var(--shadow); transform: rotate(-2.2deg); }
.portrait-frame-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--blue-deep); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.frame-cross { color: var(--peach-deep); font-size: 15px; }
.portrait-wrap { position: relative; padding: 5px; border: 1px solid var(--line); background: var(--blue); }
.portrait { width: 129px; height: 158px; object-fit: cover; object-position: center; border: 1px solid rgba(40, 53, 58, .18); filter: none; opacity: 1; }
.portrait-stamp { position: absolute; right: -14px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: var(--yellow); border: 1px solid rgba(40, 53, 58, .4); border-radius: 50%; font-size: 9px; font-weight: 900; line-height: 1; text-align: center; transform: rotate(10deg); }
.portrait-card figcaption { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; margin-top: 15px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.portrait-card figcaption b { color: var(--ink); }
.availability-chip { display: inline-flex; align-items: center; gap: 6px; margin: 23px 0 0 8px; padding: 5px 8px; color: var(--mint-deep); border: 1px solid var(--mint-deep); border-radius: 5px 3px 6px 4px; font-size: 8px; transform: rotate(-3deg); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 0 3px rgba(96, 144, 120, .15); }
.photo-note { margin: 26px 0 0 9px; color: var(--muted); font-family: var(--hand); font-size: 12px; line-height: 1.6; transform: rotate(-3deg); }
.hero-copy { padding-top: 0; }
.peek-label { display: inline-flex; align-items: center; gap: 8px; padding: 5px 9px 4px; color: var(--lavender-deep); border: 1px solid var(--lavender-deep); border-radius: 4px 6px 5px 3px; font-family: var(--hand); font-size: 11px; transform: rotate(-2deg); }
.peek-label b { font-family: var(--sans); font-size: 13px; font-weight: 500; }
.eyebrow { display: flex; align-items: center; gap: 7px; margin: 18px 0 0; color: var(--blue-deep); font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-deep); }
.hero h1 { margin: 18px 0 0; font-size: clamp(66px, 8.2vw, 96px); font-weight: 900; letter-spacing: -.15em; line-height: .86; }
.hero h1 > span { color: var(--blue-deep); font-family: var(--hand); font-size: .75em; font-weight: 500; }
.hero-name { margin: 13px 0 0 3px; color: var(--muted); font-size: 11px; }
.hero-name i { margin: 0 5px; color: var(--yellow-deep); font-style: normal; }
.hero-title-lockup { display: flex; align-items: flex-end; gap: 12px; margin-top: 26px; }
.hero-title-lockup h2 { margin: 0; font-size: clamp(21px, 2.45vw, 31px); font-weight: 900; letter-spacing: -.1em; line-height: 1.05; }
.hero-title-note { padding: 5px 8px 4px; color: var(--mint-deep); border: 1px solid var(--mint-deep); border-radius: 4px 6px 3px 5px; background: var(--mint); font-size: 8px; font-weight: 900; white-space: nowrap; transform: rotate(-5deg); }
.hero-speech { max-width: 520px; margin-top: 21px; padding: 13px 14px 12px 11px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tag { padding: 4px 8px 3px; border: 1px solid rgba(40, 53, 58, .22); border-radius: 4px 6px 3px 5px; color: var(--ink-soft); font-size: 8px; font-weight: 800; }
.tag--yellow { background: var(--yellow); transform: rotate(-1deg); }
.tag--mint { background: var(--mint); transform: rotate(1deg); }
.tag--peach { background: var(--peach); transform: rotate(-2deg); }
.tag--lavender { background: var(--lavender); transform: rotate(2deg); }
.hero-lede { max-width: 480px; margin: 19px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 13px; line-height: 1.75; }
.hero-contact-row { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: center; margin-top: 19px; }
.hero-contact-row a, .hero-contact-row button { display: inline-flex; align-items: center; gap: 6px; padding: 0; color: var(--ink-soft); border: 0; background: transparent; font-size: 9px; cursor: pointer; }
.hero-contact-row a:hover, .hero-contact-row button:hover { color: var(--blue-deep); }
.hero-contact-row b { color: var(--blue-deep); font-size: 12px; font-weight: 500; }
.mobile-result-line { display: none; }
.contact-icon { display: grid; place-items: center; width: 21px; height: 21px; color: var(--ink); border: 1px solid rgba(40, 53, 58, .3); border-radius: 50%; font-size: 10px; }
.contact-icon--yellow { background: var(--yellow); }
.contact-icon--blue { background: var(--blue); }
.contact-icon--mint { background: var(--mint); }

/* Result sheet */

.achievement-board { position: relative; padding: 18px 21px 14px; background: var(--white); border: 1.3px solid var(--ink-soft); border-radius: 5px 9px 6px 8px; box-shadow: 5px 6px 0 rgba(81, 108, 113, .12); transform: rotate(.7deg); }
.achievement-board::before { position: absolute; top: -1px; right: 22px; width: 44px; height: 5px; content: ""; background: var(--yellow); border-left: 1px solid var(--yellow-deep); border-right: 1px solid var(--yellow-deep); transform: rotate(2deg); }
.board-topline, .visual-top, .intern-top, .education-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.board-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 22px; }
.board-heading h2 { margin: 0; font-size: 29px; font-weight: 900; letter-spacing: -.1em; line-height: 1.02; }
.board-heading em, h2 em, h3 em { color: var(--blue-deep); font-family: var(--hand); font-style: normal; font-weight: 500; }
.board-sun { color: var(--yellow-deep); font-size: 22px; transform: rotate(16deg); }
.achievement-lead { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 19px; padding: 10px 11px; background: var(--yellow); border: 1px solid rgba(182, 151, 61, .25); border-radius: 5px 3px 6px 4px; }
.achievement-lead > strong { font-size: 38px; font-weight: 900; letter-spacing: -.1em; line-height: .8; }
.achievement-lead > span:not(.lead-arrow) { color: var(--ink-soft); font-size: 10px; line-height: 1.4; }
.achievement-lead b { color: var(--ink); font-size: 9px; }
.lead-arrow { color: var(--yellow-deep); font-size: 16px; }
.achievement-list { margin-top: 12px; border-top: 1px solid var(--line); }
.achievement-item { display: grid; grid-template-columns: 27px minmax(0, 1fr) 14px; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease, background-color .2s ease; }
.achievement-item:hover { padding-right: 4px; padding-left: 4px; background: rgba(217, 235, 244, .22); }
.achievement-icon { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(40, 53, 58, .22); border-radius: 7px 5px 6px 4px; font-size: 12px; }
.achievement-item--yellow .achievement-icon { background: var(--yellow); }
.achievement-item--blue .achievement-icon { background: var(--blue); }
.achievement-item--mint .achievement-icon { background: var(--mint); }
.achievement-item > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.achievement-item b { overflow-wrap: anywhere; font-size: 11px; }
.achievement-item small { color: var(--muted); font-size: 8px; }
.achievement-arrow { color: var(--blue-deep); font-size: 12px; }
.achievement-medals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 11px 0 10px; }
.mini-medal { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--muted); font-size: 8px; line-height: 1.35; }
.mini-medal b { color: var(--ink); font-size: 9px; }
.medal-ring { display: grid; flex: 0 0 auto; place-items: center; width: 31px; height: 31px; color: var(--peach-deep); border: 1.3px solid var(--peach-deep); border-radius: 50%; background: var(--peach); font-size: 11px; font-weight: 900; transform: rotate(-8deg); }
.medal-ring--gold { color: var(--yellow-deep); border-color: var(--yellow-deep); background: var(--yellow); transform: rotate(7deg); }
.board-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.board-footer b { color: var(--ink); }
.board-footer a { color: var(--blue-deep); font-weight: 800; white-space: nowrap; }
.board-footer a span { margin-left: 5px; font-size: 12px; }

/* Snapshot */

.snapshot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 1.15fr; gap: 11px; align-items: center; padding-top: 20px; padding-bottom: 29px; border-top: 1.3px solid var(--ink); border-bottom: 1px solid var(--line); }
.snapshot-note { display: grid; grid-template-columns: 25px 1fr; grid-template-rows: auto auto; gap: 1px 7px; align-items: center; min-height: 69px; padding: 9px 9px 8px 8px; border: 1.1px solid var(--ink-soft); border-radius: 5px 7px 4px 6px; box-shadow: 2px 3px 0 rgba(81, 108, 113, .1); }
.snapshot-note:nth-child(1) { transform: rotate(-1.2deg); }
.snapshot-note:nth-child(2) { transform: rotate(1.5deg) translateY(3px); }
.snapshot-note:nth-child(3) { transform: rotate(-.6deg); }
.snapshot-note:nth-child(4) { transform: rotate(1.2deg) translateY(-2px); }
.snapshot-note--yellow { background: var(--yellow); }
.snapshot-note--blue { background: var(--blue); }
.snapshot-note--mint { background: var(--mint); }
.snapshot-note--peach { background: var(--peach); }
.snapshot-icon { grid-row: span 2; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(40, 53, 58, .25); border-radius: 6px 4px 5px 3px; font-size: 11px; }
.snapshot-note strong { font-size: 22px; letter-spacing: -.1em; line-height: 1; }
.snapshot-note small { color: var(--ink-soft); font-size: 8px; line-height: 1.25; }
.snapshot-caption { margin: 0; padding-left: 13px; color: var(--blue-deep); font-family: var(--hand); font-size: 15px; line-height: 1.25; transform: rotate(-2deg); }

/* Sections */

.section-block { padding-top: 116px; padding-bottom: 116px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) 345px; gap: 54px; align-items: end; margin-bottom: 47px; }
.section-heading--short { margin-bottom: 41px; }
.section-kicker { color: var(--blue-deep); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.section-heading h2 { margin: 15px 0 0; font-size: clamp(45px, 5.8vw, 68px); font-weight: 900; letter-spacing: -.13em; line-height: .92; }
.heading-note { position: relative; display: flex; gap: 9px; align-items: flex-start; max-width: 345px; margin: 0 0 4px auto; padding: 13px 13px 12px 11px; border: 1.2px solid var(--ink-soft); border-radius: 8px 5px 9px 4px; box-shadow: 2px 3px 0 rgba(81, 108, 113, .12); transform: rotate(1.2deg); }
.heading-note::after { position: absolute; bottom: -10px; left: 29px; width: 14px; height: 12px; content: ""; border-right: 1.2px solid var(--ink-soft); border-bottom: 1.2px solid var(--ink-soft); background: inherit; clip-path: polygon(0 0, 100% 0, 54% 100%); }
.heading-note--yellow { background: var(--yellow); }
.heading-note--blue { background: var(--blue); transform: rotate(-1.1deg); }
.heading-note--peach { background: var(--peach); }
.heading-note--lavender { background: var(--lavender); transform: rotate(-1.3deg); }
.note-pin { flex: 0 0 auto; font-size: 16px; line-height: 1; }
.heading-note p { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: 12px; line-height: 1.6; }

/* Projects */

.feature-list { display: flex; flex-direction: column; gap: 101px; }
.feature-row { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: 68px; align-items: center; }
.feature-row--endoca { grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); }
.feature-copy { min-width: 0; }
.feature-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; }
.feature-tag { display: inline-block; padding: 5px 10px 4px; color: var(--ink); border: 1.1px solid var(--ink-soft); border-radius: 5px 3px 6px 4px; font-size: 9px; font-weight: 900; }
.feature-tag--yellow { background: var(--yellow); transform: rotate(-2deg); }
.feature-tag--blue { background: var(--blue); transform: rotate(1deg); }
.feature-tag--mint { background: var(--mint); transform: rotate(-1deg); }
.feature-copy h3 { margin: 19px 0 0; font-size: clamp(29px, 3.3vw, 44px); font-weight: 900; letter-spacing: -.12em; line-height: .98; }
.feature-copy h3 em { font-size: .82em; }
.feature-copy > p { max-width: 430px; margin: 20px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 13px; line-height: 1.82; }
.feature-speech { max-width: 420px; margin-top: 19px; padding: 10px 11px 9px 9px; }
.feature-speech .bubble-avatar { width: 22px; height: 22px; font-size: 9px; }
.feature-speech p { font-size: 11px; line-height: 1.55; }
.feature-speech p b { color: var(--ink); font-family: var(--sans); }
.feature-copy .text-link { margin-top: 24px; }
.feature-result { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; padding-top: 11px; border-top: 1px solid var(--line); }
.feature-result strong { font-size: 15px; letter-spacing: -.05em; }
.feature-result span { color: var(--muted); font-size: 9px; }
.visual-window { position: relative; min-height: 315px; padding: 12px 13px 14px; overflow: hidden; border: 1.3px solid var(--ink-soft); border-radius: 13px 8px 11px 6px; box-shadow: 5px 6px 0 rgba(81, 108, 113, .16); transition: transform .25s ease, box-shadow .25s ease; }
.visual-window:hover { box-shadow: 8px 9px 0 rgba(81, 108, 113, .13); transform: translateY(-3px) rotate(-.5deg); }
.visual-window--dark { color: var(--white); background: var(--dark); border-color: var(--dark); transform: rotate(.7deg); }
.visual-window--paper { background: var(--white); transform: rotate(-.8deg); }
.visual-window--mint { background: var(--mint); transform: rotate(.7deg); }
.visual-top { padding-bottom: 10px; border-bottom: 1px solid rgba(40, 53, 58, .2); }
.visual-window--dark .visual-top { color: rgba(255, 254, 250, .62); border-bottom-color: rgba(255, 254, 250, .2); }
.window-dots { display: inline-flex; gap: 4px; }
.window-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--peach); }
.window-dots i:nth-child(2) { background: var(--yellow); }
.window-dots i:nth-child(3) { background: var(--mint); }
.visual-window--dark .window-dots i:nth-child(1) { background: #d89893; }
.visual-window--dark .window-dots i:nth-child(3) { background: var(--blue); }
.chat-thread { padding: 20px 13px 8px; }
.chat-line { display: flex; gap: 8px; align-items: flex-start; max-width: 81%; margin-bottom: 11px; }
.chat-line--user { margin-left: auto; flex-direction: row-reverse; }
.chat-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 22px; height: 22px; color: var(--ink); background: var(--blue); border: 1px solid rgba(255, 254, 250, .4); border-radius: 50%; font-size: 8px; font-weight: 900; }
.chat-line--user .chat-avatar { background: var(--peach); }
.chat-line p { margin: 0; padding: 8px 10px; color: var(--ink-soft); background: var(--white); border: 1px solid rgba(40, 53, 58, .34); border-radius: 9px 5px 8px 4px; font-family: var(--serif); font-size: 10px; line-height: 1.5; }
.chat-line--user p { background: var(--blue); }
.tool-line { display: flex; flex-wrap: wrap; gap: 5px; margin: 7px 30px 13px; color: var(--mint); font-size: 8px; }
.tool-line span { padding: 4px 6px; border: 1px solid rgba(223, 240, 223, .5); border-radius: 4px; }
.chat-line--result { max-width: 93%; }
.visual-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 2px; padding: 10px 5px 1px; border-top: 1px solid rgba(255, 254, 250, .2); color: rgba(255, 254, 250, .56); font-size: 7px; }
.visual-metrics span { display: flex; flex-direction: column; gap: 3px; }
.visual-metrics b { color: var(--white); font-size: 16px; letter-spacing: -.08em; }
.visual-sticker { position: absolute; right: 24px; bottom: 18px; padding: 7px 9px 6px; border: 1px solid; border-radius: 5px 3px 6px 4px; font-family: var(--hand); font-size: 11px; line-height: 1.2; text-align: center; }
.visual-sticker--blue { color: var(--blue-deep); border-color: var(--blue-deep); background: var(--blue); transform: rotate(5deg); }
.visual-sticker--peach { color: var(--peach-deep); border-color: var(--peach-deep); background: var(--peach); transform: rotate(-5deg); }
.visual-sticker--yellow { color: var(--yellow-deep); border-color: var(--yellow-deep); background: var(--yellow); transform: rotate(4deg); }
.logic-map { padding: 24px 20px 12px; }
.logic-question { display: flex; flex-direction: column; gap: 8px; padding: 12px 13px; background: var(--blue); border: 1.2px solid var(--ink-soft); border-radius: 8px 5px 7px 4px; transform: rotate(-1deg); }
.logic-question span { color: var(--blue-deep); font-size: 9px; font-weight: 900; }
.logic-question b { color: var(--ink-soft); font-family: var(--serif); font-size: 12px; font-weight: 500; line-height: 1.55; }
.logic-branches { display: flex; justify-content: space-around; height: 34px; margin: 0 17%; border-bottom: 1px solid var(--blue-deep); }
.logic-branches i { width: 1px; height: 34px; background: var(--blue-deep); transform: rotate(28deg); transform-origin: bottom; }
.logic-branches i:nth-child(2) { transform: rotate(0); }
.logic-branches i:nth-child(3) { transform: rotate(-28deg); }
.logic-leaves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.logic-leaves span { padding: 9px 5px; border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); font-size: 9px; text-align: center; }
.logic-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.logic-bottom strong { color: var(--mint-deep); font-size: 10px; }
.adapter-stage { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 64px 9px 0; }
.adapter-stage > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 7px 9px; border: 1px solid var(--blue-deep); border-radius: 5px 3px 6px 4px; background: rgba(255, 254, 250, .76); }
.adapter-stage > div b { color: var(--ink); font-size: 10px; }
.adapter-stage > div small { color: var(--muted); font-size: 7px; white-space: nowrap; }
.adapter-stage > i { color: var(--blue-deep); font-size: 14px; font-style: normal; }
.adapter-stage .adapter-core { border-color: var(--blue-deep); background: var(--blue-deep); }
.adapter-stage .adapter-core b { color: var(--white); }
.adapter-stage .adapter-core small { color: var(--blue); }
.stage-note { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; margin: 26px 10px 0; color: var(--muted); font-size: 8px; }
.stage-note > i { height: 4px; overflow: hidden; background: rgba(103, 148, 168, .2); }
.stage-note > i b { display: block; width: 72%; height: 100%; background: var(--yellow-deep); }
.stage-note strong { color: var(--mint-deep); font-size: 10px; }

/* Research */

.research-desk { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 45px; align-items: stretch; }
.paper-folder { position: relative; padding: 14px 18px 17px; background: #f2efe8; border: 1px solid var(--line); border-radius: 6px 10px 7px 9px; }
.folder-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: -32px 0 14px; }
.folder-tab { padding: 7px 10px 6px; color: var(--ink-soft); border: 1px solid var(--ink-soft); border-radius: 5px 4px 3px 4px; font-size: 9px; }
.folder-tab--yellow { background: var(--yellow); transform: rotate(-2deg); }
.folder-tab--blue { background: var(--blue); transform: translateY(-3px) rotate(1deg); }
.folder-tab--mint { background: var(--mint); transform: rotate(-1deg); }
.paper-row { display: grid; grid-template-columns: 45px minmax(0, 1fr) 172px 17px; gap: 15px; align-items: center; min-width: 0; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease, background-color .2s ease; }
.paper-row:first-of-type { border-top: 1px solid var(--line); }
.paper-row:hover { padding-right: 7px; padding-left: 7px; background: rgba(255, 254, 250, .72); }
.paper-row--tmm { transform: rotate(-.5deg); }
.paper-row--bibm { transform: rotate(.4deg); }
.paper-row--icassp { transform: rotate(-.25deg); }
.paper-badge { display: grid; place-items: center; width: 35px; height: 35px; color: var(--ink); border: 1px solid var(--ink-soft); border-radius: 50%; background: var(--yellow); font-size: 9px; font-weight: 900; }
.paper-row--bibm .paper-badge { background: var(--blue); }
.paper-row--icassp .paper-badge { background: var(--mint); }
.paper-main, .paper-status { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.paper-main b { font-size: 17px; letter-spacing: -.06em; }
.paper-main small { overflow-wrap: anywhere; color: var(--ink-soft); font-family: var(--serif); font-size: 10px; line-height: 1.35; }
.paper-status b { color: var(--blue-deep); font-size: 10px; }
.paper-status small { color: var(--muted); font-size: 8px; }
.paper-row > strong { color: var(--blue-deep); font-size: 14px; }
.research-aside { display: flex; flex-direction: column; min-height: 300px; padding: 14px 12px 16px; }
.research-aside-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.keyword-orbit { position: relative; width: 196px; height: 168px; margin: 26px auto 13px; }
.keyword-orbit::before, .keyword-orbit::after, .keyword-orbit i { position: absolute; top: 50%; left: 50%; content: ""; border: 1px solid var(--blue-deep); border-radius: 50%; transform: translate(-50%, -50%); }
.keyword-orbit::before { width: 96%; height: 53%; transform: translate(-50%, -50%) rotate(31deg); }
.keyword-orbit::after { width: 53%; height: 96%; transform: translate(-50%, -50%) rotate(31deg); }
.keyword-orbit i { width: 68%; height: 68%; border-color: var(--yellow-deep); transform: translate(-50%, -50%) rotate(-25deg); }
.keyword-orbit > b { position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; color: var(--white); background: var(--dark); border-radius: 50%; font-size: 14px; transform: translate(-50%, -50%); }
.keyword-orbit > span { position: absolute; z-index: 2; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(40, 53, 58, .15); border-radius: 50%; font-size: 8px; font-weight: 900; }
.keyword-orbit > span:nth-child(1) { top: 1px; left: 17px; color: var(--blue-deep); background: var(--blue); }
.keyword-orbit > span:nth-child(2) { right: 3px; bottom: 22px; color: var(--yellow-deep); background: var(--yellow); }
.keyword-orbit > span:nth-child(3) { bottom: 3px; left: 35px; color: var(--mint-deep); background: var(--mint); }
.research-aside .speech-bubble { padding: 10px 10px 9px 8px; }
.research-aside .bubble-avatar { width: 21px; height: 21px; font-size: 8px; }
.research-aside .speech-bubble p { font-size: 10px; line-height: 1.55; }
.research-aside .text-link { align-self: flex-end; margin-top: 19px; }
.research-assets { display: flex; flex-wrap: wrap; gap: 8px 21px; align-items: center; margin-top: 26px; color: var(--muted); font-size: 9px; }
.research-assets > span:not(.asset-note)::before { display: inline-block; width: 6px; height: 6px; margin-right: 7px; content: ""; background: var(--yellow-deep); border-radius: 50%; }
.research-assets .asset-note { margin-left: auto; color: var(--blue-deep); font-family: var(--hand); font-size: 13px; transform: rotate(-2deg); }

/* Honors */

.honor-desk { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 38px; align-items: stretch; }
.honor-feature { position: relative; min-height: 420px; padding: 19px 21px; overflow: hidden; color: var(--ink); background: var(--lavender); border: 1.3px solid var(--ink-soft); border-radius: 8px 5px 9px 4px; box-shadow: var(--shadow); transform: rotate(-.8deg); }
.honor-feature::after { position: absolute; right: -69px; bottom: -82px; width: 204px; height: 204px; content: ""; border: 1px solid rgba(135, 117, 167, .35); border-radius: 50%; box-shadow: 0 0 0 24px rgba(135, 117, 167, .08), 0 0 0 50px rgba(135, 117, 167, .05); }
.honor-feature-top { display: flex; align-items: center; justify-content: space-between; color: var(--lavender-deep); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.honor-trophy { display: block; margin: 57px auto 28px; font-size: 63px; text-align: center; transform: rotate(-6deg); }
.honor-feature > strong { display: block; font-size: 62px; font-weight: 900; letter-spacing: -.12em; line-height: .8; }
.honor-feature > p { margin: 14px 0 0; font-size: 14px; font-weight: 900; letter-spacing: -.08em; }
.honor-feature > small { display: block; max-width: 160px; margin-top: 8px; color: var(--ink-soft); font-family: var(--hand); font-size: 12px; line-height: 1.45; }
.honor-scribble { position: absolute; right: 19px; bottom: 19px; z-index: 1; color: var(--lavender-deep); font-family: var(--hand); font-size: 12px; line-height: 1.2; text-align: right; transform: rotate(-7deg); }
.honor-list { border-top: 1px solid var(--line); }
.honor-entry { display: grid; grid-template-columns: 61px 39px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 79px; padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease, background-color .2s ease; }
.honor-entry:hover { padding-left: 8px; background: rgba(255, 254, 250, .68); }
.honor-year { color: var(--muted); font-size: 9px; font-weight: 900; }
.honor-medal { display: grid; place-items: center; width: 31px; height: 31px; color: var(--yellow-deep); border: 1px solid var(--yellow-deep); border-radius: 50%; background: var(--yellow); font-size: 10px; font-weight: 900; transform: rotate(-6deg); }
.honor-entry--blue .honor-medal { color: var(--blue-deep); border-color: var(--blue-deep); background: var(--blue); transform: rotate(5deg); }
.honor-entry--mint .honor-medal { color: var(--mint-deep); border-color: var(--mint-deep); background: var(--mint); transform: rotate(-4deg); }
.honor-medal--plain { color: var(--muted); border-color: var(--line); background: var(--white); }
.honor-entry strong { display: block; font-size: 14px; line-height: 1.35; }
.honor-entry small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.honor-subgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--line); }
.honor-subblock { display: flex; flex-direction: column; gap: 5px; min-height: 79px; padding: 11px 12px; border: 1px solid var(--ink-soft); border-radius: 5px 7px 4px 6px; }
.honor-subblock:nth-child(1) { transform: rotate(-.8deg); }
.honor-subblock:nth-child(2) { transform: rotate(.6deg); }
.honor-subblock:nth-child(3) { transform: rotate(-.4deg); }
.honor-subblock--yellow { background: var(--yellow); }
.honor-subblock--blue { background: var(--blue); }
.honor-subblock--mint { background: var(--mint); }
.honor-subblock span { color: var(--ink-soft); font-size: 8px; }
.honor-subblock strong { font-size: 11px; }
.honor-subblock small { color: var(--muted); font-size: 8px; }

/* Experience / education */

.experience-desk { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(330px, .94fr); gap: 16px; align-items: stretch; }
.intern-card { padding: 20px 21px 21px; background: var(--white); border: 1.3px solid var(--ink-soft); border-radius: 6px 9px 5px 8px; box-shadow: var(--shadow); transform: rotate(.45deg); }
.experience-title-row { display: flex; gap: 13px; align-items: center; margin-top: 43px; }
.experience-title-row > div { min-width: 0; }
.experience-pin { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; color: var(--white); background: var(--blue-deep); border: 1px solid var(--ink-soft); border-radius: 50%; font-size: 9px; font-weight: 900; transform: rotate(-8deg); }
.experience-title-row p { margin: 0; color: var(--blue-deep); font-size: 10px; font-weight: 900; }
.experience-title-row h3 { margin: 6px 0 0; font-size: clamp(25px, 3vw, 37px); font-weight: 900; letter-spacing: -.1em; line-height: 1; }
.intern-route { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 39px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intern-route span { display: flex; flex-direction: column; gap: 4px; }
.intern-route b { font-size: 12px; }
.intern-route small { color: var(--muted); font-size: 8px; }
.intern-route i { color: var(--blue-deep); font-size: 16px; font-style: normal; }
.intern-card ul { padding: 0; margin: 20px 0 0; list-style: none; }
.intern-card li { position: relative; padding: 11px 0 11px 17px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-family: var(--serif); font-size: 11px; line-height: 1.75; }
.intern-card li::before { position: absolute; top: 19px; left: 0; width: 6px; height: 6px; content: ""; background: var(--yellow-deep); border-radius: 50%; }
.education-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 15px; }
.education-card { min-width: 0; padding: 20px 21px; border: 1.2px solid var(--ink-soft); border-radius: 9px 6px 8px 5px; box-shadow: 3px 4px 0 rgba(81, 108, 113, .12); }
.education-card--dark { color: var(--white); background: var(--dark); border-color: var(--dark); transform: rotate(-.5deg); }
.education-card--blue { background: var(--blue); transform: rotate(.5deg); }
.education-card--dark .education-card-top { color: rgba(255, 254, 250, .56); }
.education-card-top b { color: var(--blue-deep); font-size: 9px; }
.education-card--dark .education-card-top b { color: var(--blue); }
.education-school { display: flex; gap: 13px; align-items: center; margin-top: 28px; }
.school-initial { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; color: var(--ink); background: var(--yellow); font-size: 9px; font-weight: 900; }
.school-initial--light { background: var(--white); border: 1px solid var(--line); }
.education-school h3 { margin: 0; font-size: 25px; font-weight: 900; letter-spacing: -.1em; line-height: 1; }
.education-school p { margin: 6px 0 0; color: var(--muted); font-size: 9px; }
.education-card--dark .education-school p { color: rgba(255, 254, 250, .6); }
.education-score { display: flex; align-items: baseline; gap: 9px; margin-top: 21px; }
.education-score > strong { font-size: 24px; letter-spacing: -.08em; }
.education-score > span { color: var(--muted); font-size: 8px; }
.education-score > b { margin-left: auto; color: var(--blue-deep); font-size: 11px; line-height: 1.15; text-align: right; }
.education-score > b small { font-size: 8px; font-weight: 500; }
.education-card--dark .education-score > b { color: var(--blue); }
.education-card--dark .education-score > span { color: rgba(255, 254, 250, .56); }
.skill-note { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 27px; padding-top: 16px; border-top: 1px solid var(--line); }
.skill-note > span { color: var(--blue-deep); font-size: 9px; font-weight: 900; }
.skill-note p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }

/* Notes / contact */

.notes-entry { display: flex; align-items: center; gap: 25px; padding-top: 25px; padding-bottom: 25px; border-top: 1px solid var(--line); }
.notes-entry .section-kicker { min-width: 65px; }
.notes-entry p { flex: 1; margin: 0; color: var(--muted); font-family: var(--hand); font-size: 16px; }
.notes-entry a { color: var(--blue-deep); font-size: 10px; font-weight: 900; white-space: nowrap; }
.notes-entry a span { margin-left: 6px; font-size: 13px; }
.contact-section { color: var(--white); background: var(--dark); }
.contact-inner { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; padding-top: 86px; padding-bottom: 77px; }
.contact-section .section-kicker { color: rgba(255, 254, 250, .55); }
.contact-copy h2 { margin: 16px 0 0; font-size: clamp(47px, 5.8vw, 72px); font-weight: 900; letter-spacing: -.14em; line-height: .9; }
.contact-copy h2 em { color: var(--blue); }
.contact-copy > p { max-width: 390px; margin: 21px 0 0; color: rgba(255, 254, 250, .66); font-family: var(--serif); font-size: 13px; line-height: 1.85; }
.contact-sticker { display: inline-flex; align-items: center; gap: 10px; margin-top: 29px; padding: 8px 10px; color: var(--ink); background: var(--yellow); border: 1px solid var(--yellow-deep); border-radius: 5px 3px 6px 4px; font-size: 8px; font-weight: 900; letter-spacing: .1em; transform: rotate(-3deg); }
.contact-sticker b { font-size: 14px; letter-spacing: 0; }
.contact-details { align-self: end; }
.contact-email { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 9px; color: var(--blue); border-bottom: 1px solid rgba(255, 254, 250, .27); font-size: clamp(18px, 2.1vw, 26px); font-weight: 700; letter-spacing: -.06em; }
.contact-email span { font-size: 15px; }
.contact-list { margin-top: 19px; border-top: 1px solid rgba(255, 254, 250, .17); }
.contact-list a, .copy-row { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 0; color: inherit; border: 0; border-bottom: 1px solid rgba(255, 254, 250, .17); background: none; text-align: left; cursor: pointer; }
.contact-list a:hover b, .copy-row:hover b { color: var(--blue); }
.contact-list span, .copy-row span { color: rgba(255, 254, 250, .5); font-size: 9px; }
.contact-list b, .copy-row b { color: rgba(255, 254, 250, .9); font-size: 10px; font-weight: 600; }
.contact-list i, .copy-row i { margin-left: 8px; color: var(--blue); font-size: 8px; font-style: normal; }
.copy-status { min-height: 18px; margin: 9px 0 0; color: var(--mint); font-size: 9px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 51px; padding-top: 15px; padding-bottom: 15px; color: var(--muted); font-size: 8px; }
.site-footer a { color: var(--ink); font-weight: 900; }
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 4px; }

/* Responsive */

@media (max-width: 1080px) {
  .section-shell, .site-header { width: min(calc(100% - 50px), var(--wide)); }
  .hero { grid-template-columns: 127px minmax(0, 1fr) 350px; gap: 28px; }
  .portrait-card { width: 124px; }
  .portrait { width: 102px; height: 137px; }
  .feature-row { gap: 38px; }
  .research-desk { gap: 30px; }
}

@media (max-width: 850px) {
  .hero { grid-template-columns: 119px minmax(0, 1fr); padding-top: 39px; }
  .hero-photo-column { padding-top: 13px; }
  .achievement-board { grid-column: 1 / -1; }
  .snapshot { grid-template-columns: repeat(4, 1fr); }
  .snapshot-caption { grid-column: 1 / -1; padding: 11px 0 0; text-align: center; }
  .feature-row, .feature-row--endoca { grid-template-columns: 1fr; gap: 28px; }
  .feature-row--endoca .feature-visual { order: 2; }
  .feature-row--endoca .feature-copy { order: 1; }
  .visual-window { min-height: 285px; }
  .research-desk { grid-template-columns: 1fr; gap: 30px; }
  .research-aside { min-height: 255px; }
  .keyword-orbit { margin-top: 2px; }
  .honor-desk, .experience-desk { grid-template-columns: 1fr; }
  .honor-feature { min-height: 290px; }
  .honor-trophy { margin-top: 32px; margin-bottom: 20px; }
  .honor-feature::after { right: 85px; bottom: -126px; }
}

@media (max-width: 650px) {
  .section-shell, .site-header { width: calc(100% - 32px); }
  .site-header { min-height: 63px; padding-top: 11px; padding-bottom: 10px; }
  .brand-copy { flex-direction: column; align-items: flex-start; gap: 0; }
  .brand-copy small { font-size: 8px; }
  .menu-toggle { display: grid; gap: 5px; padding: 9px 0 9px 10px; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 21px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .site-header.nav-open .menu-toggle > span:first-child { transform: translateY(3px) rotate(45deg); }
  .site-header.nav-open .menu-toggle > span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% - 1px); right: 0; display: none; flex-direction: column; align-items: flex-end; gap: 8px; width: 178px; padding: 13px 15px 15px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 253, 248, .98); box-shadow: var(--shadow); }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav .nav-contact { padding: 7px 10px; }
  .hero { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding-top: 29px; padding-bottom: 39px; }
  .hero-photo-column { padding-top: 3px; }
  .portrait-card { width: 75px; padding: 7px 6px 8px; }
  .portrait-frame-top { margin-bottom: 6px; font-size: 6px; }
  .frame-cross { font-size: 10px; }
  .portrait-wrap { padding: 3px; }
  .portrait { width: 63px; height: 84px; }
  .portrait-stamp { right: -8px; bottom: 6px; width: 25px; height: 25px; font-size: 6px; }
  .portrait-card figcaption { display: block; width: 65px; margin-top: 10px; font-size: 7px; }
  .portrait-card figcaption b { display: block; margin-top: 3px; }
  .availability-chip { gap: 4px; margin: 16px 0 0 1px; padding: 4px 5px; font-size: 6px; }
  .live-dot { width: 4px; height: 4px; }
  .photo-note { margin: 19px 0 0 1px; font-size: 10px; }
  .peek-label { gap: 5px; padding: 4px 6px 3px; font-size: 8px; }
  .peek-label b { font-size: 10px; }
  .eyebrow { gap: 5px; margin-top: 13px; font-size: 7px; letter-spacing: 0; line-height: 1.35; }
  .eyebrow-dot { width: 5px; height: 5px; }
  .hero h1 { margin-top: 15px; font-size: clamp(51px, 17vw, 69px); }
  .hero-name { margin-top: 9px; font-size: 9px; }
  .hero-title-lockup { display: block; margin-top: 21px; }
  .hero-title-lockup h2 { font-size: 18px; line-height: 1.2; }
  .hero-title-note { display: inline-block; margin-top: 6px; padding: 3px 6px; font-size: 6px; }
  .hero-speech { gap: 6px; margin-top: 13px; padding: 8px 7px 7px 6px; }
  .bubble-avatar { width: 20px; height: 20px; font-size: 8px; }
  .speech-bubble p { font-size: 9px; line-height: 1.6; }
  .hero-tags { gap: 4px; margin-top: 16px; }
  .tag { padding: 3px 5px 2px; font-size: 6px; }
  .hero-lede { margin-top: 14px; font-size: 10px; line-height: 1.55; }
  .hero-contact-row { gap: 6px 8px; margin-top: 15px; }
  .hero-contact-row a, .hero-contact-row button { gap: 4px; font-size: 7px; }
  .contact-icon { width: 18px; height: 18px; font-size: 8px; }
  .hero-contact-row b { font-size: 9px; }
  .mobile-result-line { display: block; margin: 12px 0 0; color: var(--blue-deep); font-size: 8px; line-height: 1.5; }
  .achievement-board { grid-column: 1 / -1; padding: 11px 13px 9px; }
  .board-topline { font-size: 6px; }
  .board-heading { margin-top: 13px; }
  .board-heading h2 { font-size: 23px; }
  .board-sun { font-size: 17px; }
  .achievement-lead { gap: 9px; margin-top: 11px; padding: 6px 9px; }
  .achievement-lead > strong { font-size: 31px; }
  .achievement-lead > span:not(.lead-arrow) { font-size: 8px; }
  .achievement-lead b { font-size: 7px; }
  .achievement-list { margin-top: 6px; }
  .achievement-item { grid-template-columns: 22px minmax(0, 1fr) 11px; gap: 6px; padding: 6px 0; }
  .achievement-icon { width: 20px; height: 20px; font-size: 9px; }
  .achievement-item b { font-size: 9px; }
  .achievement-item small { font-size: 8px; }
  .achievement-arrow { font-size: 10px; }
  .achievement-medals { gap: 5px; padding: 5px 0; }
  .mini-medal { gap: 5px; font-size: 6px; }
  .mini-medal b { font-size: 7px; }
  .medal-ring { width: 25px; height: 25px; font-size: 8px; }
  .board-footer { flex-wrap: wrap; padding-top: 6px; font-size: 7px; }
  .board-footer a { font-size: 7px; }
  .snapshot { grid-template-columns: repeat(2, 1fr); gap: 7px; padding-top: 14px; padding-bottom: 19px; }
  .snapshot-note { min-height: 59px; padding: 7px 6px; grid-template-columns: 20px 1fr; gap: 1px 5px; }
  .snapshot-icon { width: 18px; height: 18px; font-size: 9px; }
  .snapshot-note strong { font-size: 17px; }
  .snapshot-note small { font-size: 7px; }
  .snapshot-caption { padding-top: 9px; font-size: 12px; }
  .section-block { padding-top: 73px; padding-bottom: 73px; }
  .section-heading, .section-heading--short { display: block; margin-bottom: 27px; }
  .section-kicker { font-size: 8px; }
  .section-heading h2 { margin-top: 13px; font-size: clamp(37px, 12.7vw, 52px); }
  .heading-note { max-width: none; margin: 18px 0 0; padding: 9px 9px 8px 8px; }
  .heading-note p { font-size: 9px; line-height: 1.55; }
  .note-pin { font-size: 13px; }
  .feature-list { gap: 61px; }
  .feature-row, .feature-row--endoca { gap: 22px; }
  .feature-meta { gap: 7px; font-size: 7px; }
  .feature-tag { padding: 4px 7px 3px; font-size: 7px; }
  .feature-copy h3 { margin-top: 13px; font-size: 27px; }
  .feature-copy > p { margin-top: 13px; font-size: 10px; line-height: 1.7; }
  .feature-speech { margin-top: 13px; padding: 7px 7px 6px 6px; }
  .feature-speech p { font-size: 8px; }
  .feature-copy .text-link { margin-top: 18px; font-size: 8px; }
  .feature-result { margin-top: 14px; padding-top: 8px; }
  .feature-result strong { font-size: 12px; }
  .feature-result span { font-size: 7px; }
  .visual-window { min-height: 227px; padding: 9px 8px 10px; }
  .visual-top { padding-bottom: 7px; font-size: 6px; }
  .window-dots { gap: 3px; }
  .window-dots i { width: 5px; height: 5px; }
  .chat-thread { padding: 12px 5px 6px; }
  .chat-line { gap: 5px; max-width: 85%; margin-bottom: 7px; }
  .chat-avatar { width: 17px; height: 17px; font-size: 6px; }
  .chat-line p { padding: 5px 6px; font-size: 7px; }
  .tool-line { gap: 3px; margin: 4px 21px 8px; font-size: 5px; }
  .tool-line span { padding: 2px 3px; }
  .visual-metrics { gap: 4px; padding-top: 6px; font-size: 5px; }
  .visual-metrics b { font-size: 12px; }
  .visual-sticker { right: 11px; bottom: 11px; padding: 5px 6px 4px; font-size: 8px; }
  .logic-map { padding: 16px 9px 8px; }
  .logic-question { gap: 5px; padding: 8px 8px; }
  .logic-question span { font-size: 7px; }
  .logic-question b { font-size: 8px; }
  .logic-branches { height: 24px; margin: 0 16%; }
  .logic-branches i { height: 24px; }
  .logic-leaves { gap: 4px; margin-top: 8px; }
  .logic-leaves span { padding: 6px 3px; font-size: 7px; }
  .logic-bottom { margin-top: 14px; padding-top: 8px; font-size: 6px; }
  .logic-bottom strong { font-size: 8px; }
  .adapter-stage { gap: 3px; margin: 37px 2px 0; }
  .adapter-stage > div { padding: 6px 3px 5px; }
  .adapter-stage > div b { font-size: 7px; }
  .adapter-stage > div small { font-size: 6px; white-space: normal; text-align: center; }
  .adapter-stage > i { font-size: 9px; }
  .stage-note { gap: 5px; margin: 16px 3px 0; font-size: 5px; }
  .stage-note strong { font-size: 7px; }
  .research-desk { gap: 24px; }
  .paper-folder { padding: 10px 9px 11px; }
  .folder-tabs { gap: 3px; margin: -25px 0 9px; }
  .folder-tab { padding: 5px 6px 4px; font-size: 6px; }
  .paper-row { grid-template-columns: 30px minmax(0, 1fr) 76px 11px; gap: 7px; padding: 13px 0; }
  .paper-badge { width: 26px; height: 26px; font-size: 7px; }
  .paper-main { gap: 3px; }
  .paper-main b { font-size: 13px; }
  .paper-main small { font-size: 8px; }
  .paper-status { gap: 2px; }
  .paper-status b { font-size: 7px; }
  .paper-status small { font-size: 7px; line-height: 1.35; }
  .paper-row > strong { font-size: 10px; }
  .research-aside { min-height: 204px; padding: 0 6px 8px; }
  .research-aside-top { font-size: 6px; }
  .keyword-orbit { width: 145px; height: 122px; margin: 2px auto 9px; }
  .keyword-orbit > b { width: 35px; height: 35px; font-size: 10px; }
  .keyword-orbit > span { width: 26px; height: 26px; font-size: 6px; }
  .keyword-orbit > span:nth-child(1) { left: 12px; }
  .keyword-orbit > span:nth-child(2) { right: 1px; bottom: 17px; }
  .keyword-orbit > span:nth-child(3) { bottom: 1px; left: 26px; }
  .research-aside .speech-bubble { padding: 7px 7px 6px 6px; }
  .research-aside .bubble-avatar { width: 17px; height: 17px; font-size: 6px; }
  .research-aside .speech-bubble p { font-size: 7px; }
  .research-aside .text-link { margin-top: 12px; font-size: 7px; }
  .research-assets { gap: 5px 10px; margin-top: 17px; font-size: 6px; }
  .research-assets .asset-note { width: 100%; margin: 2px 0 0; font-size: 10px; }
  .honor-feature { min-height: 247px; padding: 13px 14px; }
  .honor-feature-top { font-size: 6px; }
  .honor-trophy { margin: 22px auto 16px; font-size: 46px; }
  .honor-feature > strong { font-size: 47px; }
  .honor-feature > p { margin-top: 9px; font-size: 11px; }
  .honor-feature > small { margin-top: 5px; font-size: 9px; }
  .honor-scribble { right: 13px; bottom: 12px; font-size: 9px; }
  .honor-list { margin-top: 19px; }
  .honor-entry { grid-template-columns: 49px 30px minmax(0, 1fr); gap: 7px; min-height: 67px; padding: 9px 6px 9px 0; }
  .honor-year { font-size: 7px; }
  .honor-medal { width: 25px; height: 25px; font-size: 8px; }
  .honor-entry strong { font-size: 10px; }
  .honor-entry small { margin-top: 3px; font-size: 8px; line-height: 1.35; }
  .honor-subgrid { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; padding-top: 13px; }
  .honor-subblock { min-height: 60px; padding: 8px 9px; }
  .honor-subblock span { font-size: 7px; }
  .honor-subblock strong { font-size: 9px; }
  .honor-subblock small { font-size: 7px; }
  .experience-desk { gap: 11px; }
  .intern-card { padding: 14px 12px 14px; }
  .intern-top, .education-card-top { font-size: 6px; }
  .experience-title-row { gap: 8px; margin-top: 29px; }
  .experience-pin { width: 34px; height: 34px; font-size: 7px; }
  .experience-title-row p { font-size: 8px; }
  .experience-title-row h3 { margin-top: 4px; font-size: 23px; }
  .intern-route { gap: 5px; margin-top: 24px; padding: 8px 0; }
  .intern-route b { font-size: 9px; }
  .intern-route small { font-size: 6px; }
  .intern-route i { font-size: 11px; }
  .intern-card ul { margin-top: 13px; }
  .intern-card li { padding: 8px 0 8px 13px; font-size: 8px; }
  .intern-card li::before { top: 13px; width: 5px; height: 5px; }
  .education-stack { gap: 9px; }
  .education-card { min-height: 155px; padding: 14px 12px; }
  .education-school { gap: 8px; margin-top: 20px; }
  .school-initial { width: 34px; height: 34px; font-size: 7px; }
  .education-school h3 { font-size: 21px; }
  .education-school p { margin-top: 4px; font-size: 7px; }
  .education-score { margin-top: 14px; }
  .education-score > strong { font-size: 18px; }
  .education-score > span { font-size: 6px; }
  .education-score > b { font-size: 8px; }
  .education-score > b small { font-size: 6px; }
  .skill-note { display: block; margin-top: 18px; }
  .skill-note p { margin-top: 7px; font-size: 7px; line-height: 1.7; }
  .notes-entry { align-items: flex-start; flex-wrap: wrap; gap: 6px 14px; padding-top: 19px; padding-bottom: 19px; }
  .notes-entry .section-kicker { min-width: 46px; font-size: 7px; }
  .notes-entry p { flex-basis: calc(100% - 60px); font-size: 12px; }
  .notes-entry a { margin-left: 60px; font-size: 7px; }
  .contact-inner { display: block; padding-top: 64px; padding-bottom: 57px; }
  .contact-copy h2 { margin-top: 13px; font-size: 47px; }
  .contact-copy > p { margin-top: 16px; font-size: 10px; }
  .contact-sticker { margin-top: 20px; }
  .contact-details { margin-top: 35px; }
  .contact-email { font-size: 16px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 5px; padding-top: 12px; padding-bottom: 12px; font-size: 7px; }
}

@media (max-width: 360px) {
  .hero { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
  .portrait-card { width: 69px; }
  .portrait { width: 57px; height: 78px; }
  .achievement-board { padding-right: 10px; padding-left: 10px; }
  .achievement-item small { font-size: 7px; }
  .mobile-result-line { font-size: 7px; }
  .paper-row { grid-template-columns: 27px minmax(0, 1fr) 68px 9px; gap: 5px; }
  .paper-main b { font-size: 12px; }
  .paper-status b { font-size: 6px; }
}

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