/* ── Index page: editorial style exploration ─────────────────── */
body {
  --page-bg: var(--paper);
  background-color: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 6rem 1.5rem 4rem;
  gap: 0;
}
body.nav-active {
  --page-bg: var(--paper-deep);
  background-color: var(--paper-deep);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeUp 0.8s ease both;
}
.hero-cloud {
  width: 110px;
  height: auto;
  display: block;
  opacity: 0.85;
  margin-bottom: 1.6rem;
  transition:
    opacity 0.3s ease,
    transform 0.4s ease;
}
.hero:hover .hero-cloud {
  opacity: 1;
  transform: translateY(-2px);
}
.hero-mark {
  width: min(72vw, 540px);
  height: auto;
  display: block;
  color: var(--ink);
  opacity: 0.92;
  transition: opacity 0.3s ease;
}
.hero:hover .hero-mark {
  opacity: 1;
}
.hero-tagline {
  margin-top: 1.4rem;
  font-style: normal;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.hero-tagline em {
  font-style: italic;
}
.hero-tagline .sep {
  display: inline-block;
  margin: 0 0.55em;
  color: var(--ink-mute);
  font-style: normal;
}

/* ── Hairline rule ───────────────────────────────────────────── */
.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  width: min(72vw, 600px);
  margin: 2.4rem auto;
  animation: fadeIn 1s ease 0.2s both;
}

/* ── Lede / blurb ────────────────────────────────────────────── */
.lede {
  max-width: 36rem;
  text-align: center;
  animation: fadeUp 0.9s ease 0.15s both;
}
.lede p {
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.lede p + p {
  margin-top: 0;
}
.lede .ornament {
  display: block;
  margin: 1rem auto;
  font-size: 0.95rem;
  color: var(--ink-mute);
  letter-spacing: 0.7em;
  padding-left: 0.7em;
  user-select: none;
}

/* ── CTA ─────────────────────────────────────────────────────── */
.home-cta {
  margin-top: 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
  animation: fadeUp 1s ease 0.3s both;
  position: relative;
  padding: 0.4rem 0;
}
.home-cta::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition:
    width 0.3s ease,
    left 0.3s ease;
}
.home-cta:hover {
  opacity: 1;
}
.home-cta:hover::after {
  width: 100%;
  left: 0;
}
html[data-touch='true'] .home-cta:hover {
  opacity: 0.6;
}
html[data-touch='true'] .home-cta:hover::after {
  width: 0;
  left: 50%;
}
html[data-touch='true'] .home-cta:active {
  opacity: 1;
}

/* ── Desktop: stronger editorial presence ─────────────────────── */
html[data-device='desktop'] body {
  padding: 5rem 2rem 4rem;
}
html[data-device='desktop'] .hero-cloud {
  width: 140px;
  margin-bottom: 2.2rem;
}
html[data-device='desktop'] .hero-mark {
  width: min(60vw, 620px);
}
html[data-device='desktop'] .hero-tagline {
  font-size: 1.15rem;
  margin-top: 1.8rem;
  letter-spacing: 0.02em;
}
html[data-device='desktop'] .rule {
  width: min(50vw, 520px);
  margin: 3.2rem auto;
}
html[data-device='desktop'] .lede p {
  font-size: 1.25rem;
  line-height: 1.75;
}
html[data-device='desktop'] .lede .ornament {
  margin: 1.4rem auto;
}
html[data-device='desktop'] .home-cta {
  margin-top: 3.2rem;
  font-size: 0.72rem;
}

/* ── Tablet ────────────────────────────────────────────────── */
html[data-device='tablet'] .hero-mark {
  width: min(64vw, 480px);
}
html[data-device='tablet'] .hero-cloud {
  width: 120px;
  margin-bottom: 1.8rem;
}

/* ── Mobile ────────────────────────────────────────────────── */
html[data-device='mobile'] body {
  padding: 4.5rem 1.25rem 3rem;
}
html[data-device='mobile'] .hero-cloud {
  width: 88px;
  margin-bottom: 1.2rem;
}
html[data-device='mobile'] .hero-mark {
  width: min(86vw, 340px);
}
html[data-device='mobile'] .hero-tagline {
  font-size: 0.95rem;
  margin-top: 1.1rem;
}
html[data-device='mobile'] .rule {
  width: 70vw;
  margin: 2rem auto;
}
html[data-device='mobile'] .lede p {
  font-size: 1.05rem;
  line-height: 1.65;
}
