/* IMPACT360 MEDIA — global design system
   Colours, type and spacing are tokens here; every page uses them. */

/* Self-hosted fonts (SIL Open Font License, see /assets/fonts) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #0D1537;
  --navy-2: #16204A;
  --navy-3: #222D5C;
  --gold: #D9AF32;
  --gold-soft: #F3E6BC;
  --gold-ink: #8A6A0E;
  --white: #FFFFFF;
  --grey: #F5F6FA;
  --grey-2: #E6E8F0;
  --line: #DADDE8;
  --charcoal: #151515;
  --muted: #4B5168;
  --on-navy: #FFFFFF;
  --on-navy-muted: #C9CDE0;
  --error: #B42318;
  --success: #067647;

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 112px;
  --radius: 6px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --wrap: 1200px;
  --shadow: 0 1px 2px rgba(13, 21, 55, 0.06), 0 8px 24px rgba(13, 21, 55, 0.07);
  --shadow-lg: 0 24px 60px rgba(13, 21, 55, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
p { margin: 0 0 var(--s2); }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 var(--s2);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
h4 { font-size: 1.05rem; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold-soft); color: var(--navy); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy); font-weight: 700;
  padding: 12px 18px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }
.section { padding: var(--s8) 0; }
.section-tight { padding: var(--s7) 0; }
.bg-grey { background: var(--grey); }
.bg-navy { background: var(--navy); color: var(--on-navy); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--on-navy); }
.bg-navy a:not(.btn) { color: var(--on-navy); }
.bg-navy a:not(.btn):hover { color: var(--gold); }
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .section-tight { padding: 64px 0; }
}

/* Eyebrow + section heads */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: var(--s2);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.bg-navy .eyebrow, .hero .eyebrow { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: var(--s5); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head .lead { margin-top: var(--s2); }
.lead { font-size: 1.15rem; color: var(--muted); line-height: 1.6; }
.bg-navy .lead { color: var(--on-navy-muted); }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.split-head .section-head { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #E7C252; color: var(--navy); box-shadow: 0 10px 24px rgba(217, 175, 50, 0.28); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.55); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
  color: var(--navy); text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover { color: var(--gold-ink); }
.text-link:hover svg { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--grey-2); box-shadow: 0 6px 24px rgba(13,21,55,0.06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--s4); }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link, .nav-toggle-sub {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  color: var(--navy); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-toggle-sub:hover { color: var(--gold-ink); background: var(--grey); }
.nav-link[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-toggle-sub svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-toggle-sub[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  list-style: none; position: absolute; left: -12px; top: calc(100% + 10px);
  width: 360px; padding: 10px; background: var(--white);
  border: 1px solid var(--grey-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu.is-open { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start;
  padding: 12px; border-radius: 10px; text-decoration: none; color: var(--navy);
}
.submenu a:hover { background: var(--grey); color: var(--navy); }
.submenu .ico { width: 36px; height: 36px; border-radius: 9px; background: var(--navy); display: grid; place-items: center; }
.submenu .ico svg { width: 18px; height: 18px; stroke: var(--gold); }
.submenu strong { display: block; font-family: var(--font-head); font-size: 0.9rem; line-height: 1.3; }
.submenu span { display: block; font-size: 0.83rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.submenu .all { display: block; margin-top: 4px; padding: 12px; border-top: 1px solid var(--grey-2); border-radius: 0 0 10px 10px; font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; }
.menu-button {
  display: none; width: 46px; height: 46px; border-radius: var(--radius);
  border: 1px solid var(--grey-2); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-button svg { width: 22px; height: 22px; stroke: var(--navy); }
.menu-button .close { display: none; }
.menu-button[aria-expanded="true"] .open { display: none; }
.menu-button[aria-expanded="true"] .close { display: block; }

@media (max-width: 1120px) {
  .menu-button { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: var(--s3);
    padding: var(--s3) 24px var(--s5); background: var(--white);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--grey-2); }
  .nav-link, .nav-toggle-sub { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav-link:hover, .nav-toggle-sub:hover { background: none; }
  .nav-link[aria-current="page"] { box-shadow: none; color: var(--gold-ink); }
  .submenu {
    position: static; width: auto; padding: 0 0 12px; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .submenu.is-open { display: block; }
  .nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--on-navy);
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: var(--s6); align-items: center; }
.hero h1 { color: var(--white); margin-bottom: var(--s3); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: var(--on-navy-muted); max-width: 560px; margin-bottom: var(--s4); }
.hero-note { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.92rem; color: var(--on-navy-muted); list-style: none; }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; stroke: var(--gold); }
.page-hero { padding: 88px 0 80px; }
.page-hero .lead { max-width: 680px; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.center .btn-row { justify-content: center; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); font-size: 0.88rem; color: var(--on-navy-muted); position: relative; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumb a { color: var(--on-navy-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero { padding: 64px 0 72px; }
}

/* Hero orbit graphic */
.orbit { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; }
.orbit svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit .spin { transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .orbit .spin { animation: spin 60s linear infinite; }
  .orbit .spin-rev { animation: spin 90s linear infinite reverse; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 38%; aspect-ratio: 1; border-radius: 50%;
  background: var(--white); color: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 0 0 10px rgba(217,175,50,0.14), var(--shadow-lg);
}
.orbit-core strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; }
.orbit-core span { font-family: var(--font-head); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); margin-top: 6px; }
.orbit-node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: var(--navy-2); border: 1px solid rgba(217,175,50,0.35);
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--white);
  white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.orbit-node i { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.orbit-node i svg { width: 16px; height: 16px; stroke: var(--navy); }
@media (max-width: 960px) { .orbit { margin: 0 auto; max-width: 440px; } }
@media (max-width: 600px) { .orbit { width: calc(100% - 72px); } }
@media (max-width: 480px) { .orbit-node { font-size: 0.74rem; padding: 7px 12px 7px 7px; gap: 7px; } .orbit-node i { width: 24px; height: 24px; } .orbit-node i svg { width: 13px; height: 13px; } }

/* Capability strip */
.cap-strip { border-bottom: 1px solid var(--grey-2); background: var(--white); }
.cap-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; padding-top: 26px; padding-bottom: 26px; }
.cap-strip p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.cap-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.cap-strip li { padding: 7px 14px; border-radius: 999px; background: var(--grey); font-size: 0.88rem; font-weight: 500; color: var(--navy); }

/* Proof slots */
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.proof-slot {
  min-height: 88px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg);
  display: grid; place-items: center; text-align: center; padding: 16px;
  font-size: 0.85rem; color: var(--muted); background: var(--white);
}
@media (max-width: 760px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--grey-2); border-radius: var(--radius-lg);
  padding: var(--s4); display: flex; flex-direction: column; gap: 12px;
}
.bg-grey .card { border-color: transparent; }
.card h3 { margin: 0; }
.card p { color: var(--muted); margin: 0; }
.icon-badge { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.icon-badge svg { width: 24px; height: 24px; stroke: var(--gold); }
.icon-badge.light { background: var(--gold-soft); }
.icon-badge.light svg { stroke: var(--navy); }

/* Pain points */
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--grey-2); border-left: 1px solid var(--grey-2); }
.pain { padding: var(--s4); border-right: 1px solid var(--grey-2); border-bottom: 1px solid var(--grey-2); background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.pain .q { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--navy); line-height: 1.3; }
.pain .a { color: var(--muted); font-size: 0.98rem; }
.pain .to { margin-top: auto; padding-top: 8px; }
@media (max-width: 1024px) { .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pain-grid { grid-template-columns: 1fr; } }

/* Service cards (interactive) */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 32px; border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--grey-2); text-decoration: none; color: var(--charcoal);
  overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover, .service-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--charcoal); }
.service-card:hover::after, .service-card:focus-visible::after { transform: scaleX(1); }
.service-card .num { position: absolute; right: 28px; top: 26px; font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.1em; }
.service-card h3 { margin: 6px 0 0; }
.service-card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.service-card .text-link { margin-top: auto; padding-top: 6px; }

/* Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.process li { position: relative; padding: 28px 22px; border-radius: var(--radius-lg); background: var(--navy-2); border: 1px solid rgba(255,255,255,0.08); }
.process li::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; color: var(--gold); letter-spacing: 0.14em; margin-bottom: 18px;
}
.process h3 { color: var(--white); margin-bottom: 8px; font-size: 1.2rem; }
.process p { color: var(--on-navy-muted); font-size: 0.95rem; margin-bottom: 12px; }
.process .gets { font-size: 0.85rem; color: var(--white); border-top: 1px solid rgba(255,255,255,0.12); padding-top: 12px; margin: 0; }
.process .gets b { color: var(--gold); font-weight: 700; display: block; font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 1100px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } .process li:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* Work cards */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1024px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { display: flex; flex-direction: column; gap: 14px; }
.work-media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--grey); display: grid; place-items: center;
}
.work-media .ph { text-align: center; padding: 24px; color: var(--muted); font-size: 0.9rem; }
.work-media .ph svg { width: 34px; height: 34px; stroke: var(--gold-ink); margin: 0 auto 10px; }
.work-media.navy { background: var(--navy); }
.work-media.navy .ph { color: var(--on-navy-muted); }
.work-media.navy .ph svg { stroke: var(--gold); }
.work-media.gold { background: var(--gold-soft); }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--grey); font-size: 0.78rem; font-weight: 500; color: var(--navy); }
.bg-grey .tag { background: var(--white); }
.work-card h3 { margin: 0; }
.work-card dl { margin: 0; display: grid; gap: 6px; font-size: 0.95rem; }
.work-card dt { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.work-card dd { margin: 0 0 6px; color: var(--muted); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--s5); }
.filter-bar button {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--navy); cursor: pointer;
}
.filter-bar button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-bar button:hover { border-color: var(--navy); }

/* Why list */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s6); align-items: start; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; list-style: none; }
.why-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.why-list .icon-badge { width: 44px; height: 44px; border-radius: 10px; }
.why-list .icon-badge svg { width: 20px; height: 20px; }
.why-list h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why-list p { color: var(--muted); font-size: 0.96rem; margin: 0; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; gap: var(--s5); } }
@media (max-width: 600px) { .why-list { grid-template-columns: 1fr; } }

/* Testimonial placeholder */
.quote-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--s4); display: flex; flex-direction: column; gap: 18px; border: 1.5px dashed var(--line); }
.quote-card blockquote { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--muted); }
.quote-card .who { font-size: 0.9rem; color: var(--muted); }
.quote-mark { width: 34px; height: 26px; fill: var(--gold); }

/* Industries */
.industry-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.industry-list a, .industry-list span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--navy); text-decoration: none;
}
.industry-list a:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--grey-2); border-radius: var(--radius-lg); }
.bg-grey .faq details { border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.faq summary .pm svg { width: 14px; height: 14px; stroke: var(--navy); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--gold); }
.faq .answer { padding: 0 26px 24px; color: var(--muted); max-width: 720px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--s5); align-items: center; }
.cta-band .ring { position: absolute; right: -140px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%); opacity: 0.5; pointer-events: none; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Service detail page */
.svc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.problem-box { background: var(--grey); border-radius: var(--radius-lg); padding: var(--s4); }
.problem-box h2, .solution h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check-list svg { width: 20px; height: 20px; stroke: var(--gold-ink); margin-top: 3px; }
.bg-navy .check-list svg { stroke: var(--gold); }
.x-list { list-style: none; display: grid; gap: 12px; }
.x-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--charcoal); }
.x-list svg { width: 20px; height: 20px; stroke: var(--error); margin-top: 3px; }
.deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.deliverables li { background: var(--white); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.deliverables strong { font-family: var(--font-head); color: var(--navy); font-size: 1.02rem; }
.deliverables span { color: var(--muted); font-size: 0.95rem; }
.note { font-size: 0.92rem; color: var(--muted); border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; margin-top: var(--s4); }
.bg-navy .note { color: var(--on-navy-muted); }
@media (max-width: 960px) { .svc-intro { grid-template-columns: 1fr; gap: var(--s4); } .deliverables { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .deliverables { grid-template-columns: 1fr; } }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* Case study */
.cs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin-top: var(--s5); }
.cs-facts li { background: var(--navy-2); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 20px; }
.cs-facts b { display: block; font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.cs-facts span { color: var(--white); }
@media (max-width: 860px) { .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cs-body { display: grid; grid-template-columns: 240px 1fr; gap: var(--s6); }
.cs-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; list-style: none; display: grid; gap: 4px; }
.cs-toc a { display: block; padding: 8px 12px; border-left: 2px solid var(--grey-2); text-decoration: none; color: var(--muted); font-weight: 500; }
.cs-toc a:hover { border-color: var(--gold); color: var(--navy); }
.cs-section { margin-bottom: var(--s6); }
.cs-section h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.media-ph { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--grey); border: 1.5px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 0.92rem; text-align: center; padding: 20px; margin: var(--s3) 0; }
@media (max-width: 860px) { .cs-body { grid-template-columns: 1fr; gap: var(--s3); } .cs-toc { position: static; display: flex; flex-wrap: wrap; } }

/* About */
.values { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: v; }
.values li { padding-top: 22px; border-top: 2px solid var(--navy); }
.values li::before { counter-increment: v; content: "0" counter(v); font-family: var(--font-head); font-weight: 800; color: var(--gold-ink); font-size: 0.85rem; letter-spacing: 0.14em; display: block; margin-bottom: 10px; }
.values p { color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.team-card .photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--grey); border: 1.5px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Contact + forms */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s6); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s5); } }
.next-steps { list-style: none; display: grid; gap: 18px; counter-reset: ns; margin: var(--s4) 0; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.next-steps li::before { counter-increment: ns; content: counter(ns); width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.next-steps strong { display: block; font-family: var(--font-head); color: inherit; }
.next-steps span { color: var(--muted); font-size: 0.95rem; }
.bg-navy .next-steps span { color: var(--on-navy-muted); }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.contact-list svg { width: 20px; height: 20px; stroke: var(--gold-ink); margin-top: 3px; }
.bg-navy .contact-list svg { stroke: var(--gold); }
.placeholder { color: var(--muted); font-style: italic; }
.bg-navy .placeholder, .site-footer .placeholder { color: var(--on-navy-muted); }

.form-card { background: var(--white); color: var(--charcoal); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); }
@media (max-width: 600px) { .form-card { padding: 26px 20px; border-radius: var(--radius-lg); } }
.form-card h2, .form-card h3 { color: var(--navy); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field legend { font-family: var(--font-head); font-weight: 700; font-size: 0.86rem; color: var(--navy); }
.field .opt { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--grey); color: var(--charcoal);
  font: inherit; font-size: 1rem; transition: border-color .15s, background .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9BED0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(217,175,50,0.35); }
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: var(--error); background: #FEF3F2; }
.field .error { display: none; font-size: 0.86rem; color: var(--error); font-weight: 500; }
.field[data-invalid="true"] .error { display: block; }
.field .hint { font-size: 0.84rem; color: var(--muted); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; cursor: pointer; background: var(--white); }
.radio-row input { width: 18px; height: 18px; min-height: 0; accent-color: var(--navy); margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--navy); background: var(--grey); }
.hp { position: absolute !important; left: -9999px !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: 24px; }
.privacy-note { font-size: 0.86rem; color: var(--muted); margin: 0; max-width: 420px; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-size: 0.95rem; }
.form-status.is-error { display: block; background: #FEF3F2; color: var(--error); border: 1px solid #FECDCA; }
.form-status.is-info { display: block; background: #FFF8E6; color: #6B5200; border: 1px solid var(--gold-soft); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* Prose (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: var(--s5); }
.prose h3 { font-size: 1.15rem; margin-top: var(--s4); }
.prose ul { padding-left: 22px; margin-bottom: var(--s2); }
.prose li { margin-bottom: 6px; }
.prose p, .prose li { color: #2D3142; }
.legal-note { background: #FFF8E6; border: 1px solid var(--gold-soft); border-radius: var(--radius); padding: 14px 18px; font-size: 0.92rem; color: #6B5200; }

/* Footer */
.site-footer { background: #090F29; color: var(--on-navy-muted); padding: 80px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s5); }
.footer-brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:not(.btn) { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--white); text-decoration: underline; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; }
.socials a:hover { border-color: var(--gold); text-decoration: none; }
.socials svg { width: 18px; height: 18px; stroke: var(--white); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.88rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.97); border-top: 1px solid var(--grey-2); box-shadow: 0 -8px 24px rgba(13,21,55,0.08);
    transform: translateY(110%); transition: transform .25s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { flex: 1; min-height: 48px; padding: 10px 12px; }
  .mobile-bar .btn.icon-only { flex: 0 0 48px; padding: 0; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 96px; }
}

/* Consent banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px;
  background: var(--navy); color: var(--on-navy-muted); border-radius: var(--radius-lg); padding: 20px 22px;
  box-shadow: var(--shadow-lg); font-size: 0.92rem;
}
.consent[hidden] { display: none; }
.consent p { margin-bottom: 14px; }
.consent a { color: var(--white); }
.consent .btn-row { gap: 10px; }

/* Reveal on scroll (only when JS + motion allowed) */
.js-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }
.js-motion .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js-motion .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js-motion .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .06s; }
.js-motion .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .12s; }
.js-motion .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .18s; }
.js-motion .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .24s; }
.js-motion .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Insights (blog) */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { min-width: 0; }
.post-link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--charcoal);
  background: var(--white); border: 1px solid var(--grey-2); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.bg-grey .post-link { border-color: transparent; }
.post-link:hover, .post-link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--charcoal); }
.post-link:hover .post-title { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-media { position: relative; aspect-ratio: 16 / 9; background: var(--grey); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media.is-graphic { background: var(--navy); display: grid; place-items: center; }
.post-media .post-ring { position: absolute; height: 82%; width: auto; aspect-ratio: 1; opacity: 0.8; }
.post-media .icon-badge { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--navy-2); border: 1px solid rgba(217,175,50,0.4); }
.post-media .icon-badge svg { width: 28px; height: 28px; }
.post-card:nth-child(3n+2) .post-media.is-graphic { background: var(--navy-2); }
.post-card:nth-child(3n) .post-media.is-graphic { background: #1B2550; }
.post-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 0.86rem; color: var(--muted); }
.post-title { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.post-excerpt { margin: 0; color: var(--muted); font-size: 0.98rem; }
.post-body .text-link { margin-top: auto; padding-top: 4px; }
@media (min-width: 1025px) {
  .post-card.is-featured { grid-column: 1 / -1; }
  .post-card.is-featured .post-link { display: grid; grid-template-columns: 1.15fr 1fr; }
  .post-card.is-featured .post-media { aspect-ratio: auto; min-height: 340px; }
  .post-card.is-featured .post-body { padding: 44px; justify-content: center; }
  .post-card.is-featured .post-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
  .post-card.is-featured .post-excerpt { font-size: 1.08rem; }
  .post-card.is-featured .post-body .text-link { margin-top: 8px; }
}

.wrap-post { max-width: 900px; }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.post-byline { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: var(--s3) 0 0; font-size: 0.95rem; color: var(--on-navy-muted); }
.post-section { padding: var(--s7) 0; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s6); align-items: start; }
.post-content { max-width: 720px; font-size: 1.08rem; line-height: 1.75; }
.post-content > p:first-child { font-size: 1.18rem; color: var(--charcoal); }
.post-content h2 { font-size: clamp(1.45rem, 2.2vw, 1.75rem); margin-top: var(--s5); scroll-margin-top: calc(var(--header-h) + 20px); }
.post-content h3 { margin-top: var(--s4); }
.post-content ul, .post-content ol { padding-left: 24px; margin: 0 0 var(--s3); }
.post-content li { margin-bottom: 8px; padding-left: 4px; }
.post-content li::marker { color: var(--gold-ink); font-weight: 700; }
.post-content blockquote { margin: var(--s4) 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--grey); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.12rem; }
.post-content strong { color: var(--navy); }
.post-end { margin-top: var(--s5); padding: 28px; border-radius: var(--radius-lg); background: var(--grey); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.post-end p { margin: 0; }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.post-aside-title { font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.post-toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.post-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--grey-2); color: var(--muted); text-decoration: none; font-size: 0.94rem; line-height: 1.4; }
.post-toc a:hover { color: var(--navy); border-left-color: var(--gold); }
.post-cta { background: var(--navy); color: var(--on-navy-muted); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.post-cta .post-aside-title { color: var(--gold); margin: 6px 0 0; }
.post-cta p { margin: 0; font-size: 0.95rem; }
.post-cta .icon-badge { background: var(--navy-2); width: 46px; height: 46px; }
.post-share .socials { margin-top: 0; }
.post-share .socials a { border-color: var(--line); }
.post-share .socials a:hover { border-color: var(--navy); }
.post-share .socials svg { stroke: var(--navy); }
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .post-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-toc { display: none; }
}
@media (max-width: 640px) { .post-aside { grid-template-columns: 1fr; } .post-section { padding: 56px 0; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

@media print {
  .site-header, .mobile-bar, .consent, .site-footer .socials { display: none !important; }
}

/* Keyword line inside page H1s */
.h1-kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; line-height: 1.4;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--s3);
}
.h1-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; flex-shrink: 0; }

/* Service areas */
.areas { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.areas h3 { font-size: 1.25rem; margin-bottom: 8px; }
.areas p { color: var(--muted); margin-bottom: 18px; }
.areas .industry-list span { min-height: 40px; padding: 8px 16px; font-size: 0.88rem; }
.contact-grid .areas { margin-top: 40px; padding-top: 32px; }

.card .text-link { white-space: nowrap; }

/* WordPress: admin bar offset and blog pagination */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.pagination { margin-top: var(--s5); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Services dropdown: names only */
.submenu { width: 300px; }
.submenu a { align-items: center; padding: 10px 12px; }
.submenu .ico { width: 32px; height: 32px; }
.submenu .ico svg { width: 16px; height: 16px; }
.submenu a { grid-template-columns: 32px 1fr; }
