:root {
  --bg: #7c89b8;
  --fg: #cde4ffe4;
  --muted: #9ab4d0;
  --accent: #1588a8;
  --accent2: #65edb0;
  --grid: #0f1320;
  --glass: rgba(12, 18, 28, 0.45);
  --maxw: 1080px;
}

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

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--fg);
  font-size: 16px;
  line-height: 1.65;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 70% -10%, #0c1220 0%, #05060a 60%);
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

h1,
h2,
h3,
.section-heading,
.education-title,
.project-title,
.timeline-body h3,
.about-card h2 {
  font-family: "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
}

*:target {
  background: transparent;
}

a,
a:link,
a:visited {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent2);
  opacity: 0.92;
}

.container {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: 0 24px;
}

.wrap {
  width: 100%;
}

.narrow {
  max-width: 800px;
  margin: 0 auto;
}

.stars,
.stars2,
.stars3 {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat;
  background-size: contain;
}

.stars {
  background-image: radial-gradient(0.5px 0.5px at 20px 30px, rgba(112, 225, 255, 0.95) 99%, transparent),
    radial-gradient(0.5px 0.5px at 90px 50px, rgba(167, 123, 255, 0.9) 99%, transparent),
    radial-gradient(0.5px 0.5px at 130px 80px, rgba(255, 255, 255, 0.85) 99%, transparent);
  background-size: 160px 160px;
  animation: drift 120s linear infinite;
}

.stars2 {
  background-image: radial-gradient(0.5px 0.5px at 40px 20px, rgba(112, 225, 255, 0.75) 99%, transparent),
    radial-gradient(0.5px 0.5px at 80px 120px, rgba(255, 255, 255, 0.7) 99%, transparent);
  background-size: 220px 220px;
  animation: drift 220s linear infinite reverse;
}

.stars3 {
  background-image: radial-gradient(0.5px 0.5px at 60px 100px, rgba(167, 123, 255, 0.65) 99%, transparent);
  background-size: 300px 300px;
  animation: drift 300s linear infinite;
}

.grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 70%);
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: overlay;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: saturate(140%) blur(8px);
  background: linear-gradient(to bottom, rgba(6, 10, 18, 0.6), rgba(6, 10, 18, 0.2));
  border-bottom: 1px solid rgba(160, 190, 255, 0.08);
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-decoration: none;
}

.brand-title {
  display: inline-block;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(160, 190, 255, 0.32);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  object-fit: cover;
  background: rgba(5, 6, 10, 0.85);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-avatar,
.brand:focus-visible .brand-avatar {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 26px rgba(112, 225, 255, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 22px;
  color: var(--fg);
  opacity: 0.8;
  position: relative;
  font-size: 15px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

main.page-shell {
  padding: 120px 0 100px;
  position: relative;
  z-index: 1;
}

main.page-shell .page-wrapper {
  background: linear-gradient(to bottom right, rgba(160, 190, 255, 0.05), rgba(10, 14, 24, 0.4));
  border: 1px solid rgba(160, 190, 255, 0.12);
  border-radius: 18px;
  padding: 48px clamp(16px, 5vw, 56px);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

main.page-shell .page-wrapper.wide {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

section {
  padding: clamp(80px, 12vw, 140px) 0;
}

.hero-section,
.stage-section {
  padding: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: start;
  padding: clamp(120px, 16vw, 200px) 0 clamp(100px, 12vw, 160px);
}

.hero > div {
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(126, 251, 185, 0.85);
  background: linear-gradient(135deg, rgba(21, 136, 168, 0.32), rgba(126, 251, 185, 0.12));
  border: 1px solid rgba(112, 225, 255, 0.28);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 74px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 24px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: clamp(15px, 2.3vw, 17px);
  font-weight: 500;
  color: var(--fg);
  background: rgba(15, 21, 33, 0.6);
  border: 1px solid rgba(112, 225, 255, 0.28);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-location-icon {
  font-size: 16px;
  filter: drop-shadow(0 2px 8px rgba(126, 251, 185, 0.4));
}

.hero-lede {
  margin: 18px 0 28px;
  font-size: clamp(18px, 2.4vw, 20px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 70ch;
}

.hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 30px;
}

.hero-topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--fg);
  background: linear-gradient(135deg, rgba(160, 190, 255, 0.18), rgba(21, 136, 168, 0.2));
  border: 1px solid rgba(112, 225, 255, 0.25);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-topic::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 10px rgba(112, 225, 255, 0.5);
}

.hero-topic:hover,
.hero-topic:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
}

.section-heading {
  margin: 0 0 clamp(18px, 3vw, 28px);
  font-size: clamp(26px, 4.5vw, 36px);
  letter-spacing: -0.01em;
}

.education-section {
  padding: clamp(60px, 10vw, 120px) 0;
}

.education-stack {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.education-card {
  background: linear-gradient(135deg, rgba(160, 190, 255, 0.08), rgba(15, 21, 33, 0.65));
  border: 1px solid rgba(160, 190, 255, 0.18);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 32px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
}

.education-card h3,
.education-title {
  margin: 0;
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: -0.01em;
  color: var(--fg);
}

.education-meta {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(126, 251, 185, 0.8);
}

.education-entity {
  margin: 0;
  font-size: clamp(17px, 2.6vw, 20px);
  font-weight: 600;
  color: var(--fg);
}

.education-note {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 2.3vw, 17px);
  line-height: 1.6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-top: clamp(18px, 3vw, 32px);
}

.project-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(160, 190, 255, 0.18);
  background: radial-gradient(circle at 20% 20%, rgba(112, 225, 255, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(15, 21, 33, 0.85), rgba(12, 18, 28, 0.6));
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(101, 237, 176, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-card-inner {
  position: relative;
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 28px);
  height: 100%;
  text-decoration: none;
}

.project-year {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(126, 251, 185, 0.75);
}

.project-title {
  margin: 0;
  font-size: clamp(20px, 3.2vw, 24px);
  letter-spacing: -0.01em;
}

.project-title {
  color: var(--fg);
}

.project-card-inner:hover .project-title,
.project-card-inner:focus-visible .project-title {
  color: var(--accent2);
}

.project-summary {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.65;
}

.project-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent2);
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 32px 58px rgba(0, 0, 0, 0.48);
}

.project-card-inner.is-disabled {
  cursor: default;
}

.project-card:hover::before,
.project-card:focus-within::before {
  opacity: 1;
}

.projects-more {
  margin-top: clamp(24px, 4vw, 32px);
  text-align: center;
}

.projects-more a {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--fg);
  border: 1px solid rgba(112, 225, 255, 0.22);
  background: rgba(10, 14, 24, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ghost-link::after {
  content: "→";
  font-size: 14px;
  color: var(--accent2);
  transition: transform 0.2s ease;
}

.ghost-link:hover,
.ghost-link:focus-visible {
  color: var(--accent2);
  border-color: rgba(112, 225, 255, 0.45);
  transform: translateY(-1px);
}

.ghost-link:hover::after,
.ghost-link:focus-visible::after {
  transform: translateX(2px);
}

.sub {
  color: var(--muted);
  max-width: 65ch;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #0a0c12;
  font-weight: 700;
  position: relative;
}

.cta,
.cta:link,
.cta:visited {
  color: #0a0c12;
}

.cta:hover,
.cta:focus-visible {
  color: #0a0c12;
  opacity: 0.96;
  box-shadow: 0 6px 18px rgba(112, 225, 255, 0.35);
}

.cta:focus-visible {
  outline: 2px solid rgba(167, 123, 255, 0.6);
  outline-offset: 3px;
}

.cta:active {
  transform: translateY(1px);
}
.terminal {
  background: var(--glass);
  border: 1px solid rgba(160, 190, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(160, 190, 255, 0.12);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.02));
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #ff5f56;
  box-shadow: 18px 0 0 #ffbd2e, 36px 0 0 #27c93f;
}

.term-title {
  margin-left: 12px;
  color: var(--muted);
  font-size: 14px;
}

.term-body {
  padding: 18px clamp(18px, 4vw, 26px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 14px;
  color: #cfe9ff;
}

.prompt {
  color: #7ee787;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1.1em;
  background: #c8e1ff;
  vertical-align: bottom;
  animation: blink 1.1s steps(1) infinite;
}

.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.card {
  grid-column: span 4;
  min-height: 220px;
  padding: 18px clamp(18px, 4vw, 26px);
  border-radius: 14px;
  border: 1px solid rgba(160, 190, 255, 0.12);
  background: linear-gradient(to bottom right, rgba(160, 190, 255, 0.06), rgba(10, 14, 24, 0.4));
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 6px 0 8px;
  letter-spacing: 0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.stage {
  position: relative;
  min-height: 70svh;
  display: grid;
  align-items: center;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.2), rgba(5, 6, 10, 0.85) 70%);
  z-index: 0;
}

.stage .content {
  position: relative;
  z-index: 1;
}

.bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  filter: saturate(110%) contrast(105%) brightness(90%);
}

.about-section {
  position: relative;
  min-height: 100svh;
  padding: clamp(120px, 18vw, 220px) 0;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.about-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100%;
}

.about-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 72% center;
  background-repeat: no-repeat;
  filter: saturate(110%) contrast(105%) brightness(90%);
  z-index: 0;
}

.about-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 18, 10, 0), rgba(0, 0, 0, 0.331));
}

.about-card {
  backdrop-filter: blur(10px);
  background: rgba(10, 14, 24, 0.55);
  border: 1px solid rgba(160, 190, 255, 0);
  border-radius: 18px;
  padding: clamp(32px, 5vw, 48px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  max-width: 720px;
  width: min(88%, 620px);
  margin: 0;
  margin-right: clamp(24px, 10vw, 180px);
  margin-left: clamp(12px, 3vw, 32px);
  align-self: center;
}

.about-card h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.01em;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 18px);
  line-height: 1.7;
}

.journey-section {
  position: relative;
}

.journey-wrapper {
  max-width: 920px;
  margin: 0 auto;
}

.journey-wrapper .section-heading {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 42px);
  letter-spacing: -0.01em;
}

.timeline {
  position: relative;
  display: grid;
  gap: clamp(28px, 5vw, 44px);
  margin-top: clamp(24px, 4vw, 40px);
}

.timeline-item {
  position: relative;
  padding-left: 0;
}

.timeline-body {
  background: linear-gradient(135deg, rgba(160, 190, 255, 0.08), rgba(10, 14, 24, 0.5));
  border: 1px solid rgba(160, 190, 255, 0.16);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 30px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.timeline-meta {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-body h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 3.5vw, 24px);
  letter-spacing: -0.01em;
}

.timeline-entity {
  margin: -4px 0 12px;
  font-size: clamp(18px, 3vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.timeline-text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 17px);
  line-height: 1.65;
}

.timeline-points {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.timeline-points li + li {
  margin-top: 4px;
}

.about-photo-mobile {
  display: none;
  margin: 0;
}

.about-photo-mobile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(18px, 4vw, 26px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
}

.page-content-body {
  display: grid;
  gap: 24px;
  color: var(--fg);
}

.page-content-body p,
.page-content-body li {
  color: var(--muted);
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 12px;
}

.archive-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(160, 190, 255, 0.12);
  background: linear-gradient(to right, rgba(160, 190, 255, 0.06), rgba(10, 14, 24, 0.35));
}

.archive-list li a {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.archive-list .archive-date {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.archive-list .archive-more {
  justify-content: center;
}

.page-content-body a {
  color: var(--accent);
}

.page-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.back-link::before {
  content: "←";
  color: var(--accent);
}

footer {
  padding: 40px 0;
  color: var(--muted);
  border-top: 1px solid rgba(160, 190, 255, 0.08);
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}

pre {
  background: rgba(5, 6, 10, 0.7);
  padding: 16px;
  border-radius: 12px;
  overflow: auto;
  border: 1px solid rgba(160, 190, 255, 0.12);
}

@keyframes drift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 1600px 800px, -1400px -600px, 1200px 600px;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
  }

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

  .card {
    grid-column: auto;
  }

  .nav-links a {
    margin-left: 16px;
    font-size: 14px;
  }

  main.page-shell {
    padding-top: 110px;
  }

  .about-section {
    padding: 120px 0;
    min-height: 80svh;
  }

  .about-section .container {
    justify-content: flex-start;
  }

  .about-bg {
    background-position: 65% center;
  }

  .about-card {
    padding: 28px;
    width: min(90%, 520px);
    margin: 0;
    margin-right: clamp(18px, 8vw, 96px);
    margin-left: clamp(12px, 4vw, 28px);
  }

  .timeline {
    gap: clamp(24px, 6vw, 36px);
  }
}

@media (max-width: 720px) {
  .about-section {
    display: block;
    padding: 0;
    min-height: auto;
  }

  .about-section .container {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 8vw, 36px);
    align-items: stretch;
    justify-content: center;
    padding: clamp(28px, 6vw, 36px) clamp(20px, 7vw, 32px) clamp(36px, 10vw, 52px);
  }

  .about-bg,
  .about-overlay {
    display: none;
  }

  .about-photo-mobile {
    display: block;
  }

  .about-photo-mobile img {
    border-radius: clamp(18px, 4vw, 26px);
    width: 100%;
    height: auto;
  }

  .brand-title {
    display: none;
  }

  .about-card {
    width: 100%;
    margin: 0;
    padding: clamp(24px, 6vw, 34px);
  }

  .education-section {
    padding: clamp(48px, 14vw, 80px) 0;
  }

  .education-stack {
    gap: clamp(20px, 6vw, 28px);
  }

  .education-card {
    gap: clamp(14px, 4vw, 20px);
  }

  .education-note {
    font-size: clamp(15px, 4vw, 18px);
  }

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

  .project-card {
    border-radius: 20px;
  }

  .hero-location {
    margin: 10px 0 22px;
    font-size: clamp(15px, 3.8vw, 17px);
  }

  .hero h1 {
    font-size: clamp(32px, 7vw, 54px);
  }

  .hero-lede {
    font-size: clamp(17px, 4.5vw, 19px);
  }

  .hero-topics {
    gap: 10px;
  }

  .hero-topic {
    font-size: 13px;
    padding: 8px 12px;
  }

  .hero-actions {
    gap: 12px;
  }

  .journey-wrapper {
    max-width: none;
  }

  .timeline {
    margin-top: clamp(20px, 6vw, 32px);
    gap: clamp(20px, 6vw, 30px);
  }

  .timeline-body {
    padding: clamp(20px, 7vw, 28px);
  }

  .timeline-entity {
    font-size: clamp(17px, 5vw, 20px);
  }
}

@media (max-width: 520px) {
  .about-section .container {
    padding: clamp(28px, 8vw, 40px) clamp(18px, 7vw, 28px) clamp(34px, 12vw, 48px);
  }

  .about-card {
    padding: clamp(22px, 7vw, 32px);
  }

  .timeline {
    gap: clamp(18px, 7vw, 26px);
  }

  .timeline-entity {
    font-size: clamp(16px, 5.5vw, 19px);
    margin-bottom: 10px;
  }

  .education-note {
    font-size: clamp(14px, 5vw, 17px);
  }

  .projects-grid {
    gap: clamp(16px, 7vw, 24px);
  }

  .project-card-inner {
    padding: clamp(18px, 7vw, 26px);
  }

  .project-link {
    font-size: 13px;
  }

  .hero-location {
    justify-content: center;
  }

  .hero-topics {
    gap: 8px;
  }

  .hero-topic {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .cta,
  .hero-actions .ghost-link {
    justify-content: center;
    width: 100%;
  }

  .timeline-meta {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stars,
  .stars2,
  .stars3 {
    animation: none;
  }

  .card {
    transition: none;
  }

  .cursor {
    animation: none;
  }
}
