/* ─────────────────────────────────────────────────────────────────────────────
   Lumen: the light layer of the home page.
   Black first. A trace of silk light behind a centred hero, a dot-matrix accent
   in the manner of Nothing, Apple-style type and motion, frosted-glass terminals,
   and large editorial founder portraits.
   Loaded after caution.css; everything here overrides it deliberately.
   ───────────────────────────────────────────────────────────────────────────── */
:root { --dot: "Doto", "Geist Mono", ui-monospace, monospace; }

/* ── hero: centred, on black ── */
.chero--lumen { place-items: center; text-align: center; isolation: isolate; background: #000; min-height: 100svh; }
.chero--lumen::before { display: none; }
.chero--lumen .chero__in { width: 100%; max-width: 1100px; margin: 0 auto; will-change: transform, opacity, filter; transform-origin: 50% 40%; }
.chero--lumen .chero__lead { margin: 34px auto 0; max-width: 44ch; color: #a3a3a3; }
.chero--lumen .chero__actions { justify-content: center; }
.chero--lumen .chero__cmd { margin-top: 30px; }

/* The headline: two stacked lines, each its own block so neither can paint over the other.
   Line one carries Apple's white-to-silver fall-off; line two is set in dot-matrix. */
.lumen__h { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .1em; font-size: clamp(54px, 9.4vw, 150px); font-weight: 600; line-height: 1; letter-spacing: -.055em; }
.lumen__h1 { display: block; padding-bottom: .04em; background: linear-gradient(180deg, #fff 0%, #fff 50%, #a0a0a0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lumen__h .ndot { display: block; font-family: var(--dot); font-weight: 800; font-size: .86em; line-height: 1; letter-spacing: .02em; color: #fff; white-space: pre; text-shadow: 0 0 22px rgba(255,255,255,.18); }
.lumen__h .ndot.is-set { animation: ndot-flicker 2.4s steps(1) 1; }
@keyframes ndot-flicker { 0%, 6%, 9%, 100% { opacity: 1; } 5%, 8% { opacity: .55; } }

/* ── the layers behind the hero: kept to a whisper so the black leads ── */
.lumen { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: var(--lumen-fade, 1); }
.lumen > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.lumen__silk { display: block; opacity: 0; transition: opacity 2.4s ease; }
.lumen__silk.is-ready { opacity: .5; } /* strong enough to read on laptop panels, which crush near-black */
.lumen__spread { background: radial-gradient(40% 32% at 50% 46%, rgba(255,255,255,.03), transparent 70%); }
.lumen__dots { background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.4px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(55% 45% at 50% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(55% 45% at 50% 50%, #000 0%, transparent 75%); opacity: .05; }
.lumen__grain { inset: -50%; width: 200%; height: 200%; opacity: .025; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: lumen-grain 1.2s steps(6) infinite; }
@keyframes lumen-grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-4%); } 60% { transform: translate(-4%,-2%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
.lumen__vignette { background: radial-gradient(120% 85% at 50% 45%, transparent 50%, #000 100%), linear-gradient(180deg, #000 0%, transparent 16%, transparent 80%, #000 100%); }

/* ── Apple-style section type and reveals ── */
.c .ch2 { background: linear-gradient(180deg, #fff 30%, #8f8f8f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
[data-reveal] { opacity: 0; transform: translateY(24px) scale(.985); filter: blur(8px); transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1), filter 1.1s cubic-bezier(.16,1,.3,1); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ── faint light behind the glass, so the blur has something to catch ── */
.csec--lit, #get-started { position: relative; isolation: isolate; }
.csec--lit::before, #get-started::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 50%; width: min(1200px, 120vw); height: 70%; transform: translate(-50%, -50%);
  background: radial-gradient(32% 42% at 28% 48%, rgba(150,170,215,.08), transparent 70%), radial-gradient(28% 40% at 74% 42%, rgba(255,255,255,.05), transparent 70%);
  filter: blur(40px); animation: lumen-drift 16s ease-in-out infinite alternate; }
@keyframes lumen-drift { 0% { transform: translate(-52%, -50%) scale(1); } 100% { transform: translate(-48%, -52%) scale(1.08); } }

/* ── glass terminals ── */
.c .cterm, .c .code, .glass {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  backdrop-filter: blur(28px) saturate(150%); -webkit-backdrop-filter: blur(28px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(255,255,255,.03), 0 40px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.4);
}
.c .cterm::after, .c .code::after, .glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.08), transparent 60%); }
.c .cterm:hover::after, .c .code:hover::after, .glass:hover::after { opacity: 1; }
.c .cterm { border-radius: 18px; }
.c .cterm__bar, .c .code__bar { background: rgba(255,255,255,.03) !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; }
.c .cterm__dots i { background: rgba(255,255,255,.18); }
.c .code pre { background: transparent !important; }
.glass.cmd { color: #e8e8e8; }
.glass.cmd:hover { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)) !important; }

/* ── founders: big editorial portraits ──
   Each founder gets a full row: a tall black-and-white portrait seen through a
   dot screen, the name set huge and wide-spaced, the detail beside it. Rows
   alternate sides. Hovering lifts the dot screen and brings the colour back. */
.fdr { display: flex; flex-direction: column; gap: clamp(72px, 10vw, 140px); margin-top: clamp(56px, 7vw, 96px); }
.fdr__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: clamp(28px, 5vw, 80px); }
.fdr__row--flip .fdr__shot { order: 2; }
.fdr__shot { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #070707; }
.fdr__shot img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.1) brightness(.74);
  transform: translate3d(0, var(--fdr-shift, -6%), 0) scale(1.02); transition: filter 1.2s cubic-bezier(.16,1,.3,1), transform 1.4s cubic-bezier(.16,1,.3,1); will-change: transform; }
.fdr__shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.75) 88%, #000 100%), linear-gradient(90deg, rgba(0,0,0,.35), transparent 30%, transparent 70%, rgba(0,0,0,.35)); }
.fdr__screen { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(0,0,0,.7) 1.1px, transparent 1.5px); background-size: 6px 6px; mix-blend-mode: multiply; opacity: .55; transition: opacity 1s ease; }
.fdr__idx { position: absolute; left: 22px; bottom: 16px; z-index: 1; font: 800 clamp(48px, 7vw, 96px)/1 var(--dot); color: rgba(255,255,255,.9); letter-spacing: .02em; }
.fdr__row:hover .fdr__shot img { filter: grayscale(.15) contrast(1.02) brightness(.95); transform: translate3d(0, var(--fdr-shift, -6%), 0) scale(1.05); }
.fdr__row:hover .fdr__screen { opacity: 0; }
.fdr__copy { padding-bottom: 8px; }
.fdr__role { margin: 0 0 18px; font: 800 13px/1 var(--dot); letter-spacing: .22em; text-transform: uppercase; color: #8a8a8a; }
.fdr__name { margin: 0; font-weight: 300; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: .26em; text-transform: uppercase; color: #fff; }
.fdr__name span { display: block; margin-top: .25em; font-size: .46em; letter-spacing: .5em; color: #7d7d7d; }
.fdr__focus { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid #1d1d1d; font-size: 15px; color: #bdbdbd; }
.fdr__copy ul { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fdr__copy li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.55; color: #8f8f8f; }
.fdr__copy li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: #555; }
.fdr__copy li code { font: 400 13px/1 var(--mono); color: #d6d6d6; }
.fdr__copy li strong { color: #e6e6e6; font-weight: 500; }
.fdr__links { display: flex; gap: 22px; margin: 28px 0 0; font: 400 13px/1 var(--mono); }
.fdr__links a { color: #d0d0d0; border-bottom: 1px solid #333; padding-bottom: 4px; transition: color .2s, border-color .2s; }
.fdr__links a:hover { color: #fff; border-color: #fff; }

@media (max-width: 860px) {
  .fdr__row, .fdr__row--flip { grid-template-columns: 1fr; gap: 28px; }
  .fdr__row--flip .fdr__shot { order: 0; }
  .fdr__shot { aspect-ratio: 4 / 5; margin-inline: calc(-1 * var(--gut, 20px)); border-radius: 0; }
  .fdr__name { letter-spacing: .16em; }
  .fdr__name span { letter-spacing: .32em; }
}
@media (max-width: 640px) {
  .lumen__h { font-size: clamp(46px, 13vw, 64px); letter-spacing: -.045em; }
  .lumen__dots { background-size: 11px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .lumen__grain, .csec--lit::before, #get-started::before { animation: none; }
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .fdr__shot img { transform: none; }
}
@media (scripting: none) { [data-reveal] { opacity: 1; transform: none; filter: none; } }

/* Founder names: first name in polished gold, surname in glazed ceramic. */
.fdr__name { font-weight: 400;
  background: linear-gradient(100deg, #7a5a1c 0%, #c99a3f 18%, #f6e3a1 32%, #d4a94e 44%, #8c6420 58%, #e9cd7e 74%, #b8862f 88%, #f3dc94 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.6)) drop-shadow(0 0 18px rgba(214,169,78,.18));
  animation: fdr-gold 9s ease-in-out infinite; }
@keyframes fdr-gold { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.fdr__name span { font-weight: 500;
  background: linear-gradient(180deg, #ffffff 0%, #f4f1ea 38%, #d9d4ca 52%, #f7f4ee 66%, #c9c3b8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.12)) drop-shadow(0 2px 6px rgba(0,0,0,.55)); }
@media (prefers-reduced-motion: reduce) { .fdr__name { animation: none; } }

/* Founder names in dot-matrix (the Nothing look), in gold. */
.fdr__name { font-family: var(--dot); font-weight: 800; letter-spacing: .08em; line-height: 1.05; font-size: clamp(38px, 5.2vw, 72px);
  background: linear-gradient(100deg, #8c6420 0%, #d4a94e 20%, #f6e3a1 36%, #c99a3f 52%, #8c6420 66%, #e9cd7e 82%, #b8862f 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(214,169,78,.22)); }
.fdr__name span { font-family: var(--dot); font-weight: 800; font-size: .5em; letter-spacing: .14em; margin-top: .35em;
  background: linear-gradient(100deg, #b8862f 0%, #f3dc94 45%, #c99a3f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: none; }
@media (max-width: 860px) { .fdr__name { letter-spacing: .05em; } .fdr__name span { letter-spacing: .1em; } }

/* FAQ: a one-line answer first, then the detail. */
.faq__a .faq__short { margin-bottom: 10px; color: #fff; font-weight: 600; font-size: 17px; line-height: 1.5; }

/* Solid colours for all display type. Gradient-clipped text rendered washed out or invisible on
   some machines, so every heading and name is a plain, dependable fill. */
.c .ch2, .lumen__h1 { background: none !important; -webkit-text-fill-color: currentColor; color: #fff; }
.fdr__name { background: none !important; -webkit-text-fill-color: currentColor; color: #d9ae55; animation: none; filter: drop-shadow(0 0 12px rgba(217,174,85,.25)); }
.fdr__name span { background: none !important; -webkit-text-fill-color: currentColor; color: #ecd08a; }
