/* ==========================================================================
   SEO Blackpool: main stylesheet
   --------------------------------------------------------------------------
   1. Fonts          6. Buttons           11. Inner pages
   2. Tokens         7. Header & nav      12. Forms
   3. Reset & base   8. Mobile menu       13. Footer
   4. Typography     9. Hero & visuals    14. Motion & utilities
   5. Layout        10. Home sections     15. Responsive
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Handwriting accent for notes (used sparingly) */
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback to limit layout shift while Inter loads */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* 2. Tokens --------------------------------------------------------------- */

:root {
  /* Brand palette: Midnight Ink, Royal Indigo, Ballroom Gold, Ivory.
     Change these values (and the matching -rgb channels) to re-theme the whole site. */
  --ink: #0F1430;            /* Midnight Ink: text and dark sections */
  --brand: #3E34C2;          /* Royal Indigo: brand colour, links, panels */
  --brand-600: #5A50E0;      /* lighter indigo for gradients and hovers */
  --brand-800: #2A2190;      /* deep indigo */
  --brand-900: #17124F;      /* deepest indigo for gradient ends */
  --accent: #F2B84B;         /* Ballroom Gold: highlights and CTAs on dark */
  --accent-200: #FCEFD2;     /* gold tint */
  --accent-600: #D99A1E;     /* deep gold */
  --accent-hover: #F6C766;
  --bg: #FAF8F4;             /* Ivory: page background */
  --tint: #F1EFFA;           /* Soft Lilac: alternate sections and icon tiles */
  --tint-2: #E4E1F4;
  --charcoal: #1B1E33;
  --white: #FFFFFF;

  /* RGB channels for translucent colours */
  --ink-rgb: 15, 20, 48;
  --brand-rgb: 62, 52, 194;
  --accent-rgb: 242, 184, 75;
  --bg-rgb: 250, 248, 244;

  /* Roles */
  --text: #262A40;
  --muted: #5B5F78;
  --line: #E3E1EE;
  --line-strong: #CBC8DE;
  --danger: #B42318;
  --danger-bg: #FEF3F2;
  --focus: var(--brand);

  /* Type */
  --font-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: 100px;
  --header-h: 78px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Depth & motion */
  --shadow-sm: 0 1px 2px rgba(var(--ink-rgb), .05);
  --shadow: 0 1px 2px rgba(var(--ink-rgb), .04), 0 12px 32px -14px rgba(var(--brand-rgb), .22);
  --shadow-lg: 0 2px 6px rgba(var(--ink-rgb), .05), 0 32px 64px -28px rgba(var(--brand-rgb), .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 3. Reset & base --------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-600); }
ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark, .section--dark, .section--brand, .site-footer, .topbar, .cta-panel, .mobile-cta { --focus: var(--accent); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* 4. Typography ----------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1, .h1 {
  font-size: clamp(2.6rem, 1.5rem + 4.3vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.04em;
  font-variation-settings: "opsz" 96;
}
.h1--page { font-size: clamp(2.35rem, 1.45rem + 3.3vw, 4.4rem); }

h2, .h2 {
  font-size: clamp(2rem, 1.4rem + 2.25vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 72;
}
h3, .h3 {
  font-size: clamp(1.2rem, 1.08rem + .45vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: -.018em;
  font-weight: 650;
}
h4, .h4 { font-size: 1.08rem; letter-spacing: -.01em; font-weight: 650; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; color: var(--ink); }

.lead {
  font-size: clamp(1.1rem, 1.02rem + .38vw, 1.32rem);
  line-height: 1.6;
  color: var(--text);
  max-width: 62ch;
}
.muted { color: var(--muted); }
.text-balance { text-wrap: balance; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font: 600 .76rem/1.2 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .28);
  flex: none;
}
.on-dark .eyebrow, .section--dark .eyebrow, .section--brand .eyebrow, .cta-panel .eyebrow { color: var(--accent); }

/* Hand-drawn underline used on key words */
.hl { position: relative; white-space: nowrap; display: inline-block; }
.hl svg {
  position: absolute;
  left: -3%;
  bottom: -.14em;
  width: 106%;
  height: .34em;
  overflow: visible;
  z-index: -1;
}
.hl path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
}
.js .hl path { stroke-dashoffset: 400; animation: draw 1.1s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.mark { background: linear-gradient(transparent 60%, var(--accent-200) 60%); padding: 0 .1em; }

.mono { font-family: var(--font-mono); font-size: .8em; letter-spacing: .04em; }

/* Long-form content */
.prose { max-width: 72ch; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: var(--text); }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); margin-top: 2.2em; margin-bottom: .2em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { margin-top: 1.8em; margin-bottom: .1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose a { font-weight: 550; }
.prose .tip {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--tint);
  border-left: 4px solid var(--accent);
}
.prose .tip .icon { color: var(--brand); width: 24px; height: 24px; margin-top: 2px; }
.prose .tip p { margin: 0; }
.prose .tip strong { display: block; margin-bottom: 2px; font-family: var(--font-display); }

/* 5. Layout --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(900px + var(--gutter) * 2); }
.container--mid { max-width: calc(1080px + var(--gutter) * 2); }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .64); }
.section--flush-top { padding-top: 0; }
.section--white { background: var(--white); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .76); }
.section--brand { background: var(--brand); color: rgba(255, 255, 255, .82); }
.section--dark h2, .section--dark h3, .section--dark strong,
.section--brand h2, .section--brand h3, .section--brand strong { color: #fff; }
.section--bordered { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 56ch; }
.section--dark .section-head p, .section--brand .section-head p { color: rgba(255, 255, 255, .72); }
.section-head--stack { grid-template-columns: 1fr; max-width: 780px; gap: 16px; }
.section-head--center { grid-template-columns: 1fr; max-width: 780px; margin-inline: auto; text-align: center; gap: 16px; }
.section-head--center p { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 48px 80px;
  align-items: start;
}
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--center { align-items: center; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }

.grid { display: grid; gap: 24px; }
.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)); }

.stack > * + * { margin-top: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* 6. Buttons & links ------------------------------------------------------ */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: transparent;
  --btn-icon-bg: var(--accent);
  --btn-icon-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 7px 8px 7px 24px;
  border: 1.5px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1.15 var(--font-body);
  letter-spacing: -.005em;
  text-decoration: none;
  text-align: left;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(var(--ink-rgb), .55); }
.btn:active { transform: translateY(0); }
.btn-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--btn-icon-bg);
  color: var(--btn-icon-fg);
  overflow: hidden;
  transition: transform .35s var(--ease);
}
.btn-icon .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform .35s var(--ease); }
.btn:hover .btn-icon .icon { transform: translateX(2px); }
.btn--plain { padding: 7px 24px; }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-icon-bg: var(--ink); --btn-icon-fg: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-hover); box-shadow: 0 14px 30px -14px rgba(var(--accent-rgb), .8); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong); --btn-icon-bg: var(--tint); --btn-icon-fg: var(--brand); }
.btn--outline:hover { --btn-bg: #fff; --btn-border: var(--ink); box-shadow: var(--shadow); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .3); --btn-icon-bg: rgba(255, 255, 255, .12); --btn-icon-fg: var(--accent); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-border: #fff; }
.btn--sm { min-height: 46px; padding: 5px 6px 5px 18px; font-size: .94rem; gap: 10px; }
.btn--sm .btn-icon { width: 34px; height: 34px; }
.btn--block { width: 100%; justify-content: space-between; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow, .section--brand .link-arrow { color: var(--accent); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 550;
  line-height: 1.2;
  text-decoration: none;
}
a.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip .icon { width: 16px; height: 16px; color: var(--brand); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand);
  font: 600 .7rem/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--accent { background: var(--accent); color: var(--ink); }
.badge--outline { background: transparent; border: 1px solid currentColor; }

/* 7. Header & navigation -------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .74);
  font-size: .85rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 10px; }
.topbar p::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2); }
.topbar-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: rgba(255, 255, 255, .86); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar a:hover { color: var(--accent); }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(var(--ink-rgb), .5); background: rgba(var(--bg-rgb), .97); }
.header-inner { position: relative; display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-word { font: 700 1.3rem/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; font-variation-settings: "opsz" 48; }
.brand-word b { color: var(--brand); font-weight: 800; }
.on-dark .brand, .site-footer .brand { color: #fff; }
.site-footer .brand-word b { color: var(--accent); }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-item { display: flex; align-items: center; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 9px;
  border-radius: 999px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 560;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--brand); background: var(--tint); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--brand); }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--brand);
}
.nav-toggle {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -4px;
  margin-right: 2px;
  border-radius: 50%;
  color: var(--muted);
  transition: background-color .2s, color .2s;
}
.nav-toggle:hover { background: var(--tint); color: var(--brand); }
.nav-toggle .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav-item.is-open .nav-toggle .icon { transform: rotate(180deg); }
.nav-item.is-open > .nav-link { color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.burger {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
}
.burger .icon { width: 24px; height: 24px; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }
.header-call { display: none; }

/* Mega menus */
.mega {
  position: absolute;
  top: calc(100% - 6px);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 4px 12px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega-head p { margin: 0; font: 600 .74rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; list-style: none; margin: 0; padding: 0; }
.mega-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s;
}
.mega-link:hover, .mega-link[aria-current="page"] { background: var(--tint); color: var(--ink); }
.mega-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--tint);
  color: var(--brand);
  transition: background-color .2s, color .2s;
}
.mega-link:hover .mega-icon { background: var(--brand); color: var(--accent); }
.mega-icon .icon { width: 20px; height: 20px; }
.mega-link strong { display: block; font-size: .95rem; font-weight: 620; line-height: 1.3; }
.mega-text { display: block; min-width: 0; }
.mega-desc { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-grid--1 { grid-template-columns: 1fr; }
/* Invisible bridge so the pointer can travel from the nav item to the panel */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.mega-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  border-radius: 18px;
  background: var(--brand);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
  isolation: isolate;
}
.mega-promo::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), .25);
  box-shadow: 0 0 0 30px rgba(var(--accent-rgb), .05), 0 0 0 60px rgba(var(--accent-rgb), .04);
  z-index: -1;
}
.mega-promo .mega-promo-title { margin: 14px 0 8px; color: #fff; font: 700 1.3rem/1.2 var(--font-display); letter-spacing: -.02em; }
.mega-promo p { font-size: .92rem; margin: 0; }
.mega-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mega-subhead { margin: 0 12px 6px; font: 600 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* 8. Mobile menu ---------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: var(--menu-top, var(--header-h)) 0 0 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu-inner { padding-block: 12px 32px; display: flex; flex-direction: column; gap: 24px; min-height: 100%; }
.m-list { list-style: none; margin: 0; padding: 0; }
.m-list > li { border-bottom: 1px solid var(--line); }
.m-link, .m-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 8px 2px;
  color: var(--ink);
  font: 650 1.2rem/1.2 var(--font-display);
  letter-spacing: -.02em;
  text-decoration: none;
  text-align: left;
}
.m-link[aria-current="page"] { color: var(--brand); }
.m-acc-btn .icon { width: 22px; height: 22px; color: var(--brand); transition: transform .3s var(--ease); }
.m-acc-btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.m-sub { list-style: none; margin: 0; padding: 0 0 14px; display: grid; gap: 2px; }
.m-sub[hidden] { display: none; }
.m-sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 6px 10px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 520;
  text-decoration: none;
}
.m-sub a:hover, .m-sub a[aria-current="page"] { background: var(--tint); color: var(--brand); }
.m-sub .icon { width: 18px; height: 18px; color: var(--brand); }
.m-actions { display: grid; gap: 10px; margin-top: auto; }
.m-contact { display: grid; gap: 6px; font-size: .95rem; }
.m-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 40px; }
.m-contact .icon { color: var(--brand); }
body.menu-open { overflow: hidden; }

/* 9. Hero & visuals ------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: 56px 96px;
  overflow: hidden;
  isolation: isolate;
}
/* Hero backgrounds: Midnight. Deep indigo with a gold glow and a few soft points of light */
.hero, .page-hero {
  --focus: var(--accent);
  background:
    radial-gradient(48% 70% at 86% 8%, rgba(90, 80, 224, .62), transparent 70%),
    radial-gradient(38% 60% at 4% 100%, rgba(var(--accent-rgb), .18), transparent 70%),
    linear-gradient(160deg, #1B1560 0%, var(--ink) 62%);
  color: rgba(255, 255, 255, .8);
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 22%, rgba(var(--accent-rgb), .55) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 31% 9%, rgba(255, 255, 255, .5) 0 1px, transparent 2px),
    radial-gradient(circle at 47% 30%, rgba(var(--accent-rgb), .45) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 58% 12%, rgba(255, 255, 255, .45) 0 1px, transparent 2px),
    radial-gradient(circle at 22% 78%, rgba(255, 255, 255, .35) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 88%, rgba(var(--accent-rgb), .4) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 6% 52%, rgba(255, 255, 255, .4) 0 1px, transparent 2px),
    radial-gradient(circle at 94% 64%, rgba(255, 255, 255, .35) 0 1px, transparent 2px);
  pointer-events: none;
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .4), transparent);
  pointer-events: none;
}
/* Light text and controls on the dark hero */
.hero h1, .page-hero h1 { color: #fff; }
.hero .lead, .page-hero .lead { color: rgba(255, 255, 255, .8); }
.hero .lead a, .page-hero .lead a { color: var(--accent); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.page-hero .breadcrumbs ol, .page-hero .breadcrumbs a { color: rgba(255, 255, 255, .66); }
.page-hero .breadcrumbs a:hover { color: var(--accent); }
.page-hero .breadcrumbs [aria-current="page"] { color: #fff; }
.page-hero .breadcrumbs li + li::before { border-color: rgba(255, 255, 255, .4); }
.page-hero .post-meta { color: rgba(255, 255, 255, .7); }
.hero .btn-row > .btn:not(.btn--outline), .page-hero .btn-row > .btn:not(.btn--outline) { --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-icon-bg: var(--ink); --btn-icon-fg: var(--accent); }
.hero .btn-row > .btn:not(.btn--outline):hover, .page-hero .btn-row > .btn:not(.btn--outline):hover { --btn-bg: var(--accent-hover); }
.hero .btn--outline, .page-hero .btn--outline { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .32); --btn-icon-bg: rgba(255, 255, 255, .12); --btn-icon-fg: var(--accent); }
.hero .btn--outline:hover, .page-hero .btn--outline:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-border: #fff; }
.hero .hand-note, .page-hero .hand-note { color: var(--accent); }
.hero .hand-arrow { color: rgba(255, 255, 255, .7); }
.hero-visual, .hero-media, .hero-aside, .page-hero .article-figure { --focus: var(--brand); }
.hero-panel, .hero-media .media-frame { box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .75); }
.hv-chart { border-color: rgba(255, 255, 255, .16); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8); }
.marquee { border-top: 1px solid rgba(255, 255, 255, .06); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 56px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 34px; }

.hero-visual { position: relative; padding: 28px 0 28px 28px; }
.hero-panel {
  position: relative;
  aspect-ratio: 4 / 4.6;
  max-height: 620px;
  margin-left: auto;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(var(--accent-rgb), .22) 0%, transparent 55%),
    linear-gradient(160deg, var(--brand-600) 0%, var(--brand) 45%, var(--brand-900) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), .08) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero-tower {
  position: absolute;
  right: 9%;
  bottom: 0;
  height: 92%;
  width: auto;
  color: var(--accent);
}
.hero-tower path, .hero-tower rect, .hero-tower line { vector-effect: non-scaling-stroke; }
.hero-glow {
  position: absolute;
  right: 6%;
  top: 10%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .35), transparent 65%);
  filter: blur(10px);
}

/* Floating UI cards in the hero */
.hv-card {
  position: absolute;
  z-index: 3;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(var(--ink-rgb), .06);
}
.hv-search { top: 31%; left: 0; width: min(68%, 350px); padding: 16px; }
.hv-chart { bottom: 4%; right: -2%; width: min(60%, 310px); padding: 18px; background: var(--ink); color: rgba(255, 255, 255, .75); border-color: rgba(255, 255, 255, .08); }
.hv-vitals { top: 6%; right: -2%; padding: 14px 16px; width: 186px; }
.js .hv-card { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .hv-search { animation-delay: .2s; }
.js .hv-vitals { animation-delay: .45s; }
.js .hv-chart { animation-delay: .65s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.sbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: .88rem;
  color: var(--ink);
}
.sbar .icon { width: 17px; height: 17px; color: var(--brand); stroke-width: 2.2; }
.sbar span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbar .caret { width: 1.5px; height: 16px; background: var(--brand); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mp-label { margin: 14px 2px 8px; font: 600 .66rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mp-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; }
.mp-row + .mp-row { margin-top: 2px; }
.mp-row--you { background: var(--accent-200); }
.mp-pin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--tint);
  color: var(--brand);
}
.mp-row--you .mp-pin { background: var(--brand); color: var(--accent); }
.mp-pin .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.mp-lines { flex: 1; min-width: 0; display: grid; gap: 6px; }
.mp-lines b { font-size: .86rem; color: var(--ink); font-weight: 650; line-height: 1.1; }
.mp-lines small { font-size: .74rem; color: var(--brand); font-weight: 600; line-height: 1; }
.sk { display: block; height: 7px; border-radius: 4px; background: var(--tint-2); }
.sk--60 { width: 60%; } .sk--40 { width: 40%; } .sk--75 { width: 75%; } .sk--30 { width: 30%; } .sk--90 { width: 90%; } .sk--50 { width: 50%; }
.sk--dark { background: rgba(var(--ink-rgb), .12); }

.hv-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.hv-chart-head strong { color: #fff; font-size: .9rem; font-weight: 600; }
.hv-chart-head .badge { background: rgba(var(--accent-rgb), .14); color: var(--accent); font-size: .6rem; }
.hv-chart svg { width: 100%; height: auto; overflow: visible; }
.hv-chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 0; }
.js .hv-chart .line { stroke-dashoffset: 600; animation: draw 1.8s 1s var(--ease) forwards; }
.hv-chart .area { fill: url(#heroArea); }
.hv-chart .grid-line { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.hv-legend { display: flex; gap: 14px; margin-top: 10px; font-size: .72rem; }
.hv-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hv-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.hv-legend i.alt { background: rgba(255, 255, 255, .35); }

.hv-vitals strong { display: block; margin-bottom: 10px; font-size: .8rem; color: var(--ink); }
.vit { display: flex; align-items: center; justify-content: space-between; font: 600 .74rem/1 var(--font-mono); color: var(--muted); padding: 6px 0; border-top: 1px dashed var(--line); }
.vit em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; color: var(--brand); }
.vit em::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px rgba(var(--brand-rgb), .2); }

/* Marquee strip */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding-block: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 40px; padding: 0 20px; margin: 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 40px; font: 600 clamp(1.2rem, 1rem + .9vw, 1.9rem)/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.marquee li::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.marquee li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Generic UI illustration card (service visuals) */
.ui {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  font-size: .88rem;
  color: var(--text);
}
.ui-wrap { position: relative; padding: 20px; }
.ui-wrap::before {
  content: "";
  position: absolute;
  inset: 0 0 0 40px;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--brand-600), var(--brand) 55%, var(--brand-900));
}
.ui-wrap::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 90px;
  height: 90px;
  z-index: -1;
  background-image: radial-gradient(rgba(var(--accent-rgb), .55) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}
.ui-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ui-title strong { font: 650 1rem/1.2 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.ui-note { margin-top: 14px; font: 500 .7rem/1.3 var(--font-mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.ui-row:first-of-type { border-top: 0; }
.ui-row > span:first-child { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 550; }
.ui-row .icon { width: 17px; height: 17px; color: var(--brand); }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font: 600 .68rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--ok { background: var(--accent-200); color: var(--brand); }
.st--warn { background: #FEF0C7; color: #93370D; }
.st--fix { background: var(--danger-bg); color: var(--danger); }
.st--info { background: var(--tint); color: var(--muted); }
.ui-tag { font-family: var(--font-mono); font-size: .78rem; color: var(--brand); background: var(--tint); padding: 2px 7px; border-radius: 6px; }
.ui-code { display: grid; gap: 10px; font-family: var(--font-mono); font-size: .8rem; }
.ui-code div { display: flex; align-items: center; gap: 10px; }
.ui-code .sk { flex: 1; }
.ui-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.ring { text-align: center; font: 600 .72rem/1 var(--font-mono); color: var(--muted); }
.ring svg { width: 64px; height: 64px; margin: 0 auto 8px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .track { stroke: var(--tint); }
.ring .val { stroke: var(--brand); stroke-linecap: round; }
.ring b { display: block; margin-top: 4px; color: var(--brand); font-size: .7rem; }
.ui-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ui-product { border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.ui-product i { display: block; aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(135deg, var(--tint), var(--tint-2)); margin-bottom: 10px; position: relative; }
.ui-product i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(var(--brand-rgb), .12); }
.ui-product .sk + .sk { margin-top: 6px; }
.ui-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; font-size: .76rem; color: var(--muted); }
.ui-kw { display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ui-kw:first-of-type { border-top: 0; }
.ui-kw span:first-child { font-family: var(--font-mono); font-size: .8rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-bar { height: 8px; border-radius: 4px; background: var(--tint); overflow: hidden; }
.ui-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.ui-doc { display: grid; gap: 9px; }
.ui-doc .h { height: 12px; border-radius: 5px; background: var(--ink); opacity: .85; }
.ui-doc .h2 { height: 9px; border-radius: 5px; background: var(--brand); width: 55%; margin-top: 8px; }
.ui-graph svg { width: 100%; height: auto; }
.ui-graph .edge { stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 4; }
.ui-graph .node { fill: #fff; stroke: var(--line-strong); stroke-width: 1.5; }
.ui-graph .node--main { fill: var(--brand); stroke: var(--brand); }
.ui-graph text { font: 600 10.5px var(--font-body); fill: var(--ink); }
.ui-graph .t-main { fill: #fff; font-size: 11px; }
.ui-profile-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.ui-avatar { width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: var(--accent); display: grid; place-items: center; flex: none; }
.ui-avatar .icon { width: 26px; height: 26px; }
.ui-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.ui-actions span { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; background: var(--tint); font-size: .7rem; font-weight: 600; color: var(--brand); }
.ui-actions .icon { width: 18px; height: 18px; }
.ui-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ui-photos i { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, var(--tint), var(--tint-2)); }
.ui-photos i:nth-child(2) { background: linear-gradient(135deg, #DCD8F2, #C9C3EC); }
.ui-bubble { padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: #fff; margin-left: 18%; font-size: .84rem; }
.ui-answer { margin-top: 14px; padding: 14px; border-radius: 16px 16px 16px 4px; background: var(--tint); display: grid; gap: 8px; }
.ui-answer strong { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--brand); }
.ui-answer .icon { width: 16px; height: 16px; }
.ui-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ui-sources span { padding: 4px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .7rem; font-family: var(--font-mono); }
.ui-sources span.you { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 600; }
.ui-ad { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.ui-ad small { font: 700 .72rem/1 var(--font-body); color: var(--ink); }
.ui-ad .url { display: block; margin: 6px 0 6px; font-size: .74rem; color: var(--muted); }
.ui-ad .headline { display: block; color: #1A4FB4; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.ui-sitelinks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 10px; }
.ui-sitelinks span { font-size: .74rem; color: #1A4FB4; font-weight: 550; }
.ui-tree { display: grid; gap: 8px; }
.ui-tree div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 550; color: var(--ink); }
.ui-tree .l1 { margin-left: 22px; }
.ui-tree .l2 { margin-left: 44px; font-weight: 500; color: var(--text); }
.ui-tree .root { background: var(--brand); color: #fff; border-color: var(--brand); }
.ui-tree .root .icon { color: var(--accent); }
.ui-tree .icon { width: 16px; height: 16px; color: var(--brand); }
.ui-browser { padding: 0; overflow: hidden; }
.ui-chrome { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.ui-chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.ui-chrome span { flex: 1; margin-left: 10px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 .7rem/1 var(--font-mono); color: var(--muted); }
.ui-page { padding: 18px; display: grid; gap: 12px; }
.ui-hero-block { border-radius: 12px; background: var(--ink); padding: 18px; display: grid; gap: 8px; }
.ui-hero-block .sk { background: rgba(255, 255, 255, .18); }
.ui-hero-block .cta { width: 34%; height: 18px; border-radius: 999px; background: var(--accent); margin-top: 4px; }
.ui-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-cards i { height: 54px; border-radius: 10px; background: var(--tint); }
.ui-ab { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ui-variant { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 8px; }
.ui-variant header { display: flex; justify-content: space-between; align-items: center; font: 700 .74rem/1 var(--font-mono); color: var(--ink); }
.ui-variant .btnsk { height: 16px; border-radius: 999px; background: var(--ink); width: 60%; }
.ui-variant.b .btnsk { background: var(--accent); width: 80%; }
.ui-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.ui-cal span { aspect-ratio: 1; border-radius: 7px; background: var(--bg); border: 1px solid var(--line); font: 600 .62rem/1 var(--font-mono); color: var(--muted); padding: 4px; display: flex; flex-direction: column; justify-content: space-between; }
.ui-cal span.on { background: var(--brand); border-color: var(--brand); color: rgba(255, 255, 255, .7); }
.ui-cal span.on b { display: block; height: 4px; border-radius: 2px; background: var(--accent); }
.ui-cal span.alt { background: var(--accent-200); border-color: var(--accent-200); color: var(--brand); }
.ui-cal span.alt b { display: block; height: 4px; border-radius: 2px; background: var(--brand); }
.ui-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: .74rem; }
.ui-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ui-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--brand); }
.ui-legend i.accent { background: var(--accent); }

/* Fylde Coast map */
.fmap { position: relative; }
.fmap-svg { display: block; width: 100%; height: auto; }
.fmap .sea { fill: var(--tint); }
.fmap .land { fill: url(#landDots); stroke: rgba(var(--brand-rgb), .35); stroke-width: 1.2; }
.fmap .land-fill { fill: #fff; }
.fmap .river { fill: none; stroke: var(--tint); stroke-width: 4; stroke-linecap: round; }
.fmap .tram { fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .5; }
.fmap .pin circle.halo { fill: rgba(var(--accent-rgb), .0); transition: fill .3s, r .3s; }
.fmap .pin circle.dot { fill: var(--brand); stroke: #fff; stroke-width: 2.5; transition: fill .3s; }
.fmap .pin text { font: 650 13px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .9); stroke-width: 4px; stroke-linejoin: round; }
.fmap .pin.is-active circle.halo, .fmap .pin.is-hover circle.halo { fill: rgba(var(--accent-rgb), .45); }
.fmap .pin.is-active circle.dot, .fmap .pin.is-hover circle.dot { fill: var(--accent); stroke: var(--brand); }
.fmap .pin a { cursor: pointer; }
.fmap .label-sea { font: 600 11px var(--font-mono); letter-spacing: .2em; fill: rgba(var(--brand-rgb), .45); }
.fmap .minor { fill: rgba(var(--brand-rgb), .45); }
.fmap .minor-label { font: 500 11px var(--font-body); fill: var(--muted); }
.map-card { margin: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--tint); box-shadow: var(--shadow); }
.map-card figcaption .icon { width: 18px; height: 18px; }
.map-card figcaption { padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.map-card figcaption .icon { color: var(--brand); }

/* Coverage rings (regional and national pages) */
.rings { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; }
.rings svg { width: 100%; height: auto; }
.rings .r { fill: none; stroke: rgba(var(--brand-rgb), .22); stroke-width: 1.5; }
.rings .r.on { stroke: var(--brand); stroke-width: 2.5; fill: rgba(var(--accent-rgb), .12); }
.rings text { font: 650 13px var(--font-body); fill: var(--ink); }
.rings text.on { fill: var(--brand); font-weight: 750; }
.rings .core { fill: var(--brand); }

/* 9b. Photography --------------------------------------------------------- */

.photo { display: block; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--tint);
  isolation: isolate;
}
.media-frame .photo { width: 100%; height: 100%; }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .06);
  pointer-events: none;
}
.media-frame--portrait { aspect-ratio: 4 / 5; }
.media-frame--card { aspect-ratio: 4 / 3; }
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--shade::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(185deg, transparent 45%, rgba(23, 18, 79, .5) 100%);
  pointer-events: none;
}

/* Home hero: photo inside the panel */
.hero-panel--photo { background: var(--brand-900); }
.hero-panel--photo::before { display: none; }
.hero-panel--photo .photo { position: absolute; inset: 0; }
.hero-panel--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 85% 10%, rgba(var(--accent-rgb), .22), transparent 70%),
    linear-gradient(195deg, rgba(23, 18, 79, .05) 35%, rgba(23, 18, 79, .62) 100%);
}

/* Inner page heroes: photo with a floating illustration card */
.hero-media { position: relative; width: 100%; max-width: 540px; margin-left: auto; padding: 0 0 44px 44px; }
.hero-media .media-frame { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.hero-media .float-card { position: absolute; left: 0; bottom: 0; z-index: 2; width: min(74%, 330px); }
.hero-media .float-card .ui-wrap { padding: 0; }
.hero-media .float-card .ui-wrap::before, .hero-media .float-card .ui-wrap::after { display: none; }
.hero-media .float-card .ui { padding: 18px; font-size: .82rem; }
.hero-media .float-card .ui-row { padding: 9px 0; }
.hero-media .float-card--map { width: min(62%, 300px); padding: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero-media .float-card--rings { width: min(52%, 250px); padding: 14px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.place-chip {
  position: absolute;
  top: 22px;
  right: -14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 650;
  color: var(--ink);
  font-size: .92rem;
}
.place-chip .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--brand); color: var(--accent); stroke-width: 2; }
.place-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; line-height: 1.1; }
.js .hero-media .float-card, .js .hero-media .place-chip { opacity: 0; transform: translateY(16px); animation: rise .9s .25s var(--ease) forwards; }
.js .hero-media .place-chip { animation-delay: .45s; }

/* Photo tops on cards */
.card-media { position: relative; margin: -30px -30px 24px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--tint); }
.card-media .photo, .card-media img { transition: transform .8s var(--ease); }
.card--link:hover .card-media img, .ind:hover .card-media img { transform: scale(1.05); }
.card-media + .card-icon { position: relative; z-index: 2; margin-top: -50px; border: 3px solid #fff; box-shadow: var(--shadow); background: #fff; }
.card-media--wide { aspect-ratio: 16 / 9; }
.dm-card .card-media { margin: -24px -24px 20px; }
.dm-card .card-media + .card-icon { margin-top: -44px; }

/* Thumbnails in lists */
.svc-thumb { width: 72px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--tint); flex: none; transition: transform .45s var(--ease); }
.svc-thumb img { transition: transform .6s var(--ease); }
.svc-row:hover .svc-thumb, .svc-row:focus-visible .svc-thumb { transform: rotate(-3deg) scale(1.06); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.area-thumb { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex: none; background: var(--tint); }
.svc-thumb .photo, .area-thumb .photo, .card-media .photo { width: 100%; height: 100%; }

/* Trust image */
.trust-photo { margin-top: 0; }
.trust-photo .media-frame { aspect-ratio: 4 / 3; }

/* CTA panels with the Illuminations at night */
.cta-panel--photo { background: var(--brand-900); }
.cta-panel--photo > .photo { position: absolute; inset: 0; z-index: -2; }
.cta-panel--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(var(--accent-rgb), .18), transparent 60%),
    linear-gradient(100deg, rgba(23, 18, 79, .96) 0%, rgba(42, 33, 144, .9) 48%, rgba(23, 18, 79, .74) 100%);
}

/* Article header image */
.article-figure { margin: 0 0 8px; }
.article-figure .media-frame { aspect-ratio: 2 / 1; box-shadow: var(--shadow); }

/* 9c. Human touches: handwriting, notes and paper ------------------------- */

.hand-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font: 600 1.6rem/1.1 var(--font-hand);
  letter-spacing: 0;
  color: var(--brand);
  transform: rotate(-2.5deg);
  transform-origin: left center;
}
.hand-note--small { font-size: 1.42rem; }
.hand-note--light { color: var(--accent); }
.hand-arrow { width: 58px; height: 40px; flex: none; color: var(--accent-600); }
.hand-note--light .hand-arrow { color: rgba(255, 255, 255, .7); }
.hand-arrow path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-note { margin: 14px 0 0 30px; }
.hero-note .hand-arrow { margin-top: -26px; }
.margin-note { display: flex; max-width: 34ch; margin-top: 28px; font-size: 1.45rem; line-height: 1.15; color: var(--ink); }
.margin-note b { color: var(--brand); font-weight: 700; }

/* Sticky note pinned to a photo */
.sticky-note {
  position: absolute;
  z-index: 2;
  right: -16px;
  bottom: -30px;
  max-width: 230px;
  margin: 0;
  padding: 24px 20px 18px;
  border-radius: 3px 3px 18px 3px;
  background: linear-gradient(180deg, #FFF6D9, #FCE8AE);
  color: var(--ink);
  font: 600 1.5rem/1.15 var(--font-hand);
  transform: rotate(3.5deg);
  box-shadow: 0 1px 0 rgba(var(--ink-rgb), .05), 0 22px 30px -20px rgba(var(--ink-rgb), .55);
}
.sticky-note::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 86px;
  height: 22px;
  margin-left: -43px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 1px 2px rgba(var(--ink-rgb), .08);
  transform: rotate(-3deg);
}
.trust-photo { position: relative; }

/* Ruled notepaper with a handwritten title and signature */
.paper-note {
  position: relative;
  padding: 30px 44px 26px 82px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 56px, rgba(var(--accent-rgb), .6) 56px, rgba(var(--accent-rgb), .6) 58px, transparent 58px),
    repeating-linear-gradient(180deg, #FFFEFA 0, #FFFEFA 33px, rgba(var(--brand-rgb), .13) 33px, rgba(var(--brand-rgb), .13) 34px);
  color: var(--text);
  line-height: 34px;
  box-shadow: 0 1px 2px rgba(var(--ink-rgb), .06), 0 26px 44px -30px rgba(var(--ink-rgb), .5);
  transform: rotate(-.35deg);
}
.paper-note .paper-title { margin: 0 0 2px; font: 700 2.15rem/34px var(--font-hand); letter-spacing: 0; color: var(--brand); }
.paper-note p { margin: 0 0 34px; line-height: 34px; max-width: 68ch; }
.paper-note p:last-of-type { margin-bottom: 0; }
.paper-sign { display: block; margin-top: 8px; text-align: right; font: 600 1.75rem/34px var(--font-hand); color: var(--ink); }
.paper-sign::before { content: ""; display: inline-block; width: 26px; height: 2px; margin: 0 10px 8px 0; background: var(--accent-600); vertical-align: middle; }

/* Why choose: photo feature panel */
.bento .bento-feature--photo { justify-content: flex-end; min-height: 520px; background: var(--brand-900); }
.bento-feature--photo > .photo { position: absolute; inset: 0; z-index: -2; }
.bento-feature--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 18, 79, .05) 0%, rgba(23, 18, 79, .45) 38%, rgba(23, 18, 79, .94) 100%);
}


@media (max-width: 766.98px) {
  .hand-note { font-size: 1.4rem; }
  .hero-note { margin-left: 18px; }
  .sticky-note { right: 10px; bottom: -22px; max-width: 200px; font-size: 1.3rem; padding: 20px 16px 14px; }
  .paper-note { padding: 24px 20px 22px 50px; background:
    linear-gradient(90deg, transparent 34px, rgba(var(--accent-rgb), .6) 34px, rgba(var(--accent-rgb), .6) 36px, transparent 36px),
    repeating-linear-gradient(180deg, #FFFEFA 0, #FFFEFA 33px, rgba(var(--brand-rgb), .13) 33px, rgba(var(--brand-rgb), .13) 34px); }
  .paper-note .paper-title { font-size: 1.85rem; }
  .bento .bento-feature--photo { min-height: 440px; }
}

/* 10. Home sections ------------------------------------------------------- */

/* Shared icon tile: indigo gradient with a gold glyph */
.tile-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand-600), var(--brand) 55%, var(--brand-800));
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 22px -12px rgba(var(--brand-rgb), .8);
}
.tile-ic .icon { width: 24px; height: 24px; }

/* Trust: one connected panel of four principles */
.trust-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.trust-cell { position: relative; padding: 34px 30px 32px; }
.trust-cell + .trust-cell { border-left: 1px solid var(--line); }
.trust-cell::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.trust-cell:hover::before { transform: scaleX(1); }
.trust-cell-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.trust-no { font: 700 2.4rem/1 var(--font-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.trust-cell h3 { font-size: 1.18rem; margin-bottom: 8px; }
.trust-cell p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.6; }

/* Standards band */
.standards-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr);
  gap: 32px 48px;
  align-items: center;
  margin-top: 24px;
  padding: 34px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(var(--brand-rgb), .55), transparent 70%),
    radial-gradient(40% 120% at 0% 100%, rgba(var(--accent-rgb), .16), transparent 70%),
    var(--ink);
  color: rgba(255, 255, 255, .72);
  overflow: hidden;
  isolation: isolate;
  --focus: var(--accent);
}
.standards-intro h3 { margin: 0 0 8px; color: #fff; font-size: 1.3rem; }
.standards-intro p { margin: 0; font-size: .92rem; line-height: 1.55; }
.standards-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.standards-list li { display: flex; flex-direction: column; gap: 14px; padding: 4px 22px; border-left: 1px solid rgba(255, 255, 255, .12); }
.standards-list strong { display: block; color: #fff; font-size: .98rem; font-weight: 650; line-height: 1.25; }
.standards-list small { display: block; margin-top: 3px; color: rgba(255, 255, 255, .6); font-size: .82rem; }
.std-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .1); color: var(--accent); }
.std-ic .icon { width: 20px; height: 20px; }

/* Strip of linked chips (for example "Available across") */
.standards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 48px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.standards > span { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.standards > span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.standards .chip { background: var(--bg); }

.card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card--link:hover .card-icon { background: var(--brand); color: var(--accent); }
.card--tint { background: var(--tint); border-color: transparent; }
.card--dark { background: var(--ink); border-color: transparent; color: rgba(255, 255, 255, .74); }
.card--dark h3, .card--dark strong { color: #fff; }
.card--dark p { color: rgba(255, 255, 255, .72); }
.card--brand { background: var(--brand); border-color: transparent; color: rgba(255, 255, 255, .8); }
.card--brand h3 { color: #fff; }
.card--brand p { color: rgba(255, 255, 255, .78); }
.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--brand);
  transition: background-color .3s, color .3s;
}
.card-icon .icon { width: 24px; height: 24px; }
.card--dark .card-icon, .card--brand .card-icon { background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.card-num { display: block; margin-bottom: 18px; font: 600 .78rem/1 var(--font-mono); letter-spacing: .1em; color: var(--brand); }
.card .link-arrow { margin-top: 18px; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { color: inherit; }

/* Services list rows */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 72px minmax(0, 1.05fr) minmax(0, 1fr) 52px;
  align-items: center;
  gap: 22px;
  padding: 24px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: color .35s;
}
.svc-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.svc-row:hover, .svc-row:focus-visible { color: #fff; }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleY(1); }
.svc-row:focus-visible { outline-offset: -3px; --focus: var(--accent); }
.svc-num { font: 600 .8rem/1 var(--font-mono); color: var(--muted); transition: color .35s; }
.svc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--brand); transition: background-color .35s, color .35s; }
.svc-ic .icon { width: 24px; height: 24px; }
.svc-name { font: 650 clamp(1.3rem, 1.05rem + .9vw, 1.85rem)/1.1 var(--font-display); letter-spacing: -.025em; }
.svc-desc { color: var(--muted); font-size: .97rem; line-height: 1.5; transition: color .35s; }
.svc-go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease); }
.svc-go .icon { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform .35s var(--ease); }
.svc-row:hover .svc-num, .svc-row:focus-visible .svc-num, .svc-row:hover .svc-desc, .svc-row:focus-visible .svc-desc { color: rgba(255, 255, 255, .78); }
.svc-row:hover .svc-ic, .svc-row:focus-visible .svc-ic { background: rgba(var(--accent-rgb), .16); color: var(--accent); }
.svc-row:hover .svc-go, .svc-row:focus-visible .svc-go { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.svc-row:hover .svc-go .icon, .svc-row:focus-visible .svc-go .icon { transform: rotate(0); }

/* Digital marketing: intro panel plus photo tiles */
.dm-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 80px; }
.dm-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 330px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(var(--accent-rgb), .22), transparent 65%),
    linear-gradient(155deg, var(--brand-600), var(--brand) 50%, var(--brand-900));
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
  isolation: isolate;
  --focus: var(--accent);
}
.dm-intro::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 36px rgba(255, 255, 255, .03), 0 0 0 72px rgba(255, 255, 255, .025);
  z-index: -1;
}
.dm-intro .eyebrow { color: var(--accent); margin-bottom: auto; }
.dm-intro h3 { margin: 28px 0 12px; color: #fff; font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); line-height: 1.12; letter-spacing: -.03em; }
.dm-intro p:not(.eyebrow) { margin: 0 0 24px; font-size: .97rem; }
.dm-tile {
  position: relative;
  min-height: 330px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--brand-900);
  color: rgba(255, 255, 255, .82);
}
.dm-tile > .photo { position: absolute; inset: 0; z-index: -2; }
.dm-tile > .photo img { transition: transform .9s var(--ease); }
.dm-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 20, 48, .08) 20%, rgba(15, 20, 48, .55) 55%, rgba(15, 20, 48, .94) 100%);
  transition: background-color .4s;
}
.dm-tile:hover > .photo img, .dm-tile:focus-within > .photo img { transform: scale(1.06); }
.dm-tile:hover::before, .dm-tile:focus-within::before { background-color: rgba(var(--brand-rgb), .38); }
.dm-tile-ic, .dm-tile-go {
  position: absolute;
  top: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dm-tile-ic { left: 18px; }
.dm-tile-go { right: 18px; border-radius: 50%; transition: background-color .35s, color .35s, transform .35s var(--ease); }
.dm-tile-ic .icon, .dm-tile-go .icon { width: 20px; height: 20px; }
.dm-tile:hover .dm-tile-go, .dm-tile:focus-within .dm-tile-go { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(45deg); }
.dm-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px 26px; }
.dm-tile h4 { margin: 0 0 6px; font-size: 1.32rem; letter-spacing: -.02em; }
.dm-tile h4 a { color: #fff; text-decoration: none; }
.dm-tile h4 a:focus-visible { outline: 0; }
.dm-tile:has(a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.dm-tile p { margin: 0; font-size: .95rem; line-height: 1.5; color: rgba(255, 255, 255, .8); }

/* Visibility visualisation */
.viz { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.viz-legend { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; }
.viz-legend button {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .78);
  text-align: left;
  transition: background-color .25s, border-color .25s;
}
.viz-legend button:hover, .viz-legend button[aria-pressed="true"] { background: rgba(255, 255, 255, .06); border-color: rgba(var(--accent-rgb), .5); }
.viz-legend i { width: 14px; height: 14px; border-radius: 4px; margin-top: 4px; flex: none; }
.viz-legend strong { display: block; color: #fff; font-size: 1rem; }
.viz-legend span { display: block; font-size: .9rem; line-height: 1.45; }
.viz-chart { position: relative; padding: 28px; border-radius: var(--radius-xl); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.viz-chart svg { width: 100%; height: auto; overflow: visible; }
.viz-chart .layer { transition: opacity .35s; }
.viz-chart.has-focus .layer { opacity: .18; }
.viz-chart.has-focus .layer.is-focus { opacity: 1; }
.viz-chart .axis { stroke: rgba(255, 255, 255, .25); stroke-width: 1.2; }
.viz-chart .gl { stroke: rgba(255, 255, 255, .06); }
.viz-chart .ms line { stroke: rgba(var(--accent-rgb), .45); stroke-dasharray: 3 4; }
.viz-chart .ms circle { fill: var(--ink); stroke: var(--accent); stroke-width: 2; }
.viz-chart text { font: 500 12px var(--font-body); fill: rgba(255, 255, 255, .6); }
.viz-chart text.ms-t { fill: rgba(255, 255, 255, .85); font-weight: 600; }
.viz-chart .total { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.js .viz-chart .layer path { transform: scaleY(0); transform-origin: 0 300px; transition: transform 1.2s var(--ease); }
.js .viz-chart.is-visible .layer path { transform: scaleY(1); }
.js .viz-chart .layer:nth-of-type(2) path { transition-delay: .15s; }
.js .viz-chart .layer:nth-of-type(3) path { transition-delay: .3s; }
.js .viz-chart .layer:nth-of-type(4) path { transition-delay: .45s; }
.viz-caption { display: flex; gap: 10px; margin-top: 18px; font-size: .84rem; color: rgba(255, 255, 255, .6); }
.viz-caption .icon { color: var(--accent); flex: none; margin-top: 2px; }
.surfaces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.surfaces span { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: rgba(255, 255, 255, .85); }

/* Why choose: bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 18px; }
.bento .card { padding: 30px; }
.bento-feature { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: hidden; isolation: isolate; }
.bento-feature h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.1; letter-spacing: -.03em; }
.bento-feature .tower-mini { position: absolute; right: -10px; bottom: -10px; height: 75%; width: auto; color: var(--accent); opacity: .22; z-index: -1; }

/* Process: sticky introduction beside a vertical timeline */
.process-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px 88px; align-items: start; }
.process-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.process-aside h2 { margin-bottom: 20px; }
.process-aside > .muted { max-width: 46ch; margin-bottom: 30px; }
.process-loop { display: flex; gap: 16px; align-items: center; max-width: 440px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); }
.process-loop .tile-ic { width: 46px; height: 46px; border-radius: 14px; }
.process-loop p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.process-loop strong { display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: 1.02rem; }
.process-hand { margin: 30px 0 26px 6px; }
.process-hand .hand-arrow { margin-left: 4px; }
.process-wrap { position: relative; }
.process { position: relative; display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.process-line { position: absolute; top: 28px; bottom: 28px; left: 27px; width: 2px; background: var(--line); border-radius: 2px; }
.process-line i { display: block; width: 100%; height: calc(var(--p, 0) * 100%); border-radius: 2px; background: linear-gradient(180deg, var(--brand), var(--accent)); transition: height .2s linear; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; align-items: start; }
.step-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 0 0 6px #fff;
  font: 650 .85rem/1 var(--font-mono);
  color: var(--brand);
  transition: background-color .4s, color .4s, border-color .4s;
}
.step.is-reached .step-dot { background: var(--brand); border-color: var(--brand); color: var(--accent); }
.step-card {
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: background-color .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.step.is-reached .step-card { background: #fff; border-color: rgba(var(--brand-rgb), .22); box-shadow: var(--shadow); }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.step h3 { font-size: 1.2rem; margin: 0; }
.step p { font-size: .96rem; color: var(--muted); line-height: 1.55; margin: 0; }
.step-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--tint); color: var(--brand); transition: background-color .4s, color .4s; }
.step-ic .icon { width: 19px; height: 19px; }
.step.is-reached .step-ic { background: var(--accent-200); color: var(--brand-800); }

/* Results: reporting panel */
.report-panel {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 32px 56px;
  align-items: center;
  margin-top: 28px;
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(55% 90% at 0% 0%, rgba(var(--brand-rgb), .5), transparent 70%),
    radial-gradient(40% 70% at 100% 100%, rgba(var(--accent-rgb), .14), transparent 70%),
    var(--ink);
  color: rgba(255, 255, 255, .72);
}
.report-intro .eyebrow { color: var(--accent); }
.report-intro h3 { color: #fff; font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 12px; }
.report-intro p:not(.eyebrow) { margin: 0; font-size: .98rem; }
.report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.report-grid li { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .3s, border-color .3s; }
.report-grid li:hover { background: rgba(255, 255, 255, .08); border-color: rgba(var(--accent-rgb), .4); }
.report-grid strong { color: #fff; font-size: .98rem; line-height: 1.3; }
.report-grid li > span:last-child { font-size: .86rem; line-height: 1.45; color: rgba(255, 255, 255, .62); }
.report-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 12px; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.report-ic .icon { width: 19px; height: 19px; }

/* Industries: list beside a large photo that follows the active row */
.ind-show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.ind-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(var(--brand-rgb), .16); }
.ind-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 20px;
  border-bottom: 1px solid rgba(var(--brand-rgb), .16);
  border-radius: 0;
  transition: background-color .35s, border-radius .35s, box-shadow .35s;
}
.ind-item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--accent); transform: scaleY(0); transition: transform .35s var(--ease); }
.ind-item.is-active { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-bottom-color: transparent; }
.ind-item.is-active::before { transform: scaleY(1); }
.ind-no { padding-top: 13px; font: 600 .78rem/1 var(--font-mono); color: var(--muted); }
.ind-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--brand); border: 1px solid rgba(var(--brand-rgb), .14); transition: background-color .35s, color .35s; }
.ind-ic .icon { width: 22px; height: 22px; }
.ind-item.is-active .ind-ic { background: var(--brand); border-color: var(--brand); color: var(--accent); }
.ind-copy h3 { font-size: 1.15rem; margin: 2px 0 4px; }
.ind-copy p { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--muted); }
.ind-thumb { display: none; }
.ind-stage { position: sticky; top: calc(var(--header-h) + 40px); aspect-ratio: 4 / 4.4; border-radius: var(--radius-xl); background: var(--brand-900); box-shadow: var(--shadow-lg); }
.ind-shot { position: absolute; inset: 0; margin: 0; border-radius: inherit; overflow: hidden; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.ind-shot.is-active { opacity: 1; transform: none; }
.ind-shot .photo { position: absolute; inset: 0; }
.ind-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 20, 48, .75)); }
.ind-shot figcaption { position: absolute; left: 24px; bottom: 24px; z-index: 1; display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 650; box-shadow: var(--shadow); }
.ind-shot figcaption .ind-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); border: 0; color: var(--accent); }
.ind-shot figcaption .ind-ic .icon { width: 18px; height: 18px; }
.ind-hand { position: absolute; right: 18px; bottom: -50px; transform: rotate(-3deg); }

/* Areas */
.areas { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.area-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.area-link > span { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.area-link .icon { width: 18px; height: 18px; color: var(--brand); }
.area-link .icon-go { transition: transform .3s var(--ease); }
.area-link:hover, .area-link.is-hover { border-color: var(--brand); background: var(--tint); color: var(--ink); }
.area-link:hover .icon-go { transform: translateX(3px); }
.area-link[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.area-link[aria-current="page"] .icon { color: var(--accent); }
.area-list--auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.area-list--single { grid-template-columns: 1fr; }
.area-sub { color: var(--muted); font-weight: 450; }
.area-link:hover .area-sub { color: var(--text); }
.card--line { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.card--line .chip { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff; }
.card--line a.chip:hover { border-color: var(--accent); color: var(--accent); }
.card--dark .link-arrow, .card--brand .link-arrow { color: var(--accent); }
.area-group-title { margin: 28px 0 12px; font: 600 .74rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.area-group-title:first-child { margin-top: 0; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; font-size: inherit; }
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 4px;
  color: var(--ink);
  font: 620 clamp(1.04rem, 1rem + .25vw, 1.18rem)/1.4 var(--font-body);
  letter-spacing: -.01em;
  text-align: left;
}
.faq-btn:hover { color: var(--brand); }
.faq-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.faq-icon .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.faq-btn[aria-expanded="true"] .faq-icon { background: var(--brand); color: var(--accent); transform: rotate(45deg); }
.faq-a { padding: 0 64px 26px 4px; color: var(--text); }
.js .faq-a:not(.is-open) { display: none; }
.faq-a p { max-width: 70ch; }
.section--tint .faq-icon { background: #fff; }

/* Final CTA panel */
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding: clamp(36px, 5vw, 72px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(var(--accent-rgb), .18), transparent 60%),
    linear-gradient(150deg, var(--brand-600) 0%, var(--brand) 50%, var(--brand-900) 100%);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
  isolation: isolate;
}
.cta-panel--simple { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.cta-panel h2 { color: #fff; margin-bottom: 18px; }
.cta-panel .lead { color: rgba(255, 255, 255, .82); margin-bottom: 30px; }
.cta-panel .tower-bg { position: absolute; left: -2%; bottom: -4px; height: 92%; width: auto; color: var(--accent); opacity: .14; z-index: -1; }
.cta-contact { display: grid; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cta-contact a, .cta-contact address { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-style: normal; font-weight: 550; }
.cta-contact a:hover { color: var(--accent); }
.cta-contact .icon { width: 20px; height: 20px; color: var(--accent); }
.cta-form { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); --focus: var(--brand); }
.cta-form h3 { margin-bottom: 6px; }
.cta-form > p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }

/* 11. Inner pages --------------------------------------------------------- */

.page-hero {
  position: relative;
  padding-block: 36px 88px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.page-hero--simple .page-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.page-hero h1 { margin-bottom: 22px; }
.page-hero .lead { margin-bottom: 32px; }
.page-hero .ui-wrap, .page-hero .map-card, .page-hero .rings-card { max-width: 540px; margin-left: auto; width: 100%; }
.rings-card { padding: 24px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }

.breadcrumbs { margin-bottom: 36px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: rotate(45deg); margin-right: 4px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 550; }

.covers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.covers-grid .card { padding: 28px; }
.covers-grid h3 { font-size: 1.15rem; }
.covers-grid p { margin: 0; font-size: .96rem; }

.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps-grid > * { position: relative; padding: 28px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.steps-grid .card-num { color: var(--accent); }
.steps-grid h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.steps-grid p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .72); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.check-list .icon { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--ink); stroke-width: 2.4; margin-top: 1px; }
.card--dark .check-list .icon { background: rgba(var(--accent-rgb), .16); color: var(--accent); }
.card--dark .check-list li { color: rgba(255, 255, 255, .85); }

.note-box { display: flex; gap: 22px; padding: 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.note-box .card-icon { margin: 0; flex: none; }
.note-box h3 { margin-bottom: 6px; }
.note-box p { margin: 0; color: var(--text); }

.prose-cols { columns: 2; column-gap: 56px; }
.prose-cols p { break-inside: avoid; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.loc-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.page-cta-band { padding-block: 0 var(--section); }

/* Blog */
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn { padding: 9px 16px; min-height: 42px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-weight: 560; font-size: .92rem; color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card[hidden] { display: none; }
.post-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--brand); overflow: hidden; isolation: isolate; }
.post-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-thumb .photo { position: absolute; inset: 0; }
.post-thumb .photo img { transition: transform .8s var(--ease); }
.card--link:hover .post-thumb .photo img { transform: scale(1.05); }
.post-thumb::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(23, 18, 79, .35), transparent 40%); pointer-events: none; }
.post-thumb .badge { position: absolute; left: 18px; top: 18px; z-index: 2; }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 26px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .icon { width: 15px; height: 15px; }
.post-card h3 { font-size: 1.25rem; margin: 0; }
.post-card p { margin: 0; font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 8px; }
.post-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); margin-bottom: 32px; }
.post-feature .post-thumb { aspect-ratio: auto; min-height: 320px; }
.post-feature .post-body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.post-feature h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); margin: 0; }

.article-head { max-width: 860px; }
.article-head .post-meta { margin-top: 8px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.toc h2 { font-size: 1rem; font-family: var(--font-body); font-weight: 650; letter-spacing: 0; margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: toc; }
.toc ol a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .9rem; color: var(--text); text-decoration: none; line-height: 1.4; }
.toc ol a:hover, .toc ol a.is-active { background: var(--tint); color: var(--brand); }
.toc .btn { margin-top: 18px; width: 100%; justify-content: space-between; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 56px; padding: 24px; border-radius: var(--radius-lg); background: var(--tint); }
.author-box .brand-mark { width: 52px; height: 52px; }
.author-box p { margin: 0; font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: start; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-card .card-icon { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-card h3 { font-size: 1rem; margin-bottom: 2px; font-family: var(--font-body); letter-spacing: 0; font-weight: 650; }
.contact-card a, .contact-card address { font-style: normal; color: var(--ink); font-weight: 550; text-decoration: none; word-break: break-word; }
.contact-card a:hover { color: var(--brand); text-decoration: underline; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: n; }
.next-steps li { display: flex; gap: 14px; counter-increment: n; font-size: .96rem; }
.next-steps li::before { content: counter(n); display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--accent); color: var(--ink); font: 700 .8rem/1 var(--font-mono); }

/* Legal */
.legal { max-width: 78ch; }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); margin-top: 2.2em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 1.2em 0; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 650; color: var(--ink); background: var(--tint); }
.legal-updated { font: 600 .8rem/1 var(--font-mono); letter-spacing: .06em; color: var(--muted); }

/* About */
.values { counter-reset: v; }
.value { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }
.value:last-child { border-bottom: 1px solid var(--line); }
.value .card-num { margin: 6px 0 0; font-size: .9rem; }
.value h3 { margin: 0; }
.value p { margin: 0; color: var(--muted); }
.not-list li .icon { background: var(--danger-bg); color: var(--danger); }

/* Brand guidelines */
.brand-tile { display: grid; place-items: center; min-height: 220px; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.brand-tile--dark { background: var(--ink); border-color: var(--ink); }
.brand-tile--brand { background: var(--brand); border-color: var(--brand); }
.brand-tile--tint { background: var(--tint); }
.brand-tile img { max-height: 120px; width: auto; }
.brand-caption { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.swatch { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.swatch i { display: block; height: 110px; }
.swatch div { padding: 14px 16px; font-size: .88rem; }
.swatch strong { display: block; }
.swatch code { font-family: var(--font-mono); color: var(--muted); }

/* 404 */
.notfound { text-align: center; padding-block: 120px; }
.notfound .big { font: 800 clamp(6rem, 4rem + 10vw, 12rem)/.9 var(--font-display); letter-spacing: -.06em; color: var(--brand); }

/* 12. Forms --------------------------------------------------------------- */

.form { position: relative; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { font-weight: 450; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E34C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #6B6E87; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #A9A3CF; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #FFFBFA; }
.field.has-error input:focus, .field.has-error textarea:focus, .field.has-error select:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field-error { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--danger); font-weight: 550; }
.field-error[hidden] { display: none; }
.field-error .icon { width: 16px; height: 16px; }
.field-hint { font-size: .84rem; color: var(--muted); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form-legal { font-size: .84rem; color: var(--muted); margin: 0; max-width: 46ch; }
.form-status { display: none; gap: 12px; align-items: flex-start; margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.form-status.is-visible { display: flex; }
.form-status--error { background: var(--danger-bg); color: var(--danger); border: 1px solid #FECDCA; }
.form-status .icon { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-status ul { margin: 6px 0 0; padding-left: 1.1em; }
.form-status a { color: inherit; font-weight: 650; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn-icon .icon { opacity: 0; }
.btn.is-loading .btn-icon::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn-icon { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: none; text-align: center; padding: 28px 8px; }
.form-success.is-visible { display: block; }
.form-success .success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.form-success .success-icon .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); max-width: 44ch; margin-inline: auto; }
.form-card { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* 13. Footer -------------------------------------------------------------- */

.site-footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .7); overflow: hidden; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 64px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta h2 { color: #fff; margin: 0; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem); max-width: 20ch; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-block: 64px 48px; }
.footer-brand > div { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.footer-brand p { margin: 0; font-size: .95rem; max-width: 36ch; }
.footer-contact { display: grid; gap: 12px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-style: normal; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: flex-start; gap: 12px; color: rgba(255, 255, 255, .86); text-decoration: none; font-size: .95rem; line-height: 1.45; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.footer-col h2 { margin: 0 0 18px; color: #fff; font: 600 .76rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { display: inline-block; padding: 5px 0; color: rgba(255, 255, 255, .7); font-size: .93rem; text-decoration: none; line-height: 1.35; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col + .footer-col h2.sub { margin-top: 28px; }
.footer-col h2.sub { margin-top: 28px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-bottom p { margin: 0; }
/* Last line: copyright, then the website credit after a thin divider */
.footer-copy { display: flex; flex-wrap: wrap; align-items: center; }
.footer-copy > span { text-wrap: balance; }
.footer-credit::before { content: ""; display: inline-block; width: 1px; height: 1em; margin: 0 14px; vertical-align: -.14em; background: rgba(255, 255, 255, .24); }
.footer-credit a { padding-block: 4px; color: var(--accent); font-weight: 650; text-decoration: none; }
.footer-credit a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023.98px) {
  .footer-copy { flex-direction: column; align-items: flex-start; gap: 2px; }
  .footer-credit::before { display: none; }
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: rgba(255, 255, 255, .7); text-decoration: none; padding: 6px 0; display: inline-block; }
.footer-legal a:hover { color: var(--accent); }
.footer-legal-btn { display: inline-block; padding: 6px 0; border: 0; background: none; color: rgba(255, 255, 255, .7); font: inherit; cursor: pointer; }
.footer-legal-btn:hover { color: var(--accent); }

/* Cookie consent: only rendered when GA4 or Google Ads is configured */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 36px -18px rgba(var(--ink-rgb), .4);
}
.consent[hidden] { display: none; }
.consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 14px calc(14px + env(safe-area-inset-bottom)); }
.consent-text { margin: 0; max-width: 820px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.consent-title { color: var(--ink); }
.consent-text a { color: var(--brand); }
.consent-actions { display: flex; flex: none; gap: 10px; }
.consent-actions .btn { min-width: 118px; justify-content: center; padding-inline: 18px; }
/* Desktop: a compact card in the corner, clear of the hero buttons on the left */
@media (min-width: 1024px) {
  .consent { left: auto; right: 24px; bottom: 24px; width: 400px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
  .consent-inner { flex-direction: column; align-items: stretch; gap: 14px; max-width: none; padding: 20px 22px; }
  .consent-actions .btn { flex: 1; }
}
@media (max-width: 766.98px) {
  .consent-inner { flex-direction: column; align-items: stretch; gap: 10px; padding-block: 12px calc(12px + env(safe-area-inset-bottom)); }
  .consent-text { font-size: .84rem; line-height: 1.5; }
  .consent-actions .btn { flex: 1; min-height: 42px; }
}

/* Mobile CTA bar */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(var(--ink-rgb), .97);
  border-top: 1px solid rgba(255, 255, 255, .08);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; padding: 5px 6px 5px 16px; font-size: .92rem; justify-content: space-between; }
.mobile-cta .btn-icon { width: 34px; height: 34px; }

/* 14. Motion & utilities -------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

.mt-0 { margin-top: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }
.mb-m { margin-bottom: 32px; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .hv-card { opacity: 1; transform: none; }
  .js .hl path, .js .hv-chart .line { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .sbar .caret { animation: none; }
  .js .viz-chart .layer path { transform: none; }
}

/* 15. Responsive ---------------------------------------------------------- */

/* Desktop header: give the full navigation room to breathe */
.site-header .container { max-width: calc(1400px + var(--gutter) * 2); }
@media (min-width: 1280px) and (max-width: 1535.98px) {
  .site-header .container { --gutter: 24px; }
  .brand-word { font-size: 1.2rem; }
  .brand-mark { width: 38px; height: 38px; }
  .nav-link { padding: 10px 7px; font-size: .875rem; }
  .header-cta .cta-pre { display: none; }
  .header-inner { gap: 16px; }
}
@media (min-width: 1536px) {
  .nav-link { padding: 10px 10px; font-size: .92rem; }
}

/* Navigation collapses before the tablet breakpoint so items never crowd */
@media (max-width: 1279.98px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .header-call { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--brand); }
  .header-call .icon { width: 22px; height: 22px; }
}
@media (min-width: 1280px) {
  .mobile-menu { display: none; }
}

@media (max-width: 1180px) {
  .svc-row { grid-template-columns: 44px 72px minmax(0, 1fr) minmax(0, 1fr) 48px; gap: 18px; }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: start; }
  .footer-brand .footer-contact { margin-top: 0; padding-top: 0; border-top: 0; }
}

/* Tablet: below 1024px */
@media (max-width: 1023.98px) {
  :root { --section: 75px; --header-h: 72px; }
  .hero { padding-block: 40px 75px; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; padding-left: 20px; }
  .hero-panel { aspect-ratio: 4 / 3.6; }
  .page-hero { padding-block: 28px 64px; }
  .page-hero .ui-wrap, .page-hero .map-card, .page-hero .rings-card { margin-inline: auto; max-width: 600px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 44px; }
  .split, .split--even, .viz, .areas, .contact-grid, .article-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .sticky-col, .toc { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .covers-grid, .related-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-feature { grid-row: auto; grid-column: 1 / -1; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel, .cta-panel--simple { grid-template-columns: 1fr; gap: 40px; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .post-thumb { min-height: 240px; }
  .value { grid-template-columns: 60px minmax(0, 1fr); }
  .value p { grid-column: 2; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .topbar p { display: none; }
  .topbar-inner { justify-content: center; }
  .prose-cols { columns: 1; }
  .toc { display: none; }
}

/* Mobile: below 767px */
@media (max-width: 766.98px) {
  :root { --section: 50px; --header-h: 66px; }
  body { font-size: 1rem; }
  .topbar { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-word { font-size: 1.14rem; }
  .burger, .header-call { width: 44px; height: 44px; border-radius: 12px; }
  .header-actions .btn { display: none; }
  .hero { padding-block: 28px 50px; }
  .hero h1 { margin-bottom: 20px; }
  .hero .lead { margin-bottom: 28px; }
  .hero-visual { padding: 18px 0 18px 0; }
  .hero-panel { aspect-ratio: 4 / 5.2; border-radius: var(--radius-lg); }
  .hv-search { top: 4%; left: -4px; width: 84%; padding: 12px; }
  .hv-chart { left: 6px; bottom: 4%; width: 74%; padding: 14px; }
  .hv-vitals { display: none; }
  .mp-row { padding: 8px; }
  .page-hero { padding-block: 20px 50px; }
  .breadcrumbs { margin-bottom: 24px; }
  .btn-row .btn { width: 100%; justify-content: space-between; }
  .section-head { margin-bottom: 32px; }
  .grid-2, .grid-3, .grid-4, .covers-grid, .related-grid, .post-grid, .loc-services, .bento, .steps-grid { grid-template-columns: 1fr; }
  .card, .covers-grid .card, .bento .card { padding: 24px; }
  .svc-row { grid-template-columns: 64px minmax(0, 1fr) 40px; gap: 4px 14px; padding: 18px 4px; }
  .svc-num { display: none; }
  .svc-thumb { width: 64px; height: 50px; grid-row: span 2; align-self: start; }
  .svc-name { grid-column: 2; }
  .svc-desc { grid-column: 2; font-size: .92rem; }
  .svc-go { grid-column: 3; grid-row: 1 / span 2; width: 40px; height: 40px; align-self: center; }
  .area-list { grid-template-columns: 1fr; }
  .faq-btn { padding: 20px 0; gap: 16px; }
  .faq-a { padding: 0 0 22px; }
  .cta-panel { padding: 28px 20px; border-radius: var(--radius-lg); }
  .cta-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; justify-content: space-between; }
  .note-box { flex-direction: column; padding: 24px; gap: 16px; }
  .value { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .value p { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 48px 32px; }
  .footer-brand { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand .footer-contact { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .footer-cta { padding-block: 48px; }
  .footer-cta .btn { width: 100%; justify-content: space-between; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
  .mobile-cta { display: flex; }
  .ui-wrap { padding: 14px; }
  .ui-wrap::before { inset: 0 0 0 24px; }
  .ui { padding: 16px; }
  .viz-chart { padding: 16px; }
  .legal table { display: block; overflow-x: auto; }
  .marquee { padding-block: 16px; }
}

/* Small mobile: 480px and below */
@media (max-width: 480px) {
  h1, .h1 { font-size: clamp(2.2rem, 1.2rem + 6vw, 2.75rem); letter-spacing: -.035em; }
  .h1--page { font-size: clamp(2rem, 1.2rem + 5vw, 2.5rem); }
  h2, .h2 { font-size: clamp(1.75rem, 1.2rem + 3vw, 2.1rem); }
  .brand-word { font-size: 1.06rem; }
  .brand { gap: 9px; }
  .header-actions { gap: 8px; }
  .hero-panel { aspect-ratio: 4 / 5.6; }
  .hv-search { width: 92%; }
  .hv-chart { width: 82%; }
  .footer-main { grid-template-columns: 1fr; }
  .ui-actions { grid-template-columns: repeat(2, 1fr); }
  .ui-kw { grid-template-columns: minmax(0, 1fr) auto; }
  .ui-kw .ui-bar { display: none; }
  .btn { font-size: .96rem; }
}

@media (max-width: 400px) {
  .mobile-cta { gap: 6px; padding-inline: 10px; }
  .mobile-cta .btn { gap: 8px; padding: 5px 5px 5px 14px; font-size: .86rem; white-space: nowrap; }
  .mobile-cta .btn-icon { width: 30px; height: 30px; }
}

@media (max-width: 360px) {
  .brand-word { font-size: .98rem; }
  .brand-mark { width: 32px; height: 32px; }
  .header-call { display: none; }
}

@media print {
  .site-header, .topbar, .site-footer, .mobile-cta, .mobile-menu, .cta-panel, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Mini map inside hero media: keep labels legible */
.float-card--map .minor-places, .float-card--map .label-sea { display: none; }
.float-card--map .pin text { font-size: 22px; stroke-width: 7px; }
.float-card--map .fmap-svg:has(.pin.is-active) .pin:not(.is-active) text { display: none; }
.float-card--map .pin.is-active text { font-size: 30px; font-weight: 750; }
.float-card--map .pin circle.dot { r: 9; }
.float-card--map .pin.is-active circle.halo { r: 24; }
.float-card--rings .rings text { font-size: 30px; }
.float-card--rings .rings text.on { font-size: 34px; }
.float-card--rings .rings .r.on { stroke-width: 4; }
.card.post-card.post-feature { display: grid; }

/* Photo heroes on smaller screens */
@media (max-width: 1023.98px) {
  .hero-media { margin-inline: auto; }
}
@media (max-width: 766.98px) {
  .hero-media { padding: 0; max-width: 100%; }
  .hero-media .media-frame { aspect-ratio: 4 / 3.3; border-radius: var(--radius-lg); }
  .hero-media .float-card { position: relative; left: auto; bottom: auto; width: calc(100% - 28px); max-width: 360px; margin: -88px auto 0; }
  .hero-media .float-card--map { width: 76%; }
  .hero-media .float-card--rings { width: 58%; }
  .place-chip { top: 12px; right: 12px; padding: 8px 14px 8px 8px; font-size: .86rem; }
  .split, .split--even { gap: 20px; }
  .trust-photo { margin-top: 24px; }
}
.rings text { paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.float-card--rings .rings text { stroke-width: 10px; }

/* Handwritten notes: placement helpers */
.cta-hand { margin-left: 8px; vertical-align: middle; color: var(--brand); }
.form-card { position: relative; }
.contact-hand { position: absolute; top: 30px; right: 34px; transform: rotate(3deg); color: var(--brand); }
.cta-panel .hero-note { margin-top: 18px; }
@media (max-width: 1023.98px) {
  .contact-hand { position: static; display: block; margin-bottom: 12px; transform: rotate(-2deg); }
}
@media (max-width: 1023.98px) {
  .trust-photo { max-width: 620px; }
}
/* Consecutive paragraphs in section heads need breathing room */
.section-head p + p, .section-head p + .link-arrow { margin-top: 16px; }
.section-head .hand-note { margin-top: 18px; }

/* Notepaper: sit each line of text on a ruled line */
.paper-note { background-position: 0 0, 0 -9px; }

/* CTA band: keep contact details grouped beside the copy on wide screens */
@media (min-width: 1024px) {
  .cta-panel > .cta-contact {
    align-self: center;
    align-content: center;
    margin-top: 0;
    padding: 8px 0 8px 48px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, .16);
    gap: 18px;
  }
}

/* Closing CTA overlaps the top of the footer instead of leaving an empty band */
.page-cta-band, #free-audit.section { position: relative; z-index: 2; padding-bottom: 0; margin-bottom: -120px; }
body:has(.page-cta-band, #free-audit) .site-footer { padding-top: 120px; }
@media (max-width: 766.98px) {
  .page-cta-band, #free-audit.section { margin-bottom: -72px; }
  body:has(.page-cta-band, #free-audit) .site-footer { padding-top: 72px; }
}

/* 16. Homepage sections: responsive ---------------------------------------- */

@media (max-width: 1180px) {
  .standards-band { grid-template-columns: 1fr; gap: 26px; }
  .standards-list li:first-child { border-left: 0; padding-left: 0; }
  .process-layout { gap: 48px 56px; }
}
@media (max-width: 1023.98px) {
  .trust-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .trust-cell + .trust-cell { border-left: 0; }
  .trust-cell:nth-child(even) { border-left: 1px solid var(--line); }
  .trust-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .standards-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 0; }
  .standards-list li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .dm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 64px; }
  .dm-intro { grid-column: 1 / -1; min-height: 0; }
  .dm-intro .eyebrow { margin-bottom: 0; }
  .dm-intro h3 { margin-top: 18px; }
  .dm-tile { min-height: 300px; }
  .process-layout { grid-template-columns: 1fr; }
  .process-aside { position: static; }
  .process-hand .hand-arrow { transform: rotate(70deg); }
  .report-panel { grid-template-columns: 1fr; }
  .ind-show { grid-template-columns: 1fr; }
  .ind-stage { display: none; }
  .ind-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border: 0; }
  .ind-item, .ind-item.is-active { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 0 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: none; overflow: hidden; }
  .ind-item::before, .ind-no { display: none; }
  .ind-thumb { display: block; grid-column: 1 / -1; margin: 0 -22px 4px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
  .ind-thumb .photo { width: 100%; height: 100%; }
  .ind-item .ind-ic { margin-top: -44px; position: relative; z-index: 1; border: 3px solid #fff; background: var(--brand); color: var(--accent); }
  .ind-copy h3 { margin-top: 0; }
  .ind-copy { grid-column: 1 / -1; }
}
@media (max-width: 766.98px) {
  .trust-panel { grid-template-columns: 1fr; margin-top: 48px; }
  .trust-cell { padding: 26px 22px; }
  .trust-cell:nth-child(even) { border-left: 0; }
  .trust-cell + .trust-cell { border-top: 1px solid var(--line); }
  .trust-cell::before { left: 22px; right: 22px; }
  .trust-cell-top { margin-bottom: 18px; }
  .standards-band { padding: 26px 22px; border-radius: var(--radius-lg); }
  .standards-list { grid-template-columns: 1fr; gap: 0; }
  .standards-list li { flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .standards-list li:first-child { border-top: 0; padding-top: 0; }
  .dm-bento { grid-template-columns: 1fr; gap: 14px; margin-top: 48px; }
  .dm-intro { padding: 26px 22px; }
  .dm-tile { min-height: 270px; }
  .process-layout { gap: 36px; }
  .process-line { left: 21px; top: 22px; bottom: 22px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .step-dot { width: 44px; height: 44px; font-size: .76rem; box-shadow: 0 0 0 4px #fff; }
  .step-card { padding: 18px 18px; }
  .step h3 { font-size: 1.1rem; }
  .step p { font-size: .93rem; }
  .step-ic { width: 34px; height: 34px; }
  .report-panel { padding: 28px 20px; border-radius: var(--radius-lg); }
  .report-grid { grid-template-columns: 1fr; gap: 10px; }
  .report-grid li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 16px; }
  .report-ic { grid-row: span 2; margin: 0; }
  .ind-list { grid-template-columns: 1fr; gap: 14px; }
}

/* 17. Inner page sections --------------------------------------------------- */

/* Dark sections: soft indigo and gold light instead of a flat fill */
.section--dark {
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(var(--brand-rgb), .38), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(var(--accent-rgb), .08), transparent 70%),
    var(--ink);
}

/* Icon tile variants and card headings */
.tile-ic--gold { background: linear-gradient(145deg, #F8CF73, var(--accent) 55%, var(--accent-600)); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 22px -12px rgba(var(--accent-rgb), .9); }
.tile-ic--soft { background: #fff; color: var(--brand); box-shadow: none; border: 1px solid rgba(var(--brand-rgb), .14); }
.card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.card-head h2, .card-head h3 { margin: 0; }

/* Editorial introduction: sticky heading, lead paragraph with a drop cap */
.split--editorial { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 96px; }
.editorial-head { position: sticky; top: calc(var(--header-h) + 40px); }
.prose--intro { position: relative; padding-left: 40px; border-left: 1px solid var(--line); }
.prose--intro::before { content: ""; position: absolute; left: -2px; top: 0; width: 3px; height: 88px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), 0)); }
.prose--intro > p:first-child { font-size: clamp(1.12rem, 1.04rem + .3vw, 1.28rem); line-height: 1.62; color: var(--ink); }
.prose--intro > p:first-child::first-letter { float: left; margin: .07em .12em 0 0; font-family: var(--font-display); font-size: 3.5em; font-weight: 700; line-height: .8; color: var(--brand); }

/* Feature cards with outlined numbers (included work, local priorities) */
.feature-card { overflow: hidden; padding: 30px 30px 32px; }
.feature-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .card-num { margin-bottom: 24px; font: 700 2.7rem/1 var(--font-display); letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1.2px rgba(var(--brand-rgb), .35); transition: color .4s, -webkit-text-stroke-color .4s; }
.feature-card:hover .card-num { color: var(--brand); -webkit-text-stroke-color: var(--brand); }
.feature-card h3 { font-size: 1.2rem; }

/* Numbered timeline on dark sections */
.steps-grid { gap: 0; }
.steps-grid > * { padding: 0 30px 0 0; background: none; border: 0; border-radius: 0; }
.steps-grid > *::before { content: ""; position: absolute; top: 28px; left: 72px; right: 14px; height: 2px; background: linear-gradient(90deg, rgba(var(--accent-rgb), .6), rgba(255, 255, 255, .08)); }
.steps-grid > *:last-child::before { display: none; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border-radius: 50%; border: 1.5px solid rgba(var(--accent-rgb), .6); background: rgba(var(--accent-rgb), .1); color: var(--accent); font: 650 .86rem/1 var(--font-mono); box-shadow: 0 0 0 7px rgba(var(--accent-rgb), .05); }
.steps-grid h3 { font-size: 1.22rem; }

/* Fit list and deliverables (stacked paper behind the dark card) */
.fit-card, .deliv-card { padding: 36px; }
.fit-card { background: #fff; box-shadow: var(--shadow-sm); }
.section--white .fit-card { background: var(--bg); box-shadow: none; }
.deliv-card {
  margin: 0 28px 28px 0;
  background: radial-gradient(70% 60% at 100% 0%, rgba(var(--brand-rgb), .55), transparent 70%), var(--ink);
  box-shadow: 14px 14px 0 -3px rgba(var(--brand-rgb), .22), 28px 28px 0 -6px rgba(var(--brand-rgb), .1);
}
.fit-card .check-list, .deliv-card .check-list { gap: 0; margin-top: 0; }
.fit-card .check-list li, .deliv-card .check-list li { padding: 14px 0; border-top: 1px dashed var(--line-strong); }
.deliv-card .check-list li { border-top-color: rgba(255, 255, 255, .14); }
.fit-card .check-list li:first-child, .deliv-card .check-list li:first-child { border-top: 0; padding-top: 0; }
.deliv-card .btn-row { margin-top: 24px; }

/* Contact card for sticky FAQ columns */
.talk-card { max-width: 420px; margin-top: 30px; padding: 22px 22px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.talk-title { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.talk-title strong { display: block; margin-bottom: 2px; font: 650 1.06rem/1.2 var(--font-display); color: var(--ink); }
.talk-title .tile-ic { width: 46px; height: 46px; border-radius: 14px; }
.talk-row { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; }
.talk-row .icon { width: 18px; height: 18px; color: var(--brand); }
.talk-row span { overflow-wrap: anywhere; }
.talk-row:hover { color: var(--brand); }
.talk-card .btn { margin-top: 12px; }

/* Side cards beside text-only page heroes */
.page-hero--aside .page-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.hero-aside { width: 100%; max-width: 440px; margin-left: auto; }
.hero-aside .talk-card { max-width: none; margin: 0; padding: 28px; box-shadow: var(--shadow-lg); border-radius: var(--radius-xl); }
.js .hero-aside { opacity: 0; transform: translateY(16px); animation: rise .9s .25s var(--ease) forwards; }
.aside-card { padding: 28px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.aside-title { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.aside-title strong { display: block; margin-bottom: 2px; font: 650 1.12rem/1.2 var(--font-display); color: var(--ink); }
.aside-list { display: grid; list-style: none; margin: 0; padding: 0; }
.aside-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.45; color: var(--muted); }
.aside-list .icon { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--ink); stroke-width: 2.4; }
.aside-list b { display: block; font-size: .97rem; font-weight: 650; color: var(--ink); }
.aside-card--dark { background: radial-gradient(80% 60% at 100% 0%, rgba(var(--brand-rgb), .6), transparent 70%), var(--ink); border-color: transparent; color: rgba(255, 255, 255, .72); --focus: var(--accent); }
.aside-card--dark .aside-title { color: rgba(255, 255, 255, .66); }
.aside-card--dark .aside-title strong { color: #fff; }
.direct-list { display: grid; }
.direct-list > * { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; text-decoration: none; line-height: 1.4; overflow-wrap: anywhere; }
.direct-list a:hover { color: var(--accent); }
.direct-list small { display: block; margin-bottom: 3px; font: 600 .68rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.direct-list address { font-style: normal; }
.direct-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.direct-ic .icon { width: 19px; height: 19px; }

/* FAQ accordion as separate cards */
.faq { display: grid; gap: 12px; border-top: 0; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, box-shadow .3s; }
.section--white .faq-item { background: var(--bg); }
.faq-item:hover { border-color: var(--line-strong); }
.faq-item:has(.faq-btn[aria-expanded="true"]) { background: #fff; border-color: rgba(var(--brand-rgb), .3); box-shadow: var(--shadow); }
.faq-btn { padding: 20px 22px; border-radius: inherit; }
.faq-a { padding: 0 72px 22px 22px; }

/* Photo cards with an inset image */
.card--photo { display: flex; flex-direction: column; padding: 10px 10px 26px; }
.card--photo > .card-media { margin: 0; aspect-ratio: 16 / 10; border-radius: calc(var(--radius-lg) - 8px); }
.card--photo > .card-icon { position: relative; z-index: 2; width: 54px; height: 54px; margin: -30px 0 16px 18px; border: 4px solid #fff; border-radius: 16px; background: linear-gradient(145deg, var(--brand-600), var(--brand) 55%, var(--brand-800)); color: var(--accent); box-shadow: 0 10px 22px -12px rgba(var(--brand-rgb), .8); }
.card--photo > :not(.card-media):not(.card-icon) { margin-inline: 18px; }
.card--photo > p { margin-bottom: 0; }
.card--photo > .link-arrow { margin-top: auto; padding-top: 20px; }
.card--link .link-arrow .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--tint); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.card--link:hover .link-arrow .icon { background: var(--accent); color: var(--ink); transform: translateX(4px); }
.card--dark .link-arrow .icon, .card--brand .link-arrow .icon { background: rgba(255, 255, 255, .12); }

/* Promotional cards at the end of hub grids */
.card--promo { display: flex; flex-direction: column; padding: 34px; overflow: hidden; isolation: isolate; }
.card--promo::after { content: ""; position: absolute; right: -70px; top: -70px; z-index: -1; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 36px rgba(255, 255, 255, .03), 0 0 0 72px rgba(255, 255, 255, .025); }
.card--promo h3 { font-size: 1.5rem; }
.card--promo .link-arrow { margin-top: auto; padding-top: 24px; }
.card--brand { background: radial-gradient(90% 70% at 100% 0%, rgba(var(--accent-rgb), .22), transparent 65%), linear-gradient(155deg, var(--brand-600), var(--brand) 50%, var(--brand-900)); }
.card--dark.card--promo { background: radial-gradient(70% 60% at 100% 0%, rgba(var(--brand-rgb), .5), transparent 70%), var(--ink); }

/* Pillars on dark sections */
.pillar-card { padding: 30px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); }
.pillar-card:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), .4); }
.pillar-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.pillar-top .card-icon { margin: 0; }
.pillar-no { font: 700 2.4rem/1 var(--font-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .24); }

/* Icon cards and local sector card */
.icon-card { padding: 32px; }
.icon-card .tile-ic { margin-bottom: 24px; }
.icon-card:hover { box-shadow: var(--shadow); }
.sector-card { padding: 32px; border-color: transparent; box-shadow: var(--shadow); }
.sector-card .chip-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sector-card .chip { align-items: flex-start; width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: .9rem; line-height: 1.35; }
.sector-card .chip .icon { margin-top: 1px; }

/* About: principles, contact rows and the policy note */
.value { grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.2fr); padding: 34px 24px; transition: background-color .3s; }
.value:hover { background: #fff; }
.value .card-num { margin: -4px 0 0; font: 700 2.6rem/1 var(--font-display); letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1.2px rgba(var(--brand-rgb), .35); transition: color .4s, -webkit-text-stroke-color .4s; }
.value:hover .card-num { color: var(--brand); -webkit-text-stroke-color: var(--brand); }
.value h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); }
.contact-stack { display: grid; gap: 12px; }
.contact-card { align-items: center; padding: 20px 22px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s; }
.contact-card:hover { border-color: rgba(var(--brand-rgb), .3); box-shadow: var(--shadow); }
.contact-card .card-icon { background: linear-gradient(145deg, var(--brand-600), var(--brand) 55%, var(--brand-800)); color: var(--accent); }
.contact-card h3 { margin-bottom: 4px; font: 600 .7rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card a, .contact-card address { font-size: 1.04rem; }
.note-box { padding: 32px 36px; border: 1px solid var(--line); border-left: 4px solid var(--accent); box-shadow: var(--shadow); }
.note-box .card-icon { width: 52px; height: 52px; background: linear-gradient(145deg, var(--brand-600), var(--brand) 55%, var(--brand-800)); color: var(--accent); }

/* Contact page */
.contact-grid .form-card { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.contact-side { position: sticky; top: calc(var(--header-h) + 32px); }
.next-card { padding: 30px; background: #fff; box-shadow: var(--shadow-sm); }
.next-card .next-steps { margin-top: 0; }
.cover-note { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--tint); }
.cover-note .tile-ic { width: 42px; height: 42px; border-radius: 12px; }
.cover-note p { margin: 0; font-size: .92rem; color: var(--text); }
.contact-side-hand { margin: 22px 0 0 12px; }

/* FAQ page */
.faq-toc ol a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.toc-count { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--tint); font: 600 .72rem/22px var(--font-mono); color: var(--brand); text-align: center; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group-title { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group-title::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }

/* Blog cards with an inset image */
.card.post-card { padding: 10px; }
.post-thumb { border-radius: calc(var(--radius-lg) - 8px); }
.post-body { padding: 20px 16px 16px; }
.post-feature .post-body { padding: clamp(24px, 3.5vw, 44px); }
.post-feature .post-thumb { min-height: 360px; }

/* Area links */
.area-link { min-height: 64px; border-radius: 16px; transition: border-color .25s, background-color .25s, box-shadow .25s, transform .25s var(--ease); }
.area-link:hover, .area-link.is-hover { box-shadow: var(--shadow-sm); }
.area-thumb { width: 44px; height: 44px; border-radius: 12px; }

@media (max-width: 1023.98px) {
  .editorial-head, .contact-side { position: static; }
  .prose--intro { padding-left: 28px; }
  .hero-aside { max-width: 560px; margin-left: 0; }
  .steps-grid { row-gap: 40px; }
  .steps-grid > *:nth-child(2n)::before { display: none; }
  .faq-toc { display: block; }
  .value { grid-template-columns: 80px minmax(0, 1fr); padding: 28px 16px; }
}
@media (max-width: 766.98px) {
  .prose--intro { padding-left: 20px; }
  .prose--intro > p:first-child::first-letter { font-size: 3em; }
  .feature-card { padding: 24px; }
  .feature-card .card-num { font-size: 2.2rem; margin-bottom: 18px; }
  .steps-grid { row-gap: 0; }
  .steps-grid > * { padding: 0 0 30px 76px; }
  .steps-grid > *:last-child { padding-bottom: 0; }
  .steps-grid > *::before, .steps-grid > *:nth-child(2n)::before { display: block; top: 64px; bottom: 6px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(var(--accent-rgb), .6), rgba(255, 255, 255, .08)); }
  .steps-grid > *:last-child::before { display: none; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .steps-grid h3 { padding-top: 14px; }
  .fit-card, .deliv-card { padding: 24px; }
  .deliv-card { margin: 0 14px 14px 0; box-shadow: 8px 8px 0 -2px rgba(var(--brand-rgb), .22), 16px 16px 0 -4px rgba(var(--brand-rgb), .1); }
  .card-head { gap: 14px; margin-bottom: 18px; }
  .talk-card { max-width: none; }
  .aside-card, .hero-aside .talk-card { padding: 22px; border-radius: var(--radius-lg); }
  .faq-btn { padding: 18px 16px; }
  .faq-a { padding: 0 16px 18px; }
  .card--photo { padding: 8px 8px 22px; }
  .card--photo > :not(.card-media):not(.card-icon) { margin-inline: 14px; }
  .card--photo > .card-icon { margin-left: 14px; }
  .card--promo { padding: 26px; }
  .sector-card { padding: 24px; }
  .sector-card .chip-list { grid-template-columns: 1fr; }
  .value { grid-template-columns: 1fr; gap: 10px; padding: 24px 4px; }
  .value .card-num { font-size: 2.1rem; }
  .note-box { padding: 24px; }
  .contact-grid .form-card { border-radius: var(--radius-lg); }
  .post-feature .post-thumb { min-height: 220px; }
}

/* Quick links under editorial headings */
.quick-links { max-width: 420px; margin-top: 36px; padding: 8px 20px 10px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); }
.quick-title { margin: 12px 0 4px; font: 600 .7rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quick-links ul { list-style: none; margin: 0; padding: 0; }
.quick-links li + li { border-top: 1px solid var(--line); }
.quick-links a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.quick-links a > span:nth-child(2) { flex: 1; }
.quick-links a:hover { color: var(--brand); }
.ql-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: #fff; border: 1px solid rgba(var(--brand-rgb), .14); color: var(--brand); transition: background-color .25s, color .25s; }
.ql-ic .icon { width: 17px; height: 17px; }
.quick-links a:hover .ql-ic { background: var(--brand); border-color: var(--brand); color: var(--accent); }
.quick-links .icon-go { width: 17px; height: 17px; color: var(--brand); transition: transform .3s var(--ease); }
.quick-links a:hover .icon-go { transform: translateX(3px); }
.card--dark h2, .card--brand h2 { color: #fff; }
@media (max-width: 1023.98px) {
  .quick-links { max-width: 560px; }
}
@media (min-width: 1024px) {
  .sector-card { position: sticky; top: calc(var(--header-h) + 40px); }
}
@media (min-width: 767px) and (max-width: 1023.98px) {
  .dm-bento > .dm-tile:last-child { grid-column: 1 / -1; min-height: 280px; }
}

/* Outlined numbers: a stroke strong enough to read clearly on light backgrounds */
.feature-card .card-num, .value .card-num, .trust-no { -webkit-text-stroke: 1.2px #7A72E6; }
@media (max-width: 1023.98px) {
  .split--editorial, .page-hero--aside .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 766.98px) {
  .split--editorial, .page-hero--aside .page-hero-grid { gap: 28px; }
}
.contact-card a { display: inline-block; padding: 4px 0; }
.brand-caption a { display: inline-block; min-width: 24px; padding: 4px 2px; }

/* Direct contact list on a light card (contact page hero) */
.aside-card:not(.aside-card--dark) .direct-list > * { color: var(--ink); border-top-color: var(--line); }
.aside-card:not(.aside-card--dark) .direct-list a:hover { color: var(--brand); }
.aside-card:not(.aside-card--dark) .direct-list small { color: var(--muted); }
.aside-card:not(.aside-card--dark) .direct-ic { background: var(--tint); color: var(--brand); }

/* Sections that follow a dark page hero need their own top spacing */
.page-hero + .section--flush-top { padding-top: calc(var(--section) * .72); }

/* Keep small labels inside illustrations legible */
.mp-label { font-size: .7rem; }
.hv-chart-head .badge, .badge { font-size: .7rem; }

/* Short landscape screens (phones on their side): give the content the height */
@media (max-height: 500px) and (orientation: landscape) {
  .topbar { display: none; }
}

/* 18. Small laptops and tablets in landscape (1024 to 1280px) --------------- */

.hv-chart-head strong { white-space: nowrap; }
.area-link > span { flex-wrap: nowrap; }

@media (min-width: 1024px) and (max-width: 1279.98px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 40px; }
  .hero h1 { font-size: clamp(3rem, 1rem + 4vw, 4.3rem); }
  .hero-visual { padding-left: 16px; }
  .hv-search { width: min(62%, 290px); top: 26%; padding: 13px; }
  .hv-chart { width: min(58%, 262px); padding: 15px; }
  .hv-vitals { width: 168px; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .trust-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-cell + .trust-cell { border-left: 0; }
  .trust-cell:nth-child(even) { border-left: 1px solid var(--line); }
  .trust-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-feature { grid-row: auto; grid-column: 1 / -1; }
  .bento .bento-feature--photo { min-height: 440px; }
  .report-panel { grid-template-columns: 1fr; }
  .cta-form .form-grid { grid-template-columns: 1fr; }
}

/* 19. Small phones (480px and below) ----------------------------------------- */

@media (max-width: 480px) {
  /* Services list: description runs full width under the name */
  .svc-row { grid-template-columns: 56px minmax(0, 1fr) 40px; gap: 10px 14px; align-items: center; }
  .svc-thumb { grid-row: 1; width: 56px; height: 46px; }
  .svc-name { grid-column: 2; grid-row: 1; }
  .svc-go { grid-column: 3; grid-row: 1; }
  .svc-desc { grid-column: 1 / -1; grid-row: 2; }
  /* Hero illustration: drop the last placeholder row so the cards do not pile up */
  .hv-search .mp-row:last-child { display: none; }
}
@media (max-width: 400px) {
  .cta-panel { padding: 24px 12px; }
  .cta-form { padding: 20px 14px; }
  .form-foot .btn { gap: 8px; font-size: .92rem; }
}
@media (max-width: 480px) {
  .hv-chart-head { flex-wrap: wrap; gap: 6px; }
}
@media (max-width: 400px) {
  .form-foot .btn { justify-content: center; padding: 7px 18px; }
  .form-foot .btn .btn-icon { display: none; }
}

/* Legal tables: each row becomes a labelled card on small phones */
@media (max-width: 480px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal tbody tr { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
  .legal td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .legal td:last-child { border-bottom: 0; }
  .legal td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 600 .68rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
}
@media (max-width: 480px) {
  .paper-sign { font-size: 1.4rem; }
  .paper-sign::before { width: 18px; margin-right: 8px; }
}

/* 20. Our work ------------------------------------------------------------- */

/* Shared project meta line */
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font: 600 .7rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.work-meta .icon { width: 14px; height: 14px; }
.work-place { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }

/* Homepage showcase: one wide tile and four standard tiles */
.work-showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.work-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.work-tile-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--radius-lg) - 8px); background: var(--tint); }
.work-tile-media .photo { position: absolute; inset: 0; }
.work-tile-media img { transition: transform .8s var(--ease); }
.work-tile:hover .work-tile-media img { transform: scale(1.04); }
.work-tile-media .badge, .work-feature-media .badge { position: absolute; left: 14px; top: 14px; z-index: 1; box-shadow: 0 6px 16px -8px rgba(var(--ink-rgb), .5); }
.work-tile-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 14px 12px; }
.work-tile h3 { margin: 0; font-size: 1.22rem; }
.work-tile p:not(.work-meta) { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.work-tile .link-arrow { margin-top: auto; padding-top: 10px; }
.work-tile .link-arrow .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--tint); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.work-tile:hover .link-arrow .icon { background: var(--accent); color: var(--ink); transform: translateX(4px); }
.work-tile--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 10px; }
.work-tile--wide .work-tile-media { aspect-ratio: auto; min-height: 340px; }
.work-tile--wide .work-tile-body { justify-content: center; padding: 26px 22px 18px; }
.work-tile--wide h3 { font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); letter-spacing: -.03em; }
.work-tile--wide p:not(.work-meta) { font-size: 1rem; }
.work-showcase + .report-panel { margin-top: 28px; }

/* Our Work page: featured projects in alternating rows */
.work-features { display: grid; gap: 28px; }
.work-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: var(--bg);
  border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.work-feature:nth-child(even) .work-feature-media { order: 2; }
.work-feature-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius-xl) - 10px); background: var(--tint); box-shadow: var(--shadow); }
.work-feature-media .photo { position: absolute; inset: 0; }
.work-feature-body { position: relative; padding: 22px 30px 22px 6px; }
.work-feature:nth-child(even) .work-feature-body { padding: 22px 6px 22px 30px; }
.work-no { position: absolute; top: 14px; right: 26px; font: 700 3rem/1 var(--font-display); letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1.2px #7A72E6; }
.work-feature:nth-child(even) .work-no { right: 4px; }
.work-feature h3 { margin: 10px 0 12px; padding-right: 72px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.1; letter-spacing: -.03em; }
.work-summary { margin: 0; color: var(--text); font-size: 1.02rem; line-height: 1.65; }
.work-label { margin: 22px 0 10px; font: 600 .7rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.work-services .chip { background: #fff; }
.work-services .chip .icon { color: var(--accent-600); stroke-width: 2.2; }
.work-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }

/* Our Work page: more projects */
.work-filters { margin-bottom: 28px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work-card[hidden] { display: none; }
.work-card .work-meta { margin-top: 18px; }
.work-card h3 { margin: 8px 0 8px; font-size: 1.2rem; }
.work-tags { margin-top: 12px !important; font-size: .84rem; color: var(--muted); }
.work-card .link-arrow .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--tint); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.work-card .link-arrow:hover .icon { background: var(--accent); color: var(--ink); transform: translate(2px, -2px); }
.work-card .card-media img { transition: transform .8s var(--ease); }
.work-card:hover .card-media img { transform: scale(1.04); }

/* Hero side card listing sectors */
.aside-list--plain li { align-items: center; }
.sector-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--tint); color: var(--brand); }
.aside-list .sector-ic .icon { width: 19px; height: 19px; padding: 0; border-radius: 0; background: none; color: inherit; stroke-width: 1.75; }

@media (max-width: 1023.98px) {
  .work-showcase, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-tile--wide { grid-column: 1 / -1; }
  .work-tile--wide .work-tile-media { min-height: 300px; }
  .work-feature, .work-feature:nth-child(even) { grid-template-columns: 1fr; gap: 8px; }
  .work-feature:nth-child(even) .work-feature-media { order: 0; }
  .work-feature-body, .work-feature:nth-child(even) .work-feature-body { padding: 18px 14px 14px; }
  .work-no, .work-feature:nth-child(even) .work-no { top: 18px; right: 14px; }
}
@media (max-width: 766.98px) {
  .work-showcase, .work-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-tile--wide { display: flex; }
  .work-tile--wide .work-tile-media { aspect-ratio: 16 / 10; min-height: 0; }
  .work-tile--wide .work-tile-body { padding: 18px 14px 12px; }
  .work-feature { padding: 8px; border-radius: var(--radius-lg); }
  .work-feature-media { border-radius: calc(var(--radius-lg) - 6px); }
  .work-feature-body, .work-feature:nth-child(even) .work-feature-body { padding: 16px 10px 12px; }
  .work-no, .work-feature:nth-child(even) .work-no { font-size: 2.3rem; top: 16px; right: 10px; }
  .work-feature h3 { padding-right: 56px; }
  .work-links { gap: 12px 20px; }
  .work-links .btn { width: 100%; justify-content: space-between; }
}

/* Our Work grid: closing promo card fills the last slot */
.work-promo { justify-content: flex-end; min-height: 320px; }
.work-promo h3 { margin-top: auto; }
.work-promo .card-icon { margin-bottom: 0; }
@media (max-width: 1023.98px) {
  .work-promo { grid-column: 1 / -1; min-height: 0; }
  .work-promo h3 { margin-top: 18px; }
}
.work-promo .link-arrow { margin-top: 0; padding-top: 20px; }

/* 21. Project pages --------------------------------------------------------- */

/* Hero: the website in a browser window */
.browser-frame { position: relative; width: 100%; max-width: 560px; margin-left: auto; padding: 0 0 34px; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-radius: 18px 18px 0 0; background: #fff; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #E46A6A; }
.browser-bar i:nth-child(2) { background: var(--accent); }
.browser-bar i:nth-child(3) { background: #6BBF84; }
.browser-bar span { flex: 1; min-width: 0; margin-left: 10px; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font: 500 .72rem/1 var(--font-mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 0 18px 18px; background: var(--tint); box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .75); }
.browser-shot .photo { position: absolute; inset: 0; }
.browser-chip { position: absolute; left: -22px; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 10px 18px 10px 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); color: var(--muted); font-size: .82rem; line-height: 1.35; }
.browser-chip b { display: block; color: var(--ink); font-size: .95rem; font-weight: 650; }
.js .browser-frame { opacity: 0; transform: translateY(16px); animation: rise .9s .2s var(--ease) forwards; }
.js .browser-chip { opacity: 0; transform: translateY(12px); animation: rise .9s .55s var(--ease) forwards; }

/* Project facts, lifted over the bottom of the hero */
.work-facts-wrap { position: relative; z-index: 3; margin-top: -44px; background: linear-gradient(to bottom, transparent 44px, var(--white) 44px); }
.work-facts { display: flex; flex-wrap: wrap; margin: 0; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.work-facts > div { flex: 1 1 0; min-width: 150px; padding: 20px 24px; box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
.work-facts dt { margin-bottom: 6px; font: 600 .68rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.work-facts dd { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.work-facts dd a { color: var(--brand); text-decoration: none; }
.work-facts dd a:hover { text-decoration: underline; }
.work-facts-wrap + .section { padding-top: calc(var(--section) * .8); }

/* See it live */
.live-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: 40px;
  padding: clamp(26px, 3.5vw, 42px);
  border-radius: var(--radius-xl);
  background: radial-gradient(70% 120% at 100% 0%, rgba(var(--brand-rgb), .55), transparent 70%), var(--ink);
  color: rgba(255, 255, 255, .72);
  --focus: var(--accent);
}
.live-panel .eyebrow { margin-bottom: 8px; color: var(--accent); }
.live-title { margin: 0 0 6px; font: 700 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -.03em; color: #fff; overflow-wrap: anywhere; }
.live-panel p:not(.eyebrow):not(.live-title) { margin: 0; }
.live-panel .btn { flex: none; }

/* Featured project titles link to their pages */
.work-title-link { color: inherit; text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat; transition: background-size .4s var(--ease); }
.work-title-link:hover { color: inherit; background-size: 100% 3px; }

@media (max-width: 1023.98px) {
  .browser-frame { margin-inline: auto; max-width: 600px; }
}
@media (max-width: 766.98px) {
  .browser-frame { padding-bottom: 28px; }
  .browser-bar { padding: 10px 12px; border-radius: 14px 14px 0 0; }
  .browser-shot { border-radius: 0 0 14px 14px; }
  .browser-chip { left: 10px; }
  .work-facts-wrap { margin-top: -32px; background: linear-gradient(to bottom, transparent 32px, var(--white) 32px); }
  .work-facts > div { padding: 16px 18px; }
  .live-panel { flex-direction: column; align-items: flex-start; border-radius: var(--radius-lg); }
  .live-panel .btn { width: 100%; justify-content: space-between; }
}

/* Project facts: the website address gets room to stay on one line */
.work-facts > .fact-wide { flex: 1.6 1 0; min-width: 240px; }
.work-facts dd a { overflow-wrap: normal; word-break: normal; white-space: nowrap; }
.work-facts > .fact-wide { flex-grow: 2; }
.work-facts dt, .direct-list small { font-size: .7rem; }
@media (max-width: 480px) {
  .legal td[data-label]::before { font-size: .7rem; }
}

/* Single-column heroes never grow wider than the screen, whatever their content */
@media (max-width: 1023.98px) {
  .hero-grid, .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
.browser-bar span { flex: 1 1 0; }
.work-facts dd a { white-space: normal; }
.work-facts > .fact-wide { min-width: min(290px, 100%); }
