/* ============================================================
   RankOnTime — Redesign v2
   Simple. Creative. Ron-led.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300..900&family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,300..800&family=Martian+Mono:wdth,wght@75..112.5,300..700&display=swap');

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --ink:        #16130F;
  --copper:     #B87333;
  --copper-d:   #9C6029;
  --patina:     #5E9C8A;
  --patina-d:   #3A6B5A;
  --bone:       #F6F2E9;
  --bone-mid:   #FFFDF7;
  --dawn:       #E5A445;
  --rule:       #DDD6C6;
  --muted:      #7A7268;

  --ff-body:  "Bricolage Grotesque", system-ui, sans-serif;
  --ff-mono:  "Martian Mono", monospace;
  --ff-brand: "Unbounded", sans-serif;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-variation-settings: "opsz" 14;
  background: var(--bone);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── UTILITIES ──────────────────────────────────────── */
.wrap        { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.wrap--tight  { max-width: 800px;  margin: 0 auto; padding: 0 32px; }
.mono {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body);
  font-variation-settings: "opsz" 14;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 28px; border-radius: 8px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--cta {
  background: var(--patina-d); color: var(--bone);
}
.btn--cta:hover { background: #2f5748; box-shadow: 0 8px 28px rgba(58,107,90,.35); }

.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--rule);
}
.btn--ghost:hover { border-color: var(--copper); color: var(--copper); }

.btn--ink {
  background: var(--ink); color: var(--bone);
}
.btn--ink:hover { background: #0d0b08; box-shadow: 0 8px 28px rgba(22,19,15,.35); }

.btn--lg { font-size: 17px; padding: 18px 36px; }

/* ── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; display: flex; align-items: center;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.nav.stuck {
  background: rgba(246,242,233,.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--rule);
}
.nav__row {
  display: flex; align-items: center;
  justify-content: space-between; width: 100%;
}

/* Wordmark */
.nav__mark {
  display: flex; align-items: center; gap: 10px;
}
.nav__mark svg { width: 32px; height: 39px; flex-shrink: 0; }
.nav__name {
  font-family: var(--ff-brand);
  font-weight: 900; font-size: 18px;
  letter-spacing: -.04em; line-height: 1;
  color: var(--ink);
}
.nav__name .on { color: var(--copper); }

/* Links */
.nav__links {
  display: flex; align-items: center; gap: 2px;
}
.nav__link {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 8px 14px; border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav__link:hover { color: var(--ink); background: var(--rule); }

/* Actions */
.nav__actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: 6px;
}
.nav__burger span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all .25s ease;
}

/* Mobile menu */
.nav__mobile {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bone); padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile a {
  display: block; font-size: 28px; font-weight: 800;
  font-variation-settings: "opsz" 72;
  letter-spacing: -.025em; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  min-height: auto;
  background: var(--copper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 132px 0 84px;
  position: relative; overflow: hidden;
}

/* Subtle warm vignette */
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 5% 5%, rgba(229,164,69,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 95% 95%, rgba(22,19,15,.15) 0%, transparent 60%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  gap: 56px;
  position: relative; z-index: 1;
}

/* Left col: copy */
.hero__copy {
  padding: 0 24px 0 0;
  display: flex; flex-direction: column; justify-content: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,19,15,.12);
  border: 1px solid rgba(22,19,15,.14);
  border-radius: 100px; padding: 6px 14px 6px 10px;
  margin-bottom: 32px; width: fit-content;
}
.hero__eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink);
  animation: dotpulse 2s ease-in-out infinite;
}
.hero__eyebrow-text {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink);
}
@keyframes dotpulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.8); }
}

.hero__h1 {
  font-family: var(--ff-brand);
  font-weight: 900;
  font-size: clamp(38px, 4.4vw, 62px);
  letter-spacing: -.04em; line-height: 1.02;
  color: var(--bone);
  margin-bottom: 22px;
}
.hero__h1 .on { color: var(--ink); }
.hero__h1 .alt { color: var(--ink); }

.hero__sub {
  font-variation-settings: "opsz" 48;
  font-weight: 600;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: -.015em; line-height: 1.3;
  color: rgba(22,19,15,.75);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Right col: Ron */
.hero__ron {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 0;
  height: calc(100svh - 64px);
  overflow: visible;
}

.ron-figure {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ron-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(-8px 24px 40px rgba(22,19,15,.25));
  animation: ron-float 4s ease-in-out infinite;
}
@keyframes ron-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Ron's speech bubble */
.ron-bubble {
  position: absolute;
  top: 14%;
  left: -20px;
  background: var(--ink);
  color: var(--bone);
  padding: 14px 20px;
  border-radius: 18px 18px 18px 4px;
  max-width: 220px;
  box-shadow: 0 12px 36px rgba(22,19,15,.28);
  animation: bubble-pop .5s cubic-bezier(.34,1.56,.64,1) .8s both;
}
.ron-bubble::after {
  content: '';
  position: absolute; bottom: -10px; left: 20px;
  border: 6px solid transparent;
  border-top-color: var(--ink);
  border-bottom: none;
}
@keyframes bubble-pop {
  from { opacity:0; transform:scale(.7) translateY(8px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
.ron-bubble__text {
  font-size: 13px; line-height: 1.5; font-weight: 500;
}
.ron-bubble__name {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 9px; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--patina);
  margin-top: 8px;
}

/* Ron's score badge (floating) */
.ron-badge {
  position: absolute;
  top: 30%;
  right: -10px;
  background: var(--bone-mid);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 28px rgba(22,19,15,.18);
  animation: badge-slide .5s cubic-bezier(.22,1,.36,1) 1.2s both;
  min-width: 160px;
}
@keyframes badge-slide {
  from { opacity:0; transform:translateX(20px); }
  to   { opacity:1; transform:translateX(0); }
}
.ron-badge__label {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.ron-badge__row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 7px;
}
.ron-badge__name { font-size: 12px; font-weight: 600; width: 70px; }
.ron-badge__bar-bg {
  flex: 1; height: 5px; background: var(--rule);
  border-radius: 100px; overflow: hidden;
}
.ron-badge__bar {
  height: 100%; border-radius: 100px;
  background: var(--patina);
  animation: bar-grow 1s cubic-bezier(.22,1,.36,1) 1.5s both;
  transform-origin: left;
}
@keyframes bar-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── TICKER (platforms) ─────────────────────────────── */
.ticker {
  background: var(--ink);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(246,242,233,.06);
}
.ticker__track {
  display: flex; gap: 0;
  animation: ticker 22s linear infinite;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker__item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 36px;
  border-right: 1px solid rgba(246,242,233,.08);
  white-space: nowrap; flex-shrink: 0;
}
.ticker__icon { font-size: 18px; }
.ticker__icon svg { width: 20px; height: 20px; display: block; }
.plat-chip__dot svg { width: 14px; height: 14px; display: block; }
.plat-chip__dot { display: inline-flex; align-items: center; justify-content: center; }
.ticker__name {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(246,242,233,.45);
}

/* ── SECTION SHARED ─────────────────────────────────── */
.section { padding: 120px 0; }
.section--sm { padding: 80px 0; }

.section__eyebrow {
  color: var(--patina-d); margin-bottom: 16px;
}
.section__h2 {
  font-variation-settings: "opsz" 72;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -.03em; line-height: 1.05;
  margin-bottom: 20px;
}
.section__lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65; color: var(--muted);
  max-width: 50ch;
}

/* ── ABOUT (RON INTRO) ──────────────────────────────── */
.about {
  background: var(--bone);
  padding: 120px 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

/* Ron illustration small */
.about__ron {
  position: relative;
  display: flex; justify-content: center;
}
.about__ron-wrap {
  position: relative; width: 280px;
}
.about__ron-svg {
  width: 100%; animation: ron-float 4s ease-in-out 1s infinite;
}
.about__ron-ring {
  position: absolute; bottom: -16px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 24px;
  background: radial-gradient(ellipse, rgba(22,19,15,.14) 0%, transparent 70%);
}

/* Annotation bubbles around Ron */
.about__ann {
  position: absolute;
  background: var(--ink); color: var(--bone);
  border-radius: 10px; padding: 8px 14px;
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(22,19,15,.2);
}
.about__ann--1 { top: 5%; left: -30px; }
.about__ann--2 { top: 45%; right: -20px; background: var(--copper); color: var(--bone); }
.about__ann--3 { bottom: 15%; left: -10px; background: var(--patina-d); }

.about__content {}
.about__content .section__h2 { max-width: 18ch; }
.about__content .section__lead { margin-bottom: 40px; }

.about__points {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 40px;
}
.about__point {
  display: flex; gap: 14px; align-items: flex-start;
}
.about__point-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(58,107,90,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--patina-d); flex-shrink: 0;
}
.about__point-text h4 {
  font-size: 15px; font-weight: 700;
  font-variation-settings: "opsz" 24;
  letter-spacing: -.01em; margin-bottom: 3px;
}
.about__point-text p {
  font-size: 14px; color: var(--muted); line-height: 1.55;
}

/* ── SERVICES ───────────────────────────────────────── */
.services {
  background: var(--ink);
  padding: 120px 0;
  position: relative; overflow: hidden;
}
.services::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(246,242,233,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,242,233,.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

.services__head {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px;
  margin-bottom: 64px; position: relative; z-index: 1;
}
.services__head .section__h2 { color: var(--bone); max-width: 18ch; margin-bottom: 0; }
.services__head .section__lead { color: rgba(246,242,233,.45); max-width: 38ch; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(246,242,233,.04);
  border-radius: 20px; overflow: hidden;
  position: relative; z-index: 1;
}

.svc {
  background: rgba(22,19,15,.96);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  transition: background .2s;
  border: 0;
}
.svc:hover { background: rgba(58,107,90,.12); }

.svc__num {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 11px; letter-spacing: .14em;
  color: rgba(246,242,233,.2); margin-bottom: 48px;
}
.svc h3 {
  font-size: 20px; font-weight: 700;
  font-variation-settings: "opsz" 48;
  letter-spacing: -.018em; color: var(--bone);
  margin-bottom: 12px; line-height: 1.2;
}
.svc p {
  font-size: 14px; line-height: 1.65;
  color: rgba(246,242,233,.42); flex: 1;
}
.svc__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--patina); margin-top: 24px;
  transition: gap .2s;
}
.svc__link:hover { gap: 10px; }
.svc__link::after { content: '→'; }

.svc--wide { grid-column: span 2; }
.svc--ron {
  background: var(--copper);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px 32px;
}
.svc--ron:hover { background: var(--copper-d); }
.svc--ron .svc__num { color: rgba(22,19,15,.3); }
.svc--ron svg { margin: 0 auto 20px; }
.svc--ron p { color: rgba(22,19,15,.65); max-width: 22ch; margin: 0 auto; }
.svc--ron h3 { color: var(--ink); }
.svc--ron .svc__link { color: var(--patina-d); }

/* ── PROBLEM / INSIGHT ──────────────────────────────── */
.insight {
  background: var(--bone);
  padding: 120px 0;
}
.insight__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.insight__vis {
  background: var(--ink);
  border-radius: 20px; padding: 36px;
  box-shadow: 0 20px 60px rgba(22,19,15,.18);
}
.insight__term-bar {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 24px;
}
.insight__dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.insight__term-title {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .1em;
  color: rgba(246,242,233,.25); margin-left: 6px;
}
.insight__code {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 12.5px; line-height: 1.85;
}
.c-dim    { color: rgba(246,242,233,.28); }
.c-cmd    { color: var(--bone); }
.c-ok     { color: #5EDB97; }
.c-warn   { color: var(--dawn); }
.c-err    { color: #FF7B72; }
.c-teal   { color: var(--patina); }
.c-cursor {
  display: inline-block; width: 7px; height: 13px;
  background: var(--patina); vertical-align: middle;
  margin-left: 2px;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.insight__content .section__eyebrow { display: block; margin-bottom: 16px; }
.insight__content .section__h2 { max-width: 18ch; }
.insight__content .section__lead { margin-bottom: 40px; }

.insight__checks { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.insight__check {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.5;
}
.insight__check-icon {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0; margin-top: 1px;
}
.insight__check-icon--no  { background: rgba(255,123,114,.15); color: #FF7B72; }
.insight__check-icon--yes { background: rgba(94,219,151,.15);  color: #5EDB97; }

/* ── PROCESS ────────────────────────────────────────── */
.process {
  background: var(--bone);
  border-top: 1px solid var(--rule);
  padding: 120px 0;
}
.process__head { text-align: center; margin-bottom: 80px; }
.process__head .section__eyebrow { display: block; margin-bottom: 14px; }
.process__head .section__h2 { max-width: 24ch; margin: 0 auto 20px; }
.process__head .section__lead { margin: 0 auto; text-align: center; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 20px; overflow: hidden;
}
.process__step {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  transition: background .2s;
}
.process__step:last-child { border-right: none; }
.process__step:hover { background: var(--bone-mid); }

.process__step-n {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 11px; letter-spacing: .14em;
  color: var(--copper); margin-bottom: 36px;
}
.process__step h3 {
  font-size: 17px; font-weight: 700;
  font-variation-settings: "opsz" 24;
  letter-spacing: -.015em; margin-bottom: 12px;
}
.process__step p {
  font-size: 13.5px; line-height: 1.65; color: var(--muted);
}

/* ── CTA ────────────────────────────────────────────── */
.cta {
  background: var(--copper);
  padding: 120px 0; text-align: center;
  position: relative; overflow: hidden;
}
/* Ron peeking from bottom-right */
.cta__ron {
  position: absolute; bottom: 0; right: 60px;
  width: 220px; pointer-events: none;
  opacity: .25;
}

.cta__inner { position: relative; z-index: 1; }
.cta__inner .section__eyebrow {
  color: var(--copper-d); margin-bottom: 20px; display: block;
}
.cta__h2 {
  font-family: var(--ff-brand);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -.04em; line-height: .97;
  color: var(--bone); margin-bottom: 20px;
}
.cta__h2 span { color: var(--ink); }
.cta__sub {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6; color: rgba(22,19,15,.65);
  max-width: 42ch; margin: 0 auto 44px;
}
.cta__actions {
  display: flex; align-items: center;
  justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta__note {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(22,19,15,.38);
}

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 80px 0 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,242,233,.07);
  margin-bottom: 36px;
}
.footer__mark {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.footer__wm {
  font-family: var(--ff-brand);
  font-weight: 900; font-size: 20px;
  letter-spacing: -.04em; color: var(--bone);
}
.footer__wm .on { color: var(--copper); }
.footer__tag {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246,242,233,.3); margin-bottom: 16px;
}
.footer__desc {
  font-size: 14px; line-height: 1.7;
  color: rgba(246,242,233,.38);
  max-width: 30ch; margin-bottom: 28px;
}
.footer__col-h {
  font-family: var(--ff-mono);
  font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246,242,233,.35); margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__link {
  font-size: 14px; color: rgba(246,242,233,.45);
  transition: color .15s; line-height: 1.3;
}
.footer__link:hover { color: var(--bone); }

.footer__bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer__copy { font-size: 13px; color: rgba(246,242,233,.25); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { font-size: 13px; color: rgba(246,242,233,.25); transition: color .15s; }
.footer__legal a:hover { color: rgba(246,242,233,.55); }

/* ── SCROLL REVEAL ──────────────────────────────────── */
.sr {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.sr.on { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: .1s; }
.sr-d2 { transition-delay: .2s; }
.sr-d3 { transition-delay: .3s; }
.sr-d4 { transition-delay: .4s; }

/* ── HERO — trust rail + proof panel (replaces Ron figure) ── */
.hero__proof {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: 80px 0 80px 48px;
}
.hero__ratings {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.rating-chip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(246,242,233,.9);
  border: 1px solid rgba(22,19,15,.1);
  border-radius: 12px; padding: 10px 16px;
  box-shadow: 0 6px 20px rgba(22,19,15,.1);
}
.rating-chip__mark {
  font-family: var(--ff-brand); font-weight: 900; font-size: 15px;
  color: var(--ink);
}
.rating-chip__stars { color: var(--dawn); font-size: 12px; letter-spacing: 1px; }
.rating-chip__score { font-weight: 700; font-size: 13px; color: var(--ink); }
.rating-chip__count { font-size: 11px; color: rgba(22,19,15,.55); }

.proof-card {
  background: var(--bone-mid);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 14px 40px rgba(22,19,15,.16);
  animation: badge-slide .6s cubic-bezier(.22,1,.36,1) .4s both;
}
.proof-card__label {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.proof-card__row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.proof-card__row:last-child { margin-bottom: 0; }
.proof-card__name { font-size: 12.5px; font-weight: 600; width: 84px; flex-shrink: 0; }
.proof-card__bar-bg { flex: 1; height: 6px; background: var(--rule); border-radius: 100px; overflow: hidden; }
.proof-card__bar { height: 100%; border-radius: 100px; background: var(--patina-d); animation: bar-grow 1s cubic-bezier(.22,1,.36,1) .8s both; transform-origin: left; }
.proof-card__pct { font-family: var(--ff-mono); font-size: 11px; width: 32px; text-align: right; color: var(--muted); }

.hero__urgency {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(22,19,15,.08);
  border-left: 3px solid var(--ink);
  border-radius: 4px;
  padding: 14px 16px;
  max-width: 420px;
}
.hero__urgency p { font-size: 13.5px; line-height: 1.5; color: rgba(22,19,15,.8); font-weight: 500; }
.hero__urgency strong { color: var(--ink); }

/* ── TRUSTED-BY STRIP ───────────────────────────────── */
.trustbar {
  background: var(--bone-mid);
  border-bottom: 1px solid var(--rule);
  padding: 34px 0;
}
.trustbar__label {
  text-align: center; color: var(--muted); margin-bottom: 22px; display: block;
}
.trustbar__logos {
  display: flex; align-items: center; justify-content: center;
  gap: 44px; flex-wrap: wrap;
}
.trustbar__logo {
  font-family: var(--ff-brand); font-weight: 700; font-size: 17px;
  color: rgba(22,19,15,.32); letter-spacing: -.02em;
  transition: color .2s;
}
.trustbar__logo:hover { color: rgba(22,19,15,.6); }

/* ── PLATFORM CHIP (used across comparison / footer) ── */
.plat-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bone-mid); border: 1px solid var(--rule);
  border-radius: 100px; padding: 7px 13px 7px 9px;
}
.plat-chip__dot { width: 16px; height: 16px; border-radius: 5px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; color: var(--bone); }
.plat-chip__name { font-size: 12.5px; font-weight: 600; }

/* ── COMPARISON — old vs new approach ───────────────── */
.compare { background: var(--ink); color: var(--bone); }
.compare .section__eyebrow { color: var(--patina); }
.compare .section__h2 { color: var(--bone); }
.compare .section__lead { color: rgba(246,242,233,.55); }
.compare__table {
  margin-top: 56px;
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1px;
  background: rgba(246,242,233,.1);
  border: 1px solid rgba(246,242,233,.1);
  border-radius: 16px; overflow: hidden;
}
.compare__cell {
  background: var(--ink); padding: 20px 22px;
}
.compare__head {
  background: #100D0A; padding: 22px;
}
.compare__head .mono { color: rgba(246,242,233,.4); margin-bottom: 6px; display:block; }
.compare__head h3 { font-family: var(--ff-brand); font-weight: 700; font-size: 17px; }
.compare__head--new h3 { color: var(--dawn); }
.compare__row-label {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(246,242,233,.4); display: flex; align-items: center;
}
.compare__cell p { font-size: 13.5px; line-height: 1.55; color: rgba(246,242,233,.82); }
.compare__cell--old { color: rgba(246,242,233,.55); }
.compare__cell--new p { color: var(--bone); }
.compare__cta { margin-top: 44px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ── FRAMEWORK — the ROT Loop (proprietary system) ──── */
.loop { background: var(--bone-mid); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.loop__head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.loop__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bone);
  border-radius: 100px; padding: 7px 16px;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.loop__badge span.on { color: var(--dawn); }
.loop__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative; counter-reset: loopstep;
}
.loop__step {
  position: relative; padding: 0 24px;
  border-right: 1px dashed var(--rule);
}
.loop__step:last-child { border-right: none; }
.loop__step-letter {
  font-family: var(--ff-brand); font-weight: 900; font-size: 34px;
  color: var(--copper); line-height: 1; margin-bottom: 14px;
}
.loop__step h3 { font-size: 16px; margin-bottom: 10px; }
.loop__step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.loop__step-arrow {
  position: absolute; top: 18px; right: -13px; width: 26px; height: 26px;
  background: var(--bone-mid); border: 1px solid var(--rule); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--copper);
  z-index: 2;
}
.loop__note {
  margin-top: 48px; text-align: center; font-size: 13.5px; color: var(--muted);
}
.loop__note strong { color: var(--ink); }

/* ── RESULTS — case studies + testimonials ──────────── */
.results { background: var(--bone); }
.results__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 80px; }
.case-card {
  background: var(--bone-mid); border: 1px solid var(--rule); border-radius: 16px;
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .2s, box-shadow .2s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(22,19,15,.1); }
.case-card__industry { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--patina-d); }
.case-card__stat { font-family: var(--ff-brand); font-weight: 900; font-size: 34px; color: var(--ink); line-height: 1; }
.case-card__stat span { color: var(--copper); }
.case-card__desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.case-card svg { width: 100%; height: 56px; }
.case-card__link { font-size: 13px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.case-card__link::after { content: '→'; transition: transform .15s; }
.case-card:hover .case-card__link::after { transform: translateX(3px); }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--bone-mid); border: 1px solid var(--rule); border-radius: 16px;
  padding: 26px; display: flex; flex-direction: column; gap: 16px;
}
.testi-card__stars { color: var(--dawn); font-size: 13px; letter-spacing: 2px; }
.testi-card__quote { font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.testi-card__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-card__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--patina-d); color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-brand); font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.testi-card__name { font-size: 13px; font-weight: 700; }
.testi-card__role { font-size: 11.5px; color: var(--muted); }
.results__sample-note { text-align: center; margin-top: 32px; font-size: 12px; color: var(--muted); }

/* ── FOOTER — partners + credibility row ────────────── */
.footer__credibility {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 30px 0; margin: 48px 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer__partners-label { font-size: 11px; color: var(--muted); margin-bottom: 14px; display: block; }
.footer__partners-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer__partner {
  font-family: var(--ff-brand); font-weight: 700; font-size: 14px;
  color: rgba(246,242,233,.62);
  padding: 7px 14px; border: 1px solid rgba(246,242,233,.16);
  border-radius: 6px; transition: .2s;
}
.footer__partner:hover { color: var(--bone); border-color: rgba(246,242,233,.34); }
.footer__ratings { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer__disclaimer { font-size: 11px; color: var(--muted); max-width: 640px; line-height: 1.6; margin-top: 18px; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner     { grid-template-columns: 1fr; }
  .hero__copy      { padding: 60px 0 0; }
  .hero__ron       { height: 380px; }
  .ron-figure      { max-width: 300px; }
  .ron-bubble      { top: 10%; left: 0; }
  .ron-badge       { right: 0; }
  .about__grid     { grid-template-columns: 1fr; }
  .about__ron      { display: none; }
  .services__head  { flex-direction: column; }
  .services__grid  { grid-template-columns: 1fr; }
  .svc--wide       { grid-column: span 1; }
  .insight__inner  { grid-template-columns: 1fr; }
  .process__steps  { grid-template-columns: 1fr 1fr; }
  .process__step   { border-bottom: 1px solid var(--rule); }
  .process__step:nth-child(2) { border-right: none; }
  .footer__top     { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav__links, .nav__actions { display: none; }
  .nav__burger     { display: flex; }
  .hero__proof     { padding: 40px 0 60px; }
  .compare__table  { grid-template-columns: 1fr; }
  .compare__head   { grid-column: 1 / -1; }
  .loop__grid      { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .loop__step      { border-right: none; padding-bottom: 24px; border-bottom: 1px dashed var(--rule); }
  .loop__step-arrow{ display: none; }
  .case-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer__credibility { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero__h1 { font-size: 40px; }
  .hero__ron { height: 300px; }
  .process__steps { grid-template-columns: 1fr; }
  .process__step  { border-right: none; }
  .footer__top    { grid-template-columns: 1fr; }
  .cta__ron { width: 140px; right: 20px; }
  .hero__ratings  { gap: 10px; }
  .loop__grid, .case-grid, .testi-grid { grid-template-columns: 1fr; }
  .compare__table { grid-template-columns: 1fr; }
  .trustbar__logos { gap: 26px; }
}

/* ── DEFINITIONS STRIP (SEO / GEO / AEO / LLM SEO) ──── */
.defs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin: 0 0 56px;
}
.def {
  background: rgba(246,242,233,.05);
  border: 1px solid rgba(246,242,233,.14);
  border-radius: 12px; padding: 22px 20px;
}
.def__term {
  font-family: var(--ff-brand); font-weight: 800;
  font-size: 17px; color: var(--bone); margin-bottom: 4px;
}
.def__full {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--patina); margin-bottom: 12px;
}
.def__body { font-size: 13.5px; line-height: 1.55; color: rgba(246,242,233,.72); }

/* ── FRAMEWORK — 6-step RON Loop ─────────────────────── */
.loop__grid--six { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
.loop__step-num {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .14em; color: var(--patina);
  margin-bottom: 10px;
}
.loop__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.loop__tag {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 9.5px; letter-spacing: .06em;
  padding: 4px 9px; border-radius: 100px;
  background: rgba(94,156,138,.14); color: var(--patina);
  border: 1px solid rgba(94,156,138,.24);
}
.loop__deliver {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed rgba(246,242,233,.16);
  font-size: 12px; color: rgba(246,242,233,.62);
}
.loop__deliver strong { color: var(--dawn); font-weight: 700; }

/* ── COMPARISON — stat band ──────────────────────────── */
.compare__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin: 0 0 44px;
  padding: 28px 0; border-top: 1px solid rgba(246,242,233,.14);
  border-bottom: 1px solid rgba(246,242,233,.14);
}
.compare__stat-n {
  font-family: var(--ff-brand); font-weight: 900;
  font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em;
  color: var(--dawn); line-height: 1;
}
.compare__stat-l {
  font-size: 12.5px; line-height: 1.5;
  color: rgba(246,242,233,.68); margin-top: 8px;
}
.compare__stat-src {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(246,242,233,.36); margin-top: 6px;
}

@media (max-width: 960px) {
  .defs            { grid-template-columns: 1fr 1fr; }
  .loop__grid--six { grid-template-columns: 1fr 1fr; }
  .compare__stats  { grid-template-columns: 1fr 1fr; row-gap: 26px; }
}
@media (max-width: 600px) {
  .defs            { grid-template-columns: 1fr; }
  .loop__grid--six { grid-template-columns: 1fr; }
  .compare__stats  { grid-template-columns: 1fr; }
}
