/* =============================================
   FrameOps — Darkroom Editorial Theme
   ============================================= */

:root {
  --bg: #0a0a09;
  --bg-alt: #111110;
  --fg: #f5f0e8;
  --fg-muted: rgba(245, 240, 232, 0.55);
  --accent: #c9913a;
  --accent-dim: rgba(201, 145, 58, 0.12);
  --border: rgba(245, 240, 232, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* =============================================
   Shared
   ============================================= */

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 2rem;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 clamp(2rem, 6vw, 8rem);
}

.hero-bg-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(201,145,58,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 60% 80%, rgba(201,145,58,0.04) 0%, transparent 50%),
    var(--bg-alt);
  border-left: 1px solid var(--border);
}

/* Ambient grain overlay */
.hero-bg-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
}

/* Subtle horizontal rule */
.hero-bg-panel::after {
  content: '';
  position: absolute;
  bottom: 30%;
  right: 10%;
  width: 1px;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 6rem 0;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 1.8rem;
}

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

.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 500px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
}

.hero-stat:first-child { padding-left: 0; }

.hero-stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* =============================================
   OUTCOMES
   ============================================= */

.outcomes {
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 8rem);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.outcomes-inner {
  max-width: 1100px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.outcome-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
}

.outcome-icon {
  margin-bottom: 1.5rem;
}

.outcome-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.8rem;
}

.outcome-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* =============================================
   HOW IT WORKS
   ============================================= */

.howitworks {
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 8rem);
  border-top: 1px solid var(--border);
}

.howitworks-inner {
  max-width: 1100px;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.process-step {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg);
}

.process-step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-dim);
  color: rgba(201,145,58,0.25);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.8rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  padding-top: 5rem;
}

.process-arrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

/* =============================================
   AGENT SECTION
   ============================================= */

.agent-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 8rem);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.agent-inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.agent-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

/* Concentric ring visual */
.agent-visual {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.agent-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.agent-ring-1 {
  width: 280px;
  height: 280px;
  opacity: 0.15;
}

.agent-ring-2 {
  width: 200px;
  height: 200px;
  opacity: 0.25;
}

.agent-ring-3 {
  width: 120px;
  height: 120px;
  opacity: 0.4;
  border-style: dashed;
}

.agent-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-core-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =============================================
   CAPABILITIES
   ============================================= */

.capabilities {
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 8rem);
  border-top: 1px solid var(--border);
}

.capabilities-inner {
  max-width: 1100px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.cap-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.cap-item:nth-child(2n) { border-right: none; }
.cap-item:nth-last-child(-n+2) { border-bottom: none; }

.cap-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   CLOSING
   ============================================= */

.closing {
  padding: clamp(5rem, 10vw, 10rem) clamp(2rem, 6vw, 8rem);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  font-weight: 400;
}

.closing-quote::before {
  content: '\201C';
  display: block;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.4;
  line-height: 0.5;
  margin-bottom: 1.5rem;
  font-style: normal;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  padding: 2.5rem clamp(2rem, 6vw, 8rem);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 4rem clamp(1.5rem, 5vw, 4rem);
  }

  .hero-bg-panel { display: none; }

  .hero-content { padding: 3rem 0; max-width: 100%; }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-arrow { display: none; }

  .agent-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .agent-visual { width: 200px; height: 200px; }

  .agent-ring-1 { width: 200px; height: 200px; }
  .agent-ring-2 { width: 140px; height: 140px; }
  .agent-ring-3 { width: 80px; height: 80px; }

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

  .cap-item:nth-child(2n) { border-right: 1px solid var(--border); }
  .cap-item:last-child { border-bottom: 1px solid var(--border); }
  .cap-item:nth-last-child(-n+2) { border-bottom: none; }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stat-row { flex-wrap: wrap; gap: 1rem; }
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 0; }
}