/* ==========================================================================
   funnel.css - the lead funnel below the VSL stage, and the sections after it
   (v5 2026-11-14; on the homepage since v4, the lab page loads this same file)

   v5: the steps stay in the middle of the screen for a while (.fe-steps-pin);
   phones: the funnel starts under the stage's Apply button (.fe-under-stage),
   compact trust cards that show together, "More" buttons for the long texts
   (.fe-acc, set up by funnel.js); the testimonials pop once and stay.

   A coral wireframe funnel with a long thin neck runs down the middle of the
   section; the coral leads fall into it and run down inside the neck (funnel.js
   draws it). The copy comes in "beats", in the middle of the screen:
     1. the intro card (left) and the promise (right), whose middle hangs on the
        bottom edge of the intro card
     2. why you can trust me: $1.5M and 2.4M on the left, the retention graph on
        the right, centred between them; all three leave within 0.1 s
     (1 and 2 share .fe-story-layer, a sticky layer the height of the screen
     under the header; funnel.js ties them to the scroll)
     3. the three steps: the heading card sits right on top of the steps, the
        neck runs into it and the leads branch out of it into the steps
   Phones and tablets: one column in front of the funnel (the trust cards in two
   columns from 700 px; on phones one at a time, .fe-trio.is-solo).

   After the funnel: Fit fades in, the testimonials pop up on FE gold, the
   consultation offer, the FAQ (an accordion), all of them backwards again when you
   scroll back up. The results disclaimer is in the footer.

   Without JS, or with "reduce motion", everything is simply there (no canvas,
   no fades). html.fe-funnel-on (set in <head>, removed by a failsafe if
   funnel.js never runs) switches on the canvas and the motion.
   ========================================================================== */

/* the same ground as the stage above, no rule, no glow at the seam. Phones and tablets: the top of the section
   reaches up under the stage (funnel.js, --fe-overlap), and the stage shows through there */
.fe-funnel {
  position: relative;
  background: linear-gradient(to bottom, transparent var(--fe-overlap, 0px), var(--ink) var(--fe-overlap, 0px));
  overflow-x: clip; /* the cards slide in from the sides */
}
.fe-funnel-canvas { display: none; }

.fe-funnel-body {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 8vw, 6rem);
  display: grid;
  gap: clamp(2.75rem, 9vw, 4.5rem);
}
.fe-beat, .fe-steps { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.fe-story, .fe-story-layer { display: grid; gap: clamp(2.75rem, 9vw, 4.5rem); min-width: 0; }
.fe-funnel-tip, .fe-funnel-out { height: 0; }

/* ---------------------------------------------------------------- cards */

.fe-card {
  position: relative;
  border-radius: 12px;
  padding: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  background: linear-gradient(180deg, rgba(30, 30, 33, 0.95), rgba(20, 20, 22, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--paper);
  line-height: 1.55;
}
.fe-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(var(--glow), 0.65);
  box-shadow: 0 0 30px rgba(var(--glow), 0.3), inset 0 0 16px rgba(var(--glow), 0.1);
  opacity: 0;
  pointer-events: none;
}

/* the homepage blocks inside a card lose their own boxes: the card is the box */
.fe-card > .pt, .fe-card > .step, .fe-card > .section-head {
  background: none; border: 0; border-radius: 0; padding: 0; margin: 0; box-shadow: none;
}

/* beat 1: who it is for, the question, three proof chips */
.fe-card--intro .eyebrow { color: var(--red-bright); font-size: 0.66rem; line-height: 1.6; }
.fe-q {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.fe-card--intro .hero-meta { margin-top: 1.4rem; padding-top: 0; border-top: 0; display: grid; gap: 0.5rem; font-size: 0.68rem; }
.fe-card--intro .hero-meta span {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--surface-2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper);
  white-space: normal;
}
.fe-card--intro .hero-meta span::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-bright); box-shadow: 0 0 10px rgba(var(--glow), 0.9);
}
/* beat 2: the promise */
.fe-card--statement .statement { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); max-width: none; line-height: 1.18; }

/* beat 3: section label ("01 Why you can trust me") and the proof cards */
/* the label floats over the funnel's particles: a slim card in the cards' look keeps it readable (Jonas 2026-11-16;
   an outline was tried first and was the only outlined text on the page) */
.fe-label .eyebrow {
  color: var(--red-bright);
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(30, 30, 33, 0.95), rgba(20, 20, 22, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.fe-label .eyebrow::after { display: none; }
.fe-label .eyebrow::before { color: var(--red-bright); }
.fe-card--proof .pt { display: block; }
.fe-card--proof .pt .kicker { margin-bottom: 0.7rem; }
.fe-card--proof .pt .big { font-size: clamp(2.3rem, 1.8rem + 1.8vw, 3.2rem); }
.fe-card--proof .pt .claim { margin-top: 0.7rem; }
.fe-card--proof .pt .foot { margin-top: 0; padding-top: 0.8rem; color: var(--red-bright); opacity: 0.85; }

/* beat 4: the heading card and the steps */
.fe-card--title h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); max-width: 18ch; margin-top: 0.8rem; }
.fe-card--title .eyebrow, .fe-card--title .eyebrow::before { color: var(--red-bright); }
.fe-card--step .step h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); }
.fe-card--step .step p { font-size: 0.95rem; }

/* the Deep-Dive button under the three steps (Jonas 2026-11-15) */
.fe-steps-cta { display: flex; justify-content: center; margin-top: 1.5rem; position: relative; z-index: 2; }

/* ---------------------------------------------------------------- "More" (funnel.js adds the button)
   Phones: every trust card and step has one, the long text waits behind it. From 700 px the text always
   shows and only the retention card keeps its button: the graph shows when that card is open. */

@keyframes fe-more-lava {
  0%, 100% { border-color: #000; }
  50% { border-color: var(--red); }
}
.fe-more-btn { display: none; }
.fe-acc .fe-more-btn {
    position: relative;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.55rem 0.32rem 0.7rem;
    border: 1px solid var(--surface-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--paper);
    font: 600 0.6rem/1 var(--mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.fe-acc .fe-more-btn::before { content: ""; position: absolute; inset: -12px -10px; } /* a thumb-sized target */
.fe-acc .fe-more-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.fe-more-ic { position: relative; width: 9px; height: 9px; flex: none; }
.fe-more-ic::before, .fe-more-ic::after {
  content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 1.5px; background: var(--red-bright);
  transition: rotate 0.3s var(--ease);
}
.fe-more-ic::after { rotate: 90deg; }
/* people overlooked the buttons (Jonas 2026-11-16): the outline breathes slowly, black to coral and back */
.fe-acc:not(.is-open) .fe-more-btn { border-color: #000; animation: fe-more-lava 3.4s ease-in-out infinite; }
.fe-card--step:nth-child(2) .fe-more-btn { animation-delay: -1.1s; }
.fe-card--step:nth-child(3) .fe-more-btn { animation-delay: -2.2s; }
.fe-trio-b .fe-more-btn { animation-delay: -1.7s; }
.fe-trio-c .fe-more-btn { animation-delay: -0.8s; }
.fe-acc.is-open .fe-more-btn { border-color: var(--red); background: rgba(var(--glow), 0.12); }
.fe-acc.is-open .fe-more-ic::after { rotate: 0deg; }
/* the retention graph: only while its card is open (every width) */
.fe-trio-c:not(.is-open) .pt > .shot, .fe-trio-c:not(.is-open) .pt > .pending-note { display: none; }
@media (max-width: 699.98px) {
  .fe-acc .fe-more-btn { display: inline-flex; }
  .fe-acc .fe-more-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
  .fe-acc.is-open .fe-more-body { grid-template-rows: 1fr; }
  .fe-more-in { min-height: 0; overflow: hidden; }
  .fe-acc:not(.is-open) .fe-more-in { visibility: hidden; transition: visibility 0s linear 0.35s; }
  .fe-measuring .fe-acc .fe-more-body { display: none; } /* funnel.js lays the page out with every "More" closed */

  /* the steps: the button on the line of "STEP 01 · Analyse", the text under the heading */
  .fe-acc .step { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 0.75rem; }
  .fe-acc .step > * { grid-column: 1 / -1; }
  .fe-acc .step > .num { grid-column: 1; grid-row: 1; }
  .fe-acc .step > .fe-more-btn { grid-column: 2; grid-row: 1; }
  .fe-acc .step > h3 { margin-top: 0.55rem; }
  .fe-card--title, .fe-card--step { padding: 1rem 1.1rem; }
  .fe-beat--steps > .fe-funnel-tip[data-at="narrow"] { margin-top: -1rem; } /* no empty gap under the last step */

  /* the trust cards, compact so the three fit on one screen: kicker + "More" on top, the number beside its claim */
  .fe-trio { gap: 0.7rem; }
  .fe-trio .fe-label .eyebrow { margin: 0; }
  .fe-trio .fe-card { padding: 0.9rem 1rem; }
  .fe-acc .pt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 0.85rem; }
  .fe-acc .pt > * { grid-column: 1 / -1; }
  .fe-acc .pt > .kicker { grid-column: 1 / 3; grid-row: 1; margin: 0; }
  .fe-acc .pt > .fe-more-btn { grid-column: 3; grid-row: 1; }
  .fe-acc .pt > .big { grid-column: 1; grid-row: 2; margin-top: 0.55rem; font-size: 2.15rem; }
  .fe-acc .pt > .big + .claim { grid-column: 2 / -1; grid-row: 2; margin-top: 0.55rem; font-size: 0.95rem; line-height: 1.3; }
  .fe-acc .pt > .shot, .fe-acc .pt > .pending-note { margin-top: 0.65rem; order: 1; }
  .fe-acc .pt > .fe-more-body { order: 2; }
  .fe-acc .pt > .claim { margin-top: 0.6rem !important; font-size: 0.95rem; line-height: 1.3; } /* the retention card sets 1.1rem inline */
  .fe-acc .pt > .fe-more-body p { margin-top: 0.6rem; font-size: 0.88rem; }
}

/* ---------------------------------------------------------------- wide: two columns beside the neck */

@media (min-width: 900px) {
  .fe-funnel-body { --fe-mid: clamp(130px, 12vw, 180px); }
  /* beat 1: the intro on the left; the promise on the right, level with the bottom of the intro card
     (with funnel.js its middle hangs on that edge, see below) */
  .fe-duo { grid-template-columns: 1fr var(--fe-mid) 1fr; column-gap: 0; }
  .fe-duo > .fe-card--intro { grid-column: 1; grid-row: 1; }
  .fe-duo > .fe-card--statement { grid-column: 3; grid-row: 1; align-self: end; }

  .fe-trio { grid-template-columns: 1fr var(--fe-mid) 1fr; column-gap: 0; row-gap: 1.25rem; }
  .fe-trio-label { grid-column: 1; grid-row: 1; }
  .fe-trio-a { grid-column: 1; grid-row: 2; }
  .fe-trio-b { grid-column: 1; grid-row: 3; }
  .fe-trio-c { grid-column: 3; grid-row: 2 / 4; align-self: center; } /* centred between the two on the left */
  /* the retention card: kicker, 28 %, claim, text, then "More" and (open) the graph */
  .fe-trio-c.fe-acc .pt { display: flex; flex-direction: column; align-items: flex-start; }
  .fe-trio-c.fe-acc .pt > * { align-self: stretch; }
  .fe-trio-c.fe-acc .pt > .fe-more-btn { display: inline-flex; order: 10; align-self: flex-start; margin-top: 0.9rem; }
  .fe-trio-c.fe-acc .pt > .shot, .fe-trio-c.fe-acc .pt > .pending-note { order: 11; margin-top: 0.9rem; }
  /* compact enough that label + both left cards fit one laptop screen (768 px) together with the graph */
  .fe-trio .fe-card { padding: 1.2rem 1.4rem; }
  .fe-trio .fe-card--proof .pt .big { font-size: clamp(2.1rem, 1.6rem + 1.3vw, 2.8rem); }
  .fe-trio .fe-card--proof .pt .kicker { margin-bottom: 0.55rem; }
  .fe-trio .fe-card--proof .pt .claim { margin-top: 0.5rem; }
  .fe-trio .fe-card--proof .pt p { margin-top: 0.4rem; font-size: 0.86rem; line-height: 1.5; }
  .fe-trio .fe-card--proof .pt .foot { padding-top: 0.65rem; }

  /* the heading sits on top of the steps, centred on the neck: the funnel runs into it */
  .fe-card--title { width: min(100%, 36rem); justify-self: center; text-align: center; }
  .fe-card--title .eyebrow { justify-content: center; }
  .fe-card--title .eyebrow::after { display: none; }
  .fe-card--title h2 { margin-inline: auto; }
  .fe-steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(3.5rem, 6vw, 5rem); }
  .fe-funnel-tip[data-at="narrow"] { display: none; }
}
@media (min-width: 700px) and (max-width: 899.98px) {
  /* tablets: the three trust cards fit on one screen in two columns */
  .fe-trio { grid-template-columns: 1fr 1fr; column-gap: 1rem; max-width: 760px; width: 100%; margin-inline: auto; }
  .fe-trio-label { grid-column: 1 / 3; grid-row: 1; }
  .fe-trio-a { grid-column: 1; grid-row: 2; }
  .fe-trio-b { grid-column: 1; grid-row: 3; }
  .fe-trio-c { grid-column: 2; grid-row: 2 / 4; align-self: center; }
}
@media (max-width: 899.98px) {
  .fe-funnel-tip[data-at="wide"], .fe-funnel-out { display: none; }
  .fe-beat:not(.fe-trio) > *, .fe-steps { max-width: 560px; width: 100%; margin-inline: auto; }
  .fe-steps { display: grid; gap: 1rem; }
}
@media (max-width: 699.98px) {
  .fe-trio > * { max-width: 560px; width: 100%; margin-inline: auto; }
}

/* ---------------------------------------------------------------- with funnel.js: the canvas and the motion */

html.fe-funnel-on .fe-funnel-canvas {
  display: block;
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  margin-bottom: -100vh;
  margin-bottom: -100svh;
  pointer-events: none;
}
/* funnel.js sizes the story and places the steps right after it */
html.fe-funnel-on .fe-funnel-body { padding-top: var(--fe-funnel-head, 30svh); gap: 0; }
html.fe-funnel-on .fe-story { display: block; }
/* the sticky layer: the screen under the site header; its beats sit in the middle of it, on top of each other */
html.fe-funnel-on .fe-story-layer {
  position: sticky;
  top: var(--fe-layer-top, 0px);
  height: var(--fe-layer-h, 100svh);
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  align-items: center;
  gap: 0;
}
html.fe-funnel-on .fe-story-layer > .fe-beat { grid-area: 1 / 1; }
/* a "More" opening in a beat that then needs a longer drift: the beat glides to its new place */
html.fe-funnel-on .fe-acc-easing .fe-story-layer > .fe-beat { transition: transform 0.35s var(--ease); }
/* the steps stay in the middle of the screen for a while (v5): sticky inside their pin, which funnel.js makes
   taller than the beat by the scroll they stay for; --fe-steps-top centres them under the header */
html.fe-funnel-on .fe-steps-pin { min-width: 0; }
html.fe-funnel-on .fe-steps-pin.is-pinned > .fe-beat--steps { position: sticky; top: var(--fe-steps-top, 0px); }
/* the empty parts of the funnel let taps through (to the stage's paper above, under the Apply button) */
html.fe-funnel-on .fe-funnel-body, html.fe-funnel-on .fe-story, html.fe-funnel-on .fe-story-layer,
html.fe-funnel-on .fe-beat, html.fe-funnel-on .fe-steps, html.fe-funnel-on .fe-steps-pin { pointer-events: none; }
html.fe-funnel-on .fe-card, html.fe-funnel-on .fe-label { pointer-events: auto; }
@media (min-width: 900px) {
  /* the middle of the promise on the bottom edge of the intro card (funnel.js makes room under the beat) */
  html.fe-funnel-on .fe-duo > .fe-card--statement { translate: 0 50%; }
}
/* tiny phones (the compact three do not fit): the trust cards one at a time, in the same place under the label */
html.fe-funnel-on .fe-trio.is-solo > .fe-card { grid-row: 2; align-self: center; }
@media (max-width: 699.98px) {
  html.fe-funnel-on .fe-trio.is-solo > .fe-card { grid-column: 1 / -1; }
}
/* a screen too short for a beat: a plain column (funnel.js shows every card) */
html.fe-funnel-on .fe-story-off .fe-story-layer { position: static; height: auto; display: grid; gap: clamp(2.75rem, 9vw, 4.5rem); }
html.fe-funnel-on .fe-story-off .fe-story-layer > .fe-beat { grid-area: auto; }
html.fe-funnel-on .fe-story-off .fe-steps-pin { margin-top: clamp(2.75rem, 9vw, 4.5rem); }
html.fe-funnel-on .fe-story-off .fe-duo > .fe-card--statement { translate: none; }

/* the funnel cards: in by scroll position, out again with their beat */
html.fe-funnel-on .fe-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.6s var(--ease), transform 0.75s var(--ease);
}
@media (min-width: 900px) {
  html.fe-funnel-on .fe-reveal[data-from="l"] { transform: translate3d(-40px, 0, 0); }
  html.fe-funnel-on .fe-reveal[data-from="r"] { transform: translate3d(40px, 0, 0); }
}
html.fe-funnel-on .fe-reveal.is-in { opacity: 1; transform: none; }
html.fe-funnel-on .fe-reveal.is-out { opacity: 0; transform: translate3d(0, -24px, 0); }
html.fe-funnel-on .fe-reveal:not(.is-in) { pointer-events: none; }
/* the three steps arrive together, a beat apart */
html.fe-funnel-on .fe-steps > .fe-reveal.is-in:nth-child(2) { transition-delay: 0.08s; }
html.fe-funnel-on .fe-steps > .fe-reveal.is-in:nth-child(3) { transition-delay: 0.16s; }

/* Fit, the consultation offer, the FAQ: fade in (and out again when you scroll back up past them) */
html.fe-funnel-on .fe-fade {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
}
@media (min-width: 760px) {
  html.fe-funnel-on .fe-fade[data-from="l"] { transform: translate3d(-36px, 0, 0); }
  html.fe-funnel-on .fe-fade[data-from="r"] { transform: translate3d(36px, 0, 0); transition-delay: 0.1s; }
}
html.fe-funnel-on .fe-fade.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- testimonials: tilted, on FE gold */

.fe-voices {
  --gold: #FFC53D; /* the FE accent gold from the video style guide (STYLE.md v2) */
  background: var(--gold);
  padding-block: clamp(4rem, 10vw, 7.5rem);
  overflow-x: clip;
}
.fe-board { display: grid; gap: 1.5rem; align-items: start; }
.fe-vo { position: relative; transform: rotate(var(--r, 0deg)); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.fe-vo:hover { transform: rotate(0deg) scale(1.02); z-index: 5; }

/* Eric's card on gold: a dark card with a deep warm shadow; the play button on his face is YouTube red */
.fe-voices .testimonial {
  margin: 0;
  border: 0;
  border-radius: 16px;
  background: #111113;
  box-shadow: 0 34px 60px -26px rgba(90, 55, 0, 0.6), 0 6px 18px -8px rgba(90, 55, 0, 0.35);
}
.fe-voices .testimonial .avatar-btn .play { background: #FF0000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.fe-voices .testimonial .avatar-btn .play::before { border-color: transparent transparent transparent #fff; }
.fe-voices .testimonial .avatar-btn.is-playing .play::before { border-left-color: #fff; border-right-color: #fff; }

/* lab placeholders for the material that is still coming */
.fe-ph {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 140px;
  padding: 1.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px), #141416;
  box-shadow: 0 34px 60px -26px rgba(90, 55, 0, 0.6), 0 6px 18px -8px rgba(90, 55, 0, 0.35);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8A90;
  text-align: center;
}
.fe-ph--video { aspect-ratio: 16 / 9; min-height: 0; }
.fe-ph--shot { aspect-ratio: 4 / 5; min-height: 0; }
.fe-ph--shot.fe-ph--wide { aspect-ratio: 4 / 3; }

/* client screenshots (2026-11-15): the chat bubbles on a white card, never wider than the image itself */
.fe-shot { margin: 0; padding: 0.7rem; border-radius: 16px; background: #fff;
  box-shadow: 0 34px 60px -26px rgba(90, 55, 0, 0.6), 0 6px 18px -8px rgba(90, 55, 0, 0.35); }
.fe-shot img { display: block; width: 100%; height: auto; border-radius: 8px; }
.fe-vo--shot1 .fe-shot { max-width: calc(784px + 1.4rem); }
.fe-vo--shot2 .fe-shot { max-width: calc(540px + 1.4rem); } /* a little over the screenshot's own 462 px (Jonas: the right card slightly larger) */

/* a collage, not a grid: different sizes, overlapping, each at its own angle (Eric + 2 screenshots since 2026-11-15).
   Jonas 2026-11-15: the longer "top 5 of 400" message (shot2) on the right, the short "top 2" (shot1) bottom left;
   Eric overlaps the right card, the right card overlaps the bottom-left one, Eric and the bottom-left one never touch */
@media (min-width: 900px) {
  .fe-board { grid-template-columns: repeat(12, 1fr); column-gap: 1.25rem; row-gap: 0; }
  .fe-vo--eric { grid-column: 1 / 8; grid-row: 1; z-index: 2; }
  .fe-vo--shot2 { grid-column: 7 / 13; grid-row: 1 / 3; align-self: start; margin-top: 14.5rem; z-index: 3; } /* over the quote card's empty bottom-right corner, never its words */
  .fe-vo--shot1 { grid-column: 2 / 8; grid-row: 2; margin-top: 13.5rem; z-index: 1; } /* its right edge under the right card, clear of the quote */
}
@media (min-width: 600px) and (max-width: 899.98px) {
  .fe-board { grid-template-columns: repeat(6, 1fr); column-gap: 1rem; row-gap: 0; }
  .fe-vo--eric { grid-column: 1 / 6; grid-row: 1; z-index: 2; }
  .fe-vo--shot2 { grid-column: 3 / 7; grid-row: 2; margin-top: 0.15rem; z-index: 3; } /* touches only at the tilted corners */
  .fe-vo--shot1 { grid-column: 1 / 6; grid-row: 3; margin-top: 0.4rem; z-index: 2; } /* under the right card, its words stay clear */
}
@media (max-width: 599.98px) {
  .fe-board { gap: 0; }
  .fe-vo--shot2 { order: 1; width: 82%; justify-self: end; margin-top: 0.15rem; z-index: 3; } /* very slight: the tilted corners only */
  .fe-vo--shot1 { order: 2; width: 92%; margin-top: 0.3rem; z-index: 2; } /* under the right card, its words stay clear */
}

/* they pop up one by one (funnel.js) and stay (v5). The pop is on the card inside, so the tilted frame that
   funnel.js watches keeps its full size (a shrunken frame would not count as "in view") */
html.fe-funnel-on .fe-vo > * {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.55);
  transition: transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
html.fe-funnel-on .fe-vo.is-in > * { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- FAQ: an accordion */

.fe-faq { interpolate-size: allow-keywords; }
.fe-faq-list { max-width: 860px; border-top: 1px solid var(--surface-2); }
.fe-faq-item { border-bottom: 1px solid var(--surface-2); }
.fe-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.25rem;
  font-weight: 600;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
  line-height: 1.35;
  color: var(--paper);
}
.fe-faq-item summary::-webkit-details-marker { display: none; }
.fe-faq-item summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }
.fe-faq-item summary:hover .fe-faq-q { color: var(--red-bright); }
.fe-faq-q { transition: color 0.18s var(--ease); }
.fe-faq-ic {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--surface-2);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.fe-faq-ic::before, .fe-faq-ic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--paper);
  translate: -50% -50%;
  transition: rotate 0.3s var(--ease);
}
.fe-faq-ic::after { rotate: 90deg; }
.fe-faq-item[open] .fe-faq-ic { border-color: var(--red); background: rgba(var(--glow), 0.12); }
.fe-faq-item[open] .fe-faq-ic::after { rotate: 0deg; }
.fe-faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.fe-faq-item[open]::details-content { block-size: auto; }
.fe-faq-a { padding: 0 3.25rem 1.5rem 0.25rem; }
.fe-faq-a p { color: var(--muted); line-height: 1.65; max-width: 68ch; }
.fe-faq-a a, .fe-faq-more a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.fe-faq-more { margin-top: 1.75rem; color: var(--muted); }

/* the results disclaimer, at the very bottom of the page (under the footer line) */
.fe-results-note { margin-top: 1rem; max-width: 90ch; font-size: 0.72rem; line-height: 1.5; color: #6E6E73; }
.fe-results-note a { color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fe-results-note a:hover { color: var(--paper); }
