@font-face { font-family: "Raleway"; src: url("shared/fonts/Raleway-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* client rule: text in Raleway, figures stay in Clash Grotesk (Raleway's numerals are old-style) */
@font-face { font-family: "Beyond figures"; src: url("shared/fonts/ClashGrotesk-Variable.woff2") format("woff2"); font-weight: 200 700; font-display: swap; unicode-range: U+0030-0039; }

:root {
  --font-text: "Beyond figures", "Raleway", system-ui, sans-serif;
  --font-head: "Clash Grotesk", system-ui, sans-serif;
  --kit-font: var(--font-text);
  --black: #050507;
  --white: #fff;
  --green: #20f272;
  --navy: #0a008e;
  --fg: var(--white);
  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-canvas: 0;
  --z-content: 1;
  --z-meter: 10;
  --z-veil: 15;
  --z-nav: 20;
  --z-skip: 30;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-text);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
/* client rule: page and divider headings in Clash Grotesk medium */
.hero-title, .kit-title, .kit-divider__title, .kit-divider .kit-divider__num { font-family: var(--font-head); font-weight: 500; }
/* lenis.css, inlined to save a render-blocking request */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
/* stacked layout: anchor jumps land below the fixed nav */
html:not(.is-film) { scroll-behavior: smooth; }
html:not(.is-film) .panel { scroll-margin-top: 4.5rem; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: var(--z-skip);
  padding: 0.75rem 1rem; background: var(--white); color: var(--black);
  border-radius: 8px; transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem var(--pad);
  padding-inline: max(var(--pad), env(safe-area-inset-left)) max(var(--pad), env(safe-area-inset-right));
  color: var(--fg);
  transition-property: background-color, box-shadow, color; transition-duration: 300ms;
}
.nav.is-solid { background: var(--black); box-shadow: 0 1px 0 rgb(255 255 255 / 0.12); }
.nav-logo { display: block; padding: 0.35rem 0; transition-property: opacity, visibility; transition-duration: 400ms; }
/* client rule: one logo on the landing page */
.at-cover .nav-logo { opacity: 0; visibility: hidden; }
.intro .hero-logo, .intro .hero-title, .is-film.intro .nav, .is-film.intro .meter { opacity: 0; }
.nav-here { display: none; }
.logo { display: block; width: 7.25rem; height: auto; }
/* the client's logo files: white wordmark on dark chapters, black on light ones */
.logo-on-light, .is-film.is-light .logo-on-dark { display: none; }
.is-film.is-light .logo-on-light { display: block; }
.nav nav { position: relative; margin-left: auto; }
.nav-links { position: relative; z-index: 1; display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
/* the link for the part of the site on screen: a pill slides under it */
.nav-ind {
  position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 999px;
  background: color-mix(in srgb, currentColor 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent);
  opacity: 0; pointer-events: none;
  transition-property: translate, width, opacity; transition-duration: 550ms; transition-timing-function: var(--ease);
}
.nav-ind.is-on { opacity: 1; }
.nav-links a {
  display: block; padding: 0.6rem 0.9rem; text-decoration: none;
  border-radius: 999px; font-weight: 500;
  transition-property: background-color, scale; transition-duration: 160ms; transition-timing-function: var(--ease);
}
.nav-links a:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.nav-links a:active { scale: 0.96; }
.nav-links li:last-child a { background: var(--fg); color: var(--bg-ink, var(--black)); }
.nav-links li:last-child a:hover, .nav-links li:last-child a[aria-current] { background: var(--green); color: var(--black); }

/* small screens: the nav links move into a popover */
.nav-menu { display: none; }
.menu {
  inset: 4.5rem var(--pad) auto auto; margin: 0; padding: 0.5rem; list-style: none;
  min-width: 13rem; border: 0; border-radius: 20px;
  background: var(--white); color: var(--black);
  box-shadow: 0 19px 45px -8px rgb(0 0 0 / 0.45);
  opacity: 0; translate: 0 -8px;
  transition-property: opacity, translate, overlay, display; transition-duration: 200ms; transition-timing-function: var(--ease);
  transition-behavior: allow-discrete;
}
.menu:popover-open { opacity: 1; translate: 0 0; }
@starting-style { .menu:popover-open { opacity: 0; translate: 0 -8px; } }
.menu a { display: block; padding: 0.8rem 1rem; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: 1.125rem; }
.menu a:hover { background: rgb(5 5 7 / 0.06); }
.menu a[aria-current] { display: flex; align-items: center; justify-content: space-between; background: rgb(5 5 7 / 0.06); }
.menu a[aria-current]::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--kit-green); }
.menu a:focus-visible { outline-color: var(--navy); }

.gl, .veil { display: none; }

/* static layout (small screens, reduced motion, no JS): stacked chapters */
/* entrances start off to the side: never let them widen the page on phones */
.panel { overflow-x: clip; }
.panel.kit-dark { background: linear-gradient(rgb(5 5 7 / 0.5), rgb(5 5 7 / 0.5)), var(--img) center / cover no-repeat; }
#what-we-do, #delivery { --img: url(shared/img/grain-waves-m.webp); }
@media (min-width: 1100px) { #what-we-do, #delivery { --img: url(shared/img/grain-waves.webp); } }
.panel-divider { padding-block: clamp(5rem, 10vw, 8rem); }
.panel-cover, .panel-intro {
  min-height: 100svh;
  display: grid; place-items: center;
  background: #000 var(--img) center / cover no-repeat;
}
#intro { --img: url(shared/deck/planet-m.webp); }
@media (min-width: 1100px) {
  #intro { --img: url(shared/deck/planet.webp); }
}
.panel-cover { position: relative; isolation: isolate; }
.cover-video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* film mode draws the loop through the stage; the element stays rendered so the browser keeps decoding it */
.is-film .cover-video { opacity: 0; }
.panel-cover .panel-inner, .panel-intro .panel-inner { display: grid; place-items: center; text-align: center; }
/* the cover: the client's logo over the aurora loop, the tagline under it with "partner." in green */
.hero { position: relative; display: grid; justify-items: center; gap: clamp(1.75rem, 5vh, 3.25rem); }
/* bright aurora frames dropped the 72% white tagline to 1.4:1: a soft shade keeps it above 3:1 */
.hero-title { position: relative; isolation: isolate; }
.hero-title::before { content: ""; position: absolute; inset: -30% -12%; z-index: -1; background: radial-gradient(closest-side, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.28) 60%, transparent); pointer-events: none; }
.hero-logo { display: block; width: min(62vw, 30rem); height: auto; }
.hero-title {
  margin: 0; max-width: 16ch;
  font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 500; line-height: 1; letter-spacing: -0.035em;
  text-wrap: balance; color: rgb(255 255 255 / 0.72);
}
.hero-accent { font-style: normal; color: var(--green); }
/* the lead on the deck's slide 2 background, above the planet's rim */
.panel-intro, .is-film .panel.panel-intro { align-content: start; }
.panel-intro .panel-inner { padding-top: clamp(3rem, 12vh, 8rem); }
.hero-lead { margin: 0; max-width: 34ch; font-size: clamp(1.35rem, 2.6vw, 2.4rem); font-weight: 400; line-height: 1.35; letter-spacing: -0.01em; color: rgb(255 255 255 / 0.8); text-wrap: balance; }
.hero-lead strong { font-weight: 600; color: var(--white); }
.hero-beyond { font-style: normal; font-weight: 600; color: var(--green); }

.foot {
  padding: 1.5rem var(--pad) max(1.5rem, env(safe-area-inset-bottom));
  color: rgb(255 255 255 / 0.78); font-size: 0.925rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14);
}
.foot p { margin: 0; }

.meter { display: none; }

/* what we do: the concept 04 blocks, smaller, black and white text only */
/* fixed slots: the open block takes the big one (f), the block it replaces takes its old slot, "and beyond" keeps z */
.blocks {
  --row: clamp(6rem, 10vw, 8rem);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(4, var(--row));
  grid-template-areas: "f f f f f f a a a b b b" "f f f f f f a a a b b b" "f f f f f f c c c c c c" "d d d e e e g g g z z z";
  gap: 12px; max-width: 1120px; margin-inline: auto;
}
.block {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  grid-area: var(--slot); padding: clamp(16px, 1.6vw, 22px); border: 0; border-radius: var(--kit-radius);
  font: inherit; text-align: left; overflow: hidden; color: var(--kit-ink);
  background: var(--bg); box-shadow: var(--kit-shadow);
}
button.block { cursor: pointer; }
button.block[aria-disabled="true"] { cursor: default; }
.block :where(h3, p) { margin: 0; }
.b-title, .b-beyond h3 { font-size: clamp(1.05rem, 1.3vw, 1.3rem); font-weight: 560; line-height: 1.15; letter-spacing: -0.01em; max-width: 16ch; }
.b-desc { display: none; margin-top: 10px; max-width: 36ch; font-size: 1rem; line-height: 1.45; }
.block.is-open .b-desc { display: block; }
.block.is-open .b-title { max-width: none; font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 580; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.block.is-open .b-desc { margin-top: 12px; max-width: 34ch; font-size: clamp(1rem, 1.1vw, 1.125rem); line-height: 1.5; }
.block.is-open .b-icon { display: none; }
.b-icon {
  position: absolute; top: clamp(12px, 1.4vw, 18px); right: clamp(12px, 1.4vw, 18px);
  width: 32px; height: 32px; border-radius: 9px; background: currentColor;
  transition-property: scale; transition-duration: 400ms; transition-timing-function: var(--ease);
}
.b-icon::before, .b-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px;
  border-radius: 1px; background: var(--bg);
  transition-property: rotate; transition-duration: 400ms; transition-timing-function: var(--ease);
}
.b-icon::after { rotate: 90deg; }
button.block:hover .b-icon { scale: 1.1; }
.b-annual { --bg: var(--white); --slot: f; }
.b-achievement { --bg: var(--kit-green); --slot: a; }
.b-integrated { --bg: var(--kit-blue); color: var(--white); --slot: b; }
.b-presentations { --bg: var(--kit-cyan); --slot: c; }
.b-digital { --bg: var(--white); --slot: d; }
.b-films { --bg: var(--kit-navy); color: var(--white); --slot: e; }
.b-photo { --bg: var(--kit-green); --slot: g; }
.b-beyond { background: linear-gradient(160deg, #1fea8c 0%, #2dcdeb 48%, var(--kit-blue) 100%); --slot: z; }
.kit-sub { text-wrap: balance; }

/* who we are: the MEIRA award across the top, four stats under it */
/* the heading is a full sentence (client, round 12), so it is set smaller than the other chapter titles */
#who-we-are .kit-title { font-size: clamp(1.75rem, 3.3vw, 2.9rem); line-height: 1.08; }
#who-we-are .kit-title span { white-space: nowrap; }
.kit-who__stats-title { margin-bottom: clamp(0.9rem, 2vh, 1.25rem); font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--kit-ink); }
.kit-stats { padding-top: 0; }
.kit-stats > :nth-child(even) { translate: none; }
/* two lines kept for every label, so the numbers in a row sit on one line (client, round 11) */
.kit-stat:not(.kit-stat--award) .kit-stat__label { min-height: 2.6em; }
@media (max-width: 899px) { .kit-stat:not(.kit-stat--award) .kit-stat__label { min-height: 3.9em; } }
.kit-stat--award {
  grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.25rem 1rem;
  /* the deck's stops, with blue held until the logo column: white text on the green end measured 1.7:1 */
  background: linear-gradient(100deg, #050507 0%, var(--kit-navy) 35%, var(--kit-blue) 72%, var(--kit-green) 100%); color: var(--white);
}
.kit-stat--award .kit-stat__num { margin: 0; font-size: clamp(2.6rem, 4.4vw, 3.6rem); color: var(--white); }
.kit-stat--award .kit-stat__label { grid-column: 1; margin: 0; font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--white); }
.kit-stat__meira { grid-row: 1 / span 2; grid-column: 2; width: clamp(96px, 9vw, 130px); height: auto; }

/* experience: the deck's 51 client logos, straight on the stage */
/* each logo sized to the same visual area (--w, precomputed), in five balanced rows */
.clients {
  container-type: inline-size;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(18px, 3.4vh, 34px) 2.7%;
  margin: clamp(1.5rem, 4vh, 3rem) 0 0; padding: 0; list-style: none;
}
.clients li { width: var(--w); }
.clients img { display: block; width: 100%; height: auto; }
.clients-br { flex-basis: 100%; width: auto; height: 0; }
/* 80% white drops under 4.5:1 on the brighter gradients */
.kit-dark { --kit-muted: var(--white); }
#what-we-do .kit-sub { margin-inline: auto; text-align: center; }
/* client request: the subtitle on one line where the screen allows it */
@media (min-width: 1150px) { #clients .kit-sub { max-width: none; white-space: nowrap; font-size: min(1.25rem, 1.45vw); } }

/* offerings beyond our core (round 13, the client's pick): the hub. 5 cards around the logo on a burst of lines.
   A card is coloured and shows its title only; hovered or tapped, it opens white with its offerings */
@property --ob-p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.offer {
  /* the brand ramp in 5 steps, navy to green: one step per card */
  --s1: linear-gradient(100deg, #0A008E, #1A2FD0); --s2: linear-gradient(100deg, #1430C4, #2357FF); --s3: linear-gradient(100deg, #2357FF, #2389F8);
  --s4: linear-gradient(100deg, #27B8EF, #2DEAF3); --s5: linear-gradient(100deg, #2DEAF3, #20F272);
  position: relative; isolation: isolate; margin-top: clamp(1.25rem, 4vh, 3rem);
}
/* soft brand light behind the cards. Kept inside .offer: anything that sticks out would grow the chapter and shrink it to fit (see fit() in main.js) */
.offer::before {
  content: ""; position: absolute; inset: 5%; z-index: -1; pointer-events: none; filter: blur(56px);
  background: radial-gradient(42% 60% at 22% 42%, rgb(32 242 114 / 0.6), transparent 72%), radial-gradient(46% 66% at 78% 60%, rgb(35 87 255 / 0.5), transparent 72%), radial-gradient(38% 54% at 54% 22%, rgb(45 234 243 / 0.52), transparent 72%);
  animation: ob-glow 14s ease-in-out infinite alternate;
}
@keyframes ob-glow { from { opacity: 0.8; } to { scale: 1.07; } }
.offer-burst, .offer-logo { display: none; height: auto; }
.offer-list, .ob-list { margin: 0; padding: 0; list-style: none; }
.ob {
  --pad: clamp(16px, 1.6vw, 24px); --dur: 0.75s; --rest: var(--s1); --bar: var(--kit-blue);
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--kit-radius); background: var(--rest); color: #fff; box-shadow: 0 18px 44px -12px rgb(10 0 142 / 0.5); overflow: hidden;
  transition: width var(--dur) var(--ease), rotate var(--dur) var(--ease), scale var(--dur) var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), z-index 0s var(--dur);
}
.ob::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: #fff; transition: opacity 0.5s var(--ease); }
.ob-head {
  position: static; display: block; width: 100%; padding: calc(var(--pad) + 2.25em) var(--pad) var(--pad); border: 0; background: none;
  color: inherit; font: inherit; font-weight: 700; font-size: clamp(1rem, 1.25vw, 1.25rem); line-height: 1.2; text-align: left; text-wrap: balance; cursor: pointer;
}
/* the dot: white on a coloured card, the brand gradient on an open one. An inset shadow covers it, because a gradient background cannot fade */
.ob-head::before {
  content: ""; position: absolute; left: var(--pad); top: var(--pad); width: 1.5em; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(45deg, var(--kit-green), var(--kit-blue) 91%); box-shadow: inset 0 0 0 1em currentColor; transition: box-shadow 0.5s var(--ease);
}
.ob-head::after { content: ""; position: absolute; inset: 0; }
/* the same plus as the "we make you look good" blocks; it turns into a cross when the card is open */
.ob-cue { position: absolute; top: var(--pad); right: var(--pad); width: 30px; height: 30px; border-radius: 9px; background: currentColor; pointer-events: none; }
.ob-cue::before, .ob-cue::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: var(--bar); transition: background 0.5s var(--ease), rotate var(--dur) var(--ease);
}
.ob-cue::after { rotate: 90deg; }
/* 0fr to 1fr animates the list's exact height, so the ease is the same for every card */
.ob-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease); }
.ob-list {
  min-height: 0; overflow: hidden; opacity: 0; translate: 0 10px; filter: blur(4px);
  transition: opacity 0.2s, translate 0.2s, filter 0.2s; font-size: clamp(0.9375rem, 1vw, 1.0625rem); line-height: 1.35;
}
.ob-list li { position: relative; padding: 0 var(--pad) 0.55em calc(var(--pad) + 0.95em); }
.ob-list li::before { content: ""; position: absolute; left: var(--pad); top: 0.5em; width: 0.34em; aspect-ratio: 1; border-radius: 50%; background: currentColor; }
.ob-list li:last-child { padding-bottom: var(--pad); }
.ob-head:focus-visible { outline: none; }
.ob:has(.ob-head:focus-visible) { outline: 2px solid var(--kit-blue); outline-offset: 3px; }
/* main.js sets is-open on hover (mouse), click or tap, one card at a time */
.ob.is-open { color: var(--kit-ink); transition-delay: 0s; }
.ob.is-open::after { opacity: 1; }
.ob.is-open .ob-head::before { box-shadow: inset 0 0 0 0 currentColor; }
.ob.is-open .ob-cue::before { rotate: 45deg; background: #fff; }
.ob.is-open .ob-cue::after { rotate: 135deg; background: #fff; }
.ob.is-open .ob-body { grid-template-rows: 1fr; }
/* the text comes in once the card has nearly settled, like the "we make you look good" blocks */
.ob.is-open .ob-list { opacity: 1; translate: 0 0; filter: blur(0); transition: opacity 0.6s var(--ease) 0.15s, translate 0.6s var(--ease) 0.15s, filter 0.6s var(--ease) 0.15s; }
@media (scripting: none) { .ob-body { grid-template-rows: 1fr; } .ob-list { opacity: 1; translate: none; filter: none; } }
/* phones stack the cards in page order, so the ramp runs top to bottom. --bar is the plus sign's colour on its white square */
.ob:nth-child(1) { --bar: #1A2FD0; }
.ob:nth-child(2) { --rest: var(--s2); }
.ob:nth-child(3) { --rest: var(--s3); }
.ob:nth-child(4) { --rest: var(--s4); --bar: #0E8FB0; }
.ob:nth-child(5) { --rest: var(--s5); --bar: var(--kit-green-ink); }

@media (min-width: 900px) {
  /* the round-8 slide's area (831 x 329 pt), never under 26rem; the top three cards open downwards, the bottom two upwards */
  #beyond-core .panel-inner > div { container-type: inline-size; }
  .offer { container-type: inline-size; height: max(26rem, 100cqw * 329 / 831); }
  .offer-burst, .offer-logo { display: block; position: absolute; }
  /* the lines carry the brand ramp from the logo outwards and fade out before they reach it (the slide's soft oval).
     The burst turns slowly, and every 4.2 s a band of light travels out along it */
  .offer-burst {
    left: 2.89%; top: 0; width: 90.73%; height: 100%; overflow: visible;
    mask: radial-gradient(19.7% 15% at 50% 50%, transparent 55%, #000 100%), radial-gradient(farthest-side, rgb(0 0 0 / 0.45) calc(var(--ob-p) - 26%), #000 var(--ob-p), rgb(0 0 0 / 0.45) calc(var(--ob-p) + 8%));
    -webkit-mask-composite: source-in; mask-composite: intersect; animation: ob-pulse 4.2s cubic-bezier(0.3, 0, 0.4, 1) infinite;
  }
  .offer-burst line { vector-effect: non-scaling-stroke; stroke: url(#ob-grad); stroke-width: 1.75px; }
  .offer-burst > g > g { transform-box: view-box; transform-origin: 400px 400px; animation: ob-turn 150s linear infinite; }
  @keyframes ob-pulse { from { --ob-p: 0%; } to { --ob-p: 135%; } }
  @keyframes ob-turn { to { rotate: 360deg; } }
  .offer-logo { left: 40.62%; top: 45.26%; width: 18.76%; }
  /* the cards rest at small mirrored angles. An open card squares up, lifts, and grows in width and height away from its anchor; it stays on top until it has closed */
  .ob { position: absolute; z-index: 1; width: 22%; min-height: 24%; translate: var(--tx, 0) 0; rotate: var(--tilt); }
  .ob.is-open { z-index: 3; width: 28%; rotate: 0deg; scale: 1.03; box-shadow: 0 30px 60px -14px rgb(5 5 7 / 0.45); }
  /* page order is sustainability, IR, governance, technology, branding; on the hub the ramp runs left to right */
  .ob:nth-child(1) { left: 50%; top: 0; --tx: -50%; --tilt: -1.5deg; --rest: var(--s3); --bar: var(--kit-blue); }
  .ob:nth-child(2) { left: 0; top: 27%; --tilt: 2.5deg; --rest: var(--s1); --bar: #1A2FD0; }
  .ob:nth-child(3) { right: 15.5%; bottom: 0; --tilt: 2deg; --rest: var(--s4); --bar: #0E8FB0; }
  .ob:nth-child(4) { left: 15.5%; bottom: 0; --tilt: -2deg; --rest: var(--s2); --bar: var(--kit-blue); }
  .ob:nth-child(5) { right: 0; top: 27%; --tilt: -2.5deg; }
}
/* phones: a stack that opens one card at a time */
@media (max-width: 899px) {
  .offer-list { display: grid; gap: 0.75rem; }
  .ob-head { position: relative; padding: var(--pad) calc(var(--pad) + 40px) var(--pad) calc(var(--pad) + 2.25em); }
  .ob-head::before { top: 50%; translate: 0 -50%; }
  .ob-cue { top: calc(var(--pad) - 4px); }
}
@media (prefers-reduced-motion: reduce) { .offer::before, .offer-burst, .offer-burst g { animation: none; } }

/* service arm: the multi-layered architecture as a stack of plates, one per layer, labelled at the side */
/* unitless so each plate and label resolves them in cqw of the figure, not of its parent */
@property --gap { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --breath { syntax: "<number>"; inherits: true; initial-value: 0; }
.arm { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.arm-lead { margin: clamp(1.25rem, 3vh, 2rem) 0 0; max-width: 28ch; font-size: clamp(1.2rem, 1.9vw, 1.7rem); font-weight: 500; line-height: 1.35; color: var(--kit-ink); text-wrap: pretty; }
.arm-wrap { margin: 0; }
.arm-cap { width: 72%; text-align: center; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--kit-ink); }
.arm-fig {
  --gap: 10; --y0: 36cqw;
  position: relative; margin: 0; aspect-ratio: 100 / 56; container-type: inline-size;
  transition-property: --gap; transition-duration: 700ms; transition-timing-function: var(--ease);
  animation: arm-breath 4.5s ease-in-out infinite alternate;
}
.arm-fig:hover { --gap: 12.5; }
@keyframes arm-breath { to { --breath: 1.2; } }
.arm-stack { position: absolute; inset: 0; }
.arm-layer {
  --z: calc(var(--i) * (var(--gap) + var(--breath)) * 1cqw + var(--lift, 0cqw));
  position: absolute; left: calc(36cqw - 17cqw); top: calc(var(--y0) - 17cqw); z-index: var(--i);
  width: 34cqw; height: 34cqw; border-radius: 6cqw;
  transform: rotateX(56deg) rotateZ(45deg) translateZ(var(--z));
  box-shadow: 0 0 0 0.25cqw rgb(255 255 255 / 0.35) inset, -1.2cqw 1.2cqw 3cqw rgb(5 5 7 / 0.28);
}
.arm-layer:nth-child(1) { background: linear-gradient(135deg, var(--kit-cyan), var(--kit-green)); }
.arm-layer:nth-child(2) { background: linear-gradient(135deg, var(--kit-blue), var(--kit-cyan)); }
.arm-layer:nth-child(3) { background: linear-gradient(135deg, var(--kit-navy), var(--kit-blue)); }
/* a label sits level with its plate: every plate rises by sin(56deg) of its height in the stack */
.arm-labels { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.arm-labels li {
  position: absolute; left: 61cqw; top: calc(var(--y0) - var(--i) * (var(--gap) + var(--breath)) * 0.829cqw);
  display: flex; align-items: center; gap: 1.2cqw; translate: 0 -50%;
  font-size: max(1rem, 3.1cqw); font-weight: 600; line-height: 1; color: var(--kit-ink); white-space: nowrap;
}
.arm-labels li::before { content: ""; width: 6cqw; height: 1px; background: currentColor; }

/* strategy: three cards, number first */
.kit-strat { gap: 0.2rem; }
.kit-strat__num { align-self: flex-end; font-size: clamp(2.25rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; }
.kit-strat h3 { margin-top: 1.4rem; font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
.kit-strat p { margin-top: 0.6rem; font-size: 0.98rem; line-height: 1.55; }

/* we make it look easy: the statement and three loose white cards, gradient dot in the corner */
.easy { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.easy .kit-sub { margin-top: 0.7em; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.25; max-width: 18ch; text-wrap: balance; }
.easy-cards { display: grid; margin: 0; padding: 0; list-style: none; }
.easy-card {
  position: relative; width: min(100%, 31rem); padding: clamp(22px, 2.2vw, 30px); padding-right: 64px;
  animation: easy-float 6s ease-in-out infinite alternate;
}
.easy-card + .easy-card { margin-top: clamp(-18px, -1.2vw, -8px); }
.easy-card:nth-child(1) { rotate: -1.2deg; z-index: 1; }
.easy-card:nth-child(2) { justify-self: end; rotate: 0.8deg; z-index: 2; animation-delay: -2s; }
.easy-card:nth-child(3) { margin-left: 9%; rotate: -0.6deg; z-index: 3; animation-delay: -4s; }
@keyframes easy-float { to { translate: 0 -8px; } }
.easy-card .kit-dot { position: absolute; top: clamp(18px, 1.8vw, 24px); right: clamp(18px, 1.8vw, 24px); }
.easy-card p { margin: 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; color: var(--kit-ink); }

/* game plan: a brighter line that reads on the dark chapter */
#game-plan .kit-plan__line path { stroke-width: 3; }
#game-plan .kit-plan__steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
/* the image's bright teal sits behind steps 4-6: a soft shade keeps their text above 4.5:1 */
.is-film #game-plan .kit-plan { isolation: isolate; }
.is-film #game-plan .kit-plan::after { content: ""; position: absolute; inset: 40% -6% -30%; z-index: -1; background: radial-gradient(closest-side, rgb(2 12 24 / 0.7), rgb(2 12 24 / 0.5) 65%, transparent); }
#game-plan .kit-plan__line { left: 8.33%; right: 8.33%; width: 83.33%; }

/* 01. research and strategy: three icon tiles joined by a line, a white card under each */
.think { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.think::before {
  content: ""; position: absolute; left: 16.67%; right: 16.67%; top: clamp(44px, 5.2vw, 70px); height: 2px;
  background: linear-gradient(90deg, var(--kit-navy), var(--kit-blue) 50%, var(--kit-green));
  transform: scaleX(var(--line, 1)); transform-origin: left;
}
.think-item { position: relative; display: grid; justify-items: center; gap: clamp(14px, 2vh, 22px); }
.think-tile {
  display: grid; place-items: center; width: clamp(88px, 10.4vw, 140px); aspect-ratio: 1; border-radius: var(--kit-radius);
  box-shadow: var(--kit-shadow-sm);
}
.think-tile img { width: 56%; height: auto; opacity: 0.75; }
.think-tile--insight { background: linear-gradient(145deg, #2DEAF3 0%, #0d3b3a 45%, #0a2a22 60%, var(--kit-green) 100%); }
.think-tile--strategy { background: linear-gradient(145deg, #0a2a22 0%, #103a5a 45%, var(--kit-blue) 70%, var(--kit-green) 100%); }
.think-tile--advisory { background: linear-gradient(145deg, #2DEAF3 0%, #0d3b3a 45%, #0a1a3a 60%, var(--kit-blue) 100%); }
.think-card { justify-self: stretch; padding: clamp(18px, 2.4vh, 26px) 1rem; text-align: center; }
.think-card h3 { margin: 0; font-size: clamp(1.3rem, 1.8vw, 1.7rem); font-weight: 600; color: var(--kit-blue); }

/* 02. content creation: the concept 04 brick chain, each phase header beside its number */
#bricks .kit-bricks { aspect-ratio: auto; max-width: 1180px; margin: clamp(0.5rem, 2vh, 1.5rem) auto 0; }
#bricks .bricks-svg { display: block; width: 100%; height: auto; overflow: visible; }
#bricks .bricks-v { display: none; }
#bricks .bricks-svg text { font-family: var(--kit-font); font-weight: 600; }
#bricks .b-lab { fill: var(--kit-blue); }

/* 05-06. delivery and post-production: the deck's option 1, three screens */
.deadline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin: clamp(1rem, 3vh, 2.5rem) 0 0; padding: 0; list-style: none; text-align: center; }
.deadline-art { max-width: 340px; margin: 0 auto clamp(1rem, 2.5vh, 1.75rem); filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.35)); }
.deadline-art svg { display: block; width: 100%; height: auto; }
.dv-frame { fill: #d6d7da; }
.dv-screen { fill: #f1f2f4; }
.dv-lines { fill: #c9cacf; }
.deadline h3 { margin: 0; font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 600; color: var(--white); }
.deadline p { margin: 0.5rem auto 0; max-width: 30ch; font-size: 1rem; line-height: 1.5; color: var(--white); text-wrap: balance; }

/* designs that feel in-house: the deck layout, four paragraphs around the slide 17 composition */
#in-house .kit-inhouse__text h3 { color: var(--white); }
#in-house .kit-inhouse__text p { color: var(--white); }

/* frequently asked questions: white boxes that open one at a time */
.faq { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { --bg: var(--white); position: relative; padding: 0; }
.faq-item summary {
  display: flex; align-items: center; min-height: 64px; padding: 18px 72px 18px clamp(20px, 2vw, 28px);
  list-style: none; cursor: pointer; border-radius: var(--kit-radius);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem); font-weight: 600; line-height: 1.3; color: var(--kit-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-color: var(--kit-blue); outline-offset: -3px; }
.faq-item .b-icon { top: 16px; right: 18px; color: var(--kit-ink); }
.faq-item summary:hover .b-icon { scale: 1.1; }
.faq-item[open] .b-icon::before { rotate: 45deg; }
.faq-item[open] .b-icon::after { rotate: 135deg; }
.faq-item p { margin: 0; padding: 0 clamp(20px, 2vw, 28px) 22px; max-width: 62ch; font-size: 1rem; line-height: 1.55; color: var(--kit-muted); }
.faq-item a { color: var(--kit-blue); text-underline-offset: 0.15em; }
.faq-item a:focus-visible { outline-color: var(--kit-blue); }
.faq-item::details-content {
  block-size: 0; overflow: clip;
  transition-property: block-size, content-visibility; transition-duration: 450ms; transition-timing-function: var(--ease); transition-behavior: allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.contact .kit-title { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.contact .kit-contact { margin-top: clamp(1.75rem, 4vh, 3rem); }
.contact .kit-contact dd { margin: 0; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem;
  padding: clamp(22px, 2.6vw, 36px); border-radius: var(--kit-radius-lg);
}
.field { display: grid; gap: 0.4rem; align-content: start; }
.field-wide, .form-check { grid-column: 1 / -1; }
.field label { font-size: 0.95rem; font-weight: 600; color: var(--kit-ink); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 1rem;
  border: 0; border-radius: 12px; background: #f1f2f4;
  box-shadow: inset 0 0 0 1px rgb(5 5 7 / 0.14);
  font: inherit; font-size: 1rem; color: var(--kit-ink);
  transition-property: box-shadow, background-color; transition-duration: 160ms;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px rgb(5 5 7 / 0.3); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--kit-blue); outline-offset: 2px; background: var(--white); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #c0132f; }
.contact-form .field-err { margin: 0; font-size: 0.9rem; font-weight: 500; color: #b00020; }
.field-err:empty, .form-status:empty, .form-check:empty { display: none; }
.btn {
  grid-column: 1 / -1; justify-self: start; min-height: 48px; padding: 0 1.6rem;
  border: 0; border-radius: 999px; background: var(--black); color: var(--white);
  font: inherit; font-weight: 600; cursor: pointer;
  transition-property: background-color, scale; transition-duration: 160ms; transition-timing-function: var(--ease);
}
@media (hover: hover) { .btn:hover { background: var(--navy); } }
.btn:active { scale: 0.96; }
.btn:focus-visible { outline-color: var(--kit-blue); }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.contact-form .form-status { grid-column: 1 / -1; margin: 0; font-weight: 600; color: var(--kit-ink); }

@media (max-width: 1000px) {
  .easy, .arm, .faq, .contact { grid-template-columns: minmax(0, 1fr); }

  .think, .deadline { grid-template-columns: minmax(0, 1fr); }
  .think::before { display: none; }
  .think-item { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: stretch; }
  .think-tile { width: 72px; }
  #game-plan .kit-plan__steps { grid-template-columns: minmax(0, 1fr); }
  .arm-fig { max-width: 640px; }
  .blocks { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(7, var(--row)); grid-template-areas: "f f f f f f" "f f f f f f" "a a a b b b" "a a a b b b" "c c c c c c" "d d d e e e" "g g g z z z"; }
  .kit-strategy { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .nav { padding-block: 0.85rem; gap: 1rem; }
  .nav nav { display: none; }
  .nav-menu {
    display: grid; place-items: center; margin-left: auto;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px;
    background: var(--white); color: var(--black); cursor: pointer;
    transition-property: scale; transition-duration: 160ms; transition-timing-function: var(--ease);
  }
  .nav-menu:active { scale: 0.96; }
  .nav-menu span, .nav-menu span::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
  .nav-menu span { position: relative; translate: 0 -3px; }
  .nav-menu span::after { content: ""; position: absolute; top: 6px; }
  .logo { width: 6rem; }
  /* the dividers are gone: the header names the section on screen */
  html:not(.is-film) .nav-here { display: block; margin: 0; font-weight: 600; font-size: 0.95rem; line-height: 1.2; }

  .kit-slide { padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
  .kit-sub { font-size: 1.0625rem; }
  .blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-template-areas: none; grid-auto-rows: minmax(7.5rem, auto); grid-auto-flow: dense; gap: 10px; }
  .block { grid-area: auto; grid-column: span 1; padding-top: 56px; }
  .block.is-open { grid-column: span 2; padding-top: 64px; }
  .b-beyond { grid-column: span 2; min-height: 0; padding-top: 20px; }
  .b-title, .b-beyond h3 { font-size: 1.1rem; }
  .block.is-open .b-title { font-size: 1.9rem; }
  .b-desc { font-size: 1rem; }

  .easy-card { width: 100%; }
  /* phones: three a row, each still sized by its area */
  .clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; justify-items: center; }
  .clients li { width: min(100%, calc(var(--w) * 3.1)); }
  .clients-br { display: none; }
  /* game plan: one segment per step, tile centre to the next tile's centre, so the line ends at the last box */
  #game-plan .kit-plan::before { display: none; }
  #game-plan .kit-step__tile { position: relative; z-index: 1; }
  #game-plan .kit-step:not(:last-child)::after {
    content: ""; position: absolute; left: 39px; top: 40px; width: 2.5px; height: calc(100% + 20px);
    background: linear-gradient(var(--from), var(--to));
  }
  #game-plan .kit-step:nth-child(1) { --from: #0A008E; --to: #1a3ad0; }
  #game-plan .kit-step:nth-child(2) { --from: #1a3ad0; --to: #2357FF; }
  #game-plan .kit-step:nth-child(3) { --from: #2357FF; --to: #2aa6f9; }
  #game-plan .kit-step:nth-child(4) { --from: #2aa6f9; --to: #2DEAF3; }
  #game-plan .kit-step:nth-child(5) { --from: #2DEAF3; --to: #20F272; }
  /* bricks: the chain, then the phases as a list */
  #bricks .kit-bricks { aspect-ratio: auto; }
  /* bricks: the chain turned vertical, start at the top and end at the bottom */
  #bricks .bricks-h { display: none; }
  #bricks .bricks-v { display: block; max-width: 420px; margin-inline: auto; }
  .easy-card:nth-child(3) { margin-left: 0; }

  .kit-stat .kit-stat__label, .kit-value p, .kit-strat p, .kit-ar p, .kit-vm p, .kit-step p { font-size: 1rem; }
  .kit-step__num { font-size: 0.875rem; }
  .kit-contact dt, .field label { font-size: 1rem; }
  .contact-form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .btn { justify-self: stretch; }
}

/* ---------- film mode (large screens with motion) ---------- */
.is-film.is-light { --fg: var(--black); --bg-ink: var(--white); }

.is-film .gl {
  display: block; position: fixed; inset: 0; z-index: var(--z-canvas);
  width: 100%; height: 100%;
}
.is-film .veil {
  display: block; position: fixed; inset: 0; z-index: var(--z-veil);
  background: var(--black); opacity: 0; pointer-events: none;
  transition-property: opacity; transition-duration: 350ms; transition-timing-function: ease-in-out;
}
.is-film .veil.is-on { opacity: 1; }
.is-film main, .is-film .foot { position: relative; z-index: var(--z-content); }
.is-film .foot { background: var(--black); }
.is-film .film { height: 100vh; overflow: hidden; position: relative; }
.is-film .track { display: flex; height: 100%; width: max-content; will-change: transform; }
.is-film .panel {
  flex: none; width: 100vw; height: 100vh; min-height: 0;
  padding: 5.75rem var(--pad) 5.25rem;
  display: grid; align-content: center;
  background: none;
  color: var(--kit-text);
}
.is-film .panel-inner { width: 100%; scale: var(--fit, 1); transform-origin: 50% 50%; }
/* large screens: chapters use more of the width; dividers size themselves */
.is-film .panel { --kit-max: clamp(1240px, 76vw, 1560px); }
.is-film .panel-divider .panel-inner { max-width: none; }

.is-film .panel-divider .kit-divider { width: min(86vw, calc((100vh - 12rem) * 2.2)); margin-inline: auto; }

/* film: blocks scale with the screen height so the chapter keeps its rhythm */
.is-film .blocks { --row: clamp(5.5rem, 11vh, 8rem); }

.is-film .kit-value { min-height: 0; }
.is-film #in-house .kit-shapes { left: 25%; top: 12%; width: 50%; }
/* a soft shade under each paragraph: the bright blue of the image drops white text to 4.2:1 */
.is-film #in-house .kit-inhouse__text::before { content: ""; position: absolute; inset: -2.5rem -3rem; z-index: -1; background: radial-gradient(closest-side, rgb(2 4 40 / 0.5), rgb(2 4 40 / 0.3) 55%, transparent); }
.is-film .kit-divider__panel { transform-origin: 50% 100%; }
.is-film .panel-divider { overflow: clip; }
.is-film .kit-shapes { overflow: visible; }

@media (max-height: 820px) {
  .is-film .nav { padding-block: 0.8rem; }
  .is-film .panel { padding-block: 4.75rem 4.25rem; }
  .is-film .kit-head { margin-bottom: clamp(1.25rem, 3.5vh, 2.5rem); }
  .is-film .kit-arabic__art { max-height: 52vh; width: auto; }
  .is-film .meter { bottom: 1.25rem; }
}

.is-film .meter {
  display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 1.75rem; z-index: var(--z-meter);
  color: var(--fg); transition-property: color; transition-duration: 300ms;
}
.meter-bar { height: 2px; background: color-mix(in srgb, currentColor 25%, transparent); border-radius: 2px; overflow: hidden; }
.meter-bar span { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }
.is-light .meter-bar span { background: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html:not(.is-film) { scroll-behavior: auto; }
}
