/* ==========================================================================
   1 Poultry — Innovation
   Figma: "Innovation - Desktop" (351:22816), 1440 x 5708

   Five objects, top to bottom:
     1. full-bleed hero + tagline          351:22820 / 351:22823
     2. credentials band, 5 badges         321:22079  ("Frame 152")
     3. dark stats panel, image right      351:24102  ("Component 11")
     4. light social panel, image bleed    351:24141  ("Component 12")
     5. closing call-to-action band        364:24510  ("Frame 22")

   Every one of the five is a one-screen block, so each is built on the
   shared .screen / .screen__stage contract from components.css: the Figma
   composition sits in the stage and site.js scales it with --fit so the
   whole block always lands inside one viewport. Beds, ramps and washes stay
   OUTSIDE the stage on .screen__media so they remain edge-to-edge.

   Shared .stat / .badge live in components.css; everything here is either a
   page object or a documented override of those two.
   ========================================================================== */

/* The real Poultry Sans ships a Semibold face, so the UA default
   font-weight:bold on h1–h6 now snaps to it. The design is Medium
   throughout — hold headings at the body weight.
   (Belongs in base.css; kept page-local because base.css is locked.) */


.inn {
  /* Figma sizes, expressed so each lands exactly at the 1440 design width. */
  --inn-fig:       clamp(1.75rem, calc(2.917vw * var(--s)), 2.625rem);   /*  42px — panel-1 figure   */
  --inn-lab:       clamp(1.0625rem, calc(1.667vw * var(--s)), 1.5rem);   /*  24px — panel-1 label    */
  --inn-fig-sm:    clamp(1.25rem, calc(1.806vw * var(--s)), 1.625rem);   /*  26px — panel-2 figure   */
  /* Figma sets 35px in a 264px column; the site's --pad-x grid gives 257px,
     and in the real face "WELL PLATINUM" is 260px at 35px, so it wrapped.
     Scaled to the narrower column (35 x 257/264) it fits on one line again. */
  --inn-badge-ttl: clamp(1.375rem, calc(2.222vw * var(--s)), 2rem);   /*  lead: the Figma's 35 is off-scale */
  /* Same 264 -> 257 column narrowing: at the Figma 14px the WELL note is
     267px and dropped to a second line while the other four stayed on one. */
  /* 16px, above the Figma's 14: at 13px the line under each mark was too
     small to read, and the wider row has the room for it. */
  --inn-badge-nte: clamp(0.8125rem, calc(1.111vw * var(--s)), 1rem);

  /* Two inks the Figma uses that are not yet site tokens. Flagged to the
     lead: if they recur on other pages they belong in tokens.css. */
  --inn-coral: var(--c-coral);   /* panel-1 statistic figures                       */
  --inn-ink: var(--c-ink-blue);   /* panel-2 type — a blue-black, not --c-black      */
}

/* ---------- The one-screen contract ----------------------------------
   Both of this page's local patches on the contract are gone: site.js now
   clamps --fit to 1 itself (so the bitmap WELL / EPC marks are never
   resampled upwards), and components.css centres the stage by absolute
   position rather than by a grid track, so neither the row-height override
   nor a transform override belongs here. Overriding `transform` in
   particular is now actively wrong — it would drop the shared
   translate(-50%, -50%) and leave every stage offset by half a section. */

/* components.css drops .screen to min-height:0 below 860 so stacked layouts
   can run tall. The hero and the closing band are not stacked layouts —
   they are full-bleed plates that must still own a whole screen — so they
   re-assert it at every width. */
.inn-hero.screen,
.inn-cta.screen { min-height: var(--vh-hero); }

/* ---------- 1. Hero (351:22820 image + 351:22823 tagline) ------------- */
/* Overscan the beds so the parallax has somewhere to travel */
.inn-hero  > .screen__media,
.inn-cta   > .screen__media { inset: -8% 0; }

/* The .bleed scrims are edge-weighted; the hero plate is a bright sunlit
   garden, so the centred type needs a flat wash behind it as well. */
.inn-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.00)  0%,
                rgba(0, 0, 0, 0.38) 38%,
                rgba(0, 0, 0, 0.38) 62%,
                rgba(0, 0, 0, 0.00) 100%);
}

/* The hero stage holds only the centred tagline, so it is sized to the
   type rather than to the full 1024 frame — that keeps --fit at 1 on any
   normal-height desktop instead of shrinking a headline that was never in
   danger of overflowing. */
.inn-hero__stage {
  --stage-w: 90rem;
  --stage-h: 26.25rem;
  display: grid;
  place-items: center;
  padding-inline: var(--pad-x);
}
.inn-hero__inner { text-align: center; color: var(--c-cream); max-width: 56.25rem; }
.inn-hero__title {
  max-width: 45rem;                 /* Figma tagline box: 716px */
  margin-inline: auto;
}

/* ---------- 2. Credentials band ("Frame 152", 321:22079) --------------
   Figma paints "Component 9" — a single linear gradient 1125px tall — into a
   1007px window, so the ramp is cropped top and bottom. The ramp element
   reproduces that overscan, and living on .screen__media it stays full
   bleed while the badge row inside the stage scales.                      */
.inn-creds {
  color: var(--c-white);
  background: var(--c-navy);        /* the ramp's dark end, for no-paint */
}

.inn-creds > .screen__media {
  inset: -8% 0;
  z-index: -2;
  will-change: transform;
  background: linear-gradient(53.79deg,
                var(--c-blush)  16.68%,
                var(--c-rose)   35.79%,
                var(--c-plum)   58.96%,
                var(--c-indigo) 76.03%,
                var(--c-navy)   95.14%);
}

/* The ramp breathes rather than sits still, the way the Figma board does.
   Three soft blooms in the ramp's own colours drift across it on different
   periods, so the loop never lands on the same arrangement twice in a row
   and there is no seam where it restarts — the blooms simply arrive back
   where they began. It is painted over the ramp and under the scrim, so the
   Figma gradient is still the ground and this only moves light across it.
   Oversized and blurred: at this scale the edges of a radial gradient would
   otherwise show as rings. */
.inn-creds > .screen__media::after {
  content: "";
  position: absolute;
  inset: -25%;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 22% 32%, rgba(249, 177, 175, 0.55) 0%, rgba(249, 177, 175, 0) 68%),
    radial-gradient(44% 40% at 68% 66%, rgba(217,  84, 103, 0.45) 0%, rgba(217,  84, 103, 0) 70%),
    radial-gradient(52% 52% at 84% 22%, rgba(  2,  14,  41, 0.55) 0%, rgba(  2,  14,  41, 0) 66%);
  filter: blur(1.75rem);
  animation: creds-drift 34s ease-in-out infinite;
}
@keyframes creds-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  25%  { transform: translate3d(-3.5%, 2.5%, 0) scale(1.06); }
  50%  { transform: translate3d(2.5%, -3%, 0)   scale(1.02); }
  75%  { transform: translate3d(3%, 2%, 0)      scale(1.07); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .inn-creds > .screen__media::after { animation: none; }
}

/* The blush end of the ramp is too light for white 14px labels: the first
   two badges measured 2.3-4.2:1 against it. A scrim aligned to the ramp's
   own axis deepens only that end, so the Figma colour survives wherever it
   is already dark enough. */
.inn-creds::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(53.79deg,
                rgba(2, 14, 41, 0.50) 8%,
                rgba(2, 14, 41, 0.20) 40%,
                rgba(2, 14, 41, 0.00) 62%);
}

/* The stage is the badge row, not the whole 1125px Figma frame: the frame's
   386px of air above and 338px below is breathing room, and .screen already
   supplies that by centring the stage in the viewport. Sizing the stage to
   the row keeps --fit at 1 on any normal desktop instead of scaling the
   type down to pay for empty gradient.
   The row is held to the top of the stage because .badge__more drops the
   hover description underneath it — 52px above, ~120px of clear run below. */
.inn-creds__stage {
  --stage-w: 90rem;
  --stage-h: 35rem;
  display: grid;
  align-content: start;
  padding: 2.8125rem var(--pad-x) 0;
}

/* The row runs to the page's side margins rather than stopping at the 1440
   design frame. On a window wider than the frame the five discs were
   stranded in the middle with a couple of hundred pixels of gradient either
   side; letting them have the width makes the discs bigger and gives the
   notes underneath a real measure. */
.inn-creds__stage { max-width: none; }
.inn-creds__list {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

/* -- overrides on the shared .badge ------------------------------------
   components.css sizes the disc type for a smaller context; the Figma sets
   the title at 35px and the note at 14px inside a 264px disc.             */
.inn-creds .badges { grid-template-rows: auto auto auto auto; }
.inn-creds .badge {
  position: relative;                            /* anchors .badge__more   */
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;                   /* disc / title / note /  */
  align-content: start;                          /* hover copy stay level  */
}
.inn-creds .badge__disc { border-color: var(--c-cream-70); }
.inn-creds .badge__title {
  font-size: var(--inn-badge-ttl);
  line-height: var(--lh-tight);                              /* Figma box: 32/35px     */
  letter-spacing: 0;                             /* Figma tracks at 0      */
  text-wrap: balance;
  align-self: start;
}
.inn-creds .badge__note {
  margin-top: 1.25rem;                              /* Figma title→note: 55px */
  font-size: var(--inn-badge-nte);
  opacity: 0.85;
  align-self: start;
}

/* -- badge marks: optical centring and optical size --------------------
   OVERRIDE OF SHARED .badge__icon (components.css) — flagged to the lead.
   components.css centres the icon's BOX in the disc with place-items, which
   only centres the artwork if the artwork fills its own box. Three of the
   five exports did not:

     WELL      471x419 PNG, ink at (52,5)-(448,400)  -> +5.9px right, -2.9px up
     EPC A     322x164 PNG, ink at (0,0)-(322,153)   ->            -2.6px up
     ALL ELEC   67.9 x 137.21 SVG, 1.4% pad on the left -> +0.4px right

   Both PNGs have been re-cropped to their measured ink bounds (396x395 and
   322x153), so the box and the artwork are now the same rectangle and the
   shared place-items:center is telling the truth. --nx / --ny below are the
   residual per-icon nudges, in percent of the icon's own box, measured
   against the disc centre in the browser rather than judged by eye.

   The widths are not one number: five glyphs of different aspect at one
   fixed width do not read as equal weight. Each is sized so the ink's
   bounding diagonal lands near 72% of the disc — the Figma set ran 57-89%,
   which is why the bolt looked lost and the WELL ring looked crowded. */
/* components.css pins the mark to the disc centre with translate(-50%,-50%);
   this rule adds the per-icon nudge on top of it. Both halves have to stay
   in one transform — writing only the nudge here silently dropped the
   centring, because this sheet loads second. */
.badge__icon {
  --nx: 0;
  --ny: 0;
  transform: translate(-50%, -50%)
             translate(calc(var(--nx) * 1%), calc(var(--ny) * 1%));
}
.badge__icon--breeam   { width: 68.6%; }   /* 176.74 x 44.70 SVG, ink-tight */
.badge__icon--well     { width: 60.0%; }   /* 396 x 395 PNG,  re-cropped    */
/* Held at 62.6% for a second reason: 62.6% of the 257.33px disc is 161.1px,
   and the EPC bitmap is 322px wide, so it renders at exactly 1:1 on a 2x
   screen and is never resampled upwards. See the note on --fit above. */
.badge__icon--epc      { width: 62.6%; }   /* 322 x 153 PNG,  re-cropped    */
.badge__icon--nabers   { width: 63.5%; }   /* 175.42 x 114.11 SVG, ink-tight */
.badge__icon--electric { width: 28.8%; --nx: -0.72; }   /* 67.9 x 137.21 SVG */

/* The second line of copy the Figma reveals on the badge's hover variant.
   Absolutely positioned so revealing it never reflows the row — the stage
   keeps ~120px of clear run beneath the badges for it to occupy. */
.badge__more {
  position: absolute;
  top: calc(100% + 0.875rem);
  left: 0;
  right: 0;
  font-size: var(--inn-badge-nte);
  line-height: var(--lh-ui);
  color: var(--c-white);
  opacity: 0;
  transform: translate3d(0, 0.625rem, 0);
  transition: opacity var(--dur-md) var(--ease-out-expo),
              transform var(--dur-md) var(--ease-out-expo);
  pointer-events: none;
}
.badge:hover .badge__more,
.badge:focus .badge__more,
.badge:focus-within .badge__more { opacity: 1; transform: none; }

/* Touch devices get no hover, so the copy simply stays put. */
@media (hover: none) {
  .badge__more { position: static; opacity: 1; transform: none; margin-top: 0.9375rem; }
}

/* ---------- 3 + 4. The two split panels ------------------------------- */
.inn-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* The social bed is overscanned the same way the hero and CTA beds are, so
   its scrubbed parallax has somewhere to travel inside the clip. */
.inn-social > .screen__media { inset: -6% 0; }

/* Figma breaks both headings by hand. Each line is its own [data-split]
   element so site.js raises the words without the break depending on where
   the text happens to wrap. */
.inn-panel__line { display: block; }

/* -- 3. Dark stats panel ("Component 11", 351:24102) --------------------
   Figma: 735px of navy on the left, a 705px plate on the right.
   The plate is not full-bleed media — it is one half of the composition —
   so it stays a real grid cell at the design ratio and only the type column
   goes in the stage. Left-aligning that stage with a left transform origin
   keeps the heading's 35px gutter at every scale; centring it would have
   pushed the type into the middle of the navy field on wide screens.      */
.inn-stats {
  display: grid;
  grid-template-columns: minmax(0, 735fr) minmax(0, 705fr);
  /* One row the height of the section. Without it the stage's 1024px LAYOUT
     box (transform does not shrink layout) would size the row and stretch
     the plate past the fold. */
  grid-template-rows: minmax(0, 1fr);
  place-items: stretch;
  background: var(--c-navy);
  color: var(--c-cream);
}

/* --stage-w is what site.js measures against, not what the box is: leaving
   it at the full 1440 composition makes --fit equal W/1440 on any wide
   screen, and a 735px box scaled by W/1440 is exactly 51.04% of the
   viewport — the navy column. Setting --stage-w to 735 instead would let
   the scaled type column grow wider than its own grid cell and lap onto
   the plate on short, narrow desktops. */
/* The stats panel is the first cell of its grid, vertically centred. It was
   an absolutely positioned, --fit-scaled stage pinned with left: 0; with the
   whole document now zoom-scaled there is no per-stage transform to work
   around and it is ordinary grid placement again. */
.inn-stats__stage {
  grid-column: 1;
  place-self: center start;
  width: 45.9375rem;
  max-width: 100%;
}

.inn-stats__col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5rem;
  /* The page gutter on the outer edge like every other panel on the site —
     this column used to start 15px closer to the edge than its neighbours. */
  padding: 7.5rem 2.8125rem 3.75rem var(--pad-x);
}

.inn-stats__title {
  max-width: 49.5rem;                 /* Figma heading box */
  color: var(--c-cream);
}

.inn-stats__plate { grid-column: 2; position: relative; overflow: hidden; }
.inn-stats__plate img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  will-change: transform;
}

/* -- 4. Light social panel ("Component 12", 351:24141) ------------------
   The gallery photograph bleeds across the whole frame, so it is real
   .screen__media; the heading sits top-right and the two notes bottom-left
   inside the 1440x1024 stage.                                            */
.inn-social {
  color: var(--inn-ink);
  background: var(--c-cream);
}

.inn-social__stage {
  /* No 1440 cap. The heading is set to the right margin and the notes to the
     left, and on a screen wider than 1440 logical units a capped stage puts
     both of them 45 inside a box floating in the middle of the page instead
     — which is exactly where they stop lining up with every other page. */
  --stage-w: none;
  --stage-h: 64rem;
  /* height: 100% is what makes space-between mean anything. The stage takes
     its height from its content unless told otherwise, so there was no
     spare space to distribute and the heading and the notes both drifted
     into the middle of the panel. With the panel's own height the heading
     sits at the top right and the notes on the bottom left, as the Figma
     has them. */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* The composition is deliberately smaller than the frame it sits in.
     Everything here is placed against the screen's own height, and the
     screen is only ever as tall as the window — but rather than trust that
     to the last pixel, the block keeps a tenth of the screen clear above
     and an eighth below. The heading and the notes then have room to be
     wrong by a wide margin and still be on screen, which matters more than
     matching the Figma's exact inset: the photograph simply crops a little
     further, which is what a full-bleed photograph is for. */
  padding: calc(var(--screen-h) * 0.1172)
           var(--pad-x)
           calc(var(--screen-h) * 0.1563);
}
/* The notes come down a step with it. At the Figma's 26/16 they were the
   tallest thing in the bottom-left corner and the first to run out of room. */
.inn-social__notes { max-width: min(47.5rem, 58%); }

/* The wall behind the bottom-left notes is white in the Figma crop, but the
   crop moves with the viewport — this keeps the ink readable if a canvas
   drifts underneath it. Invisible over the wall itself. */
.inn-social__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Reaches higher than it used to: with the composition pulled in off the
     frame, the notes sit further up the picture and can land on a canvas
     rather than the white wall behind it. */
  background: linear-gradient(0deg,
                rgba(252, 241, 232, 0.94)  0%,
                rgba(252, 241, 232, 0.70) 16%,
                rgba(252, 241, 232, 0.34) 30%,
                rgba(252, 241, 232, 0.00) 44%);
}

.inn-social__head { display: flex; justify-content: flex-end; }
.inn-social__title {
  font-size: min(3.4375rem, calc(var(--screen-h) * 0.0537));
  max-width: 35rem;                 /* Figma heading box: 547px */
  color: var(--inn-ink);
}

.inn-social__notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 19rem));
  gap: 2.8125rem;                        /* Figma columns at x 20 and 349 */
  align-items: end;
}

/* -- shared .stat overrides across both panels -------------------------
   components.css draws the rule twice: a static border-bottom plus an
   ::after that scales in. Fading the static one to a hairline leaves the
   ::after as the rule that actually draws itself. */
.inn-panel .stat::before { opacity: 0.18; }

.inn-stats .stat {
  color: var(--c-cream);
  padding-block: 0.9375rem;                        /* Figma stat pitch: 129px */
}
.inn-stats .stat__figure { font-size: var(--fs-title); color: var(--inn-coral); }
.inn-stats .stat__label  { font-size: var(--fs-body); opacity: 1; margin-top: var(--sp-3); }

.inn-social .stat {
  color: var(--inn-ink);
  padding-block: 0 0.625rem;
}
.inn-social .stat__figure { font-size: min(2rem, calc(var(--screen-h) * 0.0313)); }
.inn-social .stat__label  { font-size: min(1.25rem, calc(var(--screen-h) * 0.0195)); opacity: 1; margin-top: var(--sp-2); line-height: var(--lh-ui); }

/* ---------- 5. Closing band ("Frame 22", 364:24510) ------------------- */
.inn-cta__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-black-true);
  opacity: 0.20;                    /* Figma gradient pair sits at 0.20/0.22 */
  pointer-events: none;
}

.inn-cta__stage {
  --stage-w: 90rem;
  --stage-h: 21.25rem;
  display: grid;
  place-items: center;
  padding-inline: var(--pad-x);
}

/* Figma drops the block 78px below the frame's midpoint. */
.inn-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--c-cream);
  gap: 1.875rem;                        /* Figma 36px */
  transform: translateY(min(calc(7.6svh * var(--s)), 4.875rem));
}
.inn-cta__title { max-width: 47.5rem; }   /* Figma heading box: 678px */
.inn-cta .btn { will-change: transform; }

/* ---------- Responsive ------------------------------------------------
   The one-screen contract runs down to 860, the width at which the shared
   .screen releases it — so the release breakpoints here were moved from
   1024 to 860 to line up with it. Above 860 the five-column badge row and
   the two split panels stay in their Figma composition and simply scale;
   below it the stacked layouts take over and are allowed to run tall.
   Overflow is deliberately left hidden — every one of these blocks still
   clips an overscanned bed.                                               */

/* components.css reflows .badges to three columns at 1024. Inside a fixed
   1440 stage that would blow the discs up to 439px and stack two rows, so
   the five-column row is held all the way down to the release point and
   --fit does the shrinking instead. The cost is small caption type between
   ~860 and ~1100 — flagged to the lead as a candidate for a dedicated
   tablet composition rather than a scaled one. */
@media (min-width: 861px) {
  .inn-creds .badges { grid-template-columns: repeat(5, 1fr); row-gap: 0; }
}

@media (max-width: 860px) {
  /* components.css releases .screen and its stage at this exact width
     (height:auto, stage back to position:static / width:100% / no
     transform, min-height:0 on any .screen that is not a .bleed), so the
     page-local duplicates of all of that have been removed. Only the stats
     stage still needs unwinding by hand, because its own width and
     transform above outrank the shared release. */
  .inn-stats__stage { width: 100%; transform: none; }

  /* Off the fixed stage the hover copy has no reserved run beneath it, and
     the badges wrap, so it goes inline. */
  .badge__more { position: static; opacity: 1; transform: none; margin-top: 0.9375rem; }
  .inn-creds__stage {
    padding: clamp(5rem, calc(8.3333vw * var(--s)), 7.5rem) var(--pad-x) clamp(5rem, calc(8.3333vw * var(--s)), 7.5rem);
  }

  /* One and two column badge rows would otherwise stretch a disc to the
     full column — 350px on a 390px phone. Cap it: it holds the mark at a
     sane size and keeps the two bitmap marks (WELL, EPC A) at or under
     their native pixel size on a 2x screen. */
  /* A stated width, not just a cap. The badge is a centred flex column here,
     so the disc — which has no width of its own, only an aspect-ratio — shrank
     to its border and the five credentials arrived as bare text with no rings
     at all. */
  .inn-creds .badge__disc { width: min(100%, 10rem); margin-inline: auto; }

  /* The badge is a subgrid spanning four of the band's rows, which is what
     keeps five titles and five notes level across a desktop row. Paired on a
     phone that same mechanism inherits the row-gap between the badges as the
     gap between a disc and its own title — 60px of air inside every badge.
     Below the pairing the badge goes back to being a block. */
  .inn-creds .badge {
    display: block;
    grid-row: auto;
    grid-template-rows: none;
  }
  .inn-creds .badge__title { margin-top: var(--sp-5); }

  /* The badges wrap to a second row here, which drops white 14px type onto
     the bright coral end of the ramp. Deepening the whole band keeps every
     label above 4.5:1 without disturbing the Figma's colour. */
  .inn-creds::before {
    background: linear-gradient(53.79deg,
                  rgba(2, 14, 41, 0.44) 6%,
                  rgba(2, 14, 41, 0.32) 45%,
                  rgba(2, 14, 41, 0.26) 100%);
  }

  /* Both panels stack: plate first, then the type on a flat ground. */
  .inn-stats { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .inn-stats__plate { grid-column: 1; order: -1; aspect-ratio: 3 / 2; }
  .inn-stats__plate img { inset: -4% 0; height: 108%; }
  .inn-stats__stage { grid-column: 1; justify-self: stretch; }
  .inn-stats__col {
    height: auto;
    gap: clamp(2.8125rem, calc(4.1667vw * var(--s)), 3.75rem);
    padding: clamp(3.75rem, calc(5.5556vw * var(--s)), 5rem) var(--pad-x);
  }

  .inn-social {
    display: flex;
    flex-direction: column;
    /* .screen sets place-items:center, which in a flex column becomes
       align-items:center and shrink-wraps the bed to zero width. */
    align-items: stretch;
    background: var(--c-cream);
  }
  .inn-social > .screen__media {
    position: relative; inset: auto; z-index: 0;
    aspect-ratio: 3 / 2;
  }
  .inn-social > .screen__media img { position: absolute; inset: -4% 0; height: 108%;
                                     max-width: none; object-fit: cover; }
  .inn-social__wash { display: none; }
  .inn-social__stage {
    row-gap: clamp(1.875rem, calc(3.125vw * var(--s)), 2.8125rem);
    padding: clamp(1.875rem, calc(3.125vw * var(--s)), 2.8125rem) var(--pad-x) clamp(2.8125rem, calc(5.5556vw * var(--s)), 5rem);
  }
  .inn-social__head { justify-content: flex-start; }
  .inn-social__title { max-width: 22ch; }
  .inn-social__notes { grid-template-columns: repeat(2, minmax(0, 1fr));
                       gap: clamp(1.25rem, calc(3.125vw * var(--s)), 2.8125rem); }

  /* Back to the fluid Figma-derived scale once the fixed stage is gone. */
  .inn-stats .stat { padding-block: clamp(0.625rem, calc(1.0417vw * var(--s)), 0.9375rem); }
  .inn-stats .stat__figure { font-size: var(--inn-fig); }
  .inn-stats .stat__label  { font-size: var(--inn-lab); }
  .inn-social .stat__figure { font-size: var(--inn-fig-sm); }
  .inn-social .stat__label  { font-size: var(--fs-micro); }

  .inn-hero__stage,
  .inn-cta__stage { padding-block: clamp(1.25rem, calc(3.125vw * var(--s)), 2.8125rem); }
}

@media (max-width: 768px) {
  .inn-hero > .screen__media,
  .inn-cta  > .screen__media { inset: -5% 0; }
  .inn-creds .badge__title { font-size: clamp(1.25rem, calc(4.2vw * var(--s)), 1.5625rem); }
  .inn-social__notes { grid-template-columns: minmax(0, 1fr); gap: 1.875rem; }
  .inn-stats__plate,
  .inn-social > .screen__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .inn-creds__stage { padding-block: 3.75rem 3.75rem; }
  .inn-cta__inner { gap: 1.25rem; }
  .inn-stats .stat { padding-block: 0.625rem; }
}

/* A calm page for anyone who asked for one */
@media (prefers-reduced-motion: reduce) {
  .inn-social > .screen__media,
  .inn-stats__plate img { inset: 0; top: 0; height: 100%; }
  .stat::after { transform: scaleX(1) !important; }
}

/* Keyboard parity with :hover — the descriptions are the page's only
   content that would otherwise be pointer-only. Matches the hover state in
   components.css: the ring comes up, nothing fills or inverts. */
.badge:focus .badge__disc { border-color: var(--c-cream); }
.badge:focus-visible { outline: 2px solid currentColor; outline-offset: 0.5rem; border-radius: 0.5rem; }

/* ==========================================================================
   3. A world-1st model for retrofit — the brochure's "Proof, positive"
   spread, adapted to the 1440x1024 screen.

   Every measurement below is a fraction of the screen the block has to fit
   inside, capped at its 1440x1024 value, so a window that is shorter in
   proportion compresses the whole composition instead of pushing the ring
   or the last line of copy off the bottom.
   ========================================================================== */
.inn-retro {
  background: var(--c-black-true);
  color: var(--c-cream);
  --retro-line:  #462956;   /* the brochure's ring purple */
  --retro-dot:   #7A4A92;
  /* Held at 560 even though the section is now full-bleed. The five figures
     hang outside the ring and at 600 the widest of them — "selected for
     procurement and delivery" — ran past the right margin on a window that
     is exactly 1440 logical units wide, where there is no surplus to spend.
     The extra width a taller-than-16:10 window gives becomes air around the
     ring rather than a bigger ring, which is the point of the change. */
  /* The ring square itself. The five figures hang outside it — 32.5% of its
     width off the right, 31.5% off the left, 13.4% above and 15.5% below —
     so the thing the section actually has to fit is a box 1.64 wide and 1.29
     tall for every 1 of ring.

     The ring is sized so that box fills the content height exactly:
     1024 less the 120 and 60 of padding is 844, and 844 / 1.2889 is 655. That
     one number is what makes the two columns line up — the drawing's top edge
     and its bottom edge become the top and bottom of the content box, which
     is where the headline starts and where the logos end. Nothing is nudged
     into place; both columns are simply measured to the same box. */
  --retro-ring:  min(40.9375rem, calc(var(--screen-h) * 0.6394));
}
/* The one section on the site that is not held to the 1440 stage. Every
   window this site runs on is wider than 1440 in its own logical units — the
   page scale is set by height, so a 16:9 screen resolves to about 1820 — and
   on a two-column composition that surplus is the difference between a ring
   sitting in a box and a ring with air around it. The copy takes the left
   margin, the ring takes the right, and the space between them is the point.
   The stage keeps its --stage-h so the one-screen contract is unchanged. */
.inn-retro.screen > .screen__stage { --stage-w: none; --stage-h: 64rem; }

.inn-retro__stage {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 32.5rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.8125rem, calc(5.5556vw * var(--s)), 5rem);
  padding: min(7.5rem, calc(var(--screen-h) * 0.1172)) var(--pad-x)
           min(3.75rem, calc(var(--screen-h) * 0.0586));
}

/* -- left column ------------------------------------------------------- */
/* The column is the full height of the content box, and the partners block is
   pushed to the foot of it — so the headline starts level with the top of the
   drawing and the two logos end level with its bottom. Centring the column
   instead left the headline a quarter-step low and the logos floating. */
.inn-retro__copy {
  max-width: 32.5rem;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.inn-retro__title {
  /* Display, like every other section headline on the site. It was 40 here
     because the column was 430 wide; the column is 520 now and the headline
     can be the size it is everywhere else. */
  font-size: min(3.4375rem, calc(var(--screen-h) * 0.0537));
  line-height: var(--lh-tight);
}
.inn-retro__title em { font-style: italic; }
.inn-retro__body {
  margin-top: min(3.75rem, calc(var(--screen-h) * 0.0586));
  display: flex;
  flex-direction: column;
  gap: min(1.25rem, calc(var(--screen-h) * 0.0195));
  font-size: min(1.125rem, calc(var(--screen-h) * 0.0176));
  line-height: var(--lh-body);
  color: var(--c-cream-70);
}
/* auto, not a measure: the block sits on the floor of the column, which is the
   bottom of the drawing beside it. */
.inn-retro__partners { margin-top: auto; }
.inn-retro__more {
  display: inline-block;
  font-size: var(--fs-xs);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 0.1875rem;
  /* it is an <a> now; the border-bottom above is the underline, so the
     browser's own must stay off and the colour must not go link-blue. */
  color: inherit;
  text-decoration: none;
}
.inn-retro__logos {
  margin-top: min(1.875rem, calc(var(--screen-h) * 0.0293));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: min(1.25rem, calc(var(--screen-h) * 0.0195));
}
.retro-logo { color: var(--c-cream); height: auto; }
.retro-logo--ukgbc { width: min(9.375rem, calc(var(--screen-h) * 0.1465)); }
.retro-logo--bte   { width: min(12.25rem, calc(var(--screen-h) * 0.1914)); }

/* -- the system -------------------------------------------------------- */
/* The ring is a square that holds the two circles; the five figures hang
   outside it, so the block must not clip. */
/* The ring takes 62% of the column it is given, capped at 560. The five
   figures hang outside it by about a quarter of its width each side, so 62%
   is what keeps the widest of them inside the page margin on a board with no
   surplus width; on a wider one the cap takes over and the rest is air.

   container-type makes the ring its own container, so everything drawn on it
   is sized in cqw against the ring itself rather than against a variable the
   ring may or may not have taken. One number to change, and the graphic holds
   together at any size. */
/* Anchored to the right margin, not centred in the column. The graphic's
   right-hand figure — "16 / selected for procurement and delivery" — is the
   thing the eye reads as the edge of the drawing, so that is what lands on
   the page margin: justify-self: end puts the ring square's right edge on the
   margin and the translate pulls it back by exactly the 32.54% the figure
   hangs past it. Centring left 103px of dead air on the right on a wide board
   and, at 1440 exactly, overshot the margin by 11px in the other direction.

   The width cap keeps the left-hand figure clear of the copy: the box is
   1.64 ring-widths across, and it may borrow 50px of the column gap. */
.inn-retro__system {
  container-type: inline-size;
  position: relative;
  width: min(var(--retro-ring), calc((100% + 3.125rem) / 1.66));
  aspect-ratio: 1;
  justify-self: end;
  /* The offset is on `translate`, not `transform`: the block carries
     data-reveal, and base.css sets `transform: none` on a revealed element —
     which would snap the ring back onto the margin the moment it faded in.
     `translate` composes with the reveal instead of being overwritten by it. */
  /* The vertical half is the same idea: the figures hang 13.43% of the ring
     above the square and 15.46% below it, so centring the square leaves the
     drawing sitting 1.02% low. This lifts it back onto the box. */
  translate: -33% -1.02%;
}
/* The wrapper the drawing lives in. On a desktop it is the square itself and
   changes nothing; on a phone it is what lets the five figures step out of the
   square and become a list under it. */
.inn-retro__ring { position: absolute; inset: 0; }
.retro-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.retro-ring {
  fill: none;
  stroke: var(--retro-line);
  stroke-width: 1.2;
}
.retro-ring--in { stroke-width: 1; }

/* One mark, moving. It rests under a step, swings 60 degrees clockwise to the
   next and waits there — Source, Validate, Integrate, Procure, Prove, Scale,
   six moves in twelve seconds and back where it started.

   It travels rather than redrawing itself. Six separate rules that each drew
   in and cleared meant the eye caught the drawing, not the movement: a stroke
   growing out of nothing reads as a different event from a line sliding along
   a circle, and at six of them it read as flicker. One arc that moves is the
   same information with none of that.

   Its length is the width of "Integrate", the longest of the six, and it sits
   on the inner circle itself rather than under each word — so it is identical
   at every stop and the circle carries it. On four of the six the word rides
   above the line rather than sitting on it; that is the price of the mark
   being the same object all the way round, and worth paying.

   The rotation is one transform on the group, and transform-box: view-box
   makes the SVG user units the frame of reference — without it the origin is
   the group's own ink box and the mark orbits its own tail.

   The origin MUST stay a percentage. It once read 300px, which the px-to-rem
   pass turned into 18.75rem — and a rem is a CSS length, so once the root
   font-size started carrying the page scale it stopped meaning 300 user
   units. The mark then pivoted about a point that slid toward the top-left
   as the window shrank, and the arc spiralled off the ring instead of riding
   it. 50% 50% is resolved against the view box, so it is 300 300 at every
   scale. Never put an absolute length here. */
.retro-mark {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: retro-step 12s infinite;
}
.retro-underline {
  fill: none;
  stroke: var(--c-coral);
  stroke-width: 2;
  stroke-linecap: round;
}

/* Six moves and six rests. Each pair is one sixth of the cycle: the swing
   takes a little over a third of a second, the rest holds for the balance of
   it. The easing lands the mark on each step rather than arriving flat. */
@keyframes retro-step {
    0%    { transform: rotate(0deg);   animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
   6.25%,
  16.67% { transform: rotate(60deg);  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
  22.92%,
  33.33% { transform: rotate(120deg); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
  39.58%,
  50.00% { transform: rotate(180deg); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
  56.25%,
  66.67% { transform: rotate(240deg); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
  72.92%,
  83.33% { transform: rotate(300deg); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
  89.58%,
  100%   { transform: rotate(360deg); }
}

.retro-dot {
  fill: var(--retro-dot);
  transition: none;
  animation: retro-dot 10s linear infinite;
  animation-delay: calc(var(--i) * 2s);
}
@keyframes retro-dot {
  0%          { fill: var(--retro-dot); r: 7.4; }
  5%          { fill: var(--c-coral);   r: 9.8; }
  20%         { fill: var(--c-coral);   r: 8.4; }
  25%, 100%   { fill: var(--retro-dot); r: 7.4; }
}

.retro-step {
  fill: var(--c-cream);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

/* -- the core --------------------------------------------------------- */
.retro-core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}
.retro-core__mark {
  width: auto;
  height: 32cqw;
  color: var(--c-cream);
  opacity: 0.92;
}
.retro-core__label {
  margin-top: 4.5cqw;
  color: var(--c-coral);
  font-size: 5.71cqw;    /* 32 at the 560 ring */
  line-height: var(--lh-tight);
}

/* -- the five figures on the outer ring -------------------------------- */
.retro-nodes { position: absolute; inset: 0; }
.retro-node {
  position: absolute;
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  white-space: nowrap;
}
.retro-node--stack { flex-direction: column; align-items: flex-start; gap: 0.28em; }
.retro-node__figure {
  color: var(--c-coral);
  font-size: 7.14cqw;    /* 40 at the 560 ring */
  line-height: 1;
}
.retro-node__note {
  font-size: 2.86cqw;    /* 16 at the 560 ring */
  line-height: var(--lh-ui);
  color: var(--c-cream);
}
/* Each block is placed against its own dot, the way the brochure sets them:
   above, outboard, or below, never overlapping the ring.

   These transforms are the placement, so the nodes deliberately carry no
   [data-reveal]: base.css resets a revealed element's transform to none,
   which would drop every one of them back onto its dot. The whole system
   fades in as a single piece instead. */
.n-top   { transform: translate(-50%, -100%); margin-top: -3.5cqw; }
.n-right { transform: translate(0, -50%);     margin-left: 3.5cqw; }
.n-left  { transform: translate(-100%, -50%); margin-left: -3.5cqw; text-align: right; }
.n-left  { flex-direction: row; }
.n-br    { transform: translate(-14%, 0);     margin-top: 3.2cqw; }
.n-bl    { transform: translate(-62%, 0);     margin-top: 3.2cqw; }

/* The wrapper is nothing on a desktop: display: contents hands the grid its
   real item back, so every measurement above is unchanged. */
.inn-retro__pan { display: contents; }

/* -- the panel on a phone ---------------------------------------------- */
/* The two columns become one, and the ring stops being fitted to the screen
   and starts being panned across it — the same move the two maps on Location
   make, and for the same reason: the five figures hang a third of the ring's
   width off each side, so a graphic that fits a 390 screen leaves its notes
   at six pixels. Held at 520, the notes are 15 and the figures 37, and the
   whole thing is one thumb-swipe wide. */
@media (max-width: 860px) {
  .inn-retro.screen > .screen__stage { --stage-h: auto; }
  .inn-retro__stage {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    padding: var(--sp-8) 0;
    row-gap: var(--sp-8);
  }
  .inn-retro__copy {
    max-width: none;
    align-self: auto;
    padding-inline: var(--pad-x);
  }
  .inn-retro__title { font-size: var(--fs-display); }
  .inn-retro__body  { font-size: var(--fs-body); margin-top: var(--sp-5); }
  .inn-retro__partners { margin-top: var(--sp-7); }

  /* The drawing fits, and the figures come out from under it.

     Panning it sideways was the wrong answer: on a phone a band that scrolls
     horizontally inside a page that scrolls vertically just reads as the page
     being broken, and you cannot see the whole diagram at once anyway. So the
     ring is sized to the screen and the five figures — which hang a third of
     its width off each side, and are the reason it never fitted — leave the
     square and become a list beneath it. The ring keeps its six steps, its
     travelling mark and its dots; nothing of the idea is lost, and every
     number is now at a size you can read. */
  .inn-retro__pan { display: block; padding-inline: var(--pad-x); }
  .inn-retro__system {
    width: 100%;
    aspect-ratio: auto;
    translate: none;
    justify-self: auto;
    container-type: normal;
    display: grid;
    row-gap: var(--sp-7);
  }
  .inn-retro__ring {
    position: relative;
    inset: auto;
    width: min(calc(74vw * var(--s)), 21.25rem);
    aspect-ratio: 1;
    margin-inline: auto;
    container-type: inline-size;   /* the cqw sizing inside it still holds */
  }
  /* Off the ring the five figures are set as a table, the same way the
     specification on Experience is set: a hairline over every cell, one
     row height for the pair, the type hard against the left of its column.
     Loose in a grid they were five blocks of different depths — notes of
     two and three lines, gaps that changed with every row — and read as
     five things that had fallen out of the drawing rather than as a set.
     The rules are what do the organising: whatever the notes do, every
     figure starts on a line, and the pair of lines across the row tells you
     these two belong together. */
  .retro-nodes {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--sp-5);
    row-gap: 0;
    align-content: start;
  }
  .retro-node,
  .retro-node--stack {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
    white-space: normal;
    text-align: left;
    transform: none;
    margin: 0;
    border-top: 1px solid var(--c-cream-15);
    padding-block: var(--sp-4);
  }
  .retro-node__figure { font-size: var(--fs-title); }
  .retro-node__note   { font-size: var(--fs-xs); color: var(--c-cream-70); }
  /* The fifth spans the pair and closes the table with a rule of its own —
     an odd one left in a column reads as a dropped item, and without the
     closing rule the last row has a top and no bottom. */
  .retro-nodes > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--c-cream-15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .retro-mark, .retro-dot { animation: none; }
}

/* ---------- Vertical rhythm on a phone — see --sec-y ------------------- */
@media (max-width: 860px) {
  .inn-creds .inn-creds__stage { padding-block: var(--sec-y); }
  .inn-retro .inn-retro__stage { padding-block: var(--sec-y); }
  .inn-stats .inn-stats__col   { padding-block: var(--sec-y); }
  .inn-social .inn-social__stage { padding-block: var(--sec-y); }

  /* The closer's 78px drop is a 1440 x 1024 composition device: it sets the
     block against the ramp in the photograph. On a phone that is a different
     crop, and all the drop does is leave this closing plate off-centre while
     the other four on the site are centred. */
  .inn-cta__inner { transform: none; }
}
