/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; }
a { text-decoration: none; }

/* ── Tokens ────────────────────────────── */
:root {
  --bg:          #0C0C0C;
  --surface:     #161616;
  --surface-2:   #1E1E1E;
  --border:      #272727;
  --text:        #EDE9E3;
  --muted:       #777;
  --ro:          #C8432E;

  /* Brand (overridden per sub-page) */
  --brand:       #888;
  --brand-dim:   rgba(136,136,136,.08);
  --brand-mid:   rgba(136,136,136,.20);
}

/* ── Typography ────────────────────────── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

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

.nav-wordmark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ro);
}

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

.nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.nav-back:hover { color: var(--text); }
.nav-back svg { width: 14px; height: 14px; }

/* ── Shared Footer ─────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-ro-logo {
  height: 22px;
  width: auto;
  display: block;
}

.footer-ro-logo {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.45;
}

.footer-wordmark {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(200,67,46,.5);
}

.footer-note {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
}

/* ── Divider ───────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════
   LANDING PAGE
═══════════════════════════════════════ */

/* Hero */
.lp-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 48px 100px;
  position: relative;
}

.lp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 45%,
    rgba(200,67,46,.06) 0%, transparent 65%);
  pointer-events: none;
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ro);
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 7vw, 90px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}

.hero-sub {
  margin-top: 28px;
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
  font-weight: 300;
}

.brand-swatches {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.swatch {
  width: 7px; height: 7px;
  border-radius: 50%;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-cue span {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse { 0%,100% { opacity:.3 } 50% { opacity:1 } }

/* Intro section */
.lp-intro {
  max-width: 840px;
  margin: 0 auto;
  padding: 96px 48px;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto;
  font-weight: 300;
}

/* Brands grid */
.lp-brands {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px 120px;
}

.brands-lead {
  text-align: center;
  margin-bottom: 56px;
}

.brands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Brand card */
.brand-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px 36px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text);
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c);
  border-radius: 18px 18px 0 0;
}

.brand-card:hover {
  transform: translateY(-5px);
  border-color: var(--c);
  box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent);
}

/* Per-card brand colors */
.brand-card[data-b="137"]    { --c: #C49544; }
.brand-card[data-b="brunch"] { --c: #7CB55A; }
.brand-card[data-b="scooop"] { --c: #9B78B8; }
.brand-card[data-b="bottega"]{ --c: #c8b472; }

.card-logo-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-logo-wrap img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.card-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--c);
}

.card-sub {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
  font-weight: 300;
}

.card-platforms {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.platform-chip {
  font-size: 10px;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.card-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.brand-card:hover .card-cta { gap: 10px; }

/* ═══════════════════════════════════════
   BRAND SUB-PAGES
═══════════════════════════════════════ */

/* Brand hero */
.brand-hero {
  min-height: 52svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 80px 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.brand-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 20% 60%,
    var(--brand-dim) 0%, transparent 65%);
  pointer-events: none;
}

.brand-hero-logo {
  height: 80px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin-bottom: 32px;
}

.brand-hero-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 32px;
}

.brand-hero-tag {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.brand-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  max-width: 700px;
  letter-spacing: -.015em;
}

.brand-hero-desc {
  margin-top: 20px;
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.75;
}

/* Section nav (sticky) */
.section-nav {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(12,12,12,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 80px;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-nav::-webkit-scrollbar { display: none; }

.section-nav-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
}

.snav-link {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 20px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.snav-link:hover { color: var(--text); border-color: var(--brand); }

/* Content wrapper */
.brand-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px 120px;
}

/* Strategy section */
.strat-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.strat-section:last-child { border-bottom: none; }

.strat-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.strat-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 28px;
}

.strat-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 300;
  max-width: 680px;
}

.strat-body p + p { margin-top: 16px; }

/* Metrics row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 32px 0;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.metric-val {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Challenge / card list */
.card-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  padding: 20px 22px;
}

.list-card-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.list-card-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* Pillar cards */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.pillar {
  background: var(--brand-dim);
  border: 1px solid var(--brand-mid);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}

.pillar-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.pillar-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* Platform block */
.platform-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-top: 16px;
}

.platform-block + .platform-block { margin-top: 12px; }

.platform-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* KPI row */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.kpi-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

.kpi-target {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.kpi-desc {
  font-size: 12px;
  color: var(--muted);
}

/* Timeline */
.timeline {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-phase {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  position: relative;
}

.timeline-phase::before {
  content: '';
  position: absolute;
  left: 139px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-phase:first-child::before { top: 24px; }
.timeline-phase:last-child::before { bottom: calc(100% - 24px); }

.timeline-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 24px 24px 24px 0;
  position: relative;
}

.timeline-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 28px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--bg);
}

.timeline-content {
  padding: 20px 0 20px 32px;
}

.timeline-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-items li {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  padding-left: 14px;
  position: relative;
}

.timeline-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--border);
}

/* ── Responsive ────────────────────────── */
@media (max-width: 900px) {
  .site-nav { padding: 0 20px; }
  .lp-hero { padding: 120px 24px 96px; }
  .lp-intro { padding: 72px 24px; }
  .lp-brands { padding: 48px 24px 96px; }
  .brands-grid { grid-template-columns: 1fr; }
  .brand-hero { padding: 100px 24px 56px; }
  .section-nav { padding: 0 24px; }
  .brand-content { padding: 0 24px 96px; }
  .card-list { grid-template-columns: 1fr; }
  .site-footer { padding: 32px 24px; flex-direction: column; gap: 12px; text-align: center; }
  .timeline-phase { grid-template-columns: 100px 1fr; }
}
