/* ==========================================================================
   ANDNETICS — design system v3
   --------------------------------------------------------------------------
   Built against the references the client picked (nexthop.education,
   solutions1313.net, seodiscovery.com). The shared DNA of those sites:

     1. Colour carries the page. Navy is the base, but every card, chip and
        stat gets an accent from a six-colour set. Monochrome reads cheap here.
     2. Headlines highlight their key words in an accent colour.
     3. Density over emptiness. Cards hold an icon chip, a ghost number,
        a title, a blurb and a bullet list — not just a title and a line.
     4. Contact is always one tap away: a utility bar on top, coloured CTAs in
        the header, and floating WhatsApp/Call buttons on the edge.
     5. Soft gradient backgrounds, generous radii, visible depth.

   Loaded after Bootstrap. Legacy aliases for not-yet-converted pages sit at
   the bottom.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* brand, taken from the logo */
  --navy: #031641;
  --navy-700: #0a2360;
  --navy-800: #061a4d;
  --navy-900: #010c26;
  --cyan: #00bce1;
  --cyan-700: #0092b4;
  --amber: #ff920f;
  --amber-700: #c96a00;
  --red: #fb181b;
  --green: #16a34a;

  /* the card accent set: colour + its tint */
  --a1: #0092b4;  --a1-bg: #e0f7fd;   /* cyan   */
  --a2: #c96a00;  --a2-bg: #fff2e0;   /* amber  */
  --a3: #6d28d9;  --a3-bg: #f1ebfe;   /* violet */
  --a4: #0f9d58;  --a4-bg: #e3f8ed;   /* green  */
  --a5: #d61f5c;  --a5-bg: #ffe8ef;   /* pink   */
  --a6: #1d4ed8;  --a6-bg: #e7eeff;   /* blue   */

  /* surfaces and ink */
  --paper: #ffffff;
  --surface: #f6f8fc;
  --surface-2: #eaf0f8;
  --ink: #0b1733;
  --text: #4a5468;
  --muted: #6b768c;
  --rule: #e4eaf3;
  --rule-strong: #cbd5e5;
  --on-dark: #f2f5fa;
  --on-dark-muted: #a8b4ce;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 2px rgba(11, 23, 51, 0.06);
  --shadow: 0 4px 10px rgba(11, 23, 51, 0.06), 0 14px 32px rgba(11, 23, 51, 0.08);
  --shadow-lg: 0 8px 18px rgba(11, 23, 51, 0.08), 0 28px 60px rgba(11, 23, 51, 0.14);

  --shell: 1260px;
  --gutter: 20px;
  --band-y: clamp(64px, 7vw, 108px);
  --util-h: 42px;
  --header-h: 78px;
  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 0.68, 0, 1);
}

/* ------------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }

/* ---------------------------------------------------------------- preloader -- */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity .38s ease, visibility .38s ease;
}
.site-preloader.is-ready { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.preloader-dot {
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: scale(1);
  animation: preloader-pulse 1.35s cubic-bezier(.65, 0, .35, 1) infinite;
  will-change: transform, opacity;
}
.preloader-dot-red { background: #ff6f86; }
.preloader-dot-blue { background: #08afe2; animation-delay: .16s; }
.preloader-dot-orange { background: #ffb04f; animation-delay: .32s; }
@keyframes preloader-pulse {
  0%, 22%, 78%, 100% { transform: scale(1); opacity: 1; }
  48% { transform: scale(.12); opacity: .35; }
}
@media (max-width: 480px) {
  .preloader-dots { gap: 10px; }
  .preloader-dot { width: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-dot { animation: none; }
  .site-preloader { transition-duration: .15s; }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--cyan-700); }

strong, b { font-weight: 700; color: var(--ink); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
::selection { background: #cdf1fa; color: var(--ink); }

/* ------------------------------------------------------------ typography -- */
h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.16; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.1rem, 1.4vw, 1.25rem); }
h4 { font-size: 1.05rem; }

/* Highlighted words change colour only; typography must stay identical to
   the surrounding headline on every page. */
.hl, .hl-amber, .hl-navy {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.hl { color: var(--cyan-700); }
.hl-amber { color: var(--amber-700); }
.hl-navy { color: var(--navy); }

/* A pill badge above a headline. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 8px 18px 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}
.eyebrow-center { justify-content: center; }

.lead {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------------------------------------------------------------- layout -- */
.shell, .container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band-y); position: relative; }
.band-tight { padding-block: clamp(48px, 5vw, 76px); }
.band-surface { background: var(--surface); }
.band-grad {
  background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
}

.band-dark {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(0, 188, 225, 0.16), transparent 62%),
    radial-gradient(760px 420px at 5% 100%, rgba(255, 146, 15, 0.12), transparent 60%),
    var(--navy);
  color: var(--on-dark);
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark p, .band-dark .lead { color: var(--on-dark-muted); }
.band-dark a { color: #fff; }
.band-dark .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

/* Section header, centred by default like the reference sites. */
.band-head {
  max-width: 780px;
  margin: 0 auto clamp(40px, 4.5vw, 64px);
  text-align: center;
}
.band-head h2 { margin-bottom: 16px; }
.band-head .lead { margin-inline: auto; }
.band-head .eyebrow { margin-bottom: 18px; }

.band-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: end;
  text-align: left;
}
.band-head-split .lead { margin-inline: 0; }
@media (max-width: 900px) {
  .band-head-split { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* --------------------------------------------------------------- buttons -- */
.btn, .btn-primary, .btn-accent, .btn-ghost, .btn-wa, .btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 15px 28px;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), box-shadow 0.22s var(--ease),
              transform 0.22s var(--ease);
}
.btn i, .btn-primary i, .btn-accent i, .btn-ghost i, .btn-wa i, .btn-link i {
  font-size: 1.05em;
  transition: transform 0.22s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 6px 16px rgba(3, 22, 65, 0.25);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(3, 22, 65, 0.32); }
.btn-primary:hover i { transform: translateX(4px); }

.btn-accent {
  background: linear-gradient(135deg, var(--amber) 0%, #ff7a00 100%);
  color: #fff;
  border-color: #ff7a00;
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.3);
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 122, 0, 0.38); }
.btn-accent:hover i { transform: translateX(4px); }

.btn-wa {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.28);
}
.btn-wa:hover { background: #12833c; border-color: #12833c; color: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost:hover i { transform: translateX(4px); }

.band-dark .btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.band-dark .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; color: #fff; }

.btn-link { padding: 0; border: 0; color: var(--cyan-700); font-weight: 600; }
.btn-link:hover { color: var(--navy); }
.btn-link:hover i { transform: translateX(4px); }
.band-dark .btn-link { color: var(--cyan); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* --------------------------------------------------------- utility bar --- */
.util-bar {
  background: var(--navy);
  color: var(--on-dark-muted);
  font-size: 0.82rem;
}
.util-inner {
  min-height: var(--util-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.util-left, .util-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.util-bar a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid rgba(0, 188, 225, 0.28);
  border-radius: 100px;
  background: rgba(0, 188, 225, 0.1);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.util-bar a:hover {
  color: #fff;
  background: rgba(0, 188, 225, 0.2);
  border-color: rgba(0, 188, 225, 0.55);
  transform: translateY(-1px);
}
.util-bar i { color: var(--cyan); }
.util-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  color: #fff;
  font-weight: 500;
  border: 1px solid rgba(255, 146, 15, 0.32);
  border-radius: 100px;
  background: rgba(255, 146, 15, 0.12);
}
.util-tag i { color: var(--amber); }
.util-right > a:nth-child(2) {
  background: rgba(255, 146, 15, 0.12);
  border-color: rgba(255, 146, 15, 0.32);
}
.util-right > a:nth-child(2) i { color: var(--amber); }
.util-right > a:nth-child(2):hover {
  background: rgba(255, 146, 15, 0.22);
  border-color: rgba(255, 146, 15, 0.58);
}
.util-wa {
  background: var(--green);
  color: #fff !important;
  padding: 5px 14px;
  border-color: var(--green) !important;
  border-radius: 100px;
  font-weight: 600;
}
.util-wa i { color: #fff; }
.util-wa:hover { background: #12833c; border-color: #12833c !important; }
@media (max-width: 860px) { .util-bar { display: none; } }

/* ---------------------------------------------------------------- header -- */
.skip-link {
  position: fixed;
  left: 16px; top: -100px;
  z-index: 3000;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 14px; color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 23, 51, 0.08); }

.nav-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { flex: none; }
.andnetics-logo, .brand-logo { height: 56px; width: auto; }

/* On desktop the nav list and the CTA buttons sit on one row. */
.nav-wrap { display: flex; align-items: center; gap: 8px; }
.nav { display: flex; align-items: center; gap: 1px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; }

.nav-link, .nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link:hover, .nav-drop-btn:hover { color: var(--navy); background: var(--surface); }
.nav-link.active, .nav-drop-btn.active { color: var(--cyan-700); font-weight: 600; }
.nav-drop-btn i { font-size: 0.62rem; transition: transform 0.25s var(--ease); }
.nav-item.is-open .nav-drop-btn i { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.nav-actions .btn-primary, .nav-actions .btn-accent { padding: 12px 22px; font-size: 0.9rem; }

/* The services menu: a wide panel with coloured dots. */
.svc-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, -8px);
  width: min(640px, calc(100vw - 40px));
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav-item.is-open .svc-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.svc-panel::before { content: ""; position: absolute; inset: -15px 0 auto; height: 15px; }
.svc-panel a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.svc-panel a::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
}
.svc-panel li:nth-child(6n+2) a::before { background: var(--amber); }
.svc-panel li:nth-child(6n+3) a::before { background: var(--a3); }
.svc-panel li:nth-child(6n+4) a::before { background: var(--a4); }
.svc-panel li:nth-child(6n+5) a::before { background: var(--a5); }
.svc-panel li:nth-child(6n) a::before { background: var(--a6); }
.svc-panel a:hover, .svc-panel a.active { background: var(--surface); color: var(--navy); }

/* Hamburger */
.menu-btn {
  display: none;
  width: 46px; height: 46px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.26s var(--ease), opacity 0.2s var(--ease);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1150px) {
  .menu-btn { display: flex; }
  .nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    background: var(--paper);
    border-top: 1px solid var(--rule);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px var(--gutter) 36px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  }
  .nav-wrap.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-wrap { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--rule); }
  .nav-link, .nav-drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 1rem;
    border-radius: 0;
  }
  .nav-link:hover, .nav-drop-btn:hover { background: none; }
  .svc-panel {
    position: static;
    width: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 0 0 12px 10px;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-item.is-open .svc-panel { display: grid; transform: none; }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 20px 0 0;
    gap: 10px;
  }
  .nav-actions .btn-primary, .nav-actions .btn-accent { width: 100%; padding: 15px 22px; font-size: 0.98rem; }
}

/* ------------------------------------------------------- floating actions - */
.float-actions {
  position: fixed;
  right: 16px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  gap: 12px;
}
.float-actions a {
  position: relative;
  isolation: isolate;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.22s var(--ease);
}
.float-actions a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -4px;
  border: 2px solid var(--pulse-color);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: floating-action-pulse 2.2s ease-out infinite;
}
.float-actions a:nth-child(2)::before { animation-delay: 1.1s; }
.float-actions a:hover { transform: scale(1.08); color: #fff; }
.float-wa {
  --pulse-color: var(--green);
  background: var(--green);
}
/* Amber stays distinct when the button overlaps the navy footer. */
.float-call {
  --pulse-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 0 3px #fff, 0 10px 28px rgba(255, 146, 15, 0.38);
}
@keyframes floating-action-pulse {
  0% { transform: scale(0.9); opacity: 0; }
  18% { opacity: 0.55; }
  72%, 100% { transform: scale(1.38); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .float-actions a::before { animation: none; }
}
@media (max-width: 560px) {
  .float-actions { right: 12px; bottom: 14px; gap: 10px; }
  .float-actions a { width: 48px; height: 48px; font-size: 1.2rem; }
}

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  padding-block: clamp(44px, 5vw, 76px) clamp(56px, 6vw, 88px);
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -5%, rgba(0, 188, 225, 0.18), transparent 60%),
    radial-gradient(820px 460px at -5% 10%, rgba(255, 146, 15, 0.14), transparent 58%),
    linear-gradient(180deg, #f3f8fd 0%, #ffffff 72%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}
.hero > .shell { position: relative; z-index: 1; }

/* The hero is centred: headline, lead, buttons and trust line all stacked. */
.hero-center { max-width: 940px; margin-inline: auto; text-align: center; }
.hero-center .eyebrow { margin-bottom: 22px; }
.hero h1 { margin-inline: auto; }
.hero .lead { margin: 22px auto 0; font-size: clamp(1rem, 1.2vw, 1.14rem); color: var(--text); max-width: 60ch; }
.hero .btn-row { margin-top: 34px; justify-content: center; }
.hero .hero-trust { justify-content: center; }

/* The typed phrase in the headline, with a blinking caret. */
.type-line { display: block; }
.type { color: var(--cyan-700); }
.type-caret {
  display: inline-block;
  width: 4px;
  height: 0.88em;
  margin-left: 6px;
  vertical-align: -0.1em;
  border-radius: 2px;
  background: var(--amber);
  animation: type-caret 1s steps(1) infinite;
}
@keyframes type-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .type-caret { animation: none; } }

/* The small trust line under the hero buttons. */
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 26px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-trust-stars { color: var(--amber); letter-spacing: 0.08em; }
.hero-trust strong { color: var(--ink); }
.hero-trust-sep { color: var(--rule-strong); }

/* ------------------------------------------------------------- about row -- */
/* A photo with floating stat chips, beside the copy and a 2x2 feature grid. */
.about-visual { position: relative; padding: 0 20px 20px 0; }
.about-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}
/* A soft tinted block offset down and right, sitting behind the photo. */
.about-visual::before {
  content: "";
  position: absolute;
  inset: 20px 0 0 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 188, 225, 0.18), rgba(255, 146, 15, 0.16));
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.float-chip-icon {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1.05rem;
}
.float-chip strong { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.1; color: var(--ink); }
.float-chip span:not(.float-chip-icon) { display: block; font-size: 0.76rem; color: var(--muted); line-height: 1.3; }
.float-chip-1 { left: -16px; bottom: 0; }
.float-chip-2 { right: 0; top: 0; }

/* The 2x2 grid of small value props under the about copy. */
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.mini-card {
  padding: 20px 20px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.mini-card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-4px); }
.mini-card-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.mini-card strong { display: block; font-size: 0.98rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.mini-card > span:not(.mini-card-icon) { display: block; font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin-top: 4px; }

@media (max-width: 900px) {
  .about-visual { order: -1; padding: 10px 12px 22px 0; }
  .about-visual > img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .mini-grid { grid-template-columns: minmax(0, 1fr); }
  .float-chip { padding: 10px 14px; gap: 9px; }
  .float-chip-icon { width: 32px; height: 32px; font-size: 0.9rem; }
  .float-chip strong { font-size: 1rem; }
  .float-chip-1 { left: 0; }
}

/* ---------------------------------------------------------- trusted strip - */
.trust-strip {
  padding-block: clamp(32px, 4vw, 52px);
  border-block: 1px solid var(--rule);
  background:
    radial-gradient(circle at 8% 0%, rgba(15, 173, 206, .07), transparent 30%),
    radial-gradient(circle at 92% 100%, rgba(246, 165, 35, .07), transparent 28%),
    var(--surface);
}
.trust-strip-heading {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  max-width: 760px;
  margin: 0 auto 24px;
}
.trust-strip-heading > span { height: 1px; background: linear-gradient(90deg, transparent, var(--rule-strong)); }
.trust-strip-heading > span:last-child { background: linear-gradient(90deg, var(--rule-strong), transparent); }
.trust-strip-title {
  margin: 0;
  text-align: center;
  font-size: clamp(.72rem, 1vw, .8rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.trust-strip-item {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 98px;
  grid-template-rows: 54px auto;
  gap: 6px;
  padding: 12px 10px 10px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(17, 43, 60, .035);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.trust-strip-item:hover { border-color: #b9dce4; box-shadow: 0 10px 26px rgba(17, 43, 60, .09); transform: translateY(-2px); }
/* Logos vary from 243x235 to 1589x372, so fit on both axes rather than
   capping height alone, and show them in colour: several are already pale
   and a grayscale filter made them disappear. */
.trust-strip-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 132px);
  max-height: 50px;
  object-fit: contain;
  margin-inline: auto;
}
.trust-strip-item .client-logo-name {
  max-width: 100%;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 600;
  line-height: 1.25;
}
@media (max-width: 1050px) { .trust-strip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .trust-strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .trust-strip-heading { grid-template-columns: 18px minmax(0, auto) 18px; gap: 10px; }
  .trust-strip-title { white-space: normal; line-height: 1.45; }
  .trust-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust-strip-item { min-height: 94px; padding-inline: 8px; }
  .trust-strip-item img { max-width: min(100%, 124px); max-height: 46px; }
}

/* ------------------------------------------------------- feature strip ---- */
/* Four quick value props on a card that straddles the hero and next section. */
.feature-strip {
  position: relative;
  z-index: 2;
  /* Sits inside the hero, below the trust line — a negative pull-up here
     would cover it. */
  margin-top: clamp(40px, 5vw, 66px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.feature-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 24px;
  border-right: 1px solid var(--rule);
}
.feature-strip > div:last-child { border-right: 0; }
.feature-strip-icon {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.15rem;
}
.feature-strip strong { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.feature-strip span:not(.feature-strip-icon) { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 1000px) {
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-strip > div:nth-child(2n) { border-right: 0; }
  .feature-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .feature-strip { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .feature-strip > div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .feature-strip > div:last-child { border-bottom: 0; }
}

/* ------------------------------------------------------------ stat strip -- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}
.stat-strip > div {
  padding: 26px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}
.stat-strip dt {
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}
.stat-strip dt span { color: var(--cyan); }
.stat-strip dd { margin: 10px 0 0; font-size: 0.86rem; color: var(--on-dark-muted); letter-spacing: 0.02em; }
@media (max-width: 900px) { .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* A light version of the stat strip, used directly under the hero. */
.stat-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
}
.stat-row > div { text-align: center; padding: 10px 14px; border-right: 1px solid var(--rule); }
.stat-row > div:last-child { border-right: 0; }
.stat-row dt { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 800; letter-spacing: -0.035em; color: var(--ink); line-height: 1; }
.stat-row dt span { color: var(--amber); }
.stat-row dd { margin: 8px 0 0; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .stat-row > div:nth-child(2n) { border-right: 0; }
  .stat-row > div:last-child { grid-column: 1 / -1; border-right: 0; }
}

/* ----------------------------------------------------------------- cards -- */
/* The main service card: icon chip, ghost number, title, blurb, bullets. */
.scard {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.scard:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px); }
.scard-num {
  position: absolute;
  top: 6px;
  right: 14px;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--surface-2);
  pointer-events: none;
  user-select: none;
}
.scard-icon {
  position: relative;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.scard h3 { position: relative; margin-bottom: 8px; font-size: 1.14rem; font-weight: 700; }
.scard > p { position: relative; font-size: 0.92rem; color: var(--muted); margin: 0 0 16px; }
.scard-list { position: relative; list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.scard-list li {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.5;
}
.scard-list li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-1px);
}
.scard-more {
  position: relative;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}
.scard-more i { transition: transform 0.22s var(--ease); }
a.scard:hover .scard-more i { transform: translateX(4px); }

/* A plain card for value props and anything simpler. */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px); }
.card h3 { font-size: 1.1rem; }
.card p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.card-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 1.25rem;
}
.band-dark .card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.band-dark .card:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.3); }

/* An image card whose whole surface links. */
.card-media {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.card-media > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-2);
  transition: transform 0.6s var(--ease);
}
.card-media-body { display: flex; flex-direction: column; gap: 9px; padding: 22px 22px 24px; flex: 1; }
.card-media-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-700);
  background: var(--a1-bg);
  border-radius: 100px;
}
.card-media h3 { font-size: 1.1rem; }
.card-media p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.card-media-more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--cyan-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card-media-more i { transition: transform 0.25s var(--ease); }
a.card-media:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px); }
a.card-media:hover > img { transform: scale(1.06); }
a.card-media:hover .card-media-more i { transform: translate(4px, -4px); }

/* -------------------------------------------------------------- the grid -- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1150px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* -------------------------------------------------------------- tag list -- */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
}
.tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}
.tag:nth-child(6n+2)::before { background: var(--amber); }
.tag:nth-child(6n+3)::before { background: var(--a3); }
.tag:nth-child(6n+4)::before { background: var(--a4); }
.tag:nth-child(6n+5)::before { background: var(--a5); }
.tag:nth-child(6n)::before { background: var(--a6); }
.tag:hover { border-color: var(--rule-strong); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ------------------------------------------------------------- split row -- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.value-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.value-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.value-list li::before {
  content: "\F26E"; /* bootstrap-icons check-lg */
  font-family: "bootstrap-icons";
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  font-size: 0.9rem;
  color: var(--a4);
  background: var(--a4-bg);
  border-radius: 9px;
}
.value-list strong { grid-column: 2; display: block; color: var(--ink); font-size: 0.98rem; font-weight: 600; }
.value-list span { grid-column: 2; display: block; font-size: 0.87rem; color: var(--muted); }

/* A wall of client logos. */
.logo-wall {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.logo-wall-title {
  margin: 0 0 20px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.logo-wall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.logo-wall-item {
  display: grid;
  place-items: center;
  height: 82px;
  padding: 14px;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.logo-wall-item img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}
.logo-wall-item:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 420px) { .logo-wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------ pull quote -- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
@media (max-width: 1000px) { .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }

.quote {
  margin: 0;
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.quote:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.quote-stars { color: var(--amber); letter-spacing: 0.12em; font-size: 0.95rem; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 20px; font-size: 0.95rem; line-height: 1.75; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--rule); }
.quote-avatar {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
}
.quote-name { font-weight: 600; color: var(--ink); font-size: 0.93rem; }
.quote-role { font-size: 0.82rem; color: var(--muted); }

/* --------------------------------------------------------------- callout -- */
.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
.callout h2 { max-width: 22ch; }
@media (max-width: 900px) { .callout { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--navy);
  color: var(--on-dark-muted);
  padding-block: clamp(52px, 6vw, 80px) 0;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(360px, 1.35fr);
  gap: clamp(24px, 2.8vw, 42px);
  padding-bottom: 48px;
}
.footer-wordmark {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
  margin: 0 0 16px;
}
.site-footer p { color: var(--on-dark-muted); line-height: 1.7; }
.site-footer h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
/* Long addresses must wrap, or the grid refuses to shrink and the page
   grows a horizontal scrollbar. */
.site-footer a, .footer-contact-item p { overflow-wrap: anywhere; }
.footer-group { margin-top: 32px; }

.footer-reviews {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 22px 0 0;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.footer-reviews:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.1); }
.footer-reviews-score { font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.footer-reviews-text { display: grid; gap: 2px; }
.footer-reviews-stars { color: var(--amber); letter-spacing: 0.08em; font-size: 0.8rem; line-height: 1; }
.footer-reviews-label { font-size: 0.76rem; line-height: 1.2; color: var(--on-dark-muted); }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  color: var(--on-dark);
  font-size: 1rem;
  transition: all 0.22s var(--ease);
}
.footer-social a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }

.footer-contact { display: grid; gap: 20px; }
.footer-contact-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; }
.footer-contact-item > div { min-width: 0; }
.footer-contact-item p { max-width: 34ch; overflow-wrap: normal; }
.footer-contact-item a[href^="mailto:"] { white-space: nowrap; overflow-wrap: normal; }
.footer-contact-item > i {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background: rgba(0, 188, 225, 0.14);
  border-radius: 9px;
  color: var(--cyan);
  font-size: 0.92rem;
}
.footer-contact-item span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}
.footer-contact-item a, .footer-contact-item p { display: block; margin: 0 0 3px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
}
.footer-bottom p { margin: 0; }
.footer-version { color: rgba(255, 255, 255, 0.4); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact-item p { max-width: 34ch; }
}
@media (max-width: 580px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; } }

/* ------------------------------------------------------------- utilities -- */
.center { text-align: center; }
.mt-band { margin-top: clamp(36px, 4vw, 56px); }
.sr-only, .visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------------ tables -- */
table {
  width: 100%;
  margin: 0 0 1.5em;
  border-collapse: collapse;
  font-size: 0.92rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table th, table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  min-width: 140px;
}
table th {
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--surface);
}
table tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   Legacy aliases for pages not yet re-marked-up.
   ========================================================================== */
.web-section { padding-block: var(--band-y); }
.service-section-white { background: var(--paper); }
.service-section-transparent { background: var(--surface); }

.web-heading { max-width: 780px; margin: 0 auto clamp(40px, 4.5vw, 60px); text-align: center; }
.web-heading h2 { margin-bottom: 16px; }
.web-heading h2 .heading-accent {
  color: var(--cyan-700);
  font: inherit;
  letter-spacing: inherit;
}
.web-heading h3 { margin-bottom: 14px; }
.web-heading p { max-width: 68ch; margin-inline: auto; font-size: clamp(1rem, 1.15vw, 1.1rem); color: var(--muted); }

.web-badge, .career-badge, .library-eyebrow, .service-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 18px 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.web-badge::before, .career-badge::before, .library-eyebrow::before, .service-badge::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.web-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  height: 100%;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.web-card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px); }
.web-card > span:first-child {
  align-self: flex-start;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-700);
  background: var(--a1-bg);
  border-radius: 100px;
}
.web-card h3 { font-size: 1.1rem; }
.web-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.web-card img { border-radius: var(--radius-sm); margin-bottom: 4px; }
.digital-marketing-intro { padding-block: clamp(48px, 5vw, 68px); }
.digital-marketing-intro .web-heading { margin-bottom: clamp(26px, 3vw, 38px); }
.digital-marketing-content {
  align-items: stretch !important;
  padding: 0;
}
.digital-marketing-content > div:first-child { display: flex; flex-direction: column; justify-content: center; }
.digital-marketing-content > div:first-child > p { margin-bottom: 20px; font-size: 1.02rem; line-height: 1.75; }
.digital-marketing-intro .service-pills { justify-content: flex-start; gap: 9px; }
.digital-marketing-intro .platform-pill { padding: 8px 14px; font-size: .82rem; }
.digital-marketing-intro .contact-intro-actions { margin-top: 22px !important; }
.digital-marketing-content .service-item-img { height: 100%; min-height: 330px; max-height: 430px; aspect-ratio: 4 / 3; border-radius: 20px; object-fit: cover; box-shadow: 0 14px 34px rgba(3, 22, 65, .12); }
@media (max-width: 991px) {
  .digital-marketing-content .service-item-img { height: auto; min-height: 0; max-height: none; }
}
@media (max-width: 575px) {
  .digital-marketing-intro .service-pills { gap: 8px; }
  .digital-marketing-intro .platform-pill { padding: 7px 11px; font-size: .78rem; }
}
.service-card-row-three { justify-content: center; }
.service-card-row-two { justify-content: center; }
.service-card-row-four-compact > div > .feature-card { padding: 22px 20px; border-radius: 18px; }
.service-card-row-four-compact > div > .feature-card .icon-box { width: 42px; height: 42px; margin-bottom: 13px; font-size: 1.1rem; }
.service-card-row-four-compact > div > .feature-card h3 { font-size: 1rem; }
.service-card-row-four-compact > div > .feature-card p { font-size: .84rem; line-height: 1.65; }
.service-card-row-four-compact .sub-service-body { gap: 10px; padding: 18px; }
.service-card-row-four-compact .sub-service-image { aspect-ratio: 16 / 8; }
.service-card-row-four-compact .sub-service-title-row h3 { min-height: 0; font-size: 1rem; }
.service-card-row-four-compact .sub-service-body > p { font-size: .84rem; line-height: 1.6; }
.service-card-row-three > div { flex: 0 0 33.333333%; max-width: 33.333333%; }
@media (max-width: 767px) {
  .service-card-row-three > div { flex: 0 0 50%; max-width: 50%; }
  .service-card-row-two > div { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 575px) {
  .service-card-row-three > div { flex: 0 0 100%; max-width: 100%; }
  .service-card-row-two > div { flex: 0 0 100%; max-width: 100%; }
}

.home-service-card, .home-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.home-service-card > img, .home-project-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-2);
  transition: transform 0.6s var(--ease);
}
.home-service-card > div, .home-project-card > div {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 22px 24px; flex: 1;
}
.home-service-card h3, .home-project-card h3 { font-size: 1.1rem; }
.home-service-card p, .home-project-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.home-service-card small, .home-project-card small {
  align-self: flex-start;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-700);
  background: var(--a1-bg);
  border-radius: 100px;
}
.home-service-card > div > span,
.home-project-card > div > span,
.home-project-card > div > a:last-child {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--cyan-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
a.home-service-card:hover, a.home-project-card:hover {
  border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px);
}
a.home-service-card:hover > img, a.home-project-card:hover > img { transform: scale(1.06); }

.service-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff !important;
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(3, 22, 65, 0.25);
  transition: all 0.22s var(--ease);
}
.service-detail-link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(3, 22, 65, 0.32); }
.service-detail-link i { transition: transform 0.22s var(--ease); }
.service-detail-link:hover i { transform: translateX(4px); }

.home-value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.home-value-list li {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}
.home-value-list strong { display: block; color: var(--ink); }
.home-value-list span { display: block; font-size: 0.9rem; color: var(--muted); }

/* -------------------------------------------------- inner-page hero & CTA -- */
.contact-intro {
  padding-block: clamp(48px, 5vw, 80px) clamp(44px, 5vw, 68px);
  background:
    radial-gradient(900px 420px at 86% -8%, rgba(0, 188, 225, 0.16), transparent 60%),
    radial-gradient(700px 400px at -4% 10%, rgba(255, 146, 15, 0.12), transparent 58%),
    linear-gradient(180deg, #f3f8fd 0%, #ffffff 76%);
}
.contact-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.contact-intro-copy { max-width: 64ch; }
.contact-intro h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0 0 18px; }
.contact-intro h1 em {
  color: var(--cyan-700);
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.contact-intro h1 em::before { content: " "; }
.contact-intro-copy > p { font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.75; color: var(--muted); margin: 0; }

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.contact-breadcrumb a { color: var(--cyan-700); }
.contact-breadcrumb i { font-size: 0.6rem; }

.contact-intro-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.contact-intro-actions > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--paper);
  transition: all 0.22s var(--ease);
}
.contact-intro-actions > a:first-child {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(3, 22, 65, 0.25);
}
.contact-intro-actions > a:first-child:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(3, 22, 65, 0.32); }
.contact-intro-actions > a:not(:first-child) { border-color: var(--green); color: var(--green); }
.contact-intro-actions > a:not(:first-child):hover { background: var(--green); color: #fff; transform: translateY(-2px); }

.web-tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 16px; }
.web-tech-grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.web-tech-grid-five > .web-tech-card,
.web-tech-grid-five > .web-tech-card:nth-last-child(2) { grid-column: auto; }
@media (max-width: 900px) {
  .web-tech-grid-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .web-tech-grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cms-benefits-section { background: linear-gradient(180deg, #f3fafe 0%, #fff 100%); }
.cms-benefits-section .web-heading { margin-bottom: clamp(30px, 4vw, 48px); }
.cms-benefits-grid { max-width: 1240px; margin-inline: auto; }
.cms-benefit-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
  padding: 26px 26px 30px;
  background: linear-gradient(145deg, #fff 0%, var(--benefit-tint) 180%);
  border: 1px solid color-mix(in srgb, var(--benefit-color) 18%, white);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(3, 22, 65, 0.07);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.cms-benefit-card::before {
  position: absolute;
  z-index: -1;
  top: -44px;
  right: -36px;
  width: 142px;
  height: 142px;
  content: "";
  border: 1px solid color-mix(in srgb, var(--benefit-color) 15%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 18px color-mix(in srgb, var(--benefit-color) 4%, transparent), 0 0 0 38px color-mix(in srgb, var(--benefit-color) 3%, transparent);
}
.cms-benefit-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--benefit-color) 38%, white); box-shadow: 0 20px 42px rgba(3, 22, 65, .12); }
.cms-benefit-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.cms-benefit-icon { display: grid; place-items: center; width: 58px; height: 58px; color: var(--benefit-color); background: var(--benefit-tint); border: 1px solid color-mix(in srgb, var(--benefit-color) 12%, white); border-radius: 18px; font-size: 1.4rem; }
.cms-benefit-index { color: color-mix(in srgb, var(--benefit-color) 34%, white); font-size: 2rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.cms-benefit-card h3 { margin: 0 0 9px; color: var(--ink); font-size: 1.12rem; }
.cms-benefit-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.7; }
.cms-benefit-mark { display: grid; place-items: center; width: 28px; height: 28px; margin-top: auto; padding-top: 12px; color: var(--benefit-color); font-size: 1.1rem; }
@media (max-width: 575px) { .cms-benefit-card { min-height: 0; } }
.web-tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 132px;
  padding: 24px 18px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.web-tech-card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-4px); }
.web-tech-card img { width: 46px; height: 46px; object-fit: contain; }
.web-tech-card i { font-size: 1.5rem; color: var(--cyan-700); }
.web-tech-card h3 { font-size: 0.93rem; font-weight: 600; }
.web-tech-grid.client-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.web-tech-grid.client-logo-grid .web-tech-card { justify-content: start; padding: 16px; min-height: 164px; }
.web-tech-grid.client-logo-grid .web-tech-card img { width: 100%; height: 100px; }
.client-logo-name { display: block; text-align: center; font-size: .8rem; font-weight: 600; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.trust-strip-item img[src*="viaa"], .client-logo-grid img[src*="viaa"] { object-fit: cover; object-position: center 52%; }
@media (max-width: 620px) { .web-tech-grid.client-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.web-faq-wrap {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.web-faq-item {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.web-faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s var(--ease);
}
.web-faq-item > summary::-webkit-details-marker { display: none; }
.web-faq-item > summary > span, .support-faq-item > summary > span { display: none; }
.web-faq-item > summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--cyan-700);
  background: var(--a1-bg);
  border-radius: 8px;
  transition: transform 0.25s var(--ease);
}
.web-faq-item[open] > summary::after { transform: rotate(45deg); }
.web-faq-item > summary:hover { background: var(--surface); }
.web-faq-item > *:not(summary) { padding: 0 24px 22px; color: var(--muted); max-width: 74ch; font-size: 0.93rem; }

.web-cta-section {
  padding-block: clamp(60px, 6vw, 92px);
  text-align: center;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(0, 188, 225, 0.28), transparent 62%),
    radial-gradient(760px 420px at 5% 100%, rgba(255, 146, 15, 0.16), transparent 60%),
    linear-gradient(135deg, #075985 0%, #0e7490 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.web-cta-section h2 { color: #fff; margin-bottom: 16px; }
.web-cta-section p { color: rgba(255, 255, 255, 0.78); max-width: 62ch; margin-inline: auto; font-size: clamp(1rem, 1.15vw, 1.1rem); }
.web-cta-buttons { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 32px; }
.web-cta-buttons > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.22s var(--ease);
}
.web-cta-buttons > a:first-child {
  background: linear-gradient(135deg, var(--amber) 0%, #ff7a00 100%);
  border-color: #ff7a00;
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.3);
}
.web-cta-buttons > a:first-child:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 122, 0, 0.4); }
.web-cta-buttons > a:not(:first-child):hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }

.sub-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.sub-service-card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px); }
.sub-service-image { position: relative; flex: none; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.sub-service-body { display: flex; flex-direction: column; gap: 14px; padding: 24px; flex: 1; min-width: 0; }
.data-industry-grid .sub-service-card { border-radius: 18px; }
.data-industry-grid .sub-service-image { aspect-ratio: 16 / 8; }
.data-industry-grid .sub-service-body { gap: 10px; padding: 18px; }
.data-industry-grid .sub-service-title-row h3 { min-height: 0; font-size: 1rem; }
.data-industry-grid .sub-service-body > p { font-size: .84rem; line-height: 1.6; }
@media (max-width: 767px) {
  .data-industry-grid > div { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 575px) {
  .data-industry-grid > div { flex: 0 0 100%; max-width: 100%; }
}
.sub-service-category {
  display: inline-flex;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-700);
  background: var(--a1-bg);
  border-radius: 100px;
}
.sub-service-title-row h3 { font-size: 1.15rem; line-height: 1.4; min-height: 2.8em; margin: 0; }
.sub-service-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sub-service-number { flex: none; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
@media (max-width: 767px) { .sub-service-title-row h3 { min-height: 0; } }

.web-process-card, .web-highlight-card, .work-info-card, .support-content-card {
  position: relative;
  height: 100%;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.web-process-card:hover, .web-highlight-card:hover,
.work-info-card:hover, .support-content-card:hover {
  border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px);
}
.web-highlight-card {
  overflow: hidden;
  padding: 30px;
  border: 0;
  background: linear-gradient(145deg, #ffffff 0%, #f2fbfd 100%);
  box-shadow: 0 14px 38px rgba(3, 22, 65, 0.09);
}
.web-highlight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-700) 100%);
}
.web-highlight .row > div:nth-child(2) .web-highlight-card::before { background: linear-gradient(180deg, var(--amber) 0%, #ff7a00 100%); }
.web-highlight .row > div:nth-child(2) .web-highlight-icon { background: linear-gradient(135deg, var(--amber), #ff7a00); box-shadow: 0 9px 22px rgba(255, 122, 0, 0.22); }
.web-highlight .row > div:nth-child(3) .web-highlight-card::before { background: linear-gradient(180deg, var(--green) 0%, #0a8f4e 100%); }
.web-highlight .row > div:nth-child(3) .web-highlight-icon { background: linear-gradient(135deg, var(--green), #0a8f4e); box-shadow: 0 9px 22px rgba(15, 157, 88, 0.2); }
.row > div:nth-child(3n+2) > .web-highlight-card::before { background: linear-gradient(180deg, var(--amber) 0%, #ff7a00 100%); }
.row > div:nth-child(3n+2) > .web-highlight-card .web-highlight-icon { background: linear-gradient(135deg, var(--amber), #ff7a00); box-shadow: 0 9px 22px rgba(255, 122, 0, 0.22); }
.row > div:nth-child(3n) > .web-highlight-card::before { background: linear-gradient(180deg, var(--green) 0%, #0a8f4e 100%); }
.row > div:nth-child(3n) > .web-highlight-card .web-highlight-icon { background: linear-gradient(135deg, var(--green), #0a8f4e); box-shadow: 0 9px 22px rgba(15, 157, 88, 0.2); }
.web-highlight-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.web-highlight-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-700), var(--cyan));
  border-radius: 16px;
  box-shadow: 0 9px 22px rgba(0, 155, 190, 0.24);
}
.web-highlight-number { font-size: 2.3rem; font-weight: 800; line-height: 1; color: rgba(3, 22, 65, 0.08); }
.web-highlight-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.web-highlight-card p { margin: 0; line-height: 1.75; }
.web-highlight-card:hover { border-color: transparent; box-shadow: 0 20px 46px rgba(3, 22, 65, 0.14); }
.web-process-card {
  overflow: hidden;
  padding: 0 28px 30px;
  border: 0;
  background: linear-gradient(155deg, #fff 0%, #f5fbfd 100%);
  box-shadow: 0 14px 38px rgba(3, 22, 65, 0.09);
}
.web-process-card::before {
  content: "";
  display: block;
  height: 5px;
  margin: 0 -28px 26px;
  background: linear-gradient(90deg, var(--cyan-700), var(--cyan));
}
.service-process-grid > div:nth-child(2) .web-process-card::before { background: linear-gradient(90deg, #ff7a00, var(--amber)); }
.service-process-grid > div:nth-child(3) .web-process-card::before { background: linear-gradient(90deg, #0a8f4e, var(--green)); }
.service-process-grid > div:nth-child(4n) .web-process-card::before { background: linear-gradient(90deg, var(--navy-700), #315cbd); }
.web-process-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.web-process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto; height: auto;
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(3, 22, 65, 0.1);
  background: transparent;
  border-radius: 0;
  margin: 0;
}
.web-process-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.25rem; color: var(--cyan-700); background: var(--a1-bg); }
.service-process-grid > div:nth-child(2) .web-process-icon { color: #d86200; background: #fff1df; }
.service-process-grid > div:nth-child(3) .web-process-icon { color: #087d45; background: #e5f8ed; }
.service-process-grid > div:nth-child(4n) .web-process-icon { color: var(--navy-700); background: #e8eefc; }
.web-process-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.web-process-card p { margin: 0; line-height: 1.72; }
.web-process-card:hover { border-color: transparent; box-shadow: 0 20px 46px rgba(3, 22, 65, 0.14); }
.web-icon, .work-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  font-size: 1.25rem;
  color: var(--cyan-700);
  background: var(--a1-bg);
  border-radius: 13px;
  margin-bottom: 14px;
}

.career-section, .library-section, .support-content-section, .support-band,
.projects-section, .projects-section-transparent, .software-projects-section,
.work-info-section, .showcase-block { padding-block: var(--band-y); }
.projects-section-transparent, .support-band { background: var(--surface); }
.work-deliver-section { position: relative; overflow: hidden; background: radial-gradient(ellipse at 12% 0%, rgba(0, 188, 225, .1), transparent 40%), linear-gradient(180deg, #f3f8fc 0%, #f8fbfd 100%); }
.work-deliver-section .text-center { margin-bottom: clamp(28px, 4vw, 42px) !important; }
.work-deliver-section .service-subtitle { max-width: 66ch; margin-inline: auto; }
.work-deliver-section .work-info-card { min-height: 230px; padding: 26px 28px; overflow: hidden; border: 1px solid rgba(210, 222, 238, .9); border-radius: 20px; background: linear-gradient(145deg, #fff 0%, #f8fcfe 100%); box-shadow: 0 12px 30px rgba(3, 22, 65, .07); }
.work-deliver-section .work-info-card::before { position: absolute; inset: 0 auto 0 0; width: 4px; content: ""; background: linear-gradient(180deg, var(--cyan), var(--cyan-700)); }
.work-deliver-section .row > div:nth-child(2) .work-info-card::before { background: linear-gradient(180deg, var(--amber), #ff7a00); }
.work-deliver-section .row > div:nth-child(3) .work-info-card::before { background: linear-gradient(180deg, var(--green), #087d45); }
.work-info-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.work-deliver-section .work-icon { width: 54px; height: 54px; margin: 0; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--cyan-700), var(--cyan)); box-shadow: 0 8px 20px rgba(0, 155, 190, .2); }
.work-deliver-section .row > div:nth-child(2) .work-icon { background: linear-gradient(135deg, var(--amber), #ff7a00); }
.work-deliver-section .row > div:nth-child(3) .work-icon { background: linear-gradient(135deg, var(--green), #087d45); }
.work-info-card-number { color: rgba(3, 22, 65, .1); font-size: 2rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.work-deliver-section .work-info-card h3 { margin-bottom: 9px; font-size: 1.1rem; }
.work-deliver-section .work-info-card p { max-width: 38ch; margin: 0; color: var(--muted); line-height: 1.7; }
.work-deliver-section .work-info-card:hover { transform: translateY(-6px); border-color: var(--rule-strong); box-shadow: 0 20px 42px rgba(3, 22, 65, .12); }

.service-title { margin-bottom: 14px; }
.service-subtitle { font-size: clamp(1rem, 1.15vw, 1.1rem); color: var(--muted); }

.service-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.platform-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  overflow-wrap: anywhere;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.platform-pill:hover { border-color: var(--rule-strong); transform: translateY(-2px); box-shadow: var(--shadow); }

/* Review viewport: three complete cards, advancing one card per step. */
.review-carousel { --review-visible: 3; min-width: 0; }
.review-window { overflow: hidden; padding: 6px 0; }
.review-track.quote-grid { display: flex; gap: 22px; align-items: stretch; }
.review-track > .quote { flex: 0 0 calc((100% - 44px) / 3); min-width: 0; display: flex; flex-direction: column; }
.review-track .quote blockquote { flex: 1; overflow-wrap: anywhere; }
.review-track .quote figcaption { margin-top: auto; }
.review-controls { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.review-controls button { display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); width: 60px; height: 60px; padding: 0; font: inherit; font-size: 1.05rem; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.review-controls button:hover { border-color: var(--a1); color: var(--a1); background: var(--a1-bg); transform: translateY(-2px); }
.review-controls button:focus-visible { outline: 2px solid var(--a1); outline-offset: 3px; }
@media (max-width: 1000px) {
  .review-carousel { --review-visible: 2; }
  .review-track > .quote { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 680px) {
  .review-carousel { --review-visible: 1; }
  .review-track > .quote { flex-basis: 100%; }
}

/* Review cards: brand accent, hover depth and a decorative quote mark. */
.review-track > .quote {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 26px;
  border-color: var(--rule);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.review-track > .quote::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.review-track > .quote::after {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: Georgia, serif;
  font-size: 84px;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.review-track > .quote:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 188, 225, 0.35);
  box-shadow: none;
}
.review-track > .quote:hover::before { transform: scaleX(1); }
.review-track > .quote:hover::after { opacity: 0.22; transform: translateY(-3px); }
.review-track .quote-stars { color: var(--amber); font-size: 1rem; margin-bottom: 16px; }
.review-track .quote blockquote { position: relative; z-index: 1; color: var(--text); font-size: 0.96rem; line-height: 1.8; }
.review-track .quote figcaption { align-items: center; padding-top: 18px; border-top-color: var(--rule); }
.review-track .quote-avatar {
  width: 46px; height: 46px;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px rgba(0, 188, 225, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.review-track > .quote:hover .quote-avatar { transform: scale(1.06); box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px rgba(255, 146, 15, 0.45); }
.review-track .quote figcaption > span:last-child { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.review-track .quote-name { color: var(--navy); font-size: 0.97rem; }
.review-track .quote-role {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}
.review-controls button { box-shadow: var(--shadow-sm); }
.review-controls button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .review-track > .quote, .review-track > .quote::before, .review-track > .quote::after, .review-track .quote-avatar { transition: none; }
  .review-track > .quote:hover { transform: none; }
}

/* Keep the complete Home introduction within the space below the header. */
.hero { --hero-header-space: 120px; padding-block: clamp(20px, 3vh, 36px); }
.hero > .shell { min-height: calc(100svh - var(--hero-header-space) - clamp(40px, 6vh, 72px)); display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4vh, 40px); }
.hero-center { width: 100%; max-width: 960px; }
.hero-center .eyebrow { margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 0; text-wrap: balance; }
.hero .lead { margin-top: 18px; max-width: 68ch; }
.hero .btn-row { margin-top: 24px; }
.hero .hero-trust { margin-top: 20px; }
.hero .feature-strip { width: 100%; margin-top: 0; flex-shrink: 0; }
.hero .feature-strip > div { padding: 18px 20px; }
.type-line { min-height: 1.15em; }
.type-caret.type-complete { visibility: hidden; animation: none; }
/* Compact-height laptops need the complete feature strip above the fold. */
@media (min-width: 681px) and (max-height: 850px) {
  .hero { padding-block: 20px; }
  .hero > .shell {
    min-height: calc(100svh - var(--hero-header-space) - 40px);
    gap: clamp(14px, 2.2vh, 20px);
  }
  .hero-center .eyebrow { margin-bottom: 10px; padding-block: 6px; }
  .hero h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.06; }
  .hero .lead { margin-top: 12px; font-size: clamp(.9rem, 1.15vw, 1rem); line-height: 1.55; }
  .hero .btn-row { margin-top: 16px; }
  .hero .btn-row > a { padding-block: 11px; }
  .hero .hero-trust { margin-top: 13px; }
  .hero .feature-strip > div { min-height: 96px; padding: 24px 20px; }
  .hero .feature-strip-icon { width: 46px; height: 46px; }
}
@media (max-width: 680px) {
  .hero > .shell { min-height: 0; }
  .hero-center .eyebrow { font-size: .72rem; }
  .hero .lead { font-size: .95rem; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn-row > a { justify-content: center; }
}
@media (max-width: 420px) {
  .hero { padding-block: 24px 30px; }
  .hero h1 { font-size: clamp(1.85rem, 10vw, 2.35rem); }
  .hero .lead { line-height: 1.6; }
  .hero-trust { justify-content: center; gap: 6px 10px; }
  .hero-trust-sep { display: none; }
  .hero .feature-strip { margin-inline: 0; }
  .hero .feature-strip > div { padding: 14px 16px; }
}

/* ==========================================================================
   Converted inner pages: contact, careers, projects, library, blogs,
   FAQs, sitemap, legal pages and 404. Same tokens and card language as Home.
   ========================================================================== */

/* -------------------------------------------------------------- form fields */
.contact-form label, .career-form label, .blog-comment-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form :is(input, select, textarea),
.career-form :is(input:not([type="checkbox"]), select, textarea),
.blog-comment-form :is(input, textarea),
.support-faq-search input,
#blog-search {
  width: 100%;
  padding: 13px 15px;
  font: 400 0.95rem/1.5 var(--font);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
:is(.contact-form, .career-form, .blog-comment-form) :is(input, select, textarea):focus,
.support-faq-search input:focus, #blog-search:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--cyan-700);
  box-shadow: 0 0 0 4px rgba(0, 188, 225, 0.16);
}
:is(.contact-form, .career-form, .blog-comment-form) textarea { min-height: 130px; resize: vertical; }
:is(.contact-form, .career-form) select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b768c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
::placeholder { color: #98a2b6; opacity: 1; }
.career-honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ------------------------------------------------------------- contact page */
.contact-main-section { padding-block: var(--band-y); background: var(--surface); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}
@media (max-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }

.contact-info-panel {
  padding: clamp(28px, 3.5vw, 44px);
  color: var(--on-dark);
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(0, 188, 225, 0.22), transparent 65%),
    radial-gradient(420px 260px at 0% 100%, rgba(255, 146, 15, 0.14), transparent 62%),
    var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-kicker, .contact-form-head > span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.contact-form-head > span { color: var(--cyan-700); }
.contact-info-panel h2 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 14px; }
.contact-info-panel > p { color: var(--on-dark-muted); font-size: 0.95rem; }
.contact-detail-list { display: grid; gap: 12px; margin: 28px 0; }
.contact-detail-list > * {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-detail-list > a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); }
.contact-detail-list > * > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  font-style: normal;
  font-size: 1.1rem;
  color: var(--cyan);
  background: rgba(0, 188, 225, 0.16);
  border-radius: 12px;
}
.contact-detail-list > :nth-child(2) > i { color: #4ade80; background: rgba(74, 222, 128, 0.14); }
.contact-detail-list > :nth-child(3) > i { color: var(--amber); background: rgba(255, 146, 15, 0.16); }
.contact-detail-list > :nth-child(4) > i { color: #f472b6; background: rgba(244, 114, 182, 0.15); }
.contact-detail-list span { display: flex; flex-direction: column; min-width: 0; }
.contact-detail-list small { font-size: 0.74rem; color: var(--on-dark-muted); }
.contact-detail-list b { color: #fff; font-weight: 600; font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-info-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-info-panel li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--on-dark); }
.contact-info-panel li i { color: #4ade80; }

.contact-form-card {
  padding: clamp(26px, 3.5vw, 44px);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form-head { margin-bottom: 26px; }
.contact-form-head h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 8px; }
.contact-form-head p { font-size: 0.88rem; color: var(--muted); }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.contact-form > :is(.contact-message-field, .contact-form-error, .contact-action-buttons, .contact-privacy-note) { grid-column: 1 / -1; }
@media (max-width: 600px) { .contact-form { grid-template-columns: minmax(0, 1fr); } }
.contact-form-error, .career-form-feedback {
  margin: 0;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #b4232a;
  background: #fff1f1;
  border: 1px solid #fbd0d2;
  border-radius: var(--radius-sm);
}
.contact-action-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-action-buttons button {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 24px;
  font: 600 0.95rem/1.2 var(--font);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}
.contact-email-btn { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); box-shadow: 0 6px 16px rgba(3, 22, 65, 0.25); }
.contact-whatsapp-btn { background: var(--green); box-shadow: 0 6px 16px rgba(22, 163, 74, 0.28); }
.contact-action-buttons button:hover { transform: translateY(-2px); }
.contact-whatsapp-btn:hover { background: #12833c; }
.contact-privacy-note { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.contact-privacy-note a { color: var(--cyan-700); font-weight: 600; }

/* ------------------------------------------------------------------ careers */
.career-section-tint { background: var(--surface); }
.contact-intro-actions > a.career-hero-apply { border-color: var(--amber-700); color: var(--amber-700); }
.contact-intro-actions > a.career-hero-apply:hover { background: var(--amber); border-color: var(--amber); color: #fff; }
.career-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.career-card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px); }
.career-card h3 { font-size: 1.1rem; }
.career-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.career-card-icon, .career-step-no {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--a1);
  background: var(--a1-bg);
  border-radius: 13px;
}
/* Rotate through the six-colour accent set, as the Home cards do. */
.row > :nth-child(6n+2) :is(.career-card-icon, .career-step-no) { color: var(--a2); background: var(--a2-bg); }
.row > :nth-child(6n+3) :is(.career-card-icon, .career-step-no) { color: var(--a3); background: var(--a3-bg); }
.row > :nth-child(6n+4) :is(.career-card-icon, .career-step-no) { color: var(--a4); background: var(--a4-bg); }
.row > :nth-child(6n+5) :is(.career-card-icon, .career-step-no) { color: var(--a5); background: var(--a5-bg); }
.row > :nth-child(6n+6) :is(.career-card-icon, .career-step-no) { color: var(--a6); background: var(--a6-bg); }
.career-apply-link {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan-700);
}
.career-apply-link i { transition: transform 0.22s var(--ease); }
.career-apply-link:hover i { transform: translateX(4px); }
.career-checklist {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.career-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.career-checklist li i { color: var(--green); font-size: 1.1rem; }
@media (max-width: 700px) { .career-checklist { grid-template-columns: minmax(0, 1fr); } }
.career-form {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.career-form label.career-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--text);
}
.career-consent input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); }
.career-consent a { color: var(--cyan-700); font-weight: 600; }
.career-submit-btn { margin-top: 26px; min-width: 240px; }
.career-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.career-form-feedback { margin-top: 16px; }
.career-apply-section { position: relative; overflow: hidden; }
.career-apply-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--rule);
  border-radius: 28px;
  background: radial-gradient(ellipse at 100% 0%, rgba(0, 177, 207, .12), transparent 46%), var(--paper);
  box-shadow: var(--shadow);
}
.career-apply-copy { max-width: 680px; }
.career-apply-copy h2 { margin: 14px 0 10px; color: var(--ink); font-size: clamp(1.7rem, 3.2vw, 2.65rem); line-height: 1.15; }
.career-apply-copy p { max-width: 62ch; margin: 0; color: var(--muted); line-height: 1.7; }
.career-open-modal { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding-inline: 28px; border: 0; cursor: pointer; }
.career-modal { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.career-modal.is-open { visibility: visible; opacity: 1; }
.career-modal-backdrop { position: absolute; inset: 0; background: rgba(3, 16, 43, .72); backdrop-filter: blur(5px); }
.career-modal-panel { position: relative; z-index: 1; width: min(100%, 980px); max-height: min(90dvh, 900px); overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior: contain; padding: clamp(20px, 4vw, 38px); border: 1px solid var(--rule); border-radius: 24px; background: var(--surface); box-shadow: 0 28px 90px rgba(0, 12, 38, .3); outline: none; transform: translateY(12px) scale(.99); transition: transform .2s ease; }
.career-modal-panel::-webkit-scrollbar { display: none; }
.career-modal.is-open .career-modal-panel { transform: translateY(0) scale(1); }
.career-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.career-modal-header h2 { margin: 10px 0 4px; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2rem); }
.career-modal-header p { margin: 0; color: var(--muted); font-size: .92rem; }
.career-modal-close { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); background: var(--paper); cursor: pointer; }
.career-modal-close:hover { color: var(--cyan-700); border-color: var(--cyan-700); }
.career-modal .career-form { max-width: none; padding: clamp(18px, 3vw, 30px); }
body.career-modal-open { overflow: hidden; }
.career-intro { position: relative; overflow: hidden; padding-block: clamp(30px, 3.8vw, 52px); background: radial-gradient(ellipse at 86% 15%, rgba(0,188,225,.16), transparent 36%), radial-gradient(ellipse at 0% 100%, rgba(255,146,15,.1), transparent 30%), linear-gradient(135deg, #f3f8fd 0%, #fff 72%); }
.career-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .75fr); align-items: center; gap: clamp(30px, 5vw, 64px); }
.career-hero-grid .contact-intro-copy { max-width: 700px; }
.career-hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 15px; padding: 8px 13px; border: 1px solid rgba(0,155,190,.18); border-radius: 999px; color: var(--cyan-700); background: #fff; font-size: .82rem; font-weight: 700; }
.career-intro .contact-intro-copy h1 { max-width: 17ch; margin-bottom: 13px; font-size: clamp(2.25rem, 4vw, 3.55rem); line-height: 1.05; letter-spacing: -.045em; }
.career-intro .contact-intro-copy h1 em { display: block; margin-top: 6px; }
.career-intro .contact-intro-copy > p { max-width: 58ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
.career-intro .contact-intro-actions { margin-top: 25px; }
.career-intro .contact-intro-actions > a { min-height: 52px; border-radius: 12px; }
.career-hero-panel { position: relative; overflow: hidden; padding: clamp(22px, 2.4vw, 30px); border-radius: 24px; color: #fff; background: linear-gradient(150deg, #0b2b60 0%, #06163d 75%); box-shadow: 0 24px 55px rgba(3,22,65,.2); }
.career-hero-panel::after { position: absolute; top: -90px; right: -72px; width: 220px; height: 220px; border-radius: 50%; background: rgba(0,188,225,.19); content: ""; }
.career-hero-panel-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; color: #73e5f5; background: rgba(0,188,225,.16); font-size: 1.4rem; }
.career-hero-panel-label { display: block; margin-bottom: 8px; color: #75dcec; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.career-hero-panel h2 { max-width: 15ch; margin: 0 0 11px; color: #fff; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.2; }
.career-hero-panel > p { margin: 0; color: #c5d3e9; font-size: .94rem; line-height: 1.72; }
.career-hero-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 23px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.career-hero-panel-footer > span { display: inline-flex; align-items: center; gap: 8px; color: #e5efff; font-size: .88rem; font-weight: 650; }
.career-hero-panel-footer > span i { color: #75dcec; }
.career-hero-panel-footer > a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--navy); background: #fff; transition: transform .2s ease; }
.career-hero-panel-footer > a:hover { transform: translate(2px, 2px); }
.career-page .career-section { padding-block: clamp(46px, 5.4vw, 76px); }
.career-page .career-section-tint { background: linear-gradient(180deg, #f3f7fc, #f8fbff); }
.career-page .web-heading { margin-bottom: clamp(28px, 3.4vw, 44px); }
.career-page .web-heading h2 { margin-bottom: 10px; }
.career-page .web-heading p { max-width: 65ch; margin-bottom: 0; font-size: 1rem; }
.career-page #open-positions, .career-page #apply-now { scroll-margin-top: calc(var(--header-h) + 18px); }
.career-page .career-card { position: relative; overflow: hidden; padding: clamp(22px, 2.5vw, 30px); border-radius: 20px; background: linear-gradient(145deg, #fff, #fbfdff); }
.career-page .career-card:hover { transform: translateY(-4px); }
.career-page .career-card h3 { margin: 2px 0 0; line-height: 1.3; }
.career-page .career-card p { line-height: 1.7; }
.career-page #open-positions .career-card { min-height: 100%; }
.career-page #open-positions .career-card-icon { width: 52px; height: 52px; border-radius: 16px; }
.career-page .career-apply-link { padding-top: 12px; font-size: .93rem; }
.career-page .career-checklist { max-width: 1040px; gap: 14px; }
.career-page .career-checklist li { min-height: 82px; padding: 20px 22px; border-radius: 16px; background: linear-gradient(120deg, #fff, #fbfdff); box-shadow: 0 8px 22px rgba(3,22,65,.045); line-height: 1.5; }
.career-page .career-checklist li i { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #0e9b54; background: #e3f8ed; }
.career-page .career-step-no { width: 54px; height: 54px; border-radius: 16px; font-size: 1.35rem; }
.career-page .career-section:has(.web-faq-wrap) .web-faq-wrap { max-width: 920px; margin-inline: auto; }
.career-page .web-faq-item { margin-bottom: 10px; border-radius: 15px; }
.career-apply-section { background: linear-gradient(180deg, #edf4fb 0%, #f6f9fd 100%); }
.career-apply-cta { position: relative; overflow: hidden; border-radius: 26px; background: radial-gradient(ellipse at 100% 0%, rgba(0,188,225,.16), transparent 45%), linear-gradient(145deg, #fff, #f8fbff); box-shadow: 0 18px 44px rgba(3,22,65,.09); }
.career-apply-copy h2 { max-width: 20ch; }
@media (max-width: 700px) {
  .career-intro { padding-block: 38px 32px; }
  .career-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .career-intro .contact-intro-copy h1 { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  .career-hero-panel { padding: 23px; border-radius: 19px; }
  .career-hero-panel-icon { margin-bottom: 17px; }
  .career-intro .contact-intro-actions > a { flex: 1 1 100%; justify-content: center; }
  .career-page .career-section { padding-block: 40px; }
  .career-page .web-heading { margin-bottom: 26px; }
  .career-page .career-card { padding: 22px; border-radius: 17px; }
  .career-page .career-checklist { gap: 10px; }
  .career-page .career-checklist li { min-height: 0; padding: 15px; border-radius: 14px; }
  .career-page .career-step-no { width: 46px; height: 46px; }
  .career-apply-cta { align-items: flex-start; flex-direction: column; border-radius: 20px; }
  .career-open-modal { width: 100%; }
  .career-modal { padding: 10px; }
  .career-modal-panel { width: 100%; max-height: calc(100dvh - 20px); padding: 16px; border-radius: 18px; }
  .career-modal .career-form { padding: 18px 14px; }
  .career-submit-btn { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .career-modal, .career-modal-panel { transition: none; } }
.quote-modal { position: fixed; z-index: 1300; inset: 0; display: grid; place-items: center; padding: 22px; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.quote-modal[hidden] { display: none; }
.quote-modal.is-open { visibility: visible; opacity: 1; }
.quote-modal-backdrop { position: absolute; inset: 0; background: rgba(3, 16, 43, .72); backdrop-filter: blur(5px); }
.quote-modal-panel { position: relative; z-index: 1; width: min(100%, 760px); max-height: min(92dvh, 860px); overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior: contain; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--rule); border-radius: 24px; background: var(--paper); box-shadow: 0 28px 90px rgba(0, 12, 38, .3); outline: none; transform: translateY(12px) scale(.99); transition: transform .2s ease; }
.quote-modal-panel::-webkit-scrollbar { display: none; }
.quote-modal.is-open .quote-modal-panel { transform: translateY(0) scale(1); }
.quote-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.quote-modal-header .contact-form-head { margin: 0; }
.quote-modal-header .contact-form-head h2 { margin-bottom: 6px; }
.quote-modal-header .contact-form-head p { margin: 0; }
.quote-modal-close { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border: 1px solid var(--rule); border-radius: 12px; color: var(--navy); background: var(--surface); cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.quote-modal-close:hover { color: #fff; border-color: var(--cyan-700); background: var(--cyan-700); }
.quote-form { padding: 0; }
.quote-form > .career-honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form > .quote-context-fields, .quote-form > .quote-form-feedback, .quote-form > .quote-submit-btn, .quote-form > .contact-privacy-note { grid-column: 1 / -1; }
.quote-context-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding: 16px; border: 1px solid var(--rule); border-radius: 14px; background: linear-gradient(120deg, #f6fbff, #fbfcff); }
.quote-context-heading { grid-column: 1 / -1; margin: 0 0 2px; color: var(--cyan-700); font-size: .82rem; font-weight: 700; }
.quote-context-question-wide { grid-column: 1 / -1; }
.quote-form-feedback { margin: 0; padding: 12px 15px; border: 1px solid #b7e4c7; border-radius: var(--radius-sm); color: #176c39; background: #effaf2; font-size: .9rem; }
.quote-form-feedback.is-error { color: #b4232a; border-color: #fbd0d2; background: #fff1f1; }
.quote-submit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 20px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(110deg, var(--amber), #ff7800); box-shadow: 0 8px 20px rgba(255, 132, 0, .23); font: inherit; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.quote-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255, 132, 0, .3); }
.quote-submit-btn:disabled { opacity: .7; cursor: wait; transform: none; }
body.quote-modal-open { overflow: hidden; }
@media (max-width: 600px) { .quote-modal { padding: 10px; } .quote-modal-panel { max-height: calc(100dvh - 20px); padding: 18px 15px; border-radius: 18px; } .quote-form, .quote-context-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; } .quote-modal-header { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .quote-modal, .quote-modal-panel, .quote-submit-btn { transition: none; } }

/* FAQ summaries already draw their "+" with ::after; hide the markup copy. */
:is(.web-faq-item, .support-faq-item) > summary > span { display: none; }

/* ----------------------------------------------------------------- projects */
.projects-intro h1 .heading-accent { color: var(--cyan-700); }
.projects-intro h1 em { display: block; margin-top: 5px; }
.service-title .heading-accent { color: var(--cyan-700); }
.projects-section-white, .creative-showcase-section { background: var(--paper); }
.creative-showcase-section { padding-block: var(--band-y); }
.creative-showcase-section .showcase-block { padding-block: 0; }
.showcase-carousel { position: relative; width: min(100%, 1120px); margin-inline: auto; padding: 0 56px 46px; overflow-x: clip; }
.showcase-stage { position: relative; display: grid; place-items: center; height: clamp(340px, 39vw, 490px); perspective: 1200px; touch-action: pan-y; }
.showcase-slide {
  position: absolute;
  width: clamp(190px, 24vw, 276px);
  height: min(100%, 460px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  background: var(--navy);
  box-shadow: 0 22px 50px rgba(3, 22, 65, .22);
  transform: translateX(var(--slide-x, 0px)) scale(var(--slide-scale, .7)) rotateY(var(--slide-rotate, 0deg));
  transform-origin: center;
  opacity: var(--slide-opacity, 0);
  z-index: var(--slide-z, 0);
  transition: transform .55s cubic-bezier(.2,.75,.25,1), opacity .45s ease, box-shadow .45s ease;
  will-change: transform;
}
.showcase-slide.is-active { box-shadow: 0 28px 64px rgba(3, 22, 65, .3); }
.showcase-slide video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--navy); }
.showcase-arrow { position: absolute; z-index: 8; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; color: var(--navy); background: #fff; border: 1px solid var(--rule); border-radius: 50%; box-shadow: 0 8px 24px rgba(3, 22, 65, .12); transform: translateY(-50%); transition: transform .2s ease, background .2s ease, color .2s ease; }
.showcase-arrow:hover { color: #fff; background: var(--navy); transform: translateY(-50%) scale(1.06); }
.showcase-arrow-prev { left: 0; }
.showcase-arrow-next { right: 0; }
.showcase-dots { position: absolute; inset: auto 0 0; display: flex; justify-content: center; gap: 9px; }
.showcase-dot { width: 9px; height: 9px; padding: 0; background: #c8d4e3; border: 0; border-radius: 99px; transition: width .25s ease, background .25s ease; }
.showcase-dot[aria-current="true"] { width: 28px; background: var(--cyan-700); }
@media (max-width: 767px) {
  .showcase-carousel { padding: 0 32px 42px; }
  .showcase-stage { height: 390px; }
  .showcase-slide { width: min(58vw, 230px); height: min(100%, 360px); border-radius: 17px; }
  .showcase-arrow { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .showcase-carousel { padding-inline: 23px; }
  .showcase-stage { height: 340px; }
  .showcase-slide { width: min(62vw, 205px); height: 315px; }
  .showcase-arrow { width: 36px; height: 36px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .showcase-slide, .showcase-arrow, .showcase-dot { transition: none; } }

.projects-container { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .projects-grid { grid-template-columns: minmax(0, 1fr); } }
.projects-grid.software-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1100px; margin-inline: auto; }
@media (max-width: 640px) { .projects-grid.software-projects-grid { grid-template-columns: minmax(0, 1fr); } }
.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.portfolio-card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px); }
.portfolio-card-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-2); transition: transform 0.6s var(--ease); }
.portfolio-card:hover .portfolio-card-cover { transform: scale(1.05); }
.portfolio-card-content { position: relative; display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 22px 24px; background: var(--paper); }
.portfolio-card-type {
  align-self: flex-start;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-700);
  background: var(--a1-bg);
  border-radius: 100px;
}
.portfolio-card h3 { font-size: 1.1rem; }
.portfolio-card-description { margin: 0; font-size: 0.9rem; color: var(--muted); }
.portfolio-card-location { margin: 0; font-size: 0.82rem; color: var(--muted); }
.portfolio-card small { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.portfolio-card small b { color: var(--amber-700); }
.portfolio-card small i { width: 4px; height: 4px; border-radius: 50%; background: var(--rule-strong); }
.portfolio-card-content > a {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan-700);
}
.portfolio-card-content > a::after { content: "\2192"; transition: transform 0.22s var(--ease); }
.portfolio-card-content > a:hover::after { transform: translateX(4px); }
.portfolio-blog-style { border-radius: 20px; }
.portfolio-blog-style .portfolio-card-cover { aspect-ratio: 16 / 9; }
.portfolio-blog-style .portfolio-card-content { gap: 12px; padding: 24px; }
.portfolio-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.portfolio-blog-style .portfolio-card-type { margin: 0; padding: 7px 13px; font-size: .72rem; }
.portfolio-blog-style .portfolio-card-location { font-size: .84rem; }
.portfolio-blog-style h3 { margin: 2px 0 0; font-size: 1.22rem; line-height: 1.35; }
.portfolio-blog-style .portfolio-card-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: .98rem; line-height: 1.65; }
.portfolio-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-top: auto; padding-top: 12px; }
.portfolio-blog-style .portfolio-card-footer small { margin: 0; }
.portfolio-blog-style .portfolio-card-footer > a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; margin: 0; padding: 9px 16px; border: 1px solid var(--cyan-700); border-radius: 11px; color: #fff; background: var(--cyan-700); box-shadow: 0 5px 14px rgba(0, 155, 190, .2); font-size: .88rem; font-weight: 700; line-height: 1; text-decoration: none; transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.portfolio-blog-style .portfolio-card-footer > a::after { content: "→"; transition: transform .2s var(--ease); }
.portfolio-blog-style .portfolio-card-footer > a:hover { color: #fff; border-color: var(--navy); background: var(--navy); box-shadow: 0 8px 20px rgba(3, 22, 65, .2); transform: translateY(-2px); }
.portfolio-blog-style .portfolio-card-footer > a:hover::after { transform: translateX(3px); }
.portfolio-blog-style .portfolio-card-footer > a:focus-visible { outline: 3px solid rgba(0, 155, 190, .28); outline-offset: 3px; }
@media (max-width: 640px) {
  .portfolio-blog-style .portfolio-card-content { padding: 20px; }
  .portfolio-blog-style h3 { font-size: 1.1rem; }
  .portfolio-blog-style .portfolio-card-description { font-size: .92rem; }
}

/* ------------------------------------------------------------------ library */
.library-intro { padding-top: var(--band-y); text-align: center; max-width: 920px; scroll-margin-top: calc(var(--header-h) + 20px); }
.library-intro h2 { margin-bottom: 12px; }
.library-intro p, .library-section > p { color: var(--muted); max-width: 72ch; }
.library-intro p { margin-inline: auto; }
.library-jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.library-jump-links button { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 20px; border: 1px solid var(--rule); border-radius: 14px; font: inherit; font-size: 0.94rem; font-weight: 600; color: var(--navy); background: var(--paper); box-shadow: var(--shadow-sm); cursor: pointer; transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.library-jump-links button i { color: var(--cyan-700); }
.library-jump-links button:hover, .library-jump-links button[aria-selected="true"] { color: var(--navy); background: var(--a1-bg); border-color: var(--cyan-700); box-shadow: var(--shadow); transform: translateY(-2px); }
.library-jump-links button:focus-visible { outline: 3px solid rgba(0, 155, 190, .28); outline-offset: 3px; }
.library-page .library-section { padding-block: clamp(40px, 5vw, 64px); }
.library-page > .library-section[id] { scroll-margin-top: calc(var(--header-h) + 18px); }
.library-board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; }
@media (max-width: 600px) { .library-board-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .library-jump-links { display: grid; grid-template-columns: 1fr; width: min(100%, 420px); margin-inline: auto; }
  .library-jump-links button { width: 100%; justify-content: flex-start; }
  .library-page .library-section { padding-block: 34px; }
}
.library-intro + .library-section { padding-top: clamp(40px, 4vw, 60px); }
.library-section > h2 { margin-bottom: 10px; }
.library-section > p { margin-bottom: 28px; }
.library-section > h3 { margin: 32px 0 10px; }
.library-doc {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 14px 16px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.library-doc:hover { color: var(--ink); border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.library-doc > span { min-width: 0; overflow-wrap: anywhere; }
.library-doc::after { flex: none; }
.library-doc i {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  font-size: 1.2rem;
  color: var(--a5);
  background: var(--a5-bg);
  border-radius: 11px;
}
.library-doc::after { content: "\2197"; margin-left: auto; color: var(--muted); }
.library-person {
  height: 100%;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.library-person:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.library-person-media { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--surface-2), var(--a1-bg)); }
.library-person-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 20%; }
.library-person-initials {
  display: grid;
  place-items: center;
  width: 92px; height: 92px;
  margin: 0;
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--cyan-700) 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--a1-bg);
}
.row > :nth-child(3n+2) .library-person-initials { background: linear-gradient(135deg, var(--amber-700), var(--amber)); box-shadow: 0 0 0 6px var(--a2-bg); }
.row > :nth-child(3n+3) .library-person-initials { background: linear-gradient(135deg, var(--a3), #a78bfa); box-shadow: 0 0 0 6px var(--a3-bg); }
.library-person h3 { margin: 20px 20px 4px; font-size: 1.1rem; }
.library-person p { margin: 0 20px 24px; font-size: 0.88rem; color: var(--cyan-700); font-weight: 500; }
.library-stat {
  padding: 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.library-stat b { display: block; font-size: 1.8rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.library-stat span { font-size: 0.88rem; color: var(--muted); }
.library-story-roadmap { position: relative; display: grid; gap: 16px; max-width: 1040px; margin: 30px auto 36px; }
.library-heading { max-width: 900px; }
.library-team-heading { margin-top: clamp(44px, 6vw, 72px); }
.library-story-roadmap::before { position: absolute; top: 30px; bottom: 30px; left: 27px; width: 3px; border-radius: 99px; background: linear-gradient(180deg, var(--a1), var(--a2), var(--a3)); content: ""; }
.library-story-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 16px; }
.library-story-marker { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border: 5px solid var(--paper); border-radius: 50%; color: #fff; background: var(--a1); box-shadow: 0 0 0 1px var(--rule), 0 5px 14px rgba(3,22,65,.1); font-size: .72rem; font-weight: 800; }
.library-story-step:nth-child(2) .library-story-marker { background: var(--a2); }
.library-story-step:nth-child(3) .library-story-marker { background: var(--a3); }
.library-story-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 112px; padding: 22px 26px; border: 1px solid #c6eaf3; border-radius: var(--radius); background: linear-gradient(115deg, #eafaff, #f5fcff); box-shadow: var(--shadow-sm); }
.library-story-step:nth-child(2) .library-story-card { border-color: #f4dfbd; background: linear-gradient(115deg, #fff7e9, #fffdf8); }
.library-story-step:nth-child(3) .library-story-card { border-color: #dfd3f8; background: linear-gradient(115deg, #f5efff, #fcfaff); }
.library-story-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.library-story-icon, .library-story-feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--cyan-700); background: var(--a1-bg); font-size: 1.15rem; }
.library-story-step:nth-child(2) .library-story-icon { color: var(--amber-700); background: var(--a2-bg); }
.library-story-step:nth-child(3) .library-story-icon { color: var(--a3); background: var(--a3-bg); }
.library-story-feature { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; max-width: 1040px; margin: 0 auto 28px; padding: 24px 26px; border: 1px solid #bfe5ec; border-radius: var(--radius); background: linear-gradient(110deg, #e8faff, #eef4ff); }
.library-story-feature h3 { margin: 0 0 7px; font-size: 1.12rem; }
.library-story-feature p { margin: 0; color: var(--muted); line-height: 1.7; }
.library-story-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 0 auto; }
.library-story-stats .library-stat { padding: 22px 16px; }
.library-story-stats .library-stat:nth-child(1) { border-color: #c6eaf3; background: #effbff; }
.library-story-stats .library-stat:nth-child(2) { border-color: #f4dfbd; background: #fff8ed; }
.library-story-stats .library-stat:nth-child(3) { border-color: #dfd3f8; background: #f8f4ff; }
@media (max-width: 600px) {
  .library-story-roadmap { gap: 12px; margin-block: 24px 28px; }
  .library-story-roadmap::before { left: 22px; }
  .library-story-step { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
  .library-story-marker { width: 44px; height: 44px; border-width: 4px; font-size: .66rem; }
  .library-story-card { grid-template-columns: 1fr; gap: 12px; min-height: 0; padding: 18px; }
  .library-story-icon, .library-story-feature-icon { width: 40px; height: 40px; }
  .library-story-feature { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px; }
  .library-story-stats { grid-template-columns: 1fr; gap: 10px; }
}

/* -------------------------------------------------------------------- blogs */
.blogs-page { padding-block: var(--band-y); }
.blogs-page > .mb-4:first-child h2 { margin-bottom: 10px; }
.blogs-page > .mb-4:first-child p { color: var(--muted); margin-bottom: 8px; }
#blog-result-count { font-size: 0.82rem; font-weight: 600; color: var(--cyan-700); }
#blog-search { max-width: 560px; }
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.blog-card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px); }
.blog-card > a { overflow: hidden; }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card:hover img { transform: none; }
.blog-card-body { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 8px 10px; flex: 1; padding: 22px; }
.blog-card-body > * { flex-basis: 100%; margin: 0; }
.blog-card-body > strong {
  flex-basis: auto;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-700);
  background: var(--a1-bg);
  border-radius: 100px;
}
.blog-card-body > strong + small { flex-basis: auto; font-size: 0.8rem; color: var(--muted); }
.blog-card-body h2 { font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.015em; margin-top: 4px; }
.blog-card-body h2 a { color: var(--ink); }
.blog-card-body h2 a:hover { color: var(--cyan-700); }
.blog-card-body > p {
  font-size: 0.9rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-body > .blog-read-more { flex-basis: auto; margin-right: auto; padding-top: 6px; font-size: 0.88rem; font-weight: 600; color: var(--cyan-700); }
.blog-card-body > .blog-read-more::after { content: " \2192"; }
.blog-card-body > .blog-read-more + small { flex-basis: auto; padding-top: 6px; font-size: 0.8rem; color: var(--muted); }
.blogs-page .blog-list-card {
  height: 100%;
  padding: 8px;
  border-color: rgba(17,43,60,.1);
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(17,43,60,.07);
}
.blogs-page .blog-list-card > img { aspect-ratio: 16 / 9; border-radius: 14px; }
.blogs-page a.blog-list-card:hover > img { transform: none; }
.blogs-page .blog-list-card .card-media-body { gap: 10px; padding: 18px 14px 16px; }
.blog-list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.blog-list-meta time { color: var(--muted); font-size: .8rem; }
.blogs-page .blog-list-card h3 { font-size: clamp(1.05rem,1.4vw,1.18rem); font-weight: 600; line-height: 1.4; letter-spacing: -.012em; }
.blogs-page .blog-list-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: .88rem; line-height: 1.65; }
.blogs-page .blog-list-card .card-media-more { width: fit-content; margin-top: auto; padding: 12px 14px; border-radius: 100px; color: var(--navy); background: var(--surface-2); font-size: .82rem; font-weight: 600; }
.blogs-page .blog-list-card .blog-list-counts { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.blogs-page a.blog-list-card:hover { border-color: #add9e3; box-shadow: 0 18px 42px rgba(17,43,60,.12); transform: translateY(-4px); }
.blogs-page a.blog-list-card:hover .card-media-more { color: #fff; background: var(--navy); }
.blog-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 42px 0 16px; }
.blog-page-numbers { display: flex; align-items: center; gap: 8px; }
.blog-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; color: var(--navy); background: #fff; border: 1px solid var(--rule); border-radius: 12px; font-size: .9rem; font-weight: 650; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.blog-page-link:hover { color: var(--cyan-700); border-color: var(--cyan-700); transform: translateY(-2px); }
.blog-page-link.is-current { color: #fff; background: var(--navy); border-color: var(--navy); }
.blog-page-prev, .blog-page-next { gap: 8px; }
@media (max-width: 520px) {
  .blog-pagination { gap: 8px; margin-top: 30px; }
  .blog-page-numbers { gap: 5px; }
  .blog-page-link { min-width: 36px; height: 38px; padding-inline: 9px; border-radius: 10px; }
  .blog-page-prev, .blog-page-next { font-size: 0; gap: 0; }
  .blog-page-prev i, .blog-page-next i { font-size: .9rem; }
}
.blogs-empty { padding: 48px 24px; text-align: center; background: var(--surface); border-radius: var(--radius); }

/* blog article */
.blog-detail { max-width: 860px; padding-block: clamp(40px, 5vw, 72px) var(--band-y); }
.blog-detail h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.blog-detail .contact-breadcrumb { flex-wrap: wrap; }
.blog-date { font-size: 0.86rem; font-weight: 600; color: var(--cyan-700); }
.blog-cover { width: 100%; margin: 24px 0 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.blog-content { font-size: 1.04rem; line-height: 1.85; }
.blog-content :is(h2, h3) { margin: 1.8em 0 0.6em; }
.blog-content h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.blog-content a { color: var(--cyan-700); text-decoration: underline; }
.blog-content :is(ul, ol) { margin: 0 0 1.2em; padding-left: 1.3em; }
.blog-content img { border-radius: var(--radius); margin-block: 1em; }.blog-content figure { margin: 1em 0; }.blog-content :is(p,div):has(> br:only-child) { display:none; }
.blog-author-details { margin-top:28px; }.blog-author-box { display:flex; align-items:center; gap:10px; margin:0; padding:9px 12px; border:1px solid var(--rule); border-radius:12px; background:linear-gradient(135deg,#f5fbff,#fff); color:var(--navy); cursor:pointer; list-style:none; }.blog-author-box::-webkit-details-marker { display:none; }.blog-author-box:hover { border-color:var(--cyan-700); }.blog-author-avatar { display:grid; place-items:center; width:36px; height:36px; overflow:hidden; border-radius:50%; color:#fff; background:var(--navy); font-size:1rem; }.blog-author-avatar img { width:100%; height:100%; object-fit:cover; }.blog-author-box strong,.blog-author-box small,.blog-author-box em { display:block; }.blog-author-box small { margin-top:1px; color:var(--muted); font-size:.78rem; }.blog-author-box em { margin-top:2px; color:var(--cyan-700); font-size:.7rem; font-style:normal; font-weight:600; }.author-chevron { margin-left:auto; color:var(--cyan-700); }.blog-author-bio { margin:8px 0 0; padding:12px 14px; color:var(--muted); font-size:.9rem; border-left:3px solid var(--cyan-700); background:#f7fcff; }
.blog-content :is(figure,h2) + br { display:none; }
.blog-like { margin-top: 36px; }
.blog-like button, .blog-comment-form button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  font: 600 0.9rem/1.2 var(--font);
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.blog-comment-form button { color: #fff; background: var(--navy); border-color: var(--navy); }
.blog-comments { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--rule); }
.blog-comments h2 { font-size: 1.4rem; margin-bottom: 20px; }
.blog-comment { padding: 16px 18px; margin-bottom: 12px; background: var(--surface); border-radius: var(--radius-sm); }
.blog-comment small { margin-left: 8px; color: var(--muted); }
.blog-comment p { margin: 6px 0 0; }
.blog-comment-form { display: grid; gap: 16px; margin-top: 28px; padding: 26px; border: 1px solid var(--rule); border-radius: var(--radius); }
.blog-comment-form h3 { font-size: 1.15rem; }
.blog-comment-form button { justify-self: start; }
.blog-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 48px;
  padding: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(0, 188, 225, 0.2), transparent 62%),
    var(--navy);
  border-radius: var(--radius-lg);
}
.blog-cta h2 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.blog-cta a {
  padding: 14px 26px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--amber) 0%, #ff7a00 100%);
  border-radius: var(--radius-sm);
}
.blog-cta a:hover { color: #fff; }
.blog-related { margin-top: clamp(42px, 6vw, 72px); padding-top: clamp(30px, 4vw, 48px); border-top: 1px solid var(--rule); }
.blog-related-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.blog-related-heading .eyebrow { margin-bottom: 8px; }
.blog-related-heading h2 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.blog-related-heading > a { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan-700); font-weight: 650; white-space: nowrap; }
.blog-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.blog-related-card { min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.blog-related-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.blog-related-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-related-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 18px; }
.blog-related-copy > span { color: var(--cyan-700); font-size: .76rem; font-weight: 650; }
.blog-related-copy h3 { margin: 0; font-size: 1.05rem; line-height: 1.4; }
.blog-related-copy h3 a { color: var(--navy); }
.blog-related-copy p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.blog-related-read { display: inline-flex; gap: 7px; align-items: center; margin-top: 4px; color: var(--cyan-700); font-size: .86rem; font-weight: 650; }
@media (max-width: 720px) { .blog-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .blog-related-heading { align-items: flex-start; flex-direction: column; } .blog-related-grid { grid-template-columns: 1fr; } }

/* 404 boat maze modal. */
.lost-game-open { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid #ccecf1; border-radius: 12px; color: #007f99; background: #f4fcfd; font: inherit; font-size: .91rem; font-weight: 650; transition: background .18s ease, transform .18s ease; }
.lost-game-open:hover { transform: translateY(-2px); background: #e7f8fb; }
.lost-game-open:focus-visible, .lost-game-close:focus-visible, .lost-game-pad button:focus-visible, .lost-game-reset:focus-visible, .lost-game-backdrop:focus-visible { outline: 3px solid #ff9a1f; outline-offset: 3px; }
.lost-game[hidden] { display: none; }
.lost-game { position: fixed; z-index: 2100; inset: 0; display: grid; place-items: center; padding: 18px; }
.lost-game-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3,16,43,.76); backdrop-filter: blur(7px); animation: lost-game-fade .18s ease-out; }
.lost-game-panel { position: relative; z-index: 1; width: min(100%, 590px); max-height: calc(100dvh - 32px); overflow: hidden; padding: clamp(16px, 2.4vw, 22px); border: 1px solid rgba(255,255,255,.65); border-radius: 24px; background: linear-gradient(150deg, #fff 0%, #f1fbfd 100%); box-shadow: 0 30px 90px rgba(0,0,0,.32); animation: lost-game-rise .24s cubic-bezier(.2,.8,.2,1); }
.lost-game-celebration[hidden] { display: none; }
.lost-game-celebration { position: absolute; z-index: 5; inset: 0; display: grid; place-items: center; overflow: hidden; border-radius: inherit; background: rgba(240,251,253,.84); backdrop-filter: blur(3px); pointer-events: none; animation: lost-celebration-in .2s ease-out; }
.lost-game-celebration-copy { position: relative; z-index: 2; max-width: calc(100% - 34px); padding: 22px 26px; border: 1px solid rgba(255,255,255,.9); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 16px 48px rgba(3,22,65,.17); text-align: center; }
.lost-game-celebration-copy { pointer-events: auto; }
.lost-game-celebration-copy > span { display: block; margin-bottom: 6px; font-size: 2.3rem; animation: lost-celebration-pop .5s cubic-bezier(.2,1.6,.4,1) both; }
.lost-game-celebration-copy h2 { margin: 0 0 7px; color: var(--navy); font-size: clamp(1.25rem, 4vw, 1.8rem); line-height: 1.2; }
.lost-game-celebration-copy p { margin: 0; color: #62728a; font-size: .88rem; }
.lost-game-celebration-copy h3 { margin: 16px 0 10px; color: #394b65; font-size: .9rem; font-weight: 650; }
.lost-game-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.lost-game-end-actions :is(button, a) { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 14px; border: 1px solid transparent; border-radius: 11px; font: inherit; font-size: .82rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.lost-game-play-again { color: #fff; background: #ff8500; box-shadow: 0 5px 14px rgba(255,133,0,.24); }
.lost-game-play-again:hover { transform: translateY(-2px); background: #ed7600; }
.lost-game-home { color: var(--navy); border-color: #dce6f0 !important; background: #fff; }
.lost-game-home:hover { transform: translateY(-2px); background: #f4f8fc; }
.lost-game-confetti { position: absolute; z-index: 1; inset: 0; overflow: hidden; }
.lost-game-confetti { pointer-events: none; }
.lost-game-confetti-piece { position: absolute; top: -18px; width: var(--confetti-size); height: calc(var(--confetti-size) * 1.55); border-radius: 2px; background: var(--confetti-color); opacity: 0; animation: lost-confetti-drop var(--fall-time) linear var(--fall-delay) forwards; }
.lost-game-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.lost-game-icon { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; border: 1px solid #d8f0f4; border-radius: 15px; color: #008fab; background: #e8f9fb; font-size: 1.25rem; }
.lost-game-heading > div { flex: 1; min-width: 0; }
.lost-game-kicker { display: block; margin-bottom: 2px; color: #008fab; font-size: .64rem; font-weight: 800; letter-spacing: .12em; }
.lost-game-heading h2 { margin: 0 0 3px; color: var(--ink); font-size: clamp(1.1rem, 3vw, 1.35rem); }
.lost-game-heading p { margin: 0; color: var(--muted); font-size: .82rem; }
.lost-game-timer { min-width: 64px; padding: 8px 10px; border: 1px solid #dfeaf1; border-radius: 11px; color: var(--navy); background: #fff; font-size: .95rem; font-weight: 750; font-variant-numeric: tabular-nums; text-align: center; }
.lost-game-close { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border: 1px solid #e2eaf1; border-radius: 11px; color: #627188; background: #fff; }
.lost-game-close:hover { color: #fff; border-color: #10254d; background: #10254d; }
.lost-game-board { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); grid-template-rows: repeat(9, minmax(0, 1fr)); gap: 4px; width: min(100%, 360px); aspect-ratio: 13 / 9; margin-inline: auto; padding: 8px; overflow: hidden; border: 1px solid #bfe8ef; border-radius: 17px; background: linear-gradient(180deg, #dff8fb, #bdebf1); box-shadow: inset 0 3px 14px rgba(0,112,140,.11), 0 8px 24px rgba(0,112,140,.08); }
.lost-game-cell { position: relative; display: grid; min-width: 0; min-height: 0; place-items: center; overflow: hidden; border-radius: 6px; font-size: clamp(.66rem, 2vw, 1rem); }
.lost-game-cell.is-water { color: #007e9c; background: linear-gradient(145deg, #d8f5f8, #c3edf2); box-shadow: inset 0 1px 2px rgba(255,255,255,.9); }
.lost-game-cell.is-water:nth-child(3n) { background: linear-gradient(145deg, #c8eff4, #b9e7ee); }
.lost-game-cell.is-reef { background: linear-gradient(145deg, #10254d, #07183b); box-shadow: inset 0 1px 1px rgba(255,255,255,.12), 0 2px 4px rgba(3,22,65,.14); }
.lost-game-cell.is-person { background: transparent; box-shadow: none; animation: lost-person-step .24s ease-out; }
.lost-person { display: grid; place-items: center; width: min(76%, 22px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; color: #fff; background: linear-gradient(145deg, #ffae43, #ef7028); box-shadow: 0 2px 6px rgba(174,77,17,.28); font-size: clamp(.58rem, 1.4vw, .78rem); animation: lost-person-roam 1.8s linear infinite; transform-origin: center; }
.lost-game-cell.is-person:nth-child(odd) .lost-person { animation-direction: reverse; }
.lost-person i { font-size: .78em; line-height: 1; filter: drop-shadow(0 1px 1px rgba(105,43,4,.25)); }
.lost-boat-svg { display: block; width: 82%; height: 82%; filter: drop-shadow(0 2px 1px rgba(0,43,65,.25)); }
.lost-game-cell.is-home { color: #fff; background: linear-gradient(145deg, #ffad32, #f17b00); box-shadow: 0 0 0 3px rgba(255,153,31,.16); }
.lost-game-cell.is-boat { color: #fff; background: linear-gradient(145deg, #08b9d0, #0083a2); box-shadow: 0 0 0 3px rgba(0,160,190,.16); animation: lost-boat-bob 1.6s ease-in-out infinite; }
.lost-game-board.is-won .is-home { animation: lost-home-glow .55s ease-in-out 2 alternate; }
.lost-game-board.is-bumped { animation: lost-reef-bump .2s ease-in-out; }
.lost-game-footer { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.lost-game-pad { display: grid; flex: 0 0 auto; grid-template-columns: repeat(3, 38px); grid-template-rows: repeat(2, 32px); gap: 4px; }
.lost-game-pad button { display: grid; place-items: center; border: 1px solid #d8e5ef; border-radius: 9px; color: var(--navy); background: #fff; box-shadow: 0 2px 5px rgba(3,22,65,.06); touch-action: manipulation; }
.lost-game-pad button:hover { color: #fff; border-color: #008fab; background: #008fab; }
.lost-game-pad button[data-move="up"] { grid-column: 2; grid-row: 1; }
.lost-game-pad button[data-move="left"] { grid-column: 1; grid-row: 2; }
.lost-game-pad button[data-move="down"] { grid-column: 2; grid-row: 2; }
.lost-game-pad button[data-move="right"] { grid-column: 3; grid-row: 2; }
.lost-game-footer > p { flex: 1; margin: 0; color: #536680; font-size: .84rem; line-height: 1.5; }
.lost-game-reset { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 11px; border: 1px solid #d8e5ef; border-radius: 10px; color: #52637b; background: #fff; font-size: .78rem; font-weight: 650; white-space: nowrap; }
.lost-game-reset:hover { color: #007f99; border-color: #bde8ef; background: #f3fcfd; }
body.maze-modal-open { overflow: hidden; }
@keyframes lost-game-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lost-game-rise { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes lost-celebration-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lost-celebration-pop { from { opacity: 0; transform: scale(.55) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes lost-confetti-drop { 0% { opacity: 0; transform: translate3d(0, -18px, 0) rotate(0); } 10% { opacity: 1; } 100% { opacity: .88; transform: translate3d(var(--confetti-drift), 75vh, 0) rotate(720deg); } }
@keyframes lost-boat-bob { 50% { transform: translateY(-2px); } }
@keyframes lost-person-step { from { opacity: .25; scale: .65; } to { opacity: 1; scale: 1; } }
@keyframes lost-person-roam { to { transform: rotate(360deg); } }
@keyframes lost-home-glow { to { box-shadow: 0 0 0 6px rgba(255,153,31,.22), 0 0 18px rgba(255,153,31,.5); } }
@keyframes lost-reef-bump { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@media (max-width: 520px) { .lost-game { padding: 10px; } .lost-game-panel { padding: 16px 12px; border-radius: 19px; } .lost-game-heading { gap: 8px; margin-bottom: 14px; } .lost-game-icon { flex-basis: 38px; width: 38px; height: 38px; border-radius: 12px; } .lost-game-heading p { font-size: .73rem; } .lost-game-timer { min-width: 54px; padding: 7px 6px; font-size: .85rem; } .lost-game-close { flex-basis: 32px; width: 32px; height: 32px; } .lost-game-board { gap: 3px; padding: 6px; border-radius: 13px; } .lost-game-cell { border-radius: 4px; } .lost-game-footer { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 8px 10px; align-items: center; } .lost-game-pad { grid-column: 1; grid-row: 1 / span 2; grid-template-columns: repeat(3, 36px); } .lost-game-footer > p { grid-column: 2; grid-row: 1; min-width: 0; } .lost-game-reset { grid-column: 2; grid-row: 2; justify-self: end; margin: 0; } }
@media (max-height: 560px) { .lost-game-board { width: min(100%, 300px); } .lost-game-panel { padding-block: 12px; } .lost-game-heading { margin-bottom: 10px; } .lost-game-footer { margin-top: 10px; } }
@media (max-height: 440px) { .lost-game-board { width: min(100%, 230px); } .lost-game-heading { margin-bottom: 7px; } .lost-game-heading p { display: none; } .lost-game-footer { margin-top: 7px; } }
@media (prefers-reduced-motion: reduce) { .lost-game-backdrop, .lost-game-panel, .lost-game-cell.is-boat, .lost-game-cell.is-person, .lost-game-cell.is-person .lost-person, .lost-game-board.is-won .is-home, .lost-game-celebration, .lost-game-celebration-copy > span, .lost-game-confetti-piece { animation: none; } }

/* Sitemap page: a compact, scan-friendly directory using the site heading palette. */
.site-map-page { background: #fff; }
.site-map-hero { padding: clamp(34px, 5vw, 66px) 0 clamp(38px, 5.4vw, 72px); background: radial-gradient(ellipse at 78% 12%, rgba(0,188,225,.12), transparent 34%), linear-gradient(180deg, #f4f9fc 0%, #fff 100%); text-align: center; }
.site-map-hero-inner { display: flex; flex-direction: column; align-items: center; }
.site-map-hero .contact-breadcrumb { align-self: flex-start; margin-bottom: clamp(28px, 4vw, 48px); }
.site-map-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--rule); border-radius: 999px; color: var(--navy); background: #fff; box-shadow: 0 3px 10px rgba(3,22,65,.06); font-size: .86rem; font-weight: 650; }
.site-map-kicker i { color: var(--cyan-700); }
.site-map-hero h1 { max-width: 950px; margin: 20px 0 12px; color: var(--ink); font-size: clamp(2.35rem, 5.3vw, 4.2rem); line-height: 1.08; letter-spacing: -.045em; }
.site-map-hero h1 span { color: var(--cyan-700); }
.site-map-hero > .container > p { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.7; }
.site-map-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.site-map-summary span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #e3ebf3; border-radius: 999px; color: #52637b; background: rgba(255,255,255,.88); font-size: .82rem; font-weight: 600; }
.site-map-summary i { color: var(--cyan-700); }
.site-map-content { padding: clamp(34px, 5vw, 62px) 0 clamp(50px, 6vw, 82px); background: #fff; }
.site-map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.site-map-card { min-width: 0; padding: clamp(22px, 3vw, 32px); border: 1px solid #e1e9f2; border-radius: 22px; background: linear-gradient(145deg, #fff 0%, #fbfdff 100%); box-shadow: 0 12px 32px rgba(3,22,65,.055); }
.site-map-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 19px; }
.site-map-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--cyan-700); background: #e4f8fc; font-size: 1.2rem; }
.site-map-card-2 .site-map-icon { color: #c46c00; background: #fff2df; }
.site-map-card-3 .site-map-icon { color: #6550cf; background: #f0edff; }
.site-map-card-4 .site-map-icon { color: #148653; background: #e8f8ef; }
.site-map-count { padding: 6px 10px; border: 1px solid #e5ebf3; border-radius: 999px; color: #718096; background: #fff; font-size: .74rem; font-weight: 650; }
.site-map-card h2 { margin: 0 0 6px; color: var(--ink); font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -.025em; }
.site-map-card > p { min-height: 44px; margin: 0 0 17px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.site-map-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.site-map-card-2 ul, .site-map-card-3 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-map-card a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; padding: 9px 10px; border: 1px solid transparent; border-radius: 10px; color: #34445d; font-size: .86rem; line-height: 1.35; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.site-map-card a i { flex: 0 0 auto; color: #91a0b4; font-size: .75rem; }
.site-map-card a:hover { color: var(--cyan-700); border-color: #d7eef3; background: #f2fbfd; }
.site-map-contact { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 21px 24px; border: 1px solid #dce8f3; border-radius: 19px; background: linear-gradient(105deg, #f3f8fd, #f8fcff); }
.site-map-contact-icon { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: var(--cyan-700); font-size: 1.15rem; }
.site-map-contact > div { flex: 1; min-width: 0; }
.site-map-contact h2 { margin: 0 0 3px; color: var(--ink); font-size: 1rem; }
.site-map-contact p { margin: 0; color: var(--muted); font-size: .86rem; }
.site-map-contact > a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 11px; color: #fff; background: var(--navy); font-size: .85rem; font-weight: 650; white-space: nowrap; }
.site-map-contact > a:hover { color: #fff; background: var(--cyan-700); }
@media (max-width: 700px) { .site-map-grid { grid-template-columns: 1fr; gap: 14px; } .site-map-card { padding: 22px; } .site-map-card > p { min-height: 0; } }
@media (max-width: 520px) { .site-map-hero .contact-breadcrumb { margin-bottom: 24px; } .site-map-hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); } .site-map-card ul, .site-map-card-2 ul, .site-map-card-3 ul { grid-template-columns: 1fr; } .site-map-contact { align-items: flex-start; flex-wrap: wrap; padding: 17px; } .site-map-contact > div { flex-basis: calc(100% - 64px); } .site-map-contact > a { margin-left: 62px; } }

/* ------------------------------------------------- FAQs, sitemap, legal pages */
.support-content-card:hover { transform: none; }
.support-content-card { padding: clamp(22px, 3.5vw, 48px); }
.support-content-card .support-band { padding-block: 0; background: transparent; }
.support-content-card > .support-band + .support-band {
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
}
.support-content-card > .support-band h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 14px; }
.support-content-card > .support-band :is(ul, ol) { padding-left: 1.2em; margin-bottom: 1.1em; }
.support-content-card > .support-band li { margin-bottom: 6px; }
.support-content-card a { color: var(--cyan-700); }
.support-updated {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 28px;
  padding: 8px 16px;
  font-size: 0.85rem;
  background: var(--a1-bg);
  border-radius: 100px;
}
.support-table-wrap { overflow-x: auto; margin-block: 8px 18px; border: 1px solid var(--rule); border-radius: var(--radius-sm); }

.support-faq-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.support-faq-search { flex: 1 1 320px; max-width: 580px; display: flex; flex-direction: column; gap: 8px; margin: 0; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.support-faq-toolbar > p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.support-faq-toolbar #faq-count { font-weight: 700; color: var(--cyan-700); }
.support-faq-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; padding-bottom: 26px; border-bottom: 1px solid var(--rule); }
.support-faq-categories button {
  padding: 8px 16px;
  font: 500 0.84rem/1.3 var(--font);
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.support-faq-categories button:hover { border-color: var(--navy); }
.support-faq-categories button.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.support-faq-groups { display: grid; gap: 44px; }
.support-faq-group-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.support-faq-group-heading h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.support-faq-group-heading span { padding: 3px 11px; font-size: 0.76rem; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 100px; }
.support-faq-list { display: grid; gap: 10px; }
.support-faq-item { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-sm); overflow: hidden; }
.support-faq-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s var(--ease);
}
.support-faq-item > summary::-webkit-details-marker { display: none; }
.support-faq-item > summary:hover { background: var(--surface); }
.support-faq-item > summary::after {
  content: "+";
  flex: none;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  font-size: 1.2rem; font-weight: 400; line-height: 1;
  color: var(--cyan-700);
  background: var(--a1-bg);
  border-radius: 8px;
  transition: transform 0.25s var(--ease);
}
.support-faq-item[open] > summary::after { transform: rotate(45deg); }
.support-faq-item[open] { border-color: var(--rule-strong); box-shadow: var(--shadow-sm); }
.support-faq-item > p { margin: 0; padding: 0 20px 18px; font-size: 0.93rem; color: var(--muted); max-width: 78ch; }
.support-faq-empty { padding: 40px 20px; text-align: center; background: var(--surface); border-radius: var(--radius); }

/* FAQ page: give the large searchable directory clearer hierarchy and a compact mobile flow. */
.faq-intro { position: relative; overflow: hidden; background: radial-gradient(ellipse at 88% 18%, rgba(0, 177, 207, .10), transparent 34%), var(--paper); }
.faq-intro .contact-intro-copy { max-width: 820px; }
.faq-intro .contact-intro-copy h1 { max-width: 16ch; }
.faq-page-section { background: linear-gradient(180deg, #f5f8fc 0%, #eef4fa 100%); }
.faq-page-section > .container { max-width: 1320px; }
.faq-page-section .support-content-card { padding: clamp(20px, 3vw, 40px); border-radius: 24px; background: rgba(255,255,255,.92); box-shadow: 0 18px 55px rgba(3,22,65,.08); }
.faq-page-section .support-faq-toolbar { align-items: end; margin-bottom: 22px; }
.faq-page-section .support-faq-search { max-width: 760px; }
.faq-page-section .support-faq-search input { min-height: 58px; border-radius: 14px; }
.faq-page-section .support-faq-toolbar > p { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); white-space: nowrap; }
.faq-page-section .support-faq-categories { gap: 9px; margin-bottom: 28px; padding: 0 0 24px; }
.faq-page-section .support-faq-categories button { min-height: 42px; padding: 9px 16px; font-size: .84rem; background: #fff; }
.faq-page-section .support-faq-categories button.active { background: var(--navy); box-shadow: 0 5px 14px rgba(3,22,65,.16); }
.faq-page-section .support-faq-groups { gap: 26px; }
.faq-page-section .support-content-card > .support-faq-groups > .support-faq-group,
.faq-page-section .support-content-card > .support-faq-groups > .support-band + .support-band { margin: 0; padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--rule); border-radius: 18px; background: linear-gradient(145deg, #fff 0%, #fbfdff 100%); box-shadow: 0 8px 24px rgba(3,22,65,.045); }
.faq-page-section .support-faq-group-heading { margin-bottom: 18px; }
.faq-page-section .support-faq-group-heading h2 { margin: 0; font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.faq-page-section .support-faq-group-heading span { padding: 6px 12px; background: #eaf1f8; }
.faq-page-section .support-faq-list { gap: 10px; }
.faq-page-section .support-faq-item { border-radius: 13px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.faq-page-section .support-faq-item:hover { border-color: var(--rule-strong); }
.faq-page-section .support-faq-item > summary { min-height: 68px; padding: 17px 20px; font-size: clamp(.96rem, 1.15vw, 1.08rem); }
.faq-page-section .support-faq-item > summary:focus-visible,
.faq-page-section .support-faq-categories button:focus-visible { outline: 3px solid rgba(0,155,190,.35); outline-offset: 3px; }
.faq-page-section .support-faq-item[open] { border-color: rgba(0,155,190,.35); box-shadow: 0 8px 22px rgba(3,22,65,.07); }
.faq-page-section .support-faq-item[open] > summary { color: var(--cyan-700); background: #f5fbfd; }
.faq-page-section .support-faq-item > p { max-width: 88ch; padding: 0 20px 20px; font-size: .96rem; line-height: 1.75; }
.faq-page-section .support-faq-empty { border: 1px dashed var(--rule-strong); background: #f7faff; }
@media (max-width: 700px) {
  .faq-page-section > .container { padding-inline: 12px; }
  .faq-page-section .support-content-card { padding: 16px; border-radius: 18px; }
  .faq-page-section .support-faq-toolbar { align-items: stretch; gap: 12px; }
  .faq-page-section .support-faq-search { flex-basis: 100%; max-width: none; }
  .faq-page-section .support-faq-search input { min-height: 52px; font-size: 16px; }
  .faq-page-section .support-faq-toolbar > p { align-self: flex-start; }
  .faq-page-section .support-faq-categories { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 16px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .faq-page-section .support-faq-categories button { flex: 0 0 auto; min-height: 40px; }
  .faq-page-section .support-faq-groups { gap: 16px; }
  .faq-page-section .support-content-card > .support-faq-groups > .support-faq-group,
  .faq-page-section .support-content-card > .support-faq-groups > .support-band + .support-band { padding: 18px 14px; border-radius: 15px; }
  .faq-page-section .support-faq-group-heading { gap: 8px; margin-bottom: 13px; }
  .faq-page-section .support-faq-item > summary { min-height: 60px; gap: 12px; padding: 14px; line-height: 1.45; }
  .faq-page-section .support-faq-item > p { padding: 0 14px 16px; font-size: .92rem; }
}

.support-sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
@media (max-width: 860px) { .support-sitemap-grid { grid-template-columns: minmax(0, 1fr); } }
.support-content-card .support-sitemap-group,
.support-content-card .support-sitemap-group + .support-sitemap-group {
  margin: 0;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.support-sitemap-group h2 { font-size: 1.2rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.support-sitemap-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.support-sitemap-group a { display: inline-flex; gap: 10px; padding: 4px 0; font-size: 0.93rem; color: var(--text); }
.support-sitemap-group a::before { content: "\203A"; font-weight: 700; color: var(--cyan-700); }
.support-sitemap-group a:hover { color: var(--cyan-700); }

/* A more editorial sitemap layout: clear orientation, purposeful categories, and confident link cards. */
.sitemap-intro { position: relative; overflow: hidden; padding-block: clamp(48px, 6vw, 88px); background: radial-gradient(ellipse at 78% 25%, rgba(0,188,225,.17), transparent 36%), radial-gradient(ellipse at 5% 100%, rgba(255,146,15,.11), transparent 34%), linear-gradient(135deg, #f4f8fd 0%, #fff 72%); }
.sitemap-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); align-items: center; gap: clamp(32px, 7vw, 100px); }
.sitemap-hero-copy { max-width: 720px; }
.sitemap-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 8px 14px; border: 1px solid rgba(0,155,190,.18); border-radius: 999px; color: var(--cyan-700); background: rgba(255,255,255,.8); font-size: .82rem; font-weight: 700; }
.sitemap-intro .sitemap-hero-copy h1 { margin-bottom: 16px; font-size: clamp(2.6rem, 5.3vw, 4.6rem); line-height: 1.04; letter-spacing: -.045em; }
.sitemap-intro .sitemap-hero-copy h1 em { display: inline-block; }
.sitemap-hero-copy > p { max-width: 56ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.sitemap-hero-aside { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; color: #fff; background: linear-gradient(145deg, #092456 0%, #06163d 72%); box-shadow: 0 24px 55px rgba(3,22,65,.2); }
.sitemap-hero-aside::after { position: absolute; width: 200px; height: 200px; right: -80px; top: -105px; content: ""; border-radius: 50%; background: rgba(0,188,225,.22); filter: blur(3px); }
.sitemap-aside-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 17px; color: #70e3f4; background: rgba(0,188,225,.16); font-size: 1.4rem; }
.sitemap-hero-aside > strong { display: block; margin-bottom: 8px; font-size: 1.22rem; }
.sitemap-hero-aside > p { max-width: 38ch; margin: 0; color: #c3d1e8; font-size: .94rem; line-height: 1.7; }
.sitemap-hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.sitemap-hero-stats span { display: flex; align-items: baseline; gap: 7px; color: #b8c9e3; font-size: .82rem; }
.sitemap-hero-stats b { color: #fff; font-size: 1.35rem; }
.sitemap-main { padding-block: clamp(30px, 4vw, 58px) clamp(52px, 6vw, 88px); background: linear-gradient(180deg, #f3f7fc 0%, #fff 100%); }
.sitemap-main > .container { max-width: 1320px; }
.sitemap-main .support-content-card { padding: clamp(18px, 2.5vw, 30px); border: 1px solid rgba(213,225,240,.85); border-radius: 28px; background: rgba(255,255,255,.86); box-shadow: 0 18px 60px rgba(3,22,65,.08); }
.sitemap-main .support-sitemap-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); grid-template-rows: auto auto; gap: 20px; align-items: stretch; }
.sitemap-main .support-content-card .sitemap-group { position: relative; overflow: hidden; min-width: 0; padding: clamp(22px, 2.5vw, 32px); border: 1px solid var(--rule); border-radius: 22px; background: linear-gradient(145deg, #fff 0%, #f9fbfe 100%); box-shadow: 0 8px 24px rgba(3,22,65,.055); }
.sitemap-main .sitemap-group-company { grid-column: 1; grid-row: 1; }
.sitemap-main .sitemap-group-services { grid-column: 2; grid-row: 1 / span 2; }
.sitemap-main .sitemap-group-support { grid-column: 1; grid-row: 2; }
.sitemap-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sitemap-group-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; color: var(--cyan-700); background: #e2f8fc; font-size: 1.25rem; }
.sitemap-group-count { padding: 6px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--muted); background: #fff; font-size: .73rem; font-weight: 700; white-space: nowrap; }
.sitemap-group h2 { margin: 0 0 7px; padding: 0; border: 0; font-size: 1.45rem; letter-spacing: -.025em; }
.sitemap-group > p { min-height: 44px; margin: 0 0 18px; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.sitemap-group ul { display: grid; gap: 7px; }
.sitemap-group a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 9px 11px; border: 1px solid transparent; border-radius: 11px; color: var(--text); font-size: .91rem; font-weight: 550; transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease; }
.sitemap-group a::before { display: none; }
.sitemap-group a i { color: #9aa9bd; font-size: .78rem; opacity: 0; transform: translate(-3px, 3px); transition: opacity .18s ease, transform .18s ease; }
.sitemap-group a:hover { color: var(--cyan-700); border-color: rgba(0,155,190,.16); background: #f0fbfd; transform: translateX(2px); }
.sitemap-group a:hover i { opacity: 1; transform: translate(0, 0); }
.sitemap-group-services ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; }
.sitemap-group-services .sitemap-group-icon { color: #bd6500; background: #fff2df; }
.sitemap-group-support .sitemap-group-icon { color: #11844b; background: #e4f8ed; }
.sitemap-help { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 19px 22px; border: 1px solid #d8edf2; border-radius: 18px; background: linear-gradient(100deg, #f0fbfd, #f8fbff); }
.sitemap-help-icon { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--cyan-700); background: #dff6fb; font-size: 1.15rem; }
.sitemap-help > div { flex: 1; min-width: 0; }
.sitemap-help strong { color: var(--ink); font-size: .95rem; }
.sitemap-help p { margin: 3px 0 0; color: var(--muted); font-size: .84rem; }
.sitemap-help > a { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--cyan-700); font-size: .88rem; font-weight: 700; }
.sitemap-help > a i { transition: transform .18s ease; }
.sitemap-help > a:hover i { transform: translateX(4px); }
@media (max-width: 900px) {
  .sitemap-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); gap: 28px; }
  .sitemap-main .support-sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitemap-main .sitemap-group-company { grid-column: 1; grid-row: auto; }
  .sitemap-main .sitemap-group-services { grid-column: 2; grid-row: 1 / span 2; }
  .sitemap-main .sitemap-group-support { grid-column: 1; grid-row: 2; }
}
@media (max-width: 650px) {
  .sitemap-intro { padding-block: 38px 34px; }
  .sitemap-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sitemap-intro .sitemap-hero-copy h1 { font-size: clamp(2.25rem, 10vw, 3.3rem); }
  .sitemap-hero-aside { padding: 22px; border-radius: 19px; }
  .sitemap-aside-icon { margin-bottom: 16px; }
  .sitemap-main { padding-block: 24px 48px; }
  .sitemap-main > .container { padding-inline: 12px; }
  .sitemap-main .support-content-card { padding: 12px; border-radius: 20px; }
  .sitemap-main .support-sitemap-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .sitemap-main .sitemap-group-company, .sitemap-main .sitemap-group-services, .sitemap-main .sitemap-group-support { grid-column: 1; grid-row: auto; }
  .sitemap-main .support-content-card .sitemap-group { padding: 20px 17px; border-radius: 17px; }
  .sitemap-group-services ul { grid-template-columns: minmax(0, 1fr); }
  .sitemap-group > p { min-height: 0; }
  .sitemap-group a { min-height: 44px; padding-inline: 10px; }
  .sitemap-group a i { opacity: 1; transform: none; }
  .sitemap-help { align-items: flex-start; flex-wrap: wrap; padding: 16px; }
  .sitemap-help > div { flex-basis: calc(100% - 64px); }
  .sitemap-help > a { margin-left: 60px; }
}

/* Sitemap roadmap: a gently animated route connecting the three destination hubs. */
.sitemap-main .support-sitemap-grid { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; align-items: start; }
.sitemap-main .sitemap-route-track { position: relative; display: grid; grid-column: 1 / -1; grid-row: 1; grid-template-columns: inherit; align-items: center; min-height: 58px; margin: 0 6%; }
.sitemap-route-track::before { position: absolute; z-index: 0; top: 50%; right: 12%; left: 12%; height: 2px; content: ""; background: repeating-linear-gradient(90deg, #a9c6d9 0 9px, transparent 9px 17px); background-size: 34px 2px; animation: sitemap-road-dash 1.8s linear infinite; }
.sitemap-route-track > span { position: relative; z-index: 1; display: flex; align-items: center; justify-self: center; gap: 9px; padding: 4px 12px 4px 4px; border: 1px solid #dce7f2; border-radius: 999px; color: var(--ink); background: #fff; box-shadow: 0 4px 14px rgba(3,22,65,.08); }
.sitemap-route-track b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--cyan-700); font-size: .75rem; }
.sitemap-route-track > span:nth-child(2) b { background: #ed8b13; }
.sitemap-route-track > span:nth-child(3) b { background: #16a365; }
.sitemap-route-track small { font-size: .78rem; font-weight: 700; }
.sitemap-main .sitemap-group-company, .sitemap-main .sitemap-group-services, .sitemap-main .sitemap-group-support { grid-row: 2; }
.sitemap-main .sitemap-group-company { grid-column: 1; }
.sitemap-main .sitemap-group-services { grid-column: 2; }
.sitemap-main .sitemap-group-support { grid-column: 3; }
.sitemap-main .support-content-card .sitemap-group { animation: sitemap-stop-arrive .55s both; }
.sitemap-main .sitemap-group-services { animation-delay: .1s; }
.sitemap-main .sitemap-group-support { animation-delay: .2s; }
@keyframes sitemap-road-dash { to { background-position: 34px 0; } }
@keyframes sitemap-stop-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .sitemap-main .support-sitemap-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 14px; }
  .sitemap-main .sitemap-route-track { grid-column: 1; grid-row: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 4px; }
  .sitemap-route-track::before { right: 15%; left: 15%; }
  .sitemap-main .sitemap-group-company, .sitemap-main .sitemap-group-services, .sitemap-main .sitemap-group-support { grid-column: 1; grid-row: auto; }
  .sitemap-main .sitemap-group-services ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .sitemap-main .support-content-card { padding: 12px; }
  .sitemap-main .support-content-card .sitemap-group { padding: 19px 15px; }
  .sitemap-main .sitemap-route-track { margin-inline: -2px; }
  .sitemap-route-track > span { flex-direction: column; gap: 3px; padding: 0 5px 5px; border: 0; background: transparent; box-shadow: none; }
  .sitemap-route-track b { width: 32px; height: 32px; box-shadow: 0 4px 12px rgba(3,22,65,.15); }
  .sitemap-route-track small { font-size: .67rem; }
  .sitemap-route-track::before { top: 16px; right: 20%; left: 20%; }
  .sitemap-main .sitemap-group-services ul { grid-template-columns: minmax(0, 1fr); }
  .sitemap-help { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sitemap-route-track::before, .sitemap-main .support-content-card .sitemap-group { animation: none; }
}

/* Final sitemap layout: a readable, vertical three-stop journey (not three squeezed columns). */
.sitemap-hero-aside > strong { position: relative; z-index: 1; color: #fff; }
.sitemap-roadmap-intro { margin: 0 0 30px 76px; }
.sitemap-roadmap-overline { display: inline-block; margin-bottom: 8px; color: var(--cyan-700); font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.sitemap-roadmap-intro h2 { margin: 0 0 7px; color: var(--ink); font-size: clamp(1.35rem, 2vw, 1.8rem); }
.sitemap-roadmap-intro p { margin: 0; color: var(--muted); font-size: .94rem; }
.sitemap-main .support-sitemap-grid { display: grid; position: relative; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 22px; padding-left: 76px; counter-reset: sitemap-stop; }
.sitemap-main .support-sitemap-grid::before { position: absolute; top: 27px; bottom: 27px; left: 25px; width: 3px; content: ""; border-radius: 5px; background: repeating-linear-gradient(180deg, #87cbd7 0 10px, transparent 10px 18px); background-size: 3px 36px; animation: sitemap-road-vertical 1.7s linear infinite; }
.sitemap-main .support-content-card .sitemap-group { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(20px, 4vw, 54px); align-items: center; min-width: 0; min-height: 0; padding: clamp(22px, 3vw, 34px); border: 1px solid #dce6f1; border-radius: 23px; background: linear-gradient(110deg, #fff 0%, #fbfdff 100%); box-shadow: 0 10px 28px rgba(3,22,65,.065); counter-increment: sitemap-stop; animation: sitemap-stop-arrive .5s both; }
.sitemap-main .support-content-card .sitemap-group-company,
.sitemap-main .support-content-card .sitemap-group-services,
.sitemap-main .support-content-card .sitemap-group-support { grid-column: 1; grid-row: auto; }
.sitemap-main .support-content-card .sitemap-group::before { position: absolute; top: 27px; left: -76px; display: grid; place-items: center; width: 54px; height: 54px; content: "0" counter(sitemap-stop); border: 5px solid #fff; border-radius: 50%; color: #fff; background: var(--cyan-700); box-shadow: 0 0 0 1px #dce6f1, 0 7px 18px rgba(3,22,65,.13); font-size: .82rem; font-weight: 800; }
.sitemap-main .support-content-card .sitemap-group-services::before { background: #ed8b13; }
.sitemap-main .support-content-card .sitemap-group-support::before { background: #16a365; }
.sitemap-main .support-content-card .sitemap-group-heading,
.sitemap-main .support-content-card .sitemap-group h2,
.sitemap-main .support-content-card .sitemap-group > p { grid-column: 1; }
.sitemap-main .support-content-card .sitemap-group-heading { grid-row: 1; align-self: end; margin-bottom: 15px; }
.sitemap-main .support-content-card .sitemap-group h2 { grid-row: 2; margin: 0 0 8px; padding: 0; border: 0; color: var(--ink); font-size: clamp(1.35rem, 2vw, 1.65rem); }
.sitemap-main .support-content-card .sitemap-group > p { grid-row: 3 / span 2; align-self: start; min-height: 0; margin: 0; color: #687991; font-size: .96rem; line-height: 1.65; }
.sitemap-main .support-content-card .sitemap-group ul { grid-column: 2; grid-row: 1 / span 4; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; align-self: center; }
.sitemap-main .support-content-card .sitemap-group a { min-height: 44px; padding: 10px 12px; color: #34445d; font-size: .91rem; line-height: 1.4; }
.sitemap-main .support-content-card .sitemap-group a i { flex: 0 0 auto; opacity: .5; transform: none; }
.sitemap-main .support-content-card .sitemap-group a:hover { color: var(--cyan-700); background: #effbfe; }
.sitemap-main .support-content-card .sitemap-group-company { animation-delay: .04s; }
.sitemap-main .support-content-card .sitemap-group-services { animation-delay: .14s; }
.sitemap-main .support-content-card .sitemap-group-support { animation-delay: .24s; }
@keyframes sitemap-road-vertical { to { background-position: 0 36px; } }
@media (max-width: 760px) {
  .sitemap-roadmap-intro { margin-left: 58px; }
  .sitemap-main .support-sitemap-grid { gap: 18px; padding-left: 58px; }
  .sitemap-main .support-sitemap-grid::before { left: 19px; }
  .sitemap-main .support-content-card .sitemap-group { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 0; padding: 21px 18px; }
  .sitemap-main .support-content-card .sitemap-group::before { top: 24px; left: -58px; width: 46px; height: 46px; border-width: 4px; }
  .sitemap-main .support-content-card .sitemap-group-heading,
  .sitemap-main .support-content-card .sitemap-group h2,
  .sitemap-main .support-content-card .sitemap-group > p,
  .sitemap-main .support-content-card .sitemap-group ul { grid-column: 1; grid-row: auto; }
  .sitemap-main .support-content-card .sitemap-group-heading { margin-bottom: 13px; }
  .sitemap-main .support-content-card .sitemap-group > p { margin-bottom: 15px; }
  .sitemap-main .support-content-card .sitemap-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .sitemap-roadmap-intro { margin: 0 0 22px 49px; }
  .sitemap-main > .container { padding-inline: 10px; }
  .sitemap-main .support-content-card { padding: 13px 10px; }
  .sitemap-main .support-sitemap-grid { padding-left: 49px; }
  .sitemap-main .support-sitemap-grid::before { left: 15px; }
  .sitemap-main .support-content-card .sitemap-group { padding: 18px 14px; border-radius: 17px; }
  .sitemap-main .support-content-card .sitemap-group::before { top: 21px; left: -49px; width: 40px; height: 40px; font-size: .72rem; }
  .sitemap-main .support-content-card .sitemap-group ul { grid-template-columns: minmax(0, 1fr); }
  .sitemap-help { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .sitemap-main .support-sitemap-grid::before,
  .sitemap-main .support-content-card .sitemap-group { animation: none; }
}

/* --------------------------------------------- about / service extra cards */
.feature-card, .highlight-card {
  position: relative;
  height: 100%;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.digital-marketing-card-grid .feature-card { padding: 22px 20px; border-radius: 18px; }
.digital-marketing-card-grid .feature-card .icon-box { width: 42px; height: 42px; margin-bottom: 13px; font-size: 1.1rem; }
.digital-marketing-card-grid .feature-card h3 { font-size: 1rem; }
.digital-marketing-card-grid .feature-card p { font-size: .84rem; line-height: 1.65; }
.feature-card:hover, .highlight-card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-5px); }
.feature-card h3, .highlight-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p, .highlight-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.feature-card .icon-box {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 16px;
  font-size: 1.25rem;
  color: var(--a1);
  background: var(--a1-bg);
  border-radius: 13px;
}
.row > :nth-child(6n+2) .icon-box { color: var(--a2); background: var(--a2-bg); }
.row > :nth-child(6n+3) .icon-box { color: var(--a3); background: var(--a3-bg); }
.row > :nth-child(6n+4) .icon-box { color: var(--a4); background: var(--a4-bg); }
.row > :nth-child(6n+5) .icon-box { color: var(--a5); background: var(--a5-bg); }
.row > :nth-child(6n+6) .icon-box { color: var(--a6); background: var(--a6-bg); }
.highlight-card > i { display: inline-block; margin-bottom: 12px; font-size: 1.3rem; color: var(--green); }
.service-item-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* The sub-service image is a wrapper around the photo plus a category chip. */
div.sub-service-image { position: relative; overflow: hidden; }
.sub-service-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.sub-service-card:hover .sub-service-image > img { transform: scale(1.05); }
.sub-service-image > .sub-service-category {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}
.sub-service-body p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.sub-service-body .service-detail-link { margin-top: 16px; padding: 11px 20px; font-size: 0.88rem; }

/* ----------------------------------------------------------------------- 404 */
.page-not-found {
  padding-block: 20px 52px;
  background:
    radial-gradient(900px 420px at 86% -8%, rgba(0, 188, 225, 0.16), transparent 60%),
    radial-gradient(700px 400px at -4% 10%, rgba(255, 146, 15, 0.12), transparent 58%),
    linear-gradient(180deg, #f3f8fd 0%, #ffffff 76%);
}
.page-not-found-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.page-not-found h1 { margin: 16px 0 18px; }
.page-not-found h1 em {
  color: var(--cyan-700);
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.page-not-found p { color: var(--muted); font-size: 1.05rem; max-width: 52ch; margin-bottom: 28px; }
.page-not-found-art {
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 52%, rgba(0, 188, 225, .12), transparent 62%);
}
.page-not-found-art img {
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 22px 22px rgba(3, 22, 65, .16));
  animation: lost-flyer 3.8s ease-in-out infinite;
}
@keyframes lost-flyer {
  0%, 100% { transform: translate3d(-8px, 6px, 0) rotate(-1.5deg); }
  50% { transform: translate3d(8px, -12px, 0) rotate(1.5deg); }
}
@media (max-width: 860px) {
  .page-not-found { padding-block: 20px 36px; }
  .page-not-found-grid { grid-template-columns: minmax(0, 1fr); }
  .page-not-found-art { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .page-not-found-art img { animation: none; } }

.trust-strip-item > a { display: block; width: 100%; }
.career-form-feedback.success { color: #0f6b3a; background: #e3f8ed; border-color: #bfe9d0; }

/* Home's closing enquiry panel and About's company sections. */
.home-cta { background: radial-gradient(ellipse at 100% 0%, #c9f1fa 0%, transparent 65%), linear-gradient(120deg, #fff3e2, #eef9fc 58%); border-top: 1px solid var(--rule); }
.home-cta .lead { color: var(--text); }
.home-cta .eyebrow { background: rgba(255,255,255,.8); }
.home-cta .callout {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 28px;
  text-align: center;
}
.home-cta .callout h2 { max-width: 22ch; margin-inline: auto; }
.home-cta .callout .lead { max-width: 68ch; margin-inline: auto; }
.home-cta .btn-row { justify-content: center; }

/* Home insights: editorial cards with a softer, less heavy heading. */
.insights-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 173, 206, .07), transparent 25%),
    linear-gradient(180deg, #f8fbfc 0%, var(--surface) 100%);
}
.insights-section .band-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.insights-section .band-head .eyebrow {
  padding: 7px 14px;
  color: var(--cyan-700);
  background: rgba(255, 255, 255, .8);
  border-color: #cde7ed;
  box-shadow: 0 5px 16px rgba(17, 43, 60, .05);
}
.insights-section .band-head h2 {
  max-width: 18ch;
  margin: 0 auto 14px;
}
.insights-section .band-head h2 .hl {
  font-weight: inherit;
  letter-spacing: inherit;
}
.insights-section .band-head .lead { max-width: 58ch; font-size: 1rem; }
.insights-section .grid { gap: clamp(16px, 2vw, 24px); }
.insights-section .card-media {
  padding: 8px;
  border-color: rgba(17, 43, 60, .1);
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(17, 43, 60, .07);
}
.insights-section .card-media > img {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}
.insights-section .card-media-body { padding: 18px 14px 16px; gap: 10px; }
.insights-section .card-media h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.012em;
}
.insights-section .card-media p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: .88rem;
  line-height: 1.65;
}
.insights-section .card-media-more {
  width: fit-content;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 100px;
  color: var(--navy);
  background: var(--surface-2);
  font-size: .82rem;
  font-weight: 600;
}
.insights-section a.card-media:hover > img { transform: none; }
.insights-section a.card-media:hover {
  border-color: #add9e3;
  box-shadow: 0 18px 42px rgba(17, 43, 60, .12);
  transform: translateY(-4px);
}
.insights-section a.card-media:hover .card-media-more { color: #fff; background: var(--navy); }
@media (max-width: 620px) {
  .insights-section .card-media { padding: 7px; }
}
.about-companyIntro { overflow: hidden; background: linear-gradient(145deg, #f7fafc 0%, #eef7fa 100%); }
.about-companyIntro .web-heading { margin-bottom: clamp(30px, 4vw, 48px); }
.about-intro-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(34px, 6vw, 82px); }
.about-intro-visual { position: relative; padding: 0 26px 28px 0; }
.about-intro-visual::before { content: ""; position: absolute; inset: 28px 0 0 28px; border-radius: 26px; background: linear-gradient(145deg, #bdeef7, #fff0d8); }
.about-intro-visual::after { content: ""; position: absolute; top: -16px; left: -16px; width: 92px; height: 92px; border: 2px solid rgba(0,146,180,.2); border-radius: 50%; }
.about-intro-visual img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 24px; box-shadow: 0 22px 52px rgba(17,43,60,.17); }
.about-intro-badge { position: absolute; z-index: 2; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px rgba(17,43,60,.14); backdrop-filter: blur(10px); }
.about-intro-badge strong { color: var(--cyan-700); font-size: 1.45rem; line-height: 1; }
.about-intro-badge span { max-width: 9ch; color: var(--text); font-size: .72rem; font-weight: 600; line-height: 1.25; text-transform: uppercase; letter-spacing: .04em; }
.about-intro-copy { position: relative; padding-left: clamp(0px, 2vw, 24px); }
.about-intro-kicker { display: block; margin-bottom: 18px; color: var(--cyan-700); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.about-intro-copy > p { margin: 0 0 18px; color: var(--text); font-size: clamp(.98rem, 1.15vw, 1.08rem); line-height: 1.8; }
.about-intro-copy > p:first-of-type { color: var(--ink); font-size: clamp(1.05rem, 1.35vw, 1.2rem); font-weight: 500; }
.about-intro-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 24px 0 28px; }
.about-intro-points span { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: .84rem; font-weight: 600; }
.about-intro-points i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #0b7f42; background: #dcf7e8; }

.about-foundation { background: var(--paper); }
.about-roadmap { position: relative; display: grid; gap: 22px; max-width: 1040px; margin-inline: auto; padding-block: 8px; overflow-x: clip; }
.about-roadmap::before,
.about-roadmap::after { content: ""; position: absolute; z-index: 0; top: 34px; bottom: 34px; left: 50%; width: 4px; border-radius: 99px; transform: translateX(-50%); }
.about-roadmap::before { background: #e2eaf0; box-shadow: 0 0 0 7px rgba(17,43,60,.035); }
.about-roadmap::after { background: linear-gradient(180deg, var(--a1), var(--a2), var(--a3), var(--a4)); box-shadow: 0 0 14px rgba(0,146,180,.25); transform: translateX(-50%) scaleY(1); transform-origin: top; }
.about-roadmap-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr); align-items: center; min-width: 0; }
.about-roadmap-marker { position: relative; z-index: 3; grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto; border: 7px solid var(--paper); border-radius: 50%; color: #fff; background: var(--a1); box-shadow: 0 0 0 1px rgba(17,43,60,.08), 0 9px 24px rgba(17,43,60,.18); }
.about-roadmap-marker span { font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
.about-roadmap-card { position: relative; grid-column: 1; grid-row: 1; min-height: 196px; padding: 28px 30px 28px 92px; text-align: left; border: 1px solid #dce7ef; border-radius: 22px; background: linear-gradient(145deg, #fff 0%, #f5fbfd 100%); box-shadow: 0 12px 34px rgba(17,43,60,.08); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.about-roadmap-card::after { content: ""; position: absolute; top: 50%; right: -13px; width: 24px; height: 24px; border-top: 1px solid #dce7ef; border-right: 1px solid #dce7ef; background: #f8fcfd; transform: translateY(-50%) rotate(45deg); }
.about-roadmap-step:nth-child(even) .about-roadmap-card { grid-column: 3; padding: 28px 30px 28px 92px; background: linear-gradient(145deg, #fff 0%, #fff9f0 100%); }
.about-roadmap-step:nth-child(even) .about-roadmap-card::after { right: auto; left: -13px; border: 0; border-bottom: 1px solid #dce7ef; border-left: 1px solid #dce7ef; background: #fffcf7; }
.about-roadmap-step:nth-child(3) .about-roadmap-card { background: linear-gradient(145deg, #fff 0%, #faf7ff 100%); }
.about-roadmap-step:nth-child(4) .about-roadmap-card { background: linear-gradient(145deg, #fff 0%, #f3fcf7 100%); }
.about-roadmap-card:hover { transform: translateY(-4px); border-color: #b9dce4; box-shadow: 0 20px 46px rgba(17,43,60,.13); }
.about-roadmap-card .icon-box { position: absolute; top: 28px; left: 28px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.25rem; color: var(--a1); background: var(--a1-bg); }
.about-roadmap-card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.about-roadmap-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.about-roadmap-step:nth-child(2) .about-roadmap-marker { background: var(--a2); }
.about-roadmap-step:nth-child(2) .icon-box { color: var(--a2); background: var(--a2-bg); }
.about-roadmap-step:nth-child(3) .about-roadmap-marker { background: var(--a3); }
.about-roadmap-step:nth-child(3) .icon-box { color: var(--a3); background: var(--a3-bg); }
.about-roadmap-step:nth-child(4) .about-roadmap-marker { background: var(--a4); }
.about-roadmap-step:nth-child(4) .icon-box { color: var(--a4); background: var(--a4-bg); }

/* Roadmap reveal motion is enabled by JS so the content stays visible if JS
   is unavailable. */
.about-roadmap.roadmap-motion::after { transform: translateX(-50%) scaleY(var(--roadmap-progress, 0)); transition: transform .08s linear; }
.about-roadmap.roadmap-motion .about-roadmap-card {
  opacity: 0;
  transform: translateX(-44px) translateY(14px);
  transition: opacity .62s var(--ease), transform .72s cubic-bezier(.22, 1, .36, 1), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.about-roadmap.roadmap-motion .about-roadmap-step:nth-child(even) .about-roadmap-card { transform: translateX(44px) translateY(14px); }
.about-roadmap.roadmap-motion .about-roadmap-marker { opacity: 0; transform: scale(.45); }
.about-roadmap.roadmap-motion.is-visible .about-roadmap-card { opacity: 1; transform: none; }
.about-roadmap.roadmap-motion.is-visible .about-roadmap-marker { animation: roadmap-marker-in .55s cubic-bezier(.2, 1.5, .4, 1) forwards, roadmap-marker-glow 2.8s ease-in-out 1.2s infinite; }
.about-roadmap.roadmap-motion .about-roadmap-step:nth-child(1) .about-roadmap-card,
.about-roadmap.roadmap-motion .about-roadmap-step:nth-child(1) .about-roadmap-marker { transition-delay: .12s; animation-delay: .12s, 1.3s; }
.about-roadmap.roadmap-motion .about-roadmap-step:nth-child(2) .about-roadmap-card,
.about-roadmap.roadmap-motion .about-roadmap-step:nth-child(2) .about-roadmap-marker { transition-delay: .3s; animation-delay: .3s, 1.5s; }
.about-roadmap.roadmap-motion .about-roadmap-step:nth-child(3) .about-roadmap-card,
.about-roadmap.roadmap-motion .about-roadmap-step:nth-child(3) .about-roadmap-marker { transition-delay: .48s; animation-delay: .48s, 1.7s; }
.about-roadmap.roadmap-motion .about-roadmap-step:nth-child(4) .about-roadmap-card,
.about-roadmap.roadmap-motion .about-roadmap-step:nth-child(4) .about-roadmap-marker { transition-delay: .66s; animation-delay: .66s, 1.9s; }
@keyframes roadmap-marker-in {
  from { opacity: 0; transform: scale(.45); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes roadmap-marker-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(17,43,60,.08), 0 9px 24px rgba(17,43,60,.18); }
  50% { box-shadow: 0 0 0 8px rgba(0,146,180,.08), 0 12px 28px rgba(17,43,60,.22); }
}
.about-achievement-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.about-achievement { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px 20px; text-align: center; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); }
.about-achievement strong { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: var(--a1); }
.about-achievement:nth-child(2) strong { color: var(--a2); }
.about-achievement:nth-child(3) strong { color: var(--a3); }
.about-achievement:nth-child(4) strong { color: var(--a4); }
.about-achievement span { color: var(--text); font-size: .92rem; font-weight: 500; }
.about-partner { padding-block: clamp(40px, 5vw, 72px); }
.about-partner-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: clamp(24px, 4vw, 52px); border: 1px solid #cbe7ee; border-radius: var(--radius-lg); background: linear-gradient(120deg, #eaf8fc, #f4f1ff); }
.about-partner-card h2 { margin-bottom: 20px; }
.about-partner-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-partner-services > div { display: flex; flex-direction: column; gap: 16px; padding: 24px 18px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
.about-partner-services i { font-size: 1.8rem; color: var(--cyan-700); }
.about-partner-services span { font-size: .92rem; font-weight: 600; color: var(--ink); }

/* About: restrained corporate treatment for process, results and partner. */
.about-process { overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f5f9fb 100%); }
.about-process .web-heading { margin-bottom: clamp(36px, 5vw, 58px); }
.about-process-map { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: 1200px; min-height: 450px; margin-inline: auto; padding: 0 18px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.about-process-map::before,
.about-process-map::after { display: none; }
.about-process-route { position: absolute; z-index: 0; top: 112px; left: 1%; display: block; width: 98%; height: 210px; overflow: visible; }
.about-process-route .process-road { fill: none; stroke: #17364a; stroke-width: 21; stroke-linecap: round; filter: drop-shadow(0 5px 5px rgba(17,43,60,.16)); }
.about-process-route .process-lane { fill: none; stroke: rgba(255,255,255,.88); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 10 13; }
.about-process-stage { position: relative; z-index: 1; display: block; min-width: 0; min-height: 450px; padding: 0 8px; border: 0; }
.about-process-stage:nth-of-type(even) { margin-top: 0; }
.about-process-pin { position: absolute; z-index: 3; left: 50%; display: grid; place-items: center; width: 50px; height: 50px; margin: 0; border: 5px solid #fff; border-radius: 50% 50% 50% 7px; color: #fff; background: var(--cyan-700); box-shadow: 0 6px 15px rgba(3,22,65,.2); transform: translateX(-50%) rotate(-45deg); }
.about-process-pin i { transform: rotate(45deg); }
.about-process-stage:nth-of-type(1) .about-process-pin { top: 139px; }
.about-process-stage:nth-of-type(2) .about-process-pin { top: 211px; }
.about-process-stage:nth-of-type(3) .about-process-pin { top: 211px; }
.about-process-stage:nth-of-type(4) .about-process-pin { top: 139px; }
.about-process-stage:nth-of-type(2) .about-process-pin,
.about-process-stage:nth-of-type(3) .about-process-pin,
.about-process-stage:nth-of-type(4) .about-process-pin { color: #fff; background: var(--cyan-700); }
.about-process-pin i { font-size: 1rem; }
.about-process-content { position: absolute; left: 8px; right: 8px; }
.about-process-stage:nth-of-type(odd) .about-process-content { top: 0; }
.about-process-stage:nth-of-type(even) .about-process-content { bottom: 0; }
.about-process-label { display: block; margin: 0; color: var(--cyan-700); font-size: .67rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.about-process-stage h3 { min-height: 2.6em; margin: 8px 0 12px; color: var(--ink); font-size: 1.04rem; line-height: 1.3; }
.about-process-stage p { max-width: 29ch; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.about-process-stage::after { display: none; }
.about-process-stage:last-child::after { display: none; }

.about-achievements { position: relative; overflow: hidden; background: var(--navy); }
.about-achievements::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(0,188,225,.16), transparent 28%), radial-gradient(circle at 90% 80%, rgba(255,146,15,.11), transparent 25%); pointer-events: none; }
.about-achievements > .container { position: relative; }
.about-achievements .web-heading h2 { color: #fff; }
.about-achievements .web-heading p { color: var(--on-dark-muted); }
.about-achievements .web-badge { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); box-shadow: none; }
.about-achievement-grid { gap: 0; padding-block: 10px; border-block: 1px solid rgba(255,255,255,.16); }
.about-achievement { position: relative; min-height: 170px; gap: 16px; padding: 32px 22px; border: 0; border-right: 1px solid rgba(255,255,255,.16); border-radius: 0; background: transparent; box-shadow: none; }
.about-achievement:last-child { border-right: 0; }
.about-achievement strong,
.about-achievement:nth-child(2) strong,
.about-achievement:nth-child(3) strong,
.about-achievement:nth-child(4) strong { color: #fff; font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 700; }
.about-achievement span { color: #aebbd3; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.about-partner { padding-block: clamp(46px, 6vw, 82px); }
.about-partner-card { position: relative; overflow: hidden; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(42px, 6vw, 86px); padding: clamp(34px, 5vw, 68px); border: 0; border-radius: 24px; background: linear-gradient(125deg, #061a45 0%, #0a2657 62%, #08364d 100%); box-shadow: 0 24px 60px rgba(3,22,65,.2); }
.about-partner-card::before { content: ""; position: absolute; top: -160px; right: -120px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.about-partner-card > * { position: relative; z-index: 1; }
.about-partner-card .eyebrow { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); box-shadow: none; }
.about-partner-card h2 { max-width: 17ch; color: #fff; }
.about-partner-card .lead { color: #b7c4db; }
.about-partner-card .btn-primary { color: var(--navy); border-color: #fff; background: #fff; box-shadow: none; }
.about-partner-card .btn-primary:hover { color: var(--navy); box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.about-partner-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.about-partner-card .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.about-partner-services { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.about-partner-services > div { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 4px; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); border-radius: 0; background: transparent; }
.about-partner-services i { font-size: 1.35rem; color: #5dd7ee; }
.about-partner-services span { color: #fff; font-size: .94rem; font-weight: 500; }

/* Global and India coverage: compact photographic cards with editorial copy. */
.place-card {
  position: relative;
  isolation: isolate;
  min-height: 224px;
  border: 0;
  border-radius: 16px;
  background: #061a35;
  box-shadow: 0 10px 26px rgba(17,43,60,.12);
  overflow: hidden;
}
.place-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,18,42,.12) 0%, rgba(3,18,42,.36) 42%, rgba(3,18,42,.94) 100%);
  transition: background .35s var(--ease);
}
.place-card > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform .65s var(--ease), filter .35s var(--ease);
}
.place-card > div {
  position: relative;
  z-index: 2;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 224px;
  padding: 24px 22px;
  text-align: left;
}
.place-card h3,
.home-reach-section .place-card h3 {
  color: #fff;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.place-card p,
.home-reach-section .place-card p {
  max-width: 32ch;
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  line-height: 1.55;
}
.place-card:hover { border: 0; box-shadow: 0 16px 38px rgba(17,43,60,.2); transform: translateY(-4px); }
.place-card:hover::after { background: linear-gradient(180deg, rgba(3,18,42,.22), rgba(3,18,42,.94)); }
.place-card:hover > img { transform: scale(1.06); filter: saturate(1.08); }
.home-reach-section .grid { gap: 18px; }
.client-logo-grid .web-tech-card > a { display: block; width: 100%; }
.about-businessPartners { background: linear-gradient(180deg, #f8fbfc 0%, #f3f7fa 100%); }
.about-businessPartners .web-heading { margin-bottom: clamp(30px, 4vw, 46px); }
@media (max-width: 900px) {
  .about-intro-layout { grid-template-columns: minmax(0, 1fr); }
  .about-intro-visual { max-width: 680px; margin-inline: auto; }
  .about-intro-copy { padding-left: 0; }
  .about-roadmap { gap: 18px; }
  .about-roadmap::before,
  .about-roadmap::after { top: 26px; bottom: 26px; left: 25px; width: 3px; transform: none; }
  .about-roadmap::after { transform: scaleY(1); }
  .about-roadmap-step { grid-template-columns: 52px minmax(0, 1fr); align-items: start; }
  .about-roadmap-marker { grid-column: 1; width: 50px; height: 50px; margin: 18px 0 0; border-width: 6px; }
  .about-roadmap-card,
  .about-roadmap-step:nth-child(even) .about-roadmap-card { grid-column: 2; min-height: 0; padding: 24px 22px 24px 82px; border-radius: 0 20px 20px 20px; }
  .about-roadmap-card::after,
  .about-roadmap-step:nth-child(even) .about-roadmap-card::after { top: 24px; right: auto; left: -10px; width: 18px; height: 18px; border: 0; border-bottom: 1px solid #dce7ef; border-left: 1px solid #dce7ef; background: #fff; }
  .about-roadmap-card .icon-box { top: 24px; left: 22px; }
  .about-roadmap.roadmap-motion::after { transform: scaleY(var(--roadmap-progress, 0)); }
  .about-roadmap.roadmap-motion .about-roadmap-card,
  .about-roadmap.roadmap-motion .about-roadmap-step:nth-child(even) .about-roadmap-card { transform: translateX(34px) translateY(10px); }
  .about-roadmap.roadmap-motion.is-visible .about-roadmap-card,
  .about-roadmap.roadmap-motion.is-visible .about-roadmap-step:nth-child(even) .about-roadmap-card { transform: none; }
  .about-partner-card { grid-template-columns: minmax(0, 1fr); }
  .about-achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-process-map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 0; }
  .about-process-route,
  .about-process-map::after { display: none; }
  .about-process-stage { display: grid; grid-template-rows: auto 1fr; min-height: 250px; padding: 20px; border: 1px solid #d7e4e9; border-radius: 16px; background: rgba(255,255,255,.72); }
  .about-process-stage:nth-of-type(n) .about-process-pin { position: static; margin: 0 0 24px; transform: rotate(-45deg); }
  .about-process-content,
  .about-process-stage:nth-of-type(odd) .about-process-content,
  .about-process-stage:nth-of-type(even) .about-process-content { position: static; }
  .about-process-stage::after { display: none; }
}
@media (max-width: 600px) {
  .about-intro-visual { padding: 0 12px 18px 0; }
  .about-intro-visual::before { inset: 18px 0 0 18px; border-radius: 18px; }
  .about-intro-visual::after { width: 64px; height: 64px; top: -10px; left: -8px; }
  .about-intro-visual img { border-radius: 18px; }
  .about-intro-badge { padding: 11px 14px; border-radius: 13px; }
  .about-intro-points { display: grid; gap: 10px; }
  .about-intro-copy > .btn-primary { width: 100%; }
  .about-roadmap { gap: 16px; }
  .about-roadmap-card,
  .about-roadmap-step:nth-child(even) .about-roadmap-card { padding: 20px 18px; }
  .about-roadmap-card .icon-box { position: static; width: 44px; height: 44px; margin-bottom: 14px; }
  .about-partner-services > div { padding: 20px 14px; }
  .about-process-map { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; border-radius: 0; }
  .about-process-map::before,
  .about-process-map::after { position: absolute; z-index: 0; display: block; top: 52px; bottom: 52px; left: 47px; right: auto; height: auto; mask-image: none; content: ""; }
  .about-process-map::before { width: 8px; border-radius: 99px; background: #17364a; box-shadow: 0 4px 10px rgba(17,43,60,.14); }
  .about-process-map::after { left: 50px; width: 2px; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.92) 0 7px, transparent 7px 14px); }
  .about-process-stage,
  .about-process-stage:nth-of-type(even),
  .about-process-stage:nth-of-type(n+3) { display: grid; grid-template-columns: 58px minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 0 18px; min-height: 0; margin: 0; padding: 20px 0 30px; border: 0; border-radius: 0; background: transparent; }
  .about-process-stage:nth-of-type(n) .about-process-pin { position: relative; z-index: 1; top: auto; left: auto; grid-row: 1; grid-column: 1; width: 56px; height: 56px; margin: 0; border-width: 7px; transform: rotate(-45deg); }
  .about-process-content,
  .about-process-stage:nth-of-type(odd) .about-process-content,
  .about-process-stage:nth-of-type(even) .about-process-content { position: static; grid-row: 1; grid-column: 2; align-self: start; }
  .about-process-label { margin-bottom: 6px; }
  .about-process-stage h3 { min-height: 0; }
  .about-achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-achievement { min-height: 130px; padding: 24px 10px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .about-achievement:nth-child(2) { border-right: 0; }
  .about-achievement:nth-child(n+3) { border-bottom: 0; }
  .about-achievement strong,
  .about-achievement:nth-child(2) strong,
  .about-achievement:nth-child(3) strong,
  .about-achievement:nth-child(4) strong { font-size: 2.25rem; }
  .about-achievement span { font-size: .66rem; }
  .about-partner-card { padding: 30px 22px; border-radius: 18px; }
  .about-partner-card .btn-row { flex-direction: column; align-items: stretch; }
  .about-partner-card .btn-row > a { width: 100%; }
  .place-card,
  .place-card > div { min-height: 210px; }
  .place-card > div { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-roadmap.roadmap-motion::after,
  .about-roadmap.roadmap-motion .about-roadmap-card,
  .about-roadmap.roadmap-motion .about-roadmap-marker {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .about-roadmap.roadmap-motion::after { transform: translateX(-50%) scaleY(1); }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .about-roadmap.roadmap-motion::after { transform: scaleY(1); }
}

/* Final process treatment: simple, equal professional cards. */
.about-process-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  min-height: 0;
  max-width: 1180px;
  padding: 0;
  overflow: visible;
}
.about-process-map::before,
.about-process-map::after,
.about-process-route { display: none; }
.about-process-stage,
.about-process-stage:nth-of-type(even),
.about-process-stage:nth-of-type(n+3) {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  margin: 0;
  padding: 28px 24px;
  border: 1px solid #dce7ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17,43,60,.07);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.about-process-stage:hover {
  border-color: #afd4dd;
  box-shadow: 0 16px 36px rgba(17,43,60,.11);
  transform: translateY(-4px);
}
.about-process-stage::after { display: none; }
.about-process-stage:nth-of-type(n) .about-process-pin {
  position: static;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 0 24px;
  border: 0;
  border-radius: 13px;
  color: var(--cyan-700);
  background: var(--a1-bg);
  box-shadow: none;
  transform: none;
}
.about-process-stage:nth-of-type(n) .about-process-pin i { transform: none; }
.about-process-content,
.about-process-stage:nth-of-type(odd) .about-process-content,
.about-process-stage:nth-of-type(even) .about-process-content {
  position: static;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.about-process-label { margin-bottom: 10px; }
.about-process-stage h3 { min-height: 2.6em; margin: 0 0 12px; }
.about-process-stage p { max-width: none; margin: 0; }
@media (max-width: 900px) {
  .about-process-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-process-stage,
  .about-process-stage:nth-of-type(even),
  .about-process-stage:nth-of-type(n+3) { min-height: 250px; }
}
@media (max-width: 600px) {
  .about-process-map { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .about-process-stage,
  .about-process-stage:nth-of-type(even),
  .about-process-stage:nth-of-type(n+3) { min-height: 0; padding: 24px 20px; }
  .about-process-stage h3 { min-height: 0; }
}
