/* Extracted from new-page.html (r76): the r64 hero moment + logos strip. */
  /* r64 (9 Nov): the hero is the moment — "57 files in, one filled form out" (immersive-web S1).
     Brief: .design-refs/DIRECTION-home-r64.md; tokens: BRAND-RESOLVED.json. Without JS or with
     reduced motion the stage shows the end state: the filled, signed form and the PDF tools. */
  .land { overflow-x: clip; }
  .hero.mo { display: block; padding: 40px 0 40px; }
  .mo-pin { display: grid; gap: 28px; align-items: center; }
  @media (min-width: 900px) { .mo-pin { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; } }
  .mo .lede { margin: 12px 0 26px; }
  .trust { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 34em; }
  .trust img { flex: none; width: 28px; height: 28px; border-radius: 7px; }
  .trust b { color: var(--so-navy-900); }
  .mo-stage { position: relative; display: grid; gap: 14px; }
  .mo-line { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--so-navy-900); }
  .mo-line em { font-style: normal; color: var(--so-gold-800); }
  .mo-end { position: relative; z-index: 1; }
  .mo-end img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
  .mo-tick { position: absolute; z-index: 4; right: -12px; bottom: 34px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: var(--so-gold-500); color: var(--so-navy-900); box-shadow: 0 8px 20px rgba(168,137,62,.28), 0 0 0 4px var(--so-paper-050); }
  .mo-tick svg { width: 28px; height: 28px; }
  .mo-count { margin: 0; font-size: 14px; color: var(--ink-2); font-weight: 500; }
  .mo-count b { font-size: 22px; font-weight: 700; color: var(--so-navy-900); font-variant-numeric: tabular-nums; margin-right: 2px; }
  @media (max-width: 899px) { .mo .cta { gap: 4px 16px; } .mo .cta .btn:not(.btn-primary) { background: none; border: 0; min-height: 44px; padding-inline: 4px; color: var(--so-navy-900); text-decoration: underline; text-underline-offset: 4px; } }
  @media (max-width: 899px) { .mo-tick { right: -6px; bottom: 56px; width: 46px; height: 46px; } .mo-tick svg { width: 24px; height: 24px; } .mo-count span { display: block; } }

  /* Motion on (set by js/home-moment.js only when motion is allowed and GSAP loaded). */
  .mo-on .mo-scene { position: absolute; inset: 34px -10% 40px 0; z-index: 2; perspective: 1100px; perspective-origin: 50% 42%; pointer-events: none; }
  @media (min-width: 900px) {
    .mo-on .hero.mo { height: 250vh; padding: 0; }
    .mo-on .mo-pin { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; padding: 56px 0 28px; box-sizing: border-box; align-content: start; }
  }
  /* The end screenshot is painted (1%) from the start, under the form: it is the poster, so it is the LCP at load, not when the moment ends. */
  .mo-on .mo-end { opacity: .01; } .mo-on .mo-tick { opacity: 0; }
  .mo-on .mo-tick { transform: scale(0); }
  .mf { position: absolute; left: 50%; top: 50%; width: 260px; aspect-ratio: 1 / 1.414; transform: translate(-50%, -50%); --u: 2.6px;
    background: #fff; border: 1px solid var(--so-stone-200); border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(11,29,50,.28); padding: calc(var(--u) * 6) calc(var(--u) * 6) calc(var(--u) * 5); box-sizing: border-box;
    display: flex; flex-direction: column; gap: calc(var(--u) * 2.6); font-family: var(--so-font); }
  .mf-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: calc(var(--u) * 3); border-bottom: calc(var(--u) * .7) solid #12294a; padding-bottom: calc(var(--u) * 2.6); }
  .mf-hd b { display: block; font-size: calc(var(--u) * 5); line-height: 1.1; font-weight: 700; color: #12294a; letter-spacing: .02em; }
  .mf-hd small { display: block; margin-top: calc(var(--u) * 1.2); font-size: calc(var(--u) * 3.2); font-weight: 600; color: var(--so-gold-800); letter-spacing: .06em; }
  .mf-ph { flex: none; width: calc(var(--u) * 17); height: calc(var(--u) * 21); border: calc(var(--u) * .4) dashed var(--so-stone-300); border-radius: calc(var(--u) * 1); position: relative; overflow: hidden; }
  .mf-ph i { position: absolute; inset: 0; opacity: 0; background:
    radial-gradient(circle at 50% 38%, #12294a 0 17%, transparent 18%), radial-gradient(ellipse 42% 30% at 50% 100%, #12294a 0 98%, transparent 100%), var(--so-stone-200); }
  .mf-f label { display: block; font-size: calc(var(--u) * 3.3); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5b6774; }
  .mf-f label em { font-style: normal; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--so-gold-800); opacity: 0; }
  .mf-b { display: grid; grid-template-columns: repeat(18, 1fr); gap: calc(var(--u) * .5); margin-top: calc(var(--u) * 1); position: relative; }
  .mf-b s { text-decoration: none; height: calc(var(--u) * 5); border: calc(var(--u) * .3) solid var(--so-stone-200); border-radius: calc(var(--u) * .6); display: grid; place-items: center;
    font-size: calc(var(--u) * 3.5); font-weight: 700; color: #12294a; background: #fff; }
  .mf-b s span { opacity: 0; }
  .mf-b i { position: absolute; inset: calc(var(--u) * -0.6); border-radius: calc(var(--u) * 1); background: var(--so-gold-050); z-index: -1; opacity: 0; }
  .mf-sg { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; font-size: calc(var(--u) * 2.7); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5b6774; }
  .mf-sg svg { width: calc(var(--u) * 30); height: calc(var(--u) * 8); border-bottom: calc(var(--u) * .3) solid var(--so-stone-300); }
  .mf-sg path { stroke: #12294a; stroke-width: 1.6; fill: none; stroke-dasharray: 400; stroke-dashoffset: 400; }
  .md { position: absolute; left: 50%; top: 50%; width: 76px; height: 104px; margin: -52px 0 0 -38px; box-sizing: border-box; padding: 9px 8px; background: #fff;
    border: 1px solid var(--so-stone-200); border-radius: 5px; box-shadow: 0 6px 14px -6px rgba(11,29,50,.28); will-change: transform, opacity; backface-visibility: hidden; }
  .md.id { width: 104px; height: 66px; margin: -33px 0 0 -52px; display: grid; grid-template-columns: 22px 1fr; column-gap: 7px; align-content: start; }
  .md b { display: block; font-size: 7.5px; line-height: 1.15; font-weight: 700; letter-spacing: .07em; color: var(--so-gold-800); margin-bottom: 6px; grid-column: 1 / -1; }
  .md i { display: block; height: 3.5px; border-radius: 2px; background: var(--so-stone-200); margin-top: 5px; }
  .md i:nth-of-type(2n) { width: 68%; } .md i:nth-of-type(3n) { width: 84%; }
  .md.id em { grid-row: 2 / span 3; height: 26px; border-radius: 3px; background: var(--so-stone-200); }
  .md.id i { margin-top: 0; margin-bottom: 5px; }
  .md u { display: block; margin-top: 8px; height: 22px; border-bottom: 1px solid var(--so-stone-300); text-decoration: none;
    background: no-repeat center/90% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20'%3E%3Cpath d='M3 15c6-9 9-11 10-6s-2 7 2 2 6-9 8-5-1 7 3 4 7-6 9-3 4 2 9-3 6-2 8 1' fill='none' stroke='%2312294a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
  @media (max-width: 899px) { .mo-on .mo-scene { inset: 34px -2px 64px; } .md { width: 54px; height: 74px; margin: -37px 0 0 -27px; padding: 7px 6px; } .md.id { width: 76px; height: 48px; margin: -24px 0 0 -38px; grid-template-columns: 16px 1fr; }
    .md b { font-size: 6px; margin-bottom: 4px; } .md i { height: 3px; margin-top: 4px; } .md.id em { height: 18px; } .md u { height: 14px; margin-top: 4px; } }

  /* Trust, right under the hero: real client logos (shots/brands), quiet. */
  .logos { padding: 8px 0 44px; }
  .logos p { margin: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
  .logos ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
  .logos img { display: block; height: 30px; width: auto; max-width: 132px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter 140ms ease, opacity 140ms ease; }
  .logos li:hover img { filter: none; opacity: 1; }
  @media (max-width: 899px) { .logos ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 14px; } .logos li { display: grid; place-items: center; } .logos img { height: 24px; max-width: 100%; } }
