/* =============================================================================
   Cyber Impact — clean BEM rebuild
   Iteration 2 — built from extracted production design tokens (palette, type,
   buttons) and per-section computed styles at 1470 / 1024 / 375 px viewports.
   No build step. Single file. CSS variables for theming.
   ========================================================================== */

/* ----- Tokens -------------------------------------------------------------- */
:root {
  /* Palette (matches Kadence --global-palette*) */
  --c-primary: #005ec2;          /* palette1 */
  --c-accent: #2a9ed7;           /* palette2 */
  --c-text: #000000;             /* palette3 */
  --c-text-2: #3B3B3B;           /* palette4 */
  --c-text-3: #515151;           /* palette5 */
  --c-border: #e6e6e6;           /* palette6 */
  --c-bg-soft: #ecf4fb;          /* palette7 */
  --c-bg-alt: #f9f9f9;           /* palette8 */
  --c-bg: #ffffff;               /* palette9 */

  --grad-btn: linear-gradient(90deg, var(--c-accent) 0%, var(--c-primary) 100%);
  --grad-btn-hover: linear-gradient(90deg, rgb(43, 144, 194) 0%, rgb(5, 86, 173) 100%);
  --grad-topbar: linear-gradient(135deg, var(--c-accent) 0%, var(--c-primary) 100%);

  /* Type */
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container-w: 1290px;
  --container-pad: 24px;        /* 1.5rem */
  --section-pad: 48px;          /* desktop --global-kb-spacing-lg */
  --section-pad-xl: 80px;       /* 5rem */
  --gap-lg: 64px;               /* --global-kb-gap-lg */

  /* Shadow */
  --shadow-card: 0 15px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ----- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 25.5px;
  color: var(--c-text);
  background: var(--c-bg-alt);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-accent); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--c-text);
  margin: 0;
}
h1 { font-size: 58px; line-height: 69.6px; }
h2 { font-size: 38px; line-height: 45.6px; }
h3 { font-size: 24px; line-height: 28.8px; text-transform: uppercase; }
h4 { font-size: 24px; line-height: 28.8px; }
h5 { font-size: 20px; line-height: 24px; text-transform: uppercase; color: var(--c-text-2); }
h6 { font-size: 16px; line-height: 19.2px; text-transform: uppercase; }

p { margin: 17px 0; }

/* ----- Skip link ----------------------------------------------------------- */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--c-primary); color: #fff; padding: 8px 16px;
  z-index: 1000;
}
.skip-link:focus { top: 0; color: #fff; }

/* ----- Utilities ----------------------------------------------------------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ----- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 20.4px;
  text-transform: uppercase;
  border-radius: 30px;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
  letter-spacing: normal;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background-image: var(--grad-btn);
  color: #fff;
  box-shadow: 0 0 0 -5px rgba(0, 0, 0, 0);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background-image: var(--grad-btn-hover);
  color: #fff;
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.1);
}
.btn--primary::after {
  content: "";
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12h14M13 5l7 7-7 7' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12h14M13 5l7 7-7 7' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border: 2px solid currentColor;
}
.btn--ghost:hover { background: var(--c-text); color: #fff; }
.btn--lg { padding: 20px 36px; }

/* ----- Topbar -------------------------------------------------------------- */
.topbar {
  background: var(--grad-topbar);
  color: #fff;
  font-size: 14px;
  line-height: 21px;
}
.topbar__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 14px var(--container-pad);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: flex-end;
}
.topbar__item {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 400;
}
.topbar__item:hover { color: #fff; opacity: .85; }
.topbar__item--address { font-weight: 400; }

/* ----- Header / Nav -------------------------------------------------------- */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--c-border);
}
.header__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 18px var(--container-pad);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 108px;
}
.header__logo img {
  height: 72px;
  width: auto;
  display: block;
}
.header__cta { margin-left: auto; flex: 0 0 auto; }

.nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}
.nav__links a {
  display: inline-block;
  padding: 3.4px 17px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  line-height: 25.5px;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.nav__links a:hover,
.nav__links a:focus-visible,
.nav__links a[aria-current="page"] {
  color: var(--c-accent);
}
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--c-text);
  transition: transform .2s ease, opacity .2s ease;
}

/* ----- Page hero (inner pages) -------------------------------------------- */
.page-hero {
  background: var(--c-bg-soft);
  padding: 80px 0 64px;
}
.page-hero .container { max-width: 920px; }
.page-hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-primary);
  margin: 0 0 12px;
  font-weight: 600;
}
.page-hero__title {
  font-size: 48px;
  line-height: 57.6px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--c-text);
  margin: 0 0 24px;
}
.page-hero__lead {
  font-size: 19px;
  line-height: 30px;
  color: var(--c-text-2);
  margin: 0;
  max-width: 720px;
}

/* Article body — pixel-faithful reproduction of production typography.
   All values verified against cyberimpact.com.au computed styles. */
.article-body {
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  line-height: 25.5px;
  color: #000;
}
.article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #000;
}
.article-body h2 { font-size: 38px; line-height: 45.6px; margin: 57px 0 19px; }
.article-body h3 { font-size: 24px; line-height: 28.8px; margin: 32px 0 12px; text-transform: none; }
.article-body h4 { font-size: 24px; line-height: 28.8px; margin: 32px 0 12px; }
.article-body p { margin: 0 0 32px; font-size: 17px; line-height: 25.5px; color: #000; font-weight: 400; }
.article-body ul,
.article-body ol { margin: 0 0 32px; padding-left: 34px; }
.article-body ul { list-style: disc outside; }
.article-body ol { list-style: decimal outside; }
.article-body li { margin: 0; padding: 0; font-size: 17px; line-height: 25.5px; }
.article-body strong { font-weight: 700; color: inherit; }
.article-body em { font-style: italic; }

/* Tables — production uses borderless cells on a light grey row background
   with 2px gaps between cells (Kadence default). */
.article-body table {
  width: 100%;
  margin: 0 0 32px;
  border: 0;
  border-collapse: separate;
  border-spacing: 2px;
  background: transparent;
  font-family: "Roboto", sans-serif;
}
.article-body table tr {
  background: #f9f9f9;
}
.article-body table td,
.article-body table th {
  padding: 8px;
  border: 0;
  font-size: 17px;
  line-height: 25.5px;
  color: #000;
  vertical-align: middle;
  text-align: left;
}
.article-body table th { font-weight: 700; }
.article-body table td p,
.article-body table th p { margin: 0; }
.article-body table td p + p,
.article-body table th p + p { margin-top: 8px; }
.article-body a {
  color: #2a9ed7;
  text-decoration: none;
  font-weight: 400;
}
.article-body a:hover { text-decoration: underline; }

/* Plain blockquote (rare, when not wrapped in figure) */
.article-body > blockquote {
  border-left: 1.5px solid #005ec2;
  padding: 28.8px;
  margin: 0 0 32px;
  background: #ecf4fb;
  font-style: italic;
  color: #3B3B3B;
}

/* Pullquote (figure.article-pullquote): translucent light blue background,
   thin 1.5px primary left bar, italic darker body. Production exact. */
.article-body figure.article-pullquote {
  background: #ecf4fb;
  border-left: 1.5px solid #005ec2;
  padding: 0;
  margin: 0 0 32px;
}
.article-body figure.article-pullquote blockquote {
  margin: 0;
  padding: 28.8px;
  border: 0;
}
.article-body figure.article-pullquote p {
  margin: 0 0 32px;
  font-family: "Roboto", sans-serif;
  font-size: 18.72px;
  line-height: 29.952px;
  color: #3B3B3B;
  font-style: italic;
  font-weight: 400;
}
.article-body figure.article-pullquote p:last-child { margin-bottom: 0; }
.article-body figure.article-pullquote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-style: normal;
  color: #3B3B3B;
}

/* Boxed callout — production uses Kadence row layouts with theme-palette
   backgrounds. Default: translucent yellow rgba(250,237,147,0.44). */
.article-body aside.article-callout {
  background: rgba(250, 237, 147, 0.44);
  padding: 28.8px;
  margin: 0 0 32px;
  border: 0;
  border-radius: 0;
  color: #000;
}
.article-body aside.article-callout--lightblue {
  background: #ecf4fb;
}
.article-body aside.article-callout--blue {
  background: #005ec2;
  color: #fff;
  padding: 30px;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  line-height: 25.5px;
}
.article-body aside.article-callout--blue h2,
.article-body aside.article-callout--blue h3,
.article-body aside.article-callout--blue h4 {
  color: #fff;
  font-family: "Inter", sans-serif;
  text-align: center;
  margin: 0 0 19px;
}
.article-body aside.article-callout--blue h2 { font-size: 38px; line-height: 45.6px; }
.article-body aside.article-callout--blue h3 { font-size: 24px; line-height: 28.8px; }
.article-body aside.article-callout--blue p,
.article-body aside.article-callout--blue li {
  color: #fff;
}
.article-body aside.article-callout--blue p {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 25.5px;
}
.article-body aside.article-callout--blue p:last-child { margin-bottom: 0; }
.article-body aside.article-callout--blue a { color: #fff; text-decoration: underline; }
/* CTA-style blue callouts (those with a heading) center the body text and any inline button */
.article-body aside.article-callout--blue:has(h2, h3, h4) p { text-align: center; }
.article-body aside.article-callout--blue:has(h2, h3, h4) p.article-cta { justify-content: center; }
/* Conversation transcript blue callouts (no heading, just paragraphs) use Lucida Console */
.article-body aside.article-callout--blue:not(:has(h2, h3, h4)) {
  font-family: "Lucida Console", Monaco, monospace;
}
.article-body aside.article-callout--blue:not(:has(h2, h3, h4)) p {
  font-family: "Lucida Console", Monaco, monospace;
}
.article-body aside.article-callout > :last-child { margin-bottom: 0; }
.article-body aside.article-callout h2 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 45.6px;
}
.article-body aside.article-callout h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 28.8px;
}
.article-body aside.article-callout ul,
.article-body aside.article-callout ol { margin: 0 0 0; padding-left: 34px; }
.article-body aside.article-callout li { margin: 0; font-size: 17px; line-height: 25.5px; }
.article-body aside.article-callout p { margin: 0 0 16px; }

/* Stats grid (3-column big-blue-number cards) */
.article-body .article-stats {
  display: grid;
  gap: 24px;
  margin: 0 0 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.article-body .article-stats--col-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-body .article-stats--col-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-body .article-stats--col-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 767px) {
  .article-body .article-stats,
  .article-body .article-stats--col-2,
  .article-body .article-stats--col-3,
  .article-body .article-stats--col-4 { grid-template-columns: 1fr; }
}
.article-body .article-stat {
  background: #f5f5f5;
  padding: 32px 24px;
  text-align: center;
}
.article-body .article-stat__num {
  font-family: "Inter", sans-serif;
  font-size: 38px;
  line-height: 45.6px;
  font-weight: 600;
  color: #005ec2;
  margin: 0 0 19px;
}
.article-body .article-stat__label {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  line-height: 25.5px;
  color: #515151;
  margin: 0;
}

/* Step grid (icon + title + text cards in 2/3/4 columns) */
.article-body .article-step-grid {
  display: grid;
  gap: 24px;
  margin: 0 0 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.article-body .article-step-grid.article-stats--col-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-body .article-step-grid.article-stats--col-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-body .article-step-grid.article-stats--col-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 767px) {
  .article-body .article-step-grid { grid-template-columns: 1fr !important; }
}

/* Step card (Align / Diagnose / Deliver / Strengthen, etc.) */
.article-body .article-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 22px 24px;
  margin: 14px 0;
}
.article-body .article-step__icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 0;
}
.article-body .article-step__body { flex: 1 1 auto; }
.article-body .article-step__body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  text-transform: none;
}
.article-body .article-step__body p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--c-text-2);
}

/* Inline CTA paragraph (wraps a .btn) */
.article-body p.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}
.article-body p.article-cta .btn { margin: 0; }

/* In-content CTA buttons authored as <a class="button"> in source */
.article-body a.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-primary) 100%);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 94, 194, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin: 12px 0 0;
}
.article-body a.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 94, 194, 0.25);
  text-decoration: none;
}
.article-body a.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* Keep stray inline SVGs in the body sized sensibly (the WordPress export
   sometimes ships icons without explicit width/height). */
.article-body svg {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* Inline images and figures */
.article-body figure { margin: 24px 0; }
.article-body figure img { max-width: 100%; height: auto; border-radius: 6px; }
.article-body figure figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--c-text-3);
  text-align: center;
}

@media (max-width: 767px) {
  .article-body aside.article-callout { padding: 22px 24px; }
  .article-body figure.article-pullquote { padding: 18px 22px; }
  .article-body .article-step { gap: 16px; padding: 18px 20px; }
  .article-body .article-step__icon { width: 44px; height: 44px; }
}

/* Article shell: full-width hero image, then ONE continuous white panel
   that overlaps the bottom of the image and contains the title, meta,
   and the entire article body, matching production. */
/* Article hero: full-width banner with the production aspect ratio
   (1440 wide x ~700 tall on desktop), overlapped by the white article container. */
.article-hero {
  position: relative;
  width: 100%;
  /* Production renders the post-thumbnail at width:100% with padding-bottom
     creating a ~700/1440 = 48.5% aspect ratio. Recreate the same proportion. */
  aspect-ratio: 1440 / 700;
  background-size: cover;
  background-position: center;
  background-color: #f9f9f9;
}
/* The white article container. Production uses .site-container max 1290px
   with 24px gutter on each side, then .entry-content-wrap padding 32px.
   We compose it with margin-top -73px to sit under the hero image. */
.article-shell {
  position: relative;
  margin: -73px auto 80px;
  max-width: 1290px;
  padding: 0 24px;
  z-index: 2;
}
.article-shell__inner {
  background: #fff;
  padding: 32px;
  box-shadow: none;
}
.article-shell__header {
  margin: 0 0 17px;
  padding: 0;
  text-align: left;
}
.article-hero__eyebrow { display: none; }
.article-hero__title {
  font-family: "Inter", sans-serif;
  font-size: 58px;
  line-height: 69.6px;
  font-weight: 600;
  color: #000;
  margin: 0;
}
.article-shell__meta {
  font-family: "Roboto", sans-serif;
  font-size: 13.6px;
  font-weight: 400;
  color: #000;
  margin: 13.6px 0 0;
}
@media (max-width: 1024px) {
  .article-shell { margin-top: -48px; }
  .article-hero__title { font-size: 48px; line-height: 57.6px; }
}
@media (max-width: 767px) {
  .article-shell { margin-top: -32px; padding: 0 16px; }
  .article-shell__inner { padding: 24px; }
  .article-hero__title { font-size: 38px; line-height: 45.6px; }
}
.article-body figure { margin: 24px 0; }
.article-body figure img { border-radius: 4px; }

.article-meta {
  font-size: 14px;
  color: var(--c-text-3);
  margin: 0 0 24px;
}

/* Service detail row (services page) */
.service-detail {
  padding: 64px 0;
  border-bottom: 1px solid var(--c-border);
}
.service-detail:last-child { border-bottom: 0; }
.service-detail__grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}
.service-detail__icon { width: 60px; height: 60px; }
.service-detail h2 {
  font-size: 32px;
  line-height: 38.4px;
  margin: 0 0 16px;
  text-transform: none;
}
.service-detail__lead { font-size: 19px; line-height: 28.5px; margin: 0 0 24px; color: var(--c-text-2); }
.service-detail__list { padding-left: 0; list-style: none; }
.service-detail__list li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  font-size: 17px;
  line-height: 25.5px;
}
.service-detail__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 2px;
  background: var(--c-accent);
}

/* Blog index */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 64px 0;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  text-decoration: none;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  transition: box-shadow .2s ease, transform .2s ease;
}
.post-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.post-card__media { aspect-ratio: 3/2; overflow: hidden; margin: 0; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.post-card__title { font-family: var(--font-heading); font-size: 22px; line-height: 28px; font-weight: 600; margin: 0; text-transform: none; }
.post-card__excerpt { font-size: 16px; line-height: 24px; color: var(--c-text-2); margin: 0; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 64px 0;
}
.contact-info p { font-size: 17px; line-height: 27px; }
.contact-info dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 24px 0; }
.contact-info dt { font-weight: 600; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.contact-form label { font-size: 14px; font-weight: 600; }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  font-size: 16px;
  background: #fff;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-grid h2 { font-size: 28px; line-height: 33.6px; margin: 0 0 16px; }
.contact-grid__details p { font-size: 17px; line-height: 27px; margin: 0 0 16px; color: var(--c-text-2); }
.contact-grid__list { list-style: none; padding: 0; margin: 24px 0; }
.contact-grid__list li { padding: 12px 0; border-bottom: 1px solid var(--c-border); font-size: 16px; line-height: 24px; }
.contact-grid__list li:last-child { border-bottom: 0; }
.contact-grid__list strong { font-weight: 600; color: var(--c-text); }
.contact-grid__note { font-size: 14px; line-height: 22px; color: var(--c-text-2); font-style: italic; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form__label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-form__label input,
.contact-form__label textarea {
  font: inherit; font-weight: 400; padding: 12px 16px;
  border: 1px solid var(--c-border); border-radius: 4px;
  font-size: 16px; background: #fff;
}
.contact-form__label textarea { min-height: 140px; resize: vertical; }
.contact-form__note { font-size: 13px; line-height: 20px; color: var(--c-text-2); margin: 8px 0 0; }
.contact-form__note a { color: var(--c-primary); }
.contact-form__required { color: #d62828; font-weight: 700; margin-left: 2px; }
.contact-form__optional { color: var(--c-text-3); font-weight: 400; font-size: 13px; margin-left: 4px; }
.contact-form__heading { font-size: 22px; line-height: 28px; margin: 0 0 4px; font-weight: 600; }
.contact-grid__heading { font-size: 22px; line-height: 28px; margin: 0 0 16px; font-weight: 600; }
.contact-form__consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 22px; color: var(--c-text-2); margin: 4px 0; font-weight: 400; }
.contact-form__consent input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--c-primary); }
.contact-form__consent strong { font-weight: 600; color: var(--c-text); margin-right: 4px; }
.contact-form__consent a { color: var(--c-primary); }
.cf-turnstile { margin: 8px 0 4px; }
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__error {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 4px 0 8px;
  color: #b00020;
  font-size: 14px;
  line-height: 20px;
}
.contact-form__error[hidden] { display: none; }

/* Services 5-card grid override */
.services__grid--five {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.services__grid--five .service-card:nth-child(4),
.services__grid--five .service-card:nth-child(5) {
  grid-column: span 1;
}

/* Services 7-card grid override */
.services__grid--seven {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Annuity-service tag */
.service-card { position: relative; }
.service-card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-bg-alt);
  color: var(--c-primary);
  margin: 0 0 10px;
}
.service-card--annuity {
  border-top: 3px solid var(--c-primary);
}
.service-detail--annuity {
  border-left: 3px solid var(--c-primary);
  padding-left: 24px;
}
.service-detail--annuity .service-card__tag { margin-bottom: 12px; }

/* Page-hero CTA wrapper */
.page-hero__cta { margin-top: 24px; }

/* Compare grid (Standard advisory vs Cyber Impact) */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
}
.compare-grid__col {
  background: var(--c-bg-alt);
  border-radius: 12px;
  padding: 32px;
}
.compare-grid__col--accent {
  background: var(--c-primary);
  color: #fff;
}
.compare-grid__col--accent .compare-grid__title { color: #fff; }
.compare-grid__col--accent .compare-grid__list li { color: rgba(255,255,255,0.92); }
.compare-grid__col--accent .compare-grid__list li::before { color: #fff; }
.compare-grid__title {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-text);
}
.compare-grid__list { list-style: none; padding: 0; margin: 0; }
.compare-grid__list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 16px;
  line-height: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.compare-grid__col--accent .compare-grid__list li { border-bottom-color: rgba(255,255,255,0.15); }
.compare-grid__list li:last-child { border-bottom: 0; }
.compare-grid__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--c-primary);
  font-weight: 700;
}

/* Process steps (Align / Diagnose / Deliver / Strengthen) */
.process-steps {
  list-style: none;
  padding: 32px 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.process-step {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  border-top: 3px solid var(--c-primary);
}
.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 12px;
}
.process-step__title {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  margin: 0 0 10px;
}
.process-step__text { font-size: 16px; line-height: 24px; color: var(--c-text-2); margin: 0; }

@media (max-width: 1024px) {
  .compare-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .process-steps { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .page-hero__title { font-size: 38px; line-height: 45.6px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .services__grid--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services__grid--seven { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail__grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 767px) {
  .page-hero { padding: 48px 0 40px; }
  .page-hero__title { font-size: 28px; line-height: 33.6px; }
  .post-grid { grid-template-columns: 1fr; padding: 48px 0; }
  .article-body { padding: 48px 16px; }
  .services__grid--five { grid-template-columns: 1fr; }
  .services__grid--seven { grid-template-columns: 1fr; }
}

/* ----- HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, var(--c-bg) 74%, var(--c-bg-alt) 74%);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  top: 0; bottom: 0;
  left: 48px; right: 48px;
  z-index: -2;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  display: block;
}
.hero__overlay {
  position: absolute;
  top: 0; bottom: 0;
  left: 48px; right: 48px;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-bg-soft) 100%);
  opacity: 0.6;
  z-index: -1;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-top: 48px;
  padding-bottom: 128px;
  padding-left: 96px;
  padding-right: 96px;
  max-width: none;
  text-align: left;
}
.hero__title {
  font-size: 58px;
  line-height: 69.6px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  margin: 0 0 29px 0;
  max-width: 620px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.hero__subtitle {
  font-size: 17px;
  line-height: 25.5px;
  font-family: var(--font-body);
  font-weight: 400;
  color: #fff;
  margin: 0 0 32px 0;
  max-width: 620px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
/* Hero btn matches production: standard btn padding, not --lg */
.hero .btn { padding: 16px 30px; gap: 8.5px; }

/* ----- Trust band ---------------------------------------------------------- */
.trust {
  background: var(--c-bg-alt);
  text-align: center;
}
.trust .container {
  padding-top: 96px;
  padding-bottom: 64px;
}
.trust__heading {
  margin: 0;
  font-size: 38px;
  line-height: 45.6px;
  font-weight: 600;
}
.trust__logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
  justify-items: center;
  margin-top: 48px;
}
.trust__logo { display: flex; align-items: center; justify-content: center; min-height: 80px; }
.trust__logo img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  /* Production renders client logos in grayscale (filter: grayscale(1)) */
  filter: grayscale(1);
  opacity: 1;
  transition: filter .25s ease;
}
.trust__logo img:hover { filter: grayscale(0); }
/* Per-logo size overrides matching production max-widths */
.trust__logo:nth-child(1) img { max-width: 100px; }   /* Iress */
.trust__logo:nth-child(2) img { max-width: 120px; }   /* Serco */
.trust__logo:nth-child(3) img { max-width: 120px; }   /* ANZ */
.trust__logo:nth-child(4) img { max-width: 80px;  }   /* EY */
.trust__logo:nth-child(5) img { max-width: 120px; }   /* PwC */
.trust__logo:nth-child(6) img { max-width: 70px;  }   /* Dimension Data */

/* ----- Section primitive --------------------------------------------------- */
.section {
  background: var(--c-bg);
  padding: 0;
}
.section--alt { background: var(--c-bg-alt); }
.section--transformation .container { padding-bottom: 160px; }
.section .container {
  padding-top: 48px;
  padding-bottom: 32px;
  padding-left: 48px;
  padding-right: 48px;
}
.section__header {
  max-width: 600px;
  margin: 0 auto 24px;
}
.section__header--centered { text-align: center; }
.section__header h2 {
  font-size: 38px;
  line-height: 45.6px;
  margin: 0 0 12px 0;
}
.section__header p {
  font-size: 17px;
  line-height: 25.5px;
  margin: 8px 0 0 0;
}
/* CTA section heading is wider per production (836px) */
.cta .section__header,
.cta .cta__inner { max-width: 836px; }
.section__cta { display: flex; margin-top: 24px; }
.section__cta--centered { justify-content: center; }

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: minmax(0, calc(50% - 32px)) minmax(0, calc(50% - 32px));
  gap: 0 var(--gap-lg);
  align-items: start;
}
.split--reverse .split__media { order: 2; }
.split__media {
  margin: 0;
  position: relative;
  aspect-ratio: 1 / 1;
}
.split__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.split__body h2 {
  font-size: 38px;
  line-height: 45.6px;
  margin: 0 0 19px 0;
  text-align: left;
}
.split__body p {
  font-size: 17px;
  line-height: 25.5px;
  margin: 0 0 32px 0;
  color: var(--c-text);
  text-align: left;
}
.split__body p + p { margin-top: -16px; }   /* tighten subsequent paragraphs */
.signature {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  margin-bottom: 16px;
}
.signature__name {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  color: var(--c-text-2);
  text-transform: uppercase;
}
.signature__role {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--c-text-3);
  margin-top: 6px;
}

/* ----- Pullquote ----------------------------------------------------------- */
/* Production: pullquote sits inside the Mark photo column, overlapping the
   bottom of the image with a light-grey card and a slight right offset. */
.split__media--has-pullquote { position: relative; overflow: visible; }
.pullquote {
  position: absolute;
  left: 54px;
  right: -22px;
  bottom: -75px;
  background: var(--c-border);   /* #e6e6e6 */
  padding: 32px;
  margin: 0;
}
.pullquote__mark {
  display: inline-block;
  width: 24px;
  height: 24px;
  color: var(--c-accent);
  vertical-align: top;
  margin-right: 12px;
}
.pullquote__text {
  display: inline;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  font-style: normal;
  color: var(--c-text);
  margin: 0;
}

/* ----- Stats --------------------------------------------------------------- */
.stats { background: var(--c-bg-soft); }
.stats .container {
  padding-top: 24px;
  padding-bottom: 24px;
  max-width: var(--container-w);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 24px;
}
.stats__item {
  padding: 24px 64px;
  border-right: 1px solid var(--c-accent);
  text-align: center;
  display: block;
}
.stats__item:last-child { border-right: 0; }
.stats__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 50px;
  line-height: 50px;
  font-weight: 600;
  color: var(--c-text);
  margin: 0 0 32px 0;
  text-align: center;
}
.stats__label {
  font-size: 16px;
  line-height: 19.2px;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  color: var(--c-text);
  font-weight: 600;
}

/* ----- Solving ------------------------------------------------------------- */
.section--solving .container {
  padding-top: 96px;
  padding-bottom: 48px;
}
.solving__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 72px;
}
.exposures__agentic-note {
  max-width: 600px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 17px;
  line-height: 25.5px;
  color: var(--c-text);
}
.blog-card__date,
.post-card__date {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin: 0 0 8px;
}
.blog-bridge {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 17px;
  line-height: 25.5px;
  color: var(--c-text);
}
.blog-bridge a { color: var(--c-primary); font-weight: 600; }
.solving__media {
  position: relative;
  margin: 0;
  min-height: 600px;
  background-image: url("/assets/uploads/2025/07/striking-low-angle-view-of-a-modern-skyscraper-with-reflective-glass-facade-in-a-cityscape.-1662159-scaled.webp");
  background-size: cover;
  background-position: 50% 0%;
}
.solving__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--c-primary) 0%, #ffffff 100%);
  opacity: 0.6;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 0 48px;
}
.info-box {
  padding: 0 0 25px 0;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.info-box__icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: block;
  margin-top: 4px;
}
.info-box__body { flex: 1; min-width: 0; }
.info-box__title {
  font-size: 24px;
  line-height: 28.8px;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 10px 0;
  font-weight: 600;
  text-align: left;
}
.info-box__text {
  font-size: 18px;
  line-height: 27px;
  color: var(--c-text-3);
  padding-top: 5px;
  margin: 0;
  text-align: left;
}

/* ----- Services ------------------------------------------------------------ */
.services {
  position: relative;
  background-image: url("/assets/uploads/2025/07/business-meeting-with-diverse-team-discussing-projects-in-a-modern-conference-room.-1181396-scaled.webp");
  background-size: cover;
  background-position: 50% 50%;
  isolation: isolate;
}
.services__overlay {
  position: absolute; inset: 0;
  background: var(--c-bg-soft);
  opacity: 0.9;
  z-index: -1;
}
.services .container {
  padding: 80px 48px 32px;
  position: relative;
  z-index: 1;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.service-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.service-card__icon img {
  width: 60px; height: 60px;
  display: block;
}
.service-card__title {
  font-size: 24px;
  line-height: 28.8px;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  font-weight: 600;
  text-align: left;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  line-height: 25.5px;
  color: var(--c-text);
  margin: 0;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 2px;
  background: var(--c-accent);
}

/* ----- Testimonials -------------------------------------------------------- */
.testimonials {
  background: var(--c-bg-soft);
  padding: 0 0 80px 0;
}
.testimonials .container {
  padding-top: 80px;
  padding-bottom: 0;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}
.testimonial {
  background: #fff;
  padding: 48px;
  margin: 0;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 332px;
}
.testimonial__quote {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 25.5px;
  margin: 17px 0 24px;
  color: var(--c-text);
  min-height: 150px;
  position: relative;
  padding-left: 24px;
}
.testimonial__quote::before {
  content: "\201C";
  position: absolute;
  left: 0; top: -16px;
  font-family: var(--font-heading);
  font-size: 56px;
  color: var(--c-accent);
  line-height: 1;
}
.testimonial__person {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial__name {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 25.5px;
  color: var(--c-text);
}
.testimonial__role {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 22.5px;
  color: var(--c-text);
}
.testimonial__avatar {
  width: 60px;
  height: 60px;
  border-radius: 0;
  display: block;
  margin-right: 16px;
  flex-shrink: 0;
}
.testimonial__person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.testimonial__person-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* ----- Blog ---------------------------------------------------------------- */
.blog .container { padding-top: 80px; padding-bottom: 32px; }
.blog__carousel {
  position: relative;
  margin-top: 48px;
}
.blog__track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
}
.blog__track > li {
  flex: 0 0 394px;          /* matches production card width */
  scroll-snap-align: start;
  display: flex;
}
.blog__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: transparent;
  color: var(--c-text-3);
  border: 0;
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s ease;
}
.blog__nav:hover { color: var(--c-primary); }
.blog__nav--prev { left: -32px; }
.blog__nav--next { right: -32px; }

.blog-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: transparent;
  border: 0;
  text-decoration: none;
  color: var(--c-text);
  transition: transform .25s ease;
  overflow: hidden;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__title {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 33.6px;
  font-weight: 600;
  text-transform: none;
  padding: 16px 0 8px;
  margin: 0;
}
.blog-card__excerpt {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 25.5px;
  color: var(--c-text);
  margin: 0;
  padding: 0;
}

/* ----- CTA ----------------------------------------------------------------- */
.cta {
  background: var(--c-bg-alt);
  padding: 64px 0;
}
.cta__inner {
  background: var(--c-bg-soft);
  padding: 64px 48px;
  margin: 0 auto;
  text-align: center;
}
.cta__heading {
  font-size: 38px;
  line-height: 45.6px;
  margin: 0 0 19px 0;
}
.cta__sub {
  font-size: 17px;
  line-height: 25.5px;
  margin: 17px auto;
  max-width: 720px;
}

/* ----- Footer -------------------------------------------------------------- */
.footer { background: var(--c-bg-alt); color: var(--c-text); }
.footer__top { padding: 80px 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer__col { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.footer__logo { width: 55px; height: 55px; display: block; }
.footer__tagline { font-size: 16px; line-height: 24px; color: var(--c-text-3); margin: 0; }
.footer__heading {
  font-size: 20px;
  line-height: 24px;
  text-transform: none;
  font-weight: 600;
  color: var(--c-text-2);
  margin: 0 0 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  color: var(--c-text);
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}
.footer__links a:hover { color: var(--c-accent); }
.footer__bottom {
  background: var(--grad-topbar);
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 21px;
}
.footer__bottom-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px var(--container-pad);
  text-align: center;
}
.footer__bottom a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Responsive ========================================================= */
@media (max-width: 1024px) {
  .topbar__inner { justify-content: center; }
  .header__inner { flex-wrap: wrap; min-height: 64px; }
  .nav { order: 4; flex-basis: 100%; justify-content: flex-start; }
  .nav__links { gap: 0; flex-direction: column; align-items: stretch; width: 100%; display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--c-border); }
  .nav__toggle { display: flex; margin-left: auto; }
  .header__cta { margin-left: 0; }

  h1, .hero__title { font-size: 48px; line-height: 57.6px; margin: 32.16px 0; }
  h2, .section__header h2, .split__body h2, .trust__heading,
  .cta__heading, .blog .section__header h2 { font-size: 32px; line-height: 38.4px; }

  .hero__inner { padding-top: 64px; padding-bottom: 96px; }
  .hero { background: linear-gradient(180deg, var(--c-bg) 78%, var(--c-bg-alt) 78%); }

  .trust .container { padding-top: 64px; padding-bottom: 32px; }
  .trust__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

  .section .container { padding: 48px 24px 32px; }
  .split, .solving__split, .services__grid, .testimonials__grid, .blog__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .split--reverse .split__media { order: 0; }

  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--c-accent); }

  .info-list { padding: 0; }
  .services .container { padding: 64px 24px 32px; }
  .testimonials .container { padding-top: 64px; }
  .testimonial { min-height: auto; padding: 32px; }
  .blog__grid { gap: 24px; }

  .cta { padding: 48px 0; }
  .cta__inner { margin: 0 24px; padding: 40px 24px; }

  .footer__top { padding: 64px 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
}

@media (max-width: 767px) {
  .topbar { font-size: 13px; }
  .topbar__inner { gap: 4px 16px; padding: 8px var(--container-pad); }
  .topbar__item--address { width: 100%; text-align: center; }

  h1, .hero__title { font-size: 38px; line-height: 45.6px; margin: 25.46px 0; }
  h2, .section__header h2, .split__body h2, .trust__heading,
  .cta__heading, .blog .section__header h2 { font-size: 28px; line-height: 33.6px; }
  h3, .info-box__title, .service-card__title { font-size: 22px; line-height: 26.4px; }

  .hero__inner { text-align: center; align-items: center; padding-top: 48px; padding-bottom: 64px; }
  .hero__cta { justify-content: center; }
  .hero__title, .hero__subtitle { text-align: center; }

  .trust .container { padding-top: 48px; padding-bottom: 24px; }
  .trust__heading { font-size: 28px; line-height: 33.6px; margin: 23.24px auto; }
  .trust__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

  .section .container { padding: 48px 24px; }
  .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .stats__item { border-right: 0; border-bottom: 1px solid var(--c-accent); }
  .stats__item:last-child { border-bottom: 0; }
  .stats__number { font-size: 42px; line-height: 42px; }

  .services .container { padding: 48px 24px 64px; }
  .blog-card__title { font-size: 24px; line-height: 28.8px; }
  .pullquote { padding: 24px 16px; margin: 32px auto; }
  .pullquote__text { font-size: 18px; line-height: 27px; }

  .cta__inner { margin: 0; padding: 32px 24px; }
  .footer__bottom-inner { flex-direction: column; padding: 16px var(--container-pad); }
}
/* Legal page prose width */
.section--legal .article-body {
  max-width: 800px;
  margin: 0 auto;
}
