/* RISE — two screens. Warm white, near-black, one accent used only for the RISING stage. */

:root {
  --bg: #f5f3ee;
  --ink: #141414;
  --ink-2: #5c5a55;
  --ink-3: #8a8780;
  --line: #e3e0d8;
  --accent: #0a5c36;
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- header ---------- */

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad) 0;
  min-height: 72px;
}
.wordmark {
  font-size: 26px; font-weight: 600; letter-spacing: 0.22em;
  line-height: 44px; padding-right: 2px;
}
.top__nav { display: flex; gap: 32px; }
.top__nav a {
  font-size: 15px; color: var(--ink-2); line-height: 44px; padding: 0 2px;
  border-bottom: 1px solid transparent;
}
.top__nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- screen 1: hero + rising ---------- */

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(24px, 3.5vh, 40px) var(--pad) clamp(20px, 3vh, 36px);
  gap: clamp(20px, 3vh, 32px);
}

.hero__copy { max-width: 900px; }
.eyebrow {
  font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 16px;
}
h1 {
  font-size: clamp(44px, 5.6vw, 82px);
  line-height: 1.0; letter-spacing: -0.03em; font-weight: 400;
  max-width: 12ch;
}
.lead {
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--ink-2);
  max-width: 44ch; margin-top: 18px; font-weight: 400;
}
.signals { margin-top: 14px; font-size: 15px; color: var(--ink-3); letter-spacing: 0.02em; }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px; min-height: 52px; padding: 0 26px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px; font-size: 16px; font-weight: 500;
}
.cta:hover { background: #000; }
.cta span { transition: transform .2s ease; }
.cta:hover span { transform: translateX(2px); }

/* rising now */

.rising { align-self: end; scroll-margin-top: 16px; }
.rising__title {
  font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); font-weight: 500; margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.rising__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
.card { min-width: 0; }
.card__link {
  display: flex; flex-direction: column; height: 100%;
  border-radius: 6px;
  transition: transform .25s ease;
}
.card__link:hover { transform: translateY(-2px); }
.card__media {
  display: block; overflow: hidden; border-radius: 6px; background: #efece5;
  aspect-ratio: 16 / 10; max-height: 26vh;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card__link:hover .card__media img { transform: scale(1.03); }

.card__meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 14px; }
.stage {
  font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  line-height: 1;
}
.stage--early { color: var(--ink-2); }
.stage--rising { color: var(--accent); }
.stage--peaking { color: var(--ink-3); text-decoration: line-through; }
.cat { color: var(--ink-3); }

.card__name { font-size: clamp(20px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.01em; margin-top: 6px; line-height: 1.2; }
.card__why { color: var(--ink-2); font-size: 16px; line-height: 1.45; margin-top: 8px; max-width: 36ch; }
.card__more { margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--ink-2); min-height: 32px; display: inline-flex; align-items: center; }
.card__link:hover .card__more { color: var(--ink); }

.rising__note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* ---------- screen 2: the difference ---------- */

.difference {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 9vh, 112px) var(--pad) clamp(48px, 7vh, 88px);
  display: grid; gap: clamp(48px, 8vh, 96px);
}
.difference__head h2 {
  font-size: clamp(40px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 400;
}
.difference__head .lead { margin-top: 18px; }

.signals-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  counter-reset: none;
}
.signals-grid li { padding-top: 18px; border-top: 1px solid var(--line); }
.num { display: block; font-size: 14px; color: var(--ink-3); letter-spacing: 0.1em; }
.signals-grid h3 { font-size: 24px; font-weight: 500; margin-top: 12px; letter-spacing: -0.01em; }
.signals-grid p { margin-top: 10px; color: var(--ink-2); font-size: 17px; max-width: 30ch; }

.principle { max-width: 1000px; }
.principle__big {
  font-size: clamp(30px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 400;
}
.principle__small { margin-top: 22px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; color: var(--ink-2); }

/* weekly 10 */

.weekly { max-width: 720px; scroll-margin-top: 40px; }
.weekly__title { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.weekly__form { display: flex; gap: 12px; margin-top: 28px; }
.weekly__form input[type="email"] {
  flex: 1; min-width: 0; height: 56px; padding: 0 20px;
  font: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.weekly__form input[type="email"]::placeholder { color: var(--ink-3); }
.weekly__form input[type="email"]:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.weekly__form button {
  height: 56px; padding: 0 26px; font: inherit; font-size: 16px; font-weight: 500;
  color: var(--bg); background: var(--ink); border: 0; border-radius: 999px; cursor: pointer;
  white-space: nowrap;
}
.weekly__form button:hover { background: #000; }
.weekly__form button[disabled] { opacity: .6; cursor: default; }
.weekly__status { margin-top: 14px; font-size: 16px; min-height: 1.5em; }
.weekly__status.is-error { color: #9a2c1f; }
.weekly__status.is-ok { color: var(--accent); }
.weekly__note { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.weekly__audience { margin-top: 26px; font-size: 14px; color: var(--ink-3); }
.weekly.is-done .weekly__form, .weekly.is-done .weekly__note { display: none; }

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding: 28px var(--pad) calc(28px + env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 15px; color: var(--ink-2);
}
.foot__brand { letter-spacing: 0.18em; font-weight: 600; color: var(--ink); margin-right: 16px; }
.foot__links { display: flex; gap: 24px; }
.foot__links a { line-height: 44px; }
.foot__links a:hover { color: var(--ink); }
.foot__links span { line-height: 44px; }

/* ---------- legal page ---------- */

.legal { max-width: 680px; padding: 40px var(--pad) 80px; }
.legal h1 { font-size: clamp(34px, 4vw, 52px); }
.legal p { margin-top: 18px; color: var(--ink-2); }
.legal a { text-decoration: underline; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .card__media { max-height: none; }
}

@media (max-width: 760px) {
  .top { padding-top: 14px; min-height: 64px; }
  .wordmark { font-size: 22px; }
  .top__nav { gap: 20px; }
  .hero { padding-top: 36px; gap: 44px; }
  h1 { font-size: clamp(42px, 12vw, 56px); max-width: none; }
  .lead { font-size: 18px; }
  .cta { width: 100%; justify-content: center; min-height: 56px; }

  .cards { grid-template-columns: 1fr; gap: 36px; }
  .card__why { max-width: none; }

  .difference { gap: 56px; }
  .signals-grid { grid-template-columns: 1fr; gap: 28px; }
  .signals-grid p { max-width: none; }
  .principle__small br { display: none; }

  .weekly__form { flex-direction: column; }
  .weekly__form button { width: 100%; }

  .foot { flex-direction: column; align-items: flex-start; }
}
