/* Guiding Light Studios, studio site v2 (28 Nov 2026; live 29 Nov 2026). Minimal and light, deliberately separate from LodeLux:
   no night sky, no Fraunces, no gold. Inter for text; Carlito Bold for every "Guiding Light Studios" (.gls). */
@font-face { font-family: "Carlito GLS"; src: url("/assets/fonts/Carlito-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --soft: #f5f7f8;
  --ink: #0e1920;
  --muted: #56646e;
  --line: #e2e7ea;
  --brand: #004768;
  --brand-hover: #00344d;
  --on-brand: #ffffff;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter Display", "Inter", system-ui, sans-serif;
  --max: 1120px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
.gls { font-family: "Carlito GLS", "Carlito", var(--sans); font-weight: 700; letter-spacing: 0.005em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.measure { max-width: 42rem; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.mark { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.mark img { width: 34px; height: 34px; display: block; }
.mark .gls { font-size: 1.2rem; color: var(--ink); white-space: nowrap; }
.nav { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 0.6rem 0; display: inline-block; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1.5px 0 var(--ink); }
.menu { display: none; font: 500 0.95rem var(--sans); color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 6px; min-height: 40px; padding: 0 0.9rem; }

/* type */
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36rem; line-height: 1.6; }
.muted { color: var(--muted); }

/* sections */
.hero { padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--line); }
.band.soft { background: var(--soft); border-top: 0; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.cols p { color: var(--muted); margin: 0; }
.cols .n { font: 500 0.85rem var(--sans); color: var(--muted); display: block; margin-bottom: 0.9rem; font-variant-numeric: tabular-nums; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0 1.3rem; border-radius: 6px; font: 500 0.98rem var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-line { color: var(--ink); border-color: var(--line); background: var(--bg); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.arrow::after { content: "\2192"; }

/* product row */
.product { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; }
.product h2 { margin-bottom: 0.35em; }
.product p { color: var(--muted); margin: 0; max-width: 34rem; }

/* waitlist */
.signup { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--line); max-width: 40rem; }
.signup label.f { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 0.45rem; }
.signup .line { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.signup input[type=email] { flex: 1 1 16rem; min-height: 46px; border: 1px solid #b9c4cb; border-radius: 6px; padding: 0 0.85rem; font: inherit; color: var(--ink); background: var(--bg); }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.9rem 0 0.5rem; font-size: 0.93rem; }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--brand); }
.fine { font-size: 0.85rem; color: var(--muted); }

/* contact */
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.contact-list h2 { font-size: 1.05rem; margin: 0; letter-spacing: -0.005em; }
.contact-list p { margin: 0.35rem 0 0; color: var(--muted); }
.contact-list a.big { font-size: 1.15rem; font-weight: 500; }

/* legal (paperwork) */
.doc { padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem); }
.doc .meta { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.9rem 0; margin: 1.5rem 0 2.5rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; }
.doc h2 { font-size: 1.3rem; margin-top: 2.4rem; }
.doc p, .doc li { max-width: 42rem; }
.doc ul { padding-left: 1.2rem; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.93rem; margin: 1rem 0 1.5rem; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 0.6rem 0.75rem 0.6rem 0; vertical-align: top; }
.doc th { font-weight: 600; }
.toc { list-style: none; padding: 0; margin: 0; font-size: 0.92rem; position: sticky; top: 1.5rem; }
.toc li { padding: 0.3rem 0; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.doc-grid { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 4rem; }

/* 404 */
.lost { padding: clamp(6rem, 14vw, 10rem) 0; }
.lost .code { font: 500 0.85rem var(--sans); color: var(--muted); letter-spacing: 0.08em; }

@media (max-width: 820px) {
  .nav { display: none; }
  .menu { display: inline-flex; align-items: center; }
  .cols, .split, .product, .doc-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .contact-list > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .mark .gls { font-size: 1.08rem; }
}

/* LodeLux feature image: the whole image is one link to lodelux.com */
.feature { display: block; border-radius: 12px; overflow: hidden; background: #060b17; transition: transform .25s ease, box-shadow .25s ease; }
.feature img { display: block; width: 100%; height: auto; }
.feature:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(6, 11, 23, 0.18); }
.feature:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .feature { transition: none; } .feature:hover { transform: none; } }

/* 29 Nov 2026: live pages. Phone header keeps its links visible (no menu script); spacing helpers replace inline styles (CSP). */
@media (max-width: 820px) {
  .top .wrap { flex-wrap: wrap; padding-top: 0.9rem; padding-bottom: 0.9rem; min-height: 0; gap: 0.4rem 1rem; }
  .nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
  .nav a { padding: 0.35rem 0; min-height: 36px; display: inline-flex; align-items: center; }
  .menu { display: none; }
}
.mt-1 { margin-top: 0.6rem; } .mt-2 { margin-top: 1.75rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 2.25rem; } .mt-5 { margin-top: 2.6rem; }
@media (max-width: 820px) { .mt-5 { margin-top: 0; } }
.pb-5 { padding-bottom: 5rem; }
.plain { list-style: none; padding: 0; margin: 0; } .plain li { margin: 0.2rem 0; }
.contact-list p.ink { margin-top: 0; color: var(--ink); }

/* LodeLux feature: one link to lodelux.com; sky drawn by /assets/gls/feature.js behind real text */
@font-face { font-family: "Fraunces GLS"; src: url("/assets/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
.lx { position: relative; container-type: inline-size; aspect-ratio: 1200 / 520; color: #eef2f6; text-decoration: none; }
.lx:hover { color: #eef2f6; }
.lx canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lx-copy { position: absolute; left: 7.33cqw; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; max-width: 40cqw; }
.lx-word { font-family: "Fraunces GLS", Georgia, serif; font-weight: 400; font-size: 7.67cqw; line-height: 1; letter-spacing: -0.02em; margin-bottom: 1.5cqw; }
.lx-line { font-size: max(14px, 2cqw); line-height: 1.45; color: #c4d3de; margin-bottom: 2.83cqw; }
.lx-go { font-size: max(13px, 1.5cqw); font-weight: 500; color: #060b17; background: #f3cf8e; border-radius: 999px; padding: 1cqw 1.83cqw; width: max-content; }
@media (max-width: 640px) {
  .lx { aspect-ratio: 600 / 640; }
  .lx-copy { right: 7.33cqw; top: 8.67cqw; bottom: auto; max-width: none; justify-content: flex-start; }
  .lx-word { font-size: 12cqw; margin-bottom: 3cqw; }
  .lx-line { font-size: max(15px, 4.2cqw); margin-bottom: 4.33cqw; }
  .lx-go { font-size: max(14px, 3.8cqw); padding: 2.4cqw 4.4cqw; }
}
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--on-brand); padding: .6rem 1rem; z-index: 20; }
.skip:focus { left: 1rem; top: 1rem; }
