/* Zora Constellation: the lit pages. Every page that is not the home or an arm page stands in the same sky:
   one star pinned high in the view, the nebula leaning to the page's color (Zora Enterprise is cyan; the
   constellation's own pages are teal), the words on translucent plates with a thin line of that color on top,
   like the doors on the home. Always dark: it is space. The header keeps its light switch. */

.lit {
  position: relative; isolation: isolate;
  background: #03060f; color: #f2f1eb;
  --bg: #03060f; --bg-2: #060c1a;
  --surface: rgba(8, 16, 32, 0.84); --surface-2: rgba(12, 24, 44, 0.96);
  --text: #f2f1eb; --text-2: rgba(242, 241, 235, 0.8); --text-3: rgba(242, 241, 235, 0.64);
  --line: rgba(242, 241, 235, 0.1); --line-2: rgba(242, 241, 235, 0.22);
  --accent: #9fe3de; --accent-2: #c2efeb; --on-accent: #03060f; --accent-soft: rgba(159, 227, 222, 0.12); --focus: #9fe3de;
  --control: rgba(242, 241, 235, 0.45);
  --plate: rgba(6, 13, 26, 0.74); --plate-2: rgba(9, 19, 36, 0.9);
  --hue: #9fe3de; --hue-rgb: 159,227,222;
  color-scheme: dark;
}
.lit[data-arm] { --accent: var(--hue); --accent-2: var(--hue); --accent-soft: rgba(var(--hue-rgb), 0.12); --focus: var(--hue); }
.lit[data-arm] .btn-primary:hover { filter: brightness(1.1); }
/* The sky fills the view and stays put while the page scrolls: a bounded canvas, never a page-long one. */
.lit .sky-gl { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none; }
.lit .gate-star { position: fixed; left: 74%; top: 22vh; width: 1px; height: 1px; pointer-events: none; }
.lit.no-sky .gate-star { width: 16px; height: 16px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, #fff 0 25%, var(--hue) 45%, transparent 72%); box-shadow: 0 0 30px 8px rgba(var(--hue-rgb), 0.45); }
.lit .eyebrow { color: var(--hue); }
.lit .eyebrow::after { background: var(--hue); box-shadow: 0 0 10px 1px rgba(var(--hue-rgb), 0.35), 0 0 3px var(--hue); }
.lit h1 { text-shadow: 0 2px 40px rgba(3, 6, 15, 0.8); }
.lit .lead, .lit .statement, .lit .fine, .lit .terms, .lit .direct, .lit .next, .lit .next-title { text-shadow: 0 1px 18px rgba(3, 6, 15, 0.9); }
.js .lit .wrap { animation: lit-words 0.6s ease both; }
@keyframes lit-words { from { opacity: 0; } to { opacity: 1; } }

/* Plates: the blocks of a page stand on the same plate as a door, with the page's line of color on top. */
.lit .panel, .lit .rung, .lit .note, .lit .promise, .lit .form, .lit .contact-side, .lit .prose, .lit .fig, .lit .wt-right, .lit .wt-narr, .lit .carm-link {
  position: relative; padding: 18px 20px 16px; border: 1px solid rgba(242, 241, 235, 0.13); border-radius: 14px;
  background: var(--plate); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.9);
}
.lit .panel::before, .lit .rung::before, .lit .note::before, .lit .promise::before, .lit .form::before, .lit .contact-side::before, .lit .prose::before, .lit .fig::before, .lit .carm-link::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--hue-rgb), 0.95), transparent);
}
.lit .panel { border-top: 1px solid rgba(242, 241, 235, 0.13); }
.lit .panel-foot { border-top-color: rgba(242, 241, 235, 0.12); }
.lit .rung::before, .lit .promise::before { left: 14px; right: 14px; }
.lit .form { padding: 22px 22px 20px; }
.lit .contact-side { padding: 22px 22px 20px; }
.lit .prose { padding: clamp(18px, 3vw, 32px); }
.lit input, .lit select, .lit textarea { background: rgba(3, 6, 15, 0.6); color: var(--text); border-color: rgba(242, 241, 235, 0.22); }
.lit input:focus, .lit select:focus, .lit textarea:focus { border-color: var(--hue); }
/* The pricing ladder: each rung a plate; the ladder line in the page's color. */
.lit .rung { margin-bottom: 10px; }
.lit .price { color: var(--hue); }
.lit .rung-node { background: var(--hue); box-shadow: 0 0 10px 2px rgba(var(--hue-rgb), 0.5); }
/* The walkthrough: the bill stays a sheet; its frame takes the plate. The sticky controls take a solid plate so the sky never shows through text. */
.lit .wt-banner, .lit .stepbar, .lit .wt-controls { background: var(--plate-2); }
.lit table { background: transparent; }
/* Trust: each promise a lit plate. */
.lit .promises { gap: 12px; }
/* The general contact page: the address, then one plate per door; choosing a plate writes to us about that door. */
.talk .head-split { align-items: end; }
.talk-side .lead { margin-top: 0; }
.talk-mail { margin-top: 10px; }
.talk-mail .mail { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem); color: var(--text); }
.talk-doors { margin-top: clamp(22px, 4.4vh, 48px); }
.talk-h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; line-height: 1.4; text-transform: uppercase; color: var(--accent); }
.talk-sub { margin: 6px 0 14px; color: var(--text-2); font-size: 0.95rem; text-shadow: 0 1px 18px rgba(3, 6, 15, 0.9); }
.carms.tdoors { grid-template-columns: repeat(auto-fit, minmax(min(100%, 196px), 1fr)); }
.carm-go { margin-top: auto; padding-top: 6px; font-size: 0.84rem; font-weight: 700; color: var(--hue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.talk-note { margin-top: 16px; color: var(--text-2); font-size: 0.93rem; line-height: 1.5; text-shadow: 0 1px 18px rgba(3, 6, 15, 0.9); }
/* Not found: the star sits right behind the number. */
.lit.notfound .gate-star { left: 50%; top: 34vh; }

/* ---------- Company: the constellation, as data. One plate per door, in its color, no count anywhere. ---------- */

.lit .arms { margin-top: clamp(28px, 5vh, 52px); }
.carms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.carm { display: flex; }
.carm-link { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; color: inherit; text-decoration: none; transition: border-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease; }
.carm-link:hover, .carm-link:focus-visible { border-color: rgba(var(--hue-rgb), 0.7); transform: translateY(-3px); box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.95), 0 0 40px -10px rgba(var(--hue-rgb), 0.35); }
.carm-link:focus-visible { outline: 2px solid var(--hue); outline-offset: 3px; }
.carm-dot { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, #fff 0 28%, var(--hue) 50%, transparent 72%); box-shadow: 0 0 14px 3px rgba(var(--hue-rgb), 0.7); }
.carm-name { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; }
.carm-status { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 700; color: var(--text-2); }
.carm-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.55; }
.carm[data-status="now"] .carm-status { color: var(--hue); }
.carm[data-status="now"] .carm-status::before { opacity: 1; box-shadow: 0 0 8px 1px var(--hue); }
.carm[data-status="now"] .carm-link { border-color: rgba(var(--hue-rgb), 0.5); }
.carm-line { font-size: 0.88rem; line-height: 1.45; color: var(--text-2); }
.carms-foot { margin-top: 14px; }

/* ---------- Compact footer on every lit page: links, then the owner line ---------- */

/* The sky is fixed to the view and the page paints above plain blocks, so the footer stands on its own layer, above the sky. */
.lit + .footer-compact { position: relative; z-index: 1; background: var(--bg); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 78px; padding: 10px var(--gutter); border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--text-3); }
.lit + .footer-compact .footer-nav { gap: 0 16px; }
.lit + .footer-compact .footer-nav a { min-height: 36px; font-size: 0.82rem; }
.lit + .footer-compact p { margin: 0; }

@media (max-width: 899px) {
  .lit .gate-star { left: 82%; top: 12vh; }
  .lit .panel, .lit .rung, .lit .note, .lit .promise, .lit .prose, .lit .fig { padding: 16px 16px 14px; }
  .lit .form, .lit .contact-side { padding: 18px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .lit .wrap { animation: none; opacity: 1; }
}
