/* Home: one long page. Landing, what Lumen Suite is, Beacon, Platform, Lumi. */

/* ---- Landing: the lockup over a field of light ---------------------------- */
.land { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.land::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.land-in { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vw, 36px); padding: 0 var(--gut); }
.lockup { position: relative; margin: 0; width: clamp(280px, 60vw, 900px); aspect-ratio: 1251.9 / 247; color: var(--fg); }
.lockup-word { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--fg); fill: currentColor; }
/* The live mark sits exactly where the lockup's mark is: centre (116.3, 123.5) of 1251.9 × 247, box 268.9 square. */
.lockup-spot { position: absolute; left: -1.449%; top: -4.425%; width: 21.479%; }
.land-line { margin: 0; font-size: clamp(18px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.02em; }
.js .land-line .lit { display: inline-block; opacity: 0; transform: translateY(10px); animation: land-word 900ms var(--ease) forwards; }
.js .land-line .lit:nth-child(1) { animation-delay: 1.1s; } .js .land-line .lit:nth-child(2) { animation-delay: 1.3s; } .js .land-line .lit:nth-child(3) { animation-delay: 1.5s; }
@keyframes land-word { to { opacity: 1; transform: none; } }

/* ---- What Lumen Suite is --------------------------------------------------- */
/* Pinned: as you scroll through it, the scattered sunburst assembles into the logo, then turns. */
.claim { height: 220svh; position: relative; }
.claim-stick { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; }
.claim-spot { width: clamp(90px, 9vw, 120px); margin-bottom: 8px; }
.claim .lede { max-width: 40rem; }

.door-list { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.door {
  display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.2fr) 180px 40px; gap: 12px 32px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; position: relative; transition: padding 500ms var(--ease);
}
.door-list--two .door { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.3fr) 40px; }
.door::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); background: color-mix(in srgb, var(--fg) 3%, transparent); opacity: 0; transition: opacity 400ms; pointer-events: none; }
.door:hover::before, .door:focus-visible::before { opacity: 1; }
.door:hover, .door:focus-visible { padding-left: 12px; }
.door-who { font-size: 14px; color: var(--dim); }
.door-name { font-size: clamp(26px, 3vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
/* The three products: every name on one line, one size for all three. The status column is
   fixed so the descriptions line up from row to row. */
.door-list:not(.door-list--two) .door-name { font-size: clamp(24px, 2.3vw, 36px); white-space: nowrap; }
.door .status { justify-self: end; }
.door-line { color: var(--mid); font-size: 16px; max-width: 30rem; }
.door-arr { font-size: 22px; color: var(--dim); transition: transform 300ms var(--ease), color 300ms; justify-self: end; }
.door:hover .door-arr { transform: translateY(4px); color: var(--fg); }
@media (max-width: 1080px) {
  .door, .door-list--two .door { grid-template-columns: minmax(0, 1fr) auto; }
  .door-who, .door-line { grid-column: 1 / -1; }
  .door .status, .door-name { grid-column: 1; }
  .door-arr { grid-row: 2; grid-column: 2; }
}

/* ---- Chapters: an intro with a hairline figure ------------------------------ */
.chapter { position: relative; }
.chap-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; min-height: 92svh; }
.chap-intro .lede { margin-top: 24px; }
.chap-fig { position: relative; }
.chap-spot { position: absolute; width: 88px; left: 0; top: 0; z-index: 1; }
@media (max-width: 860px) { .chap-intro { grid-template-columns: 1fr; min-height: auto; } .chap-spot { top: -50px; width: 72px; } }

.figure [data-hairline] { width: 100%; }

.chap-close { padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(48px, 8vh, 96px); }
.chap-close-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 40px; border-top: 1px solid var(--line-2); position: relative; }
.chap-close-spot { position: absolute; width: 70px; right: 0; top: -100px; }

/* ---- Lumi: Lumi in front, the mark as a faint halo behind -------------- */
.me { position: relative; }
.me::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 50% at 26% 50%, rgb(var(--glow) / 0.06), transparent 70%); }
/* Lumi in white light here: the approved pure-white palette from the Lumi lab, no warm tint on the suite site. */
.me { --lumi-body-hi: #ffffff; --lumi-body: #ffffff; --lumi-body-edge: #dcdcdc; --lumi-glow: #ffffff; --lumi-ray: #ffffff; --lumi-ink: #000000; --lumi-blush: rgba(0, 0, 0, 0.09); --lumi-sweat: #e6e6e6; }
.me-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.me-stage { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.me-halo { position: absolute; left: 50%; top: 52%; width: 104%; transform: translate(-50%, -50%); }
.me-lumi { position: absolute; inset: 8% 4% 0; z-index: 1; }
.me-lumi .lumi { width: 100%; height: 100%; overflow: visible; }
.me-lumi .lumi-rays { filter: drop-shadow(0 0 6px rgb(255 255 255 / 0.55)); transition: filter 700ms var(--ease); }
/* Hover Lumi and it warms to its own palette and glows warm yellow. Only Lumi: the mark's halo
   and the room stay white. The colours are registered so they fade instead of snapping. */
@property --lumi-body-hi { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --lumi-body { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --lumi-body-edge { syntax: "<color>"; inherits: true; initial-value: #dcdcdc; }
@property --lumi-glow { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --lumi-ray { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --lumi-ink { syntax: "<color>"; inherits: true; initial-value: #000000; }
@property --lumi-blush { syntax: "<color>"; inherits: true; initial-value: rgba(0, 0, 0, 0.09); }
.me-lumi {
  transition: --lumi-body-hi 700ms var(--ease), --lumi-body 700ms var(--ease), --lumi-body-edge 700ms var(--ease), --lumi-glow 700ms var(--ease),
    --lumi-ray 700ms var(--ease), --lumi-ink 700ms var(--ease), --lumi-blush 700ms var(--ease), filter 700ms var(--ease);
}
.me-lumi:hover {
  --lumi-body-hi: #fffefa; --lumi-body: #fff6e6; --lumi-body-edge: #f4d9aa; --lumi-glow: #ffbd5e;
  --lumi-ray: #fff0d0; --lumi-ink: #17120c; --lumi-blush: rgba(255, 122, 96, 0.55);
  filter: drop-shadow(0 0 36px rgb(255 189 94 / 0.45));
}
.me-lumi:hover .lumi-rays { filter: drop-shadow(0 0 8px rgb(255 189 94 / 0.8)); }
@media (prefers-reduced-motion: reduce) { .me-lumi, .me-lumi .lumi-rays { transition: none; } }
.me-promise { margin: 20px 0 0; font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
@media (max-width: 760px) { .me-grid { grid-template-columns: 1fr; } .me-stage { max-width: 280px; } }

/* ---- Platform ---------------------------------------------------------------- */
.plat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.plat-side { position: relative; }
.plat-spot { position: absolute; width: 90px; right: -10px; top: -70px; }
.svc { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.svc li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line-2); cursor: default; }
.svc .k { font-size: 13px; color: var(--dim); grid-column: 1 / -1; }
.svc b { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }
.svc span:not(.k) { color: var(--mid); grid-column: 1; font-size: 15px; }
.svc em { font-style: normal; grid-row: 2; grid-column: 2; align-self: center; }
.console-log { list-style: none; margin: 0; padding: 8px 0; height: 300px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%); mask-image: linear-gradient(to bottom, transparent, #000 30%); }
.console-log li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 14px; animation: log-in 520ms var(--ease) both; }
.console-log li small { color: var(--dim); font-size: 12.5px; grid-column: 1; }
.console-log li .c { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--mid); font-variant-numeric: tabular-nums; font-size: 13px; }
@keyframes log-in { from { opacity: 0; transform: translateY(12px); } }
.console-bal { color: var(--fg); }
.console-cap { padding: 10px 16px 14px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .plat-grid { grid-template-columns: 1fr; } .plat-spot { top: -80px; width: 70px; right: 0; } }

@media (prefers-reduced-motion: reduce) {
  .js .land-line .lit { animation: none; opacity: 1; transform: none; }
    .console-log li { animation: none; }
}

/* ---- Beacon film ------------------------------------------------------------ */
.film-sec { padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(48px, 8vh, 96px); }
.film-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.film-spot { width: 64px; }
.film { position: relative; aspect-ratio: 16 / 9; background: #000; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.92); cursor: pointer; display: grid; place-items: center; transition: transform 300ms var(--spring), opacity 300ms; }
.film-play span { width: 0; height: 0; border-left: 22px solid #0a0a0a; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.film-play:hover { transform: scale(1.06); }
.film.is-playing .film-play { opacity: 0; pointer-events: none; transform: scale(0.8); }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: linear-gradient(to top, rgb(0 0 0 / 0.6), transparent); opacity: 0; transition: opacity 300ms; }
.film:hover .film-bar, .film:focus-within .film-bar, .film:not(.is-playing) .film-bar { opacity: 1; }
.film-btn { border: 0; background: rgb(255 255 255 / 0.14); color: #fff; font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.film-btn:hover { background: rgb(255 255 255 / 0.24); }
.film-track { flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.22); overflow: hidden; }
.film-track i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }

/* ---- Inside Beacon: three figures, one line each ---------------------------- */
.inside { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.inside li { border-top: 1px solid var(--line-2); padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.inside .figure { margin: 0 -8px 4px; }
.inside h3 { font-size: 22px; letter-spacing: -0.025em; font-weight: 600; margin: 0; }
.inside p { margin: 0; color: var(--mid); font-size: 16px; }
.inside .status { margin-top: 6px; }
@media (max-width: 900px) { .inside { grid-template-columns: 1fr; } .inside .figure { max-width: 420px; } }

/* ---- Beacon extensions: copy on the left, the list on the right ---------------- */
.ext-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ext-side { position: relative; }
.ext-side .svc { margin-top: 0; }
.ext-spot { position: absolute; width: 90px; right: -10px; top: -80px; }
@media (max-width: 860px) { .ext-grid { grid-template-columns: 1fr; } .ext-spot { width: 70px; right: 0; } }
