/* The Living Sky Project page. Builds on /styles.css (fonts, tokens, form). */
.ls { --night: #14232d; --night-2: #1b3a4b; --dawn: #f1e6da; --cream: #f7f2ef; }
.ls main { max-width: none; margin: 0; padding: 0; }

.ls-top-unused {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  padding: 1.1rem 1.25rem;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.ls-top a { color: #fff; font-weight: 600; text-decoration: none; text-shadow: 0 0 2px rgba(0,0,0,.6), 0 1px 10px rgba(0,0,0,.55); }

.ls-wrap { max-width: 66rem; margin: 0 auto; padding: 0 1.25rem; }
.ls-narrow { max-width: 38rem; }
.ls h2 { font-size: clamp(1.9rem, 5.5vw, 2.6rem); line-height: 1.12; margin-bottom: 1rem; }
.ls h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--accent); margin: 0 0 0.25rem; }
.ls-lede { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 3.8vw, 1.5rem); line-height: 1.4; margin-bottom: 2.25rem; }
.ls-small { font-size: 0.9rem; color: var(--muted); }
.ls a { color: var(--accent); }

/* 1 · Arrival */
.ls-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.ls-hero-media { position: absolute; inset: 0; }
.ls-hero-still, .ls-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.ls-hero-video { opacity: 0; transition: opacity 1.6s ease; }
.ls-hero-video.is-on, .motion .ls-hero-video { opacity: 1; }
.ls-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,24,.5) 0%, rgba(10,18,24,0) 22%, rgba(10,18,24,0) 45%, rgba(10,18,24,.72) 100%); pointer-events: none; }
.ls-hero-text { position: relative; z-index: 2; max-width: 66rem; width: 100%; margin: 0 auto; padding: 0 1.25rem 1rem; }
.ls-hero h1 { color: #fff; font-size: clamp(2.6rem, 9vw, 5rem); line-height: 1; margin: 0 0 0.6rem; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.ls-tagline { font-family: var(--display); font-size: clamp(1.4rem, 4.5vw, 2.1rem); margin: 0 0 1.4rem; }
.ls-invite { font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 3.5vw, 1.4rem); margin: 0; opacity: .92; }
.ls-hero-foot { position: relative; z-index: 2; max-width: 66rem; width: 100%; margin: 0 auto; padding: 0.75rem 1.25rem 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ls-credit { font-size: 0.8rem; margin: 0; opacity: .8; }
.ls-motion { font: inherit; font-size: 0.8rem; color: #fff; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 0.35rem 0.9rem; cursor: pointer; white-space: nowrap; }
.ls-motion:focus-visible, .ls-play:focus-visible { outline: 3px solid #9fb6c3; outline-offset: 3px; }

.ls-intro { max-width: 38rem; margin: 0 auto; padding: 4rem 1.25rem 3.5rem; }
.ls-intro p { font-family: var(--display); font-size: clamp(1.45rem, 4.6vw, 1.85rem); line-height: 1.35; color: var(--accent); margin: 0; }

/* 2 · Receive / Release */
.ls-windows { background: var(--night); color: #eef1f3; padding: 4.5rem 0 4rem; }
.ls-windows h2, .ls-windows h3 { color: #fff; }
.ls-windows .ls-small { color: #b9c4cc; }
.ls-pair { display: grid; gap: 2.75rem; }
.ls-window figure, .ls-rec figure { margin: 0 0 1rem; }
.ls-window img { width: 100%; height: auto; display: block; border-radius: 4px; }
.ls-window figcaption { font-size: 0.8rem; color: #b9c4cc; margin-top: 0.5rem; }
.ls-status { display: inline-block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f1d9b5; border: 1px solid rgba(241,217,181,.5); border-radius: 999px; padding: 0.2rem 0.75rem; margin: 0 0 0.9rem; }
.ls-window p:last-child { margin: 0; }
.ls-contrast { margin: 3.5rem 0 1.5rem; font-family: var(--display); font-size: clamp(1.3rem, 4vw, 1.65rem); line-height: 1.4; }
.ls-contrast p { margin: 0 0 0.4rem; }

/* 3 · Why */
.ls-why { padding-top: 4.5rem; padding-bottom: 3.5rem; }
.ls-long { list-style: none; padding: 0; margin: 2rem 0; }
.ls-long li { font-family: var(--display); font-size: 1.4rem; line-height: 1.4; padding: 0.7rem 0; border-top: 1px solid var(--hairline); }
.ls-long li:last-child { border-bottom: 1px solid var(--hairline); }
.ls-perhaps { font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.45; }

/* 4 · What exists now */
.ls-now { padding: 3.5rem 0 4rem; border-top: 1px solid var(--hairline); }
.ls-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #2a3a45; margin: 0 0 1rem; }
.ls-embed img, .ls-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.ls-embed-dawn { background: linear-gradient(180deg, #8fa7b8 0%, #e3c3a2 62%, #2f3a33 63%, #1c2420 100%); }
.ls-play { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; display: grid; place-items: center; }
.ls-play-icon { width: 68px; height: 68px; border-radius: 50%; background: rgba(20,35,45,.62); border: 1px solid rgba(255,255,255,.7); position: relative; }
.ls-play-icon::after { content: ""; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent #fff; }
.ls-play:hover .ls-play-icon { background: rgba(20,35,45,.82); }
.ls-rec p { margin: 0 0 0.4rem; }
.ls-more { margin: 2.5rem 0 0; }
.ls-thesis { font-family: var(--display); font-size: clamp(1.35rem, 4vw, 1.7rem); line-height: 1.4; color: var(--accent); max-width: 38rem; margin: 3rem 0 0; }

/* 5 · Help */
.ls-help { background: var(--dawn); padding: 4.5rem 0 4rem; }
.ls-line { margin: 0 0 3.5rem; padding: 0; font-family: var(--display); font-size: clamp(1.6rem, 5.4vw, 2.3rem); line-height: 1.25; color: var(--accent); }
.ls-line p { margin: 0 0 0.3rem; }
.ls-help h3 { margin-top: 2.25rem; margin-bottom: 0.75rem; }
.ls-ways { padding-left: 1.3rem; margin: 0 0 1.5rem; }
.ls-ways li { margin: 0 0 0.45rem; }
.ls-form fieldset { border: 0; padding: 0; margin: 1.25rem 0 0; }
.ls-form legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; padding: 0; }
.ls-form .ls-check { display: flex; align-items: center; gap: 0.6rem; font-weight: 400; font-size: 1rem; margin: 0.45rem 0; }
.ls-form .ls-check input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--accent); }
.ls-opt { font-weight: 400; color: var(--muted); }

/* 6 · Become, 7 · Close */
.ls-become { padding-top: 4rem; padding-bottom: 2rem; }
.ls-become ul { padding-left: 1.1rem; }
.ls-become li { margin-bottom: 0.4rem; }
.ls-close { max-width: 38rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; text-align: center; }
.ls-from { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--accent); margin-bottom: 0.75rem; }
.ls-footer { max-width: 66rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--hairline); }
.ls-footer p { margin: 0 0 0.4rem; }
.ls-footer a { color: var(--accent); }

@media (min-width: 760px) {
  .ls-top { padding: 1.5rem 2rem; }
  .ls-wrap, .ls-hero-text, .ls-hero-foot { padding-left: 2rem; padding-right: 2rem; }
  .ls-hero-text { padding-bottom: 1.5rem; }
  .ls-pair { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

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

/* phone: comfortable tap targets for text links */
@media (max-width: 760px) {
  .ls-more a, .ls-from + p a, .ls-close a, .ls-foot a, footer a, .ls-small a, .ls a.help, .ls-open, .address a { display: inline-block; padding: .6rem .15rem; }
  .ls-top a { display: inline-block; padding: .7rem 0; }
  .ls-motion { min-height: 44px; }
}

/* Fixed header: transparent over the hero, solid cream after scrolling */
.ls-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background .25s ease, box-shadow .25s ease; }
.ls-bar-in { max-width: 66rem; margin: 0 auto; padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.ls .ls-bar a { color: #fff; text-decoration: none; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.ls-id { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: .02em; }
.ls-id img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.ls-bar nav { display: flex; gap: 1.4rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.ls-bar nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.ls-bar.solid { background: rgba(247,242,239,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 0 #dbd2c9; }
.ls .ls-bar.solid a { color: #1b3a4b; text-shadow: none; }
.ls-bar.solid .ls-id img { filter: none; }
html { scroll-padding-top: 4.5rem; }
@media (max-width: 760px) {
  .ls-bar nav a { display: inline-block; padding: .85rem .3rem; }
  .ls-bar nav a:not(.ls-begin) { display: none; }
}

/* short windows: keep the title clear of the fixed header */
.ls-hero { padding-top: 5.5rem; }
