/* ========== One Chamber — single-page site ========== */

:root {
  --bg: #07070b;
  --bg-2: #0d0d14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --ink: #f5f5f7;
  --ink-dim: rgba(245, 245, 247, 0.66);
  --ink-mute: rgba(245, 245, 247, 0.42);
  --accent: #c8ff3e;
  --accent-2: #7c5cff;
  --accent-3: #ff7a59;
  --grad: linear-gradient(135deg, #c8ff3e 0%, #7c5cff 55%, #ff7a59 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1240px;
  --shadow-lg: 0 30px 80px -30px rgba(124, 92, 255, 0.35),
    0 10px 40px -20px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse at top, rgba(124, 92, 255, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 10%, rgba(200, 255, 62, 0.08), transparent 45%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

::selection {
  background: rgba(200, 255, 62, 0.35);
  color: #fff;
}

/* ----- Atmosphere ----- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform;
  animation: float 22s ease-in-out infinite;
}
.orb-a {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, #7c5cff 0%, transparent 60%);
}
.orb-b {
  width: 460px;
  height: 460px;
  top: 30%;
  right: -120px;
  background: radial-gradient(circle, #c8ff3e 0%, transparent 60%);
  animation-delay: -8s;
}
.orb-c {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: 30%;
  background: radial-gradient(circle, #ff7a59 0%, transparent 60%);
  animation-delay: -14s;
  opacity: 0.4;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, -30px, 0) scale(1.08); }
}

/* ----- Layout primitives ----- */
main,
header,
footer {
  position: relative;
  z-index: 2;
}

section {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 56px);
  max-width: var(--max);
  margin: 0 auto;
}

/* ----- Nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  max-width: var(--max);
  margin: 0 auto;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 7, 11, 0.7),
    rgba(7, 7, 11, 0.2)
  );
  border-bottom: 1px solid var(--border);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav.is-stuck::before {
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(200, 255, 62, 0.18));
}
.brand-mark.sm {
  width: 24px;
  height: 24px;
}
.brand-word {
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--ink);
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--ink);
  color: #0a0a0f;
  box-shadow: 0 10px 30px -10px rgba(200, 255, 62, 0.45);
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 14px 36px -10px rgba(200, 255, 62, 0.7);
}
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

/* ----- Hero ----- */
.hero {
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(64px, 10vw, 120px);
}
.hero-inner {
  max-width: 980px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 28px 0 24px;
  max-width: 18ch;
}
.hero-title em {
  font-family: "Instrument Serif", "Inter", serif;
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.05em;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-dim);
  max-width: 62ch;
  margin: 0 0 36px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Marquee */
.hero-marquee {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}
.marquee-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  animation: marquee 38s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----- Stat band ----- */
.band {
  padding: 0 clamp(20px, 5vw, 56px);
  margin: 0 auto;
  max-width: var(--max);
}
.band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.band-stat {
  padding: 8px 24px;
  border-left: 1px solid var(--border);
}
.band-stat:first-child {
  border-left: none;
}
.band-stat .num {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 6px;
}
.band-stat .lab {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.45;
}
@media (max-width: 880px) {
  .band-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }
  .band-stat {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 20px 12px 0;
  }
  .band-stat:first-child,
  .band-stat:nth-child(2) {
    border-top: none;
    padding-top: 0;
  }
}

/* ----- Section heads ----- */
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.kicker {
  display: inline-block;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}
.section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 20px;
}
.section-head h2 .muted {
  color: var(--ink-mute);
}
.section-head h2 em {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lede {
  color: var(--ink-dim);
  font-size: 17.5px;
  max-width: 65ch;
  margin: 0;
}

/* ----- Service cards ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  padding: 36px;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.3s ease, background 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 0%),
    rgba(124, 92, 255, 0.18),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.card:hover::before {
  opacity: 1;
}
.card-glyph {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--accent);
}
.card-glyph svg {
  width: 26px;
  height: 26px;
}
.card-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-bottom: 12px;
  font-weight: 600;
}
.card h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 600;
}
.card p {
  color: var(--ink-dim);
  margin: 0 0 22px;
  line-height: 1.55;
  font-size: 15.5px;
}
.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.card-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

/* ----- Approach ----- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.step-num {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 36px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  line-height: 1;
}
.step h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}

/* ----- Metrics ----- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.metric {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.metric:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.metric-num {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.metric-lab {
  color: var(--ink-dim);
  font-size: 14.5px;
  line-height: 1.5;
}

/* ----- Contact ----- */
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.08), rgba(255, 122, 89, 0.04) 60%, transparent),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 880px) {
  .contact-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.contact-copy h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.05;
  margin: 14px 0 16px;
}
.contact-copy h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-copy p {
  color: var(--ink-dim);
  margin: 0;
  max-width: 40ch;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  font-weight: 600;
}
.contact-form .full {
  grid-column: 1 / -1;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.contact-form textarea {
  resize: vertical;
  min-height: 88px;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(200, 255, 62, 0.12);
}
.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%),
    linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13.5px;
  color: var(--accent);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  min-height: 1em;
}

/* ----- Footer ----- */
.footer {
  margin-top: 60px;
  padding: 32px clamp(20px, 5vw, 56px) 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-dim);
  font-weight: 500;
}
.foot-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.foot-meta a {
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.foot-meta a:hover {
  color: var(--ink);
}
.dot-sep {
  color: var(--ink-mute);
}

/* ----- Reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
