﻿:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #0d1117;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --line: #374151;
  --accent: #e5e7eb;
  --accent-2: #cbd5e1;
  --warn: #3b82f6;
  --radius: 14px;
  --shell: min(1080px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  overflow-x: hidden;
  background:
    linear-gradient(rgba(33, 43, 61, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 43, 61, 0.42) 1px, transparent 1px),
    radial-gradient(circle at 50% -8%, rgba(95, 123, 168, 0.15), transparent 48%),
    #0d1117;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

button {
  font: inherit;
}

ul {
  list-style: none;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 22px;
  background: transparent;
}

.nav {
  max-width: 800px;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 26px;
  border: 1px solid rgba(75, 85, 99, 0.72);
  border-radius: 16px;
  background: rgba(13, 17, 23, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e7edf8;
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 36px;
  padding: 0 14px;
  font-size: 16px;
  color: #b6c3d8;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.github-only-link {
  width: 46px;
  min-height: 40px;
  justify-content: center;
  padding: 0;
}

.github-only-link svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: #3b82f6;
  margin: 0 4px;
}

.nav-links a:hover {
  color: #f2f7ff;
  background: rgba(22, 35, 57, 0.72);
}

.nav-links a:focus,
.nav-links a:focus-visible {
  outline: none;
  box-shadow: none;
}

#stack:target,
#projects:target {
  outline: none;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s 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 {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(71, 90, 122, 0.16), transparent 44%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: min(82vh, 760px);
  padding: 34px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}

#stack.section {
  padding-top: 20px;
}

.hero-kicker {
  font-family: "Sora", sans-serif;
  font-size: 20px;
  color: #d7e1f3;
  margin-bottom: 2px;
  text-align: center;
}

.eyebrow {
  font-family: "Sora", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-copy h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.hero-roleline {
  font-size: clamp(15px, 1.6vw, 20px);
  color: #c3cfdf;
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(15px, 1.35vw, 17px);
  color: #d0dae9;
  max-width: 62ch;
  margin-inline: auto;
}

.hero-logo-strip {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-logo-strip img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(75, 85, 99, 0.72);
  background: rgba(13, 17, 23, 0.86);
  padding: 5px;
}

.accent-chip {
  display: inline-block;
  padding: 0 6px;
  border-radius: 6px;
  line-height: 1.3;
}

.accent-blue {
  background: rgba(59, 130, 246, 0.28);
}

.accent-violet {
  background: rgba(139, 92, 246, 0.28);
}

.hero-social {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(77, 95, 126, 0.8);
  background: rgba(11, 19, 33, 0.72);
  font-size: 13px;
  color: #cfdaeb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero-social-icons a:hover {
  color: #f0f8ff;
  border-color: rgba(34, 211, 238, 0.58);
}

.btn {
  min-height: 44px;
  border-radius: 10px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #022633;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(17, 26, 43, 0.8);
}

.hero-profile {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  padding: 6px;
  border: 2px solid rgba(90, 111, 143, 0.85);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
}

.hero-profile img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(67, 87, 118, 0.9);
  object-fit: cover;
}

.section {
  padding: 40px 0;
  border-top: none;
}

.section-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(25px, 3.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 68ch;
  margin-bottom: 22px;
}

#stack .eyebrow,
#stack .section-title,
#stack .section-subtitle {
  text-align: center;
}

#stack .section-subtitle {
  margin-inline: auto;
}

#stack .eyebrow {
  color: #d1d5db;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #3b82f6;
  text-underline-offset: 4px;
}

#stack .section-title {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

#stack .section-subtitle {
  color: #6b7280;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.35;
  margin-bottom: 26px;
}

#projects .eyebrow,
#projects .section-title,
#projects .section-subtitle {
  text-align: center;
}

#education .eyebrow,
#education .section-title,
#education .section-subtitle,
#experience .eyebrow,
#experience .section-title,
#experience .section-subtitle {
  text-align: center;
}

#education .section-subtitle,
#experience .section-subtitle {
  color: #6b7280;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.35;
  margin-bottom: 26px;
  margin-inline: auto;
}

#education .eyebrow,
#experience .eyebrow {
  color: #d1d5db;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #3b82f6;
  text-underline-offset: 4px;
}

#projects .section-subtitle {
  margin-inline: auto;
}

#projects .eyebrow {
  color: #d1d5db;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #3b82f6;
  text-underline-offset: 4px;
}

#contact .eyebrow,
#contact .section-title,
#contact .section-subtitle {
  text-align: center;
}

#contact .section-subtitle {
  margin-inline: auto;
}

#contact .eyebrow {
  color: #d1d5db;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #3b82f6;
  text-underline-offset: 4px;
}

.featured-line {
  font-family: "Sora", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 12px;
}

.about-card {
  background: linear-gradient(160deg, rgba(17, 26, 43, 0.94), rgba(22, 34, 55, 0.82));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
}

.about-card h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(26px, 4.5vw, 42px);
  margin-bottom: 14px;
}

.about-card p {
  color: var(--muted);
  max-width: 74ch;
}

.about-card p + p {
  margin-top: 12px;
}

.stack-panel {
  max-width: 896px;
  margin: 0 auto;
  background: rgba(22, 27, 34, 0.7);
  border: 1px solid rgba(75, 85, 99, 0.7);
  border-radius: 18px;
  backdrop-filter: blur(24px);
  padding: 32px;
}

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

.stack-col h3 {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #d1d5db;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stack-list li {
  border: 1px solid rgba(75, 85, 99, 0.7);
  border-radius: 6px;
  background: #0d1117;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.stack-list li:hover {
  border-color: #3b82f6;
  transform: scale(1.05) rotate(2deg);
}

.stack-list li span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
}

.stack-list li span::before {
  content: none;
}

.stack-logo {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.project-card {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  background: rgba(22, 27, 34, 0.72);
  border: 1px solid rgba(75, 85, 99, 0.72);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.edu-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  place-items: center;
}

.edu-card {
  max-width: 500px;
  width: 100%;
  background: rgba(22, 27, 34, 0.72);
  border: 1px solid rgba(75, 85, 99, 0.72);
  border-radius: 16px;
  padding: 16px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  text-align: left;
}

.edu-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #3b82f6;
}

.edu-year {
  font-family: "Sora", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #3b82f6;
  margin-bottom: 6px;
}

.edu-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 19px;
  margin-bottom: 4px;
}

.edu-org {
  color: #d1d5db;
  font-size: 14px;
  margin-bottom: 8px;
}

.edu-card p {
  color: var(--muted);
  font-size: 14px;
}

.exp-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.exp-card {
  background: rgba(22, 27, 34, 0.72);
  border: 1px solid rgba(75, 85, 99, 0.72);
  border-radius: 16px;
  padding: 16px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.exp-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #3b82f6;
}

.exp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.exp-head h3 {
  font-family: "Sora", sans-serif;
  font-size: 19px;
}

.exp-time {
  color: #3b82f6;
  font-size: 13px;
}

.exp-org {
  color: #d1d5db;
  font-size: 14px;
  margin-bottom: 8px;
}

.exp-card p {
  color: var(--muted);
  font-size: 14px;
}

.exp-list-items {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.exp-list-items li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.project-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #3b82f6;
}

.project-top {
  display: none;
}

.project-top span {
  font-family: "Sora", sans-serif;
  font-size: 13px;
  color: var(--warn);
}

.featured-badge {
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 999px;
  padding: 2px 8px;
}

.project-top a {
  font-size: 12px;
  color: var(--muted);
}

.project-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 145px;
  border-radius: 0;
  border: none;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.project-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
  background:
    linear-gradient(rgba(11, 18, 32, 0.06), rgba(11, 18, 32, 0.26));
  pointer-events: none;
}

.project-media::after {
  content: none;
}

.project-body {
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
}

.media-one {
  background: linear-gradient(130deg, rgba(34, 211, 238, 0.2), rgba(17, 26, 43, 0.7));
}

.media-two {
  background: linear-gradient(130deg, rgba(245, 158, 11, 0.25), rgba(17, 26, 43, 0.7));
}

.media-three {
  background: linear-gradient(130deg, rgba(45, 212, 191, 0.22), rgba(17, 26, 43, 0.7));
}

.project-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 17px;
  line-height: 1.24;
  margin-bottom: 6px;
}

.project-card p {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(55, 65, 81, 0.55);
}

.project-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(75, 85, 99, 0.75);
  border-radius: 10px;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.project-icon-btn:hover {
  border-color: #3b82f6;
  color: #f3f4f6;
}

.project-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.project-btn {
  flex: 1;
  border: 1px solid rgba(75, 85, 99, 0.75);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 13px;
  text-align: center;
  color: var(--muted);
}

.project-btn:hover {
  border-color: #3b82f6;
  color: #f3f4f6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tags li {
  font-size: 13px;
  color: #d1d5db;
  border: 1px solid rgba(75, 85, 99, 0.7);
  border-radius: 999px;
  background: #0d1117;
  padding: 5px 11px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 500px;
  margin: 0 auto;
}

.cta-strip {
  margin-top: -1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(170deg, rgba(17, 26, 43, 0.93), rgba(22, 34, 55, 0.84));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.cta-strip p {
  color: var(--muted);
  max-width: 70ch;
}

.cert-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#certifications {
  border-top: none;
}

#certifications .eyebrow,
#certifications .section-title,
#certifications .section-subtitle {
  text-align: center;
}

#certifications .section-subtitle {
  margin-inline: auto;
}

#certifications .eyebrow {
  color: #d1d5db;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #3b82f6;
  text-underline-offset: 4px;
}

.cert-card {
  background: linear-gradient(165deg, rgba(22, 27, 34, 0.92), rgba(13, 17, 23, 0.9));
  border: 1px solid rgba(75, 85, 99, 0.72);
  border-radius: 14px;
  padding: 16px 18px;
}

.cert-year {
  font-family: "Sora", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #3b82f6;
  margin-bottom: 6px;
}

.cert-issuer {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.cert-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  margin-bottom: 6px;
}

.cert-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.cert-card a {
  color: #d1d5db;
  font-size: 13px;
  border-bottom: 1px solid rgba(75, 85, 99, 0.8);
}

.contact-card,
.contact-form {
  background: linear-gradient(170deg, rgba(17, 26, 43, 0.93), rgba(22, 34, 55, 0.84));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.contact-card h3 {
  font-family: "Sora", sans-serif;
  margin-bottom: 10px;
}

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

.contact-copy {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-card p + p {
  margin-top: 8px;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-item {
  background: rgba(13, 17, 23, 0.72);
  border: 1px solid rgba(75, 85, 99, 0.7);
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.contact-label {
  font-family: "Sora", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.contact-item a {
  color: #e5e7eb;
  font-size: 14px;
}

.contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #3b82f6;
}

.contact-form {
  display: grid;
  gap: 8px;
}

.contact-form label {
  font-size: 13px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(34, 211, 238, 0.3);
  outline-offset: 1px;
}

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.footer-main h3 {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-main p {
  margin-bottom: 12px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--muted);
}

.footer-social a:hover {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.45);
}

.footer-links {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 6px;
}

.footer-links h4 {
  font-family: "Sora", sans-serif;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text);
}

.btn-top {
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  background: transparent;
  min-height: 38px;
  padding: 0 12px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

@media (max-width: 1040px) {
  .hero-layout {
    min-height: auto;
    padding-top: 34px;
  }

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

  .project-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

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

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

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    background-size: 30px 30px, 30px 30px, auto, auto;
  }

  .shell {
    width: calc(100% - 24px);
  }

  .site-header {
    padding-top: 14px;
  }

  .nav {
    min-height: 54px;
    padding: 0 12px;
    border-radius: 12px;
    max-width: 100%;
    width: 100%;
  }

  .brand {
    display: none;
  }

  .nav-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .nav-links a {
    min-height: 34px;
    font-size: 14px;
    padding: 0 10px;
  }

  .github-only-link {
    width: 34px;
  }

  .nav-divider {
    display: none;
  }

  .hero-profile {
    width: 156px;
    height: 156px;
    padding: 4px;
  }

  .hero-kicker {
    font-size: 16px;
  }

  .hero-layout {
    min-height: auto;
    padding: 12px 0 18px;
    gap: 14px;
  }

  #stack.section {
    padding-top: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 8.8vw, 34px);
    margin-bottom: 4px;
  }

  .hero-roleline {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .lead {
    font-size: 13px;
    line-height: 1.5;
    max-width: 34ch;
  }

  .hero-social {
    margin-top: 14px;
    gap: 8px;
  }

  .hero-social-icons a {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .hero-social-icons svg {
    width: 17px;
    height: 17px;
  }

  .section {
    padding: 26px 0;
  }

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

  .stack-panel {
    padding: 14px;
  }

  .stack-col h3 {
    font-size: 16px;
  }

  #stack .section-title {
    font-size: clamp(34px, 9vw, 46px);
  }

  #stack .section-subtitle {
    font-size: 16px;
  }

  .stack-list li span {
    font-size: 13px;
    padding: 7px 10px;
  }

  #stack .section-title {
    font-size: 34px;
  }

  #stack .section-subtitle {
    font-size: 14px;
  }

  .project-media {
    min-height: 140px;
    aspect-ratio: 16 / 9;
  }

  .project-grid {
    gap: 14px;
  }

  .project-body {
    padding: 12px;
  }

  .exp-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .exp-head h3,
  .edu-card h3 {
    font-size: 17px;
  }

  .project-card h3 {
    font-size: 16px;
  }

  .project-card p {
    font-size: 13px;
    line-height: 1.4;
  }

  .tags li {
    font-size: 12px;
    padding: 4px 9px;
  }

  .project-actions {
    padding-top: 10px;
  }

  .cert-card,
  .edu-card,
  .exp-card,
  .contact-card,
  .contact-form {
    padding: 14px;
  }

  .cert-card h3 {
    font-size: 16px;
  }

  .contact-wrap {
    gap: 12px;
  }

  .site-footer {
    padding-top: 20px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 420px) {
  .nav-links a {
    font-size: 13px;
    padding: 0 8px;
  }

  .project-media {
    min-height: 130px;
  }

  .section-title {
    font-size: 26px;
  }
}

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

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

