/*
 * lcd-studio.css - the website's dark studio (owner, 2026-09-16).
 *
 * Near-black blue-grey, the same ground the bot's 3D viewer uses: clear resin
 * reads by its bright edges, and on a white page those edges disappear. Loaded
 * once, from layout/theme.liquid, for every lcd- section.
 */
:root {
  --lcd-bg: #0b0e14;
  --lcd-surface: #121823;
  --lcd-surface-2: #1a212d;
  --lcd-ink: #e8edf5;
  --lcd-ink-soft: #b3bfcf;
  --lcd-ink-faint: #8391a6;
  --lcd-line: rgb(232 237 245 / 0.12);
  --lcd-ice: #8fd3ff;
  --lcd-ice-soft: rgb(143 211 255 / 0.14);
  --lcd-you: #1f5f8f;
  --lcd-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --lcd-radius: 20px;
  --lcd-top: calc(var(--header-height, 0px) + 24px);
}

/* ---- shared ------------------------------------------------------------- */
.lcd-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lcd-ice);
}
.lcd-editor-note {
  margin: 24px auto;
  max-width: 720px;
  padding: 20px 24px;
  border: 1px dashed var(--lcd-line);
  border-radius: 14px;
  color: var(--lcd-ink-soft);
}
.lcd-spinner {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--lcd-line);
  border-top-color: var(--lcd-ice);
  animation: lcd-spin 0.9s linear infinite;
}
@keyframes lcd-spin { to { transform: rotate(360deg); } }
.lcd-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.875rem;
  color: var(--lcd-ink-faint);
}
.lcd-hint svg { width: 20px; height: 20px; flex: none; }

/* ---- arriving in view --------------------------------------------------- */
.lcd-js [data-lcd-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 600ms var(--lcd-ease-out), transform 800ms var(--lcd-ease-out);
  transition-delay: calc(var(--lcd-i, 0) * 70ms);
}
.lcd-js [data-lcd-reveal].is-in { opacity: 1; transform: none; }
/* If lcd-motion.js never arrives, nothing may stay invisible. */
.lcd-js:not(.lcd-motion) [data-lcd-reveal] { animation: lcd-show 1ms 2.5s forwards; }
@keyframes lcd-show { to { opacity: 1; transform: none; } }

/* ---- hero --------------------------------------------------------------- */
.lcd-hero { position: relative; isolation: isolate; }
.lcd-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: -12%;
  inset-inline-end: -18%;
  width: min(72vw, 780px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(143 211 255 / 0.17),
              rgb(143 211 255 / 0.05) 55%, transparent 72%);
  pointer-events: none;
}
.lcd-hero__title {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.lcd-hero__eyebrow { color: var(--lcd-ice); opacity: 1; }

/* ---- the home page story -----------------------------------------------
 * Base rules are the STILL layout - no JavaScript, no WebGL, reduced motion.
 * .is-live (set by lcd-motion.js) turns it into the pinned scroll story. */
.lcd-story { position: relative; color: var(--lcd-ink); }
.lcd-story__stage {
  max-width: var(--page-width, 1200px);
  margin-inline: auto;
  padding: 72px 20px 32px;
  display: grid;
  gap: 32px;
}
.lcd-story__visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.lcd-story__layer {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--lcd-radius);
  background: radial-gradient(closest-side, rgb(143 211 255 / 0.1), transparent 75%);
}
.lcd-story__layer img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}
.lcd-story__layer--photo img { max-height: 70vh; width: auto; }
.lcd-story__layer--model,
.lcd-story__loading,
.lcd-story__failed,
.lcd-story__rail,
.lcd-story__drag { display: none; }
.lcd-story__title {
  margin: 8px 0 24px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.lcd-story__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.lcd-story__step h3 { margin: 4px 0 8px; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.lcd-story__step p { margin: 0; color: var(--lcd-ink-soft); font-size: 1.05rem; line-height: 1.6; }
.lcd-story__num {
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--lcd-ice);
}
.lcd-story__typed {
  margin-top: 14px !important;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--lcd-surface-2);
  border: 1px solid var(--lcd-line);
  color: var(--lcd-ink) !important;
}
.lcd-story__typed span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lcd-ink-faint);
}
.lcd-story__print {
  display: block;
  margin-top: 16px;
  width: 160px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--lcd-line);
}
.lcd-story__end {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 88px;
}
.lcd-story__end a:not(.button) { color: var(--lcd-ink); text-underline-offset: 4px; }

/* live: pinned while the track scrolls past */
/* --lcd-view is the height of whatever scrolls - on Horizon that is
   .page-wrapper, not the window - measured by lcd-motion.js. */
.lcd-story.is-live .lcd-story__track {
  height: calc(var(--lcd-steps, 4) * var(--lcd-view, 100svh));
}
.lcd-story.is-live .lcd-story__stage {
  position: sticky;
  top: 0;
  height: var(--lcd-view, 100svh);
  padding-block: var(--lcd-top) 28px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  overflow: hidden;
}
.lcd-story.is-live .lcd-story__visual {
  display: block;
  min-height: 0;
  height: 100%;
}
.lcd-story.is-live .lcd-story__visual::after {
  /* the floor the piece stands over */
  content: "";
  position: absolute;
  inset: auto 18% 4% 18%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(143 211 255 / 0.16), transparent);
  pointer-events: none;
}
.lcd-story.is-live .lcd-story__layer {
  position: absolute;
  inset: 0;
  display: grid;
  background: none;
  opacity: 0;
  transform: scale(0.965);
  transition: opacity 500ms var(--lcd-ease-out), transform 700ms var(--lcd-ease-out);
}
.lcd-story.is-live .lcd-story__layer img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lcd-story.is-live .lcd-story__layer--model { display: grid; }
.lcd-story.is-live[data-active="0"] .lcd-story__layer--photo,
.lcd-story.is-live[data-active="1"] .lcd-story__layer--drawing,
.lcd-story.is-live.is-ready[data-active="2"] .lcd-story__layer--model,
.lcd-story.is-live.is-ready[data-active="3"] .lcd-story__layer--model {
  opacity: 1;
  transform: none;
}
/* Not decoded yet, or it never will be: the drawing stands in, dimmed while
   waiting and whole if the model failed. */
.lcd-story.is-live:not(.is-ready)[data-active="2"] .lcd-story__layer--drawing,
.lcd-story.is-live:not(.is-ready)[data-active="3"] .lcd-story__layer--drawing {
  opacity: 0.4;
  transform: none;
}
.lcd-story.is-live.is-failed[data-active="2"] .lcd-story__layer--drawing,
.lcd-story.is-live.is-failed[data-active="3"] .lcd-story__layer--drawing { opacity: 1; }
.lcd-story__canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}
.lcd-story__canvas:active { cursor: grabbing; }
.lcd-story.is-live.is-loading .lcd-story__loading,
.lcd-story.is-live.is-failed .lcd-story__failed {
  display: flex;
  position: absolute;
  inset-block-end: 6%;
  inset-inline: 0;
  margin: 0 auto;
  width: max-content;
  max-width: 90%;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(11 14 20 / 0.8);
  border: 1px solid var(--lcd-line);
  font-size: 0.875rem;
  color: var(--lcd-ink-soft);
}
.lcd-story.is-live .lcd-story__title { margin-bottom: 12px; font-size: clamp(1.25rem, 2.6vw, 2.2rem); }
.lcd-story.is-live .lcd-story__steps { position: relative; display: block; min-height: 12.5rem; }
.lcd-story.is-live .lcd-story__step {
  position: absolute;
  inset: 0 0 auto;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 400ms var(--lcd-ease-out), transform 600ms var(--lcd-ease-out);
  pointer-events: none;
}
.lcd-story.is-live .lcd-story__step[aria-current="step"] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.lcd-story.is-live .lcd-story__step p { font-size: 1rem; }
.lcd-story.is-live .lcd-story__typed { padding: 8px 12px; }
.lcd-story.is-live .lcd-story__drag { display: inline-flex; margin-top: 12px; transition: opacity 300ms; }
.lcd-story.is-touched .lcd-story__drag { opacity: 0; }
.lcd-story.is-live .lcd-story__rail {
  display: block;
  height: 2px;
  margin-top: 16px;
  border-radius: 2px;
  background: var(--lcd-line);
  overflow: hidden;
}
.lcd-story__rail span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--lcd-ice), #ffffff);
  transform-origin: left center;
  transform: scaleX(var(--lcd-p, 0));
}
@media (min-width: 990px) {
  .lcd-story.is-live .lcd-story__stage {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    column-gap: 56px;
  }
  .lcd-story.is-live .lcd-story__steps { min-height: 16rem; }
  .lcd-story.is-live .lcd-story__step p { font-size: 1.1rem; }
}
@media (max-width: 989px) {
  .lcd-story.is-live .lcd-story__typed { display: none; }
}

/* ---- how the home page piece was made (chat) ------------------------------ */
.lcd-made {
  max-width: 1100px;
  margin-inline: auto;
  padding: 72px 20px 40px;
  color: var(--lcd-ink);
}
.lcd-made__head { max-width: 680px; margin-bottom: 48px; }
.lcd-made__head h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.06;
}
.lcd-made__head p:last-child { margin: 0; color: var(--lcd-ink-soft); font-size: 1.1rem; }
.lcd-made__flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 48px;
}
.lcd-made__group { display: grid; gap: 14px; }
.lcd-made__label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lcd-ink);
}
.lcd-made__label span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-inline-end: 10px;
  border-radius: 50%;
  border: 1px solid var(--lcd-ice);
  color: var(--lcd-ice);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 990px) {
  .lcd-made__group {
    grid-template-columns: 280px minmax(0, 560px);
    column-gap: 56px;
    align-items: start;
  }
  .lcd-made__label { position: sticky; top: var(--lcd-top); padding-top: 10px; }
}
.lcd-chat { display: grid; gap: 8px; }
.lcd-bubble {
  max-width: min(88%, 440px);
  margin: 0;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 1rem;
  line-height: 1.5;
}
.lcd-bubble__who {
  display: block;
  margin-bottom: 2px;
  font-size: 0.75rem;
  color: var(--lcd-ink-faint);
}
.lcd-bubble--bot {
  justify-self: start;
  background: var(--lcd-surface-2);
  border: 1px solid var(--lcd-line);
  border-end-start-radius: 6px;
}
.lcd-bubble--you {
  justify-self: end;
  background: var(--lcd-you);
  color: #ffffff;
  border-end-end-radius: 6px;
}
.lcd-bubble--you .lcd-bubble__who { color: rgb(255 255 255 / 0.78); }
/* A bubble shrinks to its content, and an image sized to 100% of a
   shrink-wrapped box has nothing to be 100% of - the photo bubble collapsed to
   a sliver. Media bubbles get a width of their own. */
.lcd-bubble--media { width: min(88%, 380px); padding: 6px; }
.lcd-bubble--media .lcd-bubble__who { padding: 2px 8px 4px; }
.lcd-bubble img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
}
.lcd-bubble--drawing img { background: #f4f6f9; }
.lcd-menu {
  list-style: none;
  margin: 10px 0 2px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.lcd-menu li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--lcd-line);
  background: rgb(255 255 255 / 0.03);
  font-size: 0.95rem;
}
.lcd-menu b { color: var(--lcd-ice); font-variant-numeric: tabular-nums; }
.lcd-menu li[aria-current="true"] { border-color: var(--lcd-ice); background: var(--lcd-ice-soft); }
.lcd-menu__picked {
  margin-inline-start: auto;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--lcd-ice);
  color: #07121c;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.lcd-sides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.lcd-model-card {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-top: 8px;
  border-radius: 16px;
  border: 1px solid var(--lcd-line);
  background: radial-gradient(closest-side at 50% 55%, rgb(143 211 255 / 0.12), transparent 80%), var(--lcd-bg);
  overflow: hidden;
}
.lcd-model-card canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.lcd-model-card canvas:active { cursor: grabbing; }
.lcd-model-card canvas:focus-visible { outline: 2px solid var(--lcd-ice); outline-offset: -2px; }
.lcd-made__cta {
  display: flex;
  justify-content: center;
  padding: 56px 0 24px;
}

/* ---- policies ------------------------------------------------------------ */
.lcd-policies {
  max-width: 1100px;
  margin-inline: auto;
  padding: 64px 20px 96px;
  color: var(--lcd-ink);
}
.lcd-policies__head { max-width: 720px; margin-bottom: 40px; }
.lcd-policies__head h1 {
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.04;
}
.lcd-policies__head p:last-child { margin: 0; color: var(--lcd-ink-soft); font-size: 1.05rem; }
.lcd-policies__body { display: grid; gap: 28px; }
.lcd-policies__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lcd-policies__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--lcd-line);
  color: var(--lcd-ink-soft);
  text-decoration: none;
  transition: color 200ms, border-color 200ms, background-color 200ms;
}
.lcd-policies__nav a:hover { color: var(--lcd-ink); border-color: rgb(143 211 255 / 0.5); }
.lcd-policies__nav a[aria-current="true"] {
  color: var(--lcd-ink);
  border-color: var(--lcd-ice);
  background: var(--lcd-ice-soft);
}
.lcd-policies__list { display: grid; gap: 20px; }
.lcd-policy {
  scroll-margin-top: var(--lcd-top);
  padding: clamp(22px, 4vw, 44px);
  border-radius: var(--lcd-radius);
  border: 1px solid var(--lcd-line);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.01));
}
.lcd-policy h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.lcd-policy__body { max-width: 68ch; color: var(--lcd-ink-soft); font-size: 1rem; line-height: 1.75; }
.lcd-policy__body p { margin: 0 0 1em; }
.lcd-policy__body p:last-child { margin-bottom: 0; }
.lcd-policy__body a { color: var(--lcd-ice); }
@media (min-width: 990px) {
  .lcd-policies__body {
    grid-template-columns: 230px minmax(0, 1fr);
    column-gap: 56px;
    align-items: start;
  }
  .lcd-policies__nav { position: sticky; top: var(--lcd-top); }
  .lcd-policies__nav ul { flex-direction: column; }
}

/* ---- asked for less motion ---------------------------------------------- */
/* ---- the backdrop and the site chrome (owner, 2026-09-17) -----------------
 * After activetheory.net: every page scrolls over a fixed WebGL backdrop
 * (lcd-scene.js), with a glowing pill for navigation and monospace labels. */
:root {
  --lcd-nav-h: 76px;
  --lcd-top: calc(var(--lcd-nav-h) + 24px);
  --lcd-mono-stack: var(--lcd-mono, "Space Mono"), ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
body { background-color: #04060a; }
#lcd-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.page-wrapper { position: relative; z-index: 1; background: transparent; }
#MainContent { padding-top: var(--lcd-nav-h); }
#MainContent .section-background { background: transparent; }
html.lcd-no-scene body {
  background:
    radial-gradient(60% 50% at 100% 0%, rgb(20 90 115 / 0.45), transparent 70%),
    radial-gradient(55% 45% at 0% 100%, rgb(60 30 105 / 0.45), transparent 70%),
    #04060a;
  background-attachment: fixed;
}
.lcd-logo { display: block; overflow: visible; }
.lcd-mono {
  font-family: var(--lcd-mono-stack);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#lcd-ways,
.lcd-guide__card[id] { scroll-margin-top: var(--lcd-top); }

/* the pill, and the light that spills out under it - brighter while the page moves */
.lcd-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgb(143 211 255 / 0.24);
  background: linear-gradient(180deg, rgb(24 32 44 / 0.9), rgb(8 11 16 / 0.9));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 10px 30px rgb(0 0 0 / 0.45);
  font-family: var(--lcd-mono-stack);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lcd-ink);
  text-decoration: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lcd-pill::after {
  content: "";
  position: absolute;
  inset: auto 18% -9px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(95 214 247 / 0.6), transparent);
  opacity: calc(0.45 + var(--lcd-velocity, 0) * 0.55);
  filter: blur(3px);
  pointer-events: none;
}
.lcd-pill a {
  padding-block: 12px;
  color: var(--lcd-ink-soft);
  text-decoration: none;
  transition: color 200ms, text-shadow 200ms;
}
.lcd-pill a:hover,
.lcd-pill a[aria-current="page"] { color: #ffffff; text-shadow: 0 0 14px rgb(95 214 247 / 0.85); }
.lcd-pill a:focus-visible { outline: 2px solid var(--lcd-ice); outline-offset: 4px; border-radius: 4px; }
.lcd-pill__line {
  width: 34px;
  height: 1px;
  background: rgb(232 237 245 / 0.35);
  transform: scaleX(calc(1 + var(--lcd-velocity, 0) * 1.4));
  transition: transform 120ms linear;
}

/* header */
.lcd-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: var(--lcd-nav-h);
  padding-inline: clamp(16px, 3vw, 40px);
  background: linear-gradient(180deg, rgb(4 6 10 / 0.78), rgb(4 6 10 / 0));
}
.lcd-nav__brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lcd-ink);
  text-decoration: none;
}
.lcd-nav__mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
.lcd-nav__word {
  font-family: var(--font-heading--family, Montserrat, sans-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.lcd-nav__side { justify-self: end; display: flex; align-items: center; gap: 12px; }
.lcd-nav__lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--lcd-ink-soft);
  text-decoration: none;
}
.lcd-nav__lang:hover { color: #ffffff; }
.lcd-nav__start {
  border-color: transparent;
  background: linear-gradient(180deg, #a6e9fc, #5fd6f7);
  color: #06121a;
}
.lcd-nav__start::after { opacity: 0.85; }
@media (max-width: 749px) {
  :root { --lcd-nav-h: 112px; }
  .lcd-nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: 54px 48px;
    gap: 2px 8px;
    padding-top: 4px;
  }
  .lcd-nav__mark { width: 36px; height: 36px; }
  .lcd-nav__word { font-size: 1rem; }
  .lcd-nav__pill {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    gap: 10px;
    padding: 0 16px;
    font-size: 0.7rem;
  }
  .lcd-nav__pill .lcd-pill__line { width: 14px; }
  .lcd-nav__start { display: none; }
}

/* the home page's first screen: a clear stage over the pour and the ring */
.lcd-waterfall {
  position: relative;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--lcd-nav-h));
  padding: calc(var(--lcd-nav-h) + 16px) clamp(16px, 3vw, 40px) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 24px;
  color: var(--lcd-ink);
}
.lcd-waterfall__stage { position: absolute; inset: 0; z-index: 0; }
.lcd-waterfall__pitch,
.lcd-waterfall__menu,
.lcd-waterfall__scroll,
.lcd-waterfall__note { position: relative; z-index: 1; }
.lcd-waterfall__menu {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.lcd-waterfall__ask { margin: 0; color: var(--lcd-ink); }
.lcd-waterfall__menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lcd-waterfall__menu li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  text-decoration: none;
  transition: color 200ms, transform 200ms var(--lcd-ease-out);
}
/* one idea colour each - the shop prints anything */
.lcd-waterfall__menu li:nth-child(1) a { color: #ffd65a; }
.lcd-waterfall__menu li:nth-child(2) a { color: #ff7a86; }
.lcd-waterfall__menu li:nth-child(3) a { color: #7fa6ff; }
.lcd-waterfall__menu li:nth-child(4) a { color: #bb9bff; }
.lcd-waterfall__menu li:nth-child(5) a { color: #6ee6ab; }
.lcd-waterfall__menu li a:hover { color: #ffffff; transform: translateX(4px); }
.lcd-ask {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgb(95 214 247 / 0.45);
  background: rgb(8 18 26 / 0.55);
  color: #bfefff;
  font-family: var(--lcd-mono-stack);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 200ms, color 200ms;
}
.lcd-ask:hover { border-color: #bfefff; color: #ffffff; }
.lcd-waterfall__pitch {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  max-width: 460px;
  display: grid;
  gap: 12px;
  justify-items: end;
  text-align: right;
}
.lcd-waterfall__title {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.lcd-waterfall__text { margin: 0; color: var(--lcd-ink-soft); }
/* frames pass behind the words; a soft shadow keeps them readable */
.lcd-waterfall__pitch,
.lcd-waterfall__menu { text-shadow: 0 2px 18px rgb(2 3 6 / 0.9), 0 0 2px rgb(2 3 6 / 0.8); }
.lcd-waterfall__pitch .button,
.lcd-waterfall__menu .lcd-ask { text-shadow: none; }
.lcd-waterfall__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: flex-end;
}
.lcd-waterfall__how { color: var(--lcd-ink); text-decoration: none; }
.lcd-waterfall__how:hover { color: #ffffff; }
.lcd-waterfall__scroll {
  position: absolute;
  left: 50%;
  bottom: 14px;
  margin: 0;
  color: var(--lcd-ink-faint);
  transform: translateX(-50%);
  animation: lcd-bob 2.4s ease-in-out infinite;
}
@keyframes lcd-bob { 50% { transform: translate(-50%, 6px); } }
.lcd-waterfall__note { grid-column: 1 / -1; grid-row: 1; align-self: start; }
/* the pieces as buttons: out of sight until a keyboard reaches them */
.lcd-waterfall__pieces {
  position: absolute;
  z-index: 2;
  top: calc(var(--lcd-nav-h) + 8px);
  left: 16px;
}
.lcd-waterfall__pieces:not(:focus-within) {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.lcd-waterfall__pieces:focus-within {
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--lcd-line);
  background: rgb(6 9 14 / 0.92);
}
.lcd-waterfall__pieces p { margin: 0 0 8px; }
.lcd-waterfall__pieces ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lcd-waterfall__pieces button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--lcd-line);
  background: none;
  color: var(--lcd-ink);
  cursor: pointer;
}
@media (max-width: 989px) {
  /* The ring keeps the top of the screen; the words start below it. */
  .lcd-waterfall {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(calc(58svh - var(--lcd-nav-h)), 1fr) auto auto;
  }
  .lcd-waterfall__pitch {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    justify-items: start;
    text-align: left;
  }
  .lcd-waterfall__actions { justify-content: flex-start; }
  .lcd-waterfall__menu { grid-row: 3; }
  .lcd-waterfall__scroll { display: none; }
}

/* a frame, opened */
.lcd-lightbox {
  width: min(960px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  padding: 0;
  border: 1px solid var(--lcd-line);
  border-radius: 24px;
  background: rgb(6 9 14 / 0.94);
  color: var(--lcd-ink);
  overflow: auto;
}
.lcd-lightbox::backdrop {
  background: rgb(2 3 6 / 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lcd-lightbox[open] { animation: lcd-pop 260ms var(--lcd-ease-out); }
@keyframes lcd-pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.lcd-lightbox__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
.lcd-lightbox__stage {
  position: relative;
  aspect-ratio: 1;
  background: radial-gradient(closest-side at 50% 55%, rgb(95 214 247 / 0.14), transparent 80%), #05070b;
}
.lcd-lightbox__stage canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.lcd-lightbox__stage canvas:active { cursor: grabbing; }
.lcd-lightbox__stage canvas:focus-visible { outline: 2px solid var(--lcd-ice); outline-offset: -2px; }
.lcd-lightbox__info {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: clamp(20px, 4vw, 40px);
}
.lcd-lightbox__info h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.lcd-lightbox__info p { margin: 0; }
.lcd-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--lcd-line);
  background: rgb(6 9 14 / 0.8);
  color: var(--lcd-ink);
  cursor: pointer;
}
.lcd-lightbox__close svg { width: 18px; height: 18px; }
.lcd-lightbox__close:focus-visible { outline: 2px solid var(--lcd-ice); outline-offset: 2px; }
@media (max-width: 749px) {
  .lcd-lightbox__panel { grid-template-columns: minmax(0, 1fr); }
}

/* the rest of the page reads on dark glass over the backdrop */
.lcd-ways,
.lcd-examples,
.lcd-guide,
.lcd-credits,
.lcd-made,
.lcd-policies {
  box-sizing: border-box;
  width: min(calc(100% - 24px), var(--page-width, 1200px));
  margin: 24px auto;
  border: 1px solid var(--lcd-line);
  border-radius: 28px;
  background: rgb(6 9 14 / 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
}
.lcd-story.is-live .lcd-story__stage {
  background: linear-gradient(90deg, rgb(4 6 10 / 0.3), rgb(4 6 10 / 0.82));
}

/* the loading counter, on the first home page of a visit */
.lcd-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: #030406;
  transition: opacity 600ms ease, visibility 600ms;
}
html.lcd-loading .lcd-loader { display: grid; animation: lcd-loader-bail 400ms 8s forwards; }
.lcd-loader.is-done { opacity: 0; visibility: hidden; }
@keyframes lcd-loader-bail { to { opacity: 0; visibility: hidden; } }
.lcd-loader__inner { display: grid; justify-items: center; gap: 22px; }
.lcd-loader__mark {
  width: min(220px, 64vw);
  height: auto;
  display: block;
  opacity: 0;
  animation: lcd-fade 900ms 200ms forwards;
}
.lcd-loader .lcd-logo__faces { opacity: 0; animation: lcd-fade 900ms 700ms forwards; }
.lcd-loader .lcd-logo__edges path[pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: lcd-draw 1.4s var(--lcd-ease-out) forwards;
}
@keyframes lcd-draw { to { stroke-dashoffset: 0; } }
@keyframes lcd-fade { to { opacity: 1; } }
.lcd-loader__count {
  margin: 0;
  color: var(--lcd-ice);
  font-family: var(--lcd-mono-stack);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

/* ---- asked for less motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .lcd-js [data-lcd-reveal] { opacity: 1; transform: none; transition: none; animation: none; }
  .lcd-spinner { animation-duration: 3s; }
  .lcd-story__layer,
  .lcd-story__step { transition: none !important; }
  .lcd-waterfall__scroll,
  .lcd-lightbox[open] { animation: none; }
  .lcd-waterfall__menu li a { transition: none; }
  .lcd-loader .lcd-logo__faces,
  .lcd-loader__mark { animation: none; opacity: 1; }
  .lcd-loader .lcd-logo__edges path[pathLength] { animation: none; stroke-dashoffset: 0; }
}
