@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #050505;
  --surface: #0b0b0d;
  --surface-2: #101014;
  --text: #f5f5f7;
  --muted: #92929b;
  --faint: #5d5d67;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #9b9bf7;
  --accent-2: #c4c4ff;
  --mono: "DM Mono", monospace;
  --sans:
    Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.035;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.section-shell {
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}
.header {
  height: 78px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-wrap {
  width: min(var(--shell), calc(100% - 64px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.wordmark span,
.period {
  color: var(--accent);
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: 12px;
  color: #a5a5ae;
  transition: color 0.2s;
}
.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}
.nav .nav-contact {
  color: #fff;
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 3px;
}
.nav-contact span {
  color: var(--accent);
  margin-left: 8px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
}
.hero {
  min-height: 760px;
  padding-top: 160px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  position: relative;
}
.hero-copy {
  padding-bottom: 55px;
}
.eyebrow,
.section-kicker,
.section-overline,
.project-meta,
.timeline-date,
.timeline-type,
.skill-number,
.visual-topline,
.visual-caption,
.visual-coordinate,
.art-label,
.scan-readout,
.research-index,
.contact-pretitle,
.footer .back-top {
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.12em;
  color: var(--muted);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: #a2a2fa;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(155, 155, 247, 0.65);
}
.eyebrow-location {
  color: #666670;
}
.hero h1 {
  font-size: clamp(76px, 10vw, 138px);
  line-height: 0.88;
  letter-spacing: -0.095em;
  font-weight: 600;
  margin: 48px 0 22px;
}
.hero-name {
  color: #a8a8f7;
}
.hero-role {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}
.role-divider {
  color: var(--accent);
  padding: 0 7px;
}
.hero-intro {
  max-width: 530px;
  color: #a5a5ae;
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 13px 17px;
  min-height: 47px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 2px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button span {
  font-size: 16px;
}
.button-light {
  background: #f1f1f5;
  color: #09090b;
}
.button-light:hover {
  background: #c8c8ff;
}
.button-outline {
  border-color: rgba(255, 255, 255, 0.22);
  color: #eee;
}
.button-outline:hover {
  border-color: var(--accent);
}
.text-link {
  font-size: 12px;
  color: #c1c1ca;
  padding: 10px 2px;
}
.text-link span {
  color: var(--accent);
  padding-left: 7px;
}
.hero-socials {
  display: flex;
  gap: 24px;
  margin-top: 43px;
}
.hero-socials a,
.contact-links a {
  font: 10px var(--mono);
  color: #777782;
  transition: color 0.2s;
}
.hero-socials a:hover,
.contact-links a:hover {
  color: #fff;
}
.hero-visual {
  justify-self: end;
  width: min(390px, 100%);
  margin-top: 25px;
}
.visual-topline,
.visual-caption {
  display: flex;
  justify-content: space-between;
  color: #696973;
  font-size: 9px;
}
.portrait-frame {
  height: 405px;
  position: relative;
  margin: 15px 0 14px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      rgba(105, 105, 210, 0.18),
      transparent 52%
    ),
    linear-gradient(145deg, #111116, #08080b 68%);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.portrait-frame:before,
.portrait-frame:after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
}
.portrait-frame:before {
  height: 1px;
  left: 0;
  right: 0;
  top: 50%;
}
.portrait-frame:after {
  width: 1px;
  top: 0;
  bottom: 0;
  left: 50%;
}
.portrait-orbit {
  position: absolute;
  border: 1px solid rgba(171, 171, 255, 0.23);
  border-radius: 50%;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) rotate(-25deg);
}
.orbit-one {
  width: 270px;
  height: 270px;
}
.orbit-two {
  width: 340px;
  height: 180px;
  transform: translate(-50%, -50%) rotate(48deg);
  border-color: rgba(255, 255, 255, 0.15);
}
.portrait-core {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #25253c, #101017 70%);
  border: 1px solid rgba(191, 191, 255, 0.36);
  box-shadow:
    0 0 90px rgba(113, 113, 230, 0.15),
    inset 0 0 35px rgba(255, 255, 255, 0.035);
}
.portrait-core span {
  font-size: 48px;
  letter-spacing: -0.1em;
  font-weight: 600;
  color: #d5d5ff;
}
.portrait-core i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b0b0ff;
  right: 20px;
  top: 23px;
  box-shadow: 0 0 15px #aaaaff;
}
.visual-coordinate {
  position: absolute;
  font-size: 9px;
  color: #77778d;
}
.coord-a {
  left: 17px;
  top: 17px;
}
.coord-b {
  right: 17px;
  bottom: 17px;
}
.portrait-cross {
  position: absolute;
  width: 9px;
  height: 9px;
}
.portrait-cross:before,
.portrait-cross:after {
  content: "";
  position: absolute;
  background: #aaaaff;
}
.portrait-cross:before {
  width: 9px;
  height: 1px;
  top: 4px;
}
.portrait-cross:after {
  height: 9px;
  width: 1px;
  left: 4px;
}
.cross-a {
  left: 18%;
  top: 28%;
}
.cross-b {
  right: 18%;
  bottom: 27%;
}
.visual-caption {
  align-items: center;
}
.caption-line {
  height: 1px;
  background: var(--line);
  flex: 1;
  margin: 0 13px;
}
.hero-bottom {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  font: 9px var(--mono);
  letter-spacing: 0.14em;
  color: #666671;
}
.scroll-line {
  height: 1px;
  width: 72px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.hero-bottom span:last-child {
  margin-left: auto;
}
.section {
  padding-top: 125px;
  padding-bottom: 125px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.section-kicker {
  display: flex;
  gap: 18px;
  color: #777782;
}
.section-kicker span:first-child {
  color: var(--accent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 64px;
}
.section-overline {
  color: var(--accent);
  margin: 0 0 18px;
}
.section h2,
.contact-inner h2 {
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 1.07;
  letter-spacing: -0.075em;
  font-weight: 500;
  margin: 0;
}
.about-grid h2 span {
  color: #777782;
}
.about-copy {
  padding-top: 23px;
  max-width: 560px;
}
.about-copy p {
  color: #92929b;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.95;
}
.about-copy .lead-copy {
  color: #e5e5eb;
  font-size: 17px;
  line-height: 1.75;
}
.about-note {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 27px;
  color: #8d8d98;
  font-size: 12px;
}
.note-mark {
  color: var(--accent);
}
.about-note strong {
  color: #d8d8e1;
  font-weight: 500;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  margin-top: 90px;
  padding-top: 23px;
}
.principles div span {
  font: 9px var(--mono);
  color: #777782;
  letter-spacing: 0.1em;
}
.principles p {
  font-size: 12px;
  color: #aaaab2;
  max-width: 250px;
  margin: 12px 0 0;
  line-height: 1.8;
}
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 55px 0 48px;
}
.section-aside {
  font-size: 12px;
  line-height: 1.8;
  color: #777782;
  margin: 0 0 8px;
}
.project-list {
  border-top: 1px solid var(--line);
}
.project-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 7.5%;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.project-art {
  height: 270px;
  position: relative;
  overflow: hidden;
  background: #0c0c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.art-label {
  position: absolute;
  bottom: 15px;
  left: 18px;
  color: #898995;
  font-size: 8px;
}
.art-travel {
  background:
    radial-gradient(
      ellipse at 45% 52%,
      rgba(105, 105, 207, 0.2),
      transparent 50%
    ),
    #0b0c12;
}
.art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 29px 29px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 20%,
    #000 80%,
    transparent
  );
}
.travel-route {
  position: absolute;
  left: 19%;
  top: 28%;
  width: 62%;
  height: 48%;
  border: 1px dashed rgba(173, 173, 255, 0.55);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-22deg);
}
.travel-route span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #b3b3ff;
  border-radius: 50%;
  box-shadow: 0 0 15px #9999ff;
}
.travel-route span:nth-child(1) {
  left: 8%;
  top: 62%;
}
.travel-route span:nth-child(2) {
  left: 35%;
  top: 9%;
}
.travel-route span:nth-child(3) {
  right: 22%;
  top: 28%;
}
.travel-route span:nth-child(4) {
  right: 2%;
  bottom: 1%;
}
.travel-pin {
  position: absolute;
  left: 49%;
  top: 42%;
  font-size: 42px;
  color: #d4d4ff;
  text-shadow: 0 0 25px #8b8bea;
}
.art-knight {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(128, 128, 207, 0.16), transparent 58%), #0c0c11;
}
.chess-board {
  display: grid;
  grid-template-columns: repeat(4, 38px);
  grid-template-rows: repeat(4, 38px);
  transform: rotate(-8deg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.chess-board i:nth-child(odd) {
  background: rgba(170, 170, 255, 0.18);
}
.chess-board i:nth-child(even) {
  background: rgba(255, 255, 255, 0.035);
}
.knight-symbol {
  position: absolute;
  font-size: 95px;
  color: #d0d0ff;
  text-shadow: 0 0 35px rgba(160, 160, 255, 0.3);
}
.art-pothole {
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(70, 105, 102, 0.2),
      transparent 55%
    ),
    #0a1010;
}
.scan-frame {
  position: absolute;
  width: 190px;
  height: 150px;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(145, 215, 197, 0.25);
}
.scan-frame span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #9ce0c9;
  border-style: solid;
}
.scan-frame span:nth-child(1) {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.scan-frame span:nth-child(2) {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}
.scan-frame span:nth-child(3) {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}
.scan-frame span:nth-child(4) {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}
.scan-target {
  position: absolute;
  left: 43px;
  top: 42px;
  width: 92px;
  height: 66px;
  border: 1px solid rgba(155, 224, 201, 0.65);
  background: rgba(155, 224, 201, 0.07);
  clip-path: polygon(12% 0, 100% 12%, 88% 100%, 0 83%);
}
.scan-readout {
  position: absolute;
  right: 17px;
  top: 16px;
  font-size: 8px;
  color: #7c978d;
}
.scan-readout b {
  color: #b1e1d0;
  font-weight: 400;
  margin-left: 8px;
}
.art-deepfake {
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(153, 115, 168, 0.2),
      transparent 52%
    ),
    #100d13;
}
.face-shape {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 105px;
  height: 145px;
  border-radius: 48% 48% 43% 43%;
  background: linear-gradient(140deg, #444052, #181620 70%);
  border: 1px solid rgba(202, 170, 221, 0.3);
  box-shadow: 0 0 60px rgba(150, 110, 180, 0.12);
}
.face-shape span {
  position: absolute;
  left: 21px;
  top: 57px;
  width: 15px;
  height: 4px;
  background: #c1b0d1;
  box-shadow: 45px 0 #c1b0d1;
}
.face-shape i {
  position: absolute;
  left: 40px;
  top: 94px;
  width: 24px;
  height: 1px;
  background: #b39fbd;
}
.face-scan {
  position: absolute;
  left: 15%;
  right: 15%;
  top: 43%;
  height: 1px;
  background: #c7a4dc;
  box-shadow: 0 0 15px #b68bd1;
}
.project-info {
  padding-right: 20px;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  color: #777782;
}
.project-info h3 {
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.06em;
  font-weight: 500;
  margin: 17px 0 10px;
}
.project-info > p {
  max-width: 530px;
  font-size: 13px;
  color: #9696a0;
  line-height: 1.9;
  margin: 0;
}
.tech-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.tech-list span {
  font: 9px var(--mono);
  color: #aaaab4;
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 5px 8px;
}
.project-links {
  display: flex;
  gap: 23px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.project-links a {
  font-size: 11px;
  color: #d6d6df;
}
.project-links b {
  color: var(--accent);
  font-weight: 400;
  padding-left: 5px;
}
.project-links a:hover {
  color: #aaaaff;
}
.timeline {
  border-top: 1px solid var(--line);
  margin-top: 15px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 2.4fr 40px;
  gap: 25px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-date {
  padding-top: 7px;
  color: #888893;
  font-size: 9px;
}
.timeline-type {
  color: var(--accent);
  font-size: 9px;
}
.timeline-main h3 {
  font-size: 24px;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 9px 0 0;
}
.timeline-company {
  font-size: 12px;
  color: #c3c3cc;
  margin: 4px 0 14px;
}
.timeline-description {
  font-size: 13px;
  color: #8e8e99;
  max-width: 600px;
  margin: 0;
  line-height: 1.85;
}
.timeline-index {
  font: 11px var(--mono);
  color: #555560;
  text-align: right;
  padding-top: 7px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.skill-group {
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.skill-number {
  color: var(--accent);
}
.skill-group h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 20px 0 8px;
}
.skill-group p {
  font-size: 12px;
  color: #92929c;
  margin: 0;
  line-height: 1.8;
}
.research-card {
  margin-top: 55px;
  border: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(133, 133, 224, 0.08), transparent 55%), #09090c;
  padding: 45px;
  display: grid;
  grid-template-columns: 130px 1fr 90px;
  gap: 35px;
  align-items: center;
}
.research-index {
  font-size: 9px;
  line-height: 2;
  color: #777782;
}
.research-copy h2 {
  font-size: clamp(25px, 3.3vw, 39px);
  max-width: 620px;
  letter-spacing: -0.055em;
}
.research-copy > p:not(.section-overline) {
  font-size: 13px;
  color: #9696a0;
  max-width: 620px;
}
.research-author {
  font-size: 11px !important;
}
.research-author strong {
  color: #d8d8e0;
  font-weight: 500;
}
.research-copy .button {
  margin-top: 15px;
}
.research-mark {
  font-size: 75px;
  font-weight: 700;
  letter-spacing: -0.1em;
  color: rgba(180, 180, 255, 0.22);
  text-align: center;
}
.research-mark span {
  color: var(--accent);
}
.interests-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 58px;
  align-items: center;
}
.interests-row h2 {
  font-size: clamp(35px, 4.5vw, 55px);
  line-height: 1.1;
  letter-spacing: -0.07em;
  font-weight: 500;
  margin: 0;
}
.interest-content {
  display: flex;
  gap: 23px;
  align-items: flex-start;
  border-left: 1px solid var(--line);
  padding: 22px 0 22px 28px;
}
.chess-icon {
  font-size: 45px;
  color: #b6b6f9;
}
.interest-content h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 6px;
}
.interest-content p {
  font-size: 12px;
  color: #92929b;
  max-width: 360px;
  margin: 0 0 13px;
}
.interest-content a {
  font-size: 11px;
  color: #cfcfff;
}
.contact-section {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(
      ellipse at 80% 40%,
      rgba(107, 107, 201, 0.12),
      transparent 38%
    ),
    #08080b;
}
.contact-inner {
  padding-top: 105px;
  padding-bottom: 100px;
}
.contact-pretitle {
  margin: 65px 0 18px;
  color: #9a9aa5;
}
.contact-inner h2 {
  font-size: clamp(58px, 9vw, 112px);
  line-height: 0.98;
}
.contact-inner h2 span {
  color: #a7a7f6;
}
.contact-description {
  max-width: 490px;
  color: #9999a3;
  font-size: 14px;
  margin: 25px 0 28px;
}
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-links {
  display: flex;
  gap: 25px;
  margin-top: 65px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer {
  border-top: 1px solid var(--line);
  padding: 23px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 25px;
}
.footer p {
  font-size: 10px;
  color: #666671;
  margin: 0;
}
.footer p:nth-of-type(1) {
  margin-right: auto;
}
.footer .back-top {
  font-size: 9px;
  color: #9999a3;
}
.footer .wordmark {
  font-size: 17px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: rgba(155, 155, 247, 0.35);
  color: #fff;
}
@media (max-width: 850px) {
  .section-shell,
  .nav-wrap {
    width: min(100% - 44px, var(--shell));
  }
  .hero {
    min-height: auto;
    padding-top: 145px;
    grid-template-columns: 1fr 0.72fr;
    gap: 20px;
  }
  .hero h1 {
    font-size: clamp(68px, 10vw, 100px);
  }
  .hero-visual {
    width: 100%;
  }
  .portrait-frame {
    height: 330px;
  }
  .project-card {
    gap: 5%;
  }
  .project-art {
    height: 230px;
  }
  .about-grid {
    gap: 40px;
  }
  .research-card {
    grid-template-columns: 90px 1fr 55px;
    padding: 30px;
    gap: 20px;
  }
  .nav {
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .section-shell,
  .nav-wrap {
    width: calc(100% - 40px);
  }
  .header {
    height: 68px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
  }
  .menu-toggle span {
    width: 22px;
    height: 1px;
    background: #fff;
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(7, 7, 9, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav .nav-contact {
    border: 0;
    padding: 13px 0;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 125px;
    padding-bottom: 100px;
    gap: 35px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(70px, 17vw, 105px);
    margin: 35px 0 18px;
  }
  .hero-intro {
    font-size: 14px;
  }
  .hero-actions {
    gap: 9px;
  }
  .hero-actions .button {
    padding: 12px 13px;
    gap: 13px;
  }
  .hero-actions .text-link {
    width: 100%;
  }
  .hero-socials {
    margin-top: 27px;
  }
  .hero-visual {
    width: min(100%, 390px);
    align-self: center;
    margin: 0;
  }
  .portrait-frame {
    height: 320px;
  }
  .hero-bottom {
    bottom: 30px;
  }
  .section {
    padding-top: 82px;
    padding-bottom: 82px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
  }
  .about-copy {
    padding: 0;
  }
  .section h2 {
    font-size: clamp(39px, 11vw, 58px);
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 45px;
  }
  .principles p {
    max-width: 100%;
    margin-top: 6px;
  }
  .section-heading-row {
    margin: 38px 0 30px;
    display: block;
  }
  .section-aside {
    margin-top: 17px;
  }
  .project-card {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 25px 0 30px;
  }
  .project-art {
    height: 220px;
  }
  .project-info {
    padding: 0;
  }
  .project-meta {
    font-size: 8px;
  }
  .project-info h3 {
    margin-top: 12px;
  }
  .timeline-item {
    grid-template-columns: 1fr 25px;
    gap: 10px;
  }
  .timeline-date {
    grid-column: 1/-1;
  }
  .timeline-index {
    grid-column: 2;
    grid-row: 2;
  }
  .timeline-main h3 {
    font-size: 21px;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
  .skill-group {
    padding: 18px;
    min-height: 150px;
  }
  .skill-group h3 {
    font-size: 14px;
    margin-top: 15px;
  }
  .skill-group p {
    font-size: 11px;
  }
  .research-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 25px;
  }
  .research-mark {
    display: none;
  }
  .research-copy h2 {
    font-size: 29px;
  }
  .interests-row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
  }
  .interest-content {
    padding-left: 18px;
  }
  .contact-inner {
    padding-top: 75px;
    padding-bottom: 70px;
  }
  .contact-pretitle {
    margin-top: 48px;
  }
  .contact-inner h2 {
    font-size: clamp(58px, 15vw, 85px);
  }
  .contact-description {
    font-size: 13px;
  }
  .contact-links {
    margin-top: 45px;
    gap: 18px;
    flex-wrap: wrap;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .footer p:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    margin: 0;
  }
  .footer p:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .footer .back-top {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 65px;
  }
  .hero-actions .button {
    font-size: 10px;
  }
  .hero-socials {
    gap: 14px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .skill-group {
    min-height: 0;
  }
  .project-meta span:last-child {
    display: none;
  }
}
@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;
  }
}



/* Profile photograph */
.profile-photo-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  transition: transform 0.5s ease;
}

.profile-photo-frame:hover .profile-photo {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .profile-photo {
    transition: none;
  }
}




.chess-rating-link {
  display: block;
  margin: 16px 0;
  width: fit-content;
}

#chess-rating {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.chess-rating-thumbnail:hover {
  transform: scale(1.02);
}