@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/bodoni-moda-latin-ext-variable.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/bodoni-moda-latin-variable.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/lato-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/lato-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/lato-latin-ext-700.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/lato-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/lato-latin-ext-900.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/lato-latin-900.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(110px * var(--z));
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Lato', system-ui, sans-serif; }
img { max-width: 100%; }
main { display: block; }
.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  background: #fff;
  color: #881d41;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 12px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid #d0613c; outline-offset: 4px; }
.count { --n: var(--to); }
.count::before { content: none !important; }
.btn, .mobile-toggle {
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn, .navlink { touch-action: manipulation; }
.btn:active { filter: brightness(.9); }
.foot { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)) !important; }

/* The current page remains marked for touch and keyboard users. */
.topnav .navlink.on {
  background: rgba(136, 29, 65, .08);
  color: #881d41;
}
.topnav.dark .glass {
  background: rgba(12, 12, 16, .62);
  border-color: rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.topnav.dark .navlink.on {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

/* Full-screen heroes on every page, shared by English and Arabic. */
.pc .hero-card, .pc .hero-card.sub { min-height: var(--screen); }
/* Overlay the header without subtracting its language-dependent height. */
.pc > .topnav {
  position: fixed !important;
  inset-inline: 0;
}
.pc > main > section:first-child { margin-top: 0 !important; }

/* Center service copy with equal space above and below. */
.pc .hero-services { justify-content: center; }
.pc .hero-services > .wrap {
  padding-top: 112px !important;
  padding-bottom: 112px !important;
}

/* The home headlines share three rows and a common vertical rhythm. */
.pc .hero-headline {
  font-size: clamp(32px, 4.5vw, 64px) !important;
  line-height: 1.25 !important;
}
.hero-line { display: block; white-space: nowrap; }
.hero-line .w { vertical-align: top; }
.pc .hero-home > .wrap {
  min-height: var(--screen);
  padding-top: clamp(120px, 18svh, 160px) !important;
  justify-content: space-between;
}

@media (max-width: 760px) {
  .mobile-toggle { display: block; }
  .topnav {
    padding-left: max(10px, env(safe-area-inset-left)) !important;
    padding-right: max(10px, env(safe-area-inset-right)) !important;
  }
  .topnav > .glass {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px !important;
    padding-left: 12px !important;
  }
  .topnav > .glass > a { min-width: 0; }
  .topnav .logo-c, .topnav .logo-w { height: 22px !important; }
  .topnav .btn { padding: 0 12px !important; }
  .topnav .navlink { padding: 10px 8px; font-size: 14px; }
  .topnav .mobile-toggle { min-width: 44px; min-height: 44px; padding: 10px 6px; }
  .topnav nav#main-navigation {
    display: none !important;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
  }
  .topnav nav#main-navigation[data-open] { display: flex !important; }
  .topnav:has([data-open]) > .glass { border-radius: 24px !important; }
  .svc[style*="grid-column"] { grid-column: auto !important; }
  .svc[style*="grid-row"] { grid-row: auto !important; }
  .hero-card > .wrap {
    padding-top: 136px !important;
    padding-bottom: 40px !important;
    gap: 28px !important;
  }
  .pc .hero-headline { font-size: clamp(23px, 7.2vw, 40px) !important; }
  .pc .hero-card.hero-home > .wrap { padding-top: 136px !important; }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    padding: 20px 16px;
  }
  .hero-stats .st { min-width: 0; gap: 8px; }
  .hero-stats .si { width: 32px; height: 32px; border-radius: 10px; }
  .hero-stats .si svg { width: 18px; height: 18px; }
  .hero-stats .v { font-size: clamp(24px, 6.5vw, 32px); }
  .hero-stats .l { font-size: 12px; line-height: 1.4; }
  .field input, .field textarea, .field select { font-size: 16px !important; }
  .pc .sec .wrap { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .w, .fade, .rv { opacity: 1 !important; transform: none !important; translate: none !important; }
}
@media print {
  .topnav, .mobile-toggle { display: none !important; }
  .w, .fade, .rv { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Bodoni Moda is reserved for the copper heading accents. */
h1 .accent-word { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 600; font-size: 1em; font-optical-sizing: auto; letter-spacing: -.015em; }

/* Recover the print-preview fade without changing the extracted logo pixels. */
/* Blend logo whites into each card, including inside the 3D transforms. */
.pc .wtile, .pc .chip { background: #fff; isolation: isolate; }
.pc img.client-logo-restored { mix-blend-mode: multiply; }
.pc img.client-logo-restored, .pc .chip:hover img.client-logo-restored {
  filter: brightness(var(--logo-brightness, 1)) invert(1) brightness(var(--logo-contrast, 1)) invert(1);
  opacity: 1;
}

/* ==========================================================================
   Design system — one spacing scale, one container, one rhythm on every page.
   ========================================================================== */
:root {
  /* Canvas scale: large displays keep the composition instead of floating a
     1200px column in empty space. Everything inside .pc scales together. */
  --z: 1;
  --screen: calc(100vh / var(--z));
  /* 8px scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --gutter: clamp(16px, 4vw, 32px);
  --content: 1136px;
  --section-y: clamp(72px, calc(48px + 5vw), 120px);
  --stack: clamp(32px, calc(16px + 2.5vw), 48px);
  --head-gap: var(--s-4);
  --grid-gap: var(--s-4);
  --r-sm: 16px; --r-md: 24px; --r-lg: 28px; --r-xl: 36px;
  --line: #E8DFDB;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@supports (height: 100svh) { :root { --screen: calc(100svh / var(--z)); } }
@media (min-width: 1680px) { :root { --z: 1.12; } }
@media (min-width: 1920px) { :root { --z: 1.25; } }
@media (min-width: 2200px) { :root { --z: 1.4; } }
@media (min-width: 2500px) { :root { --z: 1.55; } }
@media (min-width: 3000px) { :root { --z: 1.85; } }
@media (min-width: 3600px) { :root { --z: 2.2; } }
.pc { zoom: var(--z); }

.pc .wrap {
  max-width: calc(var(--content) + 2 * var(--gutter));
  padding-inline: var(--gutter);
}
/* Every content section shares the same vertical rhythm; neighbours never double it. */
.pc .sec { padding-block: var(--section-y); }
.pc .sec + .sec { padding-top: 0; }
.pc .sec-chapter { padding-bottom: var(--stack); }
.stack { display: flex; flex-direction: column; gap: var(--stack); }
.sec-head { display: flex; flex-direction: column; gap: var(--head-gap); max-width: 760px; }
.sec-head.is-center { align-items: center; text-align: center; margin-inline: auto; max-width: 820px; }
.sec-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s-5); }
.lead { margin: 0; font-size: 17px; line-height: 1.65; max-width: 640px; }

/* A single heading scale across pages. */
.pc .h2 { font-size: clamp(28px, calc(18px + 2.4vw), 46px); line-height: 1.08; letter-spacing: -.03em; }
.pc .h2.h2-sm { font-size: clamp(24px, calc(16px + 1.6vw), 34px); }

/* Kicker: the supporting line above a service name — the name carries the weight. */
.kicker {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  font-size: 15px; font-weight: 600; line-height: 1.5; color: #881D41;
}
.kicker-num {
  font-size: 13px; letter-spacing: .08em; opacity: .75;
  padding-inline-end: 12px; border-inline-end: 1px solid currentColor;
}

/* ---- Home: services in two families ---- */
.svc-group { display: flex; flex-direction: column; gap: var(--s-5); }
.svc-group-head {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center;
  gap: var(--s-3) var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line);
}
.svc-group-num {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(136, 29, 65, .08); color: #881D41; font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.svc-group-title { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.3; }
.svc-group-desc { margin: 0; justify-self: end; text-align: end; max-width: 460px; font-size: 15px; line-height: 1.6; }
.svc-grid { display: grid; gap: var(--grid-gap); }
.svc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pc .svc { justify-content: space-between; gap: var(--s-6); min-height: 280px; }
.svc-copy { display: flex; flex-direction: column; gap: var(--s-3); }
.svc .kicker { font-size: 14px; }
.svc-title { margin: 0; font-size: clamp(22px, calc(14px + .9vw), 27px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.svc-desc { margin: 0; font-size: 16px; line-height: 1.6; color: #5A5357; }
.pc .svc-feature { background: #1A1B20; border-color: #1A1B20; color: #fff; }
.svc-feature .kicker { color: #EBA88C; }
.svc-feature .svc-desc { color: #DCD2CE; }
@media (hover: hover) and (pointer: fine) { .pc .svc-feature:hover { color: #fff; } }

/* ---- Hero statistics: three equal, centred figures ---- */
.pc .hero-stats.hero-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: var(--s-5) var(--s-2); }
.hero-stats-3 .st { justify-content: center; padding: var(--s-1) var(--s-5); }
.hero-stats-3 .st + .st { border-inline-start: 1px solid rgba(255, 255, 255, .14); }

/* ---- Services page: chapters for government and specialized services ---- */
.chapter {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start;
  gap: var(--s-4) clamp(24px, 4vw, 56px);
  padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid #E3D6D1;
}
.chapter-num {
  grid-row: span 2; font-size: clamp(56px, 7vw, 104px); font-weight: 800; line-height: .9; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px #C9A3AF;
}
.chapter-title { margin: 0; font-size: clamp(30px, calc(18px + 2.8vw), 54px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.chapter-copy p { margin: var(--s-3) 0 0; max-width: 620px; font-size: 17px; line-height: 1.65; }
.chapter-list { grid-column: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chapter-list li { padding: 8px 16px; border-radius: 999px; background: rgba(136, 29, 65, .07); color: #6E1634; font-size: 14px; font-weight: 600; }
.chapter-inset { margin-bottom: calc(var(--stack) - var(--s-4)); }
.panel-title { margin: 0; font-size: clamp(22px, calc(14px + 1vw), 28px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.jump-group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.jump-group + .jump-group { margin-inline-start: var(--s-3); padding-inline-start: var(--s-5); border-inline-start: 1px solid rgba(255, 255, 255, .2); }
.jump-label { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #F0B49A; margin-inline-end: var(--s-1); }

/* ---- About: the Proserv Holding group, each name and role beside its logo ---- */
.group-mark { height: 56px; width: auto; }
.group-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.group-item {
  display: flex; align-items: center; gap: var(--s-5); padding: var(--s-4); padding-inline-end: var(--s-5);
  border-radius: var(--r-md); background: rgba(255, 255, 255, .72); border: 1px solid #EFE9E6;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
@media (hover: hover) and (pointer: fine) {
  .group-item:hover { transform: translateY(-3px); border-color: #E6D3D9; box-shadow: 0 18px 40px rgba(136, 29, 65, .1); }
}
.group-logo {
  flex: none; width: 136px; height: 76px; padding: var(--s-3); border-radius: var(--r-sm);
  background: #fff; border: 1px solid #F1ECE9; display: flex; align-items: center; justify-content: center;
}
.group-logo img { max-width: 100%; max-height: 44px; object-fit: contain; }
.group-copy { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.group-name { font-size: 17px; font-weight: 700; line-height: 1.4; }
.group-desc { font-size: 15px; line-height: 1.5; color: #5A5357; }
.group-item.is-self { background: #1A1B20; border-color: #1A1B20; color: #fff; }
.group-item.is-self .group-desc { color: #DCD2CE; }
.group-here {
  display: inline-block; margin-inline-start: var(--s-2); padding: 1px 10px; border-radius: 999px; vertical-align: middle;
  background: rgba(240, 180, 154, .16); color: #F0B49A; font-size: 12px; font-weight: 600;
}

/* ---- About: client orbit — round chips keep an even gap at every angle ---- */
.ostage { border-radius: var(--r-xl); }
.ostage.big { height: 1160px; }
.ostage.big .chip { width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; }
.ostage.big .chip img { max-width: 58px; max-height: 30px; }
/* Solid-white orbit cards do not need to sample and blur the moving backdrop.
   Keep each counter-rotating logo as a reusable surface instead of repainting it. */
.pc .ostage .chip { backdrop-filter: none; -webkit-backdrop-filter: none; }
.pc .ostage .chip img { mix-blend-mode: normal; }
@media (prefers-reduced-motion: no-preference) {
  .ostage .ring:not(.motion-paused) .cs { will-change: transform; }
}


/* ---- Contact cards and social links ---- */
.contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); padding: 20px var(--s-5); text-decoration: none; color: #1A1B20; }
.contact-card .social { margin-inline-start: auto; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.pc .social-footer .social-link { color: #DCD2CE; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .16); }
.pc .social-card .social-link { color: #881D41; background: rgba(136, 29, 65, .08); }
@media (hover: hover) and (pointer: fine) {
  .pc .social .social-link:hover { color: #fff; background: #881D41; border-color: #881D41; transform: translateY(-2px); }
}
.social-footer { margin-top: var(--s-2); }
.pc .foot { background: #1A1B20; color: #DCD2CE; padding-top: clamp(56px, 6vw, 80px); }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.btn[disabled] { opacity: .65; cursor: progress; }

@media (max-width: 1100px) {
  .ostage.big { height: 1060px; }
  .ostage.big .oscale { scale: .9; }
}
@media (max-width: 1000px) {
  .svc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid-3 .svc-feature { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ostage.big { height: 840px !important; }
  .ostage.big .oscale { scale: .72; }
  .group-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ostage.big { height: 660px !important; }
  .ostage.big .oscale { scale: .56; }
  .svc-group-head { grid-template-columns: auto minmax(0, 1fr); }
  .svc-group-desc { grid-column: 1 / -1; justify-self: start; text-align: start; }
  .pc .svc { min-height: 0; }
  .pc .hero-stats.hero-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 18px 4px; }
  .hero-stats-3 .st { flex-direction: column; text-align: center; gap: 8px; padding: 0 6px; }
  .chapter { grid-template-columns: 1fr; }
  .chapter-num { grid-row: auto; font-size: 56px; }
  .chapter-list { grid-column: auto; }
  .jump-group + .jump-group { margin-inline-start: 0; padding-inline-start: 0; border-inline-start: 0; }
}
@media (max-width: 640px) {
  .svc-grid-3, .svc-grid-2 { grid-template-columns: 1fr; }
  .ostage.big { height: 560px !important; }
  .ostage.big .oscale { scale: .46; }
}
@media (max-width: 480px) {
  .ostage.big { height: 420px !important; }
  .ostage.big .oscale { scale: .31; }
  .group-item { gap: var(--s-4); padding-inline-end: var(--s-4); }
  .group-logo { width: 104px; height: 64px; }
  .contact-card .social { margin-inline-start: 60px; }
}

/* Headings break into balanced lines; paragraphs avoid single-word last lines. */
.pc .h2, .chapter-title, .svc-title, .panel-title { text-wrap: balance; }
.pc p { text-wrap: pretty; }
.nowrap { white-space: nowrap; }
.svc-group-desc { max-width: 540px; }
/* The short contact column stays beside the form while it is filled in. */
@media (min-width: 900px) { .contact-aside { position: sticky; top: calc(112px); } }
/* Five social links stay on one row inside the narrow contact card. */
@media (max-width: 480px) {
  .contact-card .social { gap: 8px; }
  .contact-card .social-link { width: 36px; height: 36px; }
}

/* ---- Contact: office location — a quiet monochrome map that wakes up in brand colour ---- */
.map {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(420px, 46vw, 560px); border-radius: var(--r-xl);
  background: #EDE6E3; border: 1px solid #EFE6E2;
  box-shadow: 0 1px 2px rgba(26, 27, 32, .04), 0 30px 70px rgba(70, 25, 35, .12);
}
.map-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) contrast(1.08) brightness(1.04);
  transition: filter .8s var(--ease);
}
.map-tint {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(136, 29, 65, 0) 0 16%, rgba(136, 29, 65, .1) 60%, rgba(26, 27, 32, .16) 100%),
    linear-gradient(135deg, rgba(240, 180, 154, .18), rgba(136, 29, 65, .12));
  mix-blend-mode: multiply; transition: opacity .8s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .map:hover .map-frame { filter: grayscale(.15) contrast(1) brightness(1); }
  .map:hover .map-tint { opacity: .35; }
}
/* The branded pin sits exactly on the map centre, where the office is. */
.map-pin { position: absolute; left: 50%; top: 50%; z-index: 2; width: 0; height: 0; pointer-events: none; }
.map-mark {
  position: absolute; left: -28px; top: -68px; width: 56px; height: 56px; border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg); background: #881D41; box-shadow: 0 14px 30px rgba(136, 29, 65, .45);
  display: flex; align-items: center; justify-content: center; animation: pinDrop 1s var(--ease) both;
}
.map-mark img { width: 34px; height: 34px; border-radius: 50%; background: #fff; padding: 5px; transform: rotate(45deg); }
.map-pulse {
  position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(136, 29, 65, .35); animation: mapPulse 2.6s ease-out infinite;
}
.map-pulse + .map-pulse { animation-delay: 1.3s; }
@keyframes mapPulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(7); opacity: 0; } }
@keyframes pinDrop { from { translate: 0 -40px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.map-card {
  position: absolute; z-index: 3; inset-inline-start: var(--s-5); bottom: var(--s-5);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); max-width: min(520px, calc(100% - 2 * var(--s-5)));
  padding: var(--s-5); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 0 #fff, 0 24px 60px rgba(70, 25, 35, .18);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.map-card-icon {
  width: 48px; height: 48px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(136, 29, 65, .1); color: #881D41;
}
.map-card-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 180px; }
.map-card-label { font-size: 13px; font-weight: 600; color: #881D41; }
.map-card-city { font-size: 21px; font-weight: 700; line-height: 1.3; }
.map-card-coords { font-size: 13px; color: #5A5357; font-variant-numeric: tabular-nums; text-align: start; }
.map-card-btn { min-height: 48px; padding-inline: 20px; font-size: 15px; }
@media (max-width: 760px) {
  .map { height: auto; display: flex; flex-direction: column; }
  .map-frame { position: relative; inset: auto; width: 100%; height: 340px; }
  .map-tint, .map-pin { top: 0; height: 340px; }
  .map-tint { bottom: auto; }
  .map-pin { top: 170px; height: 0; }
  .map-card {
    position: relative; inset: auto; max-width: none; border-radius: 0;
    background: #fff; border: 0; border-top: 1px solid #EFE6E2; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .map-card-btn { width: 100%; }
}

/* ---- Home footer: the office on a night-mode map that matches the dark footer ---- */
.foot-location {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; gap: var(--s-6);
  padding: var(--s-4); border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08);
}
.foot-location-copy { display: flex; flex-direction: column; justify-content: center; gap: var(--s-3); padding: var(--s-5); }
.foot-location-title { margin: 0; color: #fff; font-size: clamp(26px, calc(16px + 1.6vw), 36px); font-weight: 700; line-height: 1.2; }
.foot-location-copy p { margin: 0; font-size: 15px; line-height: 1.7; max-width: 400px; }
.foot-coords { color: #A89EA2; }
.foot-location-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); }
.foot-location-actions .btn { min-height: 48px; padding-inline: 20px; font-size: 15px; }
.pc .foot .foot-location-actions .btn-p, .pc .foot .foot-location-actions .btn-w { color: #fff; }
.map.map-dark { height: 340px; border-radius: var(--r-lg); background: #24252B; border-color: rgba(255, 255, 255, .06); box-shadow: none; }
.map-dark .map-frame { filter: grayscale(1) invert(.92) contrast(.88) brightness(.9); }
.map-dark .map-tint {
  mix-blend-mode: normal;
  background: radial-gradient(circle at 50% 50%, rgba(136, 29, 65, 0) 0 14%, rgba(26, 27, 32, .25) 70%, rgba(26, 27, 32, .55) 100%),
              linear-gradient(135deg, rgba(136, 29, 65, .22), rgba(208, 97, 60, .08));
}
@media (hover: hover) and (pointer: fine) {
  .map-dark:hover .map-frame { filter: grayscale(.6) invert(.9) contrast(.92) brightness(.95); }
}
@media (max-width: 900px) { .foot-location { grid-template-columns: 1fr; gap: 0; } .foot-location-copy { padding: var(--s-4) var(--s-2) var(--s-5); } }
@media (max-width: 760px) {
  .map.map-dark { display: block; height: 280px; }
  .map-dark .map-frame { position: absolute; inset: 0; height: 100%; }
  .map-dark .map-tint { top: 0; bottom: 0; height: auto; }
  .map-dark .map-pin { top: 50%; }
}

/* ---- Contact dock: a side panel that slides in after ten seconds ---- */
.dock { position: fixed; z-index: 60; inset-inline-end: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
[dir='rtl'] .dock { align-items: flex-start; }
.dock > * { pointer-events: auto; }
.dock-panel {
  position: relative; width: 360px; max-width: calc(100vw - 32px); padding: 22px; border-radius: var(--r-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .34) 48%, rgba(255, 240, 236, .42) 100%);
  border: 1px solid rgba(255, 255, 255, .55); color: #1A1B20;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(255, 255, 255, .2),
              0 30px 80px rgba(20, 10, 15, .28), 0 4px 14px rgba(26, 27, 32, .06);
  /* Brightening what sits behind the glass keeps dark text legible over the dark hero too. */
  backdrop-filter: blur(28px) saturate(180%) brightness(1.35); -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.35);
  overflow: hidden; isolation: isolate;
  opacity: 0; transform: translateX(calc(100% + 40px)) scale(.96); transform-origin: bottom right;
  transition: opacity .35s var(--ease), transform .55s cubic-bezier(.2, 1.2, .3, 1);
}
[dir='rtl'] .dock-panel { transform: translateX(calc(-100% - 40px)) scale(.96); transform-origin: bottom left; }
.dock.is-open .dock-panel { opacity: 1; transform: none; }
.dock-close {
  position: absolute; top: 14px; inset-inline-end: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .4); color: #3A3438; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.dock-close:hover { background: #881D41; color: #fff; }
.dock-head { display: flex; align-items: center; gap: 14px; padding-inline-end: 36px; margin-bottom: 16px; }
.dock-avatar { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .9); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(136, 29, 65, .14); }
.dock-avatar img { width: 32px; height: 32px; }
.dock-online { position: absolute; bottom: 1px; inset-inline-end: 1px; width: 12px; height: 12px; border-radius: 50%; background: #16A34A; border: 2px solid #fff; animation: pulse 1.8s ease-out infinite; }
.dock-title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.dock-sub { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #46404A; }
.dock-list { display: flex; flex-direction: column; gap: 8px; }
.dock-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; text-decoration: none; color: #1A1B20;
  background: rgba(255, 255, 255, .32); border: 1px solid rgba(255, 255, 255, .55);
  /* A faint outer line keeps each row defined over light sections as well. */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 1px rgba(136, 29, 65, .07), 0 2px 6px rgba(26, 27, 32, .04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; translate: 0 10px; transition: background .25s, border-color .25s, translate .45s var(--ease), opacity .45s var(--ease);
}
.dock.is-open .dock-row { opacity: 1; translate: 0 0; }
.dock.is-open .dock-row:nth-child(2) { transition-delay: .06s; }
.dock.is-open .dock-row:nth-child(3) { transition-delay: .12s; }
.dock.is-open .dock-row:nth-child(4) { transition-delay: .18s; }
.pc .dock-row:hover { color: #1A1B20; background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .9); }
.dock-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(136, 29, 65, .09); color: #881D41; display: inline-flex; align-items: center; justify-content: center; }
.dock-ic svg { width: 20px; height: 20px; }
.dock-row.is-wa .dock-ic { background: #25D366; color: #fff; }
.dock-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dock-label { font-size: 12px; color: #4F474B; }
.dock-value { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
.dock-badge { flex: none; padding: 2px 8px; border-radius: 999px; background: rgba(37, 211, 102, .12); color: #128C4A; font-size: 11px; font-weight: 700; }
.dock-go { flex: none; color: #881D41; opacity: .5; transition: opacity .25s, transform .25s var(--ease); }
[dir='rtl'] .dock-go { transform: scaleX(-1); }
.dock-row:hover .dock-go { opacity: 1; transform: translateX(3px); }
[dir='rtl'] .dock-row:hover .dock-go { transform: scaleX(-1) translateX(3px); }
.dock-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 2px 14px; }
.dock-follow { font-size: 13px; font-weight: 600; color: #5A5357; }
.social-dock { gap: 6px; }
.social-dock .social-link { width: 34px; height: 34px; color: #881D41; background: rgba(255, 255, 255, .4); border: 1px solid rgba(255, 255, 255, .6); }
.social-dock .social-link svg { width: 16px; height: 16px; }
.dock-cta { width: 100%; min-height: 48px; font-size: 15px; }
.dock-launch {
  position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: #881D41; box-shadow: 0 14px 34px rgba(136, 29, 65, .42); display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; scale: .6; visibility: hidden;
  transition: opacity .4s var(--ease), scale .5s cubic-bezier(.2, 1.4, .3, 1), background .25s, visibility 0s .5s;
}
/* visibility keeps it hidden even where reduced-motion rules force full opacity. */
.dock.is-ready .dock-launch { opacity: 1; scale: 1; visibility: visible; transition-delay: 0s; }
.dock-launch:hover { background: #6E1634; }
.dock-launch svg { width: 26px; height: 26px; }
.dock-launch-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(136, 29, 65, .5); animation: launchRing 2.8s ease-out infinite; }
.dock.is-open .dock-launch-ring { animation: none; opacity: 0; }
@keyframes launchRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@media (max-width: 480px) {
  .dock { inset-inline: 12px; bottom: 12px; }
  .dock-panel { width: 100%; max-width: none; transform: translateY(calc(100% + 40px)); }
  [dir='rtl'] .dock-panel { transform: translateY(calc(100% + 40px)); }
  .dock-launch { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .dock-panel, .dock-row, .dock-launch { transition: opacity .2s !important; transform: none !important; translate: none !important; }
  .dock-launch-ring, .dock-online { animation: none !important; }
}
@media print { .dock { display: none !important; } }

/* Glass sheen: a soft light sweep and a warm edge glow behind the content. */
.dock-panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 60% at 0% 0%, rgba(255, 255, 255, .55), transparent 60%),
              radial-gradient(80% 50% at 100% 100%, rgba(208, 97, 60, .14), transparent 70%);
}
.dock-panel::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-18deg);
  opacity: 0;
}
.dock.is-open .dock-panel::after { animation: dockSheen 1.6s .35s var(--ease) both; }
@keyframes dockSheen { from { left: -60%; opacity: 1; } to { left: 130%; opacity: 0; } }

/* Location inside the dock: a small live map with the branded pin and a glass caption. */
.dock-map {
  position: relative; height: 150px; border-radius: 18px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(136, 29, 65, .07), 0 2px 6px rgba(26, 27, 32, .04);
  background: rgba(255, 255, 255, .3);
  opacity: 0; translate: 0 10px; transition: translate .45s var(--ease) .18s, opacity .45s var(--ease) .18s;
}
.dock.is-open .dock-map { opacity: 1; translate: 0 0; }
.dock-map-frame { position: absolute; inset: 0; }
.dock-map-frame iframe {
  position: absolute; top: -40px; left: -40px; width: calc(100% + 80px); height: calc(100% + 80px); border: 0; pointer-events: none;
  filter: grayscale(1) contrast(1.05) brightness(1.05) sepia(.18) hue-rotate(-30deg);
}
.dock-map .map-pin { top: 42%; z-index: 1; }
.dock-map .map-mark { left: -18px; top: -44px; width: 36px; height: 36px; }
.dock-map .map-mark img { width: 22px; height: 22px; padding: 3px; }
.dock-map-link {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; gap: 10px; padding: 8px; text-decoration: none; color: #1A1B20;
}
.dock-map-link::before {
  content: ''; position: absolute; inset: auto 8px 8px; height: 52px; border-radius: 14px; z-index: -1;
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 20px rgba(26, 27, 32, .12);
}
.dock-map-link .dock-ic { width: 36px; height: 36px; margin: 8px; margin-inline-end: 0; }
.dock-map-link .dock-txt { padding-bottom: 8px; }
.dock-map-open {
  flex: none; margin: 0 8px 15px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: #881D41; color: #fff; transition: background .25s;
}
.pc .dock-map-link:hover { color: #1A1B20; }
.dock-map-link:hover .dock-map-open { background: #6E1634; }
.dock-map-link:focus-visible { outline-offset: -3px; border-radius: 18px; }
/* Keep the taller panel inside short screens. */
/* The panel is sized to fit the screen without scrolling; scrolling stays only as an invisible last resort. */
.dock-panel { max-height: calc(var(--screen) - 104px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.dock-panel::-webkit-scrollbar { display: none; }
@media (max-width: 480px) { .dock-map { height: 120px; } }
@media (prefers-reduced-motion: reduce) { .dock-map { transition: opacity .2s !important; translate: none !important; } }

/* ---- Scrollbars: a slim burgundy thumb on a transparent track ---- */
html { scrollbar-width: thin; scrollbar-color: #9B2A50 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  border-radius: 999px; border: 2px solid transparent; background-clip: padding-box;
  background-image: linear-gradient(180deg, #B4325D, #881D41); transition: background .2s;
}
::-webkit-scrollbar-thumb:hover { background: #6E1634; background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
html { background: #FAF8F7; transition: background-color .4s ease; }
html.on-dark { background: #0F1014; }

/* Compact the dock on shorter screens so everything is visible at once. */
.dock-panel { padding: 18px; }
.dock-head { margin-bottom: 12px; }
.dock-list { gap: 6px; }
.dock-row { padding: 8px 10px; }
.dock-map { height: 132px; }
.dock-foot { margin: 12px 2px 10px; }
@media (max-height: 820px) {
  .dock-sub { display: none; }
  .dock-avatar { width: 44px; height: 44px; }
  .dock-avatar img { width: 26px; height: 26px; }
  .dock-ic { width: 34px; height: 34px; }
  .dock-row { padding: 6px 10px; border-radius: 16px; }
  .dock-map { height: 104px; }
  .dock-cta { min-height: 44px; }
}
@media (max-height: 680px) {
  .dock-map { height: 72px; }
  .dock-map .map-pin { display: none; }
  .dock-foot { margin: 8px 2px; }
  .dock-head { margin-bottom: 8px; }
  .dock-title { font-size: 15px; }
}

/* Larger dock: more presence on desktop, still fitted to the screen height. */
.dock-panel { width: 420px; padding: 24px; border-radius: 32px; }
.dock-head { gap: 16px; margin-bottom: 18px; }
.dock-avatar { width: 58px; height: 58px; }
.dock-avatar img { width: 36px; height: 36px; }
.dock-title { font-size: 20px; }
.dock-sub { font-size: 14px; }
.dock-list { gap: 10px; }
.dock-row { padding: 12px 14px; border-radius: 20px; gap: 14px; }
.dock-ic { width: 46px; height: 46px; }
.dock-ic svg { width: 22px; height: 22px; }
.dock-label { font-size: 13px; }
.dock-value { font-size: 16px; }
.dock-map { height: 168px; border-radius: 20px; }
.dock-map-link .dock-ic { width: 40px; height: 40px; }
.dock-map-link::before { height: 58px; }
.dock-foot { margin: 18px 2px 14px; }
.social-dock .social-link { width: 38px; height: 38px; }
.dock-cta { min-height: 54px; font-size: 16px; }
.dock-launch { width: 66px; height: 66px; }
.dock-launch svg { width: 28px; height: 28px; }
@media (max-height: 900px) {
  .dock-panel { padding: 20px; }
  .dock-head { margin-bottom: 14px; }
  .dock-list { gap: 8px; }
  .dock-row { padding: 9px 12px; }
  .dock-map { height: 132px; }
  .dock-foot { margin: 14px 2px 12px; }
}
@media (max-height: 820px) {
  .dock-sub { display: none; }
  .dock-avatar { width: 48px; height: 48px; }
  .dock-avatar img { width: 30px; height: 30px; }
  .dock-ic { width: 40px; height: 40px; }
  .dock-row { padding: 7px 12px; }
  .dock-map { height: 108px; }
  .dock-cta { min-height: 48px; }
}
@media (max-height: 680px) {
  .dock-map { height: 74px; }
  .dock-title { font-size: 16px; }
  .dock-foot { margin: 10px 2px; }
}
@media (max-width: 480px) { .dock-panel { width: 100%; padding: 20px; } .dock-launch { width: 58px; height: 58px; } }
@media (max-height: 620px) {
  .dock-map { height: 64px; }
  .dock-row { padding: 5px 12px; }
  .dock-head { margin-bottom: 8px; }
  .dock-foot { margin: 8px 2px; }
}
/* Phones: full numbers and email stay visible. */
@media (max-width: 480px) {
  .dock-panel { padding: 16px; }
  .dock-row { padding-inline: 10px; gap: 10px; }
  .dock-ic, .dock-map-link .dock-ic { width: 38px; height: 38px; }
  .dock-value { font-size: 15px; white-space: normal; overflow-wrap: anywhere; }
  .dock-badge, .dock-map-open { display: none; }
}

/* ==== Dock, premium layout: contact details beside a large live map ==== */
.dock-panel { width: min(780px, calc(100vw - 48px)); padding: 28px; border-radius: 36px; }
.dock-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.dock-main { display: flex; flex-direction: column; min-width: 0; }
.dock-head { padding-inline-end: 0; margin-bottom: 22px; }
.dock-title { font-size: 22px; line-height: 1.3; letter-spacing: -.01em; }
.dock-sub { font-size: 14px; margin-top: 6px; }
.dock-list { gap: 10px; }
.dock-row { padding: 12px 14px; }
.dock-foot { margin: 20px 2px 16px; }
.dock-cta { margin-top: auto; }
.dock-close {
  z-index: 4; top: 18px; inset-inline-end: 18px; width: 38px; height: 38px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 16px rgba(26, 27, 32, .12);
}
.dock-grid .dock-map { height: auto; min-height: 440px; border-radius: 26px; transition-delay: .1s; }
.dock-grid .dock-map .map-pin { top: 46%; }
.dock-grid .dock-map .map-mark { left: -26px; top: -64px; width: 52px; height: 52px; }
.dock-grid .dock-map .map-mark img { width: 32px; height: 32px; padding: 5px; }
.dock-grid .dock-map .map-pulse + .map-pulse { display: block; }
.dock-map-frame iframe { filter: grayscale(.85) contrast(1.04) brightness(1.04) sepia(.12) hue-rotate(-25deg) saturate(1.2); }
/* Soft fade at the foot of the map so the caption reads cleanly. */
.dock-map::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(136, 29, 65, .08) 0%, transparent 35%, transparent 60%, rgba(26, 27, 32, .28) 100%);
}
.dock-grid .dock-map-link { padding: 12px; }
.dock-grid .dock-map-link::before { inset: auto 12px 12px; height: 64px; border-radius: 18px; }
.dock-grid .dock-map-link .dock-ic { width: 42px; height: 42px; margin: 11px; margin-inline-end: 0; }
.dock-grid .dock-map-link .dock-txt { padding-bottom: 11px; }
.dock-grid .dock-map-link .dock-value { font-size: 17px; }
.dock-grid .dock-map-open { margin: 0 12px 22px; padding: 6px 12px; font-size: 13px; }

/* Tablet and phone: one column, map on top. */
@media (max-width: 860px) {
  .dock-panel { width: min(480px, calc(100vw - 24px)); padding: 20px; }
  .dock-grid { grid-template-columns: 1fr; gap: 16px; }
  .dock-grid .dock-map { order: -1; min-height: 0; height: 190px; }
  .dock-head { padding-inline-end: 44px; margin-bottom: 14px; }
  .dock-cta { margin-top: 0; }
}
@media (max-width: 480px) { .dock-panel { width: 100%; padding: 16px; } .dock-grid .dock-map { height: 150px; } }
/* Shorter desktop screens keep the two columns but tighten the rhythm. */
@media (min-width: 861px) and (max-height: 760px) {
  .dock-panel { padding: 22px; }
  .dock-grid .dock-map { min-height: 360px; }
  .dock-head { margin-bottom: 14px; }
  .dock-foot { margin: 14px 2px 12px; }
}
@media (max-width: 860px) and (max-height: 820px) { .dock-grid .dock-map { height: 130px; } }
@media (max-width: 860px) and (max-height: 680px) { .dock-grid .dock-map { height: 96px; } .dock-grid .dock-map .map-pin { display: none; } }
/* The "open map" chip sits in the map's top corner so the caption keeps its full width. */
.dock-grid .dock-map-open { position: absolute; top: 14px; inset-inline-start: 14px; margin: 0; box-shadow: 0 8px 18px rgba(136, 29, 65, .35); }
.dock-grid .dock-map-link .dock-value { white-space: normal; }
@media (max-width: 860px) {
  .dock-grid .dock-map .map-pin { top: 40%; }
  .dock-grid .dock-map-link::before { height: 56px; }
  .dock-grid .dock-map-link .dock-ic { width: 36px; height: 36px; margin: 10px; margin-inline-end: 0; }
  .dock-grid .dock-map-link .dock-txt { padding-bottom: 9px; }
  .dock-grid .dock-map-link .dock-value { font-size: 15px; }
}
@media (max-width: 860px) and (max-height: 820px) { .dock-sub { display: none; } }
@media (max-width: 860px) and (max-height: 700px) {
  .dock-foot { display: none; }
  .dock-cta { margin-top: 14px; }
  .dock-head { margin-bottom: 10px; }
}
/* Phones: the map stays visible — the caption shrinks to a slim pill at its foot. */
@media (max-width: 860px) {
  .dock-grid .dock-map { height: 220px; }
  .dock-grid .dock-map .map-pin { top: 44%; }
  .dock-grid .dock-map-link { align-items: flex-end; padding: 10px; }
  .dock-grid .dock-map-link::before { inset: auto auto 10px 10px; width: auto; height: 40px; right: auto; display: none; }
  .dock-grid .dock-map-link .dock-ic, .dock-grid .dock-map-link .dock-label { display: none; }
  .dock-grid .dock-map-link .dock-txt {
    flex: none; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 16px rgba(26, 27, 32, .14);
  }
  .dock-grid .dock-map-link .dock-value { font-size: 14px; }
}
@media (max-width: 860px) and (max-height: 900px) { .dock-grid .dock-map { height: 180px; } .dock-sub { display: none; } }
@media (max-width: 860px) and (max-height: 820px) { .dock-grid .dock-map { height: 170px; } }
@media (max-width: 860px) and (max-height: 700px) {
  .dock-grid .dock-map { height: 130px; }
  .dock-grid .dock-map .map-pin { display: block; top: 50%; }
  .dock-grid .dock-map .map-mark { left: -20px; top: -50px; width: 40px; height: 40px; }
  .dock-grid .dock-map .map-mark img { width: 24px; height: 24px; padding: 3px; }
  .dock-row { padding-block: 5px; }
  .dock-list { gap: 6px; }
  .dock-grid { gap: 12px; }
}
/* The pin's tip sits exactly on the map centre — the office coordinates. */
.dock-grid .dock-map .map-pin, .dock-map .map-pin { top: 50% !important; }
/* Responsive <picture> wrappers do not take part in layout. */
.pc picture { display: contents; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form-consent { margin: 0; font-size: 13px; line-height: 1.6; color: #5A5357; }

/* ==========================================================================
   Inner pages: compact hero, long-form reading, insights, FAQ, careers, 404
   ========================================================================== */
.pc .hero-card.sub.compact { min-height: 0; justify-content: flex-end; background: radial-gradient(120% 140% at 85% 0%, #2A1820 0%, #14151A 55%, #0F1014 100%); }
.page-hero-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.page-hero-art::after {
  content: ''; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000, transparent 75%);
}
.page-hero-inner { position: relative; width: 100%; padding-top: clamp(140px, 18vw, 184px); padding-bottom: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: var(--s-4); }
.page-title { margin: 0; color: #fff; max-width: 880px; font-size: clamp(32px, calc(18px + 3vw), 58px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
[lang='ar'] .page-title { line-height: 1.45; }
.page-lead { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.7; color: #D9D0CC; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 14px; color: #B8ADB1; margin-top: var(--s-2); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #B8ADB1; }
.crumbs li + li::before { content: '/'; margin-inline-end: 6px; opacity: .5; }
.pc .crumbs a { color: #D9D0CC; text-decoration: none; }
.pc .crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #F0B49A; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Long-form reading: a comfortable measure and rhythm. */
.prose { max-width: 760px; font-size: 17px; line-height: 1.8; color: #2E292C; }
[lang='ar'] .prose { line-height: 2; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(21px, calc(15px + .8vw), 26px); line-height: 1.35; color: #1A1B20; letter-spacing: -.01em; }
.prose p { margin: 0 0 1.1em; }
.prose .list { margin: 0 0 1.4em; }
.prose .list li { font-size: 17px; }
.pc .prose a { color: #881D41; text-decoration: underline; text-decoration-color: rgba(136,29,65,.35); text-underline-offset: 3px; }
.prose .lead-p { font-size: 19px; color: #1A1B20; }
.callout { margin: 2em 0 1.4em; padding: 22px 26px; border-radius: var(--r-md); background: rgba(136,29,65,.06); border-inline-start: 4px solid #881D41; }
.disclaimer { margin-top: 2.4em !important; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: 14px; color: #6B6266; }

/* Insights listing */
.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.insight-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: #1A1B20; }
.pc .insight-card:hover { color: #1A1B20; }
.insight-card.is-featured { grid-column: 1 / -1; flex-direction: row; }
.insight-art { position: relative; flex: none; height: 180px; overflow: hidden; background: linear-gradient(135deg, #1A1B20, #3A1A27); }
.insight-card.is-featured .insight-art { width: 42%; height: auto; min-height: 280px; }
.insight-card[data-accent='insurance'] .insight-art { background: linear-gradient(135deg, #2A1220, #881D41); }
.insight-card[data-accent='permits'] .insight-art { background: linear-gradient(135deg, #1A1B20, #8A4A33); }
.insight-art::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; inset-inline-end: -60px; top: -80px; background: radial-gradient(circle, rgba(240,180,154,.45), transparent 70%); transition: transform 1s var(--ease); }
.insight-card:hover .insight-art::before { transform: translate(-20px, 20px) scale(1.15); }
.insight-num { position: absolute; inset-inline-start: 28px; bottom: 18px; font-size: 72px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5); font-family: 'Lato', sans-serif; }
.insight-body { display: flex; flex-direction: column; gap: var(--s-3); padding: 28px; flex: 1; }
.insight-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: #6B6266; }
.insight-cat { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(136,29,65,.08); color: #881D41; font-weight: 700; font-size: 12px; }
.insight-title { font-size: clamp(20px, calc(14px + .8vw), 24px); font-weight: 700; line-height: 1.35; text-wrap: balance; }
.insight-card.is-featured .insight-title { font-size: clamp(24px, calc(16px + 1.2vw), 32px); }
.insight-excerpt { font-size: 16px; line-height: 1.65; color: #5A5357; }
.insight-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: #881D41; }
[dir='rtl'] .insight-more svg, [dir='rtl'] .related-link svg { transform: scaleX(-1); }
.insight-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); padding: clamp(28px, 4vw, 48px); }
.insight-cta p { margin: 8px 0 0; }

/* Article page */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-aside { position: sticky; top: 112px; display: flex; flex-direction: column; gap: var(--s-5); }
.aside-card { padding: 28px; display: flex; flex-direction: column; gap: var(--s-3); }
.aside-card p { margin: 0; font-size: 15px; line-height: 1.7; color: #46404A; }
.aside-related { display: flex; flex-direction: column; gap: var(--s-2); }
.aside-related .eyebrow { margin-bottom: var(--s-1); }
.related-link { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 18px; border-radius: var(--r-md); text-decoration: none; color: #1A1B20; font-weight: 700; line-height: 1.45; background: rgba(255,255,255,.6); border: 1px solid #EFE9E6; transition: border-color .25s, transform .3s var(--ease); }
.pc .related-link:hover { color: #881D41; border-color: #E6D3D9; transform: translateY(-2px); }
.share { display: flex; align-items: center; gap: 10px; margin-top: var(--s-5); font-size: 14px; font-weight: 600; color: #5A5357; }
.share .social-link { width: 38px; height: 38px; color: #881D41; background: rgba(136,29,65,.08); }
.pc .share .social-link:hover { color: #fff; background: #881D41; }

/* FAQ: native details/summary, animated where the browser allows. */
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head .btn { align-self: flex-start; margin-top: var(--s-2); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: var(--r-md); background: rgba(255,255,255,.7); border: 1px solid #EFE9E6; transition: border-color .3s, box-shadow .3s, background .3s; interpolate-size: allow-keywords; }
.faq-item[open] { background: #fff; border-color: #E6D3D9; box-shadow: 0 18px 40px rgba(136,29,65,.08); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 20px 24px; font-weight: 700; font-size: 17px; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: var(--r-md); }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(136,29,65,.08); transition: background .3s, transform .4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: #881D41; transition: transform .4s var(--ease), background .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: #881D41; transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-item[open]::details-content { height: auto; }
.faq-a { padding: 0 24px 22px; }
.faq-a p { margin: 0; font-size: 16px; line-height: 1.75; color: #46404A; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Careers */
.careers { display: flex; flex-direction: column; gap: var(--grid-gap); }
.careers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.careers-card { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: var(--s-5); }
.careers-card h2, .careers-cta h2 { margin: 0; font-size: clamp(22px, calc(14px + 1vw), 28px); }
.careers-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); padding: clamp(32px, 5vw, 56px); border-radius: var(--r-xl); background: radial-gradient(120% 160% at 100% 0%, #4A1A2C, #1A1B20 60%); color: #fff; }
.careers-cta p { margin: 8px 0 0; color: #DCD2CE; max-width: 560px; line-height: 1.7; }

/* 404 */
.pc .hero-card.sub.nf-card { background: radial-gradient(120% 140% at 80% 0%, #2A1820 0%, #14151A 55%, #0F1014 100%); justify-content: center; }
.nf-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); padding-block: 140px 80px; }
.nf-code { font-family: 'Lato', sans-serif; font-size: clamp(120px, 22vw, 260px); font-weight: 900; line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgba(240,180,154,.6); background: linear-gradient(180deg, rgba(240,180,154,.25), transparent 80%); -webkit-background-clip: text; background-clip: text; }
.nf-en { margin: 0; color: #B8ADB1; font-family: 'Lato', sans-serif; font-size: 15px; }
.pc .nf-en a { color: #F0B49A; }
.nf-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); }

@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 760px) {
  .insight-grid, .careers-grid { grid-template-columns: 1fr; }
  .insight-card.is-featured { flex-direction: column; }
  .insight-card.is-featured .insight-art { width: auto; min-height: 0; height: 180px; }
  .faq-item summary { padding: 18px; font-size: 16px; }
  .faq-a { padding: 0 18px 18px; }
  .prose, .prose .list li { font-size: 16px; }
}

/* ---- Print: the services page doubles as a clean, branded service sheet ---- */
@media print {
  @page { margin: 14mm; }
  html, body, .pc { background: #fff !important; zoom: 1 !important; }
  .topnav, .dock, .foot-location, .hero-bg, .hero-shade, .hero-fade, .orb, .photo, .jump-group, .cta-actions, .faq-head .btn, .skip-link, .page-hero-art { display: none !important; }
  .pc .hero-card, .pc .hero-card.sub { min-height: 0 !important; background: #fff !important; color: #1A1B20 !important; }
  .pc .hero-card h1, .pc .hero-card .page-title, .pc .hero-card p { color: #1A1B20 !important; }
  .pc .hero-card > .wrap { padding: 0 0 12mm !important; }
  .pc .hero-card > .wrap::before { content: ''; display: block; width: 46mm; height: 13mm; margin-bottom: 8mm; background: url(/assets/img/logo-color.webp) no-repeat left center / contain; }
  [dir='rtl'] .pc .hero-card > .wrap::before { background-position: right center; }
  .pc .sec { padding: 6mm 0 !important; break-inside: auto; }
  .glass, .faq-item, .chapter, .dark { box-shadow: none !important; backdrop-filter: none !important; break-inside: avoid; }
  .dark, #consultant { background: #F6F1EF !important; color: #1A1B20 !important; }
  #consultant h2, #consultant p, #consultant li, #consultant .kicker { color: #1A1B20 !important; }
  .faq-item::details-content { height: auto !important; content-visibility: visible !important; }
  .rv, .fade, .w { opacity: 1 !important; transform: none !important; translate: none !important; animation: none !important; }
  .pc .foot { background: #fff !important; color: #1A1B20 !important; padding: 8mm 0 0 !important; border-top: 1px solid #ddd; }
  .pc .foot a { color: #1A1B20 !important; }
  .pc .foot img { filter: invert(1) hue-rotate(180deg); }
  .social, .foot-legal { display: none !important; }
}
/* Shared so every page template has it, not only the pages whose stylesheet defined it. */
.btn-g { background: rgba(255,255,255,.7); color: #1A1B20; border: 1px solid #E8DFDB; }
@media (hover: hover) and (pointer: fine) { .btn-g:hover { color: #881D41; border-color: #881D41; } }
/* In running text a list item flows as one paragraph, so bold lead-ins stay inline. */
.prose .list li { display: block; position: relative; padding-inline-start: 34px; }
.prose .list li::before { position: absolute; inset-inline-start: 0; top: .45em; }

/* ==========================================================================
   Motion system (enabled by site.js as html.js-motion)
   ========================================================================== */
.js-motion .rv {
  animation: none; opacity: 0; translate: 0 32px;
  transition: opacity .8s var(--ease), translate .95s var(--ease), transform .35s var(--ease), box-shadow .35s, background .3s, border-color .3s;
  transition-delay: var(--rv-delay, 0ms), var(--rv-delay, 0ms), 0s, 0s, 0s, 0s;
}
.js-motion .rv.is-in { opacity: 1; translate: 0 0; }
/* Section headings: each word rises from a mask that clips only below the line. */
.hw { display: inline-block; clip-path: inset(-1em -1em -.28em -1em); }
.hw > span { display: inline-block; }
.js-motion .hw > span { translate: 0 135%; transition: translate 1s var(--ease); transition-delay: calc(var(--rv-delay, 0ms) + 120ms + var(--i, 0) * 40ms); }
.js-motion .is-in .hw > span, .js-motion .rv-h.is-in .hw > span { translate: 0 0; }
/* Rules draw themselves in from the reading side once their block arrives. */
.svc-group-head { position: relative; border-bottom-color: transparent; }
.svc-group-head::after, .chapter::before {
  content: ''; position: absolute; inset-inline: 0; height: 1px; background: #E3D6D1;
  transform-origin: left; transition: transform 1.3s var(--ease) calc(var(--rv-delay, 0ms) + 200ms);
}
[dir='rtl'] .svc-group-head::after, [dir='rtl'] .chapter::before { transform-origin: right; }
.svc-group-head::after { bottom: -1px; }
.chapter { position: relative; border-top-color: transparent; }
.chapter::before { top: -1px; }
.js-motion .svc-group-head::after, .js-motion .chapter::before { transform: scaleX(0); }
.js-motion .is-in.svc-group-head::after, .js-motion .is-in.chapter::before { transform: scaleX(1); }
/* Outlined chapter numerals wipe in. */
.js-motion .chapter-num { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease) calc(var(--rv-delay, 0ms) + 150ms); }
.js-motion .is-in .chapter-num { clip-path: inset(0 0 0 0); }
/* Contact process rail fills when it scrolls into view. */
.js-motion .rail .rail-fill { animation: none; transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; }
.js-motion .rail.is-in .rail-fill { transform: scaleX(1); }
/* Service-group numbers pop as their row arrives. */
.js-motion .svc-group-num { scale: .4; opacity: 0; transition: scale .7s cubic-bezier(.2, 1.5, .3, 1) calc(var(--rv-delay, 0ms) + 100ms), opacity .4s calc(var(--rv-delay, 0ms) + 100ms); }
.js-motion .is-in .svc-group-num { scale: 1; opacity: 1; }

/* Page-to-page transitions: content crossfades and lifts while the header stays put. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .topnav { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vtOut .28s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
  ::view-transition-group(site-header) { animation-duration: .4s; }
}
@keyframes vtOut { to { opacity: 0; translate: 0 -12px; } }
@keyframes vtIn { from { opacity: 0; translate: 0 18px; } }
@media print { .js-motion .rv, .js-motion .hw > span { opacity: 1 !important; translate: none !important; } .js-motion .chapter-num { clip-path: none !important; } }

/* ==========================================================================
   Interactive layer
   ========================================================================== */
/* Cursor light: a soft burgundy glow rides under the pointer on cards. */
@media (hover: hover) and (pointer: fine) {
  .glass.lift, .svc, .insight-card, .group-item, .faq-item, .related-link, .story-card, .hc-option {
    background-image: radial-gradient(380px circle at var(--mx, -400px) var(--my, -400px), rgba(136, 29, 65, .09), transparent 60%);
  }
  .pc .svc-feature, .group-item.is-self, .story-card.is-dark {
    background-image: radial-gradient(380px circle at var(--mx, -400px) var(--my, -400px), rgba(240, 180, 154, .16), transparent 60%);
  }
  .btn-p, .dock-launch { transition: transform .25s, box-shadow .25s, background .25s, translate .35s var(--ease), opacity .4s var(--ease), scale .5s cubic-bezier(.2, 1.4, .3, 1); }
}
/* Header compacts after the first scroll. */
.pc .topnav { transition: top .45s var(--ease); }
.pc .topnav.is-scrolled { top: 10px !important; }
.topnav .glass { transition: padding .45s var(--ease), background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s; }
.topnav .logo-c, .topnav .logo-w, .topnav .navlink, .topnav .btn { transition: height .45s var(--ease), padding .45s var(--ease), min-height .45s var(--ease), background .2s, color .2s; }
@media (min-width: 761px) {
  .topnav.is-scrolled .logo-c, .topnav.is-scrolled .logo-w { height: 28px !important; }
  .topnav.is-scrolled .navlink { padding-block: 9px; }
  .topnav.is-scrolled .btn { min-height: 38px !important; }
  .topnav.is-scrolled > .glass { box-shadow: 0 14px 40px rgba(26, 27, 32, .12); }
}
/* Sliding menu highlight replaces the static pill on desktop. */
#main-navigation.has-pill { position: relative; }
.nav-pill {
  position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; pointer-events: none; opacity: 0;
  background: rgba(136, 29, 65, .08);
  transition: transform .45s var(--ease), width .45s var(--ease), height .45s var(--ease), opacity .3s, background .4s;
}
.nav-pill.no-anim { transition: none; }
.topnav.dark .nav-pill { background: rgba(255, 255, 255, .14); }
#main-navigation.has-pill .navlink { position: relative; z-index: 1; }
@media (min-width: 761px) {
  .pc #main-navigation.has-pill .navlink, .pc #main-navigation.has-pill .navlink:hover, .pc #main-navigation.has-pill .navlink.on { background: transparent; }
}
@media (max-width: 760px) { .nav-pill { display: none; } }
/* Reading progress on articles. */
.read-progress {
  position: fixed; inset-inline: 0; top: 0; z-index: 70; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, #881D41, #D0613C); transform: scaleX(var(--p, 0)); transform-origin: left;
}
[dir='rtl'] .read-progress { transform-origin: right; background: linear-gradient(270deg, #881D41, #D0613C); }
@media print { .read-progress, .nav-pill { display: none !important; } }

/* ---- Home: newest articles strip ---- */
.insight-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.insight-grid-3 .insight-art { height: 140px; }
.insight-grid-3 .insight-num { font-size: 56px; }
@media (max-width: 1000px) { .insight-grid-3 { grid-template-columns: 1fr; } .insight-grid-3 .insight-card { flex-direction: row; } .insight-grid-3 .insight-art { width: 32%; height: auto; } }
@media (max-width: 560px) { .insight-grid-3 .insight-card { flex-direction: column; } .insight-grid-3 .insight-art { width: auto; height: 120px; } }

/* ---- Home: health-check band ---- */
.hc-band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 56px); border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(120% 160% at 0% 0%, #4A1A2C, #1A1B20 60%);
}
.hc-band p { margin: 10px 0 0; color: #DCD2CE; line-height: 1.7; }
.hc-band-art { position: relative; width: 112px; height: 112px; }
.hc-band-art svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 8; }
.hc-band-art circle { stroke: rgba(255,255,255,.1); }
.hc-band-art .hc-band-arc { stroke: url(#none); stroke: #F0B49A; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 2s var(--ease) .3s; }
.js-motion .is-in .hc-band-arc, html:not(.js-motion) .hc-band-arc { stroke-dashoffset: 88; }
.hc-band-art span { position: absolute; inset: 0; display: grid; place-items: center; font: 800 34px 'Lato', sans-serif; color: #fff; }
.hc-band-art span::after { content: '?'; font: 900 44px/1 'Lato', sans-serif; color: #F0B49A; }
@media (max-width: 860px) { .hc-band { grid-template-columns: 1fr; } .hc-band-art { width: 84px; height: 84px; } }

/* ---- Health check ---- */
.hc { max-width: 860px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); min-height: 460px; display: flex; flex-direction: column; justify-content: center; }
.hc-intro, .hc-step { display: flex; flex-direction: column; gap: var(--s-4); transition: opacity .45s var(--ease), translate .5s var(--ease); }
.hc-enter { opacity: 0; translate: 0 16px; }
.hc-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: rgba(22,163,74,.1); color: #15803D; font-size: 13px; font-weight: 700; }
.hc-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; animation: pulse 1.8s ease-out infinite; }
.hc-areas-preview { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hc-areas-preview li { padding: 8px 14px; border-radius: 999px; background: rgba(136,29,65,.07); color: #6E1634; font-size: 14px; font-weight: 600; }
.hc-start { align-self: flex-start; margin-top: var(--s-2); }
.hc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.hc-count { color: #5A5357; font-weight: 600; }
.hc-area { padding: 4px 12px; border-radius: 999px; background: rgba(136,29,65,.08); color: #881D41; font-weight: 700; font-size: 13px; }
.hc-progress { height: 6px; border-radius: 999px; background: #EDE6E3; overflow: hidden; }
.hc-progress span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #881D41, #D0613C); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .6s var(--ease); }
[dir='rtl'] .hc-progress span { transform-origin: right; background: linear-gradient(270deg, #881D41, #D0613C); }
.hc-q { margin: var(--s-3) 0 0; font-size: clamp(22px, calc(14px + 1.2vw), 30px); line-height: 1.35; outline: none; text-wrap: balance; }
[lang='ar'] .hc-q { line-height: 1.6; }
.hc-hint { margin: 0; color: #5A5357; font-size: 15px; }
.hc-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: var(--s-2); }
.hc-option {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; cursor: pointer; text-align: start;
  font: inherit; font-weight: 600; font-size: 16px; color: #1A1B20; background: rgba(255,255,255,.75); border: 1px solid #E8DFDB;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.hc-option:hover { border-color: #C9A3AF; transform: translateY(-2px); }
.hc-option.is-na { grid-column: 1 / -1; font-weight: 500; color: #5A5357; }
.hc-option[aria-checked='true'] { border-color: #881D41; background-color: rgba(136,29,65,.06); box-shadow: 0 0 0 3px rgba(136,29,65,.12); }
.hc-radio { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9B8BE; transition: border-color .25s; }
.hc-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #881D41; scale: 0; transition: scale .35s cubic-bezier(.2, 1.6, .3, 1); }
.hc-option[aria-checked='true'] .hc-radio { border-color: #881D41; }
.hc-option[aria-checked='true'] .hc-radio::after { scale: 1; }
.hc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--s-4); }
.hc-nav .btn[disabled] { opacity: .45; cursor: not-allowed; }
.hc-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hc-disclaimer { max-width: 860px; margin: var(--s-4) auto 0; font-size: 13px; text-align: center; }
/* Result */
.hc-result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-6); align-items: center; }
.hc-score { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.hc-score svg { position: absolute; inset: 0; transform: rotate(-90deg); fill: none; stroke-width: 10; }
.hc-ring-bg { stroke: #EDE6E3; }
.hc-ring { stroke: #881D41; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.hc-result[data-tier='0'] .hc-ring { stroke: #15803D; }
.hc-result[data-tier='1'] .hc-ring { stroke: #D0613C; }
.hc-score-num { font: 900 46px/1 'Lato', sans-serif; display: flex; align-items: baseline; gap: 2px; }
.hc-score-num small { font-size: 15px; color: #6B6266; font-weight: 700; }
.hc-score-label { position: absolute; bottom: -26px; font-size: 12px; color: #6B6266; font-weight: 600; white-space: nowrap; }
.hc-tier { display: inline-block; padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; background: rgba(136,29,65,.1); color: #881D41; }
.hc-result[data-tier='0'] .hc-tier { background: rgba(22,163,74,.1); color: #15803D; }
.hc-result[data-tier='1'] .hc-tier { background: rgba(208,97,60,.12); color: #A1452A; }
.hc-verdict h3 { margin: 12px 0 6px; font-size: 24px; outline: none; }
.hc-verdict p { margin: 0; color: #46404A; line-height: 1.7; }
.hc-areas, .hc-recommend, .hc-email { grid-column: 1 / -1; }
.hc-result h4 { margin: 0 0 12px; font-size: 16px; }
.hc-areas ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hc-areas li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid #EFE9E6; font-weight: 600; }
.hc-status { margin-inline-start: auto; font-size: 13px; font-weight: 700; }
.hc-dot { width: 10px; height: 10px; border-radius: 50%; background: #C9B8BE; flex: none; }
.hc-areas .is-ok .hc-dot { background: #16A34A; } .hc-areas .is-ok .hc-status { color: #15803D; }
.hc-areas .is-watch .hc-dot { background: #D0613C; } .hc-areas .is-watch .hc-status { color: #A1452A; }
.hc-recommend > div { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hc-service { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(136,29,65,.07); color: #881D41; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .25s; }
.hc-service:hover { background: rgba(136,29,65,.14); }
[dir='rtl'] .hc-service svg, [dir='rtl'] .hc-nav svg { transform: scaleX(-1); }
.hc-email { padding: 24px; border-radius: var(--r-md); background: rgba(136,29,65,.04); border: 1px dashed #E3D6D1; display: flex; flex-direction: column; gap: 12px; }
.hc-email p { margin: 0; font-size: 14px; }
.hc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hc-email .btn { align-self: flex-start; }
.hc-email-status { margin: 0; font-size: 14px; font-weight: 600; color: #15803D; }
.hc-restart { grid-column: 1 / -1; justify-self: center; border: 0; background: none; font: inherit; color: #881D41; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .hc-options, .hc-areas ul, .hc-fields { grid-template-columns: 1fr; }
  .hc-result { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hc-areas, .hc-recommend, .hc-email { text-align: start; justify-self: stretch; }
}

/* ---- Client stories ---- */
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.story-card { position: relative; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: var(--s-4); }
.story-card.is-dark { background-color: #1A1B20; border-color: #1A1B20; color: #fff; }
.story-card h3 { margin: 0; font-size: clamp(22px, calc(14px + 1vw), 28px); line-height: 1.3; }
.story-sector { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(136,29,65,.08); color: #881D41; }
.story-card.is-dark .story-sector { background: rgba(240,180,154,.14); color: #F0B49A; }
.story-steps { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.story-steps div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.story-steps dt { font-size: 13px; font-weight: 700; color: #881D41; }
.story-card.is-dark dt { color: #EBA88C; }
.story-steps dd { margin: 0; line-height: 1.6; color: #46404A; }
.story-card.is-dark dd { color: #DCD2CE; }
.story-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: auto; padding-top: var(--s-4); border-top: 1px solid rgba(136,29,65,.12); }
.story-card.is-dark .story-metrics { border-color: rgba(255,255,255,.12); }
.story-metrics strong { display: block; font: 900 34px/1.1 'Lato', sans-serif; color: #881D41; }
.story-card.is-dark .story-metrics strong { color: #F0B49A; }
.story-metrics span { font-size: 13px; color: #6B6266; }
.story-card.is-dark .story-metrics span { color: #B8ADB1; }
.story-quote { position: relative; margin: 0; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-xl); background: linear-gradient(135deg, rgba(136,29,65,.06), rgba(240,180,154,.12)); border: 1px solid #EFE6E2; }
.story-mark { position: absolute; top: -10px; inset-inline-start: 28px; font: 900 140px/1 Georgia, serif; color: rgba(136,29,65,.16); }
.story-quote blockquote { position: relative; margin: 0; font-size: clamp(20px, calc(14px + .9vw), 26px); line-height: 1.6; font-weight: 600; max-width: 860px; }
.story-quote figcaption { margin-top: var(--s-5); display: flex; flex-direction: column; gap: 2px; }
.story-quote figcaption span { font-size: 14px; color: #6B6266; }
.story-sample { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #FDE68A; color: #78350F; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } .story-steps div { grid-template-columns: 1fr; gap: 2px; } }

/* ---- Case studies: situation, action, then the result made visible ---- */
.story-card { gap: var(--s-5); }
.story-head { display: flex; align-items: center; gap: var(--s-4); }
.story-icon { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #881D41; color: #fff; box-shadow: 0 12px 28px rgba(136, 29, 65, .3); }
.story-card.is-dark .story-icon { background: linear-gradient(135deg, #B4325D, #881D41); }
.story-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.story-badge { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #881D41; color: #fff; }
.story-card.is-dark .story-badge { background: rgba(240, 180, 154, .16); color: #F0B49A; }
.story-steps div { grid-template-columns: 104px minmax(0, 1fr); }
.story-result { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .85); border: 1px solid #EFE6E2; color: #1A1B20; }
.story-card.is-dark .story-result { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #fff; }
.story-result-label { font-size: 13px; font-weight: 700; color: #881D41; }
.story-card.is-dark .story-result-label { color: #EBA88C; }
.story-result > strong { font-size: clamp(18px, calc(13px + .6vw), 22px); line-height: 1.45; color: #881D41; }
.story-card.is-dark .story-result > strong { color: #fff; }
.story-metrics { margin-top: auto; }
.story-metrics strong { font-size: clamp(26px, calc(16px + 1.2vw), 34px); }
.story-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: #881D41; text-decoration: none; }
.story-card.is-dark .story-link { color: #F0B49A; }
[dir='rtl'] .story-link svg { transform: scaleX(-1); }
.story-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.story-note { margin: calc(var(--s-4) * -1) 0 0; font-size: 13px; }
@media (max-width: 760px) { .story-icon { width: 52px; height: 52px; } }
@media (max-width: 760px) { .story-steps div { grid-template-columns: 1fr; gap: 4px; } .story-card { padding: 24px 20px; } }

/* ---- Client reviews (verified on Clutch) ---- */
.reviews { display: flex; flex-direction: column; gap: var(--s-5); margin-top: var(--s-4); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.reviews-head h3 { margin: 0; font-size: clamp(22px, calc(14px + 1vw), 28px); }
.reviews-summary { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #EFE6E2; font-size: 14px; color: #5A5357; box-shadow: 0 8px 20px rgba(70, 25, 35, .06); }
.reviews-summary strong { font: 900 18px 'Lato', sans-serif; color: #1A1B20; }
.stars {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.8 6.4.9-4.6 4.5 1.1 6.3L12 17.3l-5.7 3 1.1-6.3-4.6-4.5 6.4-.9z'/%3E%3C/svg%3E");
  display: inline-block; flex: none; width: 95px; height: 19px;
  background: linear-gradient(90deg, #F5B942 calc(var(--r) / 5 * 100%), #E5DCD8 0);
  -webkit-mask: var(--star) 0 0 / 19px 19px repeat-x; mask: var(--star) 0 0 / 19px 19px repeat-x;
}
[dir='rtl'] .stars { background: linear-gradient(270deg, #F5B942 calc(var(--r) / 5 * 100%), #E5DCD8 0); -webkit-mask-position: right 0 top 0; mask-position: right 0 top 0; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.review-card { position: relative; margin: 0; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: var(--s-4); overflow: hidden; }
.review-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.review-source { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(22, 163, 74, .1); color: #15803D; font-size: 12px; font-weight: 700; }
.review-mark { position: absolute; top: 74px; inset-inline-end: 28px; font: 900 120px/1 Georgia, serif; color: rgba(136, 29, 65, .08); pointer-events: none; }
.review-card blockquote { position: relative; margin: 0; font-size: clamp(21px, calc(14px + .9vw), 27px); line-height: 1.5; font-weight: 700; color: #1A1B20; text-wrap: balance; }
[lang='ar'] .review-card blockquote { line-height: 1.7; }
.review-original { margin: -6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; color: #6B6266; }
.review-original span { flex: none; padding: 2px 8px; border-radius: 6px; background: rgba(26, 27, 32, .05); font-size: 11px; font-weight: 700; }
.review-original q { font-family: 'Lato', sans-serif; font-style: italic; }
.review-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: var(--s-4); border-top: 1px solid #EFE6E2; }
.review-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #B4325D, #881D41); color: #fff; font-weight: 800; font-size: 17px; }
.review-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review-who strong { font-size: 17px; }
.review-who > span { font-size: 14px; color: #5A5357; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }
/* Review links lead to the public Clutch profile. */
a.reviews-summary, a.review-source { text-decoration: none; transition: box-shadow .25s, border-color .25s, background .25s; }
.pc a.reviews-summary:hover { border-color: #E6D3D9; box-shadow: 0 12px 28px rgba(136, 29, 65, .12); color: #5A5357; }
.pc a.review-source:hover { background: rgba(22, 163, 74, .18); color: #15803D; }
.reviews-more { align-self: center; gap: 8px; }
.review-source.is-client { background: rgba(136, 29, 65, .08); color: #881D41; }

/* ==========================================================================
   Review showcase — one review at a time on a dark stage
   ========================================================================== */
.rv-stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(110% 130% at 0% 0%, #3B1627 0%, #1A1B20 52%, #111216 100%);
  box-shadow: 0 40px 90px rgba(26, 27, 32, .28), inset 0 1px 0 rgba(255, 255, 255, .06);
}
[dir='rtl'] .rv-stage { background: radial-gradient(110% 130% at 100% 0%, #3B1627 0%, #1A1B20 52%, #111216 100%); }
.rv-stage::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(70% 90% at 30% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 90% at 30% 20%, #000, transparent 75%);
}
.rv-stage-glow { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; bottom: -300px; inset-inline-end: -160px; background: radial-gradient(circle, rgba(208, 97, 60, .32), transparent 65%); filter: blur(10px); animation: drift 16s ease-in-out infinite alternate; }
/* Slides share one cell; only the active one is shown. */
.rv-slides { display: grid; align-items: center; min-height: 340px; }
.rv-slide { position: relative; grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.rv-stage.is-live .rv-slide { opacity: 0; visibility: hidden; translate: 0 22px; filter: blur(8px); transition: opacity .7s var(--ease), translate .9s var(--ease), filter .7s var(--ease), visibility 0s .9s; }
.rv-stage.is-live .rv-slide.is-active { opacity: 1; visibility: visible; translate: 0 0; filter: none; transition-delay: .15s, .15s, .15s, 0s; }
.rv-stage:not(.is-live) .rv-slides { gap: 48px; }
.rv-stage:not(.is-live) .rv-slide { grid-area: auto; }
.rv-stage:not(.is-live) .rv-nav { display: none; }
.rv-mark {
  font: 900 150px/.7 Georgia, 'Times New Roman', serif; height: 64px; margin-bottom: -6px;
  background: linear-gradient(135deg, #F0B49A, #B4325D); -webkit-background-clip: text; background-clip: text; color: transparent;
}
[dir='rtl'] .rv-mark { transform: scaleX(-1); align-self: flex-start; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rv-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; background: rgba(74, 222, 128, .12); color: #86EFAC; border: 1px solid rgba(74, 222, 128, .2); }
.pc a.rv-badge:hover { background: rgba(74, 222, 128, .2); color: #BBF7D0; }
.rv-badge.is-client { background: rgba(240, 180, 154, .12); color: #F0B49A; border-color: rgba(240, 180, 154, .2); }
.rv-quote { margin: 0; font-size: clamp(24px, calc(14px + 1.6vw), 38px); line-height: 1.45; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; color: #fff; }
[lang='ar'] .rv-quote { line-height: 1.75; font-weight: 700; }
.rv-original { margin: -8px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 14px; color: #B8ADB1; }
.rv-original span { padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); font-size: 11px; font-weight: 700; }
.rv-original q { font-family: 'Lato', sans-serif; font-style: italic; }
.rv-author { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.rv-author strong { display: block; font-size: 18px; }
.rv-author > span > span { font-size: 14px; color: #C9BEC2; }
.rv-avatar {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, #B4325D, #6E1634); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08), 0 10px 24px rgba(136, 29, 65, .4);
}
/* Reviewer list with a timing line on the active reviewer. */
.rv-nav { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.rv-tabs { display: flex; flex-direction: column; gap: 8px; }
.rv-tab {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; cursor: pointer; text-align: start;
  font: inherit; color: #fff; background: transparent; border: 1px solid transparent; opacity: .5;
  transition: opacity .4s, background .4s, border-color .4s, transform .4s var(--ease);
}
.rv-tab:hover { opacity: .85; }
.rv-tab[aria-selected='true'] { opacity: 1; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); transform: translateX(-4px); }
[dir='rtl'] .rv-tab[aria-selected='true'] { transform: translateX(4px); }
.rv-tab .rv-avatar { width: 42px; height: 42px; font-size: 14px; box-shadow: none; }
.rv-tab-text { display: flex; flex-direction: column; min-width: 0; }
.rv-tab-text strong { font-size: 15px; }
.rv-tab-text span { font-size: 13px; color: #B8ADB1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-tab-time { position: absolute; inset-inline: 16px; bottom: 0; height: 2px; background: rgba(255, 255, 255, .08); opacity: 0; transition: opacity .3s; }
.rv-tab[aria-selected='true'] .rv-tab-time { opacity: 1; }
.rv-tab-time i { display: block; height: 100%; background: linear-gradient(90deg, #F0B49A, #D0613C); transform: scaleX(0); transform-origin: left; }
[dir='rtl'] .rv-tab-time i { transform-origin: right; }
.rv-tab[aria-selected='true'] .rv-tab-time i { animation: rvTime var(--rv-interval) linear forwards; }
.rv-stage.is-paused .rv-tab-time i { animation-play-state: paused; }
@keyframes rvTime { to { transform: scaleX(1); } }
.rv-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 4px; }
.rv-count { font: 700 14px 'Lato', sans-serif; color: #8F8589; letter-spacing: .08em; direction: ltr; }
.rv-count b { color: #fff; font-size: 18px; }
.rv-buttons { display: flex; gap: 8px; }
.rv-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.rv-btn:hover { background: #881D41; border-color: #881D41; transform: translateY(-2px); }
[dir='rtl'] .rv-prev svg, [dir='rtl'] .rv-next svg { transform: scaleX(-1); }
.rv-toggle .i-play { display: none; }
.rv-toggle.is-play .i-play { display: block; }
.rv-toggle.is-play .i-pause { display: none; }
.rv-stage .story-sample { top: 0; inset-inline-end: 0; }
@media (max-width: 900px) {
  .rv-stage { grid-template-columns: 1fr; }
  .rv-slides { min-height: 0; }
  .rv-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .rv-tabs::-webkit-scrollbar { display: none; }
  .rv-tab { flex: 1 0 auto; flex-direction: column; gap: 8px; padding: 12px 10px 14px; text-align: center; transform: none !important; }
  .rv-tab-text span { display: none; }
  .rv-tab-text strong { font-size: 13px; white-space: nowrap; }
  .rv-tab-time { inset-inline: 10px; }
}
@media (max-width: 480px) { .rv-mark { font-size: 110px; height: 48px; } .rv-tab .rv-avatar { width: 36px; height: 36px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .rv-stage.is-live .rv-slide { transition: opacity .2s; translate: none; filter: none; } .rv-stage-glow { animation: none; } }
/* Columns never grow past the stage, so long names and lines wrap or scroll inside it. */
.rv-slides { grid-template-columns: minmax(0, 1fr); }
.rv-slide, .rv-nav, .rv-tabs { min-width: 0; }
@media (max-width: 900px) { .rv-stage { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; gap: 28px; } .rv-tab { flex: 0 0 auto; min-width: 104px; } }

/* Header steps aside after 1.5s without scrolling, and returns on the next scroll. */
.pc .topnav { transition: top .45s var(--ease), translate .55s var(--ease), opacity .4s; }
.pc .topnav.is-hidden { translate: 0 calc(-100% - 24px); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pc .topnav { transition: opacity .2s; } .pc .topnav.is-hidden { translate: none; } }
/* A more solid header bar: content behind it stays out of the way. */
.pc .topnav > .glass { background: rgba(255, 255, 255, .94); border-color: rgba(255, 255, 255, .95); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.pc .topnav.dark > .glass { background: rgba(16, 16, 20, .84); border-color: rgba(255, 255, 255, .14); }

/* Contact page opens straight on the form, below the fixed header. */
.pc .sec.contact-first { padding-top: clamp(132px, calc(96px + 5vw), 184px); }
.contact-intro { flex: 1 1 100%; display: flex; flex-direction: column; gap: var(--head-gap); max-width: 760px; }
.contact-title { margin: 0; font-size: clamp(32px, calc(18px + 3vw), 58px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; color: #1A1B20; text-wrap: balance; }
[lang='ar'] .contact-title { line-height: 1.45; }
.contact-title .accent-word { color: #881D41; }

/* Contact: a cue that points down to the map below the form. */
.loc-cue { position: relative; overflow: hidden; }
.loc-cue::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid rgba(136, 29, 65, .35); animation: cueRing 2.6s ease-out infinite; pointer-events: none; }
.loc-cue-go { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #881D41; }
.loc-cue-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #881D41; color: #fff; box-shadow: 0 8px 20px rgba(136, 29, 65, .35); animation: cueBounce 1.6s cubic-bezier(.3, 0, .3, 1) infinite; }
.pc .loc-cue:hover .loc-cue-arrow { animation-play-state: paused; background: #6E1634; }
@keyframes cueBounce { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 5px; } }
@keyframes cueRing { 0% { opacity: .9; scale: 1; } 70%, 100% { opacity: 0; scale: 1.04; } }
/* Once the map is on screen the cue has done its job. */
.loc-cue.is-done::after, .loc-cue.is-done .loc-cue-arrow { animation: none; }
@media (max-width: 480px) { .loc-cue-text { display: none; } }
@media (prefers-reduced-motion: reduce) { .loc-cue::after, .loc-cue-arrow { animation: none; } }
/* Street address on the map cards (address elements default to italic). */
.map-card-address { font-style: normal; font-size: 14px; line-height: 1.6; color: #46404A; }
.map-card-address.foot-coords { color: #C9BEC2; font-size: 15px; }
/* Careers opens with a wide team photo. */
.careers-photo { height: clamp(240px, 34vw, 440px); border-radius: var(--r-xl); }
.careers-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }

/* About hero: the Proserv Holding headquarters, under a deeper vertical shade like the group site. */
.hero-holding .hero-bg { object-position: 60% 40%; }
.hero-holding .hero-shade { background: linear-gradient(180deg, rgba(20, 19, 18, .6) 0%, rgba(20, 19, 18, .28) 32%, rgba(20, 19, 18, .72) 68%, rgba(12, 12, 16, .94) 100%), linear-gradient(var(--hd, 90deg), rgba(12, 12, 16, .55) 0%, rgba(12, 12, 16, 0) 60%); }
@media (max-width: 760px) { .hero-holding .hero-bg { object-position: 50% 30%; } }

/* ---- Insights: cover photos, tinted to the brand ---- */
.insight-art picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.insight-card:hover .insight-art picture img { transform: scale(1.06); }
.insight-art::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(26, 27, 32, .2) 0%, rgba(110, 22, 52, .35) 55%, rgba(26, 27, 32, .82) 100%); }
.insight-art::before { z-index: 2; mix-blend-mode: screen; }
.insight-num { z-index: 3; -webkit-text-stroke-color: rgba(255, 255, 255, .7); }
/* Article headers carry the cover photo; never mirrored, so stamps and labels read correctly. */
.pc .hero-card.compact.has-photo .hero-bg { animation: kb 16s cubic-bezier(.2, .8, .2, 1) forwards; }
[lang='ar'] .hero-card.has-photo .hero-bg { transform: none; }
.hero-card.compact.has-photo .page-hero-art { opacity: .5; }

/* ==========================================================================
   Hero entrance — calm and cinematic
   The photo emerges from darkness and settles; the headline rises line by line from behind
   a mask; supporting content follows on one easing curve. No continuous zoom afterwards.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }
@keyframes heroPhoto { from { opacity: 0; scale: 1.03; } to { opacity: 1; scale: 1; } }
@keyframes heroLine { from { translate: 0 108%; } to { translate: 0 0; } }
@keyframes heroSoft { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes heroShade { from { opacity: 1; } to { opacity: 0; } }

.pc .hero-card .hero-bg { animation: heroPhoto .8s var(--ease-out) both; }
/* A dark veil lifts off the whole stage as the photo arrives. */
.pc .hero-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: #0F1014; pointer-events: none; animation: heroShade .6s var(--ease-out) .1s both; }
.pc .hero-card > .wrap, .pc .hero-card .page-hero-inner { z-index: 2; }

/* Headline lines: each line is its own mask; clipping only below so Arabic marks stay whole. */
.pc .hero-card h1 .hero-line { clip-path: inset(-.6em -.6em 0 -.6em); padding-bottom: .06em; }
.pc .hero-card h1:not(.hero-headline) { clip-path: inset(-.6em -.6em 0 -.6em); }
.pc .hero-card h1 .w { opacity: 1; transform: none; animation: heroLine .7s var(--ease-out) both; animation-delay: .35s !important; }
.pc .hero-card h1 .hero-line:nth-child(2) .w { animation-delay: .5s !important; }
.pc .hero-card h1 .hero-line:nth-child(3) .w { animation-delay: .65s !important; }
/* The copper accent warms up a beat after it lands. */
.pc .hero-card h1 .accent-word { animation: heroLine .7s var(--ease-out) both, accentGlow 2.4s ease-out 1.4s both; }
@keyframes accentGlow { from { text-shadow: 0 0 0 rgba(240, 180, 154, 0); } 40% { text-shadow: 0 0 28px rgba(240, 180, 154, .45); } to { text-shadow: 0 0 0 rgba(240, 180, 154, 0); } }

/* Supporting copy, buttons, stats and breadcrumbs follow on the same curve. */
.pc .hero-card .fade { animation: heroSoft .55s var(--ease-out) both; }
.pc .hero-card .eyebrow.fade, .pc .hero-card .crumbs.fade { animation-delay: .2s !important; }
.pc .hero-card p.fade, .pc .hero-card .page-lead.fade { animation-delay: .25s !important; }
.pc .hero-card div.fade:not(.hero-stats):not(.eyebrow):not(.page-meta) { animation-delay: .35s !important; }
.pc .hero-card .page-meta.fade { animation-delay: .35s !important; }
.pc .hero-card .hero-stats.fade { animation-delay: .45s !important; }
.pc .hero-card nav.fade { animation-delay: .35s !important; }

@media (prefers-reduced-motion: reduce) {
  .pc .hero-card .hero-bg, .pc .hero-card h1 .w, .pc .hero-card .fade { animation: none !important; opacity: 1 !important; translate: none !important; filter: none !important; }
  .pc .hero-card::after { display: none; }
}
@media print { .pc .hero-card::after { display: none; } }

/* ---- Back to top ---- */
.to-top {
  position: fixed; z-index: 59; inset-inline-start: 24px; bottom: 24px; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #881D41;
  background: rgba(255, 255, 255, .86); box-shadow: 0 12px 30px rgba(26, 27, 32, .16), inset 0 1px 0 #fff;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; translate: 0 16px; scale: .9;
  transition: opacity .4s var(--ease), translate .5s var(--ease), scale .5s var(--ease), visibility 0s .5s, background .25s, color .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition-delay: 0s; }
.to-top > svg { grid-area: 1 / 1; }
.to-top-ring { width: 52px; height: 52px; transform: rotate(-90deg); fill: none; stroke-width: 2.5; }
.to-top-ring circle { stroke: rgba(136, 29, 65, .12); }
.to-top-ring .to-top-fill { stroke: #881D41; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); transition: stroke-dashoffset .15s linear; }
.to-top-arrow { transition: translate .35s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .to-top:hover { background: #881D41; color: #fff; }
  .to-top:hover .to-top-ring circle { stroke: rgba(255, 255, 255, .25); }
  .to-top:hover .to-top-fill { stroke: #fff; }
  .to-top:hover .to-top-arrow { translate: 0 -3px; }
}
@media (max-width: 480px) { .to-top { inset-inline-start: 12px; bottom: 12px; width: 46px; height: 46px; } .to-top-ring { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s; translate: none; scale: none; } }
@media print { .to-top { display: none !important; } }
/* Home hero: Cairo Tower at sunset; keep the tower and sun in frame at every width. */
.hero-home .hero-bg { object-position: 62% 55%; }
@media (max-width: 760px) { .hero-home .hero-bg { object-position: 40% 50%; } }
/* The tower sits left of centre in the photo: show it on the side opposite the headline in each language. */
.pc .hero-home .hero-bg { transform: scaleX(-1); }
[lang='ar'] .pc .hero-home .hero-bg, [lang='ar'] .hero-home .hero-bg { transform: none; }
@media (max-width: 760px) { .pc .hero-home .hero-bg { object-position: 27% 50%; } }
/* Home hero: consultant and client reviewing a file. The pair sits opposite the headline:
   as shot in English, mirrored in Arabic (no readable text in the frame). */
.pc .hero-home .hero-bg { transform: none; object-position: 50% 35%; }
[lang='ar'] .pc .hero-home .hero-bg, [lang='ar'] .hero-home .hero-bg { transform: scaleX(-1); }
@media (max-width: 760px) { .pc .hero-home .hero-bg { object-position: 68% 30%; } }
/* Position the home hero still frame at each breakpoint. */
.pc .hero-home picture .hero-bg { object-position: 50% 45%; }
@media (max-width: 760px) { .pc .hero-home picture .hero-bg { object-position: 58% 40%; } }
/* Home hero: the stamp on the dark walnut desk sits opposite the headline (mirrored for Arabic). */
.pc .hero-home picture .hero-bg { object-position: 60% 50%; }
@media (max-width: 760px) { .pc .hero-home picture .hero-bg { object-position: 78% 50%; } }
/* Services hero: the four service folders sit opposite the headline (mirrored for Arabic). */
.pc .hero-services .hero-bg { object-position: 62% 55%; }
@media (max-width: 760px) { .pc .hero-services .hero-bg { object-position: 72% 55%; } }

/* ---- FAQ: WhatsApp-style preview with typing ---- */
.wa-chat { margin-top: var(--s-4); max-width: 400px; border-radius: 24px; overflow: hidden; background: #0B141A; box-shadow: 0 24px 60px rgba(11, 20, 26, .28); }
.wa-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #1F2C34; color: #E9EDEF; }
.wa-top > svg { margin-inline-start: auto; color: #25D366; }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.wa-avatar img { width: 26px; height: 26px; }
.wa-who { display: flex; flex-direction: column; line-height: 1.3; }
.wa-who strong { font-size: 15px; }
.wa-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #8696A0; }
.wa-online { width: 7px; height: 7px; border-radius: 50%; background: #25D366; }
.wa-body {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 196px; padding: 16px 14px;
  background-color: #0B141A;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 18px 18px;
}
.wa-msg {
  position: relative; margin: 0; max-width: 88%; padding: 8px 12px 6px; border-radius: 4px 14px 14px 14px;
  background: #202C33; color: #E9EDEF; font-size: 14.5px; line-height: 1.6; box-shadow: 0 1px 1px rgba(0, 0, 0, .25);
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2px 10px;
}
[dir='rtl'] .wa-msg { border-radius: 14px 4px 14px 14px; }
.wa-msg time { margin-inline-start: auto; font-size: 11px; color: #8696A0; }
.wa-typing { display: none; margin: 0; padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: #202C33; gap: 4px; }
[dir='rtl'] .wa-typing { border-radius: 14px 4px 14px 14px; }
.wa-typing.is-on { display: inline-flex; }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: waDot 1.2s infinite ease-in-out; }
.wa-typing i:nth-child(2) { animation-delay: .15s; } .wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes waDot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }
.wa-chat.is-armed .wa-msg { display: none; }
.wa-chat.is-armed .wa-msg.is-in { display: flex; animation: waIn .4s var(--ease) both; }
@keyframes waIn { from { opacity: 0; translate: 0 8px; scale: .96; } }
.wa-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 14px 14px; padding: 13px 18px; border-radius: 999px;
  background: #25D366; color: #0B141A; font-weight: 800; font-size: 15px; text-decoration: none;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s, opacity .5s var(--ease), translate .5s var(--ease);
  box-shadow: 0 10px 24px rgba(37, 211, 102, .25);
}
.pc .wa-cta:hover { background: #1EBE5A; color: #0B141A; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 211, 102, .35); }
.wa-chat.is-armed:not(.is-done) .wa-cta { opacity: 0; translate: 0 10px; pointer-events: none; }
@media print { .wa-chat { display: none; } }
/* Careers banner: keep the table and pendant lights in frame as the height changes. */
.careers-photo img { object-position: 55% 60%; }
/* The client orbit keeps moving under the pointer; individual logos still lift on hover. */
@media (hover: hover) and (pointer: fine) { .ostage:hover .ring, .ostage:hover .cs { animation-play-state: running; } }

/* ---- Health-check invitation dialog ---- */
.hc-offer {
  width: min(480px, calc(100vw - 32px)); padding: 40px 36px 30px; border: 0; border-radius: var(--r-xl); text-align: center;
  color: #fff; background: radial-gradient(120% 120% at 50% 0%, #4A1A2C 0%, #1A1B20 60%, #121317 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: hcOfferIn .6s var(--ease-out, ease) both;
}
.hc-offer::backdrop { background: rgba(12, 12, 16, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: hcFade .4s ease both; }
.hc-offer.is-closing { animation: hcOfferOut .35s ease both; }
.hc-offer.is-closing::backdrop { animation: hcFade .35s ease reverse both; }
@keyframes hcOfferIn { from { opacity: 0; translate: 0 24px; scale: .96; } }
@keyframes hcOfferOut { to { opacity: 0; translate: 0 12px; scale: .98; } }
@keyframes hcFade { from { opacity: 0; } }
.hc-offer-x { position: absolute; top: 14px; inset-inline-end: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #DCD2CE; background: rgba(255, 255, 255, .08); transition: background .2s; }
.hc-offer-x:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hc-offer-art { position: relative; width: 84px; height: 84px; margin: 0 auto 16px; }
.hc-offer-art svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 8; }
.hc-offer-art circle { stroke: rgba(255, 255, 255, .1); }
.hc-offer-art .hc-offer-arc { stroke: #F0B49A; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: hcArc 1.6s var(--ease-out, ease) .3s forwards; }
@keyframes hcArc { to { stroke-dashoffset: 28; } }
.hc-offer-art span { position: absolute; inset: 0; display: grid; place-items: center; font: 900 34px 'Lato', sans-serif; color: #F0B49A; }
.hc-offer .eyebrow { color: #EBA88C; }
.hc-offer h2 { margin: 10px 0 10px; font-size: 24px; line-height: 1.35; }
[lang='ar'] .hc-offer h2 { line-height: 1.6; }
.hc-offer p { margin: 0 auto; max-width: 380px; color: #DCD2CE; font-size: 15px; line-height: 1.7; }
.hc-offer-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.hc-offer .btn-g { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .2); }
.pc .hc-offer .btn-g:hover { color: #fff; border-color: #fff; }
.hc-offer-note { display: block; margin-top: 14px; font-size: 12px; color: #9E9497; }
@media (prefers-reduced-motion: reduce) { .hc-offer, .hc-offer::backdrop, .hc-offer-arc { animation: none !important; } .hc-offer-art .hc-offer-arc { stroke-dashoffset: 28; } }
/* Outlined chapter numerals: the outline stroke and tight tracking extend past the text box,
   so the wipe reveals into a margin instead of clipping at the box edge. */
.chapter-num { letter-spacing: -.02em; padding-inline: .04em; }
.js-motion .chapter-num { clip-path: inset(-12% 112% -12% -12%); }
.js-motion .is-in .chapter-num { clip-path: inset(-12% -12% -12% -12%); }

/* Touch comfort: every tappable control is at least 44px tall on touch screens. */
.topnav > .glass > a:first-child { min-height: 44px; display: inline-flex !important; align-items: center; }
@media (pointer: coarse) {
  .story-link { min-height: 44px; display: inline-flex; align-items: center; }
  .rv-badge { min-height: 36px; padding-block: 8px; }
  .rv-tab { min-height: 48px; }
  .social-link { min-width: 44px; min-height: 44px; }
  .foot nav a, .foot-legal a { display: inline-block; padding-block: 6px; }
  .crumbs a { display: inline-block; padding-block: 8px; }
}
/* Small labels stay legible. */
.rv-original span, .wa-msg time { font-size: 12px; }

/* Keep decorative loops still outside the viewport and in background tabs. */
.pc .motion-paused, .pc .motion-paused .cs { animation-play-state: paused !important; }

/* Submission confirmation: a distinct destination after a successful request. */
.thank-you { min-height: 70vh; display: grid; align-items: center; padding-block: clamp(72px, 12vw, 144px); }
.thank-you-card { max-width: 760px; margin-inline: auto; padding: clamp(28px, 6vw, 64px); text-align: center; }
.thank-you-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%; color: #881d41; background: rgba(136,29,65,.08); }
.thank-you h1 { margin: 16px 0 20px; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -.025em; }
.thank-you-lead { max-width: 540px; margin: 0 auto 16px; font-size: 18px; line-height: 1.7; }
.thank-you-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.contact-time-note { font-size: 12px; font-weight: 400; color: #71676d; }

/* Prioritize the request form when contact columns stack on smaller screens. */
@media (max-width: 960px) {
  .contact-first .contact-form-card { order: 1; flex-basis: 100% !important; }
  .contact-first .contact-aside { order: 2; flex-basis: 100% !important; }
}

/* Native multi-select behavior, presented as toggling service chips. */
.pc .service-chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid #ddd3d8; border-radius: 999px; background: #fff; color: #51454d; cursor: pointer; font-weight: 600; line-height: 1.4; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.pc .service-chip input[type="checkbox"] { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.pc .service-chip:has(input:checked) { color: #fff; background: #881d41; border-color: #881d41; }
.pc .service-chip:has(input:focus-visible) { outline: 2px solid #881d41; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .pc .service-chip:hover { border-color: #881d41; }
}

/* Employee ranges: one clear choice, native radio and keyboard behavior. */
.employee-count { border: 0; padding: 0; margin: 0; min-width: 0; }
.employee-count legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: #3a3438; }
.employee-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.employee-option { position: relative; cursor: pointer; min-width: 0; touch-action: manipulation; }
.employee-option input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.employee-option-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; padding: 8px 6px; border: 1px solid #e5dce0; border-radius: 12px; background: #fff; color: #40343c; }
.employee-option-number { font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.employee-option-caption { display: none; }
.employee-option-check { display: none; }
.employee-option input:checked + .employee-option-card { border-color: #881d41; background: #fbf3f6; box-shadow: inset 0 0 0 1px #881d41; color: #881d41; }
.employee-option input:checked + .employee-option-card .employee-option-check { display: none; }
.employee-option input:focus-visible + .employee-option-card { outline: 2px solid #881d41; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .employee-option:hover .employee-option-card { border-color: #b68597; } }

@media (max-width: 480px) { .employee-options { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.contact-time-options legend { margin-bottom: 4px; }
.contact-time-options .contact-time-note { margin: 0 0 12px; }
.contact-time-value { font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; }
