/* DAVZON – design system (Option D foundations)
   Plus Jakarta Sans only. Saffron text is used only on Ink;
   on light surfaces Saffron is a fill behind Ink text. */

:root {
  /* Colour */
  --sand: #ECE7DC;    /* page */
  --white: #FFFFFF;   /* cards */
  --paper: #F5F3EE;   /* inputs, soft fills */
  --saffron: #F2A93B; /* accent */
  --ink: #0C1B2A;     /* text, dark panels */
  --slate: #3F4B58;   /* body text */
  --ink-muted: #C9D3DD; /* secondary text on Ink */
  /* Sand deepened with a touch of Saffron and Ink, for tone-on-tone type */
  --sand-deep: color-mix(in srgb, color-mix(in srgb, var(--sand) 90%, var(--saffron)) 95%, var(--ink));

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radii */
  --r-pill: 999px;
  --r-panel: 40px;
  --r-card: 32px;
  --r-tile: 20px;

  /* Layout */
  --container: 1300px;
  --gutter: 16px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Page scale ----------
   Desktop renders at 85% (the size approved at 85% browser zoom). Screen-
   relative units are routed through --vw / --vh / --svh and divided by the
   zoom, so they behave exactly as they do under browser zoom. */
:root { --zoom: 1; --vw: 1vw; --vh: 1vh; --svh: 1svh; }
@media (min-width: 1021px) {
  :root {
    --zoom: 0.85;
    zoom: 0.85;
    --vw: calc(1vw / 0.85);
    --vh: calc(1vh / 0.85);
    --svh: calc(1svh / 0.85);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
/* Nothing may ever widen the page sideways (the stats tiles start off to
   the sides before they assemble); clip keeps sticky sections working */
html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--r-pill);
  font: 800 17px/1 var(--font);
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sm { min-height: 48px; padding: 0 22px; font-size: 15px; }

.btn--saffron { background: var(--saffron); color: var(--ink); }
.btn--saffron:hover { box-shadow: 0 10px 24px -12px rgba(242, 169, 59, 0.9); }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { box-shadow: 0 14px 28px -14px rgba(12, 27, 42, 0.8); }

.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { box-shadow: 0 14px 28px -18px rgba(12, 27, 42, 0.45); }

.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--sand); }

/* ---------- Header ---------- */

/* Floats over the page so content scrolls behind the frosted bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: 14px;
  transition: transform 0.4s var(--ease);
}
/* Scrolling down: the bar slides up out of view (main.js) */
.site-header.is-hidden { transform: translateY(-110%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

.header-wrap {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: 24px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 8px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--r-pill);
  /* Frosted glass: thin light tint with a soft sheen at the top edge, so
     the Sand page and scrolling content show through, blurred */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
  -webkit-backdrop-filter: blur(22px) saturate(1.7) brightness(1.04);
  backdrop-filter: blur(22px) saturate(1.7) brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.25),
    0 12px 32px -20px rgba(12, 27, 42, 0.28);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled .nav-bar {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.25),
    0 18px 40px -22px rgba(12, 27, 42, 0.38);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-bar { background: rgba(255, 255, 255, 0.92); }
}

/* Over the dark hero photo: clear glass with white links, so the bar reads
   as glass instead of a pale strip. Back to light glass past the hero. */
.nav-bar,
.nav-list a,
.nav-link { transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.site-header.is-on-dark .nav-bar {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 12px 32px -20px rgba(0, 0, 0, 0.5);
}
.site-header.is-on-dark .nav-list a,
.site-header.is-on-dark .nav-link { color: var(--white); }
.site-header.is-on-dark .nav-list a:hover,
.site-header.is-on-dark .nav-link:hover { background: rgba(255, 255, 255, 0.14); }
.site-header.is-on-dark .menu-toggle { background: rgba(255, 255, 255, 0.16); }
.site-header.is-on-dark :focus-visible { outline-color: var(--saffron); }

.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; }

.nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a,
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.nav-list a:hover,
.nav-link:hover { background: rgba(255, 255, 255, 0.55); }

.nav-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle path { transition: transform 0.3s var(--ease); transform-origin: center; }
.menu-toggle[aria-expanded="true"] .menu-toggle__top { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bottom { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  max-height: calc(calc(100 * var(--vh)) - 100px);
  max-height: calc(calc(100 * var(--svh)) - 100px);
  overflow-y: auto;
  margin-top: 8px;
  padding: 8px;
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 0 24px 48px -24px rgba(12, 27, 42, 0.35);
}
.mobile-menu__list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--r-tile);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-menu__list a:hover { background: var(--paper); }
.mobile-menu__actions { display: grid; gap: 8px; padding: 8px 0 0; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }

/* Phone menu sections (built by main.js from the desktop dropdowns): tap a
   section to open its pages; one open at a time */
.mm-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-tile);
  background: none;
  color: var(--ink);
  font: 800 20px/1 var(--font);
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mm-group__head:hover,
.mm-group__head[aria-expanded="true"] { background: var(--paper); }
.mm-group__chev { flex: none; transition: transform 0.3s var(--ease); }
.mm-group__head[aria-expanded="true"] .mm-group__chev { transform: rotate(180deg); }
.mm-group__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s var(--ease), visibility 0s linear 0.35s;
}
.mm-group__head[aria-expanded="true"] + .mm-group__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.35s var(--ease), visibility 0s;
}
.mm-sub { min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: 0 0 0 8px; }
.mm-sub li:first-child { padding-top: 4px; }
.mm-sub li:last-child { padding-bottom: 10px; }
.mobile-menu__list .mm-sub__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
}
.mm-sub__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.mm-sub__icon svg { width: 18px; height: 18px; }
.mm-sub__icon .mega__code { font-weight: 800; font-size: 12px; letter-spacing: 0.02em; }
.mm-sub__copy { display: grid; gap: 2px; min-width: 0; }
.mm-sub__copy b { font-weight: 700; font-size: 15px; line-height: 1.25; }
.mm-sub__copy small { color: var(--slate); font-size: 13px; line-height: 1.35; }
.mobile-menu__list .mm-sub__more {
  min-height: 44px;
  padding: 0 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink);
}
.mobile-menu__list .mm-sub__item:hover .mm-sub__icon { background: var(--saffron); }

/* ---------- Hero ---------- */

/* Headline block, centred in a full-screen hero over the night-office photo */
.hero {
  --header-h: 78px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: var(--header-h) 16px 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin-inline: auto;
  padding-block: clamp(24px, calc(7 * var(--vh)), 80px) clamp(16px, calc(3 * var(--vh)), 40px);
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 18px 8px 16px;
  border-radius: var(--r-pill);
  background: var(--white);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}
.eyebrow__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron);
}

.hero__title {
  font-weight: 800;
  font-size: clamp(42px, calc(7.2 * var(--vw)), 170px);
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

/* Saffron as a fill behind Ink text */
.highlight {
  display: inline-block;
  margin-top: 0.08em;
  padding: 0 0.14em 0.06em;
  border-radius: 0.17em;
  background: var(--saffron);
  white-space: nowrap;
}

/* Headline light sweep: a Saffron band of light travels once through the
   headline (both lines, as one run) after the page loads. On hover, a wider band
   follows the pointer. The inline .sweep box is laid out as one strip across
   its lines, so a single gradient runs line 1 into line 2. The highlight
   paints its own copy, sized and offset (in JS) to stay in step. */
@property --sweep { syntax: "<percentage>"; inherits: true; initial-value: -40%; }
@property --glow { syntax: "<number>"; inherits: true; initial-value: 1; }

.sweep,
.sweep__inner {
  --band: 32%;
  --sweep-a: color-mix(in srgb, var(--sweep-accent) calc(var(--glow) * 100%), var(--sweep-rest));
  --sweep-b: color-mix(in srgb, var(--sweep-light) calc(var(--glow) * 100%), var(--sweep-rest));
  background-image: linear-gradient(90deg,
    var(--sweep-rest) calc(var(--sweep) - var(--band) / 2),
    var(--sweep-a) calc(var(--sweep) - var(--band) / 6),
    var(--sweep-b) calc(var(--sweep) + var(--band) / 6),
    var(--sweep-rest) calc(var(--sweep) + var(--band) / 2));
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sweep {
  --sweep-rest: var(--ink);
  --sweep-accent: var(--saffron);
  --sweep-light: color-mix(in srgb, var(--saffron) 78%, var(--white));
  background-size: var(--sweep-total, 100%) 100%;
  animation: sweep 2.6s ease-in-out 1s both;
}
.sweep.has-swept { animation: none; }

/* On the Saffron fill the band turns into a white sheen */
.sweep__inner {
  --sweep-rest: var(--ink);
  --sweep-accent: var(--white);
  --sweep-light: var(--paper);
  background-size: var(--sweep-total, 100%) 100%;
  background-position: calc(var(--sweep-offset, 0px) * -1) 0;
}

.sweep.is-hovering {
  --band: 45%;
  --sweep: var(--pointer, 50%);
  animation: glow-in 0.18s ease-out both;
  transition: --sweep 0.18s ease-out;
}
.sweep.is-leaving {
  --band: 45%;
  --sweep: var(--pointer, 50%);
  animation: glow-out 0.42s cubic-bezier(0.4, 0, 0.6, 1) both;
}

@keyframes sweep {
  from { --sweep: -40%; }
  to { --sweep: 140%; }
}
@keyframes glow-in {
  from { --glow: 0; }
  to { --glow: 1; }
}
@keyframes glow-out {
  from { --glow: 1; }
  to { --glow: 0; }
}

@media (forced-colors: active) {
  .sweep,
  .hero__accent,
  .sweep__inner {
    background-image: none;
    -webkit-text-fill-color: currentColor;
  }
}

.hero__lede {
  max-width: 38em;
  margin-top: 26px;
  color: var(--slate);
  font-size: clamp(17px, calc(1.25 * var(--vw)), 28px);
  line-height: 1.62;
  text-wrap: balance;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 32px;
}

/* ---------- Stats collage ---------- */

/* Eleven tiles around a centred heading. Each has a resting spot (--x as a
   share of the field's width, --y in tile sizes from the centre) and a tilt
   (--r) it starts from. CSS places the finished collage; GSAP (main.js) owns
   each tile's transform for the scroll assembly, Flip and the mouse depth
   (xPercent/yPercent, scaled by each layer's --d). Without GSAP, or with
   reduced motion, the collage simply shows. */
.stats { position: relative; padding: 0 16px clamp(96px, calc(10 * var(--vw)), 240px); isolation: isolate; }
.stats::before {
  content: "";
  position: absolute;
  inset: -10% 0 0;
  z-index: -1;
  background:
    radial-gradient(38% 55% at 25% 50%, color-mix(in srgb, var(--saffron) 30%, transparent), transparent 100%),
    radial-gradient(36% 55% at 78% 55%, color-mix(in srgb, var(--saffron) 24%, transparent), transparent 100%);
  /* Fade every edge so the glow never ends in a visible line */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}

.stats__field {
  --t: clamp(150px, calc(12.5 * var(--vw)), 230px);
  --mx: 0;
  --my: 0;
  position: relative;
  max-width: 1400px;
  height: calc(var(--t) * 3.75);
  margin: 0 auto;
  container-type: inline-size;
}
.stats__head {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, calc(1.4 * var(--vw)), 24px);
  width: min(44%, 640px);
  transform: translate(-50%, -50%);
  text-align: center;
}
.stats__title {
  font-weight: 800;
  font-size: clamp(30px, calc(3.3 * var(--vw)), 64px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
/* Headline words are tweened in one by one by GSAP */
.stats__title .w { display: inline-block; }

.stats__tiles { list-style: none; margin: 0; padding: 0; }
.tile {
  position: absolute;
  /* Resting spot plus mouse depth, set with left/top because GSAP owns the
     tile's transform for the assembly and Flip */
  top: calc(50% + var(--y) * var(--t));
  left: calc(50% + var(--x) * 1cqw);
  /* Mouse depth is a GSAP transform (main.js), never left/top: moving
     left/top re-laid out all eleven tiles every frame and made the section
     stutter while scrolling */
  will-change: transform, opacity;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: var(--t);
  height: var(--t);
  margin: calc(var(--t) / -2) 0 0 calc(var(--t) / -2);
  padding: calc(var(--t) * 0.11);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 48px -30px rgba(12, 27, 42, 0.4);
  transition: box-shadow 0.3s var(--ease);
}
.tile--stat { --d: 6; }
.tile--photo { --d: 11; padding: 0; overflow: hidden; }
.tile--small {
  --d: 16;
  --s: 0.62;
  width: calc(var(--t) * var(--s));
  height: calc(var(--t) * var(--s));
  margin: calc(var(--t) * var(--s) / -2) 0 0 calc(var(--t) * var(--s) / -2);
  padding: 0;
  background: none;
  box-shadow: none;
}

/* Resting spots and starting tilts */
.tile:nth-child(1)  { --x: -37; --y: -1.05; --r: -8; }
.tile:nth-child(2)  { --x: -20; --y: -0.98; --r: 6;  z-index: 2; }
.tile:nth-child(3)  { --x: -6;  --y: -1.38; --r: -10; }
.tile:nth-child(4)  { --x: 40;  --y: -1.35; --r: 12; }
.tile:nth-child(5)  { --x: 24;  --y: -1;    --r: -7; z-index: 2; }
.tile:nth-child(6)  { --x: 39;  --y: 0.55;  --r: 9; }
.tile:nth-child(7)  { --x: -40; --y: 0.25;  --r: -9; z-index: 2; }
.tile:nth-child(8)  { --x: -31; --y: 1.3;   --r: 11; }
.tile:nth-child(9)  { --x: -12; --y: 1.25;  --r: -6; }
.tile:nth-child(10) { --x: 6;   --y: 1.05;  --r: 10; }
.tile:nth-child(11) { --x: 22;  --y: 1.25;  --r: -8; z-index: 2; }

/* Stat tiles */
.tile__hit { position: absolute; inset: 0; z-index: 1; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.tile__hit:focus-visible { outline-offset: -4px; }
.tile__icon {
  display: inline-grid;
  place-items: center;
  align-self: flex-start;
  width: calc(var(--t) * 0.24);
  height: calc(var(--t) * 0.24);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
}
.tile__icon svg { width: calc(var(--t) * 0.13); height: auto; }
.tile__value {
  margin-top: auto;
  font-weight: 800;
  font-size: calc(var(--t) * 0.2);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.tile__label { margin-top: 6px; color: var(--slate); font-size: clamp(13px, calc(var(--t) * 0.068), 16px); line-height: 1.35; }
.tile--ink { background: var(--ink); color: var(--white); }
.tile--ink .tile__icon { background: rgba(255, 255, 255, 0.08); color: var(--saffron); }

/* Colour for the light tiles, all from the palette: a Saffron card, a soft
   Paper-to-Saffron wash, and a warm glow */
.tile--sun { background: var(--saffron); }
.tile--sun .tile__label,
.tile--sun .tile__detail { color: var(--ink); }
.tile--tint { background: linear-gradient(150deg, var(--white) 0%, color-mix(in srgb, var(--saffron) 26%, var(--paper)) 100%); }
.tile--tint .tile__icon { background: var(--saffron); }
/* Small tiles colour their faces, not the tile behind them */
.tile--small.tile--ink,
.tile--small.tile--tint { background: none; }
.tile--ink .tile__value { color: var(--saffron); }
.tile--ink .tile__label { color: var(--ink-muted); }
.tile__detail { display: none; }
.tile__detail a { position: relative; z-index: 2; }

/* Click a stat tile: GSAP Flip moves it to the middle and opens it to one
   line of detail and a link, above the rest, which fade back. Click again,
   Esc or outside closes it. */
.tile.is-open {
  --open-w: calc(var(--t) * 2.2);
  --open-h: calc(var(--t) * 1.3);
  z-index: 20;
  width: var(--open-w);
  height: var(--open-h);
  margin: calc(var(--open-h) / -2) 0 0 calc(var(--open-w) / -2);
  top: 50%;
  left: 50%;
  box-shadow: 0 40px 80px -30px rgba(12, 27, 42, 0.55);
}
.tile.is-open .tile__detail {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  font-size: clamp(14px, calc(var(--t) * 0.075), 17px);
  line-height: 1.5;
}
.tile.is-open .tile__detail a { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.tile--ink.is-open .tile__detail { color: var(--ink-muted); }
.tile--ink.is-open .tile__detail a { color: var(--saffron); }
.stats__field.has-open .stats__head { opacity: 0.2; }
.stats__head { transition: opacity 0.3s var(--ease); }

/* 10+: the globe turns; GSAP pops its four pins in */
.globe__turn { transform-origin: 12px 12px; animation: globe-turn 6s linear infinite; }
.globe__pins circle { fill: var(--saffron); stroke: none; transform-box: fill-box; transform-origin: center; }
@keyframes globe-turn {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.15); }
}

/* 3–5: five working days; GSAP fills them in one by one */
.tile__days { display: flex; gap: 5px; margin-top: auto; }
.tile__days i { flex: 1; height: 6px; border-radius: var(--r-pill); background: var(--saffron); }
.tile--week .tile__value { margin-top: 14px; }

/* Photos: one warm grade, one crop, light grain, a caption chip */
.tile--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.14) saturate(0.85) contrast(0.97) brightness(1.02);
  transition: scale 0.6s var(--ease);
}
.tile--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}
.tile__chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  transition: translate 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tile--photo:hover img { scale: 1.04; }
.tile--photo:hover .tile__chip { translate: 0 -4px; box-shadow: 0 10px 20px -10px rgba(12, 27, 42, 0.5); }

/* Small tiles: an icon that flips over to a promise */
.flip {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  perspective: 600px;
}
.flip__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 48px -30px rgba(12, 27, 42, 0.4);
  backface-visibility: hidden;
  transition: rotate 0.6s var(--ease);
}
.flip__back {
  rotate: y 180deg;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-size: clamp(13px, calc(var(--t) * 0.07), 16px);
  line-height: 1.25;
  text-align: center;
}
/* Flipped by a tap, by the automatic GSAP cycle (.is-flipped) or by hover */
.flip[aria-pressed="true"] .flip__front,
.flip.is-flipped .flip__front { rotate: y -180deg; }
.flip[aria-pressed="true"] .flip__back,
.flip.is-flipped .flip__back { rotate: y 0deg; }
@media (hover: hover) and (pointer: fine) {
  .flip:hover .flip__front { rotate: y -180deg; }
  .flip:hover .flip__back { rotate: y 0deg; }
}
.tile--saffron .flip__front { background: var(--saffron); }
.tile--ink .flip__front { background: var(--ink); color: var(--saffron); }
.tile--ink .flip__back { background: var(--saffron); color: var(--ink); }
.tile--tint .flip__front { background: linear-gradient(150deg, var(--white), color-mix(in srgb, var(--saffron) 30%, var(--paper))); }
.tile--glow .flip__front { background: radial-gradient(80% 80% at 30% 20%, var(--white), color-mix(in srgb, var(--saffron) 38%, var(--white))); color: var(--ink); }
.tile__glyph { font-weight: 800; font-size: calc(var(--t) * 0.3); line-height: 1; color: var(--ink); }

/* Phones: the same collage as desktop, re-arranged for a narrow screen.
   The headline sits in the middle of a tall field, five tiles gather above
   it and six below; each tile still flies in from its scattered, tilted
   spot as the section scrolls in (main.js). Positions: --x is a share of
   the field width, --y is in tile sizes from the middle. */
@media (max-width: 760px) {
  .stats { padding-inline: 16px; }
  .stats__field { --t: clamp(112px, 34vw, 160px); height: calc(var(--t) * 6.9); }
  .stats__head { width: 100%; padding: 0 4px; }
  .stats__title { font-size: clamp(28px, 8.4vw, 40px); }
  .stats__cta { min-height: 46px; padding: 0 20px; font-size: 14px; }
  .tile { border-radius: 20px; }
  .tile--stat { height: calc(var(--t) * 1.2); margin-top: calc(var(--t) * -0.6); padding: calc(var(--t) * 0.1); }
  .tile--photo { --s: 0.86; width: calc(var(--t) * var(--s)); height: calc(var(--t) * var(--s)); margin: calc(var(--t) * var(--s) / -2) 0 0 calc(var(--t) * var(--s) / -2); }
  .tile--small { --s: 0.56; border-radius: 16px; }
  .tile__icon { border-radius: 10px; }
  .tile--small .flip__face { padding: 6px; border-radius: 16px; }
  .tile--small .flip__back { font-size: 10.5px; line-height: 1.2; letter-spacing: -0.01em; }
  .tile__value { font-size: calc(var(--t) * 0.22); }
  .tile__label { font-size: 11.5px; line-height: 1.3; }
  .tile__days { gap: 4px; }
  .tile__days i { height: 5px; }
  .tile__chip { font-size: 10px; }

  /* Above the headline */
  .tile:nth-child(1)  { --x: -27; --y: -2.55; --r: -8; }
  .tile:nth-child(3)  { --x: 7;   --y: -2.78; --r: -10; }
  .tile:nth-child(4)  { --x: 33;  --y: -2.42; --r: 12; }
  .tile:nth-child(2)  { --x: -24; --y: -1.45; --r: 6; }
  .tile:nth-child(5)  { --x: 24;  --y: -1.4;  --r: -7; }
  /* Below it */
  .tile:nth-child(7)  { --x: -24; --y: 1.42;  --r: -9; }
  .tile:nth-child(11) { --x: 24;  --y: 1.48;  --r: -8; }
  .tile:nth-child(9)  { --x: -27; --y: 2.62;  --r: -6; }
  .tile:nth-child(8)  { --x: 3;   --y: 2.5;   --r: 11; }
  .tile:nth-child(6)  { --x: 28;  --y: 2.66;  --r: 9; }
  .tile:nth-child(10) { --x: -1;  --y: 3.18;  --r: 10; }

  /* An opened stat fits the phone */
  .tile.is-open { --open-w: min(calc(100cqw - 8px), 340px); --open-h: calc(var(--t) * 1.7); }
}

@media (prefers-reduced-motion: reduce) {
  .flip__face, .tile--photo img { transition: none; }
  .globe__turn { animation: none; }
}

/* ---------- Why DAVZON: problem and solution ---------- */

/* A statement headline beside a curved photo, then the four problem areas
   in an accordion */
.solve { padding: 0 16px clamp(72px, calc(8 * var(--vw)), 160px); }
.solve__inner { width: 100%; max-width: 1520px; margin: 0 auto; padding-inline: clamp(0px, calc(2 * var(--vw)), 40px); }
/* Desktop: a full screen like Start here and Hire from, content centred */
@media (min-width: 1021px) {
  .solve {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100 * var(--svh));
    padding-block: clamp(24px, calc(2 * var(--vw)), 40px) clamp(24px, calc(2 * var(--vw)), 40px);
    margin-bottom: 0;
  }
}
/* Intro: the statement on the left, a glass office at sunset on the right,
   running to the edge of the screen behind a wide curve with a thin
   Saffron line tracing it */
.solve { overflow-x: clip; }
.solve__intro { position: relative; min-height: clamp(480px, calc(40 * var(--vw)), 760px); display: flex; align-items: stretch; }
.solve__copy { position: relative; z-index: 1; width: 100%; padding-top: clamp(8px, calc(1 * var(--vw)), 20px); }
/* Invisible float shaped like the photo's curved edge (main.js traces the
   Saffron line), so the statement's lines end along the curve */
.solve__flow { float: right; width: 62%; height: 100%; shape-margin: clamp(14px, calc(1.2 * var(--vw)), 24px); }
.solve__photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54%;
  right: calc((100% - 100 * var(--vw)) / 2);
}
.solve__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  display: block;
  clip-path: url(#solve-clip);
}
.solve__defs { position: absolute; }
.solve__arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.solve__arcs path { fill: none; vector-effect: non-scaling-stroke; }
.solve__arc { stroke: var(--saffron); stroke-width: 2.5; stroke-linejoin: round; }

/* Two stacked statements: the problem in Slate, a short Saffron rule, then
   the answer in Ink */
.solve__rule { display: block; width: 3.2em; height: 0.14em; margin: 0.6em 0 0.55em; border-radius: var(--r-pill); background: var(--saffron); }
.solve__title {
  margin: 24px 0 0;
  font-weight: 800;
  font-size: clamp(26px, calc(2.5 * var(--vw)), 50px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.solve__pain { display: block; color: var(--slate); font-weight: 600; letter-spacing: -0.025em; }
.solve__answer { display: block; color: var(--ink); }
.solve__title .highlight { margin: 0 0.06em; padding: 0 0.22em 0.04em; border-radius: 0.18em; }

/* Soft Saffron shapes behind the section: blurred, and fading to nothing
   at their edges so none of them ends in a hard line */
.solve { position: relative; isolation: isolate; }
.solve::before,
.solve::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: blur(30px);
}
.solve::before {
  top: 2%;
  right: 4%;
  width: min(44vw, 640px);
  aspect-ratio: 1.2;
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--saffron) 30%, transparent), color-mix(in srgb, var(--saffron) 12%, transparent) 55%, transparent 100%);
}
.solve::after {
  bottom: 4%;
  left: 2%;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--saffron) 22%, transparent), color-mix(in srgb, var(--saffron) 8%, transparent) 60%, transparent 100%);
}

/* The accordion sits in the left half, tucked up under the statement
   (beside the photo, which ends on the right) */
.solve__body {
  position: relative;
  z-index: 1;
  width: 52%;
  margin-top: calc(-1 * clamp(32px, calc(4 * var(--vw)), 80px));
}

/* Accordion */
.solve__list-wrap { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.solve__item { border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.solve__item h3 { margin: 0; }
.solve__head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 84px;
  padding: 18px 4px;
  border: 0;
  background: none;
  color: var(--ink);
  font: 700 clamp(20px, calc(1.9 * var(--vw)), 34px) / 1.2 var(--font);
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
}
.solve__num { color: var(--slate); font-size: clamp(14px, calc(1 * var(--vw)), 18px); font-weight: 700; letter-spacing: 0.06em; min-width: 26px; }
.solve__plus { position: relative; width: 18px; height: 18px; margin-left: auto; flex: none; transition: rotate 0.35s var(--ease); }
.solve__plus::before,
.solve__plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; }
.solve__plus::after { rotate: 90deg; transition: rotate 0.35s var(--ease); }
.solve__head[aria-expanded="true"] .solve__plus::after { rotate: 0deg; }
.solve__head:hover .solve__num,
.solve__head[aria-expanded="true"] .solve__num { color: var(--ink); }
.solve__panel { overflow: hidden; }
.solve__panel > :last-child { margin-bottom: 26px; }
.solve__problem,
.solve__fix { margin-top: 4px; padding-left: 4px; font-size: clamp(16px, calc(1.3 * var(--vw)), 22px); line-height: 1.55; }
.solve__problem { color: var(--slate); }
.solve__fix { margin-top: 12px; color: var(--ink); }
.solve__problem span,
.solve__fix span { display: block; margin-bottom: 2px; font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.solve__fix span { color: var(--ink); }
.solve__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 18px 0 0; padding: 0 0 0 4px; }
.solve__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: clamp(15px, calc(1.1 * var(--vw)), 19px); line-height: 1.3; }
.solve__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--white); color: var(--ink); box-shadow: 0 6px 14px -10px rgba(12, 27, 42, 0.5); }

@media (max-width: 1020px) {
  .solve__flow { display: none; }
  .solve__intro { display: block; min-height: 0; }
  .solve__copy { width: auto; }
  /* The office photo lives beside the statement on wide screens. Stacked
     under it on phones and tablets it read as a separate image-only
     section, so the statement leads straight into the accordion instead
     (the photo is decorative; index.html gives these widths a blank
     source, so it is not downloaded either) */
  .solve__photo { display: none; }
  .solve__body { width: auto; margin-top: 32px; }
}
@media (max-width: 600px) {
  .solve__list { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .solve__problem, .solve__fix { padding-left: 0; }
}

/* Beside the accordion: one floating dark card per area showing what it
   looks like with DAVZON. main.js swaps them (GSAP) as items open. */
@media (min-width: 1021px) {
  .solve__body {
    display: grid;
    grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
    align-items: start;
    gap: clamp(32px, calc(4 * var(--vw)), 88px);
    width: 100%;
  }
  /* starts below the photo's lower edge, which the body tucks up under */
  .solve__stage { padding-top: clamp(96px, calc(10 * var(--vw)), 200px); }
}
/* Phones and tablets: the floating card sits under the accordion and swaps
   with the open item, just as it does beside it on desktop */
@media (max-width: 1020px) { .solve__stage { margin-top: 28px; } }

.sv {
  --d1: color-mix(in srgb, var(--white) 6%, var(--ink));
  --d2: color-mix(in srgb, var(--white) 12%, var(--ink));
  --line: rgba(255, 255, 255, 0.09);
  position: relative;
  display: grid;
  width: min(100%, 580px);
  /* sits towards the right edge, under the photo */
  margin: 0 calc(-1 * clamp(0px, calc(2 * var(--vw)), 40px)) 0 auto;
  animation: ui-float 7s ease-in-out infinite;
}
.sv::before {
  content: "";
  position: absolute;
  inset: 8% -6% -4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--saffron) 34%, transparent), transparent);
  filter: blur(24px);
}
.sv__card {
  grid-area: 1 / 1;
  position: relative;
  padding: clamp(20px, calc(1.6 * var(--vw)), 30px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(70% 55% at 100% 0%, color-mix(in srgb, var(--saffron) 16%, transparent), transparent 70%),
    linear-gradient(165deg, var(--d2), var(--d1) 60%);
  color: var(--white);
  font-size: clamp(14px, calc(0.95 * var(--vw)), 17px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 70px -30px rgba(12, 27, 42, 0.7);
  display: none;
}
/* Only the open card takes space; the one leaving stays shown while it fades */
.sv__card.is-on, .sv__card.is-leaving { display: block; }
.sv small { display: block; color: var(--ink-muted); font-weight: 500; font-size: 0.82em; }

.sv__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sv__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--saffron) 16%, transparent); color: var(--saffron); }
.sv__ttl b { display: block; font-weight: 700; font-size: 1.08em; letter-spacing: -0.01em; }
.sv__tag { margin-left: auto; padding: 5px 12px; border-radius: var(--r-pill); background: var(--saffron); color: var(--ink); font-weight: 700; font-size: 0.78em; }

/* The card's takeaway sits inside it, closing the card */
.sv__chip {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--saffron);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.86em;
  box-shadow: 0 18px 30px -16px rgba(12, 27, 42, 0.6);
}

/* Hiring */
.sv__funnel { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; padding: 0; }
.sv__funnel li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.sv__funnel b { display: block; font-weight: 800; font-size: 1.6em; letter-spacing: -0.02em; }
.sv__funnel .is-hot { background: color-mix(in srgb, var(--saffron) 14%, transparent); border-color: color-mix(in srgb, var(--saffron) 40%, transparent); }
.sv__funnel .is-hot b { color: var(--saffron); }
.sv__cands { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.sv__cand { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.sv__cand > i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--d2); color: var(--white); font-style: normal; font-weight: 700; font-size: 0.8em; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--saffron) 50%, transparent); }
.sv__cand b { font-weight: 700; }
.sv__match { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--saffron); font-weight: 700; font-size: 0.9em; }
.sv__match em { display: block; width: 64px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.sv__match em i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--saffron); transform-origin: left; }
.sv__match b { min-width: 2ch; text-align: right; }

/* Employing */
.sv__days { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 16px; padding: 0; }
.sv__days li { position: relative; isolation: isolate; overflow: hidden; padding: 9px 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.04); color: var(--ink); font-weight: 700; font-size: 0.82em; text-align: center; }
.sv__days li i { position: absolute; inset: 0; z-index: -1; background: var(--saffron); transform-origin: left; }
.sv__steps { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.sv__step { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.04); font-weight: 600; }
.sv__tick { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--saffron); color: var(--ink); box-shadow: 0 0 14px color-mix(in srgb, var(--saffron) 55%, transparent); }
.sv__tick svg { width: 16px; height: 16px; }
.sv__draw { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* Paying */
.sv__match2 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 18px; }
.sv__match2 > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.sv__match2 .is-hot { background: color-mix(in srgb, var(--saffron) 14%, transparent); border-color: color-mix(in srgb, var(--saffron) 40%, transparent); }
.sv__amt { display: block; margin-top: 2px; font-weight: 800; font-size: 1.4em; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sv__match2 .is-hot .sv__amt { color: var(--saffron); }
.sv__eq { color: var(--saffron); font-weight: 800; font-size: 1.5em; }
.sv__label { margin: 0 0 8px; color: var(--ink-muted); font-weight: 700; font-size: 0.72em; letter-spacing: 0.12em; text-transform: uppercase; }
.sv__filings { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 14px; padding: 0; }
.sv__filings li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.04); font-weight: 600; }
.sv__note { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink-muted); font-weight: 600; }
.sv__note svg { color: var(--saffron); }

/* Compliant */
.sv__comply { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(16px, calc(1.6 * var(--vw)), 28px); }
.sv__ring { position: relative; width: clamp(120px, calc(9 * var(--vw)), 170px); }
.sv__ring svg { display: block; width: 100%; transform: rotate(-90deg); }
.sv__ring circle { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 9; }
.sv__ring .sv__ring-fill { stroke: var(--saffron); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sv__ring > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 1.5em; }
.sv__ring > span b { color: var(--saffron); }
.sv__ring > span em { font-style: normal; }
.sv__ring small { font-size: 0.5em; font-weight: 600; }
.sv__comply .sv__steps { gap: 6px; }
.sv__comply .sv__step { padding: 8px 12px; }
.sv__comply .sv__tick { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) { .sv { animation: none; } }

/* ---------- Services ---------- */

.services { padding: 0 16px clamp(72px, calc(7 * var(--vw)), 128px); }
.services__inner { max-width: 1560px; margin: 0 auto; }

.services__head { display: grid; gap: 18px; margin-bottom: clamp(32px, calc(3 * var(--vw)), 56px); }
.services__title {
  max-width: 13em;
  font-weight: 800;
  font-size: clamp(36px, calc(3.6 * var(--vw)), 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.services__lede {
  max-width: 40em;
  color: var(--slate);
  font-size: clamp(17px, calc(1.15 * var(--vw)), 20px);
  line-height: 1.6;
}

/* One large feature card on the left, two cards stacked on the right */
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.96fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.svc--feature { grid-row: 1 / span 2; border-radius: var(--r-panel); }

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: clamp(340px, calc(20 * var(--vw)), 400px);
  padding: clamp(24px, calc(2 * var(--vw)), 36px);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -32px rgba(12, 27, 42, 0.55); }

.svc--saffron { background: var(--saffron); color: var(--ink); }
.svc--white { background: var(--white); color: var(--ink); }
.svc--ink { background: var(--ink); color: var(--white); }

/* Photo cards (Recruitment, Payroll): a blurred, content-related photo under
   the card's colour; it slowly zooms in on hover and the panel plays a
   short sequence. */
.svc--photo { isolation: isolate; }
.svc__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
}
.svc__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.6s var(--ease);
}
.svc--photo:hover .svc__bg img { transform: scale(1.22); }
.svc__bg::after { content: ""; position: absolute; inset: 0; }

.svc__bg--recruit img { filter: none; } /* blur baked into the file */
.svc__bg--recruit::after {
  background: linear-gradient(160deg, rgba(242, 169, 59, 0.94) 0%, rgba(242, 169, 59, 0.8) 55%, rgba(242, 169, 59, 0.7) 100%);
}
.svc__bg--payroll img { filter: none; } /* blur baked into the file */
.svc__bg--payroll::after {
  background: linear-gradient(160deg, rgba(12, 27, 42, 0.95) 0%, rgba(12, 27, 42, 0.82) 50%, rgba(12, 27, 42, 0.62) 100%);
}

/* Recruitment: shortlist rows arrive one by one, then Candidate 1 moves on */
.svc--photo:hover .ui-rows li { animation: row-in 0.55s var(--ease) both; }
.svc--photo:hover .ui-rows li:nth-child(2) { animation-delay: 0.12s; }
.svc--photo:hover .ui-rows li:nth-child(3) { animation-delay: 0.24s; }
@keyframes row-in {
  from { opacity: 0.2; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}
.ui-swap { display: inline-grid; }
.ui-swap > span { grid-area: 1 / 1; text-align: center; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.ui-swap > span:last-child { opacity: 0; transform: translateY(6px); }
.svc--photo:hover .ui-swap > span:first-child { opacity: 0; transform: translateY(-6px); transition-delay: 0.65s; }
.svc--photo:hover .ui-swap > span:last-child { opacity: 1; transform: none; transition-delay: 0.65s; }

/* Payroll: each filing ticks in turn, then the run shows Complete */
.svc--photo:hover .ui-filings em::before { animation: tick 0.45s var(--ease) both; }
.svc--photo:hover .ui-filings li:nth-child(2) em::before { animation-delay: 0.1s; }
.svc--photo:hover .ui-filings li:nth-child(3) em::before { animation-delay: 0.2s; }
.svc--photo:hover .ui-filings li:nth-child(4) em::before { animation-delay: 0.3s; }
.svc--photo:hover .ui-filings li:nth-child(5) em::before { animation-delay: 0.4s; }
.svc--photo:hover .ui-head .ui-pill--saffron { animation: tick 0.45s var(--ease) 0.6s both; }
@keyframes tick {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: none; }
}

.svc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc__kicker { font-weight: 700; font-size: 14px; opacity: 0.8; }
.svc--ink .svc__kicker { color: var(--saffron); opacity: 1; }
.svc__title {
  max-width: 15em;
  margin-top: 8px;
  font-weight: 800;
  font-size: clamp(22px, calc(1.6 * var(--vw)), 30px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
/* Whole card is the link target */
.svc__title a { text-decoration: none; }
.svc__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc__title a:focus-visible { outline: none; }
.svc:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }

.svc__arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.svc--white .svc__arrow { background: var(--paper); }

/* Feature card: footage behind the copy (like a hero tile), white type over
   an Ink wash, product panels stacked on the right */
.svc--feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, calc(3 * var(--vw)), 56px);
  padding: clamp(28px, calc(3.2 * var(--vw)), 60px);
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}
.svc__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 22% 30%, color-mix(in srgb, var(--saffron) 55%, transparent), transparent 70%),
    radial-gradient(50% 60% at 80% 75%, color-mix(in srgb, var(--slate) 90%, transparent), transparent 70%),
    radial-gradient(45% 50% at 65% 20%, color-mix(in srgb, var(--sand) 35%, transparent), transparent 70%),
    var(--ink);
  background-size: 160% 160%;
  animation: drift 18s ease-in-out infinite alternate;
}
/* Readability wash over the footage */
.svc__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 27, 42, 0.86) 0%, rgba(12, 27, 42, 0.55) 48%, rgba(12, 27, 42, 0.25) 100%);
}
.svc__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.1);
  transform: scale(1.04);
}
@keyframes drift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

.svc__feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.svc--feature .svc__kicker { color: var(--saffron); opacity: 1; }
.svc--feature .svc__title { max-width: 12em; font-size: clamp(30px, calc(2.8 * var(--vw)), 52px); line-height: 1.06; letter-spacing: -0.035em; }
.svc__desc { max-width: 30em; color: var(--ink-muted); font-size: clamp(16px, calc(1.1 * var(--vw)), 19px); line-height: 1.6; }
.svc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.svc__chips li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-weight: 600;
  font-size: 14px;
}

.svc__feature-ui { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }
.svc--feature .svc__arrow { background: rgba(255, 255, 255, 0.14); }
/* Call to action, bottom right; sits above the card-wide link */
.svc__cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  margin-top: auto;
  text-align: right;
}
.svc__cta-note { color: var(--ink-muted); font-size: clamp(14px, calc(1 * var(--vw)), 17px); }
.svc__cta .btn { min-height: 60px; padding: 0 30px; font-size: clamp(16px, calc(1.1 * var(--vw)), 19px); }
.svc__cta .btn span { display: inline-block; transition: transform 0.3s var(--ease); }
.svc__cta .btn:hover span { transform: translateX(4px); }
.svc--saffron .ui-avatar--sm { background: var(--paper); }
.svc--ink .svc__arrow { background: rgba(255, 255, 255, 0.1); }
.svc:hover .svc__arrow { transform: rotate(45deg); }

/* Product-style panel pinned to the bottom right */
.svc__ui { margin-top: auto; display: flex; justify-content: flex-end; }
.ui-card {
  width: min(100%, 360px);
  padding: 16px;
  border-radius: var(--r-tile);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 24px 40px -28px rgba(12, 27, 42, 0.6);
  transition: transform 0.45s var(--ease);
}
.svc--white .ui-card { background: var(--paper); box-shadow: none; }
.svc:hover .ui-card { transform: translateY(-6px); }

.ui-person,
.ui-rows li { display: flex; align-items: center; gap: 10px; }
.ui-person__text,
.ui-row__text { display: grid; flex: 1 1 auto; min-width: 0; }
.ui-person small,
.ui-rows small { color: var(--slate); font-size: 12px; }

.ui-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--saffron);
  font-weight: 800;
  font-size: 13px;
}
.ui-avatar--sm { width: 32px; height: 32px; font-size: 11px; background: var(--white); color: var(--ink); }

.ui-pill {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--sand);
  font-weight: 700;
  font-size: 11.5px;
  white-space: nowrap;
}
.ui-pill--saffron { background: var(--saffron); }
.ui-pill--ink { background: var(--ink); color: var(--white); }

.ui-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }

.ui-checks { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sand); }
.ui-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ui-checks i,
.ui-filings em::before {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2A93B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ui-foot {
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--paper);
  font-weight: 700;
}

.ui-rows { display: grid; gap: 10px; }

.ui-filings { display: grid; gap: 2px; }
.ui-filings li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--sand);
  font-weight: 600;
}
.ui-filings li:first-child { border-top: 0; }
.ui-filings em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slate);
  font-style: normal;
  font-size: 12px;
}
.ui-filings em::before { content: ""; width: 16px; height: 16px; background-size: 10px; }

@media (max-width: 1020px) {
  /* Phones and tablets: Employer of record runs full width, Recruitment and
     Payroll sit side by side under it */
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc--feature { grid-row: auto; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); border-radius: var(--r-card); }
  .svc__feature-ui { align-items: stretch; }
  .svc__cta { align-items: stretch; text-align: left; }
  .svc__feature-ui .svc__arrow { display: none; }
  .svc { min-height: 0; }
}
/* Phones: the two half-width cards get compact type, and their product
   panel shows as a scaled-down preview of the full one */
@media (max-width: 600px) {
  .services__grid { gap: 10px; }
  .svc--photo { gap: 14px; padding: 16px 14px; border-radius: var(--r-tile); }
  .svc--photo .svc__top { gap: 8px; }
  .svc--photo .svc__kicker { font-size: 11px; line-height: 1.3; }
  .svc--photo .svc__title { margin-top: 6px; font-size: clamp(15px, 4.4vw, 19px); line-height: 1.18; letter-spacing: -0.02em; }
  .svc--photo .svc__arrow { width: 30px; height: 30px; }
  .svc--photo .svc__arrow svg { width: 14px; height: 14px; }
  .svc--photo .svc__ui { justify-content: stretch; }
  .svc--photo .ui-card { width: calc(100% / 0.53); max-width: none; zoom: 0.53; }
  .svc--photo .ui-person__text, .svc--photo .ui-row__text { white-space: nowrap; }
}

/* ---------- Start with what you need ---------- */

.needs { position: relative; isolation: isolate; padding: 0 16px clamp(72px, calc(7 * var(--vw)), 128px); }
.needs__inner { position: relative; z-index: 1; }

/* Background art: everything is faint and fades to nothing at its edges,
   so no shape ends in a hard line */
.needs__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 1.8%, rgba(0, 0, 0, 0.104) 3.5%, rgba(0, 0, 0, 0.275) 5.2%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.725) 8.8%, rgba(0, 0, 0, 0.896) 10.5%, rgba(0, 0, 0, 0.984) 12.2%, rgba(0, 0, 0, 1) 14%, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 0.984) 87.8%, rgba(0, 0, 0, 0.896) 89.5%, rgba(0, 0, 0, 0.725) 91.2%, rgba(0, 0, 0, 0.5) 93%, rgba(0, 0, 0, 0.275) 94.8%, rgba(0, 0, 0, 0.104) 96.5%, rgba(0, 0, 0, 0.016) 98.2%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 1.8%, rgba(0, 0, 0, 0.104) 3.5%, rgba(0, 0, 0, 0.275) 5.2%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.725) 8.8%, rgba(0, 0, 0, 0.896) 10.5%, rgba(0, 0, 0, 0.984) 12.2%, rgba(0, 0, 0, 1) 14%, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 0.984) 87.8%, rgba(0, 0, 0, 0.896) 89.5%, rgba(0, 0, 0, 0.725) 91.2%, rgba(0, 0, 0, 0.5) 93%, rgba(0, 0, 0, 0.275) 94.8%, rgba(0, 0, 0, 0.104) 96.5%, rgba(0, 0, 0, 0.016) 98.2%, rgba(0, 0, 0, 0) 100%);
}
.needs__bg::before,
.needs__bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.needs__bg::before {
  top: 8%;
  left: -6%;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--saffron) 28%, transparent), transparent 100%);
}
.needs__bg::after {
  right: -4%;
  bottom: 4%;
  width: min(36vw, 540px);
  aspect-ratio: 1.2;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--saffron) 22%, transparent), transparent 100%);
}
.needs__sweeps {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 2.2%, rgba(0, 0, 0, 0.104) 4.5%, rgba(0, 0, 0, 0.275) 6.8%, rgba(0, 0, 0, 0.5) 9%, rgba(0, 0, 0, 0.725) 11.2%, rgba(0, 0, 0, 0.896) 13.5%, rgba(0, 0, 0, 0.984) 15.8%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0.984) 84.2%, rgba(0, 0, 0, 0.896) 86.5%, rgba(0, 0, 0, 0.725) 88.8%, rgba(0, 0, 0, 0.5) 91%, rgba(0, 0, 0, 0.275) 93.2%, rgba(0, 0, 0, 0.104) 95.5%, rgba(0, 0, 0, 0.016) 97.8%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 2.2%, rgba(0, 0, 0, 0.104) 4.5%, rgba(0, 0, 0, 0.275) 6.8%, rgba(0, 0, 0, 0.5) 9%, rgba(0, 0, 0, 0.725) 11.2%, rgba(0, 0, 0, 0.896) 13.5%, rgba(0, 0, 0, 0.984) 15.8%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0.984) 84.2%, rgba(0, 0, 0, 0.896) 86.5%, rgba(0, 0, 0, 0.725) 88.8%, rgba(0, 0, 0, 0.5) 91%, rgba(0, 0, 0, 0.275) 93.2%, rgba(0, 0, 0, 0.104) 95.5%, rgba(0, 0, 0, 0.016) 97.8%, rgba(0, 0, 0, 0) 100%);
}
.needs__sweeps path,
.needs__sweeps circle { fill: none; stroke: color-mix(in srgb, var(--saffron) 55%, transparent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.needs__sweeps path + path { stroke: color-mix(in srgb, var(--saffron) 30%, transparent); }
.needs__sweeps circle { stroke: color-mix(in srgb, var(--ink) 10%, transparent); stroke-dasharray: 3 7; }
.needs__dots {
  position: absolute;
  width: 220px;
  height: 160px;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 22%, transparent) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.984) 38.8%, rgba(0, 0, 0, 0.896) 47.5%, rgba(0, 0, 0, 0.725) 56.2%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0.275) 73.8%, rgba(0, 0, 0, 0.104) 82.5%, rgba(0, 0, 0, 0.016) 91.2%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.984) 38.8%, rgba(0, 0, 0, 0.896) 47.5%, rgba(0, 0, 0, 0.725) 56.2%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0.275) 73.8%, rgba(0, 0, 0, 0.104) 82.5%, rgba(0, 0, 0, 0.016) 91.2%, rgba(0, 0, 0, 0) 100%);
}
.needs__dots--a { top: 14%; right: 9%; }
.needs__dots--b { bottom: 12%; left: 6%; }
@media (max-width: 760px) {
  .needs__sweeps circle, .needs__dots--a { display: none; }
}
/* Desktop: the section takes a full screen, content centred in it */
@media (min-width: 1021px) {
  .needs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100 * var(--svh));
    padding-block: clamp(32px, calc(3 * var(--vw)), 56px) clamp(56px, calc(5 * var(--vw)), 96px);
    /* Extra room before How it works */
    margin-bottom: clamp(56px, calc(6 * var(--vw)), 120px);
  }
  .needs__inner { width: 100%; }
}
.needs__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.needs__title {
  margin-top: 24px;
  font-weight: 800;
  font-size: clamp(36px, calc(4.4 * var(--vw)), 80px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.needs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: clamp(32px, calc(3 * var(--vw)), 56px);
  text-align: left;
}

.need {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(400px, calc(25 * var(--vw)), 480px);
  padding: clamp(28px, calc(2.4 * var(--vw)), 40px);
  border-radius: var(--r-panel);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.need:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -32px rgba(12, 27, 42, 0.45); }
.need--saffron { background: var(--saffron); }

.need__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: var(--r-tile);
  background: var(--paper);
  color: var(--ink);
}
.need--saffron .need__icon { background: var(--ink); color: var(--white); }

.need__badge {
  position: absolute;
  top: clamp(28px, calc(2.4 * var(--vw)), 40px);
  right: clamp(28px, calc(2.4 * var(--vw)), 40px);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--white);
  font-weight: 700;
  font-size: 15px;
}

.need__title {
  margin-top: 22px;
  font-weight: 800;
  font-size: clamp(24px, calc(1.9 * var(--vw)), 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.need__text {
  margin-top: 16px;
  color: var(--slate);
  font-size: clamp(17px, calc(1.15 * var(--vw)), 20px);
  line-height: 1.65;
}
.need--saffron .need__text { color: var(--ink); }

.need__price { margin-top: 20px; font-size: 18px; }
.need__price b { font-weight: 800; font-size: clamp(22px, calc(1.6 * var(--vw)), 28px); letter-spacing: -0.02em; }

.need__link {
  margin-top: auto;
  padding-top: 28px;
  font-weight: 800;
  font-size: clamp(17px, calc(1.2 * var(--vw)), 21px);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.need__link span { display: inline-block; transition: transform 0.3s var(--ease); }
.need:hover .need__link span { transform: translateX(4px); }

.needs__more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.needs__more a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  min-height: 52px;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--slate);
  font-size: clamp(15px, calc(1 * var(--vw)), 18px);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.needs__more b { color: var(--ink); font-weight: 800; }
.needs__more a:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(12, 27, 42, 0.45); }

@media (max-width: 1020px) {
  .needs__grid { grid-template-columns: minmax(0, 1fr); }
  .need { min-height: 0; border-radius: var(--r-card); }
  .needs__more a { border-radius: 24px; }
}

/* ---------- Shared centred section heading ---------- */

.section-title {
  margin-top: 24px;
  font-weight: 800;
  font-size: clamp(36px, calc(4.4 * var(--vw)), 80px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* ---------- Hire from your country ---------- */

.corridor,
.standard { padding: 0 16px clamp(72px, calc(7 * var(--vw)), 128px); }
.corridor__inner,
.standard__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: clamp(24px, calc(2 * var(--vw)), 36px);
  padding: 6px;
  border-radius: var(--r-pill);
  background: var(--white);
}
.tab {
  min-height: 48px;
  padding: 0 clamp(18px, calc(1.6 * var(--vw)), 28px);
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font: 700 clamp(15px, calc(1 * var(--vw)), 18px) / 1 var(--font);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.tab:hover { background: var(--paper); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); }

.corridor__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: clamp(28px, calc(2.4 * var(--vw)), 44px);
  text-align: left;
  animation: rise 0.5s var(--ease) both;
}
.corridor__panel[hidden] { display: none; }

.corridor__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(28px, calc(2.6 * var(--vw)), 48px);
  border-radius: var(--r-card);
  background: var(--ink);
  color: var(--white);
}
.corridor__intro h3 {
  font-weight: 800;
  font-size: clamp(26px, calc(2.2 * var(--vw)), 42px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.corridor__intro p { max-width: 26em; color: var(--ink-muted); font-size: clamp(16px, calc(1.1 * var(--vw)), 19px); line-height: 1.6; }
.corridor__intro .btn { margin-top: auto; }

.corridor__faq {
  padding: clamp(24px, calc(2.2 * var(--vw)), 40px);
  border-radius: var(--r-card);
  background: var(--white);
}
.corridor__faq-title { font-weight: 700; font-size: clamp(16px, calc(1.1 * var(--vw)), 19px); }
.corridor__faq ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.corridor__faq li {
  padding: clamp(16px, calc(1.3 * var(--vw)), 24px);
  border-radius: var(--r-tile);
  background: var(--paper);
  font-weight: 600;
  font-size: clamp(15px, calc(1.05 * var(--vw)), 18px);
  line-height: 1.45;
}

/* ---------- How it works (pinned intro, scroll-lit steps) ---------- */

.flow { padding: 0 12px clamp(40px, calc(4 * var(--vw)), 72px); }
.flow__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, calc(5 * var(--vw)), 120px);
  max-width: 1872px;
  margin: 0 auto;
  padding: clamp(48px, calc(6 * var(--vw)), 140px) clamp(24px, calc(6 * var(--vw)), 140px);
  border-radius: var(--r-panel);
  /* Photo of paperwork being signed, held still while the panel scrolls
     over it, under an Ink wash that is heaviest behind the text */
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
}
/* The photo used to be a fixed background, which repaints the whole panel
   on every scroll frame. Now it is a sticky layer inside a clipped box:
   it looks the same (held still behind the panel) but the GPU moves it. */
.flow__bg { position: absolute; inset: 0; z-index: -1; overflow: clip; border-radius: inherit; pointer-events: none; }
.flow__bg i {
  position: sticky;
  top: 0;
  display: block;
  height: calc(100 * var(--vh));
  background:
    radial-gradient(40% 50% at 22% 70%, color-mix(in srgb, var(--saffron) 14%, transparent), transparent 70%),
    linear-gradient(90deg, rgba(12, 27, 42, 0.72) 0%, rgba(12, 27, 42, 0.55) 45%, rgba(12, 27, 42, 0.45) 100%),
    url("../img/sections/how-it-works.jpg") center / cover no-repeat;
  will-change: transform;
}
.flow__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.flow__ghost { border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.flow__ghost:hover { background: rgba(255, 255, 255, 0.16); }
/* Phones and tablets: the photo holds still behind the panel too. It is a
   sticky layer (not a fixed background), so it stays smooth on touch
   screens; sized to the small viewport so the address bar never resizes it. */
@media (max-width: 1020px) {
  .flow__bg i { height: calc(100 * var(--svh)); }
}

/* The intro stays in view while the points scroll past */
.flow__intro { position: sticky; top: 140px; align-self: start; }
.flow__eyebrow {
  color: var(--ink-muted);
  font-weight: 700;
  font-size: clamp(12px, calc(0.85 * var(--vw)), 16px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.flow__title {
  max-width: 9em;
  margin-top: 24px;
  font-weight: 800;
  font-size: clamp(38px, calc(4.6 * var(--vw)), 92px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.flow__lede {
  max-width: 28em;
  margin-top: 28px;
  color: var(--ink-muted);
  font-size: clamp(16px, calc(1.2 * var(--vw)), 21px);
  line-height: 1.65;
}

.flow__list { list-style: none; margin: 0; padding: 0; }
.flow__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Tall enough for the step text plus its clip */
  min-height: clamp(560px, 92vh, 940px);
  padding: clamp(28px, calc(3 * var(--vw)), 56px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.26;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.flow__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.flow__item.is-active { opacity: 1; transform: none; }
.flow__num { color: var(--saffron); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; }
.flow__item h3 {
  margin-top: 14px;
  font-weight: 800;
  font-size: clamp(28px, calc(3 * var(--vw)), 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.flow__item p {
  max-width: 34em;
  margin-top: 20px;
  color: var(--ink-muted);
  font-size: clamp(16px, calc(1.2 * var(--vw)), 21px);
  line-height: 1.65;
}

/* Animated product panel under each step's text */
.flow__media {
  width: 100%;
  max-width: 600px;
  margin-top: clamp(24px, calc(2.4 * var(--vw)), 40px);
}

/* Product panel: plays its sequence on a loop (restarted from main.js),
   and rests on its finished state for reduced motion */
.ui {
  position: relative;
  display: grid;
  gap: 14px;
  width: 100%;
  padding: clamp(20px, calc(1.8 * var(--vw)), 30px);
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55);
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
}
.ui__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.ui__title { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.ui__state { display: grid; flex: none; }
.ui__state > span {
  grid-area: 1 / 1;
  justify-self: end;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 13px;
}
.ui__state-a { background: var(--paper); color: var(--slate); opacity: 0; }
.ui__state-b { background: var(--saffron); color: var(--ink); }

.ui__bar { height: 8px; border-radius: var(--r-pill); background: var(--paper); overflow: hidden; }
.ui__bar i { display: block; height: 100%; border-radius: inherit; background: var(--saffron); transform-origin: left; }

.ui__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ui__row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: var(--paper);
}
.ui__ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
  color: var(--slate);
}
.ui__ico svg { width: 20px; height: 20px; }
.ui__txt { display: grid; min-width: 0; }
.ui__txt b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui__txt small { color: var(--slate); font-size: 13px; }
.flow__item .ui p { margin: 0; max-width: none; font-size: 16px; line-height: 1.3; }

.ui__check { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(12, 27, 42, 0.16); }
.ui__check::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--saffron); }
.ui__check svg, .ui__done-ico svg { position: relative; width: 16px; height: 16px; color: var(--ink); }
.ui svg path[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }

.flow__item .ui .ui__done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: var(--r-pill);
  background: var(--saffron);
  color: var(--ink);
  font-weight: 800;
}
.ui__done-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(12, 27, 42, 0.1); }

/* Step 1: the request form */
.ui__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui__field { display: grid; gap: 6px; padding: 14px 16px; border-radius: 18px; background: var(--paper); }
.ui__field span { color: var(--slate); font-size: 13px; }
.ui__field b { justify-self: start; font-weight: 700; white-space: nowrap; }
.ui--form .ui__send, .ui--form .ui__done { grid-row: 4; grid-column: 1; }
.ui__send { display: grid; opacity: 0; visibility: hidden; }
.ui__send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}
.ui__send-btn svg { width: 18px; height: 18px; }

/* Step 3: who is joining, and the working-day track */
.ui__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ui__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
}
.ui__days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ui__days li {
  position: relative;
  overflow: hidden;
  padding: 9px 0;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}
.ui__days li::before { content: ""; position: absolute; inset: 0; background: var(--saffron); transform-origin: left; }
.ui__days li { isolation: isolate; }
.ui__days li::before { z-index: -1; }

@media (prefers-reduced-motion: no-preference) {
  .ui.is-playing { animation: ui-rise 0.7s var(--ease) both; }
  .ui.is-playing .ui__row,
  .ui.is-playing .ui__field,
  .ui.is-playing .ui__bar,
  .ui.is-playing .ui__days { animation: ui-rise 0.6s var(--d) var(--ease) both; }
  .ui.is-playing .ui__state-a { animation: ui-hold-out 0.3s var(--d) ease both; }
  .ui.is-playing .ui__state-b { animation: ui-pop 0.5s var(--d) var(--ease) both; }
  .ui.is-playing .ui__bar i { animation: ui-fill4 2.8s var(--d) linear both; }
  .ui.is-playing .ui__check::before { animation: ui-pop 0.45s var(--c) var(--ease) both; }
  .ui.is-playing .ui__check path { animation: ui-draw 0.35s calc(var(--c) + 0.15s) ease-out both; }
  .ui.is-playing .ui__done { animation: ui-pop 0.55s var(--d) var(--ease) both; }
  .ui.is-playing .ui__done path { animation: ui-draw 0.35s calc(var(--d) + 0.25s) ease-out both; }
  .ui.is-playing .ui__field b { animation: ui-type 0.5s calc(var(--d) + 0.2s) steps(12, end) both; }
  .ui.is-playing .ui__send { animation: ui-send 1.1s var(--d) var(--ease) both; }
  .ui.is-playing .ui__send-btn { animation: ui-press 0.3s calc(var(--d) + 0.45s) ease both; }
  .ui.is-playing .ui__days li::before { animation: ui-fill 0.45s calc(var(--d) + var(--k) * 0.55s) var(--ease) both; }
}

/* ---- Floating dark UI cards (How it works) ----
   The panels sit on the Ink section as lifted dark cards: a raised Ink
   surface, a soft Saffron glow and a slow float. Content and timing stay
   as they were. */
.flow__media .ui {
  --d1: color-mix(in srgb, var(--white) 8%, var(--ink));
  --d2: color-mix(in srgb, var(--white) 13%, var(--ink));
  --line: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 55% at 100% 0%, color-mix(in srgb, var(--saffron) 16%, transparent), transparent 70%),
    linear-gradient(165deg, var(--d2), var(--d1) 60%);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 40px 70px -30px rgba(0, 0, 0, 0.75);
}
.flow__media { animation: ui-float 7s ease-in-out infinite; will-change: translate; }
@keyframes ui-float { 50% { translate: 0 -10px; } }

.flow__media .ui__state-a { background: var(--d2); color: var(--ink-muted); }
.flow__media .ui__bar { background: rgba(255, 255, 255, 0.1); }
.flow__media .ui__bar i { box-shadow: 0 0 14px color-mix(in srgb, var(--saffron) 70%, transparent); }
.flow__media .ui__row,
.flow__media .ui__field,
.flow__media .ui__days li { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--white); }
.flow__media .ui__ico { background: color-mix(in srgb, var(--saffron) 16%, transparent); color: var(--saffron); }
.flow__media .ui__txt small,
.flow__media .ui__field span { color: var(--ink-muted); }
.flow__media .ui__check { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2); }
.flow__media .ui__check::before { box-shadow: 0 0 12px color-mix(in srgb, var(--saffron) 60%, transparent); }
.flow__media .ui__send-btn { background: var(--white); color: var(--ink); }
.flow__media .ui__done { box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--saffron) 80%, transparent); }
.flow__media .ui__days li { color: var(--ink); } /* sits on its Saffron fill */
@media (prefers-reduced-motion: reduce) {
  .flow__media { animation: none; }
}

@keyframes ui-rise { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes ui-pop {
  0% { opacity: 0; transform: scale(0.4); }
  60% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes ui-hold-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ui-draw { from { stroke-dashoffset: 1; } }
@keyframes ui-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ui-fill { from { transform: scaleX(0); } }
@keyframes ui-fill4 {
  0% { transform: scaleX(0); }
  20%, 25% { transform: scaleX(0.25); }
  45%, 50% { transform: scaleX(0.5); }
  70%, 75% { transform: scaleX(0.75); }
  95%, 100% { transform: scaleX(1); }
}
/* The send button shows, is pressed, then gives way to the confirmation */
@keyframes ui-send {
  0% { opacity: 0; visibility: visible; transform: translateY(8px); }
  30%, 75% { opacity: 1; visibility: visible; transform: none; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes ui-press { 50% { transform: scale(0.95); background: var(--slate); } }

@media (max-width: 560px) {
  .ui { padding: 16px; }
  .ui__fields { grid-template-columns: minmax(0, 1fr); }
  /* the send button and the confirmation share one spot, as on desktop */
}

@media (max-width: 1020px) {
  .flow__panel { grid-template-columns: minmax(0, 1fr); }
  /* Same as desktop: the intro holds still while the steps scroll. On a
     phone there is no room beside the steps, so it pins to the top of the
     screen in a compact form, on frosted Ink glass, and the steps slide up
     underneath it. It drops below the site header whenever that slides back. */
  .flow__intro {
    --flow-pad: clamp(24px, calc(6 * var(--vw)), 140px);
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0 calc(-1 * var(--flow-pad));
    padding: 18px var(--flow-pad) 30px;
    background: rgba(12, 27, 42, 0.78);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 26px), rgba(0, 0, 0, 0.5) calc(100% - 13px), transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 26px), rgba(0, 0, 0, 0.5) calc(100% - 13px), transparent 100%);
    transition: top 0.35s var(--ease);
  }
  body:has(.site-header:not(.is-hidden)) .flow__intro { top: 64px; }
  .flow__title { max-width: none; margin-top: 10px; font-size: clamp(26px, 7vw, 44px); line-height: 1.08; }
  .flow__lede { max-width: 40em; margin-top: 10px; font-size: 14px; line-height: 1.5; }
  .flow__ctas { flex-wrap: nowrap; gap: 8px; margin-top: 14px; }
  .flow__ctas .btn { min-height: 42px; padding: 0 16px; font-size: 13px; }
  /* Each step gets the screen below the pinned intro to itself, centred; the
     one in the middle of that space lights up and rises into place while the
     others rest dimmed, and its product panel plays */
  .flow__list { margin-top: 8px; }
  .flow__item { min-height: calc(100 * var(--svh) - 230px); padding: 36px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flow__item { opacity: 1; transform: none; }
}

/* ---------- Stack: Hire from pins, the standard slides over it ---------- */

.stack { position: relative; margin-bottom: clamp(72px, calc(7 * var(--vw)), 128px); }
/* Holds still once its bottom reaches the bottom of the screen (main.js sets
   --stick-top for sections taller than the screen) */
.stack .corridor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100 * var(--svh));
  padding-top: clamp(72px, calc(6 * var(--vw)), 120px);
  position: sticky;
  top: var(--stick-top, 0px);
  z-index: 0;
  /* recedes by dimming only: rescaling this large layer every frame made
     the page stutter */
  opacity: calc(1 - 0.45 * var(--covered, 0));
  will-change: opacity;
}
/* The next section is a Sand sheet with a rounded top edge riding over it */
/* The sheet starts a little over half a screen later, so Hire from stays
   fully in view for a while before it is covered */
.stack .standard {
  /* arrives straight after Hire from; it still slides over it as you scroll */
  margin-top: clamp(16px, calc(2 * var(--vw)), 40px);
  position: relative;
  z-index: 1;
  padding-top: clamp(56px, calc(5 * var(--vw)), 96px);
  border-radius: var(--r-panel) var(--r-panel) 0 0;
  background: var(--sand);
  box-shadow: 0 -30px 60px -36px rgba(12, 27, 42, 0.35);
}
.stack .standard--arc { padding-top: 0; margin-bottom: 0; }

/* ---------- The DAVZON standard ---------- */

/* Base: a plain grid of promise cards (phones, tablets, reduced motion) */
.standard__pin { position: relative; max-width: 1400px; margin: 0 auto; }
.standard__head,
.standard__grid { position: relative; z-index: 1; }

/* Background art: faint glows and sweep lines that fade out at every edge */
.standard__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 1.5%, rgba(0, 0, 0, 0.104) 3%, rgba(0, 0, 0, 0.275) 4.5%, rgba(0, 0, 0, 0.5) 6%, rgba(0, 0, 0, 0.725) 7.5%, rgba(0, 0, 0, 0.896) 9%, rgba(0, 0, 0, 0.984) 10.5%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0.984) 89.5%, rgba(0, 0, 0, 0.896) 91%, rgba(0, 0, 0, 0.725) 92.5%, rgba(0, 0, 0, 0.5) 94%, rgba(0, 0, 0, 0.275) 95.5%, rgba(0, 0, 0, 0.104) 97%, rgba(0, 0, 0, 0.016) 98.5%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 1.5%, rgba(0, 0, 0, 0.104) 3%, rgba(0, 0, 0, 0.275) 4.5%, rgba(0, 0, 0, 0.5) 6%, rgba(0, 0, 0, 0.725) 7.5%, rgba(0, 0, 0, 0.896) 9%, rgba(0, 0, 0, 0.984) 10.5%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0.984) 89.5%, rgba(0, 0, 0, 0.896) 91%, rgba(0, 0, 0, 0.725) 92.5%, rgba(0, 0, 0, 0.5) 94%, rgba(0, 0, 0, 0.275) 95.5%, rgba(0, 0, 0, 0.104) 97%, rgba(0, 0, 0, 0.016) 98.5%, rgba(0, 0, 0, 0) 100%);
}
.standard__bg::before,
.standard__bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.standard__bg::before {
  top: 4%;
  right: -4%;
  width: min(40vw, 600px);
  aspect-ratio: 1.15;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--saffron) 26%, transparent), transparent 100%);
}
.standard__bg::after {
  bottom: 2%;
  left: -6%;
  width: min(38vw, 560px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--saffron) 22%, transparent), transparent 100%);
}
.standard__sweeps {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 2%, rgba(0, 0, 0, 0.104) 4%, rgba(0, 0, 0, 0.275) 6%, rgba(0, 0, 0, 0.5) 8%, rgba(0, 0, 0, 0.725) 10%, rgba(0, 0, 0, 0.896) 12%, rgba(0, 0, 0, 0.984) 14%, rgba(0, 0, 0, 1) 16%, rgba(0, 0, 0, 1) 84%, rgba(0, 0, 0, 0.984) 86%, rgba(0, 0, 0, 0.896) 88%, rgba(0, 0, 0, 0.725) 90%, rgba(0, 0, 0, 0.5) 92%, rgba(0, 0, 0, 0.275) 94%, rgba(0, 0, 0, 0.104) 96%, rgba(0, 0, 0, 0.016) 98%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 2%, rgba(0, 0, 0, 0.104) 4%, rgba(0, 0, 0, 0.275) 6%, rgba(0, 0, 0, 0.5) 8%, rgba(0, 0, 0, 0.725) 10%, rgba(0, 0, 0, 0.896) 12%, rgba(0, 0, 0, 0.984) 14%, rgba(0, 0, 0, 1) 16%, rgba(0, 0, 0, 1) 84%, rgba(0, 0, 0, 0.984) 86%, rgba(0, 0, 0, 0.896) 88%, rgba(0, 0, 0, 0.725) 90%, rgba(0, 0, 0, 0.5) 92%, rgba(0, 0, 0, 0.275) 94%, rgba(0, 0, 0, 0.104) 96%, rgba(0, 0, 0, 0.016) 98%, rgba(0, 0, 0, 0) 100%);
}
.standard__sweeps path { fill: none; stroke: color-mix(in srgb, var(--saffron) 50%, transparent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.standard__sweeps path + path { stroke: color-mix(in srgb, var(--saffron) 32%, transparent); }
.standard__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.standard__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: clamp(32px, calc(3 * var(--vw)), 56px) 0 0;
  padding: 0;
  text-align: left;
}
.promise {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(24px, calc(2.2 * var(--vw)), 40px);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 0 30px 60px -40px rgba(12, 27, 42, 0.35);
}
.promise__num {
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(56px, calc(5.4 * var(--vw)), 104px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.promise__icon {
  position: absolute;
  top: clamp(24px, calc(2.2 * var(--vw)), 40px);
  right: clamp(24px, calc(2.2 * var(--vw)), 40px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--saffron) 22%, var(--white));
  color: var(--ink);
}
.promise h3 {
  margin-top: 18px;
  font-weight: 800;
  font-size: clamp(24px, calc(2 * var(--vw)), 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.promise p {
  margin-top: auto;
  padding-top: 24px;
  color: var(--slate);
  font-size: clamp(16px, calc(1.15 * var(--vw)), 20px);
  line-height: 1.5;
}
/* Each card carries a blurred photo for its promise under a tint of the
   card's own colour (--tint), so the text stays easy to read */
.promise { --tint: var(--white); isolation: isolate; overflow: hidden; }
.promise::before,
.promise::after { content: ""; position: absolute; pointer-events: none; }
.promise::before {
  inset: -24px;
  z-index: -2;
  background: var(--bg) center / cover no-repeat;
  filter: blur(3px) saturate(0.95);
}
.promise::after {
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--tint) 62%, transparent);
  transition: background-color 0.3s var(--ease);
}

/* Photos (Pexels): salary 6901511, insurance 7579824, up front 3833052,
   India-direct 36665297, recruiters 5439455, data 411227 */
.promise:nth-child(1) { --bg: url("../img/promises/salary.jpg"); }
.promise:nth-child(2) { --bg: url("../img/promises/insurance.jpg"); }
.promise:nth-child(3) { --bg: url("../img/promises/upfront.jpg"); }
.promise:nth-child(4) { --bg: url("../img/promises/direct.jpg"); }
.promise:nth-child(5) { --bg: url("../img/promises/recruiters.jpg"); }
.promise:nth-child(6) { --bg: url("../img/promises/data.jpg"); }

/* Every third card in Saffron, so the run of white has a rhythm */
.promise:nth-child(3n + 2) { --tint: var(--saffron); background: var(--saffron); }
.promise:nth-child(3n + 2) p { color: var(--ink); }
.promise:nth-child(3n + 2) .promise__icon { background: rgba(255, 255, 255, 0.55); }

.standard__lede {
  max-width: 30em;
  margin-top: 14px;
  color: var(--slate);
  font-size: clamp(16px, calc(1.2 * var(--vw)), 21px);
  line-height: 1.5;
}
.standard__progress { display: none; }

/* ---- Mini visual in the middle of each card ----
   Drawn with two tones: --v-ink (lines, figures) and --v-fill (chips). On
   the arc they are grey on the cards that wait and Ink and white on the
   Saffron card in the middle. GSAP plays each one as its card arrives. */
.promise__vis {
  --v-ink: var(--ink);
  --v-fill: var(--paper);
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--v-ink);
  font-size: 14px;
  line-height: 1.3;
  transition: color 0.4s var(--ease);
}
.promise__vis * { transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); }
.vis__tag {
  justify-self: start;
  padding: 3px 9px;
  border: 1px dashed currentColor;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.vis-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* 01 payslip strip */
.vis-slip__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--v-fill);
}
.vis-slip__row b { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }

/* 02 insurance card */
.vis-ins__card { display: grid; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--v-fill); }
.vis-ins__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vis-ins__top b { font-weight: 800; }
.vis-ins__pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 7px;
  border-radius: var(--r-pill);
  background: var(--v-ink);
  color: var(--v-fill);
  font-weight: 700;
  font-size: 12px;
}
.vis-ins__pill svg { width: 13px; height: 13px; }
.vis-ins__member { opacity: 0.75; font-size: 13px; }

/* 03 receipt with figures that roll down to $0 */
.vis-receipt { grid-template-columns: 1fr auto; align-items: center; padding: 12px 16px; border-radius: 16px; background: var(--v-fill); }
.vis-receipt__rows { display: grid; gap: 4px; }
.vis-receipt__rows > span { display: flex; justify-content: space-between; gap: 12px; padding-right: 16px; border-right: 1px dashed currentColor; }
.roll { display: inline-block; height: 1.25em; overflow: hidden; line-height: 1.25; font-weight: 800; vertical-align: bottom; }
.roll__strip { display: flex; flex-direction: column; transform: translateY(-75%); }
.vis-receipt__big { font-size: 40px; letter-spacing: -0.04em; padding-left: 14px; }

/* 04 route without a middleman */
.vis-route { grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: center; padding-top: 26px; }
.vis-route__node {
  position: relative;
  z-index: 1;
  padding: 7px 11px;
  border-radius: var(--r-pill);
  background: var(--v-fill);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.vis-route__node--us { background: var(--v-ink); color: var(--v-fill); }
.vis-route__line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: calc(26px + 50%);
  border-top: 2px dashed currentColor;
  translate: 0 -13px;
  clip-path: inset(0 0 0 0);
}
.vis-route__mid {
  position: absolute;
  top: 0;
  left: 18%;
  font-size: 12px;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.55;
}

/* 05 recruiters and a shortlist message */
.vis-team { grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.vis-team__faces { display: flex; }
.vis-team__faces i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -10px;
  border: 2px solid var(--v-fill);
  border-radius: 50%;
  background: var(--v-ink);
  color: var(--v-fill);
  font-style: normal;
  font-weight: 800;
  font-size: 11px;
}
.vis-team__faces i:first-child { margin-left: 0; }
.vis-team__bubble { display: grid; gap: 5px; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: var(--v-fill); }
.vis-team__text { font-weight: 700; min-height: 1.3em; }

/* 06 padlock with its two badges */
.vis-lock { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
.vis-lock__icon { width: 56px; height: 56px; }
.vis-lock__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.vis-lock__badges span { padding: 7px 12px; border-radius: var(--r-pill); background: var(--v-fill); font-weight: 800; font-size: 13px; }

/* With motion, on every screen size: the section pins and the cards ride a wide arc,
   turning one card per stretch of scroll. main.js places each card along
   the arc and sets --focus: 1 for the card in the middle, 0 a card away. */
.standard--arc { height: calc(375 * var(--svh)); padding: 0; margin-bottom: clamp(72px, calc(7 * var(--vw)), 128px); }
.standard--arc .standard__pin {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  max-width: none;
  height: calc(100 * var(--svh));
  /* The nav slides away while scrolling down, so the heading can sit high */
  padding-top: clamp(36px, calc(2.6 * var(--vw)), 56px);
  overflow: hidden;
}
.standard--arc .standard__progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  color: var(--slate);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.standard__bar { width: clamp(180px, calc(16 * var(--vw)), 300px); height: 4px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
.standard__bar i { display: block; height: 100%; border-radius: inherit; background: var(--saffron); transform-origin: left; transform: scaleX(0); }
.standard__count b { color: var(--ink); font-weight: 800; }
.standard--arc .standard__grid {
  --card-w: clamp(360px, calc(33 * var(--vw)), 660px);
  position: relative;
  display: block;
  flex: 1 1 auto;
  margin-top: clamp(14px, calc(1.2 * var(--vw)), 24px);
}
.standard--arc .promise,
.standard--arc .promise:nth-child(3n + 2) {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-w);
  min-height: 0;
  height: calc(var(--card-w) * 0.94);
  margin-left: calc(var(--card-w) / -2);
  padding: calc(var(--card-w) * 0.075);
  will-change: transform;
  /* The middle card turns Saffron with a deep shadow; the rest keep Ink
     text on a light wash and sit smaller and tilted (main.js), so the
     middle one clearly stands out */
  --tint: color-mix(in srgb, var(--saffron) calc(var(--focus, 0) * 100%), var(--white));
  --fg: var(--ink);
  color: var(--fg);
  background: color-mix(in srgb, var(--saffron) calc(var(--focus, 0) * 100%), color-mix(in srgb, var(--white) 72%, transparent));
  box-shadow: 0 50px 90px -40px rgba(12, 27, 42, calc(0.08 + 0.55 * var(--focus, 0)));
}
/* Photo wash: light on waiting cards, fuller Saffron on the middle one */
.standard--arc .promise::after { background: color-mix(in srgb, var(--tint) calc(70% + 16% * var(--focus, 0)), transparent); }
.standard--arc .promise__num { color: var(--fg); }
.standard--arc .promise p { color: var(--fg); font-size: clamp(15px, calc(var(--card-w) * 0.042), 18px); padding-top: 14px; }
.standard--arc .promise__num { font-size: calc(var(--card-w) * 0.17); }
.standard--arc .promise h3 { margin-top: 12px; font-size: calc(var(--card-w) * 0.07); }
.standard--arc .promise__icon { color: var(--ink); background: color-mix(in srgb, var(--white) calc(55% + 45% * (1 - var(--focus, 0))), var(--saffron)); }
.standard--arc .promise__vis { zoom: var(--vis-zoom, 1); }
.standard--arc .promise__vis { --v-ink: color-mix(in srgb, var(--slate) 55%, var(--white)); --v-fill: var(--paper); }
.standard--arc .promise.is-active .promise__vis { --v-ink: var(--ink); --v-fill: var(--white); }

@media (max-width: 1020px) {
  .standard__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Phones and tablets ride the arc too: one card fills most of the width,
     its neighbours peek in from the sides */
  .standard--arc .standard__grid { --card-w: min(calc(100 * var(--vw) - 56px), 440px); }
  .standard--arc .standard__pin { padding-top: 84px; }
  .standard--arc .standard__head { padding-inline: var(--gutter); }
  .standard--arc .promise h3 { font-size: clamp(20px, calc(var(--card-w) * 0.075), 28px); }
  .standard--arc .promise p { font-size: 15px; padding-top: 10px; }
}
@media (max-width: 600px) {
  .standard__grid { grid-template-columns: minmax(0, 1fr); }
  .promise { min-height: 240px; }
}

@media (max-width: 1020px) {
  .corridor__panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .corridor__faq ul { grid-template-columns: minmax(0, 1fr); }
  .tab { padding: 0 16px; }
}

/* ---------- Left-aligned blocks (stories, FAQ) ---------- */

.stories,
.faqs { padding: 0 16px clamp(72px, calc(7 * var(--vw)), 128px); }

.block,
.faqs__inner { max-width: 1400px; margin: 0 auto; }

.block__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(24px, calc(2.4 * var(--vw)), 40px);
}
.block__title {
  margin-top: 18px;
  font-weight: 800;
  font-size: clamp(32px, calc(3.4 * var(--vw)), 60px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}
.round-btn:hover { transform: translateY(-2px); }
.round-btn--ink { background: var(--ink); color: var(--white); }

.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease);
}
.pill-link:hover { transform: translateY(-2px); }

/* ---------- Client stories ---------- */

.stories__nav { display: flex; gap: 8px; }

.stories__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}
.story {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: clamp(22px, calc(2 * var(--vw)), 32px);
  border-radius: var(--r-card);
  background: var(--white);
  animation: rise 0.5s var(--ease) both;
}
.story[data-slot=""] { display: none; }
.story[data-slot="main"] {
  grid-row: 1 / span 2;
  justify-content: space-between;
  padding: clamp(28px, calc(3 * var(--vw)), 52px);
  background: var(--saffron);
}
.story__mark { font-weight: 800; font-size: 56px; line-height: 0.6; height: 24px; }
.story[data-slot="side"] .story__mark { display: none; }
.story blockquote { margin: 0; }
.story blockquote p { color: var(--slate); font-size: 15px; line-height: 1.6; }
.story[data-slot="side"] blockquote p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story[data-slot="main"] blockquote p {
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(20px, calc(1.6 * var(--vw)), 28px);
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.story figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.story figcaption > span:last-child { display: grid; }
.story figcaption b { font-weight: 800; font-size: 15px; }
.story figcaption small { color: var(--slate); font-size: 13px; }
.story[data-slot="main"] figcaption small { color: var(--ink); }
.story__avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--saffron);
  font-weight: 800;
  font-size: 14px;
}

/* ---------- Roles we hire ---------- */

.roles { padding: 0 12px clamp(72px, calc(7 * var(--vw)), 128px); }
.roles__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, calc(4 * var(--vw)), 80px);
  max-width: 1872px;
  margin: 0 auto;
  padding: clamp(36px, calc(5 * var(--vw)), 96px) clamp(24px, calc(6 * var(--vw)), 140px);
  border-radius: var(--r-panel);
  /* Photo of two professionals at a laptop (Pexels 4308099) under an Ink
     wash, heaviest on the left behind the heading and salary search */
  background:
    linear-gradient(90deg, rgba(12, 27, 42, 0.92) 0%, rgba(12, 27, 42, 0.82) 45%, rgba(12, 27, 42, 0.7) 100%),
    url("../img/sections/roles.jpg") center 35% / cover no-repeat,
    var(--ink);
  color: var(--white);
}
.eyebrow--dark { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.roles__title {
  margin-top: 20px;
  font-weight: 800;
  font-size: clamp(34px, calc(3.6 * var(--vw)), 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.salary { margin-top: clamp(24px, calc(2 * var(--vw)), 36px); }
.salary__label { display: block; font-weight: 600; font-size: 15px; color: var(--ink-muted); }
.salary__field {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 480px;
  margin-top: 10px;
  padding: 6px 6px 6px 22px;
  border-radius: var(--r-pill);
  background: var(--white);
}
.salary__field input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 16px var(--font);
}
.salary__field input:focus { outline: none; }
.salary__field:focus-within { outline: 3px solid var(--saffron); outline-offset: 3px; }

.salary__result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  max-width: 480px;
  margin-top: 12px;
  padding: 16px 22px;
  border-radius: var(--r-tile);
  background: color-mix(in srgb, var(--ink) 88%, var(--white));
}
.salary__result span { font-weight: 700; font-size: 15px; }
.salary__result b { font-weight: 800; font-size: 20px; }
.salary__result small { color: var(--ink-muted); font-size: 13px; }

.roles__more {
  display: inline-block;
  margin-top: 22px;
  font-weight: 700;
  font-size: 15px;
  text-underline-offset: 4px;
}

.roles__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.roles__chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: clamp(14px, calc(1 * var(--vw)), 17px);
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.roles__chips a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }

/* ---------- FAQ ---------- */

.faqs__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(24px, calc(4 * var(--vw)), 80px);
}
.faqs__intro { position: sticky; top: 120px; }
.faqs__title { max-width: 8em; }

/* Call card under the heading */
.faqs__call {
  display: grid;
  justify-items: start;
  margin-top: clamp(28px, calc(2.6 * var(--vw)), 44px);
  padding: clamp(24px, calc(2.2 * var(--vw)), 36px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--r-card);
  background:
    radial-gradient(70% 60% at 0% 0%, color-mix(in srgb, var(--saffron) 12%, transparent), transparent 70%),
    var(--white);
  box-shadow: 0 30px 60px -40px rgba(12, 27, 42, 0.35);
}
.faqs__avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 12px 30px -8px color-mix(in srgb, var(--saffron) 70%, transparent);
}
.faqs__avatar img { width: 34px; height: auto; }
.faqs__call h3 {
  margin-top: 24px;
  font-weight: 800;
  font-size: clamp(24px, calc(2 * var(--vw)), 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.faqs__call > p:not(.faqs__note) {
  max-width: 26em;
  margin-top: 12px;
  color: var(--slate);
  font-size: clamp(15px, calc(1.05 * var(--vw)), 18px);
  line-height: 1.6;
}
.faqs__btn { justify-self: stretch; min-height: 56px; margin-top: clamp(24px, calc(2.2 * var(--vw)), 36px); }
.faqs__note { justify-self: center; margin-top: 16px; color: var(--slate); font-size: 15px; }
.faqs__note a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

/* Questions: each one its own soft card; + turns into × when open */
.faqs__list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  align-self: stretch; /* bottom lines up with the call card */
}
.faq {
  interpolate-size: allow-keywords;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background:
    radial-gradient(60% 140% at 85% 0%, color-mix(in srgb, var(--saffron) 9%, transparent), transparent 70%),
    var(--white);
  box-shadow: 0 20px 40px -34px rgba(12, 27, 42, 0.4);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 18px 26px;
  font-weight: 600;
  font-size: clamp(17px, calc(1.25 * var(--vw)), 22px);
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 24px; }
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  transition: transform 0.35s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  border-radius: 2px;
  background: var(--ink);
}
.faq__icon::after { transform: rotate(90deg); }
.faq[open] .faq__icon { transform: rotate(45deg); }
.faq p {
  max-width: 52em;
  padding: 0 26px 24px;
  color: var(--slate);
  font-size: clamp(15px, calc(1.05 * var(--vw)), 18px);
  line-height: 1.7;
}
/* Answers slide open where the browser supports it */
.faq::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.faq[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) {
  .faq::details-content, .faq__icon { transition: none; }
}

@media (max-width: 1020px) {
  .stories__grid { grid-template-columns: minmax(0, 1fr); }
  .story[data-slot="main"] { grid-row: auto; }
  .roles__panel { grid-template-columns: minmax(0, 1fr); }
  .faqs__inner { grid-template-columns: minmax(0, 1fr); }
  .faqs__intro { position: static; }
}
@media (max-width: 600px) {
  .block__head { flex-direction: column; align-items: flex-start; }
  .roles__panel { border-radius: var(--r-card); }
}

/* ---------- Footer ---------- */

.footer__panel {
  --fp-top: clamp(40px, calc(5 * var(--vw)), 96px);
  --fp-side: clamp(24px, calc(5 * var(--vw)), 112px);
  padding: var(--fp-top) var(--fp-side) 0;
  /* One flat Ink blue for the call to action and the links alike */
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
}
/* Team photo (Pexels 7581120) filling the call-to-action band only, edge to
   edge and down to its divider line, tinted by the Ink behind it */
.footer__cta { position: relative; }
.footer__cta::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--fp-top)) calc(-1 * var(--fp-side)) 0;
  z-index: -1;
  background: url("../img/sections/footer-team.jpg") center 30% / cover no-repeat;
  opacity: 0.32;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

/* Closing call to action */
.footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px clamp(24px, calc(4 * var(--vw)), 80px);
  padding-bottom: clamp(40px, calc(4.5 * var(--vw)), 80px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__title {
  max-width: 13em;
  font-weight: 800;
  font-size: clamp(34px, calc(3.8 * var(--vw)), 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.footer__lede {
  max-width: 30em;
  margin-top: 20px;
  color: var(--ink-muted);
  font-size: clamp(16px, calc(1.2 * var(--vw)), 21px);
  line-height: 1.6;
}
.footer__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.footer__btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* Brand and link columns */
.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 40px clamp(24px, calc(3 * var(--vw)), 64px);
  padding: clamp(40px, calc(4.5 * var(--vw)), 80px) 0;
}
.footer__brand { display: grid; justify-items: start; align-content: start; gap: 18px; }
.footer__logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--r-tile);
  background: var(--white);
}
.footer__logo img { width: 34px; height: auto; }
.footer__brand p { max-width: 24em; color: var(--ink-muted); font-size: 16px; line-height: 1.65; }
.footer__mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--saffron);
  font-weight: 800;
  font-size: clamp(18px, calc(1.3 * var(--vw)), 24px);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.footer__mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__brand .footer__offices { font-size: 14px; }

/* Social links and direct contact under the footer brand */
.footer__social { display: flex; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-muted);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__social a:hover { background: var(--saffron); color: var(--ink); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__contact { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer__contact a:hover { color: var(--saffron); }
.footer__flag { flex: none; width: 26px; height: 18px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
.footer__flag svg { display: block; width: 100%; height: 100%; }
.footer__contact .footer__ico { display: grid; place-items: center; flex: none; width: 26px; color: var(--saffron); }
.footer__contact .footer__ico svg { width: 20px; height: 20px; }
.footer__vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.footer__col h2 {
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer__col ul { list-style: none; margin: 14px 0 0; padding: 0; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--saffron); }

/* Legal line */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink-muted);
  font-size: 14px;
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; margin: 0; padding: 0; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-muted); text-decoration: none; }
.footer__bottom a:hover { color: var(--white); }

@media (max-width: 1020px) {
  .footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__ctas, .footer__ctas .btn { width: 100%; }
}

/* ---------- Trust strip ---------- */

.trust {
  padding: clamp(40px, calc(4 * var(--vw)), 110px) 0 clamp(64px, calc(7.5 * var(--vw)), 200px);
  text-align: center;
}

/* Small spaced-out caps line, then a large headline */
.trust__head {
  display: grid;
  justify-items: center;
  gap: clamp(10px, calc(0.9 * var(--vw)), 20px);
  padding-inline: 16px;
}
.trust__eyebrow {
  color: var(--slate);
  font-weight: 700;
  font-size: clamp(12px, calc(0.85 * var(--vw)), 18px);
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-wrap: balance;
}
.trust__title {
  max-width: 22em;
  font-weight: 800;
  font-size: clamp(30px, calc(3 * var(--vw)), 72px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
/* Saffron marker stroke behind Ink text (Saffron is never text on light) */
.marker {
  padding: 0 0.06em;
  background: linear-gradient(transparent 50%, var(--saffron) 50%, var(--saffron) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Logos drift slowly in a loop; edges fade into the Sand page */
.trust__marquee {
  display: flex;
  margin-top: clamp(40px, calc(4.4 * var(--vw)), 110px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 1.5%, rgba(0, 0, 0, 0.104) 3%, rgba(0, 0, 0, 0.275) 4.5%, rgba(0, 0, 0, 0.5) 6%, rgba(0, 0, 0, 0.725) 7.5%, rgba(0, 0, 0, 0.896) 9%, rgba(0, 0, 0, 0.984) 10.5%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0.984) 89.5%, rgba(0, 0, 0, 0.896) 91%, rgba(0, 0, 0, 0.725) 92.5%, rgba(0, 0, 0, 0.5) 94%, rgba(0, 0, 0, 0.275) 95.5%, rgba(0, 0, 0, 0.104) 97%, rgba(0, 0, 0, 0.016) 98.5%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 1.5%, rgba(0, 0, 0, 0.104) 3%, rgba(0, 0, 0, 0.275) 4.5%, rgba(0, 0, 0, 0.5) 6%, rgba(0, 0, 0, 0.725) 7.5%, rgba(0, 0, 0, 0.896) 9%, rgba(0, 0, 0, 0.984) 10.5%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0.984) 89.5%, rgba(0, 0, 0, 0.896) 91%, rgba(0, 0, 0, 0.725) 92.5%, rgba(0, 0, 0, 0.5) 94%, rgba(0, 0, 0, 0.275) 95.5%, rgba(0, 0, 0, 0.104) 97%, rgba(0, 0, 0, 0.016) 98.5%, rgba(0, 0, 0, 0) 100%);
}
.trust__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(48px, calc(5 * var(--vw)), 96px);
  padding-right: clamp(48px, calc(5 * var(--vw)), 96px);
  animation: marquee 40s linear infinite;
}
.trust__marquee:hover .trust__track { animation-play-state: paused; }

.trust__track img {
  width: auto;
  height: clamp(32px, calc(2.6 * var(--vw)), 48px);
  max-width: none;
  transition: transform 0.3s var(--ease);
}
.trust__track img:hover { transform: scale(1.06); }
/* Gentili's mark is white: shown dark so it reads on Sand */
.trust__track img[src*="gentili"] { filter: brightness(0.2); }
/* Wide wordmarks read larger than square marks: even them out */
.trust__track img[src*="jd-power"] { height: clamp(20px, calc(1.6 * var(--vw)), 30px); }
.trust__track img[src*="ucs-prime"],
.trust__track img[src*="bison-rubber"] { height: clamp(40px, calc(3.2 * var(--vw)), 60px); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust__marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .trust__track { flex-wrap: wrap; justify-content: center; padding: 0 16px; row-gap: 24px; }
  .trust__track[aria-hidden="true"] { display: none; }
}

/* ---------- Entrance motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.reveal { animation: rise 0.8s var(--ease) both; }
.hero__content .reveal:nth-child(2) { animation-delay: 100ms; }
.hero__content .reveal:nth-child(3) { animation-delay: 200ms; }

/* ---------- Dark hero over the night-office photo ---------- */

.hero {
  background: var(--ink);
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/rpo/hero-laptop.webp") 50% 73% / cover no-repeat;
}
/* Ink wash: dark on the left behind the copy, clear on the right so the
   lit desk and the two people stay bright */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 27, 42, 0.9) 0%, rgba(12, 27, 42, 0.72) 30%, rgba(12, 27, 42, 0.28) 55%, rgba(12, 27, 42, 0.27) 57.8%, rgba(12, 27, 42, 0.221) 60.7%, rgba(12, 27, 42, 0.14) 63.5%, rgba(12, 27, 42, 0.059) 66.3%, rgba(12, 27, 42, 0.01) 69.2%, rgba(12, 27, 42, 0) 72%),
    linear-gradient(180deg, rgba(12, 27, 42, 0.35) 0%, rgba(12, 27, 42, 0.338) 5%, rgba(12, 27, 42, 0.277) 10%, rgba(12, 27, 42, 0.175) 15%, rgba(12, 27, 42, 0.073) 20%, rgba(12, 27, 42, 0.012) 25%, rgba(12, 27, 42, 0) 30%);
}

/* Phones: the photo sits behind all the copy, so the wash covers it evenly */
@media (max-width: 600px) {
  .hero__bg { background-position: 78% center; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(12, 27, 42, 0.6) 0%, rgba(12, 27, 42, 0.78) 100%); }
}

.hero .hero__lede { color: var(--white); text-wrap: pretty; }

/* "employ" and "pay" stay Saffron on the dark photo; the sweep still passes the rest */
.hero__accent { -webkit-text-fill-color: var(--saffron); }
.hero .btn--ink { background: var(--saffron); color: var(--ink); }
.hero .btn--ink:hover { box-shadow: 0 12px 28px -12px rgba(242, 169, 59, 0.75); }
.hero :focus-visible { outline-color: var(--saffron); }

/* Headline sweep on dark: white at rest, the Saffron band passes through */
.hero .sweep {
  --sweep-rest: var(--white);
  --sweep-light: color-mix(in srgb, var(--saffron) 55%, var(--white));
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .nav-list a { padding: 0 11px; }
  .nav-actions .nav-link { display: none; }
}

/* Desktop sizes, matched to the approved 1903px-wide screenshot and
   scaled with screen width (values reach those sizes at ~1900px). */
@media (min-width: 1021px) {
  .site-header { padding-top: 18px; }
  .header-wrap { padding-inline: clamp(24px, calc(4.3 * var(--vw)), 96px); }
  .nav-bar { min-height: clamp(64px, calc(4.2 * var(--vw)), 80px); padding: 0 10px 0 clamp(20px, calc(1.4 * var(--vw)), 26px); }
  .brand img { height: clamp(38px, calc(2.5 * var(--vw)), 48px); }
  .nav-list a,
  .nav-link { padding: 0 clamp(11px, calc(1.05 * var(--vw)), 20px); font-size: clamp(15px, calc(1 * var(--vw)), 19px); }
  .nav-actions { gap: clamp(14px, calc(1.6 * var(--vw)), 30px); }
  .nav-actions .btn--sm { min-height: clamp(48px, calc(3.15 * var(--vw)), 60px); padding: 0 clamp(22px, calc(1.5 * var(--vw)), 28px); font-size: clamp(15px, calc(1 * var(--vw)), 19px); }

  .hero { --header-h: calc(20px + clamp(60px, calc(4.2 * var(--vw)), 80px)); }

  /* Hero only: a further 75% on top of the page's 85% (the size approved at
     75% browser zoom). Screen units are compensated for the combined zoom
     (0.85 x 0.75), and the top padding still clears the full-size nav. */
  .hero {
    zoom: 0.75;
    --vw: calc(1vw / 0.6375);
    --vh: calc(1vh / 0.6375);
    --svh: calc(1svh / 0.6375);
    padding-top: calc(var(--header-h) / 0.75);
    /* At least one full screen, so the first view is the hero alone */
    min-height: calc(100 * var(--svh));
  }
  /* Copy on the left, every size scaled with screen width so the layout
     keeps the approved proportions (reference: 1657px-wide window) */
  .hero__content {
    padding-block: clamp(24px, calc(2.6 * var(--vw)), 56px) calc(5.2 * var(--vw));
    padding-inline: calc(7.97 * var(--vw) - 16px);
  }
  .hero__title { font-size: clamp(42px, calc(4.43 * var(--vw)), 170px); }
  .hero__lede { max-width: 31.5em; margin-top: calc(1.48 * var(--vw)); font-size: clamp(17px, calc(1.24 * var(--vw)), 40px); }
  .hero__ctas { margin-top: calc(2.2 * var(--vw)); gap: calc(1.09 * var(--vw)); }
  .hero__ctas .btn { min-height: clamp(48px, calc(3.92 * var(--vw)), 120px); padding: 0 calc(2.2 * var(--vw)); font-size: clamp(15px, calc(1.15 * var(--vw)), 36px); }
}

/* Tall portrait tablets: size the hero to its content instead of the
   full screen, so no large gap opens above the word */
@media (min-width: 601px) and (orientation: portrait) {
  .hero { height: auto; }
  .hero__content { padding-block: 120px 96px; }
}

@media (max-width: 1020px) {
  .nav, .nav-actions { display: none; }
  .nav-bar { min-height: 64px; padding: 0 8px 0 18px; }
  .menu-toggle { display: inline-flex; }
  .header-wrap { padding-inline: 16px; }

  .br-wide { display: none; }
  .hero__title { max-width: 12em; white-space: normal; text-wrap: balance; }

}

@media (max-width: 600px) {
  .site-header { padding-top: 12px; }
  .header-wrap { padding-inline: 12px; }
  .brand img { height: 36px; }

  .hero { --header-h: 64px; }
  .hero__title { font-size: clamp(36px, min(calc(11 * var(--vw)), calc(5.6 * var(--vh))), 46px); line-height: 1.04; }
  .hero__lede { margin-top: 18px; text-wrap: pretty; }
  .hero__ctas { flex-direction: column; align-self: stretch; margin-top: 24px; }
  .hero__ctas .btn { width: 100%; }

}

/* ---------- Header, desktop: full-width bar with dropdown menus ---------- */

/* Dropdowns and their dim layer only exist on desktop */
.mega,
.nav-scrim { display: none; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.nav-trigger__chev { transition: transform 0.25s var(--ease); }
.nav-trigger[aria-expanded="true"] .nav-trigger__chev { transform: rotate(180deg); }

@media (min-width: 1021px) {
  .site-header { padding-top: 0; }

  /* The header box: clear over the page, a white panel while a menu is open */
  .header-wrap {
    width: auto;
    max-width: none;
    margin: 10px;
    padding-inline: 0;
    border-radius: 24px;
    transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }

  .nav-bar,
  .site-header.is-scrolled .nav-bar,
  .site-header.is-on-dark .nav-bar {
    justify-content: flex-start;
    gap: clamp(20px, calc(2.4 * var(--vw)), 48px);
    min-height: clamp(60px, calc(4.2 * var(--vw)), 80px);
    padding: 0 clamp(20px, calc(2.9 * var(--vw)), 56px);
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .nav { justify-content: flex-start; }
  .nav-actions { margin-left: auto; }

  .nav-list a,
  .nav-trigger,
  .nav-link {
    padding: 0 clamp(10px, calc(0.8 * var(--vw)), 16px);
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: clamp(15px, calc(1 * var(--vw)), 18px);
    transition: background-color 0.2s, color 0.35s var(--ease);
  }
  .nav-trigger:hover,
  .nav-trigger[aria-expanded="true"] { background: rgba(12, 27, 42, 0.06); }
  .site-header.is-on-dark .nav-trigger { color: var(--white); }
  .site-header.is-on-dark .nav-trigger:hover { background: rgba(255, 255, 255, 0.14); }

  /* Past the hero: a frosted band across the top so content blurs behind it */
  .site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--sand) 72%, transparent);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(12, 27, 42, 0.06);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
  }
  .site-header.is-scrolled:not(.is-on-dark)::before { opacity: 1; }
  /* Still over the hero but scrolled: a dark frosted band, so the white links
     never sit straight on the headline or photo. The band stays dark over the
     hero even while it fades out at the very top, so it never flashes light. */
  .site-header.is-on-dark::before {
    background: rgba(12, 27, 42, 0.55);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .site-header.is-scrolled.is-on-dark::before { opacity: 1; }

  /* Menu open: white panel with Ink links, page dimmed behind */
  .site-header.is-menu-open::before { opacity: 0; }
  .site-header.is-menu-open .header-wrap {
    background: var(--white);
    box-shadow: 0 40px 80px -40px rgba(12, 27, 42, 0.45);
  }
  .site-header.is-menu-open .nav-list a,
  .site-header.is-menu-open .nav-trigger,
  .site-header.is-menu-open .nav-link { color: var(--ink); }
  .site-header.is-menu-open .nav-list a:hover,
  .site-header.is-menu-open .nav-trigger:hover,
  .site-header.is-menu-open .nav-link:hover,
  .site-header.is-menu-open .nav-trigger[aria-expanded="true"] { background: var(--paper); }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: -2;
    background: rgba(12, 27, 42, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .site-header.is-menu-open .nav-scrim { opacity: 1; pointer-events: auto; }

  /* Dropdown panels */
  .mega { display: block; padding: 0 clamp(20px, calc(2.9 * var(--vw)), 56px) clamp(20px, calc(2 * var(--vw)), 36px); }
  .mega[hidden] { display: none; }
  .mega:not([hidden]) { animation: mega-in 0.3s var(--ease) both; }
  .mega__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
    gap: clamp(20px, calc(2 * var(--vw)), 40px);
    padding-top: clamp(16px, calc(1.4 * var(--vw)), 24px);
    border-top: 1px solid rgba(12, 27, 42, 0.08);
  }
  .mega__label {
    padding-left: 12px;
    color: var(--slate);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .mega__grid { list-style: none; display: grid; gap: 4px 16px; margin: 12px 0 0; padding: 0; }
  .mega__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega__grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .mega__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 44px;
    padding: 12px;
    border-radius: var(--r-tile);
    color: var(--ink);
    text-decoration: none;
    transition: background-color 0.2s var(--ease);
  }
  .mega__item:hover { background: var(--paper); }
  .mega__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    transition: background-color 0.2s var(--ease);
  }
  .mega__item:hover .mega__icon { background: var(--saffron); }
  .mega__code { font-weight: 800; font-size: 13px; letter-spacing: 0.04em; }
  .mega__copy { display: grid; gap: 4px; min-width: 0; padding-top: 2px; }
  .mega__copy b { font-weight: 700; font-size: 16px; }
  .mega__copy small { color: var(--slate); font-size: 14px; line-height: 1.45; }

  .mega__feature {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    padding: 26px;
    border-radius: 24px;
    background:
      radial-gradient(70% 60% at 100% 0%, color-mix(in srgb, var(--saffron) 22%, transparent), transparent 70%),
      var(--ink);
    color: var(--white);
    text-decoration: none;
  }
  .mega__feature-eyebrow { color: var(--saffron); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
  .mega__feature b { font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
  .mega__feature small { color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
  .mega__feature-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--saffron); font-weight: 700; }
  .mega__feature:hover .mega__feature-cta span { transform: translateX(3px); }
  .mega__feature-cta span { transition: transform 0.2s var(--ease); }
}

@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Hire from your country ----------
   One Ink panel with the chosen country's skyline at dusk behind it. Big
   country names act as tabs (a Saffron bar slides under the chosen one),
   live clocks for the client's city and India sit top right, and the
   panel below gives the pitch and the questions we answer. */
.hf { align-items: stretch; text-align: left; width: 100%; max-width: 1520px; }
.hf__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(calc(100 * var(--svh) - 140px), 820px);
  border-radius: var(--r-panel) 160px var(--r-panel) var(--r-panel);
  background: var(--ink);
  color: var(--white);
}
.hf__media { position: absolute; inset: 0; z-index: -2; }
.hf__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hf__photo.is-on { opacity: 1; }
/* Ink veil: solid on the left where the text sits, the city showing through on the right */
.hf__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 88%, transparent) 38%, color-mix(in srgb, var(--ink) 35%, transparent) 75%, color-mix(in srgb, var(--ink) 20%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--ink) 85%, transparent) 0%, transparent 45%);
}
.hf__content {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, calc(2.4 * var(--vw)), 40px);
  min-height: inherit;
  padding: clamp(28px, calc(3.6 * var(--vw)), 64px);
}
.hf__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.hf__title { max-width: 12em; margin-top: 18px; font-weight: 800; font-size: clamp(34px, calc(3.6 * var(--vw)), 64px); line-height: 1.02; letter-spacing: -0.045em; }

/* Live clocks */
.hf__time {
  display: grid;
  grid-template-columns: auto minmax(70px, 120px) auto;
  align-items: end;
  gap: 4px 12px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: color-mix(in srgb, var(--ink) 45%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hf__clock small { display: block; color: var(--ink-muted); font-weight: 600; font-size: 13px; }
.hf__clock b { font-weight: 800; font-size: clamp(22px, calc(1.8 * var(--vw)), 32px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hf__clock--in { text-align: right; }
.hf__clock--in b { color: var(--saffron); }
.hf__arc { width: 100%; height: 36px; overflow: visible; margin-bottom: 8px; }
.hf__arc-line { fill: none; stroke: color-mix(in srgb, var(--saffron) 65%, transparent); stroke-width: 2; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.hf__arc-dot { fill: var(--saffron); }
.hf__nine { grid-column: 1 / -1; margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: var(--ink-muted); font-size: 14px; }
.hf__nine b { color: var(--white); }

/* Big country names as tabs */
.hf-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 clamp(20px, calc(3 * var(--vw)), 56px);
  margin: 0;
  padding: 0 0 14px;
  border-radius: 0;
  background: none;
  border-bottom: 0;
}
/* The tabs and the See more countries button share one line, with the
   divider under both */
.hf-tabrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(20px, calc(3 * var(--vw)), 56px); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.hf-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hf-more span { transition: transform 0.3s var(--ease); }
.hf-more:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.hf-more:hover span { transform: translateX(4px); }
.hf-more:focus-visible { outline-color: var(--saffron); }
.hf-tab {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: color-mix(in srgb, var(--white) 38%, transparent);
  font: 800 clamp(32px, calc(3.4 * var(--vw)), 62px) / 1 var(--font);
  letter-spacing: -0.045em;
  transition: color 0.4s var(--ease);
}
.hf-tab { align-items: center; gap: 0.32em; }
/* Flags beside the names: muted until chosen, then full colour */
.hf-flag {
  display: block;
  flex: none;
  width: 0.9em;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 0.1em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  filter: grayscale(0.35);
  opacity: 0.75;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.hf-flag svg { display: block; width: 100%; height: 100%; }
.hf-tab:hover .hf-flag { opacity: 1; filter: none; }
.hf-tab[aria-selected="true"] .hf-flag { opacity: 1; filter: none; transform: rotate(-4deg); }
.hf-tab:hover { background: none; color: color-mix(in srgb, var(--white) 70%, transparent); }
.hf-tab[aria-selected="true"] { background: none; color: var(--white); }
.hf-tab:focus-visible { outline-color: var(--saffron); }
.hf-tabs__bar { position: absolute; left: 0; bottom: -2px; width: 0; height: 3px; border-radius: 3px; background: var(--saffron); }

/* The chosen country */
.hf__panes { display: grid; margin-top: auto; }
.hf__pane {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: clamp(24px, calc(4 * var(--vw)), 80px);
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  text-align: left;
}
.hf__pane[hidden] { display: none; }
.hf__copy h3 { font-weight: 800; font-size: clamp(24px, calc(2.1 * var(--vw)), 38px); letter-spacing: -0.035em; line-height: 1.1; }
.hf__copy p { max-width: 30em; margin-top: 12px; color: var(--ink-muted); font-size: clamp(16px, calc(1.2 * var(--vw)), 20px); line-height: 1.6; }
.hf__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hf__ghost { border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.hf__ghost:hover { background: rgba(255, 255, 255, 0.16); }
.hf__qs {
  padding: 22px 24px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-card);
  background: color-mix(in srgb, var(--ink) 50%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}
.hf__qs > p { color: var(--saffron); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.hf__qs ul { margin-top: 8px; }
.hf__qs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 600;
  font-size: clamp(15px, calc(1.05 * var(--vw)), 17px);
  line-height: 1.4;
  text-decoration: none;
}
.hf__qs li:first-child a { border-top: 0; }
.hf__qs i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-style: normal; font-weight: 800; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease); }
.hf__qs a:hover i { background: var(--saffron); color: var(--ink); transform: rotate(-45deg); }
.hf__qs a span { transition: transform 0.4s var(--ease); }
.hf__qs a:hover span { transform: translateX(6px); }

@media (max-width: 1020px) {
  .hf__panel { min-height: 0; border-radius: var(--r-card); }
  .hf__panel::after { background: linear-gradient(0deg, var(--ink) 35%, color-mix(in srgb, var(--ink) 55%, transparent)); }
  .hf__pane { grid-template-columns: minmax(0, 1fr); }
  .hf__panes { margin-top: 0; }
  .hf-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .hf-more { margin-bottom: 16px; }
  .hf-tab { flex: none; }
}
@media (max-width: 600px) {
  .hf__time { width: 100%; grid-template-columns: auto 1fr auto; }
  .hf-tab { font-size: 30px; }
}

/* ---------- Hire from your country: light panel ----------
   A soft Paper panel with a thin edge. The city skyline stays, faded into
   the panel like a watermark, strongest on the right. Ink type, grey for
   the countries not chosen, Saffron only as the underline, dot and fills. */
.hf__panel {
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: var(--r-panel);
  background: linear-gradient(160deg, var(--white), var(--paper) 55%, color-mix(in srgb, var(--paper) 80%, var(--saffron)));
  color: var(--ink);
  box-shadow: 0 40px 90px -60px rgba(12, 27, 42, 0.45);
}
.hf__media { opacity: 0.32; filter: sepia(0.35) saturate(0.8); }
.hf__panel::after {
  background:
    linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 92%, transparent) 34%, color-mix(in srgb, var(--paper) 45%, transparent) 72%, color-mix(in srgb, var(--paper) 20%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--paper) 70%, transparent) 0%, transparent 55%);
}
.hf__eyebrow { border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); background: color-mix(in srgb, var(--white) 70%, transparent); }
.hf__title { color: var(--ink); }

/* The clocks: a smoky Ink glass card */
.hf__time {
  border-color: rgba(255, 255, 255, 0.18);
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  color: var(--white);
  box-shadow: 0 24px 50px -30px rgba(12, 27, 42, 0.6);
}

/* Countries */
.hf-tabrow { border-bottom-color: color-mix(in srgb, var(--ink) 12%, transparent); }
.hf-tab { color: color-mix(in srgb, var(--ink) 42%, transparent); }
.hf-tab:hover { color: color-mix(in srgb, var(--ink) 70%, transparent); }
.hf-tab[aria-selected="true"] { color: var(--ink); }
.hf-tab:focus-visible { outline-color: var(--ink); }
.hf-flag { opacity: 1; filter: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); }
.hf-tab[aria-selected="true"] .hf-flag { transform: none; }
.hf-more { border-color: color-mix(in srgb, var(--ink) 24%, transparent); background: color-mix(in srgb, var(--white) 60%, transparent); color: var(--ink); }
.hf-more:focus-visible { outline-color: var(--ink); }

/* The chosen country */
.hf__copy h3 { color: var(--ink); }
.hf__copy p { color: var(--slate); }
.hf__ghost { border: 1px solid color-mix(in srgb, var(--ink) 24%, transparent); background: color-mix(in srgb, var(--white) 50%, transparent); color: var(--ink); }
.hf__ghost:hover { background: var(--white); }
.hf__qs {
  border-color: color-mix(in srgb, var(--ink) 12%, transparent);
  background: color-mix(in srgb, var(--white) 72%, transparent);
  box-shadow: 0 24px 50px -40px rgba(12, 27, 42, 0.4);
}
/* Label in Ink with a Saffron tick before it (Saffron text stays on Ink) */
.hf__qs > p { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.hf__qs > p::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--saffron); }
.hf__qs a { border-top-color: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
.hf__qs i { border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); background: transparent; color: var(--ink); }
.hf__qs a:hover i { border-color: var(--saffron); }

@media (max-width: 1020px) {
  .hf__panel { border-radius: var(--r-card); }
  .hf__panel::after { background: linear-gradient(0deg, var(--paper) 40%, color-mix(in srgb, var(--paper) 70%, transparent)); }
}

/* ---------- Hire from your country: open layout ----------
   No card: the section sits straight on the page's Sand background like
   the sections around it. The chosen city's skyline is a faded backdrop
   that runs to the screen edge on the right and dissolves into the Sand on
   every side, so there is no box. Type follows the site's scale. */
.hf__panel {
  overflow: visible;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.hf__panel::after { display: none; }
.hf__media {
  inset: -14% calc(50% - 50 * var(--vw)) -10% 30%;
  opacity: 0.38;
  filter: sepia(0.45) saturate(0.7) contrast(0.95);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 5.6%, rgba(0, 0, 0, 0.104) 11.2%, rgba(0, 0, 0, 0.275) 16.9%, rgba(0, 0, 0, 0.5) 22.5%, rgba(0, 0, 0, 0.725) 28.1%, rgba(0, 0, 0, 0.896) 33.8%, rgba(0, 0, 0, 0.984) 39.4%, rgba(0, 0, 0, 1) 45%), linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 2.8%, rgba(0, 0, 0, 0.104) 5.5%, rgba(0, 0, 0, 0.275) 8.2%, rgba(0, 0, 0, 0.5) 11%, rgba(0, 0, 0, 0.725) 13.8%, rgba(0, 0, 0, 0.896) 16.5%, rgba(0, 0, 0, 0.984) 19.2%, rgba(0, 0, 0, 1) 22%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0.984) 73.8%, rgba(0, 0, 0, 0.896) 77.5%, rgba(0, 0, 0, 0.725) 81.2%, rgba(0, 0, 0, 0.5) 85%, rgba(0, 0, 0, 0.275) 88.8%, rgba(0, 0, 0, 0.104) 92.5%, rgba(0, 0, 0, 0.016) 96.2%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 5.6%, rgba(0, 0, 0, 0.104) 11.2%, rgba(0, 0, 0, 0.275) 16.9%, rgba(0, 0, 0, 0.5) 22.5%, rgba(0, 0, 0, 0.725) 28.1%, rgba(0, 0, 0, 0.896) 33.8%, rgba(0, 0, 0, 0.984) 39.4%, rgba(0, 0, 0, 1) 45%), linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.016) 2.8%, rgba(0, 0, 0, 0.104) 5.5%, rgba(0, 0, 0, 0.275) 8.2%, rgba(0, 0, 0, 0.5) 11%, rgba(0, 0, 0, 0.725) 13.8%, rgba(0, 0, 0, 0.896) 16.5%, rgba(0, 0, 0, 0.984) 19.2%, rgba(0, 0, 0, 1) 22%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0.984) 73.8%, rgba(0, 0, 0, 0.896) 77.5%, rgba(0, 0, 0, 0.725) 81.2%, rgba(0, 0, 0, 0.5) 85%, rgba(0, 0, 0, 0.275) 88.8%, rgba(0, 0, 0, 0.104) 92.5%, rgba(0, 0, 0, 0.016) 96.2%, rgba(0, 0, 0, 0) 100%);
  mask-composite: intersect;
}
.hf__content { padding: 0; min-height: 0; gap: clamp(28px, calc(3 * var(--vw)), 52px); }

/* Typography: the same scale as the other section headings */
.hf__title { max-width: 13em; margin-top: 20px; font-size: clamp(36px, calc(4.4 * var(--vw)), 80px); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.hf-tab { font-size: clamp(24px, calc(2.3 * var(--vw)), 42px); letter-spacing: -0.035em; }
.hf-tabrow { gap: 12px clamp(24px, calc(3 * var(--vw)), 52px); }
.hf__copy h3 { font-size: clamp(24px, calc(2 * var(--vw)), 36px); letter-spacing: -0.03em; }
.hf__copy p { font-size: clamp(16px, calc(1.2 * var(--vw)), 20px); }

/* Questions as an open list, no box */
.hf__qs { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hf__qs ul { margin-top: 14px; }
.hf__qs li:first-child a { border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.hf__qs li:last-child a { border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.hf__qs a { min-height: 64px; font-size: clamp(16px, calc(1.15 * var(--vw)), 19px); }

@media (max-width: 1020px) {
  .hf__media { inset: 0 calc(50% - 50 * var(--vw)) auto; height: 60%; -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0.0%, rgba(0, 0, 0, 0.023) 3.1%, rgba(0, 0, 0, 0.145) 6.3%, rgba(0, 0, 0, 0.368) 9.4%, rgba(0, 0, 0, 0.632) 12.6%, rgba(0, 0, 0, 0.855) 15.7%, rgba(0, 0, 0, 0.977) 18.9%, rgba(0, 0, 0, 1.0) 22.0%, rgba(0, 0, 0, 1.0) 22.0%, rgba(0, 0, 0, 0.988) 30.7%, rgba(0, 0, 0, 0.924) 39.3%, rgba(0, 0, 0, 0.79) 48.0%, rgba(0, 0, 0, 0.603) 56.7%, rgba(0, 0, 0, 0.397) 65.3%, rgba(0, 0, 0, 0.21) 74.0%, rgba(0, 0, 0, 0.076) 82.7%, rgba(0, 0, 0, 0.012) 91.3%, rgba(0, 0, 0, 0.0) 100.0%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0.0%, rgba(0, 0, 0, 0.023) 3.1%, rgba(0, 0, 0, 0.145) 6.3%, rgba(0, 0, 0, 0.368) 9.4%, rgba(0, 0, 0, 0.632) 12.6%, rgba(0, 0, 0, 0.855) 15.7%, rgba(0, 0, 0, 0.977) 18.9%, rgba(0, 0, 0, 1.0) 22.0%, rgba(0, 0, 0, 1.0) 22.0%, rgba(0, 0, 0, 0.988) 30.7%, rgba(0, 0, 0, 0.924) 39.3%, rgba(0, 0, 0, 0.79) 48.0%, rgba(0, 0, 0, 0.603) 56.7%, rgba(0, 0, 0, 0.397) 65.3%, rgba(0, 0, 0, 0.21) 74.0%, rgba(0, 0, 0, 0.076) 82.7%, rgba(0, 0, 0, 0.012) 91.3%, rgba(0, 0, 0, 0.0) 100.0%); opacity: 0.25; }
}

/* the skyline runs to the screen edge; never past it */
.corridor { overflow-x: clip; }

/* Smooth-scrolling guards: big moving layers get their own GPU layer, and
   the pinned clock card skips its live blur (it dims every frame) */
.hero__bg { will-change: transform; }
.hf__time { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--ink) 72%, transparent); }

/* How it works: each step fades and lifts on its own GPU layer, so a step
   lighting up never stalls a frame (the effect itself is unchanged) */
.flow__item { will-change: opacity, transform; }

/* ---------- Our promises: smooth arc ----------
   The cards used to recompute their colour, wash and a 90px shadow from the
   scroll position on every frame, repainting each blurred photo. Now:
   - the blurred photo sits on its own GPU layer (painted once)
   - the Saffron wash of the middle card is a separate layer (.promise__glow,
     added by main.js) whose opacity follows the scroll
   - the deep shadow and the icon fill switch with the active card, easing
     once instead of repainting every frame
   The look at every point of the scroll is the same as before. */
.standard--arc .promise,
.standard--arc .promise:nth-child(3n + 2) {
  background: color-mix(in srgb, var(--white) 72%, transparent);
  box-shadow: 0 50px 90px -40px rgba(12, 27, 42, 0.1);
  transition: box-shadow 0.45s var(--ease);
}
.standard--arc .promise.is-active { box-shadow: 0 50px 90px -40px rgba(12, 27, 42, 0.62); }
.standard--arc .promise::before { z-index: -3; will-change: transform; }
.standard--arc .promise::after { z-index: -2; background: color-mix(in srgb, var(--white) 70%, transparent); transition: none; }
.promise__glow { display: none; }
.standard--arc .promise__glow {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--saffron) 88%, transparent);
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
}
.standard--arc .promise__icon { background: var(--white); transition: background-color 0.35s var(--ease); }
.standard--arc .promise.is-active .promise__icon { background: color-mix(in srgb, var(--white) 55%, var(--saffron)); }

/* The mini visual animates when its card reaches the middle: on its own
   layer, only it redraws, not the whole card with its text and shadow */
.standard--arc .promise__vis { will-change: transform; contain: layout paint; }

/* The mini visual's grey-to-ink fade when its card reaches the middle: the
   two tones themselves animate, once per card, and every line, chip and
   figure inside follows by inheritance. Before, each element inside ran
   its own colour, background and border transitions (about 2,000 per swipe
   through the arc), and as the cards turned one was always mid-fade, so
   the arc dropped frames on every pass. The fade looks the same. */
@property --v-ink { syntax: "<color>"; inherits: true; initial-value: #0C1B2A; }
@property --v-fill { syntax: "<color>"; inherits: true; initial-value: #FFFFFF; }
.promise__vis { transition: --v-ink 0.4s var(--ease), --v-fill 0.4s var(--ease); }
.promise__vis * { transition: none; }

/* Homepage hero: near-black at the left edge melts through Ink into the
   photo; the wash slants with the scene and ends before the people, lamp and
   desk, which stay untouched and crisp */
@media (min-width: 601px) {
  .hero__bg::after {
    background: linear-gradient(122deg, rgba(4, 9, 16, 0.97) 0%, rgba(8, 18, 29, 0.93) 14%, rgba(12, 27, 42, 0.74) 30%, rgba(12, 27, 42, 0.32) 42%, rgba(12, 27, 42, 0.309) 43.7%, rgba(12, 27, 42, 0.253) 45.3%, rgba(12, 27, 42, 0.16) 47%, rgba(12, 27, 42, 0.067) 48.7%, rgba(12, 27, 42, 0.011) 50.3%, rgba(12, 27, 42, 0) 52%);
  }
}
.hero__bg { will-change: auto; }
@media (min-width: 1021px) {
  .hero__title { font-size: clamp(42px, calc(4.05 * var(--vw)), 170px); letter-spacing: -0.035em; }
  .hero__content { padding-bottom: calc(4.2 * var(--vw)); }
}
/* Homepage hero: the colour and wash are now in the photo itself */
@media (min-width: 601px) { .hero__bg::after { background: none; } }
.hero__bg { background-position: 50% 50%; }
/* Homepage hero: the brighter Saffron of the approved design */
.hero { --saffron: #FDB129; }
.site-header.is-on-dark .btn--saffron { background: #FDB129; }
@media (min-width: 1021px) { .hero__content { top: calc(-1.8 * var(--vw)); } }

/* Homepage hero: the same plain stats row as the service pages */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 36em);
  margin-top: clamp(24px, calc(2 * var(--vw)), 44px);
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(14px, calc(0.95 * var(--vw)), 26px);
}
.hero__stats li { padding: 18px 18px 0 0; }
.hero__stats li + li { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.hero__stats b { display: block; color: var(--white); font-size: 2.1em; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.hero__stats span { display: block; margin-top: 4px; color: var(--white); font-size: 0.92em; line-height: 1.4; }
@media (min-width: 1021px) { .hero__content { top: 0; } }
@media (max-width: 600px) {
  .hero__stats li { padding: 14px 10px 0 0; }
  .hero__stats li + li { padding-left: 10px; }
  .hero__stats span { font-size: 12px; }
}

/* Homepage hero, desktop: stats sized as on the Recruitment hero, the block sits lower,
   and an Ink wash keeps the stats readable over the marble desk */
@media (min-width: 1021px) {
  .hero__content { top: calc(1.5 * var(--vw)); }
  .hero__stats { width: calc(39.5 * var(--vw)); margin-top: calc(2.4 * var(--vw)); border-top-color: rgba(255, 255, 255, 0.28); }
  .hero__stats li { padding: calc(0.9 * var(--vw)) calc(1.3 * var(--vw)) 0 0; }
  .hero__stats li + li { padding-left: calc(1.3 * var(--vw)); border-left-color: rgba(255, 255, 255, 0.34); }
  .hero__stats b { font-size: clamp(28px, calc(2.5 * var(--vw)), 64px); font-weight: 700; }
  .hero__stats span { margin-top: calc(0.45 * var(--vw)); font-size: clamp(14px, calc(1 * var(--vw)), 24px); }
  .hero__bg::after { background: linear-gradient(90deg, rgba(12, 27, 42, 0.94) 0%, rgba(12, 27, 42, 0.88) 33%, rgba(12, 27, 42, 0.849) 35.8%, rgba(12, 27, 42, 0.695) 38.7%, rgba(12, 27, 42, 0.44) 41.5%, rgba(12, 27, 42, 0.185) 44.3%, rgba(12, 27, 42, 0.031) 47.2%, rgba(12, 27, 42, 0) 50%); }
}

/* Hire from your country: a clearer skyline */
.hf__media { opacity: 0.8; filter: saturate(0.9); }
.hf__qs { padding: 20px 24px 8px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--r-card); background: color-mix(in srgb, var(--ink) 78%, transparent); box-shadow: 0 24px 50px -30px rgba(12, 27, 42, 0.6); }
.hf__qs > p { color: var(--saffron); }
.hf__qs a { color: var(--white); min-height: 56px; }
.hf__qs li:first-child a, .hf__qs a { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hf__qs li:last-child a { border-bottom: 0; }
.hf__qs i { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.hf__qs a:hover i { border-color: var(--saffron); }
@media (max-width: 1020px) { .hf__media { opacity: 0.45; } }

/* The DAVZON standard: nothing repaints a card during the scroll. One steady
   shadow on every card, and the icon switches with the active card at once. */
.standard--arc .promise,
.standard--arc .promise:nth-child(3n + 2) { box-shadow: 0 50px 90px -40px rgba(12, 27, 42, 0.3); transition: none; }
.standard--arc .promise.is-active { box-shadow: 0 50px 90px -40px rgba(12, 27, 42, 0.3); }
.standard--arc .promise__icon { transition: none; }
.stack .corridor { opacity: 1; }
.standard--arc .promise, .standard--arc .promise:nth-child(3n + 2) { will-change: transform, opacity; }

/* Hire from your country: questions sit straight on the photo, no container */
.hf__qs { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.hf__qs li:first-child a, .hf__qs a { border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.hf__qs li:last-child a { border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.hf__qs > p, .hf__qs a { color: var(--ink); }
.hf__qs i { border-color: color-mix(in srgb, var(--ink) 30%, transparent); color: var(--ink); }
@media (min-width: 1021px) {
  .hf__media {
    opacity: 1;
    filter: none;
    /* The city runs the full width of the section, screen edge to screen edge;
       the left half sits under a light Sand veil so the dark type stays crisp */
    inset: -30% calc(50% - 50 * var(--vw)) -28% calc(50% - 50 * var(--vw));
    /* Eased (smootherstep) top and bottom fades: no straight seams */
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0.0%, rgba(0, 0, 0, 0.023) 3.1%, rgba(0, 0, 0, 0.145) 6.3%, rgba(0, 0, 0, 0.368) 9.4%, rgba(0, 0, 0, 0.632) 12.6%, rgba(0, 0, 0, 0.855) 15.7%, rgba(0, 0, 0, 0.977) 18.9%, rgba(0, 0, 0, 1.0) 22.0%, rgba(0, 0, 0, 1.0) 80.0%, rgba(0, 0, 0, 0.977) 82.9%, rgba(0, 0, 0, 0.855) 85.7%, rgba(0, 0, 0, 0.632) 88.6%, rgba(0, 0, 0, 0.368) 91.4%, rgba(0, 0, 0, 0.145) 94.3%, rgba(0, 0, 0, 0.023) 97.1%, rgba(0, 0, 0, 0.0) 100.0%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0.0%, rgba(0, 0, 0, 0.023) 3.1%, rgba(0, 0, 0, 0.145) 6.3%, rgba(0, 0, 0, 0.368) 9.4%, rgba(0, 0, 0, 0.632) 12.6%, rgba(0, 0, 0, 0.855) 15.7%, rgba(0, 0, 0, 0.977) 18.9%, rgba(0, 0, 0, 1.0) 22.0%, rgba(0, 0, 0, 1.0) 80.0%, rgba(0, 0, 0, 0.977) 82.9%, rgba(0, 0, 0, 0.855) 85.7%, rgba(0, 0, 0, 0.632) 88.6%, rgba(0, 0, 0, 0.368) 91.4%, rgba(0, 0, 0, 0.145) 94.3%, rgba(0, 0, 0, 0.023) 97.1%, rgba(0, 0, 0, 0.0) 100.0%);
  }
  /* Ink shading only behind the questions: a soft eased ellipse, so it melts
     into the photo and the Sand instead of ending in a band */
  .hf__media::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Top layers: Sand veils where the photo dissolves, so its colours shift
       towards the page instead of through grey */
    background:
      /* Sand veils over the left: a band that ends just before the questions, and a
         soft oval where the heading and the last tabs meet the skyline */
      linear-gradient(90deg, color-mix(in srgb, var(--sand) 84%, transparent) 0%, color-mix(in srgb, var(--sand) 84.0%, transparent) 38.0%, color-mix(in srgb, var(--sand) 82.0%, transparent) 40.1%, color-mix(in srgb, var(--sand) 71.8%, transparent) 42.3%, color-mix(in srgb, var(--sand) 53.1%, transparent) 44.4%, color-mix(in srgb, var(--sand) 30.9%, transparent) 46.6%, color-mix(in srgb, var(--sand) 12.2%, transparent) 48.7%, color-mix(in srgb, var(--sand) 2.0%, transparent) 50.9%, color-mix(in srgb, var(--sand) 0.0%, transparent) 53.0%),
      radial-gradient(ellipse 14% 22% at 44% 42%, color-mix(in srgb, var(--sand) 80%, transparent) 0%, color-mix(in srgb, var(--sand) 80.0%, transparent) 45.0%, color-mix(in srgb, var(--sand) 78.7%, transparent) 51.9%, color-mix(in srgb, var(--sand) 71.7%, transparent) 58.8%, color-mix(in srgb, var(--sand) 58.0%, transparent) 65.6%, color-mix(in srgb, var(--sand) 40.0%, transparent) 72.5%, color-mix(in srgb, var(--sand) 22.0%, transparent) 79.4%, color-mix(in srgb, var(--sand) 8.3%, transparent) 86.2%, color-mix(in srgb, var(--sand) 1.3%, transparent) 93.1%, color-mix(in srgb, var(--sand) 0.0%, transparent) 100.0%),
      linear-gradient(0deg, color-mix(in srgb, var(--sand) 100.0%, transparent) 0.0%, color-mix(in srgb, var(--sand) 97.7%, transparent) 3.4%, color-mix(in srgb, var(--sand) 85.5%, transparent) 6.9%, color-mix(in srgb, var(--sand) 63.2%, transparent) 10.3%, color-mix(in srgb, var(--sand) 36.8%, transparent) 13.7%, color-mix(in srgb, var(--sand) 14.5%, transparent) 17.1%, color-mix(in srgb, var(--sand) 2.3%, transparent) 20.6%, color-mix(in srgb, var(--sand) 0.0%, transparent) 24.0%),
      linear-gradient(180deg, color-mix(in srgb, var(--sand) 90.0%, transparent) 0.0%, color-mix(in srgb, var(--sand) 87.9%, transparent) 3.4%, color-mix(in srgb, var(--sand) 77.0%, transparent) 6.9%, color-mix(in srgb, var(--sand) 56.9%, transparent) 10.3%, color-mix(in srgb, var(--sand) 33.1%, transparent) 13.7%, color-mix(in srgb, var(--sand) 13.0%, transparent) 17.1%, color-mix(in srgb, var(--sand) 2.1%, transparent) 20.6%, color-mix(in srgb, var(--sand) 0.0%, transparent) 24.0%),
      radial-gradient(ellipse 36% 32% at 73% 70%, rgba(12, 27, 42, 0.84) 38.0%, rgba(12, 27, 42, 0.83) 44.9%, rgba(12, 27, 42, 0.776) 51.8%, rgba(12, 27, 42, 0.664) 58.7%, rgba(12, 27, 42, 0.507) 65.6%, rgba(12, 27, 42, 0.333) 72.4%, rgba(12, 27, 42, 0.176) 79.3%, rgba(12, 27, 42, 0.064) 86.2%, rgba(12, 27, 42, 0.01) 93.1%, rgba(12, 27, 42, 0.0) 100.0%);
    pointer-events: none;
  }
  .hf__qs > p { color: var(--saffron); }
  .hf__qs a { color: var(--white); border-top-color: rgba(255, 255, 255, 0.24); text-shadow: 0 1px 12px rgba(12, 27, 42, 0.7); }
  .hf__qs li:first-child a { border-top-color: rgba(255, 255, 255, 0.24); }
  .hf__qs li:last-child a { border-bottom-color: rgba(255, 255, 255, 0.24); }
  .hf__qs i { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
}
@media (max-width: 1020px) { .hf__media { opacity: 0.28; } }

/* The DAVZON standard: main.js pins the stage with position: fixed (sticky
   jittered under trackpads in the zoomed page). Before the section it sits
   at the top, after it at the bottom, so the hand-off never jumps. */
.standard--arc { position: relative; }
.standard--arc .standard__pin { position: absolute; top: 0; left: 0; right: 0; }
.standard--arc.is-pinned .standard__pin { position: fixed; top: 0; left: 0; right: 0; }
.standard--arc.is-after .standard__pin { position: absolute; top: auto; bottom: 0; }

/* Lenis smooth scrolling (assets/js/smooth.js) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* Services: nothing repaints while the page scrolls.
   - the gradient drift sat behind the video (never seen) yet repainted the
     whole feature card every frame: it now holds still
   - a live blur on the playing video was re-filtered every video frame
   - the photo reveal (motion.js) now uses transform and opacity only */
.svc__media { animation: none; background-size: 100% 100%; }
.svc__video { filter: none; transform: scale(1.04); will-change: transform; }
.svc { will-change: transform; }

/* ---------- Touch screens: press feedback ----------
   Phones and tablets have no hover, so buttons, chips and tabs answer the
   finger instead: a quick springy press on tap. */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .btn, .chip, .hf-tab, .hf-more, .solve__head, .faq summary, .roles__chips a {
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  }
  .btn:active, .chip:active, .hf-tab:active, .hf-more:active, .roles__chips a:active { transform: scale(0.95); transition-duration: 0.12s; }
  .solve__head:active, .faq summary:active { transform: scale(0.985); transition-duration: 0.12s; }
}

/* ---------- Phones and tablets: a plain rectangular top bar ----------
   Full width, flush with the top of the screen, square corners and a
   hairline along the bottom (no floating pill). The open menu drops
   straight down from it as a full-width panel. */
@media (max-width: 1020px) {
  .site-header { padding-top: 0; }
  .header-wrap { padding-inline: 0; }
  .nav-bar,
  .site-header.is-scrolled .nav-bar,
  .site-header.is-on-dark .nav-bar {
    min-height: 64px;
    padding: 0 12px 0 16px;
    border: 0;
    border-bottom: 1px solid rgba(12, 27, 42, 0.08);
    border-radius: 0;
  }
  .site-header.is-on-dark .nav-bar { border-bottom-color: rgba(255, 255, 255, 0.14); }
  .menu-toggle { border-radius: 12px; }
  .mobile-menu {
    margin-top: 0;
    border-radius: 0;
    max-height: calc(calc(100 * var(--svh)) - 64px);
    box-shadow: 0 24px 48px -24px rgba(12, 27, 42, 0.35);
  }
}
