:root {
  --bg-1: #02050d;
  --bg-2: #081225;
  --bg-3: #101e34;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --border: rgba(148, 163, 184, 0.22);
  --brand: #0f766e;
  --brand-2: #0ea5a5;
  --accent: #c2410c;
  --accent-2: #f59e0b;
  --shadow: 0 30px 70px rgba(2, 6, 23, 0.48);
  --premium-glow-teal: rgba(45, 212, 191, 0.22);
  --premium-glow-gold: rgba(250, 204, 21, 0.18);
  --premium-glow-blue: rgba(56, 189, 248, 0.16);
  --premium-sheen: rgba(255, 255, 255, 0.14);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

@font-face {
  font-family: "Sora";
  src: url("/fonts/sora-latin-400-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-600-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --scene-base-1: #0d1830;
  --scene-base-2: #081325;
  --scene-base-3: #030711;
  --scene-star: rgba(241, 245, 249, 0.95);
  --scene-glow-1: rgba(45, 212, 191, 0.24);
  --scene-glow-2: rgba(56, 189, 248, 0.2);
  --scene-glow-3: rgba(250, 204, 21, 0.16);
  --scene-stripe-1: rgba(45, 212, 191, 0.14);
  --scene-stripe-2: rgba(250, 204, 21, 0.12);
  --scene-vignette: rgba(2, 6, 23, 0.75);
  --scene-motion: 30s;
  --scene-drift: 24s;
  background:
    radial-gradient(125% 95% at 50% -8%, rgba(148, 163, 184, 0.2), transparent 58%),
    radial-gradient(circle at 12% 16%, var(--scene-glow-1), transparent 38%),
    radial-gradient(circle at 88% 18%, var(--scene-glow-2), transparent 40%),
    radial-gradient(circle at 74% 86%, var(--scene-glow-3), transparent 42%),
    linear-gradient(156deg, var(--scene-base-1), var(--scene-base-2) 44%, var(--scene-base-3));
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -26%;
  pointer-events: none;
  background-image:
    radial-gradient(circle, var(--scene-star) 0.9px, transparent 1.45px),
    radial-gradient(circle, rgba(224, 242, 254, 0.8) 0.85px, transparent 1.4px),
    radial-gradient(circle, rgba(191, 219, 254, 0.64) 0.75px, transparent 1.32px),
    radial-gradient(circle, rgba(148, 163, 184, 0.52) 0.72px, transparent 1.35px);
  background-size: 240px 240px, 180px 180px, 132px 132px, 260px 260px;
  background-position: 0 0, 56px 92px, 116px 34px, 168px 130px;
  opacity: 0.78;
  mix-blend-mode: screen;
  z-index: -4;
  animation: star-pan 170s linear infinite, star-twinkle 9s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -24%;
  pointer-events: none;
  background:
    radial-gradient(128% 96% at 50% -12%, rgba(255, 255, 255, 0.16), transparent 58%),
    radial-gradient(130% 112% at 50% 118%, var(--scene-vignette), transparent 66%),
    radial-gradient(circle at 18% 24%, var(--scene-glow-1), transparent 44%),
    radial-gradient(circle at 84% 26%, var(--scene-glow-2), transparent 42%),
    radial-gradient(circle at 72% 84%, var(--scene-glow-3), transparent 44%),
    linear-gradient(
      116deg,
      transparent 24%,
      var(--scene-stripe-1) 46%,
      transparent 68%
    ),
    linear-gradient(
      -116deg,
      transparent 28%,
      var(--scene-stripe-2) 50%,
      transparent 74%
    ),
    linear-gradient(
      96deg,
      transparent 12%,
      rgba(255, 255, 255, 0.08) 50%,
      transparent 86%
    ),
    repeating-linear-gradient(
      132deg,
      rgba(148, 163, 184, 0.09) 0 1px,
      transparent 1px 22px
    ),
    repeating-linear-gradient(
      -132deg,
      rgba(125, 211, 252, 0.06) 0 1px,
      transparent 1px 26px
    );
  z-index: -3;
  opacity: 0.9;
  filter: saturate(1.15) contrast(1.08);
  animation: livery-shift var(--scene-motion) ease-in-out infinite, shadow-drift var(--scene-drift) ease-in-out infinite;
}

body.scene-home {
  --scene-base-1: #0b182a;
  --scene-base-2: #081324;
  --scene-base-3: #040810;
  --scene-glow-1: rgba(45, 212, 191, 0.3);
  --scene-glow-2: rgba(56, 189, 248, 0.24);
  --scene-glow-3: rgba(250, 204, 21, 0.18);
  --scene-stripe-1: rgba(20, 184, 166, 0.18);
  --scene-stripe-2: rgba(245, 158, 11, 0.14);
  --scene-motion: 26s;
  --scene-drift: 22s;
}

body.scene-about {
  --scene-base-1: #0f1a35;
  --scene-base-2: #0b1430;
  --scene-base-3: #050913;
  --scene-star: rgba(219, 234, 254, 0.95);
  --scene-glow-1: rgba(59, 130, 246, 0.28);
  --scene-glow-2: rgba(129, 140, 248, 0.24);
  --scene-glow-3: rgba(45, 212, 191, 0.16);
  --scene-stripe-1: rgba(56, 189, 248, 0.15);
  --scene-stripe-2: rgba(165, 180, 252, 0.14);
  --scene-motion: 33s;
  --scene-drift: 25s;
}

body.scene-projects {
  --scene-base-1: #12192f;
  --scene-base-2: #0d1527;
  --scene-base-3: #05080f;
  --scene-star: rgba(254, 243, 199, 0.92);
  --scene-glow-1: rgba(250, 204, 21, 0.24);
  --scene-glow-2: rgba(45, 212, 191, 0.24);
  --scene-glow-3: rgba(96, 165, 250, 0.18);
  --scene-stripe-1: rgba(245, 158, 11, 0.16);
  --scene-stripe-2: rgba(45, 212, 191, 0.16);
  --scene-motion: 24s;
  --scene-drift: 20s;
}

body.scene-contact {
  --scene-base-1: #0d1b34;
  --scene-base-2: #09162b;
  --scene-base-3: #050b14;
  --scene-star: rgba(224, 242, 254, 0.94);
  --scene-glow-1: rgba(34, 211, 238, 0.24);
  --scene-glow-2: rgba(96, 165, 250, 0.24);
  --scene-glow-3: rgba(250, 204, 21, 0.14);
  --scene-stripe-1: rgba(125, 211, 252, 0.15);
  --scene-stripe-2: rgba(59, 130, 246, 0.14);
  --scene-motion: 28s;
  --scene-drift: 23s;
}

@keyframes star-pan {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-190px, -130px, 0);
  }
}

@keyframes star-twinkle {
  0%,
  100% {
    opacity: 0.66;
  }

  38% {
    opacity: 0.86;
  }

  72% {
    opacity: 0.58;
  }
}

@keyframes livery-shift {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }

  50% {
    transform: translate3d(-1.6%, 1.1%, 0) scale(1.04) rotate(0.6deg);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes shadow-drift {
  0%,
  100% {
    opacity: 0.88;
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    opacity: 0.96;
    transform: translate3d(1.2%, -1.1%, 0) scale(1.03);
  }
}

@keyframes premium-aurora {
  0%,
  100% {
    opacity: 0.36;
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    opacity: 0.5;
    transform: translate3d(1.8%, -1.2%, 0) scale(1.03);
  }
}

@keyframes premium-glow {
  0%,
  100% {
    opacity: 0.28;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 0.42;
    transform: translate3d(0, -1.2%, 0);
  }
}

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

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-family: "Fraunces", "Georgia", serif;
}

main {
  width: 100%;
}

/* Lightweight utility layer for view templates (replaces Tailwind CDN). */
.hidden {
  display: none;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1 1 0%;
}

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

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.italic {
  font-style: italic;
}

.font-semibold {
  font-weight: 600;
}

.leading-relaxed {
  line-height: 1.625;
}

.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

.w-6 {
  width: 1.5rem;
}

.w-72 {
  width: 18rem;
}

.h-6 {
  height: 1.5rem;
}

.h-44 {
  height: 11rem;
}

.h-52 {
  height: 13rem;
}

.h-64 {
  height: 16rem;
}

.h-72 {
  height: 18rem;
}

.h-80 {
  height: 20rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.mx-auto {
  margin-inline: auto;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-7 {
  margin-bottom: 1.75rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-10 {
  padding: 2.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-14 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.space-y-5 > * + * {
  margin-top: 1.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.shadow-xl {
  box-shadow: 0 20px 30px -12px rgba(15, 23, 42, 0.35);
}

.border {
  border-width: 1px;
  border-style: solid;
  border-color: var(--border);
}

.border-slate-300 {
  border-color: #cbd5e1;
}

.bg-slate-50 {
  background-color: #f8fafc;
}

.bg-slate-100 {
  background-color: #f1f5f9;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-white {
  color: #fff;
}

.text-emerald-50 {
  color: #ecfdf5;
}

.text-slate-500 {
  color: #64748b;
}

.text-slate-600 {
  color: #475569;
}

.text-slate-700 {
  color: #334155;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.object-cover {
  object-fit: cover;
}

.col-span-3 {
  grid-column: span 3 / span 3;
}

@media (min-width: 768px) {
  .md\:justify-end {
    justify-content: flex-end;
  }

  .md\:w-80 {
    width: 20rem;
  }

  .md\:h-80 {
    height: 20rem;
  }

  .md\:p-10 {
    padding: 2.5rem;
  }

  .md\:p-14 {
    padding: 3.5rem;
  }

  .md\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .md\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

.site-shell {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 0.85rem 0;
  backdrop-filter: blur(12px);
}

.nav-shell {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(130deg, rgba(15, 23, 42, 0.95), rgba(15, 118, 110, 0.9)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 28%),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 24px);
  box-shadow: 0 14px 35px rgba(2, 6, 23, 0.28);
  border-radius: 18px;
  padding: 0.7rem 0.95rem;
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 26%, var(--premium-glow-teal), transparent 42%),
    radial-gradient(circle at 84% 34%, var(--premium-glow-blue), transparent 46%),
    linear-gradient(105deg, transparent 20%, var(--premium-sheen) 52%, transparent 84%);
  opacity: 0.42;
  z-index: 0;
  animation: premium-aurora 18s ease-in-out infinite;
}

.nav-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.5rem;
  position: relative;
  z-index: 1;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  min-width: 0;
}

.nav-brand-name {
  display: inline-flex;
  align-items: center;
}

.nav-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #f59e0b, #ea580c);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-desktop {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  font-size: 0.96rem;
}

.nav-links a {
  position: relative;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #f59e0b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.nav-contact {
  display: none;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0.44rem 0.78rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
}

.menu-trigger {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  padding: 0.34rem 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.menu-trigger span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.mobile-menu {
  display: none;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
  z-index: 1;
}

.mobile-menu a {
  display: block;
  padding: 0.68rem 0.82rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mobile-menu a.active {
  border-color: rgba(251, 191, 36, 0.6);
  background: rgba(251, 191, 36, 0.18);
}

.mobile-menu.hidden {
  display: none;
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-contact {
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.72rem 0.9rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .menu-trigger,
  .mobile-menu {
    display: none !important;
  }
}

@media (min-width: 1120px) {
  .nav-contact {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }

  .menu-trigger {
    display: inline-flex;
  }
}

@media (max-width: 520px) {
  .nav-brand-name {
    display: none;
  }
}

.page-band {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    linear-gradient(110deg, rgba(14, 165, 165, 0.08), transparent 36%),
    linear-gradient(-120deg, rgba(245, 158, 11, 0.08), transparent 40%),
    repeating-linear-gradient(135deg, rgba(15, 23, 42, 0.012) 0 2px, transparent 2px 28px);
  box-shadow: var(--shadow);
}

.page-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, var(--premium-glow-teal), transparent 44%),
    radial-gradient(circle at 82% 76%, var(--premium-glow-gold), transparent 46%),
    linear-gradient(112deg, transparent 18%, var(--premium-sheen) 52%, transparent 86%);
  mix-blend-mode: soft-light;
  opacity: 0.42;
  z-index: 0;
  animation: premium-aurora 20s ease-in-out infinite;
}

.page-band > * {
  position: relative;
  z-index: 1;
}

@supports (content-visibility: auto) {
  .lazy-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 760px;
  }
}

.section-divider {
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 165, 0.52), rgba(245, 158, 11, 0.52), transparent);
}

.hero-band {
  position: relative;
  overflow: hidden;
}

.hero-band::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(14, 165, 165, 0.22), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.73rem;
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero-title .accent {
  color: var(--brand);
}

.hero-title-sub {
  display: block;
  margin-top: 0.4rem;
  font-size: clamp(1.18rem, 2.3vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
}

.hero-copy {
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 62ch;
}

.hero-image-wrap {
  position: relative;
  display: inline-block;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 100%;
  background: conic-gradient(from 90deg, #0ea5a5, #f59e0b, #0ea5a5);
  filter: blur(0.5px);
  z-index: -1;
}

.hero-frame {
  isolation: isolate;
}

.hero-image {
  border-radius: 999px;
  border: 6px solid #fff;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.22);
}

.hero-tech-orbit {
  position: absolute;
  inset: 0;
}

.hero-chip {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  animation: chip-drift 6.6s ease-in-out infinite;
}

.chip-1 {
  top: -0.5rem;
  left: -1.9rem;
  animation-delay: 0s;
}

.chip-2 {
  top: -0.55rem;
  right: -1.8rem;
  animation-delay: 0.45s;
}

.chip-3 {
  top: 30%;
  right: -2.6rem;
  animation-delay: 0.85s;
}

.chip-4 {
  right: -1.7rem;
  bottom: 20%;
  animation-delay: 1.25s;
}

.chip-5 {
  left: -1.5rem;
  bottom: -0.25rem;
  animation-delay: 1.65s;
}

.chip-6 {
  left: -2.2rem;
  top: 25%;
  animation-delay: 2.05s;
}

.chip-7 {
  left: 16%;
  bottom: -1.1rem;
  animation-delay: 2.45s;
}

.chip-8 {
  right: 14%;
  bottom: -1.2rem;
  animation-delay: 2.85s;
}

@keyframes chip-drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.hero-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-metrics li {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.7rem 0.8rem;
}

.hero-metrics strong {
  display: block;
  line-height: 1.1;
  font-size: 0.95rem;
  color: var(--ink);
}

.hero-metrics span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 0.24rem;
}

.section-wrap {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head.mb-0 {
  margin-bottom: 0;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  margin-bottom: 0.6rem;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 96px;
  height: 5px;
  margin: 0.65rem auto 0;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(14, 165, 165, 0.75) 0 16px,
    rgba(245, 158, 11, 0.75) 16px 32px
  );
  opacity: 0.6;
}

.section-head p {
  color: var(--muted);
  max-width: 72ch;
  margin: 0 auto;
}

/* Improve readability for headings that sit directly on cinematic scene backgrounds. */
.section-wrap > .section-head {
  position: relative;
  padding: 0.55rem 1rem 1.1rem;
  border-radius: 20px;
  margin-bottom: 2.25rem;
}

.section-wrap > .section-head::before {
  content: "";
  position: absolute;
  inset: -0.3rem 10% 0.2rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.48)),
    linear-gradient(115deg, rgba(45, 212, 191, 0.12), transparent 45%),
    linear-gradient(-120deg, rgba(250, 204, 21, 0.1), transparent 48%);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.section-wrap > .section-head h2 {
  color: rgba(241, 245, 249, 0.98);
  text-shadow: 0 10px 24px rgba(2, 6, 23, 0.55);
}

.section-wrap > .section-head p {
  color: rgba(255, 255, 255, 0.99);
  font-weight: 600;
  text-shadow: 0 8px 22px rgba(2, 6, 23, 0.62);
}

.section-wrap > .section-head h2::after {
  opacity: 0.88;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.72);
  outline-offset: 2px;
}

.elevated-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.78)),
    linear-gradient(180deg, rgba(14, 165, 165, 0.08), transparent 34%),
    repeating-linear-gradient(130deg, rgba(15, 23, 42, 0.01) 0 2px, transparent 2px 30px);
  box-shadow: var(--shadow);
}

.elevated-panel::after {
  content: "";
  position: absolute;
  inset: auto -25% -68% -25%;
  height: 15rem;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 35%, rgba(56, 189, 248, 0.24), transparent 62%),
    radial-gradient(circle at 20% 65%, rgba(45, 212, 191, 0.18), transparent 64%);
  opacity: 0.4;
  z-index: 0;
  animation: premium-glow 14s ease-in-out infinite;
}

.elevated-panel > * {
  position: relative;
  z-index: 1;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.14);
}

.feature-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

.feature-card p {
  color: var(--ink-soft);
}

.service-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(130deg, rgba(245, 158, 11, 0.42), rgba(14, 165, 165, 0.38));
  margin-bottom: 0.95rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.78rem 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 24px rgba(15, 118, 110, 0.28);
}

.btn-secondary {
  color: #0b1325;
  background: linear-gradient(135deg, #f8d58f, #f59e0b);
  box-shadow: 0 14px 24px rgba(180, 83, 9, 0.22);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
}

.project-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.project-card {
  position: relative;
  isolation: isolate;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), #fff),
    linear-gradient(90deg, rgba(14, 165, 165, 0.12), rgba(245, 158, 11, 0.12));
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto -24% -72% -24%;
  height: 13rem;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 25%, rgba(45, 212, 191, 0.22), transparent 65%),
    radial-gradient(circle at 32% 75%, rgba(250, 204, 21, 0.18), transparent 66%);
  opacity: 0.34;
  z-index: 0;
  animation: premium-glow 16s ease-in-out infinite;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1;
  background: repeating-linear-gradient(
    90deg,
    rgba(14, 165, 165, 0.9) 0 22px,
    rgba(245, 158, 11, 0.9) 22px 44px
  );
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.16);
  border-color: rgba(45, 212, 191, 0.34);
}

.project-card .copy {
  color: var(--ink-soft);
}

.project-card picture img,
.project-card > img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

.project-status {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  z-index: 2;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.3rem 0.55rem;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(6px);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.project-pill {
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.3);
  background: rgba(14, 165, 165, 0.11);
  color: #0f4f4a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.58rem;
}

.gallery-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.75rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.gallery-strip > img,
.gallery-strip > a {
  flex: 0 0 min(72vw, 300px);
  max-width: min(72vw, 300px);
  min-width: min(72vw, 300px);
  scroll-snap-align: start;
}

.gallery-strip img {
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.project-detail-panel {
  border-radius: 22px;
}

.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.82));
}

.project-detail-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.project-detail-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.32) 48%,
    rgba(255, 255, 255, 0) 74%
  );
  opacity: 0;
  transition: opacity 0.22s ease;
}

.project-detail-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.14);
  border-color: rgba(14, 165, 165, 0.36);
}

.project-detail-thumb:hover::after {
  opacity: 1;
}

.project-detail-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-cover-link {
  display: block;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.project-detail-cover-img {
  width: 100%;
  height: min(28rem, 62vw);
  object-fit: cover;
}

.strong-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.strong-list li {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
}

.strong-list strong {
  color: var(--ink);
}

.about-photo-stage {
  display: flex;
  justify-content: center;
}

.about-photo-frame {
  position: relative;
  display: block;
  width: min(100%, 34rem);
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.2);
}

.about-photo-image {
  display: block;
  width: 100%;
  height: auto;
}

.cta-band {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(130deg, rgba(15, 118, 110, 0.14), rgba(245, 158, 11, 0.16));
  box-shadow: var(--shadow);
}

.info-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(150deg, #0f766e, #0e7490);
  color: #fff;
}

.form-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.testimonial-grid {
  margin-top: 0.4rem;
}

.testimonial-card {
  height: 100%;
}

.testimonial-quote {
  color: #334155;
  line-height: 1.75;
}

.testimonial-author {
  color: #0f172a;
}

.testimonial-role {
  color: #64748b;
}

.testimonial-empty {
  color: #475569;
}

.testimonial-form-card {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin-inline: auto;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    linear-gradient(120deg, rgba(14, 165, 165, 0.09), transparent 48%),
    linear-gradient(-125deg, rgba(245, 158, 11, 0.08), transparent 52%);
}

.testimonial-form-card::before {
  content: "";
  position: absolute;
  inset: auto -24% -74% -24%;
  height: 13rem;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 45%, rgba(45, 212, 191, 0.24), transparent 64%),
    radial-gradient(circle at 72% 54%, rgba(250, 204, 21, 0.2), transparent 64%);
  opacity: 0.34;
}

.testimonial-form-card > * {
  position: relative;
  z-index: 1;
}

.testimonial-form-head {
  margin-bottom: 1.1rem;
}

.testimonial-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: -0.2rem 0 1rem;
}

.testimonial-trust-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: rgba(14, 165, 165, 0.08);
  color: #0f4f4a;
  padding: 0.35rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.testimonial-field {
  display: grid;
}

.testimonial-form label {
  color: #334155;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.testimonial-form input,
.testimonial-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.48);
  background: rgba(255, 255, 255, 0.98);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.testimonial-form input::placeholder,
.testimonial-form textarea::placeholder {
  color: #94a3b8;
}

.testimonial-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.testimonial-form input:focus,
.testimonial-form textarea:focus {
  border-color: rgba(15, 118, 110, 0.58);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
}

.testimonial-submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.testimonial-submit-btn {
  min-width: 14rem;
}

.testimonial-form-note {
  margin: 0;
  color: #64748b;
  font-size: 0.86rem;
}

input,
textarea,
select,
button {
  font-family: inherit;
}

input,
textarea {
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(14, 165, 165, 0.32);
  outline-offset: 1px;
  border-color: rgba(15, 118, 110, 0.45);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-error {
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: rgba(254, 226, 226, 0.78);
  color: #991b1b;
  padding: 0.7rem 0.9rem;
}

.trust-strip {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.92fr);
  gap: 2.15rem;
  align-items: start;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-availability {
  margin: -0.4rem 0 0.4rem;
  font-size: 0.84rem;
  color: rgba(226, 232, 240, 0.9);
}

.trust-card {
  border-radius: 12px;
  padding: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.82));
}

.trust-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
}

.trust-card span {
  font-size: 0.76rem;
  color: var(--muted);
}

.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.72rem;
}

.icon-list li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-height: 4.2rem;
  padding: 0.78rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.icon-list li:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.icon-badge {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fef3c7;
  background: rgba(15, 23, 42, 0.25);
}

.icon-badge svg {
  width: 1.1rem;
  height: 1.1rem;
}

.icon-copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.icon-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0;
  color: rgba(226, 232, 240, 0.85);
}

.icon-list a {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  width: fit-content;
  max-width: 100%;
}

.icon-list a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

.icon-sub {
  margin: 0;
  font-size: 0.74rem;
  color: rgba(226, 232, 240, 0.8);
  overflow-wrap: anywhere;
}

.mobile-next-wrap {
  display: none;
}

.mobile-next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(245, 158, 11, 0.2));
  padding: 0.92rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  touch-action: pan-y;
}

.mobile-next-copy {
  display: grid;
  gap: 0.15rem;
}

.mobile-next-label {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.mobile-next-copy strong {
  font-size: 1.08rem;
  color: var(--ink);
}

.mobile-next-hint {
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.mobile-next-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.84);
  color: #fff;
  font-size: 1rem;
  animation: next-arrow-nudge 2.4s ease-in-out infinite;
}

@keyframes next-arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(4px);
  }
}

.home-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 0.5rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

.home-fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.14);
}

.toast-success {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  border-radius: 12px;
  border: 1px solid rgba(22, 163, 74, 0.22);
  background: rgba(220, 252, 231, 0.96);
  color: #14532d;
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 28px rgba(20, 83, 45, 0.22);
}

.footer-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 2.2rem auto 1.4rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.94);
  color: rgba(226, 232, 240, 0.9);
  text-align: center;
  padding: 1rem;
}

.footer-role {
  margin: 0.35rem 0 0;
  color: rgba(241, 245, 249, 0.98);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.error-shell {
  width: min(820px, calc(100% - 2rem));
  margin: 4rem auto;
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  padding: 2.6rem 2rem;
}

.success-shell {
  position: relative;
  overflow: hidden;
}

.success-shell::after {
  content: "";
  position: absolute;
  inset: auto -30% -45% -30%;
  height: 12rem;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.22), transparent 70%);
  pointer-events: none;
}

.success-orb {
  margin: 0 auto 1rem;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f766e;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.22), rgba(14, 165, 165, 0.1));
  border: 1px solid rgba(5, 150, 105, 0.35);
  transform: scale(0.75);
  opacity: 0;
}

.success-orb svg {
  width: 2rem;
  height: 2rem;
}

.success-orb.is-ready {
  animation: success-pop 650ms cubic-bezier(0.2, 1, 0.22, 1) forwards;
}

@keyframes success-pop {
  0% {
    opacity: 0;
    transform: scale(0.75);
  }

  70% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.error-code {
  font-size: clamp(3rem, 10vw, 7rem);
  margin: 0;
  color: var(--accent);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(14, 165, 165, 0.6), rgba(245, 158, 11, 0.6));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  margin-top: 0.75rem;
  margin-left: 9px;
  border: 3px solid rgba(15, 118, 110, 0.6);
  background: #fff;
  z-index: 2;
}

.timeline-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.1);
  padding: 1.2rem;
}

.timeline-date {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
}

.timeline-company {
  margin: -0.05rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.timeline-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1.35rem;
}

.timeline-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: transform 0.6s ease, opacity 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

body.performance-lite::before {
  display: none;
}

body.performance-lite::after {
  animation: none;
  opacity: 0.42;
  filter: none;
}

body.performance-lite .nav-shell::before,
body.performance-lite .page-band::before,
body.performance-lite .elevated-panel::after,
body.performance-lite .project-card::after,
body.performance-lite .mobile-next-arrow,
body.performance-lite .hero-chip,
body.performance-lite .success-orb.is-ready {
  animation: none;
}

body.performance-lite .site-nav,
body.performance-lite .section-wrap > .section-head::before,
body.performance-lite .project-status {
  backdrop-filter: none;
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .strong-list {
    grid-template-columns: 1fr;
  }

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

  .chip-3 {
    right: -2rem;
  }

  .chip-4 {
    right: -1.2rem;
  }

  .chip-6 {
    left: -1.4rem;
  }
}

@media (max-width: 900px) {
  html {
    scroll-behavior: auto;
  }

  .page-band,
  .section-wrap,
  .footer-shell {
    content-visibility: auto;
    contain-intrinsic-size: 1px 760px;
  }

  body {
    background:
      radial-gradient(125% 90% at 50% -12%, rgba(148, 163, 184, 0.14), transparent 60%),
      linear-gradient(160deg, var(--scene-base-1), var(--scene-base-2) 52%, var(--scene-base-3));
  }

  body::before {
    display: none;
  }

  body::after {
    inset: 0;
    animation: none;
    opacity: 0.42;
    filter: none;
    background:
      radial-gradient(circle at 18% 24%, var(--scene-glow-1), transparent 55%),
      radial-gradient(circle at 82% 22%, var(--scene-glow-2), transparent 55%),
      radial-gradient(circle at 72% 84%, var(--scene-glow-3), transparent 58%),
      linear-gradient(
        112deg,
        transparent 18%,
        rgba(255, 255, 255, 0.08) 52%,
        transparent 86%
      );
  }

  .site-nav,
  .section-wrap > .section-head::before,
  .project-status {
    backdrop-filter: none;
  }

  .nav-shell::before,
  .page-band::before,
  .elevated-panel::after,
  .project-card::after,
  .mobile-next-arrow {
    animation: none;
  }

  .reveal {
    transform: translateY(10px);
    transition-duration: 0.42s;
  }
}

@media (max-width: 768px) {
  .nav-shell {
    border-radius: 18px;
  }

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

  .project-detail-gallery {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .project-detail-thumb {
    flex: 0 0 min(82vw, 340px);
  }

  .project-detail-cover-img {
    height: min(21rem, 66vw);
  }

  .hero-image-wrap::before {
    inset: -12px;
  }

  .hero-tech-orbit {
    position: static;
    inset: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.8rem;
    width: min(20rem, 100%);
  }

  .hero-chip {
    position: static;
    display: inline-flex;
    margin: 0;
    padding: 0.4rem 0.6rem;
    font-size: 0.68rem;
    animation: none;
  }

  .hero-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .btn-row {
    width: 100%;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-ghost {
    width: 100%;
  }

  .testimonial-submit-wrap {
    text-align: left;
    align-items: stretch;
  }

  .testimonial-submit-btn {
    width: 100%;
    min-width: 0;
  }

  .testimonial-form-note {
    text-align: left;
  }

  .testimonial-trust-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 9vw, 2.9rem);
  }

  .project-status {
    top: 0.6rem;
    right: 0.6rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 0.7rem;
  }

  .timeline-dot {
    width: 13px;
    height: 13px;
    margin-left: 8px;
  }

  .mobile-next-wrap {
    display: block;
  }

  .home-fab {
    bottom: 0.9rem;
    right: 0.78rem;
  }

  .section-wrap > .section-head {
    padding: 0.45rem 0.8rem 0.95rem;
    border-radius: 16px;
  }

  .section-wrap > .section-head::before {
    inset: -0.2rem 4% 0.15rem;
    border-radius: 14px;
  }

  .nav-shell::before,
  .page-band::before,
  .elevated-panel::after,
  .project-card::after {
    opacity: 0.18;
  }

  body::before {
    opacity: 0;
  }

  body::after {
    opacity: 0.36;
    filter: none;
  }

  .section-head h2::after {
    width: 74px;
    height: 4px;
  }

  .about-photo-frame {
    width: min(100%, 21rem);
    aspect-ratio: 5 / 4;
  }

  .about-photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
  }
}

@media (max-width: 520px) {
  .page-band,
  .section-wrap,
  .footer-shell {
    width: min(1200px, calc(100% - 1.2rem));
  }

  .icon-list li {
    padding: 0.65rem;
    min-height: auto;
  }

  .success-orb {
    width: 3.9rem;
    height: 3.9rem;
  }
}

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