:root {
  --bg: #020204;
  --bg-2: #07070a;
  --surface: rgba(14, 15, 18, 0.78);
  --surface-strong: #111216;
  --surface-light: #e9edf2;
  --text: #f7f6ef;
  --text-dark: #08090b;
  --muted: #a6acb8;
  --muted-2: #747b89;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --violet: #9b5cff;
  --cyan: #20d6c7;
  --amber: #f0b35a;
  --mint: #a7f56d;
  --radius-card: 8px;
  --radius-pill: 999px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 160px),
    linear-gradient(180deg, #030305 0%, #050506 34%, #000 100%);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

img,
canvas,
svg {
  display: block;
}

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

::selection {
  color: #fff;
  background: rgba(155, 92, 255, 0.55);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 24px 0;
  pointer-events: none;
}

.nav-shell {
  width: min(100%, var(--max));
  min-height: 58px;
  margin: 0 auto;
  padding: 7px 8px 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(5, 5, 8, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.brand-mark {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-initials {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #050508;
  background: linear-gradient(135deg, var(--cyan), var(--mint) 56%, var(--amber));
  font-size: 0.86rem;
  font-weight: 900;
}

.brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-copy strong {
  max-width: 210px;
  overflow: hidden;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
}

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

.nav-links a {
  color: var(--muted);
  border-radius: var(--radius-pill);
  padding: 10px 15px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

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

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

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

.hero {
  position: relative;
  min-height: 86svh;
  padding: 128px 24px 168px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.26;
  background:
    repeating-linear-gradient(90deg, transparent 0 68px, rgba(255, 255, 255, 0.12) 68px 69px),
    repeating-linear-gradient(0deg, transparent 0 68px, rgba(255, 255, 255, 0.08) 68px 69px);
  transform: perspective(720px) rotateX(58deg) translateY(24%);
  transform-origin: center bottom;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, #000 78%);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(115deg, rgba(155, 92, 255, 0.16), transparent 35%, rgba(32, 214, 199, 0.12) 70%, transparent),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.76));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 980px);
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hero-avatar {
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  padding: 5px;
  box-shadow: 0 20px 70px rgba(32, 214, 199, 0.2);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.status-pill,
.eyebrow {
  margin: 0;
  color: #dfe3ec;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(167, 245, 109, 0.84);
}

.hero h1 {
  max-width: 900px;
  margin: 26px auto 18px;
  font-size: 5.1rem;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.45;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 0.94rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #050507;
  background: linear-gradient(135deg, #fff, var(--cyan) 58%, var(--mint));
  box-shadow: 0 18px 54px rgba(32, 214, 199, 0.25);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  border-color: rgba(32, 214, 199, 0.54);
  box-shadow: 0 18px 48px rgba(155, 92, 255, 0.18);
}

.skill-marquee {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 92px;
  width: min(86vw, 900px);
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 10px;
  padding: 11px 0;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  min-width: 112px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

.section {
  position: relative;
  padding: 112px 24px;
  scroll-margin-top: 92px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.about-section,
.projects-section,
.education-section {
  background: #000;
}

.about-section {
  padding-top: 64px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.portrait-panel {
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #f5f6f7;
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-copy h2,
.section-heading h2,
.education-card h2,
.contact-content h2 {
  margin: 10px 0 18px;
  font-size: 3.2rem;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.about-copy p:not(.eyebrow),
.education-card p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-copy p + p {
  margin-top: 14px;
}

.impact-section,
.experience-section {
  overflow: hidden;
  background:
    repeating-linear-gradient(60deg, transparent 0 118px, rgba(255, 255, 255, 0.045) 118px 119px),
    #09090b;
}

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

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.impact-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.impact-card strong {
  color: #fff;
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.impact-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-weight: 650;
}

.impact-light {
  color: var(--text-dark);
  background: linear-gradient(145deg, #edf2f7, #cfd8e3);
}

.impact-light strong,
.impact-light span {
  color: currentColor;
}

.impact-accent {
  background: linear-gradient(145deg, #722ed1, #9b5cff 48%, #20d6c7);
}

.impact-wide {
  grid-column: span 2;
  min-height: 190px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 58px),
    #151518;
}

.impact-wide strong {
  font-size: 2.8rem;
}

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

.project-card {
  min-height: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  background: #101014;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(32, 214, 199, 0.38);
}

.project-visual {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  background: #060608;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(255, 255, 255, 0.12) 52px 53px),
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(255, 255, 255, 0.08) 52px 53px);
}

.visual-services span {
  position: absolute;
  width: 34%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(32, 214, 199, 0.26), rgba(255, 255, 255, 0.08));
  box-shadow: 0 18px 50px rgba(32, 214, 199, 0.12);
}

.visual-services span:first-child {
  top: 42px;
  left: 11%;
}

.visual-services span:nth-child(2) {
  top: 92px;
  right: 12%;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.34), rgba(255, 255, 255, 0.08));
}

.visual-services span:last-child {
  top: 144px;
  left: 26%;
  background: linear-gradient(135deg, rgba(240, 179, 90, 0.3), rgba(255, 255, 255, 0.08));
}

.visual-traffic span {
  position: absolute;
  inset: auto auto 34px 14%;
  width: 72%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
}

.visual-traffic span:first-child {
  bottom: 72px;
  transform: rotate(-9deg);
}

.visual-traffic span:nth-child(2) {
  bottom: 112px;
  transform: rotate(8deg);
}

.visual-traffic span:last-child {
  bottom: 152px;
  transform: rotate(-4deg);
}

.visual-auth span,
.visual-api span,
.visual-mobile span,
.visual-mailer span,
.visual-flutter span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.visual-auth span:first-child {
  top: 44px;
  left: 50%;
  width: 78px;
  height: 62px;
  border-radius: 8px;
  transform: translateX(-50%);
  background: linear-gradient(145deg, rgba(155, 92, 255, 0.36), rgba(32, 214, 199, 0.12));
}

.visual-auth span:first-child::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: -30px;
  height: 42px;
  border: 8px solid rgba(32, 214, 199, 0.42);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
}

.visual-auth span:nth-child(2),
.visual-auth span:last-child {
  left: 18%;
  right: 18%;
  height: 8px;
  border-radius: var(--radius-pill);
}

.visual-auth span:nth-child(2) {
  bottom: 62px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.visual-auth span:last-child {
  bottom: 42px;
  background: linear-gradient(90deg, var(--violet), transparent);
}

.visual-api span:first-child {
  top: 50px;
  left: 14%;
  width: 72%;
  height: 38px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(32, 214, 199, 0.32), rgba(255, 255, 255, 0.08));
}

.visual-api span:nth-child(2) {
  top: 104px;
  left: 24%;
  width: 52%;
  height: 38px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(155, 92, 255, 0.34), rgba(255, 255, 255, 0.08));
}

.visual-api span:last-child {
  top: 158px;
  left: 34%;
  width: 32%;
  height: 38px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(240, 179, 90, 0.32), rgba(255, 255, 255, 0.08));
}

.visual-mobile span:first-child {
  top: 24px;
  left: 50%;
  width: 104px;
  height: 174px;
  border-radius: 22px;
  transform: translateX(-50%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(32, 214, 199, 0.18));
}

.visual-mobile span:nth-child(2) {
  top: 66px;
  left: calc(50% - 34px);
  width: 68px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: rgba(167, 245, 109, 0.28);
}

.visual-mobile span:last-child {
  top: 106px;
  left: calc(50% - 34px);
  width: 68px;
  height: 52px;
  border-radius: 8px;
  background: rgba(155, 92, 255, 0.26);
}

.visual-mailer span:first-child {
  top: 56px;
  left: 50%;
  width: 168px;
  height: 108px;
  border-radius: 8px;
  transform: translateX(-50%);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(32, 214, 199, 0.16));
}

.visual-mailer span:first-child::before,
.visual-mailer span:first-child::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 86px;
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
}

.visual-mailer span:first-child::before {
  left: 0;
  transform: rotate(31deg);
  transform-origin: left center;
}

.visual-mailer span:first-child::after {
  right: 0;
  transform: rotate(-31deg);
  transform-origin: right center;
}

.visual-mailer span:nth-child(2) {
  top: 78px;
  right: 18%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(155, 92, 255, 0.34);
}

.visual-mailer span:last-child {
  bottom: 34px;
  left: 16%;
  width: 66%;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.visual-flutter span:first-child {
  top: 46px;
  left: 28%;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(32, 214, 199, 0.34), rgba(255, 255, 255, 0.08));
}

.visual-flutter span:nth-child(2) {
  top: 86px;
  left: 48%;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(88, 154, 255, 0.3), rgba(155, 92, 255, 0.2));
}

.visual-flutter span:last-child {
  bottom: 34px;
  left: 24%;
  width: 52%;
  height: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.project-copy {
  padding: 26px;
}

.project-meta {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 850;
}

.project-copy h3,
.skill-card h3,
.timeline-item h3 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.project-copy p:not(.project-meta),
.skill-card p,
.timeline-item li,
.timeline-date,
.timeline-company {
  color: var(--muted);
}

.project-copy p:not(.project-meta) {
  margin: 12px 0 0;
}

.skills-section {
  background: linear-gradient(180deg, #000, #09090b);
}

.skills-shell {
  display: grid;
  grid-template-columns: minmax(240px, 370px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

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

.skill-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.skill-card p {
  margin: 12px 0 0;
  font-size: 0.94rem;
}

.timeline {
  position: relative;
  width: min(100%, 840px);
  margin: 46px auto 0;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan), var(--violet), var(--amber), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  background: rgba(12, 13, 16, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.timeline-node {
  position: absolute;
  top: 28px;
  left: -42px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: #08090b;
  box-shadow: 0 0 28px rgba(32, 214, 199, 0.34);
}

.timeline-item:nth-child(2) .timeline-node {
  border-color: var(--violet);
  box-shadow: 0 0 28px rgba(155, 92, 255, 0.34);
}

.timeline-item:nth-child(3) .timeline-node {
  border-color: var(--amber);
  box-shadow: 0 0 28px rgba(240, 179, 90, 0.34);
}

.timeline-date,
.timeline-company {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 750;
}

.timeline-company {
  margin: 5px 0 14px;
  color: var(--cyan);
}

.timeline-item li {
  position: relative;
  padding-left: 16px;
  margin-top: 8px;
  font-size: 0.95rem;
}

.timeline-item li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

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

.education-card {
  min-height: 310px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  background:
    repeating-linear-gradient(120deg, transparent 0 68px, rgba(255, 255, 255, 0.04) 68px 69px),
    #111216;
}

.education-card:nth-child(2) {
  color: var(--text-dark);
  background: linear-gradient(145deg, #eaf1f4, #ccd8df);
}

.education-card:nth-child(2) h2,
.education-card:nth-child(2) p {
  color: currentColor;
}

.contact-section {
  padding: 88px 24px 36px;
  background: #000;
  scroll-margin-top: 92px;
}

.contact-widget {
  position: relative;
  width: min(100%, var(--max));
  min-height: 430px;
  margin: 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(155, 92, 255, 0.35), transparent 42%, rgba(32, 214, 199, 0.24)),
    #11061f;
  box-shadow: 0 32px 100px rgba(64, 28, 134, 0.38);
}

.contact-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.contact-widget::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  padding: 70px 24px 108px;
  text-align: center;
}

.contact-content h2 {
  margin-inline: auto;
  color: #fff;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.contact-footer {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 650;
}

.contact-footer a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 960px) {
  .hero {
    padding-top: 118px;
  }

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

  .hero-lead {
    font-size: 1.28rem;
  }

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

  .portrait-panel {
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .about-copy,
  .skills-shell .section-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

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

  .impact-wide {
    grid-column: span 2;
  }
}

@media (max-width: 740px) {
  .site-header {
    padding: 12px 14px 0;
  }

  .nav-shell {
    min-height: 56px;
  }

  .brand-copy strong {
    max-width: 170px;
    font-size: 0.86rem;
  }

  .brand-copy span {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    max-height: calc(100svh - 100px);
    overflow: auto;
    padding: 12px;
    display: grid;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-card);
    background: rgba(4, 5, 8, 0.94);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-links a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    min-height: 86svh;
    padding: 86px 18px 92px;
  }

  .hero-avatar {
    width: 94px;
    height: 94px;
  }

  .status-pill {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.74rem;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1.03;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .skill-marquee {
    bottom: 24px;
    width: calc(100% - 28px);
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 82px 18px;
  }

  .about-section {
    padding-top: 46px;
  }

  .about-copy h2,
  .section-heading h2,
  .education-card h2,
  .contact-content h2 {
    font-size: 2.22rem;
    line-height: 1.08;
  }

  .impact-grid,
  .project-grid,
  .skills-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .impact-wide {
    grid-column: span 1;
  }

  .impact-card {
    min-height: 186px;
  }

  .impact-card strong,
  .impact-wide strong {
    font-size: 2.45rem;
  }

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

  .project-visual {
    min-height: 188px;
  }

  .timeline {
    padding-left: 26px;
  }

  .timeline-item {
    padding: 20px;
  }

  .timeline-node {
    left: -35px;
  }

  .contact-section {
    padding: 70px 18px 28px;
  }

  .contact-content {
    padding: 52px 18px 142px;
  }

  .contact-footer {
    bottom: 18px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
  }
}

@media (max-width: 410px) {
  .hero h1 {
    font-size: 2.56rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .about-copy h2,
  .section-heading h2,
  .education-card h2,
  .contact-content h2 {
    font-size: 1.94rem;
  }
}

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