/* Sensedge homepage — built to the client's 7 September design set.
   Every measurement here was taken off their own artboards (1672 x 941), so
   at 104.5rem wide the page matches the comps; below that it scales and, at
   tablet and phone, reflows. Colours are sampled from the comps, not guessed:
   crimson #b7092f, navy #06244d, blue #b7092f. */

:root {
  /* The accordion's timing, declared once. Everything that moves when a
     service opens shares these, so nothing can drift out of step again the
     way the panel and its header did. */
  --acc: .95s;
  --acc-ease: cubic-bezier(.22, 1, .28, 1);
  --navy:    #06244d;
  --ink:     #0b1f3f;
  --body:    #5a6480;
  --muted:   #8b93a6;
  /* Was #b7092f. Naren asked for the crimson used on Explore Services to
     carry the accent across the whole page, so the token changes rather than
     the sixteen rules that reference it. */
  --blue:    #b7092f;
  --blue-lt: #fdf0f3;   /* the pale wash under pills, retinted to match */
  --red:     #b7092f;
  --line:    #e6e9f0;
  --line-sf: #eef1f6;
  --page:    #ffffff;
  --f:       "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif:   "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
/* ══════════════════════════════════════════════════════════════════
   DESIGN SCALE
   ══════════════════════════════════════════════════════════════════
   Naren reads this page at Chrome's 80% zoom and wants that to be the
   default. Zoom is not a filter over the finished page — it changes what
   a CSS pixel is worth. At 80% every px-based length renders at four
   fifths of its size, while `vw`, `%` and viewport units are untouched,
   because the viewport simply reports more CSS pixels than before.

   So this is reproduced properly rather than faked with `zoom: .8` or a
   transform: every length in this file is now expressed in `rem`, and the
   root is set to 80% of the reader's own base size. px lengths shrink by
   a fifth; the vw terms inside every clamp() carry on measuring the real
   viewport. That is the same arithmetic the browser does at 80% zoom.

   80% rather than a hard 12.8px so that a reader who has set a larger
   default font size still gets it — the ratio is honoured, their
   preference is not overridden. Breakpoints stay in px, as they must:
   they measure the window, not the type.

   To go back to the old size, set this to 100%. Nothing else changes. */
html { font-size: 80%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--f); font-size: 1.0625rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Each comp was drawn with its own side margin; they are kept rather than
   averaged, because the client will compare section by section. */
.shell { max-width: none; width: 100%; margin-inline: 0; }
/* Each comp was drawn with its own gutter at 104.5rem wide. Those gutters are
   kept as a proportion of the viewport rather than a fixed pixel figure, so
   the page fills whatever screen it is opened on instead of sitting in a
   104.5rem column with white either side. */
.shell-hero { padding-inline: clamp(1.5rem, 4.5vw, 6.875rem); }
.shell-who  { padding-inline: clamp(1.5rem, 3.9vw, 6rem); }
/* Matched to .shell-prod, so the services bands start and end on the same
   measure as the portfolio ones above them. */
.shell-svc  { padding-inline: clamp(1.5rem, 5.7vw, 8.75rem); }
.shell-prod { padding-inline: clamp(1.5rem, 5.7vw, 8.75rem); }
.shell-ms   { padding-inline: clamp(1.5rem, 5.7vw, 8.75rem); }

/* ── shared type ─────────────────────────────────────────────────── */
.h-lg {
  color: var(--navy); font-weight: 800; letter-spacing: -0.021em;
  font-size: 3.875rem; line-height: 1.04;
}
.eyebrow {
  display: block;
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--body); margin: 0;
}
.eyebrow-blue { color: var(--blue); }
.eyebrow-red  { color: var(--red); }
/* No rule beside the label. The comps draw a short dash before each eyebrow;
   Naren asked for it out across the whole site, so the class is gone rather
   than left unused. */

/* The one arrow on the site, drawn not typed, so it matches at every size. */
.arw {
  display: inline-block; width: 1.15em; height: .72em; flex: none;
  background: currentColor;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 15'%3E%3Cpath d='M1 7.5h20M15.4 1.4 21.5 7.5l-6.1 6.1' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask: no-repeat center/contain url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 15'%3E%3Cpath d='M1 7.5h20M15.4 1.4 21.5 7.5l-6.1 6.1' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform .28s cubic-bezier(.16,1,.3,1);
}
a:hover .arw, .btn:hover .arw { transform: translateX(0.25rem); }

.link-blue {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: var(--blue); font-size: 1.25rem; font-weight: 500;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.875rem; border-radius: 0.5rem;
  font-size: 1.25rem; font-weight: 700; padding: 0 1.875rem; height: 4rem;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #99062780; background: #9a0626; }
.btn-line { border: 0.1rem solid var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-sm { height: 3.25rem; font-size: 1.0625rem; padding: 0 1.5rem; }

/* ══ 01 · HERO ═══════════════════════════════════════════════════ */
/* Sticky, as on the production site — the bar stays with the reader
   instead of scrolling away at the top of a very long page. */
.site-header { background: #fff; position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex; align-items: center; gap: 2.5rem; height: 6.25rem;
}
.logo img { width: 15.625rem; height: auto; }
.nav {
  display: flex; gap: 2.875rem; margin-inline: auto;
  font-size: 1.0625rem; color: #4b5363;
}
.nav a { padding: 0.375rem 0; border-bottom: 0.125rem solid transparent; }
.nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* The header's right-hand group. On desktop it holds only the button, which
   is what sat here before, so nothing about the wide layout changes. */
.header-end { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.menu-btn { display: none; }
.mobile-nav { display: none; }
.header-cta { height: 3.25rem; font-size: 1.0625rem; padding: 0 1.5rem; }

.hero { position: relative; isolation: isolate; background: #f9fbfe; overflow: hidden;
  min-height: clamp(42.5rem, 82vh, 62.5rem); display: flex; align-items: center; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo { display: flex; justify-content: flex-end; }
/* Height first: the frame is shown top to bottom and allowed to run off the
   right edge, rather than being stretched across the width and cropped. */
.hero-photo img { height: 100%; width: auto; max-width: none; object-fit: cover; object-position: center; }
/* The comp fades the photograph out to the left behind the copy. */
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, #f9fbfe 0%, #f9fbfe 43%, rgba(249,251,254,.86) 55%,
                    rgba(249,251,254,.30) 67%, rgba(249,251,254,0) 78%),
    linear-gradient(180deg, rgba(249,251,254,.55) 0%, rgba(249,251,254,0) 22%);
}
.hero-inner { padding-block: clamp(3.5rem, 7vw, 7.375rem); width: 100%; }
.hero-copy { max-width: min(70rem, 62vw); min-width: 0; }
.hero-copy .eyebrow { font-size: 0.96875rem; letter-spacing: .1em; color: #6a7386; }
.hero h1 {
  margin-top: 2.875rem; color: var(--navy); font-weight: 800;
  font-size: 4.4375rem; line-height: 1.06; letter-spacing: -0.028em;
}
.hero h1 .dot { color: var(--red); }
.hero-lead {
  margin-top: 1.875rem; max-width: 43.125rem; color: var(--body);
  font-size: 1.5625rem; line-height: 1.36;
}
.hero-btns { display: flex; gap: 2rem; margin-top: 2.625rem; }

.proof { display: flex; align-items: center; gap: 2.125rem; margin-top: 4.625rem; }
.proof li { display: flex; align-items: center; gap: 1.125rem; }
.proof li + li { border-left: 1px solid #d9dfe9; padding-left: 2.125rem; }
.pi { width: 2.875rem; height: 2.875rem; flex: none; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.proof b { display: block; color: var(--navy); font-size: 1.4375rem; font-weight: 800; line-height: 1.15; }
.proof em { display: block; color: var(--body); font-size: 0.96875rem; font-style: normal; }

/* ══ 02 · WHO WE ARE ═════════════════════════════════════════════ */
/* Rebuilt to the client's 8 September reference: white throughout, a ghosted
   track running out of the bottom-left corner, and a faint ring motif behind
   the emblem. The grey ground it used to sit on is gone — their note says the
   background is to be white all over. */
.who { position: relative; isolation: isolate; overflow: hidden; background: #fff; }
/* The client's own artwork: a transparent PNG, already faded to almost
   nothing at the top where it meets the page. It needs no opacity of ours and
   no mask — the fade is painted into the file — so it is placed at full
   strength and simply anchored to the corner. */
.who-track {
  position: absolute; left: 0; bottom: 0; z-index: -1;
  /* Upright, anchored to the corner, clipped by .who. The supplied photograph
     is a clean, full-strength track, so the fade this design wants is applied
     here rather than being baked into the file — a soft white wash across it
     and a diagonal mask, which is what made the previous artwork read as a
     watermark rather than a picture pasted into the corner. */
  /* The track runs on past the copy and under the film, which sits above it
     in the stacking order, and is gone by the time it would reach the right
     edge. The mask fades along the direction of travel — up and to the right,
     the way the rails themselves run — rather than squarely across. */
  /* Smaller again, and the mask holds much further along the rails: it was
     down to a quarter strength by the halfway mark, so the far end of the
     track had dissolved before you could see where it went. It now stays
     mostly solid to about three-quarters and only lets go at the very end. */
  /* The rails run on until they are under the film, and thin out as they go.
     These two asks pull against each other: fading the tip pulls the visible
     end backwards, so the picture has to be longer for the track to still
     reach the frame. It is extended to 80% and the mask now falls away from
     two-thirds, reaching nothing just past the film's edge — so the track is
     already a whisper where the two meet, and what is left of it disappears
     behind the frame rather than stopping at a cut. */
  width: min(66%, 66rem);
  /* Faded harder along the whole run and gone by 88%, and the wash lightened
     from .52 to .40 — so the rails sit further under the white rather than
     drawing on top of it. */
  -webkit-mask-image: linear-gradient(to top right, #000 6%, rgba(0,0,0,.82) 32%, rgba(0,0,0,.46) 54%, rgba(0,0,0,.18) 72%, transparent 88%);
  mask-image: linear-gradient(to top right, #000 6%, rgba(0,0,0,.82) 32%, rgba(0,0,0,.46) 54%, rgba(0,0,0,.18) 72%, transparent 88%);
  opacity: .40;
}
.who-track img { display: block; width: 100%; height: auto; }
/* Concentric rings behind the emblem, with a mark at each cardinal point. */
.who-rings { display: none;
  position: absolute; inset: 50% auto auto 50%; z-index: -1;
  width: 25rem; height: 25rem; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid #dbe2f0;
  background:
    radial-gradient(circle, transparent 0 49.6%, #eef1f8 49.6% 50%, transparent 50%) center / 74% 74% no-repeat,
    radial-gradient(circle, transparent 0 49.6%, #f2f5fb 49.6% 50%, transparent 50%) center / 50% 50% no-repeat;
}
.who-rings::before, .who-rings::after {
  content: ""; position: absolute; background: #c9d3e8;
}
.who-rings::before { inset: 50% 0 auto; height: 1px; }
.who-rings::after  { inset: 0 auto 0 50%; width: 1px; }
/* Laid out as the client's reference draws it: copy on the left, the emblem
   in its ring motif top-right, and the four capability points as a 2x2 block
   underneath the emblem — not stacked below the copy, which is where they
   were and why the section did not read like the image at all. */
.who-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-rows: auto auto; gap: 2.5rem 4rem;
  align-items: start; padding-block: 7.5rem 8rem;
}
.who-copy { grid-column: 1; grid-row: 1; align-self: start; }
.who-emblem { grid-column: 2; grid-row: 1; }
.who-items { grid-column: 2; grid-row: 2; }
.who h2 { font-size: 3.5rem; }
.who-lead { margin-top: 1.875rem; max-width: 46ch; color: var(--body); font-size: 1.1875rem; line-height: 1.55; }
.who .eyebrow { font-size: 0.9375rem; letter-spacing: .14em; }
.who-cta { margin-top: 2rem; }

/* The emblem sits inside the rings, with the two whispered captions either
   side of it exactly as the reference has them. */
.who-emblem {
  position: relative; display: flex; align-items: flex-start; justify-content: center;
  min-height: 0; z-index: 0;
  /* Drops the film past the eyebrow so its top edge meets the headline. */
  padding-top: 2.4375rem;
}
/* The film sits where the emblem did, top-aligned with the eyebrow so the
   two columns start on the same line, and the four points below are pushed
   down to meet it. Its own rounded frame, over the ring motif. */
/* The film has the column to itself now — the two whispered captions that
   flanked it are gone. It starts level with the headline rather than the
   eyebrow above it, and runs down to meet the four points, so the right side
   is one object rather than a small picture floating in white. Kept landscape at 16:9 — at 5:4 it stood
   too tall for the column; the frame crops, it does not stretch. */
.who-video {
  position: relative; width: 100%; max-width: none;
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1rem;
  box-shadow: 0 1.75rem 3.5rem rgba(10, 32, 74, .18), 0 0.375rem 1rem rgba(10, 32, 74, .09);
}
.who-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.who-side { display: none;
  position: absolute; top: 46%; color: #a9b2c4; font-size: 0.625rem; font-weight: 600;
  letter-spacing: .2em; line-height: 2.1; text-transform: uppercase;
}
.who-side-l { left: 0; text-align: left; }
.who-side-r { right: 0; text-align: left; }

/* The four points: a round badge, a short rule, the title, the line. */
.who-items {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.25rem; margin: 2.25rem 0 0; padding: 0; list-style: none; max-width: none;
}
.who-items li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem;
  max-width: none; margin: 0; padding: 0; border-radius: 0; transition: none;
}
.who-items li:hover { background: none; transform: none; }
.who-badge {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; flex: none;
  background: var(--blue-lt); display: flex; align-items: center; justify-content: center;
  transition: background-color .3s;
}
.who-badge svg {
  width: 1.375rem; height: 1.375rem; fill: none; stroke: var(--blue);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.who-items li:hover .who-badge { background: #f8dde3; }
.who-items .rule { display: block; width: 2.25rem; height: 0.1875rem; background: var(--blue);
  transition: width .45s cubic-bezier(.16,1,.3,1); }
.who-items li:hover .rule { width: 3.5rem; }
.who-items h3 {
  margin-top: 0.625rem; color: var(--navy); font-size: 0.875rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; transition: color .25s;
}
.who-items li:hover h3 { color: var(--blue); }
.who-items p { margin-top: 0.5rem; color: var(--body); font-size: 0.9375rem; line-height: 1.55; }
.who-emblem img {
  filter: drop-shadow(0 1.5rem 2rem rgba(18, 22, 38, .30))
          drop-shadow(0 0.5rem 0.75rem rgba(18, 22, 38, .20));
}

/* ══ 03 · OUR SERVICES ═══════════════════════════════════════════ */
.svc {
  background: linear-gradient(180deg, #f4f8fd 0%, #eef4fc 100%);
  border-block: 1px solid #e2eaf6;
}
.svc-grid {
  display: grid; grid-template-columns: 33.75rem minmax(0, 1fr); gap: 0;
  padding-block: 6.5rem 7rem;
}
.svc-side { display: flex; flex-direction: column; padding-right: 3.75rem; }
.svc h2 { font-size: 3.25rem; line-height: 1.13; }
.svc-lead { margin-top: 2.125rem; max-width: 29.375rem; color: var(--body); font-size: 1.3125rem; line-height: 1.6; }
.svc .link-blue { margin-top: 2.5rem; align-self: flex-start; }
.strapline {
  margin-top: auto; padding-top: 5.625rem; color: #9aa2b4;
  font-size: 0.875rem; font-weight: 500; letter-spacing: .19em; line-height: 1.65;
  text-transform: uppercase; display: flex; align-items: flex-end; gap: 1.125rem;
}
.strapline .rule { width: 6.75rem; height: 1px; background: #cfd6e2; margin-bottom: 0.5rem; flex: none; }

.svc-list { display: flex; flex-direction: column; }
/* The row rules were --line-sf (#eef1f6), too faint to read as a list of
   six things. --line (#e6e9f0) states the division without ruling the
   page into boxes. */
.svc-row { border-bottom: 1px solid var(--line);
  transition: border-color var(--acc) ease-out, background-color var(--acc) ease-out; }
.svc-row:first-child { border-top: 1px solid var(--line); }
.svc-head {
  display: flex; align-items: center; gap: 1.625rem; width: 100%; text-align: left;
  background: none; border: 0; padding: 0.375rem 0.375rem; cursor: pointer;
  font: inherit; color: var(--navy);
  transition: padding var(--acc) var(--acc-ease);
}
.svc-head img {
  width: 7rem; height: 3.125rem; object-fit: cover; border-radius: 0.375rem; flex: none;
  transition: width var(--acc) var(--acc-ease), opacity .5s ease-out,
              margin-right var(--acc) var(--acc-ease);
}
.svc-head h3 { flex: 1; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.006em;
  transition: color .25s, font-size var(--acc) var(--acc-ease); }
.svc-sign { width: 1.375rem; height: 1.375rem; flex: none; position: relative; }
.svc-sign::before, .svc-sign::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 0.1125rem; margin-top: -0.05625rem;
  background: var(--navy); transition: transform .6s var(--acc-ease);
}
.svc-sign::after { transform: rotate(90deg); }
.svc-row.is-open .svc-sign::after { transform: rotate(0); }
.svc-row.is-open .svc-head h3 { color: var(--blue); }
.svc-head:hover h3 { color: var(--blue); }

.svc-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--acc) var(--acc-ease);
}
.svc-row.is-open .svc-wrap { grid-template-rows: 1fr; }
/* THE PANEL'S LAYOUT IS UNCONDITIONAL, and that is the whole fix for the
   flash Naren recorded. The two-column grid used to live on
   `.svc-row.is-open .svc-panel`, so the moment the class came off, the panel
   reverted to a plain block: the photograph — `width: 100%` of its own box —
   stretched to the full width of the panel and stayed that way for the entire
   collapse. That is the "bigger image for a millisecond".

   Declaring the grid here means the columns exist whether the row is open or
   shut. Closing now animates height and nothing else; the picture never
   changes width, so there is nothing left to flash. */
.svc-panel {
  min-height: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) 31.8125rem; gap: 2.5rem;
  /* Vertical padding only while open. `grid-template-rows: 0fr` zeroes the
     content box but not the padding, so a shut row was still carrying 35px of
     it — five rows, 175px of dead space down the list, and the blank column
     beside it. Horizontal padding is constant, so nothing shifts sideways;
     only the two vertical values ease, on the accordion's own curve. */
  padding: 0 1.875rem;
  transition: padding-top var(--acc) var(--acc-ease),
              padding-bottom var(--acc) var(--acc-ease);
}
.svc-row.is-open .svc-panel { padding-top: 0.875rem; padding-bottom: 1.875rem; }
.svc-panel.is-wide { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
/* The contents follow the box open rather than arriving with it, which is
   what makes the panel read as unfolding instead of appearing. */
.svc-panel > * { opacity: 0; transform: translateY(0.875rem);
  transition: opacity .6s ease-out, transform .72s var(--acc-ease); }
.svc-row.is-open .svc-panel > * { opacity: 1; transform: none; transition-delay: .26s; }
.svc-row.is-open .svc-panel > *:nth-child(2) { transition-delay: .38s; }
.svc-row.is-open { border-bottom: 0; }
.svc-row.is-open .svc-head { padding: 1.375rem 1.875rem 0.25rem; }
.svc-row.is-open { border: 1px solid var(--line-sf); border-left: 0.1875rem solid var(--blue); border-radius: 0 0.625rem 0.625rem 0; }
.svc-row.is-open .svc-head img { width: 0; opacity: 0; margin-right: -1.625rem; }
.svc-row.is-open .svc-head h3 { font-size: 1.875rem; font-weight: 600; }
.svc-intro { color: var(--body); font-size: 1.0625rem; line-height: 1.55; max-width: 44ch; }
.svc-areas { margin-top: 1.375rem; display: flex; flex-direction: column; gap: 1.25rem; }
.svc-area { display: flex; gap: 1rem; }
.svc-area svg { width: 1.75rem; height: 1.75rem; flex: none; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-area h4 { margin: 0; color: var(--navy); font-size: 1.03125rem; font-weight: 700; }
.svc-area p { margin-top: 0.25rem; color: var(--body); font-size: 0.9375rem; line-height: 1.42; }
.svc-panel .link-blue { font-size: 1.0625rem; margin-top: 1.5rem; }
.svc-shot { align-self: start; border-radius: 0.5rem; overflow: hidden; background: var(--line-sf); }
.svc-shot img { display: block; width: 100%; height: auto; }
/* Independent Verification's photograph is a wide, shallow banner — 1037x194
   in the client's own comp — so in a 31.8125rem side column it was a postage
   stamp. It runs the full width of the panel as a header instead, which is
   how the comp uses it, and the panel drops to one column to suit. */
.svc-shot-wide { width: 100%; border-radius: 0.625rem; }

/* ══ 04 · PRODUCT PORTFOLIO ══════════════════════════════════════ */
/* THE BRAND GRADIENT, AT A TINT. *"Can we add gradient colour in the bg as we
   used in the hero section, but a very light version of the gradient."*  Same
   three stops as the product-page heroes — the crimson end, the panel blue and
   the blue end — at the lightest tint they have, so the portfolio band lifts
   off the white sections either side of it without becoming a coloured panel.
   The darkest stop is #eef4fb; the body colour on it measures 16.8:1. */
/* THE HERO'S GRADIENT, NOT A FLAT RAMP OF IT. *"Same gradient style as we used
   in the hero section of the product page, but here a little lighter."*

   The first version was a plain two-stop linear tint and came out at
   rgb(252,240,243) to rgb(238,244,251) — too close to white to read as
   anything. This is the product hero's own construction: the same three
   layers, the same angles, the same positions — crimson radial from the top
   left, blue radial from the bottom right, the linear ramp under both — with
   the radials at a tenth of their strength and the ramp raised into the
   near-whites. The shape of the gradient is the hero's; only the depth is
   different. */
.prod {
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(176, 8, 48, 0.38), transparent 62%),
    radial-gradient(90% 120% at 100% 100%, rgba(0, 88, 168, 0.39), transparent 68%),
    linear-gradient(120deg, #ecd0dd 0%, #e4edf8 34%, #d0e1f4 68%, #b4cdec 100%);
  border-bottom: 1px solid var(--line);
  padding-block: 6rem 6.5rem;
}
.prod-head { display: grid; grid-template-columns: minmax(0, 1fr) 26.25rem 15.625rem; gap: 2.5rem; }
.prod h2 { font-size: 3.0625rem; line-height: 1.07; margin-top: 1.375rem; }
.prod-head-mid p { color: var(--body); font-size: 1.1875rem; line-height: 1.5; }
.prod-head-mid .link-blue { margin-top: 1.625rem; font-size: 1.125rem; }
.prod-motto {
  position: relative; padding-left: 1.625rem; border-left: 1px solid var(--line);
  /* Was #7e879b, which measured 3.6:1 on the white this band used to be and
     2.6:1 once the gradient was deepened — small uppercase type at 10.8px, so
     genuinely hard to read. #555f75 on the same ground is 4.7:1. The band got
     darker; the label had to keep up. */
  color: #555f75; font-size: 0.84375rem; font-weight: 600;
  letter-spacing: .16em; line-height: 1.6; text-transform: uppercase;
}
.prod-motto .mrule { display: block; width: 2.125rem; height: 0.125rem; background: var(--red); margin-top: 0.875rem; }

.prod-grid {
  /* One fixed row height for the whole block. Before this, promoting a tall
     diagram grew the lead card and every other card stretched with it — the
     row went from 306px to 345px just for changing product. The height is now
     the row's, not the content's; the artwork inside each card takes whatever
     is left after its copy, so a big drawing simply sits smaller. */
  margin-top: 2.25rem; display: grid; gap: 1.75rem;
  grid-template-columns: 34rem minmax(0, 1fr);
  align-items: stretch;
}
/* Six cards, three across. They used to be 3 + 2 in a six-column grid; with
   the sixth added the row divides evenly and the span classes are no longer
   doing any work. */
.prod-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; align-content: stretch; }
.sm-third, .sm-half { grid-column: auto; }
.pcard {
  background: #f7f8fb; border: 1px solid #eef0f5; border-radius: 0.875rem;
  position: relative; overflow: hidden; text-align: left; font: inherit;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
button.pcard { cursor: pointer; width: 100%; }
button.pcard:hover { border-color: #d8def0; box-shadow: 0 0.875rem 2rem rgba(10,32,74,.09); transform: translateY(-0.125rem); }
.pcard .tag {
  display: inline-block; background: #eef3fe; color: var(--blue);
  font-size: 0.78125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 0.4375rem 0.875rem; border-radius: 0.375rem; align-self: flex-start;
}
.pcard h3 { color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }

/* the promoted product */
.pcard-lead { display: flex; flex-direction: column; padding: 1.625rem 1.75rem 1.375rem; min-height: 0; }
/* The lead card runs top to bottom now, not left to right. Name, strapline,
   a full-width rule and the description take the top third; the artwork gets
   the rest and can be as large as the card allows. Side by side, the copy was
   pinned to a narrow column and the illustration to a fixed box, which left
   dead space above and below whichever of the two was shorter — and the
   client's five diagrams are all different shapes, from 360x210 to 360x360,
   so no single fixed box suited them. Stacked, each one simply fills the
   width it is given and the card ends where the picture ends. */
.pcard-lead .lead-top {
  display: grid; grid-template-rows: auto 1fr; gap: 1.25rem;
  align-items: start; flex: 1; min-height: 0;
}
.lead-copy { display: block; }
.lead-rule { display: block; height: 1px; background: var(--line); margin: 0.75rem 0; }
.pcard-lead h3 { font-size: 2.25rem; line-height: 1; margin-top: 0; letter-spacing: -0.03em; }
/* UNIVERSAL PROTOCOL CONVERTER and DATA ACQUISITION SYSTEM are long enough to
   take the heading onto three lines and the strapline onto two, which is what
   made the lead card taller than the six beside it and grew the whole block on
   promotion. Both are set to fit a single line each for those two products
   only; every other name keeps the full display size. */
.pcard-lead.is-longname h3 {
  font-size: 1.6875rem; letter-spacing: -0.02em; white-space: nowrap;
}
.pcard-lead.is-longname .cap { font-size: 1rem; line-height: 1.35; }
.pcard-lead .cap { margin-top: 0.5rem; color: var(--navy); font-size: 1rem; line-height: 1.3;
  font-weight: 500; max-width: none; min-height: 2.6rem; }
.pcard-lead .desc { margin-top: 0; color: var(--body); font-size: 0.875rem; line-height: 1.5; max-width: none; }
.pcard-lead .link-blue { margin-top: 0.875rem; font-size: 1rem; }
.pcard-shot {
  width: 100%; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding-block: 0.5rem;
}
/* A fixed band, not a ceiling. With `max-height` the artwork still sized
   itself — the protocol converter's 360x360 square filled 218px where
   SENTRACK's 360x210 filled 130px — so the lead card, and with it the whole
   block, changed height on every promotion. A fixed band makes the artwork
   the constant and lets each drawing scale inside it. */
.pcard-shot { height: 19.5rem; flex: none; }
/* PHOTOGRAPHS ARE NEVER SQUASHED. Two rules used to fight over this one:
   `max-height: 100%; width: auto` and, right after it, `width: 100%`. A fixed
   width with a capped height pins both axes, so a 1.5 photograph rendered at
   4.2 on a 1180px screen — the product visibly stretched. `object-fit:
   contain` settles it: the box may be any shape the layout wants, and the
   picture keeps its own proportions inside it, whole and undistorted. */
.pcard-shot > img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
}
.pcard-shot > svg { width: 100%; height: 100%; }
/* The three capabilities are a footnote, not a feature. At the old size the
   third one ("Flexible and future-ready") ran to three lines and the block
   took a fifth of the card — space the architecture drawings need far more.
   Icons and type both come down, and the row is pinned to the bottom. */
.lead-feats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
  border-top: 1px solid #e7eaf1; margin-top: auto; padding-top: 0.875rem;
}
.lead-feats li { display: flex; align-items: center; gap: 0.5rem; color: var(--body);
  font-size: 0.75rem; line-height: 1.25; }
.lead-feats li + li { border-left: 1px solid #e7eaf1; padding-left: 0.75rem; }
.lead-feats svg { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: var(--navy);
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* the five small cards */
.pcard-sm { padding: 1.125rem 1.125rem 0.875rem; display: flex; flex-direction: column; min-height: 13rem; }
.pcard-sm h3 { font-size: 1.3125rem; margin-top: 0.875rem; line-height: 1.1; }
.pcard-sm .desc { margin-top: 0.625rem; color: var(--body); font-size: 0.875rem; line-height: 1.45; }
.pcard-sm .foot { display: flex; align-items: flex-end; padding-top: 0.875rem; }
.pcard-sm .foot .arw { color: var(--blue); width: 1.5rem; height: 0.9375rem; }
/* The illustration is its own band across the card, centred, with a fixed
   height so all six line up whatever shape they are. It used to share the
   footer row with the arrow under `justify-content: space-between`, which
   pinned each drawing to the bottom-right corner — and since the client's
   five diagrams run from 360x210 to 360x360, every card sat its picture at a
   different height and edge. Never a background wash behind the words. */
/* The illustration takes whatever height the card has left, rather than a
   fixed 7.5rem band. Promoting a tall product — the protocol converter is
   360x360 — stretches every card in the row, and with a fixed band the
   drawings stayed small in boxes that had grown around them. `flex: 1` hands
   them the space, and each SVG's own viewBox scales it to fit under the
   default preserveAspectRatio. */
.pcard-art {
  width: 100%; margin-top: auto; padding-top: 0.75rem; height: 7.5rem;
  display: flex; align-items: center; justify-content: center;
}
.pcard-art svg { max-height: 100%; width: auto; max-width: 100%; }
.pcard-art img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* SCUBE demoted to a small card was down to 96px of picture. The band is
   deeper for a photograph than for a drawing, and `contain` lets it use the
   full width of the card as well. */
.pcard-art.is-photo { height: 10.5rem; }
.pcard-wide { grid-column: span 1; }
.prod-grid .row2 { grid-column: span 1; }

/* ══ 05 · MILESTONES ═════════════════════════════════════════════ */
/* THE SAME GRADIENT AS THE PRODUCT PORTFOLIO, WITH THE PHOTOGRAPH UNDER IT.
   *"In Our Milestones you use a gradient BG, and above this background image
   you should use it — and this background image should not be completely
   visible, but a little bit visible should be there. Do the same kind of
   gradient that you have given in product portfolio."*  — 22 September.

   The three layers below are `.prod`'s own, copied rather than re-mixed, so
   the two bands cannot drift apart: crimson radial from the top-left corner,
   blue radial from the bottom-right, over the pink-to-blue ramp. Change one
   and change both. */
.ms {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(176, 8, 48, 0.38), transparent 62%),
    radial-gradient(90% 120% at 100% 100%, rgba(0, 88, 168, 0.39), transparent 68%),
    linear-gradient(120deg, #ecd0dd 0%, #e4edf8 34%, #d0e1f4 68%, #b4cdec 100%);
  padding-block: 6rem 5.5rem;
}
/* It was a plate at the foot of the left column on a flat light ground. It is
   the whole band now, at a fifth of its strength, so the sunrise reads as
   texture in the gradient rather than as a picture with type on it.

   `z-index: -1` paints it over the section's own background and under every
   child, which is the order asked for: gradient, then photograph barely on
   top of it, then the heading and the cards on clean ground.

   THE MASK IS WHAT KEEPS IT LEGIBLE. At an even fifth across the whole band
   the overhead lines cut straight through the heading. Anchored at the foot of
   the left column it stays where the composition already put it and is gone
   before it reaches the cards. */
.ms-photo {
  position: absolute; inset: 0; z-index: -1;
  opacity: .17;
  -webkit-mask-image: radial-gradient(86% 80% at 6% 100%, #000 0%, #000 20%, rgba(0,0,0,.46) 46%, rgba(0,0,0,.12) 70%, transparent 88%);
  mask-image: radial-gradient(86% 80% at 6% 100%, #000 0%, #000 20%, rgba(0,0,0,.46) 46%, rgba(0,0,0,.12) 70%, transparent 88%);
}
/* Framed on the sunrise rather than the platform floor: at 100% the band
   filled its bottom edge with tarmac, which is the least legible part of the
   photograph and the part that ran furthest under the cards. */
.ms-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 76%; }

/* THE BAND GOT DARKER, SO THE TYPE ON IT HAS TO KEEP UP.
   The copy here all sits in the top-left corner, which is exactly where the
   crimson radial is deepest — unlike the portfolio, where the eyebrow, the
   lead and the motto are spread across the band and most of them land on the
   pale middle. Measured against the ground actually rendered behind them:

       eyebrow  #b7092f on (218,174,192)   3.49:1   AA wants 4.5
       lead     #5a6480 on (220,186,203)   3.34:1

   Both were fine on the near-white this band used to be. Darkened, on this
   band only, they measure 5.0:1 and 4.95:1 against the darkest ground behind them. The crimson moves toward
   #5a0a24, which is a stop in the brand gradient itself, so it is the same
   red further down its own ramp rather than a new colour. This is the move
   `.prod-motto` already made when that band was deepened. */
.ms .eyebrow-blue { color: #7d0620; }
.ms-lead { color: #3e465c; }
.ms-grid { display: grid; grid-template-columns: 29.375rem minmax(0, 1fr); gap: 2.875rem; }
.ms-side { padding-top: 2.125rem; }
.ms h2 { font-size: 3.875rem; line-height: 1.06; margin-top: 1.875rem; }
.ms-lead { margin-top: 2.125rem; max-width: 26.25rem; color: var(--body); font-size: 1.1875rem; line-height: 1.6; }
.ms-side .btn { margin-top: 2.375rem; }

.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ms-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  border: 1px solid #e3eaf5; border-radius: 0.875rem;
  box-shadow: 0 1px 0.125rem rgba(10,32,74,.04), 0 0.75rem 1.875rem rgba(10,32,74,.06);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
}
/* The bar across the head of each card runs from the left on hover — one
   moving part, in the accent, so the grid reads as a route rather than a
   set of boxes. */
.ms-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 0.1875rem; z-index: 2;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.ms-card:hover::before { transform: scaleX(1); }
.ms-card:hover {
  transform: translateY(-0.3125rem); border-color: #cfdcf2;
  box-shadow: 0 0.125rem 0.25rem rgba(10,32,74,.05), 0 1.5rem 3.25rem rgba(10,32,74,.14);
}
.ms-card > :not(.ms-shot) { padding-inline: 1.625rem; }
.ms-year {
  display: flex; align-items: center; gap: 0.75rem; padding-top: 1.75rem;
  color: var(--blue); font-size: 1.875rem; font-weight: 800; letter-spacing: -.03em;
}
.ms-year .rule { width: 1.875rem; height: 0.125rem; background: #c2d2ee; flex: none;
  transition: width .45s cubic-bezier(.16,1,.3,1), background-color .3s; }
.ms-card:hover .ms-year .rule { width: 3.25rem; background: var(--red); }
.ms-card h3 {
  margin-top: 0.75rem; color: var(--navy); font-size: 1.125rem; font-weight: 700;
  line-height: 1.3; letter-spacing: -.012em;
}
.ms-body { margin-top: 0.625rem; padding-bottom: 1.375rem; color: var(--body); font-size: 0.9375rem; line-height: 1.52; }
/* The photograph is the foot of the card, in a fixed frame, so six cards of
   unequal copy still line their pictures up. The scrim keeps the join soft
   instead of cutting the card in half. */
.ms-shot { position: relative; margin-top: auto; overflow: hidden; aspect-ratio: 16 / 9; background: var(--line-sf); }
.ms-shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  /* A deeper wash at the head of the frame so the photograph emerges out of
     the card rather than starting on a hard horizontal edge. */
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.92) 12%,
              rgba(255,255,255,.45) 30%, rgba(255,255,255,0) 52%,
              rgba(6,22,62,0) 74%, rgba(6,22,62,.18) 100%);
}
.ms-shot img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.ms-card:hover .ms-shot img { transform: scale(1.07); }

/* Foundation 2017 only: the picture sits a little lower in its frame. The
   file is untouched — this is the image moved down inside the window, with a
   small scale so the move does not open a gap along the top edge. One number
   to tune, and it changes nothing else about the card. */
.ms-card:first-child .ms-shot img { transform: scale(1.08) translateY(3.5%); }
.ms-card:first-child:hover .ms-shot img { transform: scale(1.15) translateY(3.5%); }

/* Both closing lines sit to the right of the column. Ranged left they
   landed on the fade of the trackside photograph, where a serif at 2.125rem
   was competing with a sky. */
.ms-foot {
  grid-column: 2; display: flex; align-items: flex-end; justify-content: flex-end;
  gap: clamp(2rem, 4vw, 5rem); margin-top: 2.875rem;
}
.ms-quote { flex: none; }
.ms-quote { font-family: var(--serif); color: var(--navy); font-size: 2.125rem; line-height: 1.26; }
.ms-kicker {
  display: flex; align-items: center; gap: 1.125rem; color: var(--navy);
  font-size: 0.78125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 0.5rem;
}
.ms-kicker .rule { width: 4.625rem; height: 0.09375rem; background: #4a6ba8; flex: none; }

/* ── narrower screens ────────────────────────────────────────────
   The comps are desktop only. Below the design width everything scales
   down; below 1180 it reflows to one column. */
@media (max-width: 1671px) {
  .hero h1 { font-size: clamp(2.5rem, 4.5vw, 4.6875rem); }
  .h-lg, .who h2, .ms h2 { font-size: clamp(1.875rem, 3.7vw, 3.875rem); }
  .svc h2 { font-size: clamp(1.75rem, 3.1vw, 3.25rem); }
  .prod h2 { font-size: clamp(1.875rem, 3.35vw, 3.5rem); }
  .hero-lead { font-size: clamp(1.0625rem, 1.5vw, 1.5625rem); }
  .pcard-lead h3 { font-size: clamp(2rem, 3.2vw, 3.375rem); }
  .prod-grid { grid-template-columns: minmax(0, 44%) minmax(0, 1fr); }
  .who-items { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.875rem; }
  .who-items li { max-width: none; }
  .svc-grid { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
  .ms-grid { grid-template-columns: minmax(0, 30%) minmax(0, 1fr); }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .hero-copy { max-width: none; }
  .who-grid, .svc-grid, .ms-grid { grid-template-columns: minmax(0, 1fr); }
  .who-copy, .who-emblem, .who-items { grid-column: 1; grid-row: auto; }
  .who-emblem { min-height: 0; }
  .who-side { display: none; display: none; }
  .who-emblem img { width: min(22.5rem, 70vw); }
  .svc-side { padding-right: 0; }
  .strapline { padding-top: 2.5rem; }
  .svc-panel { grid-template-columns: minmax(0, 1fr); }
  .prod-head { grid-template-columns: minmax(0, 1fr); }
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
  .prod-side { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ms-cards { grid-template-columns: repeat(2, 1fr); }
  .ms-foot { grid-column: 1; }
  .ms-photo { display: none; }
}
@media (max-width: 720px) {
  .proof { flex-wrap: wrap; gap: 1.125rem 1.5rem; }
  .proof li + li { border-left: 0; padding-left: 0; }
  .hero-btns { flex-wrap: wrap; gap: 0.875rem; }
  .btn { height: 3.375rem; font-size: 1.0625rem; padding: 0 1.375rem; }
  .who-items { grid-template-columns: 1fr; }
  .ms-cards { grid-template-columns: minmax(0, 1fr); }
  .prod-side { grid-template-columns: minmax(0, 1fr); }
  .sm-third, .sm-half { grid-column: auto; }
  .pcard-lead .lead-top { grid-template-columns: minmax(0, 1fr); }
  .pcard-shot { width: 100%; max-width: 18.75rem; }
  .lead-feats { grid-template-columns: 1fr; }
  .lead-feats li + li { border-left: 0; padding-left: 0; }
  .ms-foot { flex-direction: column; align-items: flex-start; }
}


/* ── 03 · the points that fill the services column ───────────────── */
.svc-points {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.125rem 1.875rem; margin-top: 3.375rem;
}
.svc-points .rule { display: block; width: 3.875rem; height: 0.1875rem; background: var(--blue); }
.svc-points h3 {
  margin-top: 1rem; color: var(--navy); font-size: 0.9375rem; font-weight: 800;
  letter-spacing: .045em; text-transform: uppercase;
}
.svc-points p { margin-top: 0.5625rem; color: var(--body); font-size: 1rem; line-height: 1.5; }

/* ── product illustrations, always moving ────────────────────────── */
/* Each illustration keeps a slow loop so the card reads as a live system
   rather than a static icon. Everything is transform, opacity or
   stroke-dashoffset, so it stays on the compositor. */
@keyframes flow      { to   { stroke-dashoffset: -60; } }
@keyframes draw      { 0%,12% { stroke-dashoffset: 34; } 34%,100% { stroke-dashoffset: 0; } }
@keyframes runner    { 0% { offset-distance: 0%; } 100% { offset-distance: 100%; } }
@keyframes pulse     { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }
@keyframes riseBar   { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(var(--h, .82)); } }
@keyframes sweepUp   { 0% { transform: translateY(0.625rem); opacity: 0; } 18%,72% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-0.5rem); opacity: 0; } }
@keyframes glide     { 0% { transform: translateX(-0.875rem); opacity: 0; } 20%,75% { opacity: 1; } 100% { transform: translateX(1rem); opacity: 0; } }

.pcard-art svg, .pcard-shot svg { overflow: visible; }
.a-flow   { stroke-dasharray: 7 8; animation: flow 2.6s linear infinite; }
.a-draw   { stroke-dasharray: 34; animation: draw 3.4s ease-in-out infinite; }
.a-pulse  { animation: pulse 2.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.a-bar    { animation: riseBar 3s ease-in-out infinite; transform-origin: bottom; transform-box: fill-box; }
.a-bar:nth-of-type(2) { animation-delay: .18s; }
.a-bar:nth-of-type(3) { animation-delay: .36s; }
.a-bar:nth-of-type(4) { animation-delay: .54s; }
.a-bar:nth-of-type(5) { animation-delay: .72s; }
.a-line   { animation: sweepUp 3.2s ease-in-out infinite; transform-box: fill-box; }
.a-line:nth-of-type(2) { animation-delay: .22s; }
.a-line:nth-of-type(3) { animation-delay: .44s; }
.a-glide  { animation: glide 3.4s ease-in-out infinite; transform-box: fill-box; }
.a-runner { animation: runner 3.6s linear infinite; }

/* ── 06 · clients & partners — the variation-3 treatment ─────────
 * Two rows in one ruled band, each with its category named in a label
 * column on the left rather than only to a screen reader. Marks keep
 * their own colours; the row pauses on hover and on focus. */
.cli { border-top: 1px solid var(--line); background: #f8fafd; padding-block: clamp(3.5rem, 7vw, 6rem); }
.cli h2 { margin-top: 1.25rem; }
.cli-lead { margin-top: 1.25rem; max-width: 58ch; color: var(--body); font-size: 1.1875rem; line-height: 1.55; }
.cli-band { margin-top: 3rem; border-block: 1px solid var(--line); background: #fff; }
.cli-row { display: flex; align-items: stretch; }
.cli-row + .cli-row { border-top: 1px solid var(--line); }
.cli-cat {
  display: none; flex: none; width: 15.5rem; align-items: center;
  border-right: 1px solid var(--line); padding-inline: 2rem;
  color: #3d4a68; font-size: 0.6875rem; font-weight: 800; line-height: 1.5;
  letter-spacing: .16em; text-transform: uppercase;
}
@media (min-width: 1024px) { .cli-cat { display: flex; } }
.cli .marquee {
  /* Without this the max-content track sets the width of the whole page.
     It cost a 240.5rem-wide document the first time round. */
  overflow: hidden;
  min-width: 0; flex: 1; padding-block: 1.75rem; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.marquee-inner { display: flex; width: max-content; animation: slide 58s linear infinite; }
.marquee:hover .marquee-inner, .marquee:focus-within .marquee-inner { animation-play-state: paused; }
#cli-row-2 .marquee-inner { animation-duration: 68s; animation-direction: reverse; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-track { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee-track li { flex: none; padding-inline: clamp(1.25rem, 1.9vw, 1.75rem); }
.marquee-track img { width: clamp(7.5rem, 9vw, 9rem); height: auto; opacity: .95; transition: opacity .5s; }
.marquee-track img:hover { opacity: 1; }

/* ── 07 · latest updates — one lead, three beside it ─────────────── */
.upd { border-top: 1px solid var(--line); background: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); }
.upd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3.75rem; }
.upd h2 { margin-top: 1.25rem; }
.upd-lead { margin-top: 1.25rem; max-width: 58ch; color: var(--body); font-size: 1.1875rem; line-height: 1.55; }
/* The four short stories are asked to finish exactly where the lead
   photograph finishes, on any screen. That is a row problem, not a height
   guess: the picture and the list share grid row 1, and the lead's caption
   drops into row 2 under the picture alone. `display: contents` on the
   article lets its two halves become grid items in their own right without
   another wrapper, so the list inherits the picture's height whatever the
   viewport does to it — no magic numbers, no JavaScript measuring. */
.upd-split {
  margin-top: 3rem; display: grid;
  grid-template-columns: 1.42fr .58fr; grid-template-rows: auto auto;
  column-gap: 3.5rem; row-gap: 0; align-items: start;
}
.u-lead { display: contents; }
.u-lead .frame { grid-column: 1; grid-row: 1; }
.u-lead-txt { grid-column: 1; grid-row: 2; position: relative; }
.u-rest { grid-column: 2; grid-row: 1; align-self: stretch; height: 100%; }

.u-meta { display: flex; align-items: center; gap: 0.75rem; }
.u-meta .tag { color: var(--red); font-size: 0.6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.u-meta .bar { width: 1rem; height: 1px; background: var(--line); }
.u-meta time { color: var(--muted); font-size: 0.8125rem; }

.u-lead { position: relative; }
.u-lead .frame { overflow: hidden; border-top: 0.125rem solid var(--navy); }
.u-lead img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1); }
.u-lead:hover img { transform: scale(1.06); }
.u-lead .u-meta { margin-top: 1.25rem; }
.u-lead h3 {
  margin-top: 0.875rem; max-width: none; color: var(--navy);
  font-size: clamp(1.625rem, 2.3vw, 2.25rem); font-weight: 800; line-height: 1.12;
  letter-spacing: -.03em; transition: color .2s;
  /* One line at desktop widths. It still wraps below 73.75rem, where the
     column is too narrow for it and a forced single line would overflow. */
  text-wrap: balance;
}
@media (min-width: 1181px) { .u-lead h3 { white-space: nowrap; } }
.u-lead:hover h3 { color: var(--blue); }
.u-lead .u-body { margin-top: 0.875rem; max-width: none; color: var(--body); font-size: 1.09375rem; line-height: 1.62; }

/* Four equal shares of the picture's height, each story centred in its own
   share. Growing the share is what removes the gap at the foot of the
   column — the thumbnail and the type grow with it rather than four small
   items floating at the top. */
.u-rest {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.u-rest > li { flex: 1 1 0; min-height: 0; display: flex; }
.u-rest > li + li { border-top: 1px solid var(--line); }
.u-item { position: relative; display: flex; align-items: center; gap: 1.25rem; flex: 1; padding-block: 1.125rem; }
.u-rest > li:first-child .u-item { padding-top: 0; }
.u-rest > li:last-child .u-item { padding-bottom: 0; }
.u-item .thumb { width: clamp(7.375rem, 9vw, 9.875rem); flex: none; overflow: hidden; border-radius: 0.25rem; }
.u-item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1); }
.u-item:hover img { transform: scale(1.06); }
.u-item .txt { min-width: 0; }
.u-item h3 { font-size: clamp(1rem, 1.12vw, 1.21875rem);
  margin-top: 0.5rem; color: var(--navy); font-size: 1.0625rem; font-weight: 700;
  line-height: 1.35; transition: color .2s;
}
.u-item:hover h3 { color: var(--blue); }
.u-item .u-body {
  margin-top: 0.5rem; color: var(--body); font-size: 0.90625rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.u-lead h3 a::after, .u-item h3 a::after { content: ""; position: absolute; inset: 0; }
/* The stories are not links since 21 November (the News & insights page is
   hidden; the client's list, point 25), so the lead story does not react to
   the pointer. A story in the list brings itself into the lead when clicked
   (24 November), so it keeps the hover it was designed with; .u-open is the
   button laid over the whole story. */
.u-lead:hover img { transform: none; }
.u-lead:hover h3 { color: var(--navy); }
.u-lead:focus { outline: none; }
.u-open { position: absolute; inset: 0; z-index: 1; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0.25rem; background: none; cursor: pointer; }
.u-open:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* 30 November 2026 (Naren): the admin can add any number of updates. Up to
   four beside the lead nothing above changes. With more (app.js sets
   .is-scroll), the list keeps the photograph's height, shows four at a time
   and scrolls, its foot fading out while there is more below; a round
   scroll-down button under it moves it on, and turns round at the end. */
.u-more { display: none; }
.upd-split.is-scroll .u-rest {
  overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y proximity;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 2.5rem), transparent);
          mask-image: linear-gradient(#000 calc(100% - 2.5rem), transparent);
}
.upd-split.is-scroll.at-end .u-rest { -webkit-mask-image: none; mask-image: none; }
.upd-split.is-scroll .u-rest > li { scroll-snap-align: start; }
.upd-split.is-scroll .u-more {
  display: flex; justify-content: center;
  grid-column: 2; grid-row: 2; align-self: start; padding-top: 1.5rem;
}
.u-more-btn {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy);
  box-shadow: 0 0.375rem 1.25rem rgba(6, 22, 62, .1); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.u-more-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.u-more-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.u-more-btn svg { display: block; transition: transform .3s; }
.upd-split.at-end .u-more-btn svg { transform: rotate(180deg); }
@media (min-width: 1181px) {
  /* contain: size keeps the long list from making row 1 taller than the
     photograph; the stretch the list already has gives it the row's height,
     and each story keeps the quarter share it has with four */
  .upd-split.is-scroll .u-rest { contain: size; height: auto; }
  .upd-split.is-scroll .u-rest > li { flex: 0 0 25%; }
}

/* ── 08 · footer — light, with the contact plate on the right ──────
   Naren's reference is a competitor's footer: link columns on the left, and a
   gradient plate with a diagonal edge on the right carrying the logo and the
   ways to reach the company. Layout and colour treatment only; the words are
   Sensedge's own and the gradient is the one the product heroes carry.

   It replaced a dark navy footer that opened with a full-width band — logo,
   tagline, a paragraph of description and a "Talk to an engineer" column —
   sitting above the link columns. That band is what made it tall; all of it
   is in the plate now, and the footer is about 40% shorter. */
.ft { position: relative; overflow: hidden; background: var(--page); color: var(--body); }
.ft-rule { height: 0.1875rem; background: var(--red); }

.ft-inner { position: relative; z-index: 1; padding-block: clamp(2.5rem, 3.6vw, 3.25rem) clamp(2rem, 2.8vw, 2.5rem); }

/* The plate bleeds to the right edge of the viewport, so it is positioned
   against the footer and not against the shell's padded measure. The diagonal
   is a clip-path: narrower at the top, reaching the full width at the foot,
   which is the way round the reference has it. */
/* ONE DIAGONAL SLICE, AND NOTHING ELSE. *"In the bottom footer there should be
   no gradient colour. A diagonal line starting from top and at the bottom,
   that's it — bottom edge. Not a gradient at the very bottom at the full
   width."*

   So the gradient is the plate on the right and only the plate: a straight
   diagonal cut from the top edge of the footer to the bottom edge of it. It
   runs the full height, which is what "touch the bottom" means — not a band
   across the foot. The copyright and the policy links stay on white, to the
   left of where the cut lands. */
.ft-body { position: relative; --ft-w: clamp(27rem, 37%, 38rem); }
.ft-grad {
  position: absolute;
  inset: 0 0 0 auto;
  width: var(--ft-w);
  clip-path: polygon(9rem 0, 100% 0, 100% 100%, 0 100%);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(176, 8, 48, .62), transparent 62%),
    radial-gradient(90% 120% at 100% 100%, rgba(0, 88, 168, .6), transparent 68%),
    linear-gradient(120deg, #5a0a24 0%, #14243c 30%, #0b3a66 64%, #0058a8 100%);
}
.ft-panel-in {
  position: absolute;
  /* above the columns' row (.ft-inner, z-index 1, later in the page and the
     full width of it), or that row takes every click meant for the panel
     ("Plan a route", phone, email, "Send an enquiry"), 17 October */
  z-index: 2;
  top: 0; right: 0; bottom: 0;
  width: var(--ft-w);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  padding: clamp(2.25rem, 3.4vw, 3rem) clamp(1.5rem, 2.4vw, 2.5rem) clamp(2.25rem, 3.4vw, 3rem) 10rem;
  justify-content: center;
}
/* The columns have to be at least as tall as the plate beside them, because
   the plate is out of flow and contributes nothing to the footer's height. */
.ft-inner { min-height: 21rem; }
.ft-plate { display: inline-flex; background: #fff; padding: 0.625rem 1rem; }
.ft-plate img { height: 1.75rem; width: auto; }
.ft-addr { font-style: normal; font-size: 1.0625rem; line-height: 1.6; color: #fff; }

.ft-reach { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6875rem; }
.ft-reach li { display: flex; align-items: center; gap: 0.75rem; }
.ft-reach svg { width: 1.0625rem; height: 1.0625rem; flex: 0 0 auto; fill: none;
  stroke: rgba(255,255,255,.75); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ft-reach a { color: #fff; font-size: 1.0625rem; text-decoration: underline;
  text-underline-offset: 0.25rem; text-decoration-color: rgba(255,255,255,.45); transition: text-decoration-color .2s; }
.ft-reach a:hover { text-decoration-color: #fff; }

.ft-btn { display: inline-flex; align-items: center; gap: 0.625rem; margin-top: 0.5rem;
  background: #fff; color: var(--ink); padding: 0.875rem 1.5rem; font-size: 1.0625rem; font-weight: 600;
  transition: transform .2s, box-shadow .2s; }
.ft-btn:hover { transform: translateY(-0.125rem); box-shadow: 0 0.75rem 1.625rem rgba(0,0,0,.3); }

/* The columns stop short of the plate. `66%` rather than a fixed width so the
   gap between the last column and the diagonal holds at every width. */
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 2vw, 2rem); max-width: 66%; }
.ft-cols nav { display: flex; flex-direction: column; gap: 0.6875rem; }
.ft-cols h3 { color: var(--ink); font-size: 1.25rem; font-weight: 700;
  letter-spacing: -.015em; margin-bottom: 0.875rem; }
.ft-cols a { font-size: 1.0625rem; transition: color .2s; }
.ft-cols a:hover { color: var(--blue); }
.ft-offices p { margin: 0 0 0.875rem; font-size: 0.9375rem; line-height: 1.6; }
.ft-offices strong { color: var(--ink); font-weight: 600; }
/* each address opens the site's Google Maps pin (24 November) */
.ft-offices a { color: inherit; text-decoration: none; }
.ft-offices a:hover, .ft-offices a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }

/* On white, and inside the footer's own block rather than in a strip under it.
   It stops short of where the diagonal lands at the bottom edge — the plate
   runs the full height now, so the right of the row is the plate's. */
.ft-legalwrap { position: relative; z-index: 1; }
.ft-legal { max-width: 68%; padding-block: 0 clamp(1.75rem, 2.6vw, 2.25rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; font-size: 1rem; }
.ft-legal a:hover { color: var(--blue); }
.ft-legal ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.ft-legal a { transition: color .2s; }
.ft-top-link { display: inline-flex; align-items: center; gap: 0.5rem; }

/* Below the point where the diagonal would cut into the last column, the plate
   stops being a plate and becomes an ordinary block under the links. */
@media (max-width: 1180px) {
  /* Stacked, the clip-path cannot describe the shape — it depends on where the
     columns end, which is content-dependent. So it inverts: the gradient runs
     behind the whole footer and the link columns carry the white, which leaves
     the plate and the legal bar on one continuous gradient down to the bottom
     with no seam between them. */
  .ft-body { display: flex; flex-direction: column; }
  .ft-grad { clip-path: none; }
  .ft-grad { inset: auto 0 0 0; width: auto; height: var(--ft-stack, 0); }
  .ft-inner { order: 1; min-height: 0; }
  .ft-panel-in { position: static; width: auto; order: 2; background:
      radial-gradient(90% 120% at 0% 0%, rgba(176, 8, 48, .62), transparent 62%),
      radial-gradient(90% 120% at 100% 100%, rgba(0, 88, 168, .6), transparent 68%),
      linear-gradient(120deg, #5a0a24 0%, #14243c 30%, #0b3a66 64%, #0058a8 100%);
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 5.7vw, 8.75rem); gap: 1.25rem; }
  .ft-legalwrap { order: 3; }
  .ft-legal { max-width: none; padding-block: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem); }
  .ft-panel-in { padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 5.7vw, 8.75rem); gap: 1.25rem; }
  .ft-btn { margin-top: 0.25rem; }
  .ft-cols { max-width: none; }
}

/* Phones: Products and Company share the first row, Services and the other
   sites run full width under them, and UPC drops its long name to fit its
   half of the row. Naren, 15 October: "products column and company column,
   you can make it in one row. Then service and others." It replaced a single
   column under 460px. The same rules are in the app's site-footer.css. */
.ft-cols .ft-short { display: none; }
@media (max-width: 760px) {
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-cols .ft-services { grid-column: 1 / -1; order: 1; }
  .ft-cols .ft-offices { grid-column: 1 / -1; order: 2; }
  .ft-cols .ft-long { display: none; }
  .ft-cols .ft-short { display: inline; }
}

@media (max-width: 1180px) {
  .upd-split { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 2.5rem; }
  .u-lead { display: block; position: relative; }
  .u-lead .frame, .u-lead-txt, .u-rest { grid-column: auto; grid-row: auto; }
  .u-rest { height: auto; display: block; }
  .u-rest > li { display: block; }
  .u-item { padding-block: 1.625rem; }
  .u-rest > li:first-child .u-item { padding-top: 0; }
  /* with more than four, app.js sets the list's height to its first four */
  .upd-split.is-scroll .u-more { grid-column: auto; grid-row: auto; padding-top: 0; margin-top: -1rem; }
}
@media (max-width: 720px) {
  .svc-points { grid-template-columns: minmax(0, 1fr); }
  .u-item .thumb { width: 6.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-inner, .a-flow, .a-draw, .a-pulse, .a-bar, .a-line, .a-glide, .a-runner {
    animation: none !important;
  }
  .a-draw { stroke-dashoffset: 0; }
  * { transition-duration: .01ms !important; }
}


/* ══════════════════════════════════════════════════════════════════
   SCROLL ENTRANCES
   ══════════════════════════════════════════════════════════════════
   One idea, applied everywhere: content arrives from slightly below,
   slightly transparent, on a single decelerating curve. Short distance
   (1.25rem), one long ease, small stagger. Nothing slides in from the edge
   of the screen, nothing bounces, nothing rotates — this is a signalling
   company, and the motion should read as composure, not as a showreel.

   FAIL-VISIBLE. The hidden state needs BOTH `.js-rv` on the root — set only
   by the inline script in the head — and `.rv` on the element. No
   JavaScript, a thrown error, or a reader who has asked for reduced motion,
   and every section renders finished. Motion here can only ever be additive.

   THE HIDDEN STATE IS A CLASS, NOT A STATE OF THE ATTRIBUTE, and arriving
   removes it rather than overriding it. An `.rv-in { transform: none }`
   would have had to out-specify the hidden rule, and in doing so it would
   also have beaten `button.pcard:hover` and `.ms-card:hover` — killing the
   lift on every card the moment it animated in. Removing the class instead
   leaves no transform rule standing, so each element's own hover is intact.

   `data-rv` is dropped a beat after arrival, which takes the slow entrance
   transition off the element and hands hover back its own quick one.

   Only transform and opacity move, so the work stays on the compositor. */
.js-rv [data-rv] {
  transition:
    opacity .72s cubic-bezier(.16, 1, .3, 1),
    transform .72s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--rv-d, 0ms);
}
.js-rv [data-rv].rv { opacity: 0; will-change: opacity, transform; }
.js-rv [data-rv="up"].rv    { transform: translateY(1.25rem); }
.js-rv [data-rv="fade"].rv  { transform: none; }
.js-rv [data-rv="left"].rv  { transform: translateX(-1.625rem); }
/* Photographs settle out of a slight over-scale instead of sliding, which is
   what stops a page of pictures reading as a slide deck. */
.js-rv [data-rv="img"].rv { transform: scale(1.05); }
.js-rv [data-rv="img"] { transition-duration: .95s, .95s; }

/* Large objects need a longer move — 1.25rem on a 56.25rem emblem is invisible. */
.js-rv .who-emblem[data-rv].rv { transform: translateY(2.125rem) scale(.97); }
.js-rv .ms-photo[data-rv].rv   { transform: translateX(-2.125rem); }

@media (prefers-reduced-motion: reduce) {
  .js-rv [data-rv] { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ── the hero headline, line by line ──────────────────────────────
   Each line sits in its own clipped box and rises out of it, so the
   words arrive from behind the edge of the type rather than sliding
   up the page. Two lines, 120ms apart. The mask is inert without
   JavaScript — `.rv` is what pushes the line down, and only the
   entrance engine ever sets it. */
.hero-copy h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-copy h1 .ln > span {
  display: block;
  transition: transform .95s cubic-bezier(.16, 1, .3, 1), opacity .8s ease-out;
}
/* `transition: none` here is the whole reason this works. The transition is
   declared on the span unconditionally, so adding the hidden class made the
   headline *ease into* hiding over 1.15s — and the entrance engine releases an
   above-the-fold element two frames later, long before it had travelled more
   than a pixel. The result was a headline that never moved, on any screen.
   Suppressing the transition while hidden makes the element snap to its start
   position; releasing the class then plays the real entrance. */
.js-rv .hero-copy h1.rv .ln > span {
  transition: none;
  transform: translateY(108%); opacity: 0;
}
.hero-copy h1 .ln:nth-child(2) > span { transition-delay: .12s; }
/* The block itself must not also fade, or the lines fade twice. */
.js-rv .hero-copy h1[data-rv="lines"].rv { opacity: 1; transform: none; }

.hero-copy .eyebrow[data-rv] { transition-delay: 0ms; }
.js-rv #hero-h .ln:nth-child(1) > span { transition-delay: .14s; }
.js-rv #hero-h .ln:nth-child(2) > span { transition-delay: .26s; }
.hero-lead[data-rv]  { transition-delay: .46s !important; }
.hero-btns[data-rv]  { transition-delay: .58s !important; }


/* ── the portfolio swap ───────────────────────────────────────────
   Promoting a product rebuilds the whole grid — the new lead leaves the
   side, the old lead joins it — so a crossfade is the honest move: the
   grid dips, the DOM changes while it is down, and it comes back up. Out
   is quicker than in, which is what stops it reading as a flicker. */
.prod-grid { transition: opacity .34s ease-out, transform .34s cubic-bezier(.16, 1, .3, 1); }
.prod-grid.is-swapping {
  opacity: 0; transform: translateY(0.5rem);
  transition: opacity .17s ease-in, transform .17s ease-in;
}
@media (prefers-reduced-motion: reduce) {
  .prod-grid, .prod-grid.is-swapping { transition: none; opacity: 1; transform: none; }
}


/* ── hero: the entrance, and one thing that never stops ───────────
   The rule beside the eyebrow draws from nothing, the buttons arrive with
   a little scale so they read as objects rather than text, and the
   photograph drifts on a 26-second loop — far too slow to notice
   directly, fast enough that the fold is never a still image. All of it
   is transform and opacity; none of it moves the layout. */
.hero-copy .eyebrow { transition: letter-spacing .9s cubic-bezier(.16,1,.3,1), opacity .72s, transform .72s cubic-bezier(.16,1,.3,1); }
.js-rv .hero-copy .eyebrow.rv { letter-spacing: .28em; }

.js-rv .hero-btns.rv { transform: translateY(1.25rem) scale(.97); }
.hero-btns .btn { transition: transform .28s cubic-bezier(.16,1,.3,1), background-color .2s, color .2s, border-color .2s, box-shadow .2s; }

.js-rv .proof > li.rv { transform: translateY(1rem); }
.proof .pi { transition: transform .45s cubic-bezier(.16,1,.3,1); }
.proof > li:hover .pi { transform: translateY(-0.1875rem) scale(1.06); }

@keyframes heroDrift {
  0%   { transform: scale(1.045) translate3d(0, 0, 0); }
  50%  { transform: scale(1.075) translate3d(-1.1%, -0.9%, 0); }
  100% { transform: scale(1.045) translate3d(0, 0, 0); }
}
.hero-photo img { animation: heroDrift 26s ease-in-out infinite; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero-photo img { animation: none; }
}


/* ── the SCUBE photograph enters from the right, rising ────────────
   It travels in from the right and finishes a little higher — roughly
   ten degrees of climb — as though it were sliding out from behind the
   card. The frame clips, so the rack emerges from its own right edge
   rather than floating over the copy beside it.
   translate(58%, 10%) → the path rises at atan(10/58) ≈ 9.8°, now
   travelling right-to-left. The tilt unwinds the other way to match.

   Only the picture moves; the block itself is exempted from the
   engine's usual fade so the two do not stack up. */
.pcard-lead .pcard-shot:has(img) { overflow: hidden; }
.pcard-shot img {
  transition: transform 1.9s cubic-bezier(.22, 1, .28, 1), opacity 1.15s ease-out;
}
.js-rv .pcard-shot[data-rv="shot"].rv { opacity: 1; transform: none; }
.js-rv .pcard-shot[data-rv="shot"].rv img {
  transition: none;
  transform: translate(58%, 10%) rotate(5deg); opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .pcard-shot img { transition: none; }
}


/* ══════════════════════════════════════════════════════════════════
   PHONES
   ══════════════════════════════════════════════════════════════════
   Everything below is inside a max-width query, so nothing here can reach
   the desktop layout.

   The hero was the desktop composition squeezed into a portrait window: a
   landscape frame cropped to a slice of pylon and concrete wall, with the
   white veil covering the half of it the copy sat on. Two things fighting
   over the same 390 points. So on a phone the two are separated — the copy
   gets clean paper, and the photograph becomes a band beneath it, cropped
   to hold the train and the signal. No veil, nothing overlapping. */
@media (max-width: 720px) {
  /* ── header ─────────────────────────────────────────────────── */
  .header-inner { height: 4.5rem; gap: 1rem; }
  .logo img { width: 10.5rem; }
  .header-cta {
    height: 2.625rem; font-size: 0.875rem; padding: 0 1rem;
    white-space: nowrap;            /* it was breaking across two lines */
  }
  .header-cta .arw { display: none; }

  /* ── hero: copy first on paper, photograph as a band under it ── */
  .hero { display: block; min-height: 0; background: #fff; }
  .hero-inner { padding-block: 2rem 1.75rem; }
  /* The photograph sits between the headline and the lead, and breaks out of
     the shell's gutter to run edge to edge. The negative margin is the same
     clamp the gutter uses, so the two can never drift apart. */
  .hero-photo {
    position: static; inset: auto; z-index: auto; display: block;
    width: auto; margin: 1.5rem clamp(-6.875rem, -4.5vw, -1.5rem) 0.25rem;
  }
  .hero-photo img {
    width: 100%; height: 15rem; max-width: none;
    object-fit: cover; object-position: 64% 58%;   /* holds the train and S12 */
  }
  .hero-veil { display: none; }
  .hero-copy { max-width: none; }
  .hero-copy .eyebrow { font-size: 0.75rem; letter-spacing: .09em; line-height: 1.5; }
  .hero h1 { margin-top: 1.125rem; font-size: 2.375rem; line-height: 1.12; letter-spacing: -0.022em; }
  .hero-lead { margin-top: 1.125rem; font-size: 1.0625rem; line-height: 1.55; max-width: none; }
  .hero-btns { margin-top: 1.75rem; gap: 0.75rem; }
  .hero-btns .btn { flex: 1 1 0; justify-content: center; min-width: 0; }

  /* Three proofs across, not three stacked rows — they are short. */
  .proof {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem; margin-top: 2rem; align-items: start;
  }
  .proof li { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .proof li + li { border-left: 0; padding-left: 0; }
  .pi { width: 1.875rem; height: 1.875rem; }
  .proof b { font-size: 1rem; }
  .proof em { font-size: 0.8125rem; line-height: 1.35; }

  /* ── footer: fill the row instead of one long ribbon ─────────── */
  /* `display: contents` lets the three link groups and the offices become
     items of one grid, so Products and Services pair off and Company runs
     its own two columns across the full width. Nothing is left half empty,
     and the footer loses roughly a third of its height. */
  .ft-cols { gap: 1.5rem 1.25rem; }
  .ft-cols nav { gap: 0.4375rem; }
  .ft-cols h3 { margin-bottom: 0.5rem; font-size: 1.0625rem; }
  .ft-cols a { font-size: 1rem; }
  .ft-offices { grid-column: 1 / -1; }
  .ft-offices p { font-size: 0.875rem; line-height: 1.55; }
  .ft-legal { padding-block: 0 1.5rem; }
}

/* Narrow phones: two proofs read better than three squeezed. */
@media (max-width: 400px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem 0.75rem; }
  .proof li:last-child { grid-column: 1 / -1; }
  .hero h1 { font-size: 2.125rem; }
  .hero-photo img { height: 13rem; }
}

/* ── the phone header and menu ───────────────────────────────────── */
@media (max-width: 720px) {
  /* The logo and the button were almost touching. `margin-left: auto` on the
     group pushes them apart to the two ends of the bar. */
  .header-inner { gap: 0.75rem; }
  .header-end { gap: 0.5rem; }

  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 0.3125rem;
    width: 2.625rem; height: 2.625rem; padding: 0 0.5rem;
    background: none; border: 1px solid var(--line); border-radius: 0.5rem;
    cursor: pointer; flex: none;
  }
  .menu-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px;
    transition: transform .35s var(--acc-ease), opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav {
    display: grid; border-top: 1px solid var(--line); background: #fff;
    padding: 0.5rem clamp(1.5rem, 4.5vw, 6.875rem) 1rem;
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a {
    padding: 0.875rem 0; color: var(--navy); font-size: 1.0625rem; font-weight: 600;
    border-bottom: 1px solid var(--line-sf);
  }
  .mobile-nav a:last-child { border-bottom: 0; }
}

/* The headline is the first thing on a phone screen, so it gets a longer,
   more deliberate line reveal than the desktop's. */
@media (max-width: 720px) {
  .hero-copy h1 .ln > span { transition: transform 1.15s var(--acc-ease), opacity .9s ease-out; }
  .js-rv #hero-h .ln:nth-child(1) > span { transition-delay: .18s; }
  .js-rv #hero-h .ln:nth-child(2) > span { transition-delay: .36s; }
  .hero-lead[data-rv] { transition-delay: .62s !important; }
  .hero-btns[data-rv] { transition-delay: .76s !important; }
}


/* ══════════════════════════════════════════════════════════════════
   CLIENT PRODUCT ILLUSTRATIONS — 8 September handover
   ══════════════════════════════════════════════════════════════════
   The keyframes that came with the client's five card designs, verbatim.
   Every name is namespaced by their files (sk-, rd-, daq-, upc-), so none
   of them collides with the animations already in this stylesheet.

   Their markup pauses every animation until a card is on screen, via
   `data-anim` and a `data-play` flag on the wrapper. Our cards are only
   ever rendered when their product is on the stage, so the gate is simply
   opened here rather than carrying their observer across. */
[data-anim] { animation-play-state: running; }

/* FAIL-VISIBLE UNDER REDUCED MOTION. The client's diagrams hold twelve or so
   elements at `opacity="0"` and rely on their own sk-/rd-/daq-/upc- keyframes,
   with `animation-fill-mode: both`, to bring them in. The blanket
   `animation: none` further down this file killed exactly that — so a reader
   who asks for less motion lost half of every diagram, permanently. Here they
   are put in their finished state instead of their first frame: fully drawn,
   fully opaque, simply not moving. CSS beats the presentation attribute, so
   the inline `opacity="0"` gives way. */
@media (prefers-reduced-motion: reduce) {
  [data-anim] {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}

@keyframes daq-draw { to { stroke-dashoffset: 0; } }
@keyframes daq-fade { to { opacity: 1; } }
@keyframes daq-pulse {
    0% { transform: scale(1); opacity: 0.55; }
    70% { transform: scale(2.6); opacity: 0; }
    100% { transform: scale(2.6); opacity: 0; }
  }
@keyframes daq-pulse-h {
    0% { transform: scale(1); opacity: 0.55; }
    70% { transform: scale(2.6); opacity: 0; }
    100% { transform: scale(2.6); opacity: 0; }
  }
@keyframes daq-travel { from { stroke-dashoffset: 8; } to { stroke-dashoffset: -102; } }
@keyframes daq-travel-h { from { stroke-dashoffset: 8; } to { stroke-dashoffset: -102; } }
@keyframes rd-draw { to { stroke-dashoffset: 0; } }
@keyframes rd-fade { to { opacity: 1; } }
@keyframes rd-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(2.5); opacity: 0; }
  }
@keyframes rd-pulse-h {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(2.5); opacity: 0; }
  }
@keyframes rd-travel { from { stroke-dashoffset: 9; } to { stroke-dashoffset: -101; } }
@keyframes sk-dim-h { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes sk-draw { to { stroke-dashoffset: 0; } }
@keyframes sk-fade { to { opacity: 1; } }
@keyframes sk-out { to { opacity: 0; } }
@keyframes sk-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(1.8); opacity: 0; }
    100% { transform: scale(1.8); opacity: 0; }
  }
@keyframes sk-pulse-h {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(1.8); opacity: 0; }
    100% { transform: scale(1.8); opacity: 0; }
  }
@keyframes sk-rev-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes sk-rev-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-3px); } }
@keyframes sk-travel { from { stroke-dashoffset: 9; } to { stroke-dashoffset: -101; } }
@keyframes sk-travel-rev { from { stroke-dashoffset: -101; } to { stroke-dashoffset: 9; } }
@keyframes upc-draw { to { stroke-dashoffset: 0; } }
@keyframes upc-fade { to { opacity: 1; } }
@keyframes upc-pulse {
    0% { transform: scale(1); opacity: 0.55; }
    70% { transform: scale(2.6); opacity: 0; }
    100% { transform: scale(2.6); opacity: 0; }
  }
@keyframes upc-pulse-h {
    0% { transform: scale(1); opacity: 0.55; }
    70% { transform: scale(2.6); opacity: 0; }
    100% { transform: scale(2.6); opacity: 0; }
  }
@keyframes upc-travel { from { stroke-dashoffset: 8; } to { stroke-dashoffset: -102; } }
@keyframes upc-travel-h { from { stroke-dashoffset: 8; } to { stroke-dashoffset: -102; } }

/* Their diagrams are drawn on a 340–360 unit grid and are wider than the
   line art they replace; hold them to the card so nothing spills. Scoped to
   svg alone — a photograph is handled by object-fit above and must not be
   given a width and a height at the same time. */
.pcard-shot > svg { width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  /* A film that plays itself is motion the reader asked not to have. The
     poster stays; the video is simply not shown. */
  .who-video video { display: none; }
  .who-video { background: center / cover no-repeat url("video/poster.webp"); }
}


/* ── the film's own control ──────────────────────────────────────── */
/* Frosted glass over the footage: what is behind it is the picture itself,
   which is what makes the effect read. Sits bottom-left, out of the frame's
   subject, and states which action it will take rather than which state it
   is in. */
.film-btn {
  position: absolute; left: 1rem; bottom: 1.625rem; z-index: 3;
  width: 3rem; height: 3rem; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .38);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, .18);
  transition: background-color .25s, transform .25s cubic-bezier(.16,1,.3,1), border-color .25s;
}
.film-btn:hover { background: rgba(255, 255, 255, .28); border-color: rgba(255,255,255,.6); transform: scale(1.06); }
.film-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.film-btn svg { width: 1.25rem; height: 1.25rem; fill: #fff; }
.film-btn .i-play { display: none; margin-left: .125rem; }
.film-btn[aria-pressed="false"] .i-play { display: block; }
.film-btn[aria-pressed="false"] .i-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .film-btn { display: none; } }


/* ══════════════════════════════════════════════════════════════════
   SERVICES — GLASS  (trial)
   ══════════════════════════════════════════════════════════════════
   Frosted panels in the manner Naren asked to see. Glass only reads when
   there is something behind it to refract, so the section gets two soft
   colour fields first; the rows then sit on them at partial opacity with a
   blur, a light top edge and a soft shadow.

   `backdrop-filter` has a fallback baked in: where it is unsupported the
   rows keep the flat translucent white, which is the previous look. To go
   back, delete this block — nothing above it was changed. */
.svc { position: relative; isolation: isolate; }
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38rem 28rem at 18% 22%, rgba(63, 99, 184, .20), transparent 68%),
    radial-gradient(34rem 26rem at 82% 74%, rgba(183, 9, 47, .13), transparent 66%),
    radial-gradient(28rem 22rem at 62% 8%, rgba(120, 160, 230, .18), transparent 70%);
}
.svc-row {
  background: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, .55);
  border-bottom-color: rgba(255, 255, 255, .32);
  border-radius: 0.875rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(10, 32, 74, .06);
  transition: background-color var(--acc) ease-out, border-color var(--acc) ease-out,
              box-shadow var(--acc) ease-out;
}
.svc-row:first-child { border-top: 1px solid rgba(255, 255, 255, .55); }
.svc-row:hover { background: rgba(255, 255, 255, .56); }
.svc-row.is-open {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .7);
  border-left: 0.1875rem solid var(--blue);
  border-radius: 0.875rem;
  box-shadow: 0 1.25rem 3rem rgba(10, 32, 74, .10);
}
/* The photograph inside an open panel gets the same treatment at its corner. */
.svc-shot { border-radius: 0.625rem; }


/* ── scrubbing ───────────────────────────────────────────────────── */
/* A real range input rather than a div: it drags with the pointer, moves with
   the arrow keys, and announces itself, all without a line of code. The
   chrome is stripped back to a hairline across the foot of the frame —
   translucent white for the track, solid for the part already played. The hit
   area is much taller than the line, so it can be grabbed on a phone. */
.film-seek {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  width: 100%; height: 1.5rem; margin: 0; padding: 0;
  -webkit-appearance: none; appearance: none;
  background: transparent; cursor: pointer;
}
.film-seek::-webkit-slider-runnable-track {
  height: 0.1875rem; border-radius: 0.1875rem;
  background: linear-gradient(to right,
    rgba(255,255,255,.95) 0 var(--played, 0%),
    rgba(255,255,255,.28) var(--played, 0%) 100%);
}
.film-seek::-moz-range-track {
  height: 0.1875rem; border-radius: 0.1875rem; background: rgba(255,255,255,.28);
}
.film-seek::-moz-range-progress { height: 0.1875rem; border-radius: 0.1875rem; background: rgba(255,255,255,.95); }
.film-seek::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 0.75rem; height: 0.75rem; margin-top: -0.28125rem;
  border-radius: 50%; background: #fff; border: 0;
  box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,.35);
  opacity: 0; transition: opacity .2s;
}
.film-seek::-moz-range-thumb {
  width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #fff; border: 0;
  opacity: 0; transition: opacity .2s;
}
.who-video:hover .film-seek::-webkit-slider-thumb,
.film-seek:focus-visible::-webkit-slider-thumb { opacity: 1; }
.who-video:hover .film-seek::-moz-range-thumb,
.film-seek:focus-visible::-moz-range-thumb { opacity: 1; }
.film-seek:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .film-seek { display: none; } }


/* ── variation 2 only ─────────────────────────────────────────────
   The lead card is a quarter wider than variation 1's — 34rem becomes
   42.5rem — so the six beside it take what is left and come in narrower on
   their own. And the product sits against the right edge of its band rather
   than centred, held just inside the card. Scoped to #prod-grid-2, so the
   first portfolio is not touched by any of it. */
#prod-grid-2 { grid-template-columns: 42.5rem minmax(0, 1fr); }
/* AND IT HAS TO LET GO ON A PHONE.
   `.prod-grid` collapses to a single column at 1180px — but an id selector
   beats a class one whatever media query the class rule is in, so this fixed
   42.5rem (34rem at this document's 80% root, = 544px) survived every
   breakpoint. Measured on the live homepage: the lead card was 544px wide at
   375px, 1024px and every width between, and below ~620px it pushed the whole
   PAGE sideways — 619px of document in a 375px viewport, on every phone.

   The override has to sit here rather than up in the phone block, because
   media queries carry no specificity of their own: it wins by being the same
   id, later in the file.

   This is a leftover of the two-portfolio comparison. The first portfolio had
   the phone rules; the duplicate carried its own widths and never got them,
   and then the first one was removed. */
@media (max-width: 1180px) {
  #prod-grid-2 { grid-template-columns: minmax(0, 1fr); }
}
/* The image element already fills the row — `object-fit: contain` letterboxes
   the picture inside it — so flex alignment has nothing to push. Moving the
   content within its own box is what ranges the product right. */
#prod-grid-2 .pcard-lead .pcard-shot { padding-right: 0.375rem; }
#prod-grid-2 .pcard-lead .pcard-shot > img { object-position: right center; }


/* ── services, variation 2: plain white ──────────────────────────
   The same section on the portfolio's white ground instead of the tinted
   gradient, with the glass turned off — frosted panels need something behind
   them to refract, and on flat white there is nothing, so they would only
   read as slightly grey boxes. Rows keep their rules and the crimson spine.
   Scoped to .svc-plain; the section above is untouched. */
.svc-plain { background: #fff; border-block: 1px solid var(--line); }
.svc-plain::before { display: none; }
/* The shut rows take the portfolio card's own treatment — #f7f8fb on a
   #eef0f5 hairline, the same 0.875rem corner, and the same lift and shadow
   on hover — so the two sections read as one set of components. The open row
   keeps its white panel and crimson spine, which is what separates it. */
.svc-plain .svc-row {
  background: #f7f8fb;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid #eef0f5;
  border-radius: 0.875rem; margin-bottom: 0.5rem; box-shadow: none;
  transition: background-color .25s, border-color .25s, box-shadow .25s,
              transform .25s cubic-bezier(.16,1,.3,1);
}
.svc-plain .svc-row:first-child { border-top: 1px solid #eef0f5; }
.svc-plain .svc-row:not(.is-open):hover {
  border-color: #d8def0;
  box-shadow: 0 0.875rem 2rem rgba(10, 32, 74, .09);
  transform: translateY(-0.125rem);
}
.svc-plain .svc-row.is-open {
  background: #fff;
  border: 1px solid #eef0f5; border-left: 0.1875rem solid var(--blue);
  border-radius: 0.875rem; box-shadow: none; transform: none;
}


/* ── variation 2: a taller lead card, larger card diagrams ────────
   The lead card gains 10% of its height (495px → 545px), which it takes in
   the artwork band; the six cards beside it follow, because the row is what
   sets their height. And the diagrams in those cards get a deeper band of
   their own — 7.5rem to 9.25rem — so the client's architecture reads at a
   size closer to the large panel's. Variation 1 keeps both as they were. */
#prod-grid-2 .pcard-lead .pcard-shot { height: 23.4375rem; }
#prod-grid-2 .pcard-art { height: 9.25rem; }


/* ── variation 2: the SCUBE panel's left-hand specification ───────
   The product sits right, so the space beside it takes four lines of what
   the thing actually is. Only in variation 2, and only where a product has
   specs declared — the diagrams keep the whole band to themselves. */
#prod-grid-2 .pcard-lead .pcard-shot:has(.shot-spec) { justify-content: space-between; }
.shot-spec {
  list-style: none; margin: 0; padding: 0 0 0 0.25rem; align-self: center;
  max-width: 15rem; flex: none;
}
.shot-spec li { padding: 0.5rem 0; border-top: 1px solid var(--line); }
.shot-spec li:first-child { border-top: 0; padding-top: 0; }
.shot-spec b {
  display: block; color: var(--blue); font-size: 0.625rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.shot-spec span {
  display: block; margin-top: 0.1875rem; color: var(--navy);
  font-size: 0.8125rem; font-weight: 500; line-height: 1.35;
}



/* The rack was losing its right-hand end. `.pcard-shot` is a flex row, and
   once the specification list sits beside the picture the two together want
   more width than the card has. A replaced element's automatic minimum size
   is its intrinsic width, so the image refused to shrink and overflowed by
   57px — straight into the card's `overflow: hidden`. `min-width: 0` lets it
   shrink to the space that is actually there. */
#prod-grid-2 .pcard-lead .pcard-shot > img { min-width: 0; }


/* ── the lead card's foot, on a phone ─────────────────────────────
   The specification list and the photograph share one flex row. That was
   never exercised below 1180px, because `#prod-grid-2`'s fixed 42.5rem column
   meant the card was 544px wide on a phone and the page scrolled instead.
   With the card reflowing, the list takes its 15rem and the picture gets what
   is left — about 40px of rack.

   Stacked, each takes the card's width. Scoped to the phone step and placed
   after the rules it corrects, since media queries add no specificity. */
@media (max-width: 720px) {
  #prod-grid-2 .pcard-lead .pcard-shot,
  #prod-grid-2 .pcard-lead .pcard-shot:has(.shot-spec) {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1.125rem;
    height: auto;
  }
  .shot-spec { max-width: none; width: 100%; align-self: stretch; padding-left: 0; }
  #prod-grid-2 .pcard-lead .pcard-shot > img {
    width: 100%; height: auto; max-height: 15rem;
  }
}

/* ==========================================================================
   THE PRODUCTS SUBMENU
   ==========================================================================
   *"Create a professional submenu for the products menu in header — a very
   professional looking one, not the normal one. Better animation in desktop
   and easy in mobile."*  — 23 September 2026.

   It is a BAND, not a dropdown. The panel is a child of `.site-header` rather
   than of the Products link, so it spans the whole bar and reads as the header
   opening rather than as a box stuck under one word. The brand ramp runs along
   its top edge, the same gesture the product pages' spec plate uses.

   EVERYTHING HERE IS IN PIXELS. This build's root is `font-size: 80%` — so its rem values are
   x0.8 and do not transfer. The homepage's own copy of this menu is in
   the Next app's src/app/globals.css. Both are in PIXELS, deliberately:
   px is px whatever the root is, so the two bars cannot drift on this menu.
   ========================================================================== */

.hdr-mega { position: relative; display: flex; align-items: center; }

.site-header .hdr-mega__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Open, it reads as the current item: the header block's crimson and dot. */
.site-header .hdr-mega.is-open .hdr-mega__trigger { color: #b00830; }
.site-header .hdr-mega.is-open .hdr-mega__trigger::after { transform: scale(1); }

.hdr-mega__chev {
  width: 9px;
  height: 6px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hdr-mega.is-open .hdr-mega__chev { transform: rotate(180deg); }

/* --- the band ----------------------------------------------------------- */
.hdr-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid #e6e9f0;
  box-shadow: 0 26px 48px -28px rgba(11, 58, 102, 0.28);
  /* Closed: out of the flow for the pointer AND for assistive technology, and
     lifted a little so the open is a movement rather than a flash. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.26s ease,
    transform 0.34s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.34s;
}
.hdr-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.22s ease,
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s;
}

/* The brand ramp along the top edge — crimson at the left, blue at the right,
   the same ramp the product pages' spec plate carries. */
.hdr-panel::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #c8102e 0%, #8c1030 26%, #1d3358 52%, #0b4b86 76%, #0058a8 100%);
}

.hdr-panel__inner {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  padding: 34px clamp(19.2px, 4.5vw, 88px) 38px;
  max-width: 1600px;
  margin-inline: auto;
}

.hdr-panel__intro { border-right: 1px solid #eef1f6; padding-right: clamp(20px, 2.4vw, 40px); }
.hdr-panel__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #7d0620;
  margin-bottom: 12px;
}
.hdr-panel__intro p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5363;
}
.site-header .hdr-panel__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #0058a8;
  border-bottom: 0;
}
.site-header .hdr-panel__all span { transition: transform 0.25s ease; }
.site-header .hdr-panel__all:hover span { transform: translateX(4px); }

.hdr-panel__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 40px);
}

.hdr-group__t {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #06244d;
}
.hdr-group__n {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: #8892a4;
}
.hdr-group ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

/* Each row arrives a beat after the one above it. The delay is only paid on
   the way IN — closing, everything leaves together, which is what stops the
   panel feeling slow to dismiss. */
.hdr-group li {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hdr-panel.is-open .hdr-group li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 45ms + 60ms);
}

.site-header .hdr-group li a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  margin-inline: -10px;
  border-radius: 10px;
  border-bottom: 0;
  color: #06244d;
  transition: background-color 0.2s ease;
}
.site-header .hdr-group li a:hover { background: rgba(0, 88, 168, 0.06); border-bottom: 0; color: #06244d; }

.hdr-item__ico {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(142deg, rgba(200, 16, 46, 0.12), rgba(0, 88, 168, 0.14));
  color: #0058a8;
  transition: color 0.2s ease;
}
.hdr-item__ico svg { width: 16px; height: 16px; }
.site-header .hdr-group li a:hover .hdr-item__ico { color: #b7092f; }

.hdr-item__txt { display: grid; min-width: 0; }
.hdr-item__txt b { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.hdr-item__txt em { font-style: normal; font-size: 11px; color: #8892a4; margin-top: 1px; }

.hdr-item__go {
  margin-left: auto;
  font-size: 13px;
  color: #b7092f;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.site-header .hdr-group li a:hover .hdr-item__go { opacity: 1; transform: none; }

/* Below the desktop nav's own breakpoint the band can never open, because the
   trigger is gone with the rest of the bar. */
@media (max-width: 62.5rem) {
  .hdr-panel { display: none; }
}
@media (max-width: 82.5rem) {
  .hdr-panel__inner { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
}

/* --- the phone disclosure ------------------------------------------------ */
.hdr-m { border-bottom: 1px solid #eef1f6; }
.site-header .hdr-m__t {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  /* The same 44px touch target the plain rows get, not a smaller one because
     it happens to be a button. */
  padding: 11.2px 0;
  background: none;
  border: 0;
  color: #06244d;
  font-size: 13.6px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.hdr-m__t svg { width: 11px; height: 7px; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.hdr-m__t.is-open svg { transform: rotate(180deg); }

.hdr-m__list { display: grid; padding: 2px 0 12px; }
.hdr-m__list[hidden] { display: none; }
.site-header .hdr-m__list a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0 10px 4px;
  border-bottom: 0;
  font-size: 13px;
  font-weight: 600;
  color: #06244d;
}
.site-header .hdr-m__list a:first-child {
  color: #0058a8;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid #eef1f6;
}
.hdr-m__list a em { display: block; font-style: normal; font-size: 11px; font-weight: 500; color: #8892a4; margin-top: 1px; }
.hdr-m__ico {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(142deg, rgba(200, 16, 46, 0.12), rgba(0, 88, 168, 0.14));
  color: #0058a8;
}
.hdr-m__ico svg { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .hdr-panel,
  .hdr-panel.is-open,
  .hdr-group li,
  .hdr-panel.is-open .hdr-group li,
  .hdr-mega__chev,
  .hdr-m__t svg,
  .hdr-item__go { transition: none; transform: none; }
}


/* ── nothing animates off screen ─────────────────────────────────────
   *"If you think any animation which is very heavy makes our website stuck,
   those kind of animation we will never use. Faster is the most priority."*
   — 23 September 2026.

   MEASURED, on a CPU throttled 6x to stand in for a mid-range phone, scrolling
   the whole page three times each way:

       as it was          median frame 50 / 50 / 33.4 ms   (20-30fps)
       off-screen paused  median frame 16.7 / 16.7 / 16.7  (60fps, every run)
       frames over 50ms   67 / 47 / 17   ->   2 / 0 / 2

   Fifty-seven animations ran for ever, at every scroll position, whether their
   section was on screen or not — and forty-nine of those animate
   `stroke-dashoffset`, which repaints the SVG on every frame rather than
   riding the compositor. The portfolio's replay TIMERS were already gated by
   an IntersectionObserver; the CSS animations they start were not, so the
   diagrams kept repainting at the top of the page and at the foot of it.

   `animation-play-state: paused` is the whole fix. The browser stops doing the
   work, the element holds the frame it was on, and resuming is seamless — no
   restart, no jump. It is the same idea already applied to the hero video,
   which plays when it arrives and pauses when it leaves. */
.anim-idle,
.anim-idle * { animation-play-state: paused !important; }


/* ══════════════════════════════════════════════════════════════════
   HOMEPAGE, 13 OCTOBER
   ══════════════════════════════════════════════════════════════════
   Naren's four reference frames — hero, milestones, a second portfolio,
   who we are — and the footer inverted. Each block is self-contained under
   its own prefix (hx-, ms2-, pf-, wx-) so nothing older can reach into it;
   the rules for the markup these replaced are dead and harmless. */

/* ── 01 · THE HERO ───────────────────────────────────────────────
   An inset card on the brand gradient. The photograph is masked into the
   gradient rather than shaded over it, so there is no seam to line up: the
   panel shows through wherever the photograph thins. */
.hx { background: #fff; padding: clamp(0.5rem, 1.1vw, 1.25rem) clamp(0.5rem, 1.6vw, 2rem) 0; }
.hx-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(40rem, 47vw, 57rem);
  border-radius: clamp(1.125rem, 2.2vw, 2.5rem);
  color: #fff;
  background:
    radial-gradient(62% 85% at 0% 0%, rgba(184, 16, 56, .55), transparent 72%),
    linear-gradient(180deg, transparent 52%, rgba(16, 8, 36, .38) 100%),
    linear-gradient(102deg, #840c30 0%, #5f1137 19%, #36184a 34%, #192450 48%, #0e2a5c 62%, #0b3f86 100%);
}

.hx-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 66%; z-index: -2; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 20%, #000 44%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 20%, #000 44%);
}
.hx-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 72% 50%; }
/* The blue the reference lays over the left of the frame, and a little
   weight at the top right and along the foot. Inside the mask, so it fades
   out with the photograph and cannot leave an edge of its own. */
.hx-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(42% 52% at 36% 24%, rgba(14, 30, 82, .5), rgba(14, 30, 82, 0) 78%),
    linear-gradient(90deg, rgba(18, 34, 84, .82) 0%, rgba(18, 34, 84, .56) 40%, rgba(18, 34, 84, .14) 62%, rgba(18, 34, 84, 0) 74%),
    linear-gradient(180deg, rgba(12, 34, 92, .46) 0%, rgba(12, 34, 92, .12) 46%, rgba(12, 34, 92, 0) 62%),
    linear-gradient(0deg, rgba(8, 14, 40, .52) 0%, rgba(8, 14, 40, 0) 30%);
}

/* The glass: one skewed band with a lit leading edge, and a second hairline
   further left, the way the reference catches two reflections. */
.hx-glass {
  position: absolute; z-index: -1; pointer-events: none;
  top: 12%; bottom: -16%; left: 40.5%; width: 21%;
  transform: skewX(-20deg); transform-origin: 0 100%;
  border-top-left-radius: 2.25rem;
  border-left: 1px solid rgba(255, 255, 255, .42);
  border-top: 1px solid rgba(255, 255, 255, .2);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .03) 50%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(90deg, rgba(16, 32, 86, .5) 0%, rgba(16, 32, 86, .3) 55%, rgba(16, 32, 86, 0) 100%);
}
.hx-glass > span {
  position: absolute; top: -20%; bottom: 0; left: -38%; width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .3) 45%, rgba(255, 255, 255, 0));
}

/* Three pillars on a rule, with the red stop under it. */
.hx-pillars {
  position: absolute; z-index: 1; top: clamp(4.5rem, 9.2vw, 9.5rem); left: 61%;
  display: flex; flex-direction: column; gap: clamp(1.6rem, 2.5vw, 2.75rem);
  padding: 0 0 2.5rem 2.75rem; margin: 0;
}
.hx-pillars::before {
  content: ""; position: absolute; left: 0.6rem; top: 0.2rem; bottom: 1.4rem; width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .35));
  transform-origin: top;
}
.hx-pillars::after {
  content: ""; position: absolute; left: -1rem; bottom: 0; width: 3.6rem; height: 0.25rem;
  background: #e3173e; transform-origin: left;
}
.hx-pillars li {
  position: relative; font-size: clamp(0.8125rem, 0.86vw, 1.0625rem); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1.55; color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 14px rgba(6, 14, 42, .7);
}
.hx-pillars li::before {
  content: ""; position: absolute; left: -2.75rem; top: 0.15rem;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .88); background: rgba(22, 38, 86, .7);
}

/* The copy. Three lines of headline, held as three — the reference sets it
   that way, and `nowrap` stops a narrow window from breaking a line into two. */
.hx-copy {
  position: relative; z-index: 2; width: 54%;
  padding: clamp(3rem, 5vw, 6rem) 0 clamp(2.75rem, 4.2vw, 5rem) clamp(1.75rem, 4.3vw, 5.75rem);
}
.hx-eyebrow {
  font-size: clamp(0.8125rem, 0.86vw, 1.0625rem); font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(255, 255, 255, .86);
}
.hx-eyebrow i { font-style: normal; margin-inline: .85em; color: rgba(255, 255, 255, .55); }
.hx h1 {
  margin-top: clamp(1.25rem, 2vw, 2.25rem);
  font-size: clamp(2.6rem, 4.25vw, 5.75rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.026em;
  color: #fff;
}
.hx h1 .dot { color: #e6193f; }
.hx-lead {
  margin-top: clamp(1.25rem, 1.9vw, 2.25rem); max-width: 44rem;
  font-size: clamp(1.0625rem, 1.32vw, 1.6rem); line-height: 1.5; color: rgba(255, 255, 255, .86);
}
.hx-btns { display: flex; flex-wrap: wrap; gap: clamp(0.75rem, 1.4vw, 1.5rem); margin-top: clamp(1.75rem, 2.6vw, 3rem); }
.hx-btn {
  display: inline-flex; align-items: center; gap: 1rem;
  height: clamp(3.5rem, 4.1vw, 4.75rem); padding: 0 clamp(1.5rem, 2.1vw, 2.5rem);
  border-radius: 0.875rem; font-size: clamp(1.0625rem, 1.15vw, 1.375rem); font-weight: 600;
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), background-color .2s, border-color .2s, box-shadow .25s, color .2s;
}
.hx-btn--solid {
  background: linear-gradient(180deg, #fff 0%, #edf1f8 100%); color: var(--navy);
  box-shadow: 0 0.75rem 2rem -0.75rem rgba(4, 10, 40, .55);
}
.hx-btn--solid:hover { transform: translateY(-2px); box-shadow: 0 1rem 2.4rem -0.75rem rgba(4, 10, 40, .7); }
.hx-btn--line { border: 1px solid rgba(255, 255, 255, .72); color: #fff; }
.hx-btn--line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* Each fact on its own line, never broken; the row may run on under the
   glass, as it does in the reference, rather than squeeze its labels. */
.hx-proof { display: flex; align-items: center; width: max-content; margin-top: clamp(2.25rem, 4.2vw, 5rem); }
.hx-proof li { flex: none; }
.hx-proof b, .hx-proof em { white-space: nowrap; }
.hx-proof li {
  display: flex; align-items: center; gap: clamp(0.75rem, 0.95vw, 1.125rem);
  padding: 0.35rem clamp(1.25rem, 2vw, 2.25rem) 0.35rem 0;
}
.hx-proof li + li { padding-left: clamp(1.25rem, 2vw, 2.25rem); border-left: 1px solid rgba(255, 255, 255, .24); }
.hx-proof svg {
  width: clamp(2rem, 2.3vw, 2.75rem); height: clamp(2rem, 2.3vw, 2.75rem); flex: none;
  fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.hx-proof li:hover svg { transform: translateY(-0.1875rem) scale(1.06); }
/* THE THREE FACT ROWS SHARE ONE SCALE — this one, the four under the film
   and the three under the portfolio. *"It's very bold, it's not looking
   professional… don't give boldness here, a little bit small font, according
   to the icon."*  — 13 October. Medium for the fact, regular for its label,
   the label a step smaller and softer, the icon as tall as the two lines. */
.hx-proof b { display: block; font-size: clamp(1.0625rem, 1.06vw, 1.3rem); font-weight: 500; line-height: 1.3; color: #fff; }
.hx-proof em { display: block; margin-top: 0.15rem; font-style: normal; font-size: clamp(0.9375rem, 0.9vw, 1.075rem); line-height: 1.4; color: rgba(255, 255, 255, .68); }

/* Entrance. The headline keeps the line-by-line rise the old hero had; the
   glass slides in behind it, the rule draws down and the red stop runs out. */
.hx-copy h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hx-copy h1 .ln > span { display: block; white-space: nowrap; transition: transform .95s cubic-bezier(.16, 1, .3, 1), opacity .8s ease-out; }
.js-rv .hx-copy h1.rv .ln > span { transition: none; transform: translateY(108%); opacity: 0; }
.js-rv .hx-copy h1[data-rv="lines"].rv { opacity: 1; transform: none; }
.js-rv #hero-h .ln:nth-child(3) > span { transition-delay: .38s; }
.hx-lead[data-rv] { transition-delay: .5s !important; }
.hx-btns[data-rv] { transition-delay: .62s !important; }
.js-rv .hx-btns.rv { transform: translateY(1.25rem) scale(.97); }
.js-rv .hx-proof > li.rv { transform: translateY(1rem); }

@keyframes hxGlass { from { opacity: 0; transform: skewX(-20deg) translateX(3rem); } to { opacity: 1; transform: skewX(-20deg); } }
@keyframes hxRise  { from { opacity: 0; transform: translateY(0.875rem); } to { opacity: 1; transform: none; } }
@keyframes hxDraw  { from { transform: scaleY(0); } to { transform: none; } }
@keyframes hxRun   { from { transform: scaleX(0); } to { transform: none; } }
@keyframes hxPhoto { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.02); } }
@keyframes hxDrift { 0%, 100% { transform: scale(1.02); } 50% { transform: scale(1.06) translate3d(-1%, -0.8%, 0); } }

.js-rv .hx-glass { animation: hxGlass 1.2s .25s cubic-bezier(.16, 1, .3, 1) both; }
.js-rv .hx-pillars::before { animation: hxDraw 1s .55s cubic-bezier(.16, 1, .3, 1) both; }
.js-rv .hx-pillars::after { animation: hxRun .7s 1.35s cubic-bezier(.16, 1, .3, 1) both; }
.js-rv .hx-pillars li { animation: hxRise .8s cubic-bezier(.16, 1, .3, 1) both; }
.js-rv .hx-pillars li:nth-child(1) { animation-delay: .7s; }
.js-rv .hx-pillars li:nth-child(2) { animation-delay: .85s; }
.js-rv .hx-pillars li:nth-child(3) { animation-delay: 1s; }
/* 24 November, Naren: the hero photograph is a still image. No zoom in, no
   zoom out, no drift ("just normal image"); hxPhoto and hxDrift are unused. */
.hx-photo img, .js-rv .hx-photo img { transform: none; animation: none; }

@media (prefers-reduced-motion: reduce) {
  .js-rv .hx-glass, .js-rv .hx-pillars::before, .js-rv .hx-pillars::after,
  .js-rv .hx-pillars li, .js-rv .hx-photo img { animation: none; }
}

/* Under 1180 the pillars would sit on the train; the glass stays. */
@media (max-width: 1180px) {
  .hx-pillars { display: none; }
  .hx-copy { width: 60%; }
  .hx-photo { width: 62%; }
}
/* Phones: the photograph on top as a strip, the copy under it on the
   gradient. Naren, 15 October: "image should be above and text should be
   below" — phones only; tablets and desktops keep the photograph beside the
   copy. The strip fades at its foot, into the gradient the copy sits on. */
@media (max-width: 760px) {
  .hx { padding: 0.5rem 0.5rem 0; }
  .hx-panel { flex-direction: column; align-items: stretch; min-height: 0; border-radius: 1.25rem; }
  .hx-copy { width: auto; padding: 2rem 1.375rem 1.5rem; }
  .hx-copy h1 .ln > span { white-space: normal; }
  .hx h1 { font-size: 2.6rem; line-height: 1.08; }
  .hx-eyebrow { font-size: 0.75rem; letter-spacing: .16em; line-height: 1.7; }
  .hx-eyebrow i { margin-inline: .45em; }
  .hx-lead { font-size: 1.0625rem; line-height: 1.55; }
  /* the two buttons share one row (Naren, 15 October: "if we have two,
     adjust in one"), their words wrapping inside it */
  .hx-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; }
  .hx-btn { min-width: 0; height: auto; min-height: 3.75rem; padding: 0.625rem 0.75rem; gap: 0.5rem;
    justify-content: center; text-align: center; white-space: normal; font-size: 1.0625rem; line-height: 1.25; }
  .hx-proof { width: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; margin-top: 1.75rem; }
  /* `li + li` too: the desktop divider rule (`.hx-proof li + li`) outranks a
     plain `li`, so its 16px inset survived here and pushed the second and
     third facts off their column — "Design · Testing · Validation" sat 16px
     right of "600+" above it (Naren, 15 October). */
  .hx-proof li, .hx-proof li + li { padding: 0; border: 0; }
  .hx-proof li:last-child { grid-column: 1 / -1; }
  .hx-proof b, .hx-proof em { white-space: normal; }
  .hx-photo {
    position: relative; width: auto; height: 16rem; order: -1; z-index: 0;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 38%);
            mask-image: linear-gradient(0deg, transparent 0%, #000 38%);
  }
  .hx-photo::after { background: linear-gradient(0deg, rgba(18, 34, 84, .6), rgba(18, 34, 84, 0) 60%); }
  .hx-glass { display: none; }
}

/* ── 05 · MILESTONES ─────────────────────────────────────────────
   A seven-column track: each card spans two, the top row on 1, 3, 5 and the
   bottom row on 2, 4, 6. That staggers the stops along the track evenly and
   in date order — 2017 above, 2019 below, 2021 above — which is the one way
   this is better than the reference, whose dots ran out of order. */
.ms2 {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #f8f7f5 0%, #f2f1ef 100%);
  padding-block: clamp(4.5rem, 7.2vw, 9rem) clamp(4rem, 6vw, 7.5rem);
}
.ms2-bg { position: absolute; z-index: -1; left: 0; bottom: 0; width: min(64%, 72rem); pointer-events: none; }
.ms2-bg img { width: 100%; height: auto; opacity: .5; }
.ms2-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 243, 241, 0) 30%, #f3f2f0 96%),
    linear-gradient(180deg, #f6f5f3 0%, rgba(246, 245, 243, 0) 46%);
}
.ms2-corner {
  position: absolute; top: clamp(2.25rem, 3.4vw, 4rem); right: clamp(1.5rem, 3.9vw, 6rem);
  padding-right: 4.5rem; font-size: clamp(0.75rem, 0.8vw, 0.9375rem); font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; line-height: 1.75; color: #5f6779;
}
.ms2-corner::after { content: ""; position: absolute; right: 0; bottom: .6em; width: 3.25rem; height: 2px; background: var(--red); }

.ms2-wrap {
  display: grid; grid-template-columns: clamp(17rem, 21vw, 29rem) minmax(0, 1fr);
  gap: clamp(2rem, 3.2vw, 4.5rem); padding-inline: clamp(1.5rem, 3.9vw, 6rem);
}
.ms2-side { display: flex; flex-direction: column; align-items: flex-start; }
.ms2-h {
  margin-top: 1.25rem; font-size: clamp(2.75rem, 3.9vw, 5.25rem); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.03em; color: var(--navy);
}
.ms2-h em { font-style: normal; color: var(--red); }
.ms2-lead { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.12vw, 1.375rem); line-height: 1.6; color: var(--body); }
.ms2-btn {
  margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.875rem;
  height: 3.75rem; padding: 0 2rem; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 1.125rem; font-weight: 700; box-shadow: 0 0.75rem 1.75rem -0.75rem rgba(183, 9, 47, .6);
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), background-color .2s, box-shadow .25s;
}
.ms2-btn:hover { transform: translateY(-2px); background: #9a0626; }
.ms2-mini {
  position: relative; margin-top: 2.75rem; padding-top: 1.1rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #6b7386; white-space: nowrap;
}
.ms2-mini::before { content: ""; position: absolute; top: 0; left: 0; width: 3.5rem; height: 1px; background: #8b93a6; }
.ms2-mini i { font-style: normal; margin-inline: .6em; color: var(--red); }
/* Pushed to the foot of the column, so the column ends where the track does. */
.ms2-big {
  position: relative; margin-top: auto; padding: 2.5rem 0 1.25rem;
  font-size: clamp(1.4rem, 1.55vw, 2.1rem); font-weight: 400; letter-spacing: .34em;
  text-transform: uppercase; line-height: 1.34; color: #9aa1af;
}
.ms2-big::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3.5rem; height: 2px; background: var(--red); }

.ms2-line { position: relative; --band: clamp(5.5rem, 6.6vw, 8.5rem); }
.ms2-track { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.ms2-cards {
  position: relative; z-index: 1; margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: auto var(--band) auto; column-gap: clamp(0.75rem, 1.1vw, 1.375rem);
}
.ms2-card { position: relative; }
.ms2-card--top { grid-row: 1; }
.ms2-card--bot { grid-row: 3; }
.ms2-card:nth-child(1) { grid-column: 1 / span 2; }
.ms2-card:nth-child(2) { grid-column: 2 / span 2; }
.ms2-card:nth-child(3) { grid-column: 3 / span 2; }
.ms2-card:nth-child(4) { grid-column: 4 / span 2; }
.ms2-card:nth-child(5) { grid-column: 5 / span 2; }
.ms2-card:nth-child(6) { grid-column: 6 / span 2; }
/* Five milestones (20 November, the client's list, point 10): six columns, so
   the three cards on top run edge to edge and the two below sit between them;
   the track then ends down into the empty column at the bottom right, where
   the sixth card used to be (app.js msTrack). */
.ms2-cards--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* The tie to the track, and the stop on it. On the list item, not on the
   card, so a card lifting on hover never pulls its stop off the rails. The
   0.36 is the track's own geometry: half the band, less the wave's swing. */
.ms2-card::after {
  content: ""; position: absolute; left: 50%; width: 1.5px; margin-left: -0.75px;
  height: calc(var(--band) * .36); background: linear-gradient(180deg, var(--red), rgba(183, 9, 47, .7));
}
.ms2-card--top::after { top: 100%; }
.ms2-card--bot::after { bottom: 100%; }
.ms2-card::before {
  content: ""; position: absolute; z-index: 2; left: 50%; width: 1.0625rem; height: 1.0625rem;
  margin-left: -0.53rem; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0.3125rem #fff, 0 0 0 0.4375rem rgba(183, 9, 47, .16), 0 0.3rem 0.9rem rgba(183, 9, 47, .4);
}
.ms2-card--top::before { top: calc(100% + var(--band) * .36 - 0.53rem); }
.ms2-card--bot::before { bottom: calc(100% + var(--band) * .36 - 0.53rem); }

.ms2-in {
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 0.875rem;
  padding: clamp(1.15rem, 1.45vw, 1.75rem) clamp(1.05rem, 1.35vw, 1.6rem) 0;
  box-shadow: 0 1.5rem 3rem -1.75rem rgba(20, 30, 60, .32), 0 0 0 1px rgba(15, 43, 76, .06);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
}
.ms2-card:hover .ms2-in { transform: translateY(-4px); box-shadow: 0 2rem 3.5rem -1.75rem rgba(20, 30, 60, .4), 0 0 0 1px rgba(15, 43, 76, .08); }
.ms2-year {
  display: flex; align-items: center; gap: 0.875rem; line-height: 1;
  font-size: clamp(1.625rem, 1.85vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; color: var(--red);
}
.ms2-year::after { content: ""; flex: 0 0 3rem; height: 1px; background: #c5cbd6; }
.ms2-in h3 { margin-top: 0.75rem; font-size: clamp(1.1875rem, 1.3vw, 1.625rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--navy); }
.ms2-body { margin: 0.55rem 0 1.1rem; font-size: clamp(1rem, 1.02vw, 1.2rem); line-height: 1.5; color: var(--body); }
.ms2-shot {
  position: relative; margin: auto calc(-1 * clamp(1.05rem, 1.35vw, 1.6rem)) 0;
  height: clamp(6.25rem, 7.4vw, 9.5rem); flex: none;
}
.ms2-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .75) 34%, #000 62%);
          mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .75) 34%, #000 62%);
}
/* 2017 is the reception, with the lockup on the wall: keep the wall in frame. */
.ms2-card:nth-child(1) .ms2-shot img { object-position: 50% 28%; }
.ms2-shot span {
  position: absolute; left: clamp(1.05rem, 1.35vw, 1.6rem); bottom: 0.875rem;
  padding: 0.3rem 0.6rem; border-left: 2px solid var(--red); border-radius: 0 0.3rem 0.3rem 0;
  background: rgba(255, 255, 255, .9); color: var(--navy);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}

/* The end of the line: an arrow rising into the empty seventh column. */
.ms2-end {
  position: absolute; right: 0; top: var(--end-y, 0); z-index: 1;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  line-height: 1.6; color: #6b7386; text-align: right;
}

/* The track, drawn by app.js. */
.ms2-track .t-bed   { fill: none; stroke: rgba(40, 52, 82, .06); stroke-width: 26; stroke-linecap: round; }
.ms2-track .t-sleep { fill: none; stroke: #d2d7df; stroke-width: 15; stroke-dasharray: 2.5 6.5; }
.ms2-track .t-rail  { fill: none; stroke: #aeb6c4; stroke-width: 1.6; stroke-linecap: round; }
.ms2-track .t-head  { fill: none; stroke: #8f98a8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ms2-train {
  position: absolute; left: 0; top: 0; z-index: 1; width: 2.6rem; height: 0.5rem; border-radius: 1rem;
  background: linear-gradient(90deg, rgba(183, 9, 47, 0), rgba(183, 9, 47, .85) 70%, #fff 100%);
  box-shadow: 0 0 0.9rem rgba(183, 9, 47, .45);
  offset-rotate: auto; offset-distance: 0%; opacity: 0; pointer-events: none;
}
@keyframes ms2Run {
  0%   { offset-distance: 0%;   opacity: 0; }
  6%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.ms2-line.is-drawn .ms2-train { animation: ms2Run 11s 1.6s linear infinite; }
/* Drawn in from the left once the section arrives. Only ever added by
   app.js on a page that can remove it again, so it fails visible. */
.ms2-line .ms2-track { transition: clip-path 1.9s cubic-bezier(.65, 0, .35, 1); clip-path: inset(-2rem -2rem -2rem -2rem); }
.ms2-line.is-pre .ms2-track { clip-path: inset(-2rem 100% -2rem -2rem); transition: none; }
@media (prefers-reduced-motion: reduce) {
  .ms2-line .ms2-track { transition: none; clip-path: none; }
  .ms2-line.is-drawn .ms2-train { animation: none; }
}

/* Under 1280 the copy goes above the track and the track takes the width. */
@media (max-width: 1279px) {
  .ms2-wrap { grid-template-columns: minmax(0, 1fr); }
  .ms2-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 3rem; align-items: end; }
  .ms2-side > .eyebrow, .ms2-h, .ms2-lead { grid-column: 1; }
  .ms2-btn { grid-column: 2; grid-row: 3; margin: 0 0 0.25rem; }
  .ms2-mini, .ms2-big { display: none; }
  .ms2-corner { display: none; }
}
/* Under 1024, a vertical line: the rails run down the left, the cards stack. */
@media (max-width: 1023px) {
  .ms2-side { display: flex; align-items: flex-start; }
  .ms2-btn { margin-top: 1.75rem; }
  .ms2-line { margin-top: 0.5rem; }
  .ms2-track, .ms2-train { display: none; }
  .ms2-cards { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 1.25rem; padding-left: 3.25rem; }
  .ms2-cards::before {
    content: ""; position: absolute; left: 0.75rem; top: 1rem; bottom: 1rem; width: 0.875rem;
    border-inline: 1.5px solid #aeb6c4;
    background: repeating-linear-gradient(180deg, #d2d7df 0 2.5px, transparent 2.5px 9px);
  }
  .ms2-card:nth-child(n) { grid-column: 1; grid-row: auto; }
  .ms2-card::after { top: 2.1rem !important; bottom: auto !important; left: -2rem; width: 2rem; height: 1.5px; margin: 0; }
  .ms2-card::before { top: calc(2.1rem - 0.47rem) !important; bottom: auto !important; left: calc(-2rem - 0.08rem); margin-left: -0.53rem; }
  .ms2-in { display: grid; grid-template-columns: minmax(0, 1fr) 38%; column-gap: 1.25rem; padding-bottom: 1.25rem; }
  .ms2-in > :not(.ms2-shot) { grid-column: 1; }
  .ms2-shot { grid-column: 2; grid-row: 1 / span 3; margin: calc(-1 * clamp(1.15rem, 1.45vw, 1.75rem)) calc(-1 * clamp(1.05rem, 1.35vw, 1.6rem)) -1.25rem 0; height: auto; min-height: 9rem; }
  .ms2-shot img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
  .ms2-end { position: static; margin-top: 1.25rem; padding-left: 3.25rem; text-align: left; }
}
@media (max-width: 560px) {
  .ms2-in { grid-template-columns: minmax(0, 1fr); }
  .ms2-shot { grid-column: 1; grid-row: auto; margin: 0.25rem calc(-1 * clamp(1.05rem, 1.35vw, 1.6rem)) -1.25rem; min-height: 0; height: 7.5rem; }
  .ms2-shot img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); mask-image: linear-gradient(180deg, transparent 0%, #000 55%); }
}

/* ── 04b · PRODUCT PORTFOLIO, THE CAROUSEL ───────────────────────
   A row that scrolls natively — trackpad, touch, keyboard — with arrows and
   a mouse drag layered on top by app.js. Snap is to the card's start edge,
   which is also where the shell's gutter puts the first card at rest. */
.pf {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
  padding-top: clamp(4rem, 6.4vw, 8rem);
}
.pf-shell { padding-inline: clamp(1.5rem, 5.7vw, 8.75rem); }
.pf-streaks { position: absolute; z-index: -1; top: 0; right: 0; width: 56%; height: 100%; overflow: hidden; pointer-events: none; }
.pf-streaks i { position: absolute; top: -2%; height: 104%; transform: skewX(-28deg); transform-origin: top; }
.pf-streaks i:nth-child(1) { right: 3%;  width: 6%;  background: linear-gradient(180deg, rgba(200, 16, 46, .5), rgba(200, 16, 46, 0) 26%); }
.pf-streaks i:nth-child(2) { right: 16%; width: 15%; background: linear-gradient(180deg, rgba(0, 88, 168, .075), rgba(0, 88, 168, 0) 64%); }
.pf-streaks i:nth-child(3) { right: 36%; width: 9%;  background: linear-gradient(180deg, rgba(0, 88, 168, .05), rgba(0, 88, 168, 0) 54%); }

.pf-head { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 3vw, 3.75rem); }
.pf-eyebrow { font-size: 0.9375rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--navy); }
.pf-eyebrow b { color: var(--red); font-weight: 700; }
.pf-title h2 {
  margin-top: 1.5rem; font-size: clamp(2.4rem, 3.5vw, 5rem); font-weight: 400;
  line-height: 1.04; letter-spacing: -0.03em; color: var(--navy);
}
.pf-title h2 strong { display: block; font-weight: 800; font-size: 1.12em; }
.pf-title .dot { color: var(--red); }
.pf-mid { border-left: 1px solid #d3dbe8; padding-left: clamp(1.25rem, 2vw, 2.5rem); }
.pf-mid p { font-size: clamp(1.0625rem, 1.15vw, 1.375rem); line-height: 1.55; color: #3d4c68; }
.pf-link { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.75rem; color: var(--red); font-size: 1.1875rem; font-weight: 600; }
.pf-motto {
  border-left: 1px solid #d3dbe8; padding-left: clamp(1.25rem, 2vw, 2.5rem);
  font-size: clamp(0.8125rem, 0.85vw, 1rem); font-weight: 700; letter-spacing: .34em; line-height: 2;
  text-transform: uppercase; color: var(--navy);
}

.pf-stage { position: relative; margin-top: clamp(2.25rem, 3.6vw, 4.5rem); }
.pf-track {
  display: flex; gap: clamp(1rem, 1.25vw, 1.5rem); margin: 0; list-style: none;
  padding: 0.75rem clamp(1.5rem, 5.7vw, 8.75rem) 2.25rem;
  scroll-padding-inline: clamp(1.5rem, 5.7vw, 8.75rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; cursor: grab;
}
.pf-track::-webkit-scrollbar { display: none; }
.pf-track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.pf-track.is-drag a { pointer-events: none; }
.pf-card { flex: 0 0 clamp(16.5rem, 21vw, 26.5rem); scroll-snap-align: start; }
.pf-card a {
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(1.5rem, 1.9vw, 2.25rem) clamp(1.375rem, 1.75vw, 2.125rem) clamp(1.375rem, 1.7vw, 2rem);
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); border: 1px solid #e3e9f2; border-radius: 0.875rem;
  box-shadow: 0 1.25rem 2.5rem -1.75rem rgba(16, 32, 72, .28);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s, border-color .35s;
  -webkit-user-drag: none;
}
.pf-card a:hover { transform: translateY(-5px); border-color: #d2dbea; box-shadow: 0 1.75rem 3rem -1.75rem rgba(16, 32, 72, .4); }
.pf-tick { display: block; width: 2.75rem; height: 0.25rem; border-radius: 2px; background: var(--red); }
.pf-card h3 { margin-top: 1.35rem; font-size: clamp(1.5rem, 1.7vw, 2.125rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }
/* Three lines of room whatever the line runs to, so every drawing sits at
   the same height along the row. */
.pf-card p { margin-top: 0.6rem; min-height: 4.26em; font-size: clamp(1.0625rem, 1.18vw, 1.4rem); line-height: 1.42; color: #3d4c68; }
.pf-art { margin: 1.25rem -0.375rem 1.25rem; }
.pf-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pf-svg text { font: 600 7.5px var(--f); letter-spacing: .14em; fill: #3c4c6b; }
.pf-go { margin-top: auto; display: flex; align-items: center; gap: 0.875rem; font-size: clamp(1.0625rem, 1.12vw, 1.3rem); font-weight: 600; color: var(--navy); }
.pf-go i {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1.5px solid var(--navy); font-style: normal; transition: background-color .25s, color .25s;
}
.pf-go .arw { width: 1rem; height: .62rem; }
.pf-card a:hover .pf-go i { background: var(--navy); color: #fff; }

/* The arrows sit over the gutter at the left and over the half-shown card
   at the right, as in the reference. */
.pf-nav {
  position: absolute; z-index: 3; top: calc(50% - 0.75rem); transform: translateY(-50%);
  width: clamp(2.75rem, 3.2vw, 3.75rem); height: clamp(2.75rem, 3.2vw, 3.75rem);
  display: grid; place-items: center; border-radius: 50%; border: 1px solid #e1e7f0;
  background: #fff; color: var(--navy); cursor: pointer;
  box-shadow: 0 0.75rem 1.75rem -0.75rem rgba(16, 32, 72, .35);
  transition: opacity .25s, background-color .2s, color .2s;
}
.pf-nav svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pf-nav:hover:not(:disabled) { background: var(--navy); color: #fff; }
.pf-nav:disabled { opacity: .35; cursor: default; }
.pf-nav--prev { left: clamp(0.5rem, 2.2vw, 3.25rem); }
.pf-nav--next { right: clamp(0.5rem, 2.2vw, 3.25rem); }
.pf-stage::before, .pf-stage::after {
  content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: clamp(2rem, 6vw, 8rem);
  pointer-events: none; transition: opacity .3s;
}
.pf-stage::before { left: 0;  background: linear-gradient(90deg, #f2f6fb, rgba(242, 246, 251, 0)); }
.pf-stage::after  { right: 0; background: linear-gradient(270deg, #f0f4fa, rgba(240, 244, 250, 0)); }
.pf-stage.at-start::before, .pf-stage.at-end::after { opacity: 0; }

.pf-meter { display: flex; align-items: center; gap: 1.5rem; }
.pf-rail { position: relative; flex: 1; height: 0.3rem; border-radius: 1rem; background: #dfe6f0; overflow: hidden; }
/* one ninth: nine products since 15 October (client review: "all products not mentioned") */
.pf-rail span { position: absolute; left: 0; top: 0; bottom: 0; width: 11.1111%; border-radius: inherit; background: var(--navy); }
.pf-count { font-size: 1.0625rem; color: var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-count b { color: var(--navy); font-weight: 700; }
.pf-hint { padding-left: 1.5rem; border-left: 1px solid #cfd7e4; font-size: 1.0625rem; color: var(--body); white-space: nowrap; }

.pf-points {
  margin: clamp(2.5rem, 3.6vw, 4.25rem) 0 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: clamp(1.75rem, 2.4vw, 2.75rem); border-top: 1px solid #dfe5ee;
  background: rgba(255, 255, 255, .55);
}
.pf-points li { display: flex; align-items: center; justify-content: center; gap: 1rem; padding-inline: 1.5rem; }
.pf-points li + li { border-left: 1px solid #d5dce8; }
.pf-points svg { width: clamp(2.125rem, 2.2vw, 2.75rem); height: clamp(2.125rem, 2.2vw, 2.75rem); flex: none; fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pf-points svg.pf-bars { fill: var(--red); stroke: none; }
.pf-points b { display: block; margin-bottom: 0.15rem; font-size: clamp(1.0625rem, 1.06vw, 1.3rem); font-weight: 500; line-height: 1.3; color: var(--navy); }
.pf-points span { font-size: clamp(0.9375rem, 0.9vw, 1.075rem); line-height: 1.4; color: var(--body); }

/* The drawings breathe a little; all of it transform and opacity, and the
   whole section pauses off screen (see the idle observer in app.js). */
@keyframes pfPing  { 0%, 100% { opacity: .16; transform: scale(1); } 50% { opacity: .03; transform: scale(1.8); } }
@keyframes pfBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes pfBob   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes pfPktR  { 0% { transform: translateX(-16px); opacity: 0; } 25%, 75% { opacity: 1; } 100% { transform: translateX(14px); opacity: 0; } }
@keyframes pfPktL  { 0% { transform: translateX(16px); opacity: 0; } 25%, 75% { opacity: 1; } 100% { transform: translateX(-14px); opacity: 0; } }
.pf-ping { transform-box: fill-box; transform-origin: center; animation: pfPing 2.6s ease-in-out infinite; }
.pf-lamp { animation: pfBlink 2.4s ease-in-out infinite; }
.pf-pin  { transform-box: fill-box; animation: pfBob 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
.pf-pkt  { transform-box: fill-box; animation: pfPktR 2.4s linear infinite; }
.pf-pkt + .pf-pkt { animation-name: pfPktL; animation-delay: 1.2s; }
.pf-core { transform-box: fill-box; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.pf-card a:hover .pf-core { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .pf-ping, .pf-lamp, .pf-pin, .pf-pkt { animation: none; }
}

@media (max-width: 1100px) {
  .pf-head { grid-template-columns: minmax(0, 1fr) auto; }
  .pf-title { grid-column: 1 / -1; }
  .pf-mid { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  .pf-head { grid-template-columns: minmax(0, 1fr); }
  .pf-motto { display: none; }
  .pf-title h2 { font-size: 2.4rem; }
  .pf-card { flex-basis: 76vw; }
  .pf-nav { display: none; }
  .pf-stage::before, .pf-stage::after { width: 1.5rem; }
  .pf-hint { display: none; }
  .pf-points { grid-template-columns: minmax(0, 1fr); padding-block: 0.5rem; }
  .pf-points li { justify-content: flex-start; padding: 1.1rem 0; }
  .pf-points li + li { border-left: 0; border-top: 1px solid #d5dce8; }
}

/* ── 02 · WHO WE ARE ─────────────────────────────────────────────
   Smaller than it was: one screen at 1440 — the copy beside the film, four
   facts under them, the line along the foot. */
.wx {
  position: relative; isolation: isolate; overflow: hidden; background: #fff;
  padding-block: clamp(3.75rem, 5.6vw, 7rem) clamp(2.75rem, 4vw, 4.75rem);
}
.wx-track {
  position: absolute; z-index: -1; left: 0; bottom: -6%; width: min(30%, 32rem); opacity: .16; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 25%, transparent 92%);
          mask-image: linear-gradient(90deg, #000 25%, transparent 92%);
}
.wx-track img { width: 100%; height: auto; }
.wx-streaks { position: absolute; z-index: -1; top: 0; left: 50%; width: 44%; height: clamp(7rem, 11vw, 13rem); overflow: hidden; pointer-events: none; }
.wx-streaks i { position: absolute; top: 0; height: 100%; transform: skewX(-28deg); transform-origin: top; }
.wx-streaks i:nth-child(1) { left: 10%; width: 7%;  background: linear-gradient(180deg, rgba(200, 16, 46, .85), rgba(200, 16, 46, 0)); }
.wx-streaks i:nth-child(2) { left: 24%; width: 24%; background: linear-gradient(180deg, rgba(0, 88, 168, .1), rgba(0, 88, 168, 0)); }
.wx-streaks i:nth-child(3) { left: 56%; width: 14%; background: linear-gradient(180deg, rgba(0, 88, 168, .07), rgba(0, 88, 168, 0)); }
.wx-shell { padding-inline: clamp(1.5rem, 3.9vw, 6rem); }
.wx-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: clamp(2rem, 3.6vw, 4.5rem); align-items: center; }
.wx-h {
  margin-top: 1.25rem; font-size: clamp(2.5rem, 3.45vw, 4.75rem); font-weight: 300;
  line-height: 1.07; letter-spacing: -0.028em; color: var(--navy);
}
.wx-h strong { display: block; font-weight: 800; }
.wx-h .dot { color: var(--red); font-weight: 800; }
.wx-lead { margin-top: 1.5rem; max-width: 40rem; font-size: clamp(1.0625rem, 1.12vw, 1.375rem); line-height: 1.6; color: var(--body); }
.wx-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: clamp(1.75rem, 2.4vw, 2.5rem); }
.wx-btn {
  display: inline-flex; align-items: center; gap: 0.875rem; height: clamp(3.5rem, 3.9vw, 4.5rem);
  padding: 0 clamp(1.375rem, 1.8vw, 2.125rem); border-radius: 0.5rem; cursor: pointer;
  font: 600 clamp(1.0625rem, 1.15vw, 1.375rem) var(--f);
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), background-color .2s, color .2s, border-color .2s;
}
.wx-btn--red { background: var(--red); color: #fff; border: 0; }
.wx-btn--red:hover { background: #9a0626; transform: translateY(-2px); }
.wx-btn--line { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.wx-btn--line:hover { background: var(--navy); color: #fff; }
.wx-btn--line svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: currentColor; stroke-width: 1.5; }

.wx-film {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0.875rem; background: #0b1f3f;
  box-shadow: 0 2rem 4rem -2rem rgba(12, 28, 60, .45), 0 0 0 1px rgba(15, 43, 76, .06);
}
.wx-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Nothing written over the film (Naren, 15 October: "don't write anything over
   the video"): the two text blocks are gone, and with them the white fade that
   kept them legible. The cover is the poster and the play button. */
.wx-cover { position: absolute; inset: 0; display: none; }
.js-film .wx-cover { display: block; }
.wx-cover.is-gone { opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.wx-tl, .wx-tr { position: absolute; text-transform: uppercase; color: var(--navy); line-height: 1.9; }
.wx-tl { left: 6.5%; top: 11%; padding-bottom: 1rem; font-size: clamp(.75rem, .85vw, 1.0625rem); font-weight: 600; letter-spacing: .3em; }
.wx-tl::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3rem; height: 2px; background: var(--red); }
.wx-tr { right: 5%; top: 9%; padding-top: 1rem; font-size: clamp(.6875rem, .75vw, .9375rem); font-weight: 600; letter-spacing: .26em; }
.wx-tr::before { content: ""; position: absolute; left: 0; top: 0; width: 2.5rem; height: 1px; background: var(--navy); }
.wx-play {
  position: absolute; left: 50%; top: 50%; width: clamp(4.25rem, 5vw, 6.25rem); height: clamp(4.25rem, 5vw, 6.25rem);
  transform: translate(-50%, -50%); display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .96); color: var(--navy); cursor: pointer;
  box-shadow: 0 1rem 2.5rem -0.75rem rgba(6, 16, 40, .55); transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
/* centred (the client's list, 11 November, point 2: "The play button alignment
   inside the circle is not centre aligned"): the triangle's own drawing already
   sits its weight on the circle's centre, and a 9% nudge pushed it right */
.wx-play svg { width: 38%; height: 38%; fill: currentColor; }
.wx-play:hover { transform: translate(-50%, -50%) scale(1.07); }
.wx-play::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8);
  animation: wxPulse 2.4s cubic-bezier(.16, 1, .3, 1) infinite;
}
@keyframes wxPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wx-play::before { animation: none; opacity: 0; } }

.wx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(2.5rem, 3.6vw, 4.25rem) 0 0; padding: 0; list-style: none; }
.wx-stats li { display: flex; align-items: center; gap: clamp(0.75rem, 1vw, 1.25rem); padding-inline: clamp(1rem, 2vw, 2.5rem); }
.wx-stats li:first-child { padding-left: 0; }
.wx-stats li + li { border-left: 1px solid #dfe4ec; }
.wx-ico {
  flex: none; display: grid; place-items: center; width: clamp(3.25rem, 3.3vw, 4.25rem); height: clamp(3.25rem, 3.3vw, 4.25rem);
  border-radius: 50%; background: #fdeef1; color: var(--red); transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.wx-stats li:hover .wx-ico { transform: translateY(-3px); }
.wx-ico svg { width: 44%; height: 44%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wx-stats b { display: block; font-size: clamp(1.0625rem, 1.06vw, 1.3rem); font-weight: 500; line-height: 1.3; color: var(--navy); }
.wx-stats em { display: block; margin-top: 0.15rem; font-style: normal; font-size: clamp(0.9375rem, 0.9vw, 1.075rem); line-height: 1.4; color: var(--body); }
.wx-foot {
  margin-top: clamp(2rem, 3vw, 3.25rem); padding: 0.3rem 0 0.3rem 1.25rem; border-left: 2px solid var(--red);
  font-size: clamp(.8125rem, .85vw, 1rem); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #5f6779;
}

@media (max-width: 900px) {
  .wx-grid { grid-template-columns: minmax(0, 1fr); }
  .wx-h { font-size: clamp(2.4rem, 6vw, 3.4rem); }
  .wx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .wx-stats li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .wx-btn { flex: 1 1 100%; justify-content: center; }
  .wx-stats { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; }
  .wx-stats li { padding: 0; border: 0 !important; }
  .wx-tl, .wx-tr { display: none; }
  .wx-foot { letter-spacing: .18em; }
}

/* ── 08 · THE FOOTER, INVERTED ───────────────────────────────────
   *"Even the footer part — where the gradients are there, there you use white
   colour, and where white colour is there, there you use gradient."*
   13 October. The body takes the brand gradient, the plate on the right turns
   white; the diagonal cut and every word are unchanged. The same overrides
   close railway/src/components/site/site-footer.css, so the footer on every
   other page matches this one. */
.ft {
  /* the heroes' own ground (19 October; their V3 list, point 18) — the same
     rule as railway/src/components/site/site-footer.css: the app's
     --section-ground and, at 999px and under, --hero-ground-phone, copied
     (globals.css); the white plate is untouched */
  background: #7b0120 url("/images/products/v3/sentris/hero-plate-clear.webp") center / 100% 100% no-repeat;
  color: rgba(255, 255, 255, .76);
}
@media (max-width: 999px) {
  .ft { background: linear-gradient(168deg, #ab0019 0%, #7b0120 24%, #5b062f 44%, #45184e 62%, #2e3272 80%, #264a92 100%); }
}
.ft-cols, .ft-legal { text-shadow: 0 1px 2px rgba(6, 12, 32, .35), 0 0 18px rgba(6, 12, 32, .4); }
.ft-grad { background: #fff; }
.ft-cols h3, .ft-offices strong { color: #fff; }
.ft-cols a:hover, .ft-legal a:hover {
  color: #fff; text-decoration: underline; text-underline-offset: .25rem; text-decoration-color: rgba(255, 255, 255, .5);
}
.ft-plate { background: none; padding: 0; }
/* the header's own lockup, larger — the client's V2 list, 16 October, point 4:
   "Sensedge logo is not right, it should also be bigger" (it was an older cut,
   img/logo-lockup.webp, at 28.8px) */
.ft-plate img { height: 46px; }
.ft-addr { color: var(--ink); }
.ft-reach svg { stroke: var(--red); }
.ft-reach a { color: var(--ink); text-decoration-color: rgba(11, 31, 63, .3); }
.ft-reach a:hover { text-decoration-color: var(--ink); }
.ft-btn { background: var(--red); color: #fff; }
.ft-btn:hover { box-shadow: 0 .75rem 1.625rem rgba(183, 9, 47, .35); }
@media (max-width: 1180px) {
  .ft-panel-in { background: #fff; }
}

/* ── the hero on arrival, 13 October (2) ─────────────────────────
   *"The headline should show animation as soon as the page opens."*  So the
   hero plays from the stylesheet, not the scroll engine: CSS animations start
   with the first frame the page paints. Gated on `.js-rv`, set in the head
   before paint, so no-JS and reduced-motion readers get the finished hero. */
@keyframes hxUp    { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@keyframes hxLine  { from { opacity: 0; transform: translateY(108%); } to { opacity: 1; transform: none; } }
@keyframes hxTrack { from { opacity: 0; letter-spacing: .42em; } to { opacity: 1; letter-spacing: .24em; } }
@keyframes hxBtns  { from { opacity: 0; transform: translateY(1.25rem) scale(.97); } to { opacity: 1; transform: none; } }
.js-rv .hx-eyebrow { animation: hxTrack 1.1s .1s cubic-bezier(.16, 1, .3, 1) both; }
.js-rv .hx-copy h1 .ln > span { animation: hxLine 1s cubic-bezier(.16, 1, .3, 1) both; }
.js-rv .hx-copy h1 .ln:nth-child(1) > span { animation-delay: .22s; }
.js-rv .hx-copy h1 .ln:nth-child(2) > span { animation-delay: .36s; }
.js-rv .hx-copy h1 .ln:nth-child(3) > span { animation-delay: .5s; }
.js-rv .hx-lead { animation: hxUp .9s .7s cubic-bezier(.16, 1, .3, 1) both; }
.js-rv .hx-btns { animation: hxBtns .9s .84s cubic-bezier(.16, 1, .3, 1) both; }
.js-rv .hx-proof > li { animation: hxUp .8s cubic-bezier(.16, 1, .3, 1) both; }
.js-rv .hx-proof > li:nth-child(1) { animation-delay: .98s; }
.js-rv .hx-proof > li:nth-child(2) { animation-delay: 1.08s; }
.js-rv .hx-proof > li:nth-child(3) { animation-delay: 1.18s; }

/* THE PILLARS, ONE AT A TIME. *"It will open first, it will show. Then the
   line will go down. Then the second text will be visible, then the third."*
   The one rule is now three segments, each hung from its own ring, so each
   can draw down to the next stop on its own beat:
   ring 1 → label 1 → line → ring 2 → label 2 → line → ring 3 → label 3 → line → the red stop. */
.hx-pillars { --pg: clamp(1.6rem, 2.5vw, 2.75rem); gap: var(--pg); }
.hx-pillars::before { display: none; }
.hx-pillars li::before { z-index: 1; }
.hx-pillars li::after {
  content: ""; position: absolute; z-index: 0; left: calc(-2.1rem - 0.5px); top: 0.8rem;
  width: 1px; height: calc(100% + var(--pg)); background: rgba(255, 255, 255, .62); transform-origin: top;
}
.hx-pillars li:last-child::after { height: calc(100% + 1.45rem); }
.hx-pillars li > span { display: block; }
@keyframes hxRing { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.18); } 100% { opacity: 1; transform: none; } }
@keyframes hxSeg  { from { transform: scaleY(0); } to { transform: none; } }
@keyframes hxText { from { opacity: 0; transform: translateX(-0.75rem); } to { opacity: 1; transform: none; } }
.js-rv .hx-pillars li { animation: none; }
.js-rv .hx-pillars li::before { animation: hxRing .55s cubic-bezier(.34, 1.4, .64, 1) both; }
.js-rv .hx-pillars li > span { animation: hxText .6s cubic-bezier(.16, 1, .3, 1) both; }
.js-rv .hx-pillars li::after { animation: hxSeg .45s cubic-bezier(.65, 0, .35, 1) both; }
.js-rv .hx-pillars li:nth-child(1)::before { animation-delay: .6s; }
.js-rv .hx-pillars li:nth-child(1) > span  { animation-delay: .7s; }
.js-rv .hx-pillars li:nth-child(1)::after  { animation-delay: 1.05s; }
.js-rv .hx-pillars li:nth-child(2)::before { animation-delay: 1.45s; }
.js-rv .hx-pillars li:nth-child(2) > span  { animation-delay: 1.55s; }
.js-rv .hx-pillars li:nth-child(2)::after  { animation-delay: 1.9s; }
.js-rv .hx-pillars li:nth-child(3)::before { animation-delay: 2.3s; }
.js-rv .hx-pillars li:nth-child(3) > span  { animation-delay: 2.4s; }
.js-rv .hx-pillars li:nth-child(3)::after  { animation-delay: 2.75s; animation-duration: .3s; }
.js-rv .hx-pillars::after { animation: hxRun .55s 3s cubic-bezier(.16, 1, .3, 1) both; }

/* The two diagonal lines carry a light that runs down them now and then —
   *"a small animation in these lines too."*  Inside the skewed band, so a
   plain translateY travels along the slant. Paused with the rest of the hero
   once it is scrolled away. */
@keyframes hxGlint {
  0%       { transform: translateY(-110%); opacity: 0; }
  8%       { opacity: 1; }
  52%      { opacity: .9; }
  64%, 100% { transform: translateY(430%); opacity: 0; }
}
.hx-glass::before, .hx-glass > span::after {
  content: ""; position: absolute; top: 0; width: 2px; height: 24%; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 50%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 0.75rem rgba(255, 255, 255, .6);
}
.hx-glass::before { left: -1.5px; }
.hx-glass > span::after { left: -0.5px; height: 20%; }
.js-rv .hx-glass::before { animation: hxGlint 6.5s 2.2s ease-in-out infinite; }
.js-rv .hx-glass > span::after { animation: hxGlint 6.5s 4.3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .js-rv .hx-eyebrow, .js-rv .hx-copy h1 .ln > span, .js-rv .hx-lead, .js-rv .hx-btns, .js-rv .hx-proof > li,
  .js-rv .hx-pillars li::before, .js-rv .hx-pillars li > span, .js-rv .hx-pillars li::after,
  .js-rv .hx-glass::before, .js-rv .hx-glass > span::after { animation: none; }
}

/* ── richer entrances, 13 October (2) ────────────────────────────
   *"I need animation in each section as we have done it earlier."*  The old
   homepage's vocabulary, carried into the new sections: labels that settle
   out of wide tracking, headings that rise a word at a time, a photograph
   that slides in from the left, cards that arrive from the side they scroll
   from, and the small parts — dots, ties, icons — popping in after their
   card. Transform and opacity throughout, except the one-line tracking. */
.js-rv [data-rv="track"] {
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), letter-spacing 1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--rv-d, 0ms);
}
.js-rv [data-rv="track"].rv { opacity: 0; letter-spacing: .55em; transform: none; }

.wsplit .w {
  display: inline-block;
  transition: transform .85s cubic-bezier(.16, 1, .3, 1), opacity .6s ease-out;
  transition-delay: calc(var(--rv-d, 0ms) + var(--wi, 0) * 34ms);
}
.js-rv [data-rv="words"].rv { opacity: 1; transform: none; }
.js-rv [data-rv="words"].rv .w { opacity: 0; transform: translateY(0.62em); }

.js-rv [data-rv="right"].rv { transform: translateX(2.75rem); }
.js-rv [data-rv="card"].rv  { transform: translateY(2rem) scale(.97); }
.js-rv .wx-film[data-rv] { transition-duration: 1s, 1s; }
.js-rv .wx-film[data-rv].rv { transform: translateY(2.25rem) scale(.96); }
.js-rv .ms2-bg[data-rv], .js-rv .wx-track[data-rv] { transition-duration: 1.2s, 1.2s; }
.js-rv .ms2-bg[data-rv].rv, .js-rv .wx-track[data-rv].rv { transform: translateX(-2.5rem); }

/* After the card: its tie draws to the track, then the stop pops on it. */
@keyframes ms2Tie  { from { transform: scaleY(0); } to { transform: none; } }
@keyframes ms2Stop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: none; } }
.ms2-card--top::after { transform-origin: top; }
.ms2-card--bot::after { transform-origin: bottom; }
.js-rv .ms2-card.rv::before, .js-rv .ms2-card.rv::after { opacity: 0; }
.js-rv .ms2-card[data-rv]:not(.rv)::after  { animation: ms2Tie .4s calc(var(--rv-d, 0ms) + .2s) cubic-bezier(.65, 0, .35, 1) both; }
.js-rv .ms2-card[data-rv]:not(.rv)::before { animation: ms2Stop .45s calc(var(--rv-d, 0ms) + .45s) cubic-bezier(.34, 1.4, .64, 1) both; }

/* The icons in the two fact rows pop in after their fact. */
@keyframes icoPop { 0% { transform: scale(.4); opacity: 0; } 65% { transform: scale(1.12); opacity: 1; } 100% { transform: none; opacity: 1; } }
.js-rv .wx-stats li[data-rv]:not(.rv) .wx-ico,
.js-rv .pf-points li[data-rv]:not(.rv) svg { animation: icoPop .55s calc(var(--rv-d, 0ms) + .15s) cubic-bezier(.34, 1.4, .64, 1) both; }

@media (max-width: 1023px) {
  .ms2-card::after { transform-origin: right !important; }
  @keyframes ms2TieX { from { transform: scaleX(0); } to { transform: none; } }
  .js-rv .ms2-card[data-rv]:not(.rv)::after { animation-name: ms2TieX; }
}
@media (prefers-reduced-motion: reduce) {
  .wsplit .w { transition: none; }
}

/* ── the carousel drawings in motion, 13 October (2) ─────────────
   The old portfolio's vocabulary — flowing ties, pulsing nodes, rising bars,
   lines that draw and clear — so the second portfolio is as alive as the
   first. Drawn paths carry pathLength="100", so one keyframe fits them all.
   All of it pauses with the section off screen. */
@keyframes pfFlow { to { stroke-dashoffset: -11; } }
.pf-flow { animation: pfFlow 1.3s linear infinite; }
@keyframes pfDraw { 0% { stroke-dashoffset: 100; } 45%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
.pf-draw { stroke-dasharray: 100 100; animation: pfDraw 5s ease-in-out infinite; }
.pf-sig { stroke-dasharray: 100 100; animation: pfDraw 3.9s ease-in-out infinite; }
@keyframes pfTickLoop { 0%, 18% { stroke-dashoffset: 100; opacity: 1; } 40%, 84% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.pf-tick-loop { stroke-dasharray: 100 100; animation: pfTickLoop 4.4s ease-in-out infinite; }
.pf-tick-loop.pf-late { animation-delay: .45s; }
@keyframes pfFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.pf-float { transform-box: fill-box; animation: pfFloat 3.4s ease-in-out infinite; }
@keyframes pfTrain { 0% { transform: translate(0, 0) scale(1); opacity: 0; } 12% { opacity: 1; } 80% { opacity: .9; } 100% { transform: translate(160px, -53px) scale(.3); opacity: 0; } }
.pf-train { transform-box: fill-box; transform-origin: center; animation: pfTrain 4.2s cubic-bezier(.4, 0, .6, 1) infinite; }
@keyframes pfProg { 0% { transform: scaleX(0); } 70%, 86% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes pfKnob { 0% { transform: translateX(0); } 70%, 86% { transform: translateX(128px); } 100% { transform: translateX(0); } }
.pf-prog { transform-box: fill-box; transform-origin: left center; animation: pfProg 5.5s ease-in-out infinite; }
.pf-knob { animation: pfKnob 5.5s ease-in-out infinite; }
@keyframes pfArc { 0%, 100% { opacity: .25; } 40%, 60% { opacity: 1; } }
.pf-wave1 { animation: pfArc 2.2s ease-in-out infinite; }
.pf-wave2 { animation: pfArc 2.2s .35s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .pf-flow, .pf-draw, .pf-sig, .pf-tick-loop, .pf-float, .pf-train, .pf-prog, .pf-knob, .pf-wave1, .pf-wave2 { animation: none; }
  .pf-train { opacity: 0; }
}

/* ── PRODUCTS MENU, 14 OCTOBER (third pass) ─────────────────────────────
   *"That many images I don't want. I just want some single image … maybe
   in background … make it more professional."*  An index of the nine
   products, plain type with a quiet hover, and one picture — the SCUBE rack,
   a transparent PNG (railway/v3/menu_images.py) — in the background of the
   portfolio card, which sits on the /projects soft gradient. The same block
   is in railway/src/app/globals.css and the homepage's style.css — keep them
   identical; scripts/check-nav-parity.mjs checks the links and the picture. */
.hdr-panel__inner.hdr-m3 {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: clamp(28px, 3.4vw, 56px);
  padding: 26px clamp(19.2px, 4.5vw, 88px) 30px;
  max-width: 1600px;
  margin-inline: auto;
}
.site-header .hdr-m3__feature {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 300px; padding: 24px 24px 0;
  border-radius: 16px; border: 1px solid #e2e9f2; border-bottom: 1px solid #e2e9f2;
  background: var(--grad-soft, linear-gradient(142deg, rgba(200, 16, 46, 0.15) 0%, rgba(214, 228, 244, 0.72) 44%, rgba(0, 88, 168, 0.2) 100%)), #fff;
  color: #0f2b4c;
  transition: border-color 0.25s ease, box-shadow 0.3s ease;
}
.site-header .hdr-m3__feature:hover { color: #0f2b4c; border-color: #cbd8ea; box-shadow: 0 22px 44px -32px rgba(15, 43, 76, 0.55); }
.hdr-m3__eyebrow { position: relative; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #7d0620; }
.hdr-m3__lead { position: relative; z-index: 1; margin-top: 10px; max-width: 24ch; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: #0f2b4c; }
.hdr-m3__all { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: #0058a8; }
.hdr-m3__all span { transition: transform 0.25s ease; }
.site-header .hdr-m3__feature:hover .hdr-m3__all span { transform: translateX(4px); }
/* the one picture: the rack standing in the card's lower right, cropped by
   the card's edge, behind nothing */
.hdr-m3__img {
  position: absolute; z-index: 0; right: -22px; bottom: -24px; width: 212px; height: auto; max-width: none;
  filter: drop-shadow(0 22px 26px rgba(15, 43, 76, 0.28));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header .hdr-m3__feature:hover .hdr-m3__img { transform: translate(-6px, -4px); }

.hdr-m3__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hdr-m3__col { display: flex; flex-direction: column; min-width: 0; padding-inline: clamp(16px, 2vw, 32px); }
.hdr-m3__col:first-child { padding-left: 0; }
.hdr-m3__col + .hdr-m3__col { border-left: 1px solid #edf1f7; }
.hdr-m3__head { padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid #edf1f7; }
.hdr-m3__head span { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #7d0620; }
.hdr-m3__head em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: #6b7a90; }
.hdr-m3__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hdr-m3__col li { opacity: 0; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.hdr-panel.is-open .hdr-m3__col li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 40ms + 50ms); }
.site-header .hdr-m3__col li a {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px;
  padding: 11px 12px; margin-inline: -12px; border-radius: 10px; border-bottom: 0; color: #0f2b4c;
  transition: background-color 0.2s ease;
}
.site-header .hdr-m3__col li a:hover { background: #f4f7fb; color: #0f2b4c; border-bottom: 0; }
.hdr-m3__col li b { grid-column: 1; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: #0f2b4c; transition: color 0.2s ease; }
.hdr-m3__col li em { grid-column: 1; margin-top: 2px; font-style: normal; font-size: 12.5px; color: #6b7a90; }
.hdr-m3__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #b00830; font-size: 14px; opacity: 0; transform: translateX(-4px); transition: opacity 0.2s ease, transform 0.25s ease; }
.site-header .hdr-m3__col li a:hover b { color: #b00830; }
.site-header .hdr-m3__col li a:hover .hdr-m3__go { opacity: 1; transform: none; }
.site-header .hdr-m3__help {
  display: grid; gap: 3px; margin-top: auto; padding: 14px 16px; border-radius: 12px;
  border: 1px solid #e2e9f2; border-bottom: 1px solid #e2e9f2; background: #f7f9fc; color: #0f2b4c;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header .hdr-m3__help:hover { color: #0f2b4c; border-color: #c9d6e6; background: #fff; }
.hdr-m3__help span { font-size: 13px; color: #46618a; }
.hdr-m3__help b { font-size: 14px; font-weight: 700; color: #0058a8; }
@media (max-width: 1320px) {
  .hdr-panel__inner.hdr-m3 { grid-template-columns: minmax(0, 270px) minmax(0, 1fr); }
  .hdr-m3__lead { font-size: 16px; }
  .hdr-m3__img { width: 184px; }
}
@media (prefers-reduced-motion: reduce) {
  .hdr-m3__col li, .hdr-panel.is-open .hdr-m3__col li { opacity: 1; transform: none; transition: none; }
  .hdr-m3__img, .hdr-m3__go, .hdr-m3__all span { transition: none; }
}

/* ══ THE HEADER — OPTION B, CHOSEN 14 OCTOBER 2026 ═════════════════════
   *"Go with option B, apply it everywhere."*  The same bar as every other
   page — railway/src/app/globals.css, "THE SITE HEADER — OPTION B", where the
   reasons are written up — mapped onto this build's class names. In pixels,
   like the Next copy, so the two cannot drift: this root is 80%, and rem here
   would be a fifth smaller. It overrides the September header rules above
   rather than editing them, so the history stays readable; order and the
   `.site-header` prefix carry it.
     bar 84px + 1px · logo 206px · links 15px/500 #0f2b4c, crimson dot when
     hovered · gradient panel slanted 40px with the telephone and a white
     44px Contact pill · tablets get the menu button in the panel           */
.site-header { border-bottom: 1px solid #e3e9f2; }
.site-header .header-inner { height: 84px; gap: 32px; padding-right: 0; }
.site-header .logo img { width: 206px; }
.site-header .nav { gap: clamp(22px, 2.3vw, 34px); font-size: 15px; }
.site-header .nav a {
  position: relative; padding: 6px 0; border-bottom: 0;
  color: #0f2b4c; font-weight: 500; transition: color 0.2s ease;
}
.site-header .nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: #b00830; transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header .nav a:hover { color: #b00830; }
.site-header .nav a:hover::after { transform: scale(1); }
.site-header .header-end {
  position: relative; isolation: isolate; align-self: stretch;
  gap: 22px; padding: 0 clamp(19.2px, 4.5vw, 88px) 0 64px;
}
.site-header .header-end::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(176, 8, 48, 0.7), transparent 62%),
    linear-gradient(110deg, #5a0a24 0%, #14243c 46%, #0b3a66 76%, #0058a8 100%);
}
.site-header .hdr-phone { display: grid; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.site-header .hdr-phone:hover { color: #fff; }
.hdr-phone span { font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, 0.72); }
.site-header .header-cta {
  height: 44px; padding: 0 20px; gap: 11.2px; border-radius: 999px;
  background: #fff; color: #b00830; font-size: 14.5px; font-weight: 700; white-space: nowrap;
}
.site-header .header-cta:hover { background: #fbeff2; color: #8f0725; }

@media (max-width: 1180px) {
  .site-header .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; padding: 0 9px;
    background: none; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 9px; cursor: pointer; flex: none;
  }
  .site-header .menu-btn span {
    display: block; height: 2px; background: #fff; border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  }
  .site-header .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .site-header .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  /* one class deep, as before, so the Products disclosure's own link rules
     (`.site-header .hdr-m__list a`) still win inside it */
  .mobile-nav { display: grid; border-top: 1px solid #e6e9f0; background: #fff; padding: 6px clamp(19.2px, 4.5vw, 88px) 14px; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 12px 0; color: #0f2b4c; font-size: 15px; font-weight: 600; border-bottom: 1px solid #eef1f6; }
  .mobile-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .site-header .header-inner { height: 58px; gap: 10px; }
  .site-header .logo img { width: 134px; }
  .site-header .hdr-phone { display: none; }
  .site-header .header-end { gap: 10px; padding: 0 16px 0 40px; }
  .site-header .header-end::before { clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%); }
  .site-header .header-cta { height: 36px; padding: 0 14px; font-size: 12.5px; }
  .site-header .header-cta .arw { display: none; }
}
@media (max-width: 380px) {
  .site-header .logo img { width: 120px; }
  .site-header .header-end { gap: 8px; padding: 0 14px 0 36px; }
  .site-header .header-cta { padding: 0 12px; }
}
@media (max-width: 340px) {
  .site-header .logo img { width: 104px; }
  .site-header .header-end { padding: 0 12px 0 30px; }
  .site-header .header-cta { padding: 0 10px; font-size: 12px; }
}

/* ══ THE HERO IS FULL WIDTH ════════════════════════════════════════════════
   14 October it opened out: an inset, rounded card for 3.4s, then a clip
   grew it to the edges. 15 October, Naren: "As soon as we open it, it should
   be full width." So it is edge to edge from the first frame — no inset, no
   rounded corners, no clip. */
.hx { padding: 0; }
.hx-panel { border-radius: 0; clip-path: none; animation: none; }

/* THE HERO GROUND — SCUBE's, 17 October. Naren: "our ideal gradient
   background … is there in SCUBE page", and "even in home page hero section
   left side bg". So the panel's ground — what lies under the words on the
   left and shows through where the photograph fades in — is SCUBE's hero
   ground exactly: on a wide screen the SENTRIS backdrop SCUBE uses, pinned
   right and covering the band; where SCUBE stacks (999px and under) its phone
   gradient. A copy of --hero-ground and --hero-ground-phone in the app's
   globals.css: keep the two identical. The photograph, its treatment, the
   glass lines and the pillars are as they were. */
.hx-panel { background: #7b0120 url("/images/products/v3/sentris/hero-plate-clear.webp") right center / cover no-repeat; }
@media (max-width: 999px) {
  .hx-panel { background: linear-gradient(168deg, #ab0019 0%, #7b0120 24%, #5b062f 44%, #45184e 62%, #2e3272 80%, #264a92 100%); }
}

/* THE BAR ON SCROLL — client review, 15 October: "frost design for the header
   when scrolling down, and it should automatically disappear when scrolling
   down and appear when scrolling up." At the top of the page it is the white
   bar it always was. Once the page has moved it turns to frosted glass;
   reading down slides it away, and any scroll up brings it back. The script
   (SiteHeader.tsx in the app, app.js in the homepage build) only sets two
   classes. The glass is a pseudo-element, so the header itself never carries
   a backdrop-filter — that would make it the containing block of anything
   positioned inside it. The same block closes both builds' stylesheets. */
.site-header { transition: transform 0.38s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  opacity: 0; transition: opacity 0.3s ease;
}
.site-header.is-glass { background: transparent; border-bottom-color: rgba(15, 43, 76, 0.08); box-shadow: 0 12px 32px -22px rgba(11, 31, 63, 0.45); }
.site-header.is-glass::before { opacity: 1; }
.site-header.is-away { transform: translateY(-100%); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .site-header, .site-header::before { transition: none; } }

/* ── 04b · the SVDU and MSDAC cards (20 November) ─────────────────
   The client's "Product Cards" handoff: their drawings keep their own
   240 x 160 view and sit in the same box as the other cards' 280 x 150
   drawings, so every card in the row stays the same height. */
.pf-svgx { display: block; width: 100%; height: auto; aspect-ratio: 280 / 150; }
/* SVDU + MSDAC product cards — animation styles
   Fonts: Figtree only on this site
   All illustrations are inline SVG. Keyframe names are prefixed sv* (SVDU) and md* (MSDAC) to avoid clashes. */
@keyframes svRoute{0%,8%{stroke-dashoffset:100;opacity:1}38%{stroke-dashoffset:0;opacity:1}86%{stroke-dashoffset:0;opacity:1}94%{stroke-dashoffset:0;opacity:0}100%{stroke-dashoffset:100;opacity:0}}
@keyframes svSig{0%,40%{opacity:0}46%,86%{opacity:1}92%,100%{opacity:0}}
@keyframes svReq{0%,42%{opacity:1}45%,92%{opacity:0}96%,100%{opacity:1}}
@keyframes svSet{0%,44%{opacity:0}47%,88%{opacity:1}92%,100%{opacity:0}}
@keyframes svLed{0%,6%{opacity:1}9%{opacity:.25}12%,44%{opacity:1}47%{opacity:.25}50%,100%{opacity:1}}
@keyframes mdS0c0{0%{opacity:1}16.09%{opacity:1}16.14%{opacity:0}18.06%{opacity:0}18.11%{opacity:0}26.59%{opacity:0}26.64%{opacity:0}28.56%{opacity:0}28.61%{opacity:0}39.72%{opacity:0}39.77%{opacity:0}41.68%{opacity:0}41.73%{opacity:0}50.22%{opacity:0}50.27%{opacity:0}52.18%{opacity:0}52.23%{opacity:1}100%{opacity:1}}
@keyframes mdS0c1{0%{opacity:0}16.09%{opacity:0}16.14%{opacity:1}18.06%{opacity:1}18.11%{opacity:0}26.59%{opacity:0}26.64%{opacity:0}28.56%{opacity:0}28.61%{opacity:0}39.72%{opacity:0}39.77%{opacity:0}41.68%{opacity:0}41.73%{opacity:0}50.22%{opacity:0}50.27%{opacity:1}52.18%{opacity:1}52.23%{opacity:0}100%{opacity:0}}
@keyframes mdS0c2{0%{opacity:0}16.09%{opacity:0}16.14%{opacity:0}18.06%{opacity:0}18.11%{opacity:1}26.59%{opacity:1}26.64%{opacity:0}28.56%{opacity:0}28.61%{opacity:0}39.72%{opacity:0}39.77%{opacity:0}41.68%{opacity:0}41.73%{opacity:1}50.22%{opacity:1}50.27%{opacity:0}52.18%{opacity:0}52.23%{opacity:0}100%{opacity:0}}
@keyframes mdS0c3{0%{opacity:0}16.09%{opacity:0}16.14%{opacity:0}18.06%{opacity:0}18.11%{opacity:0}26.59%{opacity:0}26.64%{opacity:1}28.56%{opacity:1}28.61%{opacity:0}39.72%{opacity:0}39.77%{opacity:1}41.68%{opacity:1}41.73%{opacity:0}50.22%{opacity:0}50.27%{opacity:0}52.18%{opacity:0}52.23%{opacity:0}100%{opacity:0}}
@keyframes mdS0c4{0%{opacity:0}16.09%{opacity:0}16.14%{opacity:0}18.06%{opacity:0}18.11%{opacity:0}26.59%{opacity:0}26.64%{opacity:0}28.56%{opacity:0}28.61%{opacity:1}39.72%{opacity:1}39.77%{opacity:0}41.68%{opacity:0}41.73%{opacity:0}50.22%{opacity:0}50.27%{opacity:0}52.18%{opacity:0}52.23%{opacity:0}100%{opacity:0}}
@keyframes mdS0occ{0%{opacity:0}16.09%{opacity:0}16.14%{opacity:1}18.06%{opacity:1}18.11%{opacity:1}26.59%{opacity:1}26.64%{opacity:1}28.56%{opacity:1}28.61%{opacity:1}39.72%{opacity:1}39.77%{opacity:1}41.68%{opacity:1}41.73%{opacity:1}50.22%{opacity:1}50.27%{opacity:1}52.18%{opacity:1}52.23%{opacity:0}100%{opacity:0}}
@keyframes mdS1c0{0%{opacity:1}39.72%{opacity:1}39.77%{opacity:0}41.68%{opacity:0}41.73%{opacity:0}50.22%{opacity:0}50.27%{opacity:0}52.18%{opacity:0}52.23%{opacity:0}63.34%{opacity:0}63.39%{opacity:0}65.31%{opacity:0}65.36%{opacity:0}73.84%{opacity:0}73.89%{opacity:0}75.81%{opacity:0}75.86%{opacity:1}100%{opacity:1}}
@keyframes mdS1c1{0%{opacity:0}39.72%{opacity:0}39.77%{opacity:1}41.68%{opacity:1}41.73%{opacity:0}50.22%{opacity:0}50.27%{opacity:0}52.18%{opacity:0}52.23%{opacity:0}63.34%{opacity:0}63.39%{opacity:0}65.31%{opacity:0}65.36%{opacity:0}73.84%{opacity:0}73.89%{opacity:1}75.81%{opacity:1}75.86%{opacity:0}100%{opacity:0}}
@keyframes mdS1c2{0%{opacity:0}39.72%{opacity:0}39.77%{opacity:0}41.68%{opacity:0}41.73%{opacity:1}50.22%{opacity:1}50.27%{opacity:0}52.18%{opacity:0}52.23%{opacity:0}63.34%{opacity:0}63.39%{opacity:0}65.31%{opacity:0}65.36%{opacity:1}73.84%{opacity:1}73.89%{opacity:0}75.81%{opacity:0}75.86%{opacity:0}100%{opacity:0}}
@keyframes mdS1c3{0%{opacity:0}39.72%{opacity:0}39.77%{opacity:0}41.68%{opacity:0}41.73%{opacity:0}50.22%{opacity:0}50.27%{opacity:1}52.18%{opacity:1}52.23%{opacity:0}63.34%{opacity:0}63.39%{opacity:1}65.31%{opacity:1}65.36%{opacity:0}73.84%{opacity:0}73.89%{opacity:0}75.81%{opacity:0}75.86%{opacity:0}100%{opacity:0}}
@keyframes mdS1c4{0%{opacity:0}39.72%{opacity:0}39.77%{opacity:0}41.68%{opacity:0}41.73%{opacity:0}50.22%{opacity:0}50.27%{opacity:0}52.18%{opacity:0}52.23%{opacity:1}63.34%{opacity:1}63.39%{opacity:0}65.31%{opacity:0}65.36%{opacity:0}73.84%{opacity:0}73.89%{opacity:0}75.81%{opacity:0}75.86%{opacity:0}100%{opacity:0}}
@keyframes mdS1occ{0%{opacity:0}39.72%{opacity:0}39.77%{opacity:1}41.68%{opacity:1}41.73%{opacity:1}50.22%{opacity:1}50.27%{opacity:1}52.18%{opacity:1}52.23%{opacity:1}63.34%{opacity:1}63.39%{opacity:1}65.31%{opacity:1}65.36%{opacity:1}73.84%{opacity:1}73.89%{opacity:1}75.81%{opacity:1}75.86%{opacity:0}100%{opacity:0}}
@keyframes mdP00{0%{opacity:0}15.27%{opacity:0}15.32%{opacity:1}16.22%{opacity:0}17.24%{opacity:0}17.29%{opacity:1}18.19%{opacity:0}25.77%{opacity:0}25.82%{opacity:1}26.72%{opacity:0}27.74%{opacity:0}27.79%{opacity:1}28.69%{opacity:0}100%{opacity:0}}
@keyframes mdP01{0%{opacity:0}16.91%{opacity:0}16.96%{opacity:1}17.86%{opacity:0}18.88%{opacity:0}18.93%{opacity:1}19.83%{opacity:0}27.41%{opacity:0}27.46%{opacity:1}28.36%{opacity:0}29.38%{opacity:0}29.43%{opacity:1}30.33%{opacity:0}100%{opacity:0}}
@keyframes mdP10{0%{opacity:0}38.9%{opacity:0}38.95%{opacity:1}39.85%{opacity:0}40.86%{opacity:0}40.91%{opacity:1}41.81%{opacity:0}49.4%{opacity:0}49.45%{opacity:1}50.35%{opacity:0}51.36%{opacity:0}51.41%{opacity:1}52.31%{opacity:0}100%{opacity:0}}
@keyframes mdP11{0%{opacity:0}40.54%{opacity:0}40.59%{opacity:1}41.49%{opacity:0}42.5%{opacity:0}42.55%{opacity:1}43.45%{opacity:0}51.04%{opacity:0}51.09%{opacity:1}51.99%{opacity:0}53%{opacity:0}53.05%{opacity:1}53.95%{opacity:0}100%{opacity:0}}
@keyframes mdP20{0%{opacity:0}62.52%{opacity:0}62.57%{opacity:1}63.47%{opacity:0}64.49%{opacity:0}64.54%{opacity:1}65.44%{opacity:0}73.02%{opacity:0}73.07%{opacity:1}73.97%{opacity:0}74.99%{opacity:0}75.04%{opacity:1}75.94%{opacity:0}100%{opacity:0}}
@keyframes mdP21{0%{opacity:0}64.16%{opacity:0}64.21%{opacity:1}65.11%{opacity:0}66.13%{opacity:0}66.18%{opacity:1}67.08%{opacity:0}74.66%{opacity:0}74.71%{opacity:1}75.61%{opacity:0}76.63%{opacity:0}76.68%{opacity:1}77.58%{opacity:0}100%{opacity:0}}
@keyframes mdVeh{0%,4%{transform:translateX(-34px)}88%,100%{transform:translateX(222px)}}
@keyframes mdFlow{to{stroke-dashoffset:-8}}
@media (prefers-reduced-motion: reduce){svg[data-anim],svg[data-anim] *{animation:none !important}}


/* ── 07 · latest updates, the client's News Section (21 November) ── */
/* Sensedge — News section (Latest updates)
   Figtree only on this site, no mono face (client review, 15 October) */
.sn-news{--ink:#0f2b4c;--ink2:#46618a;--body:#25415f;--accent:#b00830;--tint:#fbeff2;--tint-bd:#edc3cd;--blue:#0058a8;--panel:#f4f7fb;--hair:#e2e9f2;--detail:#c9d6e5;
  --ease:cubic-bezier(.2,.7,.2,1);font-family:Figtree,system-ui,sans-serif;color:var(--ink);background:#fff;padding:clamp(64px,9vw,128px) clamp(20px,5vw,56px);-webkit-font-smoothing:antialiased}
.sn-news *{box-sizing:border-box}
.sn-news button{font:inherit;color:inherit}
.sn-news a:focus-visible,.sn-news button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.sn-wrap{max-width:1240px;margin:0 auto;display:flex;flex-direction:column;gap:clamp(28px,3.4vw,44px)}
.sn-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px 40px}
.sn-head__text{display:flex;flex-direction:column;gap:14px;max-width:62ch}
.sn-eyebrow,.sn-mono{font-family:Figtree,system-ui,sans-serif;text-transform:uppercase}
.sn-eyebrow{font-size:11px;font-weight:500;letter-spacing:.16em;color:var(--accent)}
.sn-h2{margin:0;font-size:clamp(32px,4.4vw,58px);font-weight:800;letter-spacing:-.03em;line-height:1.05;text-wrap:balance}
.sn-intro{margin:0;font-size:clamp(16px,1.25vw,19px);line-height:1.6;color:var(--ink2);max-width:58ch;text-wrap:pretty}
.sn-all{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:16px;font-weight:600;color:var(--accent);text-decoration:none;white-space:nowrap}
.sn-all:hover{color:var(--ink)}
.sn-body{display:flex;flex-wrap:wrap;gap:clamp(28px,3.4vw,48px);align-items:flex-start;border-top:1px solid var(--ink);padding-top:clamp(20px,2.4vw,28px)}

/* Featured */
.sn-feat{flex:1.75 1 520px;min-width:0;display:grid}
.sn-feat__item{grid-area:1/1;display:flex;flex-direction:column;gap:18px;min-width:0;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .45s ease,transform .6s var(--ease),visibility .45s}
.sn-feat__item.is-active{opacity:1;visibility:visible;transform:none}
.sn-media{position:relative;overflow:hidden;background:var(--panel);border:1px dashed var(--detail)}
.sn-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.sn-media img{opacity:0;transition:opacity .3s ease}
.sn-media.has-img img{opacity:1}
.sn-media.has-img{border:0}
.sn-media__label{position:absolute;inset:0;display:grid;place-items:center;padding:8px;text-align:center;font-family:Figtree,system-ui,sans-serif;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink2)}
.sn-feat .sn-media{aspect-ratio:16/10;border-radius:14px}
.sn-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-family:Figtree,system-ui,sans-serif;font-size:11px;letter-spacing:.14em;text-transform:uppercase}
.sn-meta__cat{font-weight:500;color:var(--accent)}
.sn-meta__rule{width:18px;height:1px;background:var(--detail)}
.sn-meta__date{color:var(--ink2)}
.sn-feat h3{margin:0;font-size:clamp(24px,2.4vw,34px);font-weight:700;letter-spacing:-.025em;line-height:1.15;text-wrap:balance}
.sn-feat p{margin:0;font-size:16px;line-height:1.6;color:var(--body);max-width:62ch;text-wrap:pretty}
.sn-read{align-self:flex-start;display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:16px;font-weight:600;color:var(--ink);text-decoration:none;white-space:nowrap}
.sn-read:hover{color:var(--accent)}
.sn-circle{width:34px;height:34px;border:1.5px solid var(--ink);border-radius:999px;display:grid;place-items:center}

/* Rail */
.sn-rail{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:18px}
.sn-rail__head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:Figtree,system-ui,sans-serif;font-size:11px;letter-spacing:.12em}
.sn-rail__title{font-weight:500;letter-spacing:.16em;text-transform:uppercase}
.sn-rail__count{color:var(--ink2);font-variant-numeric:tabular-nums}
.sn-rail__count b{color:var(--ink);font-weight:500}
.sn-viewport{overflow:hidden;margin:0 -10px;padding:0 10px}
.sn-strip{display:flex;transition:transform .65s var(--ease)}
.sn-page{flex:0 0 100%;min-width:0;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;opacity:0;transition:opacity .5s ease}
.sn-page.is-active{opacity:1}
.sn-card{width:100%;display:grid;grid-template-columns:104px minmax(0,1fr);gap:16px;align-items:start;padding:12px;margin:0;border-radius:14px;border:1px solid transparent;background:#fff;text-align:left;cursor:pointer;transition:background .3s ease,border-color .3s ease}
.sn-card:hover{border-color:var(--detail)}
.sn-card[aria-current="true"]{background:var(--tint);border-color:var(--tint-bd)}
.sn-card .sn-media{aspect-ratio:4/3;border-radius:8px}
.sn-card .sn-media__label{font-size:9px}
.sn-card__text{display:flex;flex-direction:column;gap:6px;min-width:0}
.sn-card .sn-meta{font-size:10px;gap:10px}
.sn-now{margin-left:auto;display:none;align-items:center;gap:6px;color:var(--accent);font-weight:500}
.sn-now::before{content:"";width:6px;height:6px;border-radius:999px;background:var(--accent)}
.sn-card[aria-current="true"] .sn-now{display:inline-flex}
.sn-card__title{font-size:15.5px;font-weight:700;letter-spacing:-.01em;line-height:1.3;text-wrap:pretty}
.sn-card__excerpt{font-size:13.5px;line-height:1.5;color:var(--ink2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Update reel */
.sn-reel{display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid var(--hair)}
.sn-reel__row{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:12px}
.sn-arrow{width:40px;height:40px;border-radius:999px;border:1.5px solid var(--ink);background:#fff;display:grid;place-items:center;cursor:pointer;transition:opacity .3s ease,background .3s ease}
.sn-arrow:hover:not(:disabled){background:var(--panel)}
.sn-arrow:disabled{opacity:.35;cursor:default}
.sn-track{position:relative;height:44px;touch-action:none;cursor:grab;user-select:none}
.sn-track.is-drag{cursor:grabbing}
.sn-track__line{position:absolute;left:0;right:0;top:21px;height:1px;background:var(--hair)}
.sn-window{position:absolute;top:6px;bottom:6px;border:1.5px solid var(--ink);border-radius:8px;background:var(--panel);transition:left .65s var(--ease),width .65s var(--ease)}
.sn-ticks,.sn-years{display:grid}
.sn-ticks{position:absolute;inset:0}
.sn-tick{position:relative;height:44px;padding:0;margin:0;border:0;background:transparent;cursor:pointer;display:grid;place-items:center}
.sn-tick span{width:7px;height:7px;border-radius:999px;background:#fff;border:1.5px solid var(--detail);transition:all .3s ease}
.sn-tick.in-window span{background:var(--ink);border-color:var(--ink)}
.sn-tick.is-active span{width:11px;height:11px;background:var(--accent);border-color:var(--accent)}
.sn-years{grid-column:2;font-family:Figtree,system-ui,sans-serif;font-size:10px;letter-spacing:.1em;color:var(--ink2);font-variant-numeric:tabular-nums}
.sn-years span{text-align:center;white-space:nowrap}

@media (prefers-reduced-motion:reduce){.sn-news *{transition:none !important}}

