:root {
  --bg: #020617;
  --bg-soft: #07111f;
  --panel: rgba(15, 23, 42, 0.74);
  --panel-solid: #0f172a;
  --panel-light: #13213a;
  --text: #f8fafc;
  --muted: #a8bdd0;
  --line: rgba(125, 211, 252, 0.18);
  --accent: #22d3ee;
  --accent-2: #7dd3fc;
  --accent-3: #38bdf8;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.09), transparent 28rem),
    radial-gradient(circle at 90% 35%, rgba(56, 189, 248, 0.07), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(34, 211, 238, 0.28);
  color: #fff;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
  z-index: -1;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: #020617;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.site-header.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.83);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.22), rgba(56, 189, 248, 0.04));
  color: var(--accent-2);
  font-size: 0.84rem;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

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

.nav-links a {
  position: relative;
  color: #c8d6e3;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 700;
  transition: color 200ms ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: right 220ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.07);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 250ms ease, opacity 250ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100svh;
  padding-top: 150px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 8vw, 100px);
}

.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: 14%;
  left: -22%;
  border: 1px solid rgba(125, 211, 252, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(125, 211, 252, 0.025), 0 0 0 180px rgba(125, 211, 252, 0.015);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(4rem, 9vw, 7.8rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(125, 211, 252, 0.8);
  text-shadow: 0 0 34px rgba(34, 211, 238, 0.13);
}

.hero-role {
  min-height: 35px;
  margin: 28px 0 16px;
  color: #e4f7ff;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 750;
}

#typed-role {
  color: var(--accent);
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.12em;
  margin-left: 4px;
  vertical-align: -0.12em;
  background: var(--accent);
  animation: blink 700ms steps(1) infinite;
}

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

.hero-intro {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  will-change: transform;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.38), transparent 80%);
  transform: translateX(-120%);
  transition: transform 600ms ease;
}

.button:hover::before {
  transform: translateX(120%);
}

.button-primary {
  background: linear-gradient(135deg, #dff8ff, var(--accent));
  color: #020617;
  box-shadow: 0 16px 35px rgba(34, 211, 238, 0.18);
}

.button-primary:hover {
  box-shadow: 0 20px 48px rgba(34, 211, 238, 0.27);
}

.button-secondary {
  border-color: rgba(125, 211, 252, 0.27);
  background: rgba(15, 23, 42, 0.55);
  color: #e8f7ff;
  backdrop-filter: blur(12px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 680px;
  margin-top: 45px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.hero-stats div {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  background: rgba(7, 17, 31, 0.88);
}

.hero-stats strong {
  color: var(--accent-2);
  font-size: 1rem;
}

.hero-stats span {
  margin-top: 4px;
  color: #91a8ba;
  font-size: 0.77rem;
}

.hero-visual {
  position: relative;
  width: min(100%, 430px);
  justify-self: center;
}

.image-orbit {
  position: absolute;
  inset: -38px;
  border: 1px dashed rgba(125, 211, 252, 0.23);
  border-radius: 42% 58% 53% 47% / 53% 43% 57% 47%;
  animation: orbit-spin 28s linear infinite;
}

.image-orbit::before,
.image-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
}

.image-orbit::before { top: 11%; left: 12%; }
.image-orbit::after { right: 8%; bottom: 16%; }

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.hero-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 34px;
  background: var(--panel-solid);
  box-shadow: var(--shadow), 0 0 70px rgba(34, 211, 238, 0.08);
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.82), transparent 45%);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 683 / 870;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.86) contrast(1.06);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 700ms ease;
}

.hero-card:hover img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.08);
}

.hero-card figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eafaff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  50% { opacity: 0.45; transform: scale(0.78); }
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 19px;
  background: rgba(7, 17, 31, 0.77);
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  animation: floating 5s ease-in-out infinite;
}

.chip-one { top: 9%; right: -29px; }
.chip-two { left: -30px; bottom: 30%; animation-delay: -1.5s; }
.chip-three { right: -20px; bottom: 7%; animation-delay: -3s; }

@keyframes floating {
  50% { transform: translateY(-13px) rotate(3deg); }
}

.scroll-cue {
  position: absolute;
  left: 0;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7890a4;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  position: relative;
  width: 74px;
  height: 1px;
  overflow: hidden;
  background: rgba(125, 211, 252, 0.18);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  50%, 100% { transform: translateX(100%); }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.dream-content h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.section-heading > p:last-child,
.contact-panel p,
.dream-content > p {
  color: var(--muted);
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.82), rgba(7, 17, 31, 0.67));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), var(--shadow);
  backdrop-filter: blur(18px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 24px;
}

.about-copy {
  padding: clamp(28px, 5vw, 54px);
}

.about-copy p {
  margin: 0 0 18px;
  color: #bdd0df;
  font-size: 1.02rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy strong {
  color: #fff;
}

.quote-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(34, 211, 238, 0.12), rgba(15, 23, 42, 0.88)),
    var(--panel-solid);
}

.quote-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -120px;
  right: -100px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.16);
  filter: blur(40px);
}

.quote-mark {
  position: absolute;
  top: 12px;
  left: 28px;
  color: rgba(125, 211, 252, 0.17);
  font-family: Georgia, serif;
  font-size: 10rem;
  line-height: 1;
}

.quote-panel blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.quote-panel p {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  color: #8da5b9;
  font-size: 0.82rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(7, 17, 31, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transform-style: preserve-3d;
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 180ms ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.14);
  filter: blur(25px);
  transition: right 500ms ease, bottom 500ms ease;
}

.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.44);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26), 0 0 50px rgba(34, 211, 238, 0.055);
}

.feature-card:hover::before {
  right: -55px;
  bottom: -65px;
}

.card-number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #456276;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.icon-box {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 70px;
  border: 1px solid rgba(125, 211, 252, 0.27);
  border-radius: 20px;
  background: rgba(34, 211, 238, 0.07);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.feature-card h3,
.project-card h3,
.timeline-content h3,
.research-grid h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.feature-card p,
.project-card p,
.timeline-content p,
.research-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.dream-section {
  margin: 70px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.93), rgba(7, 17, 31, 0.76)),
    repeating-linear-gradient(90deg, transparent 0 86px, rgba(125, 211, 252, 0.035) 86px 87px);
}

.dream-section::before {
  content: "MARK 95";
  position: absolute;
  right: -50px;
  bottom: -70px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(125, 211, 252, 0.07);
  font-size: clamp(8rem, 24vw, 23rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.09em;
  white-space: nowrap;
}

.dream-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.dream-content > p {
  max-width: 760px;
  font-size: 1.08rem;
}

.dream-line {
  width: min(100%, 700px);
  height: 3px;
  margin-top: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(34, 211, 238, 0));
  transform-origin: left;
  animation: dream-line 4s ease-in-out infinite alternate;
}

@keyframes dream-line {
  from { transform: scaleX(0.35); opacity: 0.4; }
  to { transform: scaleX(1); opacity: 1; }
}

.timeline {
  position: relative;
  max-width: 920px;
  padding-left: 42px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(var(--accent), rgba(34, 211, 238, 0.08));
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -39px;
  top: 31px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 20px rgba(34, 211, 238, 0.55);
}

.timeline-content {
  padding: 32px 34px;
}

.timeline-label,
.project-type {
  color: var(--accent-2) !important;
  font-size: 0.7rem !important;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin-top: 8px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.institution {
  margin-bottom: 14px !important;
  color: #e3f6ff !important;
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.12), transparent 15rem),
    linear-gradient(150deg, rgba(15, 23, 42, 0.9), rgba(7, 17, 31, 0.82));
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: var(--shadow);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 64px;
}

.project-index {
  color: rgba(125, 211, 252, 0.26);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.project-card h3 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0;
}

.tag-list span,
.project-status {
  padding: 7px 11px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.045);
  color: #adc4d5;
  font-size: 0.73rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: var(--accent-2);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 850;
}

.text-link span {
  transition: transform 200ms ease;
}

.text-link:hover span {
  transform: translate(4px, -4px);
}

.project-status {
  width: fit-content;
  margin-top: auto;
}

.research-panel {
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(7, 17, 31, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}

.research-grid article {
  min-height: 230px;
  padding: 30px;
  background: rgba(2, 6, 23, 0.8);
  transition: background 250ms ease;
}

.research-grid article:hover {
  background: rgba(15, 23, 42, 0.92);
}

.research-grid article > span {
  display: block;
  margin-bottom: 68px;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: end;
  gap: 50px;
  padding: clamp(32px, 6vw, 68px);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: calc(var(--radius) + 9px);
  background:
    radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.15), transparent 22rem),
    linear-gradient(150deg, rgba(15, 23, 42, 0.94), rgba(7, 17, 31, 0.86));
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 780px;
}

.contact-panel p {
  max-width: 660px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.social-grid a {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  background: rgba(7, 17, 31, 0.84);
  color: #c6d7e4;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 220ms ease, color 220ms ease;
}

.social-grid a:hover {
  background: rgba(15, 23, 42, 0.96);
  color: var(--accent-2);
}

.social-grid a span:last-child {
  transition: transform 220ms ease;
}

.social-grid a:hover span:last-child {
  transform: translate(4px, -4px);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.76);
}

.footer-content {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7890a4;
  font-size: 0.82rem;
}

.footer-content p:last-child {
  color: var(--accent-2);
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.84);
  color: var(--accent-2);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  backdrop-filter: blur(12px);
  transition: opacity 220ms ease, transform 220ms ease, background 220ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(15, 23, 42, 0.98);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms cubic-bezier(.2,.75,.2,1), transform 800ms cubic-bezier(.2,.75,.2,1);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

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

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

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 15vw, 7.7rem);
  }

  .hero-intro {
    max-width: 720px;
  }

  .hero-stats {
    width: min(100%, 680px);
  }

  .hero-visual {
    margin-top: 32px;
  }

  .scroll-cue {
    display: none;
  }

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

  .quote-panel {
    min-height: 330px;
  }

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

  .contact-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 82px 20px auto;
    max-height: calc(100svh - 105px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 17, 31, 0.97);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(125, 211, 252, 0.07);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

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

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

  .research-grid article {
    min-height: auto;
  }

  .research-grid article > span {
    margin-bottom: 38px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 84px 0;
  }

  .brand > span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 19vw, 5.7rem);
  }

  .hero-role {
    font-size: 0.98rem;
  }

  .hero-intro {
    font-size: 0.94rem;
  }

  .button-row,
  .contact-actions {
    width: 100%;
  }

  .button {
    flex: 1 1 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 82px;
  }

  .hero-visual {
    width: calc(100% - 22px);
  }

  .image-orbit {
    inset: -20px;
  }

  .floating-chip {
    width: 49px;
    height: 49px;
    border-radius: 16px;
  }

  .chip-one { right: -18px; }
  .chip-two { left: -18px; }
  .chip-three { right: -14px; }

  .section-heading h2,
  .dream-content h2,
  .contact-panel h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

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

  .feature-card {
    min-height: 280px;
  }

  .timeline {
    padding-left: 29px;
  }

  .timeline::before {
    left: 5px;
  }

  .timeline-marker {
    left: -31px;
  }

  .timeline-content,
  .project-card,
  .research-panel,
  .contact-panel {
    padding: 26px;
  }

  .project-top {
    margin-bottom: 45px;
  }

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

  .footer-content {
    min-height: 120px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #particle-canvas {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Mobile layout hardening
   Keeps the desktop design unchanged and improves phones.
   ========================================================= */
@media (max-width: 600px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-width: 0;
  }

  .container {
    width: 100%;
    max-width: var(--container);
    padding-inline: 16px;
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    inset: 70px 14px auto;
    max-height: calc(100dvh - 84px);
  }

  .hero {
    width: 100%;
    gap: 44px;
    padding-top: 106px;
    padding-bottom: 58px;
    text-align: left;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 16vw, 4.25rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
  }

  .hero-role {
    min-height: 3.2em;
    margin: 22px 0 12px;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  #typed-role {
    overflow-wrap: anywhere;
  }

  .hero-intro {
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .button-row {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    width: 100%;
    min-height: 48px;
    flex: none;
    padding-inline: 18px;
  }

  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
    border-radius: 16px;
  }

  .hero-stats div {
    min-width: 0;
    min-height: 88px;
    padding: 14px 7px;
    text-align: center;
  }

  .hero-stats strong {
    font-size: 0.86rem;
  }

  .hero-stats span {
    font-size: 0.66rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .hero-visual {
    width: min(86vw, 340px);
    margin-top: 8px;
  }

  .hero-card {
    border-radius: 24px;
  }

  .image-orbit {
    inset: -10px;
  }

  .floating-chip {
    display: none;
  }

  #particle-canvas {
    opacity: 0.3;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .dream-content h2,
  .contact-panel h2 {
    font-size: clamp(2.2rem, 11.5vw, 3.45rem);
    line-height: 1;
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
  }

  .about-copy,
  .quote-panel,
  .timeline-content,
  .project-card,
  .research-panel,
  .contact-panel {
    padding: 22px;
  }

  .about-copy p,
  .dream-content > p {
    font-size: 0.95rem;
  }

  .quote-panel {
    min-height: 280px;
  }

  .quote-mark {
    left: 18px;
    font-size: 7rem;
  }

  .quote-panel blockquote {
    font-size: 1.3rem;
  }

  .feature-card {
    min-height: auto;
    padding: 22px;
  }

  .icon-box {
    margin-bottom: 44px;
  }

  .dream-section {
    margin: 34px 0;
  }

  .dream-section::before {
    right: -20px;
    bottom: -16px;
    font-size: 42vw;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline::before {
    left: 4px;
  }

  .timeline-marker {
    left: -27px;
    width: 13px;
    height: 13px;
  }

  .timeline-content h3,
  .project-card h3,
  .research-grid h3 {
    overflow-wrap: anywhere;
  }

  .project-card {
    min-height: auto;
  }

  .project-top {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
  }

  .project-index {
    font-size: 2.45rem;
  }

  .tag-list {
    margin: 22px 0;
  }

  .research-panel,
  .contact-panel {
    border-radius: 22px;
  }

  .research-grid {
    border-radius: 17px;
  }

  .research-grid article {
    padding: 22px;
  }

  .research-grid article > span {
    margin-bottom: 26px;
  }

  .contact-panel {
    gap: 28px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .social-grid {
    border-radius: 17px;
  }

  .social-grid a {
    min-height: 64px;
    padding-inline: 16px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 360px) {
  .container {
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 70px;
  }
}

style-mobile-fixed.css
:root {
  --bg: #020617;
  --bg-soft: #07111f;
  --panel: rgba(15, 23, 42, 0.74);
  --panel-solid: #0f172a;
  --panel-light: #13213a;
  --text: #f8fafc;
  --muted: #a8bdd0;
  --line: rgba(125, 211, 252, 0.18);
  --accent: #22d3ee;
  --accent-2: #7dd3fc;
  --accent-3: #38bdf8;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.09), transparent 28rem),
    radial-gradient(circle at 90% 35%, rgba(56, 189, 248, 0.07), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(34, 211, 238, 0.28);
  color: #fff;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
  z-index: -1;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: #020617;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.site-header.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.83);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.22), rgba(56, 189, 248, 0.04));
  color: var(--accent-2);
  font-size: 0.84rem;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

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

.nav-links a {
  position: relative;
  color: #c8d6e3;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 700;
  transition: color 200ms ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: right 220ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.07);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 250ms ease, opacity 250ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100svh;
  padding-top: 150px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 8vw, 100px);
}

.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: 14%;
  left: -22%;
  border: 1px solid rgba(125, 211, 252, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(125, 211, 252, 0.025), 0 0 0 180px rgba(125, 211, 252, 0.015);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(4rem, 9vw, 7.8rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(125, 211, 252, 0.8);
  text-shadow: 0 0 34px rgba(34, 211, 238, 0.13);
}

.hero-role {
  min-height: 35px;
  margin: 28px 0 16px;
  color: #e4f7ff;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 750;
}

#typed-role {
  color: var(--accent);
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.12em;
  margin-left: 4px;
  vertical-align: -0.12em;
  background: var(--accent);
  animation: blink 700ms steps(1) infinite;
}

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

.hero-intro {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  will-change: transform;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.38), transparent 80%);
  transform: translateX(-120%);
  transition: transform 600ms ease;
}

.button:hover::before {
  transform: translateX(120%);
}

.button-primary {
  background: linear-gradient(135deg, #dff8ff, var(--accent));
  color: #020617;
  box-shadow: 0 16px 35px rgba(34, 211, 238, 0.18);
}

.button-primary:hover {
  box-shadow: 0 20px 48px rgba(34, 211, 238, 0.27);
}

.button-secondary {
  border-color: rgba(125, 211, 252, 0.27);
  background: rgba(15, 23, 42, 0.55);
  color: #e8f7ff;
  backdrop-filter: blur(12px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 680px;
  margin-top: 45px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.hero-stats div {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  background: rgba(7, 17, 31, 0.88);
}

.hero-stats strong {
  color: var(--accent-2);
  font-size: 1rem;
}

.hero-stats span {
  margin-top: 4px;
  color: #91a8ba;
  font-size: 0.77rem;
}

.hero-visual {
  position: relative;
  width: min(100%, 430px);
  justify-self: center;
}

.image-orbit {
  position: absolute;
  inset: -38px;
  border: 1px dashed rgba(125, 211, 252, 0.23);
  border-radius: 42% 58% 53% 47% / 53% 43% 57% 47%;
  animation: orbit-spin 28s linear infinite;
}

.image-orbit::before,
.image-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
}

.image-orbit::before { top: 11%; left: 12%; }
.image-orbit::after { right: 8%; bottom: 16%; }

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.hero-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 34px;
  background: var(--panel-solid);
  box-shadow: var(--shadow), 0 0 70px rgba(34, 211, 238, 0.08);
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.82), transparent 45%);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 683 / 870;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.86) contrast(1.06);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 700ms ease;
}

.hero-card:hover img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.08);
}

.hero-card figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eafaff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  50% { opacity: 0.45; transform: scale(0.78); }
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 19px;
  background: rgba(7, 17, 31, 0.77);
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  animation: floating 5s ease-in-out infinite;
}

.chip-one { top: 9%; right: -29px; }
.chip-two { left: -30px; bottom: 30%; animation-delay: -1.5s; }
.chip-three { right: -20px; bottom: 7%; animation-delay: -3s; }

@keyframes floating {
  50% { transform: translateY(-13px) rotate(3deg); }
}

.scroll-cue {
  position: absolute;
  left: 0;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7890a4;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  position: relative;
  width: 74px;
  height: 1px;
  overflow: hidden;
  background: rgba(125, 211, 252, 0.18);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  50%, 100% { transform: translateX(100%); }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.dream-content h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.section-heading > p:last-child,
.contact-panel p,
.dream-content > p {
  color: var(--muted);
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.82), rgba(7, 17, 31, 0.67));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), var(--shadow);
  backdrop-filter: blur(18px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 24px;
}

.about-copy {
  padding: clamp(28px, 5vw, 54px);
}

.about-copy p {
  margin: 0 0 18px;
  color: #bdd0df;
  font-size: 1.02rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy strong {
  color: #fff;
}

.quote-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(34, 211, 238, 0.12), rgba(15, 23, 42, 0.88)),
    var(--panel-solid);
}

.quote-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -120px;
  right: -100px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.16);
  filter: blur(40px);
}

.quote-mark {
  position: absolute;
  top: 12px;
  left: 28px;
  color: rgba(125, 211, 252, 0.17);
  font-family: Georgia, serif;
  font-size: 10rem;
  line-height: 1;
}

.quote-panel blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.quote-panel p {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  color: #8da5b9;
  font-size: 0.82rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(7, 17, 31, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transform-style: preserve-3d;
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 180ms ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.14);
  filter: blur(25px);
  transition: right 500ms ease, bottom 500ms ease;
}

.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.44);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26), 0 0 50px rgba(34, 211, 238, 0.055);
}

.feature-card:hover::before {
  right: -55px;
  bottom: -65px;
}

.card-number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #456276;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.icon-box {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 70px;
  border: 1px solid rgba(125, 211, 252, 0.27);
  border-radius: 20px;
  background: rgba(34, 211, 238, 0.07);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.feature-card h3,
.project-card h3,
.timeline-content h3,
.research-grid h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.feature-card p,
.project-card p,
.timeline-content p,
.research-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.dream-section {
  margin: 70px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.93), rgba(7, 17, 31, 0.76)),
    repeating-linear-gradient(90deg, transparent 0 86px, rgba(125, 211, 252, 0.035) 86px 87px);
}

.dream-section::before {
  content: "MARK 95";
  position: absolute;
  right: -50px;
  bottom: -70px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(125, 211, 252, 0.07);
  font-size: clamp(8rem, 24vw, 23rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.09em;
  white-space: nowrap;
}

.dream-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.dream-content > p {
  max-width: 760px;
  font-size: 1.08rem;
}

.dream-line {
  width: min(100%, 700px);
  height: 3px;
  margin-top: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(34, 211, 238, 0));
  transform-origin: left;
  animation: dream-line 4s ease-in-out infinite alternate;
}

@keyframes dream-line {
  from { transform: scaleX(0.35); opacity: 0.4; }
  to { transform: scaleX(1); opacity: 1; }
}

.timeline {
  position: relative;
  max-width: 920px;
  padding-left: 42px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(var(--accent), rgba(34, 211, 238, 0.08));
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -39px;
  top: 31px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 20px rgba(34, 211, 238, 0.55);
}

.timeline-content {
  padding: 32px 34px;
}

.timeline-label,
.project-type {
  color: var(--accent-2) !important;
  font-size: 0.7rem !important;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin-top: 8px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.institution {
  margin-bottom: 14px !important;
  color: #e3f6ff !important;
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.12), transparent 15rem),
    linear-gradient(150deg, rgba(15, 23, 42, 0.9), rgba(7, 17, 31, 0.82));
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: var(--shadow);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 64px;
}

.project-index {
  color: rgba(125, 211, 252, 0.26);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.project-card h3 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0;
}

.tag-list span,
.project-status {
  padding: 7px 11px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.045);
  color: #adc4d5;
  font-size: 0.73rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: var(--accent-2);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 850;
}

.text-link span {
  transition: transform 200ms ease;
}

.text-link:hover span {
  transform: translate(4px, -4px);
}

.project-status {
  width: fit-content;
  margin-top: auto;
}

.research-panel {
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(7, 17, 31, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}

.research-grid article {
  min-height: 230px;
  padding: 30px;
  background: rgba(2, 6, 23, 0.8);
  transition: background 250ms ease;
}

.research-grid article:hover {
  background: rgba(15, 23, 42, 0.92);
}

.research-grid article > span {
  display: block;
  margin-bottom: 68px;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: end;
  gap: 50px;
  padding: clamp(32px, 6vw, 68px);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: calc(var(--radius) + 9px);
  background:
    radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.15), transparent 22rem),
    linear-gradient(150deg, rgba(15, 23, 42, 0.94), rgba(7, 17, 31, 0.86));
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 780px;
}

.contact-panel p {
  max-width: 660px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.social-grid a {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  background: rgba(7, 17, 31, 0.84);
  color: #c6d7e4;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 220ms ease, color 220ms ease;
}

.social-grid a:hover {
  background: rgba(15, 23, 42, 0.96);
  color: var(--accent-2);
}

.social-grid a span:last-child {
  transition: transform 220ms ease;
}

.social-grid a:hover span:last-child {
  transform: translate(4px, -4px);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.76);
}

.footer-content {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7890a4;
  font-size: 0.82rem;
}

.footer-content p:last-child {
  color: var(--accent-2);
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.84);
  color: var(--accent-2);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  backdrop-filter: blur(12px);
  transition: opacity 220ms ease, transform 220ms ease, background 220ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(15, 23, 42, 0.98);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms cubic-bezier(.2,.75,.2,1), transform 800ms cubic-bezier(.2,.75,.2,1);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

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

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

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 15vw, 7.7rem);
  }

  .hero-intro {
    max-width: 720px;
  }

  .hero-stats {
    width: min(100%, 680px);
  }

  .hero-visual {
    margin-top: 32px;
  }

  .scroll-cue {
    display: none;
  }

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

  .quote-panel {
    min-height: 330px;
  }

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

  .contact-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 82px 20px auto;
    max-height: calc(100svh - 105px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 17, 31, 0.97);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(125, 211, 252, 0.07);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

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

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

  .research-grid article {
    min-height: auto;
  }

  .research-grid article > span {
    margin-bottom: 38px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 84px 0;
  }

  .brand > span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 19vw, 5.7rem);
  }

  .hero-role {
    font-size: 0.98rem;
  }

  .hero-intro {
    font-size: 0.94rem;
  }

  .button-row,
  .contact-actions {
    width: 100%;
  }

  .button {
    flex: 1 1 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 82px;
  }

  .hero-visual {
    width: calc(100% - 22px);
  }

  .image-orbit {
    inset: -20px;
  }

  .floating-chip {
    width: 49px;
    height: 49px;
    border-radius: 16px;
  }

  .chip-one { right: -18px; }
  .chip-two { left: -18px; }
  .chip-three { right: -14px; }

  .section-heading h2,
  .dream-content h2,
  .contact-panel h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

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

  .feature-card {
    min-height: 280px;
  }

  .timeline {
    padding-left: 29px;
  }

  .timeline::before {
    left: 5px;
  }

  .timeline-marker {
    left: -31px;
  }

  .timeline-content,
  .project-card,
  .research-panel,
  .contact-panel {
    padding: 26px;
  }

  .project-top {
    margin-bottom: 45px;
  }

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

  .footer-content {
    min-height: 120px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #particle-canvas {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Mobile layout hardening
   Keeps the desktop design unchanged and improves phones.
   ========================================================= */
@media (max-width: 600px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-width: 0;
  }

  .container {
    width: 100%;
    max-width: var(--container);
    padding-inline: 16px;
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    inset: 70px 14px auto;
    max-height: calc(100dvh - 84px);
  }

  .hero {
    width: 100%;
    gap: 44px;
    padding-top: 106px;
    padding-bottom: 58px;
    text-align: left;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 16vw, 4.25rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
  }

  .hero-role {
    min-height: 3.2em;
    margin: 22px 0 12px;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  #typed-role {
    overflow-wrap: anywhere;
  }

  .hero-intro {
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .button-row {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    width: 100%;
    min-height: 48px;
    flex: none;
    padding-inline: 18px;
  }

  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
    border-radius: 16px;
  }

  .hero-stats div {
    min-width: 0;
    min-height: 88px;
    padding: 14px 7px;
    text-align: center;
  }

  .hero-stats strong {
    font-size: 0.86rem;
  }

  .hero-stats span {
    font-size: 0.66rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .hero-visual {
    width: min(86vw, 340px);
    margin-top: 8px;
  }

  .hero-card {
    border-radius: 24px;
  }

  .image-orbit {
    inset: -10px;
  }

  .floating-chip {
    display: none;
  }

  #particle-canvas {
    opacity: 0.3;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .dream-content h2,
  .contact-panel h2 {
    font-size: clamp(2.2rem, 11.5vw, 3.45rem);
    line-height: 1;
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
  }

  .about-copy,
  .quote-panel,
  .timeline-content,
  .project-card,
  .research-panel,
  .contact-panel {
    padding: 22px;
  }

  .about-copy p,
  .dream-content > p {
    font-size: 0.95rem;
  }

  .quote-panel {
    min-height: 280px;
  }

  .quote-mark {
    left: 18px;
    font-size: 7rem;
  }

  .quote-panel blockquote {
    font-size: 1.3rem;
  }

  .feature-card {
    min-height: auto;
    padding: 22px;
  }

  .icon-box {
    margin-bottom: 44px;
  }

  .dream-section {
    margin: 34px 0;
  }

  .dream-section::before {
    right: -20px;
    bottom: -16px;
    font-size: 42vw;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline::before {
    left: 4px;
  }

  .timeline-marker {
    left: -27px;
    width: 13px;
    height: 13px;
  }

  .timeline-content h3,
  .project-card h3,
  .research-grid h3 {
    overflow-wrap: anywhere;
  }

  .project-card {
    min-height: auto;
  }

  .project-top {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
  }

  .project-index {
    font-size: 2.45rem;
  }

  .tag-list {
    margin: 22px 0;
  }

  .research-panel,
  .contact-panel {
    border-radius: 22px;
  }

  .research-grid {
    border-radius: 17px;
  }

  .research-grid article {
    padding: 22px;
  }

  .research-grid article > span {
    margin-bottom: 26px;
  }

  .contact-panel {
    gap: 28px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .social-grid {
    border-radius: 17px;
  }

  .social-grid a {
    min-height: 64px;
    padding-inline: 16px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 360px) {
  .container {
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 70px;
  }
}
