/*
 * The landing page: the guide's front door, composed like the approved
 * splash_screen (design/screens/splash_screen in the Kotlin app): a fresco
 * falling away into the dark, the name set in serif in the middle, the two
 * ways in at the thumb, the partners at the foot.
 */
.landing {
  position: fixed;
  inset: 0;
  z-index: 900;                 /* over the guide, under the splash */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(16px + var(--safe-t, 0px)) 20px calc(20px + var(--safe-b, 0px));
  overflow-y: auto;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  text-align: center;
  transition: opacity var(--d-slow) var(--ease-museum), transform var(--d-slow) var(--ease-museum);
}
.landing.ld-leaving { opacity: 0; transform: scale(1.03); pointer-events: none; }

/* A Sigiriya fresco behind the top half, dissolving into the canvas colour. */
.ld-backdrop {
  position: fixed;
  inset: 0 0 auto 0;
  height: 62vh;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 17, 16, 0.35) 0%, rgba(20, 17, 16, 0.55) 45%, var(--c-bg) 100%),
    radial-gradient(80% 60% at 50% 30%, rgba(224, 103, 58, 0.16), transparent 70%),
    url("../assets/content/ex05-the-apsara-with-the-red-lily-target.jpg") center 30% / cover no-repeat;
  filter: saturate(0.9);
}

.ld-top, .ld-hero, .ld-actions, .ld-foot { position: relative; width: 100%; max-width: 440px; }

.ld-top { display: flex; align-items: center; justify-content: space-between; }
/* IBN's mark, the version drawn for dark grounds, on a disc of HUD glass so
   the fresco behind it never swallows the white orbit. */
.ld-mark {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-glass-chip);
  border: 1px solid var(--c-hairline);
  backdrop-filter: var(--blur-hud); -webkit-backdrop-filter: var(--blur-hud);
}
.ld-mark img { width: 64px; height: 64px; margin: -6px; }
.ld-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px;
  border: 1px solid var(--c-hairline);
  border-radius: var(--r-pill);
  background: var(--c-glass-chip);
  backdrop-filter: var(--blur-hud); -webkit-backdrop-filter: var(--blur-hud);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-amber);
}
.ld-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-amber); box-shadow: 0 0 8px var(--c-amber); }

.ld-hero { margin: auto 0 0; padding-top: 28vh; }
.ld-eyebrow {
  margin: 0 0 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-amber);
}
.ld-title {
  margin: 0;
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(32px, 9vw, 44px); line-height: 1.12; letter-spacing: -0.01em;
}
.ld-subtitle {
  margin: 6px 0 0;
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 20px; color: var(--c-terracotta-lt);
}
.ld-scripts {
  margin: 14px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
  font-size: 13px; line-height: 1.9; color: var(--c-amber);
}
.ld-star { color: var(--c-gold); font-size: 10px; }
.ld-sub {
  margin: 16px auto 0; max-width: 34ch;
  color: var(--c-text-2); font-size: 15px; line-height: 1.6;
}

.ld-actions { display: grid; gap: 12px; margin-top: 28px; }

.ld-foot {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px; padding-top: 16px;
  border-top: 1px solid var(--c-hairline-soft);
}
/* The partners' marks are drawn for paper, so they sit on a light plate. */
.ld-plate {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 6px 10px;
  border-radius: 10px;
  background: #F5EDE5;
}
.ld-plate img { height: 32px; width: auto; display: block; }
.ld-staff {
  margin-left: auto; min-height: 44px; display: inline-flex; align-items: center;
  color: var(--c-text-2); font-size: 14px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--c-hairline);
}
.ld-staff:hover { color: var(--c-text); }

@media (prefers-reduced-motion: reduce) {
  .landing { transition: none; }
}
