:root {
  color-scheme: dark;
  --bg: #070b14;
  --bg-soft: rgba(12, 18, 32, 0.72);
  --surface: rgba(15, 22, 40, 0.74);
  --surface-strong: rgba(18, 26, 47, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: rgba(232, 238, 255, 0.72);
  --accent: #8be9ff;
  --accent-2: #b99cff;
  --accent-3: #6ef3b8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(106, 148, 255, 0.14), transparent 36%),
    radial-gradient(circle at 80% 20%, rgba(139, 233, 255, 0.1), transparent 26%),
    linear-gradient(180deg, #050812 0%, #090f1c 48%, #070b14 100%);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

.page-shell {
  position: relative;
  isolation: isolate;
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.8;
  pointer-events: none;
  z-index: -2;
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient-a {
  width: 22rem;
  height: 22rem;
  left: -6rem;
  top: 7rem;
  background: radial-gradient(circle, rgba(139, 233, 255, 0.26), transparent 70%);
}

.ambient-b {
  width: 28rem;
  height: 28rem;
  right: -8rem;
  top: 6rem;
  background: radial-gradient(circle, rgba(185, 156, 255, 0.2), transparent 68%);
  animation-duration: 24s;
}

.ambient-c {
  width: 30rem;
  height: 30rem;
  left: 30%;
  bottom: -12rem;
  background: radial-gradient(circle, rgba(110, 243, 184, 0.12), transparent 65%);
  animation-duration: 26s;
}

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

.topbar {
  position: sticky;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.55);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(139, 233, 255, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
}

.nav a,
.topbar-cta {
  transition: transform 180ms ease, color 180ms ease, opacity 180ms ease;
}

.nav a:hover,
.topbar-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.topbar-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
}

.topbar-cta {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.section {
  position: relative;
  padding: 64px 0;
  isolation: isolate;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(139, 233, 255, 0.03), transparent 30%, transparent 70%, rgba(110, 243, 184, 0.02));
  pointer-events: none;
  z-index: -1;
}

.section:nth-child(odd) {
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.4) 0%, transparent 50%);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: 48px;
  min-height: calc(100vh - 130px);
  padding-top: 58px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  animation: subtle-fade-in 800ms ease-out backwards;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.96;
  max-width: 10ch;
  animation: subtle-fade-in 900ms ease-out 200ms backwards;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  max-width: 15ch;
  animation: subtle-fade-in 900ms ease-out 100ms backwards;
}

h3 {
  font-size: 1.7rem;
  line-height: 1;
  animation: subtle-fade-in 900ms ease-out backwards;
}

.lead,
.feature-card p,
.showcase-card p,
.timeline-item p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  animation: subtle-fade-in 900ms ease-out 150ms backwards;
}

.lead {
  max-width: 55ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  padding: 14px 22px;
  border: 1px solid var(--line);
}

.button-primary {
  color: #06111a;
  background: linear-gradient(135deg, #f3fbff 0%, #9de7ff 45%, #8ca0ff 100%);
  box-shadow: 0 18px 40px rgba(139, 233, 255, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.button.large {
  min-width: 260px;
  padding: 18px 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.hero-metrics > div,
.feature-card,
.showcase-card,
.contact-panel,
.timeline-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-metrics > div {
  padding: 22px 18px;
  border-radius: var(--radius-md);
  transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139, 233, 255, 0.08), rgba(185, 156, 255, 0.06));
  border: 1px solid rgba(139, 233, 255, 0.15);
}

.hero-metrics > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(139, 233, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.hero-metrics > div:hover::before {
  opacity: 1;
}

.hero-metrics > div:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(139, 233, 255, 0.3);
  box-shadow: 0 16px 32px rgba(139, 233, 255, 0.08);
}

.hero-metrics strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-metrics span,
.label,
.card-index,
.showcase-top,
.timeline-dot {
  color: var(--muted);
}

.hero-visual {
  justify-self: end;
  width: min(100%, 500px);
}

.hero-copy,
.hero-visual {
  opacity: 1;
  transform: none;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 38px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 12%, rgba(139, 233, 255, 0.2), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(185, 156, 255, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(18, 25, 42, 0.84), rgba(8, 12, 22, 0.92));
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
  backdrop-filter: blur(12px);
}

.portrait-glow,
.portrait-ring,
.portrait-orbit,
.portrait-avatar::before {
  position: absolute;
  inset: 0;
}

.portrait-glow {
  background: radial-gradient(circle at center, rgba(139, 233, 255, 0.1), transparent 52%);
  filter: blur(8px);
}

.portrait-frame {
  position: relative;
  aspect-ratio: 0.85;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%),
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(12, 18, 34, 0.7), rgba(5, 9, 18, 0.95));
}

.portrait-photo-frame {
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(234, 241, 250, 0.96));
}

.portrait-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.portrait-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 30%, transparent 72%, rgba(7, 11, 20, 0.16) 100%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.18), transparent 22%);
  pointer-events: none;
}

.portrait-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.portrait-footer > div {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(139, 233, 255, 0.06);
  border: 1px solid rgba(139, 233, 255, 0.15);
  transition: all 300ms ease;
}

.portrait-footer > div:hover {
  background: rgba(139, 233, 255, 0.12);
  border-color: rgba(139, 233, 255, 0.3);
  transform: translateY(-2px);
}

.label,
.card-index,
.showcase-top,
.timeline-dot {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  padding: 8px 0 4px;
}

.ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 22s linear infinite;
}

.ticker-track span {
  padding: 10px 16px;
  white-space: nowrap;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 233, 255, 0.08), rgba(185, 156, 255, 0.06));
  border: 1px solid rgba(139, 233, 255, 0.2);
  color: rgba(240, 244, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  transition: all 300ms ease;
  cursor: default;
}

.ticker-track span:hover {
  background: linear-gradient(135deg, rgba(139, 233, 255, 0.15), rgba(185, 156, 255, 0.12));
  border-color: rgba(139, 233, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(139, 233, 255, 0.1);
}

.grid-section,
.showcase,
.awards,
.process,
.contact {
  padding-top: 24px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 48px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 auto;
  max-width: 25ch;
}

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

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

.feature-card,
.showcase-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: 28px;
}

.feature-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(139, 233, 255, 0.12), rgba(185, 156, 255, 0.08));
  border: 1px solid rgba(139, 233, 255, 0.2);
}

.feature-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(185, 156, 255, 0.12), rgba(110, 243, 184, 0.08));
  border: 1px solid rgba(185, 156, 255, 0.2);
}

.feature-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(110, 243, 184, 0.12), rgba(139, 233, 255, 0.08));
  border: 1px solid rgba(110, 243, 184, 0.2);
}

.showcase-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.showcase-card.accent {
  transform: translateY(18px);
}


.showcase-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.showcase-card p {
  max-width: 30ch;
  font-size: 1.06rem;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) bottom / 100% 2px no-repeat;
  background-size: 0% 2px;
  background-position: right bottom;
}

.card-link:hover {
  background-size: 100% 2px;
  background-position: left bottom;
  transform: translateX(4px);
}

.showcase-card {
  transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139, 233, 255, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.showcase-card:hover::before {
  opacity: 1;
}

.showcase-card:hover {
  transform: translateY(-8px) translateZ(0);
  border-color: rgba(139, 233, 255, 0.3);
  box-shadow: 0 24px 48px rgba(139, 233, 255, 0.12);
}

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

.award-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(139, 233, 255, 0.08), rgba(110, 243, 184, 0.05));
  border: 1px solid rgba(139, 233, 255, 0.15);
}

.award-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139, 233, 255, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.award-card:hover::before {
  opacity: 1;
}

.award-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(139, 233, 255, 0.3);
  box-shadow: 0 16px 32px rgba(139, 233, 255, 0.1);
}

.award-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: block;
  transition: transform 300ms ease;
}

.award-card:hover .award-icon {
  transform: scale(1.2) translateY(-2px);
}

.award-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.award-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.feature-card {
  transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.08) 100%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

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

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(139, 233, 255, 0.08);
  border: 1px solid rgba(139, 233, 255, 0.2);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.social-link:hover {
  background: rgba(139, 233, 255, 0.16);
  border-color: rgba(139, 233, 255, 0.4);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 24px rgba(139, 233, 255, 0.15);
}

.social-link .link-label {
  font-weight: 600;
}

.button {
  transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 600ms ease;
}

.button:hover::before {
  transform: translateX(100%);
}

.button-primary:hover {
  box-shadow: 0 24px 48px rgba(139, 233, 255, 0.28);
  transform: translateY(-2px) scale(1.02);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 233, 255, 0.3);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-radius: 22px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 28px rgba(139, 233, 255, 0.55);
}

.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  padding: 40px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(139, 233, 255, 0.08), rgba(185, 156, 255, 0.06));
  border: 1px solid rgba(139, 233, 255, 0.15);
}

.contact-panel p {
  max-width: 54ch;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, -18px, 0) scale(1.06);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 24px rgba(139, 233, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 48px rgba(139, 233, 255, 0.6);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes subtle-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-mark {
  animation: glow-pulse 3s ease-in-out infinite;
}

@media (max-width: 1100px) {
  .hero,
  .feature-grid,
  .showcase-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-visual {
    order: -1;
    justify-self: stretch;
    width: 100%;
    max-width: 680px;
    margin-bottom: 24px;
  }

  .portrait-frame {
    min-height: 380px;
  }

  .contact-panel {
    display: grid;
  }

  .showcase-card.accent {
    transform: none;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100vw - 24px, 1180px);
  }

  .topbar {
    top: 12px;
    padding: 14px 16px;
    border-radius: 28px;
  }

  .nav {
    display: none;
  }

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

  .portrait-frame {
    min-height: 460px;
  }

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

  h1 {
    max-width: 100%;
    font-size: clamp(3.2rem, 13vw, 5.2rem);
  }

  h2 {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}