/* The compact front page (templates/funnel/front2.html, 2026-12-02). Kent asked for every part of the page in one
   screen, so one grid holds them all: the headline over the scene, the story, the sign-up card, the lifetime
   membership with its pore picker, and the MR1 and the films and reading as a band of short links. This file loads last and
   only reshapes: the looks (colours, the glass, the foil, the lattice headline, the holographic member card) stay in
   eqb/front.css, funnel/front/front.css and front2.css. Every rule here is scoped to .fx-compact (the page wrapper)
   or to the footer of the page that loads it.

   Wide screens (1200px and up): three columns (the headline and the story | sign up | the membership), with the MR1
   and the films and reading in one band under them; it all fits a 1440 x 800 window. 1000-1199px: two columns, with
   the membership and the band across the bottom. Phones: one column, in the same order. A signed-in player's badge
   (front.js adds is-player to #main and #join) takes the sign-up card's place at the top of the first column, and
   the story moves into the second. */

.eqbf-front.fx-compact {
  --fx-gap: clamp(8px, 1.3vh, 14px);
  --fx-pad: clamp(11px, 1.6vh, 16px);
  --fx-side: max(16px, env(safe-area-inset-left, 0px));
  --fx-r: 16px;
  --fx-glass: linear-gradient(165deg, rgba(22, 28, 48, .76), rgba(7, 9, 18, .88));
}
.eqbf-front.fx-compact [hidden] { display: none !important; }

/* ------------------------------------------------ the grid (phones first: one column) */
.eqbf-front.fx-compact main.page.fx-grid {
  max-width: 1360px; margin: 0 auto;
  padding: var(--fx-gap) var(--fx-side) var(--fx-gap);
  display: grid; gap: var(--fx-gap); align-items: start;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "hero" "story" "join" "member" "explore";
}
.eqbf-front.fx-compact main.page.fx-grid.has-sheet { grid-template-areas: "sheet" "hero" "story" "join" "member" "explore"; }
.eqbf-front.fx-compact .fx-grid > * { margin: 0; min-width: 0; }
.eqbf-front.fx-compact .fx-grid > .eqbf-player { grid-area: sheet; }
.eqbf-front.fx-compact .fx-grid > .hero { grid-area: hero; }
.eqbf-front.fx-compact .fx-grid > .story { grid-area: story; }
.eqbf-front.fx-compact .fx-grid > .card-wrap { grid-area: join; }
.eqbf-front.fx-compact .fx-grid > .fx-member { grid-area: member; }
.eqbf-front.fx-compact .fx-grid > .fx-explore { grid-area: explore; }
.eqbf-front.fx-compact main.page.fx-grid.is-player { grid-template-areas: "join" "hero" "story" "member" "explore"; }
.eqbf-front.fx-compact main.page.fx-grid.is-player.has-sheet { grid-template-areas: "sheet" "join" "hero" "story" "member" "explore"; }

/* the glass every panel shares */
.eqbf-front.fx-compact .story, .eqbf-front.fx-compact .fx-member, .eqbf-front.fx-compact .fx-group {
  position: relative; border-radius: var(--fx-r); background: var(--fx-glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(190, 205, 255, .13), 0 40px 80px -50px rgba(0, 0, 0, .9);
}

.eqbf-front.fx-compact .eqbf-banner { max-width: 1328px; margin: 10px auto 0; padding: 8px 14px; font-size: 14px; }

/* ------------------------------------------------ the headline over the scene (pore.js fits the lattice to #head's
   width and centres the pore on #stage) */
.eqbf-front.fx-compact .hero {
  min-height: 0; padding: 0; display: grid; align-content: start; text-shadow: 0 2px 22px rgba(0, 0, 0, .65);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "top" "head" "stage" "lede" "cta";
}
/* the kicker, on its own line over the headline (the live-call button beside it left on 2026-12-03) */
.eqbf-front.fx-compact .fx-top {
  grid-area: top; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px;
  margin: 0 0 8px;
}
.eqbf-front.fx-compact .kicker { flex: 1 1 200px; margin: 0; font-size: 10.5px; }
.eqbf-front.fx-compact .head { grid-area: head; justify-self: start; width: 100%; }
.eqbf-front.fx-compact .stage { grid-area: stage; flex: none; min-height: 130px; }
.eqbf-front.fx-compact .lede { grid-area: lede; margin: 4px 0 0; font-size: clamp(22px, 6.4vw, 28px); line-height: 1.1; }
/* the line runs under the pore's glow now, so a dark halo keeps its gold letters readable over the bright middle */
.eqbf-front.fx-compact .lede {
  text-shadow: 0 0 2px rgba(3, 5, 12, .95), 0 0 7px rgba(3, 5, 12, .9), 0 0 16px rgba(3, 5, 12, .75), 0 0 30px rgba(255, 184, 77, .22);
}
.eqbf-front.fx-compact .cta { grid-area: cta; margin-top: 12px; padding: 13px 18px; font-size: 19px; border-radius: 14px; }
/* (phones and tablets) kit.css's link colour, .eqbf-body a, outranked this button's dark letters, so they all but
   vanished on its light foil */
.eqbf-front.fx-compact .cta { color: #05060c; }

/* ------------------------------------------------ the story, opened by the caption that used to sit under the scene */
.eqbf-front.fx-compact .story { padding: var(--fx-pad) clamp(14px, 1.4vw, 18px); text-shadow: none; }
.eqbf-front.fx-compact .story::before { display: none; }
.eqbf-front.fx-compact .story p {
  max-width: none; margin: 0 0 .45em; font: 400 14px/1.42 var(--serif); color: var(--soft); text-shadow: none;
}
.eqbf-front.fx-compact .story .caption {
  display: flex; margin: 0 0 9px; padding: 0 0 9px; max-width: none; border-radius: 0; background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid rgba(255, 255, 255, .07);
  font: 400 10.5px/1.5 var(--mono); color: var(--dim);
}
.eqbf-front.fx-compact .story .caption .cant-solve { font-size: 1.14em; }
.eqbf-front.fx-compact .story-long { display: flex; flex-wrap: wrap; gap: 2px 14px; padding: 2px 0 0; }
.eqbf-front.fx-compact .story-long a { font-size: 10.5px; line-height: 1.6; }

/* ------------------------------------------------ sign up: the same glass card, tighter */
.eqbf-front.fx-compact .card-wrap { position: static; padding-top: 0; scroll-margin-top: 10px; }
.eqbf-front.fx-compact .card { padding: var(--fx-pad) clamp(13px, 1.2vw, 16px); border-radius: 18px; }
.eqbf-front.fx-compact .card-top { margin-bottom: 9px; padding-bottom: 8px; font-size: 9.5px; }
.eqbf-front.fx-compact #form { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: center; }
.eqbf-front.fx-compact #form > * { grid-column: 1 / -1; }
.eqbf-front.fx-compact #form > h2 { grid-column: 1; }
.eqbf-front.fx-compact #form > .how { grid-column: 2; display: grid; gap: 3px; margin: 0; }
.eqbf-front.fx-compact .card h2 { font-size: clamp(30px, 2.4vw, 36px); }
.eqbf-front.fx-compact .card .how { margin: 7px 0 10px; gap: 4px 12px; font-size: 10.5px; }
.eqbf-front.fx-compact .card .how li { white-space: nowrap; }
.eqbf-front.fx-compact .card .how b { width: 15px; height: 15px; font-size: 8.5px; }
.eqbf-front.fx-compact #form > .field:first-of-type { margin-top: 10px; }
.eqbf-front.fx-compact .card .field { margin: 0 0 8px; }
.eqbf-front.fx-compact .card .field > span, .eqbf-front.fx-compact .card .field legend > span { margin-bottom: 4px; font-size: 10px; }
.eqbf-front.fx-compact .card .field legend { margin-bottom: 4px; }
.eqbf-front.fx-compact .card .field input { padding: 6px 10px; font-size: 14.5px; border-radius: 9px; }
.eqbf-front.fx-compact .card .field input.word { font-size: 14px; }
.eqbf-front.fx-compact .card .chips { gap: 4px; margin-bottom: 5px; }
.eqbf-front.fx-compact .card .chip { min-height: 26px; padding: 4px 5px; font-size: 10px; }
.eqbf-front.fx-compact .card .go { margin-top: 2px; min-height: 42px; padding: 10px 16px; font-size: 18px; border-radius: 12px; }
.eqbf-front.fx-compact .card .err { margin-top: 0; font-size: 12.5px; }
.eqbf-front.fx-compact .card .err:not(:empty) { margin-top: 6px; }
.eqbf-front.fx-compact .card .fine { margin-top: 7px; font-size: 10.5px; line-height: 1.45; }
.eqbf-front.fx-compact .card .badge { margin-bottom: 10px; }
.eqbf-front.fx-compact .card .big { margin-top: 8px; font-size: 15px; line-height: 1.45; }
.eqbf-front.fx-compact .card .row { margin-top: 12px; gap: 8px; }
.eqbf-front.fx-compact .card .ghost { min-height: 38px; padding: 9px 13px; font-size: 12px; }
.eqbf-front.fx-compact .fx-jump { margin-top: 8px; padding: 10px 14px; font-size: .76rem; border-radius: 12px; }

/* a signed-in player: the small dark badge (front2.css draws it) */
.eqbf-front.fx-compact .card-wrap.is-player { display: block; padding-top: 0; }
.eqbf-front.fx-compact .card-wrap.is-player .fx-jump { display: none; }
.eqbf-front.fx-compact .pb { max-width: 380px; }

/* the character sheet of a player who made one: a slim strip (eqb.css draws the paper) */
.eqbf-front.fx-compact .eqbf-player { max-width: none; margin: 0; padding: 0; font-size: 15px; }
.eqbf-front.fx-compact .eqbf-player .sheet { margin: 0; padding: 10px 14px; }
.eqbf-front.fx-compact .eqbf-player .sheet .top { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
.eqbf-front.fx-compact .eqbf-player .sigil { width: 64px; height: 64px; margin: 0; }
.eqbf-front.fx-compact .eqbf-player .sheet .label { font-size: 9.5px; }
.eqbf-front.fx-compact .eqbf-player .sheet .name { margin: 2px 0 3px; font-size: 26px; }
.eqbf-front.fx-compact .eqbf-player .sheet .epithet { margin: 0 0 5px; font-size: 14px; }
.eqbf-front.fx-compact .eqbf-player .sheet .classes span { padding: 3px 7px 2px; font-size: 13px; }
.eqbf-front.fx-compact .eqbf-player .sheet dl { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 6px 0 0; font-size: 13px; }
.eqbf-front.fx-compact .eqbf-player .sheet dt { font-size: 10px; line-height: 1.9; }
.eqbf-front.fx-compact .eqbf-player .sheet dd { margin: 0 8px 0 0; }

/* ------------------------------------------------ the lifetime membership */
.eqbf-front.fx-compact .fx-member {
  container: member / inline-size; padding: var(--fx-pad) clamp(13px, 1.2vw, 18px);
  box-shadow: inset 0 0 0 1px rgba(255, 184, 77, .3), 0 40px 80px -50px rgba(0, 0, 0, .9);
}
.eqbf-front.fx-compact .fx-member .eqbf-drive { margin: 0 0 6px; font-size: 10px; gap: .7rem; }
.eqbf-front.fx-compact .fx-offer-title { font-size: clamp(24px, 1.95vw, 30px); line-height: .95; white-space: nowrap; }
.eqbf-front.fx-compact .fx-member-top {
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 10px 14px; align-items: start; margin-top: 10px;
}
.eqbf-front.fx-compact .fx-items { margin: 0; padding-left: 1.05em; gap: 3px; font: 400 12.5px/1.36 var(--sans); }

/* the holographic card, drawn to the size of its column: its type is in container units (cqw, a hundredth of the
   card's width), so a 170px card reads the way the 600px one did */
.eqbf-front.fx-compact .fx-member-card { container-type: inline-size; gap: 5px; justify-items: stretch; }
.eqbf-front.fx-compact .fx-card { max-width: none; padding: 9px; border-radius: 11px; padding: 5.5cqw; border-radius: 6cqw; }
.eqbf-front.fx-compact .fx-card-org { font-size: 6.5px; font-size: 3.7cqw; letter-spacing: .12em; }
.eqbf-front.fx-compact .fx-card-mark { padding: 2px 4px; font-size: 5.5px; padding: 1.4cqw 2.2cqw; border-radius: 1.8cqw; font-size: 3.3cqw; letter-spacing: .1em; }
.eqbf-front.fx-compact .fx-card-name { left: 9px; bottom: 25px; font-size: 13px; left: 5.5cqw; bottom: 14cqw; font-size: 7.8cqw; }
.eqbf-front.fx-compact .fx-card-for { left: 9px; bottom: 17px; font-size: 6.5px; left: 5.5cqw; bottom: 9.5cqw; font-size: 3.8cqw; }
.eqbf-front.fx-compact .fx-card-foot { left: 9px; right: 9px; bottom: 9px; gap: 5px; font-size: 6.5px; left: 5.5cqw; right: 5.5cqw; bottom: 5cqw; gap: 3cqw; font-size: 3.8cqw; }
.eqbf-front.fx-compact .fx-window { box-shadow: inset 0 0 0 1px rgba(94, 240, 255, .5), 0 0 0 3px rgba(4, 10, 18, .55), 0 0 22px rgba(94, 240, 255, .28), inset 0 0 18px rgba(0, 0, 0, .9); }
.eqbf-front.fx-compact .fx-window-empty { font-size: 6.5px; font-size: 3.7cqw; }
.eqbf-front.fx-compact .fx-window-scale { font-size: 6.5px; font-size: 3.7cqw; }
.eqbf-front.fx-compact .fx-card-cap { max-width: none; min-height: 0; font-size: 10px; line-height: 1.4; }

/* the pore picker: two rows of chips, scrolling sideways if a size has more */
.eqbf-front.fx-compact .fx-picker { margin-top: 8px; padding: 8px 11px 6px; border-radius: 12px; }
.eqbf-front.fx-compact .fx-picker-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
.eqbf-front.fx-compact .fx-picker-h { font-size: 13px; }
.eqbf-front.fx-compact .fx-picker-more { margin: 0; font: 500 10.5px/1.4 var(--sans); }
.eqbf-front.fx-compact .fx-picker-p { max-width: none; margin: 3px 0 7px; font-size: 11.5px; line-height: 1.42; }
.eqbf-front.fx-compact .fx-sizes { gap: 4px; margin-bottom: 7px; }
.eqbf-front.fx-compact .fx-size { padding: 4px 7px; font-size: 10.5px; }
.eqbf-front.fx-compact .fx-chips {
  grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 40px;
  gap: 5px 6px; justify-content: start; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin;
  padding: 3px 3px 4px;
}
.eqbf-front.fx-compact .fx-chip { gap: 2px; font-size: 9px; }
.eqbf-front.fx-compact .fx-chip-lens { width: 34px; height: 34px; }
.eqbf-front.fx-compact .fx-chip[aria-selected="true"] .fx-chip-lens { box-shadow: 0 0 0 2px var(--cy), 0 0 14px rgba(94, 240, 255, .75); }

.eqbf-front.fx-compact .eqbf-founding { margin: 8px 0 0; font-size: 13px; }
.eqbf-front.fx-compact .fx-actions { margin: 8px 0 0; gap: 4px 12px; flex-wrap: wrap; }
.eqbf-front.fx-compact .eqbf-actions .eqbf-btn { min-height: 40px; padding: 9px 13px; border-radius: 11px; font-size: 14px; }
.eqbf-front.fx-compact .eqbf-free-link { min-height: 32px; padding: 4px 0; font-size: 12px; }
.eqbf-front.fx-compact .eqbf-member-line, .eqbf-front.fx-compact .eqbf-cancelled { margin: 8px 0 0; font-size: 13px; }

/* ------------------------------------------------ the MR1, the films and the reading: one line each */
.eqbf-front.fx-compact .fx-explore { display: grid; gap: var(--fx-gap); grid-template-columns: minmax(0, 1fr); }
.eqbf-front.fx-compact .fx-group { display: flex; flex-direction: column; gap: 4px; padding: 9px clamp(13px, 1.2vw, 18px) 8px; }
.eqbf-front.fx-compact .fx-group-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.eqbf-front.fx-compact .fx-eyebrow { margin: 0; font-size: 10px; letter-spacing: .16em; }
.eqbf-front.fx-compact .fx-h { font-size: 15px; font-stretch: 82%; line-height: 1.15; letter-spacing: .02em; }
.eqbf-front.fx-compact .fx-lede { max-width: none; margin: 0; font: 400 12px/1.42 var(--sans); color: var(--soft); }
.eqbf-front.fx-compact .fx-tiles { margin: 0; display: grid; gap: 0 22px; grid-template-columns: minmax(0, 1fr); }
.eqbf-front.fx-compact .fx-tile {
  display: block; padding: 1px 0; border-radius: 0; background: none; box-shadow: none; transform: none;
  font: 400 12px/1.35 var(--sans); color: var(--dim);
}
.eqbf-front.fx-compact .fx-tile::before { display: none; }
.eqbf-front.fx-compact .fx-tile b { margin-right: .45em; font: 700 12.5px/1.35 var(--sans); font-stretch: 88%; color: var(--bone); }
.eqbf-front.fx-compact .fx-tile span { font: inherit; color: inherit; }
.eqbf-front.fx-compact .fx-tile:hover, .eqbf-front.fx-compact .fx-tile:focus-visible { transform: none; box-shadow: none; color: var(--soft); }
.eqbf-front.fx-compact .fx-tile:hover b, .eqbf-front.fx-compact .fx-tile:focus-visible b { color: var(--cy); }

/* ------------------------------------------------ the footer: one line on a wide screen */
.eqbf-body .foot {
  max-width: 1360px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px;
  padding: 0 max(16px, env(safe-area-inset-left, 0px)) max(10px, env(safe-area-inset-bottom));
  font: 400 10px/1.5 var(--sans);
}
.eqbf-body .foot::before { display: none; }
.eqbf-body .foot p { margin: 0; max-width: none; }
.eqbf-body .foot .links { gap: 2px 12px; align-items: baseline; }
.eqbf-body .foot .eqbf-motion { min-height: 24px; padding: 2px 9px; font-size: 10px; line-height: 1.2; }

/* the scene's cursor (a ring pore.js draws behind the page) shows only over the scene: over the panels the
   ordinary pointer comes back */
html.molcursor .fx-compact .story, html.molcursor .fx-compact .story .caption, html.molcursor .fx-compact .card-wrap,
html.molcursor .fx-compact .fx-member, html.molcursor .fx-compact .fx-explore, html.molcursor .fx-compact .eqbf-player,
html.molcursor .eqbf-body .foot, html.molcursor .eqbf-body .foot p { cursor: auto; }

/* ------------------------------------------------ 600px and up: the pore beside the headline */
@media (min-width: 600px) {
  .eqbf-front.fx-compact .fx-tiles-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eqbf-front.fx-compact .hero {
    container-type: inline-size;
    grid-template-columns: auto minmax(0, 1fr); column-gap: 10px;
    grid-template-areas: "top top" "head stage" "lede lede" "cta cta";
  }
  .eqbf-front.fx-compact .head { width: 290px; width: 54cqw; }
  .eqbf-front.fx-compact .lede { font-size: clamp(21px, 1.7vw, 26px); }
  .eqbf-front.fx-compact .stage { min-height: 0; align-self: stretch; }
}
/* a narrow headline column keeps the kicker on one line */
@container (max-width: 470px) { .eqbf-front.fx-compact .kicker { letter-spacing: .11em; } }

/* ------------------------------------------------ 1000px and up: two columns */
@media (min-width: 1000px) {
  .eqbf-front.fx-compact main.page.fx-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
    grid-template-areas: "hero join" "story join" "member member" "explore explore";
  }
  .eqbf-front.fx-compact main.page.fx-grid.has-sheet { grid-template-areas: "sheet join" "hero join" "story join" "member member" "explore explore"; }
  .eqbf-front.fx-compact main.page.fx-grid.is-player { grid-template-areas: "join join" "hero story" "member member" "explore explore"; }
  .eqbf-front.fx-compact main.page.fx-grid.is-player.has-sheet { grid-template-areas: "sheet join" "hero story" "member member" "explore explore"; }
  .eqbf-front.fx-compact .fx-grid > .story { align-self: stretch; }
  .eqbf-front.fx-compact .fx-jump { display: none; }
  .eqbf-front.fx-compact .fx-explore { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
}

/* the membership across the whole page (two columns of its own) */
@container member (min-width: 760px) {
  .fx-member-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 22px; align-items: start; }
  .fx-member-body > * { grid-column: 1; }
  .fx-member-body > .fx-picker { grid-column: 2; grid-row: 1 / span 8; margin-top: 0; }
}

/* ------------------------------------------------ 1200px and up: three columns, the band under them */
@media (min-width: 1200px) {
  .eqbf-front.fx-compact main.page.fx-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr) minmax(440px, 1.05fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "hero    join    member"
      "story   join    member"
      "explore explore explore";
  }
  .eqbf-front.fx-compact main.page.fx-grid.has-sheet {
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "sheet   join    member"
      "hero    join    member"
      "story   join    member"
      "explore explore explore";
  }
  .eqbf-front.fx-compact main.page.fx-grid.is-player {
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "join    story   member"
      "hero    story   member"
      ".       story   member"
      "explore explore explore";
  }
  .eqbf-front.fx-compact main.page.fx-grid.is-player.has-sheet {
    grid-template-areas:
      "join    story   member"
      "sheet   story   member"
      "hero    story   member"
      "explore explore explore";
  }
  .eqbf-front.fx-compact .fx-grid > .card-wrap:not(.is-player), .eqbf-front.fx-compact .fx-grid > .fx-member { align-self: stretch; }
  .eqbf-front.fx-compact .card-wrap:not(.is-player) .card { height: 100%; }
}

/* ------------------------------------------------ small phones */
@media (max-width: 420px) {
  .eqbf-front.fx-compact .fx-member-top { grid-template-columns: minmax(0, 1fr); }
  .eqbf-front.fx-compact .fx-member-card { max-width: 300px; }
}
