:root {
  color-scheme: dark;
  --ink: #f6f4ee;
  --muted: rgba(246, 244, 238, 0.72);
  --quiet: rgba(246, 244, 238, 0.48);
  --black: #070908;
  --panel: rgba(13, 20, 18, 0.76);
  --line: rgba(246, 244, 238, 0.16);
  --amber: #f1b96b;
  --teal: #54d4c1;
  --clay: #c7684b;
  --green: #9dbd77;
  --radius: 8px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--ink);
  overflow-x: hidden;
}

body::selection {
  background: var(--teal);
  color: #06100e;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(84, 212, 193, 0.18), rgba(241, 185, 107, 0.08) 38%, transparent 68%);
  transition: opacity 220ms ease;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--clay));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(7, 9, 8, 0.82), rgba(7, 9, 8, 0.18));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(246, 244, 238, 0.34);
  background: rgba(246, 244, 238, 0.08);
  border-radius: var(--radius);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.6rem;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--quiet);
  font-size: 0.72rem;
}

nav {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

nav a {
  transition: color 180ms ease;
}

nav a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta {
  background: rgba(246, 244, 238, 0.08);
}

.button.primary {
  color: #08100e;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  box-shadow: 0 22px 60px rgba(84, 212, 193, 0.18);
}

.button.ghost {
  background: rgba(246, 244, 238, 0.08);
  color: var(--ink);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 244, 238, 0.36);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 7.5rem clamp(1rem, 5vw, 5rem) 4rem;
  isolation: isolate;
  overflow: hidden;
}

.hero-image,
.hero-vignette,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
  filter: saturate(0.94) contrast(1.03);
  transform: scale(1.04);
}

.hero-vignette {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.9) 0%, rgba(7, 9, 8, 0.68) 36%, rgba(7, 9, 8, 0.24) 68%, rgba(7, 9, 8, 0.64) 100%),
    linear-gradient(180deg, rgba(7, 9, 8, 0.68) 0%, transparent 44%, rgba(7, 9, 8, 0.86) 100%);
}

.hero-grid {
  z-index: -2;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(246, 244, 238, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 244, 238, 0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 78%, transparent);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  font-size: clamp(4rem, 11vw, 10.5rem);
  line-height: 0.78;
  letter-spacing: 0;
}

h1,
h2 {
  font-weight: 800;
}

.hero-copy {
  max-width: 40rem;
  color: rgba(246, 244, 238, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.ask-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-panel {
  position: absolute;
  right: clamp(1rem, 5vw, 5rem);
  bottom: 4rem;
  width: min(330px, calc(100% - 2rem));
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 9, 8, 0.54);
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.35;
}

.pulse-line {
  height: 2px;
  margin-top: 1.2rem;
  overflow: hidden;
  background: rgba(246, 244, 238, 0.12);
}

.pulse-line::before {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--teal), var(--amber), transparent);
  animation: scan 2.4s ease-in-out infinite;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b100f;
}

.stat {
  min-height: 12rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat span {
  display: block;
  color: var(--amber);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
}

.stat p {
  max-width: 16rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.split {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  background:
    radial-gradient(circle at 80% 10%, rgba(84, 212, 193, 0.13), transparent 34%),
    #101311;
}

.section-copy h2,
.section-heading h2,
.value-card h2,
.ask h2 {
  max-width: 900px;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 0.94;
}

.section-copy p,
.value-card p,
.ask p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.opportunity-card,
.value-card,
.person,
.phase,
.feature,
.loop-card,
.money-grid,
.ops-console {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(246, 244, 238, 0.055);
  backdrop-filter: blur(16px);
}

.opportunity-card {
  padding: 1.3rem;
}

.opportunity-card span,
.money-grid span,
.person span,
.phase span,
.loop-card span,
.feature span {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.opportunity-card strong {
  display: block;
  margin: 0.7rem 0;
  font-size: 1.35rem;
  line-height: 1.18;
}

.opportunity-card p,
.loop-card p,
.feature p,
.phase p,
.person p {
  color: var(--muted);
  line-height: 1.55;
}

.dark {
  background:
    linear-gradient(180deg, #070908, #101311 50%, #070908),
    radial-gradient(circle at 20% 20%, rgba(199, 104, 75, 0.16), transparent 35%);
}

.section-heading {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.loop {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.loop-card {
  position: relative;
  min-height: 17rem;
  padding: 1.2rem;
  overflow: hidden;
}

.loop-card::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms ease;
}

.loop-card:hover::after {
  transform: scaleX(1);
}

.loop-card h3,
.feature h3,
.phase h3,
.person h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.3rem;
}

.motelops {
  background:
    radial-gradient(circle at 12% 0%, rgba(84, 212, 193, 0.18), transparent 30%),
    radial-gradient(circle at 92% 68%, rgba(241, 185, 107, 0.15), transparent 32%),
    #0c1110;
}

.ops-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: stretch;
}

.ops-console {
  padding: 1rem;
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(84, 212, 193, 0.08), 0 40px 120px rgba(0, 0, 0, 0.28);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--quiet);
  font-size: 0.78rem;
}

.console-top span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--line);
}

.console-top span:first-child {
  background: var(--clay);
}

.console-top span:nth-child(2) {
  background: var(--amber);
}

.console-top span:nth-child(3) {
  background: var(--teal);
}

.console-top strong {
  margin-left: auto;
}

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

.console-metric {
  padding: 1rem;
  border: 1px solid rgba(246, 244, 238, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 9, 8, 0.42);
}

.console-metric small {
  display: block;
  color: var(--quiet);
  font-size: 0.72rem;
}

.console-metric strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--amber);
  font-size: 2rem;
}

.signal-stack {
  display: flex;
  align-items: end;
  gap: 0.7rem;
  height: 12rem;
  padding: 1rem;
}

.signal-stack i {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, var(--teal), rgba(84, 212, 193, 0.04));
  animation: breathe 2.6s ease-in-out infinite;
  animation-delay: calc(var(--h) * -0.02);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature {
  padding: 1.25rem;
}

.roadmap {
  background: #121512;
}

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

.timeline::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--amber), transparent);
}

.phase {
  position: relative;
  padding: 1.4rem;
}

.phase::before {
  content: "";
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  margin-bottom: 2rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(241, 185, 107, 0.12);
}

.value {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
  background:
    linear-gradient(135deg, rgba(84, 212, 193, 0.12), rgba(199, 104, 75, 0.1)),
    #080a09;
}

.value-card {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.money-grid {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.money-grid div {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(7, 9, 8, 0.36);
}

.money-grid strong {
  font-size: 1.25rem;
}

.team {
  background: #101311;
}

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

.person {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.person h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.ask {
  min-height: 80svh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(84, 212, 193, 0.2), transparent 34%),
    linear-gradient(180deg, #070908, #111512);
}

.ask-inner {
  width: min(980px, 100%);
}

.ask h2 {
  margin-inline: auto;
}

.ask p {
  max-width: 48rem;
  margin-inline: auto;
}

.ask-actions {
  justify-content: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
  color: var(--quiet);
  border-top: 1px solid var(--line);
  background: #070908;
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 800ms ease;
}

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

@keyframes scan {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(260%);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scaleY(0.78);
    opacity: 0.58;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  nav,
  .header-cta {
    display: none;
  }

  h1 {
    font-size: clamp(4.2rem, 18vw, 8rem);
  }

  .hero {
    min-height: 94svh;
    align-items: center;
  }

  .hero-panel {
    position: static;
    margin-top: 2rem;
  }

  .stats-band,
  .loop,
  .timeline,
  .team-grid,
  .value,
  .ops-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 6rem 1rem 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .ask-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 4rem 1rem;
  }

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

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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