@view-transition {
  navigation: auto;
}

:root {
  color-scheme: dark;
  --page: #070b16;
  --page-soft: #0a1020;
  --panel: #0e1526;
  --panel-raised: #111b30;
  --ink: #f3f6ff;
  --muted: #9aa8c2;
  --faint: #68758f;
  --line: rgba(159, 180, 218, 0.13);
  --blue: #36b9ff;
  --cyan: #31e4de;
  --purple: #895bff;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
  font-family: var(--font-body);
  background: var(--page);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 0;
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 6%, rgba(32, 90, 206, 0.13), transparent 34rem),
    radial-gradient(ellipse at 15% 50%, rgba(68, 42, 158, 0.09), transparent 32rem),
    var(--page);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(159, 180, 218, 0.13) 0.6px, transparent 0.6px);
  background-size: 7px 7px;
  content: "";
  opacity: 0.15;
  pointer-events: none;
}

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

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

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

::selection {
  background: rgba(54, 185, 255, 0.32);
  color: #fff;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 0 clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(159, 180, 218, 0.09);
  background: rgba(7, 11, 22, 0.82);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-mark {
  color: var(--blue);
  font-size: 29px;
  line-height: 1;
}

.brand-mark span,
.brand-light {
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.nav-link {
  position: relative;
  padding: 27px 0 24px;
  color: #b7c0d2;
  font-size: 12px;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  content: "";
  transition: transform 180ms ease;
}

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

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.header-resume {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(54, 185, 255, 0.58);
  border-radius: 999px;
  color: #e9f4ff;
  font-size: 11px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-resume i {
  color: var(--blue);
  font-size: 10px;
}

.header-resume:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  background: rgba(54, 185, 255, 0.12);
}

.menu-toggle {
  display: none;
}

.section-shell {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
  scroll-margin-top: 96px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  min-height: min(680px, calc(100svh - 72px));
  padding-top: 34px;
  padding-bottom: 65px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 5px 0 24px;
}

.eyebrow,
.section-kicker,
.social-caption,
.contact-aside-label,
.project-type,
.project-footnote > span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 31px;
  color: #93a2bd;
}

.availability-dot {
  position: relative;
  display: inline-block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #45e6a1;
  box-shadow: 0 0 12px rgba(69, 230, 161, 0.7);
}

.availability-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(69, 230, 161, 0.4);
  border-radius: inherit;
  content: "";
  animation: pulse 2.4s ease-out infinite;
}

.eyebrow-separator {
  color: var(--blue);
}

.hello-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  padding: 5px 12px;
  border: 1px solid rgba(54, 185, 255, 0.27);
  border-radius: 999px;
  background: rgba(54, 185, 255, 0.08);
  color: #a7deff;
  font-size: 12px;
}

.hello-chip span {
  color: var(--cyan);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(68px, 9.2vw, 116px);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.93;
}

.gradient-text {
  background: linear-gradient(100deg, #40c7ff 4%, #628cff 53%, #bd70fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-period {
  color: var(--blue);
}

.hero-lede {
  max-width: 410px;
  margin: 24px 0 25px;
  color: #b0bbcf;
  font-size: 15px;
  line-height: 1.75;
}

.hero-lede span {
  color: #eef5ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(105deg, #1689fc, #36c5ed);
  box-shadow: 0 8px 25px rgba(34, 157, 250, 0.22);
  color: #06101e;
}

.button-primary:hover {
  box-shadow: 0 11px 32px rgba(34, 157, 250, 0.38);
}

.button-primary > span {
  margin-left: 2px;
  font-size: 16px;
}

.button-quiet,
.button-outline {
  border-color: rgba(166, 185, 219, 0.27);
  background: rgba(12, 19, 34, 0.55);
  color: #eff5ff;
}

.button-quiet:hover,
.button-outline:hover {
  border-color: rgba(54, 185, 255, 0.68);
  background: rgba(54, 185, 255, 0.08);
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
}

.hero-socials a,
.footer-right > a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(166, 185, 219, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #c6d0e2;
  font-size: 13px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-socials a:hover,
.footer-right > a:hover {
  transform: translateY(-2px);
  border-color: rgba(54, 185, 255, 0.58);
  background: rgba(54, 185, 255, 0.1);
  color: #fff;
}

.hero-socials a[aria-label="LinkedIn"]:hover,
.footer-right > a[aria-label="LinkedIn"]:hover {
  border-color: #0a66c2;
  background: #0a66c2;
}

.social-caption {
  margin-left: 5px;
  color: #73829d;
  font-size: 8px;
  letter-spacing: 1.1px;
}

.hero-visual {
  position: relative;
  width: min(100%, 495px);
  height: 520px;
  justify-self: end;
}

.portrait-frame {
  position: absolute;
  inset: 0 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(121, 165, 255, 0.29);
  border-radius: 48% 48% 25px 25px;
  background: linear-gradient(155deg, #172c57, #111b32 56%, #27154b);
  box-shadow: 0 36px 100px rgba(9, 54, 140, 0.2);
}

.portrait-frame::before,
.portrait-frame::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.portrait-frame::before {
  top: 0;
  right: -24%;
  width: 37%;
  height: 100%;
  transform: skewX(-17deg);
  background: linear-gradient(180deg, rgba(89, 42, 255, 0.5), rgba(50, 93, 255, 0.03));
  filter: blur(2px);
}

.portrait-frame::after {
  right: 13%;
  bottom: 0;
  left: 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(5, 10, 22, 0.88), transparent);
}

.hero-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 39%;
  filter: saturate(0.82) contrast(1.02);
  animation: portrait-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.portrait-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 11, 22, 0.28), transparent 52%), linear-gradient(180deg, rgba(8, 15, 32, 0.04) 42%, rgba(7, 11, 22, 0.56));
}

.portrait-outline {
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: inherit;
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.caption-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(98, 204, 255, 0.4);
  border-radius: 50%;
  background: rgba(13, 30, 58, 0.72);
  color: #72d6ff;
  font-size: 12px;
}

.portrait-caption strong,
.portrait-caption small {
  display: block;
}

.portrait-caption strong {
  font-size: 12px;
}

.portrait-caption small {
  margin-top: 1px;
  color: #bbc8de;
  font-size: 10px;
}

.portrait-index {
  position: absolute;
  z-index: 3;
  top: 49%;
  right: -34px;
  transform: rotate(90deg);
  color: rgba(234, 241, 255, 0.62);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 2px;
}

.portrait-index span {
  color: var(--blue);
}

.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  border: 1px solid rgba(153, 182, 232, 0.22);
  background: rgba(12, 20, 38, 0.88);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.note-code {
  top: 20%;
  left: -21px;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  color: #9aaaca;
  font-size: 10px;
  line-height: 1.5;
}

.note-code > i {
  color: var(--cyan);
  font-size: 17px;
}

.note-code strong {
  color: #eef6ff;
  font-size: 11px;
}

.note-spark {
  top: 9%;
  right: -24px;
  width: 42px;
  height: 42px;
  justify-content: center;
  border-radius: 50%;
  color: #9f82ff;
}

.note-spark i {
  animation: spin 14s linear infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7685a1;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 1.4px;
}

.scroll-cue span {
  position: relative;
  width: 20px;
  height: 30px;
  border: 1px solid rgba(135, 160, 206, 0.52);
  border-radius: 12px;
}

.scroll-cue span::after {
  position: absolute;
  top: 5px;
  left: 8px;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--blue);
  content: "";
  animation: scroll 1.6s ease infinite;
}

.hero-grid-mark {
  position: absolute;
  right: 0;
  bottom: 38px;
  z-index: -1;
  color: rgba(100, 145, 227, 0.055);
  font-family: var(--font-display);
  font-size: 100px;
  font-weight: 700;
  letter-spacing: -9px;
}

.hero-grid-mark span {
  color: rgba(66, 207, 255, 0.1);
}

.home-overview,
.projects-section,
.approach-section {
  padding-block: clamp(48px, 4vw, 58px);
  border-top: 1px solid var(--line);
}

.home-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
}

.overview-about {
  display: flex;
  flex-direction: column;
  padding-right: clamp(28px, 4vw, 58px);
  border-right: 1px solid rgba(54, 133, 255, 0.34);
}

.overview-heading,
.overview-skills-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.overview-heading {
  margin-bottom: 17px;
}

.overview-heading-icon {
  flex: 0 0 auto;
  color: #38baff;
  font-size: 36px;
  text-shadow: 0 0 25px rgba(54, 185, 255, 0.25);
}

.overview-heading h2,
.overview-skills-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.overview-about h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.overview-intro {
  max-width: 500px;
  margin: 0 0 20px;
  color: #d3dced;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.58;
}

.overview-about-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  margin-top: 2px;
  padding: 0 20px;
  border: 1px solid rgba(87, 173, 255, 0.78);
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(30, 82, 156, 0.2), rgba(115, 77, 201, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  color: #f0f5ff;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.overview-about-link span {
  color: #51c7ff;
  font-size: 19px;
  line-height: 1;
}

.overview-about-link:hover {
  transform: translateY(-1px);
  border-color: #51c7ff;
  background: linear-gradient(110deg, rgba(30, 104, 190, 0.3), rgba(115, 77, 201, 0.2));
}

.overview-about-footer {
  margin-top: auto;
  padding-top: clamp(32px, 5vw, 58px);
}

.overview-about-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #91a2c0;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.overview-about-kicker > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45d6cb;
  box-shadow: 0 0 12px rgba(69, 214, 203, 0.65);
}

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

.overview-principle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 77px;
  padding: 12px;
  border: 1px solid rgba(123, 158, 211, 0.15);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(21, 37, 64, 0.72), rgba(12, 19, 34, 0.75));
}

.overview-principle-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(74, 190, 255, 0.24);
  border-radius: 10px;
  background: rgba(54, 185, 255, 0.1);
  color: #63cbff;
  font-size: 14px;
}

.overview-principle > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.overview-principle-index {
  color: #8193b1;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.overview-principle strong {
  color: #e8effb;
  font-family: var(--font-display);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  line-height: 1.3;
}

.overview-about-signoff {
  margin: 12px 0 0;
  color: #8292ad;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(36px, 5vw, 55px);
}

.overview-skills {
  min-width: 0;
}

.overview-skills-heading {
  margin-bottom: 17px;
}

.overview-skills-heading .overview-heading-icon {
  align-self: center;
}

.overview-skills-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #8ad9ff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease, gap 180ms ease;
}

.overview-skills-link:hover {
  gap: 10px;
  color: #fff;
}

.overview-skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 42px);
  row-gap: 13px;
}

.overview-skill {
  min-width: 0;
}

.overview-skill-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: #edf3ff;
  font-family: var(--font-display);
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 600;
  line-height: 1.3;
}

.overview-skill-label span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.overview-skill-label span:last-child {
  color: #dce7fa;
  font-size: 12px;
  font-weight: 700;
}

.overview-skill-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(106, 127, 163, 0.16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
}

.overview-skill-track > span {
  display: block;
  width: var(--skill-level);
  height: 100%;
  border-radius: inherit;
  background: var(--skill-color);
  box-shadow: 0 0 12px var(--skill-color);
}

.overview-tech {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(159, 180, 218, 0.12);
}

.overview-tech > p {
  margin: 0 0 9px;
  color: #91a2c0;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.overview-tech > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.overview-tech span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--tech-accent) 48%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tech-accent) 13%, #0c1424);
  color: color-mix(in srgb, var(--tech-accent) 48%, white);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.overview-tech span::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tech-accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--tech-accent) 65%, transparent);
  content: "";
}

.overview-tech span:nth-child(1) { --tech-accent: #65c7ff; }
.overview-tech span:nth-child(2) { --tech-accent: #b69aff; }
.overview-tech span:nth-child(3) { --tech-accent: #72baff; }
.overview-tech span:nth-child(4) { --tech-accent: #ffad70; }
.overview-tech span:nth-child(5) { --tech-accent: #d29aff; }
.overview-tech span:nth-child(6) { --tech-accent: #ffd166; }
.overview-tech span:nth-child(7) { --tech-accent: #ffe16b; }
.overview-tech span:nth-child(8) { --tech-accent: #ff8c9b; }
.overview-tech span:nth-child(9) { --tech-accent: #68dcff; }
.overview-tech span:nth-child(10) { --tech-accent: #ffad78; }
.overview-tech span:nth-child(11) { --tech-accent: #75c9ff; }
.overview-tech span:nth-child(12) { --tech-accent: #5daeff; }
.overview-tech span:nth-child(13) { --tech-accent: #8e9bff; }
.overview-tech span:nth-child(14) { --tech-accent: #76ddaa; }
.overview-tech span:nth-child(15) { --tech-accent: #70bfff; }
.overview-tech span:nth-child(16) { --tech-accent: #64d2bf; }
.overview-tech span:nth-child(17) { --tech-accent: #79baff; }
.overview-tech span:nth-child(18) { --tech-accent: #b69aff; }
.overview-tech span:nth-child(19) { --tech-accent: #69c9ff; }
.overview-tech span:nth-child(20) { --tech-accent: #76dcff; }
.overview-tech span:nth-child(21) { --tech-accent: #ffad78; }
.overview-tech span:nth-child(22) { --tech-accent: #f0bf6c; }

@supports not (color: color-mix(in srgb, white, black)) {
  .overview-tech span {
    border-color: rgba(145, 169, 212, 0.26);
    background: rgba(32, 63, 117, 0.3);
    color: #e2eaff;
  }
}

.home-showcase {
  padding-block: clamp(46px, 5vw, 66px);
  border-top: 1px solid var(--line);
}

.home-showcase-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.home-showcase-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-showcase-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(54, 185, 255, 0.3);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(54, 185, 255, 0.2), rgba(137, 91, 255, 0.17));
  box-shadow: 0 8px 26px rgba(37, 135, 242, 0.16);
  color: #74d2ff;
  font-size: 19px;
}

.home-showcase-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.home-showcase-all {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(123, 158, 211, 0.54);
  border-radius: 999px;
  background: rgba(17, 27, 48, 0.52);
  color: #eef4ff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-showcase-all span {
  color: #63cbff;
  font-size: 16px;
}

.home-showcase-all:hover {
  transform: translateY(-2px);
  border-color: #63cbff;
  background: rgba(54, 185, 255, 0.1);
}

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

.home-project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(134, 162, 207, 0.17);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(19, 29, 49, 0.97), rgba(11, 17, 31, 0.98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.home-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(72, 185, 255, 0.48);
  box-shadow: 0 17px 35px rgba(0, 0, 0, 0.25), 0 0 24px rgba(54, 185, 255, 0.08);
}

.home-project-art {
  position: relative;
  height: clamp(160px, 18vw, 238px);
  overflow: hidden;
}

.home-project-art::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.03) 24%, rgba(7, 11, 22, 0.58) 100%);
}

.home-project-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 350ms ease;
}

.home-project-card:hover .home-project-photo {
  transform: scale(1.045);
}

.home-project-art-label {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  color: rgba(231, 240, 255, 0.7);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.home-project-art-shoes {
  --project-accent: #50c2ff;
  background: linear-gradient(135deg, #1a3e68, #101d3c 59%, #251d4e);
}

.home-project-art-speed {
  --project-accent: #46d9dc;
  background: linear-gradient(135deg, #0d344a, #101a39 57%, #202052);
}

.home-project-art-mushroom {
  --project-accent: #5de0b0;
  background: linear-gradient(135deg, #123f3b, #142d38 55%, #1b2549);
}

.home-project-art-mushroom .home-project-photo {
  object-position: center 78%;
}

.home-project-art-study {
  --project-accent: #a48aff;
  background: linear-gradient(135deg, #273c80, #192e5a 55%, #392866);
}

.home-project-info {
  position: relative;
  min-height: 126px;
  padding: 14px 15px 15px;
}

.home-project-info h3 {
  margin: 0;
  color: #f3f6ff;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.home-project-info p {
  min-height: 20px;
  margin: 4px 0 10px;
  color: #bdc9db;
  font-size: 12px;
  line-height: 1.45;
}

.home-project-category {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid rgba(137, 91, 255, 0.25);
  border-radius: 999px;
  background: rgba(101, 57, 219, 0.2);
  color: #c5a6ff;
  font-size: 10px;
  font-weight: 600;
}

.home-project-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(120, 171, 235, 0.48);
  border-radius: 50%;
  background: rgba(79, 131, 201, 0.12);
  color: #e7f2ff;
  font-size: 12px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-project-card:hover .home-project-arrow {
  transform: translateX(2px);
  background: rgba(54, 185, 255, 0.2);
  color: #65d0ff;
}

.home-community {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin-top: 35px;
  padding-top: 27px;
  border-top: 1px solid rgba(138, 164, 207, 0.15);
}

.home-community > section {
  min-width: 0;
  padding-inline: clamp(18px, 2.5vw, 34px);
}

.home-community > section:first-child {
  padding-left: 0;
}

.home-community > section + section {
  border-left: 1px solid rgba(68, 105, 163, 0.32);
}

.home-community-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 17px;
  color: #f1f5ff;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.home-community-heading > i {
  color: #39baff;
  font-size: 22px;
  filter: drop-shadow(0 0 11px rgba(54, 185, 255, 0.3));
}

.home-testimonial-note {
  margin: -8px 0 12px;
  color: #93a6c4;
  font-size: 11px;
  line-height: 1.5;
}

.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-stat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 7px 12px 3px;
  text-align: left;
}

.home-stat:first-child {
  padding-left: 0;
}

.home-stat + .home-stat {
  border-left: 1px solid rgba(68, 105, 163, 0.32);
}

.home-stat > i {
  margin-bottom: 8px;
  color: #45d6cb;
  font-size: 23px;
}

.home-stat:nth-child(2) > i { color: #6bceae; }
.home-stat:nth-child(3) > i { color: #b282ff; }

.home-stat strong {
  color: #f4f7ff;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.home-stat span {
  margin-top: 4px;
  color: #c4cede;
  font-size: 11px;
  line-height: 1.35;
}

.home-quote-carousel {
  min-width: 0;
}

.home-quote-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 164px;
  padding: 16px;
  border: 1px solid rgba(131, 119, 222, 0.25);
  border-radius: 16px;
  background: linear-gradient(125deg, rgba(32, 39, 82, 0.73), rgba(20, 25, 55, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 12px 30px rgba(0, 0, 0, 0.12);
}

.home-quote-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(70, 190, 255, 0.35);
  border-radius: 50%;
  background: linear-gradient(145deg, #254a72, #4b3577);
  box-shadow: 0 0 20px rgba(54, 185, 255, 0.12);
  color: #ecf5ff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.home-quote-content {
  min-width: 0;
}

.home-quote-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: #8d9fbd;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.home-quote-label span {
  color: #68caff;
  white-space: nowrap;
}

.home-quote-content blockquote {
  min-height: 57px;
  margin: 0;
  color: #e2e8f4;
  font-size: 12px;
  line-height: 1.65;
}

.home-quote-content blockquote span {
  border-radius: 3px;
  color: inherit;
  transition: color 260ms ease, text-shadow 260ms ease, background-color 260ms ease;
}

.home-quote-content blockquote span.is-highlighted {
  background-color: rgba(54, 185, 255, 0.13);
  color: #8bdcff;
  text-shadow: 0 0 14px rgba(54, 185, 255, 0.25);
}

.home-quote-content blockquote.is-entering {
  animation: quote-arrive 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes quote-arrive {
  from {
    transform: translateY(8px);
    opacity: 0;
    filter: blur(3px);
  }
  to {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

.home-quote-content > p {
  display: grid;
  gap: 2px;
  margin: 12px 0 0;
  font-size: 11px;
}

.home-quote-content strong {
  color: #f1f5ff;
  font-weight: 600;
}

.home-quote-content > p span {
  color: #94a4bd;
}

.home-quote-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.home-quote-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
}

.home-quote-indicators button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #39445b;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-quote-indicators button.is-active {
  width: 22px;
  border-radius: 99px;
  background: #46baff;
  box-shadow: 0 0 10px rgba(70, 186, 255, 0.5);
}

.home-quote-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(120, 171, 235, 0.48);
  border-radius: 50%;
  background: rgba(79, 131, 201, 0.12);
  color: #e7f2ff;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-quote-arrow:hover {
  transform: translateY(-1px);
  border-color: #63cbff;
  background: rgba(54, 185, 255, 0.18);
  color: #65d0ff;
}

.home-quote-arrow:focus-visible,
.home-quote-indicators button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .home-quote-content blockquote.is-entering {
    animation: none;
  }
}

.button-outline {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 11px;
}

.project-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(133, 164, 222, 0.19);
  border-radius: 21px;
  background: linear-gradient(120deg, #101a2d, #0b1120 75%);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.project-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(54, 185, 255, 0.52);
  box-shadow: 0 22px 65px rgba(15, 92, 175, 0.14);
}

.project-art {
  position: relative;
  display: grid;
  min-height: 300px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(ellipse at 48% 58%, rgba(51, 229, 198, 0.22), transparent 23%),
    radial-gradient(ellipse at 48% 58%, rgba(44, 104, 237, 0.3), transparent 49%),
    linear-gradient(145deg, #101e39, #0c1424 67%, #171343);
}

.art-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(138, 177, 229, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 177, 229, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(transparent, black 18%, black 82%, transparent);
  opacity: 0.55;
}

.art-orbit {
  position: absolute;
  z-index: 1;
  width: 198px;
  height: 198px;
  border: 1px solid rgba(58, 204, 246, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 48px rgba(45, 154, 255, 0.15), inset 0 0 42px rgba(55, 121, 242, 0.11);
}

.orbit-two {
  width: 270px;
  height: 270px;
  border-color: rgba(122, 102, 255, 0.29);
  transform: rotateX(63deg) rotate(-23deg);
}

.orbit-one {
  transform: rotateX(63deg) rotate(31deg);
}

.art-signal {
  position: relative;
  z-index: 2;
  display: grid;
  width: 95px;
  height: 95px;
  place-items: center;
  border: 1px solid rgba(94, 227, 221, 0.55);
  border-radius: 27px;
  transform: rotate(-8deg);
  background: linear-gradient(145deg, rgba(17, 61, 93, 0.95), rgba(19, 30, 74, 0.95));
  box-shadow: 0 0 55px rgba(51, 214, 208, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #6affd8;
  font-size: 39px;
}

.art-signal i {
  transform: rotate(8deg);
}

.art-data {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  padding: 9px 11px;
  border: 1px solid rgba(153, 192, 230, 0.18);
  border-radius: 9px;
  background: rgba(8, 18, 35, 0.78);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.art-data span {
  color: #7d95b7;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 1px;
}

.art-data strong {
  color: #eaf5ff;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.3px;
}

.art-data strong i {
  color: #59e4b7;
}

.art-data strong b {
  color: var(--cyan);
}

.data-top {
  top: 22%;
  right: 12%;
}

.data-bottom {
  bottom: 21%;
  left: 11%;
}

.project-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 36px clamp(25px, 4vw, 55px);
}

.project-type {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin: 0 0 19px;
  color: #8190aa;
  font-size: 8px;
  letter-spacing: 1.2px;
}

.project-type span:first-child {
  color: var(--cyan);
}

.project-details h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.2vw, 38px);
  letter-spacing: -1.5px;
}

.project-details h3 span {
  color: #78ccff;
}

.project-description {
  margin: 13px 0 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags span {
  padding: 4px 9px;
  border-color: rgba(73, 194, 237, 0.17);
  background: rgba(56, 167, 234, 0.08);
  color: #a3dfff;
  font-size: 9px;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: #e4f6ff;
  font-size: 11px;
  font-weight: 600;
}

.project-cta i {
  color: var(--blue);
  font-size: 10px;
  transition: transform 180ms ease;
}

.project-feature:hover .project-cta i {
  transform: translate(3px, -3px);
}

.project-footnote {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 17px;
  color: #74839b;
  font-size: 9px;
}

.project-footnote > span {
  font-size: 8px;
}

.project-footnote a {
  color: #a3b4ce;
  font-size: 10px;
}

.project-footnote a span {
  margin-left: 5px;
  color: var(--blue);
}

.approach-section {
  border-top: 1px solid var(--line);
}

.heading-aside {
  max-width: 245px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.principle-card {
  position: relative;
  min-height: 185px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(19, 29, 49, 0.8), rgba(11, 16, 29, 0.74));
  transition: transform 180ms ease, border-color 180ms ease;
}

.principle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 179, 246, 0.42);
}

.principle-number {
  position: absolute;
  top: 17px;
  right: 18px;
  color: #61708b;
  font-family: var(--font-display);
  font-size: 9px;
}

.principle-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(64, 182, 255, 0.21);
  border-radius: 11px;
  background: rgba(54, 185, 255, 0.08);
  color: #64ccff;
  font-size: 14px;
}

.principle-card:nth-child(2) .principle-icon {
  border-color: rgba(153, 118, 255, 0.24);
  background: rgba(137, 91, 255, 0.1);
  color: #b09aff;
}

.principle-card:nth-child(3) .principle-icon {
  border-color: rgba(66, 224, 187, 0.22);
  background: rgba(49, 228, 222, 0.08);
  color: #67e9ce;
}

.principle-card h3 {
  margin: 14px 0 5px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: -0.3px;
}

.principle-card p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.contact-section {
  padding-top: 35px;
  padding-bottom: 68px;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  overflow: hidden;
  padding: clamp(27px, 5vw, 51px);
  border: 1px solid rgba(99, 145, 222, 0.28);
  border-radius: 21px;
  background: linear-gradient(112deg, #101b32, #0d1426 61%, #121237);
}

.contact-glow {
  position: absolute;
  top: -160px;
  left: 38%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(41, 126, 255, 0.11);
  filter: blur(75px);
  pointer-events: none;
}

.contact-copy,
.contact-aside {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  margin-top: 17px;
  font-size: clamp(39px, 5vw, 58px);
}

.contact-copy > p {
  max-width: 370px;
  margin: 15px 0 20px;
  color: var(--muted);
  font-size: 12px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding-left: 30px;
  border-left: 1px solid rgba(151, 174, 218, 0.17);
}

.contact-aside-label {
  margin-bottom: 2px;
  color: #8696b2;
  font-size: 8px;
}

.contact-aside > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #eaf3ff;
  font-size: 12px;
}

.contact-aside > a i {
  color: #77cfff;
  font-size: 9px;
}

.contact-aside > a:hover {
  color: #8fe1ff;
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #9baac0;
  font-size: 10px;
}

.contact-location > i {
  color: var(--purple);
}

.contact-location .availability-dot {
  margin-left: 3px;
  transform: scale(0.7);
}

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(9px); opacity: 0; }
}

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

@keyframes grow {
  to { transform: scaleX(1); }
}

@keyframes portrait-in {
  from { transform: scale(1.06); opacity: 0.45; }
  to { transform: scale(1); opacity: 1; }
}

@media (min-width: 1450px) {
  .hero {
    min-height: 730px;
  }

  .hero-visual {
    height: 570px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    min-height: 66px;
    gap: 18px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 7px 24px 15px;
    transform: translateY(-8px);
    border-bottom: 1px solid var(--line);
    background: rgba(7, 11, 22, 0.97);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-link {
    padding: 11px 0;
    font-size: 13px;
  }

  .nav-link::after {
    right: auto;
    bottom: 5px;
    width: 35px;
  }

  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 14px;
    height: 1.5px;
    border-radius: 3px;
    background: #eef5ff;
    transition: transform 180ms ease;
  }

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

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

  .hero {
    min-height: 620px;
  }

  .hero-visual {
    height: 455px;
  }

  .hero h1 {
    font-size: clamp(68px, 10vw, 95px);
  }

  .section-shell {
    width: min(100% - 48px, 760px);
  }

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

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

@media (max-width: 620px) {
  .site-header {
    padding-inline: 20px;
  }

  .brand {
    font-size: 15px;
  }

  .header-resume {
    gap: 7px;
    padding: 7px 10px;
    font-size: 10px;
  }

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

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 67px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
    letter-spacing: 1.3px;
  }

  .hero h1 {
    font-size: clamp(69px, 18vw, 100px);
  }

  .hero-lede {
    max-width: 430px;
    margin-top: 18px;
    font-size: 13px;
  }

  .hero-socials {
    margin-top: 20px;
  }

  .hero-visual {
    width: min(100% - 12px, 415px);
    height: clamp(360px, 105vw, 485px);
    justify-self: center;
  }

  .portrait-frame {
    inset-inline: 15px 18px;
    border-radius: 43% 43% 22px 22px;
  }

  .hero-portrait {
    object-position: 51% 38%;
  }

  .note-code {
    left: -6px;
  }

  .note-spark {
    right: -2px;
  }

  .portrait-index {
    right: -29px;
  }

  .scroll-cue {
    bottom: 19px;
  }

  .hero-grid-mark {
    right: 0;
    bottom: 50px;
    font-size: 73px;
  }

  .home-overview,
  .home-showcase {
    padding-top: 58px;
    padding-bottom: 56px;
  }

  .home-showcase-heading {
    align-items: flex-start;
  }

  .home-showcase-title {
    gap: 10px;
  }

  .home-showcase-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .home-showcase-title h2 {
    font-size: clamp(24px, 6vw, 30px);
  }

  .home-showcase-all {
    min-height: 38px;
    gap: 6px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .home-project-grid {
    gap: 10px;
  }

  .home-project-art {
    height: clamp(140px, 38vw, 190px);
  }

  .home-project-info {
    min-height: 132px;
    padding: 12px 11px;
  }

  .home-project-info h3 {
    font-size: 15px;
  }

  .home-project-info p {
    min-height: 35px;
    font-size: 11px;
  }

  .home-project-category {
    max-width: calc(100% - 30px);
    padding-inline: 8px;
    font-size: 9px;
  }

  .home-project-arrow {
    right: 9px;
    bottom: 11px;
    width: 27px;
    height: 27px;
  }

  .home-community {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 27px;
    padding-top: 23px;
  }

  .home-community > section,
  .home-community > section:first-child {
    grid-column: auto;
    padding: 0;
    border-top: 0;
    border-left: 0;
  }

  .home-community > section + section {
    padding-top: 20px;
    border-top: 1px solid rgba(68, 105, 163, 0.32);
  }

  .home-community-heading {
    margin-bottom: 13px;
    font-size: 19px;
  }

  .home-quote-card {
    min-height: auto;
  }

  .home-overview {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .overview-about {
    text-align: center;
    padding: 0 0 27px;
    border-right: 0;
    border-bottom: 1px solid rgba(54, 133, 255, 0.3);
  }

  .overview-heading {
    justify-content: center;
  }

  .overview-about-footer {
    padding-top: 32px;
    text-align: left;
  }

  .overview-about-kicker {
    justify-content: center;
  }

  .overview-principle {
    gap: 8px;
    padding: 10px 8px;
  }

  .overview-principle-icon {
    width: 30px;
    height: 30px;
  }

  .overview-about-signoff {
    text-align: center;
  }

  .overview-about h2,
  .section-heading h2 {
    font-size: clamp(36px, 10vw, 49px);
  }

  .overview-intro {
    margin-inline: auto;
    margin-bottom: 18px;
    font-size: 15px;
  }

  .overview-skills-heading {
    gap: 12px;
  }

  .overview-heading-icon {
    font-size: 32px;
  }

  .overview-skills-heading h2 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .overview-skills-link {
    font-size: 11px;
  }

  .overview-tech > div {
    justify-content: space-between;
    column-gap: 10px;
    row-gap: 9px;
  }

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

  .project-art {
    min-height: 225px;
  }

  .project-details {
    padding: 24px;
  }

  .project-type {
    margin-bottom: 11px;
  }

  .project-details h3 {
    font-size: 31px;
  }

  .project-description {
    margin-block: 9px 13px;
  }

  .project-cta {
    margin-top: 17px;
  }

  .project-footnote {
    flex-direction: column;
    gap: 4px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .principle-card {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    min-height: auto;
    align-items: center;
    gap: 0 13px;
    padding: 16px;
  }

  .principle-icon {
    grid-row: span 2;
  }

  .principle-card h3 {
    margin: 0 20px 2px 0;
    font-size: 14px;
  }

  .principle-card p {
    grid-column: 2 / 4;
    margin-right: 10px;
  }

  .principle-number {
    top: 13px;
    right: 13px;
    font-size: 8px;
  }

  .heading-aside {
    display: none;
  }

  .contact-section {
    padding-top: 10px;
    padding-bottom: 43px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 25px 21px;
  }

  .contact-copy h2 {
    font-size: clamp(39px, 11vw, 53px);
  }

  .contact-aside {
    gap: 11px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(151, 174, 218, 0.17);
    border-left: 0;
  }

}

@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;
  }
}

/* Shared visual system for the standalone portfolio pages. */
:root {
  --primary: #36b9ff;
  --primary-dark: #258ad5;
  --secondary: #31e4de;
  --accent-1: #31e4de;
  --accent-2: #36b9ff;
  --gradient-1: linear-gradient(110deg, #1689fc, #36c5ed);
  --gradient-2: linear-gradient(120deg, #36b9ff, #895bff);
  --gradient-3: linear-gradient(120deg, #36b9ff, #31e4de);
  --gradient-4: linear-gradient(120deg, #477bff, #895bff);
  --gradient-5: linear-gradient(120deg, #31bfa6, #31e4de);
  --gradient-6: linear-gradient(120deg, #895bff, #36b9ff);
  --bg-light: #070b16;
  --bg-card: rgba(17, 27, 48, 0.88);
  --bg-glass: rgba(17, 27, 48, 0.74);
  --text-primary: #f3f6ff;
  --text-secondary: #bdc9db;
  --text-muted: #94a3bb;
  --border-glass: rgba(159, 180, 218, 0.14);
  --shadow-glow: 0 20px 60px rgba(37, 132, 255, 0.17);
  --shadow-card: 0 15px 40px rgba(0, 0, 0, 0.28);
}

body {
  background:
    radial-gradient(ellipse at 80% 6%, rgba(32, 90, 206, 0.13), transparent 34rem),
    radial-gradient(ellipse at 15% 50%, rgba(68, 42, 158, 0.09), transparent 32rem),
    var(--page) !important;
  color: var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: 15px;
  line-height: 1.7;
}

body :not(i):not(svg):not([class*="fa-"]):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  font-family: var(--font-body) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .section-title,
body .category-header,
body .project-title,
body .modal-title {
  font-family: var(--font-display) !important;
  letter-spacing: -0.035em;
}

body :is(.about-main, .skills-main, .projects-main, .contact-main) {
  color: var(--ink) !important;
}

body :is(.about-main, .skills-main, .projects-main, .contact-main) :is(h1, h2, h3, h4, h5, h6, p, li, label, .subtitle, .skill-name, .percent, .count, .number, .label, .project-title, .project-desc, .metric) {
  color: var(--text-primary);
}

body :is(.about-main, .skills-main, .projects-main, .contact-main) :is(p, .subtitle, .skill-name, .project-desc, .metric) {
  line-height: 1.75;
}

body :is(.about-main, .skills-main, .projects-main, .contact-main) :is(.badge, .btn-primary, .submit-btn, .btn-live, .btn-case) {
  background: var(--gradient-1);
}

body :is(.about-main, .skills-main, .projects-main, .contact-main) :is(.badge, .btn-primary, .submit-btn, .btn-live, .btn-case, .btn-outline) {
  color: #f7fbff;
}

body .about-main,
body .skills-main,
body .projects-main,
body .contact-main {
  padding-top: 40px;
  padding-bottom: 65px;
}

body :is(.about-intro, .skills-hero, .projects-hero, .contact-hero) {
  margin-bottom: 36px;
}

body :is(.about-intro h1, .skills-hero h1, .projects-hero h1, .contact-hero h1) {
  color: #f4f7ff;
  font-size: clamp(38px, 5.2vw, 61px);
  font-weight: 700;
  line-height: 1.1;
}

body :is(.about-intro, .skills-hero, .projects-hero, .contact-hero) :is(p, .subtitle) {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  color: #bdc9db;
  font-size: 15px;
  line-height: 1.85;
}

body :is(.about-intro, .skills-hero, .projects-hero, .contact-hero) strong {
  color: #78ccff;
}

body .about-main :is(.about-card, .project-card-about) {
  border-color: var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(17, 27, 48, 0.94), rgba(11, 17, 31, 0.94));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.19);
  color: var(--ink);
}

body .about-main :is(.about-card, .project-card-about) :is(h2, h3, h4, p, span, li, .cert-name, .skill-name, .cap-item) {
  color: var(--text-primary);
}

body .about-main :is(.skill-row, .cert-item, .cap-item, .projects-filter) {
  border-color: var(--line);
}

body .about-main :is(.bar-track, .skill-row .bar-track) {
  background: rgba(159, 180, 218, 0.16);
}

body .skills-main .skills-category {
  border-color: var(--line);
}

body .skills-main .category-header {
  border-color: rgba(159, 180, 218, 0.14);
}

body .skills-main .category-header :is(h2, h3, .count) {
  color: var(--ink);
}

body .skills-main .skill-card-modern {
  border: 1px solid rgba(159, 180, 218, 0.15);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(17, 27, 48, 0.96), rgba(11, 17, 31, 0.96));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  color: var(--ink);
}

body .skills-main .skill-card-modern :is(h4, p, .percent) {
  color: var(--text-primary);
}

body .skills-main .skill-tags span,
body .about-main .tech-tag {
  border: 1px solid rgba(54, 185, 255, 0.2);
  border-radius: 999px;
  background: rgba(54, 185, 255, 0.08);
  color: #b7e5ff;
}

body .projects-main .project-card {
  overflow: hidden;
  border: 1px solid rgba(159, 180, 218, 0.16);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(17, 27, 48, 0.97), rgba(11, 17, 31, 0.97));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  color: var(--ink);
}

body .projects-main .project-card :is(h3, p, span, .metric) {
  color: var(--text-primary);
}

body .projects-main .placeholder-img {
  background: linear-gradient(145deg, #132c4b, #1a1740);
  color: #72d6ff;
}

body .projects-main :is(.filter-bar, .search-wrapper, .modal-content) {
  border-color: var(--line);
  background-color: var(--panel);
  color: var(--ink);
}

body .projects-main .filter-btn {
  border-color: var(--line);
  background: rgba(159, 180, 218, 0.06);
  color: var(--text-secondary);
}

body .projects-main .filter-btn.active,
body .projects-main .filter-btn:hover {
  border-color: rgba(54, 185, 255, 0.45);
  background: rgba(54, 185, 255, 0.14);
  color: #d7f0ff;
}

body .projects-main .search-wrapper input,
body .contact-main :is(input, select, textarea) {
  border-color: rgba(159, 180, 218, 0.2);
  background: rgba(7, 11, 22, 0.68);
  color: #f3f6ff;
}

body .projects-main .search-wrapper input::placeholder,
body .contact-main :is(input, textarea)::placeholder {
  color: #8290a9;
}

body .projects-main .modal-content :is(h2, h3, p, span, li, .modal-title) {
  color: var(--text-primary);
}

body .contact-main :is(.contact-info, .contact-form-wrapper, .location-section, .location-card) {
  border-color: var(--line);
  background: linear-gradient(145deg, rgba(17, 27, 48, 0.94), rgba(11, 17, 31, 0.94));
  color: var(--ink);
}

body .contact-main :is(.contact-info, .contact-form-wrapper, .location-section, .location-card) :is(h2, h3, h4, p, label, span, a) {
  color: var(--text-primary);
}

body .contact-main :is(.contact-info, .contact-form-wrapper, .location-section, .location-card) :is(.info-subtitle, .form-subtitle) {
  color: var(--muted);
}

body .contact-main .icon-circle {
  border-color: rgba(54, 185, 255, 0.28);
  background: rgba(54, 185, 255, 0.1);
  color: #73d5ff;
}

body .contact-main .submit-btn {
  border: 0;
  background: var(--gradient-1);
}

body #site-header {
  display: block;
  position: fixed !important;
  z-index: 1000 !important;
  view-transition-name: site-header;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: 72px;
  padding: 0;
  border-bottom: 1px solid rgba(159, 180, 218, 0.13) !important;
  background: rgba(4, 9, 23, 0.92) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px) !important;
}

body #site-header .header-container {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 18px;
  max-width: none;
  min-height: 71px;
  margin: 0;
  padding: 6px clamp(22px, 2.8vw, 52px);
}

body #site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  color: #f3f6ff !important;
  font-family: var(--font-display) !important;
  text-decoration: none;
}

body #site-header .brand-mark {
  background: linear-gradient(145deg, #18d8ff, #126bff 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display) !important;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

body #site-header .header-brand-name {
  color: #f3f6ff;
  font-family: var(--font-display) !important;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

body #site-header .header-brand-name span {
  color: #f3f6ff;
}

body #site-header .logo-img {
  width: 76px;
  height: 45px;
  object-fit: contain;
}

body #site-header .nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 0;
  padding: 3px;
  border: 1px solid rgba(37, 115, 255, 0.22);
  border-radius: 999px;
  background: rgba(4, 16, 40, 0.76);
  box-shadow: inset 0 1px rgba(153, 191, 255, 0.05);
}

body #site-header .nav a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(10px, 1.15vw, 17px);
  border-radius: 999px;
  color: #b7c0d2 !important;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

body #site-header .nav a::after {
  position: absolute;
  right: 20px;
  bottom: 1px;
  left: 20px;
  width: auto;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 2px;
  background: #00c8ff !important;
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.55);
  content: "";
  transition: transform 180ms ease;
}

body #site-header .nav a:hover,
body #site-header .nav a[aria-current="page"] {
  background: rgba(7, 37, 84, 0.62);
  color: #16c6ff !important;
}

body #site-header .nav a:hover::after,
body #site-header .nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

body #site-header .header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border: 1px solid transparent !important;
  border-radius: 999px;
  background:
    linear-gradient(rgba(4, 11, 30, 0.88), rgba(4, 11, 30, 0.88)) padding-box,
    linear-gradient(105deg, #168cff, #9b16ff) border-box;
  color: #eaf5ff !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

body #site-header .header-cta:hover {
  box-shadow: 0 8px 24px rgba(54, 120, 255, 0.2);
  transform: translateY(-1px);
}

body #site-header .header-cta i {
  font-size: 12px;
}

body #site-header .menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 13px;
  background:
    linear-gradient(rgba(5, 15, 37, 0.94), rgba(5, 15, 37, 0.94)) padding-box,
    linear-gradient(145deg, rgba(24, 208, 255, 0.9), rgba(48, 105, 255, 0.72) 58%, rgba(139, 72, 255, 0.8)) border-box;
  color: #eaf4ff;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

body #site-header .menu-toggle:hover {
  box-shadow: 0 0 0 4px rgba(31, 136, 255, 0.1), 0 7px 20px rgba(0, 103, 255, 0.24);
  transform: translateY(-1px);
}

body #site-header .menu-toggle:active {
  transform: translateY(0) scale(0.97);
}

body #site-header .menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #eaf4ff !important;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

body #site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

body.home-page {
  padding-top: 72px;
}

body #footer-placeholder #site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 48px 24px 18px;
  border-top: 1px solid rgba(85, 155, 237, 0.22) !important;
  background:
    radial-gradient(ellipse at 50% 0, rgba(47, 134, 236, 0.1), transparent 58%),
    #080d19 !important;
  color: #b7c5d9 !important;
}

body #footer-placeholder #site-footer .footer-container {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(150px, 0.7fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 78px);
  width: min(100%, 1120px);
  margin: 0 auto;
}

body #footer-placeholder #site-footer :is(.footer-brand, .footer-links, .footer-contact) {
  min-width: 0;
}

body #footer-placeholder #site-footer .footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #f3f7ff;
  text-decoration: none;
}

body #footer-placeholder #site-footer .footer-brand-mark {
  color: #39b8ff;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

body #footer-placeholder #site-footer .footer-brand-mark span {
  color: #a48aff;
}

body #footer-placeholder #site-footer .footer-brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

body #footer-placeholder #site-footer .footer-brand-name span {
  color: #8da1bf;
}

body #footer-placeholder #site-footer .footer-brand > p {
  max-width: 300px;
  margin: 12px 0 0;
  color: #9cacc4;
  font-size: 13px;
  line-height: 1.7;
}

body #footer-placeholder #site-footer :is(.footer-links h4, .footer-contact h4) {
  margin: 5px 0 16px;
  color: #f1f5ff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body #footer-placeholder #site-footer .footer-link-list {
  display: grid;
  justify-items: start;
  gap: 10px;
}

body #footer-placeholder #site-footer .footer-link-list a,
body #footer-placeholder #site-footer .footer-bottom a {
  color: #aebbd0;
  font-size: 12px;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

body #footer-placeholder #site-footer .footer-link-list a:hover,
body #footer-placeholder #site-footer .footer-bottom a:hover {
  color: #5bc4ff;
}

body #footer-placeholder #site-footer .footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 10px;
  color: #c1cde0;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}

body #footer-placeholder #site-footer .footer-contact-link i {
  width: 16px;
  flex: 0 0 16px;
  color: #ff5b83;
  text-align: center;
}

body #footer-placeholder #site-footer .footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 17px;
}

body #footer-placeholder #site-footer .footer-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(138, 161, 197, 0.19);
  border-radius: 14px;
  background: rgba(159, 180, 218, 0.06) !important;
  color: #c6d6ed;
  font-size: 15px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

body #footer-placeholder #site-footer .footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(72, 185, 255, 0.55);
  background: rgba(54, 185, 255, 0.13) !important;
  color: #68ccff;
}

body #footer-placeholder #site-footer .footer-socials a[aria-label="LinkedIn"]:hover {
  border-color: #0a66c2;
  background: #0a66c2 !important;
  color: #fff;
}

body #footer-placeholder #site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1120px);
  margin: 36px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(138, 161, 197, 0.13);
  color: #77869f;
  font-size: 11px;
}

body #footer-placeholder #site-footer .footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  body #footer-placeholder #site-footer {
    padding: 28px 18px 14px;
  }

  body #footer-placeholder #site-footer .footer-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: min(100%, 420px);
  }

  body #footer-placeholder #site-footer :is(.footer-brand, .footer-links, .footer-contact) {
    text-align: center;
  }

  body #footer-placeholder #site-footer .footer-brand-link {
    justify-content: center;
    gap: 9px;
  }

  body #footer-placeholder #site-footer .footer-brand-mark {
    font-size: 34px;
  }

  body #footer-placeholder #site-footer .footer-brand > p {
    max-width: 34ch;
    margin: 5px auto 0;
    font-size: 12px;
    line-height: 1.5;
  }

  body #footer-placeholder #site-footer .footer-links h4,
  body #footer-placeholder #site-footer .footer-contact h4 {
    margin: 0 0 8px;
    color: #f1f5ff;
    font-size: 12px;
  }

  body #footer-placeholder #site-footer .footer-link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    width: min(100%, 360px);
    margin: 0 auto;
  }

  body #footer-placeholder #site-footer .footer-link-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #27344a;
    border-radius: 10px;
    background: #111a2a;
    color: #c3cee0;
    font-size: 11px;
  }

  body #footer-placeholder #site-footer .footer-contact-link {
    justify-content: center;
    width: 100%;
    margin: 0 0 7px;
    font-size: 12px;
  }

  body #footer-placeholder #site-footer .footer-socials {
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  body #footer-placeholder #site-footer .footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 16px;
  }

  body #footer-placeholder #site-footer .footer-bottom {
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 12px;
    font-size: 10px;
    width: min(100%, 420px);
  }
}

@media (max-width: 360px) {
  body #footer-placeholder #site-footer {
    padding-inline: 14px;
  }

  body #footer-placeholder #site-footer .footer-link-list {
    gap: 5px;
  }

  body #footer-placeholder #site-footer .footer-link-list a {
    min-height: 32px;
    padding-inline: 8px;
    font-size: 10px;
  }

  body #footer-placeholder #site-footer .footer-bottom {
    font-size: 9px;
  }
}

.footer-load-error {
  margin: 0;
  padding: 18px 22px;
  border-top: 1px solid rgba(85, 155, 237, 0.22);
  background: #080d19;
  color: #b7c5d9;
  text-align: center;
}

.footer-load-error a {
  color: #5bc4ff;
}

body .smartmushroom-page {
  --ink: #edf5f2;
  --ink-soft: #d3ded9;
  --muted: #a6b8b0;
  --moss: #55c5a1;
  --moss-dark: #298c79;
  --spore: #65e0c3;
  --rust: #56bfff;
  --rust-dark: #368fdb;
  --paper: #0a1020;
  --paper-alt: #0e1728;
  --card: #121d30;
  --line: rgba(159, 180, 218, 0.16);
  --shadow-moss: rgba(49, 228, 222, 0.11);
  --shadow-rust: rgba(54, 185, 255, 0.12);
  background: transparent !important;
  color: var(--ink-soft) !important;
  font-family: var(--font-body) !important;
}

body .smartmushroom-page :not(i):not(svg):not([class*="fa-"]):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  font-family: var(--font-body) !important;
}

body .smartmushroom-page :is(h1, h2, h3, h4, h5, h6) {
  color: var(--ink) !important;
  font-family: var(--font-display) !important;
  letter-spacing: -0.035em;
}

body .smartmushroom-page :is(p, li, .story-content, .section-description) {
  color: var(--ink-soft);
  line-height: 1.8;
}

body .smartmushroom-page .story-section.alt {
  background: linear-gradient(115deg, rgba(14, 23, 40, 0.94), rgba(10, 16, 32, 0.8));
}

body .smartmushroom-page .glass-card {
  border-color: var(--line);
  background: rgba(17, 27, 48, 0.86);
  color: var(--ink-soft);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

body .smartmushroom-page .tag {
  border-color: rgba(54, 185, 255, 0.24);
  background: rgba(54, 185, 255, 0.1);
  color: #c0e8ff;
}

body .smartmushroom-page .action-btn {
  border-color: var(--line);
  background: rgba(17, 27, 48, 0.9);
  color: var(--ink);
}

body .smartmushroom-page .action-btn.primary {
  border-color: transparent;
  background: var(--gradient-1);
  color: #fff;
}

body .smartmushroom-page .footer-meta {
  border-color: var(--line);
  color: var(--muted);
}

body.home-page .site-header {
  position: relative;
  z-index: 20;
  grid-template-columns: 1fr auto 1fr;
  min-height: 72px;
  padding-inline: clamp(22px, 3.3vw, 60px);
  border-bottom-color: rgba(159, 180, 218, 0.1);
  background: rgba(4, 9, 23, 0.68);
  backdrop-filter: blur(18px);
}

body.home-page .brand {
  font-size: 24px;
}

body.home-page .brand-mark {
  font-size: 48px;
}

body.home-page .site-nav {
  gap: clamp(16px, 2.8vw, 52px);
}

body.home-page .nav-link {
  padding: 17px 0;
  font-size: 18px;
}

body.home-page .nav-link::after {
  bottom: 8px;
}

body.home-page .header-resume {
  gap: 10px;
  padding: 11px 22px;
  font-size: 16px;
}

body.home-page .header-resume i {
  color: #eaf5ff;
  font-size: 13px;
}

body.home-page .hero {
  width: 100%;
  min-height: min(686px, calc(100svh - 72px));
  grid-template-columns: 1fr;
  align-items: center;
  margin: 0;
  padding: 74px clamp(24px, 4.4vw, 82px) 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 75% 53%, rgba(0, 98, 255, 0.29), transparent 34%),
    radial-gradient(ellipse at 97% 60%, rgba(107, 31, 255, 0.28), transparent 30%),
    linear-gradient(112deg, #030919 8%, #071027 58%, #080c24 100%);
}

body.home-page .hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 62% 55%, rgba(0, 114, 255, 0.42), transparent 36%),
    linear-gradient(90deg, rgba(2, 8, 23, 0.97) 0%, rgba(2, 8, 23, 0.78) 44%, transparent 76%);
  content: "";
}

body.home-page .hero-copy {
  z-index: 3;
  width: min(58%, 860px);
  padding: 0 0 18px;
}

body.home-page .hello-chip {
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 22px;
  border-color: rgba(87, 145, 255, 0.25);
  background: rgba(30, 61, 119, 0.35);
  box-shadow: inset 0 0 0 1px rgba(110, 150, 255, 0.08);
  color: #55bfff;
  font-size: 26px;
  font-weight: 700;
}

body.home-page .hello-chip span {
  color: inherit;
}

body.home-page .hero h1 {
  font-family: var(--font-body);
  font-size: clamp(72px, 7.1vw, 130px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

body.home-page .hero-tagline {
  margin: 8px 0 17px;
  font-family: var(--font-body);
  font-size: clamp(24px, 3.3vw, 58px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.14;
  white-space: nowrap;
}

body.home-page .hero-tagline > span {
  background: linear-gradient(95deg, #04b8ff, #268aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.home-page .hero-tagline > .tagline-purple {
  background: linear-gradient(95deg, #9868ff, #c45bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.home-page .hero-lede {
  max-width: 790px;
  margin: 0 0 28px;
  color: #e2e8f4;
  font-size: clamp(16px, 1.45vw, 24px);
  line-height: 1.48;
}

body.home-page .hero-role,
body.home-page .hero-description {
  display: block;
}

body.home-page .hero-actions {
  gap: 24px;
}

body.home-page .hero-actions .button {
  min-height: 70px;
  gap: 14px;
  padding: 0 30px;
  font-size: 19px;
}

body.home-page .hero-actions .button-primary {
  background: linear-gradient(105deg, #0789ff, #348af7);
  box-shadow: 0 8px 27px rgba(0, 113, 255, 0.35);
  color: #fff;
}

body.home-page .hero-actions .button-quiet {
  min-width: 247px;
  border-color: rgba(176, 195, 234, 0.78);
  background: rgba(5, 10, 25, 0.3);
}

body.home-page .hero-socials {
  gap: 20px;
  margin-top: 18px;
}

body.home-page .hero-socials a {
  width: 54px;
  height: 54px;
  border-color: rgba(164, 183, 226, 0.08);
  background: rgba(136, 155, 199, 0.13);
  color: #f0f3fb;
  font-size: 25px;
}

body.home-page .hero-visual {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 56%;
  height: 100%;
  justify-self: auto;
  overflow: hidden;
  pointer-events: none;
}

body.home-page .hero-visual::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, #050b1b 0%, rgba(5, 11, 27, 0.78) 10%, rgba(5, 11, 27, 0.1) 42%, transparent 72%),
    linear-gradient(0deg, rgba(3, 8, 20, 0.3), transparent 38%),
    linear-gradient(135deg, rgba(4, 82, 214, 0.18), rgba(90, 30, 218, 0.17));
  content: "";
}

body.home-page .hero-visual::after {
  position: absolute;
  z-index: 0;
  top: -12%;
  right: -7%;
  width: 17%;
  height: 125%;
  transform: skewX(-31deg);
  background: linear-gradient(180deg, rgba(83, 29, 255, 0.72), rgba(90, 44, 255, 0.28));
  content: "";
}

body.home-page .hero-portrait {
  z-index: 1;
  object-position: 52% 34%;
  filter: saturate(0.88) contrast(1.05) brightness(0.78);
  mask-image: linear-gradient(90deg, transparent 0%, #000 25%, #000 100%);
}

body.home-page .hero-scene-code,
body.home-page .hero-scene-laptop,
body.home-page .hero-dots {
  display: none;
}

body.home-page .contact-section {
  padding-top: 24px;
  padding-bottom: 48px;
}

@media (max-width: 900px) {
  body #site-header .brand-mark {
    font-size: 36px;
  }

  body #site-header .header-brand-name {
    font-size: 19px;
  }

  body.home-page .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 18px;
  }

  body.home-page .site-nav {
    gap: 0;
  }

  body.home-page .hero-copy {
    width: 67%;
  }

  body.home-page .hero h1 {
    font-size: clamp(72px, 10vw, 96px);
  }

  body.home-page .hero-tagline {
    font-size: clamp(24px, 4vw, 36px);
  }

  body.home-page .hero-lede {
    font-size: 17px;
  }

  body.home-page .hero-actions .button {
    min-height: 56px;
    padding-inline: 20px;
    font-size: 15px;
  }

  body.home-page .hero-actions .button-quiet {
    min-width: 0;
  }

  body #site-header .nav {
    position: fixed;
    z-index: 1001;
    top: 64px;
    right: 0;
    left: auto;
    display: flex;
    width: min(320px, 86vw);
    height: calc(100dvh - 64px);
    max-height: calc(100dvh - 64px);
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-left: 1px solid var(--line);
    border-top: 1px solid rgba(159, 180, 218, 0.12);
    border-radius: 0 0 0 20px;
    background: rgba(5, 12, 29, 0.98) !important;
    box-shadow: -24px 18px 56px rgba(0, 0, 0, 0.38), inset 1px 0 rgba(110, 169, 255, 0.08);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  body #site-header .nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  body #site-header .nav a {
    flex: 0 0 auto;
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 10px 14px;
    border-radius: 11px;
    color: #d8e2f1 !important;
    font-size: 14px;
  }

  body #site-header .nav a[aria-current="page"] {
    background: linear-gradient(100deg, rgba(18, 102, 237, 0.22), rgba(103, 52, 214, 0.12));
    color: #47cbff !important;
  }

  body #site-header .nav a::after {
    right: auto;
    bottom: 4px;
    left: 14px;
    width: 34px;
  }

  body #site-header .header-container {
    grid-template-columns: 1fr auto;
    min-height: 63px;
    padding-inline: clamp(18px, 5vw, 34px);
  }

  body #site-header {
    min-height: 64px;
  }

  body.home-page {
    padding-top: 64px;
  }

  body #site-header .header-cta {
    display: none;
  }

  body #site-header .menu-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }

  body #site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (max-width: 600px) {
  body.home-page .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 44px;
    padding: 0 clamp(18px, 6.5vw, 28px);
    padding-left: clamp(24px, 9vw, 38px);
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
  }

  body.home-page .brand {
    gap: 7px;
    font-size: 17px;
  }

  body.home-page .brand-mark {
    background: linear-gradient(145deg, #18d8ff, #126bff 72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 37px;
  }

  body.home-page .header-resume {
    display: none;
  }

  body.home-page .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    gap: 5px;
  }

  body.home-page .menu-toggle span {
    width: 18px;
  }

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

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

  body.home-page .hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto clamp(190px, 42svh, 240px) auto auto auto;
    align-content: center;
    row-gap: 0;
    width: 100%;
    min-height: calc(100svh - 64px);
    margin: 0;
    padding: 3px 18px 5px;
    overflow: hidden;
    background:
      radial-gradient(ellipse at 50% 59%, rgba(0, 97, 255, 0.32), transparent 36%),
      radial-gradient(ellipse at 85% 58%, rgba(105, 17, 255, 0.26), transparent 36%),
      linear-gradient(128deg, transparent 0 20%, rgba(11, 51, 178, 0.31) 20.2%, transparent 25% 69%, rgba(25, 30, 124, 0.42) 69.2%, transparent 75%),
      linear-gradient(165deg, #03091c 0%, #071336 58%, #080c22 100%);
  }

  body.home-page .hero::before {
    z-index: 0;
    background:
      linear-gradient(132deg, transparent 0 14%, rgba(23, 68, 229, 0.2) 14.2%, transparent 16%),
      linear-gradient(305deg, transparent 0 65%, rgba(16, 104, 255, 0.12) 65.2%, transparent 72%);
  }

  body.home-page .hero-copy {
    display: contents;
  }

  body.home-page .hello-chip {
    display: flex;
    width: max-content;
    grid-row: 1;
    justify-self: center;
    margin: 0 0 3px;
    gap: 7px;
    padding: 1px 11px;
    border: 1px solid rgba(0, 148, 255, 0.72);
    border-radius: 999px;
    background: rgba(3, 17, 49, 0.84);
    box-shadow: 0 0 16px rgba(0, 98, 255, 0.18);
    font-size: 13px;
    line-height: 1.15;
  }

  body.home-page .hello-chip span {
    font-size: 15px;
  }

  body.home-page .hero h1 {
    grid-row: 2;
    margin: 0;
    font-size: clamp(50px, 13vw, 58px);
    letter-spacing: -0.065em;
    line-height: 0.94;
    text-align: center;
  }

  body.home-page .hero-name-accent {
    background: linear-gradient(110deg, #17dbff, #0879ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  body.home-page .hero-tagline {
    grid-row: 3;
    margin: 4px 0 0;
    font-size: clamp(18px, 5vw, 23px);
    letter-spacing: -0.05em;
    line-height: 1.08;
    white-space: normal;
    text-align: center;
  }

  body.home-page .hero-lede {
    display: contents;
  }

  body.home-page .hero-role {
    grid-row: 4;
    width: min(100%, 390px);
    justify-self: center;
    margin: 5px 0 0;
    color: #eff5ff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
  }

  body.home-page .hero-description {
    z-index: 4;
    grid-row: 6;
    width: min(100%, 385px);
    justify-self: center;
    margin: -20px 0 0;
    padding: 10px 18px;
    border: 1px solid rgba(51, 102, 255, 0.48);
    border-radius: 17px;
    background: linear-gradient(110deg, rgba(7, 37, 91, 0.91), rgba(19, 16, 78, 0.94));
    box-shadow: 0 10px 30px rgba(0, 0, 20, 0.3), inset 0 1px rgba(173, 206, 255, 0.12);
    backdrop-filter: blur(12px);
    color: #dce8ff;
    font-size: 13px;
    line-height: 1.24;
    text-align: center;
  }

  body.home-page .hero-actions {
    z-index: 5;
    grid-row: 7;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 365px);
    justify-self: center;
    margin: 5px 0 0;
    gap: 11px;
  }

  body.home-page .hero-actions .button {
    min-width: 0;
    height: 42px;
    min-height: 42px;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    font-size: clamp(11px, 3.3vw, 13px);
    line-height: 1;
    white-space: nowrap;
  }

  body.home-page .hero-actions .button-primary {
    border: 1px solid #24d8ff;
    background: linear-gradient(105deg, #078aff, #075cf4 62%, #8312ed);
    box-shadow: 0 5px 18px rgba(0, 103, 255, 0.3);
    color: #fff;
  }

  body.home-page .hero-actions .button-quiet {
    min-width: 0;
    border-color: #178bff;
    background: rgba(3, 14, 43, 0.76);
    color: #f4f7ff;
  }

  body.home-page .hero-socials {
    z-index: 5;
    grid-row: 8;
    width: max-content;
    justify-self: center;
    justify-content: center;
    gap: 12px;
    margin: 7px 0 0;
  }

  body.home-page .hero-socials a {
    width: 34px;
    height: 34px;
    line-height: 1;
    border-color: rgba(114, 157, 255, 0.23);
    background: rgba(13, 30, 78, 0.8);
    color: #f4f6ff;
    font-size: 16px;
  }

  body.home-page .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    grid-row: 5;
    width: min(100%, 390px);
    height: 100%;
    justify-self: center;
    overflow: visible;
    pointer-events: none;
  }

  body.home-page .hero-visual::before {
    position: absolute;
    z-index: 0;
    inset: 9px 23px -3px;
    transform: rotate(-8deg);
    border: 2px solid rgba(0, 171, 255, 0.86);
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 52%, rgba(0, 95, 255, 0.17), transparent 68%);
    box-shadow: 0 0 20px rgba(0, 116, 255, 0.45), inset 0 0 22px rgba(0, 111, 255, 0.24);
  }

  body.home-page .hero-visual::after {
    position: absolute;
    z-index: 0;
    inset: 20px 14px 0;
    transform: rotate(12deg);
    border: 2px solid transparent;
    border-right-color: rgba(176, 38, 255, 0.92);
    border-bottom-color: rgba(111, 43, 255, 0.8);
    border-radius: 50%;
    box-shadow: 8px 0 21px rgba(140, 27, 255, 0.3);
  }

  body.home-page .hero-portrait {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(91%, 350px);
    height: 112%;
    transform: translateX(-50%);
    clip-path: ellipse(43% 48% at 50% 51%);
    object-fit: cover;
    object-position: center 25%;
    filter: saturate(0.94) contrast(1.03) brightness(0.94);
    mask-image: linear-gradient(to bottom, #000 0%, #000 77%, transparent 100%);
    animation: none;
  }

  body.home-page .hero-scene-code,
  body.home-page .hero-scene-laptop {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 48px;
    height: 40px;
    place-items: center;
    border: 1px solid #087bff;
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(5, 33, 100, 0.96), rgba(6, 14, 49, 0.94));
    box-shadow: 0 0 18px rgba(0, 118, 255, 0.3), inset 0 0 12px rgba(16, 114, 255, 0.17);
    color: #18caff;
    font-size: 22px;
  }

  body.home-page .hero-scene-code {
    top: 29%;
    left: 2%;
    transform: rotate(-12deg);
  }

  body.home-page .hero-scene-laptop {
    top: 20%;
    right: 2%;
    width: 54px;
    height: 44px;
    transform: rotate(10deg);
    font-size: 25px;
  }

  body.home-page .hero-dots {
    position: absolute;
    z-index: 1;
    display: block;
    width: 42px;
    height: 48px;
    background-image: radial-gradient(circle, #075eff 1.5px, transparent 1.8px);
    background-size: 9px 10px;
    opacity: 0.85;
    pointer-events: none;
  }

  body.home-page .hero-dots-top {
    top: 34px;
    right: 18px;
  }

  body.home-page .hero-dots-left {
    top: 37%;
    left: 12px;
    width: 38px;
    height: 32px;
  }

  body.home-page .hero-dots-right {
    top: 64%;
    right: 16px;
    width: 34px;
    height: 50px;
  }

  body .about-main,
  body .skills-main,
  body .projects-main,
  body .contact-main {
    padding-top: 27px;
    padding-bottom: 42px;
  }

  body :is(.about-intro h1, .skills-hero h1, .projects-hero h1, .contact-hero h1) {
    font-size: clamp(35px, 10vw, 48px);
  }

  body :is(.about-intro, .skills-hero, .projects-hero, .contact-hero) :is(p, .subtitle) {
    font-size: 14px;
  }

  body #site-header .header-container {
    padding-inline: 16px;
  }
}

@media (max-width: 420px) {
  .overview-skill-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .home-project-grid {
    grid-template-columns: 1fr;
  }

  body.home-page .hero {
    padding-inline: 14px;
  }

  .overview-skills-heading {
    gap: 9px;
  }

  .overview-skills-heading h2 {
    font-size: 32px;
  }

  .overview-skills-link {
    font-size: 10px;
  }

  body.home-page .hero-actions {
    grid-template-columns: 1fr;
    width: min(100%, 260px);
  }

  body.home-page .hero-actions .button {
    width: 100%;
    justify-content: center;
    padding-inline: 16px;
  }
}

@media (min-width: 901px) {
  body.home-page .site-header {
    grid-template-columns: minmax(170px, 1fr) auto minmax(150px, 1fr);
    min-height: 64px;
    padding-inline: clamp(22px, 2.6vw, 40px);
    background: rgba(3, 8, 21, 0.84);
  }

  body.home-page .brand {
    gap: 8px;
    font-size: 17px;
  }

  body.home-page .brand-mark {
    background: linear-gradient(145deg, #18d8ff, #126bff 72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 40px;
  }

  body.home-page .site-nav {
    gap: 0;
    padding: 3px;
    border: 1px solid rgba(37, 115, 255, 0.22);
    border-radius: 999px;
    background: rgba(4, 16, 40, 0.76);
    box-shadow: inset 0 1px rgba(153, 191, 255, 0.05);
    transform: translateX(7px);
  }

  body.home-page .nav-link {
    padding: 10px clamp(14px, 1.5vw, 20px);
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
  }

  body.home-page .nav-link::after {
    right: 20px;
    bottom: 1px;
    left: 20px;
    height: 2px;
  }

  body.home-page .nav-link.active {
    background: rgba(7, 37, 84, 0.62);
    color: #16c6ff;
  }

  body.home-page .nav-link.active::after {
    background: #00c8ff;
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.55);
  }

  body.home-page .header-resume {
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid transparent;
    background:
      linear-gradient(rgba(4, 11, 30, 0.88), rgba(4, 11, 30, 0.88)) padding-box,
      linear-gradient(105deg, #168cff, #9b16ff) border-box;
    font-size: 12px;
  }

  body.home-page .header-resume i {
    font-size: 11px;
  }

  body.home-page .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    height: clamp(480px, calc(100svh - 64px), 686px);
    min-height: 480px;
    padding: 24px clamp(28px, 3.3vw, 52px) 20px;
    background:
      radial-gradient(ellipse at 75% 54%, rgba(0, 94, 255, 0.28), transparent 34%),
      radial-gradient(ellipse at 97% 61%, rgba(108, 24, 255, 0.3), transparent 29%),
      linear-gradient(112deg, #030919 8%, #071027 58%, #080c24 100%);
  }

  body.home-page .hero::before {
    background:
      radial-gradient(ellipse at 67% 54%, rgba(0, 110, 255, 0.32), transparent 34%),
      linear-gradient(90deg, rgba(2, 8, 23, 0.97) 0%, rgba(2, 8, 23, 0.75) 45%, transparent 78%);
  }

  body.home-page .hero-copy {
    width: 100%;
    padding: 0 0 2px;
  }

  body.home-page .hello-chip {
    gap: 8px;
    margin-bottom: 7px;
    padding: 6px 14px;
    border-color: rgba(54, 137, 255, 0.25);
    background: rgba(13, 35, 79, 0.58);
    color: #14c2ff;
    font-size: clamp(15px, 1.8vw, 20px);
  }

  body.home-page .hero h1 {
    font-size: clamp(68px, 10.5vw, 120px);
    letter-spacing: -0.03em;
    line-height: 0.98;
    white-space: nowrap;
  }

  body.home-page .hero-name-accent {
    background: linear-gradient(120deg, #13d5ff, #0781ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  body.home-page .hero-tagline {
    margin: 4px 0 13px;
    font-size: clamp(23px, 3.3vw, 42px);
    letter-spacing: -0.05em;
    line-height: 1.1;
  }

  body.home-page .hero-tagline > span:nth-of-type(2) {
    background: linear-gradient(95deg, #9868ff, #c45bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  body.home-page .hero-tagline > .tagline-purple {
    background: none;
    color: #f3f6ff;
    -webkit-text-fill-color: currentColor;
  }

  body.home-page .hero-lede {
    max-width: min(790px, 46vw);
    margin: 0 0 17px;
    color: #dce5f4;
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.38;
  }

  body.home-page .hero-role {
    max-width: clamp(380px, 42vw, 560px);
    padding-left: 12px;
    border-left: 3px solid #148dff;
    color: #f0f4fc;
    font-size: inherit;
    font-weight: 600;
    line-height: 1.4;
  }

  body.home-page .hero-description {
    max-width: clamp(370px, 44vw, 560px);
    margin-top: 13px;
    color: #c6d0e2;
  }

  body.home-page .hero-actions {
    gap: 12px;
  }

  body.home-page .hero-actions .button {
    min-height: 48px;
    gap: 9px;
    padding: 0 18px;
    font-size: 13px;
  }

  body.home-page .hero-actions .button-primary {
    background: linear-gradient(105deg, #078bff 0%, #145aff 62%, #720be9 100%);
    box-shadow: 0 7px 24px rgba(0, 100, 255, 0.35);
    color: #fff;
  }

  body.home-page .hero-actions .button-quiet {
    min-width: 157px;
    border-color: #168cff;
    background: rgba(4, 12, 31, 0.72);
  }

  body.home-page .hero-socials {
    gap: 14px;
    margin-top: 14px;
  }

  body.home-page .hero-socials a {
    width: 39px;
    height: 39px;
    border-color: rgba(114, 157, 255, 0.2);
    background: rgba(17, 34, 84, 0.7);
    font-size: 17px;
  }

  body.home-page .hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 56%;
    height: auto;
    overflow: hidden;
    pointer-events: none;
  }

  body.home-page .hero-visual::before {
    z-index: 0;
    inset: 6% 3% 3% 8%;
    transform: none;
    border: 2px solid rgba(0, 178, 255, 0.9);
    border-radius: 30px;
    clip-path: polygon(25% 0, 100% 0, 82% 100%, 0 87%);
    background:
      linear-gradient(150deg, rgba(0, 111, 255, 0.98), rgba(7, 64, 172, 0.9) 54%, rgba(35, 11, 112, 0.92));
    box-shadow: 0 0 22px rgba(0, 128, 255, 0.65), inset 0 0 26px rgba(49, 180, 255, 0.3);
  }

  body.home-page .hero-visual::after {
    z-index: 1;
    top: -12%;
    right: -2%;
    width: 17%;
    height: 124%;
    transform: skewX(-31deg);
    background: linear-gradient(180deg, rgba(83, 29, 255, 0.72), rgba(90, 44, 255, 0.28));
  }

  body.home-page .hero-portrait {
    z-index: 2;
    inset: 0 0 0 7%;
    width: 93%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 32%;
    clip-path: polygon(31% 0, 100% 0, 83% 100%, 0 86%);
    transform: scale(1.16) translate(5%, -5%);
    transform-origin: center;
    filter: saturate(0.82) contrast(1.08) brightness(0.82);
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 100%);
    animation: none;
  }

  body.home-page .hero-scene-code {
    position: absolute;
    z-index: 3;
    top: 22%;
    right: 11%;
    display: grid;
    width: clamp(90px, 15vw, 145px);
    height: clamp(70px, 12vw, 108px);
    place-items: center;
    clip-path: polygon(23% 0, 100% 0, 80% 100%, 0 83%);
    background: linear-gradient(140deg, rgba(0, 119, 255, 0.9), rgba(13, 65, 185, 0.68));
    box-shadow: 0 0 25px rgba(0, 157, 255, 0.5);
    color: rgba(44, 175, 255, 0.85);
    font-size: clamp(34px, 5vw, 54px);
  }

  body.home-page .hero-scene-laptop {
    display: none;
  }

  body.home-page .hero-dots {
    position: absolute;
    z-index: 1;
    display: block;
    width: 58px;
    height: 48px;
    background-image: radial-gradient(circle, #075eff 1.5px, transparent 1.8px);
    background-size: 14px 15px;
    opacity: 0.82;
    pointer-events: none;
  }

  body.home-page .hero-dots-top {
    top: 12px;
    left: 50%;
  }

  body.home-page .hero-dots-left {
    display: none;
  }

  body.home-page .hero-dots-right {
    top: 58%;
    right: 12px;
    width: 36px;
    height: 88px;
    background-image: radial-gradient(circle, #08baff 1.5px, transparent 1.8px);
    background-size: 12px 14px;
  }
}

body.home-page .home-overview {
  display: block;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(42px, 5vw, 68px) clamp(18px, 3.3vw, 52px);
}

body.home-page .home-showcase {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(42px, 5vw, 68px) clamp(18px, 3.3vw, 52px);
}

body.home-page .overview-skills {
  margin-inline: auto;
  padding: clamp(22px, 4vw, 44px);
}

body.home-page .overview-skills-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  min-height: 210px;
  margin-bottom: 27px;
}

body.home-page .overview-skills-copy {
  min-width: 0;
}

body.home-page .overview-skills-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid rgba(86, 128, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(13, 55, 134, 0.55), rgba(45, 37, 132, 0.5));
  color: #d6e5ff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.home-page .overview-skills-eyebrow i {
  color: #55c5ff;
}

body.home-page .overview-skills-heading {
  gap: 13px;
  margin: 10px 0 8px;
}

body.home-page .overview-skills-heading h2 {
  font-size: clamp(40px, 5.3vw, 74px);
  line-height: 1;
  background: linear-gradient(100deg, #f8faff 10%, #50c8ff 55%, #9863ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.home-page .overview-skills-heading .overview-heading-icon {
  color: #39baff;
  font-size: clamp(30px, 3.2vw, 43px);
}

body.home-page .overview-skills-link {
  margin-left: auto;
  font-size: 13px;
}

body.home-page .overview-skills-summary {
  max-width: 520px;
  margin: 13px 0 0;
  color: #c1cde2;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.65;
}

body.home-page .overview-skills-showcase {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 205px;
  place-items: center;
  isolation: isolate;
}

body.home-page .overview-skills-showcase::before {
  position: absolute;
  z-index: -1;
  inset: 5% 0 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(17, 103, 255, 0.28), rgba(91, 47, 231, 0.12) 48%, transparent 72%);
  content: "";
}

body.home-page .overview-skills-stats {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 0;
  display: flex;
  width: min(100%, 370px);
  min-height: 74px;
  align-items: center;
  justify-content: space-around;
  gap: 14px;
  padding: 12px 17px;
  border: 1px solid rgba(84, 146, 255, 0.46);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(9, 26, 56, 0.96), rgba(20, 23, 58, 0.95));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24), 0 0 28px rgba(31, 98, 255, 0.12);
}

body.home-page .overview-skills-stats > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.home-page .overview-skills-stats > div + div {
  padding-left: 17px;
  border-left: 1px solid rgba(141, 167, 216, 0.24);
}

body.home-page .overview-skills-stats > div > i {
  color: #ffc43d;
  font-size: 28px;
  filter: drop-shadow(0 0 9px rgba(255, 196, 61, 0.36));
}

body.home-page .overview-skills-stats > div + div > i {
  color: #36e68a;
}

body.home-page .overview-skills-stats span {
  display: grid;
  gap: 1px;
}

body.home-page .overview-skills-stats strong {
  color: #f5f8ff;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
}

body.home-page .overview-skills-stats small {
  color: #aebdd6;
  font-size: 10px;
  white-space: nowrap;
}

body.home-page .overview-laptop {
  position: absolute;
  right: 7%;
  bottom: 14px;
  width: min(70%, 310px);
  height: 128px;
  transform: perspective(450px) rotateX(7deg) rotateY(-8deg);
  filter: drop-shadow(0 14px 20px rgba(17, 74, 255, 0.28));
}

body.home-page .overview-laptop-screen {
  position: absolute;
  top: 0;
  right: 9%;
  bottom: 15px;
  left: 9%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 17px 18px;
  overflow: hidden;
  border: 2px solid rgba(70, 166, 255, 0.78);
  border-radius: 12px 12px 5px 5px;
  background: linear-gradient(145deg, #101c3b, #070c1b 72%);
  box-shadow: inset 0 0 22px rgba(34, 106, 255, 0.14), 0 0 20px rgba(44, 100, 255, 0.19);
}

body.home-page .overview-laptop-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 2px;
}

body.home-page .overview-laptop-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fa668d;
}

body.home-page .overview-laptop-dots i:nth-child(2) { background: #ffc74d; }
body.home-page .overview-laptop-dots i:nth-child(3) { background: #40df9a; }

body.home-page .overview-code-line {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #57c8ff, #9581ff);
  opacity: 0.88;
}

body.home-page .overview-code-line-long { width: 82%; }
body.home-page .overview-code-line-medium { width: 62%; margin-left: 9%; background: #46dfa5; }
body.home-page .overview-code-line-short { width: 42%; margin-left: 9%; background: #f3bd55; }

body.home-page .overview-laptop-base {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 14px;
  transform: perspective(90px) rotateX(13deg);
  border: 1px solid rgba(105, 168, 255, 0.62);
  border-radius: 2px 2px 12px 12px;
  background: linear-gradient(180deg, #6278a6, #182544 55%, #080e1f);
}

body.home-page .overview-skills-float-icon {
  position: absolute;
  z-index: 2;
  right: 3%;
  top: 45%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(110, 122, 255, 0.68);
  border-radius: 14px;
  transform: rotate(8deg);
  background: linear-gradient(145deg, rgba(20, 87, 206, 0.92), rgba(92, 48, 178, 0.9));
  box-shadow: 0 0 24px rgba(81, 92, 255, 0.32);
  color: #9bdfff;
  font-size: 22px;
}

body.home-page .overview-skill-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

body.home-page .overview-skill {
  grid-column: span 4;
  min-width: 0;
  padding: 15px 15px 13px;
  border: 1px solid rgba(120, 153, 205, 0.13);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--skill-color) 7%, transparent), transparent 48%),
    linear-gradient(145deg, rgba(17, 30, 55, 0.95), rgba(8, 15, 30, 0.96));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), 0 9px 22px rgba(0, 0, 0, 0.11);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.home-page .overview-skill:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--skill-color) 45%, transparent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 0 22px color-mix(in srgb, var(--skill-color) 10%, transparent);
}

body.home-page .overview-skill-main {
  display: flex;
  min-width: 0;
  min-height: 62px;
  align-items: center;
  gap: 12px;
}

body.home-page .overview-skill-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--skill-color) 34%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--skill-color) 18%, #0c1428);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 0 18px color-mix(in srgb, var(--skill-color) 12%, transparent);
  color: var(--skill-color);
  font-size: 21px;
}

body.home-page .overview-skill-details {
  flex: 1 1 auto;
  min-width: 0;
}

body.home-page .overview-skill-label {
  min-width: 0;
  margin: 0;
  color: #f1f5ff;
  font-family: var(--font-display);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 700;
  line-height: 1.3;
}

body.home-page .overview-skill-label span:first-child {
  overflow-wrap: anywhere;
}

body.home-page .overview-skill-details > p {
  margin: 4px 0 0;
  color: #aebcd4;
  font-size: 11px;
  line-height: 1.4;
}

body.home-page .overview-skill-ring {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(closest-side, #101a30 76%, transparent 79% 99%), conic-gradient(var(--skill-color) var(--skill-level), rgba(105, 129, 173, 0.17) 0);
  box-shadow: 0 0 16px color-mix(in srgb, var(--skill-color) 16%, transparent);
  color: #f1f6ff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.home-page .overview-skill-track {
  margin-top: 12px;
  height: 7px;
  background: rgba(106, 127, 163, 0.17);
}

body.home-page .overview-skill-track > span {
  background: var(--skill-color);
  box-shadow: 0 0 10px color-mix(in srgb, var(--skill-color) 42%, transparent);
}

body.home-page .overview-skill:nth-child(10) {
  grid-column: span 5;
}

body.home-page .overview-skills-bottom {
  display: contents;
}

body.home-page .overview-strengths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-column: span 8;
  gap: 0;
  min-height: 96px;
  padding: 10px;
  border: 1px solid rgba(115, 145, 202, 0.16);
  border-radius: 19px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(47, 105, 227, 0.1), transparent 70%),
    linear-gradient(145deg, rgba(17, 29, 52, 0.92), rgba(9, 16, 31, 0.96));
}

body.home-page .overview-strengths > div {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  min-width: 0;
  align-items: center;
  justify-content: start;
  gap: 9px;
  padding: 10px clamp(7px, 0.8vw, 12px);
}

body.home-page .overview-strengths > div + div {
  border-left: 1px solid rgba(136, 158, 199, 0.2);
}

body.home-page .overview-strengths i {
  flex: 0 0 auto;
  color: #43d5ff;
  font-size: clamp(20px, 2vw, 27px);
  filter: drop-shadow(0 0 9px rgba(67, 213, 255, 0.22));
}

body.home-page .overview-strengths > div:nth-child(2) i { color: #ffd44f; }
body.home-page .overview-strengths > div:nth-child(3) i { color: #51c5ff; }
body.home-page .overview-strengths > div:nth-child(4) i { color: #b17cff; }

body.home-page .overview-strengths span {
  min-width: 0;
  color: #e0e8f7;
  font-family: var(--font-display);
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-transform: capitalize;
}

body.home-page .overview-skills-cta {
  display: inline-flex;
  min-width: 0;
  grid-column: span 4;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 14px);
  min-height: 96px;
  padding: 16px clamp(14px, 1.5vw, 24px);
  border: 1px solid rgba(116, 113, 255, 0.6);
  border-radius: 999px;
  background: linear-gradient(110deg, #9147ee 0%, #5558f5 50%, #176eff 100%);
  box-shadow: 0 8px 26px rgba(78, 70, 255, 0.28);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

body.home-page .overview-skills-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(78, 70, 255, 0.38);
}

body.home-page .overview-skills-cta span {
  color: #b6f0ff;
  flex: 0 0 auto;
  font-size: clamp(18px, 1.7vw, 23px);
}

body.home-page .overview-tech {
  margin-top: 23px;
  padding-top: 19px;
  border-top-color: rgba(140, 164, 207, 0.16);
}

body.home-page .overview-tech > p {
  margin-bottom: 11px;
  font-size: 10px;
}

@media (max-width: 900px) {
  body.home-page .overview-skills-intro {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.85fr);
    gap: 20px;
  }

  body.home-page .overview-skills-stats {
    width: 100%;
    padding-inline: 12px;
  }

  body.home-page .overview-skills-stats > div {
    gap: 8px;
  }

  body.home-page .overview-skills-stats > div + div {
    padding-left: 10px;
  }

  body.home-page .overview-skills-stats > div > i {
    font-size: 22px;
  }

  body.home-page .overview-skill-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.home-page .overview-skill {
    grid-column: span 2;
  }

  body.home-page .overview-skill:nth-child(10) {
    grid-column: span 2;
  }

  body.home-page .overview-skills-bottom {
    display: contents;
  }

  body.home-page .overview-strengths {
    grid-column: span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 82px;
  }

  body.home-page .overview-skills-cta {
    grid-column: span 4;
    justify-self: stretch;
    min-height: 64px;
  }
}

@media (max-width: 680px) {
  body.home-page .overview-skills-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 20px;
  }

  body.home-page .overview-skills-showcase {
    min-height: 122px;
    max-width: 440px;
    justify-self: center;
    width: 100%;
  }

  body.home-page .overview-skills-stats {
    top: 0;
    left: 0;
    width: min(88%, 330px);
    min-height: 62px;
    border-radius: 14px;
  }

  body.home-page .overview-skills-stats strong {
    font-size: 17px;
  }

  body.home-page .overview-skills-stats small {
    font-size: 9px;
  }

  body.home-page .overview-laptop {
    right: 5%;
    bottom: 0;
    width: min(57%, 235px);
    height: 90px;
  }

  body.home-page .overview-laptop-screen {
    gap: 5px;
    padding: 11px 12px;
  }

  body.home-page .overview-code-line {
    height: 3px;
  }

  body.home-page .overview-skills-float-icon {
    right: 2%;
    top: 44%;
    width: 37px;
    height: 37px;
    border-radius: 11px;
    font-size: 17px;
  }

  body.home-page .overview-skill-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "software software software software"
      "cyber cyber cyber cyber"
      "network network network network"
      "machine machine machine machine"
      "mobile mobile ai ai"
      "cloud cloud data data"
      "web web web web"
      "database database database database"
      "strengths strengths strengths strengths"
      "skills-cta skills-cta skills-cta skills-cta";
  }

  body.home-page .overview-skill:nth-child(1) { grid-area: software; }
  body.home-page .overview-skill:nth-child(2) { grid-area: cyber; }
  body.home-page .overview-skill:nth-child(3) { grid-area: network; }
  body.home-page .overview-skill:nth-child(4) { grid-area: machine; }
  body.home-page .overview-skill:nth-child(5) { grid-area: ai; }
  body.home-page .overview-skill:nth-child(6) { grid-area: web; }
  body.home-page .overview-skill:nth-child(7) { grid-area: mobile; }
  body.home-page .overview-skill:nth-child(8) { grid-area: cloud; }
  body.home-page .overview-skill:nth-child(9) { grid-area: data; }
  body.home-page .overview-skill:nth-child(10) { grid-area: database; }
  body.home-page .overview-strengths { grid-area: strengths; }
  body.home-page .overview-skills-cta { grid-area: skills-cta; }

  body.home-page .overview-skill {
    grid-column: auto;
    min-height: 82px;
    padding: 11px;
    border-radius: 14px;
  }

  body.home-page .overview-skill-main {
    min-height: 48px;
    gap: 9px;
  }

  body.home-page .overview-skill-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 17px;
  }

  body.home-page .overview-skill-ring {
    width: 43px;
    height: 43px;
    font-size: 11px;
  }

  body.home-page .overview-skill-label {
    font-size: 12px;
  }

  body.home-page .overview-skill-details > p {
    font-size: 10px;
    line-height: 1.3;
  }

  body.home-page .overview-skill-track {
    height: 5px;
    margin-top: 10px;
  }

  body.home-page .overview-strengths {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px;
  }

  body.home-page .overview-strengths > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 7px 3px;
    text-align: center;
  }

  body.home-page .overview-strengths span {
    font-size: 9px;
  }

  body.home-page .overview-strengths i {
    font-size: 17px;
  }

  body.home-page .overview-skills-cta {
    min-height: 43px;
    padding: 10px 14px;
    font-size: 11px;
  }

  body.home-page .overview-tech {
    margin-top: 17px;
    padding-top: 15px;
  }

  body.home-page .overview-tech > div {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  body.home-page .overview-skills {
    padding: 22px 18px;
    border-radius: 19px;
  }

  body.home-page .overview-skills-heading {
    gap: 10px;
    margin-top: 9px;
  }

  body.home-page .overview-skills-heading h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  body.home-page .hero-actions .button-about {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 220px);
    min-height: 38px;
    height: 38px;
    border-color: rgba(99, 169, 255, 0.42);
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  body.home-page .overview-skills-heading {
    flex-wrap: wrap;
  }

  body.home-page .overview-skills-link {
    margin-left: auto;
  }
}

@media (min-width: 361px) and (max-width: 480px) {
  body.home-page .overview-skill:nth-child(5) .overview-skill-main,
  body.home-page .overview-skill:nth-child(7) .overview-skill-main,
  body.home-page .overview-skill:nth-child(8) .overview-skill-main,
  body.home-page .overview-skill:nth-child(9) .overview-skill-main {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 38px;
    grid-template-rows: 36px auto;
    column-gap: 7px;
    row-gap: 6px;
  }

  body.home-page .overview-skill:nth-child(5) .overview-skill-icon,
  body.home-page .overview-skill:nth-child(7) .overview-skill-icon,
  body.home-page .overview-skill:nth-child(8) .overview-skill-icon,
  body.home-page .overview-skill:nth-child(9) .overview-skill-icon {
    width: 34px;
    height: 34px;
    grid-column: 1;
    grid-row: 1;
    font-size: 15px;
  }

  body.home-page .overview-skill:nth-child(5) .overview-skill-details,
  body.home-page .overview-skill:nth-child(7) .overview-skill-details,
  body.home-page .overview-skill:nth-child(8) .overview-skill-details,
  body.home-page .overview-skill:nth-child(9) .overview-skill-details {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.home-page .overview-skill:nth-child(5) .overview-skill-ring,
  body.home-page .overview-skill:nth-child(7) .overview-skill-ring,
  body.home-page .overview-skill:nth-child(8) .overview-skill-ring,
  body.home-page .overview-skill:nth-child(9) .overview-skill-ring {
    width: 38px;
    height: 38px;
    grid-column: 3;
    grid-row: 1;
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  body.home-page .overview-skill-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }

  body.home-page .overview-skill:nth-child(n),
  body.home-page .overview-skill:nth-child(10) {
    grid-area: auto;
    grid-column: auto;
  }

  body.home-page .overview-strengths,
  body.home-page .overview-skills-cta {
    grid-area: auto;
    grid-column: auto;
  }

  body.home-page .overview-strengths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page .overview-strengths > div:nth-child(3) {
    border-left: 0;
  }

  body.home-page .overview-strengths > div:nth-child(n + 3) {
    border-top: 1px solid rgba(136, 158, 199, 0.2);
  }
}

/* Dedicated Skills page */
body.skills-page {
  --skills-ink: #f3f6ff;
  --skills-muted: #a7b3c9;
  --skills-line: rgba(148, 166, 201, 0.16);
  --skills-panel: rgba(16, 25, 45, 0.82);
  --skills-panel-raised: rgba(20, 32, 56, 0.92);
  background:
    radial-gradient(ellipse at 82% 8%, rgba(86, 74, 226, 0.16), transparent 34rem),
    radial-gradient(ellipse at 8% 35%, rgba(22, 185, 190, 0.08), transparent 30rem),
    #080d18 !important;
  color: var(--skills-ink);
  padding-top: 78px !important;
  overflow-x: clip !important;
}

body.skills-page #site-header {
  background: rgba(8, 13, 24, 0.88) !important;
  border-bottom: 1px solid var(--skills-line) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(18px);
}

body.skills-page .skills-main {
  width: min(100% - 48px, 1440px);
  max-width: 1440px !important;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) 0 88px;
  color: var(--skills-ink);
}

body.skills-page .skills-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  grid-template-areas: "copy visual";
  align-items: center;
  gap: 30px clamp(36px, 7vw, 96px);
  min-height: 390px;
  margin: 0 0 36px;
  padding: clamp(28px, 5vw, 44px) 0;
  overflow: hidden !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.skills-page .skills-hero::before {
  position: absolute;
  z-index: -1;
  top: -190px;
  right: 12%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(115, 129, 255, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 48px rgba(115, 129, 255, 0.025), 0 0 0 96px rgba(115, 129, 255, 0.02);
}

body.skills-page .skills-hero-copy {
  grid-area: copy;
  min-width: 0;
}

body.skills-page .skills-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 9px 14px;
  border: 1px solid rgba(110, 229, 218, 0.26);
  border-radius: 999px;
  background: rgba(62, 210, 192, 0.08);
  color: #85eee0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.skills-page .skills-hero h1 {
  margin: 0;
  color: var(--skills-ink);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
}

body.skills-page .skills-hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #6de6d4 5%, #77a9ff 52%, #b395ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

body.skills-page .skills-hero .subtitle {
  max-width: 620px;
  margin: 22px 0 24px;
  color: #b6c2d7;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.8;
}

body.skills-page .skills-hero .tech-stack-badge {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 9px;
  margin: 0;
}

body.skills-page .skills-hero .tech-stack-badge span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--skills-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: #d7e0f1;
  font-size: 0.8rem;
  font-weight: 600;
}

body.skills-page .skills-hero .tech-stack-badge i {
  color: #6de6d4;
}

body.skills-page .skills-hero-visual {
  position: relative;
  grid-area: visual;
  display: grid;
  min-height: 270px;
  place-items: center;
}

body.skills-page .skills-hero-orbit {
  position: absolute;
  width: min(100%, 300px);
  aspect-ratio: 1;
  border: 1px solid rgba(123, 151, 220, 0.18);
  border-radius: 50%;
}

body.skills-page .skills-hero-orbit-one {
  transform: rotate(28deg) scaleY(0.58);
}

body.skills-page .skills-hero-orbit-two {
  transform: rotate(-35deg) scaleY(0.58);
}

body.skills-page .skills-hero-code {
  position: relative;
  z-index: 1;
  width: min(100%, 310px);
  padding: 17px 18px 15px;
  border: 1px solid rgba(154, 174, 218, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 38, 65, 0.97), rgba(12, 20, 37, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 42px rgba(112, 132, 255, 0.1);
  transform: rotate(-3deg);
}

body.skills-page .skills-hero-code-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(148, 166, 201, 0.13);
}

body.skills-page .skills-hero-code-top > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7084a9;
}

body.skills-page .skills-hero-code-top > span:first-child { background: #ff7b83; }
body.skills-page .skills-hero-code-top > span:nth-child(2) { background: #f3c76c; }
body.skills-page .skills-hero-code-top > span:nth-child(3) { background: #61d5b1; }

body.skills-page .skills-hero-code-top strong {
  margin-left: auto;
  color: #8293b2;
  font-size: 0.57rem;
  letter-spacing: 0.14em;
}

body.skills-page .skills-hero-code-body {
  display: grid;
  gap: 11px;
  padding: 22px 4px;
}

body.skills-page .skills-code-line {
  display: block;
  height: 6px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(110, 230, 212, 0.88), rgba(116, 161, 255, 0.48));
  opacity: 0.8;
}

body.skills-page .skills-code-line-wide { width: 88%; }
body.skills-page .skills-code-line-mid { width: 66%; margin-left: 12%; opacity: 0.56; }
body.skills-page .skills-code-line-short { width: 42%; margin-left: 12%; opacity: 0.42; }

body.skills-page .skills-hero-code-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d9e3f5;
  font-size: 0.78rem;
  font-weight: 600;
}

body.skills-page .skills-hero-code-footer i { color: #7f9cff; }

body.skills-page .skills-hero-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(139, 158, 202, 0.23);
  border-radius: 12px;
  background: #131f36;
  color: #e1e9f8;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
}

body.skills-page .skills-hero-float-ai { top: 24px; right: 1%; }
body.skills-page .skills-hero-float-ai i { color: #bd9cff; }
body.skills-page .skills-hero-float-cloud { bottom: 20px; left: 0; }
body.skills-page .skills-hero-float-cloud i { color: #71d7e7; }

body.skills-page .skills-quick-nav {
  position: sticky;
  z-index: 20;
  top: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -6px 0 34px;
  padding: 11px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 761px) {
  body.skills-page .skills-quick-nav {
    justify-content: center;
  }
}

body.skills-page .skills-quick-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--skills-line);
  border-radius: 999px;
  color: #cbd6e9;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter 160ms ease, color 160ms ease;
}

body.skills-page .skills-quick-nav a[href="#frontend"] {
  border-color: #287c70;
  background: #15574e;
}

body.skills-page .skills-quick-nav a[href="#backend"] {
  border-color: #4775b3;
  background: #294d7b;
}

body.skills-page .skills-quick-nav a[href="#ai-ml"] {
  border-color: #765cae;
  background: #4a3973;
}

body.skills-page .skills-quick-nav a[href="#devops"] {
  border-color: #347e91;
  background: #1d5666;
}

body.skills-page .skills-quick-nav a[href="#languages"] {
  border-color: #997247;
  background: #684927;
}

body.skills-page .skills-quick-nav a i {
  color: #71ded0;
  font-size: 0.68rem;
}

body.skills-page .skills-quick-nav a[href="#backend"] i { color: #8db8ff; }
body.skills-page .skills-quick-nav a[href="#ai-ml"] i { color: #c1a6ff; }
body.skills-page .skills-quick-nav a[href="#devops"] i { color: #84dfee; }
body.skills-page .skills-quick-nav a[href="#languages"] i { color: #ffc18d; }

body.skills-page .skills-quick-nav a:hover,
body.skills-page .skills-quick-nav a:focus-visible {
  color: #fff;
  filter: brightness(1.16);
}

body.skills-page .skills-quick-nav a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

body.skills-page .skills-category {
  scroll-margin-top: 146px;
  margin: 0 0 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.skills-page .category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 24px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--skills-line);
}

body.skills-page .category-header .icon-wrapper {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(109, 230, 212, 0.2);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(109, 230, 212, 0.13), rgba(117, 143, 255, 0.12));
  color: #8debdc;
  font-size: 1.1rem;
}

body.skills-page #backend .category-header .icon-wrapper {
  border-color: rgba(120, 170, 255, 0.24);
  background: rgba(120, 170, 255, 0.09);
  color: #8db8ff;
}

body.skills-page #ai-ml .category-header .icon-wrapper {
  border-color: rgba(181, 150, 255, 0.24);
  background: rgba(181, 150, 255, 0.09);
  color: #c1a6ff;
}

body.skills-page #devops .category-header .icon-wrapper {
  border-color: rgba(115, 216, 237, 0.24);
  background: rgba(115, 216, 237, 0.09);
  color: #84dfee;
}

body.skills-page #languages .category-header .icon-wrapper {
  border-color: rgba(255, 182, 119, 0.24);
  background: rgba(255, 182, 119, 0.09);
  color: #ffc18d;
}

body.skills-page .skills-category:last-child .category-header .icon-wrapper {
  border-color: rgba(245, 201, 106, 0.24);
  background: rgba(245, 201, 106, 0.09);
  color: #f5c96a;
}

body.skills-page .category-header h3 {
  min-width: 0;
  margin: 0;
  color: var(--skills-ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 750;
  line-height: 1.35;
}

body.skills-page .skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

body.skills-page .skills-main .skill-card-modern {
  --skill-accent: #6de6d4;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto minmax(48px, 1fr) auto auto;
  align-content: start;
  gap: 15px 14px;
  min-width: 0;
  flex: 0 1 calc((100% - 40px) / 3);
  min-height: 248px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--skill-accent) 30%, #26344b);
  border-radius: 14px;
  background: #101a2a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

body.skills-page .skills-main .skill-card-modern::before {
  display: none;
}

body.skills-page #frontend .skill-card-modern { --skill-accent: #69d7c6; }
body.skills-page #backend .skill-card-modern { --skill-accent: #84adf5; }
body.skills-page #ai-ml .skill-card-modern { --skill-accent: #b49af2; }
body.skills-page #devops .skill-card-modern { --skill-accent: #72cddd; }
body.skills-page #languages .skill-card-modern { --skill-accent: #e4bd70; }

body.skills-page #languages .skill-card-modern {
  grid-template-rows: auto auto;
  align-content: center;
  gap: 14px;
  min-height: 152px;
}

body.skills-page #languages .skill-card-modern .skill-rating {
  grid-row: 2;
}

body.skills-page .skills-main .skill-card-modern:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--skill-accent) 42%, #26344b);
  background: #142035;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

body.skills-page .skills-main .skill-card-modern .skill-icon {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--skill-accent), transparent 78%);
  border-radius: 12px;
  background: color-mix(in srgb, var(--skill-accent), transparent 91%);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--skill-accent) !important;
  -webkit-text-fill-color: var(--skill-accent);
  font-size: 1.15rem;
}

body.skills-page .skills-main .skill-card-modern h4 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  color: #f1f5ff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  padding-right: 40px;
}

body.skills-page .skills-main .skill-card-modern p {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  margin: 0;
  color: var(--skills-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

body.skills-page .skills-main .skill-card-modern .skill-rating {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #26344b;
}

body.skills-page .skill-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
  line-height: 1;
}

body.skills-page .skill-stars span {
  width: 12px;
  height: 4px;
  border-radius: 999px;
  background: #344158;
  font-size: 0;
}

body.skills-page .skill-stars .is-filled {
  color: var(--skill-accent);
  background: var(--skill-accent);
}

body.skills-page .skill-rating-label {
  color: #b9c5d9;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.skills-page .skill-rating-label::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--skill-accent);
  content: "";
  vertical-align: 1px;
}

body.skills-page .skills-main .skill-card-modern .skill-tags {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

body.skills-page .skills-main .skill-card-modern .skill-tags span {
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid #293750;
  border-radius: 6px;
  background: #182438;
  color: #bdc9dc;
  font-size: 0.72rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

body.skills-page .master-skills {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.skills-page .master-skill {
  min-width: 0;
  padding: 18px 12px;
  border: 1px solid var(--skills-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

body.skills-page .master-skill .circle {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  place-items: center;
  border: 1px solid rgba(109, 230, 212, 0.22);
  border-radius: 15px;
  background: rgba(109, 230, 212, 0.08);
  color: #8debdc;
  font-size: 0.95rem;
  font-weight: 800;
}

body.skills-page .master-skill h5 {
  margin: 0 0 6px;
  color: #edf2ff;
  font-size: 0.83rem;
  line-height: 1.4;
}

body.skills-page .master-skill p {
  margin: 0;
  color: var(--skills-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

body.skills-page a:focus-visible {
  outline: 2px solid #78e7d8;
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  body.skills-page .skills-main .skill-card-modern { flex-basis: calc((100% - 20px) / 2); }
  body.skills-page .master-skills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body.skills-page .skills-main {
    width: min(100% - 32px, 640px);
    padding-top: 28px;
  }

  body.skills-page .skills-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "visual";
    gap: 18px;
    min-height: 0;
    padding: 24px 0 28px;
  }

  body.skills-page .skills-hero-visual { min-height: 230px; }
  body.skills-page .skills-hero-code { width: min(78%, 310px); }
  body.skills-page .skills-hero-orbit { width: min(80%, 280px); }
  body.skills-page .skills-hero-float-ai { right: 4%; }
  body.skills-page .skills-hero-float-cloud { left: 3%; }
  body.skills-page .skills-quick-nav {
    top: 64px;
    gap: 8px;
    margin: -2px 0 30px;
  }
  body.skills-page .skills-category {
    scroll-margin-top: 202px;
    margin-bottom: 38px;
  }
  body.skills-page .skills-main .skill-card-modern { min-height: 195px; }
}

@media (max-width: 520px) {
  body.skills-page { padding-top: 68px !important; }
  body.skills-page .skills-main { width: min(100% - 24px, 440px); padding-top: 22px; }
  body.skills-page .skills-hero {
    gap: 18px;
    padding: 18px 0 22px;
  }

  body.skills-page .skills-hero-copy { text-align: center; }
  body.skills-page .skills-hero .badge {
    display: flex;
    width: fit-content;
    margin: 0 auto 14px;
    padding: 8px 11px;
    font-size: 0.66rem;
  }
  body.skills-page .skills-hero h1 { font-size: clamp(2.55rem, 12vw, 3.3rem); }
  body.skills-page .skills-hero .subtitle {
    max-width: 34rem;
    margin: 13px auto 16px;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  body.skills-page .skills-hero .tech-stack-badge {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  body.skills-page .skills-hero .tech-stack-badge span {
    justify-content: flex-start;
    min-width: 0;
    padding: 8px 9px;
    border-radius: 9px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  body.skills-page .skills-hero-visual {
    width: 100%;
    min-height: 178px;
    margin: -2px auto 0;
  }

  body.skills-page .skills-hero-code {
    width: min(78%, 290px);
    padding: 12px 14px;
    border-radius: 15px;
    transform: rotate(-2deg);
  }

  body.skills-page .skills-hero-code-top { padding-bottom: 10px; }
  body.skills-page .skills-hero-code-top strong { font-size: 0.46rem; }
  body.skills-page .skills-hero-code-body { gap: 8px; padding: 16px 4px; }
  body.skills-page .skills-code-line { height: 5px; }
  body.skills-page .skills-hero-code-footer { margin-left: 25px; font-size: 0.7rem; }

  body.skills-page .skills-hero-float {
    gap: 6px;
    padding: 7px 9px;
    border-radius: 10px;
    font-size: 0.66rem;
  }

  body.skills-page .skills-hero-float-ai { top: 5px; right: 0; }
  body.skills-page .skills-hero-float-cloud { bottom: 3px; left: 0; }

  body.skills-page .skills-quick-nav {
    top: 64px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: -2px 0 26px;
    padding: 8px;
    border-radius: 13px;
  }

  body.skills-page .skills-quick-nav a {
    justify-content: space-between;
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.69rem;
  }

  body.skills-page .skills-quick-nav a:last-child { grid-column: 1 / -1; }
  body.skills-page .skills-category { scroll-margin-top: 220px; margin-bottom: 30px; }
  body.skills-page .category-header { gap: 10px; margin-bottom: 17px; padding-bottom: 14px; }
  body.skills-page .category-header .icon-wrapper { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }
  body.skills-page .skills-grid { flex-direction: column; gap: 10px; }
  body.skills-page .skills-main .skill-card-modern { flex: 0 0 100%; min-height: 0; padding: 16px; }
  body.skills-page #languages .skill-card-modern { min-height: 0; }
  body.skills-page .master-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
}

@media (min-width: 380px) and (max-width: 520px) {
  body.skills-page .skills-hero .tech-stack-badge {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.skills-page .skills-hero .tech-stack-badge span {
    justify-content: center;
    gap: 6px;
    padding-inline: 6px;
    font-size: 0.66rem;
  }
}

@media (max-width: 379px) {
  body.skills-page .skills-category { scroll-margin-top: 238px; }
}

@media (prefers-reduced-motion: reduce) {
  body.skills-page *,
  body.skills-page *::before,
  body.skills-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

body.contact-page::before {
  display: none;
}

body.contact-page .contact-main {
  width: min(100% - 48px, 1080px);
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(88px, 9vw, 108px) 0 76px;
}

body.contact-page .contact-page-heading {
  width: min(100%, 760px);
  margin: 0 auto 18px;
}

body.contact-page .contact-page-heading h1 {
  margin: 0;
  color: #f3f6ff;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

body.contact-page .contact-page-heading h1::after {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, #36b9ff, #31e4de);
  content: "";
}

body.contact-page .contact-main :is(.contact-form-wrapper, .location-section) {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(17, 27, 48, 0.92), rgba(11, 17, 31, 0.96));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
}

body.contact-page .contact-form-wrapper {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 32px);
}

body.contact-page .contact-form-wrapper h2,
body.contact-page .location-header h2 {
  margin: 0;
  color: #f3f6ff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

body.contact-page .contact-form-wrapper .form-subtitle,
body.contact-page .location-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

body.contact-page .contact-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body.contact-page .form-heading-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(54, 185, 255, 0.2);
  border-radius: 12px;
  background: rgba(54, 185, 255, 0.08);
  color: #79d8ff;
}

body.contact-page .contact-form-wrapper .form-subtitle {
  margin: 7px 0 24px;
}

body.contact-page .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.contact-page .form-group {
  min-width: 0;
  margin-bottom: 17px;
}

body.contact-page .form-group label {
  display: block;
  margin-bottom: 7px;
  color: #dce5f4;
  font-size: 12px;
  font-weight: 600;
}

body.contact-page .form-group label .required {
  color: #67d2ff;
}

body.contact-page .contact-main .form-group :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(159, 180, 218, 0.18);
  border-radius: 10px;
  outline: none;
  background: rgba(5, 11, 24, 0.68);
  color: #f3f6ff;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.contact-page .form-group select {
  color-scheme: dark;
}

body.contact-page .form-group textarea {
  min-height: 128px;
  resize: vertical;
}

body.contact-page .contact-main .form-group :is(input, select, textarea)::placeholder {
  color: #74829a;
  opacity: 1;
}

body.contact-page .contact-main .form-group :is(input, select, textarea):focus {
  border-color: rgba(54, 185, 255, 0.72);
  background: rgba(5, 11, 24, 0.9);
  box-shadow: 0 0 0 3px rgba(54, 185, 255, 0.12);
}

body.contact-page .contact-main .submit-btn {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(105deg, #168cff, #22b7d8);
  color: #06121e;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

body.contact-page .submit-btn:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: none;
}

body.contact-page .submit-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

body.contact-page .form-message {
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
}

body.contact-page .form-message:not(.success):not(.error):not(.loading) {
  display: none;
}

body.contact-page .form-message:is(.success, .error, .loading) {
  display: block;
  padding: 10px 12px;
}

body.contact-page .form-message.success {
  border: 1px solid rgba(66, 214, 178, 0.2);
  background: rgba(66, 214, 178, 0.08);
  color: #8de5c8;
}

body.contact-page .form-message.error {
  border: 1px solid rgba(255, 116, 135, 0.22);
  background: rgba(255, 116, 135, 0.08);
  color: #ff9eae;
}

body.contact-page .form-message.loading {
  border: 1px solid rgba(54, 185, 255, 0.2);
  background: rgba(54, 185, 255, 0.08);
  color: #9cdeff;
}

body.contact-page .location-section {
  width: min(100%, 760px);
  margin: 20px auto 0;
  padding: 24px 28px;
}

body.contact-page .location-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.contact-page .location-header h2 {
  font-size: 16px;
}

body.contact-page .location-header p {
  margin-top: 2px;
  font-size: 12px;
}

body.contact-page .availability-indicator {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #42d6b2;
  box-shadow: 0 0 13px rgba(66, 214, 178, 0.45);
}

body.contact-page .location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 21px;
}

body.contact-page .location-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  transition: none;
}

body.contact-page .location-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

body.contact-page .location-card > i {
  margin-top: 3px;
  color: #70d7ff;
  font-size: 13px;
}

body.contact-page .location-card h3 {
  margin: 0 0 3px;
  color: #dce5f4;
  font-size: 12px;
  font-weight: 600;
}

body.contact-page .location-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 620px) {
  body.contact-page .contact-main {
    width: calc(100% - 36px);
    padding-top: 84px;
    padding-bottom: 52px;
  }

  body.contact-page .contact-page-heading {
    margin-bottom: 15px;
  }

  body.contact-page .contact-form-wrapper {
    padding: 22px 18px;
  }

  body.contact-page .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body.contact-page .contact-main .form-group :is(input, select, textarea) {
    min-height: 48px;
    font-size: 16px;
  }

  body.contact-page .location-section {
    margin-top: 14px;
    padding: 21px 18px;
  }

  body.contact-page .location-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
}

@media (max-width: 360px) {
  body.contact-page .contact-main {
    width: calc(100% - 28px);
  }

  body.contact-page .contact-form-wrapper {
    padding-inline: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.contact-page *,
  body.contact-page *::before,
  body.contact-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
