/* =========================================================
   POLLNEXA — Customer Experience & Insights
   Creative · Animated · Day & Night · Responsive
   ========================================================= */

/* ---------- Theme Tokens ---------- */
:root {
  /* Brand */
  --brand-navy: #1f2c3f;
  --brand-navy-2: #2a3a52;
  --brand-navy-3: #14202f;
  --brand-cyan: #45d3d3;
  --brand-cyan-2: #5fe0e0;
  --brand-cyan-soft: rgba(69, 211, 211, 0.12);

  /* Light theme */
  --bg: #f5f6f4;
  --bg-elev: #ffffff;
  --bg-soft: #ebede9;
  --bg-cream: #f9f7f2;
  --surface: #ffffff;
  --text: #14202f;
  --text-2: #4a5468;
  --text-3: #8590a3;
  --border: #e3e6e0;
  --border-strong: #cdd2c9;
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, 0.04), 0 4px 12px rgba(20, 30, 50, 0.04);
  --shadow-md: 0 4px 16px rgba(20, 30, 50, 0.06), 0 16px 48px rgba(20, 30, 50, 0.08);
  --shadow-lg: 0 24px 80px rgba(20, 30, 50, 0.16);
  --grid-color: rgba(31, 44, 63, 0.05);
}

[data-theme="dark"] {
  --bg: #0a1019;
  --bg-elev: #11192a;
  --bg-soft: #0d1422;
  --bg-cream: #11192a;
  --surface: #131e34;
  --text: #f0f3fa;
  --text-2: #b6c0d4;
  --text-3: #7d8aa3;
  --border: #1c2742;
  --border-strong: #2a3a5a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35), 0 24px 64px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 30px 100px rgba(0, 0, 0, 0.55);
  --grid-color: rgba(255, 255, 255, 0.04);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter Tight', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand-cyan); color: var(--brand-navy); }

/* Custom cursor */
.cursor, .cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, opacity 0.3s ease;
  mix-blend-mode: difference;
}
.cursor {
  width: 32px; height: 32px;
  border: 1.5px solid var(--brand-cyan);
  transition: width 0.25s ease, height 0.25s ease, transform 0.1s ease;
}
.cursor-dot {
  width: 4px; height: 4px;
  background: var(--brand-cyan);
}
.cursor.is-hover { width: 56px; height: 56px; }
@media (max-width: 960px) {
  .cursor, .cursor-dot { display: none; }
}

/* Noise texture */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--brand-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.loader__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
}
.loader__bars span {
  width: 8px;
  height: 100%;
  background: var(--brand-cyan);
  border-radius: 2px;
  animation: loaderBar 1.2s ease-in-out infinite;
  transform-origin: bottom;
}
.loader__bars span:nth-child(2) { animation-delay: 0.15s; background: #fff; }
.loader__bars span:nth-child(3) { animation-delay: 0.3s; }
.loader__bars span:nth-child(4) { animation-delay: 0.45s; background: #fff; }
.loader__bars span:nth-child(5) { animation-delay: 0.6s; }
@keyframes loaderBar {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}
.loader__text {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  color: #fff;
  font-weight: 500;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
  line-height: 1.05;
}
em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand-cyan);
}
p { margin: 0; color: var(--text-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.eyebrow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--brand-cyan);
  background: var(--brand-cyan-soft);
  font-size: 10px;
  font-weight: 600;
}
.eyebrow--light { color: rgba(255,255,255,0.6); }
.eyebrow--light .eyebrow__num { border-color: rgba(255,255,255,0.15); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }

.btn--primary {
  background: var(--brand-navy);
  color: #fff;
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(31, 44, 63, 0.3);
}
[data-theme="dark"] .btn--primary {
  background: var(--brand-cyan);
  color: var(--brand-navy);
}
[data-theme="dark"] .btn--primary:hover {
  box-shadow: 0 12px 30px rgba(69, 211, 211, 0.4);
}

.btn--cyan {
  background: var(--brand-cyan);
  color: var(--brand-navy);
}
.btn--cyan:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(69, 211, 211, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--text);
  transform: translateY(-3px);
}
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--full { width: 100%; }
.btn__play {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy);
}
.btn__play svg { width: 10px; height: 10px; }

/* ---------- NAVBAR ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all 0.4s ease;
}
.nav.is-scrolled {
  padding: 8px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 12px 18px 12px 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav.is-scrolled .nav__inner {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}
.nav__brand { display: flex; align-items: center; }
.brand-logo {
  height: 32px;
  width: auto;
}
.brand-logo__text {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  fill: var(--text);
  letter-spacing: -0.04em;
}
.brand-logo__bar1, .brand-logo__bar2 {
  fill: var(--brand-cyan);
  transform-origin: bottom;
  animation: brandPulse 2.4s ease-in-out infinite;
}
.brand-logo__bar2 { animation-delay: 0.4s; }
@keyframes brandPulse {
  0%, 100% { transform: scaleY(0.85); }
  50% { transform: scaleY(1); }
}

.nav__links {
  display: flex;
  gap: 4px;
  font-size: 14px;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  transition: all 0.2s ease;
}
.nav__links a span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-3);
}
.nav__links a:hover {
  color: var(--text);
  background: var(--bg-soft);
}
.nav__links a:hover span { color: var(--brand-cyan); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { padding: 11px 18px; font-size: 14px; }
.nav__cta svg { width: 14px; height: 14px; }

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  background: var(--bg-elev);
  transition: all 0.3s ease;
}
.theme-toggle:hover {
  color: var(--brand-cyan);
  border-color: var(--brand-cyan);
  transform: rotate(20deg);
}
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 16px; right: 16px;
  flex-direction: column;
  padding: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}
.mobile-menu a {
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.mobile-menu a span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--brand-cyan);
}
.mobile-menu a:hover { background: var(--bg-soft); }
.mobile-menu a.btn {
  justify-content: center;
  margin-top: 8px;
}
.mobile-menu.is-open { display: flex; }

@media (max-width: 1100px) {
  .nav__links { display: none; }
}
@media (max-width: 768px) {
  .nav__cta { display: none; }
  .hamburger { display: inline-flex; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-cream);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--brand-cyan), transparent 70%);
  top: -100px;
  right: -100px;
}
.orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(31, 44, 63, 0.3), transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -6s;
}
[data-theme="dark"] .orb--2 {
  background: radial-gradient(circle, rgba(69, 211, 211, 0.15), transparent 70%);
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  align-self: flex-start;
  padding: 8px 18px;
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.hero__location { color: var(--brand-cyan); }
.hero__divider {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-3);
}

.hero__title {
  font-size: clamp(48px, 9vw, 132px);
  letter-spacing: -0.045em;
  font-weight: 500;
  line-height: 0.95;
  margin: 0;
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__line em {
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  position: relative;
  display: inline-block;
}
.hero__line em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 8%;
  width: 100%;
  height: 18%;
  background: var(--brand-cyan);
  z-index: -1;
  opacity: 0.7;
  transform-origin: left;
  animation: highlightSweep 1.2s cubic-bezier(0.65, 0, 0.35, 1) 1s backwards;
}
.hero__line:nth-child(3) em { color: var(--brand-cyan); }
.hero__line:nth-child(3) em::after { display: none; }

@keyframes highlightSweep {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 14px;
  height: 0.95em;
  background: var(--brand-navy);
  color: var(--brand-cyan);
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-style: normal;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-left: 0.15em;
  position: relative;
  top: -0.08em;
  animation: chipBounce 3s ease-in-out infinite;
}
.hero__chip svg { width: 0.6em; height: 0.6em; }
@keyframes chipBounce {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-top: 24px;
}
.hero__lede {
  font-size: 17px;
  line-height: 1.6;
  max-width: 480px;
  color: var(--text-2);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-self: end;
}

.scroll-cue {
  position: absolute;
  bottom: 60px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.scroll-cue__line {
  width: 1px;
  height: 60px;
  background: var(--text-3);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 50%;
  background: var(--brand-cyan);
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}
.scroll-cue__text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Hero marquee */
.hero__marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elev);
  z-index: 2;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  animation: marqueeScroll 30s linear infinite;
  padding-right: 36px;
}
.marquee-track span:nth-child(even) {
  font-family: 'Inter Tight', sans-serif;
  font-style: normal;
  color: var(--brand-cyan);
  font-size: 14px;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 960px) {
  .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero__cta { justify-self: start; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hero { padding: 120px 0 60px; }
  .hero__cta { width: 100%; flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__chip { padding: 0 12px 0 10px; }
  .marquee-track { font-size: 18px; gap: 24px; }
}

/* ---------- Ribbon ---------- */
.ribbon {
  background: var(--brand-navy);
  color: #fff;
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}
.ribbon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(69,211,211,0.2), transparent 50%);
}
.ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ribbon__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.ribbon__items {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.ribbon__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ribbon__item strong {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ribbon__item span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 640px) {
  .ribbon__items { gap: 20px 28px; }
  .ribbon__item strong { font-size: 18px; }
}

/* ---------- Sections ---------- */
.section {
  padding: 140px 0;
  position: relative;
  z-index: 2;
}
.section--alt { background: var(--bg-soft); }
.section--services { background: var(--bg-cream); position: relative; }
.section--services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}

.section__head {
  margin-bottom: 80px;
}
.section__head--center {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.section__head--center .eyebrow { justify-content: center; }
.section__head--split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
}
.section__title {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section__title--xl { font-size: clamp(40px, 6vw, 80px); }
.section__title--light { color: #fff; }
.section__title--light em { color: var(--brand-cyan); }

.section__sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 480px;
}

@media (max-width: 768px) {
  .section { padding: 100px 0; }
  .section__head { margin-bottom: 56px; }
  .section__head--split { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signal-svg { width: 100%; height: 100%; }

.signal-ring {
  transform-origin: center;
  animation: signalPulse 3s ease-out infinite;
  opacity: 0;
}
.signal-ring--2 { animation-delay: 1s; }
.signal-ring--3 { animation-delay: 2s; }
@keyframes signalPulse {
  0% { transform: scale(0.5); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.rotating-ring {
  transform-origin: center;
  animation: ringRotate 30s linear infinite;
}
@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

.hub {
  filter: drop-shadow(0 0 20px var(--brand-cyan));
  animation: hubPulse 2s ease-in-out infinite;
}
@keyframes hubPulse {
  0%, 100% { filter: drop-shadow(0 0 12px var(--brand-cyan)); }
  50% { filter: drop-shadow(0 0 32px var(--brand-cyan)); }
}

.touchpoint {
  opacity: 0;
  animation: touchpointFade 8s ease-in-out infinite;
  animation-delay: var(--delay);
  transform-origin: 200px 200px;
}
@keyframes touchpointFade {
  0% { opacity: 0; transform: scale(0.7); }
  10%, 90% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.7); }
}

.particle {
  animation: particleFly var(--dur, 3s) ease-out infinite;
  animation-delay: var(--d, 0s);
  opacity: 0;
}
@keyframes particleFly {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
}

.about-visual__caption {
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-3);
  white-space: nowrap;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.about-lede {
  font-size: 22px;
  line-height: 1.5;
  color: var(--text);
  font-family: 'Fraunces', serif;
  font-weight: 400;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-block__num {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1;
}
.stat-block__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.point {
  display: flex;
  gap: 16px;
}
.point__num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-cyan);
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 14px;
}
.point h4 {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: 600;
}
.point p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- APPROACH ---------- */
.approach-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-strong);
}
.approach-row {
  display: grid;
  grid-template-columns: 80px 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-strong);
  transition: all 0.4s ease;
  position: relative;
}
.approach-row:hover {
  padding-left: 16px;
  background: var(--bg-elev);
}
.approach-row::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0; bottom: 0;
  width: 4px;
  background: var(--brand-cyan);
  transition: left 0.4s ease;
}
.approach-row:hover::before { left: 0; }

.approach-row__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: 0.1em;
}
.approach-row__icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.approach-row__icon svg { width: 100%; height: 100%; }
.approach-row:hover .approach-row__icon { color: var(--brand-cyan); }

.approach-row__body h3 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 6px;
}
.approach-row__body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 600px;
}
.approach-row__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.approach-row__tags span {
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-2);
}

/* Approach icon animations */
.ic-pulse {
  transform-origin: center;
  animation: icPulse 2.5s ease-in-out infinite;
}
@keyframes icPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}
.ic-bar {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: icBar 2s ease-out infinite alternate;
}
@keyframes icBar {
  to { stroke-dashoffset: 0; }
}
.ic-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: icLine 3s ease-in-out infinite;
}
@keyframes icLine {
  0%, 100% { stroke-dashoffset: 100; }
  50% { stroke-dashoffset: 0; }
}
.ic-spin {
  transform-origin: 32px 32px;
  animation: icSpin 8s linear infinite;
}
@keyframes icSpin { to { transform: rotate(360deg); } }
.ic-tick {
  animation: icTick 1.5s ease-in-out infinite;
}
@keyframes icTick {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .approach-row {
    grid-template-columns: 60px 60px 1fr;
    gap: 20px;
  }
  .approach-row__tags { grid-column: 1 / -1; padding-left: 80px; }
  .approach-row__icon { width: 48px; height: 48px; }
  .approach-row__body h3 { font-size: 22px; }
}
@media (max-width: 520px) {
  .approach-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .approach-row__num { display: none; }
  .approach-row__tags { padding-left: 0; }
  .approach-row__icon { width: 40px; height: 40px; }
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--brand-cyan-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }

.service-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.service-card__index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.15em;
}
.service-card__pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-cyan-soft);
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.service-card__visual {
  height: 180px;
  margin: -20px -32px 20px;
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-cream));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .service-card__visual {
  background: linear-gradient(135deg, var(--bg-soft), var(--surface));
}
.service-card__visual svg {
  width: 75%;
  height: 75%;
  color: var(--brand-navy);
}
[data-theme="dark"] .service-card__visual svg { color: var(--brand-cyan); }

/* Service icon animations */
.ic-orbit {
  transform-origin: center;
  animation: icSpin 20s linear infinite;
}
.ic-orbit-rev {
  transform-origin: center;
  animation: icSpin 12s linear infinite reverse;
}
.ic-bob {
  transform-origin: 100px 80px;
  animation: icBob 3s ease-in-out infinite;
}
@keyframes icBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.scan-line {
  stroke: var(--brand-cyan);
  animation: scanMove 2.5s ease-in-out infinite;
}
@keyframes scanMove {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(80px); opacity: 1; }
}

.rate { fill: var(--text-3); transition: fill 0.3s; }
.rate--3, .rate--4, .rate--5 { fill: var(--brand-cyan); }
.rate--1 { animation: rateBlink 4s ease-in-out infinite; }
.rate--2 { animation: rateBlink 4s ease-in-out infinite; animation-delay: 0.2s; }
.rate--3 { animation: rateBlink 4s ease-in-out infinite; animation-delay: 0.4s; }
.rate--4 { animation: rateBlink 4s ease-in-out infinite; animation-delay: 0.6s; }
.rate--5 { animation: rateBlink 4s ease-in-out infinite; animation-delay: 0.8s; }
@keyframes rateBlink {
  0%, 90%, 100% { transform: scale(1); }
  10%, 80% { transform: scale(1.3); }
}

.journey-path {
  stroke: var(--brand-cyan);
  stroke-width: 2;
  animation: pathDraw 4s ease-in-out infinite;
}
@keyframes pathDraw {
  0% { stroke-dashoffset: 200; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -200; }
}

.bench-bar {
  transform-origin: bottom;
  animation: benchGrow 2s ease-out forwards;
}
.bench-bar--1 { animation-delay: 0s; }
.bench-bar--2 { animation-delay: 0.15s; }
.bench-bar--3 { animation-delay: 0.3s; }
.bench-bar--4 { animation-delay: 0.45s; }
.bench-bar--5 { animation-delay: 0.6s; }
@keyframes benchGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.bench-line {
  stroke: var(--brand-cyan);
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: pathDraw 3s ease-in-out infinite;
  animation-delay: 1s;
}

.service-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 500;
}
.service-card p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 18px;
  color: var(--text-2);
}
.chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip-list li {
  padding: 5px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
}

@media (max-width: 800px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- PLATFORM ---------- */
.section--platform {
  background: var(--brand-navy-3);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--platform::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(69,211,211,0.18), transparent 70%);
  top: -200px; right: -100px;
  animation: orbFloat 14s ease-in-out infinite;
}
.section--platform::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(69,211,211,0.1), transparent 70%);
  bottom: -200px; left: -100px;
  animation: orbFloat 18s ease-in-out infinite reverse;
}
.platform {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.section--platform .section__title { color: #fff; }
.section--platform em { color: var(--brand-cyan); }

.platform__lede {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 520px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.feature-list__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-cyan);
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.feature-list__icon svg { width: 12px; height: 12px; }

/* Platform visual */
.platform__visual {
  position: relative;
  aspect-ratio: 1;
  min-height: 540px;
}
.ring-bg {
  position: absolute;
  width: 90%; height: 90%;
  top: 5%; left: 5%;
  border: 1px dashed rgba(69,211,211,0.25);
  border-radius: 50%;
  animation: ringRotate 60s linear infinite;
}
.ring-bg::after {
  content: '';
  position: absolute;
  width: 110%; height: 110%;
  top: -5%; left: -5%;
  border: 1px dashed rgba(69,211,211,0.15);
  border-radius: 50%;
  animation: ringRotate 90s linear infinite reverse;
}

.device {
  position: absolute;
  background: #06101e;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.device--laptop {
  width: 80%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) perspective(1500px) rotateY(-12deg) rotateX(8deg);
  border-radius: 14px;
  border: 8px solid #1a2333;
  aspect-ratio: 16/10;
  animation: laptopFloat 6s ease-in-out infinite;
}
@keyframes laptopFloat {
  0%, 100% { transform: translate(-50%, -50%) perspective(1500px) rotateY(-12deg) rotateX(8deg) translateY(0); }
  50% { transform: translate(-50%, -50%) perspective(1500px) rotateY(-12deg) rotateX(8deg) translateY(-12px); }
}
.device--laptop .device__screen {
  width: 100%; height: 100%;
  background: var(--surface);
  color: var(--text);
  padding: 24px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}
[data-theme="dark"] .device--laptop .device__screen { background: #0e1729; }

.screen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.screen-row__left { display: flex; flex-direction: column; gap: 6px; }
.screen-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-3);
}
.screen-num {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--brand-cyan);
  letter-spacing: -0.02em;
  line-height: 1;
}
.screen-num small { font-size: 18px; opacity: 0.7; }

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
}
.mini-chart__bar {
  width: 8px;
  height: var(--h);
  background: var(--text-3);
  opacity: 0.4;
  border-radius: 2px;
}
.mini-chart__bar--accent {
  background: var(--brand-cyan);
  opacity: 1;
}

.screen-grid-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.screen-row-item {
  display: grid;
  grid-template-columns: 12px 1fr 1.5fr 40px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 8px 0;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-3);
}
.dot--cyan { background: var(--brand-cyan); box-shadow: 0 0 8px var(--brand-cyan); }
.dot--amber { background: #ffb547; }
.screen-label { color: var(--text-2); }
.screen-progress {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.screen-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--w);
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-cyan));
  border-radius: 4px;
  animation: progressFill 2s ease-out forwards;
}
@keyframes progressFill {
  from { width: 0; }
  to { width: var(--w); }
}
.screen-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.device--phone {
  width: 30%;
  aspect-ratio: 9/19;
  bottom: -2%;
  right: 0;
  border-radius: 32px;
  border: 7px solid #1a2333;
  padding: 6px;
  z-index: 3;
  animation: phoneFloat 5s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}
.device--phone .device__screen {
  width: 100%; height: 100%;
  background: var(--surface);
  color: var(--text);
  border-radius: 24px;
  padding: 28px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
[data-theme="dark"] .device--phone .device__screen { background: #0e1729; }
.device__notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 18px;
  background: #1a2333;
  border-radius: 0 0 12px 12px;
  z-index: 4;
}
.phone-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--brand-cyan);
  letter-spacing: 0.2em;
  font-weight: 600;
}
.phone-card {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-2));
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phone-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-card__title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
}
.phone-card__badge {
  font-size: 9px;
  color: var(--brand-cyan);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
}
.phone-card__sub {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.phone-card__price {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--brand-cyan);
  font-weight: 600;
}
.phone-card__price small { font-size: 11px; opacity: 0.6; }
.phone-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.phone-stat-row > div {
  background: var(--bg-soft);
  padding: 8px 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
[data-theme="dark"] .phone-stat-row > div { background: #1a2540; }
.phone-stat-row span {
  font-size: 9px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.phone-stat-row strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.phone-cta {
  margin-top: auto;
  padding: 10px;
  background: var(--brand-cyan);
  color: var(--brand-navy);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
.phone-cta svg { width: 12px; height: 12px; }

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: floatCard 5s ease-in-out infinite;
  z-index: 4;
  color: var(--text);
}
[data-theme="dark"] .float-card { background: #1a2540; }
.float-card--1 {
  top: 8%;
  left: -2%;
}
.float-card--2 {
  bottom: 25%;
  left: -8%;
  animation-delay: 1s;
}
.float-card__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.float-card__num {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.float-card__delta {
  font-size: 10px;
  color: #1ebd80;
  font-weight: 500;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 960px) {
  .platform { grid-template-columns: 1fr; gap: 60px; }
  .platform__visual { max-width: 540px; margin: 0 auto; width: 100%; min-height: 480px; }
}
@media (max-width: 520px) {
  .platform__visual { min-height: 380px; }
  .float-card { display: none; }
  .device--phone { width: 38%; }
  .platform__lede, .feature-list li { word-wrap: break-word; overflow-wrap: anywhere; }
  .feature-list li { font-size: 14.5px; }
}

/* ---------- INDUSTRIES ---------- */
.industries {
  background: var(--bg-soft);
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.industry-tile {
  position: relative;
  padding: 32px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}
.industry-tile:hover {
  transform: translateY(-8px) rotate(-2deg);
  border-color: var(--brand-cyan);
  background: var(--brand-navy);
  color: #fff;
}
.industry-tile:hover svg { color: var(--brand-cyan); }
.industry-tile:hover .industry-tile__num { color: var(--brand-cyan); }

.industry-tile__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.15em;
  transition: color 0.4s;
}
.industry-tile svg {
  width: 40px; height: 40px;
  color: var(--text);
  transition: color 0.4s;
}
.industry-tile span:last-child {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: var(--brand-navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-strip__title {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 6vw, 80px);
  letter-spacing: -0.03em;
  font-weight: 500;
  line-height: 1.05;
  max-width: 900px;
}
.cta-strip__title em { color: var(--brand-cyan); }

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.cta-bg span {
  position: absolute;
  width: 200px; height: 200px;
  border: 1px solid rgba(69,211,211,0.15);
  border-radius: 50%;
  animation: ctaFloat 12s ease-in-out infinite;
}
.cta-bg span:nth-child(1) { top: -40%; left: 10%; }
.cta-bg span:nth-child(2) { top: 50%; left: -10%; width: 300px; height: 300px; animation-delay: -2s; }
.cta-bg span:nth-child(3) { top: 20%; right: -5%; width: 150px; height: 150px; animation-delay: -4s; }
.cta-bg span:nth-child(4) { bottom: -30%; right: 20%; width: 250px; height: 250px; animation-delay: -6s; }
.cta-bg span:nth-child(5) { top: 60%; right: 30%; width: 100px; height: 100px; animation-delay: -8s; }
.cta-bg span:nth-child(6) { bottom: 10%; left: 30%; animation-delay: -10s; }
@keyframes ctaFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__lede {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.6;
}
.contact__details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact__details li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__details strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--text);
}
.contact__details span,
.contact__details a {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.contact__details a:hover { color: var(--brand-cyan); }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form__title {
  font-size: 26px;
  margin-bottom: 24px;
  font-weight: 500;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.contact__form label > span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  font-weight: 500;
}
.form__row label { margin-bottom: 0; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 14.5px;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
  font-family: inherit;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: var(--brand-cyan);
  background: var(--bg-elev);
  box-shadow: 0 0 0 4px var(--brand-cyan-soft);
}
.contact__form textarea { resize: vertical; min-height: 100px; }
.contact__form select { cursor: pointer; }
.form__note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--brand-cyan-soft);
  color: var(--brand-cyan);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 960px) {
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 520px) {
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 24px; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--brand-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
}
.footer__giant {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Fraunces', serif;
  font-size: clamp(120px, 22vw, 360px);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  white-space: nowrap;
  line-height: 0.8;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}
.footer__brand p {
  margin-top: 20px;
  font-size: 15px;
  max-width: 380px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer__logo {
  height: 30px;
}
.footer__logo--light { display: none; }
.footer__logo--dark { display: block; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer__cols a, .footer__cols span {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  padding: 5px 0;
  transition: color 0.2s, padding-left 0.2s;
}
.footer__cols a:hover {
  color: var(--brand-cyan);
  padding-left: 6px;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  position: relative;
  z-index: 2;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__creds {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  font-size: 11px;
}

@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 100px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 520px) {
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1), transform 0.9s cubic-bezier(0.4,0,0.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--right { transform: translateX(40px); }
.reveal--right.is-visible { transform: translateX(0); }

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