/* ---------- Self-hosted fonts (latin subset; served from /fonts/) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   SecureFLO — Site Styles
   Professional, light, corporate. Matches SecureFLO branding.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy: #0e2a47;
  --navy-2: #123354;
  --ink: #12263f;
  --body: #45586f;
  --muted: #566a82;

  --accent: #1e6ed6;
  --accent-dark: #1558b3;
  --accent-tint: #e9f1fc;
  --teal: #0e9488;
  --gold: #f0b429;

  --bg: #ffffff;
  --bg-soft: #edf3fb;
  --line: #dde6f2;
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(18, 38, 63, 0.05), 0 2px 8px rgba(18, 38, 63, 0.05);
  --shadow-md: 0 6px 24px -6px rgba(18, 38, 63, 0.12);
  --shadow-lg: 0 20px 50px -20px rgba(18, 38, 63, 0.22);
  --shadow-blue: 0 18px 40px -18px rgba(30, 110, 214, 0.35);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --radius: 10px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.25, 0.7, 0.3, 1);
  --container: 1320px;
  --topbar-h: 40px;
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }   /* no class may override the hidden attribute (e.g. .btn) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; }
::selection { background: rgba(30, 110, 214, 0.18); }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Utilities ---------- */
.container { width: min(var(--container), calc(100% - 48px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--soft { background: var(--bg-soft); }
.section--navy {
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(30, 110, 214, 0.32), transparent 60%),
    radial-gradient(700px 360px at 8% 110%, rgba(14, 148, 136, 0.16), transparent 60%),
    linear-gradient(150deg, #0e2a47 0%, #0d3156 100%);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.h1 { font-size: clamp(2.1rem, 4.5vw, 3.7rem); line-height: 1.1; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.h3 { font-size: 1.22rem; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--body); max-width: 640px; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head .h2 { margin-bottom: 14px; }

.section--navy .eyebrow { color: #8ab8f5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255, 255, 255, 0.78); }

/* ---------- Reveal animations (subtle) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
[data-stagger] > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
[data-stagger].in-view > * { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700; font-size: 0.95rem;
  line-height: 1.2;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: linear-gradient(180deg, #2a7ae0 0%, var(--accent) 55%, #1a63c6 100%); color: #fff; box-shadow: 0 2px 10px -2px rgba(30, 110, 214, 0.45); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(30, 110, 214, 0.5); }

.btn--outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-dark); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }

.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #eef4fa; color: var(--navy); transform: translateY(-1px); }

.btn--ghost-light { border: 1.5px solid rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--sm { padding: 10px 18px; font-size: 0.88rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.94rem;
  color: var(--accent-dark);
}
.text-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--accent-dark); }
.text-link:hover svg { transform: translateX(3px); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  height: var(--topbar-h);
  display: flex; align-items: center;
  position: relative; z-index: 60;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar__contacts { display: flex; gap: 22px; align-items: center; }
.topbar__contacts a {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255, 255, 255, 0.85);
}
.topbar__contacts a:hover { color: #fff; }
.topbar__contacts svg { width: 13px; height: 13px; color: #8ab8f5; }
.topbar__note { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); }
.topbar__note a { color: #8ab8f5; font-weight: 600; }
.topbar__note a:hover { color: #b7d5fb; }
@media (max-width: 720px) {
  .topbar__note { display: none; }
  .topbar__contacts { justify-content: center; width: 100%; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s, background 0.25s;
}
.header.is-scrolled { box-shadow: var(--shadow-md); background: rgba(255, 255, 255, 0.86); }
.header__inner {
  height: var(--nav-h);
  transition: height 0.3s var(--ease);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; transition: height 0.3s var(--ease); }
.mobile-nav__head img, .footer__brand img { width: auto; }
.header.is-scrolled .header__inner { height: 64px; }
.header.is-scrolled .brand img { height: 38px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-size: 0.94rem; font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--accent-dark); background: var(--accent-tint); }
.nav__link[aria-current="page"] { color: var(--accent-dark); }
.nav__link .caret { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }

/* Dropdown */
.nav__item--drop > .dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 40;
}
.nav__item--drop.is-open > .dropdown,
.nav__item--drop:hover > .dropdown,
.nav__item--drop:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.nav__item--drop.is-open .caret,
.nav__item--drop:hover .caret { transform: rotate(180deg); }
.dropdown a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem; font-weight: 600;
  color: var(--ink);
  font-family: var(--font-head);
}
.dropdown a:hover { background: var(--accent-tint); color: var(--accent-dark); }
.dropdown a svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  z-index: 70;
  padding: 24px;
  padding-right: calc(24px + env(safe-area-inset-right, 0px));
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateX(100%);
  /* Closed: slid out AND hidden/inert (visibility flips after the slide-out finishes) */
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
body.menu-open .mobile-nav { transform: none; visibility: visible; transition: transform 0.35s var(--ease), visibility 0s; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-nav__head img { height: 38px; }
.mobile-nav__close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; }
.mobile-nav__close svg { width: 16px; height: 16px; }
.mobile-nav ul { display: grid; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a, .mobile-nav__group-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 4px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--ink); text-align: left;
}
.mobile-nav a:hover { color: var(--accent-dark); }
.mobile-nav__group-btn svg { width: 15px; height: 15px; transition: transform 0.25s; }
.mobile-nav__group.is-open .mobile-nav__group-btn svg { transform: rotate(180deg); }
.mobile-nav__sub { display: none; padding: 0 0 10px 14px; }
.mobile-nav__group.is-open .mobile-nav__sub { display: block; }
.mobile-nav__sub a { padding: 10px 4px; min-height: 44px; font-size: 0.94rem; font-weight: 500; color: var(--body); }
.mobile-nav__cta { display: grid; gap: 10px; margin-top: 22px; }
.mobile-nav__overlay {
  display: none;
  position: fixed; inset: 0; z-index: 65;
  background: rgba(14, 42, 71, 0.4);
  /* Closed: invisible AND inert — it must never catch taps meant for the page */
  opacity: 0; visibility: hidden; pointer-events: none;
  touch-action: none;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
}
body.menu-open .mobile-nav__overlay { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s, visibility 0s; }
body.menu-open { overflow: hidden; }
@media (max-width: 1080px) {
  .nav, .header__actions .btn--outline, .header__actions .btn--primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav, .mobile-nav__overlay { display: block; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  background:
    radial-gradient(1100px 520px at 88% -120px, rgba(30, 110, 214, 0.16), transparent 62%),
    radial-gradient(800px 420px at -80px 105%, rgba(14, 148, 136, 0.1), transparent 58%),
    linear-gradient(180deg, #e7f0fc 0%, #f4f8fe 55%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 72px);
}
@media (min-width: 1100px) {
  .hero__inner {
    min-height: min(760px, calc(100svh - (var(--topbar-h) + var(--nav-h) + 20px)));
  }
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 7px 14px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--body);
  margin-bottom: 22px;
}
.hero__badge b { color: var(--accent-dark); font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) { .hero__badge { flex-wrap: wrap; justify-content: center; row-gap: 2px; border-radius: 20px; } }
.hero__badge svg { width: 14px; height: 14px; color: var(--accent); }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__ticks li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--body);
}
.hero__ticks svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.hero__media { position: relative; animation: rise-in 0.9s var(--ease-out) 0.15s both; }
.hero__media::before {
  content: "";
  position: absolute; inset: 26px -18px -18px 26px;
  background: linear-gradient(135deg, #d9e8fb, #c4dbf7);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.hero__photo {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero__card {
  position: absolute; z-index: 2;
  animation: float-y 6s ease-in-out 1.2s infinite alternate;
  left: -26px; bottom: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.hero__card-ring { position: relative; width: 56px; height: 56px; flex: none; }
.hero__card-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hero__card-ring .track { stroke: var(--line); }
.hero__card-ring .fill {
  stroke: var(--accent); stroke-linecap: round;
  stroke-dasharray: 138.2;
  stroke-dashoffset: 138.2;
  animation: ring-fill 1.4s var(--ease) 0.9s both;
}
.hero__card-ring b {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 0.95rem; color: var(--ink);
}
.hero__card-copy b { display: block; font-family: var(--font-head); font-size: 0.92rem; color: var(--ink); }
.hero__card-copy span { font-size: 0.78rem; color: var(--muted); }

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .hero__card { left: 10px; bottom: -18px; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -80px, rgba(30, 110, 214, 0.14), transparent 62%),
    radial-gradient(600px 320px at -40px 110%, rgba(14, 148, 136, 0.08), transparent 58%),
    linear-gradient(180deg, #e9f1fc 0%, #f6f9fe 60%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 84px);
}
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 0.84rem; margin-bottom: 18px; color: var(--muted);
}
.breadcrumbs a { color: var(--muted); font-weight: 500; }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs svg { width: 12px; height: 12px; }
.breadcrumbs [aria-current] { color: var(--accent-dark); font-weight: 600; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { margin-bottom: 28px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero__media { position: relative; animation: rise-in 0.9s var(--ease-out) 0.1s both; }
.page-hero__media::before {
  content: "";
  position: absolute; inset: 22px -14px -14px 22px;
  background: linear-gradient(135deg, #d9e8fb, #c4dbf7);
  border-radius: var(--radius-lg);
}
.page-hero__media img {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
@media (max-width: 880px) {
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 540px; }
}

/* ============================================================
   LOGO STRIP
   ============================================================ */
.clients-strip { padding-block: 44px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.clients-strip__label {
  text-align: center;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 26px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 20px;
  width: max-content;
  animation: marquee 55s linear infinite;
  padding-block: 4px;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip {
  flex: none;
  width: 158px; height: 74px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 18px;
  transition: box-shadow 0.25s, transform 0.25s var(--ease);
}
.logo-chip:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.logo-chip img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: grayscale(1); opacity: 0.72;
  transition: filter 0.25s, opacity 0.25s;
}
.logo-chip:hover img { filter: none; opacity: 1; }

/* ============================================================
   PILLARS (Assess / Respond / Protect)
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.pillar:hover { box-shadow: var(--shadow-blue); transform: translateY(-4px); border-color: #c9dcf5; }
.pillar__step {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--accent);
  margin-bottom: 14px;
}
.pillar h3 { margin-bottom: 6px; }
.pillar__problem {
  font-size: 0.9rem; color: var(--muted);
  margin-bottom: 12px;
}
.pillar p { font-size: 0.95rem; margin-bottom: 18px; flex: 1; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICE CARDS GRID
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.svc-card:hover { box-shadow: var(--shadow-blue); transform: translateY(-4px); border-color: #c9dcf5; }
.svc-card:hover .svc-card__icon { transform: translateY(-2px) scale(1.06); background: linear-gradient(135deg, #cfe2f9, #b9d4f7); }
.svc-card__icon { transition: transform 0.35s var(--ease-out), background 0.35s; }
.svc-card__icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e3eefc, #cfe2f9);
  color: var(--accent-dark);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.svc-card__icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.svc-card__tag { font-size: 0.84rem; color: var(--muted); margin-bottom: 12px; font-style: italic; }
.svc-card ul { display: grid; gap: 7px; margin-bottom: 20px; flex: 1; }
.svc-card ul li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 0.9rem;
}
.svc-card ul svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 4px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FEATURE SPLIT (image + copy)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split + .split { margin-top: clamp(56px, 7vw, 88px); }
.split--flip .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media--frame::before {
  content: "";
  position: absolute; inset: 20px -14px -14px 20px;
  background: linear-gradient(135deg, #d9e8fb, #c4dbf7);
  border-radius: var(--radius-lg);
}
.split__media--frame img { position: relative; }
.split__content .eyebrow { margin-bottom: 10px; }
.split__content h2, .split__content h3 { margin-bottom: 14px; }
.split__content > p { margin-bottom: 20px; }
.check-list { display: grid; gap: 11px; margin-bottom: 26px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.97rem; }
.check-list li b { color: var(--ink); }
.check-list svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 4px; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media { max-width: 540px; }
}

/* Screenshot-style media (product UI) */
.split__media--browser { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.split__media--browser .browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.split__media--browser .browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8dfe8; }
.split__media--browser .browser-bar span {
  margin-left: 10px;
  font-size: 0.75rem; color: var(--muted);
  background: #fff; border: 1px solid var(--line);
  padding: 3px 12px; border-radius: 6px;
}
.split__media--browser img { aspect-ratio: auto; box-shadow: none; border-radius: 0; }

/* ============================================================
   WHY CHOOSE — value props
   ============================================================ */
.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prop {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.prop__num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 2rem; color: #c5d9f5;
  line-height: 1;
  margin-bottom: 14px;
}
.prop h3 { font-size: 1.03rem; margin-bottom: 8px; }
.prop p { font-size: 0.9rem; }
@media (max-width: 980px) { .props { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .props { grid-template-columns: 1fr; } }

/* ============================================================
   STATS BAND (navy)
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; padding: 8px; }
.stat__value {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: #fff; line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.stat__value .suffix { color: #8ab8f5; }
.stat__label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); margin-top: 6px; }
@media (max-width: 780px) { .stats { grid-template-columns: 1fr 1fr; gap: 34px 18px; } }

/* ============================================================
   FRAMEWORKS
   ============================================================ */
.frameworks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.framework {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.framework:hover { box-shadow: var(--shadow-md); border-color: #c9dcf5; transform: translateY(-2px); }
.framework svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.framework b { display: block; font-family: var(--font-head); font-size: 0.98rem; color: var(--ink); }
.framework span { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 980px) { .frameworks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .frameworks { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
}
.quote__stars { display: flex; gap: 3px; }
.quote__stars svg { width: 16px; height: 16px; color: var(--gold); }
.quote blockquote { font-size: 0.99rem; color: var(--body); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--accent-tint); color: var(--accent-dark);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.86rem;
}
.quote__who b { display: block; font-family: var(--font-head); font-size: 0.93rem; color: var(--ink); }
.quote__who span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 780px) { .quotes { grid-template-columns: 1fr; } }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.post:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post__img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform 0.7s var(--ease-out); }
.post:hover .post__img { transform: scale(1.04); }
.post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.post__meta i { font-style: normal; color: var(--accent-dark); }
.post h3 { font-size: 1.05rem; line-height: 1.4; }
.post h3 a { color: var(--ink); }
.post h3 a:hover { color: var(--accent-dark); }
.post p { font-size: 0.9rem; flex: 1; }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .h2 { margin-bottom: 14px; }
.faq-side p { margin-bottom: 24px; }
.accordion { display: grid; gap: 12px; }
.accordion__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.accordion__item.is-open { border-color: #c9dcf5; box-shadow: var(--shadow-md); }
.accordion__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px;
  text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 0.99rem;
  color: var(--ink);
}
.accordion__icon {
  width: 28px; height: 28px; flex: none;
  border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-dark);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s;
}
.accordion__icon svg { width: 13px; height: 13px; }
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion__panel p { padding: 0 22px 20px; font-size: 0.94rem; }
@media (max-width: 880px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background:
    radial-gradient(760px 340px at 12% 130%, rgba(30, 110, 214, 0.45), transparent 62%),
    radial-gradient(520px 280px at 95% -30%, rgba(14, 148, 136, 0.22), transparent 60%),
    linear-gradient(135deg, #0e2a47 0%, #133e6c 100%);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(40px, 6vw, 72px) clamp(26px, 5vw, 64px);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 28px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 520px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 880px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: #c9dcf5; }
.contact-card__icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: var(--accent-tint); color: var(--accent-dark);
  display: grid; place-items: center;
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card b { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); }
.contact-card span { font-size: 0.84rem; color: var(--muted); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3vw, 38px);
  position: relative;
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { font-size: 0.92rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.form-field label i { font-style: normal; color: #c03a3a; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font: inherit; font-size: 1rem; /* 16px: stops iOS Safari zooming into the field */
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 110, 214, 0.14);
}
.form-field.has-error input, .form-field.has-error textarea { border-color: #d64545; }
.form-field .field-error { display: none; font-size: 0.78rem; color: #c03a3a; }
.form-field.has-error .field-error { display: block; }
.form-card button[type="submit"] { width: 100%; margin-top: 20px; min-height: 48px; }
.form-note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); text-align: center; }

.form-success {
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 30px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.form-success.is-visible { opacity: 1; visibility: visible; }
.form-success__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent);
  display: grid; place-items: center;
}
.form-success__icon svg { width: 26px; height: 26px; }
.form-success b { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.form-success p { font-size: 0.92rem; max-width: 320px; }
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; } }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-embed__link { padding: 12px 18px; font-size: 0.88rem; }
.map-embed__link a { color: var(--accent); font-weight: 600; text-decoration: none; }
.map-embed__link a:hover { text-decoration: underline; }

/* ============================================================
   PARTNERS GRID
   ============================================================ */
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s var(--ease);
}
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.partner-card b { display: block; font-family: var(--font-head); font-size: 0.98rem; color: var(--ink); margin-bottom: 4px; }
.partner-card span { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 980px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .partner-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   TEAM / CERT BADGES
   ============================================================ */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-head); font-size: 0.84rem; font-weight: 700;
  color: var(--ink);
}
.badge svg { width: 14px; height: 14px; color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background:
    radial-gradient(1000px 420px at 90% 0%, rgba(30, 110, 214, 0.2), transparent 55%),
    linear-gradient(180deg, #0e2a47 0%, #091d33 100%);
  color: rgba(255, 255, 255, 0.75);
}
.footer__main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px);
}
.footer__brand img { height: 46px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer__brand p { font-size: 0.9rem; margin: 18px 0 20px; max-width: 300px; }
.footer__social { display: flex; gap: 9px; }
.footer__social a {
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__social svg { width: 16px; height: 16px; }
.footer h3, .footer h4 {
  color: #fff; font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.footer__col a:hover { color: #8ab8f5; }
.footer__contact li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 0.9rem; margin-bottom: 12px;
}
.footer__contact svg { width: 16px; height: 16px; color: #8ab8f5; flex: none; margin-top: 4px; }
.footer__contact a { color: rgba(255, 255, 255, 0.75); }
.footer__contact a:hover { color: #8ab8f5; }
.footer__member { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.footer__member img { width: 54px; height: 54px; border-radius: 8px; background: #fff; padding: 4px; }
.footer__member span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); max-width: 140px; line-height: 1.4; }
.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.72);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__bottom a { color: rgba(255, 255, 255, 0.78); }
.footer__bottom a:hover { color: #8ab8f5; }
@media (max-width: 980px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__main { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; z-index: 45;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy); color: #fff;
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background 0.2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); }
.back-to-top svg { width: 17px; height: 17px; }

/* ---------- Page intro rich text ---------- */
.rich { max-width: 760px; }
.rich p + p { margin-top: 16px; }
.rich strong { color: var(--ink); }

/* ---------- Spacing utilities (replace inline styles so the CSP
   can drop style-src 'unsafe-inline') ---------- */
.u-pt-0 { padding-top: 0 !important; }
.u-mt-16 { margin-top: 16px !important; }
.u-mt-44 { margin-top: 44px !important; }
.u-mt-64 { margin-top: 64px !important; }
.u-mb-14 { margin-bottom: 14px !important; }
.u-mb-26 { margin-bottom: 26px !important; }
.u-mb-46 { margin-bottom: 46px !important; }
.u-pblock-48 { padding-block: 48px !important; }
.u-text-center { text-align: center !important; }

/* ---------- Honeypot: visually hidden from humans, present for bots ---------- */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ============================================================
   Blog articles, case studies, legal pages, booking, filters,
   form states, 404 / thank-you  (added 2026-09)
   ============================================================ */

/* ---------- Filter chips + load more (blog) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 10px 16px; min-height: 44px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .count { color: var(--muted); font-weight: 500; margin-left: 4px; }
.chip.is-active .count { color: rgba(255, 255, 255, 0.82); }
.post[hidden] { display: none !important; }
.posts-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.load-more { text-align: center; margin-top: 40px; }
.load-more[hidden] { display: none; }

/* ---------- Featured post (top of blog) ---------- */
.featured-post {
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: clamp(36px, 5vw, 56px);
}
.featured-post img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.featured-post__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured-post h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.featured-post h2 a { color: var(--ink); }
.featured-post h2 a:hover { color: var(--accent-dark); }
.featured-post p { font-size: 0.98rem; }
@media (max-width: 880px) { .featured-post { grid-template-columns: 1fr; } }

/* ---------- Article (blog post) ---------- */
.article-hero { border-bottom: 0; }
.article-hero .container { padding-top: clamp(40px, 5vw, 64px); }
.article-hero__inner { max-width: 860px; }
.article-hero .breadcrumbs { margin-bottom: 18px; }
.article-hero .h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 6px 0 16px; letter-spacing: -0.02em; }
.article-hero .lead { margin-bottom: 22px; max-width: 760px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 0.9rem; color: var(--muted); }
.article-meta li { display: flex; align-items: center; gap: 7px; }
.article-meta b { color: var(--ink); font-weight: 600; }
.article-meta svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.article-cover { margin: clamp(28px, 4vw, 44px) 0 clamp(-96px, -7vw, -48px); position: relative; z-index: 1; }
.article-cover img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--bg-soft);
}
.article-section { padding-top: clamp(80px, 11vw, 150px); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 5vw, 72px); align-items: start; }

.article { max-width: 780px; font-size: 1.04rem; line-height: 1.8; color: var(--body); }
.article > * + * { margin-top: 1.1em; }
.article h2 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); margin-top: 2em; scroll-margin-top: 110px; }
.article h3 { font-size: 1.22rem; margin-top: 1.7em; scroll-margin-top: 110px; }
.article h4 { font-size: 1.05rem; margin-top: 1.5em; }
.article h2 + *, .article h3 + *, .article h4 + * { margin-top: 0.7em; }
.article a { color: var(--accent-dark); text-decoration: underline; text-decoration-color: rgba(30, 110, 214, 0.35); text-underline-offset: 3px; }
.article a:hover { text-decoration-color: currentColor; }
.article strong { color: var(--ink); }
.article ul, .article ol { padding-left: 1.4em; display: grid; gap: 8px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li::marker { color: var(--accent); font-weight: 600; }
.article li > ul, .article li > ol { margin-top: 8px; }
.article blockquote {
  border-left: 4px solid var(--accent); background: var(--bg-soft);
  padding: 18px 24px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.02rem; color: var(--ink);
}
.article blockquote > * + * { margin-top: 10px; }
.article figure { margin-block: 1.6em; }
.article figure img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.article figcaption { font-size: 0.84rem; color: var(--muted); margin-top: 8px; text-align: center; }
.article p img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.9em;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--ink);
}
.article pre { background: var(--navy); color: #e6eefb; padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; font-size: 0.88rem; line-height: 1.6; }
.article pre code { background: none; border: 0; padding: 0; color: inherit; }
.article .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.article table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.article th, .article td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article th { background: var(--bg-soft); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.article tr:last-child td { border-bottom: 0; }
.article .callout { background: var(--accent-tint); border: 1px solid #c9dcf5; border-radius: var(--radius); padding: 18px 22px; }
.article .callout > :first-child { margin-top: 0; }

.article-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1rem; margin-bottom: 10px; }
.side-card > p { font-size: 0.9rem; margin-bottom: 16px; }
.side-card .btn { width: 100%; justify-content: center; }
.side-card--navy { background: linear-gradient(150deg, #0e2a47 0%, #0d3156 100%); border-color: transparent; }
.side-card--navy h3 { color: #fff; }
.side-card--navy > p { color: rgba(255, 255, 255, 0.78); }
.toc ol { display: grid; gap: 0; font-size: 0.88rem; }
.toc a { color: var(--body); display: flex; align-items: center; min-height: 44px; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--accent-dark); border-left-color: var(--accent); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; min-height: 44px;
  font-size: 0.82rem; font-weight: 600; color: var(--ink); background: #fff;
  transition: border-color 0.2s, color 0.2s;
}
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent-dark); }
.share svg { width: 14px; height: 14px; }
.share button.is-copied { border-color: var(--teal); color: var(--teal); }

.author-box {
  display: flex; gap: 18px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px;
  background: var(--bg-soft); margin-top: clamp(36px, 5vw, 56px);
}
.author-box__avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: none;
}
.author-box b { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 2px; }
.author-box p { font-size: 0.9rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.post-nav a {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  display: grid; gap: 4px; color: var(--ink); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.post-nav a:hover { border-color: #c9dcf5; box-shadow: var(--shadow-md); color: var(--accent-dark); }
.post-nav span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.post-nav b { font-family: var(--font-head); font-size: 0.95rem; line-height: 1.35; }
.post-nav a.post-nav__next { text-align: right; }
.post-nav a.post-nav__next:only-child { grid-column: 2; }

@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
}
@media (max-width: 600px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a.post-nav__next { text-align: left; }
  .post-nav a.post-nav__next:only-child { grid-column: auto; }
}

/* ---------- Case studies ---------- */
.case-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.case-side { position: sticky; top: 110px; }
.case-side .h2 { margin-bottom: 12px; }
.case-side > p { margin-bottom: 22px; font-size: 0.95rem; }
.case-nav { display: grid; gap: 4px; }
.case-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: 0.9rem; border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.case-nav a:hover, .case-nav a.is-active { background: #fff; border-color: var(--line); color: var(--accent-dark); box-shadow: var(--shadow-sm); }
.case-nav svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: clamp(24px, 3vw, 36px); scroll-margin-top: 110px;
}
.case + .case { margin-top: 24px; }
.case__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.case__icon {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, #e3eefc, #cfe2f9); color: var(--accent-dark);
  display: grid; place-items: center;
}
.case__icon svg { width: 25px; height: 25px; }
.case__head h2 { font-size: 1.35rem; margin-bottom: 6px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags span {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-tint); border-radius: 999px; padding: 3px 10px;
}
.case__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.case__block h3 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.case__block h3::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.case__block p { font-size: 0.95rem; }
.case__block p + p { margin-top: 10px; }
.case__block--wide { grid-column: 1 / -1; }
.case__block ol { display: grid; gap: 8px; counter-reset: deliverable; }
.case__block ol li { display: flex; gap: 10px; font-size: 0.93rem; counter-increment: deliverable; }
.case__block ol li::before {
  content: counter(deliverable); flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-dark); font-family: var(--font-head);
  font-weight: 700; font-size: 0.75rem; display: grid; place-items: center; margin-top: 2px;
}
.case__result {
  grid-column: 1 / -1; background: linear-gradient(135deg, #eef5fd, #e3eefc);
  border: 1px solid #c9dcf5; border-radius: var(--radius); padding: 18px 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.case__result svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.case__result h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-dark); margin-bottom: 6px; }
.case__result p { font-size: 0.95rem; color: var(--ink); }
.case__result p + p { margin-top: 8px; }
@media (max-width: 980px) {
  .case-layout { grid-template-columns: 1fr; }
  .case-side { position: static; }
  .case-nav { display: flex; flex-wrap: wrap; }
}
@media (max-width: 700px) { .case__grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.legal-side { position: sticky; top: 110px; }
.legal-updated {
  display: inline-flex; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 24px;
}
.legal-updated svg { width: 14px; height: 14px; color: var(--accent); }
.article--legal { max-width: 820px; font-size: 1rem; }
.article--legal h2 { font-size: 1.35rem; }
@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-side { position: static; }
}

/* ---------- Booking (contact page) ---------- */
.booking { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.booking .h2 { margin-bottom: 14px; }
.booking .lead { margin-bottom: 24px; }
.booking__frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.booking__frame iframe { display: block; width: 100%; height: 720px; border: 0; background: #fff; }
.booking__frame-note {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); background: var(--bg-soft);
}
.booking__frame-note a { font-weight: 600; }
@media (max-width: 980px) {
  .booking { grid-template-columns: 1fr; }
  .booking__frame iframe { height: 640px; }
}

/* ---------- Form error state ---------- */
.form-error {
  display: none; gap: 12px; align-items: flex-start;
  background: #fdf0f0; border: 1px solid #f1c4c4; color: #8a2a2a;
  border-radius: var(--radius); padding: 14px 16px; font-size: 0.9rem; margin-top: 16px;
}
.form-error.is-visible { display: flex; }
.form-error svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #d64545; }
.form-error p { margin: 0; }

/* ---------- 404 / thank-you ---------- */
.status-page { text-align: center; padding: clamp(60px, 10vw, 120px) 0; max-width: 680px; margin-inline: auto; }
.status-page__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: #d6e5f9; }
.status-page__code::before { content: attr(data-code); }
.prop__num::before { content: attr(data-num); }
.status-page__icon {
  width: 76px; height: 76px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-dark);
  display: grid; place-items: center; margin: 0 auto 22px;
}
.status-page__icon svg { width: 36px; height: 36px; }
.status-page h1 { margin: 0 0 14px; }
.status-page .lead { margin: 0 auto 28px; }
.status-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.status-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 30px; font-size: 0.9rem; font-weight: 600; }

/* Grid items must be allowed to shrink so wide tables scroll inside .table-wrap instead of widening the page */
.article-layout > *, .legal-layout > *, .case-layout > * { min-width: 0; }


/* ===== v2 polish ===== */

/* ---------- Typography niceties ---------- */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* ---------- Entrance keyframes (above-the-fold, CSS only) ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-up {
  from { transform: translateY(18px); }
  to   { transform: none; }
}
@keyframes ring-fill { to { stroke-dashoffset: 22.1; } }
@keyframes float-y { from { translate: 0 0; } to { translate: 0 -7px; } }
.hero__content > * { animation: fade-up 0.7s var(--ease-out) both; }
.hero__content > :nth-child(1) { animation-delay: 0.05s; }
.hero__content > :nth-child(2) { animation-delay: 0.12s; }
.hero__content > :nth-child(3) { animation-delay: 0.2s; }
.hero__content > :nth-child(4) { animation-delay: 0.28s; }
.hero__content > :nth-child(5) { animation-delay: 0.36s; }
.page-hero__inner > div:first-child > *, .article-hero__inner > *, .status-page > * { animation: fade-up 0.7s var(--ease-out) both; }
.page-hero__inner > div:first-child > :nth-child(2), .article-hero__inner > :nth-child(2), .status-page > :nth-child(2) { animation-delay: 0.08s; }
.page-hero__inner > div:first-child > :nth-child(3), .article-hero__inner > :nth-child(3), .status-page > :nth-child(3) { animation-delay: 0.16s; }
.page-hero__inner > div:first-child > :nth-child(4), .article-hero__inner > :nth-child(4), .status-page > :nth-child(4) { animation-delay: 0.24s; }
.page-hero__inner > div:first-child > :nth-child(5), .article-hero__inner > :nth-child(5), .status-page > :nth-child(5) { animation-delay: 0.32s; }
.article-cover { animation: rise-in 0.9s var(--ease-out) 0.2s both; }

/* Hero texture: faint dot grid, fades toward the content */
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(14, 42, 71, 0.10) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 80% at 80% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 80% at 80% 40%, #000 20%, transparent 75%);
  opacity: 0.7;
}
.hero__inner { position: relative; }

/* ---------- Scroll reveals (IntersectionObserver adds .in-view) ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out), clip-path 0.9s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal="up"]    { transform: translateY(26px); }
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal="clip"]  { clip-path: inset(0 0 100% 0 round var(--radius-lg)); transform: translateY(10px); }
[data-reveal].in-view { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--radius-lg)); will-change: auto; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

/* Section eyebrow: accent line draws in when the heading scrolls into view */
.section-head .eyebrow { position: relative; padding-left: 34px; }
.section-head .eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: translateY(-50%) scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease-out) 0.15s;
}
.section-head--center .eyebrow { padding-left: 0; }
.section-head--center .eyebrow::before { display: none; }
.section-head.in-view .eyebrow::before, .section-head:not([data-reveal]) .eyebrow::before { transform: translateY(-50%) scaleX(1); }

/* Cards: accent bar slides in on hover */
.pillar, .svc-card, .prop, .post, .case { position: relative; overflow: hidden; }
.pillar::after, .svc-card::after, .prop::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.pillar:hover::after, .svc-card:hover::after, .prop:hover::after { transform: scaleX(1); }
.prop { transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s; }
.prop:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #c9dcf5; }

/* Testimonials: quiet quote mark */
.quote { position: relative; }
.quote::before {
  content: "\201C"; position: absolute; right: 24px; top: 8px;
  font-family: var(--font-head); font-size: 5rem; line-height: 1; font-weight: 800;
  color: var(--accent-tint); pointer-events: none;
}

/* Split images: gentle parallax where the browser supports scroll-driven animation */
@supports (animation-timeline: view()) {
  .split__media img, .article-cover img {
    animation: parallax-y linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  .article-cover { animation: rise-in 0.9s var(--ease-out) 0.2s both; }
  @keyframes parallax-y { from { transform: translateY(3.5%); } to { transform: translateY(-3.5%); } }
  .split__media, .article-cover { overflow: hidden; border-radius: var(--radius-lg); }
  .split__media--frame { overflow: visible; }
  .split__media--frame img { will-change: transform; }
}

.side-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 10px; }

/* Reading progress (articles) */
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}

/* Stats: soft dividers */
@media (min-width: 781px) {
  .stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }
}

/* Mobile: comfortable tap targets for stacked links */
@media (max-width: 720px) {
  .footer__col ul { gap: 4px; }
  .footer__col a, .footer__bottom a { display: inline-block; padding-block: 10px; }
  .footer__bottom a { padding-block: 11px; }
  .footer__bottom ul { gap: 2px 22px; }
  .case-nav a { padding: 12px 14px; }
  .article-meta li { padding-block: 4px; }
}

/* Reduced motion: no entrance/scroll effects at all */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__media, .page-hero__media, .article-cover, .hero__content > *, .page-hero__inner > div:first-child > *, .article-hero__inner > *, .status-page > *, .hero__card, .split__media img, .article-cover img { animation: none !important; }
  .hero__card-ring .fill { stroke-dashoffset: 22.1; animation: none; }
  .progress-bar { display: none; }
}
.footer .footer__title { color: #fff; font-family: var(--font-head); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }

/* ---------- Inline links inside text are underlined (not colour-only) ---------- */
main p > a:not(.btn):not(.text-link):not(.badge), .accordion__panel a, .check-list a, .case__block a {
  text-decoration: underline; text-decoration-color: rgba(21, 88, 179, 0.4); text-underline-offset: 3px;
}
main p > a:not(.btn):not(.text-link):not(.badge):hover { text-decoration-color: currentColor; }

/* ---------- Screen-reader-only text ---------- */
.u-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Booking calendar facade (loads Google Calendar on request) ---------- */
.booking__facade {
  min-height: 560px; display: grid; place-items: center; padding: 32px;
  background:
    radial-gradient(rgba(14, 42, 71, 0.08) 1px, transparent 1.2px) 0 0 / 24px 24px,
    linear-gradient(180deg, #f6f9fe, #e9f1fc);
}
.booking__facade-card { text-align: center; max-width: 380px; display: grid; justify-items: center; gap: 10px; }
.booking__facade-icon {
  width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 6px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); color: var(--accent-dark);
}
.booking__facade-icon svg { width: 32px; height: 32px; }
.booking__facade-card b { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.booking__facade-card p { font-size: 0.9rem; margin-bottom: 8px; }

/* ---------- Map facade (loads OpenStreetMap on request) ---------- */
.map-facade {
  min-height: 380px; display: grid; place-items: center; padding: 28px;
  background:
    radial-gradient(rgba(14, 42, 71, 0.08) 1px, transparent 1.2px) 0 0 / 24px 24px,
    linear-gradient(180deg, #f6f9fe, #e9f1fc);
}
.map-facade__card { text-align: center; max-width: 400px; display: grid; justify-items: center; gap: 10px; }
.map-facade__card b { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.map-facade__card p { font-size: 0.9rem; margin-bottom: 8px; }

/* ---------- Blog cards: tighter, with a compact homepage variant ---------- */
.post__body { padding: 18px 20px 20px; gap: 8px; }
.post h3 { font-size: 1rem; }
.post p { font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.posts--compact { gap: 18px; }
.posts--compact .post__img { aspect-ratio: 2 / 1; }
.posts--compact .post__body { padding: 15px 18px 17px; gap: 6px; }
.posts--compact .post__meta { font-size: 0.75rem; }
.posts--compact .post h3 { font-size: 0.95rem; }
.posts--compact .post p { -webkit-line-clamp: 2; font-size: 0.85rem; }
.posts--compact .text-link { font-size: 0.86rem; }
/* Card images: keep the aspect-ratio rule in charge (the HTML height attribute is only a layout hint) */
.post__img { height: auto; }

/* ============================================================
   Responsive / touch pass (2026-10)
   ============================================================ */

/* Grid children may shrink below their content width, so long words, URLs
   and wide tables never widen the page (equivalent to minmax(0, 1fr)). */
.hero__inner > *, .page-hero__inner > *, .split > *, .pillars > *, .svc-grid > *, .props > *,
.stats > *, .frameworks > *, .quotes > *, .posts > *, .partner-grid > *, .footer__main > *,
.form-grid > *, .case__grid > *, .post-nav > *, .contact-layout > *, .faq-layout > *,
.booking > *, .featured-post > *, .cta-band > *, .contact-cards > *, .accordion > * { min-width: 0; }

/* Decorative offsets (photo frames, slide-in reveals) must not create a
   horizontal scrollbar. overflow-x: clip hides them without creating a
   scroll container, so sticky sidebars keep working. Older browsers
   (iOS 15) fall back to body { overflow-x: hidden } above. */
@supports (overflow-x: clip) {
  .section, .page-hero, .article-hero, .clients-strip, .footer { overflow-x: clip; }
}

/* Long content that must scroll inside its box rather than widen the page */
table { max-width: 100%; }
.rich table, .accordion__panel table, .case__block table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article .table-wrap, .article pre { -webkit-overflow-scrolling: touch; }
.article pre, .article code { overflow-wrap: normal; }
.article pre { max-width: 100%; }
iframe { max-width: 100%; }

/* Comfortable tap targets (44 x 44 CSS px). Where the hit area grows but the
   layout must not, padding is added and the same amount taken back as margin. */
.btn { min-height: 44px; }
.topbar a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 11px; margin-block: -11px; }
.text-link { min-height: 44px; padding-block: 9px; margin-block: -9px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding-block: 11px; margin-block: -11px; }
.post h3 a, .featured-post h2 a { display: block; padding-block: 12px; margin-block: -12px; }
.badge { min-height: 44px; }
.case-nav a { min-height: 44px; }
.mobile-nav a, .mobile-nav__group-btn { min-height: 48px; }
.mobile-nav__cta .btn { min-height: 48px; }
.booking__frame-note a, .map-embed__link a { display: inline-block; padding-block: 11px; margin-block: -11px; }
.footer__contact a { display: inline-block; padding-block: 10px; margin-top: -10px; margin-bottom: -4px; }
.footer__col a { min-width: 44px; }
.status-links a { display: inline-block; min-width: 44px; padding-block: 10px; margin-block: -6px; }
.nav-toggle { flex: none; }

/* Phones: the floating back-to-top button hugs the corner (safe-area aware)
   and the footer's last row gets clearance so nothing ends up underneath it */
@media (max-width: 720px) {
  .back-to-top { width: 44px; height: 44px; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .footer__bottom { padding-bottom: calc(20px + 52px + env(safe-area-inset-bottom, 0px)); }
}

/* Keep the stats readable on the narrowest phones */
@media (max-width: 360px) {
  .stats { gap: 28px 14px; }
  .stat { padding: 4px; }
  .accordion__trigger { padding: 16px 18px; }
  .accordion__panel p { padding: 0 18px 18px; }
}

/* Without JavaScript nothing should stay invisible (newer browsers; the
   script also has its own fallback). */
@media (scripting: none) {
  .reveal, [data-reveal], [data-stagger] > * { opacity: 1; transform: none; clip-path: none; }
}

/* ---- small-screen leftovers (2026-10-13) ---- */
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.topbar__contacts a, .topbar__note { white-space: nowrap; }
@media (max-width: 960px) { .topbar__note { display: none; } }
@media (max-width: 360px) { .topbar { font-size: 0.76rem; } .topbar__contacts { gap: 12px; } }
@media (max-width: 720px) { [data-reveal="left"] { transform: translateX(-14px); } [data-reveal="right"] { transform: translateX(14px); } }
