/* SEEK2LRN — "Blue Memphis" landing, WordPress build.
 *
 * 1:1 port of the React app's live landing (react/src/pages/auth/
 * LandingMemphis.jsx + landingMemphis.css). Any visual change belongs in BOTH
 * places.
 *
 * Loads after s2l-tokens.css (every colour/font below is a --s2l-* token) and
 * s2l-components.css, which owns the scoped reset, the nav, the footer and the
 * shared shape paints. This sheet is the landing-only part.
 *
 * Everything is scoped under .s2l-blm so it cannot leak into — or be clobbered
 * by — the EduBlink theme or Elementor. Geometry unique to a single decorative
 * shape stays inline in templates/landing.php (matching the hand-placed numbers
 * in the React file); this sheet carries the landing's layout, scroll cards
 * and Explore section.
 */

/* decorative social rail (hidden on touch, as in auth.css) */
.s2l-blm .blm-social {
  position: fixed; left: 12px; top: 50%; transform: translateY(-50%); z-index: 99;
  display: flex; flex-direction: column; gap: 4px;
}
.s2l-blm .blm-social a {
  width: 30px; height: 30px; border-radius: 50%; background: var(--s2l-navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--s2l-white); font-size: 0.72rem;
}
.s2l-blm .blm-social a:hover { background: var(--s2l-ink); }

/* paused by an IntersectionObserver once the hero scrolls out of view — CSS
 * animations have no play()/pause(), so the JS toggles this class instead */
.s2l-blm .blm-cluster.blm-cluster-paused .blm-f,
.s2l-blm .blm-cluster.blm-cluster-paused .blm-fr { animation-play-state: paused; }

.s2l-blm .blm-slab { border-radius: 28px; background: linear-gradient(155deg, var(--s2l-ink), var(--s2l-navy)); box-shadow: 0 30px 60px rgba(13, 27, 62, 0.45); }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.s2l-blm .blm-hero {
  position: relative; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 86px 4vw 0; background: var(--s2l-bg);
}
.s2l-blm .blm-h1 {
  margin: 0 0 1.1rem;
  font-family: var(--s2l-font-display);
  font-size: clamp(2.2rem, 4.4vw, 4.2rem); font-weight: 800;
  line-height: 1.04; letter-spacing: -0.02em; text-align: center;
}
.s2l-blm .blm-h1 span { display: block; color: var(--s2l-ink); }
.s2l-blm .blm-h1 span + span { color: var(--s2l-primary); }
.s2l-blm .blm-search {
  display: flex; align-items: center; gap: 8px;
  width: min(600px, 92vw); padding: 6px 6px 6px 16px;
  background: var(--s2l-white); border: 1.5px solid var(--s2l-line); border-radius: 3px;
}
.s2l-blm .blm-search:focus-within { border-color: var(--s2l-primary); box-shadow: 0 0 0 3px rgba(21, 88, 214, 0.22); }
.s2l-blm .blm-search-ico { width: 18px; height: 18px; color: var(--s2l-faint); flex-shrink: 0; }
.s2l-blm .blm-search-ico svg { width: 100%; height: 100%; }
.s2l-blm .blm-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 0.92rem; color: var(--s2l-ink);
}
.s2l-blm .blm-search input::placeholder { color: var(--s2l-faint); }
.s2l-blm .blm-search button {
  flex-shrink: 0; cursor: pointer;
  background: transparent; color: var(--s2l-primary); font-weight: 700; font-size: 0.88rem;
  padding: 0.55rem 1.2rem; border-radius: 3px; border: 1.5px solid var(--s2l-primary);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.s2l-blm .blm-search button:hover { background: var(--s2l-primary); color: var(--s2l-white); }
.s2l-blm .blm-search button:focus-visible { outline: 3px solid var(--s2l-primary-dark); outline-offset: 2px; }
.s2l-blm .blm-cluster {
  position: relative; flex: 1; min-height: 0;
  width: min(1060px, 96vw); margin-top: 2.5vh;
  display: flex; align-items: center; justify-content: center;
}

/* ── SCROLL CARDS ─────────────────────────────────────────────────────────── */
.s2l-blm .blm-cardsec { position: relative; z-index: 2; background: var(--s2l-bg); }
/* scroll length per card — drives how long each scene has to play out. Card 3
 * is now the merged Explore section (see the EXPLORE block below): one tall
 * runway for its whole five-phase timeline, per the ~500vh the JS's X2_*
 * breakpoints are tuned against. */
.s2l-blm .blm-cardsec-1 { height: 480vh; }
.s2l-blm .blm-cardsec-2 { height: 280vh; }
.s2l-blm .blm-cardsec-3 { height: 500vh; }
.s2l-blm .blm-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--s2l-bg); }
/* The resting box below (inset: 16vh 6vw 10vh) is the e=0 state the JS's
 * placeCard() measures against — the BASE_X / BASE_T / BASE_B constants in
 * landing-memphis.js MUST match these three values. */
.s2l-blm .blm-layer,
.s2l-blm .blm-card { position: absolute; inset: 16vh 6vw 10vh; border-radius: 32px; will-change: transform; transform-origin: 50% 50%; }
.s2l-blm .blm-layer { opacity: 0; }
.s2l-blm .blm-card { overflow: hidden; }
/* Wraps everything inside .blm-card except its own fill + .blm-grain. Fills the
 * card's untransformed box exactly (inset: 0, no padding/border) so both share
 * the same transform-origin — required for the inner's inverse scale to cancel
 * the card's outer scale, keeping content at natural size while the box grows. */
.s2l-blm .blm-cardinner { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 50%; }
.s2l-blm .blm-grain {
  position: absolute; inset: 0; z-index: 7; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}
.s2l-blm .blm-head {
  position: absolute; top: 9%; left: 0; right: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center; padding: 0 8vw;
}
.s2l-blm .blm-head h2 {
  margin: 0; font-family: var(--s2l-font-display); font-weight: 800;
  text-transform: lowercase; font-size: clamp(2.6rem, 6.5vw, 6rem);
  line-height: 0.9; letter-spacing: -0.05em; color: var(--s2l-white);
  text-shadow: 0 6px 40px rgba(10, 27, 62, 0.5);
}
.s2l-blm .blm-head h2 em { font-style: normal; color: var(--s2l-primary-light); }
/* the house sky em (#8FB2F0) fails WCAG 1.4.3 on this card's brighter fill
 * (#2F6FE0) — paler token only where the background needs it. Card 4 used to
 * need the same fix; it is folded into .blm-x2-col--left now, which carries
 * its own em override below (Explore's fills differ from the old per-card set). */
.s2l-blm .blm-cardsec-2 .blm-head h2 em { color: var(--s2l-primary-tint); }
.s2l-blm .blm-head p {
  margin: 0; max-width: 540px; color: var(--s2l-white);
  font-size: clamp(0.92rem, 1.05vw, 1.1rem); line-height: 1.65;
}
.s2l-blm .blm-swapcell { display: inline-grid; overflow: hidden; vertical-align: bottom; }
.s2l-blm .blm-swapcell span { grid-area: 1 / 1; will-change: transform, opacity; }
.s2l-blm .blm-shapes {
  position: absolute; left: 50%; bottom: -3%; transform: translateX(-50%);
  width: min(940px, 94%); height: 56%; z-index: 2;
}

/* ── EXPLORE (kicker: the "before" state only — the wipe repeated it, which
 * read as noise once you'd already seen it once; the wipe keeps its own
 * h3-level heading instead) ────────────────────────────────────────────── */
.s2l-blm .blm-x-kicker { font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.95); }

/* the pad/solid, cellgrid/ball and kicker rules below are unchanged from the
 * old card 4/5 cardsecs — they are the SAME engines, just re-parented into a
 * column's .blm-x2-before instead of a full card's .blm-shapes */
.s2l-blm .blm-x-padwrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92%; max-width: 460px; }
.s2l-blm .blm-x-pad {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  padding: 13px; border-radius: 20px; background: var(--s2l-navy);
  box-shadow: 0 26px 54px rgba(6, 15, 40, 0.5), inset 0 0 0 1.5px rgba(143, 178, 240, 0.26);
}
.s2l-blm .blm-x-pad-cam {
  position: absolute; left: 50%; top: 5px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: rgba(143, 178, 240, 0.55);
}
.s2l-blm .blm-x-pad-screen { height: 100%; display: flex; overflow: hidden; border-radius: 8px; background: var(--s2l-white); }
.s2l-blm .blm-x-tutorpane {
  flex: 0 0 33.33%; min-width: 0; background: var(--s2l-navy-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12%;
  padding: 8%;
}
.s2l-blm .blm-x-avatar-lg { width: 100%; max-width: 62px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--s2l-primary-light); }
.s2l-blm .blm-x-callbar { display: flex; align-items: center; gap: 7px; }
.s2l-blm .blm-x-callbar i { width: 13px; height: 5px; border-radius: 999px; background: rgba(143, 178, 240, 0.5); }
.s2l-blm .blm-x-callbar i.blm-x-hang { width: 17px; background: var(--s2l-primary-light); }
.s2l-blm .blm-x-workpane {
  flex: 1; min-width: 0; background: var(--s2l-paper-cool);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4% 6% 6%;
}
.s2l-blm .blm-x-workpane canvas { width: 100%; max-width: 200px; aspect-ratio: 1; display: block; }
/* fixed caption height: a two-line curriculum name cannot shove the solid up
 * the screen when the shape changes */
.s2l-blm .blm-x-cap { text-align: center; min-height: 2.7em; }
.s2l-blm .blm-x-cap b { display: block; font-size: 0.72rem; font-weight: 700; color: var(--s2l-ink); line-height: 1.25; }
.s2l-blm .blm-x-cap span { display: block; margin-top: 3px; font-size: 0.62rem; color: var(--s2l-muted-3); }

/* card 5: polyomino milestone grid (ported from explore-memphis.html's c3) */
.s2l-blm .blm-x-cellgrid { position: absolute; inset: 0; }
.s2l-blm .blm-x-cell {
  position: absolute; border-radius: 14px;
  background: linear-gradient(150deg, var(--s2l-primary-tint), var(--s2l-primary-light));
  box-shadow: 0 12px 26px rgba(13, 27, 62, 0.35);
  transition: box-shadow 0.25s ease-out;
}
.s2l-blm .blm-x-cell.blm-x-dark { background: linear-gradient(150deg, var(--s2l-ink), var(--s2l-navy)); }
.s2l-blm .blm-x-cell.blm-x-lit {
  box-shadow: 0 12px 26px rgba(13, 27, 62, 0.35), 0 0 0 3px var(--s2l-primary-light), 0 0 26px rgba(143, 178, 240, 0.55);
}
.s2l-blm .blm-x-ball {
  position: absolute; left: 0; top: 0; z-index: 4; border-radius: 50%; will-change: transform, opacity;
  background: radial-gradient(circle at 32% 28%, var(--s2l-primary-tint), var(--s2l-primary-mid) 45%, var(--s2l-primary) 72%, var(--s2l-primary-dark) 100%);
  box-shadow: 0 10px 22px rgba(6, 15, 40, 0.55);
}
.s2l-blm .blm-x-ball .blm-sphdots { background-size: 7px 7px; opacity: 0.3; }

/* ── EXPLORE: the 3-column grid, staggered arrival + wipes ─────────────────
 * .blm-x2-grid rests at the SAME inset every other card's full-bleed box uses
 * (16vh 6vw 10vh — BASE_X/BASE_T/BASE_B in the JS) and STAYS there: the JS
 * writes transform: none on it and instead rises the three columns into that
 * box, left to right, over the same window the old camera pull-back used.
 * The pull-back scaled the whole grid up until the centre column filled the
 * viewport, which read as a lens zoom rather than as scrolling, and (unlike
 * every other card) its content was not counter-scaled, so the type zoomed
 * with the box. See X2_RISE / X2_STAGGER in landing-memphis.js. */
.s2l-blm .blm-x2-grid {
  position: absolute; inset: 16vh 6vw 10vh; transform-origin: 50% 50%; will-change: transform;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.s2l-blm .blm-x2-col { position: relative; overflow: hidden; border-radius: 32px; color: var(--s2l-white); will-change: transform; }
.s2l-blm .blm-x2-col--left   { background: var(--s2l-primary); }
.s2l-blm .blm-x2-col--center { background: var(--s2l-primary-dark); }
.s2l-blm .blm-x2-col--right  { background: var(--s2l-navy); }
.s2l-blm .blm-x2-colinner { position: absolute; inset: 0; }

/* before: each column's pre-wipe state — kicker/heading/copy, then its stage
 * (globe+clock / tablet+solid / polyomino), matching the design study's
 * h2 + p + .s2lx-stage flex column, but centred per this site's convention */
.s2l-blm .blm-x2-before {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  padding: 2.6rem 1.6rem 1.8rem; text-align: center;
}
.s2l-blm .blm-x2-before h2 {
  margin: 0; font-family: var(--s2l-font-display); font-weight: 800;
  text-transform: lowercase; font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 0.95; letter-spacing: -0.03em; color: var(--s2l-white);
  text-shadow: 0 4px 26px rgba(10, 27, 62, 0.45);
}
.s2l-blm .blm-x2-before h2 em { font-style: normal; color: var(--s2l-primary-light); }
.s2l-blm .blm-x2-col--left .blm-x2-before h2 em { color: var(--s2l-primary-tint); }
.s2l-blm .blm-x2-before p { margin: 0; max-width: 30ch; font-size: 0.86rem; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.s2l-blm .blm-x2-stage { position: relative; flex: 1; width: 100%; min-height: 220px; }

/* wipe: the white "after" panel. A plain slide (translateY/X, set per column
 * by the JS) is the whole mask — cheaper than clip-path, and .blm-x2-col's own
 * overflow: hidden clips whatever part of the panel sits outside the box */
.s2l-blm .blm-x2-wipe {
  position: absolute; inset: 0; z-index: 2; background: var(--s2l-white); will-change: transform;
  display: flex; flex-direction: column; gap: 0.8rem; overflow: hidden;
  padding: 2.2rem 1.4rem 1.6rem;
}
.s2l-blm .blm-x2-wipe h3 {
  margin: 0; font-family: var(--s2l-font-display); font-weight: 800; text-transform: lowercase;
  font-size: clamp(1.3rem, 1.9vw, 1.9rem); line-height: 0.95; letter-spacing: -0.03em; color: var(--s2l-ink); text-align: center;
}
.s2l-blm .blm-x2-wipe h3 em { font-style: normal; color: var(--s2l-primary); }

/* carousel: one tutor card visible at a time, chevron-stepped, click-only —
 * independent of the scroll/phase engine, and unaffected by low motion */
.s2l-blm .blm-x2-carousel { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.s2l-blm .blm-x2-track { position: relative; width: 100%; height: 100%; max-width: 260px; margin: 0 auto; }
/* an <a> since 2026-08: each slide deep-links to /auth?role=student&next=... */
.s2l-blm .blm-x2-slide {
  position: absolute; inset: 0; border-radius: 20px; overflow: hidden;
  background: var(--s2l-navy); opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  display: block; text-decoration: none; color: inherit; cursor: pointer;
}
.s2l-blm .blm-x2-slide.is-active { opacity: 1; pointer-events: auto; z-index: 2; }
.s2l-blm .blm-x2-tphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s2l-blm .blm-x2-tscrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 62, 0) 38%, rgba(13, 27, 62, 0.62) 68%, rgba(13, 27, 62, 0.96) 100%);
}
/* no-photo cards: the scrim carries all the way to the top, since there is no
 * photo to fade FROM — see .blm-x2-tinitial, the flat-field fallback */
.s2l-blm .blm-x2-slide--flat .blm-x2-tscrim { background: linear-gradient(180deg, rgba(13, 27, 62, 0) 0%, rgba(13, 27, 62, 0.55) 60%, rgba(13, 27, 62, 0.96) 100%); }
.s2l-blm .blm-x2-tinitial {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--s2l-font-display); font-weight: 800; font-size: 1.9rem; color: var(--s2l-white);
}
/* text-shadow is a scrim floor: guarantees the white name/subject/country
 * text stays readable over a bright photo even where the gradient scrim
 * above hasn't built up enough darkness yet, independent of card-height maths */
.s2l-blm .blm-x2-tinfo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.2rem 1.1rem 1rem; text-shadow: 0 1px 10px rgba(13, 27, 62, 0.65); }
.s2l-blm .blm-x2-tinfo b { display: block; font-family: var(--s2l-font-display); font-weight: 800; font-size: 1.05rem; color: var(--s2l-white); }
.s2l-blm .blm-x2-tsubj { display: block; margin-top: 2px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.85); }
.s2l-blm .blm-x2-tcountry { display: block; margin-top: 2px; font-size: 0.72rem; font-weight: 600; color: var(--s2l-primary-light); }

.s2l-blm .blm-x2-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border-radius: 4px; cursor: pointer;
  background: var(--s2l-white); color: var(--s2l-primary); border: 1.5px solid var(--s2l-primary);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.s2l-blm .blm-x2-nav:hover { background: var(--s2l-primary); color: var(--s2l-white); }
.s2l-blm .blm-x2-nav:focus-visible { outline: 2px solid var(--s2l-primary-dark); outline-offset: 2px; }
.s2l-blm .blm-x2-nav--prev { left: 0; }
.s2l-blm .blm-x2-nav--next { right: 0; }
.s2l-blm .blm-x2-nav svg { width: 16px; height: 16px; }

/* position indicator + the link out to the full list, both quiet next to the
 * carousel itself — same muted grey the card already uses for secondary text
 * (.blm-x-cap span, .blm-x2-mtext span) */
.s2l-blm .blm-x2-count { text-align: center; font-size: 0.72rem; color: var(--s2l-muted-3); }
.s2l-blm .blm-x2-more {
  align-self: center; font-size: 0.8rem; font-weight: 600; color: var(--s2l-primary);
  border-bottom: 1px solid transparent; transition: border-color 0.2s ease;
}
.s2l-blm .blm-x2-more:hover { border-color: var(--s2l-primary); }
.s2l-blm .blm-x2-more:focus-visible { outline: 2px solid var(--s2l-primary-dark); outline-offset: 2px; }

/* milestones: static chain, no JS beyond what already exists on the page */
.s2l-blm .blm-x2-milestones { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 0.6rem; }
.s2l-blm .blm-x2-mchain { position: relative; display: flex; flex-direction: column; gap: 1.4rem; }
.s2l-blm .blm-x2-mchain::before { content: ''; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: var(--s2l-line); }
.s2l-blm .blm-x2-mnode { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 0.85rem; }
.s2l-blm .blm-x2-mdot {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  /* #9aa7c2 on white was ~2.4:1 — fails WCAG 1.4.3; #5a6478 clears 4.5:1 */
  font-size: 0.8rem; font-weight: 700; background: var(--s2l-white); border: 2px solid var(--s2l-line-2); color: var(--s2l-muted-4);
}
.s2l-blm .blm-x2-mnode.is-done .blm-x2-mdot { background: var(--s2l-primary); border-color: var(--s2l-primary); color: var(--s2l-white); }
.s2l-blm .blm-x2-mnode.is-active .blm-x2-mdot { background: var(--s2l-white); border-color: var(--s2l-primary); color: var(--s2l-primary); box-shadow: 0 0 0 4px rgba(21, 88, 214, 0.15); }
.s2l-blm .blm-x2-mtext b { display: block; font-family: var(--s2l-font-display); font-weight: 800; font-size: 0.92rem; color: var(--s2l-ink); }
.s2l-blm .blm-x2-mtext span:not(.screen-reader-text) { display: block; margin-top: 2px; font-size: 0.72rem; color: var(--s2l-muted-3); }
.s2l-blm .blm-x2-mnode.is-upcoming .blm-x2-mtext b { color: var(--s2l-muted-4); }

/* ── MOBILE ───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .s2l-blm .blm-social { display: none; }
  .s2l-blm .blm-hero { padding-top: 66px; }
  /* Low-motion (see LOW_MOTION_QUERY in landing-memphis.js) holds cards 1-2 at
   * their final full-bleed composition, so the tall scroll runways aren't
   * needed. The Explore section (card 3) gets its own combined query below,
   * since it also needs to go static under prefers-reduced-motion/coarse
   * pointer on a WIDE viewport, not just a narrow one. */
  .s2l-blm .blm-cardsec-1,
  .s2l-blm .blm-cardsec-2 { height: 100vh; }
}

/* ── EXPLORE, low motion (reduced motion OR narrow OR coarse pointer) ───────
 * Renders the fully composed end state with plain CSS: no pin, no wipes, both
 * carousels already showing (chevrons stay click-driven, wired unconditionally
 * in the JS — see wireCarousels()), the milestones card already in view. Must
 * match LOW_MOTION_QUERY in landing-memphis.js exactly, or the JS's gated
 * grid/wipe writes and this static layout could disagree about which state is
 * showing. `!important` overrides a transform the rAF path may have written
 * inline before a resize crossed into this state. */
@media (prefers-reduced-motion: reduce), (max-width: 768px), (pointer: coarse) {
  .s2l-blm .blm-cardsec-3 { height: auto; }
  .s2l-blm .blm-cardsec-3 .blm-stage { position: static; height: auto; overflow: visible; }
  .s2l-blm .blm-x2-grid {
    position: static; transform: none !important;
    grid-template-columns: 1fr; gap: 16px;
  }
  /* opacity as well as transform: the rAF path now fades each column in, so a
   * resize that crosses into this state must not strand one part-faded. */
  .s2l-blm .blm-x2-col { position: static; transform: none !important; opacity: 1 !important; min-height: 74vh; display: flex; flex-direction: column; }
  .s2l-blm .blm-x2-colinner { position: static; flex: 1; display: flex; flex-direction: column; }
  /* the pre-wipe stage (globe, tablet+solid, polyomino) is not reachable in
   * this state — hide it so nothing keeps drawing into an invisible canvas */
  .s2l-blm .blm-x2-before { display: none; }
  .s2l-blm .blm-x2-wipe { position: static; transform: none !important; flex: 1; display: flex; }
}
/* ── Video hero ─────────────────────────────────────────────────────────────
 * The original two-thirds-video hero, restored as the page's opening. It is
 * STATIC: the old version pinned itself and slid three panels over the video
 * on scroll, and that job now belongs to the three colour bands below, so the
 * hero simply fills the viewport and the page scrolls past it. */
.s2l-blm .blm-hero-video {
  display: grid; grid-template-columns: 2fr 1fr; align-items: stretch;
  padding: 0; padding-top: 72px; height: 100vh; background: var(--s2l-white);
}
.s2l-blm .blm-hero-media { position: relative; overflow: hidden; background: var(--s2l-navy); }
.s2l-blm .blm-hero-vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.s2l-blm .blm-hero-copy {
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
  padding: 0 3vw; background: var(--s2l-white);
}
.s2l-blm .blm-hero-video .blm-h1 { text-align: left; margin: 0; }
.s2l-blm .blm-hero-sub { font-size: clamp(0.92rem, 1vw, 1.06rem); line-height: 1.55; color: var(--s2l-muted); margin: 0; }
.s2l-blm .blm-hero-label { font-weight: 800; font-size: clamp(0.98rem, 1.1vw, 1.16rem); color: var(--s2l-ink); margin-top: 0.4rem; }
.s2l-blm .blm-hero-video .blm-search { margin: 0; max-width: none; }
@media (max-width: 900px) {
  .s2l-blm .blm-hero-video { grid-template-columns: minmax(0, 1fr); grid-template-rows: 45vh auto; height: auto; }
  .s2l-blm .blm-hero-copy { padding: 2rem 6vw 3rem; }
}
/* phones: 16px search input (no iOS zoom), 48px controls */
@media (max-width: 768px) {
  .s2l-blm .blm-search { min-height: 52px; }
  .s2l-blm .blm-search input { font-size: 16px; min-width: 0; }
  .s2l-blm .blm-search button { min-height: 44px; }
}
