/* Think4Digital — site styles
   Values taken from the live WordPress site (computed styles):
   headings Bai Jamjuree 600 #192A3D, script accents Courgette #B4183D,
   body Poppins 300 15px #3A4F66, page #E0DFDF, footer #111821,
   buttons radial-gradient(#FF587F, #B4183D), Get Started #FF594B. */

:root {
  --crimson: #B4183D;
  --pink: #FF587F;
  --coral: #FF594B;
  --navy: #192A3D;
  --text: #3A4F66;
  --page: #E0DFDF;
  --footer: #111821;
  --white: #FFFFFF;
  --gold: #FFBC7D;
  --hero-red: #C9244F;
  --btn: radial-gradient(circle, #FF587F 0%, #B4183D 100%);
  --card-red: linear-gradient(135deg, #D40000 0%, #050505 100%);

  --f-head: "Bai Jamjuree", "Segoe UI", system-ui, sans-serif;
  --f-body: "Poppins", "Segoe UI", system-ui, sans-serif;
  --f-script: "Courgette", "Brush Script MT", cursive;
  --f-anton: "Anton", Impact, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "DM Mono", ui-monospace, Consolas, monospace;
  --f-cond: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --f-foot: "Roboto", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-weight: 300; font-size: 15px; line-height: 1.65; color: var(--text); background: var(--page); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--navy); font-weight: 600; margin: 0; line-height: 1.2; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: #000; color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sec { padding-block: 70px; }
.eyebrow { display: block; font-family: var(--f-head); font-weight: 600; font-size: 16px; line-height: 1; color: var(--navy); margin-bottom: 20px; }
.h2 { font-size: 45px; line-height: 54px; font-weight: 600; }
@media (max-width: 767px) { .h2 { font-size: 30px; line-height: 36px; } }
.script { font-family: var(--f-script); color: var(--crimson); font-weight: 400; font-size: 1.05em; }
.lead { font-size: 15px; color: var(--text); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.head { margin-bottom: 44px; }
.head .lead { margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; font-family: var(--f-body); font-weight: 400; font-size: 15px; color: #fff; background: var(--btn); box-shadow: 0 10px 24px -12px rgba(180, 24, 61, .8); transition: transform .25s var(--ease), filter .25s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-pill { background: var(--coral); border-radius: 50px; padding: 12px 26px; box-shadow: none; }

/* ============ Header ============ */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: calc(env(safe-area-inset-top, 0px) + 16px) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.nav { pointer-events: auto; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 22px 12px 34px; border-radius: 100px; transition: background .35s var(--ease), backdrop-filter .35s; }
.logo img { width: 110px; height: auto; }
.menu { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.menu a { position: relative; display: block; padding: 8px 16px; text-decoration: none; font-family: var(--f-head); font-size: 15px; font-weight: 400; color: #fff; }
.menu a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.site-header.scrolled .nav, .site-header.solid .nav { background: rgba(0, 0, 0, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 12px; width: 20px; height: 2px; background: currentColor; border-radius: 2px; content: ""; transition: transform .3s var(--ease); }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.menu .m-cta { display: none; }
@media (max-width: 900px) {
  .nav { padding: 10px 12px 10px 22px; }
  .nav-toggle { display: block; }
  .nav > .btn { display: none; }
  /* live (Elementor dropdown): a white full-width panel under the header pill, 40px rows, current page on dark grey */
  .nav { position: relative; }
  .nav-toggle { background: transparent; }
  .menu { position: absolute; top: 100%; left: 50%; width: 100vw; transform: translateX(-50%); flex-direction: column; gap: 0; background: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .menu a { padding: 10px 20px; font-family: var(--f-head); font-size: 15px; line-height: 20px; font-weight: 400; color: #33373D; }
  .menu a::after { display: none; }
  .menu a[aria-current="page"] { background: #3F444B; color: #fff; }
  .menu .m-cta { display: none; }
  .menu-open .menu { opacity: 1; visibility: visible; }
}

/* ============ Home hero (ported from the live site) ============ */
.home-hero { position: relative; z-index: 2; }
.hero-content-card { position: absolute; top: 40px; left: 0; height: 100vh; width: 100%; pointer-events: none; z-index: 100; --icon-width: 48px; --icon-height: 48px; }
.home-hero .card { position: absolute; display: inline-block; font-size: 17px; font-family: "DM Sans", sans-serif; }
.card-one { top: 30%; left: 15%; font-weight: 700; }
.card-two { top: 50%; left: 5%; }
.card-three { top: 73%; left: 15%; }
.card-four { top: 25%; right: 17%; }
.card-five { top: 45%; right: 5%; }
.card-six { top: 65%; right: 15%; }
.home-hero .container { position: relative; border-radius: 10px; display: flex; align-items: center; }
.home-hero .icon { width: var(--icon-width); height: var(--icon-height); background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,.2); position: relative; z-index: 2; flex-shrink: 0; transform: scale(0); }
.home-hero .icon img { width: 60%; aspect-ratio: 1; }
.home-hero .icon-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60%; aspect-ratio: 1; border-radius: 50%; background: #fff; z-index: -1; }
.home-hero .text-bar { background: rgba(255,255,255,.12); backdrop-filter: blur(20px) saturate(130%); -webkit-backdrop-filter: blur(20px) saturate(130%); height: var(--icon-height); border-radius: 10px 0 0 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; font-weight: 600; font-family: "DM Sans", sans-serif; text-shadow: 0 1px 2px rgba(0,0,0,.2); clip-path: inset(0 0 0 100%); z-index: 1; position: relative; padding: 12px 20px; white-space: nowrap; min-width: 100px; transform: scale(0); }
@media (max-width: 767px) {
  .hero-content-card { --icon-width: 40px; --icon-height: 40px; }
  .card-one { top: 27%; left: 3%; }
  .card-five { top: 28% !important; right: 5%; }
  .card-two { top: 13%; left: 5%; }
  .card-four { top: 20%; left: 35%; }
  .card-three, .card-six { opacity: 0; }
}

.hero-section { min-height: calc(100vh + 20px); padding: 10px; display: flex; align-items: flex-end; justify-content: center; position: relative; background: radial-gradient(at center center, #FF587F 0%, #B4183D 72%); }
.hero-inner { width: 100%; max-width: 1140px; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 250px 10px 10px; position: relative; z-index: 3; }
.growth { font-family: var(--f-anton); font-weight: 700; font-size: 300px; line-height: 1; color: #fff; text-transform: uppercase; text-align: center; margin: 0 0 -300px; user-select: none; }
.rocket-widget { position: relative; z-index: 2; margin-top: -200px; text-align: center; transform-origin: center center; animation: kenBurns 10s ease-in-out infinite alternate; }
.rocket { display: inline-block; width: 70%; height: auto; max-width: 100%; vertical-align: middle; }
@keyframes kenBurns { 0% { transform: scale(1); } 100% { transform: scale(1.2); } }
@media (max-width: 1024px) { .growth { font-size: 200px; } .rocket-widget { margin-top: 0; } }
@media (max-width: 767px) {
  .growth { font-size: 95px; order: 3; margin: 0; }
  .rocket-widget { margin-top: 0; }
  .rocket { width: 100%; }
  /* live header height scales with width on phones (~20.86vw - 72px); hero starts 20px above its bottom */
  .home-hero { margin-top: calc(20.86vw - 92px); }
  .hero-content-card { top: 38px; }
  .down-arrow { margin-bottom: 40px; }
  .promo-heading-wrapper { gap: 25px; }
  .promo-tag { line-height: 1; }
}

.promo-section { position: relative; margin-top: 20px; padding: 10px 0 30px; text-align: center; overflow-x: clip; }
.down-arrow { display: block; width: 50px; margin: 0 auto 20px; padding: 123px 0 124px; box-sizing: content-box; color: #ea4d68; }
.down-arrow svg { width: 50px; height: 50px; fill: currentColor; display: block; }
.promo-heading-wrapper { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 0 20px; }
.promo-tag { font-family: var(--f-head); font-weight: 600; font-size: 16px; color: var(--navy); }
.promo-h1 { font-family: var(--f-head); font-weight: 600; font-size: 45px; line-height: 1.2; color: var(--navy); }
.promo-h1 .script { font-size: 48px; font-weight: 600; }
.promo-p { margin: 20px 0; padding: 0 150px; max-width: 1140px; font-size: 15px; font-weight: 300; }
.btn-secondary-link { text-decoration: none; display: inline-block; }
.btn-secondary { display: flex; gap: 1rem; justify-content: center; align-items: center; padding: 12px; color: #fff; position: relative; z-index: 0; }
.btn-secondary-bg { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; border-radius: 10px; background-image: radial-gradient(circle at center, #FF587F 0%, #F04A6F 20%, #B4183D 100%); }
.btn-sec-inner { display: flex; justify-content: center; align-items: center; gap: 1rem; }
.btn-sec-inner p { margin: 0; transform: translateX(150%); font-size: 15px; font-weight: 400; white-space: nowrap; }
.btn-sec-icon { width: 2rem; aspect-ratio: 1; border-radius: 6px; background: #fff; display: flex; justify-content: center; align-items: center; }
.btn-sec-icon img { width: 60%; }
.no-gsap .btn-sec-inner p { transform: none; }
.no-gsap .home-hero .icon, .no-gsap .home-hero .text-bar { transform: none; clip-path: none; }
@media (max-width: 767px) { .promo-h1, .promo-h1 .script { font-size: 30px; } .promo-p { padding: 0; font-size: 12px; } .promo-tag { font-size: 12px; } }

.marquee-container { position: relative; width: 100%; height: 90vh; overflow-x: hidden; margin: 8px 0 -53px; }
.animation-clip { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100vw, 2500px); height: 100%; overflow: hidden; pointer-events: none; background: var(--page); }
.image-item { position: absolute; width: 16vw; aspect-ratio: 1 / 2; border-radius: 32px; box-shadow: 0 4px 15px rgba(0,0,0,.3); opacity: 0; transition: transform .3s ease; }
.image-item img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.iphone-frame { position: absolute; border-radius: 2.5vw; aspect-ratio: 1 / 2; width: 16.5vw; z-index: 10; display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); }
.iphone-frame img { width: 100%; height: auto; display: block; }
.left-cloud, .right-cloud { position: absolute; top: 0; width: 15%; height: 100%; filter: blur(5px); z-index: 100; }
.left-cloud { left: 0; background: linear-gradient(to right, var(--page) 0%, var(--page) 5%, transparent 100%); }
.right-cloud { right: 0; background: linear-gradient(to left, var(--page) 0%, var(--page) 5%, transparent 100%); }
@media (max-width: 767px) {
  .image-item { width: 32.5vw; border-radius: 24px; }
  .image-item img { border-radius: 24px; }
  .iphone-frame { width: 33.5vw; }
}

/* Home services: paper cards stick at the same spot, alternately tilted */
.svc-split { display: grid; grid-template-columns: 500px 600px; gap: 80px; justify-content: space-between; align-items: start; position: relative; z-index: 3; }
.svc-split.wrap { max-width: none; padding: 180px 130px; }
#services { padding: 30px 0; }
.sticky-col { position: sticky; top: 100px; }
.sticky-col .h2 { margin-bottom: 20px; }
.sticky-col .btn { margin-top: 26px; }
.stack { display: grid; gap: 20px; justify-items: center; padding-top: 14px; }
.paper { position: sticky; top: 100px; width: 575px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; background: #fff; border: 1px solid #000; padding: 52px 40px; transform: rotate(var(--r)); }
.paper .num { width: 68px; height: 68px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-family: "Inter", sans-serif; font-weight: 600; font-size: 24px; line-height: 32px; }
.paper h3 { font-size: 32px; line-height: 40px; color: #000; margin: 0; padding-bottom: 38px; border-bottom: 1px solid #000; }
.paper p { font-size: 15px; font-weight: 300; }
@media (max-width: 1200px) { .svc-split { grid-template-columns: 1fr 1fr; gap: 50px; } .svc-split.wrap { padding: 180px 40px; } }
/* tablet: one column, desktop-size paper cards centred (live) */
@media (max-width: 1024px) { .svc-split, .svc-split.wrap { grid-template-columns: minmax(0, 1fr); gap: 80px; padding: 180px 50px; } .sticky-col { position: relative; top: 0; } .stack { justify-items: center; } }

/* ============ 4 Pillars: stacked cards that fly away on scroll ============ */
.mdw-stacked-card-area { position: relative; margin-top: 55px; }
.pillars-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: flex-start; }
.pillars-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.pillars-grid.wrap { max-width: none; padding: 10px 100px; }
.pillars-grid > div:first-child { padding: 14px 20px 10px; }
.pillars-grid .tagline { font-family: var(--f-head); font-weight: 600; font-style: italic; font-size: 15px; margin: 16px 0 12px; }
.pillars-grid .lead { font-style: italic; }
.pillars-grid .btn { margin-top: 26px; }
.mdw-stacked-cards { position: relative; min-height: 360px; display: flex; align-items: flex-start; justify-content: center; padding-top: 10px; }
.pcard { position: absolute; width: 350px; min-height: 350px; border-radius: 30px; padding: 35px; display: flex; flex-direction: column; justify-content: space-between; color: #000; transition: transform 1s, visibility 1s; }
.pcard b { display: block; font-family: var(--f-body); font-weight: 700; font-size: 20px; }
.pcard i { display: block; font-family: var(--f-body); font-weight: 500; font-size: 10px; margin-top: 10px; }
.pcard h3 { font-family: var(--f-body); font-weight: 700; font-size: 45px; line-height: 1.2; color: #000; }
.pcard p { font-family: var(--f-body); font-weight: 500; font-size: 10px; color: #030303; margin-top: 10px; }
.pcard.mdw-active-card { transform: translateY(-100vh) rotate(-60deg) !important; visibility: hidden; transform-origin: bottom left; }
@media (max-width: 767px) {
  .sticky-col .eyebrow, .pillars-grid .eyebrow { font-size: 12px; }
  .sticky-col .lead, .pillars-grid .lead { font-size: 9px; }
  .pillars-grid .tagline { font-size: 12px; }
  .sticky-col .btn, .pillars-grid .btn { font-size: 9px; padding: 12px; border-radius: 5px; }
}
/* tablet keeps two columns with 250px cards; phones stack them */
@media (max-width: 1024px) {
  .pillars-grid.wrap { padding: 10px 20px; }
  .pillars-grid > div:first-child { padding: 10px; }
  .mdw-stacked-cards { min-height: 320px; justify-content: center; }
  .pcard { width: 250px; min-height: 250px; padding: 25px; }
  .pcard h3 { font-size: 30px; }
}
@media (max-width: 767px) { .pillars-grid { grid-template-columns: 1fr; } }

/* Shared two-column layout used by Why / Journey / Testimonials (live: 120px side padding, 40px gap) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.wide-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 0 110px; }
.wide-split .h2 { font-size: 45px; line-height: 54px; }
.wide-split .h2 .script { font-size: 48px; font-weight: 600; }
.wide-split .lead { max-width: none; margin-top: 20px; }
@media (max-width: 1024px) { .wide-split { grid-template-columns: minmax(0, 1fr); padding: 0 30px; } .home-journey .video-box { order: 2; } .home-why { margin-top: 21px; } }
@media (max-width: 767px) { .wide-split .h2, .wide-split .h2 .script { font-size: 30px; line-height: 36px; } }
@media (max-width: 767px) { .wide-split .lead { font-size: 9px; } .wide-split .eyebrow { font-size: 12px; } }

/* Why Think4Digital: Glowing Edge Card (ported from the live plugin) */
.home-why { position: relative; z-index: 2; margin-top: -161px; padding: 55px 10px 65px; overflow-x: clip; }
.home-why .wide-split { align-items: center; }
.gec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 60px; padding: 0 20px; justify-items: center; }
.gec-cell { width: 100%; display: flex; justify-content: center; }
.gec-card {
  --gec-card-bg: linear-gradient(135deg, #D40000 0%, #050505 100%);
  --gec-blend: soft-light; --gec-glow-blend: plus-lighter;
  --gec-glow-boost: 12px; --gec-glow-blur: 35px; --gec-glow-opacity: 1; --gec-glow-sens: 30;
  --gec-tilt-perspective: 900px; --gec-tilt-speed: 220ms; --gec-tilt-glare-color: #fff; --gec-tilt-glare-opacity: .3;
  --gec-pads: 36px; --gec-color-sens: calc(var(--gec-glow-sens) + 20); --pointer-angle: 45deg; --pointer-d: 0;
  position: relative; width: 320px; max-width: 100%; min-height: 260px; border-radius: 28px; isolation: isolate;
  transform: perspective(var(--gec-tilt-perspective)) rotateX(0deg) rotateY(0deg) scale(1) translate3d(0,0,.01px);
  transform-style: preserve-3d; transition: transform var(--gec-tilt-speed) ease, box-shadow .2s ease;
  display: grid; overflow: visible; color: #fff; border: 1px solid rgb(255 255 255 / 18%); background: var(--gec-card-bg); box-shadow: 0 24px 80px rgb(0 0 0 / 20%);
}
.gec-card::before, .gec-card::after, .gec-card > .gec-glow, .gec-card > .gec-tilt-glare { content: ""; position: absolute; inset: 0; border-radius: inherit; transition: opacity .25s ease-out; z-index: -1; }
.gec-card:not(:hover):not(.animating)::before, .gec-card:not(:hover):not(.animating)::after, .gec-card:not(:hover):not(.animating) > .gec-glow { opacity: 0; transition: opacity .75s ease-in-out; }
.gec-card::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--gec-card-bg) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
    radial-gradient(at 80% 55%, color-mix(in srgb, var(--gec-glow-color), transparent 12%) 0, transparent 50%) border-box,
    radial-gradient(at 22% 28%, color-mix(in srgb, var(--gec-secondary-glow-color), transparent 10%) 0, transparent 52%) border-box,
    radial-gradient(at 82% 18%, rgb(255 255 255 / 70%) 0, transparent 42%) border-box,
    linear-gradient(var(--gec-glow-color) 0 100%) border-box;
  opacity: calc((var(--pointer-d) - var(--gec-color-sens)) / (100 - var(--gec-color-sens)));
  -webkit-mask-image: conic-gradient(from var(--pointer-angle) at center, black 25%, transparent 40%, transparent 60%, black 75%);
  mask-image: conic-gradient(from var(--pointer-angle) at center, black 25%, transparent 40%, transparent 60%, black 75%);
}
.gec-card::after {
  border: 1px solid transparent;
  background:
    radial-gradient(at 80% 55%, color-mix(in srgb, var(--gec-glow-color), transparent 8%) 0, transparent 50%) padding-box,
    radial-gradient(at 22% 28%, color-mix(in srgb, var(--gec-secondary-glow-color), transparent 8%) 0, transparent 52%) padding-box,
    radial-gradient(at 50% 10%, rgb(255 255 255 / 55%) 0, transparent 45%) padding-box,
    linear-gradient(var(--gec-glow-color) 0 100%) padding-box;
  -webkit-mask-image: linear-gradient(to bottom, black, black), radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%), radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%), radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%), conic-gradient(from var(--pointer-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
  mask-image: linear-gradient(to bottom, black, black), radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%), radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%), radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%), conic-gradient(from var(--pointer-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
  -webkit-mask-composite: source-out, source-over, source-over, source-over;
  mask-composite: subtract, add, add, add;
  opacity: calc((var(--pointer-d) - var(--gec-color-sens)) / (100 - var(--gec-color-sens)));
  mix-blend-mode: var(--gec-blend);
}
.gec-card > .gec-glow {
  --gec-outset: var(--gec-pads);
  inset: calc(0px - var(--gec-outset)); pointer-events: none; z-index: 1;
  -webkit-mask-image: conic-gradient(from var(--pointer-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
  mask-image: conic-gradient(from var(--pointer-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
  opacity: calc((var(--pointer-d) - var(--gec-glow-sens)) / (100 - var(--gec-glow-sens)));
  mix-blend-mode: var(--gec-glow-blend);
}
.gec-card > .gec-glow::before {
  content: ""; position: absolute; inset: var(--gec-outset); border-radius: inherit; opacity: var(--gec-glow-opacity);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--gec-glow-color), transparent 10%),
    inset 0 0 var(--gec-glow-blur) 0 color-mix(in srgb, var(--gec-glow-color), transparent 45%),
    inset 0 0 var(--gec-glow-blur) var(--gec-glow-boost) color-mix(in srgb, var(--gec-secondary-glow-color), transparent 60%),
    inset 0 0 var(--gec-glow-blur) var(--gec-glow-boost) color-mix(in srgb, var(--gec-glow-color), transparent 78%),
    0 0 var(--gec-glow-blur) 0 color-mix(in srgb, var(--gec-glow-color), transparent 40%),
    0 0 var(--gec-glow-blur) var(--gec-glow-boost) color-mix(in srgb, var(--gec-secondary-glow-color), transparent 58%),
    0 0 var(--gec-glow-blur) var(--gec-glow-boost) color-mix(in srgb, var(--gec-glow-color), transparent 78%);
}
.gec-card > .gec-tilt-glare { z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), color-mix(in srgb, var(--gec-tilt-glare-color), transparent 20%), transparent 48%); transition: opacity var(--gec-tilt-speed) ease; }
.gec-card:hover > .gec-tilt-glare { opacity: var(--gec-tilt-glare-opacity); }
.gec-card-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px; text-align: center; }
.gec-card-icon { display: inline-flex; width: 40px; height: 40px; margin-bottom: 24px; }
.gec-card-icon svg { width: 100%; height: 100%; fill: currentColor; }
.gec-card-title { font-family: var(--f-head); font-size: 15px; font-weight: 700; line-height: 1.12; color: inherit; margin: 0 0 14px; }
.gec-card-description { font-family: var(--f-body); font-size: 10px; font-weight: 300; line-height: 1.6; color: rgb(255 255 255 / 72%); margin: 0 0 28px; }
@media (max-width: 767px) {
  .home-why { padding-top: 40px; }
  .gec-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .gec-card { --gec-pads: 18px; width: 220px; min-height: 160px; border-radius: 22px; }
  .gec-card-inner { padding: 20px 14px; }
  .gec-card-icon { width: 20px; height: 20px; margin-bottom: 12px; }
  .gec-card-title { font-size: 10px; }
  .gec-card-description { font-size: 7px; margin-bottom: 0; }
}

/* From clicks to customers */
.home-journey { position: relative; z-index: 2; padding: 105px 10px 45px; }
.video-box { background: #000; border-radius: 15px; overflow: hidden; }
.video-box video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* Testimonials: one card at a time, slides every 3s and loops (live: Xpro testimonial slider) */
.home-testimonials { position: relative; z-index: 2; padding: 105px 10px 45px; }
.t-slider { min-width: 0; }
.t-viewport { overflow: hidden; padding: 22px; }
.t-track { display: flex; gap: 22px; align-items: flex-start; transition: transform .6s ease; cursor: grab; touch-action: pan-y; }
.t-track.dragging { transition: none; cursor: grabbing; }
.t-slide { flex: 0 0 100%; margin: 0; min-width: 0; }
.t-card { background: #fff; border-radius: 10px; padding: 30px; box-shadow: 0 3px 40px rgba(36,36,36,.1); }
.t-quote { display: block; width: 25px; height: 26px; color: var(--text); }
.t-quote svg { width: 100%; height: 100%; }
.t-card blockquote { margin: 15px 0 23px; font-family: var(--f-body); font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--text); }
.t-stars { display: flex; gap: 3px; }
.t-stars i { width: 12px; height: 13px; background: #E6E6E6; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.t-stars i.on { background: #FFBF36; }
.t-card h3 { font-family: var(--f-head); font-size: 20px; font-weight: 600; line-height: 24px; color: #2B2B2B; margin-top: 30px; }
.t-card h4 { font-family: var(--f-body); font-size: 15px; font-weight: 500; line-height: 18px; color: #969696; margin-top: 10px; padding-bottom: 15px; }
@media (max-width: 767px) { .t-card { border-radius: 15px; text-align: center; } .t-stars { justify-content: center; } .t-quote { width: 20px; height: 20px; margin: 0 auto; } .t-card blockquote { font-size: 9px; } .t-card h3 { font-size: 15px; } .t-card h4 { font-size: 10px; } }

/* Big CTA band: fixed background under a 30% crimson tint, rounded bottom, shadow over the footer */
.cta-band { position: relative; z-index: 2; isolation: isolate; min-height: 660px; display: flex; flex-direction: column; justify-content: center; padding: 100px 0; color: #fff; border-radius: 0 0 30px 30px; box-shadow: 0 15px 15px rgba(0,0,0,.5); background: #3a0d24 url("/assets/img/cta-bg.webp") center / cover no-repeat; }
.home-testimonials + .cta-band { margin-top: 70px; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #B4183D; opacity: .3; }
@media (min-width: 1025px) { .cta-band { background-attachment: fixed; } }
.cta-band .wrap { max-width: none; width: 100%; padding: 0 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-band h2 { color: #fff; font-size: 80px; line-height: 1; font-weight: 700; max-width: 9ch; }
.cta-band h3 { color: #fff; font-size: 25px; line-height: 1; font-weight: 700; }
.cta-band p { color: #fff; font-weight: 400; font-size: 15px; max-width: 870px; }
.cta-band .btn { padding: 15px; }
@media (max-width: 1024px) { .cta-band .wrap { padding: 0 30px; } }
@media (max-width: 1024px) { .cta-band { min-height: 709px; } }
@media (max-width: 767px) { .cta-band { min-height: 0; padding: 70px 0; } .cta-band .wrap { padding: 0 20px; } .cta-band h2 { font-size: 40px; } .cta-band h3 { font-size: 18px; } }

/* Footer: tucks 30px under the CTA so the CTA's rounded corners and shadow sit on it */
.site-footer { position: relative; z-index: 0; background: var(--footer); margin-top: -30px; padding: 99px 15px 21px; font-family: var(--f-foot); font-size: 14px; color: #A0A0A0; }
.site-footer > .wrap { max-width: 1180px; padding: 0; }
.f-grid { display: grid; grid-template-columns: 325px 295px 295px 1fr; }
.f-logo { width: 215px; height: auto; border-radius: 15px; background: none; padding: 0; }
.f-brand p { font-family: var(--f-body); font-size: 13px; font-weight: 400; line-height: 26px; color: #D7D7D7; margin-top: 24px; max-width: 254px; }
.f-social { display: flex; gap: 16px; margin-top: 18px; }
.f-social a { color: #fff; }
.f-social svg { width: 16px; height: 16px; }
.site-footer h3 { font-family: var(--f-head); color: #fff; font-size: 20px; line-height: 29px; font-weight: 700; margin-bottom: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-links a { text-decoration: none; line-height: 24px; display: inline-flex; gap: 12px; align-items: center; transition: color .2s; }
.f-links a::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.f-links a:hover { color: #fff; }
.f-contact li { display: grid; grid-template-columns: 27px 1fr; color: #D7D7D7; line-height: 18px; margin-bottom: 11px; }
.f-contact svg { width: 15px; height: 15px; margin-top: 2px; }
.f-contact a { text-decoration: none; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 77px; padding-top: 30px; color: #ADADAD; line-height: 26px; }
.f-bottom b { color: var(--crimson); font-weight: 600; }
.f-bottom nav { display: flex; gap: 30px; color: #C7C7C7; }
.f-bottom a { text-decoration: none; }
@media (max-width: 1200px) { .f-grid { grid-template-columns: 1.15fr 1fr 1fr 1.3fr; gap: 30px; } }
@media (max-width: 960px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } .site-footer { padding-inline: 20px; } }

/* ============ Inner page hero (image + crimson overlay) ============ */
.page-hero { min-height: 800px; min-height: min(800px, 100svh); display: flex; align-items: center; color: #fff; padding-block: 140px 80px;
  background: linear-gradient(rgba(201, 36, 79, .78), rgba(201, 36, 79, .78)), var(--img) center / cover no-repeat; }
.page-hero .eyebrow { color: #fff; text-transform: uppercase; font-size: 15px; font-weight: 700; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4vw, 50px); font-weight: 700; max-width: 640px; line-height: 1.2; }
.page-hero p { color: #fff; font-weight: 400; margin: 18px 0 26px; max-width: 900px; }
.page-hero .btn { background: var(--btn); }
.page-hero.soft { background: linear-gradient(rgba(214, 138, 156, .96) 0%, rgba(214, 138, 156, .9) 62%, rgba(180, 24, 61, .35) 100%), var(--img) center / cover no-repeat; }

/* About: story */
.story { display: grid; grid-template-columns: 360px 1fr; gap: 70px; align-items: center; }
.story img { border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); height: auto; }
.story .lead { margin-top: 14px; display: grid; gap: 14px; max-width: none; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story img { max-width: 320px; margin-inline: auto; } }

/* About: mission / vision / values over the geometric crimson wall */
.wall { background: linear-gradient(rgba(201, 36, 79, .82), rgba(201, 36, 79, .82)), url("/assets/img/voronoi.webp") center / cover; padding-block: 70px 90px; }
.mvv { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); gap: 32px; justify-content: center; align-items: start; }
.mvv article { background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); }
.mvv img { border-radius: 10px; aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.mvv .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); text-align: center; }
.mvv .more > div { overflow: hidden; }
.mvv h3 { font-size: 20px; margin-top: 18px; }
.mvv p { font-size: 12px; margin: 10px 8px 14px; }
.mvv article:hover .more, .mvv article:focus-within .more { grid-template-rows: 1fr; }
@media (hover: none), (max-width: 900px) { .mvv .more { grid-template-rows: 1fr; } }
@media (max-width: 900px) { .mvv { grid-template-columns: minmax(0, 420px); } }

/* About: values table */
.values { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid #8E8E8E; }
.values div { padding: 28px 18px 30px; border-right: 1px solid #8E8E8E; display: grid; gap: 10px; align-content: start; }
.values div:last-child { border-right: 0; }
.values h3 { font-size: 16px; }
.values p { font-size: 12px; }
.circ { width: 40px; height: 40px; border-radius: 50%; background: var(--crimson); color: #fff; display: grid; place-items: center; }
.circ svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(3, 1fr); } .values div:nth-child(3n) { border-right: 0; } .values div:nth-child(-n+3) { border-bottom: 1px solid #8E8E8E; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr 1fr; } .values div { border-right: 1px solid #8E8E8E !important; border-bottom: 1px solid #8E8E8E; } .values div:nth-child(2n) { border-right: 0 !important; } }

/* About: certifications */
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: 22px; justify-content: center; }
.cert { border: 1.5px solid var(--crimson); border-radius: 20px; padding: 30px 26px 24px; display: grid; justify-items: center; text-align: center; gap: 6px; transition: transform .4s var(--ease), box-shadow .4s; }
.cert:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(180,24,61,.6); }
.cert .logo-i { height: 56px; width: auto; margin-bottom: 8px; }
.cert b { font-family: var(--f-head); font-weight: 600; font-size: 16px; color: var(--navy); }
.cert h3 { font-size: 26px; line-height: 1.15; }
.cert p { font-size: 12px; margin-top: 8px; max-width: 240px; }
.cert .badge-v { width: 150px; margin-top: 12px; }
@media (max-width: 900px) { .certs { grid-template-columns: minmax(0, 420px); } }

/* About: clients marquee */
.clients { background: var(--crimson); padding-block: 60px 70px; overflow: hidden; }
.clients .eyebrow, .clients .h2, .clients .lead { color: #fff; }
.clients .h2 .script { color: var(--gold); }
/* client logos: six per view inside the content column, 25px apart, sliding non-stop (live: Elementor carousel, 2s per logo, linear) */
.logo-track { max-width: 1147px; margin: 20px auto 0; overflow: hidden; --per: 6; --gap: 25px; }
.logo-track + .logo-track { margin-top: 20px; }
.logo-row { display: flex; align-items: flex-start; width: max-content; height: 82px; animation: marq 28s linear infinite; }
.logo-row.rev { animation-direction: reverse; }
.logo-row img { flex: none; width: calc((min(1147px, 100vw - 40px) - (var(--per) - 1) * var(--gap)) / var(--per)); height: auto; margin-right: var(--gap); border: 1px solid #fff; border-radius: 10px; }
@media (max-width: 767px) { .logo-track { --per: 2; } }
@keyframes marq { to { transform: translateX(-50%); } }
.logo-track:hover .logo-row { animation-play-state: paused; }

/* About: leadership */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: 22px; justify-content: center; }
.member { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 3.9; background: #333; }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.member .over { position: absolute; inset: 0; background: rgba(0,0,0,.62); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 34px; color: #fff; opacity: 0; transition: opacity .4s; }
.member .over::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 12px; }
.member h3 { color: #fff; font-size: 22px; font-weight: 700; }
.member .role { font-size: 14px; margin: 4px 0 12px; font-weight: 500; }
.member p { font-size: 12px; font-weight: 400; }
.member:hover .over, .member:focus-within .over { opacity: 1; }
.member:hover img { transform: scale(1.05); }
.member .name-tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-family: var(--f-head); font-weight: 700; transition: opacity .3s; }
.member:hover .name-tag { opacity: 0; }
@media (hover: none) { .member .over { opacity: 1; background: rgba(0,0,0,.55); } .member .name-tag { display: none; } }
@media (max-width: 900px) { .team { grid-template-columns: minmax(0, 400px); } }

/* Bordered stat / feature cards (About impact, Services why-us) */
.b-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.b-card { border: 1.5px solid var(--crimson); border-radius: 16px; padding: 26px 20px 30px; display: grid; justify-items: center; text-align: center; gap: 8px; align-content: start; transition: transform .4s var(--ease); }
.b-card:hover { transform: translateY(-6px); }
.b-card .big { font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); color: var(--navy); line-height: 1.1; margin-top: 8px; }
.b-card h3 { font-size: 15px; }
.b-card h3.lg { font-size: 20px; margin-top: 8px; }
.b-card p { font-size: 12px; }
@media (max-width: 960px) { .b-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .b-cards { grid-template-columns: 1fr; } }

/* Services: colourful stacking cards */
.stack2 { display: grid; gap: 60px; padding-bottom: 60px; }
.scard { position: sticky; top: 120px; transform-origin: 50% 0; transition: transform .2s linear; }
.scard-in { background: var(--c); border-radius: 20px; padding: 34px 30px; min-height: 380px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; box-shadow: 0 30px 50px -30px rgba(0,0,0,.45); }
.scard .ic { width: 36px; height: 36px; border-radius: 50%; background: #1d1d1d; color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.scard .ic svg { width: 18px; height: 18px; }
.scard h3 { font-size: 25px; color: #000; line-height: 1.2; }
.scard p { font-size: 13px; color: #1d1d1d; font-weight: 400; margin-top: 12px; }
.scard img { width: 100%; height: 240px; object-fit: contain; }
@media (max-width: 600px) { .scard-in { grid-template-columns: 1fr; min-height: 0; } .scard img { height: 170px; } }

/* Services: red step cards (live: Element Pack step flow - gradient card, coloured step pill, tilted icon ring, dotted arrow to the next card, a red wave that redraws itself) */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; min-height: 375px; padding: 40px 20px 20px; border-radius: 15px; background: linear-gradient(135deg, #D40000 0%, #050505 100%); box-shadow: 0 0 10px rgba(0, 0, 0, .5); color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; }
.step .pill { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 1; background: #fff; font-family: var(--f-body); font-weight: 600; font-size: 11px; line-height: 1; border-radius: 500px; padding: 7px 12px 8px; box-shadow: 0 1px 3px -1px #818A91; white-space: nowrap; }
.step .ring { width: 128px; height: 128px; margin: 6px 0 20px; border-radius: 50%; display: grid; place-items: center; transform: rotate(11deg); box-shadow: 6px 8px 10px rgba(226, 226, 226, .5); }
.step .ring svg { width: 48px; height: 48px; fill: #fff; }
.step h3 { color: #fff; font-family: var(--f-head); font-size: 20px; line-height: 30px; font-weight: 700; }
.step p { color: #fff; font-family: var(--f-body); font-size: 15px; line-height: 24.75px; font-weight: 400; margin-top: 16px; }
.step { padding: 40px 35px 4px; }
.step .pill { transition: color .3s; }
.step .pill:hover { color: #000 !important; }
/* hand-drawn red wave: draws left to right in 0.8s, holds ~5s, redraws (live: rough-notation soft-wave, 800ms, 5000ms loop) */
.step .wave { width: calc(100% + 40px); flex: none; height: 22px; margin-top: 33px; overflow: visible; }
.step .wave path { fill: none; stroke: #f23427; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 0; }
.js .step .wave path { stroke-dashoffset: 400; }
.js .step.in .wave path { animation: waveDraw 5.8s ease-out infinite; }
@keyframes waveDraw { 0% { stroke-dashoffset: 400; } 13.8%, 100% { stroke-dashoffset: 0; } }
/* dotted arrow to the next card: draws in once (2s), then slides 30px right and back every 1.5s (live: Element Pack step-4 direction svg) */
.step .arrow { position: absolute; left: 182px; top: 72px; width: 100px; height: 30px; z-index: 2; overflow: visible; fill: none; stroke: #fff; stroke-linecap: round; stroke-miterlimit: 10; stroke-dasharray: 93px; animation: arrowBob 1.5s ease infinite; }
.js .step .arrow { stroke-dashoffset: 93px; }
.js .step.in .arrow { animation: arrowDraw 2s ease-out forwards, arrowBob 1.5s ease infinite; }
@keyframes arrowDraw { from { stroke-dashoffset: 93px; } to { stroke-dashoffset: 0; } }
@keyframes arrowBob { 50% { transform: translateX(30px); } }
@media (prefers-reduced-motion: reduce) { .step .arrow, .js .step.in .arrow { animation: none; stroke-dashoffset: 0; } .js .step.in .wave path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 1024px) { .steps { grid-template-columns: 1fr 1fr; } .step .arrow { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ============ Forms (contact + job applications) ============ */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 15px; font-weight: 400; color: var(--text); }
.field label .req { color: #d00; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 14px; border: 1px solid #b9b9b9; border-radius: 3px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 400; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(180,24,61,.12); }
.field textarea { min-height: 110px; resize: vertical; }
.field .err { color: #c0132f; font-size: 12px; min-height: 0; }
.submit { width: 100%; border: 0; border-radius: 3px; background: var(--crimson); color: #fff; font-weight: 500; font-size: 15px; padding: 11px; cursor: pointer; transition: background .2s; }
.submit:hover { background: #9c1233; }
.submit[disabled] { opacity: .6; pointer-events: none; }
.form-status { margin-top: 12px; font-weight: 500; font-size: 14px; }
.form-status.ok { color: #13834f; }
.form-status.bad { color: #c0132f; }
.hp { position: absolute; left: -9999px; }

/* ============ Contact (ported from the live page) ============ */
.contact-page { --grad: radial-gradient(at center center, #FF587F 0%, #B4183D 72%); }
.c-band { height: 182px; background: #B4183D; }

/* Scroll effect: 200vh wrapper; tags and the bottom block stay fixed while it scrolls */
.se { position: relative; min-height: 200vh; overflow: hidden; background: var(--grad); }
.se-top { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; padding: 10px; text-align: center; background: url("/assets/img/hero-contact.webp") center / cover no-repeat; }
.se-top h1 { font-family: var(--f-serif); font-weight: 500; font-size: 70px; line-height: 1; color: #fff; max-width: 650px; }
.se-top p { font-family: var(--f-body); font-weight: 400; font-size: 20px; color: #fff; max-width: 600px; }
.se-cards, .se-bottom { position: absolute; top: 0; left: 0; width: 100%; min-height: 100vh; }
.se-cards { z-index: 10; pointer-events: none; }
.se .sticky { position: fixed; top: 0; }
.se .sticky-end { position: absolute; bottom: 0; top: auto !important; }
.se-card { position: absolute; top: var(--top); left: var(--left); max-width: 220px; padding: 15px 20px; display: flex; align-items: center; justify-content: center; will-change: transform; transform: translate(calc(var(--tx, 0px) - 50%), calc(var(--ty, 0px) - 50%)); }
.se-card-bg { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); border: 1px solid #fff; border-radius: 5px; background: var(--grad); }
.se-label { position: relative; font-family: var(--f-mono); font-size: 16px; font-weight: 400; color: #fff; white-space: nowrap; text-align: center; }
@media (max-width: 1024px) {
  .se-creative { --left: calc(50% - 300px) !important; --top: calc(50% + 120px) !important; }
  .se-trusted { --left: calc(50% + 300px) !important; }
}
.se-bottom { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; text-align: center; opacity: 0; }
.se-bottom.se-show { opacity: 1; }
.se-bottom h2 { font-family: var(--f-serif); font-weight: 400; font-size: 75px; line-height: 1; color: #fff; max-width: 650px; will-change: transform, opacity; transform: translateY(-100px); opacity: 0; }
.se-bottom p { font-family: var(--f-mono); font-size: 16px; word-spacing: -.1em; color: #F2F2F2; max-width: 520px; margin-bottom: 20px; will-change: transform, opacity; transform: translateY(-100px); opacity: 0; }
.se-button { position: relative; display: flex; align-items: center; justify-content: center; }
.se-btn { position: relative; z-index: 1; display: inline-block; font-family: var(--f-serif); font-size: 30px; line-height: 1; color: #fff; text-decoration: none; background: var(--grad); border: 2px solid #fff; border-radius: 50px; padding: 20px 80px; }
.se-btn.se-transparent { background: transparent; border-color: transparent; }
.se-btn-text { display: inline-block; }
.se-button-inner { position: absolute; border-radius: 50px; opacity: 0; pointer-events: none; }
/* Phones (and reduced motion): no scroll effect, tags shown as a row of chips */
.se-static { min-height: 0; padding: 60px 20px; }
.se-static .se-top { min-height: 0; }
.se-static .se-cards, .se-static .se-bottom { position: relative; min-height: 0; opacity: 1; }
.se-static .se-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 10px 30px; }
.se-static .se-card { position: relative; top: auto; left: auto; transform: none; padding: 10px 12px; }
.se-static .se-label { font-size: 13px; }
.se-static .se-bottom h2, .se-static .se-bottom p { transform: none; opacity: 1; }
@media (max-width: 767px) {
  .se-top h1, .se-bottom h2 { font-size: 40px; }
  .se-bottom p { margin-bottom: 5px; }
  .se-btn { font-size: 21px; padding: 15px 45px; }
  .c-band { height: 188px; }
  .se-top p { font-size: 17px; }
}

/* Form + office over the geometric wall (fixed background on desktop) */
.c-form-sec { position: relative; z-index: 2; background: url("/assets/img/voronoi.webp") center / cover no-repeat; padding: 85px 10px; }
.c-form-sec::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .5; }
@media (min-width: 1025px) { .c-form-sec { background-attachment: fixed; } }
.c-form-grid { position: relative; max-width: 1140px; margin: 0 auto; padding: 10px 160px; display: flex; gap: 20px; }
.c-form-grid > * { min-width: 0; padding: 50px 20px; }
.c-form-grid > .form-card { flex: 0 0 40%; }
.c-form-grid > .office-wrap { flex: 1; }
.form-card { background: #fff; border: 1px solid #000; border-radius: 20px; padding: 30px !important; }
.office-wrap { display: flex; flex-direction: column; justify-content: center; }
.office-frame { background: #fff; border-radius: 20px; padding: 10px; }
.office { background: #fff; border: 1px solid var(--crimson); border-radius: 20px; padding: 20px; display: grid; gap: 11px; }
.office-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--crimson); color: #fff; display: grid; place-items: center; }
.office-ic svg { width: 24px; height: 32px; }
.office h3 { font-family: var(--f-head); font-weight: 500; font-size: 20px; color: var(--navy); line-height: 1.5; }
@media (max-width: 1024px) { .c-form-grid { padding: 10px 40px; } }
@media (max-width: 767px) { .c-form-sec { padding: 40px 16px; } .c-form-grid { flex-direction: column; padding: 0; } .c-form-grid > *, .c-form-grid > .form-card { padding: 10px 0; flex: auto; } .form-card { padding: 20px; } .office h3 { font-size: 15px; } .office-ic { width: 39px; height: 39px; } }

/* Big social links with the stagger hover, and the eyes */
.c-social { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--grad); padding: 10px; overflow: hidden; }
.stagger-menu { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; }
.stagger-menu li + li { margin-top: 30px; }
.stagger-menu a { display: flex; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.sm-text { position: relative; display: flex; justify-content: center; font-family: var(--f-cond); font-weight: 800; font-size: 155px; line-height: .8; color: #fff; }
.sm-text::after { content: ""; position: absolute; inset: 0; background: #000; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(1, 0, .5, 1); }
.stagger-menu a:hover .sm-text::after, .stagger-menu a:focus-visible .sm-text::after { transform: scaleX(1); transform-origin: left; }
.sm-text .word { overflow: hidden; display: flex; flex-direction: column; height: .8em; }
.sm-text .word-up, .sm-text .word-down { display: flex; }
.sm-text .letter { display: inline-block; transition: transform .4s ease var(--letter-delay); }
.stagger-menu a:hover .letter, .stagger-menu a:focus-visible .letter { transform: translateY(-100%); }
.eye-row { position: absolute; z-index: 10; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: center; gap: 20px; pointer-events: none; }
.eye { width: 160px; height: 160px; border-radius: 50%; background: #fff; border: 2.4px solid #000; overflow: hidden; }
.eye-in { width: 100%; height: 100%; display: flex; align-items: center; }
.pupil { width: 35px; height: 35px; border-radius: 50%; background: #000; flex: none; }
@media (max-width: 1024px) { .sm-text { font-size: 135px; } }
@media (max-width: 767px) { .c-social { min-height: 0; padding: 60px 0; } .sm-text { font-size: 75px; } .stagger-menu li + li { margin-top: 30px; } .eye-row { gap: 15px; } .eye { width: 100px; height: 100px; } .pupil { width: 30px; height: 30px; } }

/* FAQ */
.c-faq { position: relative; z-index: 2; background: var(--grad); border-radius: 0 0 30px 30px; box-shadow: 0 15px 15px rgba(0,0,0,.5); padding: 10px; margin-bottom: -30px; }
.c-faq-in { max-width: 1010px; margin: 0 auto; padding: 10px 10px 60px; }
.c-faq h2 { font-family: var(--f-head); font-size: 30px; font-weight: 600; color: #fff; margin-bottom: 20px; }
.faq { display: grid; gap: 10px; }
.faq details summary { list-style: none; cursor: pointer; background: #fff; border-radius: 10px; padding: 20px; font-family: var(--f-head); font-weight: 500; font-size: 18px; color: #000; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); transition: transform .3s; flex: none; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: #fff; font-weight: 400; padding: 20px 40px; border-radius: 20px; }
.contact-page + .site-footer { padding-top: 110px; }

/* ============ Careers ============ */
.jobs-sec { background: #FAFBFC; padding-block: 60px 90px; }
.job-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.job-filters .search { position: relative; flex: 0 1 240px; }
.job-filters input, .job-filters select { width: 100%; height: 46px; border: 1px solid #DDE3E8; border-radius: 3px; background: #fff; padding: 0 14px; font-size: 13px; color: var(--text); }
.job-filters select { flex: 0 1 170px; width: auto; min-width: 170px; }
.job-filters .search svg { position: absolute; right: 12px; top: 14px; width: 16px; height: 16px; color: #999; }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.job { background: #fff; border: 1px solid #DDE3E8; border-radius: 3px; padding: 22px 22px 18px; display: grid; gap: 4px; transition: box-shadow .3s, transform .3s var(--ease); }
.job:hover { box-shadow: 0 16px 40px -24px rgba(0,0,0,.35); transform: translateY(-3px); }
.job h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.job span { font-size: 13px; font-weight: 400; color: var(--text); }
.job a { color: var(--crimson); font-size: 13px; font-weight: 500; text-decoration: none; margin-top: 8px; }
.job a::after { content: " →"; }
.job a:hover { text-decoration: underline; }
.no-jobs { padding: 40px; text-align: center; background: #fff; border: 1px dashed #ccc; }
@media (max-width: 900px) { .job-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .job-grid { grid-template-columns: 1fr; } .job-filters select, .job-filters .search { flex: 1 1 100%; } }

.job-hero { padding: 150px 0 60px; background: linear-gradient(rgba(201,36,79,.85), rgba(201,36,79,.85)), url("/assets/img/hero-careers.webp") center / cover; color: #fff; }
.job-hero a.back { color: #fff; font-size: 14px; font-weight: 400; text-decoration: none; opacity: .9; }
.job-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin: 12px 0 16px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.job-tags span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 30px; padding: 4px 14px; font-size: 13px; font-weight: 400; }
.job-body { background: #FAFBFC; padding-block: 60px 90px; }
.job-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.prose { color: var(--text); font-weight: 400; font-size: 15px; min-width: 0; }
.prose h2 { font-size: 26px; margin: 34px 0 12px; }
.prose p { margin: 0 0 12px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; display: grid; gap: 6px; }
.prose strong { color: var(--navy); font-weight: 600; }
.job-side { position: sticky; top: 120px; background: #fff; border: 1px solid #DDE3E8; border-radius: 10px; padding: 24px; display: grid; gap: 12px; }
.job-side dl { margin: 0; display: grid; gap: 10px; }
.job-side dt { font-size: 12px; color: #8a96a3; font-weight: 400; }
.job-side dd { margin: 0; font-family: var(--f-head); font-weight: 600; color: var(--navy); }
.job-side .btn { justify-content: center; }
.apply { margin-top: 50px; background: #fff; border: 1px solid #DDE3E8; border-radius: 10px; padding: 30px; }
.apply h2 { margin-top: 0; }
.apply .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; margin: 6px 0 16px; }
.consent input { margin-top: 4px; }
.apply .hint { font-size: 12px; color: #8a96a3; }
@media (max-width: 900px) { .job-layout { grid-template-columns: 1fr; } .job-side { position: relative; top: 0; order: -1; } }
@media (max-width: 560px) { .apply .row { grid-template-columns: 1fr; } .apply { padding: 20px; } }

/* Legal pages */
.legal { padding-block: 60px 90px; }
.legal .wrap { max-width: 860px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Floating WhatsApp + back to top */
.fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: grid; gap: 12px; }
.fab a, .fab button { width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; box-shadow: 0 12px 26px -10px rgba(0,0,0,.45); transition: transform .25s var(--ease), opacity .3s; }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab .wa { background: #25D366; }
.fab .top { background: var(--crimson); opacity: 0; pointer-events: none; }
.fab .top.show { opacity: 1; pointer-events: auto; }
.fab svg { width: 24px; height: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============ Home on phones (measured from the live site at 390px) ============ */
@media (max-width: 767px) {
  /* services: intro column, then 7 paper cards 310px wide; row tucks under the phone strip like live */
  .home-page .svc-split.wrap { margin-top: -363px; padding: 180px 30px; gap: 80px; }
  .stack { gap: 20px; padding: 0 10px; justify-items: stretch; }
  .paper { width: 100%; min-height: 261px; padding: 20px 16px; gap: 10px; }
  .paper .num { width: 50px; height: 50px; font-size: 18px; line-height: 32px; }
  .paper h3 { font-size: 22px; line-height: 25px; padding-bottom: 12px; }
  .paper p { font-size: 9px; line-height: 1.65; }
  .sticky-col .eyebrow { font-size: 12px; }
  .sticky-col .lead { font-size: 9px; }

  /* 4 pillars: overlaps the end of services; text, then the card stack 40px below */
  .mdw-stacked-card-area { margin-top: -184px; }
  .pillars-grid.wrap { padding: 50px 20px; gap: 40px; }
  .pillars-grid > div:first-child { padding: 41px 10px 10px; }

  /* shared two-column sections become one column, 40px in from the edges */
  .wide-split { padding: 0 30px; gap: 40px; }
  .wide-split .eyebrow { font-size: 12px; }
  .wide-split .lead { font-size: 12px; line-height: 19.8px; }

  /* why: two glowing cards per row */
  .home-why { margin-top: -60px; padding: 40px 10px 24px; }
  .gec-grid { grid-template-columns: repeat(2, minmax(0, 152px)); justify-content: start; column-gap: 20px; row-gap: 20px; padding: 0; margin-left: -10px; }
  .gec-card { width: 100%; min-height: 189px; }

  /* journey: text first, then the video */
  .home-journey { padding: 110px 10px 40px; }
  .home-journey .video-box { order: 2; }
  .home-testimonials { padding: 110px 10px 40px; }
  .t-slider { padding: 0 10px; }

  /* banner */
  .home-testimonials + .cta-band { margin-top: 70px; }
  .cta-band { padding: 167px 0 114px; }
  .cta-band .wrap { padding: 0 30px; }
  .cta-band h2 { font-size: 50px; line-height: 50px; }
  .cta-band h3 { font-size: 15px; line-height: 15px; }
  .cta-band p { font-size: 12px; }
  .cta-band .btn { font-size: 9px; padding: 12px; border-radius: 5px; }

  /* footer: one column */
  .site-footer { padding: 60px 15px 21px; }
  .f-grid { grid-template-columns: 1fr; gap: 40px; }
  .f-logo { width: 143px; border-radius: 10px; }
  .f-brand p { margin-top: 24px; max-width: 280px; }
  .site-footer h3 { margin-bottom: 18px; }
  .f-links a { line-height: 20px; }
  .f-contact li { grid-template-columns: 27px 1fr; }
  .f-bottom { margin-top: 40px; flex-direction: column-reverse; }
}

/* tablet: why section follows the pillars area like live (placed last so it wins) */
@media (min-width: 768px) and (max-width: 1024px) { .home-why { margin-top: 21px; } }

/* ============ Inner pages on phones (measured from the live site at 390px) ============ */
@media (max-width: 767px) {
  .lead { font-size: 12px; line-height: 19.8px; }
  .eyebrow { font-size: 12px; }
  .center { text-align: left; }
  .center .lead { margin-inline: 0; }
  .head { margin-bottom: 30px; }
  .sec { padding: 45px 0; }

  /* image heroes: 500px, small type (live header tucks over the top like the home hero) */
  .page-hero { min-height: 500px; margin-top: calc(20.86vw - 103px); padding: 120px 0 60px; }
  .page-hero .wrap { padding-inline: 30px; }
  .page-hero .eyebrow { font-size: 9px; margin-bottom: 20px; }
  .page-hero h1 { font-size: 16px; line-height: 21px; }
  .page-hero p { font-size: 9px; line-height: 14.85px; margin: 20px 0; }
  .page-hero .btn { font-size: 9px; padding: 12px; border-radius: 5px; }
}
@media (max-width: 767px) {
  /* About: story photo 300x533 first, then text */
  .story img { width: 300px; max-width: 100%; }
  .story .lead p { font-size: 12px; }
  /* mission / vision / values: 280x260 picture cards with their text over the image */
  .wall { padding: 120px 0; }
  .mvv { grid-template-columns: 280px; gap: 50px; }
  .mvv article { position: relative; padding: 0; border-radius: 14px; overflow: hidden; }
  .mvv img { aspect-ratio: 280 / 260; border-radius: 14px; }
  .mvv .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 20px; background: rgba(0,0,0,.45); }
  .mvv h3 { color: #fff; font-size: 12px; margin: 0 0 6px; }
  .mvv p { color: #fff; font-size: 9px; line-height: 14.85px; margin: 0; }
  /* values: two columns */
  .values { grid-template-columns: 1fr 1fr; }
  .values div { padding: 20px 14px; }
  .values h3 { font-size: 12px; }
  .values p { font-size: 9px; line-height: 14.85px; font-weight: 300; }
  /* certifications */
  .certs { grid-template-columns: minmax(0, 290px); justify-content: center; }
  .cert { padding: 24px 20px; }
  .cert b { font-size: 12px; }
  .cert h3 { font-size: 15px; }
  .cert p { font-size: 8px; line-height: 13.2px; }
  .cert .logo-i { height: 41px; }
  .cert .badge-v { width: 124px; }
  .clients { padding: 60px 0 50px; }
  /* leadership: bios always visible */
  .member h3 { font-size: 20px; line-height: 30px; }
  .member .role, .member p { font-size: 12px; line-height: 19.8px; }
  /* impact: two columns, left aligned */
  .b-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .b-card { justify-items: start; text-align: left; padding: 16px 14px 18px; }
  .b-card .big { font-size: 15px; }
  .b-card h3 { font-size: 12px; }
  .b-card p { font-size: 9px; line-height: 14.85px; }
  .about-page .cta-band { padding: 60px 0; min-height: 0; }
  .about-page .cta-band p { font-size: 9px; }
}
@media (max-width: 767px) {
  /* About: section spacing measured on the live page (gap above, padding top / bottom) */
  .about-page > section:nth-of-type(2) { margin-top: 70px; padding: 30px 0 30px; }
  .about-page > section:nth-of-type(3) { margin-top: 70px; padding: 30px 0 82px !important; }
  .about-page > section:nth-of-type(4) { margin-top: 0; padding: 145px 0; }
  .about-page > section:nth-of-type(5) { margin-top: 100px; padding: 19px 0 112px; }
  .about-page > section:nth-of-type(6) { margin-top: 100px; padding: 25px 0 156px; }
  .about-page > section:nth-of-type(7) { margin-top: 100px; padding: 100px 0 91px; }
  .about-page > section:nth-of-type(8) { margin-top: 100px; padding: 22px 0 195px; }
  .about-page > section:nth-of-type(9) { margin-top: 0; padding: 11px 0 71px !important; }
  .about-page > section:nth-of-type(10) { margin-top: 100px; }
}

@media (max-width: 767px) {
  /* Services page on phones (measured from the live page at 390px) */
  .services-page .page-hero { padding: 40px 0 120px; }
  .services-page > section:nth-of-type(2) { margin-top: 70px; padding: 10px 0; }
  .services-page .svc-split.wrap { padding: 79px 30px 191px; gap: 60px; }
  .stack2 { gap: 245px; padding: 0 10px 0; }
  .scard { top: 100px; }
  .scard-in { grid-template-columns: 1fr; min-height: 357px; align-content: space-between; padding: 26px 24px 18px; gap: 12px; border-radius: 16px; }
  .scard .ic { width: 28px; height: 28px; margin-bottom: 12px; }
  .scard h3 { font-size: 15px; line-height: 18px; font-weight: 600; }
  .scard p { font-size: 9px; line-height: 12.78px; font-weight: 300; margin-top: 8px; }
  .scard img { width: 300px; max-width: 100%; height: 115px; margin: 0 auto; }
  .services-page > section:nth-of-type(3) { padding: 10px 0 76px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step { padding: 14px 10px 26px; gap: 6px; border-radius: 16px; }
  .step .pill { font-size: 8px; padding: 2px 8px; }
  .step .ring { width: 56px; height: 56px; }
  .step .ring svg { width: 24px; height: 24px; }
  .step h3 { font-size: 10px; line-height: 15px; }
  .step p { font-size: 7px; line-height: 11.55px; }
  .step { min-height: 0; padding-top: 34px; } .step .pill { top: 10px; } .step .ring { margin: 4px 0 10px; } .step p { margin-top: 6px; } .step .wave { width: 100%; margin-top: 12px; height: 20px; }
  .services-page > section:nth-of-type(4) { margin-top: 100px; padding: 30px 0 20px !important; }
  .b-card h3.lg { font-size: 12px; margin-top: 4px; }
  .services-page .b-card { min-height: 190px; }
  .services-page .cta-band { margin-top: 70px; padding: 100px 0; min-height: 536px; }
}

/* Careers: filters fold behind a button on phones (live) */
.filter-toggle { display: none; }
@media (max-width: 767px) {
  .jobs-sec { padding-top: 130px; }
  .jobs-sec .wrap { padding-inline: 30px; }
  .job-filters { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 10px; margin-bottom: 30px; }
  .job-filters .search { flex: none; }
  .job-filters select { display: none; grid-column: 1 / -1; width: 100%; min-width: 0; }
  .job-filters.open select { display: block; }
  .filter-toggle { display: grid; place-items: center; height: 46px; border: 1px solid #DDE3E8; border-radius: 3px; background: #fff; color: var(--navy); cursor: pointer; }
  .filter-toggle svg { width: 18px; height: 18px; }
  .job-grid { gap: 30px; }
  .job { padding: 20px 21px; }
  .job h3 { line-height: 27px; margin-bottom: 8px; }
}

/* About story image: three stacked copies; on hover the stack tilts and the copies fan out (live Elementor rules) */
.story-media { display: grid; justify-items: center; }
.story-stack { position: relative; z-index: 0; transition: .5s; }
.story .story-stack img { display: block; box-shadow: none; transition: .5s; }
/* on phones and tablets (no hover) the same tilt plays when the image reaches mid-screen (.open, set in main.js) */
.story .story-stack img + img { display: block; position: absolute; left: 3px; top: -1px; }
.story .story-stack img { width: 300px; max-width: none; border-radius: 30px; }
.story-stack img:nth-child(2) { opacity: .8; z-index: -1; }
.story-stack img:nth-child(3) { opacity: .4; z-index: -2; }
.story-stack:hover, .story-stack.open { transform: rotate(3deg) skew(-3deg); }
.story-stack:hover img:nth-child(1), .story-stack.open img:nth-child(1) { transform: translate(-30px, -30px); }
.story-stack:hover img:nth-child(3), .story-stack.open img:nth-child(3) { transform: translate(30px, 30px); }
.about-page .story { overflow-x: clip; }

/* About page on desktop: sizes and spacing measured from the live page at 1522px */
@media (min-width: 1025px) {
  .about-page .page-hero, .services-page .page-hero { min-height: 800px; padding: 0; background: linear-gradient(rgba(180, 24, 61, .5), rgba(180, 24, 61, .5)), var(--img) center / cover no-repeat; }
  .about-page .page-hero .wrap, .services-page .page-hero .wrap { max-width: none; width: 100%; padding-inline: 130px; }
  .about-page .page-hero h1, .services-page .page-hero h1 { max-width: none; }
  .services-page .page-hero p { max-width: none; margin: 20px 0 50px; }
  .services-page .page-hero .btn { margin-bottom: 15px; padding: 15px; border-radius: 8px; font-size: 15px; line-height: 15px; background: radial-gradient(#FF587F 0%, #B4183D 100%); }
  .about-page .cta-band, .services-page .cta-band { min-height: 536px; padding: 0; }
  .about-page .cta-band .btn, .services-page .cta-band .btn { line-height: 15px; }
  .services-page .cta-band { margin-top: 70px; }
  /* gap under the last service card down to "Our Services" heading: 285px like live */
  .services-page .svc-split.wrap { padding-bottom: 85px; }
  .services-page .stack2 { padding-bottom: 0; }
  .services-page > section:nth-of-type(3) { margin-top: 100px; padding: 30px 0 0; min-height: 643px; }
  .services-page > section:nth-of-type(4) { margin-top: 100px; padding: 30px 0 0 !important; min-height: 468px; }
  .services-page .head { margin-bottom: 0; }
  .services-page .head .h2 { padding-bottom: 14px; }
  .services-page .head .lead { margin-top: 20px; max-width: 1127px; }
  .services-page .steps, .services-page .b-cards { max-width: 1128px; margin: 59px auto 0; grid-template-columns: repeat(4, 267px); gap: 20px; justify-content: center; }
  .services-page > section:nth-of-type(4) .b-cards { margin-top: 60px; }
  .services-page .b-card { min-height: 244px; padding: 20px 40px; border: 1px solid #B4183D; border-radius: 15px; gap: 20px; }
  .services-page .b-card .circ { margin-top: 0; }
  .services-page .b-card .circ svg { width: 20px; height: 20px; }
  .services-page .b-card h3.lg { font-size: 20px; line-height: 20px; font-weight: 600; margin: 7px 0 0; }
  .services-page .b-card p { font-size: 15px; line-height: 24.75px; font-weight: 300; }
  .about-page .page-hero p { max-width: none; margin: 20px 0 15px; }

  .about-page .story { max-width: none; grid-template-columns: minmax(0, 704fr) minmax(0, 684fr); gap: 30px; padding: 0 49px 0 40px; }

  .about-page > section:nth-of-type(2) { margin-top: 70px; padding: 60px 0; }
  .about-page > section:nth-of-type(3) { margin-top: 100px; padding: 30px 0 0 !important; min-height: 280px; }
  .about-page > section:nth-of-type(4) { padding: 150px 0; }
  .about-page > section:nth-of-type(5) { margin-top: 100px; padding: 20px 0 0; min-height: 547px; }
  .about-page > section:nth-of-type(6) { margin-top: 100px; padding: 30px 0 0; min-height: 737px; }
  .about-page > section:nth-of-type(7) { margin-top: 100px; padding: 80px 0 50px; min-height: 528px; }
  .about-page > section:nth-of-type(8) { margin-top: 99px; padding: 30px 0 0; min-height: 1009px; }
  .about-page > section:nth-of-type(9) { margin-top: 0; padding: 20px 0 0 !important; min-height: 502px; }
  .about-page > section:nth-of-type(10) { margin-top: 100px; }
  .about-page .head .h2 { padding-bottom: 13px; }
  .about-page .head .lead { margin-top: 20px; max-width: 1127px; }
  .about-page .head { margin-bottom: 0; }
  .about-page .story .h2 { padding-bottom: 13px; }
  .about-page .story .lead { margin-top: 20px; gap: 22px; }
  .about-page .b-cards { grid-template-columns: repeat(4, 267px); gap: 20px; justify-content: center; }
  .about-page .b-card { border-width: .8px; border-radius: 15px; padding: 10px 30px; min-height: 227px; }

  /* Mission / Vision / Values: image sits 60px above a white card; hover grows the card and slides the text out */
  .mvv { max-width: none; padding-inline: 190px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
  .mvv article { height: 250px; padding: 25px; border-radius: 8px; box-shadow: none; display: flex; flex-direction: column; transition: height .4s ease-in-out; }
  .mvv img { position: relative; z-index: 1; height: 260px; aspect-ratio: auto; flex: none; margin: -60px 0 20px; border-radius: 15px; box-shadow: 0 0 10px rgba(0, 0, 0, .5); }
  .mvv .more { display: block; margin-top: -180px; transition: margin-top .23s ease-in-out .2s; }
  .mvv .more > div { overflow: visible; }
  .mvv h3 { font-size: 20px; line-height: 30px; font-weight: 700; margin: 0; }
  .mvv p { font-size: 12px; line-height: 19.8px; font-weight: 400; margin: 16px 0 0; }
  .mvv article:hover, .mvv article:focus-within { height: 430px; }
  .mvv article:hover .more, .mvv article:focus-within .more { margin-top: 20px; }

  .about-page .certs { grid-template-columns: repeat(3, 356px); gap: 20px; }
  .about-page .cert { min-height: 421px; padding: 40px 50px; border: 1.6px solid #f00; border-radius: 25px; gap: 14px; align-content: start; }
  .about-page .cert:nth-child(2) { border-color: #d7a100; }

  .about-page .team { grid-template-columns: repeat(3, 356px); gap: 20px; }
  .about-page .member { aspect-ratio: auto; height: 580px; border-radius: 15px; }

  .about-page .values { max-width: 1127px; margin: 76px auto 0; }
  .about-page .certs { margin-top: 96px; }
  .about-page .team { margin-top: 153px; }
  .about-page .head h3 { margin-top: 21px !important; }
  .about-page .b-cards { margin-top: 23px; }
}

/* Every page ends with a section that sits over the footer: rounded bottom corners and a soft shadow (live CTA style) */
:where(main > section:last-child) { background-color: var(--page); }
main > section:last-child { position: relative; z-index: 2; border-radius: 0 0 30px 30px; box-shadow: 0 15px 15px rgba(0, 0, 0, .5); }

/* Contact form + office card on desktop (live: two 554px columns, 434px white form card, office card framed in white) */
.contact-page .field { gap: 7px; margin-bottom: 9px; }
.contact-page .field label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 15px; line-height: 24.75px; color: #3A4F66; }
.contact-page .field input, .contact-page .field textarea { min-height: 47px; padding: 6px 16px; border: 1px solid #69727D; border-radius: 4px; color: #1F2124; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 16px; }
.contact-page .field textarea { height: 170px; }
.contact-page .field .err:empty, .contact-page .form-status:empty { display: none; }
.contact-page .submit { min-height: 40px; padding: 0 24px; border-radius: 3px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 15px; line-height: 15px; }
@media (min-width: 1025px) {
  .c-form-sec { padding: 20px 10px; }
  .c-form-grid { max-width: 1147px; padding: 10px; gap: 20px; }
  .c-form-grid > *, .c-form-grid > .form-card { flex: 1 1 0; padding: 0; }
  .c-form-grid > .form-card { flex: 0 0 434px; margin: 60px; padding: 30px !important; }
  .office-wrap { padding: 10px !important; }
  .office { padding: 10px; }
  .office-ic svg { width: 18px; height: 32px; }
  .office h3 { line-height: 30px; }
}

/* Contact page on phones (measured from the live page at 360 and 390px) */
@media (max-width: 767px) {
  .c-band { height: calc(82px + 20vw); }
  .se-top p { font-size: 20px; line-height: 33px; }
  .se-static .se-label { line-height: 13px; }
  .se-static { padding-bottom: 70px; }
  .se-static .se-cards { margin-top: 20px; }
  .se-static .se-bottom { padding: 30px 10px 0; }
  .se-bottom p { font-weight: 400; }
  .c-form-sec { padding: 10px; }
  .c-form-grid { gap: 20px; }
  .c-form-grid > .form-card { margin: 0; padding: 30px !important; }
  .c-form-grid > .office-wrap { padding: 10px; }
  .c-social { min-height: 100vh; min-height: 100svh; padding: 0; }
  .c-faq-in { padding: 20px 20px 20px; }
  .c-faq h2 { font-size: 30px; line-height: 30px; font-weight: 700; }
  .faq details summary { font-size: 15px; line-height: 24px; }
  .faq details p { padding: 20px; font-size: 12px; line-height: 24px; font-weight: 300; }
}

/* Mission / Vision / Values on phones and tablets: the desktop card (picture over a white card, text slides out).
   No hover on touch screens, so a card opens when it reaches mid-screen (.open, set in main.js). */
@media (max-width: 1024px) {
  .mvv { grid-template-columns: minmax(0, 349px); justify-content: center; gap: 100px; }
  .mvv article { position: static; height: 250px; padding: 25px; border-radius: 8px; overflow: visible; background: #fff; box-shadow: none; display: flex; flex-direction: column; transition: height .4s ease-in-out; }
  .mvv img { position: relative; z-index: 1; width: 100%; height: 260px; aspect-ratio: auto; flex: none; margin: -60px 0 20px; border-radius: 15px; box-shadow: 0 0 10px rgba(0, 0, 0, .5); object-fit: cover; }
  .mvv .more { position: static; display: block; inset: auto; padding: 0; background: none; margin-top: -180px; transition: margin-top .23s ease-in-out .2s; }
  .mvv .more > div { overflow: visible; }
  .mvv h3 { color: var(--navy); font-size: 20px; line-height: 30px; font-weight: 700; margin: 0; }
  .mvv p { color: var(--text); font-size: 12px; line-height: 19.8px; font-weight: 400; margin: 16px 0 0; }
  .mvv article:hover, .mvv article:focus-within, .mvv article.open { height: 430px; }
  .mvv article:hover .more, .mvv article:focus-within .more, .mvv article.open .more { margin-top: 20px; }
}

/* Home testimonials, refreshed in the site's colours: crimson quote badge, faint quote watermark, a tinted card
   layered behind, initials badge beside the client, and prev / next, counter and progress-bar controls */
.t-slider { position: relative; }
.t-slider::before { content: ""; position: absolute; left: 34px; right: 10px; top: 34px; height: calc(100% - 120px); border-radius: 22px; background: linear-gradient(135deg, rgba(25, 42, 61, .1), rgba(25, 42, 61, .04)); transform: rotate(2.5deg); z-index: 0; pointer-events: none; }
.t-viewport { position: relative; z-index: 1; }
.t-card { position: relative; overflow: hidden; border-radius: 20px; padding: 34px 34px 26px; box-shadow: 0 24px 50px -28px rgba(25, 42, 61, .35), 0 3px 18px rgba(36, 36, 36, .06); border-top: 3px solid var(--crimson); }
.t-card::after { content: "\201D"; position: absolute; right: 18px; top: -38px; font-family: Georgia, "Times New Roman", serif; font-size: 220px; line-height: 1; color: var(--crimson); opacity: .07; pointer-events: none; }
.t-quote { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FF587F, #B4183D); color: #fff; box-shadow: 0 10px 22px -10px rgba(180, 24, 61, .8); }
.t-card blockquote { font-size: 16px; line-height: 1.75; color: #3A4F66; margin: 20px 0 18px; }
.t-stars i { width: 15px; height: 15px; }
.t-person { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #EEE; }
.t-person h3 { margin-top: 0; color: var(--navy); }
.t-person h4 { margin-top: 4px; padding-bottom: 0; color: var(--crimson); font-size: 14px; }
.t-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: .5px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(180, 24, 61, .35); }
.t-nav { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 4px 22px 0; }
.t-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--crimson); background: #fff; color: var(--crimson); display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.t-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.t-btn:hover, .t-btn:focus-visible { background: var(--crimson); color: #fff; transform: translateY(-2px); }
.t-count { margin-left: 8px; font-family: var(--f-head); font-size: 15px; color: #8A94A0; white-space: nowrap; }
.t-count b { color: var(--navy); font-weight: 600; font-size: 18px; }
.t-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(180, 24, 61, .15); overflow: hidden; margin-left: 6px; }
.t-bar i { display: block; height: 100%; width: 100%; background: var(--crimson); transform: scaleX(0); transform-origin: left; }
.t-bar i.run { animation: tBar 3s linear forwards; }
.t-slider.paused .t-bar i.run { animation-play-state: paused; }
@keyframes tBar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .t-bar { display: none; } }
@media (max-width: 767px) {
  .t-slider::before { left: 26px; right: 6px; top: 30px; border-radius: 18px; }
  .t-card { padding: 26px 20px 20px; text-align: left; }
  .t-card::after { font-size: 160px; top: -26px; right: 10px; }
  .t-quote { width: 38px; height: 38px; padding: 10px; margin: 0; }
  .t-card blockquote { font-size: 13px; line-height: 1.7; }
  .t-stars { justify-content: flex-start; }
  .t-person { gap: 12px; margin-top: 18px; padding-top: 16px; }
  .t-avatar { width: 40px; height: 40px; font-size: 14px; }
  .t-person h3 { font-size: 15px; }
  .t-person h4 { font-size: 12px; }
  .t-nav { padding: 2px 12px 0; }
  .t-btn { width: 36px; height: 36px; }
}

/* About - Our Values, refreshed in the site's colours: separate white cards with a faint step number,
   a gradient icon badge with a soft ring, and on hover the card lifts, a crimson bar draws across the top
   and the heading turns crimson. Cards rise in one after another when the row scrolls into view. */
.values { border: 0; gap: 16px; counter-reset: val; }
.values > div { position: relative; overflow: hidden; counter-increment: val; padding: 28px 20px 26px; border: 1px solid rgba(180, 24, 61, .12) !important; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -30px rgba(25, 42, 61, .45); gap: 12px; transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .45s; }
.values > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #B4183D, #FF587F); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.values > div::after { content: "0" counter(val); position: absolute; right: 14px; top: 10px; font-family: var(--f-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--crimson); opacity: .07; transition: opacity .45s; }
.values .circ { width: 48px; height: 48px; background: radial-gradient(circle at 30% 30%, #FF587F, #B4183D 75%); box-shadow: 0 0 0 6px rgba(180, 24, 61, .08), 0 10px 20px -10px rgba(180, 24, 61, .7); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.values .circ svg { width: 20px; height: 20px; }
.values h3 { color: var(--navy); margin-top: 6px; transition: color .3s; }
.values p { line-height: 1.7; }
.values > div:hover, .values > div:focus-within { transform: translateY(-8px); border-color: rgba(180, 24, 61, .35) !important; box-shadow: 0 30px 50px -28px rgba(180, 24, 61, .45); }
.values > div:hover::before, .values > div:focus-within::before { transform: scaleX(1); }
.values > div:hover::after { opacity: .14; }
.values > div:hover .circ { transform: rotate(-10deg) scale(1.08); }
.values > div:hover h3 { color: var(--crimson); }
.js .values.reveal > div { opacity: 0; transform: translateY(26px); }
.js .values.reveal.in > div { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .45s; }
.js .values.reveal.in > div:nth-child(2) { transition-delay: .08s; } .js .values.reveal.in > div:nth-child(3) { transition-delay: .16s; }
.js .values.reveal.in > div:nth-child(4) { transition-delay: .24s; } .js .values.reveal.in > div:nth-child(5) { transition-delay: .32s; }
.js .values.reveal.in > div:nth-child(6) { transition-delay: .4s; }
.js .values.reveal.in > div:hover { transform: translateY(-8px); transition-delay: 0s; }
.js .values.reveal { transform: none; }
@media (max-width: 960px) { .values { gap: 14px; } }
@media (max-width: 767px) {
  .values { gap: 12px; }
  .values > div { padding: 20px 14px 18px; border-radius: 14px; gap: 8px; }
  .values > div::after { font-size: 30px; right: 10px; top: 8px; }
  .values .circ { width: 38px; height: 38px; box-shadow: 0 0 0 4px rgba(180, 24, 61, .08), 0 8px 16px -8px rgba(180, 24, 61, .7); }
  .values .circ svg { width: 16px; height: 16px; }
  .values h3 { font-size: 13px; margin-top: 4px; }
  .values p { font-size: 10px; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) { .js .values.reveal > div { opacity: 1; transform: none; } }


/* ===== About page polish (Nov 2026) ===== */

/* Certifications: the earlier centred layout, kept minimal - white card, thin border, logo on a round badge
   with a fine ring in the card's accent (crimson / gold / crimson), brand name in small caps, a short accent line
   that grows on hover, and a quiet lift. No glow, sweep or pill. */
.cert { --acc: #B4183D; position: relative; background: #fff; box-shadow: 0 1px 2px rgba(25, 42, 61, .04), 0 16px 36px -28px rgba(25, 42, 61, .4); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.cert:nth-child(2) { --acc: #D7A100; }
.cert, .about-page .cert, .about-page .cert:nth-child(2) { border: 1px solid #ECECEC; border-radius: 20px; }
.cert::before { content: ""; position: absolute; left: 50%; top: 0; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: var(--acc); transform: translateX(-50%); transition: width .35s ease; }
.cert .logo-i { width: 76px; height: 76px; padding: 17px; border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 0 0 1.5px var(--acc), 0 10px 22px -14px rgba(25, 42, 61, .5); margin-bottom: 14px; }
.cert b { font-family: var(--f-body); font-weight: 600; font-size: 11px; letter-spacing: 2.5px; color: var(--acc); }
.cert:nth-child(2) b { color: #A67C00; }
.cert h3 { color: var(--navy); }
.cert p { color: #6B7785; line-height: 1.7; }
.js .cert.reveal.in:hover, .cert:hover { transform: translateY(-6px); border-color: var(--acc); box-shadow: 0 26px 44px -30px rgba(25, 42, 61, .5); }
.cert:hover::before { width: 96px; }
@media (max-width: 767px) { .cert .logo-i { width: 62px; height: 62px; padding: 14px; } .cert b { font-size: 10px; } }

/* Brands That Trust Us: soft light behind the heading, logo rows fade out at both edges,
   logos sit on rounded white tiles with a shadow and lift a little under the cursor */
.clients { position: relative; isolation: isolate; }
.clients::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255, 88, 127, .35), transparent 70%), radial-gradient(40% 40% at 90% 100%, rgba(0, 0, 0, .18), transparent 70%); }
.clients .h2 + .lead { opacity: .92; }
.logo-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding-block: 8px; }
.logo-row img { border: 0; border-radius: 14px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .55); transition: transform .3s ease, box-shadow .3s ease; }
.logo-row img:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .65); }

/* Our Impact: white cards like the values row - gradient icon badge, the figure in a crimson gradient,
   a crimson bar draws across the top and the card lifts on hover */
.about-page .b-card { position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(180, 24, 61, .14); border-radius: 18px; box-shadow: 0 18px 40px -30px rgba(25, 42, 61, .45); padding-top: 30px; padding-bottom: 28px; transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .4s; }
.about-page .b-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #B4183D, #FF587F); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.about-page .b-card .circ { width: 50px; height: 50px; background: radial-gradient(circle at 30% 30%, #FF587F, #B4183D 75%); box-shadow: 0 0 0 6px rgba(180, 24, 61, .08), 0 10px 20px -10px rgba(180, 24, 61, .7); }
.about-page .b-card .circ svg { width: 20px; height: 20px; }
.about-page .b-card .big { margin-top: 14px; font-size: 40px; font-weight: 700; background: linear-gradient(135deg, #B4183D, #FF587F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-page .b-card .big:not([data-count]) { font-size: 26px; line-height: 1.2; }
.about-page .b-card h3 { color: var(--navy); }
.about-page .b-card p { color: #6B7785; line-height: 1.7; }
.js .about-page .b-card.reveal.in:hover, .about-page .b-card:hover { transform: translateY(-8px); border-color: rgba(180, 24, 61, .35); box-shadow: 0 30px 50px -28px rgba(180, 24, 61, .45); }
.about-page .b-card:hover::before { transform: scaleX(1); }
@media (max-width: 767px) { .about-page .b-card .big { font-size: 24px; } .about-page .b-card .big:not([data-count]) { font-size: 16px; } .about-page .b-card .circ { width: 38px; height: 38px; } }

/* Let's Work Together banner (every page): a soft light drifts slowly across the background, a sheen passes
   over the big heading every few seconds, and the button glows with a pulsing ring and nudges its arrow */
.cta-band { overflow: hidden; }
.cta-band::after { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; left: -10%; top: -30%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 88, 127, .35), transparent 65%); animation: ctaDrift 14s ease-in-out infinite alternate; }
@keyframes ctaDrift { to { transform: translate(55vw, 25%); } }
.cta-band h2 { background: linear-gradient(100deg, #fff 40%, #FFC7D4 50%, #fff 60%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ctaSheen 6s ease-in-out infinite; }
@keyframes ctaSheen { 0%, 55% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
.cta-band .btn { position: relative; box-shadow: 0 12px 28px -12px rgba(255, 88, 127, .9); }
.cta-band .btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255, 88, 127, .55); animation: ctaPulse 2.4s ease-out infinite; }
@keyframes ctaPulse { to { box-shadow: 0 0 0 14px rgba(255, 88, 127, 0); } }
.cta-band .btn span { display: inline-block; transition: transform .3s ease; }
.cta-band .btn:hover span { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) { .cta-band::after, .cta-band h2, .cta-band .btn::after { animation: none; } }

/* Mission / Vision / Values (About): the title now always shows under the picture with a short crimson line,
   so no card looks empty; the description opens below it on hover (or at mid-screen on touch screens).
   Hover also lifts the card, raises the picture a touch and lengthens the line. */
.mvv article, .mvv article:hover, .mvv article:focus-within, .mvv article.open { height: auto; }
.mvv article { padding-bottom: 26px; border-radius: 18px; box-shadow: 0 24px 50px -30px rgba(25, 42, 61, .55); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.mvv .more, .mvv article:hover .more, .mvv article:focus-within .more, .mvv article.open .more { margin-top: 0; }
.mvv img { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.mvv h3 { position: relative; padding-bottom: 12px; }
.mvv h3::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #B4183D, #FF587F); transform: translateX(-50%); transition: width .45s ease; }
.mvv p { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .5s ease, opacity .4s ease, margin-top .4s ease; }
.mvv article:hover p, .mvv article:focus-within p, .mvv article.open p { max-height: 220px; opacity: 1; margin-top: 14px; }
.js .mvv article.reveal.in:hover, .mvv article:hover, .mvv article.open { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(25, 42, 61, .7); }
.mvv article:hover img, .mvv article.open img { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .55); }
.mvv article:hover h3::after, .mvv article:focus-within h3::after, .mvv article.open h3::after { width: 72px; }
@media (hover: none) and (min-width: 1025px) { .mvv p { max-height: none; opacity: 1; margin-top: 14px; } }

/* Leadership - the original design (photo card, name at the bottom, bio overlay with a thin inner frame on hover),
   with light polish: rounder corners and a soft shadow, the role under the name, a deep black overlay,
   and the name, role and bio rising in one after another when it opens. */
.member, .about-page .member { border-radius: 20px; box-shadow: 0 24px 50px -32px rgba(25, 42, 61, .65); }
.member .name-tag { display: flex; flex-direction: column; gap: 3px; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(16, 24, 36, .82)); }
.member .name-tag b { font-size: 19px; font-weight: 700; }
.member .name-tag small { font-family: var(--f-body); font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .78); }
.member .over { background: linear-gradient(180deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, .82)); }
.member .over::before { border-color: rgba(255, 255, 255, .45); border-radius: 14px; }
.member .over > * { transform: translateY(14px); opacity: 0; transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .5s; }
.member .over .role { color: rgba(255, 255, 255, .8); transition-delay: .08s; }
.member .over p { transition-delay: .16s; }
.member:hover .over > *, .member:focus-within .over > * { transform: none; opacity: 1; }
.member:hover { box-shadow: 0 30px 56px -30px rgba(0, 0, 0, .6); }
@media (hover: none) { .member .over > * { transform: none; opacity: 1; } }

/* ===== Header, premium ===== */
/* Same pill and layout; once you scroll it becomes deep navy glass with a fine border, the menu gets a
   crimson-to-gold underline, and "Get Started" is a crimson gradient with a slow light sweep and an arrow. */
.nav { border: 1px solid transparent; transition: background .35s var(--ease), backdrop-filter .35s, border-color .35s, box-shadow .35s, padding .35s; }
.site-header.scrolled .nav, .site-header.solid .nav { background: rgba(17, 24, 33, .62); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: rgba(255, 255, 255, .12); box-shadow: 0 20px 44px -26px rgba(0, 0, 0, .7), inset 0 -1px 0 rgba(255, 188, 125, .18); }
.menu a { opacity: .88; transition: opacity .25s; }
.menu a:hover, .menu a[aria-current="page"] { opacity: 1; }
.menu a::after { height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.nav-cta { position: relative; overflow: hidden; background: var(--btn); box-shadow: 0 10px 26px -12px rgba(255, 88, 127, .9); }
.nav-cta::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: navShine 5s ease-in-out infinite; }
@keyframes navShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.nav-cta span { display: inline-block; transition: transform .3s ease; }
.nav-cta:hover span { transform: translateX(4px); }
@media (min-width: 901px) { .site-header.scrolled .nav { padding-top: 9px; padding-bottom: 9px; } }
@media (max-width: 900px) { .menu a[aria-current="page"] { opacity: 1; } .menu a { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nav-cta::before { animation: none; } }

/* ===== Footer, premium ===== */
/* Deep navy with a soft crimson glow and a fine gold line, social icons in rings that fill crimson,
   gold arrows on links, two office cards with directions, and a row of call / email / WhatsApp buttons. */
.site-footer { background: radial-gradient(70% 60% at 0% 0%, rgba(180, 24, 61, .22), transparent 60%), radial-gradient(50% 50% at 100% 100%, rgba(255, 188, 125, .07), transparent 60%), linear-gradient(180deg, #121A26, #0C121B); color: #A9B1BC; }
.site-footer::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 30px; width: min(1180px, calc(100% - 40px)); height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 188, 125, .5), transparent); }
.f-grid { grid-template-columns: 1.15fr .8fr .9fr 1.35fr; gap: 40px; }
.f-brand p { color: #C9D0D8; }
.f-social { gap: 10px; margin-top: 22px; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background .3s, border-color .3s, transform .3s; }
.f-social a:hover { background: var(--crimson); border-color: var(--crimson); transform: translateY(-3px); }
.f-social svg { width: 15px; height: 15px; }
.site-footer h3 { position: relative; padding-bottom: 12px; margin-bottom: 22px; font-size: 19px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.f-links a { color: #B7BFC9; }
.f-links a::before { color: var(--gold); transition: transform .25s; }
.f-links a:hover { color: #fff; }
.f-links a:hover::before { transform: translateX(3px) rotate(45deg); }
.f-locations { display: grid; gap: 14px; align-content: start; }
.f-locations h3 { margin-bottom: 8px; }
.f-loc { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s, background .3s; }
.f-loc:hover { border-color: rgba(255, 188, 125, .35); background: rgba(255, 255, 255, .06); }
.f-loc-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(180, 24, 61, .2); color: #FF8DA6; }
.f-loc-ic svg { width: 17px; height: 17px; }
.f-loc b { display: block; color: #fff; font-family: var(--f-head); font-size: 15px; font-weight: 600; }
.f-loc b em { font-style: normal; font-family: var(--f-body); font-size: 11px; font-weight: 500; color: var(--gold); margin-left: 6px; letter-spacing: .5px; }
.f-loc p { margin: 4px 0 6px; font-family: var(--f-body); font-size: 12.5px; line-height: 1.6; color: #AEB6C0; }
.f-loc a { font-family: var(--f-body); font-size: 12px; font-weight: 600; color: var(--gold); text-decoration: none; }
.f-loc a span { display: inline-block; transition: transform .25s; }
.f-loc a:hover span { transform: translateX(4px); }
.f-reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 46px; }
.f-reach a { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); color: #fff; text-decoration: none; font-family: var(--f-head); font-size: 15px; font-weight: 600; transition: border-color .3s, background .3s, transform .3s; }
.f-reach a:hover { border-color: rgba(180, 24, 61, .7); background: rgba(180, 24, 61, .14); transform: translateY(-3px); }
.f-reach svg { flex: none; width: 20px; height: 20px; color: #FF8DA6; }
.f-reach span { display: grid; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.f-reach small { font-family: var(--f-body); font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: #8C96A3; }
.f-bottom { margin-top: 40px; color: #8C96A3; }
.f-bottom nav a { color: #B7BFC9; transition: color .2s; }
.f-bottom nav a:hover { color: #fff; }
@media (max-width: 1200px) { .f-grid { grid-template-columns: 1.1fr .9fr .9fr 1.3fr; gap: 30px; } }
@media (max-width: 960px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-reach { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .f-grid { grid-template-columns: 1fr; gap: 36px; } .f-reach { margin-top: 36px; } .site-footer::before { top: 26px; } }

/* ===== Blog ===== */
.blog-page .page-hero { min-height: 560px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; text-decoration: none; color: inherit; border: 1px solid rgba(25, 42, 61, .06); box-shadow: 0 22px 46px -32px rgba(25, 42, 61, .55); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.post-card:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(25, 42, 61, .6); }
.post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #192A3D, #B4183D); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.post-card:hover .post-img img { transform: scale(1.06); }
.post-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: #8A94A0; }
.post-meta em { font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--crimson); background: rgba(180, 24, 61, .08); padding: 4px 10px; border-radius: 30px; }
.post-title { font-family: var(--f-head); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--navy); }
.post-excerpt { font-size: 14px; line-height: 1.7; color: #6B7785; }
.post-more { margin-top: auto; padding-top: 6px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--crimson); }
.post-more span { display: inline-block; transition: transform .3s; }
.post-card:hover .post-more span { transform: translateX(5px); }
@media (min-width: 1025px) {
  .post-card.featured { grid-column: 1 / -1; flex-direction: row; }
  .post-card.featured .post-img { flex: 0 0 55%; aspect-ratio: auto; min-height: 380px; }
  .post-card.featured .post-body { padding: 44px 46px; justify-content: center; }
  .post-card.featured .post-title { font-size: 32px; }
  .post-card.featured .post-excerpt { font-size: 15px; }
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: 1fr 1fr; } .post-card.featured { grid-column: 1 / -1; } }
@media (max-width: 767px) { .blog-grid { grid-template-columns: 1fr; gap: 20px; } .blog-page .page-hero { min-height: 420px; } .post-body { padding: 20px; } .post-title { font-size: 18px; } }

/* Article page */
.post-hero { position: relative; isolation: isolate; padding: 200px 0 90px; color: #fff; background: linear-gradient(180deg, rgba(17, 24, 33, .78), rgba(25, 42, 61, .92)), var(--img) center / cover no-repeat; }
.post-hero .wrap { max-width: 900px; }
.post-hero .back { display: inline-block; margin-bottom: 26px; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 14px; }
.post-hero .back:hover { color: #fff; }
.post-cat { display: table; margin-bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: var(--crimson); padding: 6px 14px; border-radius: 30px; }
.post-hero h1 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; }
.post-info { display: block; margin-top: 18px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.post-main { padding: 80px 0 100px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.post-prose { background: #fff; border-radius: 22px; padding: 50px 54px; box-shadow: 0 22px 46px -34px rgba(25, 42, 61, .5); }
.post-prose p { font-size: 16px; line-height: 1.85; color: #44566B; margin: 0 0 20px; }
.post-prose p:first-child { font-size: 18px; color: var(--navy); }
.post-prose h2 { font-size: 26px; margin: 36px 0 14px; padding-left: 16px; border-left: 3px solid var(--crimson); }
.post-prose ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.post-prose li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.7; color: #44566B; }
.post-prose li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, #FF587F, #B4183D); }
.post-aside { position: sticky; top: 120px; display: grid; gap: 20px; }
.post-talk { border-radius: 22px; padding: 30px; color: #fff; background: radial-gradient(120% 90% at 0% 0%, rgba(255, 88, 127, .45), transparent 60%), linear-gradient(160deg, #192A3D, #7A1029); box-shadow: 0 24px 48px -30px rgba(122, 16, 41, .8); }
.post-talk .eyebrow { color: var(--gold); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.post-talk h3 { color: #fff; font-size: 22px; line-height: 1.3; }
.post-talk p { color: rgba(255, 255, 255, .82); font-size: 14px; margin: 12px 0 20px; }
.post-more-list { border-radius: 22px; padding: 26px 26px 18px; background: #fff; box-shadow: 0 22px 46px -34px rgba(25, 42, 61, .5); }
.post-more-list h3 { font-size: 18px; margin-bottom: 8px; }
.post-more-list a { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid #EEE; text-decoration: none; color: var(--navy); font-family: var(--f-head); font-weight: 600; font-size: 15px; line-height: 1.4; transition: color .2s; }
.post-more-list a:hover { color: var(--crimson); }
.post-more-list em { font-style: normal; font-family: var(--f-body); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--crimson); }
@media (max-width: 1024px) { .post-layout { grid-template-columns: 1fr; gap: 30px; } .post-aside { position: static; } }
@media (max-width: 767px) { .post-hero { padding: 150px 0 60px; } .post-main { padding: 40px 0 70px; } .post-prose { padding: 28px 22px; border-radius: 18px; } .post-prose p { font-size: 15px; } .post-prose p:first-child { font-size: 16px; } .post-prose h2 { font-size: 21px; } }

/* ===== Home polish (Nov 2026) ===== */
/* Services stack: crimson number badges, gradient underline, softer edges */
.paper { border-color: rgba(25, 42, 61, .14); border-radius: 6px; box-shadow: 0 30px 60px -40px rgba(25, 42, 61, .55); }
.paper .num { background: radial-gradient(circle at 30% 30%, #FF587F, #B4183D 75%); box-shadow: 0 0 0 6px rgba(180, 24, 61, .1), 0 12px 24px -12px rgba(180, 24, 61, .8); }
.paper h3 { color: var(--navy); border-bottom: 0; background: linear-gradient(90deg, var(--crimson), var(--gold)) left bottom / 90px 2px no-repeat; }

/* Why Think4Digital: short checklist */
.why-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.why-list li { display: flex; align-items: center; gap: 14px; font-family: var(--f-head); font-weight: 600; font-size: 16px; color: var(--navy); }
.why-list li span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 30%, #FF587F, #B4183D 75%); box-shadow: 0 8px 18px -8px rgba(180, 24, 61, .8); }
.why-list svg { width: 15px; height: 15px; }

/* Growth journey: video in a slowly turning crimson-to-gold frame, and the four steps as chips */
.video-box { position: relative; isolation: isolate; padding: 3px; border-radius: 22px; background: #0C121B; box-shadow: 0 40px 70px -40px rgba(180, 24, 61, .7); }
.vb-glow { position: absolute; inset: -50%; z-index: -1; background: conic-gradient(from 0deg, #B4183D, #FFBC7D, #FF587F, #192A3D, #B4183D); animation: vbSpin 8s linear infinite; }
@keyframes vbSpin { to { transform: rotate(1turn); } }
.video-box video { border-radius: 19px; }
.journey-steps { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: none; }
.journey-steps li { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 40px; background: #fff; box-shadow: 0 12px 26px -20px rgba(25, 42, 61, .55); font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--navy); }
.journey-steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--navy); }
.journey-steps li:last-child b { background: radial-gradient(circle at 30% 30%, #FF587F, #B4183D 75%); }
.journey-steps li + li::before { content: ""; position: absolute; left: -10px; top: 50%; width: 10px; height: 2px; background: rgba(180, 24, 61, .4); }
@media (max-width: 767px) {
  .why-list li { font-size: 13px; gap: 10px; } .why-list li span { width: 24px; height: 24px; }
  .journey-steps li { font-size: 12px; padding: 6px 12px 6px 6px; } .journey-steps b { width: 24px; height: 24px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .vb-glow { animation: none; } }

/* ===== Locations ===== */
.f-loc a.f-loc-name, .site-footer h3 a { color: inherit; font: inherit; text-decoration: none; }
.f-loc a.f-loc-name:hover, .site-footer h3 a:hover { color: var(--gold); }
.loc-page .loc-hero { min-height: 520px; }
.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.loc-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; text-decoration: none; color: inherit; box-shadow: 0 22px 46px -32px rgba(25, 42, 61, .55); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.loc-card:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(25, 42, 61, .6); }
.loc-img { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; }
.loc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.loc-card:hover .loc-img img { transform: scale(1.06); }
.loc-img em { position: absolute; left: 20px; top: 20px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: var(--crimson); padding: 6px 12px; border-radius: 30px; }
.loc-body { display: grid; gap: 10px; padding: 26px 28px 28px; }
.loc-city { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 26px; color: var(--navy); }
.loc-city svg { width: 22px; height: 22px; color: var(--crimson); }
.loc-addr { font-size: 14px; line-height: 1.7; color: #6B7785; }
.loc-services { grid-template-columns: 1fr 1fr; }
.loc-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.loc-areas span { padding: 6px 14px; border-radius: 30px; background: rgba(180, 24, 61, .07); color: var(--navy); font-size: 13px; font-weight: 500; }
.loc-map { overflow: hidden; border-radius: 16px; border: 1px solid #EEE; aspect-ratio: 16 / 9; }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 767px) { .loc-grid { grid-template-columns: 1fr; gap: 20px; } .loc-services { grid-template-columns: 1fr; } .loc-city { font-size: 21px; } .loc-body { padding: 20px; } .loc-page .loc-hero { min-height: 420px; } }


/* ===== Services, Blog, Careers, Jobs, Contact polish (Nov 2026) ===== */
/* Services - Why Choose Us: white cards with a glowing icon badge; on hover a crimson bar draws across the top and the card lifts */
.services-page .b-card { position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(180, 24, 61, .14); border-radius: 18px; box-shadow: 0 18px 40px -30px rgba(25, 42, 61, .45); transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .4s; }
.services-page .b-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #B4183D, #FF587F); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.services-page .b-card .circ { width: 52px; height: 52px; background: radial-gradient(circle at 30% 30%, #FF587F, #B4183D 75%); box-shadow: 0 0 0 6px rgba(180, 24, 61, .08), 0 10px 20px -10px rgba(180, 24, 61, .7); }
.services-page .b-card .circ svg { width: 22px; height: 22px; }
.services-page .b-card h3.lg { color: var(--navy); }
.services-page .b-card p { color: #6B7785; }
.js .services-page .b-card.reveal.in:hover, .services-page .b-card:hover { transform: translateY(-8px); border-color: rgba(180, 24, 61, .35); box-shadow: 0 30px 50px -28px rgba(180, 24, 61, .45); }
.services-page .b-card:hover::before { transform: scaleX(1); }

/* Blog and Careers heroes: deep navy-to-crimson wash with a gold eyebrow line */
.blog-page .page-hero, .page-hero.soft { background: linear-gradient(120deg, rgba(180, 24, 61, .82) 0%, rgba(122, 16, 41, .82) 50%, rgba(25, 42, 61, .9) 100%), var(--img) center / cover no-repeat; }
.blog-page .page-hero .eyebrow, .page-hero.soft .eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); letter-spacing: 1.5px; }
.blog-page .page-hero .eyebrow::before, .page-hero.soft .eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }

/* Careers list: cleaner filters and job cards that lift with a crimson edge */
.jobs-sec { background: linear-gradient(180deg, #F4F5F7, #FAFBFC); }
.job-filters input, .job-filters select { height: 48px; border-radius: 12px; border-color: #E2E6EB; box-shadow: 0 8px 20px -18px rgba(25, 42, 61, .5); }
.job-filters input:focus, .job-filters select:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(180, 24, 61, .12); }
.job { position: relative; overflow: hidden; border-radius: 16px; border-color: #E6E9ED; padding: 24px 24px 20px; box-shadow: 0 16px 36px -30px rgba(25, 42, 61, .5); }
.job::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #FF587F, #B4183D); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.job:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -28px rgba(25, 42, 61, .55); }
.job:hover::before { transform: scaleY(1); }
.job h3 { color: var(--navy); }
.job span { display: inline-flex; align-items: center; gap: 8px; }
.job span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(180, 24, 61, .55); }
.job a { font-weight: 600; }

/* Job page: hero in the same navy-to-crimson wash, detail tags as pills, a refined details card and apply form */
.job-hero { background: linear-gradient(120deg, rgba(180, 24, 61, .85), rgba(122, 16, 41, .85) 50%, rgba(25, 42, 61, .92)), url("/assets/img/hero-careers.webp") center / cover; }
.job-tags span { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 30px; }
.job-side { border: 0; border-radius: 20px; padding: 28px; box-shadow: 0 24px 48px -32px rgba(25, 42, 61, .55); overflow: hidden; }
.job-side::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #B4183D, #FF587F, #FFBC7D); }
.job-side dl > div, .job-side dt { position: relative; }
.job-side dd { font-size: 16px; }
.job-side .btn { border-radius: 12px; padding: 15px; }
.apply { border: 0; border-radius: 22px; padding: 38px; box-shadow: 0 24px 48px -34px rgba(25, 42, 61, .55); }
.apply h2 { position: relative; padding-bottom: 14px; margin-bottom: 22px; }
.apply h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--crimson), var(--gold)); }

/* Form fields (apply form and contact form): rounder, calmer borders, crimson focus ring, gradient submit */
.apply .field input, .apply .field textarea, .contact-page .field input, .contact-page .field textarea { border: 1px solid #DCE1E7; border-radius: 12px; background: #FBFBFC; transition: border-color .2s, box-shadow .2s, background .2s; }
.apply .field input:focus, .apply .field textarea:focus, .contact-page .field input:focus, .contact-page .field textarea:focus { outline: none; background: #fff; border-color: var(--crimson); box-shadow: 0 0 0 4px rgba(180, 24, 61, .1); }
.apply .field input[type="file"] { padding: 10px 12px; cursor: pointer; }
.apply .field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font-family: var(--f-body); font-weight: 500; cursor: pointer; }
.apply .submit, .contact-page .submit { border-radius: 12px; min-height: 50px; background: var(--btn); box-shadow: 0 14px 28px -14px rgba(180, 24, 61, .8); font-family: var(--f-head); font-size: 16px; font-weight: 600; letter-spacing: .3px; transition: transform .25s, box-shadow .25s, filter .25s; }
.apply .submit:hover, .contact-page .submit:hover { background: var(--btn); transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 20px 34px -14px rgba(180, 24, 61, .85); }

/* Contact: form card and office card refined */
.form-card { border: 0 !important; border-radius: 24px; box-shadow: 0 34px 70px -36px rgba(25, 42, 61, .7); }
.office-frame { border-radius: 24px; padding: 8px; box-shadow: 0 30px 60px -34px rgba(25, 42, 61, .7); }
.office { border: 1px solid rgba(180, 24, 61, .18); border-radius: 18px; padding: 22px; }
.office-ic { background: radial-gradient(circle at 30% 30%, #FF587F, #B4183D 75%); box-shadow: 0 0 0 6px rgba(180, 24, 61, .1); }
.office h3 { color: var(--navy); }
@media (max-width: 767px) {
  .apply { padding: 24px 18px; border-radius: 18px; }
  .job-side { padding: 22px; }
  .form-card { border-radius: 20px; }
  .services-page .b-card .circ { width: 40px; height: 40px; } .services-page .b-card .circ svg { width: 17px; height: 17px; }
}

/* ===== Phone readability (Nov 2026) ===== */
/* The live site used 7-9px text on phones; these bring every block up to comfortable reading sizes. */
@media (max-width: 767px) {
  .page-hero .eyebrow { font-size: 12px; letter-spacing: 1px; }
  .page-hero h1 { font-size: 28px; line-height: 1.2; }
  .page-hero h1 br { display: none; }
  .page-hero, .services-page .page-hero, .about-page .page-hero { padding: 140px 0 70px; min-height: 0; }
  .page-hero p { font-size: 14px; line-height: 1.7; }
  .page-hero .btn { font-size: 14px; padding: 12px 18px; border-radius: 8px; }
  .lead, .wide-split .lead, .pillars-grid .lead { font-size: 14px; line-height: 1.7; }
  .eyebrow, .wide-split .eyebrow, .sticky-col .eyebrow, .pillars-grid .eyebrow { font-size: 13px; }
  .paper p, .scard p, .b-card p, .cert p, .mvv p, .values p, .member p { font-size: 13px; line-height: 1.65; }
  .scard h3, .b-card h3, .b-card h3.lg, .values h3 { font-size: 16px; line-height: 1.3; }
  .gec-card-description { font-size: 11.5px !important; line-height: 1.55 !important; }
  .step h3 { font-size: 14px; line-height: 1.3; }
  .step p { font-size: 12px; line-height: 1.55; }
  .cta-band p, .about-page .cta-band p { font-size: 13.5px; line-height: 1.65; }
  .cta-band .btn { font-size: 14px; padding: 13px 18px; }
  .t-card blockquote { font-size: 14px; }
  .story .lead p { font-size: 14px; }
  .sticky-col .lead { font-size: 14px !important; line-height: 1.7; }
  .pcard p { font-size: 12.5px; line-height: 1.55; }
}

/* Media protection: no drag-out, no long-press save menu on phones */
img, video, svg { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }

/* Lenis (inlined so it does not block the first paint) */
html.lenis,html.lenis body{height:auto}.lenis:not(.lenis-autoToggle).lenis-stopped{overflow:clip}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-smooth iframe{pointer-events:none}.lenis.lenis-autoToggle{transition-property:overflow;transition-duration:1ms;transition-behavior:allow-discrete}

/* Lighter section descriptions (matches the softer grey of the original site) */
.lead, .lead p { color: #6B7A8A; font-weight: 300; }
/* Journey video: plain dark frame, no pink glow or pink shadow */
.vb-glow { display: none; }
.video-box { background: #0C121B; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .45); }

/* Leadership on touch screens: photo + name by default; tapping a card opens only that card's profile */
@media (hover: none) {
  .member { cursor: pointer; }
  .member .over, .member:hover .over, .member:focus-within .over { opacity: 0; }
  .member .over > *, .member:hover .over > *, .member:focus-within .over > * { transform: translateY(14px); opacity: 0; }
  .member .name-tag, .member:hover .name-tag { display: flex; opacity: 1; transition: opacity .3s; }
  .member .name-tag small::after { content: "  ·  Tap for profile"; color: rgba(255, 255, 255, .6); }
  .member.open .over { opacity: 1; }
  .member.open .over > * { transform: none; opacity: 1; }
  .member.open .name-tag { opacity: 0; }
}

/* Locations hub: service x city area lists */
.area-sec { padding-block: 34px; }
.area-sec + .area-sec { padding-top: 10px; }
.area-h { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; color: var(--navy); padding-bottom: 16px; border-bottom: 1px solid rgba(25, 42, 61, .12); }
.area-grid { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 24px; }
.area-grid a { display: inline-block; padding: 8px 0; color: #3A4F66; font-size: 15px; font-weight: 400; text-decoration: none; background: linear-gradient(var(--crimson), var(--crimson)) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .3s; }
.area-grid a:hover, .area-grid a:focus-visible { color: var(--crimson); background-size: 100% 1px; }
@media (max-width: 1024px) { .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } .area-grid a { font-size: 14px; } .area-sec { padding-block: 24px; } }

/* Area pages */
.area-hero h1 .script { font-family: var(--f-script); color: var(--gold); font-weight: 400; }
.area-lead { max-width: 640px; margin-top: 18px; color: rgba(255, 255, 255, .86); font-size: 16px; line-height: 1.7; }
.area-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.area-link { color: #fff; text-decoration: none; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 2px; }
.area-link:hover { border-color: #fff; }
.area-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.area-steps li { counter-increment: st; position: relative; padding: 18px 18px 18px 62px; border: 1px solid rgba(25, 42, 61, .1); border-radius: 14px; background: #FAFBFC; font-size: 14px; }
.area-steps li::before { content: "0" counter(st); position: absolute; left: 16px; top: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--f-head); font-size: 12px; font-weight: 600; }
.area-steps b { display: block; color: var(--navy); font-family: var(--f-head); font-size: 16px; margin-bottom: 2px; }
.area-faq details { border-bottom: 1px solid rgba(25, 42, 61, .12); }
.area-faq summary { cursor: pointer; list-style: none; position: relative; padding: 16px 34px 16px 0; color: var(--navy); font-family: var(--f-head); font-weight: 600; font-size: 16px; }
.area-faq summary::-webkit-details-marker { display: none; }
.area-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--crimson); transition: transform .3s; }
.area-faq details[open] summary::after { transform: rotate(45deg); }
.area-faq details p { margin: 0 0 16px; }
.loc-areas a { padding: 6px 14px; border-radius: 30px; background: rgba(180, 24, 61, .07); color: var(--navy); font-size: 13px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.loc-areas a:hover { background: var(--crimson); color: #fff; }
@media (max-width: 767px) { .area-steps { grid-template-columns: minmax(0, 1fr); } .area-lead { font-size: 14px; } }

/* Locations hero: code-drawn animated globe (no photo, no licence risk) */
.globe-hero { position: relative; overflow: hidden; padding: 170px 0 90px; color: #fff; background: radial-gradient(38% 46% at 8% 0%, rgba(180, 24, 61, .9), rgba(180, 24, 61, .35) 45%, transparent 75%), radial-gradient(70% 90% at 85% 40%, rgba(180, 24, 61, .35), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(242, 166, 14, .12), transparent 60%), linear-gradient(160deg, #0E1A2B 0%, #192A3D 55%, #241328 100%); }
.globe-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(90deg, #000, transparent 70%); pointer-events: none; }
.globe-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; }
.globe-copy .eyebrow { color: var(--gold); letter-spacing: 2px; }
.globe-copy h1 { color: #fff; font-size: clamp(34px, 4vw, 58px); line-height: 1.1; margin-top: 14px; }
.globe-copy h1 .script { display: block; font-family: var(--f-script); font-weight: 400; color: #FF7A98; }
.globe-copy p { max-width: 560px; margin-top: 20px; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.7; }
.globe-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; padding: 0; }
.globe-stats li { display: flex; align-items: baseline; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 13px; color: rgba(255, 255, 255, .75); }
.globe-stats b { font-family: var(--f-head); font-size: 20px; color: #fff; }
.globe-art { position: relative; width: 100%; max-width: 520px; justify-self: center; aspect-ratio: 1; }
.globe { width: 100%; height: 100%; display: block; overflow: visible; }
.globe .meridians ellipse { transform-origin: 260px 260px; transform-box: view-box; animation: gSpin 16s linear infinite; }
.globe .meridians ellipse:nth-child(2) { animation-delay: -2.667s; }
.globe .meridians ellipse:nth-child(3) { animation-delay: -5.333s; }
.globe .meridians ellipse:nth-child(4) { animation-delay: -8s; }
.globe .meridians ellipse:nth-child(5) { animation-delay: -10.667s; }
.globe .meridians ellipse:nth-child(6) { animation-delay: -13.333s; }
@keyframes gSpin { 0% { transform: scaleX(1); } 12.5% { transform: scaleX(.924); } 25% { transform: scaleX(.707); } 37.5% { transform: scaleX(.383); } 50% { transform: scaleX(0); } 62.5% { transform: scaleX(.383); } 75% { transform: scaleX(.707); } 87.5% { transform: scaleX(.924); } 100% { transform: scaleX(1); } }
.globe .arcs path { stroke: rgba(255, 122, 152, .85); stroke-dasharray: 6 10; animation: gFlow 2.4s linear infinite; }
.globe .arcs path:nth-child(2n) { stroke: rgba(242, 166, 14, .85); animation-duration: 3s; }
@keyframes gFlow { to { stroke-dashoffset: -32; } }
.globe .pins circle { fill: #fff; animation: gBlink 2.6s ease-in-out infinite; }
.globe .pins circle:nth-child(2) { animation-delay: .5s; } .globe .pins circle:nth-child(3) { animation-delay: 1s; } .globe .pins circle:nth-child(4) { animation-delay: 1.5s; } .globe .pins circle:nth-child(5) { animation-delay: 2s; }
@keyframes gBlink { 50% { opacity: .35; } }
.globe .ring { fill: none; stroke: #FF587F; stroke-width: 2; transform-origin: 300px 250px; transform-box: view-box; animation: gPulse 2.4s ease-out infinite; }
.globe .ring.r2 { animation-delay: 1.2s; }
@keyframes gPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }
.g-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(14, 26, 43, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-family: var(--f-head); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7); animation: gFloat 6s ease-in-out infinite; }
.g-chip i { width: 8px; height: 8px; border-radius: 50%; background: #FF587F; box-shadow: 0 0 0 4px rgba(255, 88, 127, .25); }
.g-chip.c-home { left: 58%; top: 39%; background: var(--crimson); border-color: transparent; }
.g-chip.c1 { left: 8%; top: 22%; animation-delay: -1s; }
.g-chip.c2 { right: -2%; top: 15%; animation-delay: -2s; }
.g-chip.c3 { right: -4%; top: 72%; animation-delay: -3s; }
.g-chip.c4 { left: 2%; top: 74%; animation-delay: -4s; }
@keyframes gFloat { 50% { transform: translateY(-8px); } }
@media (max-width: 1024px) { .globe-grid { grid-template-columns: minmax(0, 1fr); } .globe-art { max-width: 440px; } }
@media (max-width: 767px) {
  .globe-hero { padding: 130px 0 50px; }
  .globe-copy h1 { font-size: 30px; }
  .globe-copy p { font-size: 14px; }
  .globe-stats { gap: 8px; flex-wrap: nowrap; margin-top: 26px; }
  .globe-stats li { flex: 1; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 12px; font-size: 11px; }
  .globe-stats b { font-size: 17px; }
  .globe-art { max-width: 340px; margin-top: 10px; }
  .g-chip { font-size: 11px; padding: 6px 10px; }
  .g-chip.c2 { right: 0; } .g-chip.c3 { right: 0; }
}
@media (prefers-reduced-motion: reduce) { .globe *, .g-chip { animation: none !important; } }
