/* =========================================================================
   Le Naaba — Site styles
   Builds on tokens.css; only ADDS web-specific patterns: nav, hero scaffolds,
   buttons, footer, etc. Slide-specific stuff stays in tokens.css.
   ========================================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Anything inside a .site is the actual website mockup */
.site { background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.site a:not(.btn) { color: inherit; text-decoration: none; }
.site a.btn { text-decoration: none; }
.site a.btn--primary { color: var(--paper); }
.site a.btn--ghost   { color: var(--ink); }
.site a.btn--link    { color: var(--naaba-red); }

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}
.site[data-density="dense"] .container { padding: 0 48px; }
.site[data-density="airy"]  .container { padding: 0 80px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: 56px; height: 56px; object-fit: contain; }
.nav__brand .wordmark { font-family: var(--font-display); font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  position: relative; padding: 6px 0;
  transition: color .18s;
}
.nav__links a:hover { color: var(--naaba-red); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--naaba-red);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, transform .12s, border-color .18s, box-shadow .18s;
}
.btn--primary {
  background: var(--naaba-red); color: var(--paper);
}
.btn--primary:hover { background: var(--naaba-red-dark); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--rule);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--link {
  background: transparent; color: var(--naaba-red); padding: 0;
  border: 0; font-weight: 600;
}
.btn--link:hover { opacity: 0.7; }
.btn .arrow { display: inline-block; transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- ROLES (typography helpers for web) ---------- */
.eyebrow-row { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow-row .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--naaba-red); }
.eyebrow-row .label {
  font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--naaba-red);
}
.eyebrow-row::after {
  content: ""; display: inline-block; width: 56px; height: 3px; background: var(--naaba-red);
}

.display-xl {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95; letter-spacing: -0.025em; color: var(--ink);
}
.display-lg {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1.0; letter-spacing: -0.02em; color: var(--ink);
}
.display-md {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.05; letter-spacing: -0.015em;
}
.h-section {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1; letter-spacing: -0.01em;
}
.lede-lg {
  font-family: var(--font-body); font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5; color: var(--muted); max-width: 56ch;
}

.text-red { color: var(--naaba-red); }
.text-italic { font-style: italic; }
.text-muted { color: var(--muted); }

/* ---------- SECTION SCAFFOLD ---------- */
.section { padding: 120px 0; position: relative; }
.site[data-density="dense"] .section { padding: 72px 0; }
.site[data-density="airy"]  .section { padding: 160px 0; }
.section--soft { background: var(--surface-soft); }
.section--ink  { background: var(--ink); color: var(--paper); }
.section--ink .lede-lg,
.section--ink .text-muted { color: rgba(255,255,255,0.65); }
.section--ink .display-md,
.section--ink .display-lg,
.section--ink .h-section { color: var(--paper); }
.section--ink .eyebrow-row .label,
.section--ink .text-red { color: #ff5566; }
.section--ink .eyebrow-row .dot,
.section--ink .eyebrow-row::after { background: #ff5566; }

/* ---------- DECORATIVE LAYER ---------- */
.deco-layer {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.deco-layer > * { position: absolute; }
.section > .container,
.section > * { position: relative; z-index: 1; }

/* Mesh oval cluster as a single SVG */
.mesh {
  position: absolute; width: 1200px; height: 1200px;
  pointer-events: none;
  filter: blur(70px);
  opacity: 1;
}
.mesh--tr { top: -400px; right: -400px; }
.mesh--br { bottom: -500px; right: -300px; }
.mesh--bl { bottom: -400px; left: -400px; }
.mesh--tl { top: -400px; left: -400px; }

/* ---------- CARDS ---------- */
.card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius-sm); padding: 32px;
  transition: border-color .18s, transform .18s;
}
.card:hover { border-color: var(--ink); }

.card--accent {
  background: var(--surface-soft);
  border: none; border-left: 6px solid var(--naaba-red);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
}

.card__num {
  font-family: var(--font-display); font-size: 56px;
  color: var(--naaba-red); line-height: 1;
  letter-spacing: -0.02em;
}
.card__title {
  font-family: var(--font-display); font-size: 28px;
  line-height: 1.15; margin: 14px 0 10px;
}
.card__body {
  font-size: 15px; line-height: 1.55; color: var(--muted);
}

/* ---------- METRIC ---------- */
.metric {
  display: flex; flex-direction: column; gap: 6px;
}
.metric__value {
  font-family: var(--font-display);
  font-size: 72px; line-height: 1;
  color: var(--naaba-red); letter-spacing: -0.02em;
}
.metric__label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink); color: var(--paper);
  padding: 80px 64px 32px;
}
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 56px;
}
.footer__brand { font-family: var(--font-display); font-size: 36px; line-height: 1; }
.footer__col h4 {
  margin: 0 0 16px; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,0.55);
}
.footer__col ul { margin: 0; padding: 0; list-style: none; }
.footer__col li { margin: 8px 0; }
.footer__col a { color: var(--paper); opacity: 0.85; font-size: 15px; }
.footer__col a:hover { opacity: 1; color: #ff5566; }
.footer__bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ---------- BIG PAGINATION (carousel callback) ---------- */
.page-counter {
  position: absolute; bottom: 24px; left: 64px;
  font-size: 12px; letter-spacing: var(--tracking-pagination);
  color: var(--muted); z-index: 2;
}
.site[data-density="dense"] .page-counter { left: 48px; }

/* ---------- HELPERS ---------- */
.flex { display: flex; }
.col  { display: flex; flex-direction: column; }
.row  { display: flex; flex-direction: row; }
.gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 24px; }
.gap-6 { gap: 32px; } .gap-7 { gap: 48px; } .gap-8 { gap: 64px; }
.mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 24px; }
.mt-6 { margin-top: 32px; } .mt-7 { margin-top: 48px; } .mt-8 { margin-top: 64px; }
.grid { display: grid; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

/* Hide scrollbars inside artboards (they're static frames) */
.site::-webkit-scrollbar { display: none; }

/* ---------- DIAGNOSTIC WIDGET ---------- */
.diag {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 40px;
  position: relative;
}
.diag--dark {
  background: var(--ink); color: var(--paper); border-color: rgba(255,255,255,0.1);
}
.diag__step {
  font-size: 12px; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--muted); font-weight: 700;
}
.diag--dark .diag__step { color: rgba(255,255,255,0.5); }
.diag__bar {
  height: 4px; background: var(--rule); border-radius: 999px; overflow: hidden;
  margin: 16px 0 28px;
}
.diag__bar-fill {
  height: 100%; background: var(--naaba-red);
  transition: width .35s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.diag__q {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.15;
  margin: 0 0 28px;
}
.diag__choices { display: flex; gap: 12px; flex-wrap: wrap; }
.diag__choice {
  flex: 1; min-width: 140px;
  padding: 18px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s, transform .12s;
}
.diag--dark .diag__choice {
  background: transparent; color: var(--paper);
  border-color: rgba(255,255,255,0.16);
}
.diag__choice:hover {
  border-color: var(--naaba-red); color: var(--naaba-red);
}
.diag--dark .diag__choice:hover {
  border-color: #ff5566; color: #ff5566;
}
.diag__choice.is-selected {
  background: var(--naaba-red); color: var(--paper); border-color: var(--naaba-red);
}

.diag__result {
  display: flex; flex-direction: column; gap: 18px;
}
.diag__score {
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.95; color: var(--naaba-red);
  letter-spacing: -0.02em;
}
.diag__verdict {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.15;
}
.diag__verdict-sub {
  font-size: 16px; color: var(--muted); max-width: 50ch;
}
.diag--dark .diag__verdict-sub { color: rgba(255,255,255,0.6); }
.diag__cta { margin-top: 8px; align-self: flex-start; }

/* ---------- PRICE TABLE ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  text-align: left; padding: 22px 16px; border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.price-table th {
  font-size: 12px; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--muted); font-weight: 700;
  padding-bottom: 12px;
}
.price-table td.phase {
  font-family: var(--font-display); font-size: 24px;
  color: var(--ink); width: 24%;
}
.price-table td.price {
  font-family: var(--font-display); font-size: 28px;
  color: var(--naaba-red); white-space: nowrap; text-align: right;
}
.price-table td.included {
  color: var(--muted); font-style: italic; text-align: right;
}

/* ---------- PHASE STEPPER (horizontal) ---------- */
.stepper {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative;
}
.stepper__line {
  position: absolute; top: 28px; left: 0; right: 0; height: 1px;
  background: var(--rule); z-index: 0;
}
.stepper__node {
  position: relative; z-index: 1;
  text-align: left; padding: 0 12px 0 0;
}
.stepper__dot {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--paper); border: 1.5px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; color: var(--ink);
  margin-bottom: 16px;
}
.stepper__node.is-current .stepper__dot {
  background: var(--naaba-red); color: var(--paper); border-color: var(--naaba-red);
}
.stepper__node h4 {
  font-family: var(--font-display); font-size: 22px;
  margin: 0 0 8px; line-height: 1.15;
}
.stepper__node p {
  font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0;
  padding-right: 20px;
}

/* ---------- BIG MARQUEE / TAGLINE ---------- */
.marquee {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 120px);
  line-height: 1; letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
}
.marquee em {
  font-style: italic; color: var(--naaba-red);
}

/* ---------- LOGO STRIP ---------- */
.logos {
  display: flex; align-items: center; gap: 56px; flex-wrap: wrap;
  opacity: 0.8;
}
.logos .logo-placeholder {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--muted);
  padding: 14px 22px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  letter-spacing: -0.01em;
}

/* ---------- TESTIMONIAL ---------- */
.quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.2; letter-spacing: -0.01em;
}
.quote::before {
  content: "« ";
  color: var(--naaba-red);
}
.quote::after {
  content: " »";
  color: var(--naaba-red);
}
.quote-attrib {
  display: flex; align-items: center; gap: 16px;
  margin-top: 32px;
}
.quote-attrib__name { font-weight: 600; font-size: 16px; }
.quote-attrib__role { font-size: 14px; color: var(--muted); }

/* ---------- HERO SCAFFOLDS ---------- */
.hero {
  position: relative;
  min-height: 760px;
  padding: 140px 0 120px;
  overflow: hidden;
}
.site[data-density="dense"] .hero { padding: 80px 0 80px; min-height: 620px; }
.site[data-density="airy"]  .hero { padding: 180px 0 160px; min-height: 880px; }

.kicker {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 24px);
  color: var(--naaba-red); font-style: italic;
  margin-top: 24px;
}

/* ---------- SCRIBBLE UNDERLINE on a word ---------- */
.underline-red {
  background: linear-gradient(transparent 68%, rgba(154,25,38,0.18) 68%, rgba(154,25,38,0.18) 92%, transparent 92%);
  padding: 0 4px;
}

/* ---------- SLIDER (for cost calculator diag) ---------- */
.range-row { display: flex; align-items: center; gap: 18px; }
.range-row label {
  flex: 0 0 220px; font-size: 14px; color: var(--muted); font-weight: 600;
}
.range-row input[type="range"] {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 4px; background: var(--rule); border-radius: 999px; outline: none;
}
.range-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--naaba-red); cursor: pointer; border: 0;
}
.range-row input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--naaba-red); cursor: pointer; border: 0;
}
.range-row .val {
  flex: 0 0 110px; text-align: right;
  font-family: var(--font-display); font-size: 24px; color: var(--ink);
}

/* ---------- TABS (for multi-diagnostic in direction B) ---------- */
.tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.tab {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  color: var(--ink); cursor: pointer;
  transition: all .18s;
}
.tab:hover { border-color: var(--ink); }
.tab.is-active {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.diag--dark .tab {
  color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.18);
}
.diag--dark .tab:hover { color: var(--paper); border-color: var(--paper); }
.diag--dark .tab.is-active {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}

/* ---------- POSTS GRID (blog teaser) ---------- */
.post {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 0; border-top: 1px solid var(--rule);
}
.post:hover h4 { color: var(--naaba-red); }
.post__meta {
  display: flex; gap: 16px; font-size: 13px; color: var(--muted);
}
.post h4 {
  font-family: var(--font-display); font-size: 32px;
  margin: 0; line-height: 1.15; letter-spacing: -0.01em;
  transition: color .18s;
}
.post p { margin: 0; color: var(--muted); line-height: 1.55; }

/* ---------- portrait helper ---------- */
.portrait-circle {
  width: 220px; height: 220px; border-radius: 999px;
  background: var(--naaba-red);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.portrait-circle img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.portrait-circle--sm { width: 64px; height: 64px; }

/* ---------- BIG NUMBER (5-phase manifesto direction) ---------- */
.phase-row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 48px; padding: 56px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.phase-row:last-child { border-bottom: 1px solid var(--rule); }
.site[data-density="dense"] .phase-row { padding: 36px 0; }
.phase-row__num {
  font-family: var(--font-display);
  font-size: 120px; line-height: 0.9;
  color: var(--naaba-red); letter-spacing: -0.04em;
}
.site[data-density="dense"] .phase-row__num { font-size: 80px; }
.phase-row__body h3 {
  font-family: var(--font-display); font-size: 44px;
  margin: 0 0 14px; line-height: 1.05;
}
.site[data-density="dense"] .phase-row__body h3 { font-size: 32px; }
.phase-row__body p {
  margin: 0 0 12px; font-size: 17px; line-height: 1.55; color: var(--ink);
}
.phase-row__body .tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; font-size: 13px; color: var(--muted);
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.phase-row__body .tag .price-tag {
  color: var(--naaba-red); font-family: var(--font-display); font-size: 18px;
  text-transform: none; letter-spacing: 0;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-top: 1px solid var(--rule); padding: 28px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-size: 26px;
  line-height: 1.2;
  transition: color .18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display); font-size: 32px;
  color: var(--naaba-red);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--naaba-red); }
.faq-item p {
  margin: 16px 0 0; max-width: 70ch;
  font-size: 16px; line-height: 1.6; color: var(--muted);
}

/* ---------- BIG STATEMENT (Direction A signature) ---------- */
.statement {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.statement em { font-style: italic; color: var(--naaba-red); }
