:root {
  --ink: #0b0c0a;
  --ink-2: #141512;
  --paper: #f3f0e8;
  --paper-soft: rgba(243, 240, 232, 0.72);
  --mist: #9a9588;
  --line: rgba(243, 240, 232, 0.12);
  --line-strong: rgba(243, 240, 232, 0.22);
  --signal: #c6f54a;
  --signal-ink: #1a2208;
  --blush: #e7b7a5;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --nav-h: 76px;
  --max: 1180px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-ui: "Sora", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.5;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

#root {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 500;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--signal);
}

h1,
h2,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(11, 12, 10, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  height: var(--nav-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: var(--paper-soft);
}

.nav-links a:hover {
  color: var(--paper);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-cta,
.btn-signal {
  background: var(--signal);
  color: var(--signal-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-strong);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -5px;
}

.menu-btn span::after {
  top: 5px;
}

/* HERO */
.hero {
  position: relative;
  padding: 48px 0 28px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 86px);
  margin: 18px 0 22px;
  max-width: 11ch;
}

.lede {
  max-width: 46ch;
  color: var(--paper-soft);
  font-size: 17px;
  font-weight: 300;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta b {
  display: block;
  color: var(--paper);
  font-size: 20px;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  text-transform: none;
  margin-bottom: 4px;
}

.stage {
  position: relative;
  height: 560px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 245, 74, 0.18), transparent 68%);
  filter: blur(8px);
}

.phone {
  position: absolute;
  width: 210px;
  height: 430px;
  border-radius: 36px;
  background: #161714;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 10px;
}

.phone.left {
  transform: translate(-118px, 28px) rotate(-9deg);
  z-index: 1;
}

.phone.center {
  transform: translateY(-8px);
  z-index: 3;
  width: 228px;
  height: 468px;
}

.phone.right {
  transform: translate(122px, 40px) rotate(8deg);
  z-index: 2;
}

.screen {
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #0e0f0c;
  position: relative;
}

.notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  background: #050505;
  border-radius: 12px;
  z-index: 2;
}

.app {
  padding: 36px 14px 14px;
  height: 100%;
}

.app h3 {
  font-size: 15px;
  font-family: var(--font-display);
}

.app p {
  font-size: 11px;
  color: var(--mist);
  margin: 4px 0 14px;
}

.pill-row,
.card-col {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mini-pill {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(243, 240, 232, 0.08);
}

.mini-card {
  background: rgba(243, 240, 232, 0.06);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  margin-top: 8px;
}

.mini-card strong {
  display: block;
  font-size: 12px;
}

.ring {
  width: 118px;
  height: 118px;
  margin: 18px auto 10px;
  border-radius: 50%;
  border: 8px solid rgba(198, 245, 74, 0.15);
  border-top-color: var(--signal);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
}

.chat-bubble {
  font-size: 11px;
  padding: 8px 10px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(243, 240, 232, 0.08);
  margin-bottom: 8px;
  max-width: 90%;
}

.chat-bubble.me {
  margin-left: auto;
  background: var(--signal);
  color: var(--signal-ink);
  border-radius: 12px 12px 4px 12px;
}

.feed-item {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.swatch {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
}

.swatch.a { background: linear-gradient(135deg, #e7b7a5, #c6f54a); }
.swatch.b { background: linear-gradient(135deg, #7c6cff, #c6f54a); }
.swatch.c { background: linear-gradient(135deg, #f3f0e8, #8e8a80); }

/* TICKER */
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  margin-top: 20px;
}

.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 36px;
}

.ticker-track span::after {
  content: "●";
  color: var(--signal);
  font-size: 8px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
section {
  padding: 92px 0;
  scroll-margin-top: var(--nav-h);
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  margin-bottom: 48px;
  align-items: end;
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 58px);
}

.section-head p {
  color: var(--paper-soft);
  max-width: 48ch;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(198, 245, 74, 0.4);
  transform: translateY(-3px);
}

.card .num {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 18px 0 10px;
}

.card p {
  color: var(--mist);
  font-size: 14px;
}

.trends {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--paper-soft);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.step {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line);
  min-height: 260px;
}

.step:last-child {
  border-right: 0;
}

.step strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 40px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 12px;
}

.step p {
  color: var(--mist);
  font-size: 14px;
}

.studio {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.studio-panel {
  background:
    radial-gradient(circle at 20% 20%, rgba(198, 245, 74, 0.16), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(231, 183, 165, 0.16), transparent 42%),
    var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 32px;
  min-height: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.ai-loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 18px;
}

.ai-loop .step {
  min-height: 280px;
}

.ai-loop .step h3 {
  font-size: 22px;
}

.ai-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
}

.ai-band .studio-panel {
  min-height: 100%;
}

.ai-footnote {
  margin-top: 22px;
  color: var(--mist);
  font-size: 14px;
  max-width: 72ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact form {
  display: grid;
  gap: 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

input,
select,
textarea {
  width: 100%;
  background: #0b0c0a;
  border: 1px solid var(--line);
  color: var(--paper);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(198, 245, 74, 0.7);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-note {
  color: var(--mist);
  font-size: 13px;
}

.form-note.ok {
  color: var(--signal);
}

.mail {
  color: var(--signal);
  font-size: 22px;
  font-family: var(--font-display);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--mist);
  font-size: 13px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mobile-panel {
  display: none;
}

@media (max-width: 960px) {
  .hero-grid,
  .section-head,
  .split,
  .studio,
  .contact-grid,
  .process,
  .ai-loop,
  .ai-band {
    grid-template-columns: 1fr;
  }

  .process .step,
  .ai-loop .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: auto;
  }

  .hero h1 {
    max-width: none;
  }

  .stage {
    height: 480px;
  }

  .phone.left { transform: translate(-70px, 36px) rotate(-8deg); }
  .phone.right { transform: translate(76px, 48px) rotate(8deg); }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .mobile-panel.open {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 4px 0 20px;
    background: rgba(11, 12, 10, 0.96);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .phone {
    width: 170px;
    height: 350px;
  }

  .phone.center {
    width: 188px;
    height: 384px;
  }

  .stage {
    height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}
