/* ── Variables & Reset ─────────────────────────────────────── */
:root {
  --page-bg: #ffffff;
  --ink: #202020;
  --copy: #3f3f3f;
  --muted: #505050;
  --line: #d4d8e4;
  --panel: #eff3f9;
  --primary: #373bab;
  --secondary: #365eab;
  --tertiary: #7084ab;
  --deep: #0a0e73;
  --shadow-soft: 0 10px 40px rgba(128, 139, 165, 0.3);
  --shadow-card: 0 4px 20px rgba(16, 24, 64, 0.16);
  --shadow-button: 0 4px 4px rgba(0, 0, 0, 0.18);
  --radius: 5px;
  --container: 1530px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Karla", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

/* ── Section positioning ───────────────────────────────────── */
.section-bleed,
.section-soft,
.section-contact,
.site-footer {
  position: relative;
}

/* ── Eyebrow ───────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: center;
}

.eyebrow--light {
  color: #ffffff;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
}

/* ── Topbar ────────────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 1;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 34px 8px 68px;
  background-color: #f6f6f6;
  background-image: url("../images/topbar-bg.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #434343;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
}

.topbar__text {
  display: inline-block;
}

/* ── Nav wrap ──────────────────────────────────────────────── */
.nav-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 104px;
  margin: -9px 0 0;
  padding: 0 32px;
  background-color: #ffffff;
  background-image: url("../images/nav-bg.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: calc(100% + 40px) 100%;
  box-shadow: none;
}

.nav-wrap::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(125, 136, 166, 0.2);
}

/* ── Brand / Logo ──────────────────────────────────────────── */
.brand {
  position: absolute;
  left: 50%;
  top: -48px;
  z-index: 4;
  transform: translateX(-50%);
  width: 189px;
  min-height: 158px;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.brand img {
  width: 149px;
  height: 129px;
  object-fit: contain;
}

/* ── Desktop nav ───────────────────────────────────────────── */
.main-nav {
  position: absolute;
  bottom: 23px;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2vw, 40px);
  color: var(--copy);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 32px;
}

.main-nav--left {
  right: calc(50% + 208px);
}

.main-nav--right {
  left: calc(50% + 208px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: transparent;
  transition: background-color 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  background: var(--secondary);
}

.nav-link--has-caret::before {
  content: "";
  order: 2;
  width: 10px;
  height: 6px;
  margin-top: 1px;
  background: center / contain no-repeat url("../images/caret.svg");
}

/* ── Nav dropdown ──────────────────────────────────────────── */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(16, 24, 64, 0.16);
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  z-index: 200;
}

.nav-item--has-dropdown:hover > .nav-dropdown,
.nav-item--has-dropdown:focus-within > .nav-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown__item {
  list-style: none;
}

.nav-dropdown__link {
  display: block;
  padding: 10px 20px;
  color: var(--copy);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-dropdown__link:hover,
.nav-dropdown__link:focus-visible {
  color: var(--secondary);
  background-color: rgba(0, 0, 0, 0.04);
}

/* ── Nav actions ───────────────────────────────────────────── */
.nav-actions {
  position: absolute;
  inset: 0 14px 0 auto;
  width: 276px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ── Socials ───────────────────────────────────────────────── */
.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  display: grid;
  place-items: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  opacity: 0.8;
  transform: translateY(-1px);
}

.social-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.social-icon path {
  fill: #7084ab;
}

.socials--topbar {
  align-items: center;
  gap: 14px;
}

.socials--topbar a {
  width: 24px;
  height: 24px;
}

/* ── Hamburger toggle ──────────────────────────────────────── */
.menu-toggle {
  display: none;
  width: 41px;
  height: 41px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle__line {
  width: 20px;
  height: 2px;
  background: var(--copy);
  border-radius: 999px;
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu ───────────────────────────────────────────── */
.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(18, 25, 51, 0.42);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 0s linear 260ms;
}

.mobile-menu.is-visible {
  visibility: visible;
  pointer-events: auto;
  transition: opacity 260ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
}

.mobile-menu__panel {
  width: min(100%, 402px);
  margin-left: auto;
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 110px 24px 28px;
  background: #ffffff;
  box-shadow: -16px 0 40px rgba(16, 24, 64, 0.16);
  opacity: 0;
  transform: translateX(36px);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.mobile-menu.is-open .mobile-menu__panel {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu__panel a {
  padding: 10px 0;
  color: var(--copy);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.mobile-menu__panel .nav-item {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.mobile-menu__panel .nav-dropdown {
  position: static;
  transform: none;
  visibility: visible;
  opacity: 1;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  padding: 0 0 4px 16px;
  min-width: 0;
  width: 100%;
  border-left: 2px solid rgba(0, 0, 0, 0.12);
  transition: none;
  display: none;
}

.mobile-menu__panel .nav-item--has-dropdown.is-open > .nav-dropdown {
  display: block;
}

.mobile-menu__panel .nav-dropdown__link {
  padding: 8px 0;
  font-size: 16px;
}

/* ── Responsive: 1440px ────────────────────────────────────── */
@media (max-width: 1440px) {
  .nav-wrap {
    padding: 0 18px;
  }

  .brand {
    width: 172px;
  }

  .main-nav {
    gap: 18px;
    font-size: 16px;
  }

  .topbar {
    padding-inline: 32px;
  }

  .main-nav--left {
    right: calc(50% + 198px);
  }

  .main-nav--right {
    left: calc(50% + 198px);
  }

  .nav-actions {
    right: 10px;
    width: 252px;
  }
}

/* ── Responsive: 1100px (mobile nav) ──────────────────────── */
@media (max-width: 1100px) {
  .container {
    width: min(calc(100% - 24px), 402px);
  }

  .eyebrow {
    font-size: 14px;
  }

  .site-header {
    position: relative;
  }

  .topbar {
    min-height: 34px;
    justify-content: center;
    padding-inline: 12px;
    font-size: 12px;
    line-height: 1.3;
  }

  .socials--topbar {
    display: none;
  }

  .nav-wrap {
    min-height: 81px;
    margin: 0;
    padding: 6px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    box-shadow: none;
  }

  .nav-wrap::after {
    display: none;
  }

  .brand {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 85px;
    min-height: 65px;
    place-items: start center;
  }

  .brand img {
    width: 85px;
    height: 65px;
  }

  .main-nav {
    display: none;
  }

  .nav-actions {
    position: relative;
    inset: auto;
    width: auto;
    justify-self: end;
    padding-right: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

/* ── Buttons ───────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

@media (hover: hover) {
  .button:hover {
    transform: translateY(-1px);
    opacity: 0.96;
  }

  .button--primary:hover,
  .button--solid:hover,
  .button--light:hover {
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
  }

  .button--ghost:hover {
    background: rgba(255, 255, 255, 0.22);
  }
}

.button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.button--light:focus-visible {
  outline-color: rgba(54, 94, 171, 0.95);
}

.button--primary,
.button--solid {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-button);
}

.button--ghost {
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.button--light {
  background: #ffffff;
  color: #272727;
  box-shadow: var(--shadow-button);
}

.button--submit {
  width: 100%;
  margin-top: 6px;
}

/* ── SR Only ───────────────────────────────────────────────── */
.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;
}

/* ── Contact section ───────────────────────────────────────── */
.section-contact {
  padding: 94px 0 62px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 254, 1) 100%);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  gap: 72px;
  align-items: start;
}

.contact__details {
  padding-top: 8px;
}

.contact__logo {
  width: 203px;
  height: 202px;
  object-fit: contain;
}

.contact__block {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.contact__block a,
.contact__block p {
  width: fit-content;
  color: var(--copy);
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.contact__rule {
  width: min(496px, 100%);
  height: 1px;
  margin: 18px 0;
  background: var(--line);
}

.socials--footer a {
  width: 31px;
  height: 31px;
}

/* ── Contact form ──────────────────────────────────────────── */
.contact-form {
  padding: 44px 48px 52px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.contact-form h2 {
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-align: center;
}

.contact-form p {
  width: min(449px, 100%);
  margin: 22px auto 24px;
  color: #313131;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.contact-form label {
  display: block;
  margin-bottom: 17px;
}

.contact-form input,
.contact-form select {
  width: 100%;
  height: 58px;
  padding: 14px 20px;
  border: 1px solid #c1c4d6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--copy);
  font-size: 18px;
  font-weight: 500;
  appearance: none;
}

.contact-form input::placeholder,
.contact-form select:invalid {
  color: var(--copy);
}

/* ── Gravity Forms — contact section override ──────────────── */
.contact-form-wrap {
  padding: 44px 48px 52px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.contact-form-wrap__heading {
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-align: center;
  margin: 0 0 22px;
}

.contact-form-wrap__subtext {
  width: min(449px, 100%);
  margin: 0 auto 24px;
  color: #313131;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.section-contact .gform_wrapper {
  margin: 0;
}

.section-contact .gform_body {
  padding: 0;
}

/* Stack fields vertically, remove GF grid */
.section-contact .gform_fields {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}

.section-contact .gfield {
  margin-bottom: 17px !important;
  padding: 0 !important;
}

/* Hide labels — placeholders do the job */
.section-contact .gfield_label,
.section-contact .gform-field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Inputs and selects */
.section-contact .ginput_container input,
.section-contact .ginput_container select {
  width: 100% !important;
  height: 58px !important;
  padding: 14px 20px !important;
  border: 1px solid #c1c4d6 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--copy) !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  appearance: none !important;
}

.section-contact .ginput_container input::placeholder {
  color: var(--copy);
  opacity: 1;
}

.section-contact .ginput_container select {
  background-image: url("../images/caret.svg") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 10px 6px !important;
}

/* Submit button */
.section-contact .gform_footer {
  padding: 0 !important;
  margin: 0 !important;
}

.section-contact .gform_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  margin-top: 6px !important;
  padding: 10px 22px !important;
  border: none !important;
  border-radius: var(--radius) !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-button) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease !important;
}

@media (hover: hover) {
  .section-contact .gform_button:hover {
    transform: translateY(-1px) !important;
    opacity: 0.96 !important;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2) !important;
  }
}

/* Validation */
.section-contact .gfield_validation_message,
.section-contact .validation_message {
  color: #c0392b;
  font-size: 13px;
  margin-top: 6px;
}

.section-contact .gform_validation_errors {
  display: none;
}

.section-contact .gfield--has-error .ginput_container input,
.section-contact .gfield--has-error .ginput_container select {
  border-color: #c0392b !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .contact-form-wrap {
    padding: 26px 30px 30px;
  }

  .contact-form-wrap__heading {
    font-size: 28px;
    line-height: 1.18;
  }

  .contact-form-wrap__subtext {
    margin: 12px auto 18px;
    font-size: 15px;
  }

  .section-contact .ginput_container input,
  .section-contact .ginput_container select {
    height: 35px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
  }

  .section-contact .gform_button {
    min-height: 46px !important;
    font-size: 15px !important;
  }
}

/* ── Sat modal ─────────────────────────────────────────────── */
body.sat-modal-open {
  overflow: hidden;
}

.sat-modal[hidden] {
  display: none;
}

.sat-modal {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  padding: 24px;
}

.sat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 28, 0.72);
  cursor: pointer;
}

.sat-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 48px 40px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.sat-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  line-height: 1;
  color: var(--copy);
  background: none;
  border: none;
  cursor: pointer;
}

.sat-modal__dialog p {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  padding: 22px 0 36px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.footer__inner p:last-child,
.footer__links {
  text-align: right;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 20px;
}

.footer__links a {
  white-space: nowrap;
  padding: 4px 0;
}

.footer__mark {
  width: 348px;
  height: 95px;
  object-fit: contain;
}

/* ── Responsive: contact form & footer ────────────────────── */
@media (max-width: 1100px) {
  .section-contact {
    padding: 44px 0 24px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact__details {
    padding-inline: 22px;
  }

  .contact__logo {
    width: 147px;
    height: 146px;
  }

  .contact__block a,
  .contact__block p {
    font-size: 18px;
  }

  .contact__rule {
    width: 100%;
  }

  .socials--footer a {
    width: 24px;
    height: 24px;
  }

  .contact-form h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .contact-form {
    padding: 26px 30px 30px;
  }

  .contact-form p {
    margin: 12px auto 18px;
    font-size: 15px;
  }

  .contact-form input,
  .contact-form select {
    height: 35px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .button--submit {
    min-height: 46px;
    font-size: 15px;
  }

  .site-footer {
    padding: 16px 0 32px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    text-align: center;
    font-size: 12px;
  }

  .footer__inner p,
  .footer__inner p:last-child,
  .footer__links {
    text-align: center;
    justify-content: center;
  }

  .footer__mark {
    width: 247px;
    height: 68px;
  }

  .story-cta {
    padding: 66px 0 88px;
  }

  .blog-hero {
    min-height: 360px;
  }

  .blog-hero__media {
    inset: 28px 0 -28px;
    background-position: center 34%;
  }

  .blog-hero__overlay {
    min-height: 136px;
  }

  .blog-hero__content {
    padding-bottom: 20px;
  }

  .blog-hero__content h1 {
    max-width: 340px;
    font-size: 38px;
    line-height: 1.15;
  }

  .blog-article {
    padding: 38px 0 56px;
    gap: 16px;
  }

  .blog-article__meta,
  .blog-article p {
    font-size: 16px;
  }

  .blog-article h2 {
    margin-top: 4px;
    font-size: 34px;
  }

  .blog-article h3 {
    margin-top: 2px;
    font-size: 30px;
  }

  .blog-cta {
    padding: 66px 0 72px;
  }

  .blog-contact {
    padding-top: 44px;
  }
}

/* ── About page shared ─────────────────────────────────────── */
.ab-quote-band {
  margin: 26px 0 22px;
  padding: 25px 43px 20px;
  background: #f1f4f9;
  text-align: center;
}

.ab-quote-band p,
.ab-quote-band strong {
  display: block;
  margin: 0;
  color: #222222;
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  line-height: 1.6;
}

.ab-quote-band strong {
  font-weight: 700;
}

@media (max-width: 1100px) {
  .ab-quote-band {
    margin: 20px 0 18px;
    padding: 18px 20px;
  }

  .ab-quote-band p,
  .ab-quote-band strong {
    font-size: 18px;
  }
}

/* ── Call to Action ────────────────────────────────────────── */
.story-cta {
  padding: 104px 0 108px;
  background: var(--secondary, #365eab);
  color: #ffffff;
  position: relative;
}

.story-cta__content {
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

.story-cta h2 {
  max-width: 1120px;
  margin: 0;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 3.3vw, 50px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── Blog single post ──────────────────────────────────────── */
.blog-post-body,
.blog-post-page {
  background: #ffffff;
}

.blog-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.blog-hero__media {
  position: absolute;
  inset: 42px 0 -42px;
  background-image: url("../images/blogbackground.jpg");
  background-size: cover;
  background-position: center 36%;
}

.blog-hero__overlay {
  position: absolute;
  inset: auto 0 0;
  min-height: 180px;
  background: linear-gradient(180deg, rgba(56, 93, 171, 0.84) 0%, rgba(56, 93, 171, 0.84) 100%);
}

.blog-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 34px;
}

.blog-hero__content h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-size: clamp(36px, 4vw, 70px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.blog-article {
  padding: 66px 0 82px;
  display: grid;
  gap: 22px;
}

.blog-article__meta {
  margin: 0;
  color: #2c2c2c;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.blog-article p {
  margin: 0;
  color: #2c2c2c;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.blog-article h2,
.blog-article h3 {
  margin: 8px 0 0;
  color: #202020;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.blog-article h2 {
  font-size: clamp(34px, 3.2vw, 60px);
  line-height: 1.2;
}

.blog-article h3 {
  font-size: clamp(28px, 2.4vw, 45px);
  line-height: 1.2;
}

.blog-cta {
  padding: 92px 0 94px;
}

.al-story-cta {
  padding: 128px 0 132px;
}

@media (max-width: 1100px) {
  .al-story-cta {
    padding: 94px 0 90px;
  }
}

/* ── Blog header variant ───────────────────────────────────── */
.site-header--blog .topbar {
  background-image: url("../images/blog-header-topbar-bg.svg");
}

.site-header--blog .nav-wrap {
  background-image: url("../images/blog-header-nav-bg.svg");
}

/* ── Blog archive ──────────────────────────────────────────── */
.blog-archive-body,
.blog-archive-page {
  background: #f6f6f6;
}

.blog-archive-hero {
  padding: 246px 0 38px;
  background: linear-gradient(180deg, #5a84cf 0%, #5a84cf 100%);
}

.blog-archive-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 510px);
  gap: 24px;
  align-items: center;
}

.blog-archive-title {
  margin: 0;
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.blog-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #898989;
  box-shadow: var(--shadow-card);
}

.blog-search input {
  width: 100%;
  border: 0;
  padding: 0 18px;
  background: transparent;
  color: #222222;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  min-height: 56px;
}

.blog-search input::placeholder {
  color: #535353;
}

.blog-search__button {
  display: grid;
  place-items: center;
  border-left: 1px solid #d0d0d0;
  color: #202020;
  cursor: pointer;
}

.blog-search__button svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.blog-archive-results {
  padding: 58px 0 92px;
}

.blog-archive-results__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.blog-archive-results__count,
.blog-archive-clear {
  margin: 0;
  color: #3f3f3f;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.blog-archive-clear {
  text-decoration: underline;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 42px;
}

.blog-card {
  display: grid;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.blog-card__image {
  aspect-ratio: 668 / 248;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: end;
  padding: 18px 22px 20px;
}

.blog-card__copy {
  display: grid;
  gap: 8px;
}

.blog-card__meta {
  margin: 0;
  color: #5a5a5a;
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.blog-card__title {
  margin: 0;
  color: #18191b;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.blog-card__excerpt {
  margin: 0;
  color: #18191b;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.blog-card__cta {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: #373bab;
  color: #ffffff;
  display: grid;
  place-items: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.blog-card__cta:hover,
.blog-card__cta:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
}

.blog-card__cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.blog-archive-actions {
  display: grid;
  justify-items: center;
  margin-top: 32px;
}

.blog-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid #202020;
  border-radius: 999px;
  color: #202020;
  font-family: "DM Sans", "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  text-transform: none;
}

.blog-empty {
  padding: 36px 24px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.blog-empty h2 {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
}

.blog-empty p {
  margin: 0;
  color: #444444;
}

.blog-contact {
  padding-top: 76px;
}

/* ── Blog responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .blog-archive-hero {
    padding-top: 210px;
  }

  .blog-archive-hero__row,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .blog-archive-hero {
    padding: 188px 0 28px;
  }

  .blog-search {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .blog-archive-results {
    padding: 40px 0 64px;
  }

  .blog-card__body {
    grid-template-columns: 1fr;
  }

  .blog-card__cta {
    justify-self: start;
  }

  .blog-archive-results__bar {
    flex-direction: column;
    align-items: start;
  }
}
