/* ── Variables ── */
:root {
  --bg: #0A0A0B;
  --bg-alt: #111114;
  --bg-card: #18181C;
  --fg: #F5F0E8;
  --fg-muted: #8A8A8A;
  --accent: #F59E0B;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(245, 158, 11, 0.15);
  --radius: 12px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

em { font-style: italic; color: var(--accent); }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
}

.nav-tag {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-dash-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.04em;
}

.nav-dash-link:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

/* ── Dashboard ── */
.dash-body {
  min-height: 100vh;
  padding-top: 80px;
}

.dash-header {
  padding: 60px 48px 40px;
  border-bottom: 1px solid var(--border);
}

.dash-header h1 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 8px;
}

.dash-meta {
  color: var(--fg-muted);
  font-size: 14px;
  margin-top: 6px;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 40px 48px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}

.client-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
}

.card-project {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.card-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-weekly   { background: rgba(34,197,94,0.12); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.badge-biweekly { background: rgba(59,130,246,0.12); color: #3b82f6; border: 1px solid rgba(59,130,246,0.2); }
.badge-launch   { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border); }

.card-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.date-cell {}
.date-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.date-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.card-status {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(245,158,11,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-on-track  { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.status-due-soon  { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.5); }
.status-overdue   { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.5); }
.status-unknown   { background: #6b7280; }

.status-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-on-track  .status-label { color: #22c55e; }
.status-due-soon  .status-label { color: #f59e0b; }
.status-overdue   .status-label { color: #ef4444; }
.status-unknown   .status-label { color: #6b7280; }

.dash-summary {
  padding: 0 48px 32px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.sum-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}
.sum-item strong { color: var(--fg); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-headline em {
  font-style: italic;
  color: var(--fg);
  opacity: 0.8;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* Orbit visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-viz {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.orbit-ring-1 { width: 280px; height: 280px; }
.orbit-ring-2 { width: 360px; height: 360px; border-color: rgba(245,158,11,0.08); }
.orbit-ring-3 { width: 200px; height: 200px; border-color: rgba(245,158,11,0.2); }

.orbit-core {
  position: absolute;
  z-index: 2;
}

.orbit-node {
  position: absolute;
  width: 90px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  text-align: center;
  letter-spacing: 0.04em;
}

.node-1 { top: 20px; left: 50%; transform: translateX(-50%); }
.node-2 { right: 20px; top: 50%; transform: translateY(-50%); }
.node-3 { bottom: 20px; left: 50%; transform: translateX(-50%); }
.node-4 { left: 20px; top: 50%; transform: translateY(-50%); }

/* ── Loop section ── */
.loop {
  padding: 100px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.loop-header {
  max-width: 680px;
  margin: 0 auto 72px;
  text-align: center;
}

.loop-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 16px;
}

.loop-intro {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.7;
}

.loop-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.loop-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(245, 158, 11, 0.08);
  align-items: start;
}

.loop-step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.7;
  line-height: 1;
  padding-top: 4px;
}

.loop-step h3 {
  font-size: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 8px;
}

.loop-step p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ── Capabilities ── */
.capabilities {
  padding: 100px 48px;
}

.cap-header {
  max-width: 680px;
  margin-bottom: 60px;
}

.cap-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
}

.cap-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cap-card {
  padding: 40px;
  background: var(--bg-alt);
  transition: background 0.2s;
}

.cap-card:hover { background: var(--bg-card); }

.cap-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--accent-dim);
}

.cap-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cap-card p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ── Outcomes ── */
.outcomes {
  padding: 100px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.outcomes-left h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 16px;
}

.outcomes-sub {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.65;
}

.outcomes-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.outcome-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.outcome-row:last-child { border-bottom: none; }

.outcome-stat {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.outcome-label {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  padding-top: 6px;
}

/* ── Closing ── */
.closing {
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.closing h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 24px;
  line-height: 1.1;
}

.closing-body {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

.closing-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  z-index: 0;
  pointer-events: none;
}

.close-ring-1 {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.08);
}

.close-ring-2 {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.04);
}

.close-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
}

/* ── Footer ── */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

.footer-note {
  color: var(--fg-muted);
  font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner,
  .outcomes-inner { grid-template-columns: 1fr; }

  .cap-grid { grid-template-columns: 1fr; }

  .hero-visual { display: none; }

  .hero { padding-top: 100px; }

  .nav { padding: 16px 24px; }

  .hero, .loop, .capabilities, .outcomes, .closing { padding-left: 24px; padding-right: 24px; }

  .footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }

  .outcome-row { grid-template-columns: 80px 1fr; gap: 16px; }

  .outcome-stat { font-size: 28px; }
}

@media (max-width: 480px) {
  .loop-step { grid-template-columns: 40px 1fr; gap: 16px; }
  .step-num { font-size: 22px; }
  .cap-card { padding: 28px 24px; }
  .footer { padding: 28px 20px; }
}