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

:root {
  color-scheme: dark;
  --ink: #e2e8f0;
  --muted: #94a3b8;
  --paper: #0b1220;
  --accent: #38bdf8;
  --accent-dark: #0ea5e9;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --stroke: rgba(148, 163, 184, 0.18);
  --card: #0f172a;
  --shadow: 0 12px 28px rgba(2, 6, 23, 0.55);
  --shadow-strong: 0 28px 70px rgba(2, 6, 23, 0.65);
  --shadow-soft: 0 18px 40px rgba(2, 6, 23, 0.45);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --page-pad: clamp(20px, 6vw, 96px);
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: radial-gradient(circle at top, #121b30 0%, #0b1220 55%, #070b14 100%);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

::selection {
  background: rgba(56, 189, 248, 0.3);
  color: #0b1220;
}

img {
  display: block;
}

a,
button {
  font-family: inherit;
}

a {
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

.hero > *,
.section > *,
.footer > * {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 0;
}

.bg-orb {
  position: fixed;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.12;
  z-index: 0;
  animation: float 14s ease-in-out infinite;
}

.orb-one {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.24), transparent 60%);
  top: -12vw;
  right: -6vw;
}

.orb-two {
  background: radial-gradient(circle, rgba(14, 116, 144, 0.28), transparent 60%);
  bottom: -14vw;
  left: -10vw;
  animation-delay: -6s;
}

.hero {
  position: relative;
  min-height: 90vh;
  padding: 36px var(--page-pad) 80px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  z-index: 1;
}

.hero-slider {
  min-height: 100vh;
  padding: 28px var(--page-pad) 60px;
}

.slider {
  position: relative;
  flex: 1;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.slides {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 70vh, 760px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-strong);
  background: #0b1220;
}

.slide {
  position: absolute;
  inset: 0;
  padding: clamp(32px, 5vw, 68px);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
  color: #f8fafc;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(14, 116, 144, 0.35), transparent 40%);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.75));
}

.slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.slide-content h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.slide-content .subhead {
  color: rgba(248, 250, 252, 0.8);
  margin-bottom: 18px;
}

.slide-content .cta {
  margin-bottom: 18px;
}

.slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.slide-meta span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.theme-indigo {
  background: linear-gradient(120deg, #0b1220, #0f2b4a 45%, #1d4ed8);
}

.theme-emerald {
  background: linear-gradient(120deg, #0b1220, #064e3b 45%, #14b8a6);
}

.theme-amber {
  background: linear-gradient(120deg, #0b1220, #713f12 45%, #f59e0b);
}

.slider-controls {
  position: absolute;
  right: 34px;
  bottom: 34px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(2, 6, 23, 0.65);
  color: #f8fafc;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(8px);
  animation: glide 3.2s ease-in-out infinite;
}

.slider-btn:hover {
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.8);
}

.slider-dots {
  position: absolute;
  left: 34px;
  bottom: 34px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  animation: pulse 2.6s ease-in-out infinite;
}

.dot.active {
  background: #e2e8f0;
  transform: scale(1.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 20px;
}

.logo {
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 18px;
  border: 2px solid rgba(226, 232, 240, 0.7);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.5);
}

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

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  animation: navFloat 4s ease-in-out infinite;
}

.nav a:nth-child(1) {
  animation-delay: 0s;
}

.nav a:nth-child(2) {
  animation-delay: 0.2s;
}

.nav a:nth-child(3) {
  animation-delay: 0.4s;
}

.nav a:nth-child(4) {
  animation-delay: 0.6s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #0ea5e9, #38bdf8);
  color: white;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 14px 26px rgba(14, 165, 233, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(120deg, #0284c7, #0ea5e9);
}

.btn.small {
  padding: 10px 18px;
  font-size: 14px;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(148, 163, 184, 0.5);
  box-shadow: none;
}

.btn:focus-visible,
.nav a:focus-visible,
.slider-btn:focus-visible,
.dot:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.7);
  outline-offset: 3px;
}

.hero-slider .btn.ghost {
  color: #f8fafc;
  border-color: rgba(226, 232, 240, 0.35);
  background: rgba(2, 6, 23, 0.45);
}

.hero-slider .btn.ghost:hover {
  background: rgba(2, 6, 23, 0.65);
  border-color: rgba(226, 232, 240, 0.8);
}

.hero-slider .btn {
  animation: glow 4.5s ease-in-out infinite;
}

.cta-section .btn.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.cta-section .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.hero-content {
  max-width: 720px;
  padding: 16px 0 0;
  margin: 0 auto;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-photo {
  width: 220px;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 11px;
  margin-bottom: 12px;
  color: var(--muted);
}

h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 20px;
  position: relative;
  animation: rise 0.9s ease forwards;
}

h1::after {
  content: "";
  display: block;
  width: 62px;
  height: 5px;
  margin-top: 14px;
  background: linear-gradient(120deg, #1d4ed8, #60a5fa);
  border-radius: 999px;
}

.subhead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  margin-bottom: 22px;
  animation: rise 1s ease forwards;
  animation-delay: 0.1s;
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: rise 1.1s ease forwards;
  animation-delay: 0.2s;
}

.hero-panels {
  display: grid;
  gap: 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  animation: rise 1.2s ease forwards;
  animation-delay: 0.3s;
}

.metrics strong {
  font-size: 22px;
  display: block;
  margin-bottom: 4px;
}

.section {
  padding: 96px var(--page-pad);
  position: relative;
  z-index: 1;
}

.section.alt {
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  position: relative;
  letter-spacing: 0.3px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 999px;
}

.section-head p {
  color: var(--muted);
  max-width: 420px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.services .section-head h2::after {
  background: linear-gradient(90deg, var(--accent), rgba(56, 189, 248, 0.1));
}

.services .card {
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.78));
  position: relative;
  overflow: hidden;
}

.services .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services .card::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.services .card:hover::before {
  opacity: 1;
}

.services .card h3 {
  color: #f8fafc;
}

.services .card p {
  color: rgba(226, 232, 240, 0.72);
}

.card {
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card h3 {
  font-size: 20px;
  letter-spacing: 0.2px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.12);
}

.card::after {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::after {
  opacity: 1;
}

.fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.card h3 {
  font-size: 22px;
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags li {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.tech-strip span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #e2e8f0;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-strip span:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.2);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.stack-card {
  background: linear-gradient(140deg, #0f172a, #111c36);
  color: #f9fafb;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.stack-card p {
  color: rgba(226, 232, 240, 0.75);
}

.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08));
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.stack-card:hover::after {
  transform: translateX(0);
}

.stack-card h4 {
  margin-bottom: 8px;
  font-size: 18px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 22px;
  max-width: 820px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.about-text {
  display: grid;
  gap: 16px;
}

.about-photo {
  width: 260px;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.5);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-section {
  padding-bottom: 120px;
}

.cta-box {
  background: linear-gradient(120deg, #0b1220, #0f2338 45%, #0b1220);
  color: #f9fafb;
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.cta-box p {
  color: #cbd5f5;
  margin-bottom: 24px;
  max-width: 560px;
}

.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer {
  padding: 28px var(--page-pad) 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
}

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

.social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: 200px;
}

.icon-link {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  margin-left: 0;
}

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

.icon-link:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.6);
  color: var(--accent);
}

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

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 14px 26px rgba(14, 165, 233, 0.28);
  }
  50% {
    box-shadow: 0 18px 34px rgba(56, 189, 248, 0.4);
  }
}

@keyframes navFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.92;
  }
  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 16px;
  }

  .nav {
    border-radius: 24px;
    padding: 14px 16px;
  }

  .slide {
    padding: 48px;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    border-radius: 20px;
  }

  .hero {
    padding-top: 24px;
  }

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

  .slides {
    min-height: 60vh;
  }

  .slide {
    padding: 38px 28px;
  }

  .slider-controls {
    right: 24px;
    bottom: 24px;
  }

  .slider-dots {
    left: 24px;
    bottom: 24px;
  }

  .about {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .about-photo {
    width: min(260px, 100%);
    height: 300px;
  }

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