:root {
  color-scheme: dark;
  --bg: #0d1118;
  --bg-soft: #121a22;
  --panel: #171f28;
  --panel-hi: #202a34;
  --text: #e5edee;
  --muted: #a3afb3;
  --faint: #77858b;
  --line: #2b3840;
  --accent: #53aa9e;
  --accent-bright: #73c8b9;
  --accent-ink: #0b1517;
  --mono: "IBM Plex Mono", "DM Mono", monospace;
  --serif: "IBM Plex Mono", "DM Mono", monospace;
  --header: var(--bg);
  --radius: 14px;
  --wrap: 1160px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f0f6f4;
  --bg-soft: #e6efed;
  --panel: #f8fbfa;
  --panel-hi: #e1ece9;
  --text: #17272b;
  --muted: #566a6d;
  --faint: #7b8d8f;
  --line: #cbd9d6;
  --accent: #267c72;
  --accent-bright: #17685f;
  --accent-ink: #f5fbf9;
  --header: var(--bg);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.025em;
  transition:
    background-color 0.35s,
    color 0.35s;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(
    color-mix(in srgb, var(--accent) 28%, transparent) 0.55px,
    transparent 0.55px
  );
  background-size: 7px 7px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}
.section-wrap {
  width: min(var(--wrap), calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  background: var(--header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-shell {
  width: min(1320px, calc(100% - 64px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: -0.06em;
}
.wordmark-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--faint);
}
.primary-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.primary-nav > a:not(.nav-cv):not(.nav-talk) {
  transition: color 0.2s;
}
.primary-nav > a:hover:not(.nav-talk),
.primary-nav > a.active:not(.nav-talk) {
  color: var(--text);
}
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
  padding: 8px 0;
}
.theme-icon {
  font-size: 17px;
  color: var(--accent);
}
.nav-cv {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.nav-cv:hover {
  border-color: var(--accent);
  background: var(--panel);
}
.nav-cv span {
  color: var(--accent);
}
.nav-talk {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--accent);
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--accent-ink);
  background: var(--accent);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.nav-talk:hover {
  color: var(--accent-ink);
  border-color: var(--accent-bright);
  background: var(--accent-bright);
}
.nav-talk span {
  color: var(--accent-ink);
}
.menu-toggle {
  display: none;
}
.hero {
  min-height: calc(100svh - 74px);
  padding: 90px 0 68px;
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 34px;
}
.eyebrow,
.section-kicker,
.project-number,
.panel-index,
.entry-type,
.edu-date,
.course-title,
.language-label,
.form-heading,
.contact-links > a > span,
.contact-direct > span,
.contact-overline,
.hero-bottom,
.portrait-index,
.coordinate,
.hero-stamp,
.project-footer,
.art-label,
.art-coordinate,
.vision-coord,
.vision-sidebar,
.footer-location,
.back-top {
  font-size: 9px;
  letter-spacing: 0.11em;
}
.eyebrow {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-dot,
.status-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.eyebrow-divider {
  color: var(--faint);
}
.hello {
  color: var(--accent);
  font-size: 15px;
  margin: 45px 0 3px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(68px, 9.6vw, 126px);
  line-height: 0.88;
  letter-spacing: -0.105em;
  margin: 0;
  font-weight: 500;
}
.hero h1 > span {
  color: var(--accent);
}
.hero h1 sup {
  display: inline-block;
  vertical-align: top;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin: 9px 0 0 16px;
}
.hero-role {
  font-size: 18px;
  line-height: 1.4;
  margin: 29px 0 7px;
  color: var(--text);
  letter-spacing: -0.055em;
}
.hero-degree {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.hero-degree span {
  color: var(--accent);
  padding: 0 4px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 31px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 43px;
  padding: 0 17px;
  border-radius: 7px;
  font-size: 10px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
}
.button-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}
.button span {
  font-size: 15px;
}
.text-link {
  font-size: 10px;
  color: var(--muted);
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--accent);
}
.text-link span {
  color: var(--accent);
  margin-left: 7px;
}
.hero-meta {
  display: flex;
  gap: 20px;
  margin-top: 50px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.06em;
}
.hero-meta i {
  font-style: normal;
  color: var(--accent);
  font-size: 8px;
  margin-right: 6px;
}
.hero-visual {
  position: relative;
  height: min(580px, 67vh);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-frame {
  position: relative;
  height: 82%;
  width: 70%;
  max-width: 370px;
  overflow: hidden;
  border: 1px solid var(--accent);
  border-radius: 180px 180px 12px 12px;
  background: var(--panel);
  z-index: 1;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: grayscale(0.25) saturate(0.85) contrast(0.96);
  display: block;
  transition:
    transform 0.7s var(--ease),
    filter 0.5s;
}
.portrait-frame:hover img {
  transform: scale(1.025);
  filter: grayscale(0.1) saturate(0.9);
}
.portrait-overlay {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(
    transparent,
    color-mix(in srgb, var(--bg) 32%, transparent)
  );
  pointer-events: none;
}
.portrait-index {
  position: absolute;
  bottom: 18px;
  left: 20px;
  color: var(--text);
}
.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: 0;
  transform: rotate(-24deg);
}
.orbit-one {
  width: 106%;
  height: 65%;
  left: -3%;
  top: 17%;
}
.orbit-two {
  width: 92%;
  height: 56%;
  left: 3%;
  top: 22%;
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  transform: rotate(47deg);
}
.visual-note {
  position: absolute;
  right: -4px;
  top: 14%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
  z-index: 2;
}
.note-rule {
  display: block;
  width: 26px;
  border-top: 1px solid var(--accent);
}
.coordinate {
  position: absolute;
  left: 3%;
  top: 26%;
  color: var(--faint);
  line-height: 1.65;
}
.hero-stamp {
  position: absolute;
  right: 3%;
  bottom: 11%;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--accent);
  font-size: 8px;
  line-height: 1.3;
  transform: rotate(9deg);
}
.hero-stamp span {
  font-size: 6px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--faint);
  font-size: 8px;
}
.bottom-line {
  height: 1px;
  width: 90px;
  background: var(--line);
}
.hero-bottom a {
  color: var(--accent);
  margin-left: auto;
  font-size: 17px;
}
.section-pad {
  padding-top: 104px;
  padding-bottom: 110px;
}
.section-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 8px;
}
.section-kicker span:first-child {
  color: var(--accent);
}
.intro {
  border-top: 1px solid var(--line);
}
.intro-grid {
  padding: 53px 0 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.intro h2,
.section-heading h2,
.capability-head h2,
.contact h2 {
  font-size: clamp(32px, 4.5vw, 55px);
  line-height: 1.15;
  letter-spacing: -0.085em;
  font-weight: 400;
  margin: 0;
}
.intro h2 em,
.section-heading h2 em,
.capability-head h2 em,
.contact h2 em {
  font-style: normal;
  color: var(--accent);
}
.intro-body {
  max-width: 520px;
  padding-top: 4px;
}
.intro-body p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.intro-foot {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--faint);
  font-size: 9px;
}
.mini-square {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  margin-right: 9px;
  vertical-align: 1px;
}
.projects {
  background: var(--bg-soft);
  width: 100%;
  padding-left: max(40px, calc((100% - var(--wrap)) / 2));
  padding-right: max(40px, calc((100% - var(--wrap)) / 2));
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 48px 0 40px;
}
.section-heading > p {
  max-width: 330px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.project-list {
  display: grid;
  gap: 18px;
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 365px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.project-card:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
  transform: translateY(-3px);
}
.project-art {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  background: var(--panel-hi);
}
.art-motion {
  background: radial-gradient(
    ellipse at 51% 48%,
    var(--panel-hi) 0,
    var(--bg-soft) 35%,
    var(--bg) 77%
  );
}
.art-grid,
.vision-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      color-mix(in srgb, var(--accent) 9%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--accent) 9%, transparent) 1px,
      transparent 1px
    );
  background-size: 34px 34px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 20%,
    #000 80%,
    transparent
  );
}
.sensor-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.ring-b {
  width: 275px;
  height: 275px;
  border-style: dashed;
  opacity: 0.6;
}
.sensor-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 9px color-mix(in srgb, var(--accent) 8%, transparent),
    0 0 45px color-mix(in srgb, var(--accent) 23%, transparent);
}
.signal {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 210px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: signal 4s ease-out infinite;
}
.signal-b {
  animation-delay: 2s;
}
.art-label,
.art-coordinate,
.vision-coord {
  position: absolute;
  color: var(--accent-bright);
  font-size: 8px;
}
.art-label {
  top: 24px;
  left: 25px;
}
.art-coordinate {
  right: 20px;
  bottom: 20px;
  font-size: 7px;
  letter-spacing: 0.16em;
}
.circuit-path {
  position: absolute;
  border-top: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  width: 24%;
  top: 39%;
  left: 11%;
}
.path-a:after,
.path-b:after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.path-b {
  top: 63%;
  left: auto;
  right: 11%;
  width: 22%;
}
.project-info {
  padding: 34px 37px 22px;
  display: flex;
  flex-direction: column;
}
.project-number {
  color: var(--faint);
  font-size: 8px;
}
.project-number span {
  color: var(--accent);
  padding: 0 6px;
}
.project-info h3 {
  font-size: 22px;
  line-height: 1.32;
  letter-spacing: -0.065em;
  font-weight: 400;
  margin: 24px 0 14px;
}
.project-info > p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.85;
  margin: 0;
  max-width: 450px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 20px;
}
.tag-list span,
.chip-cloud span {
  font-size: 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 8px;
  line-height: 1.3;
}
.project-footer {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 7px;
}
.project-mark {
  color: var(--accent);
  font-size: 9px;
}
.project-reverse .project-art {
  order: 2;
}
.project-reverse .project-info {
  order: 1;
}
.art-vision {
  background: radial-gradient(
    ellipse at 48% 50%,
    var(--panel-hi),
    var(--bg-soft) 66%,
    var(--bg)
  );
}
.vision-grid {
  background-size: 25px 25px;
  opacity: 0.75;
}
.object-frame {
  position: absolute;
  left: 31%;
  top: 21%;
  width: 42%;
  height: 56%;
  border: 1px solid color-mix(in srgb, var(--accent) 78%, transparent);
  display: grid;
  place-items: center;
}
.frame-corner {
  position: absolute;
  width: 11px;
  height: 11px;
  border-color: var(--accent);
  border-style: solid;
}
.tl {
  left: -1px;
  top: -1px;
  border-width: 1px 0 0 1px;
}
.tr {
  right: -1px;
  top: -1px;
  border-width: 1px 1px 0 0;
}
.bl {
  left: -1px;
  bottom: -1px;
  border-width: 0 0 1px 1px;
}
.br {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}
.object-shape {
  width: 42%;
  height: 47%;
  border: 1px solid color-mix(in srgb, var(--accent) 82%, transparent);
  border-radius: 45% 45% 10% 10%;
  position: relative;
}
.object-shape:before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 18%;
  height: 28%;
  border: 1px solid color-mix(in srgb, var(--accent) 56%, transparent);
  border-radius: 50%;
}
.frame-readout {
  position: absolute;
  left: 5px;
  top: -19px;
  font-size: 7px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.scan-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  top: 50%;
  background: color-mix(in srgb, var(--accent) 72%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 36%, transparent);
  animation: scan 5s ease-in-out infinite;
}
.vision-sidebar {
  position: absolute;
  right: 7%;
  top: 30%;
  color: var(--faint);
  font-size: 7px;
  line-height: 2.4;
}
.vision-coord {
  left: 23px;
  bottom: 20px;
  font-size: 7px;
}
.experience {
  border-top: 1px solid var(--line);
}
.timeline-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  padding-top: 50px;
}
.compact {
  display: block;
  margin: 0;
}
.compact > p {
  margin-top: 21px;
  max-width: 280px;
}
.timeline-entry {
  display: grid;
  grid-template-columns: 104px 20px 1fr;
  gap: 14px;
  padding-top: 7px;
}
.timeline-date {
  font-size: 8px;
  letter-spacing: 0.07em;
  color: var(--accent);
  padding-top: 2px;
  white-space: nowrap;
}
.timeline-marker {
  position: relative;
  display: flex;
  justify-content: center;
}
.timeline-marker:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -30px;
  left: 50%;
  width: 1px;
  background: var(--line);
}
.timeline-marker span {
  z-index: 1;
  margin-top: 4px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 12%, transparent);
}
.timeline-content {
  padding-bottom: 26px;
}
.entry-type {
  font-size: 8px;
  color: var(--faint);
  margin: 0 0 7px;
}
.timeline-content h3,
.education-entry h3 {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.055em;
  font-weight: 400;
  margin: 0;
}
.entry-subtitle,
.education-entry p {
  color: var(--muted);
  font-size: 10px;
  margin: 5px 0 19px;
}
.timeline-content ul {
  padding-left: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 2;
}
.timeline-content li {
  padding-left: 5px;
}
.timeline-content li::marker {
  color: var(--accent);
}
.entry-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.12em;
}
.education {
  background: var(--bg-soft);
  width: 100%;
  padding-left: max(40px, calc((100% - var(--wrap)) / 2));
  padding-right: max(40px, calc((100% - var(--wrap)) / 2));
}
.education-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 95px;
  padding-top: 50px;
}
.education-stamp {
  margin-top: 75px;
  border-left: 1px solid var(--accent);
  padding-left: 13px;
  color: var(--accent);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.1em;
}
.education-stamp span {
  font-size: 7px;
  color: var(--faint);
}
.education-content {
  border-top: 1px solid var(--line);
}
.education-entry {
  position: relative;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}
.edu-date {
  font-size: 8px;
  color: var(--accent);
}
.edu-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-top: 12px;
}
.education-entry h3 {
  font-size: 16px;
}
.education-entry p {
  margin: 5px 0 0;
}
.education-entry .institution {
  font-size: 9px;
  color: var(--faint);
  margin-top: 9px;
}
.edu-logo {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 7px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.status-pill span {
  width: 5px;
  height: 5px;
}
.coursework {
  padding-top: 21px;
}
.course-title {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 8px;
}
.course-title span {
  color: var(--accent);
}
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
  margin-top: 12px;
}
.course-grid span {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}
.capabilities {
  padding-top: 104px;
}
.capability-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 46px 0 35px;
}
.capability-head > p {
  max-width: 280px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
  margin: 0 0 5px;
}
.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 13px;
}
.cap-panel {
  min-height: 205px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.panel-index {
  color: var(--accent);
  font-size: 7px;
}
.cap-panel h3 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 15px 0 13px;
}
.skill-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  color: var(--muted);
  font-size: 9px;
}
.skill-lines > div:last-child {
  border-bottom: 0;
}
.skill-lines > div span:last-child {
  color: var(--faint);
  font-size: 8px;
}
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip-cloud span {
  font-size: 8px;
  padding: 6px 8px;
}
.soft-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.soft-grid span {
  border-left: 1px solid var(--accent);
  padding: 3px 8px;
  color: var(--muted);
  font-size: 8px;
}
.language-strip {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 25px;
}
.language-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--accent);
  font-size: 8px;
}
.language-label span + span {
  color: var(--faint);
  font-size: 7px;
}
.language-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.language-items > div {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
}
.language-items b {
  font-weight: 400;
  color: var(--accent);
  font-size: 8px;
}
.language-items small {
  color: var(--faint);
  font-size: 7px;
}
.level {
  height: 2px;
  background: var(--line);
  grid-column: 1/-1;
  position: relative;
  margin-top: 4px;
}
.level:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--accent);
  width: 50%;
}
.level-native:before {
  width: 100%;
}
.level-b2:before {
  width: 75%;
}
.level-a2:before {
  width: 48%;
}
.contact {
  background: var(--bg-soft);
  width: 100%;
  padding-left: max(40px, calc((100% - var(--wrap)) / 2));
  padding-right: max(40px, calc((100% - var(--wrap)) / 2));
  padding-bottom: 65px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 100px;
  padding: 54px 0 47px;
}
.contact-overline {
  color: var(--accent);
  font-size: 8px;
  margin: 0 0 15px;
}
.contact h2 {
  font-size: clamp(42px, 6vw, 70px);
}
.contact-desc {
  max-width: 390px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.9;
  margin: 21px 0 23px;
}
.contact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 22px;
}
.contact-facts > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-facts > div > span:first-child {
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.1em;
}
.contact-facts > div > span:last-child {
  color: var(--muted);
  font-size: 9px;
}
.contact-cta {
  min-width: 134px;
}
.contact-direct {
  display: flex;
  flex-direction: column;
  margin-top: 33px;
  gap: 4px;
}
.contact-direct > span {
  color: var(--faint);
  font-size: 7px;
}
.contact-direct > a {
  font-size: 13px;
  color: var(--text);
}
.contact-form-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 23px 25px;
}
.form-heading {
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
  margin-bottom: 17px;
  font-size: 8px;
}
.form-code {
  color: var(--faint);
}
#contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
#contact-form label {
  font-size: 8px;
  color: var(--muted);
  margin-top: 4px;
}
#contact-form input,
#contact-form textarea {
  grid-column: 1/-1;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 9px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}
#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: var(--faint);
}
#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--accent);
}
.form-note {
  grid-column: 1/-1;
  color: var(--faint);
  font-size: 8px;
  line-height: 1.6;
  margin: 5px 0;
}
.form-submit {
  grid-column: 1/-1;
  justify-self: start;
  margin-top: 3px;
}
.form-status {
  grid-column: 1/-1;
  color: var(--accent);
  font-size: 8px;
  margin: 0;
  min-height: 14px;
}
.contact-links {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin-top: 25px;
}
.contact-links > a {
  position: relative;
  padding: 17px 12px 5px 0;
  display: flex;
  flex-direction: column;
  font-size: 9px;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-links > a > span:first-child {
  font-size: 7px;
  color: var(--faint);
}
.contact-links > a:hover {
  color: var(--accent);
}
.link-arrow {
  position: absolute;
  right: 13px;
  top: 20px;
  color: var(--accent);
  font-size: 11px;
}
.site-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--faint);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 9px;
}
.footer-brand .mark {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  font-size: 9px;
}
.footer-location {
  font-size: 7px;
}
.footer-location i {
  color: var(--accent);
  font-style: normal;
  padding: 0 6px;
}
.back-top {
  margin-left: auto;
  font-size: 7px;
  color: var(--muted);
}
.back-top:hover {
  color: var(--accent);
}
.footer-year {
  font-size: 8px;
}
@keyframes signal {
  0% {
    transform: translate(-50%, -50%) scale(0.52);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.45);
    opacity: 0;
  }
}
@keyframes scan {
  0%,
  100% {
    transform: translateY(-95px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(95px);
    opacity: 0.8;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1100px) {
  .wordmark {
    white-space: nowrap;
  }
  .wordmark-sub {
    display: none;
  }
  .primary-nav {
    gap: 14px;
  }
  .theme-label {
    display: none;
  }
  .nav-cv,
  .nav-talk {
    gap: 7px;
    padding: 8px 9px;
    white-space: nowrap;
  }
}
@media (max-width: 1000px) {
  .section-wrap {
    width: calc(100% - 56px);
  }
  .nav-shell {
    width: calc(100% - 44px);
  }
  .primary-nav {
    gap: 12px;
  }
  .hero {
    gap: 15px;
  }
  .hero-visual {
    height: 500px;
  }
  .projects,
  .education,
  .contact {
    padding-left: 28px;
    padding-right: 28px;
  }
  .project-info {
    padding: 28px 26px 20px;
  }
  .timeline-layout,
  .education-grid {
    gap: 55px;
  }
  .contact-grid {
    gap: 55px;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 76px;
  }
  .site-header {
    height: 64px;
  }
  .nav-shell {
    width: calc(100% - 34px);
  }
  .wordmark-sub {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 13px;
    height: 1.5px;
    background: var(--text);
    margin: 0;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(0.75px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-0.75px) rotate(-45deg);
  }
  .primary-nav {
    position: absolute;
    z-index: 60;
    top: 63px;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100dvh - 64px);
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 1;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      transform 0.2s,
      visibility 0.2s;
  }
  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .primary-nav > a:not(.nav-cv):not(.nav-talk) {
    padding: 12px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
  }
  .theme-toggle {
    justify-content: flex-start;
    padding: 13px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
  }
  .nav-cv {
    justify-content: center;
    margin-top: 12px;
  }
  .nav-talk {
    justify-content: center;
    margin-top: 12px;
  }
  .hero {
    width: calc(100% - 40px);
    min-height: auto;
    padding: 54px 0 65px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-copy {
    padding: 0;
  }
  .eyebrow {
    font-size: 8px;
  }
  .hello {
    margin-top: 34px;
    font-size: 13px;
  }
  .hero h1 {
    font-size: clamp(70px, 18vw, 112px);
  }
  .hero h1 sup {
    font-size: 8px;
    margin-left: 9px;
  }
  .hero-role {
    font-size: 17px;
    margin-top: 22px;
  }
  .hero-degree {
    font-size: 8px;
  }
  .hero-actions {
    gap: 18px;
    margin-top: 24px;
  }
  .hero-meta {
    margin-top: 31px;
    gap: 13px;
    font-size: 7px;
  }
  .hero-visual {
    height: 430px;
    min-height: 0;
    margin-top: 17px;
  }
  .portrait-frame {
    width: 67%;
    height: 88%;
    max-width: 310px;
  }
  .orbit-one {
    width: 100%;
    height: 66%;
  }
  .orbit-two {
    width: 91%;
    height: 59%;
  }
  .visual-note {
    right: 0;
    top: 10%;
    font-size: 8px;
  }
  .coordinate {
    left: 0;
    top: 23%;
    font-size: 8px;
  }
  .hero-stamp {
    right: 0;
    bottom: 5%;
    width: 68px;
    height: 68px;
  }
  .hero-bottom {
    bottom: 0;
  }
  .section-wrap {
    width: calc(100% - 40px);
  }
  .section-pad {
    padding-top: 70px;
    padding-bottom: 76px;
  }
  .section-kicker {
    font-size: 7px;
    gap: 12px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 35px;
  }
  .intro h2,
  .section-heading h2,
  .capability-head h2 {
    font-size: 36px;
  }
  .intro-body p {
    font-size: 10px;
  }
  .intro-foot {
    margin-top: 20px;
  }
  .projects,
  .education,
  .contact {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .section-heading {
    display: block;
    margin: 35px 0 27px;
  }
  .section-heading > p {
    margin-top: 16px;
    font-size: 10px;
  }
  .project-list {
    gap: 13px;
  }
  .project-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .project-art {
    min-height: 260px;
    order: 0 !important;
  }
  .project-info {
    order: 1 !important;
    padding: 23px 21px 17px;
  }
  .project-info h3 {
    font-size: 19px;
    margin: 17px 0 10px;
  }
  .project-info > p {
    font-size: 9px;
  }
  .tag-list {
    margin: 15px 0;
  }
  .project-footer {
    margin-top: 7px;
  }
  .art-label {
    top: 17px;
    left: 18px;
  }
  .sensor-ring {
    width: 140px;
    height: 140px;
  }
  .ring-b {
    width: 220px;
    height: 220px;
  }
  .object-frame {
    left: 33%;
    width: 38%;
    height: 57%;
  }
  .timeline-layout,
  .education-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 35px;
  }
  .compact > p {
    margin-top: 13px;
  }
  .timeline-entry {
    grid-template-columns: 82px 16px 1fr;
    gap: 8px;
  }
  .timeline-date {
    font-size: 7px;
  }
  .timeline-content h3 {
    font-size: 17px;
  }
  .timeline-content ul {
    font-size: 9px;
  }
  .education-stamp {
    margin-top: 25px;
  }
  .edu-top {
    gap: 10px;
  }
  .education-entry h3 {
    font-size: 14px;
  }
  .course-grid {
    gap: 0 14px;
  }
  .course-grid span {
    font-size: 8px;
  }
  .capability-head {
    display: block;
    margin: 35px 0 25px;
  }
  .capability-head > p {
    margin-top: 13px;
  }
  .capability-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .cap-panel {
    min-height: 180px;
    padding: 15px 14px;
  }
  .cap-panel h3 {
    font-size: 12px;
  }
  .chip-cloud span {
    font-size: 7px;
    padding: 5px 6px;
  }
  .soft-grid {
    gap: 5px;
  }
  .soft-grid span {
    font-size: 7px;
    padding: 3px 5px;
  }
  .language-strip {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .language-label {
    flex-direction: row;
    gap: 13px;
  }
  .language-items {
    gap: 13px;
  }
  .language-items > div {
    font-size: 8px;
  }
  .language-items b {
    font-size: 7px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 37px 0;
  }
  .contact h2 {
    font-size: 51px;
  }
  .contact-desc {
    font-size: 9px;
  }
  .contact-form-wrap {
    padding: 18px;
  }
  .contact-links {
    grid-template-columns: 1fr 1fr;
    gap: 5px 15px;
  }
  .contact-links > a {
    padding: 13px 25px 9px 0;
    font-size: 8px;
  }
  .link-arrow {
    right: 5px;
    top: 16px;
  }
  .site-footer {
    min-height: 100px;
    flex-wrap: wrap;
    gap: 9px 14px;
    padding-top: 17px;
    padding-bottom: 17px;
  }
  .footer-location {
    order: 3;
    width: 100%;
    font-size: 6px;
  }
  .footer-year {
    margin-left: auto;
  }
  .back-top {
    margin-left: auto;
  }
  .mobile-break {
    display: none;
  }
}
@media (max-width: 390px) {
  .section-wrap {
    width: calc(100% - 32px);
  }
  .nav-shell {
    width: calc(100% - 28px);
  }
  .hero {
    width: calc(100% - 32px);
  }
  .hero-meta {
    gap: 9px;
    font-size: 6px;
  }
  .hero-visual {
    height: 380px;
  }
  .projects,
  .education,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .cap-panel {
    min-height: auto;
  }
  .language-items {
    grid-template-columns: 1fr 1fr;
    row-gap: 15px;
  }
  .timeline-entry {
    grid-template-columns: 70px 13px 1fr;
    gap: 6px;
  }
  .timeline-date {
    font-size: 6px;
  }
  .contact h2 {
    font-size: 45px;
  }
  .contact-links {
    grid-template-columns: 1fr;
  }
  .contact-links > a {
    border-bottom: 1px solid var(--line);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
