/* A new first page; the approved homepage beneath remains untouched. */
.landing {
  --landing-progress: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px 5vw 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fffaf0;
  color: #20180c;
  border-bottom: 1px solid #20180c;
}
.landing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
}
.landing-top > span { border-left: 24px solid #ff6a00; padding-left: 12px; }
.landing-continue {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  text-decoration: none;
  letter-spacing: .02em;
}
.landing-stage { display: grid; place-items: center; min-width: 0; padding: 20px 0 32px; }
.landing-mark { width: min(80vw, 850px); }
.landing-logo { width: 100%; height: auto; overflow: visible; }
/* Static is the baseline: no JS, reduced motion, or a failed script never hides the identity. */
#landing .landing-mover { animation: none; opacity: 0; }
#landing .landing-infinity, #landing .landing-restored { animation: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .landing-motion-ready .landing-mark {
    opacity: calc(1 - var(--landing-progress) * .65);
    transform: translateY(calc(var(--landing-progress) * 48px)) scale(calc(1 - var(--landing-progress) * .1));
  }
  .landing-motion-ready #landing .landing-mover { animation: landing-roll 5s cubic-bezier(.4,0,.2,1) both; }
  .landing-motion-ready #landing .landing-infinity { animation: landing-infinity 5s ease both; }
  .landing-motion-ready #landing .landing-restored { animation: landing-restore 5s ease both; }
}
.landing-bottom { width: 100%; }
.landing-caption { font-size: 12px; letter-spacing: .03em; margin: 0 0 22px; }
.landing-chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #20180c;
  border-bottom: 1px solid #20180c;
}
.landing-chapters a {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 16px;
  padding: 12px 20px;
  font-size: 17px;
  letter-spacing: -.025em;
  text-decoration: none;
  transition: background .2s ease;
}
.landing-chapters a + a { border-left: 1px solid #d5c9b7; }
.landing-chapters a > span:last-child { margin-left: auto; }
.landing-number { font: italic 13px Georgia, serif; color: #615446; }
.landing-chapters a:hover, .landing-chapters a:focus-visible { background: #ff6a00; }
.landing-chapters a:focus-visible { outline-offset: -4px; }
.landing-scroll {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding-top: 8px;
  font-size: 11px;
  letter-spacing: .04em;
  text-decoration: none;
}
.landing-scroll span { font-size: 22px; color: #006994; }
.landing-continue:hover, .landing-scroll:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 650px) {
  .landing { padding: 16px 6vw 12px; }
  .landing-top { font-size: 9px; gap: 8px; letter-spacing: .07em; }
  .landing-top > span { border-left-width: 14px; padding-left: 8px; }
  .landing-continue { gap: 10px; font-size: 11px; }
  .landing-mark { width: 100%; }
  .landing-stage { padding: 36px 0; }
  .landing-caption { font-size: 11px; margin-bottom: 16px; }
  .landing-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-chapters a { min-height: 60px; padding: 10px 8px; font-size: 14px; gap: 8px; }
  .landing-chapters a:nth-child(3) { border-left: 0; }
  .landing-chapters a:nth-child(n+3) { border-top: 1px solid #d5c9b7; }
}
@media (prefers-reduced-motion: reduce) {
  .landing *, .landing *::before, .landing *::after { animation: none !important; transition: none !important; }
}
