/* ==========================================================================
   Stratix LLC — Agentic Development & Consulting
   Design system derived from Stitch-generated screens
   Tokens: dark slate #020617, electric indigo #5B5BD6,
   Space Grotesk / Inter / Public Sans
   ========================================================================== */

:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --surface: rgba(15, 23, 42, 0.6);
  --surface-solid: #0f172a;
  --card: rgba(15, 23, 42, 0.4);
  --card-solid: #020617;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --border-slate: rgba(148, 163, 184, 0.16);

  --primary: #5b5bd6;
  --primary-hover: #4a4ac0;
  --primary-soft: rgba(91, 91, 214, 0.1);
  --primary-glow: rgba(91, 91, 214, 0.35);

  --text: #ffffff;
  --text-1: #cbd5e1;
  --text-2: #94a3b8;
  --text-3: #64748b;

  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-label: "Public Sans", sans-serif;

  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-2xl: 2rem;
  --r-full: 9999px;

  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--primary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

main {
  flex: 1;
}

.section {
  padding: 6rem 0;
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */

.font-head {
  font-family: var(--font-head);
}

.font-label {
  font-family: var(--font-label);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 42rem;
}

.section-head {
  margin-bottom: 3.5rem;
}

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

.section-head.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.gradient-text {
  background: linear-gradient(100deg, #ffffff 30%, var(--primary) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-weight: 600;
  border: none;
  border-radius: var(--r-md);
  padding: 0.9rem 1.9rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(91, 91, 214, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 28px rgba(91, 91, 214, 0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  border-color: var(--text-2);
  color: var(--text);
}

.btn-light {
  background: #fff;
  color: #020617;
  font-weight: 700;
}

.btn-light:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.btn-pill {
  border-radius: var(--r-full);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-strong);
  transition: background 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo svg {
  color: var(--primary);
}

.logo-sub {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  font-family: var(--font-label);
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-2);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text-1);
  padding: 0.5rem;
  line-height: 0;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  font-family: var(--font-label);
  color: var(--text-1);
  padding: 0.75rem 0;
  font-size: 1rem;
}

.mobile-menu a.active {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Backgrounds & motifs
   -------------------------------------------------------------------------- */

.dot-grid {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 0);
  background-size: 40px 40px;
}

.grid-bg {
  background-image:
    linear-gradient(to right, rgba(91, 91, 214, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(91, 91, 214, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page-decor .glow-a,
.page-decor .glow-b {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(140px);
  opacity: 0.1;
}

.page-decor .glow-a {
  top: -20%;
  left: -15%;
  width: 46rem;
  height: 46rem;
}

.page-decor .glow-b {
  bottom: -25%;
  right: -15%;
  width: 36rem;
  height: 36rem;
  opacity: 0.08;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.glass-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.gradient-border {
  position: relative;
  background-clip: padding-box;
  border: 1px solid transparent;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: -1px;
  border-radius: inherit;
  background: linear-gradient(to bottom right, rgba(91, 91, 214, 0.4), rgba(255, 255, 255, 0.05));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}

.card:hover .card-icon {
  background: rgba(91, 91, 214, 0.2);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.card p {
  color: var(--text-2);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 11rem 0 6rem;
  overflow: hidden;
}

.hero .dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero h1 .accent {
  position: relative;
  display: inline-block;
  color: var(--primary);
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 0.35rem;
  background: var(--primary);
  opacity: 0.35;
  filter: blur(6px);
  border-radius: 9999px;
}

.hero p {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-2);
  max-width: 42rem;
  margin: 0 auto 2.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Logos strip
   -------------------------------------------------------------------------- */

.logos {
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-label {
  text-align: center;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2rem;
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  color: var(--text-3);
}

.logos-row span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.logos-row span:hover {
  opacity: 1;
  color: var(--text-1);
}

/* --------------------------------------------------------------------------
   Services grid
   -------------------------------------------------------------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */

.stats-band {
  position: relative;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(91, 91, 214, 0.06), transparent);
  pointer-events: none;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.stat-value .suffix {
  color: var(--primary);
}

.stat-label {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   Process / steps
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  background: var(--card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 91, 214, 0.5);
  box-shadow: 0 0 40px -12px var(--primary-glow);
}

.step-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(148, 163, 184, 0.4);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   Work / case studies
   -------------------------------------------------------------------------- */

.work-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  background: var(--card);
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 91, 214, 0.4);
}

.work-card .deco {
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.work-card:hover .deco {
  opacity: 0.22;
}

.work-tag {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.work-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.work-card p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-label);
  font-weight: 600;
  color: var(--text-1);
  transition: color 0.2s ease, gap 0.2s ease;
}

.work-link:hover {
  color: var(--primary);
  gap: 0.7rem;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  text-align: center;
  border-radius: var(--r-2xl);
  padding: 5rem 3rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #0f172a, #020617);
  box-shadow: 0 0 60px -20px var(--primary-glow);
}

.cta-band .glow-a,
.cta-band .glow-b {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.cta-band .glow-a {
  top: -30%;
  right: -5%;
  width: 24rem;
  height: 24rem;
  background: var(--primary);
  opacity: 0.16;
}

.cta-band .glow-b {
  bottom: -35%;
  left: -5%;
  width: 24rem;
  height: 24rem;
  background: var(--primary);
  opacity: 0.1;
}

.cta-band .dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

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

.cta-band h2 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-band p {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-brand svg {
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-2);
}

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

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */

.page-header {
  padding: 9rem 0 3rem;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--text-2);
  max-width: 46rem;
  margin: 0 auto;
}

.page-header .glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24rem;
  height: 24rem;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   Engagement models
   -------------------------------------------------------------------------- */

.model {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.model:hover {
  transform: translateY(-4px);
}

.model .deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 9rem;
  height: 9rem;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.1;
  transform: translate(20%, -20%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.model:hover .deco {
  opacity: 0.2;
}

.model-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
  position: relative;
}

.model-head svg {
  color: var(--primary);
}

.model h3 {
  font-size: 1.2rem;
}

.model p {
  font-size: 0.9rem;
  color: var(--text-2);
  position: relative;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-hero {
  padding: 9rem 0 4rem;
  position: relative;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  margin-bottom: 1.75rem;
}

.mission {
  font-size: 1.25rem;
  color: var(--text-1);
  max-width: 40rem;
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.about-hero-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 40px -12px var(--primary-glow);
}

.about-hero-media img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
}

.about-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #020617, transparent 55%);
}

/* Bento story */

.bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.bento-card .glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 9rem;
  height: 9rem;
  background: var(--primary);
  filter: blur(60px);
  opacity: 0.1;
  pointer-events: none;
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.bento-card p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
}

.bento-card p + p {
  margin-top: 1rem;
}

.bento-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.bento-stat .num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.bento-stat .lbl {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 0.35rem;
}

/* Values */

.value-card {
  background: var(--card-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 91, 214, 0.5);
  box-shadow: 0 0 40px -14px var(--primary-glow);
}

.value-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.value-card:hover .value-icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-2);
}

/* Why us */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-check {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1px solid rgba(91, 91, 214, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.why-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.why-item p {
  color: var(--text-2);
  font-size: 0.95rem;
}

.why-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  height: 24rem;
}

.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
  opacity: 0.85;
  transition: filter 0.6s ease, opacity 0.6s ease;
}

.why-media:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.why-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(49, 46, 129, 0.2);
  mix-blend-mode: overlay;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -30px rgba(0, 0, 0, 0.8);
}

.contact-form::before {
  content: "";
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 12rem;
  height: 12rem;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  pointer-events: none;
}

.field {
  margin-bottom: 1.5rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field select option {
  background: var(--bg-soft);
  color: var(--text);
}

.field select:invalid,
.field select option[value=""] {
  color: var(--text-3);
}

.field select:valid {
  color: var(--text);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-3);
}

.form-note svg {
  color: var(--text-3);
}

.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.side-card h3 {
  font-size: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.contact-line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-line:last-child {
  margin-bottom: 0;
}

.contact-line .ico {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  background: rgba(30, 41, 59, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-line .k {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 0.15rem;
}

.contact-line .v {
  color: var(--text);
  font-weight: 500;
}

.contact-line .v a:hover {
  color: var(--primary);
}

.contact-line .sub {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 0.1rem;
}

.socials {
  display: flex;
  gap: 0.9rem;
}

.social-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  transition: all 0.2s ease;
}

.social-btn:hover {
  color: var(--text);
  background: var(--primary-soft);
  border-color: rgba(91, 91, 214, 0.3);
}

.next-steps {
  text-align: center;
  padding: 5rem 0 2rem;
}

.pill-tag {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(91, 91, 214, 0.2);
  margin-bottom: 1.25rem;
}

.next-steps h2 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.next-steps p {
  color: var(--text-2);
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

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

.reveal.in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .grid-4,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-hero-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-burger {
    display: block;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .process-grid,
  .bento,
  .field-row {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 4rem 0;
  }

  .cta-band {
    padding: 3.5rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}