/* ============================================================================================
   VDG Ashvi B2B — industry gateway design layer
   Built to the approved landing-page and mega-menu reference (Reference image/, 2026-09-19).
   Composes the palette already established in public-experience.css: navy ink, magenta accent.
   ============================================================================================ */

.gw {
  --navy: #0b1734;
  --navy-2: #16255180;
  --pink: #d6006f;
  --pink-2: #a60064;
  --pink-soft: #fbe8f2;
  --paper: #ffffff;
  --cream: #f7f8fc;
  --tint: #fdf4f9;
  --muted: #536078;
  --faint: #8894ab;
  --line: #e2e6ef;
  --line-2: #cbd2e0;
  --ok: #0f7a52;

  --shadow-card: 0 2px 4px rgba(11, 23, 52, .04), 0 18px 44px -28px rgba(11, 23, 52, .28);
  --shadow-pop: 0 28px 80px -30px rgba(11, 23, 52, .42);
  --ease: cubic-bezier(.16, 1, .3, 1);

  font-family: var(--ds-font);
  color: var(--navy);
  background: var(--paper);
}

/* The mobile drawer is parked off-screen with a transform, which still extends the document's
   scrollable area — 176px of sideways scroll at 390px before this. `clip` rather than `hidden`
   because `hidden` on the root would break the sticky header. */
html:has(> body.gw), html { overflow-x: clip; }

.gw *, .gw *::before, .gw *::after { box-sizing: border-box; }
:where(.gw) :where(a) { color: inherit; text-decoration: none; }
.gw img { display: block; max-width: 100%; }
.gw p { margin: 0; }
.gw h1, .gw h2, .gw h3, .gw h4 { margin: 0; text-wrap: balance; letter-spacing: -.02em; }
.gw :focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 2px; }

.gw-wrap { max-width: 1320px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.gw-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gw-skip { position: absolute; left: -9999px; background: var(--navy); color: #fff; padding: 10px 18px; z-index: 200; }
.gw-skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- eyebrows, headings, buttons */
.gw-eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 14px;
}
.gw-h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 800; }
.gw-h2 em { font-style: normal; color: var(--pink); }
.gw-lede { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 62ch; }
.gw-center { text-align: center; }
.gw-center .gw-lede { margin-inline: auto; }

.gw-btn {
  display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 700;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  background: linear-gradient(100deg, var(--pink), #ef2b8d); color: #fff;
  box-shadow: 0 10px 28px -12px rgba(214, 0, 111, .65);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  font-family: inherit;
}
.gw-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(214, 0, 111, .7); }
.gw-btn svg { width: 15px; height: 15px; }
.gw-btn--ghost {
  background: transparent; color: var(--navy); border-color: var(--line-2); box-shadow: none;
}
.gw-btn--ghost:hover { border-color: var(--navy); background: rgba(11, 23, 52, .03); box-shadow: none; }
.gw-btn--onDark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34); box-shadow: none; }
.gw-btn--onDark:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.gw-link { display: inline-flex; align-items: center; gap: 7px; color: var(--pink); font-weight: 700; font-size: .84rem; min-height: 26px; }
.gw-link svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.gw-link:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- utility bar */
.gw-utility { background: var(--navy); color: rgba(247, 248, 252, .82); font-size: .78rem; }
.gw-utility .gw-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 6px; flex-wrap: wrap; }
/* Every utility link is a real target: 40px of height, not 15px of text. */
.gw-utility a { display: inline-flex; align-items: center; min-height: 34px; }
.gw-utility .gw-social a { width: 34px; height: 34px; justify-content: center; border-radius: 50%; }
.gw-utility .gw-social a:hover { background: rgba(255, 255, 255, .12); }
.gw-utility ul { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.gw-utility li + li { border-left: 1px solid rgba(255, 255, 255, .2); margin-left: 14px; padding-left: 14px; }
.gw-utility a:hover { color: #fff; }
.gw-utility .gw-social { display: flex; align-items: center; gap: 12px; }
.gw-utility .gw-social svg { width: 14px; height: 14px; fill: currentColor; opacity: .8; }
.gw-utility .gw-social a:hover svg { opacity: 1; }

/* At 390 the utility bar wrapped to four rows — 130px, and with the header below it 207px of
   chrome before a single word of content, a quarter of the viewport. The left list is a tagline
   ("Quality", "Scale", "Governed supply"): true, but not what someone on a phone needs above the
   fold. The right list is navigation — enquiry, partner login, the social accounts — so that is
   what survives, on one row. */
@media (max-width: 760px) {
  .gw-utility .gw-wrap { justify-content: center; gap: 0; }
  .gw-utility ul:first-child { display: none; }
  .gw-utility ul:last-child { justify-content: center; }
  /* "Follow us" labels three icons that are already recognisable, and it was the ~60px that made
     the row wrap. The links keep their aria-labels, so a screen reader loses nothing. */
  .gw-utility .gw-social > span { display: none; }
  .gw-utility .gw-social { gap: 4px; }
  .gw-utility li + li { margin-left: 8px; padding-left: 8px; }
}

/* ---------------------------------------------------------------- header + mega menu */
.gw-head { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 90; }
.gw-head .gw-wrap { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 26px); padding-block: 12px; position: relative; }
.gw-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.gw-brand img { width: 52px; height: 52px; object-fit: contain; }
/* The markup is <span><b>VDG ASHVI B2B</b><span>tagline</span></span>, so the faint colour meant
   for the tagline was set on the OUTER span and the brand name inherited it — the site's own name
   rendered at rgb(136,148,171) on white, about 2.8:1, failing contrast in the header of every
   page. The name states its own colour now; only the tagline is faint. */
.gw-brand b { display: block; font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--navy); }
.gw-brand span { display: block; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.gw-nav { display: flex; align-items: center; gap: clamp(9px, 1.35vw, 22px); margin-left: auto; }
.gw-nav > li { position: static; list-style: none; }
.gw-nav ul { margin: 0; padding: 0; list-style: none; }
.gw-nav > li > a, .gw-nav > li > button {
  display: inline-flex; align-items: center; gap: 5px; font-size: .86rem; font-weight: 600;
  color: var(--navy); padding: 10px 0; background: none; border: 0; cursor: pointer; font-family: inherit;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.gw-nav > li > a:hover, .gw-nav > li > button:hover,
.gw-nav > li > a.is-on, .gw-nav > li[data-open="true"] > button { color: var(--pink); border-bottom-color: var(--pink); }
.gw-nav .gw-caret { width: 9px; height: 9px; transition: transform .2s var(--ease); }
.gw-nav > li[data-open="true"] .gw-caret { transform: rotate(180deg); }

.gw-head-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.gw-nav-cta { display: none; }
/* The header search.
   Measured at 1440: brand 275 + nav 680 + a search FIELD pushed the row to ~1424px inside a
   1224px content box, and .gw-wrap is capped at 1320 — so the field never fits in the bar at any
   width, and every gateway page scrolled sideways by 92px because of it. The bar carries the icon;
   the real field lives in the drawer, where there is room for it. */
.gw-search {
  width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none;
  cursor: pointer; color: var(--navy); border-radius: 50%; flex-shrink: 0;
}
.gw-search:hover { background: var(--cream); }
.gw-search svg { width: 19px; height: 19px; }

/* The drawer's search field. Hidden on desktop, where the drawer is the horizontal nav. */
.gw-nav-search { display: none; }
.gw-nav-search form {
  display: flex; align-items: center; gap: 4px; border: 1px solid var(--line-2);
  border-radius: 999px; background: var(--paper); padding: 0 4px 0 14px; margin-bottom: 8px;
}
.gw-nav-search form:focus-within { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); }
.gw-nav-search input {
  border: 0; outline: 0; background: none; font: inherit; font-size: .88rem; color: var(--navy);
  padding: 12px 0; width: 100%; min-width: 0;
}
.gw-nav-search input::placeholder { color: var(--muted); }
.gw-nav-search button {
  width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none;
  cursor: pointer; color: var(--navy); border-radius: 50%; flex-shrink: 0;
}
.gw-nav-search svg { width: 18px; height: 18px; }

/* Visible to a screen reader, not to the eye -- the field has a placeholder, not a visible label. */
.gw-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* the mega panel */
.gw-mega {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(6px);
  top: calc(100% + 12px); width: min(1280px, calc(100vw - 32px));
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-pop); padding: 22px; z-index: 95;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.gw-nav > li[data-open="true"] .gw-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.gw-mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 1.25fr; gap: 0; }
.gw-mega-col { padding: 0 18px; border-right: 1px solid var(--line); }
.gw-mega-col:first-child { padding-left: 4px; }
.gw-mega-col:nth-child(5) { border-right: 0; }
.gw-mega-col .gw-thumb { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--cream); margin-bottom: 12px; }
.gw-mega-col .gw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gw-mega-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.gw-mega-head .gw-ico { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; color: var(--pink); }
.gw-mega-head .gw-ico svg { width: 26px; height: 26px; }
.gw-mega-head b { font-size: .95rem; font-weight: 700; display: block; }
.gw-mega-head span { font-size: .78rem; color: var(--faint); display: block; line-height: 1.4; margin-top: 2px; }
.gw-mega-col li { margin-bottom: 9px; }
.gw-mega-col li a { font-size: .82rem; color: var(--muted); }
.gw-mega-col li a:hover { color: var(--pink); }
.gw-mega-col .gw-link { margin-top: 12px; font-size: .8rem; }
.gw-soon {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #8a6d1f; background: #f7f0da; border: 1px solid #e8dcb4; padding: 2px 7px; border-radius: 999px;
}
.gw-live {
  display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ok); background: #e3f3ec; border: 1px solid #bfe2d3; padding: 2px 7px; border-radius: 999px;
}
.gw-mega-promo { background: var(--cream); border-radius: 12px; padding: 16px; margin-left: 18px; }
.gw-mega-promo .gw-thumb { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.gw-mega-promo .gw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gw-mega-promo h4 { font-size: 1.05rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.gw-mega-promo ul li { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--navy); margin-bottom: 9px; }
.gw-mega-promo ul svg { width: 15px; height: 15px; color: var(--pink); flex-shrink: 0; }
.gw-mega-promo .gw-btn { width: 100%; justify-content: center; margin-top: 6px; padding: 12px 14px; font-size: .82rem; text-align: center; }

.gw-mega-foot {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px;
}
.gw-mega-foot a { display: flex; align-items: center; gap: 11px; padding-inline: 16px; }
.gw-mega-foot a + a { border-left: 1px solid var(--line); }
.gw-mega-foot svg { width: 22px; height: 22px; color: var(--navy); flex-shrink: 0; }
.gw-mega-foot b { display: block; font-size: .8rem; font-weight: 700; }
.gw-mega-foot span { display: block; font-size: .7rem; color: var(--faint); margin-top: 1px; }
.gw-mega-foot a:hover b { color: var(--pink); }

.gw-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); background: none; border-radius: 8px; cursor: pointer; }
.gw-burger span { display: block; width: 18px; height: 1.5px; background: var(--navy); margin: 3.5px auto; }

/* ---------------------------------------------------------------- hero */
.gw-hero { position: relative; overflow: hidden; background: var(--cream); }
.gw-hero-img { position: absolute; inset: 0; }
.gw-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.gw-hero-img::after {
  content: ""; position: absolute; inset: 0;
  /* The photograph is half the message: hold the copy side opaque, then release quickly so the
     campus is genuinely visible rather than a pale wash. */
  background: linear-gradient(97deg,
    rgba(247, 248, 252, .985) 0%, rgba(247, 248, 252, .96) 30%,
    rgba(247, 248, 252, .62) 44%, rgba(247, 248, 252, .12) 56%, rgba(247, 248, 252, 0) 66%);
}
.gw-hero .gw-wrap { position: relative; padding-block: clamp(56px, 9vw, 128px); min-height: clamp(520px, 62vh, 680px); display: flex; align-items: center; }
.gw-hero-copy { max-width: 620px; }
.gw-hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.3rem); line-height: 1.02; font-weight: 800; margin-bottom: 18px; }
.gw-hero h1 em { font-style: normal; color: var(--pink); display: block; }
.gw-hero .gw-lede { font-size: 1.02rem; margin-bottom: 26px; }
.gw-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.gw-play { display: inline-flex; align-items: center; gap: 11px; font-size: .86rem; font-weight: 700; color: var(--navy); }
.gw-play i { width: 42px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; }
.gw-play i svg { width: 13px; height: 13px; }
.gw-play:hover i { border-color: var(--pink); color: var(--pink); }

.gw-stats { display: flex; flex-wrap: nowrap; gap: 0; margin-top: clamp(30px, 4vw, 52px); }
.gw-stats > div { padding-right: clamp(14px, 2.4vw, 30px); min-width: 0; }
.gw-stats > div + div { border-left: 1px solid var(--line-2); padding-left: clamp(18px, 3vw, 38px); }
.gw-stats b { display: block; font-size: clamp(1.15rem, 2.1vw, 1.7rem); font-weight: 800; line-height: 1.1; white-space: nowrap; }
.gw-stats span { display: block; font-size: .78rem; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.gw-script {
  position: absolute; top: 6%; right: 4%; font-family: Georgia, 'Times New Roman', serif; font-style: italic;
  font-size: clamp(1rem, 1.9vw, 1.6rem); color: var(--navy); text-align: right; line-height: 1.35; opacity: .92;
}
.gw-script::after { content: ""; display: block; width: 78px; height: 2px; background: var(--pink); margin-left: auto; margin-top: 8px; border-radius: 2px; }

/* ---------------------------------------------------------------- section rhythm */
.gw-sec { padding-block: clamp(48px, 7vw, 92px); }
.gw-sec--tint { background: var(--tint); }
.gw-sec--cream { background: var(--cream); }
.gw-sec-head { margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------------------------------------------------------------- industry cards */
.gw-inds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.gw-ind {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gw-ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.gw-ind-photo { position: relative; aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.gw-ind-photo img { width: 100%; height: 100%; object-fit: cover; }
.gw-ind-photo .gw-badge {
  position: absolute; left: 16px; bottom: -24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--pink);
  box-shadow: var(--shadow-card);
}
.gw-ind-photo .gw-badge svg { width: 24px; height: 24px; }
.gw-ind-body { padding: 34px 16px 18px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.gw-ind-body h3 { font-size: 1rem; font-weight: 700; }
.gw-ind-body p { font-size: .82rem; color: var(--muted); line-height: 1.55; flex: 1; }
.gw-ind-body .gw-link, .gw-ind-body .gw-soon { margin-top: 10px; align-self: flex-start; }

/* ---------------------------------------------------------------- about + collage */
.gw-about { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.gw-feats { list-style: none; margin: 26px 0; padding: 0; }
.gw-feats li { display: flex; align-items: center; gap: 13px; padding-block: 9px; font-size: .92rem; font-weight: 600; }
.gw-feats svg { width: 21px; height: 21px; color: var(--pink); flex-shrink: 0; }
.gw-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-height: 420px; }
.gw-collage figure { margin: 0; overflow: hidden; background: var(--cream); }
.gw-collage img { width: 100%; height: 100%; object-fit: cover; }
.gw-collage figure:nth-child(1) { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.gw-collage figure:nth-child(2) { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.gw-collage figure:nth-child(3) { clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%); }
.gw-collage figure:nth-child(4) { clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%); }
.gw-collage-tag {
  position: absolute; z-index: 2; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; line-height: 1.6; text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
}
.gw-collage-tag--tl { top: 18px; left: 18px; }
.gw-collage-tag--br { right: 18px; bottom: 18px; text-align: right; }
.gw-collage-tag::after { content: ""; display: block; width: 44px; height: 2px; background: var(--pink); margin-top: 7px; }
.gw-collage-tag--br::after { margin-left: auto; }

/* ---------------------------------------------------------------- what you can do (feature flows) */
.gw-flows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gw-flow {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 24px;
  display: flex; flex-direction: column; gap: 9px; transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.gw-flow:hover { border-color: var(--pink); transform: translateY(-3px); }
.gw-flow .gw-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--pink-soft); color: var(--pink); display: grid; place-items: center; margin-bottom: 4px; }
.gw-flow .gw-ico svg { width: 22px; height: 22px; }
.gw-flow h3 { font-size: 1rem; font-weight: 700; }
.gw-flow p { font-size: .85rem; color: var(--muted); line-height: 1.6; flex: 1; }
.gw-flow .gw-link { margin-top: 6px; align-self: flex-start; }

/* ---------------------------------------------------------------- dark assurance band */
.gw-dark { position: relative; background: #0a1329; color: #fff; overflow: hidden; }
.gw-dark-img { position: absolute; inset: 0; opacity: .3; }
.gw-dark-img img { width: 100%; height: 100%; object-fit: cover; }
.gw-dark-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0a1329 0%, rgba(10, 19, 41, .88) 46%, rgba(10, 19, 41, .68) 100%); }
.gw-dark .gw-wrap { position: relative; padding-block: clamp(42px, 6vw, 74px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.gw-dark h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.16; margin-bottom: 14px; }
.gw-dark p { color: rgba(255, 255, 255, .82); font-size: .95rem; line-height: 1.75; max-width: 54ch; }
.gw-dark .gw-eyebrow { color: #ff69b4; }
.gw-assure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; text-align: center; }
.gw-assure i { width: 62px; height: 62px; border: 1.5px solid rgba(255, 255, 255, .34); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 11px; }
.gw-assure i svg { width: 26px; height: 26px; }
.gw-assure b { display: block; font-size: .78rem; font-weight: 600; line-height: 1.45; }

/* ---------------------------------------------------------------- process */
.gw-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.gw-step { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 34px 16px 20px; text-align: center; position: relative; }
.gw-step-n {
  position: absolute; top: -19px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-size: .82rem; font-weight: 800; color: #fff; background: var(--navy); border: 3px solid var(--paper);
}
.gw-step:first-child .gw-step-n, .gw-step:last-child .gw-step-n { background: var(--pink); }
.gw-step svg { width: 30px; height: 30px; color: var(--pink); margin: 0 auto 11px; }
.gw-step b { display: block; font-size: .84rem; font-weight: 700; line-height: 1.45; }
.gw-step span { display: block; font-size: .78rem; color: var(--faint); margin-top: 5px; line-height: 1.5; }

/* ---------------------------------------------------------------- programmes */
.gw-progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gw-prog { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; }
.gw-prog h3 { font-size: .98rem; font-weight: 700; }
.gw-prog p { font-size: .84rem; color: var(--muted); line-height: 1.6; flex: 1; }
.gw-prog .gw-meta { font-size: .78rem; color: var(--faint); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ---------------------------------------------------------------- CTA band */
.gw-cta { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.gw-cta-img { position: absolute; inset: 0; opacity: .5; }
.gw-cta-img img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.gw-cta-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 22%, rgba(11, 23, 52, .72) 52%, rgba(11, 23, 52, .3) 100%); }
.gw-cta .gw-wrap { position: relative; padding-block: clamp(40px, 6vw, 66px); display: flex; justify-content: space-between; gap: 30px; align-items: center; flex-wrap: wrap; }
.gw-cta h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.gw-cta p { color: rgba(255, 255, 255, .78); max-width: 52ch; margin-bottom: 22px; font-size: .94rem; }
.gw-cta-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.gw-cta-aside { text-align: right; font-size: 1.05rem; font-weight: 700; line-height: 1.45; }
.gw-cta-aside::after { content: ""; display: block; width: 80px; height: 3px; background: var(--pink); margin-left: auto; margin-top: 12px; border-radius: 2px; }

/* ---------------------------------------------------------------- brand wall */
.gw-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.gw-brand-tile {
  width: 158px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper);
}
.gw-brand-tile .gw-thumb { aspect-ratio: 3 / 2; background: var(--cream); }
.gw-brand-tile .gw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gw-brand-tile b { display: block; font-size: .82rem; font-weight: 700; padding: 11px 12px 3px; }
.gw-brand-tile span { display: block; font-size: .7rem; color: var(--faint); padding: 0 12px 12px; }
.gw-empty {
  border: 1px dashed var(--line-2); border-radius: 10px; padding: 26px; text-align: center;
  color: var(--muted); font-size: .88rem; max-width: 62ch; margin-inline: auto;
}

/* ---------------------------------------------------------------- footer */
.gw-foot { position: relative; background: var(--cream); border-top: 1px solid var(--line); overflow: hidden; }
.gw-foot-map { position: absolute; right: 2%; bottom: 14%; width: min(330px, 34%); opacity: .13; pointer-events: none; }
.gw-foot .gw-wrap { position: relative; }
.gw-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; gap: clamp(20px, 3vw, 44px); padding-block: clamp(36px, 5vw, 58px) 28px; }
.gw-foot h4 { font-size: .86rem; font-weight: 700; margin-bottom: 14px; }
.gw-foot ul { list-style: none; margin: 0; padding: 0; }
.gw-foot li { margin-bottom: 8px; }
.gw-foot li a, .gw-foot-about p { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.gw-foot li a:hover { color: var(--pink); }
.gw-foot-about .gw-brand { margin-bottom: 14px; }
.gw-foot-social { display: flex; gap: 6px; margin-top: 12px; }
.gw-foot-social a {
  /* 16x21 before this — the glyph's own box. A target has to be bigger than its icon. */
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
}
.gw-foot-social a:hover { background: rgba(255, 255, 255, .1); }
.gw-foot-social svg { width: 16px; height: 16px; fill: var(--muted); }
.gw-foot-social a:hover svg { fill: var(--pink); }
.gw-news { display: flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--paper); margin-top: 6px; }
.gw-news input { flex: 1; min-width: 0; border: 0; padding: 11px 13px; font: inherit; font-size: .82rem; background: none; color: var(--navy); }
.gw-news input:focus { outline: none; }
.gw-news button { border: 0; background: linear-gradient(100deg, var(--pink), #ef2b8d); color: #fff; padding: 0 16px; cursor: pointer; display: grid; place-items: center; }
.gw-news button svg { width: 15px; height: 15px; }
.gw-foot-note { font-size: .78rem; color: var(--faint); text-align: right; padding-bottom: 20px; }
.gw-foot-bar { border-top: 1px solid var(--line); }
.gw-foot-bar .gw-wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; font-size: .78rem; color: var(--faint); flex-wrap: wrap; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .gw-inds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gw-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .gw-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .gw-mega-col { border-right: 0; }
  .gw-mega-promo { grid-column: 1 / -1; margin-left: 0; }
  .gw-mega-foot { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .gw-mega-foot a + a { border-left: 0; }
  .gw-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .gw-burger { display: block; margin-left: auto; }
  .gw-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 78px 22px 28px; overflow-y: auto;
    box-shadow: var(--shadow-pop); transform: translateX(100%); transition: transform .3s var(--ease), visibility .3s; z-index: 120;
    visibility: hidden;
  }
  .gw-nav[data-mobile="open"] { transform: translateX(0); visibility: visible; }
  .gw-nav > li > a, .gw-nav > li > button { width: 100%; justify-content: space-between; padding-block: 13px; border-bottom: 1px solid var(--line); white-space: normal; }
  .gw-nav-cta { display: block; margin-top: 18px; }
  .gw-nav-cta .gw-btn { width: 100%; justify-content: center; border-bottom: 0; }
  .gw-head-actions .gw-btn { display: none; }
  /* The burger belongs at the end of the bar, and the search box must not push past the gutter. */
  .gw-head .gw-wrap { gap: 8px; }
  .gw-head-actions { order: 2; margin-left: auto; }
  .gw-burger { order: 3; margin-left: 0; }
  /* The drawer is the only place with room for a real field, so it appears there. */
  .gw-nav-search { display: block; }
  .gw-nav-search form { margin-bottom: 14px; }
  .gw-brand span span { display: none; }
  .gw-mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 14px; border-radius: 0; display: none; }
  .gw-nav > li[data-open="true"] .gw-mega { display: block; opacity: 1; visibility: visible; transform: none; }
  .gw-mega-grid { grid-template-columns: 1fr; }
  .gw-mega-col { padding: 0; }
  .gw-mega-col .gw-thumb { display: none; }
  .gw-mega-foot { grid-template-columns: 1fr; }
  .gw-mega-foot a { padding-inline: 0; }
  .gw-about { grid-template-columns: 1fr; }
  .gw-collage { min-height: 300px; }
  .gw-dark .gw-wrap { grid-template-columns: 1fr; }
  .gw-flows, .gw-progs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-cta-aside { text-align: left; }
  .gw-cta-aside::after { margin-left: 0; }
}
@media (max-width: 640px) {
  .gw-inds, .gw-flows, .gw-progs, .gw-steps { grid-template-columns: 1fr; }
  .gw-steps { row-gap: 34px; }
  .gw-assure { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .gw-foot-grid { grid-template-columns: 1fr; }
  .gw-script { display: none; }
  .gw-hero-img::after { background: linear-gradient(180deg, rgba(247,248,252,.97) 42%, rgba(247,248,252,.8) 100%); }
  .gw-stats > div { padding-block: 8px; }
  .gw-stats > div + div { border-left: 0; padding-left: 0; }
  .gw-stats { flex-direction: column; }
  .gw-foot-note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .gw *, .gw *::before, .gw *::after { transition: none !important; animation: none !important; }
  .gw-ind:hover, .gw-flow:hover, .gw-btn:hover { transform: none; }
}

/* ─── Document pages ──────────────────────────────────────────────────────────
   V4-4d, 2026-09-19. The legal, policy and enquiry pages moved off the legacy
   host onto the gateway, so the gateway now has to render long-form prose as
   well as the landing page's bands.

   Their markup arrives from packages/site-content/bodies/, written against the
   legacy storefront's class names (.section / .wrap / .section-head / .eyebrow)
   and carrying inline styles that reference --ink-muted and --line. Rather than
   retype every policy — which risks changing a legal sentence by accident — the
   markup is kept verbatim and styled here, with the two variables aliased onto
   the gateway palette so those inline styles resolve instead of inheriting.

   Everything is scoped under .gw-doc so none of these generic names can reach
   the landing page, where .section and .wrap would otherwise match nothing today
   and something unintended tomorrow. */
.gw-doc {
  --ink: var(--navy);
  --ink-muted: var(--muted);
  background: var(--paper);
}
.gw-doc .section { padding: clamp(40px, 7vw, 84px) 0; }
.gw-doc .wrap {
  /* The bodies set an inline max-width of 720px; this keeps the side gutter at
     every width so the text never touches a phone's edge. */
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 32px);
  width: 100%;
}
.gw-doc .section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.gw-doc .eyebrow {
  color: var(--pink); display: block; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; margin-bottom: 10px; text-transform: uppercase;
}
.gw-doc h1, .gw-doc h2 {
  color: var(--navy); font-size: clamp(30px, 5vw, 44px); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.08; margin: 0 0 10px;
}
.gw-doc .section-head p { color: var(--muted); font-size: 14px; margin: 0; }
.gw-doc h4 {
  color: var(--navy); font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  margin: 0 0 6px;
}
.gw-doc p { color: #33405c; margin: 0; }
.gw-doc a { color: var(--pink); text-underline-offset: 3px; }
.gw-doc a:hover { text-decoration-thickness: 2px; }
.gw-doc strong { color: var(--navy); }

/* Long policies run to dozens of clauses; a hairline per clause turns a wall of
   text into something a reader can scan and a lawyer can cite. */
.gw-doc .section-head + div > div { border-top: 1px solid var(--line); padding-top: 18px; }
.gw-doc .section-head + div > div:first-child { border-top: 0; padding-top: 0; }

/* ─── Programme routes (V4-4f) ────────────────────────────────────────────────
   The programmes page used to carry its own header, footer and stylesheet — the
   one page whose whole job is to send someone into the right portal was also the
   one that looked like a different site. It renders through the shared chrome
   now; these are the only classes it needs of its own.

   Deliberately NOT .gw-prog: that is the home page's small three-up card, and a
   container sharing the name would inherit its border, padding and background. */
.gw-routes { display: grid; gap: 16px; }
.gw-route {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(18px, 3vw, 34px); background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: clamp(20px, 3vw, 32px);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.gw-route:hover { border-color: var(--pink); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.gw-route > i {
  width: 46px; height: 46px; border-radius: 12px; background: var(--pink-soft); color: var(--pink);
  display: grid; place-items: center; flex-shrink: 0;
}
.gw-route > i svg { width: 22px; height: 22px; }
.gw-route-h { font-size: 1.06rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.gw-route p { font-size: .88rem; color: var(--muted); line-height: 1.65; }
.gw-route small { display: block; margin-top: 8px; font-size: .78rem; color: var(--faint); line-height: 1.6; }
.gw-route .gw-btn { white-space: nowrap; }

.gw-route-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.gw-route-cta > div { max-width: 62ch; }

@media (max-width: 860px) {
  /* Stack rather than shrink: three columns at phone width left the button a sliver wide and the
     description two words per line. */
  .gw-route { grid-template-columns: auto 1fr; row-gap: 16px; }
  .gw-route .gw-btn { grid-column: 1 / -1; justify-content: center; }
  .gw-route-cta { flex-direction: column; align-items: flex-start; }
}
