/* Basecamp Digital — stylesheet */
:root {
  --bg: #0A0A0A;
  --bg-card: #111111;
  --bg-elev: #161616;
  --border: #1F1F1F;
  --border-bright: #2A2A2A;
  --fg: #FAFAFA;
  --fg-muted: #9CA3AF;
  --fg-dim: #6B7280;
  --teal: #00C9A7;
  --teal-dim: #00876f;
  --teal-soft: rgba(0, 201, 167, 0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--teal); color: #000; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 15px;
  white-space: nowrap;
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-size: 14px;
  color: var(--fg-muted);
  transition: color 0.15s;
  font-weight: 500;
}
.nav-link:hover, .nav-link.active { color: var(--fg); }
.nav-cta {
  background: var(--teal);
  color: #000;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: transform 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #16e0bd; transform: translateY(-1px); }

/* Mobile menu toggle + drawer — hidden on desktop */
.nav-toggle { display: none; }
.nav-drawer { display: none; }
.show-sm { display: none; }

@media (max-width: 720px) {
  .nav-inner { padding: 12px 16px; }
  .nav-links { gap: 10px; }
  .nav-links .nav-link.hide-sm { display: none; }
  .nav-cta.hide-sm { display: none; }
  .hide-sm { display: none; }
  .show-sm { display: inline-flex; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border-bright);
    padding: 0;
    transition: border-color 0.15s;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.15s;
  }
  .nav-toggle:hover { border-color: var(--fg-muted); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-drawer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px 20px;
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease;
    padding-top: 0;
    padding-bottom: 0;
  }
  .nav-drawer.open {
    max-height: 480px;
    opacity: 1;
    padding-top: 12px;
    padding-bottom: 20px;
  }
  .nav-drawer-link {
    display: block;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--fg-muted);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
  }
  .nav-drawer-link:hover,
  .nav-drawer-link.active {
    color: var(--fg);
    background: var(--bg-elev);
    border-color: var(--border);
  }
  .nav-drawer-link.active { color: var(--teal); }
  .nav-drawer-cta {
    margin-top: 8px;
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 400px) {
  .nav-logo svg { width: 24px; height: 24px; }
  .nav-logo > span > span:first-child { font-size: 12px !important; }
  .nav-logo > span > span:last-child { font-size: 10px !important; }
}

/* ============ Typography ============ */
.display {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #000;
}
.btn-primary:hover {
  background: #16e0bd;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 201, 167, 0.25);
}
.btn-ghost {
  color: var(--fg);
  border: 1px solid var(--border-bright);
}
.btn-ghost:hover { border-color: var(--fg-muted); background: var(--bg-card); }
.btn-big { padding: 20px 32px; font-size: 17px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero > * { position: relative; z-index: 1; }
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 25%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,201,167,0.22) 0%, rgba(0,201,167,0.08) 35%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: haloPulse 9s ease-in-out infinite;
}
@media (max-width: 900px) {
  .hero::before { width: 600px; height: 600px; left: 50%; }
}
.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  margin-bottom: 28px;
}
.hero h1 .dot { color: var(--teal); }
.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.5;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 48px 24px 60px; gap: 40px; }
}
@media (max-width: 480px) {
  .hero { padding: 40px 16px 48px; gap: 32px; }
  .hero-sub { font-size: 17px; margin-bottom: 28px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============ Agent Terminal ============ */
.terminal {
  background: #0D0D0D;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(0, 201, 167, 0.05);
  position: relative;
}
.terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #0A0A0A;
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; background: #222; }
.terminal-title {
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}
.terminal-live {
  font-size: 10px;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.1em;
}
.terminal-live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--teal); }
  50% { opacity: 0.4; box-shadow: 0 0 0 6px rgba(0, 201, 167, 0); }
}
.terminal-body {
  padding: 20px 20px 24px;
  min-height: 280px;
}
.term-line {
  margin-bottom: 8px;
  color: var(--fg);
  opacity: 0;
  animation: fadein 0.3s forwards;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.term-tag { color: var(--teal); }
.term-dim { color: var(--fg-dim); }
.term-check { color: var(--teal); margin-left: auto; }
.term-cursor::after {
  content: '▋';
  color: var(--teal);
  animation: blink 1s infinite;
  margin-left: 4px;
}
@keyframes blink { 50% { opacity: 0; } }
.term-runtime {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-bright);
  color: var(--fg-dim);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.term-runtime .val { color: var(--teal); }

/* ============ Sections ============ */
section { padding: 100px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }
@media (max-width: 480px) { section { padding: 48px 0; } }

.narrative {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 32px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}
@media (max-width: 720px) {
  .narrative { padding: 72px 20px; }
}
@media (max-width: 480px) {
  .narrative { padding: 56px 16px; font-size: 26px; }
}
.narrative .em { color: var(--teal); }

.section-head {
  margin-bottom: 60px;
  max-width: 720px;
}
@media (max-width: 720px) { .section-head { margin-bottom: 40px; } }
.section-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.section-head .lede {
  margin-top: 16px;
  color: var(--fg-muted);
  font-size: 17px;
  max-width: 560px;
}

/* ============ Offerings grid ============ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
@media (max-width: 480px) {
  .offer-card { padding: 24px; min-height: 0; }
}
.offer-card:hover {
  border-color: var(--teal-dim);
  transform: translateY(-2px);
}
.offer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--teal);
  transition: width 0.3s;
}
.offer-card:hover::before { width: 80px; }
.offer-verb {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.offer-verb .dot { color: var(--teal); }
.offer-desc { color: var(--fg-muted); font-size: 15.5px; line-height: 1.55; flex: 1; }
.offer-more {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.offer-more::after { content: '→'; transition: transform 0.2s; }
.offer-card:hover .offer-more::after { transform: translateX(4px); }

/* ============ Proof strip ============ */
.proof {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  background:
    radial-gradient(ellipse at center, rgba(0,201,167,0.04), transparent 70%);
  overflow: hidden;
}
.proof > * { position: relative; z-index: 1; }
.proof::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1300px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0,201,167,0.20) 0%, rgba(0,201,167,0.06) 40%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
  animation: haloPulse 11s ease-in-out infinite;
  animation-delay: -3s;
}
@media (max-width: 900px) {
  .proof::before { width: 700px; height: 460px; }
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; gap: 32px; } }
.stat .num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal);
  line-height: 1;
}
.stat .desc {
  margin-top: 16px;
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 320px;
  line-height: 1.4;
}
.proof-clients {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px dashed var(--border-bright);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
}
.proof-clients .label {
  color: var(--fg-muted);
  margin-right: auto;
}
@media (max-width: 720px) {
  .proof-clients {
    margin-top: 40px;
    padding-top: 24px;
    gap: 14px 20px;
    justify-content: flex-start;
  }
  .proof-clients .label { flex-basis: 100%; margin-right: 0; margin-bottom: 4px; }
}
@media (max-width: 720px) {
  .proof { padding: 56px 0; }
}

/* ============ Difference table ============ */
.diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
}
.diff-col { padding: 8px 0; }
.diff-col.ours { background: rgba(0,201,167,0.04); border-left: 1px solid var(--border); }
.diff-head {
  padding: 24px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--border);
}
.diff-col.ours .diff-head { color: var(--teal); }
.diff-row {
  padding: 20px 28px;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
}
.diff-row:last-child { border-bottom: 0; }
.diff-col.ours .diff-row { color: var(--fg); font-weight: 500; }
.diff-col:not(.ours) .diff-row { color: var(--fg-dim); text-decoration: line-through; text-decoration-color: #333; }
.diff-row::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.diff-col:not(.ours) .diff-row::before { background: #2a2a2a; }
.diff-col.ours .diff-row::before {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,201,167,0.1);
}

@media (max-width: 720px) {
  .diff { grid-template-columns: 1fr; }
  .diff-col.ours { border-left: 0; border-top: 1px solid var(--border); }
  .diff-head { padding: 18px 20px; }
  .diff-row { padding: 16px 20px; font-size: 15px; min-height: 0; }
}

/* ============ Process steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  position: relative;
}
@media (max-width: 480px) {
  .step { padding: 24px; }
  .step-num { margin-bottom: 16px; }
  .step-verb { font-size: 24px; margin-bottom: 8px; }
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}
.step-verb { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.step p { color: var(--fg-muted); font-size: 15.5px; line-height: 1.5; }

/* ============ Founder ============ */
.founder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 720px) {
  .founder { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
}
@media (max-width: 480px) {
  .founder { padding: 24px 20px; }
  .founder-avatar,
  .founder-avatar img { width: 88px !important; height: 88px !important; min-width: 88px !important; max-width: 88px !important; }
  .founder-body p { font-size: 15.5px; }
}
.founder-avatar {
  width: 120px !important;
  height: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  border: 1px solid var(--border-bright);
  overflow: hidden !important;
  flex-shrink: 0;
  display: block;
}
.founder-avatar img {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover !important;
  display: block;
  border-radius: 50%;
}
.founder-body p { font-size: 17px; color: var(--fg); line-height: 1.55; }
.founder-name {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}
.founder-name .n { color: var(--teal); }

/* ============ Final CTA ============ */
.final-cta {
  position: relative;
  text-align: center;
  padding: 140px 32px;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse at center top, rgba(0,201,167,0.10), transparent 60%);
  overflow: hidden;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1100px;
  height: 800px;
  transform: translate(-50%, 0);
  background: radial-gradient(ellipse at top, rgba(0,201,167,0.26) 0%, rgba(0,201,167,0.08) 35%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: haloPulse 10s ease-in-out infinite;
  animation-delay: -5s;
}
@media (max-width: 900px) {
  .final-cta::before { width: 640px; height: 520px; }
}
@media (max-width: 720px) {
  .final-cta { padding: 88px 20px; }
  .final-cta h2 { margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .final-cta { padding: 72px 16px; }
}
.final-cta h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.05;
}
.final-cta h2 .t { color: var(--teal); }
.final-cta .tiny {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px 40px;
}
@media (max-width: 720px) {
  .footer { padding: 40px 20px 32px; }
}
@media (max-width: 480px) {
  .footer { padding: 32px 16px 28px; }
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
@media (max-width: 720px) {
  .footer-inner { align-items: flex-start; gap: 32px; }
  .footer-inner > * { min-width: 45%; }
}
.footer-tag { color: var(--fg-dim); font-size: 14px; max-width: 280px; }
.footer-tag .t { color: var(--teal); }
.footer-col { font-size: 13px; color: var(--fg-dim); font-family: var(--font-mono); letter-spacing: 0.04em; }
.footer-col .h { color: var(--fg-muted); margin-bottom: 12px; display: block; }
.footer-col a { display: block; margin-bottom: 6px; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============ Generic page content ============ */
.page-head {
  padding: 100px 32px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .page-head { padding: 56px 20px 40px; }
}
@media (max-width: 480px) {
  .page-head { padding: 48px 16px 32px; }
}
.page-head h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 900px;
}
.page-head h1 .t { color: var(--teal); }
.page-head .lede {
  font-size: 20px;
  color: var(--fg-muted);
  max-width: 680px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .page-head .lede { font-size: 17px; }
}

/* ============ What We Do page ============ */
.offer-deep {
  border-top: 1px solid var(--border);
  padding: 80px 0;
}
@media (max-width: 720px) {
  .offer-deep { padding: 56px 0; }
}
.offer-deep:last-of-type { border-bottom: 1px solid var(--border); }
.offer-deep-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .offer-deep-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .offer-deep-inner { padding: 0 20px; gap: 32px; }
}
@media (max-width: 480px) {
  .offer-deep-inner { padding: 0 16px; }
}
.offer-deep-left .eyebrow { margin-bottom: 24px; }
.offer-deep-left h3 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 20px;
}
.offer-deep-left h3 .dot { color: var(--teal); }
.offer-deep-left p { color: var(--fg-muted); font-size: 17px; line-height: 1.55; max-width: 420px; }

.offer-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
@media (max-width: 480px) {
  .offer-details { padding: 24px 20px; border-radius: 12px; }
}
.detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border-bright);
  font-size: 15px;
  align-items: baseline;
}
@media (max-width: 480px) {
  .detail-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .detail-label { padding-top: 0; }
}
.detail-row:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-row:first-child { padding-top: 0; }
.detail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.detail-val { color: var(--fg); }
.detail-val .price { font-family: var(--font-mono); color: var(--teal); font-size: 14px; }

.agent-menu {
  margin-top: 20px;
}
.agent-menu-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.agent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
  transition: all 0.15s;
  cursor: default;
}
.agent-chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(0,201,167,0.8);
  animation: chipPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.agent-chip:nth-child(1)::before { animation-delay: 0s; }
.agent-chip:nth-child(2)::before { animation-delay: 0.4s; }
.agent-chip:nth-child(3)::before { animation-delay: 0.8s; }
.agent-chip:nth-child(4)::before { animation-delay: 1.2s; }
.agent-chip:nth-child(5)::before { animation-delay: 1.6s; }
.agent-chip:nth-child(6)::before { animation-delay: 2.0s; }
.agent-chip:hover { border-color: var(--teal); color: var(--teal); }

.closer-line {
  padding: 100px 32px;
  text-align: center;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .closer-line { padding: 72px 20px; font-size: 22px; }
}
@media (max-width: 480px) {
  .closer-line { padding: 56px 16px; font-size: 20px; }
}
.closer-line .t { color: var(--teal); }

/* ============ Work page ============ */
.work-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 100px;
}
@media (max-width: 720px) {
  .work-list { padding: 24px 20px 72px; }
}
@media (max-width: 480px) {
  .work-list { padding: 16px 16px 56px; }
}
.work-panel {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 40px;
  align-items: start;
  cursor: pointer;
  transition: padding 0.25s;
}
.work-panel:last-child { border-bottom: 1px solid var(--border); }
.work-panel:hover { padding-left: 12px; }
.work-panel .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}
.work-panel .num .client { display: block; color: var(--fg); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin-top: 8px; font-family: var(--font-sans); }
.work-body { display: flex; flex-direction: column; gap: 12px; }
.work-job {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--fg);
  max-width: 580px;
}
.work-meta {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.work-meta .pill { color: var(--teal); }
.work-outcome {
  margin-top: 8px;
  padding: 16px 20px;
  background: rgba(0,201,167,0.05);
  border-left: 2px solid var(--teal);
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  color: var(--fg);
  font-style: italic;
  max-width: 580px;
}
.work-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fg-muted);
  transition: all 0.2s;
  flex-shrink: 0;
}
.work-panel:hover .work-arrow {
  border-color: var(--teal);
  color: var(--teal);
  transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .work-panel { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .work-panel:hover { padding-left: 0; }
  .work-arrow { display: none; }
  .work-panel .num .client { font-size: 20px; margin-top: 4px; }
  .work-job { font-size: 19px; }
  .work-outcome { font-size: 14px; padding: 12px 16px; }
}

/* ============ About page ============ */
.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px 120px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .about-grid { padding: 24px 20px 80px; gap: 16px; } }
@media (max-width: 480px) { .about-grid { padding: 16px 16px 64px; } }

.bios {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 32px 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .bios { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .bios { padding: 24px 20px 8px; gap: 16px; } }
@media (max-width: 480px) { .bios { padding: 16px 16px 4px; } }
.bio-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
}
@media (max-width: 480px) { .bio-card { padding: 24px; } }
.bio-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.bio-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.bio-card p { color: var(--fg-muted); font-size: 15.5px; line-height: 1.6; }
.bio-card p strong { color: var(--fg); font-weight: 600; }
.bio-card p + p { margin-top: 12px; }
.about-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
}
@media (max-width: 480px) { .about-card { padding: 24px; } }
.about-card .eyebrow { margin-bottom: 20px; }
.about-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.about-card p { color: var(--fg-muted); font-size: 15.5px; line-height: 1.55; }
.about-card p strong { color: var(--fg); font-weight: 600; }

.beliefs {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
}
@media (max-width: 720px) { .beliefs { padding: 56px 20px; } }
@media (max-width: 480px) { .beliefs { padding: 48px 16px; } }
.beliefs-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.beliefs-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (max-width: 480px) { .beliefs-list { gap: 20px; } }
.belief-line {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.belief-line .dim { color: var(--fg-dim); }
.belief-line .t { color: var(--teal); }

/* ============ Contact page ============ */
.contact-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 32px 140px;
}
@media (max-width: 720px) { .contact-wrap { padding: 24px 20px 80px; } }
@media (max-width: 480px) { .contact-wrap { padding: 16px 16px 64px; } }
.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  margin-top: 32px;
}
@media (max-width: 480px) { .form { padding: 24px 20px; margin-top: 16px; } }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  color: var(--fg);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.15s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.field textarea { min-height: 120px; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
}
.form-success {
  padding: 40px;
  text-align: center;
}
@media (max-width: 480px) { .form-success { padding: 24px 8px; } }
.form-success .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.form-success h3 { font-size: 28px; margin-bottom: 12px; font-weight: 800; letter-spacing: -0.02em; }
.form-success p { color: var(--fg-muted); }

/* ============ Booking Modal ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadein 0.2s;
  overflow-y: auto;
}
@media (max-width: 480px) {
  .modal-overlay { padding: 12px; align-items: flex-start; padding-top: 24px; }
}
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  padding: 40px;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@media (max-width: 480px) {
  .modal { padding: 28px 20px; border-radius: 14px; }
  .modal h2 { font-size: 24px; }
  .modal .sub { font-size: 14px; margin-bottom: 20px; }
}
@keyframes modalIn {
  from { transform: translateY(20px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.modal-close:hover { background: var(--bg-elev); color: var(--fg); }
.modal h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px; }
.modal .sub { color: var(--fg-muted); font-size: 15px; margin-bottom: 28px; }

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
@media (max-width: 420px) {
  .time-slots { grid-template-columns: repeat(2, 1fr); }
}
.time-slot {
  padding: 14px 10px;
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg);
  text-align: center;
  transition: all 0.15s;
  min-height: 56px;
}
.time-slot:hover { border-color: var(--teal); color: var(--teal); }
.time-slot.selected { border-color: var(--teal); background: rgba(0,201,167,0.1); color: var(--teal); }
.time-slot .date { display: block; font-size: 10px; color: var(--fg-dim); margin-bottom: 4px; letter-spacing: 0.08em; }
.time-slot.selected .date { color: var(--teal); }

.modal-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 8px;
}
.modal-footer .rcpts { color: var(--teal); }

/* ============ Workflow diagram ============ */
.workflow-diagram {
  width: 100%;
  height: 320px;
}
@media (max-width: 720px) { .workflow-diagram { height: 240px; } }

/* Mini "run" badge */
.run-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.run-badge .g {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Floor & misc */
hr.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ============ AMBIENT DEPTH (Tier 1) ============ */
/* Drifting dot grid behind everything */
body::before {
  content: '';
  position: fixed;
  top: -40px;
  left: -40px;
  right: -40px;
  bottom: -40px;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.085) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  animation: gridDrift 60s linear infinite;
  will-change: transform;
}
#root { position: relative; z-index: 1; }

@keyframes gridDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(36px, 36px); }
}

@keyframes haloPulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.12); }
}
/* final-cta halo anchors at top, not center */
.final-cta::before { animation-name: haloPulseTop; }
@keyframes haloPulseTop {
  0%, 100% { opacity: 0.65; transform: translate(-50%, 0) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, 0) scale(1.12); }
}

@keyframes chipPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.8);  box-shadow: 0 0 4px rgba(0,201,167,0.5); }
  50%      { opacity: 1;   transform: scale(1.2); box-shadow: 0 0 14px rgba(0,201,167,0.95); }
}

/* Animated sweep across the How We Work step number lines */
.step-num::after {
  background: linear-gradient(90deg,
    var(--teal) 0%,
    rgba(0,201,167,0.4) 35%,
    transparent 60%) !important;
  background-size: 250% 100% !important;
  animation: stepSweep 3s ease-in-out infinite;
}
.steps .step:nth-child(1) .step-num::after { animation-delay: 0s; }
.steps .step:nth-child(2) .step-num::after { animation-delay: 0.6s; }
.steps .step:nth-child(3) .step-num::after { animation-delay: 1.2s; }

@keyframes stepSweep {
  0%   { background-position: 100% 0; opacity: 0.5; }
  50%  { background-position: 0% 0;   opacity: 1; }
  100% { background-position: -100% 0; opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero::before,
  .proof::before,
  .final-cta::before,
  .agent-chip::before,
  .step-num::after {
    animation: none;
  }
}
