/* ==========================================================================
   Monark Globals India
   Global stylesheet. Becomes the child theme's style.css; each block marked
   WIDGET maps to one custom Elementor widget.

   Shape rules
   - Buttons, chips, tags: pill
   - UI cards and panels: 24px radius
   - Photos: 20px radius + the Monark notch (top-right chamfer)
   - Inputs: 12px radius
   Colour rule: orange is for primary actions and small accents only.
   Spacing rule: sections use --section-y; heading-to-content uses --title-gap.
   ========================================================================== */

:root {
  --ink: #0B1F3A;
  --ink-2: #132B4F;
  --blue: #074D80;
  --blue-tint: #E6EDF5;
  --accent: #F36D26;
  --accent-hover: #E15A13;
  --accent-ink: #B8470E;
  --accent-tint: #FCE9DE;
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --line: #DCE3EB;
  --line-strong: #C2CDD9;
  --muted: #4E5F74;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B9C6D6;
  --success: #11593A;
  --success-tint: #E5F4EC;
  --danger: #B42318;
  --wa: #25D366;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Text scale: every text size uses one of these. Icons, single-use display numerals and fluid clamp() titles keep their own sizes. */
  --fs-2xs: .75rem;
  --fs-xs: .8125rem;
  --fs-sm: .875rem;
  --fs-small: .9375rem;
  --fs-base: 1rem;
  --fs-body: 1.0625rem;
  --fs-md: 1.125rem;
  --fs-h4: 1.25rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2rem;
  --fs-hero: clamp(2.5rem, 1.6rem + 3vw, 3.75rem);
  --fs-page: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.4vw, 2.625rem);
  --fs-h3: clamp(1.3rem, 1.1rem + .55vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);

  --container: 1240px;
  --narrow: 780px;
  --gutter: 20px;
  --header-h: 72px;
  --section-y: clamp(48px, 1.5rem + 3.8vw, 84px);
  --title-gap: clamp(28px, 1rem + 1.6vw, 44px);
  --r-card: 24px;
  --r-photo: 20px;
  --r-input: 12px;
  --r-sm: 16px;
  --r-pill: 999px;
  --notch: clamp(26px, 3.2vw, 48px);
  --shadow: 0 1px 2px rgb(11 31 58 / .06), 0 18px 48px -18px rgb(11 31 58 / .22);
  --shadow-lg: 0 2px 4px rgb(11 31 58 / .06), 0 32px 80px -24px rgb(11 31 58 / .32);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-roll: cubic-bezier(.7, 0, .3, 1);

  --focus: var(--accent-ink); /* 5.3:1 on white; #FFB48A on dark surfaces (below) */
  --z-float: 40;
  --z-header: 50;
  --z-menu: 60;
  --z-cover: 90;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: 60px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.bg-ink, .site-footer, .cta-card, .jobs-hero, .mobile-menu .mobile-menu-foot .btn-primary { --focus: #FFB48A; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: calc(var(--narrow) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
/* Adjacent sections on the same background share one gap instead of stacking two */
.section:not(.bg-surface, .bg-ink) + .section:not(.bg-surface, .bg-ink),
.section.bg-surface + .section.bg-surface,
.section.bg-ink + .section.bg-ink { padding-top: 0; }
.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink .section-title { color: #fff; }
.bg-ink .lead { color: var(--on-dark-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); }
.skip-link:focus { top: 12px; }

/* Static film grain on dark surfaces (rendered once, never animated) */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
.eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.bg-ink .eyebrow, .eyebrow-light { color: #FFB48A; }
.section-title { font-size: var(--fs-h2); max-width: 20ch; }
/* One coloured accent per page, in the page title; section headings stay plain */
.hero-title em, .page-title em { font-style: normal; color: var(--blue); }
.section-title em { font-style: normal; }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 52ch; }
.section-head { display: grid; gap: 20px; margin-bottom: var(--title-gap); }
.section-head .lead { margin-top: -4px; }
.muted { color: var(--muted); }

/* Elements animated by JS start hidden only when motion is allowed */
/* Revealed by GSAP on scroll (screen readers can still reach it). Hero areas are never hidden: they paint at once (they hold the LCP
   element) and get a short CSS entrance instead, which needs no script. */
.motion-ok [data-split]:not(h1):not(:is(.hero, .page-hero, .jobs-hero) *),
.motion-ok [data-fade]:not(:is(.hero, .page-hero, .jobs-hero) *),
.motion-ok [data-stagger]:not(:is(.hero, .page-hero, .jobs-hero) *) > * { opacity: 0; } /* opacity, not visibility: the content stays in the accessibility tree */
@media (prefers-reduced-motion: no-preference) {
  .js :is(.hero, .page-hero, .jobs-hero) :is([data-fade], [data-stagger] > *) { animation: hero-in .45s var(--ease-out) both; }
  .js :is(.hero, .page-hero, .jobs-hero) [data-fade] ~ [data-fade],
  .js :is(.hero, .page-hero, .jobs-hero) [data-stagger] > :nth-child(2) { animation-delay: .06s; }
  .js :is(.hero, .page-hero, .jobs-hero) [data-stagger] > :nth-child(3) { animation-delay: .12s; }
  .js :is(.hero, .page-hero, .jobs-hero) [data-stagger] > :nth-child(n + 4) { animation-delay: .18s; }
  .js .hero-reel { animation: reel-in .8s var(--ease-out) .1s both; }
  .js :is(.hero, .page-hero) [data-reveal-img] img { animation: img-in 1s var(--ease-out) both; }
}
@keyframes hero-in { from { opacity: .001; transform: translateY(12px); } }
@keyframes reel-in { from { transform: translateY(40px); } }
@keyframes img-in { from { transform: scale(1.06); } }

/* Page navigation: a short native cross-fade (View Transitions) instead of a scripted cover.
   The @view-transition rule that turns it on is inline at the top of <head>, not here: Chrome
   cancels the fade if an earlier stylesheet is applied before this file has loaded. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
#main:focus { outline: none; }

/* ---------- rolling text (buttons, nav) ---------- */
.roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll > span { display: block; position: relative; transition: transform .3s var(--ease-roll); }
.roll > span::after { content: attr(data-text); content: attr(data-text) / ""; position: absolute; left: 0; top: 100%; font-style: italic; white-space: nowrap; }
@media (hover: hover) {
  a:hover > .roll > span, button:hover > .roll > span { transform: translateY(-100%); }
}
@media (prefers-reduced-motion: reduce) { .roll > span { transition: none; } a:hover > .roll > span, button:hover > .roll > span { transform: none; } }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-weight: 700; font-size: var(--fs-base); line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), transform .2s var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: var(--fs-small); }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: var(--fs-body); }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgb(255 255 255 / .4); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn .ph { font-size: 1.15em; }
/* Arrows slide out and come back in from the other side on hover */
@keyframes arrow-x { 0% { transform: none; opacity: 1; } 45% { transform: translateX(80%); opacity: 0; } 46% { transform: translateX(-80%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes arrow-diag { 0% { transform: none; opacity: 1; } 45% { transform: translate(70%, -70%); opacity: 0; } 46% { transform: translate(-70%, 70%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes arrow-y { 0% { transform: none; opacity: 1; } 45% { transform: translateY(80%); opacity: 0; } 46% { transform: translateY(-80%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a:hover .ph-arrow-right, button:hover .ph-arrow-right { animation: arrow-x .55s var(--ease-roll); }
  a:hover .ph-arrow-up-right { animation: arrow-diag .55s var(--ease-roll); }
  a:hover .ph-arrow-down { animation: arrow-y .55s var(--ease-roll); }
}
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1.5px; }
.text-link { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(7 77 128 / .35); }
.text-link:hover { text-decoration-color: currentColor; }
.bg-ink .text-link, .on-dark .text-link { color: #FFB48A; text-decoration-color: rgb(255 180 138 / .45); }

/* ---------- photos with the Monark notch ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r-photo); background: var(--blue-tint); aspect-ratio: var(--ratio, 3 / 2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.notch { clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
.notch-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch))); }

/* ---------- chips, tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li, .tag { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface);
  font-weight: 600; font-size: var(--fs-small); transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.chip .count { font-size: var(--fs-xs); opacity: .7; }

/* ==========================================================================
   Site header + mega menu + mobile menu
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  background: rgb(243 245 248 / .84);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease-out), border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
/* Over the home page's dark hero: set by the page, kept in step with the scroll by main.js */
.site-header.on-dark { --focus: #FFB48A; background: rgb(11 31 58 / .8); }
.site-header.on-dark.is-scrolled { border-bottom-color: rgb(255 255 255 / .12); }
.site-header.on-dark :is(.brand, .nav-link, .menu-toggle) { color: #fff; }
.site-header.on-dark .brand-name span { color: #9CC3E6; }
.site-header.on-dark :is(.nav-link:hover, .nav-link[aria-expanded="true"], .menu-toggle:hover) { background: rgb(255 255 255 / .1); }
.site-header.on-dark .menu-lines span { background: #fff; }
.site-header.on-dark .mega { --focus: var(--accent-ink); color: var(--ink); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-name { font-weight: 800; font-size: var(--fs-lg); letter-spacing: -.02em; white-space: nowrap; }
.brand-name span { color: var(--blue); font-weight: 600; }
.brand-light, .brand-light .brand-name span { color: #fff; }

.primary-nav { display: none; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-small); text-decoration: none; white-space: nowrap; transition: background-color .2s;
}
.nav-link:hover { background: rgb(11 31 58 / .06); }
.nav-link[aria-current="page"]::after, .nav-link[data-current]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent);
}
.nav-link .caret { font-size: .85em; transition: transform .3s var(--ease-out); }
.nav-link[aria-expanded="true"] { background: rgb(11 31 58 / .06); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); }
.menu-toggle:hover { background: rgb(11 31 58 / .06); }
.menu-lines { position: relative; width: 22px; height: 12px; }
.menu-lines span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-lines span:first-child { top: 0; }
.menu-lines span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-lines span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines span:last-child { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .menu-toggle { display: none; }
}

.has-mega { position: static; }
.mega {
  position: absolute; top: calc(100% - 6px); left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - var(--gutter) * 2));
  display: grid; grid-template-columns: 240px 1fr 270px; gap: 8px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg);
  animation: pop-in .32s var(--ease-out);
}
.mega[hidden] { display: none; }
/* Short dropdown (Services): sits under its own link instead of spanning the header */
.has-mega:has(> .mega-drop) { position: relative; }
.mega.mega-drop { left: 0; transform: none; width: 280px; grid-template-columns: 1fr; animation: drop-in .28s var(--ease-out); }
.mega-drop .mega-list { grid-template-columns: 1fr; }
.mega-drop .mega-link { align-items: center; padding: 12px 40px 12px 12px; }
.mega-drop .mega-arrow { top: 50%; transform: translateY(-50%); }
@keyframes drop-in { from { clip-path: inset(0 0 100% 0 round var(--r-card)); transform: translateY(8px); } }
/* A reveal, not a fade: Chrome can leave this layer stuck at the first frames of an opacity animation (the menu stayed see-through over the hero) */
@keyframes pop-in { from { clip-path: inset(0 0 100% 0 round var(--r-card)); transform: translate(-50%, 8px); } }
.mega-intro { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px; border-right: 1px solid var(--line); }
.mega-intro-title { font-weight: 800; font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -.02em; }
.mega-intro p:not(.mega-intro-title) { font-size: var(--fs-small); color: var(--muted); }
.mega-intro .btn { margin-top: auto; align-self: flex-start; }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-content: start; }
.mega-list-icons { grid-template-columns: 1fr; }
@media (min-width: 1200px) { .mega-list-icons { grid-template-columns: 1fr 1fr; } }
.mega-link { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 18px 44px 18px 18px; border-radius: var(--r-sm); text-decoration: none; transition: background-color .2s; }
.mega-text { display: grid; gap: 4px; }
.mega-link strong { font-size: var(--fs-body); letter-spacing: -.01em; }
.mega-text > span { font-size: var(--fs-small); color: var(--muted); }
.mega-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-input); background: var(--bg); color: var(--blue); font-size: var(--fs-h4); transition: background-color .2s; }
.mega-arrow { position: absolute; top: 20px; right: 18px; color: var(--muted); transition: color .2s; }
.mega-link:hover, .mega-link[aria-current="page"] { background: var(--bg); }
.mega-link:hover .mega-icon { background: var(--surface); }
.mega-link:hover .mega-arrow { color: var(--accent-ink); }
.badge { font-style: normal; font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-tint); padding: 3px 8px; border-radius: var(--r-pill); margin-left: 6px; vertical-align: 2px; }
.mega-feature { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 20px; border-radius: var(--r-sm); background: var(--bg); text-decoration: none; transition: background-color .2s; }
.mega-feature:hover { background: var(--blue-tint); }
.mega-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-input); margin-bottom: 4px; }
.mega-feature-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); padding-inline: 8px; }
.mega-feature strong { font-size: var(--fs-body); line-height: 1.3; letter-spacing: -.01em; padding-inline: 8px; }
.mega-feature .link-arrow { align-self: flex-start; margin-left: 8px; font-size: var(--fs-small); }
.mega-feature-score { background: var(--ink); color: #fff; padding: 22px; }
.mega-feature-score:hover { background: var(--ink-2); }
.mega-feature-score .mega-feature-label { color: #FFB48A; padding: 0; }
.mega-feature-score strong { padding: 0; font-size: var(--fs-md); }
.mega-feature-score .link-arrow { margin-left: 0; }
.score-demo { position: relative; width: 92px; height: 92px; margin-bottom: auto; }
.score-demo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-demo circle { fill: none; stroke: rgb(255 255 255 / .14); stroke-width: 10; }
.score-demo .score-demo-bar { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 58.8; }
.score-demo > span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; }
@media (prefers-reduced-motion: no-preference) { .mega:not([hidden]) .score-demo-bar { animation: score-demo 1.4s var(--ease-out) .15s backwards; } }
@keyframes score-demo { from { stroke-dashoffset: 326.7; } }
@media (prefers-reduced-motion: reduce) { .mega { animation: none; } }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: var(--z-menu); background: var(--bg); padding: 16px var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu > nav { display: flex; flex-direction: column; min-height: 100%; }
.mobile-links > li > a, .mobile-sub > summary {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 0;
  font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -.025em; text-decoration: none;
  border-bottom: 1px solid var(--line); cursor: pointer; list-style: none;
}
.mobile-sub > summary::-webkit-details-marker { display: none; }
.mobile-sub > summary .ph { font-size: var(--fs-h4); transition: transform .3s var(--ease-out); }
.mobile-sub[open] > summary .ph { transform: rotate(45deg); }
.mobile-sub ul { padding: 8px 0 12px; border-bottom: 1px solid var(--line); }
.mobile-sub ul a { display: block; padding: 10px 0; font-size: var(--fs-body); font-weight: 600; color: var(--muted); text-decoration: none; }
.mobile-menu-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; color: #128C4A; }
.mobile-wa .ph { font-size: 1.4rem; }

/* ---------- page transition cover ---------- */

/* ==========================================================================
   Inner page hero + breadcrumb
   ========================================================================== */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero-grid { display: grid; gap: 40px; align-items: end; }
.page-hero-grid.is-intro .lead { max-width: 64ch; }
.page-title { font-size: var(--fs-page); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; max-width: 16ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-hero .photo { --ratio: 4 / 3; }
.breadcrumb { margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-small); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 1024px) {
  .page-hero-grid.has-media { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .page-hero-grid.has-aside { grid-template-columns: 1.4fr 1fr; gap: 64px; }
  /* A short title: the intro sits under it instead of far to the right */
  .page-hero-grid.has-aside.is-intro { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ==========================================================================
   WIDGET: Home hero
   ========================================================================== */
.hero { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 64px)); overflow: hidden; }
/* Dark hero: a navy band from under the header to below the video (the header turns dark over it, main.js) */
.hero-dark { --focus: #FFB48A; padding-bottom: clamp(24px, 4vw, 56px); background: var(--ink); color: var(--on-dark); }
.hero-head { display: grid; gap: 24px; }
.hero-main { --hero-fs: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem); position: relative; }
/* Optional short fact above the headline (WordPress hero widget, off by default) */
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 14px 5px 5px; border: 1px solid rgb(255 255 255 / .2); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; color: #fff; }
.hero-badge .ph { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(255 255 255 / .1); font-size: .95rem; }
.hero-title { font-size: var(--hero-fs); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; color: #fff; }
.hero-dark .hero-title em { color: var(--accent); }
/* "In staffing for 8+ years": above the headline on phones, beside its second line on wide screens */
.hero-since { display: grid; gap: 2px; margin-bottom: 14px; font-size: var(--fs-sm); line-height: 1.3; color: var(--on-dark-muted); }
.hero-since strong { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.hero-sub { font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
/* Commas in display headings (wrapped by the build and by monark_tuck()): the ExtraBold comma's built-in left space (0.08em) reads as a gap */
.tuck { margin-left: -.07em; }
/* Optional proof points (WordPress hero widget, off by default) */
.hero-proof { display: grid; gap: 10px; margin-top: 24px; font-size: var(--fs-small); line-height: 1.4; color: var(--on-dark-muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ph { flex: none; font-size: 1.125rem; color: var(--accent); }
/* Three key numbers under the intro */
.hero-mini { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px 28px; margin-top: 28px; }
/* Four numbers sit two by two */
.hero-mini:has(> div:nth-child(4)) { grid-template-columns: repeat(2, auto); column-gap: 40px; }
.hero-mini > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.hero-mini dd { margin: 0; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-mini .stat-unit { color: var(--accent); }
.hero-mini dt { max-width: 12ch; font-size: var(--fs-xs); line-height: 1.35; color: var(--on-dark-muted); }
@media (min-width: 1024px) {
  .hero-head { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); grid-template-areas: "main side" "ctas side"; column-gap: clamp(48px, 6vw, 96px); row-gap: 32px; }
  .hero-main { grid-area: main; align-self: end; }
  .hero-ctas { grid-area: ctas; align-self: start; margin-top: 0; }
  .hero-side { grid-area: side; align-self: center; padding-left: 32px; border-left: 1px solid rgb(255 255 255 / .18); }
  /* Key numbers: one row across the hero, under the headline and the intro */
  .hero .hero-head > .hero-mini:has(> div) { grid-column: 1 / -1; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin-top: 16px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .14); }
  .hero-head > .hero-mini > div { padding-inline: 28px; border-left: 1px solid rgb(255 255 255 / .14); }
  .hero-head > .hero-mini > div:first-child { padding-left: 0; border-left: 0; }
  .hero-head > .hero-mini dd { font-size: clamp(1.9rem, 1.3rem + 1.2vw, 2.5rem); }
  .hero-head > .hero-mini dt { max-width: 20ch; font-size: var(--fs-sm); }
  .hero-sub { font-size: var(--fs-body); }
}
/* Wide screens: two set lines, the label in the indent of the second, centred on it */
@media (min-width: 1280px) {
  .hero-title .hl { display: block; }
  /* The second line steps in only to make room for the "since" label beside it */
  .hero-main:has(.hero-since) .hero-title .hl-2 { padding-left: 9rem; }
  .hero-since { position: absolute; left: 0; bottom: calc(var(--hero-fs) * .52); width: 8rem; margin: 0; transform: translateY(50%); }
}

/* Video reel under the headline: starts inside the grid, widens to the screen edges as you scroll */
.hero-reel { margin-top: clamp(32px, 4vw, 48px); }
.hero-reel-frame {
  --rx: var(--gutter); --rr: var(--r-photo);
  position: relative; isolation: isolate; overflow: hidden; margin-inline: var(--rx); border-radius: var(--rr);
  height: clamp(380px, 50vw, 740px); background: var(--ink);
}
@media (min-width: 1024px) { .hero-reel-frame { --rx: max(var(--gutter), calc((100vw - var(--container)) / 2)); } }
.hero-reel-frame video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* The poster is a real <img> (found early, fetchpriority high): it is the LCP element on phones */
.reel-poster, .reel-poster img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.hero-reel-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 55%, rgb(11 31 58 / .55)); pointer-events: none; }
.reel-card {
  position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); display: flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 16px; border-radius: 18px; background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  text-decoration: none; box-shadow: var(--shadow); transition: transform .3s var(--ease-out);
}
.reel-card:hover { transform: translateY(-3px); }
.reel-card > span:nth-child(2) { display: grid; line-height: 1.3; }
.reel-card strong { font-size: var(--fs-small); }
.reel-card span span { font-size: var(--fs-sm); color: var(--muted); }
.reel-card .ph { color: var(--accent-ink); margin-left: 6px; }
.live-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #1FA463; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #1FA463; opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .live-dot::after { animation: live 2s var(--ease-out) infinite; } }
@keyframes live { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.reel-toggle {
  position: absolute; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; color: #fff; background: rgb(11 31 58 / .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / .3);
}
.reel-toggle:hover { background: rgb(11 31 58 / .7); }

/* ==========================================================================
   WIDGET: Logo marquee / roles marquee
   ========================================================================== */
.logos { padding-block: 16px 0; }
.marquee-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.marquee-title { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--muted); }
.marquee-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); flex: none; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); width: max-content; padding-block: 8px; }
.marquee-track > li { flex: none; color: #5B6B80; }
.marquee-track svg { height: 32px; width: auto; display: block; }
.marquee-track svg text { font-family: var(--font); letter-spacing: -.02em; }
.marquee-roles .marquee-track { gap: 12px; }
.marquee-roles .marquee-track > li { padding: 12px 22px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .marquee.is-running .marquee-track { animation: marquee var(--marquee-speed, 42s) linear infinite; }
  .marquee.is-paused .marquee-track, .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-toggle { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   WIDGET: Intent selector ("What do you need?")
   ========================================================================== */
.intent-grid { display: grid; gap: 40px; }
.intent .chips { margin-top: 32px; }
.intent-panel { position: relative; display: grid; border-radius: calc(var(--r-card) + 4px); overflow: hidden; background: var(--ink); color: var(--on-dark); min-height: 420px; }
.intent-result { display: grid; align-content: end; gap: 14px; padding: 32px 24px; position: relative; z-index: 1; }
.intent-result[hidden] { display: none; }
.intent-result .photo { position: absolute; inset: 0; z-index: -1; border-radius: 0; aspect-ratio: auto; }
.intent-result .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 31 58 / .1), rgb(11 31 58 / .92) 70%); }
.intent-result .label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FFB48A; }
.intent-result h3 { font-size: var(--fs-h3); max-width: 18ch; }
.intent-result p { color: #DDE5EF; max-width: 44ch; }
.intent-result .btn { justify-self: start; margin-top: 8px; }
@media (min-width: 640px) { .intent-result { padding: 40px; } }
@media (min-width: 1024px) {
  .intent-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
  .intent-panel { min-height: 520px; }
}

/* ==========================================================================
   WIDGET: Services stack (home)
   ========================================================================== */
.stack { display: grid; gap: 24px; }
.stack-inner {
  position: relative; display: grid; overflow: hidden; border-radius: calc(var(--r-card) + 4px);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transform-origin: 50% 0; --dim: 0;
}
.stack-inner::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: var(--dim); pointer-events: none; }
.stack-card:nth-child(2) .stack-inner { background: var(--blue-tint); }
.stack-card:nth-child(4) .stack-inner { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.stack-card:nth-child(4) .stack-copy p { color: var(--on-dark-muted); }
.stack-card:nth-child(4) .tags li { border-color: rgb(255 255 255 / .22); }
.stack-card:nth-child(2) .tags li { border-color: #C3D2E3; }
.stack-copy { display: flex; flex-direction: column; gap: 18px; padding: 32px 24px 36px; }
.stack-copy h3 { font-size: var(--fs-h3); }
.stack-copy p { color: var(--muted); max-width: 42ch; }
.stack-copy .link-arrow { margin-top: 6px; align-self: flex-start; }
.stack-img { order: -1; aspect-ratio: 16 / 10; overflow: hidden; }
.stack-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .stack { gap: 4vh; }
  .stack-card { position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 16px); }
  /* Cards hold a title and one line: keep them short */
  .stack-inner { grid-template-columns: 1.1fr .9fr; min-height: min(280px, 40vh); }
  /* The photo fills its half without sizing the card, so a portrait image cannot make one card taller */
  .stack-img { order: 0; aspect-ratio: auto; position: relative; }
  .stack-img img { position: absolute; inset: 0; }
  .stack-copy { padding: 36px 48px; gap: 12px; justify-content: center; }
}

/* ==========================================================================
   WIDGET: Audience split
   ========================================================================== */
.audience-grid { display: grid; gap: 20px; }
.audience { position: relative; overflow: hidden; border-radius: calc(var(--r-card) + 4px); padding: 36px 24px; isolation: isolate; }
.audience h2 { font-size: clamp(1.6rem, 1.3rem + .9vw, 2rem); max-width: 16ch; }
.audience p { margin-top: 14px; max-width: 40ch; }
.audience-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; display: block; }
.audience-employer { background: var(--ink); color: var(--on-dark); display: flex; flex-direction: column; justify-content: center; }
.audience-employer p { color: var(--on-dark-muted); }
.audience-employer .btn { margin-top: 32px; align-self: flex-start; }
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks .ph { color: var(--accent); font-size: 1.35rem; flex: none; margin-top: 1px; }
.audience-seeker { color: var(--on-dark); min-height: 560px; display: flex; align-items: flex-end; background: var(--ink); }
.audience-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.audience-seeker::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 31 58 / .15) 0%, rgb(11 31 58 / .78) 38%, rgb(11 31 58 / .96) 100%); }
.audience-body { position: relative; width: 100%; }
.audience-seeker p { color: #DDE5EF; }
.search-card { display: grid; gap: 12px; margin-top: 24px; padding: 16px; background: var(--surface); color: var(--ink); border-radius: 20px; }
.search-card .field label { font-size: var(--fs-xs); }
.search-card .btn { width: 100%; }
@media (min-width: 640px) {
  .audience { padding: 48px; }
  .search-card { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .search-card .btn { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .audience-grid { grid-template-columns: 1fr 1.15fr; }
  .audience { min-height: 600px; }
}

/* ==========================================================================
   WIDGET: Process (horizontal pan on desktop)
   ========================================================================== */
.process { padding-block: var(--section-y); }
.process-head { margin-bottom: var(--title-gap); }
.process-progress { display: none; }
.process-track { display: grid; gap: 16px; padding-inline: var(--gutter); max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; }
.process-step { border: 1px solid rgb(255 255 255 / .14); border-radius: var(--r-card); padding: 28px; background: rgb(255 255 255 / .03); }
.process-step h3 { font-size: var(--fs-xl); margin-top: 20px; }
.process-step p { margin-top: 10px; color: var(--on-dark-muted); }
.step-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-sm); background: rgb(243 109 38 / .14); color: #FF9A62; font-size: 1.6rem; }
@media (min-width: 768px) {
  .process-track { grid-template-columns: repeat(2, 1fr); }
  /* An odd last step takes the full row */
  .process-step:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  /* One row, however many steps */
  .process-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .process-step:last-child:nth-child(odd) { grid-column: auto; }
}
.process.is-pan { padding-block: 0; }
/* Pinned, it fills the screen with the steps centred below the fixed header, so no empty band shows while it pans */
.process.is-pan .process-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 24px) 24px; overflow: hidden; }
.process.is-pan .process-head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; }
.process.is-pan .process-head .eyebrow { grid-column: 1 / -1; }
.process.is-pan .process-progress { display: block; width: 200px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .14); overflow: hidden; margin-bottom: 14px; }
.process.is-pan .process-progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.process.is-pan .process-track { display: flex; gap: 24px; width: max-content; max-width: none; margin: 0; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.process.is-pan .process-step { width: clamp(320px, 30vw, 420px); min-height: clamp(260px, 36vh, 340px); padding: 36px; display: flex; flex-direction: column; }
.process.is-pan .process-step h3 { font-size: var(--fs-h3); margin-top: auto; }

/* ==========================================================================
   WIDGET: Stats
   ========================================================================== */
/* One card, hairline dividers between figures (2 x 2 on small screens, 4 across on desktop) */
.stats-grid {
  --stat-line: var(--line);
  display: grid; grid-template-columns: repeat(2, 1fr); margin: 0;
  background: var(--surface); border: 1px solid var(--stat-line); border-radius: calc(var(--r-card) + 4px); box-shadow: var(--shadow); overflow: hidden;
}
.stat { position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: clamp(24px, 1rem + 2vw, 44px); }
.stat:nth-child(2n) { border-left: 1px solid var(--stat-line); }
.stat:nth-child(n + 3) { border-top: 1px solid var(--stat-line); }
.stat::before { content: ""; position: absolute; top: 0; left: clamp(24px, 1rem + 2vw, 44px); width: 36px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
.stat dt { color: var(--muted); font-size: var(--fs-small); font-weight: 600; max-width: 22ch; }
.stat dd { margin: 0; font-size: clamp(2.1rem, 1.6rem + 1.6vw, 3.25rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-unit { color: var(--accent); margin-left: .02em; }
.bg-ink .stats-grid { --stat-line: rgb(255 255 255 / .14); background: rgb(255 255 255 / .04); box-shadow: none; }
.bg-ink .stat dt { color: var(--on-dark-muted); }
.bg-ink .stat-unit { color: #FF9A62; }
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat:nth-child(n + 3) { border-top: 0; }
  .stat + .stat { border-left: 1px solid var(--stat-line); }
}

/* ==========================================================================
   WIDGET: Industries bento (home)
   ========================================================================== */
.bento { display: grid; gap: 16px; }
.cell { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: 24px; border-radius: var(--r-card); overflow: hidden; text-decoration: none; isolation: isolate; }
.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease-out); }
.cell.has-img { color: #fff; }
.cell.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 31 58 / 0) 30%, rgb(11 31 58 / .88) 100%); }
.cell:hover img { transform: scale(1.05); }
.cell-body { display: grid; gap: 4px; }
.cell-body strong { font-size: var(--fs-lg); letter-spacing: -.02em; line-height: 1.2; }
.cell-body span { font-size: var(--fs-small); opacity: .88; }
.cell-icon { position: absolute; top: 24px; left: 24px; font-size: 2.25rem; }
.tint-blue { background: var(--blue-tint); color: var(--ink); }
.tint-blue .cell-icon { color: var(--blue); }
.tint-orange { background: var(--accent-tint); color: var(--ink); }
.tint-orange .cell-icon { color: var(--accent-ink); }
.cell-it .cell-body strong { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .cell { min-height: 0; }
  .cell-it, .cell-lg { grid-column: span 2; }
  .cell-lg { order: 1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; grid-template-areas: "it it hc" "mf bf hc" "lg lg rt"; }
  .cell-it { grid-area: it; } .cell-hc { grid-area: hc; } .cell-mf { grid-area: mf; }
  .cell-bf { grid-area: bf; } .cell-lg { grid-area: lg; } .cell-rt { grid-area: rt; }
  .cell { padding: 32px; }
}

/* ==========================================================================
   WIDGET: Testimonials
   ========================================================================== */
/* Quote cards. Without JavaScript they sit in a grid; main.js ([data-carousel]) adds .is-ready and the
   current card sits in the middle, raised, with its neighbours tilted beside it (wide screens) */
.testimonials { overflow-x: clip; }
.t-head { text-align: center; }
.t-head .section-title { margin-inline: auto; }
.t-track { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
/* Without the carousel (one or two quotes) the cards stay a comfortable reading width, centred */
.t-carousel:not(.is-ready) .t-track { max-width: 920px; margin-inline: auto; }
.t-carousel:not(.is-ready) .t-card { padding: 36px 32px 40px; }
.t-card { display: grid; align-content: start; justify-items: center; gap: 14px; padding: 32px 28px 36px; text-align: center; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); }
.t-who strong { display: block; font-size: var(--fs-md); letter-spacing: -.01em; }
.t-who span { display: block; margin-top: 2px; font-size: var(--fs-sm); color: var(--muted); }
.t-rating { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 700; }
.t-stars { display: inline-flex; gap: 2px; font-size: 1rem; color: var(--accent); }
.t-card blockquote { margin: 0; }
.t-card blockquote p { font-size: var(--fs-md); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.t-card blockquote p::before { content: "\201C"; }
.t-card blockquote p::after { content: "\201D"; }
/* Attribution under the quote, as "— Role, Company" (the dash is drawn here so page text stays dash-free) */
.t-by { font-size: var(--fs-small); color: var(--muted); }
.t-by::before { content: "\2014\00A0"; }
.t-controls { display: grid; justify-items: center; gap: 14px; margin-top: 8px; }
.t-controls[hidden] { display: none; }
.t-dots { display: flex; }
.t-dots button { display: grid; place-items: center; width: 24px; height: 24px; }
.t-dots button::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--line-strong); transition: width .3s var(--ease-out), background-color .3s; }
.t-dots button[aria-current="true"] { width: 36px; }
.t-dots button[aria-current="true"]::before { width: 24px; background: var(--accent); }
.t-arrows { display: flex; gap: 12px; }
.t-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 1.2rem; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out); }
.t-arrow:hover { border-color: var(--ink); }
.t-arrow:active { transform: scale(.94); }
.t-arrow-next { background: var(--ink); border-color: var(--ink); color: #fff; }
.t-arrow-next:hover { background: var(--blue); border-color: var(--blue); }
/* Carousel: all cards share one grid cell (the row takes the tallest card), moved by class */
.t-carousel.is-ready .t-track { grid-template-columns: 1fr; padding-block: 16px 56px; touch-action: pan-y; }
.t-carousel.is-ready .t-card { grid-area: 1 / 1; align-self: stretch; justify-self: center; width: min(400px, 100%); opacity: 0; visibility: hidden; transition: transform .6s var(--ease-out), opacity .45s, visibility .45s, box-shadow .45s; }
.t-carousel.is-ready .t-card.is-active { opacity: 1; visibility: visible; z-index: 2; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) {
  .t-carousel.is-ready .t-card { width: min(400px, 40vw); }
  .t-carousel.is-ready .t-card:is(.is-prev, .is-next) { opacity: 1; visibility: visible; z-index: 1; cursor: pointer; }
  .t-carousel.is-ready .t-card.is-prev { transform: translate(-86%, 32px) rotate(-6deg) scale(.92); }
  .t-carousel.is-ready .t-card.is-next { transform: translate(86%, 32px) rotate(6deg) scale(.92); }
  .t-carousel.is-ready .t-card.is-active { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .t-carousel.is-ready .t-card { transition: none; } }

/* ==========================================================================
   WIDGET: Post cards (home + insights)
   ========================================================================== */
.posts-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: var(--title-gap); }
.posts-grid { display: grid; gap: 32px; }
.post { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.post .photo { --ratio: 16 / 10; }
.post img { transition: transform .9s var(--ease-out); }
.post:hover img { transform: scale(1.04); }
.post h3 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -.02em; transition: color .2s; }
.post p { color: var(--muted); font-size: var(--fs-small); }
.post:hover h3 { color: var(--blue); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-sm); color: var(--muted); }
.post-meta .cat { color: var(--accent-ink); font-weight: 700; }
@media (min-width: 768px) and (max-width: 1023px) {
  .posts-grid.home-posts { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .posts-grid.home-posts .post-feature { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .posts-grid.home-posts { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 32px 48px; }
  .home-posts .post-feature { grid-row: span 2; }
  .home-posts .post-feature h3 { font-size: var(--fs-2xl); }
  .home-posts .post:not(.post-feature) { grid-template-columns: 200px 1fr; grid-template-rows: auto 1fr; column-gap: 24px; }
  .home-posts .post:not(.post-feature) .photo { grid-row: span 3; --ratio: 1; }
}

/* ==========================================================================
   Feature list (sticky heading + list) used by services, about
   ========================================================================== */
.feature-split { display: grid; gap: var(--title-gap); }
/* A photo under a section heading fills the left column on desktop; phones skip it */
.head-photo { display: none; }
@media (min-width: 1024px) {
  .head-photo { display: block; margin-top: 36px; max-width: 420px; }
  .feature-split .section-head:has(.head-photo) { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
.feature-list { display: grid; }
.feature-list > li { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding-block: 28px; border-top: 1px solid var(--line); }
.feature-list > li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .ph { grid-row: span 2; font-size: 1.75rem; color: var(--blue); margin-top: 2px; }
.feature-list h3 { font-size: var(--fs-h4); letter-spacing: -.02em; }
.feature-list p { color: var(--muted); max-width: 56ch; }
.feature-list.on-dark > li { border-color: rgb(255 255 255 / .14); }
.feature-list.on-dark .ph { color: #FF9A62; }
.feature-list.on-dark h3 { color: #fff; }
.feature-list.on-dark p { color: var(--on-dark-muted); }

/* Offer cards (digital services, career programmes) */
/* Expanding cards (offer cards: home digital services, career programmes, digital marketing). One card is open,
   the first by default; on wide screens hovering or focusing another opens it (main.js [data-xcards]).
   Phones and tablets show every card in full. */
.xcards { --xcard-closed: #E3EBF4; display: grid; gap: 16px; }
.offer-card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 1rem + 1.5vw, 32px); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); }
.xcard-body { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.offer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.offer-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); font-size: 1.625rem; }
.offer-num { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.offer-card h3 { font-size: clamp(1.25rem, 1rem + .6vw, 1.5rem); line-height: 1.15; letter-spacing: -.02em; }
.offer-short { font-weight: 600; color: var(--ink); }
.offer-card p:not(.offer-short) { color: var(--muted); }
.xcard-more { display: grid; gap: 12px; align-content: start; }
.offer-card .tags { padding-top: 4px; }
.xcard-media { display: none; }
.xcard-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); text-decoration: none; }
.xcard-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.xcard-arrow { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); font-size: 1.1rem; transition: background-color .3s, border-color .3s; }
:is(.xcard-link:hover, .xcard.is-open) .xcard-arrow { background: var(--accent); border-color: var(--accent); color: #fff; }
.xcard:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (min-width: 640px) { .xcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  /* Height: what the tallest open card needs at this width (main.js sets --xcards-h) */
  .xcards { display: flex; height: var(--xcards-h, 360px); }
  .xcards.is-measuring { height: auto; align-items: flex-start; }
  .xcards.is-measuring :is(.xcard, .xcard-more, .xcard-media) { transition: none !important; }
  .xcards.is-measuring .xcard-more { flex: none; overflow: visible; }
  .xcard { flex: 1 1 0; min-width: 0; overflow: hidden; padding: 24px; background: var(--xcard-closed); box-shadow: none; transition: flex-grow .65s var(--ease-out), background-color .45s, box-shadow .45s; }
  .xcard.is-open { flex-grow: 3.4; background: var(--surface); box-shadow: var(--shadow-lg); }
  .xcard .mkt-short { font-size: var(--fs-xl); }
  .xcard .offer-icon { background: var(--surface); transition: background-color .45s, color .45s; }
  .xcard.is-open .offer-icon { background: var(--blue); color: #fff; }
  .xcard-more { flex: 1; min-height: 0; overflow: hidden; }
  /* Closed: a preview of the first line of text (up to six lines); the rest stays readable to screen readers */
  .xcard:not(.is-open) .xcard-more > :first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; font-weight: 400; color: var(--muted); }
  .xcard:not(.is-open) .xcard-more > :not(:first-child) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* Opening: the rest fades in once the card has widened */
  .xcard.is-open .xcard-more > :not(:first-child) { animation: xcard-in .45s .2s var(--ease-out) both; }
  /* The longer paragraph (with a short line) and the "We report" line are left to phones and tablets, where every card shows in full */
  .xcard .offer-short ~ p, .xcard .mkt-report { display: none; }
}
/* The photo in the open card, on screens wide enough for text and photo side by side */
@media (min-width: 1280px) {
  .xcard.has-media.is-open .xcard-body { width: calc(54% - 16px); }
  .xcard-media { display: block; position: absolute; top: 16px; right: 16px; bottom: 16px; width: calc(46% - 24px); margin: 0; overflow: hidden; border-radius: calc(var(--r-card) - 8px); opacity: 0; transform: translateX(24px); pointer-events: none; transition: opacity .25s, transform .65s var(--ease-out); }
  .xcard.is-open .xcard-media { opacity: 1; transform: none; transition: opacity .5s .15s, transform .65s var(--ease-out); }
  .xcard-media img { width: 100%; height: 100%; object-fit: cover; }
}
@keyframes xcard-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .xcard, .xcard-more, .xcard-media { transition: none !important; } .xcard-more > * { animation: none !important; } }
@media (min-width: 1024px) {
  .feature-split { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .feature-split .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
}

/* ==========================================================================
   WIDGET: How it works photo reel (service pages)
   List of steps with tilted photos by default. With .is-reel (desktop, set by
   main.js) the section pins and becomes a stage: photo fan in the middle,
   current step left, next step right, caption and thumbnails at the bottom.
   ========================================================================== */
.how-steps { display: grid; gap: 48px; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.how-step { display: grid; gap: 20px; align-items: center; }
.how-photo {
  width: min(100%, 340px); aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2);
  border: 6px solid #fff; border-radius: var(--r-sm); box-shadow: 0 24px 50px -24px rgb(0 0 0 / .6); rotate: -2.5deg;
}
.how-step:nth-child(even) .how-photo { rotate: 2deg; }
.how-photo img { width: 100%; height: 100%; object-fit: cover; }
.how-num { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FFB48A; }
.how-copy h3 { font-size: var(--fs-xl); margin-top: 8px; color: #fff; }
.how-copy p { margin-top: 8px; color: var(--on-dark-muted); max-width: 52ch; }
.how-note { display: inline-flex; gap: 8px; align-items: center; justify-self: start; padding: 8px 16px; border-radius: var(--r-pill); background: rgb(255 255 255 / .08); font-size: var(--fs-small); font-weight: 600; color: #fff; }
.how-note .ph { color: #FFB48A; }
.how-arrow, .how-next, .how-bar, .how-foot { display: none; }
@media (min-width: 640px) {
  .how-step { grid-template-columns: minmax(200px, 300px) 1fr; column-gap: 48px; row-gap: 16px; }
  .how-photo { grid-row: span 2; }
  .how-copy { align-self: end; }
  .how-note { align-self: start; }
}

.how.is-reel { padding-bottom: 0; }
.how.is-reel .how-pin { height: 100vh; padding: calc(var(--header-h) + 8px) var(--gutter) var(--gutter); }
.how.is-reel .how-stage {
  --cw: min(21vw, calc((100vh - 340px) * .8), 300px); /* photo card width */
  --edge: clamp(28px, 3vw, 56px);
  --side: calc((100% - var(--cw) * 2.2) / 2 - var(--edge) * 1.5);
  --mid: 46%; /* vertical centre of the photo fan */
  position: relative; height: 100%; overflow: hidden; isolation: isolate;
  border-radius: 32px; background: var(--bg); color: var(--ink);
}
.how.is-reel .how-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--edge); font-size: var(--fs-small); font-weight: 600; color: var(--muted);
}
.how-bar span:first-child { display: inline-flex; gap: 10px; align-items: center; }
.how-bar .ph { font-size: var(--fs-h4); color: var(--accent); }
.how-bar b { color: var(--ink); }
.how.is-reel .how-steps { position: absolute; inset: 0; display: block; max-width: none; margin: 0; padding: 0; }
.how.is-reel .how-step { position: absolute; inset: 0; display: block; pointer-events: none; }
.how.is-reel .how-photo {
  position: absolute; left: calc(50% - var(--cw) / 2); top: calc(var(--mid) - var(--cw) * .625); width: var(--cw); aspect-ratio: 4 / 5;
  rotate: none; border-width: 7px; border-radius: 18px; will-change: transform;
  box-shadow: 0 2px 6px rgb(11 31 58 / .08), 0 34px 60px -30px rgb(11 31 58 / .55);
}
.how.is-reel .how-copy,
.how.is-reel .how-next { position: absolute; top: var(--mid); width: var(--side); transform: translateY(-50%); }
.how.is-reel .how-copy { left: var(--edge); max-width: 420px; }
.how.is-reel .how-next { right: var(--edge); max-width: 320px; display: block; }
.how.is-reel .how-num { color: var(--accent-ink); }
.how.is-reel .how-copy h3 { margin-top: 14px; font-size: clamp(1.5rem, 1rem + 1vw, 2rem); letter-spacing: -.035em; color: var(--ink); }
.how.is-reel .how-copy p { margin-top: 16px; font-size: var(--fs-lead); color: var(--muted); }
.how-label { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.how-next strong { display: block; margin-top: 12px; font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -.02em; }
.how-next p { margin-top: 8px; font-size: var(--fs-small); color: var(--muted); }
.how-next .btn { margin-top: 20px; }
/* Handwritten note above the active photo, with an arrow that draws in */
.how.is-reel .how-note {
  /* Text sits up and left of the photo; the arrow runs from its end into the photo's top-left corner */
  position: absolute; z-index: 120; right: calc(50% + var(--cw) / 2 - 34px); top: calc(var(--mid) - var(--cw) * .625 - 58px);
  display: flex; align-items: flex-start; gap: 4px; padding: 0; background: none; border-radius: 0;
  font-family: "Caveat", cursive; font-size: var(--fs-2xl); font-weight: 600; line-height: 1.05; color: var(--ink);
}
.how.is-reel .how-note > span { order: -1; max-width: 200px; text-align: right; rotate: -5deg; }
.how.is-reel .how-note .ph { display: none; }
.how.is-reel .how-arrow { display: block; flex: none; width: 64px; height: 56px; margin-top: 10px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.how-arrow path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .7s var(--ease-out) .35s; }
.how-step.is-active .how-arrow path { stroke-dashoffset: 0; }
.how-step.is-active .how-arrow path + path { transition-delay: .8s; }
/* Only the active step's text shows; the rest wait just below */
.how.is-reel :is(.how-copy, .how-next, .how-note) { opacity: 0; translate: 0 14px; transition: opacity .3s, translate .5s var(--ease-out); }
.how.is-reel .how-step.is-active :is(.how-copy, .how-next, .how-note) { opacity: 1; translate: 0 0; transition-duration: .5s, .7s; transition-delay: .12s; }
.how.is-reel .how-step.is-active .how-next { pointer-events: auto; }
.how.is-reel .how-foot {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vh, 30px); z-index: 130;
  display: grid; justify-items: center; gap: 12px; pointer-events: none;
}
.how-caption { display: grid; justify-items: center; font-size: var(--fs-xs); line-height: 1.35; }
.how-caption strong { font-size: var(--fs-sm); }
.how-caption em { color: var(--muted); }
.how-thumbs {
  display: flex; align-items: flex-end; gap: 6px; padding: 6px; border-radius: 14px; pointer-events: auto;
  background: rgb(255 255 255 / .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.how-thumbs button { width: 46px; height: 32px; border-radius: 7px; overflow: hidden; opacity: .5; transition: opacity .3s, transform .45s var(--ease-out), box-shadow .3s; }
.how-thumbs button:hover { opacity: .85; }
.how-thumbs button[aria-current="step"] { opacity: 1; transform: translateY(-4px) scale(1.18); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); }
.how-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Comparison table (services overview)
   ========================================================================== */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare caption { text-align: left; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 20px; font-size: var(--fs-small); }
.compare thead th { font-size: var(--fs-base); background: var(--ink); color: #fff; }
.compare thead th:first-child { border-radius: 16px 0 0 0; background: transparent; }
.compare thead th:last-child { border-radius: 0 16px 0 0; }
.compare thead th a { color: inherit; text-decoration: none; }
.compare thead th a:hover { text-decoration: underline; }
.compare tbody th { font-weight: 700; color: var(--ink); width: 18%; }
.compare tbody td { background: var(--surface); color: var(--muted); }
.compare tbody tr + tr > * { border-top: 1px solid var(--line); }
.compare tbody tr:last-child td:last-child { border-radius: 0 0 16px 0; }
.compare tbody tr:last-child td:first-of-type { border-radius: 0 0 0 16px; }
.compare-cards { display: grid; gap: 16px; }
.compare-card { background: var(--surface); border-radius: var(--r-card); padding: 24px; border: 1px solid var(--line); }
.compare-card h3 { font-size: var(--fs-lg); }
.compare-card dl { margin: 16px 0 20px; display: grid; gap: 14px; }
.compare-card dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare-card dd { margin: 2px 0 0; }
.compare-wrap { display: none; }
@media (min-width: 1024px) {
  .compare-wrap { display: block; }
  .compare-cards { display: none; }
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: var(--fs-md); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .35s var(--ease-out), background-color .2s; }
.faq details[open] summary .ph { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq summary:hover .ph { border-color: var(--ink); }
.faq-body { overflow: hidden; }
.faq-body > div { padding-bottom: 24px; color: var(--muted); max-width: 64ch; }
.faq-grid { display: grid; gap: var(--title-gap); }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* ==========================================================================
   Service detail
   ========================================================================== */
.model-card { display: grid; gap: 32px; padding: 32px 24px; border-radius: calc(var(--r-card) + 4px); background: var(--surface); border: 1px solid var(--line); }
.model-card h2 { font-size: clamp(1.6rem, 1.3rem + .9vw, 2rem); max-width: 18ch; }
.model-card p { margin-top: 16px; color: var(--muted); max-width: 48ch; }
.model-points { display: grid; gap: 12px; }
.model-points li { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--bg); font-weight: 600; }
.model-points .ph { color: var(--accent); font-size: 1.35rem; flex: none; }
@media (min-width: 768px) { .model-card { padding: 48px; } }
@media (min-width: 1024px) { .model-card { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* Related pages: cards with an icon tile, title, short line and an "Explore" link; the whole card is clickable */
.related-cards { display: grid; gap: 16px; }
.related-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 1rem + 1.4vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .3s, box-shadow .3s, transform .4s var(--ease-out); }
.related-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-size: 1.4rem; transition: background-color .3s, color .3s; }
.related-card h3 { font-size: var(--fs-h4); letter-spacing: -.02em; }
.related-card p { color: var(--muted); font-size: var(--fs-small); }
.related-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--blue); text-decoration: none; }
.related-more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.related-more .ph { transition: transform .3s var(--ease-out); }
.related-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.related-card:hover .related-icon { background: var(--blue); color: #fff; }
.related-card:hover .related-more .ph { transform: translateX(4px); }
.related-card:focus-within { border-color: var(--blue); }
.related-more:focus-visible { outline: none; }
.related-more:focus-visible::after { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (min-width: 768px) { .related-cards { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .related-card, .related-more .ph { transition: none; } }

/* ==========================================================================
   About
   ========================================================================== */
.statement { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2.125rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; max-width: 30ch; }
.statement .word { transition: none; }
.wide-photo { --ratio: 16 / 9; }
@media (min-width: 1024px) { .wide-photo { --ratio: 21 / 9; } }
/* Core values: the heading stays in view on the left while the values stack on the right.
   Each row reads top to bottom: value, promise, explanation. */
.principles { display: grid; counter-reset: principle; }
.principles li { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding-block: 28px; border-top: 1px solid var(--line); counter-increment: principle; }
.principles li > * { grid-column: 2; }
.principles li::before { grid-column: 1; grid-row: 1 / span 3; padding-top: .45em; content: counter(principle, decimal-leading-zero); font-weight: 800; font-size: var(--fs-small); color: var(--accent-ink); font-variant-numeric: tabular-nums; }
/* An accent line fills the top border as the row comes into view (main.js adds .is-seen), and on hover */
.principles li::after { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.principles li:is(:hover, .is-seen)::after { transform: none; }
.principles h3 { font-size: var(--fs-h3); letter-spacing: -.02em; }
.value-promise { margin-top: 4px; font-size: var(--fs-base); font-weight: 600; line-height: 1.35; color: var(--ink); }
.principles p:not(.value-promise) { margin-top: 10px; color: var(--muted); max-width: 56ch; }
@media (min-width: 1024px) {
  .values-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
  .values-head { position: sticky; top: calc(var(--header-h) + 48px); margin-bottom: 0; }
  .principles li { grid-template-columns: 64px 1fr; padding-block: 36px; }
  .value-promise { margin-top: 6px; font-size: var(--fs-lg); }
  .principles li:first-child { padding-top: 0; border-top: 0; }
  .principles li:first-child::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .principles li::after { transition: none; } }
.offices { display: grid; gap: 16px; }
.office { display: grid; gap: 12px; align-content: start; padding: 32px 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.office .tag { justify-self: start; }
.office h3 { font-size: var(--fs-h3); }
.office address { font-style: normal; color: var(--muted); }
.office .link-arrow { justify-self: start; margin-top: 8px; }
.office-dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.office-dark address { color: var(--on-dark-muted); }
.office-dark .tag { border-color: rgb(255 255 255 / .25); }
@media (min-width: 768px) { .offices { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Industries list with cursor-follow preview
   ========================================================================== */
.industry-list { border-top: 1px solid var(--line); }
.industry { border-bottom: 1px solid var(--line); }
.industry summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 28px 0; cursor: pointer; list-style: none; }
.industry summary::-webkit-details-marker { display: none; }
.industry-name { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2.125rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; transition: color .25s, transform .5s var(--ease-out); }
.industry-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: var(--fs-small); font-weight: 600; }
.industry-meta .ph { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 1.1rem; color: var(--ink); transition: transform .35s var(--ease-out), background-color .2s; }
.industry[open] .industry-meta .ph { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) { .industry summary:hover .industry-name { color: var(--blue); transform: translateX(10px); } }
.industry-body { overflow: hidden; }
.industry-body > div { display: grid; gap: 24px; padding-bottom: 32px; }
.industry-body .photo { --ratio: 16 / 9; }
.industry-body p { color: var(--muted); max-width: 56ch; }
.industry-body .industry-roles-title { font-size: var(--fs-xs); line-height: 1.4; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
@media (min-width: 1024px) {
  .industry-body > div { grid-template-columns: 1fr 1fr; gap: 48px; }
  .industry-body .photo { display: none; }
}
.hover-preview { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 4 / 3; border-radius: var(--r-photo); overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); box-shadow: var(--shadow-lg); }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 1023px) { .hover-preview { display: none; } }

/* ==========================================================================
   Jobs listing
   ========================================================================== */
.jobs-hero { background: var(--ink); color: var(--on-dark); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(40px, 5vw, 64px); }
.jobs-hero .page-title { color: #fff; }
.jobs-hero .page-title em { color: #8EC1EA; }
.jobs-hero .lead { color: var(--on-dark-muted); }
.jobs-hero .breadcrumb ol { color: var(--on-dark-muted); }
.jobs-hero .breadcrumb li + li::before { color: rgb(255 255 255 / .3); }
.job-search { display: grid; gap: 12px; margin-top: 32px; padding: 16px; background: var(--surface); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); }
.job-search .field label { font-size: var(--fs-xs); }
@media (min-width: 768px) { .job-search { grid-template-columns: 1.6fr 1fr 1fr auto; align-items: end; } }

.jobs-layout { display: grid; gap: 32px; }
.filters { display: grid; gap: 24px; align-content: start; }
.filter-title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.results-count { font-weight: 700; }
.results-count span { color: var(--muted); font-weight: 500; }
.job-list { display: grid; gap: 12px; }
.job-card { position: relative; display: grid; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transition: border-color .25s, box-shadow .35s var(--ease-out), transform .35s var(--ease-out); }
.job-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.job-card h3 { font-size: var(--fs-h4); letter-spacing: -.02em; line-height: 1.3; }
.job-card h3 a { text-decoration: none; }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-card .client { color: var(--muted); font-size: var(--fs-small); margin-top: 4px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-small); color: var(--ink); }
.job-meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .ph { color: var(--blue); font-size: 1.1rem; }
.job-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.job-card .posted { font-size: var(--fs-sm); color: var(--muted); }
.job-card .tag-type { background: var(--blue-tint); border-color: transparent; }
.job-card .tag-new { background: var(--accent-tint); border-color: transparent; color: var(--accent-ink); }
.empty-state { display: grid; justify-items: start; gap: 12px; padding: 40px 28px; border-radius: 20px; border: 1.5px dashed var(--line-strong); }
.empty-state[hidden] { display: none; }
.empty-state h3 { font-size: var(--fs-lg); }
.empty-state p { color: var(--muted); max-width: 48ch; }
.alert-card { display: grid; gap: 12px; padding: 28px; border-radius: 20px; background: var(--ink); color: var(--on-dark); }
.alert-card h3 { font-size: var(--fs-h4); }
.alert-card p { color: var(--on-dark-muted); font-size: var(--fs-small); }
.alert-card .ph-whatsapp-logo { font-size: 2rem; color: var(--wa); }
@media (min-width: 1024px) {
  .jobs-layout { grid-template-columns: 280px 1fr; gap: 48px; }
  .filters { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ==========================================================================
   Job detail
   ========================================================================== */
.job-detail-hero { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px)); padding-bottom: 40px; }
.job-detail-hero .page-title { font-size: clamp(1.9rem, 1.45rem + 1.5vw, 2.75rem); max-width: 22ch; }
.job-detail-hero .job-meta { margin-top: 20px; font-size: var(--fs-base); }
.job-layout { display: grid; gap: 40px; }
.job-body h2 { font-size: var(--fs-xl); margin: 40px 0 16px; }
.job-body h2:first-child { margin-top: 0; }
.job-body p { color: var(--muted); }
.job-body ul { display: grid; gap: 10px; }
.job-body li { position: relative; padding-left: 28px; color: var(--muted); }
.job-body li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 10px; height: 2px; background: var(--accent); }
/* Equal opportunity line under every job description */
.job-body .eeo-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.apply-card { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); align-self: start; }
.apply-card dl { display: grid; gap: 14px; }
.apply-card dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.apply-card dd { margin: 2px 0 0; font-weight: 600; }
.share-row { display: flex; gap: 8px; align-items: center; font-size: var(--fs-small); color: var(--muted); }
.share-row a, .share-row button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .2s, border-color .2s; }
.share-row a:hover, .share-row button:hover { border-color: var(--ink); }
@media (min-width: 1024px) {
  .job-layout { grid-template-columns: 1fr 360px; gap: 64px; }
  .apply-card { position: sticky; top: calc(var(--header-h) + 24px); }
}
.apply-section { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { display: grid; gap: 20px; background: var(--bg); border-radius: calc(var(--r-card) + 4px); padding: 28px 20px; }
.bg-surface .form-card, .form-card.on-bg { background: var(--surface); }
.form-card.on-bg { border: 1px solid var(--line); }
.form-row { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field .label { font-size: var(--fs-small); font-weight: 600; }
.optional { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-input); background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='%230B1F3A' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B7A8D; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(7 77 128 / .16); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-hint { font-size: var(--fs-sm); color: var(--muted); }
.field-error { color: var(--danger); font-size: var(--fs-sm); font-weight: 600; }
.field-error[hidden] { display: none; }
.field[hidden] { display: none; }
.input-prefix { display: flex; border: 1.5px solid var(--line-strong); border-radius: var(--r-input); background: var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.input-prefix > span:first-child { display: grid; place-items: center; padding-inline: 14px; background: #EAEFF4; font-weight: 600; color: var(--muted); }
/* Inner corners follow the box, so nothing paints over its rounded border (WordPress shows the error message below the box with overflow visible) */
.input-prefix > span:first-child:not(.wpcf7-form-control-wrap), .field .input-prefix select { border-radius: calc(var(--r-input) - 1.5px) 0 0 calc(var(--r-input) - 1.5px); }
.field .input-prefix input { border-radius: 0 calc(var(--r-input) - 1.5px) calc(var(--r-input) - 1.5px) 0; }
/* Country code (employer forms: India or US) */
.field .input-prefix select { flex: none; width: auto; min-height: 0; padding: 0 34px 0 14px; border: 0; background-color: #EAEFF4; background-position: right 10px center; font-weight: 600; color: var(--muted); cursor: pointer; }
.field .input-prefix select:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.field .input-prefix input { border: 0; }
.input-prefix input:focus { box-shadow: none; }
.input-prefix:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgb(7 77 128 / .16); }
.input-prefix:has([aria-invalid="true"]) { border-color: var(--danger); }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; min-height: 0; margin: 1px 0 0; padding: 0;
  border: 2px solid var(--line-strong); border-radius: 6px; background: var(--surface) center / 14px no-repeat; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.field-check input[type="checkbox"]:hover { border-color: var(--blue); }
.field-check input[type="checkbox"]:checked {
  border-color: var(--blue); background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.field-check input[type="checkbox"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field-check input[type="checkbox"][aria-invalid="true"] { border-color: var(--danger); }
.field-check label { font-weight: 500; font-size: var(--fs-small); color: var(--muted); }
.form-card .btn[type="submit"] { justify-self: start; }
.form-success { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-sm); background: var(--success-tint); color: var(--success); }
.form-success .ph { font-size: 1.6rem; flex: none; }
.form-success[hidden] { display: none; }
.form-note { font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 40px; }
}

.dropzone { position: relative; display: grid; justify-items: center; gap: 6px; padding: 28px 20px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--r-input); background: var(--surface); transition: border-color .2s, background-color .2s; }
.dropzone.is-over { border-color: var(--blue); background: var(--blue-tint); }
.dropzone[aria-invalid="true"] { border-color: var(--danger); }
.dropzone .ph { font-size: 2rem; color: var(--blue); }
.dropzone strong { font-size: var(--fs-base); }
.dropzone span { font-size: var(--fs-sm); color: var(--muted); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.file-chip { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-input); background: var(--success-tint); color: var(--success); font-weight: 600; font-size: var(--fs-small); }
.file-chip[hidden] { display: none; }
.file-chip button { margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--success); }
.file-chip button:hover { background: rgb(17 89 58 / .1); }

.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); }
.segmented [role="tab"] { min-height: 44px; padding: 10px 20px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-small); color: var(--muted); transition: background-color .25s, color .25s; }
.segmented [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 48px; }
.contact-methods { display: grid; gap: 12px; }
.contact-methods a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); text-decoration: none; transition: border-color .2s; }
.contact-methods a:hover { border-color: var(--ink); }
.contact-methods .ph { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-input); background: var(--blue-tint); font-size: 1.4rem; color: var(--blue); flex: none; }
.contact-methods .ph-whatsapp-logo { background: #E3F7EA; color: #128C4A; }
.contact-methods span { display: grid; font-size: var(--fs-small); color: var(--muted); }
.contact-methods strong { color: var(--ink); font-size: var(--fs-base); }
.contact-aside { display: grid; gap: 32px; align-content: start; }
.contact-aside h2 { font-size: var(--fs-h4); margin-bottom: 16px; }
.hours { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: var(--fs-small); }
.hours .ph { font-size: var(--fs-h4); color: var(--blue); margin-top: 2px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }

/* ==========================================================================
   Insights + article
   ========================================================================== */
.feature-post { display: grid; gap: 24px; text-decoration: none; }
.feature-post .photo { --ratio: 16 / 10; }
.feature-post img { transition: transform .9s var(--ease-out); }
.feature-post:hover img { transform: scale(1.03); }
.feature-post h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem); max-width: 20ch; transition: color .2s; }
.feature-post:hover h2 { color: var(--blue); }
.feature-post p { color: var(--muted); max-width: 52ch; margin-top: 12px; }
@media (min-width: 1024px) { .feature-post { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; } }
.insights-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.post-grid { display: grid; gap: 40px 24px; }
@media (min-width: 768px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.newsletter { display: grid; gap: 24px; padding: 32px 24px; border-radius: calc(var(--r-card) + 4px); }
.newsletter h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); max-width: 18ch; color: #fff; }
.newsletter p { color: var(--on-dark-muted); margin-top: 12px; max-width: 44ch; }
.newsletter form { display: grid; gap: 12px; align-content: end; }
.newsletter .input-prefix { border-color: transparent; }
@media (min-width: 640px) { .newsletter { padding: 48px; } .newsletter form { grid-template-columns: 1fr auto; } .newsletter .field-error, .newsletter .form-success { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .newsletter { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; } }

.article-hero { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 72px)); padding-bottom: 40px; }
.article-hero .page-title { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); max-width: 22ch; }
.article-hero .post-meta { margin-top: 24px; font-size: var(--fs-small); }
.article-cover { --ratio: 21 / 9; }
.article-layout { display: grid; gap: 40px; padding-block: clamp(40px, 5vw, 72px) var(--section-y); }
.article-aside { display: none; }
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: 180px minmax(0, 68ch); justify-content: center; gap: 64px; }
  .article-aside { display: grid; gap: 12px; align-content: start; position: sticky; top: calc(var(--header-h) + 32px); }
  .article-aside p { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .article-aside .share-row { flex-direction: row; }
}
.prose { max-width: 68ch; font-size: var(--fs-md); line-height: 1.75; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 2em; line-height: 1.2; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.75em; letter-spacing: -.02em; }
/* Effective and last-updated dates at the top of a policy */
.prose .legal-dates { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.prose ul, .prose ol { display: grid; gap: .6em; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .8em; width: 10px; height: 2px; background: var(--accent); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 36px; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .15em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-size: var(--fs-xs); font-weight: 800; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.02em; line-height: 1.4; }
.prose a { color: var(--blue); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose .note { padding: 18px 20px; border-radius: var(--r-sm); background: var(--blue-tint); font-size: var(--fs-base); }
.prose p, .prose li { color: #24364F; }

/* Legal */
.legal-layout { display: grid; gap: 40px; padding-bottom: var(--section-y); }
.toc { display: none; }
@media (min-width: 1024px) {
  .legal-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .toc p { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: var(--fs-small); color: var(--muted); text-decoration: none; }
  .toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--accent); }
}
.prose section { scroll-margin-top: calc(var(--header-h) + 24px); }

/* 404 */
.not-found { min-height: 80dvh; display: grid; align-items: center; padding-top: calc(var(--header-h) + 48px); padding-bottom: var(--section-y); }
.not-found .big::before { content: "404"; }
.not-found .big { font-size: clamp(6rem, 3rem + 14vw, 14rem); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--blue-tint); -webkit-text-stroke: 2px var(--blue); }

/* ==========================================================================
   Site footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(48px, 5vw, 72px) 0 32px; font-size: var(--fs-small); overflow: hidden; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-sm); background: rgb(243 109 38 / .1); border: 1px solid rgb(243 109 38 / .35); color: #fff; margin-bottom: 56px; }
.notice .ph { font-size: 1.5rem; color: #FF9A62; flex: none; }
.notice a { text-decoration: underline !important; color: #FFB48A; }
.footer-grid { display: grid; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 30ch; }
.site-footer h2 { color: #fff; font-size: var(--fs-base); letter-spacing: 0; margin-bottom: 16px; }
.site-footer nav li + li { margin-top: 10px; }
.site-footer address { font-style: normal; margin-bottom: 12px; }
.site-footer .footer-office-us { margin-top: 28px; }
.footer-us-site { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }
.footer-us-site .ph { color: var(--accent); }
.office .link-arrow + .link-arrow { margin-top: 0; }
.office + .office { margin-top: 16px; }
.office-dark .hours { color: var(--on-dark-muted); }
.office-dark .hours .ph { color: #FFB48A; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid rgb(255 255 255 / .18); font-size: var(--fs-h4); color: #fff; transition: background-color .2s; }
.socials a:hover { background: rgb(255 255 255 / .1); }
.footer-wordmark { text-align: center; margin: clamp(48px, 7vw, 96px) 0 0; font-size: clamp(1.9rem, 8.4vw, 8.8rem); font-weight: 800; letter-spacing: -.055em; line-height: .82; color: #fff; white-space: nowrap; overflow: hidden; padding-bottom: .06em; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .12); font-size: var(--fs-xs); }
.footer-legal { flex-direction: column; }
@media (min-width: 768px) { .footer-legal { flex-direction: row; } .footer-legal p:last-child { margin-left: auto; } }
/* Website credit: its own centred line at the very bottom, under a faint divider */
.footer-legal > .footer-credit { order: 1; flex-basis: 100%; display: flex; justify-content: center; margin-top: 12px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .08); }
.footer-legal .sep { display: inline-block; width: 16px; }
/* Website credit: the studio's animated mark beside its name */
.footer-credit a { display: inline-flex; align-items: baseline; gap: 6px; color: inherit; text-decoration: none; transition: color .2s; }
.footer-credit a:hover { color: #fff; }
/* The bars stand on the text's baseline, no taller than its capitals */
.footer-credit img { height: 11px; width: auto; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; } .footer-brand { grid-column: auto; } }

/* ==========================================================================
   Page-specific details
   ========================================================================== */
.flush-top { padding-top: 0; }
.legal-layout + .cta-band,
.section:not(.bg-surface, .bg-ink) + dialog + .cta-band { padding-top: 0; }
/* Heading reveal: the line mask must leave room for g, y and p */
.split-line-mask { padding-bottom: .2em; margin-bottom: -.2em; }
fieldset.chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.jobs-hero .lead { margin-top: 20px; }
.job-body .tags { display: flex; gap: 8px; }
.job-body .tags li { padding: 6px 14px; color: var(--ink); background: var(--surface); }
.job-body .tags li::before { content: none; }
.quote-section .pull-quote { color: var(--ink); }
.quote-section .pull-cite { color: var(--muted); }
.gap-top { margin-top: 24px; }
.section-roles { padding-top: clamp(8px, 2vw, 24px); }
.section-roles + .section { padding-top: var(--section-y); }
.industry-count { font-size: .38em; font-weight: 700; letter-spacing: 0; color: var(--accent-ink); vertical-align: super; margin-left: .3em; font-variant-numeric: tabular-nums; }
.industry-models { display: none; }
@media (min-width: 768px) { .industry-models { display: inline; } }
.big-quote { display: block; font-size: 3rem; color: var(--accent); margin-bottom: 24px; }
.pull-quote { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2.125rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; max-width: 28ch; color: #fff; }
.pull-cite { margin-top: 28px; color: var(--on-dark-muted); font-weight: 600; }
.results-tools { display: flex; align-items: center; gap: 16px; }
.clear-btn { font-size: var(--fs-small); }
.sort-select { min-height: 44px; padding: 8px 40px 8px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 256 256'%3E%3Cpath fill='%230B1F3A' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; font-weight: 600; font-size: var(--fs-small); }
.fee-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; font-size: var(--fs-small); color: var(--muted); }
.fee-note .ph { font-size: var(--fs-h4); color: var(--blue); flex: none; margin-top: 1px; }
.empty-state > .ph { font-size: 2rem; color: var(--blue); }
@media (min-width: 1024px) { .similar-list { grid-template-columns: repeat(3, 1fr); } }
.tags.plain li { background: var(--surface); }
.segmented { margin-bottom: 20px; flex-wrap: wrap; }
.byline { margin-top: 24px; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; line-height: 1.4; }
.updated { margin-top: 16px; font-size: var(--fs-small); }
.feature-split > .photo { align-self: center; }
.feature-split .section-head > div { margin-top: 8px; }
.post-feature .photo { --ratio: 16 / 10; }

/* Sticky apply bar on job pages (mobile) */
.apply-bar { position: fixed; inset: auto 0 0; z-index: var(--z-float); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transition: transform .4s var(--ease-out); }
.apply-bar[hidden] { display: block; transform: translateY(110%); visibility: hidden; }
.page-job .mobile-bar { display: none; }
@media (min-width: 768px) { .apply-bar, .apply-bar[hidden] { display: none; } }

/* WhatsApp float + mobile bar */
.wa-float { display: none; }
.mobile-bar { position: fixed; inset: auto 0 0; z-index: var(--z-float); display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: var(--fs-xs); font-weight: 700; text-decoration: none; }
.mobile-bar .ph { font-size: 1.35rem; }
.mobile-bar .ph-whatsapp-logo { color: #128C4A; }
.mobile-bar .mobile-bar-cta { background: var(--accent); color: var(--ink); font-size: var(--fs-small); }
@media (min-width: 768px) {
  .mobile-bar { display: none; }
  .wa-float { display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: var(--z-float); width: 58px; height: 58px; border-radius: var(--r-pill); background: var(--wa); color: #fff; font-size: 1.9rem; box-shadow: 0 10px 30px -8px rgb(18 140 74 / .6); transition: transform .3s var(--ease-out); }
  .wa-float:hover { transform: translateY(-3px) scale(1.04); }
}

/* Mega menu: the intro column only fits on wide screens */
@media (max-width: 1199px) {
  .mega { grid-template-columns: 1fr 250px; }
  .mega-intro { display: none; }
}

/* ==========================================================================
   WIDGET: India presence map (home)
   ========================================================================== */
.presence-grid { display: grid; gap: var(--title-gap); align-items: center; }
.presence-copy .lead { margin-top: 20px; }
.city-list { margin-top: 32px; border-top: 1px solid var(--line); }
.city-list a { display: flex; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .2s, padding .3s var(--ease-out); }
.city-name { font-weight: 700; font-size: var(--fs-body); letter-spacing: -.01em; }
.city-count { margin-left: auto; font-size: var(--fs-small); color: var(--muted); }
.city-list .ph { color: var(--muted); transition: color .2s; }
.city-list a:hover, .city-list a.is-active { background: var(--surface); padding-inline: 14px; }
.city-list a:hover .ph, .city-list a.is-active .ph { color: var(--accent-ink); }
.presence-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; font-size: var(--fs-small); color: var(--muted); }
.presence-note .ph { font-size: 1.4rem; color: var(--blue); flex: none; }
.presence-map { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.india-map { display: block; width: 100%; height: auto; overflow: visible; }
.map-dots { fill: none; stroke: #B9C7D8; stroke-linecap: round; }
.pin { cursor: pointer; }
.pin-dot { fill: var(--blue); stroke: var(--bg); stroke-width: 3; transition: fill .2s; }
.pin-hq .pin-dot { fill: var(--accent); }
.pin-pulse { fill: var(--blue); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin-hq .pin-pulse { fill: var(--accent); }
.pin-label { font: 700 15px var(--font); fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; opacity: 0; transition: opacity .25s; pointer-events: none; }
.pin-hq .pin-label, .pin.is-active .pin-label { opacity: 1; }
.pin.is-active .pin-dot { fill: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .pin-hq .pin-pulse, .pin.is-active .pin-pulse { animation: pin-pulse 2.2s var(--ease-out) infinite; }
}
@keyframes pin-pulse { 0% { transform: scale(.3); opacity: .45; } 100% { transform: scale(1.6); opacity: 0; } }
@media (min-width: 1024px) {
  .presence-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* Home seeker card link to the resume score */
.seeker-score { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .4); }
.seeker-score:hover { text-decoration-color: currentColor; }
.seeker-score .ph { color: #FFB48A; font-size: 1.15em; }

/* ==========================================================================
   WIDGET: Resume score (ATS check)
   ========================================================================== */
.ats-promises { display: grid; gap: 14px; margin-top: 32px; }
.ats-promises li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.ats-promises strong { color: var(--ink); }
.ats-promises .ph { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--blue); font-size: 1.1rem; margin-top: -4px; }
.ats-tool { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); align-self: start; }
.ats-step-no { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: #fff; font-size: var(--fs-xs); font-weight: 800; }
.ats-tool .dropzone { padding-block: 36px; }
.ats-tool [data-ats-jd] .btn { justify-self: start; margin-top: 4px; }
.ats-status { display: grid; gap: 10px; padding: 18px 20px; border-radius: var(--r-input); background: var(--bg); }
.ats-status[hidden] { display: none; }
.ats-status li { position: relative; padding-left: 30px; font-size: var(--fs-small); color: var(--muted); transition: color .3s; }
.ats-status li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); }
.ats-status li.is-active { color: var(--ink); font-weight: 600; }
.ats-status li.is-active::before { border-color: var(--blue); border-right-color: transparent; animation: spin .8s linear infinite; }
.ats-status li.is-done { color: var(--ink); }
.ats-status li.is-done::before { border-color: var(--success); background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23fff' d='M104 192a8 8 0 0 1-5.66-2.34l-56-56a8 8 0 0 1 11.32-11.32L104 172.69 202.34 74.34a8 8 0 0 1 11.32 11.32l-104 104A8 8 0 0 1 104 192Z'/%3E%3C/svg%3E") center / 12px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ats-status li.is-active::before { animation: none; } }

.ats-out { padding-block: 0 var(--section-y); scroll-margin-top: calc(var(--header-h) + 16px); outline: none; }
.ats-out[hidden] { display: none; }
.ats-report { display: grid; gap: 20px; }
.ats-strong { --grade: #1B8A55; --grade-tint: var(--success-tint); }
.ats-good { --grade: var(--blue); --grade-tint: var(--blue-tint); }
.ats-fair { --grade: #D2600F; --grade-tint: var(--accent-tint); }
.ats-weak { --grade: var(--danger); --grade-tint: #FBE7E5; }

.ats-summary { display: grid; gap: 24px; align-items: center; padding: 28px 24px; border-radius: calc(var(--r-card) + 4px); background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.ats-summary .ats-ring-track { stroke: rgb(255 255 255 / .12); }
.ats-gauge { position: relative; width: 168px; aspect-ratio: 1; }
.ats-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ats-ring circle { fill: none; stroke-width: 10; }
.ats-ring-track { stroke: var(--line); }
.ats-ring-bar { stroke: var(--grade); stroke-linecap: round; }
.ats-summary .ats-ring-bar { stroke: var(--grade-on-dark, var(--grade)); }
.ats-summary.ats-strong { --grade-on-dark: #4FD18E; }
.ats-summary.ats-good { --grade-on-dark: #7DB8E8; }
.ats-summary.ats-fair { --grade-on-dark: #FF9A5C; }
.ats-summary.ats-weak { --grade-on-dark: #FF7B70; }
.ats-gauge-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 3.25rem; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ats-gauge-num small { display: block; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--on-dark-muted); margin-top: 4px; }
.ats-grade { display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--grade-on-dark); color: var(--ink); font-weight: 800; font-size: var(--fs-sm); letter-spacing: .02em; }
.ats-headline { margin-top: 14px; font-size: var(--fs-h3); max-width: 22ch; color: #fff; }
.ats-against { margin-top: 12px; color: var(--on-dark-muted); font-size: var(--fs-small); }
.ats-against strong { color: #fff; }
@media (min-width: 768px) {
  .ats-summary { grid-template-columns: auto 1fr; gap: 48px; padding: 40px 48px; }
}

.ats-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .ats-grid { grid-template-columns: 1.1fr 1fr; } }
.ats-card { padding: 28px 24px; border-radius: calc(var(--r-card) + 4px); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 768px) { .ats-card { padding: 36px 40px; } }
.ats-card h3 { font-size: var(--fs-lg); margin-bottom: 20px; }
.ats-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.ats-card-head h3 { margin: 0; }
.ats-cats { display: grid; gap: 22px; }
.ats-cat-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ats-cat-head span { font-weight: 800; font-variant-numeric: tabular-nums; }
.ats-cat-head small { color: var(--muted); font-weight: 600; }
.ats-meter { height: 8px; border-radius: var(--r-pill); background: var(--bg); overflow: hidden; }
.ats-meter span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--blue); transform: scaleX(var(--v)); transform-origin: 0 50%; }
.ats-cat p { margin-top: 8px; font-size: var(--fs-small); color: var(--muted); }
.ats-label { margin: 20px 0 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ats-card h3 + .ats-label { margin-top: 0; }
.kws { display: flex; flex-wrap: wrap; gap: 8px; }
.kw { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; }
.kw-yes { background: var(--success-tint); color: var(--success); }
.kw-part { background: var(--blue-tint); color: var(--blue); }
.kw-no { background: var(--surface); color: var(--ink); border: 1.5px dashed var(--line-strong); }
.kw-no .ph { color: var(--accent-ink); }
.ats-extras { display: grid; gap: 10px; }
.ats-extras li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: var(--fs-small); }
.ats-extras .ph { font-size: 1.2rem; color: var(--line-strong); }
.ats-extras li.is-ok { color: var(--ink); }
.ats-extras li.is-ok .ph { color: var(--success); }
.ats-fixes { display: grid; counter-reset: fix; }
.ats-fixes li { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); counter-increment: fix; }
.ats-fixes li::before { content: counter(fix); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); font-weight: 800; font-size: var(--fs-sm); }
.ats-fixes strong { display: block; font-size: var(--fs-body); letter-spacing: -.01em; }
.ats-fixes p { margin-top: 6px; color: var(--muted); font-size: var(--fs-small); max-width: 70ch; }
.ats-gain { padding: 4px 10px; border-radius: var(--r-pill); background: var(--success-tint); color: var(--success); font-weight: 800; font-size: var(--fs-xs); white-space: nowrap; }
.ats-jobs { display: grid; gap: 10px; }
@media (min-width: 1024px) { .ats-jobs { grid-template-columns: repeat(3, 1fr); } }
.ats-jobs a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 16px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background-color .2s; }
.ats-jobs a:hover { border-color: var(--ink); background: var(--bg); }
.ats-jobs .ph { margin-left: auto; color: var(--muted); }
.ats-job-pct { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font-weight: 800; font-size: var(--fs-body); background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--blue) calc(var(--v) * 1%), var(--bg) 0); }
.ats-job-pct small { font-size: var(--fs-2xs); }
.ats-job-body { display: grid; gap: 2px; }
.ats-job-body strong { line-height: 1.25; }
.ats-job-body span { font-size: var(--fs-sm); color: var(--muted); }
.ats-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.ats-explain { display: grid; gap: 12px; }
@media (min-width: 768px) { .ats-explain { grid-template-columns: 1fr 1fr; gap: 16px; } }
.ats-explain li { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; padding: 24px; border-radius: var(--r-card); background: var(--bg); }
.ats-explain-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface); color: var(--blue); font-size: 1.5rem; }
.ats-explain h3 { font-size: var(--fs-md); }
.ats-explain p { margin-top: 6px; color: var(--muted); font-size: var(--fs-small); }
.ats-explain-pts { font-weight: 800; font-size: var(--fs-xl); letter-spacing: -.03em; line-height: 1; text-align: right; }
.ats-explain-pts small { display: block; font-size: var(--fs-2xs); font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* Compact score under a CV upload */
.ats-mini[hidden] { display: none; }
.ats-mini-loading { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-input); background: var(--bg); font-size: var(--fs-small); color: var(--muted); }
.ats-mini-loading .ph-spinner-gap { animation: spin 1s linear infinite; font-size: 1.2rem; color: var(--blue); }
.ats-mini-inner { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 18px; border-radius: 18px; background: var(--grade-tint); }
.ats-gauge-sm { width: 76px; }
.ats-gauge-sm .ats-ring circle { stroke-width: 12; }
.ats-gauge-sm .ats-ring-track { stroke: rgb(255 255 255 / .8); }
.ats-gauge-sm .ats-gauge-num { font-size: var(--fs-xl); color: var(--ink); }
.ats-mini-body { display: grid; gap: 8px; font-size: var(--fs-small); }
.ats-mini-title { font-size: var(--fs-base); }
.ats-mini-title strong { color: var(--grade); }
.kws-sm .kw { padding: 4px 10px 4px 8px; font-size: var(--fs-xs); background: var(--surface); }
.ats-mini-body .text-link { justify-self: start; }
.ats-mini-note { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }

/* ==========================================================================
   Back to top + cookie choices
   ========================================================================== */
.to-top {
  position: fixed; right: 16px; bottom: 76px; z-index: var(--z-float); display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
  text-decoration: none; transition: opacity .3s, transform .3s var(--ease-out);
}
.to-top[hidden] { display: grid; opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--line); stroke-width: 2.5; }
.to-top .to-top-bar { stroke: var(--accent); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
.to-top .ph { font-size: 1.15rem; }
.to-top:hover { transform: translateY(-3px); }
@media (min-width: 768px) { .to-top { right: 32px; bottom: 100px; } }

/* ==========================================================================
   Team wireframe (October 2026): Services menu groups, homepage sections, Primary CTA
   ========================================================================== */

/* ---------- Services menu: Hiring & Staffing | Digital Growth ---------- */
.mega-services { grid-template-columns: 1fr 1fr 260px; }
.mega-group { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mega-group-head { display: grid; gap: 6px; padding: 18px; border-radius: var(--r-sm); background: var(--bg); text-decoration: none; transition: background-color .2s; }
.mega-group-head:hover, .mega-group-head[aria-current="page"] { background: var(--blue-tint); }
.mega-group-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.mega-group-head strong { font-size: var(--fs-md); letter-spacing: -.02em; line-height: 1.25; }
.mega-group-head > span:not(.mega-group-label):not(.link-arrow) { font-size: var(--fs-small); color: var(--muted); }
.mega-group-head .link-arrow { justify-self: start; margin-top: 4px; font-size: var(--fs-small); }
.mega-group .mega-list-icons { grid-template-columns: 1fr; }
.mega-group .mega-link { padding: 12px 40px 12px 12px; gap: 12px; }
.mega-group .mega-arrow { top: 14px; right: 14px; }
@media (max-width: 1199px) {
  .mega-services { grid-template-columns: 1fr 1fr; }
  .mega-services .mega-feature { display: none; }
}
.mobile-sub-label { margin-top: 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.mobile-sub ul:not(:last-child) { border-bottom: 0; padding-bottom: 4px; }

/* ---------- Numbers: six figures in a 3 x 2 card ---------- */
@media (min-width: 1024px) {
  .stats-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid-6 .stat + .stat { border-left: 0; }
  .stats-grid-6 .stat:not(:nth-child(3n + 1)) { border-left: 1px solid var(--stat-line); }
  .stats-grid-6 .stat:nth-child(n + 4) { border-top: 1px solid var(--stat-line); }
}

/* ---------- About Monark (home) ---------- */
.about-home-grid { display: grid; gap: 40px; align-items: center; }
.about-home-media { position: relative; }
.about-home-badge { position: absolute; right: 16px; bottom: 16px; display: grid; gap: 6px; max-width: 240px; padding: 18px 20px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.about-home-badge strong { font-size: 2.125rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--accent-ink); }
.about-home-badge span { font-size: var(--fs-small); font-weight: 600; color: var(--muted); line-height: 1.4; }
.about-home-copy .section-title { margin-top: 18px; }
.about-home-copy .lead { margin-top: 24px; color: var(--ink); }
.about-home-copy > p:not(.eyebrow):not(.lead) { margin-top: 16px; color: var(--muted); max-width: 60ch; }
.about-home-points { display: grid; gap: 14px; margin-top: 32px; }
.about-home-points > div { padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.about-home-points h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-body); letter-spacing: -.01em; }
.about-home-points h3 .ph { font-size: 1.35rem; color: var(--accent-ink); }
.about-home-points p { margin-top: 8px; font-size: var(--fs-small); color: var(--muted); }
.about-home-copy > .btn { margin-top: 32px; }
@media (min-width: 640px) { .about-home-points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .about-home-grid { grid-template-columns: 5fr 6fr; gap: clamp(56px, 6vw, 96px); }
  .about-home-badge { right: -28px; bottom: 40px; }
}

/* ---------- Digital cards: four across on wide screens ---------- */

/* ---------- Why Monark ---------- */
.why-grid { display: grid; gap: 40px; }
.why-intro .section-title { margin-top: 18px; }
.why-intro .lead { margin-top: 20px; }
.why-intro .btn { margin-top: 32px; }
.why-list { display: grid; column-gap: 48px; }
.why-item { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 20px; align-content: start; padding: 28px 0; border-top: 1px solid var(--line); }
.why-item .why-icon { grid-row: span 2; transition: transform .3s var(--ease-out); }
.why-item:hover .why-icon { transform: translateY(-2px); }
.why-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); font-size: 1.625rem; }
.why-item h3 { margin-top: 2px; font-size: var(--fs-h4); letter-spacing: -.02em; line-height: 1.3; }
.why-item p { margin-top: 8px; font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } }
/* Three reasons read as one column */
@media (min-width: 640px) { .why-list:not(:has(> :nth-child(4))) { grid-template-columns: 1fr; } }
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: 4fr 7fr; gap: clamp(48px, 5vw, 80px); align-items: start; }
  .why-intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Primary CTA banner (every page, above the footer) ---------- */
.cta-card { position: relative; display: grid; gap: 40px; padding: clamp(32px, 1rem + 4vw, 72px); overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: calc(var(--r-card) + 8px); }
.cta-card .eyebrow { color: #FFB48A; }
.cta-title { font-size: var(--fs-h2); color: #fff; max-width: 15ch; }
.cta-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--on-dark-muted); max-width: 48ch; }
.cta-copy > .cta-button { margin-top: 28px; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; }
.cta-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 600; color: #fff; text-decoration: none; }
.cta-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cta-contact .ph { font-size: 1.2rem; color: #FFB48A; }
.cta-paths { display: grid; gap: 12px; align-content: center; }
.cta-path { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: var(--surface); color: var(--ink); border-radius: 20px; text-decoration: none; transition: transform .4s var(--ease-out), background-color .2s; }
.cta-path.is-primary { background: var(--accent); }
.cta-path.is-primary:hover { background: var(--accent-hover); }
.cta-path:hover { transform: translateY(-3px); }
.cta-path-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgb(11 31 58 / .08); font-size: 1.6rem; }
.cta-path > span:nth-child(2) { flex: 1; display: grid; gap: 4px; }
.cta-path strong { font-size: var(--fs-h4); letter-spacing: -.02em; line-height: 1.2; }
.cta-path span span { font-size: var(--fs-small); color: var(--muted); }
.cta-path.is-primary span span { color: rgb(11 31 58 / .8); }
.cta-path-arrow { flex: none; font-size: 1.4rem; transition: transform .3s var(--ease-out); }
.cta-path:hover .cta-path-arrow { transform: translate(3px, -3px); }
@media (min-width: 1024px) { .cta-card { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; } }
@media (max-width: 639px) {
  .cta-path { gap: 14px; padding: 18px; }
  .cta-path-icon { width: 44px; height: 44px; font-size: 1.35rem; }
  .cta-path strong { font-size: var(--fs-md); }
}

/* ==========================================================================
   About Us (team wireframe): story, mission and vision, values, timeline, leadership, proof
   ========================================================================== */
.story-grid { display: grid; gap: 32px; }
.story-copy > p:not(.statement) { font-size: var(--fs-lead); color: var(--muted); max-width: 60ch; }
.story-copy > p + p { margin-top: 20px; }
.story-copy .statement { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); }
@media (min-width: 1024px) {
  .story-grid { grid-template-columns: 5fr 7fr; gap: clamp(56px, 6vw, 96px); align-items: start; }
  .story-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 40px); }
}

.mv-grid { display: grid; gap: 20px; }
.mv-card { position: relative; display: grid; align-content: start; min-height: 320px; padding: clamp(28px, 1rem + 3vw, 56px); border-radius: calc(var(--r-card) + 4px); }
.mv-mission { background: var(--ink); color: #fff; }
.mv-mission .eyebrow { color: #FFB48A; }
.mv-vision { background: var(--blue-tint); }
.mv-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; border-radius: var(--r-sm); font-size: 1.75rem; background: rgb(255 255 255 / .08); color: #FF9A62; }
.mv-vision .mv-icon { background: var(--surface); color: var(--blue); }
.mv-text { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.3; max-width: 30ch; }
@media (min-width: 768px) { .mv-grid { grid-template-columns: 1fr 1fr; } }


/* Milestones: one milestone on stage at a time (big year, story, two photos), picked from a track of photo dots.
   Without JavaScript (no .is-ready) every milestone is listed in turn. */
.ms-head { margin-bottom: clamp(24px, 3vw, 40px); }
.ms-panel { display: grid; gap: 24px; padding-block: 28px; }
.ms-panel + .ms-panel { border-top: 1px solid rgb(255 255 255 / .12); }
.ms-year { font-size: clamp(3.5rem, 2.2rem + 5vw, 7rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.ms-copy h3 { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); letter-spacing: -.025em; color: #fff; }
.ms-copy p { margin-top: 12px; max-width: 44ch; color: var(--on-dark-muted); }
/* No milestone title: the text itself carries the panel */
.ms-copy h3.sr-only + p { margin-top: 0; font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); font-weight: 500; line-height: 1.45; color: #fff; }
.ms-light .ms-copy h3.sr-only + p { color: var(--ink); }
.ms-photos { display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; }
.ms-photo { position: relative; grid-row: 1; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 6px var(--ink); }
.ms-photo:nth-child(1) { grid-column: 1 / 9; }
.ms-photo:nth-child(2) { grid-column: 6 / 13; margin-top: 28%; }
.ms-photo:only-child { grid-column: 1 / -1; margin-top: 0; }
.ms-photo .img-pic, .ms-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ms-tag { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--accent); color: var(--ink); font-size: var(--fs-xs); font-weight: 800; }
.ms-nav { display: none; }

/* With JavaScript: panels share one spot (so the height never jumps) and only the chosen one shows */
.ms.is-ready .ms-panels { display: grid; touch-action: pan-y; }
.ms.is-ready .ms-panel { grid-area: 1 / 1; padding: 0; border: 0; }
.ms.is-ready .ms-panel[hidden] { display: grid; visibility: hidden; }
.ms.is-ready .ms-nav { display: flex; align-items: center; gap: 12px; margin-top: clamp(32px, 4vw, 56px); }
.ms-panel.is-in .ms-copy > * { animation: ms-up .6s var(--ease-out) both; }
.ms-panel.is-in .ms-copy > :nth-child(2) { animation-delay: .08s; }
.ms-panel.is-in .ms-photo { animation: ms-reveal .9s var(--ease-out) both; }
.ms-panel.is-in .ms-photo:nth-child(2) { animation-delay: .14s; }
.ms-panel.is-in .ms-photo img { animation: ms-zoom 1.3s var(--ease-out) both; }
@keyframes ms-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes ms-reveal { from { clip-path: inset(0 0 100% 0 round 14px); } to { clip-path: inset(0 round 14px); } }
@keyframes ms-zoom { from { transform: scale(1.08); } }

/* Track: photo dots on a dotted line that fills up to the chosen milestone */
.ms-track { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ms-track::-webkit-scrollbar { display: none; }
.ms-dots { position: relative; display: flex; justify-content: space-between; gap: 20px; min-width: max-content; padding: 12px 8px; }
.ms-line { position: absolute; top: 40px; left: 36px; right: 36px; border-top: 2px dotted rgb(255 255 255 / .25); pointer-events: none; }
.ms-line-fill { position: absolute; top: -2px; left: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--accent); transition: width .6s var(--ease-out); }
.ms-tab { position: relative; flex: none; display: grid; justify-items: center; gap: 10px; padding: 0; color: var(--on-dark-muted); background: none; border: 0; cursor: pointer; }
.ms-thumb { display: block; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: var(--ink-2); outline: 2px solid rgb(255 255 255 / .25); outline-offset: 3px; transition: transform .4s var(--ease-out), outline-color .3s; }
.ms-thumb .img-pic, .ms-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ms-thumb img { filter: grayscale(1); opacity: .55; transition: filter .4s, opacity .4s; }
.ms-tab-year { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ms-tab:hover .ms-thumb img { opacity: .9; }
.ms-tab[aria-selected="true"] { color: #fff; }
.ms-tab[aria-selected="true"] .ms-thumb { transform: scale(1.18); outline-color: var(--accent); }
.ms-tab[aria-selected="true"] .ms-thumb img { filter: none; opacity: 1; }
.ms-tab:focus-visible { outline: none; }
.ms-tab:focus-visible .ms-thumb { outline: 3px solid #fff; }
.ms-arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.1rem; color: #fff; background: none; border: 1px solid rgb(255 255 255 / .25); border-radius: 50%; cursor: pointer; transition: background-color .2s, border-color .2s, opacity .2s; }
.ms-arrow:hover:not(:disabled) { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .5); }
.ms-arrow:disabled { opacity: .3; cursor: default; }
@media (max-width: 639px) { .ms-arrow { display: none; } }
@media (min-width: 1024px) {
  /* Stage like a spread: the year across the top, story left and photos right of a thin centre line */
  .ms-panels { position: relative; }
  .ms.is-ready .ms-panels::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgb(243 109 38 / .35); }
  .ms-panel { grid-template-columns: 1fr 1fr; column-gap: clamp(56px, 7vw, 112px); row-gap: 32px; align-items: center; }
  .ms-year { grid-column: 1 / -1; justify-self: center; position: relative; }
  .ms-copy { justify-self: end; text-align: right; }
  .ms-copy p { margin-left: auto; }
  .ms-dots { padding-inline: 16px; }
  .ms-line { top: 48px; left: 52px; right: 52px; }
  .ms-thumb { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) { .ms-thumb, .ms-line-fill { transition: none; } }
/* Light background option (Elementor) */
.ms-light .ms-copy h3 { color: var(--ink); }
.ms-light .ms-copy p { color: var(--muted); }
.ms-light .ms-photo { box-shadow: 0 0 0 6px var(--bg); }
.ms-light .ms-tab { color: var(--muted); }
.ms-light .ms-tab[aria-selected="true"] { color: var(--ink); }
.ms-light .ms-line { border-top-color: var(--line-strong); }
.ms-light .ms-arrow { color: var(--ink); border-color: var(--line-strong); }
.ms-light .ms-panel + .ms-panel { border-top-color: var(--line); }

.team-head { align-items: end; }
@media (min-width: 1024px) { .team-head { grid-template-columns: 1.2fr 1fr; } }
/* An intro with a button under it is taller than the heading: line both up at the top, not the bottom */
.team-head:has(.gap-top) { align-items: start; }
.team-head .gap-top { margin-top: 20px; }
.leaders { display: grid; gap: 32px 20px; }
.leader { display: grid; gap: 4px; align-content: start; }
.leader-photo { --notch: 34px; display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 16px; border-radius: var(--r-photo); background: var(--blue-tint); overflow: hidden; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-photo span { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; color: var(--blue); }
.leader h3 { font-size: var(--fs-h4); letter-spacing: -.02em; }
.leader-role { font-size: var(--fs-small); font-weight: 700; color: var(--accent-ink); }
.leader p:not(.leader-role) { margin-top: 6px; font-size: var(--fs-small); color: var(--muted); }
.leader-link { justify-self: start; display: grid; place-items: center; width: 40px; height: 40px; margin-top: 12px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; color: var(--ink); text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.leader-link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 640px) { .leaders { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .leaders { grid-template-columns: repeat(4, 1fr); } }

.team-band { display: grid; margin-top: clamp(48px, 5vw, 72px); overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r-card) + 4px); }
.team-band .photo { height: 100%; border-radius: 0; clip-path: none; }
.team-band-copy { display: grid; align-content: center; padding: clamp(28px, 1rem + 3vw, 56px); }
.team-band-copy h3 { font-size: var(--fs-h3); }
.team-band-copy p { margin-top: 10px; color: var(--muted); }
.team-sectors { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.team-sectors li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--bg); font-size: var(--fs-small); font-weight: 600; }
.team-sectors .ph { font-size: 1.1rem; color: var(--accent-ink); }
.team-band-copy .btn { justify-self: start; }
@media (min-width: 1024px) { .team-band { grid-template-columns: 1fr 1fr; } }

.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.badge-tile { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 28px 18px; text-align: center; background: var(--bg); border: 1.5px dashed var(--line-strong); border-radius: var(--r-card); }
.badge-tile img { max-height: 72px; width: auto; margin-bottom: 10px; }
.badge-seal { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 10px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 6px var(--blue-tint); color: var(--blue); font-size: 2rem; }
.badge-tile strong { font-size: var(--fs-body); letter-spacing: -.01em; }
.badge-tile > span:last-child { font-size: var(--fs-xs); color: var(--muted); }
@media (min-width: 1024px) { .badges { grid-template-columns: repeat(4, 1fr); } }
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; margin: clamp(40px, 4vw, 56px) 0 0; }
.proof-item { display: grid; align-content: start; gap: 6px; padding-top: 24px; border-top: 2px solid var(--ink); }
.proof-num { order: -1; margin: 0; font-size: clamp(2.1rem, 1.7rem + 1.2vw, 2.75rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; color: var(--ink); }
.proof-item dt { font-weight: 700; }
.proof-text { margin: 0; max-width: 30ch; font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 1024px) { .proof { grid-template-columns: repeat(4, 1fr); } }
/* Accreditation tile with a real logo: solid border, white tile */
.badge-tile.has-logo { border-style: solid; border-color: var(--line); background: var(--surface); }

/* ==========================================================================
   Services pages (team wireframe): engagement models, screening funnel,
   tech capabilities, marketing cards, stack matrix
   ========================================================================== */
.models { display: grid; gap: 16px; }
.model { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r-card) + 4px); text-decoration: none; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; }
.model:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.model-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); font-size: 1.625rem; margin-bottom: 8px; }
.model-tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.model h3 { font-size: var(--fs-lg); letter-spacing: -.02em; }
.model > p { font-size: var(--fs-small); color: var(--muted); }
.model dl { display: grid; gap: 12px; margin: 8px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.model dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.model dd { margin: 2px 0 0; font-size: var(--fs-small); font-weight: 600; }
.model .link-arrow { margin-top: auto; align-self: flex-start; }
.compare-title { display: none; margin: clamp(48px, 5vw, 72px) 0 20px; font-size: var(--fs-lg); letter-spacing: -.02em; }
@media (min-width: 640px) { .models { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .compare-title { display: block; } }
@media (min-width: 1200px) { .models { grid-template-columns: repeat(4, 1fr); } }

.funnel-grid { display: grid; gap: 48px; }
.funnel-intro .lead { margin-top: 20px; }
.funnel-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; font-size: var(--fs-small); color: var(--on-dark-muted); }
.funnel-note .ph { flex: none; font-size: var(--fs-h4); color: #FF9A62; }
.funnel { display: grid; gap: 10px; }
.funnel-row { display: grid; gap: 14px; }
.funnel-bar-track { display: flex; justify-content: center; }
.funnel-bar { display: grid; place-items: center; width: var(--w); min-width: 96px; min-height: 60px; border-radius: 14px; background: #2A4A75; background: color-mix(in srgb, var(--funnel-to, var(--accent)) calc(var(--a, .3) * 100%), var(--funnel-from, #23436E)); transform-origin: 50% 50%; }
.funnel-bar strong { font-size: var(--fs-h4); font-weight: 800; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.funnel-row:nth-child(1) .funnel-bar { --a: 0; }
.funnel-row:nth-child(2) .funnel-bar { --a: .2; }
.funnel-row:nth-child(3) .funnel-bar { --a: .4; }
.funnel-row:nth-child(4) .funnel-bar { --a: .6; }
.funnel-row:nth-child(5) .funnel-bar { --a: .8; }
.funnel-row:last-child .funnel-bar { --a: 1; }
.funnel-row:last-child .funnel-bar strong { color: var(--ink); }
.funnel-step { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; color: #FFB48A; font-variant-numeric: tabular-nums; }
.funnel-step .ph { font-size: 1.1rem; }
.funnel-copy h3 { margin-top: 4px; font-size: var(--fs-md); color: #fff; letter-spacing: -.01em; }
.funnel-copy p { margin-top: 4px; font-size: var(--fs-small); color: var(--on-dark-muted); max-width: 44ch; }
.funnel-row + .funnel-row { padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .08); }
@media (min-width: 768px) {
  .funnel-row { grid-template-columns: 1.15fr 1fr; align-items: stretch; gap: 32px; }
  .funnel-copy { align-self: center; padding-block: 6px; }
  .funnel-bar-track { align-items: stretch; }
  .funnel-row + .funnel-row { padding-top: 0; border-top: 0; }
}
@media (min-width: 1024px) {
  .funnel-grid { grid-template-columns: 4fr 8fr; gap: clamp(48px, 5vw, 80px); align-items: center; }
}

.caps { display: grid; gap: 16px; }
.cap { display: flex; flex-direction: column; padding: clamp(28px, 1rem + 2vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r-card) + 4px); scroll-margin-top: calc(var(--header-h) + 24px); }
.cap-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); font-size: 1.625rem; }
.cap h3 { margin-top: 24px; font-size: clamp(1.4rem, 1.15rem + .7vw, 1.75rem); letter-spacing: -.02em; }
.cap > p:not(.cap-tech) { margin-top: 10px; color: var(--muted); }
.cap-list { display: grid; gap: 10px; margin: 22px 0 24px; }
.cap-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); font-weight: 600; }
.cap-list .ph { flex: none; margin-top: 1px; font-size: 1.2rem; color: var(--accent); }
.cap-tech { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-small); font-weight: 600; }
.cap-tech span { display: block; margin-bottom: 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ux-band { display: flex; gap: 20px; align-items: center; margin-top: 16px; padding: 24px 28px; background: var(--ink); color: #fff; border-radius: calc(var(--r-card) + 4px); }
.ux-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: rgb(255 255 255 / .08); color: #FF9A62; font-size: 1.6rem; }
.ux-band h3 { font-size: var(--fs-h4); letter-spacing: -.02em; }
.ux-band p { margin-top: 4px; font-size: var(--fs-small); color: var(--on-dark-muted); max-width: 70ch; }
@media (min-width: 1024px) { .caps { grid-template-columns: repeat(3, 1fr); } }
/* Two capability cards share the row; the link sits at the bottom of each card */
@media (min-width: 768px) { .caps:has(> .cap:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; } }
.cap > .link-arrow { margin-top: auto; padding-top: 20px; align-self: flex-start; }

#marketing, .mkt-card { scroll-margin-top: calc(var(--header-h) + 24px); }
.mkt-short { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--blue); }
.mkt-report { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.offer-card .mkt-report { color: var(--ink); }
.mkt-report > .ph { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-tint); color: var(--accent-ink); font-size: 1.1rem; }
.mkt-report span span { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.stack-chips { margin-bottom: 14px; }
/* Tools board: one row per group, each tool a chip naming the services it is used for */
.stack-count { margin-bottom: 20px; font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.stack-board { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r-card) + 4px); }
.stack-row { display: grid; gap: 12px; padding: 20px; border-top: 1px solid var(--line); }
.stack-row:first-child { border-top: 0; }
.stack-row h3 { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0; color: var(--ink); }
.stack-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tool { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; transition: opacity .3s, border-color .3s, background-color .3s; }
.stack-tool strong { font-size: var(--fs-small); font-weight: 600; color: var(--ink); white-space: nowrap; }
.stack-uses { font-size: var(--fs-xs); color: var(--muted); }
.stack-uses .is-key { font-weight: 700; color: var(--accent-ink); }
.stack-board.is-filtered .stack-tool:not(.is-on) { opacity: .35; }
.stack-board.is-filtered .stack-tool.is-on { background: var(--blue-tint); border-color: var(--blue); }
@media (min-width: 768px) { .stack-row { grid-template-columns: 200px 1fr; align-items: center; padding: 20px 28px; } }
@media (prefers-reduced-motion: reduce) { .stack-tool { transition: none; } }
/* Funnel on a light background (Elementor option) */
.funnel-light .funnel-step { color: var(--accent-ink); }
.funnel-light .funnel-copy h3 { color: var(--ink); }
.funnel-light .funnel-copy p, .funnel-light .funnel-note { color: var(--muted); }
.funnel-light .funnel-row + .funnel-row { border-top-color: var(--line); }
.funnel-light .funnel-note .ph { color: var(--accent-ink); }
section[id], .elementor-widget[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ==========================================================================
   Job Openings (team wireframe): career intro, listing table, Apply pop-up
   ========================================================================== */
.jobs-hero-grid { display: grid; gap: 32px; align-items: end; }
.jobs-hero .eyebrow { color: #FFB48A; }
.career-links { display: grid; gap: 8px; }
.career-links a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgb(255 255 255 / .14); border-radius: var(--r-sm); background: rgb(255 255 255 / .04); color: #fff; text-decoration: none; transition: background-color .2s, border-color .2s; }
.career-links a:hover { background: rgb(255 255 255 / .09); border-color: rgb(255 255 255 / .3); }
.career-links a > .ph:first-child { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-input); background: rgb(243 109 38 / .16); color: #FF9A62; font-size: var(--fs-h4); }
.career-links a > span { flex: 1; display: grid; gap: 2px; }
.career-links strong { font-size: var(--fs-base); }
.career-links span span { font-size: var(--fs-small); color: var(--on-dark-muted); }
.career-links a > .ph:last-child { color: var(--on-dark-muted); }
@media (min-width: 1024px) { .jobs-hero-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.jobs-hero .job-search { margin-top: 40px; }

.job-filters { display: grid; gap: 20px; margin-bottom: 28px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
@media (min-width: 1024px) { .job-filters { grid-template-columns: 1.6fr 1fr; gap: 32px; } }

.jobs-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.jobs-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.jobs-table[hidden] { display: none; }
.job-search[hidden], .job-filters[hidden], .results-bar[hidden], .jobs-table-wrap[hidden] { display: none; }
.jobs-table thead th { padding: 14px 16px; text-align: left; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg); border-bottom: 1px solid var(--line); white-space: nowrap; }
.th-sort { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.th-sort:hover { color: var(--ink); }
.th-sort .ph { font-size: 1rem; opacity: .6; }
[aria-sort="ascending"] .th-sort, [aria-sort="descending"] .th-sort { color: var(--accent-ink); }
[aria-sort="ascending"] .th-sort .ph, [aria-sort="descending"] .th-sort .ph { opacity: 1; }
.job-row > * { padding: 18px 16px; vertical-align: middle; border-bottom: 1px solid var(--line); text-align: left; }
.job-row:last-child > * { border-bottom: 0; }
.job-row { transition: background-color .2s; }
.job-row:hover { background: #FAFBFD; }
.job-row th { font-weight: 400; }
.job-row-title { display: block; font-size: var(--fs-body); font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.job-row-title:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.job-row-client { display: block; margin-top: 2px; color: var(--muted); }
.job-row-fn { display: block; margin-top: 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.job-row-fn .tag-new { margin-left: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--accent-tint); font-style: normal; }
.job-row td { white-space: nowrap; color: var(--ink); }
.job-row td .ph { margin-right: 4px; color: var(--blue); vertical-align: -2px; }
.job-row .tag-type { padding: 4px 10px; background: var(--blue-tint); border-color: transparent; font-size: var(--fs-xs); }
.job-row-apply { text-align: right !important; }
@media (max-width: 1023px) {
  .jobs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .jobs-table, .jobs-table tbody { display: block; }
  .jobs-table-wrap { background: none; border: 0; border-radius: 0; overflow: visible; }
  .job-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-bottom: 12px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
  .job-row[hidden] { display: none; }
  .job-row > * { padding: 0; border: 0; }
  .job-row th { grid-column: 1 / -1; }
  .job-row td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .job-row td { white-space: normal; }
  .job-row .job-row-apply { grid-column: 1 / -1; }
  .job-row-apply .btn { width: 100%; }
}
.jobs-foot { display: grid; gap: 24px; margin-top: 28px; }
.jobs-foot .fee-note { margin-top: 0; }
.jobs-foot .alert-card { align-items: center; }
.jobs-foot .alert-card .btn { justify-self: start; }
@media (min-width: 768px) { .jobs-foot .alert-card { grid-template-columns: auto 1fr auto; gap: 20px; } }

/* Apply pop-up */
.apply-modal { width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: calc(var(--r-card) + 4px); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain; }
.apply-modal::backdrop { background: rgb(11 31 58 / .6); backdrop-filter: blur(4px); }
.apply-modal[open] { animation: modal-in .4s var(--ease-out); }
.apply-modal[open]::backdrop { animation: fade-in .3s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .apply-modal[open], .apply-modal[open]::backdrop { animation: none; } }
.apply-modal-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 20px; background: var(--ink); color: #fff; }
.apply-modal-head .eyebrow { margin-bottom: 6px; color: #FFB48A; }
.apply-modal-head h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); letter-spacing: -.02em; }
.apply-modal-head .job-meta { margin-top: 10px; color: var(--on-dark-muted); }
.apply-modal-head .job-meta .ph { color: #8EC1EA; }
.apply-modal-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; font-size: var(--fs-h4); transition: background-color .2s; }
.apply-modal-close:hover { background: rgb(255 255 255 / .2); }
.apply-modal-body { padding: 20px; }
.apply-modal-body .form-card { box-shadow: none; }
.apply-modal-link { margin-top: 16px; text-align: center; font-size: var(--fs-small); }
html.has-modal { overflow: hidden; }
@media (min-width: 640px) { .apply-modal-head { padding: 28px 32px 24px; } .apply-modal-body { padding: 24px 32px 32px; } }

/* Form states shared by every form */
.form-error { padding: 12px 16px; border-radius: var(--r-input); background: #FDECEA; color: var(--danger); font-size: var(--fs-small); font-weight: 600; }
.form-error[hidden] { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Contact: interactive regional map (team wireframe)
   ========================================================================== */
.office-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.office-chip { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 16px; text-align: left; color: #fff; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .16); border-radius: var(--r-sm); transition: background-color .25s, border-color .25s, color .25s; }
.office-chip:hover { border-color: rgb(255 255 255 / .4); }
.office-chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); }
.office-chip-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(243 109 38 / .25); }
.office-chip strong { display: block; font-size: var(--fs-base); letter-spacing: -.01em; }
.office-chip-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 2px; font-size: var(--fs-xs); color: var(--on-dark-muted); }
.office-chip[aria-pressed="true"] .office-chip-meta { color: var(--muted); }
.office-status { font-weight: 700; color: #FFB48A; }
.office-status.is-open { color: #5EE08F; }
.office-chip[aria-pressed="true"] .office-status { color: var(--accent-ink); }
.office-chip[aria-pressed="true"] .office-status.is-open { color: var(--success); }

.world-map { position: relative; margin: 0; padding: clamp(12px, 2vw, 28px); background: rgb(255 255 255 / .03); border: 1px solid rgb(255 255 255 / .08); border-radius: calc(var(--r-card) + 4px); }
.world-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.world-map .map-dots { fill: none; stroke: rgb(255 255 255 / .14); stroke-linecap: round; }
.world-map .map-usa { stroke: rgb(142 193 234 / .6); }
.world-map .map-ind { stroke: rgb(255 154 98 / .7); }
.map-arc { fill: none; stroke: #FF9A62; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 9; opacity: .9; }
.map-traveller { fill: #fff; filter: drop-shadow(0 0 6px #FF9A62); }
.city-dot { fill: #8EC1EA; }
.office-pin { cursor: pointer; outline: none; }
.office-pin .pin-hit { fill: transparent; }
.office-pin .pin-dot { fill: #fff; stroke: var(--ink); stroke-width: 3; transition: fill .25s; }
.office-pin.is-active .pin-dot, .office-pin:hover .pin-dot { fill: var(--accent); }
.office-pin:focus-visible .pin-dot { stroke: #fff; stroke-width: 4; }
.office-pin .pin-pulse { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.office-pin .pin-label { opacity: 1; fill: #fff; font-family: var(--font); font-size: 15px; font-weight: 700; paint-order: stroke; stroke: var(--ink); stroke-width: 5px; stroke-linejoin: round; }
/* The open card names the office, and would otherwise sit on top of its pin label */
.office-pin.is-active .pin-label { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .office-pin.is-active .pin-pulse { animation: pin-ping 2.2s var(--ease-out) infinite; }
}
@keyframes pin-ping { from { opacity: .55; transform: scale(.5); } to { opacity: 0; transform: scale(2.4); } }

.office-pop { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: min(300px, 80vw); padding: 18px 20px; color: var(--ink); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); transform: translate(28px, -50%); animation: pop-card .35s var(--ease-out); }
.office-pop.is-left { transform: translate(calc(-100% - 28px), -50%); }
.office-pop[hidden] { display: none; }
@keyframes pop-card { from { opacity: 0; } }
.office-pop-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.office-pop h3 { margin-top: 4px; font-size: var(--fs-h4); letter-spacing: -.02em; }
.office-pop address { margin-top: 6px; font-style: normal; font-size: var(--fs-small); color: var(--muted); }
.office-pop-time { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: var(--fs-small); }
.office-pop-time .ph { flex: none; margin-top: 2px; color: var(--blue); }
.office-pop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 14px; }
.office-pop-actions .btn .ph { font-size: 1.05em; }
@media (max-width: 767px) {
  .office-pop, .office-pop.is-left { position: static; width: auto; margin-top: 16px; transform: none; }
  .office-pin .pin-label { font-size: 22px; }
}

/* Blogs: search bar in the hero */
.blog-search { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 28px; padding: 6px 6px 6px 48px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); transition: border-color .2s, box-shadow .2s; }
.blog-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgb(11 31 58 / .08); }
.blog-search > .ph { position: absolute; left: 18px; font-size: var(--fs-h4); color: var(--muted); }
.blog-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; font: inherit; color: var(--ink); outline: none; }
.blog-search .btn { flex: none; }
.blog-count { margin: -8px 0 20px; }

/* ---------- Lenis smooth scroll base rules (from lenis 1.3.26 lenis.css, inlined to save a request) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch], .lenis [data-lenis-prevent-vertical], .lenis [data-lenis-prevent-horizontal] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

/* ---------- Audit fixes (October 2026) ---------- */

/* R-01 Stats on the smallest phones: one column, so the figures never overflow their card */
@media (max-width: 359px) {
  .stats-grid, .stats-grid-6 { grid-template-columns: 1fr; }
  .stats-grid .stat:nth-child(n) { border-left: 0; }
  .stats-grid .stat:nth-child(n + 2) { border-top: 1px solid var(--stat-line); }
}

/* R-03 Floating dock: back to top above WhatsApp, in one place; it steps aside while a section is pinned */
.float-dock { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: var(--z-float); display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; transition: opacity .3s, visibility .3s; }
.float-dock > * { pointer-events: auto; }
.float-dock .to-top { position: relative; right: auto; bottom: auto; }
@media (min-width: 768px) {
  .float-dock { right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .float-dock .wa-float { position: relative; right: auto; bottom: auto; }
}
.is-pinned .float-dock { opacity: 0; visibility: hidden; }

/* D-07 Contact Form 7 while sending: the button says so and cannot be pressed twice */
.wpcf7-form.submitting .wpcf7-submit { opacity: .7; cursor: progress; }
.form-next { display: grid; gap: 10px; margin-top: 4px; }
.form-next .text-link { justify-self: start; }

/* U-03 Job Openings on phones: search first, the career links as a compact row of chips after it,
   so the listing starts near the top of the screen */
@media (max-width: 767px) {
  .jobs-hero { padding-top: calc(var(--header-h) + 24px); padding-bottom: 28px; }
  .jobs-hero > .container { display: flex; flex-direction: column; }
  .jobs-hero-grid { display: contents; }
  .jobs-hero-grid > div { order: 1; }
  .jobs-hero .lead { margin-top: 12px; font-size: var(--fs-small); }
  .jobs-hero .job-search { order: 2; margin-top: 20px; padding: 14px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .jobs-hero .job-search .field:first-child, .jobs-hero .job-search .btn { grid-column: 1 / -1; }
  .jobs-hero .job-search .btn { min-height: 48px; }
  .career-links { order: 3; display: flex; gap: 8px; margin: 14px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 2px; overflow-x: auto; scrollbar-width: none; }
  .career-links::-webkit-scrollbar { display: none; }
  .career-links li { flex: none; }
  .career-links a { gap: 10px; padding: 8px 16px 8px 8px; border-radius: var(--r-pill); }
  .career-links a > .ph:first-child { width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; }
  .career-links span span, .career-links a > .ph:last-child { display: none; }
  .career-links strong { font-size: var(--fs-small); white-space: nowrap; }
}
/* U-07 the candidate-safety line, next to every candidate form */
.form-fee-note { margin-top: 0; }

/* U-06 "Prefer a call?": a two-field callback request above the employer form */
.callback { margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.callback > summary { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 20px; cursor: pointer; list-style: none; border-radius: inherit; }
.callback > summary::-webkit-details-marker { display: none; }
.callback > summary > .ph:first-child { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-input); background: var(--blue-tint); color: var(--blue); font-size: var(--fs-h4); }
.callback > summary > span { flex: 1; display: grid; gap: 2px; font-size: var(--fs-small); color: var(--muted); }
.callback > summary strong { font-size: var(--fs-base); color: var(--ink); }
.callback > summary > .ph:last-child { flex: none; font-size: 1.2rem; transition: transform .3s var(--ease-out); }
.callback[open] > summary > .ph:last-child { transform: rotate(45deg); }
.callback-form { display: grid; gap: 16px; padding: 4px 20px 20px; }
.callback-form .btn { justify-self: start; }
@media (max-width: 767px) {
  .jobs-hero .eyebrow { display: none; } /* the headline already says it */
  [data-results].section { padding-top: 20px; }
  .job-filters { gap: 12px; margin-bottom: 16px; padding: 14px 0; background: none; border: 0; border-radius: 0; }
  .job-filters { grid-template-columns: minmax(0, 1fr); } /* the chip rows scroll inside; they never widen the page */
  .job-filters .filter-group { min-width: 0; }
  .job-filters .filter-title { margin-bottom: 6px; }
  .job-filters .chips { flex-wrap: nowrap; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .results-bar { margin-bottom: 12px; }
  .job-filters .chips::-webkit-scrollbar { display: none; }
  .job-filters .chip { flex: none; }
}
/* A-09 on phones the map is drawn at about a third of its size: a larger tap circle keeps the pins easy to hit
   (the office buttons above the map do the same job at full size) */
@media (max-width: 767px) { .office-pin .pin-hit { r: 72px; } }
/* Theme photos are <picture> (WebP with a JPEG fallback); the wrapper takes no part in layout */
.img-pic { display: contents; }
