/* ═══════════════════════════════════════════════════════════
   RANKONTIME — HOMEPAGE v3
   Rebuilt: clearer hierarchy, honest claims, Ron-led, CRO-first.
   Depends on style.css tokens + nav.css.
   ═══════════════════════════════════════════════════════════ */

/* ── Shared section rhythm ──────────────────────────── */
.hsec        { padding: 96px 0; }
.hsec--bone  { background: var(--bone-mid); border-top: 1px solid var(--rule); }
.hsec--ink   { background: var(--ink); color: var(--bone); }
.hsec__eyebrow {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--copper); display: block; margin-bottom: 14px;
}
.hsec--ink .hsec__eyebrow { color: var(--dawn); }
.hsec__h2 {
  font-family: var(--ff-brand); font-weight: 800;
  font-size: clamp(27px, 3.2vw, 42px); letter-spacing: -.035em;
  line-height: 1.08; max-width: 20ch; margin-bottom: 18px;
}
.hsec--ink .hsec__h2 { color: var(--bone); }
.hsec__lead {
  font-size: 17px; line-height: 1.65; color: var(--muted);
  max-width: 66ch; margin-bottom: 44px;
}
.hsec--ink .hsec__lead { color: rgba(246,242,233,.72); }

/* ── Platform chips with real favicons ──────────────── */
.pf      { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pf__ico { width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0; }
.pf__ico--lg { width: 26px; height: 26px; border-radius: 6px; }

/* ═══ 01 · HERO ═══════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: var(--copper); padding: 122px 0 48px;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 52% at 6% 4%,  rgba(229,164,69,.30) 0%, transparent 62%),
    radial-gradient(ellipse 48% 58% at 96% 92%, rgba(22,19,15,.20)  0%, transparent 62%);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 40px; align-items: center;
}
.hero__copy { padding-bottom: 0; align-self: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 10.5px; letter-spacing: .17em; text-transform: uppercase;
  color: rgba(22,19,15,.68); background: rgba(246,242,233,.34);
  border: 1px solid rgba(22,19,15,.14);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 24px;
}
.hero__eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink); animation: hpulse 2.4s ease-in-out infinite;
}
@keyframes hpulse { 0%,100% { opacity: 1; } 50% { opacity: .28; } }

.hero h1 {
  font-family: var(--ff-brand); font-weight: 900;
  font-size: clamp(36px, 4.6vw, 62px); letter-spacing: -.045em;
  line-height: 1.02; color: var(--bone); margin-bottom: 22px;
}
.hero h1 .alt { color: var(--ink); }

/* inline Google favicon, sits right after the word "Google" */
.h1__ico {
  width: .58em; height: .58em; min-width: 22px; min-height: 22px;
  border-radius: 7px; display: inline-block; vertical-align: -.09em;
  margin-left: .08em; box-shadow: 0 3px 10px rgba(22,19,15,.22);
}

/* inline rotating platform icon, sits right after the word "AI" — icons only, no names */
.h1rotor {
  position: relative; display: inline-block;
  width: .62em; height: .62em; min-width: 24px; min-height: 24px;
  vertical-align: -.11em; margin: 0 .1em;
}
.h1rotor__item {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(6px) scale(.82);
  transition: opacity .42s ease, transform .42s cubic-bezier(.2,.8,.3,1);
}
.h1rotor__item.on { opacity: 1; transform: none; }
.h1rotor__item img {
  width: 100%; height: 100%; border-radius: 7px; display: block;
  box-shadow: 0 3px 10px rgba(22,19,15,.22);
}
.hero__sub {
  font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.6;
  color: rgba(22,19,15,.82); font-weight: 500;
  max-width: 50ch; margin-bottom: 30px;
}
.hero__sub strong { color: var(--ink); font-weight: 700; }
.hero__cta { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__note {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase;
  color: rgba(22,19,15,.68);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Ron in the hero */
.hero__ron { position: relative; z-index: 2; align-self: end; }
.hero__ron img {
  width: 100%; max-width: 400px; height: auto; margin: 0 0 -4px auto;
  filter: drop-shadow(0 26px 44px rgba(22,19,15,.30));
  animation: ronfloat 6s ease-in-out infinite;
}
@keyframes ronfloat {
  0%,100% { transform: translateY(0)    rotate(0deg); }
  50%     { transform: translateY(-14px) rotate(-1.1deg); }
}

/* ── Ticker under hero ──────────────────────────────── */
.tick {
  position: relative; z-index: 3;
  background: var(--ink); border-top: 1px solid rgba(246,242,233,.10);
  padding: 17px 0; overflow: hidden;
}
.tick__row { display: flex; gap: 44px; width: max-content; animation: tickmove 34s linear infinite; }
.tick__row .pf {
  font-family: var(--ff-brand); font-weight: 600; font-size: 14px;
  color: rgba(246,242,233,.80);
}
@keyframes tickmove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick:hover .tick__row { animation-play-state: paused; }

/* ═══ 02 · VISIBILITY REPORT (animated, illustrative) ═ */
.rep { background: var(--ink); padding: 92px 0; overflow: hidden; }
.rep__grid { display: grid; grid-template-columns: 1fr 300px; gap: 4px; align-items: end; }
.rep__panel {
  background: var(--bone); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.42);
}
.rep__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 16px 22px; background: var(--bone-mid); border-bottom: 1px solid var(--rule);
}
.rep__title { font-family: var(--ff-brand); font-weight: 800; font-size: 15.5px; letter-spacing: -.02em; }
.rep__flag {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 9px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--copper); background: rgba(184,115,51,.13);
  border: 1px solid rgba(184,115,51,.30); padding: 5px 11px; border-radius: 100px;
}
.rep__body { padding: 24px 22px 26px; }
.rep__week {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.rep__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.rep__card { border: 1px solid var(--rule); border-radius: 14px; padding: 18px 18px 16px; background: var(--bone-mid); }
.rep__k {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.rep__n {
  font-family: var(--ff-brand); font-weight: 900;
  font-size: clamp(28px,3.2vw,38px); letter-spacing: -.04em;
  line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.rep__n em { font-style: normal; color: var(--copper); }
.rep__sub { font-size: 11.5px; line-height: 1.45; color: var(--muted); margin-top: 8px; }

.rep__rows { border-top: 1px solid var(--rule); padding-top: 18px; }
.rep__rows-h {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.rep__row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.rep__row .pf { flex: 0 0 152px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rep__track { flex: 1; height: 8px; background: var(--rule); border-radius: 100px; overflow: hidden; }
.rep__fill {
  display: block; height: 100%; width: 0; border-radius: 100px; background: var(--patina);
  transition: width 1.15s cubic-bezier(.2,.8,.3,1);
}
.rep__val {
  flex: 0 0 46px; text-align: right; font-family: var(--ff-mono);
  font-size: 11px; color: var(--copper); font-variant-numeric: tabular-nums;
}
.rep__ron { margin-left: -26px; align-self: end; }
.rep__ron img {
  width: 100%; max-width: 300px; height: auto;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.42));
}
.rep__cap {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .11em; text-transform: uppercase;
  color: rgba(246,242,233,.44); text-align: center; margin-top: 14px;
}

/* ═══ 03 · PROBLEM (two columns) ══════════════════════ */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.split2__col { border: 1px solid var(--rule); border-radius: 16px; padding: 30px 28px; background: var(--bone-mid); }
.split2__col--new { border-color: rgba(184,115,51,.42); background: rgba(184,115,51,.055); }
.split2__tag {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 10px;
}
.split2__col--new .split2__tag { color: var(--copper); }
.split2__col h3 { font-family: var(--ff-brand); font-weight: 800; font-size: 21px; letter-spacing: -.025em; margin-bottom: 18px; }
.split2__list li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 9px 0; font-size: 14.5px; line-height: 1.5; color: var(--muted);
  border-bottom: 1px dashed var(--rule);
}
.split2__list li:last-child { border-bottom: none; }
.split2__list li::before { content: '—'; color: var(--muted); flex-shrink: 0; }
.split2__col--new .split2__list li::before { content: '→'; color: var(--copper); }
.split2__foot {
  margin-top: 30px; padding: 20px 24px; border-radius: 14px;
  background: var(--ink); color: var(--bone);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.split2__foot p { font-size: 15.5px; font-weight: 600; }
.split2__foot a { color: var(--dawn); font-size: 14px; font-weight: 600; border-bottom: 1px solid rgba(229,164,69,.35); }
.split2__foot a:hover { border-bottom-color: var(--dawn); }

/* ═══ 04 · WHAT WE DO (3 stages) ══════════════════════ */
.stage { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stage__c {
  border: 1px solid rgba(246,242,233,.15); border-radius: 18px;
  padding: 30px 26px 28px; background: rgba(246,242,233,.045);
  transition: border-color .22s, transform .22s;
}
.stage__c:hover { border-color: var(--dawn); transform: translateY(-4px); }
.stage__n {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .14em; color: var(--dawn); margin-bottom: 16px;
}
.stage__c h3 { font-family: var(--ff-brand); font-weight: 800; font-size: 21px; letter-spacing: -.025em; color: var(--bone); margin-bottom: 10px; }
.stage__c > p { font-size: 14.5px; line-height: 1.6; color: rgba(246,242,233,.70); margin-bottom: 18px; }
.stage__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.stage__tags a {
  font-size: 12px; color: rgba(246,242,233,.72);
  border: 1px solid rgba(246,242,233,.17); border-radius: 100px;
  padding: 5px 12px; transition: .16s;
}
.stage__tags a:hover { border-color: var(--dawn); color: var(--dawn); }

/* ═══ 05 · MEET RON ═══════════════════════════════════ */
.ron { background: var(--bone-mid); border-top: 1px solid var(--rule); padding: 0; overflow: hidden; }
.ron__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 52px; align-items: center; }
.ron__art { position: relative; padding: 40px 0 0; }
.ron__art img { width: 100%; max-width: 400px; height: auto; filter: drop-shadow(0 22px 40px rgba(22,19,15,.22)); }
.ron__copy { padding: 88px 0; }
.ron__pts { display: grid; gap: 2px; margin: 26px 0 30px; }
.ron__pt { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ron__pt:last-child { border-bottom: none; }
.ron__pt-i {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(184,115,51,.11); border: 1px solid rgba(184,115,51,.26);
  color: var(--copper);
}
.ron__pt-i svg { width: 19px; height: 19px; }
.ron__pt h3 { font-family: var(--ff-brand); font-weight: 700; font-size: 16px; letter-spacing: -.02em; margin-bottom: 4px; }
.ron__pt p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ═══ 06 · RON LOOP ═══════════════════════════════════ */
.loop6 { display: grid; grid-template-columns: repeat(6,1fr); gap: 0; border-top: 1px solid rgba(246,242,233,.16); }
.loop6__s { padding: 26px 20px 26px 0; border-right: 1px solid rgba(246,242,233,.13); }
.loop6__s:last-child { border-right: none; }
.loop6__l {
  font-family: var(--ff-brand); font-weight: 900; font-size: 30px;
  color: var(--dawn); line-height: 1; margin-bottom: 12px;
}
.loop6__s h3 { font-family: var(--ff-brand); font-weight: 700; font-size: 15.5px; letter-spacing: -.02em; color: var(--bone); margin-bottom: 7px; }
.loop6__s p { font-size: 13px; line-height: 1.5; color: rgba(246,242,233,.66); }
.loop6__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-top: 32px;
  padding-top: 26px; border-top: 1px solid rgba(246,242,233,.16);
}
.loop6__foot p { font-family: var(--ff-brand); font-weight: 700; font-size: 17px; color: var(--bone); letter-spacing: -.02em; }

/* ═══ 07 · WHY US ═════════════════════════════════════ */
.why { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.why__c { border: 1px solid var(--rule); border-radius: 16px; padding: 28px 26px; background: var(--bone-mid); }
.why__c h3 { font-family: var(--ff-brand); font-weight: 800; font-size: 18px; letter-spacing: -.02em; margin-bottom: 10px; }
.why__c p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.why__i {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(94,156,138,.13); border: 1px solid rgba(94,156,138,.30);
  color: var(--patina-d); margin-bottom: 16px;
}
.why__i svg { width: 20px; height: 20px; }

/* ═══ 08 · INDUSTRIES ═════════════════════════════════ */
.inds { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.inds a {
  display: block; border: 1px solid var(--rule); border-radius: 14px;
  padding: 24px 22px; background: var(--bone); transition: .2s;
}
.inds a:hover { border-color: var(--copper); transform: translateY(-3px); background: var(--bone-mid); }
.inds strong { display: block; font-family: var(--ff-brand); font-weight: 800; font-size: 17px; letter-spacing: -.02em; margin-bottom: 8px; }
.inds span { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ═══ 09 · BOOKING ════════════════════════════════════ */
.book { background: var(--bone-mid); border-top: 1px solid var(--rule); padding: 84px 0; }
.book__head { display: grid; grid-template-columns: 1fr 168px; gap: 24px; align-items: center; margin-bottom: 34px; }
.book__ron { align-self: end; }
.book__ron img { width: 100%; max-width: 168px; height: auto; margin-left: auto; filter: drop-shadow(0 18px 32px rgba(22,19,15,.22)); }
#my-cal-inline-discovery {
  min-height: 640px; border: 1px solid var(--rule); border-radius: 18px;
  background: var(--bone); overflow: hidden !important;
  box-shadow: 0 16px 46px rgba(22,19,15,.09);
}

/* ═══ 10 · FINAL CTA ══════════════════════════════════ */
.fin { background: var(--copper); padding: 96px 0; position: relative; overflow: hidden; text-align: center; }
.fin::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 58% 62% at 50% 0%, rgba(229,164,69,.28) 0%, transparent 66%);
}
.fin__in { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.fin h2 {
  font-family: var(--ff-brand); font-weight: 900;
  font-size: clamp(30px,3.8vw,50px); letter-spacing: -.04em;
  line-height: 1.05; color: var(--bone); margin-bottom: 18px;
}
.fin h2 .alt { color: var(--ink); }
.fin p { font-size: 17px; line-height: 1.6; color: rgba(22,19,15,.80); margin-bottom: 30px; }
.fin__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.fin__inc { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fin__inc span {
  font-family: var(--ff-mono); font-variation-settings: "wdth" 75;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(22,19,15,.66); border: 1px solid rgba(22,19,15,.20);
  border-radius: 100px; padding: 7px 14px;
}

/* ── Scroll reveal ──────────────────────────────────── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); }
.rv.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1040px) {
  .loop6 { grid-template-columns: repeat(3,1fr); }
  .loop6__s:nth-child(3) { border-right: none; }
  .inds  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .hero { padding: 104px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; align-items: center; }
  .hero__copy { padding-bottom: 34px; align-self: auto; }
  .hero__ron img { max-width: 300px; margin: 0 auto -4px; }
  .rep__grid  { grid-template-columns: 1fr; gap: 34px; }
  .rep__ron   { display: none; }
  .rep__cards { grid-template-columns: 1fr; }
  .split2, .stage, .why { grid-template-columns: 1fr; }
  .ron__grid  { grid-template-columns: 1fr; gap: 0; }
  .ron__art   { padding-top: 56px; text-align: center; }
  .ron__art img { margin: 0 auto; max-width: 300px; }
  .ron__copy  { padding: 40px 0 80px; }
  .book__head { grid-template-columns: 1fr; align-items: center; text-align: center; }
  .book__ron  { display: none; }
}
@media (max-width: 620px) {
  .hsec { padding: 68px 0; }
  .loop6 { grid-template-columns: 1fr; }
  .loop6__s { border-right: none; border-bottom: 1px solid rgba(246,242,233,.13); padding-right: 0; }
  .loop6__s:last-child { border-bottom: none; }
  .inds { grid-template-columns: 1fr; }
  .rep__row .pf { flex-basis: 118px; font-size: 12.5px; }
  .h1__ico, .h1rotor { min-width: 20px; min-height: 20px; }
}

/* ── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__ron img, .hero__eyebrow::before { animation: none; }
  .tick__row { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .h1rotor__item { transition: none; }
  .rep__fill  { transition: none; }
}
