/* ════════════════════════════════════════════════════════
   SOLACY — AI Design Intern — Waitlist Page Styles
   ════════════════════════════════════════════════════════ */

/* ── RESET & TOKENS ──────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg: #F7F4EF;
  --ink: #181714;
  --mid: #504D47;
  --faint: #807D76;
  --line: #DBD7D0;
  --accent: #6B47F5;
  --green: #3D6B50;
  --red: #A83228;
  --w: 960px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ──────────────────────────────────────────── */
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 40px; }
.sec { border-bottom: 1px solid var(--line); padding: 72px 0; }
.sec-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 8px;
}
.sec-title {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-style: italic; color: var(--ink);
  margin-bottom: 36px; font-weight: 400;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: auto;
  max-width: calc(100% - 32px);
  height: 40px;
  background: rgba(247,244,239,0.90);
  border: 1px solid rgba(219,215,208,0.80);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(24,23,20,0.07);
}
.nav-inner {
  max-width: none;
  margin: 0 auto;
  padding: 0 6px 0 14px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 7px;
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-size: 14px; color: var(--ink);
}
.nav-logo img {
  width: 20px; height: 20px; border-radius: 50%;
  object-fit: cover; object-position: center 10%;
}
.nav-right { display: flex; align-items: center; gap: 2px; }
.nav-right a {
  font-size: 13px; color: var(--mid); text-decoration: none;
  padding: 5px 10px; border-radius: 999px;
  transition: color 0.15s;
}
.nav-right a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink) !important; color: var(--bg) !important;
  padding: 6px 14px; font-size: 13px; font-weight: 500 !important;
  border-radius: 999px;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.72 !important; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  padding: 160px 0 0;
  border-bottom: 1px solid var(--line);
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.15} }

/* Centered hero */
.hero-center {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding-bottom: 56px;
}

.hero-dp-wrap {
  position: relative;
  margin-bottom: 20px;
}
.hero-video-ring {
  width: 252px; height: 252px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5D0E0, var(--accent));
  padding: 3px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(123,92,250,0.1);
}
.hero-video-ring video {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Speech bubble — sits just above avatar, centered */
.hero-bubble {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: rgba(91, 61, 240, 0.95);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(107, 71, 245, 0.22);
  border-radius: 10px;
  padding: 7px 14px;
  white-space: nowrap;
  display: flex; align-items: center;
  box-shadow: 0 8px 28px rgba(107, 71, 245, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-bubble::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%; margin-left: -5px; margin-top: -4px;
  width: 8px; height: 8px;
  background: rgba(255, 255, 255, 0.92);
  border-right: 1px solid rgba(107, 71, 245, 0.22);
  border-bottom: 1px solid rgba(107, 71, 245, 0.22);
  transform: rotate(45deg);
}
.hero-bubble .quip-cursor {
  margin-left: 1px; font-weight: 300;
}

.hero-hi {
  font-family: 'DM Mono', monospace;
  font-size: 12px; color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.hero-hi strong {
  position: relative;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 2px 6px;
}
.hero-hi strong::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 9px;
  background: rgba(107,71,245,0.14);
  border-radius: 8px;
  z-index: -1;
}
.hero-hi strong::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 0px;
  height: 1px;
  background: rgba(107,71,245,0.55);
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 20px;
  max-width: 720px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 15px; color: var(--mid); line-height: 1.8;
  max-width: 620px;
  margin-bottom: 32px;
}

/* Hero CTAs */
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.quip-cursor {
  animation: cursor-blink 0.8s step-end infinite;
  color: var(--accent); font-weight: 300;
}
@keyframes cursor-blink { 0%,100%{opacity:1} 50%{opacity:0} }

.btn {
  display: inline-block; text-decoration: none;
  font-size: 13px; font-weight: 500; padding: 13px 28px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-fill {
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(24,23,20,0.18); }
.btn-outline {
  color: var(--mid); border: 1px solid var(--line); background: transparent;
}
.btn-outline:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }

/* ── MARQUEE STRIP ───────────────────────────────────── */
.marquee-strip {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  padding: 14px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 24px;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}
.mtag {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.mtag-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(196, 181, 244, 0.4);
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── FEATURES GRID ───────────────────────────────────── */
.features-sec { padding-bottom: 80px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  position: relative;
  background: white;
  padding: 30px 26px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feat-card:hover {
  border-color: rgba(24,23,20,0.22);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(24,23,20,0.06);
}
.feat-n {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 20px;
}
.feat-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(24,23,20,0.10);
  background: rgba(247,244,239,0.55);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.feat-card:hover .feat-icon {
  opacity: 0.95;
  transform: translateY(-1px);
}
.feat-h {
  font-family: 'Fraunces', serif;
  font-size: 18px; color: var(--ink);
  margin-bottom: 8px; line-height: 1.3;
  font-weight: 500;
}
.feat-p {
  font-size: 14px; color: var(--mid);
  line-height: 1.7;
  flex: 1;
}
.feat-arrow {
  display: block;
  margin-top: 20px;
  font-size: 18px;
  color: var(--faint);
  transition: color 0.3s ease, transform 0.3s ease;
}
.feat-card:hover .feat-arrow {
  color: var(--ink);
  transform: translateX(4px);
}

/* ── ASK SOLACY (Interactive Chat) ────────────────────── */
.ask-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: start;
}

/* Left — prompts */
.ask-left {}
.ask-headline {
  font-family: 'Fraunces', serif;
  font-size: 34px; color: var(--ink); line-height: 1.15;
  margin-bottom: 12px;
}
.ask-headline em { font-style: italic; color: var(--accent); }
.ask-sub {
  font-size: 14px; color: var(--mid); line-height: 1.75;
  margin-bottom: 28px;
}
.ask-prompts {
  display: flex; flex-direction: column; gap: 6px;
}
.ask-prompt {
  display: block; width: 100%;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px; color: var(--mid);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.4;
  position: relative;
}
.ask-prompt:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateX(6px);
  box-shadow: 0 0 0 1px var(--accent);
}
.ask-prompt.ask-prompt-used {
  opacity: 0.4;
  pointer-events: none;
}
.ask-prompt.ask-prompt-active {
  border-color: var(--accent);
  background: rgba(123, 92, 250, 0.05);
  color: var(--ink);
}

/* Right — chat window */
.ask-chat {
  border: 1px solid var(--line);
  background: white;
  display: flex; flex-direction: column;
  height: 520px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.ask-chat-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  background: white;
}
.ask-chat-av {
  width: 30px; height: 30px; border-radius: 50%;
  object-fit: cover; object-position: center 10%;
}
.ask-chat-name {
  display: block;
  font-size: 13px; font-weight: 500; color: var(--ink);
  line-height: 1.2;
}
.ask-chat-status {
  font-size: 11px; color: var(--faint);
}
.ask-chat-online {
  margin-left: auto;
  display: flex; align-items: center; gap: 5px;
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--green);
  letter-spacing: 0.06em;
}
.ask-online-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
}

.ask-chat-body {
  flex: 1; overflow-y: auto;
  padding: 20px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.ask-chat-body::-webkit-scrollbar { width: 3px; }
.ask-chat-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

/* Messages */
.ask-msg {
  display: flex; gap: 10px;
  max-width: 90%;
}
.ask-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.ask-msg-sol {
  align-self: flex-start;
}
.ask-msg-av {
  width: 26px; height: 26px; border-radius: 50%;
  object-fit: cover; object-position: center 10%;
  flex-shrink: 0; margin-top: 2px;
}

.ask-bubble {
  padding: 10px 14px;
  font-size: 13.5px; line-height: 1.65;
}
.ask-bubble-user {
  background: var(--ink); color: var(--bg);
  border-radius: 18px 18px 4px 18px;
}
.ask-bubble-sol {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 4px 18px 18px 18px;
  box-shadow: 0 0 20px rgba(123, 92, 250, 0.06);
}

/* Typing indicator */
.ask-typing {
  display: flex; gap: 10px;
  align-self: flex-start;
  max-width: 90%;
}
.ask-typing-dots {
  display: flex; gap: 4px; align-items: center;
  padding: 12px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px 18px 18px 18px;
}
.ask-typing-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: ask-dot-pulse 1.4s ease infinite;
}
.ask-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ask-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes ask-dot-pulse {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1.1); }
}

/* ── WORK GRID ───────────────────────────────────────── */
.work-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--line); border: 1px solid var(--line);
}
.work-card {
  background: var(--bg); overflow: hidden;
  transition: background 0.2s ease;
}
.work-card:hover { background: white; }
.work-shot-wrap {
  border-bottom: 1px solid rgba(24,23,20,0.08);
  background: rgba(255,255,255,0.6);
}
.work-body { padding: 22px 26px 26px; }
.work-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 6px;
}
.work-title {
  font-family: 'Fraunces', serif;
  font-size: 17px; color: var(--ink); margin-bottom: 6px;
}
.work-shot {
  width: 100%;
  height: 240px;
  object-fit: cover;
  /* UI screenshots read better when anchored from top. */
  object-position: center top;
  display: block;
  border-radius: 0;
  border: none;
  background: transparent;
  margin: 0;
}
.work-desc { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 14px; }
.work-comment {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--accent);
  padding: 8px 12px;
  background: rgba(196,181,244,0.08);
  border-left: 2px solid var(--accent);
  line-height: 1.5;
}

/* Inline Figma comment — no bubble */
.work-prompt {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.work-prompt-av { display: none; }
.work-prompt-bubble {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  line-height: 1.6;
  color: var(--faint);
}
.work-prompt-bubble::before {
  content: '@Solacy ';
  color: var(--accent);
  font-weight: 500;
}

/* ── PIPELINE (Editorial split + timeline) ────────────── */
/* ── PIPELINE / ACTIVITY LOG ─────────────────────────── */
.pipe-section {}
.pipe-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.pipe-left .sec-title { margin-bottom: 16px; font-style: italic; }
.pipe-left .sec-title em { color: var(--accent); }
.pipe-kicker {
  font-size: 14px; color: var(--mid);
  line-height: 1.8; margin-bottom: 28px;
}
.pipe-phases {
  display: flex; flex-direction: column; gap: 10px;
}
.pipe-phase {
  display: flex; align-items: center; gap: 10px;
}
.pipe-phase-pip {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.pipe-phase-n {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--faint); letter-spacing: 0.06em;
  width: 20px; flex-shrink: 0;
}
.pipe-phase-l {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--mid); letter-spacing: 0.04em;
}

/* Activity log panel */
.pipe-log {
  background: #13120F;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.pipe-log-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pipe-log-traff {
  display: flex; gap: 5px; align-items: center;
}
.pipe-log-traff span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.pipe-log-traff span:nth-child(1) { background: #FF5F56; }
.pipe-log-traff span:nth-child(2) { background: #FFBD2E; }
.pipe-log-traff span:nth-child(3) { background: #27C93F; }
.pipe-log-title {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em; flex: 1; text-align: center;
}
.pipe-log-status {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: rgba(107,71,245,0.7);
  letter-spacing: 0.04em;
}
.pipe-log-status.running { color: #27C93F; }
.pipe-log-status.done { color: rgba(255,255,255,0.3); }

.pipe-log-body {
  padding: 20px;
  min-height: 360px;
  display: flex; flex-direction: column; gap: 0;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
}
.pipe-log-prompt {
  padding: 10px 14px;
  background: rgba(107,71,245,0.1);
  border: 1px solid rgba(107,71,245,0.2);
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 12px;
}
.pipe-log-at {
  color: #6B47F5; font-weight: 500;
}
.pipe-log-line {
  display: flex; gap: 10px; align-items: baseline;
  padding: 3px 0;
  opacity: 0;
  animation: log-appear 0.2s ease forwards;
}
@keyframes log-appear {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}
.pipe-log-phase {
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  flex-shrink: 0; width: 72px; padding-top: 1px;
  opacity: 0.5;
}
.pipe-log-text { color: rgba(255,255,255,0.65); line-height: 1.5; }
.pipe-log-text strong { color: rgba(255,255,255,0.9); font-weight: 500; }
.pipe-log-text em { font-style: normal; }
.pipe-log-sep {
  border: none; border-top: 1px solid rgba(255,255,255,0.05);
  margin: 8px 0;
}
.pipe-log-cursor {
  display: inline-block; width: 7px; height: 13px;
  background: rgba(107,71,245,0.8);
  border-radius: 1px;
  animation: log-blink 0.9s step-end infinite;
  vertical-align: text-bottom; margin-left: 2px;
}
@keyframes log-blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── SCOPE LOCK INFO ─────────────────────────────────── */

/* ── CAPABILITIES ────────────────────────────────────── */
.caps-section .sec-title { margin-bottom: 26px; }

.caps-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  margin-bottom: 26px;
}
.caps-metric {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.caps-metric:last-child { border-right: none; }
.caps-metric-n {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-style: italic;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.caps-metric-l {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.6;
}

.caps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.35);
}
.cap {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 22px;
  border-bottom: 1px solid var(--line);
}
.cap:nth-child(even) { border-left: 1px solid var(--line); }
.cap:nth-last-child(-n+2) { border-bottom: none; }
.cap-n {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(128,125,118,0.8);
  margin-top: 2px;
}
.cap-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}
.cap-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
}

/* ── MEMORY SYSTEM ───────────────────────────────────── */
.mem-section {
  overflow: visible;
}
.mem-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px;
}
.mem-top .sec-title { margin-bottom: 0; }

/* ── MEMORY CANVAS ───────────────────────────────────── */
.mem-canvas {
  position: relative;
  height: 540px;
  background: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0;
}
/* Dot grid overlay */
.mem-canvas::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
/* Edge vignette */
.mem-canvas::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 55%, var(--ink) 100%);
  pointer-events: none;
  z-index: 3;
}

/* SVG lines */
.mem-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Glow behind avatar */
.mem-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,71,245,0.3) 0%, transparent 70%);
  animation: mem-glow-pulse 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes mem-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Concentric rings */
.mem-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.06);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.mem-ring-1 { width: 220px; height: 220px; transition-delay: 0.2s; }
.mem-ring-2 { width: 400px; height: 400px; transition-delay: 0.5s; }
.mem-ring.grown { transform: translate(-50%, -50%) scale(1); }
.mem-ring-1.grown {
  border-color: rgba(107,71,245,0.2); border-style: solid;
  animation: ring-rotate-slow 25s linear infinite;
}
.mem-ring-2.grown {
  border-color: rgba(107,71,245,0.1); border-style: solid;
  animation: ring-rotate-slow 40s linear infinite reverse;
}
@keyframes ring-rotate-slow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Core avatar */
.mem-core {
  position: relative; z-index: 5;
  width: 88px; height: 88px;
}
.mem-core-av {
  width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; object-position: center 10%;
  border: 2px solid rgba(107,71,245,0.6);
  box-shadow: 0 0 0 8px rgba(107,71,245,0.08), 0 0 32px rgba(107,71,245,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mem-core-av.pulse {
  transform: scale(1.08);
  box-shadow: 0 0 0 12px rgba(107,71,245,0.15), 0 0 48px rgba(107,71,245,0.6);
}

/* Memory nodes */
.mem-node {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 5px 10px 5px 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
  z-index: 6;
}
.mem-node.visible {
  opacity: 1; transform: scale(1);
}
.mem-node-dot {
  width: 6px; height: 6px; border-radius: 50%;
  flex-shrink: 0;
}

/* Score */
.mem-score {
  display: flex; align-items: baseline; gap: 8px;
}
.mem-score-n {
  font-family: 'Fraunces', serif;
  font-size: 48px; font-style: italic;
  color: var(--accent); line-height: 1;
}
.mem-score-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.mem-dot {
  width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0;
}

/* Stage timeline inside canvas */
.mem-stages {
  position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center;
  z-index: 10;
}
.mem-stage {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: none; border: none; cursor: pointer; padding: 4px 16px;
}
.mem-stage-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  display: block;
}
.mem-stage.active .mem-stage-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(107,71,245,0.7);
}
.mem-stage-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s ease;
}
.mem-stage.active .mem-stage-label { color: rgba(255,255,255,0.6); }
.mem-stage-line {
  width: 36px; height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 15px;
}

/* Category legend inside canvas */
.mem-legend {
  position: absolute;
  top: 20px; left: 24px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 10;
}
.mem-legend-item {
  display: flex; align-items: center; gap: 7px;
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* ── VS TABLE ────────────────────────────────────────── */
.vs { width: 100%; border-collapse: collapse; font-size: 14px; }
.vs thead tr { border-bottom: 1.5px solid var(--ink); }
.vs th {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); font-weight: 400; padding: 0 0 14px; text-align: left;
}
.vs th:last-child { padding-left: 28px; }
.vs td {
  padding: 13px 0; border-bottom: 1px solid var(--line);
  color: var(--mid); line-height: 1.5; vertical-align: top;
}
.vs td:last-child { padding-left: 28px; color: var(--ink); font-weight: 500; }
.vs tr:last-child td { border-bottom: none; }

/* ── BUZZ / TWEETS ───────────────────────────────────── */
.buzz-section { padding-bottom: 80px; }
.buzz-header { margin-bottom: 40px; }
.buzz-title {
  font-family: 'Fraunces', serif;
  font-size: 32px; color: var(--ink); line-height: 1.2;
}
.buzz-title em { font-style: italic; color: var(--accent); }

/* Scattered sticky-note layout */
.buzz-scatter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 28px;
  padding: 16px 0;
}

.note {
  display: flex; flex-direction: column;
  text-decoration: none;
  background: white;
  padding: 24px 22px 20px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 20px rgba(0,0,0,0.04);
  transform: rotate(var(--r, 0deg)) translate(var(--x, 0), var(--y, 0));
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  position: relative;
}
.note::before {
  content: '';
  position: absolute;
  top: 0; left: 24px;
  width: 32px; height: 4px;
  background: var(--line);
  border-radius: 0 0 2px 2px;
}
.note:hover {
  transform: rotate(0deg) translate(0, -6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.1);
  z-index: 2;
}
.note-pop {
  background: var(--ink);
}
.note-pop::before { background: rgba(255,255,255,0.15); }
.note-pop .note-body { color: rgba(255,255,255,0.88); }
.note-pop .note-handle { color: rgba(255,255,255,0.4); }
.note-pop .note-av { border-color: rgba(255,255,255,0.15); }

.note-av {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  margin-bottom: 16px;
}
.note-body {
  font-size: 14px; color: var(--ink); line-height: 1.7;
  margin: 0 0 14px; flex: 1;
}
.note-body strong { font-weight: 600; }
.note-handle {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--faint);
  letter-spacing: 0.02em;
}

/* ── BOTTOM CTA ──────────────────────────────────────── */
.bottom-cta {
  padding: 100px 0 80px;
}
.bottom-cta .wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}

.bottom-eyebrow {
  font-family: 'Fraunces', serif;
  font-size: 20px; color: var(--mid);
  margin-bottom: 4px;
}
.bottom-h {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 6vw, 72px);
  color: var(--accent);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 40px;
}
.bottom-contact {
  display: flex; flex-direction: column; gap: 12px;
}
.bottom-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--ink);
  transition: color 0.15s;
}
.bottom-link:hover { color: var(--accent); }
.bottom-link-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint);
  width: 60px;
}

/* Form card */
.bottom-form {
  display: flex; flex-direction: column; gap: 0;
  background: #fff;
  border: 1px solid rgba(219,215,208,0.9);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 4px 24px rgba(24,23,20,0.07);
}
.form-label-top {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 20px;
}
.form-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 4px;
}
.form-label .req { color: var(--accent); }
.bottom-form .field { margin-bottom: 16px; }
.bottom-form .fw input,
.bottom-form .fw textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 14px;
  padding: 10px 12px; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; box-sizing: border-box;
}
.bottom-form .fw textarea {
  resize: vertical; min-height: 78px; line-height: 1.5;
}
.bottom-form .fw input::placeholder,
.bottom-form .fw textarea::placeholder { color: #C8C4BC; }
.bottom-form .fw input:focus,
.bottom-form .fw textarea:focus { border-color: var(--ink); }
.submit-btn {
  width: 100%; background: var(--ink); border: none; color: var(--bg);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  padding: 14px; cursor: pointer; transition: all 0.2s ease; margin-top: 8px;
  border-radius: 8px;
}
.submit-btn:hover { background: var(--accent); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Success */
.success {
  display: none; padding: 36px 28px; position: relative; overflow: hidden;
  background: #fff; border: 1px solid rgba(219,215,208,0.9); border-radius: 16px;
  box-shadow: 0 4px 24px rgba(24,23,20,0.07);
}
.success-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 12px;
}
.success-text {
  font-family: 'Fraunces', serif;
  font-size: 26px; font-style: italic; color: var(--ink);
  line-height: 1.3; margin-bottom: 16px;
}
.success-sub {
  font-family: 'DM Mono', monospace; font-size: 12px; color: var(--faint);
}
.success-burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.burst-dot {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  animation: burst-fly 1s ease-out forwards;
}
@keyframes burst-fly {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0.2); opacity: 0; }
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0 32px;
}
.foot-copy {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--faint);
  letter-spacing: 0.04em;
}
.foot-url {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--faint);
  text-decoration: none; transition: color 0.15s;
}
.foot-url:hover { color: var(--ink); }

/* ── SCROLL ANIMATIONS ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Stagger children inside grids */
.reveal-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-children.visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 92px 0 0; }
  nav { top: 10px; height: 38px; width: auto; max-width: calc(100% - 20px); }
  .nav-inner { padding: 0 6px 0 12px; }
  .nav-logo { font-size: 14px; }
  .nav-right { gap: 2px; }
  .nav-right a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 5px 12px; font-size: 12px; }
  .hero-video-ring { width: 196px; height: 196px; }
  .hero-headline { font-size: 28px; }
  .hero-bubble {
    font-size: 10px;
    top: 10px;
    left: 56%;
    max-width: calc(100vw - 64px);
  }
  .hero-sub br { display: none; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .ask-layout { grid-template-columns: 1fr; gap: 28px; }
  .ask-chat { height: 420px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-body { padding: 22px 20px; }
  .work-shot { height: 210px; }
  .pipe-layout { grid-template-columns: 1fr; gap: 24px; }
  .pipe-log-body { min-height: 280px; padding: 16px; }
  .pipe-log-phase { width: 56px; }
  .caps-grid { grid-template-columns: 1fr; }
  .cap:nth-child(even) { padding-left: 0; border-left: none; }
  .cap:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cap:last-child { border-bottom: none; }
  .fomo-grid { grid-template-columns: 1fr 1fr; }
  .mem-field { height: 400px; }
  .mem-canvas { height: 400px; border-radius: 12px; }
  .mem-node { font-size: 9px; padding: 4px 8px; }
  .mem-legend { display: none; }
  .mem-info { flex-direction: column; gap: 16px; }
  .mem-score { align-items: flex-start; }
  .buzz-scatter { grid-template-columns: 1fr; }
  .note { transform: rotate(0deg) translate(0,0); }
  .bottom-cta .wrap { grid-template-columns: 1fr; gap: 40px; }
  footer { flex-direction: column; gap: 8px; }
}
