:root {
  color-scheme: dark;
  --bg: #06111f;
  --bg-2: #091a2e;
  --surface: rgba(12, 27, 47, 0.74);
  --surface-strong: rgba(15, 35, 61, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(145, 194, 255, 0.18);
  --line-strong: rgba(145, 194, 255, 0.34);
  --text: #f6f9ff;
  --text-soft: #d7e2f0;
  --muted: #b8cadb;
  --blue: #39a8ff;
  --blue-2: #1b72ff;
  --cyan: #5ee7ff;
  --green: #4ee6a5;
  --warning: #ffd166;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --container: min(1160px, calc(100% - 40px));
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 22px);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(57, 168, 255, 0.25), transparent 28%),
    radial-gradient(circle at 82% 2%, rgba(78, 230, 165, 0.16), transparent 24%),
    linear-gradient(145deg, #040b15 0%, #071528 42%, #06111f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 11, 21, 0.66) 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(94, 231, 255, 0.95);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
dl {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6.8vw, 5.9rem);
  line-height: 0.98;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.06;
}

.project-card h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.25;
}

.project-role-tag {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.8;
  white-space: nowrap;
}

.skill-card h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.skill-percent {
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 600;
  white-space: nowrap;
}

p {
  margin-bottom: 16px;
}

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

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

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #03101c;
  background: var(--cyan);
  font-weight: 900;
}

.skip-link:focus {
  top: 16px;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #06111f;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.page-loader span {
  width: 46px;
  height: 46px;
  border: 3px solid rgba(94, 231, 255, 0.22);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 780ms linear infinite;
}

body.is-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(145, 194, 255, 0.13);
  background: rgba(6, 17, 31, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: #03101c;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 34px rgba(57, 168, 255, 0.32);
}

.brand-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: 4vw;
  bottom: 6vh;
  z-index: -1;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border: 1px solid rgba(94, 231, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(57, 168, 255, 0.13), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 30px);
  transform: rotate(14deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.typing-line {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 34px;
  margin-bottom: 20px;
  color: var(--text-soft);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  font-weight: 800;
}

.typing-text {
  color: var(--cyan);
}

.typing-text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  vertical-align: -0.12em;
  background: var(--cyan);
  animation: caret 900ms steps(1) infinite;
}

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

.hero-lede {
  max-width: 760px;
  color: var(--text-soft);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.btn:active {
  transform: scale(0.97) translateY(0);
}

.btn-primary {
  color: #03101c;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 42px rgba(57, 168, 255, 0.28);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
}

.btn-ghost {
  color: var(--cyan);
  border-color: rgba(94, 231, 255, 0.24);
  background: rgba(94, 231, 255, 0.06);
}

.hero-meta,
.keyword-cloud,
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-meta li,
.keyword-cloud span,
.about-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(145, 194, 255, 0.16);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-meta li:hover,
.keyword-cloud span:hover,
.about-badges span:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.stats-section {
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.stat-card {
  padding: 24px;
  text-align: center;
  transition: transform 200ms ease, border-color 200ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.stat-value {
  display: block;
  color: var(--cyan);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 1080px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 0 40px rgba(94, 231, 255, 0.12);
}

.profile-photo {
  position: relative;
  display: block;
  width: min(100%, 278px);
  aspect-ratio: 1;
  padding: 7px;
  border-radius: 50%;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(94, 231, 255, 0.98), rgba(57, 168, 255, 0.44) 50%, rgba(78, 230, 165, 0.66)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.13) inset,
    0 0 58px rgba(57, 168, 255, 0.26);
}

.profile-photo::before,
.profile-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.profile-photo::before {
  inset: -18px;
  border: 1px solid rgba(94, 231, 255, 0.18);
}

.profile-photo::after {
  inset: -34px;
  background: radial-gradient(circle, rgba(57, 168, 255, 0.2), transparent 66%);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 17%;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  background: #fff;
}

.hero-photo {
  margin-top: 4px;
}

.about-photo {
  width: min(100%, 240px);
  margin: 0 auto 30px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.status-pill {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(78, 230, 165, 0.34);
  border-radius: var(--radius);
  color: #c4ffe6;
  background: rgba(78, 230, 165, 0.08);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

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

.metric-grid div {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(145, 194, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(3, 10, 19, 0.34);
}

.metric-grid strong {
  display: block;
  color: var(--cyan);
  font-size: 2.2rem;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 68px);
  align-items: center;
}

.about-visual {
  position: sticky;
  top: calc(var(--header) + 28px);
  align-self: start;
}

.about-badges {
  justify-content: center;
}

.about-content p,
.section-heading p:not(.eyebrow),
.timeline-body p,
.skill-card p,
.project-card p,
.resume-panel p,
.contact-grid p {
  color: var(--muted);
}

.keyword-cloud {
  margin-top: 24px;
}

.section-heading.centered {
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: center;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 180px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(var(--cyan), rgba(57, 168, 255, 0));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 48px;
  padding: clamp(22px, 3vw, 30px);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 173px;
  top: 34px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(57, 168, 255, 0.15), 0 0 30px rgba(94, 231, 255, 0.42);
}

.timeline-date {
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 900;
}

.role-label,
.project-source {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 900;
}

.achievement-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.achievement-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
}

.achievement-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(78, 230, 165, 0.35);
}

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

.skill-card {
  min-height: 100%;
  padding: 28px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(94, 231, 255, 0.1);
}

.skill-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(94, 231, 255, 0.1);
  border: 1px solid rgba(94, 231, 255, 0.2);
}

.skill-meter {
  height: 8px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.skill-meter span {
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--green));
  box-shadow: 0 0 12px rgba(94, 231, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
}

.skill-card.is-visible .skill-meter span {
  animation: fill-meter 900ms ease forwards;
}

@keyframes fill-meter {
  to {
    transform: scaleX(1);
  }
}

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

.project-card {
  padding: 26px;
  transition: transform 200ms ease, border-color 200ms ease;
}

.project-card dl {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
}

.project-card dt {
  color: var(--cyan);
  font-weight: 900;
}

.project-card dd {
  margin: 0 0 10px;
  color: var(--text-soft);
}

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

.cert-item {
  min-height: 168px;
  padding: 24px;
  transition: transform 200ms ease, border-color 200ms ease;
}

.cert-item span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: var(--radius);
  color: #03101c;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 0.84rem;
  font-weight: 900;
}

.cert-org {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resume-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(57, 168, 255, 0.18), rgba(78, 230, 165, 0.08)),
    rgba(6, 17, 31, 0.68);
}

.resume-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.contact-grid {
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  font-style: normal;
}

.contact-card a,
.contact-card div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(145, 194, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(3, 10, 19, 0.28);
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  border-color: var(--line-strong);
  background: rgba(57, 168, 255, 0.08);
}

.contact-card span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.footer {
  border-top: 1px solid rgba(145, 194, 255, 0.13);
  padding: 28px 0;
  color: var(--muted);
  background: rgba(3, 10, 19, 0.32);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--cyan);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms ease;
}

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

@media (max-width: 1080px) {
  .skills-grid,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .about-visual {
    position: static;
  }

  .about-badges {
    justify-content: flex-start;
  }
}

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

  .nav-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header) + 10px);
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(6, 17, 31, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-menu a {
    width: 100%;
    padding: 13px 12px;
  }

  .timeline::before,
  .timeline-item::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-date {
    text-align: center;
    display: block;
    width: fit-content;
    margin: 0 auto 8px;
    background: rgba(94, 231, 255, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1160px);
  }

  .section {
    padding: 76px 0;
  }

  .brand-text {
    max-width: 190px;
  }

  .hero-actions,
  .resume-panel,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .metric-grid div {
    min-height: auto;
  }

  .hero-meta li,
  .keyword-cloud span,
  .about-badges span {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-text {
    display: none;
  }
}

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

  .page-loader {
    display: none;
  }

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

  .skill-meter span {
    transform: scaleX(1);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
