:root {
  --bg: #050816;
  --bg-alt: #050816;
  --bg-soft: #0b1120;
  --bg-elevated: rgba(15, 23, 42, 0.9);
  --bg-card: rgba(15, 23, 42, 0.85);
  --fg: #e5e7eb;
  --fg-muted: #9ca3af;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --accent-strong: #0ea5e9;
  --accent-alt: #a855f7;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-xl: 24px;
  --shadow-soft: 0 28px 80px rgba(15, 23, 42, 0.95);
  --shadow-subtle: 0 18px 50px rgba(15, 23, 42, 0.8);
  --nav-height: 70px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 45%, #020617 100%);
  color: var(--fg);
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(55, 65, 81, 0.9) transparent;
}

body {
  min-height: 100vh;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #020617;
}

body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, #1e293b, #0ea5e9);
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0f172a, #38bdf8);
}

.page-shell {
  min-height: 100vh;
  color: var(--fg);
}

section {
  scroll-margin-top: calc(var(--nav-height) + 32px);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* NAVIGATION */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #38bdf8, #0f172a 55%, #020617 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4), 0 10px 30px rgba(8, 47, 73, 0.7);
}

.brand-orbit {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(-25deg);
}

.brand-core {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: #cbd5f5;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.nav-links a:hover {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  transform: translateY(-1px);
}

.nav-cta {
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.65);
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.08),
    rgba(37, 99, 235, 0.2)
  );
  padding-inline: 14px;
}

.nav-cta:hover {
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.18),
    rgba(37, 99, 235, 0.3)
  );
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.92);
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  width: 16px;
  margin-inline: auto;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* LAYOUT */

.section {
  position: relative;
  padding: 80px 20px 72px;
}

.section[data-theme="dark"] {
  background: radial-gradient(circle at top, #020617 0, #020617 45%, #020617 100%);
}

.section[data-theme="light"] {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
}

.section[data-theme="gradient"] {
  background: radial-gradient(circle at 0% 0%, #0ea5e9 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #a855f7 0, transparent 50%),
    linear-gradient(to bottom, #020617, #020617 60%, #020617 100%);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  max-width: 650px;
  margin: 0 auto 38px;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: #60a5fa;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.section-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
}

/* HERO */

.hero {
  padding-top: 24px;
  padding-bottom: 80px;
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #020617 100%);
}
.hero-metadata {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-metadata .engagements {
  margin-left: 30px; /* adjust 30–60px to taste */
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.1;
  margin: 8px 0 12px;
}

.hero-highlight {
  background: linear-gradient(120deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--fg-muted);
  max-width: 460px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease,
    border-color 0.14s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9, #6366f1);
  border-color: rgba(56, 189, 248, 0.9);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(56, 189, 248, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.5);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
}

.btn-full {
  width: 100%;
}

.hero-metadata {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.15), transparent 50%),
    rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.75);
}

.hero-metadata div {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.meta-value {
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.hero-orbit-shell {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1/1;
  border-radius: 999px;
  transform-origin: center;
}

.hero-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
}

.hero-orbit-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 24% 0, rgba(56, 189, 248, 0.3), transparent 55%),
    radial-gradient(circle at 76% 100%, rgba(129, 140, 248, 0.4), transparent 55%),
    radial-gradient(circle, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  animation: orbitWholeSpin 18s linear infinite;
}

.hero-orbit-ring {
  position: absolute;
  inset: 18%;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
}

.hero-orbit-ring-2 {
  inset: 27%;
  border-style: solid;
  border-color: rgba(56, 189, 248, 0.45);
  animation: orbitSpin 14s linear infinite;
}

.hero-orbit-ring-3 {
  inset: 36%;
  border-style: dashed;
  border-color: rgba(129, 140, 248, 0.45);
  animation: orbitSpinReverse 18s linear infinite;
}

.hero-node {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e5e7eb;
  box-shadow: var(--shadow-subtle);
}

.hero-node::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-node-core {
  inset: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.4), transparent 55%),
    rgba(15, 23, 42, 0.98);
  animation: corePulse 3.2s ease-in-out infinite;
}

.hero-node-ai {
  top: 14%;
  left: 10%;
  animation: nodeFloatA 5s ease-in-out infinite alternate;
}

.hero-node-cloud {
  bottom: 12%;
  right: 8%;
  animation: nodeFloatB 4.8s ease-in-out infinite alternate;
}

.hero-node-product {
  bottom: 20%;
  left: 8%;
  animation: nodeFloatC 5.4s ease-in-out infinite alternate;
}

@keyframes orbitWholeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitSpinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes corePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55), 0 0 25px rgba(56, 189, 248, 0.9);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(56, 189, 248, 0), 0 0 35px rgba(56, 189, 248, 1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0), 0 0 25px rgba(56, 189, 248, 0.9);
  }
}

@keyframes nodeFloatA {
  from {
    top: 13%;
  }
  to {
    top: 16%;
  }
}

@keyframes nodeFloatB {
  from {
    bottom: 11%;
  }
  to {
    bottom: 14%;
  }
}

@keyframes nodeFloatC {
  from {
    bottom: 19%;
  }
  to {
    bottom: 22%;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 360px;
}

.stat-card {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-subtle);
}

.stat-label {
  font-size: 11px;
  color: #9ca3af;
}

.stat-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-top: 4px;
}

.stat-hint {
  display: block;
  font-size: 11px;
  color: #9ca3af;
}

.hero-scroll-indicator {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
}

.scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(148, 163, 184, 0.3), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #38bdf8, transparent);
  transform: translateY(-100%);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    transform: translateY(-100%);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

/* STACK / SERVICES */

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stack-card {
  position: relative;
  padding: 16px 18px 16px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08), transparent 65%),
    rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-subtle);
  transform-origin: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease,
    background 0.16s ease;
}

.stack-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.8);
  background: radial-gradient(
      circle at 0 0,
      rgba(56, 189, 248, 0.15),
      transparent 65%
    ),
    rgba(15, 23, 42, 0.98);
}

.stack-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.stack-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--fg-muted);
}

.stack-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-chip {
  padding: 6px 11px;
  font-size: 12px;
  border-radius: 999px;
  border-color: rgba(148, 163, 184, 0.75);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 65%),
    rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.9);
}

.btn-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 1);
}

.stack-ribbon {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

/* TECH STACK */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tech-card {
  padding: 16px 18px 16px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 100% 0, rgba(168, 85, 247, 0.2), transparent 65%),
    radial-gradient(circle at 0 100%, rgba(56, 189, 248, 0.16), transparent 65%),
    rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.tech-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.tech-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--fg-muted);
}

.tech-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* INDUSTRIES */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pill {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 11px;
  background: rgba(15, 23, 42, 0.98);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.industry-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 65%),
    rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: var(--shadow-subtle);
  transform-origin: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.industry-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95);
}

.industry-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.industry-card p {
  margin: 0;
  font-size: 13px;
  color: var(--fg-muted);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
  color: #38bdf8;
  opacity: 0.9;
}

.btn-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* PROCESS / TIMELINE */

.timeline {
  position: relative;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(148, 163, 184, 0.3),
    rgba(148, 163, 184, 0.1)
  );
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  justify-self: flex-end;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 2;
  justify-self: flex-start;
}

.timeline-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.timeline-content {
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: var(--shadow-subtle);
}

.timeline-content h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.timeline-content p {
  margin: 0;
  font-size: 13px;
  color: var(--fg-muted);
}

/* CASE STUDIES */

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
  margin-top: 28px;
}

.case-panel {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-subtle);
}

.case-panel h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.case-panel p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--fg-muted);
}

.case-panel ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-panel-metrics {
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 65%),
    rgba(15, 23, 42, 0.98);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 8px;
}

.metric-value {
  display: block;
  font-size: 20px;
  font-weight: 600;
}

.metric-label {
  font-size: 12px;
  color: var(--fg-muted);
}

.metric-footnote {
  margin: 0;
  font-size: 11px;
  color: #9ca3af;
}

/* GLOBAL METRICS BAND (COUNTERS) */

.metrics-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.metrics-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 65%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.18), transparent 65%),
    rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow-soft);
}

.metrics-counter {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.metrics-counter-value {
  font-size: 22px;
  font-weight: 600;
}

.metrics-counter-label {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ABOUT */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}

.about-copy h2 {
  margin-top: 6px;
  font-size: 26px;
}

.about-copy p {
  font-size: 14px;
  color: var(--fg-muted);
}

.about-copy p + p {
  margin-top: 8px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-card {
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 13px;
  color: var(--fg-muted);
}

.about-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #e5e7eb;
}

.about-contact-snippet a {
  color: #38bdf8;
}

/* MEDIA / VIDEO & IMAGES */

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.video-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 65%),
    rgba(15, 23, 42, 0.98);
  aspect-ratio: 16/9;
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.media-copy h2 {
  margin-top: 0;
}

.media-copy p {
  font-size: 14px;
  color: var(--fg-muted);
}

.media-gallery {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.media-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-subtle);
}

.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-image::after {
  content: attr(data-caption);
  position: absolute;
  left: 8px;
  bottom: 6px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

/* CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contact-highlights {
  margin: 16px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.contact-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 1);
  border-color: rgba(56, 189, 248, 0.9);
}

.contact-pill .pill-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.contact-pill .pill-value {
  font-size: 14px;
}

.contact-form {
  padding: 16px 18px 18px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.16), transparent 65%),
    rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.form-field label {
  font-size: 12px;
  color: #e5e7eb;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  font-size: 13px;
  padding: 8px 10px;
  outline: none;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 1);
}

.form-footnote {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--fg-muted);
}

.form-footnote a {
  color: #38bdf8;
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.98);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.footer-links a {
  color: #38bdf8;
}

.footer-meta {
  width: 100%;
  text-align: right;
  font-size: 11px;
}

/* ANIMATIONS: SCROLL REVEAL */

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-up-delayed"].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

[data-animate="fade-in"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="slide-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="slide-left"] {
  transform: translateX(24px);
}

[data-animate="slide-left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-right"] {
  transform: translateX(-24px);
}

[data-animate="slide-right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="tilt-in"] {
  transform: translateY(20px) rotate3d(1, 0.15, 0, 6deg);
  transform-origin: top center;
}

[data-animate="tilt-in"].is-visible {
  opacity: 1;
  transform: translateY(0) rotate3d(0, 0, 0, 0deg);
}

[data-delay="1"] {
  transition-delay: 0.08s;
}

[data-delay="2"] {
  transition-delay: 0.16s;
}

[data-delay="3"] {
  transition-delay: 0.24s;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .hero-metadata {
    border-radius: 20px;
  }

  .stack-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .industry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline::before {
    left: 16px;
    transform: none;
  }

  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 32px;
  }

  .timeline-badge {
    left: 16px;
    transform: translate(-50%, -50%);
  }

  .timeline-item .timeline-content {
    grid-column: 1;
    justify-self: flex-start;
  }

  .case-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    padding-inline: 16px;
  }

  .nav-links {
    position: fixed;
    inset-inline: 12px;
    top: 68px;
    padding: 10px 12px 14px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.75);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    transform-origin: top;
    transform: scaleY(0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .nav-links a {
    justify-content: center;
    width: 100%;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 90px;
  }

  .hero-metadata {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 20px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .section {
    padding-inline: 16px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-orbit {
    max-width: 280px;
  }
}

