:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #101b2d;
  --surface: rgba(15, 26, 43, 0.76);
  --surface-strong: #12213a;
  --surface-border: rgba(155, 186, 255, 0.12);
  --text: #f5f7fb;
  --muted: #a9b8d3;
  --coral: #ff8b6b;
  --teal: #6ce5d8;
  --gold: #f6c977;
  --blue: #7cb6ff;
  --shadow: 0 28px 90px rgba(3, 9, 18, 0.48);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 2rem));
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-soft: #e7edf7;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-border: rgba(28, 44, 74, 0.12);
  --text: #15233b;
  --muted: #5f6f8c;
  --shadow: 0 28px 90px rgba(74, 98, 135, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(108, 229, 216, 0.08), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(255, 139, 107, 0.16), transparent 20%),
    linear-gradient(180deg, #08111f 0%, #0a1322 52%, #08101d 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(108, 229, 216, 0.16), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(255, 139, 107, 0.18), transparent 18%),
    linear-gradient(180deg, #f7f9fd 0%, #eef4fb 52%, #f7f9fd 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

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

svg {
  flex-shrink: 0;
}

#root {
  min-height: 100vh;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell__glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.page-shell__glow--one {
  top: 6rem;
  right: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(255, 139, 107, 0.26);
}

.page-shell__glow--two {
  top: 36rem;
  left: -4rem;
  width: 16rem;
  height: 16rem;
  background: rgba(108, 229, 216, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  margin: 0;
  padding: 1.1rem max(1rem, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  backdrop-filter: blur(14px);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #34d399, #86efac);
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.75);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: rgba(9, 17, 31, 0.72);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  background: rgba(9, 17, 31, 0.72);
  color: var(--text);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: rgba(9, 17, 31, 0.72);
  color: var(--text);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle span {
  font-size: 0.9rem;
  font-weight: 700;
}

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

.section {
  padding: 6rem 0;
  scroll-margin-top: 6.5rem;
}

html[data-theme="light"] .page-shell__glow--one {
  background: rgba(255, 139, 107, 0.2);
}

html[data-theme="light"] .page-shell__glow--two {
  background: rgba(108, 229, 216, 0.18);
}


html[data-theme="light"] .site-nav,
html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.8);
}


html[data-theme="light"] .site-nav a {
  color: #53657f;
}

html[data-theme="light"] .site-nav a:hover {
  color: var(--text);
}

html[data-theme="light"] .brand-mark,
html[data-theme="light"] .hero h1,
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .feature-card h3,
html[data-theme="light"] .service-card h3,
html[data-theme="light"] .project-card h3,
html[data-theme="light"] .timeline__content h3,
html[data-theme="light"] .site-footer p,
html[data-theme="light"] .contact-form label {
  color: #14233b;
}

.hero {
  min-height: calc(100vh - 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 3rem;
  padding: 3rem 0 4rem;
}

.hero__copy {
  max-width: 40rem;
}

.hero__eyebrow,
.section-heading__eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(74, 222, 128, 0.24);
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.08);
  color: #dcfce7;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  overflow: hidden;
}

.section-heading__eyebrow {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(24, 39, 34, 0.9), rgba(24, 39, 34, 0.9)) padding-box,
    linear-gradient(
      120deg,
      rgba(255, 120, 110, 0.95),
      rgba(255, 186, 117, 0.88),
      rgba(124, 182, 255, 0.95),
      rgba(197, 124, 255, 0.92),
      rgba(255, 120, 110, 0.95)
    ) border-box;
  color: #e8fff2;
  box-shadow:
    0 0 18px rgba(124, 182, 255, 0.14),
    0 0 28px rgba(255, 120, 110, 0.12);
  isolation: isolate;
}

.section-heading__eyebrow::before,
.section-heading__eyebrow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
}

.section-heading__eyebrow::before {
  padding: 1.5px;
  background:
    linear-gradient(
      120deg,
      rgba(255, 120, 110, 0.2) 0%,
      rgba(255, 120, 110, 0.98) 18%,
      rgba(255, 191, 110, 0.96) 36%,
      rgba(123, 211, 255, 0.98) 64%,
      rgba(182, 127, 255, 0.96) 82%,
      rgba(255, 120, 110, 0.2) 100%
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.section-heading__eyebrow::after {
  inset: -0.4rem;
  background:
    radial-gradient(circle at 16% 50%, rgba(255, 120, 110, 0.28), transparent 34%),
    radial-gradient(circle at 50% 0%, rgba(255, 191, 110, 0.22), transparent 30%),
    radial-gradient(circle at 82% 45%, rgba(123, 211, 255, 0.26), transparent 34%),
    radial-gradient(circle at 58% 100%, rgba(182, 127, 255, 0.22), transparent 32%);
  filter: blur(10px);
  opacity: 0.82;
  z-index: -1;
  animation: siriGlowPulse 4.8s ease-in-out infinite;
}

.hero__eyebrow--animated {
  animation: heroEyebrowPulse 4.8s ease-in-out infinite;
}

.hero__eyebrow--animated::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background:
    conic-gradient(
      from 0deg,
      rgba(74, 222, 128, 0) 0deg,
      rgba(74, 222, 128, 0.16) 70deg,
      rgba(220, 252, 231, 0.95) 120deg,
      rgba(74, 222, 128, 0.24) 180deg,
      rgba(74, 222, 128, 0) 260deg,
      rgba(74, 222, 128, 0) 360deg
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: eyebrowBorderSpin 3.8s linear infinite;
  pointer-events: none;
}

.hero__eyebrow--animated::after {
  content: "";
  position: absolute;
  width: 4.2rem;
  height: 1.8rem;
  right: -0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(134, 239, 172, 0.42), rgba(134, 239, 172, 0));
  filter: blur(12px);
  animation: eyebrowGlowTravel 3.8s linear infinite;
  pointer-events: none;
}

.hero h1 {
  margin: 1.4rem 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.5rem, 9vw, 6.2rem);
  line-height: 0.93;
}

.hero h1 span {
  display: block;
  margin-top: 0.8rem;
  color: #dce7fb;
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.hero__title-line {
  display: block;
  margin-top: 0.8rem;
}

html[data-theme="light"] .hero h1 span,
html[data-theme="light"] .hero__title-line {
  color: #304766;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

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

.button svg:first-child {
  flex-shrink: 0;
}

.button--primary {
  background: linear-gradient(135deg, var(--coral), #ffad92);
  color: #101521;
  box-shadow: 0 18px 45px rgba(255, 139, 107, 0.26);
}

.button--secondary {
  border-color: rgba(124, 182, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero-stat,
.glass-card {
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(180deg, rgba(21, 34, 55, 0.84), rgba(12, 20, 34, 0.74)),
    rgba(12, 20, 34, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .hero-stat,
html[data-theme="light"] .glass-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 253, 0.92)),
    rgba(255, 255, 255, 0.9);
}

.hero-stat {
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius-md);
}

.hero-stat strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 41rem;
}

.hero__bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 56%, transparent 74%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(4, 10, 18, 0.24);
  backdrop-filter: blur(10px);
}

html[data-theme="light"] .hero__bubble {
  border-color: rgba(35, 58, 93, 0.12);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(124, 182, 255, 0.08) 56%, transparent 74%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 18px 40px rgba(125, 149, 184, 0.15);
}

.hero__bubble--one {
  top: 2.5rem;
  left: 1.5rem;
  width: 4.5rem;
  height: 4.5rem;
}

.hero__bubble--two {
  top: 6rem;
  right: 0.5rem;
  width: 6rem;
  height: 6rem;
}

.hero__bubble--three {
  bottom: 7rem;
  left: 0;
  width: 3.2rem;
  height: 3.2rem;
}

.hero__bubble--four {
  bottom: 2rem;
  right: 2.5rem;
  width: 5rem;
  height: 5rem;
}

.hero__bubble--five {
  top: 46%;
  right: -0.8rem;
  width: 2.6rem;
  height: 2.6rem;
}

.hero__portrait-card {
  position: relative;
  width: min(100%, 32rem);
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.5rem;
  background:
    linear-gradient(180deg, rgba(18, 29, 48, 0.95), rgba(8, 15, 27, 0.9));
  box-shadow: 0 40px 90px rgba(2, 7, 14, 0.48);
}

html[data-theme="light"] .hero__portrait-card,
html[data-theme="light"] .project-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 252, 0.96));
  box-shadow: 0 24px 60px rgba(106, 129, 163, 0.16);
}

.hero__portrait-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 31rem;
}

.hero__portrait-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 24rem);
  aspect-ratio: 1;
  padding: 0.8rem;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 139, 107, 0.85), rgba(124, 182, 255, 0.72));
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.03),
    0 35px 80px rgba(2, 7, 14, 0.58);
}

.hero__portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 50%;
  border: 6px solid rgba(7, 13, 23, 0.88);
}

html[data-theme="light"] .hero__portrait-image {
  border-color: rgba(255, 255, 255, 0.96);
}

.hero__portrait-ring,
.hero__portrait-glow {
  position: absolute;
  border-radius: 50%;
}

.hero__portrait-ring {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__portrait-ring--one {
  width: 28rem;
  aspect-ratio: 1;
  border-color: rgba(255, 139, 107, 0.35);
}

.hero__portrait-ring--two {
  width: 22rem;
  aspect-ratio: 1;
  border-color: rgba(124, 182, 255, 0.28);
}

.hero__portrait-glow {
  width: 18rem;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 139, 107, 0.34), rgba(255, 139, 107, 0) 70%);
  filter: blur(20px);
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-orbit--outer {
  width: 34rem;
  height: 34rem;
}

.hero-orbit--inner {
  width: 27rem;
  height: 27rem;
  border-color: rgba(255, 139, 107, 0.28);
}

html[data-theme="light"] .hero-orbit,
html[data-theme="light"] .hero__portrait-ring {
  border-color: rgba(43, 64, 98, 0.12);
}

html[data-theme="light"] .hero__portrait-ring--one {
  border-color: rgba(255, 139, 107, 0.28);
}

html[data-theme="light"] .hero__portrait-ring--two {
  border-color: rgba(124, 182, 255, 0.26);
}

.hero__floating-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  max-width: 15rem;
  padding: 1rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 1.35rem;
  background:
    linear-gradient(rgba(7, 13, 23, 0.9), rgba(7, 13, 23, 0.9)) padding-box,
    linear-gradient(
      120deg,
      rgba(255, 120, 110, 0.95),
      rgba(255, 186, 117, 0.88),
      rgba(124, 182, 255, 0.95),
      rgba(197, 124, 255, 0.92),
      rgba(255, 120, 110, 0.95)
    ) border-box;
  color: var(--text);
  font-size: 0.85rem;
  box-shadow:
    0 20px 44px rgba(5, 10, 19, 0.42),
    0 0 22px rgba(124, 182, 255, 0.18),
    0 0 36px rgba(255, 120, 110, 0.14);
  backdrop-filter: blur(16px);
  animation: float 6s ease-in-out infinite;
  isolation: isolate;
  overflow: hidden;
}

.hero__floating-badge::before,
.hero__floating-badge::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
}

.hero__floating-badge::before {
  padding: 1.5px;
  background:
    linear-gradient(
      120deg,
      rgba(255, 120, 110, 0.2) 0deg,
      rgba(255, 120, 110, 0.98) 18%,
      rgba(255, 191, 110, 0.96) 36%,
      rgba(123, 211, 255, 0.98) 64%,
      rgba(182, 127, 255, 0.96) 82%,
      rgba(255, 120, 110, 0.2) 100%
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.hero__floating-badge::after {
  inset: -0.45rem;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 120, 110, 0.32), transparent 35%),
    radial-gradient(circle at 50% 0%, rgba(255, 191, 110, 0.26), transparent 32%),
    radial-gradient(circle at 82% 45%, rgba(123, 211, 255, 0.3), transparent 36%),
    radial-gradient(circle at 58% 100%, rgba(182, 127, 255, 0.24), transparent 34%);
  filter: blur(12px);
  opacity: 0.88;
  z-index: -1;
  animation: siriGlowPulse 4.8s ease-in-out infinite;
}

html[data-theme="light"] .hero__floating-badge,
html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea,
html[data-theme="light"] .contact-list a,
html[data-theme="light"] .contact-list span,
html[data-theme="light"] .social-row a,
html[data-theme="light"] .tag,
html[data-theme="light"] .project-card__image-wrap {
  background: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .contact-form {
  border-color: rgba(31, 52, 84, 0.2);
}

html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea {
  border-color: rgba(31, 52, 84, 0.18);
}

html[data-theme="light"] .hero__floating-badge {
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(245, 249, 255, 0.88)) padding-box,
    linear-gradient(
      120deg,
      rgba(255, 129, 116, 0.9),
      rgba(255, 194, 122, 0.82),
      rgba(117, 182, 255, 0.9),
      rgba(174, 132, 255, 0.84),
      rgba(255, 129, 116, 0.9)
    ) border-box;
  color: #182842;
  box-shadow:
    0 18px 34px rgba(106, 129, 163, 0.18),
    0 0 18px rgba(117, 182, 255, 0.12),
    0 0 26px rgba(255, 129, 116, 0.1);
}

.hero__floating-badge--left {
  top: 17%;
  left: -9%;
}

.hero__floating-badge--top {
  top: 4%;
  right: 5%;
}

.hero__floating-badge--right {
  right: -10%;
  bottom: 20%;
  animation-delay: -2.2s;
}

.hero__floating-badge--bottom {
  bottom: 7%;
  left: 2%;
  animation-delay: -1.2s;
}

.hero__floating-badge strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.section-heading {
  max-width: 42rem;
}

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

.section-heading h2 {
  margin: 1rem 0 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-grid,
.why-grid,
.service-grid,
.process-grid,
.testimonial-grid,
.project-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.4rem;
}

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

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

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

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

.feature-card,
.service-card,
.skill-card,
.timeline__content,
.contact-form {
  border-radius: var(--radius-lg);
}

.feature-card,
.service-card {
  padding: 1.5rem;
  text-align: center;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
}

.feature-card__icon,
.service-card__icon {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(255, 139, 107, 0.18), rgba(124, 182, 255, 0.14));
  color: #ffe5dd;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 34px rgba(7, 14, 24, 0.18);
  animation: iconFloat 6.2s ease-in-out infinite;
}

.why-card,
.process-card,
.testimonial-card {
  height: 100%;
  padding: 1.6rem;
}

.why-card {
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(124, 182, 255, 0.12);
  filter: blur(34px);
}

.why-card__icon {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(108, 229, 216, 0.16), rgba(124, 182, 255, 0.14));
  color: #d9f5ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.why-card h3,
.process-card h3,
.testimonial-card strong {
  display: block;
  margin: 0 0 0.7rem;
  font-size: 1.12rem;
}

.why-card p,
.process-card p,
.testimonial-card p,
.testimonial-card span {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.process-card {
  position: relative;
  overflow: hidden;
}

.process-card__step {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #ffd8cc;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.testimonial-card {
  position: relative;
}

.testimonial-card p {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

.testimonial-card span {
  display: block;
  margin-top: 0.15rem;
}

.feature-card h3,
.service-card h3,
.project-card h3,
.timeline__content h3 {
  margin: 0 0 0.65rem;
  font-size: 1.16rem;
}

.feature-card p,
.service-card p,
.project-card p,
.timeline__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.skill-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.1rem 1.15rem;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.skill-card__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.skill-card span {
  line-height: 1.5;
}

.skill-card__rating {
  display: flex;
  gap: 0.22rem;
  color: rgba(255, 255, 255, 0.24);
}

.skill-card__star--filled {
  color: #f6c977;
  fill: currentColor;
}

.skill-grid--grouped {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2.6rem;
}

.skill-group-card {
  padding: 1.35rem 1.2rem 1.2rem;
  border-radius: 1.75rem;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.skill-group-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 182, 255, 0.2);
}

.skill-group-card h3 {
  margin: 0;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.35;
}

.skill-group-card .skill-card__rating {
  justify-content: center;
  margin: 0.45rem 0 1rem;
}

.skill-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.65rem;
}

.skill-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 3.9rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(155, 186, 255, 0.13);
  border-radius: 0.55rem;
  background:
    linear-gradient(145deg, rgba(35, 48, 68, 0.86), rgba(20, 29, 45, 0.84)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.skill-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(42, 57, 80, 0.92), rgba(24, 35, 54, 0.9)),
    rgba(255, 255, 255, 0.05);
}

.skill-chip strong {
  min-width: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.skill-logo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.5rem;
  background: #2b3547;
  color: #f5f7fb;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.skill-logo img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.skill-logo img[src$="aws.svg"],
.skill-logo img[src$="github.svg"],
.skill-logo img[src$="npm.svg"] {
  width: 1.9rem;
  height: 1.9rem;
}

.skill-logo img[src$="github.svg"] {
  filter: invert(1);
}

.skill-logo:has(img[src$="aws.svg"]),
.skill-logo:has(img[src$="npm.svg"]) {
  background: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .skill-logo img[src$="github.svg"] {
  filter: none;
}

html[data-theme="light"] .skill-logo:has(img[src$="github.svg"]) {
  background: rgba(255, 255, 255, 0.94);
}

.skill-logo--csharp {
  background: linear-gradient(135deg, #4b266e, #7e43b4);
  color: #ffffff;
}

.skill-logo--php {
  color: #4f5f9d;
  background: #cdd3f1;
  font-size: 0.68rem;
  font-style: italic;
}

.skill-logo--ts {
  background: #3178c6;
  color: #dbeeff;
}

.skill-logo--js {
  background: #f7df1e;
  color: #16202e;
}

.skill-logo--dotnet {
  background: #311c5f;
  color: #9b6dff;
  font-size: 0.63rem;
}

.skill-logo--react {
  background: #1e3542;
  color: #61dafb;
  font-size: 0.58rem;
}

.skill-logo--vite {
  background: linear-gradient(135deg, #5f6dff, #7f52ff);
  color: #ffffff;
  font-size: 1rem;
}

.skill-logo--node {
  background: #1f5133;
  color: #7ccf52;
}

.skill-logo--html {
  background: #3d2f2b;
  color: #e44d26;
  font-size: 1.15rem;
}

.skill-logo--css {
  background: #322552;
  color: #7c3aed;
  font-size: 0.62rem;
}

.skill-logo--figma {
  background: #30283f;
  color: #ff7262;
  font-size: 1rem;
}

.skill-logo--npm {
  background: #3d2e36;
  color: #cb3837;
  font-size: 1.1rem;
}

.skill-logo--mssql {
  background: #303641;
  color: #e46f6f;
  font-size: 0.62rem;
}

.skill-logo--mysql {
  background: #243847;
  color: #00758f;
  font-size: 0.58rem;
}

.skill-logo--postgres {
  background: #273852;
  color: #4f8bd6;
}

.skill-logo--sqlite {
  background: #213746;
  color: #0f80cc;
  font-size: 0.58rem;
}

.skill-logo--aws {
  background: #ffffff;
  color: #232f3e;
  font-size: 0.62rem;
}

.skill-logo--rest {
  background: #233f2a;
  color: #7ed957;
}

.skill-logo--openapi {
  background: #273d30;
  color: #8ac926;
}

.skill-logo--postman {
  background: #423436;
  color: #ff6c37;
  font-size: 1rem;
}

.skill-logo--git {
  background: #3d302f;
  color: #f05032;
}

.skill-logo--github {
  background: #323946;
  color: #ffffff;
}

.skill-logo--vscode {
  background: #243a4c;
  color: #22a7f2;
}

.skill-logo--vs {
  background: #392952;
  color: #a46bf5;
}

html[data-theme="light"] .skill-card__rating {
  color: rgba(34, 53, 84, 0.18);
}

html[data-theme="light"] .skill-group-card h3,
html[data-theme="light"] .skill-chip strong {
  color: #14233b;
}

html[data-theme="light"] .skill-chip {
  border-color: rgba(31, 52, 84, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 243, 251, 0.9)),
    rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] .skill-chip:hover {
  border-color: rgba(31, 52, 84, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(230, 239, 249, 0.94)),
    rgba(255, 255, 255, 0.9);
}

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

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

.project-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  min-height: 24rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(18, 30, 51, 0.96), rgba(10, 17, 29, 0.92));
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="light"] .project-card:hover {
  border-color: rgba(28, 44, 74, 0.14);
}

html[data-theme="light"] .project-card__index,
html[data-theme="light"] .site-footer span {
  color: #6f7f99;
}

html[data-theme="light"] .project-card__result {
  background: rgba(241, 246, 252, 0.96);
  border-color: rgba(28, 44, 74, 0.08);
}

html[data-theme="light"] .project-card__result span {
  color: #71809a;
}

.project-card__glow {
  position: absolute;
  inset: auto -10% -20% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  filter: blur(46px);
  opacity: 0.5;
}

.project-card--coral .project-card__glow {
  background: rgba(255, 139, 107, 0.36);
}

.project-card--teal .project-card__glow {
  background: rgba(108, 229, 216, 0.28);
}

.project-card--gold .project-card__glow {
  background: rgba(246, 201, 119, 0.24);
}

.project-card--blue .project-card__glow {
  background: rgba(124, 182, 255, 0.28);
}

.project-card__index {
  display: inline-block;
  margin: 1.2rem 0 1rem;
  color: rgba(255, 255, 255, 0.36);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
}

.project-card__result {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.project-card__result span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card__result strong {
  font-size: 0.96rem;
  line-height: 1.5;
}

.project-card__image-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
}

.project-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card__image {
  transform: scale(1.03);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.tag {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #dfe7f9;
  font-size: 0.82rem;
}

html[data-theme="light"] .tag {
  color: #304766;
  background: rgba(233, 240, 249, 0.92);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  color: #ffe5dd;
  font-weight: 700;
}

html[data-theme="light"] .project-card__link {
  color: #b85b41;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.2rem;
  margin-top: 2.4rem;
  padding-left: 1.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.3rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 139, 107, 0.4), rgba(124, 182, 255, 0.2));
}

.timeline__item {
  position: relative;
}

.timeline__dot {
  position: absolute;
  left: -1.4rem;
  top: 1.5rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid #ffb9a7;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 0 0 8px rgba(255, 139, 107, 0.06);
}

.timeline__content {
  padding: 1.4rem 1.5rem;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.timeline__content:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
}

.section--contact {
  padding-bottom: 5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-copy,
.contact-form {
  min-height: 100%;
}

.contact-list,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.contact-list a,
.contact-list span,
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.6rem;
  color: #d7e2f8;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(6, 11, 21, 0.66);
  color: var(--text);
  resize: vertical;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

html[data-theme="light"] .button--secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(124, 182, 255, 0.24);
}

html[data-theme="light"] .hero__eyebrow,
html[data-theme="light"] .section-heading__eyebrow {
  background: rgba(255, 139, 107, 0.12);
  color: #b85b41;
}

html[data-theme="light"] .section-heading__eyebrow {
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(245, 249, 255, 0.88)) padding-box,
    linear-gradient(
      120deg,
      rgba(255, 129, 116, 0.9),
      rgba(255, 194, 122, 0.82),
      rgba(117, 182, 255, 0.9),
      rgba(174, 132, 255, 0.84),
      rgba(255, 129, 116, 0.9)
    ) border-box;
  color: #31503d;
  box-shadow:
    0 0 16px rgba(117, 182, 255, 0.1),
    0 0 24px rgba(255, 129, 116, 0.08);
}

html[data-theme="light"] .feature-card p,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .project-card p,
html[data-theme="light"] .timeline__content p,
html[data-theme="light"] .contact-form label,
html[data-theme="light"] .contact-list a,
html[data-theme="light"] .contact-list span,
html[data-theme="light"] .social-row a {
  color: #4d5f7c;
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .hero__eyebrow,
html[data-theme="light"] .feature-card__icon,
html[data-theme="light"] .service-card__icon,
html[data-theme="light"] .skill-card,
html[data-theme="light"] .contact-list a,
html[data-theme="light"] .contact-list span,
html[data-theme="light"] .social-row a {
  color: #223554;
}

html[data-theme="light"] .why-card__icon {
  color: #284364;
}

html[data-theme="light"] .feature-card:hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .skill-card:hover,
html[data-theme="light"] .timeline__content:hover {
  border-color: rgba(28, 44, 74, 0.16);
}

html[data-theme="light"] .scroll-top {
  background: rgba(255, 255, 255, 0.9);
  color: #223554;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(124, 182, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(124, 182, 255, 0.12);
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.site-footer span {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  display: none;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: rgba(9, 17, 31, 0.84);
  color: var(--text);
  box-shadow: 0 16px 36px rgba(4, 10, 18, 0.26);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.94);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.hero-animate__item,
.hero-stat,
.hero-portrait-enter {
  opacity: 0;
  animation: heroItemIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate__item:nth-child(1) {
  animation-delay: 0.08s;
}

.hero-animate__item:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-animate__item:nth-child(3) {
  animation-delay: 0.32s;
}

.hero-animate__item:nth-child(4) {
  animation-delay: 0.44s;
}

.hero__title-line {
  opacity: 0;
  animation: titleLineIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.hero-stat--one {
  animation-delay: 0.55s;
}

.hero-stat--two {
  animation-delay: 0.65s;
}

.hero-stat--three {
  animation-delay: 0.75s;
}

.hero-portrait-enter {
  animation-name: portraitIn;
  animation-duration: 0.9s;
  animation-delay: 0.15s;
}

.hero__bubble--one {
  animation: bubbleOne 9s ease-in-out infinite;
}

.hero__bubble--two {
  animation: bubbleTwo 10.5s ease-in-out infinite;
}

.hero__bubble--three {
  animation: bubbleThree 8.5s ease-in-out infinite;
}

.hero__bubble--four {
  animation: bubbleFour 11s ease-in-out infinite;
}

.hero__bubble--five {
  animation: bubbleFive 9.8s ease-in-out infinite;
}

.hero-orbit--outer {
  animation: orbitSpin 24s linear infinite;
}

.hero-orbit--inner {
  animation: orbitSpinReverse 18s linear infinite;
}

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

@keyframes heroItemIn {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes portraitIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titleLineIn {
  from {
    opacity: 0;
    letter-spacing: 0.18em;
  }
  to {
    opacity: 1;
    letter-spacing: 0;
  }
}

@keyframes bubbleOne {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(12px, -18px);
  }
}

@keyframes bubbleTwo {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, 22px);
  }
}

@keyframes bubbleThree {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-8px, -14px);
  }
}

@keyframes bubbleFour {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(9px, 16px);
  }
}

@keyframes bubbleFive {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(14px, -12px);
  }
}

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

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

@keyframes heroEyebrowPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 139, 107, 0);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 139, 107, 0.06);
    transform: translateY(-1px);
  }
}

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


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

@keyframes eyebrowGlowTravel {
  0% {
    left: -1.5rem;
    right: auto;
  }
  49% {
    left: calc(100% - 2.5rem);
    right: auto;
  }
  50% {
    left: auto;
    right: -1.5rem;
  }
  100% {
    left: auto;
    right: calc(100% - 2.5rem);
  }
}

@keyframes siriGlowPulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero,
  .contact-layout,
  .about-grid,
  .why-grid,
  .service-grid,
  .process-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__visual {
    min-height: 32rem;
    order: -1;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding-top: 0.9rem;
    padding-inline: 1rem;
  }

  .header-controls {
    gap: 0.6rem;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .scroll-top {
    display: flex;
  }

  .theme-toggle span {
    display: inline;
  }

  .theme-toggle {
    min-width: 5.8rem;
    justify-content: center;
    padding-inline: 0.9rem;
    gap: 0.45rem;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    right: auto;
    flex-direction: column;
    align-items: center;
    width: min(18rem, calc(100vw - 2rem));
    padding: 1rem 0.9rem;
    border-radius: 1.4rem;
    background: rgba(9, 17, 31, 0.94);
    box-shadow: 0 18px 40px rgba(3, 9, 18, 0.34);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .site-nav--open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .site-nav a {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.95rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
  }

  .site-nav a:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.06);
  }

  .hero {
    min-height: auto;
    text-align: center;
  }

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

  .hero__visual {
    order: -1;
    min-height: 22rem;
    width: min(100%, 21rem);
    margin: 0 auto;
  }

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

  .hero__copy,
  .section-heading,
  .contact-copy {
    margin-inline: auto;
    text-align: center;
  }

  .hero__eyebrow,
  .section-heading__eyebrow {
    justify-content: center;
  }

  .hero__actions,
  .contact-list,
  .social-row {
    justify-content: center;
  }

  .hero__portrait-card {
    width: min(100%, 19rem);
    margin-inline: auto;
    padding: 0.95rem;
  }

  .hero__portrait-frame {
    min-height: 18rem;
  }

  .hero__floating-badge {
    max-width: 8.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.9rem;
    font-size: 0.62rem;
  }

  .hero__floating-badge strong {
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .hero__floating-badge--left {
    top: 17%;
    left: -5%;
  }

  .hero__floating-badge--top {
    top: 4%;
    right: -2%;
  }

  .hero__floating-badge--right {
    right: -5%;
    bottom: 20%;
  }

  .hero__floating-badge--bottom {
    bottom: 9%;
    left: 0;
  }

  .hero__bubble--one {
    top: 1.8rem;
    left: 1rem;
    width: 3.2rem;
    height: 3.2rem;
  }

  .hero__bubble--two {
    top: 3.8rem;
    right: 0.6rem;
    width: 4.3rem;
    height: 4.3rem;
  }

  .hero__bubble--three {
    bottom: 6rem;
    left: 0.4rem;
    width: 2.4rem;
    height: 2.4rem;
  }

  .hero__bubble--four {
    bottom: 1.8rem;
    right: 1.6rem;
    width: 3.6rem;
    height: 3.6rem;
  }

  .hero__bubble--five {
    top: 48%;
    right: 0.1rem;
    width: 2rem;
    height: 2rem;
  }

  .hero__portrait-ring--one {
    width: 16rem;
  }

  .hero__portrait-ring--two {
    width: 12.5rem;
  }

  .hero-orbit--outer {
    width: 18.5rem;
    height: 18.5rem;
  }

  .hero-orbit--inner {
    width: 14rem;
    height: 14rem;
  }

  .section {
    padding: 4.5rem 0;
    scroll-margin-top: 1.5rem;
  }

  .feature-card,
  .service-card {
    padding: 1.6rem 1.3rem;
  }

  .feature-card__icon,
  .service-card__icon {
    width: 4.8rem;
    height: 4.8rem;
    margin-bottom: 1rem;
  }

  .skill-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .skill-card__rating {
    justify-self: end;
    margin-left: 0.75rem;
  }
}

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

  .reveal,
  .hero-animate__item,
  .hero-stat,
  .hero-portrait-enter,
  .hero__title-line {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
