:root {
  --bg: #05080C;
  --surface: #09111A;
  --ink: #EAF3F4;
  --muted: #93A8AE;
  --line: rgba(142, 230, 228, .14);
  --line-strong: rgba(142, 230, 228, .34);
  --accent: #8EE6E4;
  --accent-ink: #03171A;
  --planet: #E8746C;
}

.star { width: .85em; height: .85em; flex: none; fill: currentColor; }

/* corner brackets */
.hud { position: relative; }
.hud::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --c: var(--accent); --l: 14px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--l) no-repeat;
}

/* header */
.ln-brand { display: block; width: 156px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s; }
.show-logo .ln-brand, .is-open .ln-brand { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s var(--ease); }
.site-nav .by-data7 { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.site-nav .by-data7:hover { color: var(--accent); }
.by-data7 svg { width: 26px; fill: currentColor; }

/* hero */
.ln-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; background: #000; }
.ln-hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.js .ln-hero-art { animation: drift 26s var(--ease) both; }
@keyframes drift { from { transform: scale(1.09); } to { transform: scale(1); } }
.ln-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, .88) 0%, rgba(3, 6, 9, .4) 42%, transparent 68%),
    linear-gradient(0deg, var(--bg) 0%, transparent 32%),
    linear-gradient(180deg, rgba(3, 6, 9, .6) 0%, transparent 20%);
}
.ln-hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 3rem) 3rem; }
.ln-logo { width: clamp(280px, 44vw, 700px); margin: 0 0 1.6rem; }
.ln-tagline { display: flex; align-items: center; gap: 1.4rem; font: 600 clamp(1rem, 1.5vw, 1.3rem)/1 var(--display); letter-spacing: .62em; text-transform: uppercase; }
.ln-tagline::after { content: ""; width: clamp(3rem, 8vw, 7rem); height: 1px; background: var(--line-strong); }
.ln-intro { margin: 1.8rem 0 2.4rem; max-width: 36ch; text-wrap: balance; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: #C9D8DB; }
.js .ln-hero-content > * { opacity: 0; transform: translateY(18px); animation: enter 1s var(--ease) forwards; }
.js .ln-hero-content > :nth-child(2) { animation-delay: .1s; }
.js .ln-hero-content > :nth-child(3) { animation-delay: .25s; }
.js .ln-hero-content > :nth-child(4) { animation-delay: .35s; }
.js .ln-hero-content > :nth-child(5) { animation-delay: .45s; }
@keyframes enter { to { opacity: 1; transform: none; } }


/* star divider */
.star-rule { display: flex; align-items: center; gap: 1rem; color: var(--accent); }
.star-rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent); }

/* world */
.section-head > p:last-child { color: var(--muted); max-width: 26ch; text-align: right; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); align-items: start; }
.shot { grid-column: 1 / -1; }
.shot--a { grid-column: 1 / span 7; }
.shot--b { grid-column: 8 / span 5; margin-top: clamp(2rem, 9vw, 8rem); }
.shot a { display: block; position: relative; overflow: hidden; cursor: zoom-in; }
.shot img { width: 100%; aspect-ratio: var(--ar, 16 / 10); object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.shot a:hover img { transform: scale(1.035); filter: brightness(1.08); }
.shot a::before { inset: 14px; opacity: 0; transition: opacity .35s, inset .45s var(--ease); z-index: 1; }
.shot a:hover::before, .shot a:focus-visible::before { opacity: 1; inset: 10px; }
.shot figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .9rem; font: 600 .8rem/1.3 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.shot figcaption strong { color: var(--ink); font-weight: 600; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 6, 9, .95); color: var(--ink); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; cursor: zoom-out; }
.lightbox figure { display: grid; justify-items: center; gap: 1rem; padding: 4.5rem var(--gutter) 2rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; object-fit: contain; }
.lightbox figcaption { font: 600 .8rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lightbox-close {
  position: fixed; top: 1.25rem; right: var(--gutter); display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 0; background: none; border: 0; cursor: pointer;
  font: 600 .85rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase;
}
.lightbox-close:hover { color: var(--accent); }

/* engine credit */
.engine { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); padding-block: 1rem clamp(5rem, 9vw, 7rem); }
.engine::before, .engine::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.engine img { width: clamp(180px, 20vw, 260px); }

/* follow */
.follow { position: relative; isolation: isolate; overflow: hidden; background: var(--surface); border-top: 1px solid var(--line); }
.follow::before {
  content: ""; position: absolute; z-index: -1; right: -12vw; top: 50%; width: 60vw; aspect-ratio: 1; translate: 0 -50%;
  background: radial-gradient(closest-side, rgba(40, 150, 160, .28), transparent);
}
.follow-star { position: absolute; z-index: -1; right: 6vw; top: 50%; width: clamp(180px, 26vw, 380px); translate: 0 -50%; fill: none; stroke: var(--line-strong); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.follow h2 { margin: 1rem 0 1.25rem; }
.follow p { color: var(--muted); max-width: 40ch; font-size: 1.1rem; }
.follow .actions { margin-top: 2.25rem; }

/* footer */
.ln-footer { padding-block: 2.5rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.ln-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem 2.5rem; }
.made-by { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); font: 600 .8rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.made-by svg { width: 34px; fill: currentColor; }
.made-by b { font: 800 1.15rem/1 var(--display); letter-spacing: .24em; }
.made-by:hover { color: var(--accent); }
.ln-footer a:not(.made-by):hover { color: var(--ink); }

/* responsive */
@media (max-width: 860px) {
  .ln-brand { width: 130px; }
  .ln-hero { min-height: 92svh; }
  .ln-hero-art { object-position: 86% 30%; }
  .ln-hero::after { background: linear-gradient(0deg, var(--bg) 4%, rgba(3, 6, 9, .55) 55%, rgba(3, 6, 9, .35) 100%); }
  .ln-hero-content { justify-content: flex-end; }
  .ln-tagline { letter-spacing: .45em; }
  .section-head > p:last-child { text-align: left; }
  .shot--a, .shot--b { grid-column: 1 / -1; margin-top: 0; }
  .follow-star { opacity: .3; right: -14vw; }
}
@media (max-width: 520px) {
  .shot figcaption > span:last-child { display: none; }
}
