.shell {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: var(--section-pad-y) 0;
}

.section + .section {
  border-top: 1px solid var(--divider);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Hero: globe is left atmosphere; wordmark owns the remaining column. —— */
.hero {
  --hero-sphere: min(62vw, 78dvh);
  --hero-hidden: 0.36;
  --hero-offset: calc(var(--hero-sphere) * var(--hero-hidden));
  --hero-visible: calc(var(--hero-sphere) - var(--hero-offset));
  --hero-gap: clamp(2rem, 3vw, 3rem);
  --hero-rail: calc(var(--hero-visible) + var(--hero-gap));
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: clip;
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: var(--hero-rail) minmax(0, 1fr);
  align-items: stretch;
  text-align: left;
  padding: 0;
}

.hero-atmosphere {
  position: relative;
  min-width: 0;
  min-height: 0;
  pointer-events: none;
}

.hero-mark-wrap {
  position: absolute;
  top: calc(var(--hero-offset) * -1);
  left: calc(var(--hero-offset) * -1);
  width: var(--hero-sphere);
  height: var(--hero-sphere);
  pointer-events: none;
}

.hero-mark-wrap canvas,
.hero-mark-wrap img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-mark-wrap img.fallback {
  object-fit: contain;
  opacity: 0.95;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  justify-self: center;
  align-self: center;
  box-sizing: border-box;
  max-width: 100%;
  padding-right: clamp(1.25rem, 4vw, 3rem);
  min-width: 0;
}

.hero-brand {
  margin: 0;
  color: var(--text);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.hero-editions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.hero-edition {
  margin: 0;
}

.hero-edition-name {
  display: block;
  color: var(--text-secondary);
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-edition-note {
  display: block;
  margin-top: 0.22rem;
  max-width: 22rem;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
  opacity: 0.7;
}

@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
    grid-template-rows: var(--hero-visible) minmax(0, 1fr);
  }

  .hero-copy {
    justify-self: center;
    align-self: center;
    align-items: center;
    text-align: center;
    padding: 0 1.25rem 2.75rem;
  }

  .hero-editions {
    align-items: center;
  }

  .hero-edition-note {
    max-width: 18rem;
  }

  .hero-brand {
    font-size: clamp(2.75rem, 11vw, 4.5rem);
  }
}

.hero.is-stacked .hero-stage {
  grid-template-columns: 1fr;
  grid-template-rows: var(--hero-visible) minmax(0, 1fr);
}

.hero.is-stacked .hero-copy {
  justify-self: center;
  align-self: center;
  align-items: center;
  text-align: center;
  padding: 0 1.25rem 2.75rem;
}

.hero.is-stacked .hero-editions {
  align-items: center;
}

.hero.is-stacked .hero-brand {
  font-size: clamp(2.75rem, 11vw, 4.5rem);
}

/* —— Footer —— */
.site-footer {
  padding: 1.75rem clamp(1rem, 4vw, 2.5rem) 2.25rem;
  border-top: 1px solid var(--divider);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-end;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-copy {
  display: grid;
  gap: 0.35rem;
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-mail {
  max-width: 28rem;
  text-align: right;
}

@media (max-width: 720px) {
  .footer-mail {
    text-align: left;
  }
}
