/* ===========================================================================
   Managed247, site stylesheet
   Mobile-first. Breakpoints: 980 (tablet → desktop), 560 (mobile), 380 (tiny).
   =========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Helvetica Neue Pro';
  src: url('/fonts/NeueHelveticaPro55Roman/font.woff2') format('woff2'),
       url('/fonts/NeueHelveticaPro55Roman/font.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue Pro';
  src: url('/fonts/NeueHelveticaPro65Medium/font.woff2') format('woff2'),
       url('/fonts/NeueHelveticaPro65Medium/font.woff')  format('woff');
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens (locked to brand guidelines 2025) ---------------------------- */
:root {
  --c-bg:         #000000;  /* Page background, pure black per John 2026-05-19 */
  --c-dark-grey:  #20272c;  /* Brand "Dark Grey", retained for any surface that still wants it */
  --c-mid-grey:   #38454f;
  --c-dark-teal:  #005668;
  --c-mid-teal:   #008a94;
  --c-light-teal: #4cbac8;
  --c-golden:     #f5df4e;
  --c-golden-hi:  #fbe96b;
  --c-text:       #ffffff;
  --c-text-mute:  #c2cbd1;
  --c-text-dim:   #8a96a0;
  --c-surface:    #0a0a0a;  /* Neutral near-black for cards, no green/blue cast */
  --c-surface-hi: #161616;  /* Card hover lift */
  --c-border:     rgba(255,255,255,.10);

  --font:         'Helvetica Neue Pro', 'Helvetica Neue', Helvetica, 'Microsoft Sans Serif', Arial, sans-serif;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --shadow:       0 18px 40px rgba(0,0,0,.45);
  --max-w:        1240px;
  --ease:         cubic-bezier(.2,.7,.2,1);
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--c-bg);   /* Safari uses this for overscroll/canvas, not body */
  /* NOTE: do NOT set color-scheme: dark here. It makes Chrome paint an opaque
     white backstop behind transparent cross-origin iframes (the Trustpilot
     widgets all rendered white because of it). Page stays dark via explicit
     backgrounds, so color-scheme is not needed. */
}
/* Native scrollbars kept dark without color-scheme (which breaks the TP iframes) */
html { scrollbar-color: var(--c-mid-grey) var(--c-bg); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-synthesis: none;
  overflow-x: hidden;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }  /* Browser default is italic, never wanted here. */
a { color: var(--c-light-teal); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--c-golden); }
:focus-visible { outline: 2px solid var(--c-golden); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
/* Hero-section headings (used to be h1s; demoted to h2 for SEO/a11y but keep visual h1 styling) */
.hero-copy h2 { font-size: clamp(34px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -.025em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; }
p  { margin: 0 0 1em; color: var(--c-text-mute); }

/* --- Layout helpers ------------------------------------------------------ */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 18px; } }
@media (max-width: 380px) { .wrap { padding: 0 14px; } }

section { padding: clamp(48px, 6.5vw, 88px) 0; position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-light-teal);
  margin-bottom: 14px;
}
.lead { font-size: clamp(17px, 1.8vw, 21px); color: var(--c-text-mute); max-width: 62ch; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-golden);
  color: var(--c-bg);
}
.btn-primary:hover { background: var(--c-golden-hi); color: var(--c-bg); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: rgba(255,255,255,.22);
}
.btn-ghost:hover { color: var(--c-bg); background: var(--c-text); border-color: var(--c-text); }
.btn-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(3px); }

/* --- Top nav ------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
/* Compact CTA in the header (page CTAs stay the full 52px) */
.nav-links a.btn { min-height: 42px; padding: 9px 20px; font-size: 15px; }
.nav-links a:not(.btn) {
  color: var(--c-text);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute; left: 4px; right: 4px; bottom: 2px; height: 2px;
  background: var(--c-light-teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; color: var(--c-text); padding: 10px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    padding: 8px 18px 18px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--c-border); }
  .nav-links a:not(.btn):last-of-type { border-bottom: 0; }
  .nav-links a.btn { margin-top: 14px; align-self: stretch; }
  .nav.is-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
}

/* --- Services mega-menu -------------------------------------------------- */
.nav-trigger { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-caret { width: 15px; height: 15px; flex: none; transition: transform .2s var(--ease); }
.nav-mega a::after { display: none !important; }
.nav-mega-col { display: flex; flex-direction: column; }
.nav-mega-link { display: block; }
.nav-mega-link strong { display: block; color: var(--c-text); font-weight: 600; font-size: 14px; }
.nav-mega-link span { display: block; color: var(--c-text-mute); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.nav-mega-link:hover strong { color: var(--c-light-teal); }
.post-date { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-dim); margin-bottom: 8px; }
.article-meta { color: var(--c-text-dim); font-size: 14px; margin-top: 12px; }

/* News: article hero image (centred, above headline) */
.article-figure { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); }
.article-figure img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }

/* News: cards with image on top (index grid + related carousel) */
.post-card { padding: 0; overflow: hidden; }
.post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-surface-hi); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.post-card-body h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.post-card-body p { margin: 0; font-size: 14px; color: var(--c-text-mute); }
.post-card .post-date { margin-bottom: 0; }

/* News: related posts carousel */
.related { border-top: 1px solid var(--c-border); padding: clamp(40px, 6vw, 72px) 0; }
.related-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.related-head h2 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); }
.related-nav { display: flex; gap: 8px; flex: none; }
.related-prev, .related-next {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text);
  font-size: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.related-prev:hover, .related-next:hover { border-color: var(--c-golden); background: var(--c-surface-hi); }
.related-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: thin;
}
.related-track > a { flex: 0 0 clamp(220px, 32%, 280px); scroll-snap-align: start; min-height: auto; }
.related-track::-webkit-scrollbar { height: 8px; }
.related-track::-webkit-scrollbar-thumb { background: var(--c-mid-grey); border-radius: 4px; }

/* Events page */
.events-list { display: flex; flex-direction: column; gap: 18px; max-width: 820px; margin: 0 auto; }
.event-card {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 24px 26px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.event-card:hover { border-color: var(--c-golden); background: var(--c-surface-hi); }
.event-date {
  flex: 0 0 auto; width: 78px; text-align: center;
  border-radius: 12px; background: rgba(76, 186, 200, .10); border: 1px solid var(--c-border);
  padding: 12px 8px; display: flex; flex-direction: column; gap: 2px;
}
.event-day { font-size: 28px; font-weight: 600; line-height: 1; color: var(--c-text); }
.event-mon { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-light-teal); }
.event-yr { font-size: 12px; color: var(--c-text-dim); }
/* Text + image row: the media column stretches to match the height of the
   adjacent text block (header + sub-text), aligning top and bottom. Stacks on
   mobile, where the media takes a fixed 16:9. */
.text-media-row { display: flex; gap: clamp(28px, 4vw, 48px); align-items: stretch; }
.text-media-row > .tmr-text { flex: 1 1 54%; min-width: 0; }
.text-media-row > .tmr-text > :first-child { margin-top: 0; }
.text-media-row > .tmr-media { flex: 1 1 46%; position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); }
.text-media-row > .tmr-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
/* Reverse variant: image on the LEFT, text on the right (desktop). DOM stays
   text-first, so mobile still stacks text above the image. */
.text-media-row--reverse { flex-direction: row-reverse; }
@media (max-width: 860px) {
  .text-media-row { display: block; }
  .text-media-row > .tmr-media { aspect-ratio: 16 / 9; margin-top: 24px; }
}
.event-media {
  flex: 0 0 auto; width: 160px; align-self: stretch; position: relative;
  min-height: 124px; border-radius: 12px; overflow: hidden; border: 1px solid var(--c-border);
}
.event-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-body { display: flex; flex-direction: column; gap: 8px; }
.event-body h3 { margin: 0; font-size: 20px; }
.event-body p { margin: 0; color: var(--c-text-mute); font-size: 15px; line-height: 1.6; }
.event-when { color: var(--c-light-teal) !important; font-weight: 500; }
.event-body .btn { align-self: flex-start; margin-top: 8px; }
.events-empty { color: var(--c-text-mute); font-size: 17px; max-width: 640px; }

/* About: leadership team grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.team-card { display: flex; flex-direction: column; }
.team-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-surface); margin-bottom: 14px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-card h3 { margin: 0; font-size: 17px; }
.team-card .role { margin: 3px 0 0; color: var(--c-light-teal); font-size: 14px; }
.team-bio { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--c-text-mute); }
.team-role-row { display: flex; align-items: center; gap: 10px; margin: 3px 0 0; }
.team-role-row .role { margin: 0; }
.team-linkedin { display: inline-flex; flex: 0 0 auto; margin-left: auto; transition: opacity .2s var(--ease); }
.team-linkedin svg { width: 20px; height: 20px; display: block; border-radius: 4px; }
.team-linkedin:hover { opacity: .85; }

/* About: client logo wall (white chips so logos stay visible on the dark theme) */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logo-chip { background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 16px; min-height: 84px; }
.logo-chip img { max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* About: client logo marquee (continuous scroll, monochrome white logos on black) */
.marquee {
  position: relative;
  width: 100%;
  max-width: 1000px;           /* centred band (~8 logos), not full screen width */
  margin: 36px auto 0;
  overflow: hidden;
}
/* Edge fade via gradient overlays, NOT mask-image. Masking the scroller forces it
   off the GPU, so its animation then stutters whenever other JS runs (clock,
   cloud-status fetch, counters). Page bg is #000, so black-to-transparent matches. */
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 9%;
  z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, #000, rgba(0,0,0,0)); }
.marquee::after  { right: 0; background: linear-gradient(270deg, #000, rgba(0,0,0,0)); }
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);          /* own compositor layer: main-thread work cannot stutter it */
  backface-visibility: hidden;
  animation: marquee-scroll 70s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 34px;
  padding-right: 34px;
}
.marquee__logo {
  height: 28px;                       /* fixed (no vw) so the track width never shifts mid-scroll */
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);    /* force every logo to a uniform white */
  opacity: .7;
  transition: opacity .2s ease;
}
.marquee:hover .marquee__logo { opacity: .9; }
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 560px) { .marquee__group { gap: 24px; padding-right: 24px; } .marquee__logo { height: 22px; } }
/* Homepage: compact "trusted by" client strip between hero and live status */
.clients-strip { padding: clamp(26px, 4vw, 44px) 0; }
.clients-strip-label { text-align: center; margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-dim); }
.clients-strip .marquee { margin-top: 20px; }
/* Sitewide: "as featured in" press strip between hero and content */
.press-strip { padding: clamp(24px, 3.5vw, 40px) 0; background: #000; }
.press-strip .wrap { padding-left: clamp(14px, 2vw, 24px); padding-right: clamp(14px, 2vw, 24px); }
.press-strip img { display: block; width: 100%; max-width: 1180px; height: auto; margin: 0 auto; }
@media (max-width: 560px) { .press-strip { padding: 20px 0; } }
@media (prefers-reduced-motion: reduce) {
  .marquee::before, .marquee::after { display: none; }
  .marquee__track { animation: none; transform: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 24px; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 24px; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

@media (max-width: 640px) { .event-media { width: 116px; min-height: 104px; } }
@media (max-width: 560px) {
  .event-card { gap: 14px; padding: 18px; }
  .event-date { width: 60px; padding: 10px 6px; }
  .event-day { font-size: 22px; }
  .event-body h3 { font-size: 18px; }
  .event-media { width: 92px; min-height: 92px; }
}

@media (min-width: 861px) {
  .nav-item { position: static; }
  .nav-mega {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 28px 60px rgba(0, 0, 0, .55);
    padding: 26px clamp(24px, 5vw, 56px) 30px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s var(--ease), transform .18s var(--ease);
    z-index: 55;
  }
  .nav-item:hover > .nav-mega,
  .nav-item.is-open > .nav-mega,
  .nav-item:focus-within > .nav-mega {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  }
  .nav-item:hover .nav-caret,
  .nav-item.is-open .nav-caret,
  .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
  .nav-mega-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 40px; max-width: var(--max-w); margin: 0 auto; }
  .nav-mega-head {
    display: block; color: var(--c-text); font-size: 14px; font-weight: 600;
    padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid var(--c-border);
  }
  .nav-mega-col a:not(.nav-mega-head) {
    color: var(--c-text-mute); font-size: 13.5px; line-height: 1.3; padding: 6px 0;
  }
  .nav-mega-col a:not(.nav-mega-head):hover { color: var(--c-light-teal); }
  .nav-mega--industries .nav-mega-inner { grid-template-columns: repeat(3, 1fr); gap: 10px 40px; }
  .nav-mega--resources .nav-mega-inner { grid-template-columns: minmax(340px, 440px) minmax(200px, 280px); gap: 10px 56px; }
  /* Browse column lays its links two-per-column: Case Studies / News on the left,
     Events / Careers on the right. To go 3-per-column later, add a 4th row to
     grid-template-rows and place nth-child(6)/(7) into column 2. */
  .nav-mega--resources .nav-mega-col:first-child {
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto;
    column-gap: 40px; align-content: start;
  }
  .nav-mega--resources .nav-mega-col:first-child > .nav-mega-head { grid-column: 1 / -1; grid-row: 1; }
  .nav-mega--resources .nav-mega-col:first-child > .nav-mega-link:nth-child(2) { grid-column: 1; grid-row: 2; }
  .nav-mega--resources .nav-mega-col:first-child > .nav-mega-link:nth-child(3) { grid-column: 1; grid-row: 3; }
  .nav-mega--resources .nav-mega-col:first-child > .nav-mega-link:nth-child(4) { grid-column: 1; grid-row: 4; }
  .nav-mega--resources .nav-mega-col:first-child > .nav-mega-link:nth-child(5) { grid-column: 2; grid-row: 2; }
  .nav-mega--resources .nav-mega-col:first-child > .nav-mega-link:nth-child(6) { grid-column: 2; grid-row: 3; }
}

@media (max-width: 860px) {
  .nav-item { display: block; }
  .nav-trigger { display: flex; justify-content: space-between; width: 100%; }
  .nav-mega { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
  .nav-item.is-expanded > .nav-mega { max-height: 1600px; }
  .nav-item.is-expanded .nav-caret { transform: rotate(180deg); }
  .nav-mega-inner { padding: 2px 0 8px 14px; }
  .nav-mega a:not(.btn) { border-bottom: 0 !important; padding: 10px 4px !important; }
  .nav-mega-head { color: var(--c-light-teal) !important; font-weight: 600; padding-top: 12px !important; }
  .nav-mega-col a:not(.nav-mega-head) { color: var(--c-text-mute) !important; font-size: 15px; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(100px, 14vh, 160px) 0 clamp(56px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* Removed teal radial wash, kept pseudo-element as a hook for future accent. */
  content: ''; display: none;
}
.hero::after {
  /* Decorative cyan ring nodding to the logo */
  content: ''; position: absolute; right: -160px; top: 18%; width: 520px; height: 520px;
  border: 2px solid var(--c-light-teal); border-radius: 50%; opacity: .14;
  z-index: -1;
}
@media (max-width: 860px) {
  .hero::after { width: 320px; height: 320px; right: -120px; top: 8%; opacity: .12; }
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start;
}
.hero-right { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 981px) { .hero-right { margin-top: 34px; } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
/* Standalone two-column heroes (industry pages) are NOT the homepage carousel,
   which combines .wrap and .hero-grid on one element. Vertically centre the
   video against the copy column so it sits level with the headline and sub-text
   rather than pinned to the top. Desktop only; below 981px the grid stacks. */
@media (min-width: 981px) {
  .hero-grid:not(.wrap) { align-items: center; }
  .hero-grid:not(.wrap) .hero-right { margin-top: 0; }
}
/* Alternating industry heroes: .hero-grid--flip puts the video on the LEFT and
   the copy on the RIGHT on desktop, mirroring the homepage --flip slides. Below
   981px nothing flips, so it stacks text-first like every other hero. */
@media (min-width: 981px) {
  .hero-grid--flip { grid-template-columns: .95fr 1.05fr; }
  .hero-grid--flip .hero-copy { order: 2; }
  .hero-grid--flip .hero-right { order: 1; }
}

/* --- Hero carousel ------------------------------------------------------ */
/* Slides are STACKED in one grid cell so the carousel height is always the
   tallest slide and stays CONSTANT. Previously slides were display:none/block in
   normal flow, so each slide change (different headline length, Trustpilot
   rendering) resized the hero and jolted everything below it, incl. the logo
   marquee. Crossfade via opacity; visibility flips after the fade for a11y/tabbing. */
.hero-carousel { position: relative; display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.hero-slide.is-active {
  opacity: 1; visibility: visible; pointer-events: auto; z-index: 1;
  transition: opacity .5s var(--ease), visibility 0s;
}
/* Flipped slides: video on the left, copy on the right (desktop only) */
.hero-slide--flip .hero-grid { grid-template-columns: .95fr 1.05fr; }
.hero-slide--flip .hero-copy { order: 2; }
.hero-slide--flip .hero-right { order: 1; }
@media (max-width: 980px) {
  .hero-slide--flip .hero-grid { grid-template-columns: 1fr; }
  .hero-slide--flip .hero-copy { order: 1; }
  .hero-slide--flip .hero-right { order: 2; }
}
/* Arrows */
.hero-arrow {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 6;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--c-border);
  color: var(--c-text); font-size: 24px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.hero-arrow:hover { background: var(--c-golden); color: var(--c-bg); border-color: var(--c-golden); }
.hero-arrow--prev { left: 8px; }
.hero-arrow--next { right: 8px; }
@media (max-width: 980px) { .hero-arrow { top: auto; bottom: 0; transform: none; } .hero-arrow--prev { left: 18px; } .hero-arrow--next { right: 18px; } }
/* Dots */
.hero-dots { display: flex; gap: 4px; justify-content: center; margin-top: 24px; }
/* The dot itself stays visually 9 px tall, but the <button> is 24x24 so the
   touch target meets WCAG 2.5.8 AA. We render the visible pill via ::before
   so the button can have generous padding without changing the design. */
.hero-dot { width: 24px; height: 24px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center;
  transition: width .2s var(--ease); }
.hero-dot::before { content: ''; display: block; width: 9px; height: 9px; border-radius: 999px;
  background: rgba(255,255,255,.25); transition: background .2s var(--ease), width .2s var(--ease); }
.hero-dot:hover::before { background: rgba(255,255,255,.5); }
.hero-dot.is-active { width: 36px; }
.hero-dot.is-active::before { background: var(--c-golden); width: 22px; }
.hero .lead { margin-top: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 9; box-shadow: var(--shadow);
  background: var(--c-bg);
}
.hero-media img,
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6));
}
/* --- Live service status tiles (under the hero) ------------------------- */
.status-bar { padding: clamp(36px, 5vw, 64px) 0; }
.status-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.status-head .eyebrow { margin-bottom: 0; }
.status-clock { font-size: 13px; color: var(--c-text-dim); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.status-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1100px) { .status-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .status-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .status-tiles { grid-template-columns: 1fr; } }
.status-tile {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.status-tile-top { display: flex; align-items: center; gap: 9px; }
.status-tile-state { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-mute); font-weight: 500; }
.status-tile-name { font-size: 16px; font-weight: 500; color: var(--c-text); }
.status-tile-sub { font-size: 12px; color: var(--c-text-dim); margin-top: auto; padding-top: 4px; }

/* Glowing status dot: green (ok), amber (minor), red (outage) */
.sdot { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; background: var(--c-text-dim); }
.sdot-green { background: #1ec46a; animation: pulseGreen 2s infinite var(--ease); }
.sdot-amber { background: #f2a61d; animation: pulseAmber 2s infinite var(--ease); }
.sdot-red   { background: #ff5247; animation: pulseRed 2s infinite var(--ease); }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(30,196,106,.6);} 70% { box-shadow: 0 0 0 8px rgba(30,196,106,0);} 100% { box-shadow: 0 0 0 0 rgba(30,196,106,0);} }
@keyframes pulseAmber { 0% { box-shadow: 0 0 0 0 rgba(242,166,29,.6);} 70% { box-shadow: 0 0 0 8px rgba(242,166,29,0);} 100% { box-shadow: 0 0 0 0 rgba(242,166,29,0);} }
@keyframes pulseRed   { 0% { box-shadow: 0 0 0 0 rgba(255,82,71,.6);} 70% { box-shadow: 0 0 0 8px rgba(255,82,71,0);} 100% { box-shadow: 0 0 0 0 rgba(255,82,71,0);} }

/* Status tiles: a coloured glow around the whole tile that follows its dot state
   (green/amber/red) to draw the eye. Driven purely by :has() so it stays in sync
   with the JS-updated dot class, with no change to the tile contents. */
.status-tile { transition: box-shadow .45s var(--ease), border-color .45s var(--ease); }
.status-tile:has(.sdot-green) {
  border-color: rgba(30,196,106,.45);
  box-shadow: 0 0 22px -4px rgba(30,196,106,.5), inset 0 0 0 1px rgba(30,196,106,.12);
}
.status-tile:has(.sdot-amber) {
  border-color: rgba(242,166,29,.55);
  box-shadow: 0 0 24px -3px rgba(242,166,29,.6), inset 0 0 0 1px rgba(242,166,29,.16);
}
.status-tile:has(.sdot-red) {
  border-color: rgba(255,82,71,.6);
  box-shadow: 0 0 26px -2px rgba(255,82,71,.65), inset 0 0 0 1px rgba(255,82,71,.2);
}

/* --- USP / stats strip --------------------------------------------------- */
.stats {
  padding: 0 0 clamp(40px, 6vw, 80px);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
@media (max-width: 980px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative; overflow: hidden;
}
.stat::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--c-light-teal);
}
.stat .num {
  font-size: clamp(34px, 4.4vw, 52px); font-weight: 500;
  color: var(--c-text); line-height: 1; letter-spacing: -.02em;
}
.stat .num em { color: var(--c-text-dim); font-style: normal; font-size: .55em; margin-left: 6px; font-weight: 400; }
.stat .label { font-size: 14px; color: var(--c-text-mute); margin-top: 10px; }

/* --- Sections ------------------------------------------------------------ */
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { margin: 0 0 14px; }

/* Services cards */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.services-grid.is-3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) { .services-grid.is-3col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .services-grid.is-3col { grid-template-columns: 1fr; } }
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
  min-height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--c-golden);
  background: var(--c-surface-hi);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(76,186,200,.12); color: var(--c-light-teal);
  display: inline-flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0; }
.card p { margin: 0; font-size: 15px; }
.card a.more {
  margin-top: auto; padding-top: 8px;
  font-weight: 500; color: var(--c-golden);
  display: inline-flex; align-items: center; gap: 6px;
}
.card a.more::after { content: '→'; transition: transform .2s var(--ease); }
.card:hover a.more::after { transform: translateX(3px); }

/* Why-us split */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
/* .split--reverse swaps the two columns of a .split row without re-ordering
   the HTML, so we can alternate image-left and text-left layouts across pages
   from a single source of truth. */
.split--reverse > :nth-child(1) { grid-column: 2; }
.split--reverse > :nth-child(2) { grid-column: 1; }
@media (max-width: 980px) {
  .split--reverse > :nth-child(1),
  .split--reverse > :nth-child(2) { grid-column: auto; }
}
.reasons { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.reasons li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-border);
}
.reasons li .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(245,223,78,.12); color: var(--c-golden);
  display: inline-flex; align-items: center; justify-content: center;
}
.reasons li .icon svg { width: 22px; height: 22px; }
.reasons li h4 { margin: 0 0 4px; font-size: 17px; font-weight: 500; }
.reasons li p { margin: 0; font-size: 14px; }

/* FAQ list: same icon-tile pattern as .reasons so the question text never
   sits in a wide empty gap. Each <li> is icon + Q/A. */
.faq-list { display: grid; gap: 14px; margin: 0 auto; padding: 0; list-style: none; max-width: 880px; }
.faq-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 1px solid var(--c-border);
  align-items: start;
}
.faq-list li .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(245,223,78,.12); color: var(--c-golden);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.faq-list li .icon svg { width: 22px; height: 22px; }
.faq-list li h3 { margin: 0 0 6px; font-size: 17px; font-weight: 500; line-height: 1.35; }
.faq-list li p { margin: 0; font-size: 15px; color: var(--c-text-mute); line-height: 1.6; }
@media (max-width: 560px) {
  .faq-list li { grid-template-columns: 36px 1fr; padding: 14px 16px; gap: 12px; }
  .faq-list li .icon { width: 36px; height: 36px; border-radius: 10px; }
  .faq-list li .icon svg { width: 18px; height: 18px; }
}

/* Industries grid */
.industries-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 860px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .industries-grid { grid-template-columns: 1fr; } }
.industry {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; align-items: center; gap: 16px;
  color: var(--c-text);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.industry:hover {
  transform: translateY(-2px);
  border-color: var(--c-golden);
  color: var(--c-text);
}
.industry .icon {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  background: rgba(76,186,200,.12); color: var(--c-light-teal);
  display: inline-flex; align-items: center; justify-content: center;
}
.industry .icon svg { width: 20px; height: 20px; }
.industry .name { font-weight: 500; }
.industry .arrow { margin-left: auto; opacity: .5; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.industry:hover .arrow { opacity: 1; transform: translateX(3px); color: var(--c-golden); }

/* Awards row */
.awards {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.awards-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  align-items: stretch;
}
@media (max-width: 860px) { .awards-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .awards-row { grid-template-columns: 1fr; } }
.award {
  padding: 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
}
.award .title { color: var(--c-light-teal); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.award .body { font-size: 16px; margin-top: 8px; line-height: 1.35; }
.award .meta { color: var(--c-text-dim); font-size: 13px; margin-top: 10px; }

/* CTA / contact form */
.cta-section {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
}
.cta-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start;
}
@media (max-width: 980px) { .cta-grid { grid-template-columns: 1fr; gap: 32px; } }
.cta-copy h2 { margin-top: 0; }
.cta-copy ul { padding-left: 18px; margin: 18px 0 0; color: var(--c-text-mute); }
.cta-copy ul li { margin: 6px 0; }
.cta-side {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.cta-side h3 { margin-top: 0; }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 500; color: var(--c-text-mute); }
.field input, .field textarea {
  font: inherit; font-size: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-light-teal);
  background: rgba(255,255,255,.06);
}
.field.invalid input, .field.invalid textarea { border-color: #ff6b6b; }
.form-meta { font-size: 12px; color: var(--c-text-dim); margin-top: 6px; }
.form-status {
  margin-top: 14px; font-size: 14px; min-height: 1.2em;
}
.form-status.ok    { color: #6be39a; }
.form-status.error { color: #ff8b8b; }
.btn-submit { width: 100%; margin-top: 4px; }
.cf-turnstile { margin: 0; }  /* Invisible mode: no UI to reserve space for. */

/* Selects: match the text inputs, with a custom chevron */
.field select {
  font: inherit; font-size: 16px;
  background-color: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  border-radius: 10px;
  padding: 12px 40px 12px 14px;
  min-height: 48px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.field select:focus { outline: none; border-color: var(--c-light-teal); background-color: rgba(255,255,255,.06); }
.field.invalid select { border-color: #ff6b6b; }
.field select option { color: #000; }  /* native dropdown menu is light, keep options readable */

/* Service checkboxes */
.field-checkboxes { display: block; border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.field-checkboxes legend { font-size: 13px; font-weight: 500; color: var(--c-text-mute); padding: 0; margin-bottom: 8px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checkbox-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-text); cursor: pointer; min-height: 32px; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--c-light-teal); flex: 0 0 auto; }
/* Single inline confirmation checkbox (e.g. eligibility tick on careers form).
   The label wraps as a flex row with a checkbox aligned to the top so the
   multi-line text reads naturally next to the box. */
.field-checkbox-single label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.5; color: var(--c-text); cursor: pointer;
}
.field-checkbox-single input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--c-light-teal); flex: 0 0 auto;
}

/* File upload. The real <input type="file"> is visually hidden so that the
   browser-default filename badge (an opaque white box with the OS file
   thumbnail) never renders. The label-as-button + plain text filename span
   give us a brand-consistent control that works the same in every browser. */
.field-file .file-control {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.04);
  border: 1px dashed var(--c-border);
  border-radius: 10px; padding: 12px 14px;
}
.field-file .file-control-input {
  /* sr-only pattern, keeps the input in tab order and reachable to AT */
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.field-file .file-control-btn {
  display: inline-block; flex: 0 0 auto;
  font: inherit; font-size: 13px; font-weight: 500;
  padding: 9px 14px; border-radius: 8px;
  background: var(--c-golden); color: #000; cursor: pointer;
}
.field-file .file-control-input:focus-visible + .file-control-btn {
  outline: 2px solid var(--c-golden); outline-offset: 2px;
}
.field-file .file-control-name {
  font-size: 14px; color: var(--c-text-mute);
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.field.invalid .file-control { border-color: #ff6b6b; }

/* Sitewide footer band: compact version of .contact-quicknav, sits just above
   the global <footer> as a "five ways to reach us" reassurance band. Lower
   visual weight than .contact-quicknav so it does not compete with the primary
   gold CTA above. */
.contact-band { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--c-border); background: var(--c-bg); }
.contact-band-head { text-align: center; margin: 0 auto clamp(16px, 2vw, 22px); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-dim); }
.contact-band-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.contact-band-list li { display: flex; }
.contact-band-list a { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 12px; color: var(--c-text); text-decoration: none; transition: border-color .25s var(--ease), background .25s var(--ease); }
.contact-band-list a:hover, .contact-band-list a:focus-visible { border-color: var(--c-golden); background: var(--c-surface-hi); }
.contact-band-list span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-dim); }
.contact-band-list strong { font-size: 14px; font-weight: 500; line-height: 1.3; }
@media (max-width: 1024px) { .contact-band-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .contact-band-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .contact-band-list { grid-template-columns: 1fr; } }

/* Contact page: quick-nav row of 5 tiles under the hero, one per channel
   (call, email, visit, book, message). Mobile stacks to 1-up. */
.contact-quicknav { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.contact-quicknav li { display: flex; }
.contact-quicknav a { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 20px 22px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); color: var(--c-text); text-decoration: none; transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.contact-quicknav a:hover, .contact-quicknav a:focus-visible { transform: translateY(-4px); border-color: var(--c-golden); background: var(--c-surface-hi); }
.contact-quicknav-eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-dim); }
.contact-quicknav a strong { font-size: 16px; font-weight: 500; line-height: 1.3; }
.contact-quicknav-meta { font-size: 13px; color: var(--c-text-mute); margin-top: 2px; line-height: 1.45; }
@media (max-width: 1100px) { .contact-quicknav { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .contact-quicknav { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .contact-quicknav { grid-template-columns: 1fr; } }
/* Contact page: book-a-call + send-a-message side by side, equal heights,
   stacks on tablet. Both cells are flex-column so the Calendly widget grows
   to match the natural height of the form on the right. */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: stretch; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; align-items: start; } }
.contact-cal, .contact-form { display: flex; flex-direction: column; min-width: 0; }
.contact-cal h2, .contact-form h2 { margin: 10px 0 8px; }
.calendly-inline-widget { background: #000; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; flex: 1 1 720px; min-height: 720px; }

/* Calendly facade — static preview that mimics the Calendly card. The CTA
   anchor is intercepted by site.js, which lazy-loads Calendly's widget
   bundle (~3.5 MB of third-party) only on first click instead of on page load. */
.calendly-facade { background: #000; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; flex: 1 1 auto; }
.calendly-facade-body { padding: clamp(40px, 5vw, 56px) clamp(20px, 3vw, 36px) clamp(28px, 3.5vw, 36px); color: var(--c-text); }
.calendly-facade-body h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 0 0 18px; color: var(--c-text); font-weight: 600; }
.calendly-facade-meta { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; color: var(--c-text); }
.calendly-facade-meta li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.calendly-facade-meta svg { flex: 0 0 20px; color: var(--c-text-mute); margin-top: 2px; }
.calendly-facade-blurb { color: var(--c-text-mute); margin: 0 0 20px; max-width: 52ch; }
.calendly-facade-cta { align-self: flex-start; }
@media (max-width: 980px) { .calendly-inline-widget { flex: 0 0 720px; } }
/* Location cards: hero photo on top + text body, like .post-card on /news. */
.location-card { padding: 0; overflow: hidden; }
.location-card .location-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-surface-hi); margin: 0; }
.location-card .location-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.location-card:hover .location-photo img { transform: scale(1.04); }
.location-card-body { padding: 20px 22px 22px; }
.location-card h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.location-card .loc-tag { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(76,186,200,.15); color: var(--c-light-teal); }
.location-card address { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--c-text); margin: 8px 0 6px; }
.location-card p { margin: 4px 0; font-size: 14px; }
.location-card a:not(.more) { color: var(--c-text); }
.location-card .more { color: var(--c-golden); font-weight: 500; margin-top: 8px; display: inline-block; }
.location-card .more::after { content: " →"; }

/* --- Video block (about page, case studies) ----------------------------- */
.video-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--c-bg);
  margin: 0 auto;
  max-width: 1000px;
}
.video-block video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--c-bg);
}
.video-caption {
  text-align: center;
  font-size: 14px;
  color: var(--c-text-dim);
  margin: 14px auto 0;
  max-width: 1000px;
}

/* --- Vimeo lite-embed: thumbnail + play overlay, swaps to iframe on click - */
.video-lite {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--c-bg);
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow);
  display: block;
}
.video-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.video-lite:hover img,
.video-lite:focus-visible img { transform: scale(1.03); filter: brightness(1.05); }
.video-lite::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55));
  pointer-events: none;
}
.video-lite .video-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--c-golden);
  color: var(--c-bg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
  transition: transform .2s var(--ease), background .2s var(--ease);
  pointer-events: none;
}
.video-lite:hover .video-play,
.video-lite:focus-visible .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--c-golden-hi);
}
.video-lite .video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Case studies grid -------------------------------------------------- */
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}
@media (max-width: 860px) {
  .case-study-grid { grid-template-columns: 1fr; gap: 40px; }
}
.case-study-card { display: flex; flex-direction: column; gap: 16px; }
.case-study-card .meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 500;
  color: var(--c-light-teal);
}
.case-study-card .meta::before {
  content: ''; width: 18px; height: 1px; background: var(--c-light-teal);
}
.case-study-card h3 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); }
.case-study-card p { font-size: 15px; line-height: 1.55; margin: 0; }
.case-study-card blockquote {
  border-left: 3px solid var(--c-golden);
  padding: 6px 0 6px 16px;
  margin: 6px 0 0;
  font-size: 16px;
  color: var(--c-text);
}
.case-study-card blockquote cite {
  display: block; margin-top: 8px;
  font-size: 13px; font-style: normal;
  color: var(--c-text-dim);
}
.case-study-card .more {
  margin-top: auto; padding-top: 2px; font-weight: 500; color: var(--c-golden);
  display: inline-flex; align-items: center; gap: 6px;
}
.case-study-card .more::after { content: '→'; transition: transform .2s var(--ease); }
.case-study-card .more:hover::after { transform: translateX(3px); }
/* Case study detail pull-quote */
.cs-quote {
  border-left: 3px solid var(--c-golden);
  padding: 6px 0 6px 22px; margin: 30px 0; max-width: 720px;
  font-size: 19px; line-height: 1.6; color: var(--c-text);
}
.cs-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--c-text-dim); }


/* --- 5-up "why choose Managed247" grid (industry pages) ----------------- */
.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.why-card {
  padding: 22px 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.why-card .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(76,186,200,.12);
  color: var(--c-light-teal);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.why-card .icon svg { width: 18px; height: 18px; }
.why-card h4 { margin: 0 0 6px; font-size: 15px; font-weight: 500; }
.why-card p { font-size: 13px; line-height: 1.45; color: var(--c-text-mute); margin: 0; }

/* --- Case studies callout (industry / service pages) -------------------- */
.cs-callout {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
  justify-content: space-between;
}
.cs-callout h3 { margin: 0 0 6px; font-size: clamp(20px, 2.2vw, 24px); }
.cs-callout .cs-text { max-width: 56ch; }
.cs-callout p { margin: 0; font-size: 15px; color: var(--c-text-mute); }
.cs-callout > a { flex-shrink: 0; }
@media (max-width: 560px) { .cs-callout { padding: 26px; } }

/* --- Manifesto blocks (vision, mission) --------------------------------- */
.manifesto {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.manifesto .eyebrow { margin-bottom: 22px; }
.manifesto-line {
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.25;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: -.01em;
  margin: 0 0 14px;
}
.manifesto-line + p {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.45;
  color: var(--c-text-mute);
  margin: 0 0 8px;
}
/* Vision / Mission statement inside a value-card (About page) */
.vm-line { margin: 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--c-text); }

/* --- Values: four-card grid --------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.value-card .num {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-golden);
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}
.value-card h3 { margin: 0 0 18px; font-size: clamp(20px, 2.2vw, 24px); }
.value-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.value-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text-mute);
}
.value-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-light-teal);
}

/* --- Prose (policy / legal pages) --------------------------------------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 2em 0 .6em; color: var(--c-text); }
.prose h3 { font-size: clamp(18px, 2vw, 22px); margin: 1.8em 0 .4em; color: var(--c-text); }
.prose p { font-size: 17px; line-height: 1.65; color: var(--c-text-mute); margin-bottom: 1.1em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.4em; color: var(--c-text-mute); }
.prose ul li, .prose ol li { margin: .4em 0; line-height: 1.55; }
.prose strong { color: var(--c-text); font-weight: 500; }
.prose a { color: var(--c-light-teal); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--c-golden); }
/* Buttons placed inside .prose must keep their button styling, not inherit the
   teal underlined prose-link look (otherwise a CTA renders with teal text). */
.prose a.btn { text-decoration: none; }
.prose a.btn-primary, .prose a.btn-primary:hover { color: var(--c-bg); }
.prose a.btn-ghost, .prose a.btn-ghost:hover { color: var(--c-text); }
.prose hr { border: 0; border-top: 1px solid var(--c-border); margin: 2em 0; }
.prose .meta { color: var(--c-text-dim); font-size: 14px; margin-bottom: 1.6em; }

/* --- Footer ------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--c-border);
  padding: 56px 0 28px;
  background: var(--c-bg);
}
.foot-address {
  font-style: normal;
  color: var(--c-text-mute);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 12px;
}
.foot-col a[href^="tel:"],
.foot-col a[href^="mailto:"] { word-break: break-word; }
.foot-grid {
  display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
.foot-col h5 {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 500; color: var(--c-text-dim); margin: 0 0 14px;
}
.foot-col h5.foot-sub { margin-top: 24px; }
.foot-col a { display: block; color: var(--c-text-mute); padding: 4px 0; }
.foot-col a:hover { color: var(--c-golden); }
.foot-brand img:not(.foot-gptw) { height: 36px; margin-bottom: 18px; }
.foot-brand p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text-mute);
  max-width: 30ch;
  margin: 0 0 14px;
}

/* Legal section in the Contact column: heading + links rendered smaller and dimmer */
.foot-col h5.legal { margin-top: 26px; color: var(--c-text-dim); }
.foot-col h5.legal ~ a {
  font-size: 13px;
  color: var(--c-text-dim);
  padding: 3px 0;
}
.foot-col h5.legal ~ a:hover { color: var(--c-golden); }
.foot-trustpilot { padding: 0 0 22px; margin-bottom: 8px; }
.foot-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 24px;
  text-align: center;
  font-size: 13px; color: var(--c-text-dim);
}
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.foot-legal a { color: var(--c-text-dim); }
.foot-legal a:hover { color: var(--c-golden); }
.foot-social { display: flex; gap: 16px; margin-top: 20px; }
.foot-social a { display: inline-flex; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.foot-social a:hover { transform: translateY(-2px); opacity: .85; }
.foot-social svg { width: 22px; height: 22px; }
/* full-colour brand icons (X stays white so it shows on the dark footer) */
.foot-social a[href*="linkedin"] { color: #0a66c2; }
.foot-social a[href*="x.com"] { color: #ffffff; }
.foot-social a[href*="youtube"] { color: #ff0000; }
.foot-social a[href*="instagram"] { color: #e4405f; }
/* Great Place To Work certification badge */
.gptw-row { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.gptw-row > .section-head, .gptw-row > .gptw-hero-text { flex: 1 1 420px; margin-bottom: 0; }
.gptw-badge { flex: 0 0 auto; width: 150px; height: auto; display: block; }
@media (max-width: 560px) { .gptw-badge { width: 150px; } }
.gptw-link { display: inline-block; line-height: 0; transition: opacity .2s var(--ease); }
.gptw-link:hover { opacity: .88; }
.gptw-row > .gptw-link { flex: 0 0 auto; }
/* Awards & certification imagery (white ISO strip + award photos) */
.cert-strip { display: block; width: 100%; max-width: 640px; height: auto; margin: 32px auto 0; }
.cert-row { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; margin: 32px auto 0; max-width: 1040px; }
.cert-row .cert-strip { margin: 0; flex: 1 1 360px; max-width: 520px; }
.cert-badge { flex: 0 0 auto; height: 116px; width: auto; display: block; }
.cert-row .gptw-link { flex: 0 0 auto; line-height: 0; }
/* The unified "certifications strip" image: BSI ISO x4 + Cyber Essentials Plus + GPTW + FSQS + Trustpilot */
.certs-strip-full { display: block; width: 100%; max-width: 1180px; height: auto; margin: clamp(24px, 3vw, 36px) auto 0; }
/* Awards grid: a consistent way to present the industry awards across the site.
   3 columns at desktop; the final (10th) tile sits centred on its own row. */
.awards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 1100px; margin: clamp(24px, 3vw, 36px) auto 0;
}
.awards-grid .award-tile {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 24px 20px; text-align: center;
  display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center; min-height: 150px;
}
.awards-grid .award-pub { font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--c-light-teal); font-weight: 700; }
/* Publisher logo (replaces the teal text where a logo is available). Sized by a
   uniform height so a row of different logos sits visually consistent. */
.awards-grid .award-logo { height: 40px; width: auto; max-width: 85%; object-fit: contain; display: block; margin: 0 auto 2px; }
.awards-grid .award-name { font-size: 15px; font-weight: 700; color: var(--c-text); line-height: 1.3; }
.awards-grid .award-event { font-size: 13px; color: var(--c-text-dim); line-height: 1.35; }
/* Centre the 10th tile when it is alone on the fourth row (desktop only). */
.awards-grid .award-tile:last-child:nth-child(10) { grid-column: 2; }
@media (max-width: 980px) {
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid .award-tile:last-child:nth-child(10) { grid-column: auto; }
}
@media (max-width: 560px) {
  .awards-grid { grid-template-columns: 1fr; }
}
/* Vendors page: vendor / certification tiles */
.vendor-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
/* Fixed per-row bases so full rows fill the width exactly and any short final
   row is centred beneath the row above. Add tiles freely: the last row stays
   centred until it completes a full row of six. */
.vendor-tile { flex: 0 0 calc((100% - 80px) / 6); }
@media (max-width: 1024px) { .vendor-tile { flex-basis: calc((100% - 48px) / 4); } }
@media (max-width: 720px)  { .vendor-tile { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 480px)  { .vendor-tile { flex-basis: calc((100% - 16px) / 2); } }
.vendor-tile { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px 18px; min-height: 140px; text-align: center; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.vendor-tile:hover, .vendor-tile:focus-visible { border-color: var(--c-golden); background: var(--c-surface-hi); outline: none; }
a.vendor-tile .name { color: var(--c-text); }
/* Logo sits on a light chip so colourful AND dark vendor logos stay legible on
   the dark tile, without altering the supplied artwork. */
.vendor-logo { width: 100%; height: 60px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 10px 14px; }
.vendor-logo img { max-height: 40px; max-width: 88%; width: auto; height: auto; object-fit: contain; display: block; }
.vendor-tile .name { font-size: 15px; font-weight: 700; color: var(--c-text); line-height: 1.3; }
.vendor-tile .kind { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-dim); }
/* Feature rows: heading tile on the left, paragraph on the right */
.feature-rows { display: flex; flex-direction: column; gap: 22px; }
.feature-row { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.feature-tile { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px 24px; }
.feature-tile h3 { margin: 0; font-size: 18px; color: var(--c-text); }
.feature-row > p { margin: 0; color: var(--c-text-mute); line-height: 1.65; }
@media (max-width: 760px) { .feature-row { grid-template-columns: 1fr; gap: 10px; } .feature-tile { padding: 16px 18px; } }
@media (max-width: 560px) { .cert-badge { height: 96px; } }
.award-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
@media (max-width: 560px) { .award-photos { grid-template-columns: 1fr; } }
.award-photo { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-surface); }
.award-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* FSQS (or similar) trust callout: logo left + explanation right */
.fsqs-callout { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); flex-wrap: wrap; }
.fsqs-callout .fsqs-logo { flex: 0 0 auto; height: 150px; width: auto; display: block; }
.fsqs-callout .fsqs-text { flex: 1 1 320px; }
.fsqs-callout .fsqs-text h3 { margin: 0 0 10px; font-size: clamp(20px, 3vw, 26px); }
.fsqs-callout .fsqs-text p { margin: 0; color: var(--c-text-mute); line-height: 1.65; }
@media (max-width: 560px) { .fsqs-callout .fsqs-logo { height: 120px; } }
.award-single { display: block; max-width: 460px; margin: 28px auto 0; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-surface); }
.award-single img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Reveal animations -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .sdot-green, .sdot-amber, .sdot-red { animation: none; }
}



/* --- Skip link ---------------------------------------------------------- */
.skip {
  position: absolute; left: -10000px; top: 12px;
  background: var(--c-golden); color: var(--c-bg);
  padding: 10px 14px; border-radius: 6px; font-weight: 500; z-index: 100;
}
.skip:focus { left: 12px; }

/* --- Calendly popup close button --------------------------------------- */
/* Calendly's default close is a small (19px), faint icon pinned to the
   viewport corner, far from the centred booking card. site.js re-parents it
   onto the card; these rules make it a big, high-contrast button at the
   card's top-right corner. !important beats Calendly's late-injected CSS. */
.calendly-overlay .calendly-popup-close {
  width: 42px !important;
  height: 42px !important;
  background-color: #000 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") !important;
  background-size: 18px 18px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border: 2px solid rgba(255, 255, 255, .9) !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5) !important;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.calendly-overlay .calendly-popup-close:hover,
.calendly-overlay .calendly-popup-close:focus-visible {
  border-color: var(--c-golden) !important;
  background-color: #111 !important;
  transform: scale(1.08);
}
/* Anchored to the card's own top-right corner once re-parented into it. */
.calendly-popup .calendly-popup-close {
  top: 12px !important;
  right: 12px !important;
  z-index: 2 !important;
}
/* Dark-themed booking card (background_color set in site.js): a faint ring +
   deep shadow so the near-black card separates from the dark popup backdrop. */
.calendly-overlay .calendly-popup-content {
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 12px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65) !important;
  overflow: hidden;
}
