/* ==========================================================================
   Rensora — HOMEPAGE stylesheet
   Loaded only on the page using the "Rensora Homepage" template.

   This file is deliberately small. Everything structural — tokens, type,
   buttons, cards, header, footer, logo strip, carousel primitives, dashboard
   chrome — lives in rensora-global.css and is shared with every other page.
   Only rules unique to the homepage belong here.

   Selectors are scoped `.rensora-site .r-*` (specificity 0,2,0), matching the
   global sheet. A parent block theme's theme.json emits `:root :where(p){…}`
   and friends at 0,1,0, which tie with a bare class and win on load order.
   Keep the prefix on anything you add here.
   ========================================================================== */

.rensora-site .r-home{ width: 100%; overflow-x: hidden; background: var(--surface); }

/* --- Section 01 hero: light/spotlight field, ray rising behind the kart --- */
.rensora-site .r-home__hero{
  background: linear-gradient(180deg, #F7F8FC 0%, #F4F5FB 55%, #FAFBFD 100%);
  padding: clamp(56px, 7vw, 92px) 0 0;
  text-align: center;
}
.rensora-site .r-home__hero-art{
  display: block;
  width: 100%;
  max-width: 900px;
  margin: clamp(8px, 1.5vw, 24px) auto 0;
  height: auto;
}

/* --- Section 11 advisory: pale wash rising out of white --- */
.rensora-site .r-home__advisory{ background: linear-gradient(180deg, #FFFFFF 0%, #F6F9FE 100%); }

/* --- Section 14 close: field brightens toward the ray graphic --- */
.rensora-site .r-home__close{
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFE 60%, #EAF4FE 100%);
  padding: clamp(72px, 9vw, 116px) 0 0;
  text-align: center;
  overflow: hidden;
}
.rensora-site .r-home__close-rays{ display: block; width: 100%; margin-top: clamp(24px, 3vw, 40px); height: auto; }

/* --- Evolis showcase heading mirrors to the right on wide screens.
       Mobile-first: on phones both showcases share one left scan line. --- */
.rensora-site .r-home__showcase-head{ text-align: left; }

@media (min-width: 900px) {
  .rensora-site .r-home__showcase-head{ text-align: right; margin-left: auto; }
}

/* --- Metric figures in section 08 --- */
.rensora-site .r-home__metric{
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink-strong);
}
.rensora-site .r-home__metric--hero{ font-size: clamp(52px, 7vw, 86px); }
.rensora-site .r-home__metric--sub{ font-size: clamp(34px, 4vw, 48px); }
.rensora-site .r-home__metric--mz{ color: var(--teal-ink); }
.rensora-site .r-home__metric--ev{ color: var(--indigo); }

/* --- Masthead of the spotlight publication (serif by intent, not brand type) --- */
.rensora-site .r-home__masthead{
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--ink-strong);
  line-height: 1.1;
}
