      /* ---- Yard module (staggered logo wall + title/anchors over the shader) ---- */
      /* Grid sits beneath .content (title + anchors on top). inset var(--gutter)
         matches Figma's 32px margins; slots are absolutely placed within it and
         may overflow into the gutters (the staggered columns bleed top/bottom). */
      .yard-grid {
        position: absolute;
        inset: var(--gutter); /* absolute insets ignore content's padding → gutter here */
        pointer-events: none;
      }
      /* Diagonal accent lines (Figma) — 1px, fg @ 10%, non-scaling stroke. The
         SVG fills the grid and stretches (preserveAspectRatio:none); segments
         clip to the viewBox at the edges. */
      .y-diagonals {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
      }
      .y-diagonals line {
        stroke: var(--color-fg);
        stroke-width: 1;
        opacity: 0.1;
      }
      /* One slot per logo. 344×320 cell = 25% wide, 320/960 tall; placed by the
         --slot-left/--slot-top custom props (JS sets them; the mobile query can
         still override, which an inline left/top would block). */
      .y-slot {
        position: absolute;
        left: var(--slot-left);
        top: var(--slot-top);
        width: 25%;
        height: calc(320 / 960 * 100%);
      }
      /* Each logo is a fixed (Figma-native px) box centered via inset+margin, so
         a swap effect's transform never fights the centering. currentColor picks
         up --color-fg (the washed-palette token). */
      .y-logo {
        position: absolute;
        inset: 0;
        margin: auto;
        color: var(--color-fg);
        max-width: 80%;
        max-height: 55%;
        will-change: opacity, transform;
      }
      /* Inner wrapper carries the cursor-gravity nudge, independent of the
         cascade transform on .y-logo. */
      .y-logo-inner {
        display: block;
        width: 100%;
        height: 100%;
        will-change: transform;
      }
      .y-logo svg {
        display: block;
        width: 100%;
        height: 100%;
        overflow: visible;
      }

      .yard-title {
        position: absolute; /* .content (inset:0, padding:gutter) is the containing block */
        left: var(--gutter);
        bottom: 66px; /* Figma desktop: title bottom edge at y958 of 1024 */
        max-width: 548px; /* .title's 80/80/-2% clamps already match at 1440 */
      }
      .y-anchor {
        white-space: nowrap;
      }
      a.y-anchor {
        color: inherit;
        text-decoration: none;
        pointer-events: auto; /* .content is pointer-events: none */
      }
      .y-brand {
        top: var(--gutter);
        right: var(--gutter);
        text-align: right;
      }
      /* Rotated locale — reads bottom-up, same construction as Hero's .locale.
         Rotation lives on this OUTER element; the animated .reveal-inner inside
         only ever animates opacity/blur (anchors are rise:false in anim.js). */
      .y-locale {
        right: var(--gutter);
        bottom: var(--gutter);
        writing-mode: vertical-rl;
        transform: rotate(180deg);
      }
      .y-cta {
        left: var(--gutter);
        bottom: var(--gutter);
      }
      @media (max-width: 768px) {
        .yard-title {
          bottom: 138px; /* Figma mobile: bottom edge y706 of 844 */
          max-width: 270px; /* .title clamp floor 36/40 matches at 390 */
        }
        /* .y-brand keeps top: var(--gutter) — the frame's 86px was 62px iOS
           status bar + the 24px gutter; the web page has no status bar. */

        /* Mobile: no diagonals, a single centered rolling logo (Figma). Only the
           primary slot renders, filling the grid so its logo centers; the roll
           engine sees exactly one live slot and cycles through all brands. */
        .y-diagonals {
          display: none;
        }
        .y-slot {
          display: none;
        }
        /* Figma "Brand Slot": x24 y102 w342 h524 in the 390×844 frame. The grid
           is already inset var(--gutter) (=24px at mobile widths), so left/right:0
           = Figma's 24px side gutters. Top/bottom are the frame values minus the
           62px iOS status bar (dropped on web, as with .y-brand/.yard-title) then
           minus the 24px grid inset: top 102−62−24=16; bottom (844−626)−24=194.
           Logo centers in this box (via .y-logo inset:0 margin:auto). */
        .y-slot--primary {
          display: block;
          left: 0;
          right: 0;
          top: 16px;
          bottom: 194px;
          width: auto;
          height: auto;
        }
      }

