/* ==========================================================================
   AGV Group — Light Editorial Design System v2
   Fonts: Noto Serif (headings) + Figtree (UI / body / nav)
   Accent: #0B325D navy / #FDCD28 gold
   ========================================================================== */
/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --navy: #0B325D;
  --navy-60: #2a507a;
  --gold: #edbf27;
  --gold-60: #ffd64e;
  --noir: #ffffff;
  --surface: #f8f8f8;
  --surface-2: #f2f2f2;
  --surface-3: #ebebeb;
  --border: #e5e5e5;
  --border-mid: #d0d0d0;
  --env: #F0F6F1;
  --env2: #dce6de;
  --sus: #f0f6ff;
  --sus2: #d2ddee;
  --text: #202020;
  --text-muted: rgba(26, 26, 26, 0.75);
  --error: #D64545;
  /* Typography */
  --font-serif: 'Noto Serif', Georgia, serif;
  --font-ui: 'Figtree', system-ui, sans-serif;
  /* Spacing scale */
  --sp-xs: 10px;
  --sp-sm: 20px;
  --sp-md: 40px;
  --sp-lg: 64px;
  --sp-xl: 120px;
  --gutter: 24px;
  /* Layout */
  --container: 1320px;
  --header-h: 60px;
  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

@media screen and (min-width: 900px) {
  :root {
    --header-h: 90px;
  }
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(body),
::view-transition-new(body) {
  animation-duration: .8s;
}

html,
body {
  margin: 0;
  background: #fff;
  min-height: 100dvh;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #fff;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto
}

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

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-disc {
  list-style: disc;
  padding-left: 1.5em;
  margin-top: var(--sp-xs);
  margin-bottom: var(--sp-sm);
  max-width: 700px;
}

.list-disc li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

input,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

hr {
  width: 100%;
  height: 1px;
  margin: 2rem 0 !important;
  border: none;
  background: currentColor;
  opacity: .2
}

h3,
h4,
h5,
h6 {
  font-weight: 600;
}

strong,
b {
  font-weight: 600
}

/* --------------------------------------------------------------------------
   Utility classes
   -------------------------------------------------------------------------- */
.mt-sm {
  margin-top: var(--sp-sm);
}

.mt-md {
  margin-top: var(--sp-md);
}

.mt-lg {
  margin-top: var(--sp-lg);
}

.mt-xl {
  margin-top: var(--sp-xl);
}

.mt-auto {
  margin-top: auto;
}

.industry-rows {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

.industry-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--sp-sm);
  list-style: none;
  padding-left: 0 !important;
}

.industry-detail-tags li {
  display: block;
  line-height: 1;
  margin-top: 0;
}

.industry-detail-tags a,
.industry-detail-tags span {
  background: var(--surface-2);
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  display: block;
}

.page-environment .industry-detail-tags a {
  background: var(--env);
  border-color: var(--env2);
}

.page-sustainability .industry-detail-tags a {
  background: var(--sus);
  border-color: var(--sus2);
}

/* Industry subpages — bullet list instead of pills */
.page-template-page-industry-detail .industry-detail-tags {
  display: block;
  padding-left: 20px !important;
  list-style: disc;
}

.page-template-page-industry-detail .industry-detail-tags li {
  display: list-item;
  list-style: disc;
  margin-bottom: 0.5em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-template-page-industry-detail .industry-detail-tags a,
.page-template-page-industry-detail .industry-detail-tags span {
  background: none;
  border: none;
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
  font-size: inherit;
  font-weight: normal;
  color: var(--text-muted);
  border-radius: 0;
  line-height: inherit;
  display: inline;
}

.hp-field {
  display: none;
}

.honeypot {
  position: absolute;
  left: -99999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-msg {
  margin-top: 4px;
}

.form-msg__text {
  margin: 0;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.form-msg__text--success {
  background: #d4edda;
  color: #155724;
}

.form-msg__text--error {
  background: #f8d7da;
  color: #721c24;
}

/* --------------------------------------------------------------------------
   Layout utilities
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.section-body p,
.section-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.section-body>*+* {
  margin-top: 1rem;
}

.section-body> :first-child {
  margin-top: 0;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.section-body ul,
.section-body ol {
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-md);
  padding-left: 1.5em;
  list-style: disc;
}

.section-body ul ul,
.section-body ol ol {
  margin-top: 0;
  margin-bottom: 0;
}

.section-body li {
  margin-bottom: 0.5em;
}

.section-body li:last-child {
  margin-bottom: 0;
}

.section-body h1,
.section-body h2,
.section-body h3,
.section-body h4,
.section-body h5,
.section-body h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}

.section-body h1 {
  font-size: 28px;
  margin-bottom: var(--sp-sm);
}

.section-body h2 {
  font-size: 24px;
  margin-bottom: var(--sp-sm);
}

.section-body h3 {
  font-size: 20px;
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-xs);
}

.section-body h4 {
  font-size: 16px;
  font-weight: 600;
  margin-top: var(--sp-xs);
  margin-bottom: var(--sp-sm);
}

.section-body h1+*,
.section-body h2+*,
.section-body h3+*,
.section-body h4+*,
.section-body h5+*,
.section-body h6+* {
  margin-top: 0;
}

.section-body strong,
.section-body b {
  font-weight: 600;
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--sp-sm);
  }
}

.section {
  padding: var(--sp-xl) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--sp-lg) 0;
  }
}

/* --------------------------------------------------------------------------
   Buttons (only elements with border-radius)
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-60);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 9999px;
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(11, 50, 93, 0.75);
  border: 1.5px solid rgba(11, 50, 93, 0.5);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 9999px;
  transition: border-color 0.5s, background 0.5s, transform 0.5s var(--ease-out);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(11, 50, 93, 0.04);
  transform: translateY(-1px);
}

/* Dark-background contexts (hero overlay, cta-band, etc.) */
.hero-actions .btn-outline,
.cta-band .cta-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-actions .btn-outline:hover,
.cta-band .cta-actions .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap 0.2s var(--ease-out), opacity 0.2s;
}

.btn-text:hover {
  gap: 10px;
  opacity: 0.7;
}

.btn-text::after {
  content: '\2192';
}

/* --------------------------------------------------------------------------
   Form elements
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.footer-form .wpcf7-form-control.wpcf7-text,
.footer-form .wpcf7-form-control.wpcf7-email {
  width: 100%;
  background: var(--surface-3);
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  outline: none;
  transition: background 0.2s;
  box-sizing: border-box;
}

.form-input:focus,
.footer-form .wpcf7-form-control.wpcf7-text:focus,
.footer-form .wpcf7-form-control.wpcf7-email:focus {
  background: rgba(0, 0, 0, 0.08);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
  border: 1px solid var(--border);
}

.footer-form .wpcf7-submit {
  align-self: flex-start;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid rgba(11, 50, 93, 0.25);
  border-radius: 9999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.footer-form .wpcf7-submit:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.section-media-full {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.section-media-full img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
}

.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: transparent none 50% 50% / contain no-repeat;
}

.icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h2.7l1.4 4.2-2 1.3c1 2.2 2.7 3.9 4.9 4.9l1.3-2 4.2 1.4v2.7c0 1-.8 1.8-1.8 1.8A14.8 14.8 0 0 1 4.8 5.3c0-1 .8-1.8 1.8-1.8Z'/%3E%3C/svg%3E");
}

.icon-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Cpath d='m4.5 7 7.5 6 7.5-6'/%3E%3C/svg%3E");
}

.icon-whatsapp {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

.icon-linkedin {
  background-image: url("data:image/svg+xml,%3Csvg%20clip-rule%3D%22evenodd%22%20fill-rule%3D%22evenodd%22%20stroke-linejoin%3D%22round%22%20stroke-miterlimit%3D%222%22%20viewBox%3D%220%200%2044%2044%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22m41.741%201h-37.493c-1.79%200-3.248%201.42-3.248%203.163v37.666c0%201.74%201.458%203.163%203.248%203.163h37.496c1.788%200%203.256-1.423%203.256-3.163v-37.666c0-1.743-1.462-3.163-3.259-3.163zm-23.58%2016.495h6.25v2.869h.086c.872-1.65%203.001-3.391%206.188-3.391%206.608%200%207.828%204.35%207.828%2010.002v11.517h-6.522v-10.213c0-2.434-.044-5.569-3.391-5.569-3.396%200-3.918%202.654-3.918%205.39v10.387h-6.521v-20.992h-.009l.009-.005zm-10.63%200h6.532v20.996h-6.532zm3.265-10.45c2.085%200%203.781%201.695%203.781%203.781-.002%202.074-1.706%203.781-3.78%203.785-2.075-.004-3.782-1.71-3.787-3.785%200-2.075%201.707-3.782%203.781-3.782.002%200%20.003%200%20.005.001z%22%20transform%3D%22translate%28-1%20-1%29%22%20fill%3D%22currentColor%22/%3E%3C/svg%3E");
}

.icon-fax {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='1.5'/%3E%3Cpath d='M7 11V6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v5'/%3E%3Cpath d='M11 15h2v2h-2z'/%3E%3C/svg%3E");
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  transition: background 0.35s, height 0.35s var(--ease-out), box-shadow 0.35s;
}

.site-header.scrolled {
  background: #fff;
  height: 60px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-sm);
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}

.header-logo img {
  height: 64px;
  width: auto;
  transition: height 0.35s var(--ease-out);
}

.scrolled .header-logo img {
  height: 32px;
}

.header-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  flex-shrink: 0;
}

.nav-list li {
  white-space: nowrap;
}

.nav-search-item {
  padding-top: 6px;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: var(--gold);
}

li.nav-cta>a.nav-link:hover {
  color: var(--navy) !important;
}

.nav-link.current-menu-item,
.nav-link.current-menu-ancestor,
li.current-menu-item>a.nav-link,
li.current-menu-ancestor>a.nav-link {
  color: var(--gold);
}

li.nav-cta.current-menu-item>a.nav-link,
li.nav-cta.current-menu-ancestor>a.nav-link,
li.nav-cta>a.nav-link:hover {
  color: var(--navy) !important;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.current-menu-item,
.site-header.scrolled .nav-link.current-menu-ancestor,
.site-header.scrolled li.current-menu-item>a.nav-link,
.site-header.scrolled li.current-menu-ancestor>a.nav-link {
  color: var(--gold);
}

.site-header.scrolled li.nav-cta.current-menu-item>a.nav-link,
.site-header.scrolled li.nav-cta.current-menu-ancestor>a.nav-link,
.site-header.scrolled li.nav-cta>a.nav-link:hover {
  color: var(--navy) !important;
}

/* Nav highlighting via body class — pure CSS */
.single-people .nav-list a[href*="/leadership"],
.single-job .nav-list a[href*="/careers"],
.subservice-parent-environment .nav-list a[href*="/environment"],
.subservice-parent-sustainability .nav-list a[href*="/sustainability"],
.page-template-page-industry-detail .nav-list a[href*="/industries"] {
  color: var(--gold);
}

/* Dropdown */
.menu-item-has-children {
  position: relative;
}

.menu-item-has-children::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  transform: translateY(6px);
  background: #f1f1f1;
  padding: var(--sp-xs) 0;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}

.nav-list>.menu-item>.nav-link,
.nav-list>.menu-item.nav-cta>a {
  padding-left: 20px;
}

.sub-menu li a:hover,
.sub-menu li.current-menu-item a,
.sub-menu li a.current-menu-item {
  color: var(--gold);
}

.nav-cta {
  margin-left: 1rem;
}

.nav-cta a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-60);
  color: var(--navy);
  padding: 11px 22px;
  border-radius: 9999px;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-cta a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  visibility: hidden;
}

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

@media (max-width: 1200px) {
  .site-header {
    height: var(--header-h);
    padding: 0;
    background: #fff;
    box-shadow: 0 1px 0 var(--border);
  }

  .header-inner {
    align-items: center;
    padding-top: 0;
    justify-content: flex-start;
    gap: var(--sp-sm);
  }

  .header-inner .nav-toggle {
    margin-left: auto;
  }

  .header-logo img {
    height: 64px;
  }

  .header-nav {
    padding-top: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - var(--header-h));
    background: #fff;
    padding: var(--sp-md);
    flex-direction: column;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    z-index: 200;
    overflow-y: auto;
  }

  .header-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-sm);
  }

  .nav-list>.menu-item>.nav-link {
    padding-left: 0;
  }

  .nav-link {
    font-size: 20px;
  }

  .nav-cta {
    margin-top: 1rem;
    margin-left: 0;
  }

  .nav-search-toggle {
    width: 50px;
    height: 50px;
    margin-top: 0.5rem;
  }

  .nav-search-toggle svg {
    width: 28px;
    height: 28px;
  }

  .nav-cta a {
    font-size: 18px;
  }

  .menu-item-has-children::after {
    display: none;
  }

  .menu-item-has-children>.sub-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .menu-item-has-children:hover>.sub-menu {
    transform: none;
  }

  .sub-menu li a {
    font-size: 16px;
    padding: 10px 20px 10px 0;
  }

  .hero {
    padding-top: var(--header-h);
  }

  .hero-bg {
    top: calc(-1 * var(--header-h));
  }
}

@media (max-width: 899px) {
  .header-logo img {
    height: 32px;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 50svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
  background: var(--navy);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--sp-lg) 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.1) 80%,
      transparent 100%);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-lg);
  align-items: start;
}

.hero-copy {
  max-width: 720px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}

.hero-eyebrow-line {
  display: block;
  width: 36px;
  height: 1.5px;
  background: var(--gold);
}

.hero-eyebrow span {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.cap {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 16px;
  border: 1px solid rgba(1, 45, 92, 0.08);
  border-radius: 9999px;
  background: var(--surface);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-ui);
}

.hero .cap,
.ghost.cap {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.hero a.cap {
  text-decoration: none;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 680px;
  margin-bottom: var(--sp-sm);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-content p {
  font-size: 16px;
  line-height: 1.65;
  color: #fff;
  max-width: 640px;
  margin-bottom: var(--sp-md);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  padding-bottom: var(--sp-xs);
}

.hero-stat {
  padding-top: var(--sp-sm);
}

.hero-stat-value {
  font-family: var(--font-ui);
  font-size: 56px;
  font-weight: 200;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 4px;
}

.hero-stat-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: calc(var(--sp-md) + var(--header-h));
  right: var(--sp-md);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-scroll span {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), transparent);
  animation: scrollLine 1.8s var(--ease-in-out) infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.4);
    opacity: 0.3;
  }
}

@media (max-width: 900px) {
  .hero {
    align-items: flex-start;
  }

  .hero-content {
    padding: 0 0 var(--sp-lg);
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-sm) var(--sp-md);
  }

  .hero-stat {
    min-width: 120px;
  }

  .hero-scroll {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Section anatomy
   -------------------------------------------------------------------------- */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--sp-sm);
}

.section-eyebrow-line {
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-label--inline {
  display: inline-block;
  margin-bottom: var(--sp-sm);
}

.section-body--spaced {
  margin-bottom: var(--sp-sm);
}

.cta-band .section-label {
  color: var(--gold);
}

.section h1,
.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.52vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: var(--sp-sm);
}

.section h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: var(--sp-sm);
}

.split-content h2,
.split-content h3,
.split-content p {
  margin-bottom: 1em;
}

.split-content h2:last-child,
.split-content p:last-child {
  margin-bottom: 0;
}

.split-content .section-eyebrow {
  margin-bottom: 0.75em;
}

.section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: var(--sp-md);
}

.section-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 700px;
}

.section-body+.section-body {
  margin-top: 1em;
}

.section-body>*+* {
  margin-top: 1.5em;
}

/* Section modifier */
.section--surface {
  background: var(--surface);
}

/* --------------------------------------------------------------------------
   Scenario split layout (v3 port)
   -------------------------------------------------------------------------- */
.section--split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.section-kicker {
  position: sticky;
  top: 140px;
  align-self: start;
}

@media (max-width: 900px) {
  .section--split .container {
    grid-template-columns: 1fr;
  }

  .section-kicker {
    position: static;
  }
}

.scenario-stack {
  display: grid;
  gap: 14px;
}

.scenario-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: var(--surface);
  transition: transform 0.25s var(--ease-out);
}

.scenario-card:hover {
  transform: translateY(-2px);
}

.scenario-card>span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.scenario-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 8px;
}

.scenario-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   About / Approach section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about-image-wrap:hover img {
  transform: scale(1.04);
}

address {
  font-style: normal;
}

.office-city {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  font-style: normal;
}

.office-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 6px
}

.office-detail {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.office-phone {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.office-fax {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.office-phone .icon,
.office-fax .icon {
  width: 16px;
  height: 16px;
}

.office-contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.office-entity-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  font-style: normal;
}

.office-companies {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.office-company {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: normal;
}

/* Offices grid on about page */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: var(--sp-lg);
}

@media (max-width: 900px) {
  .offices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .offices-grid {
    grid-template-columns: 1fr;
  }
}

.offices-grid>.cred-card {
  margin-bottom: 2rem;
}

.offices-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--sp-lg);
}

.office-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.office-link:hover {
  border-color: var(--primary);
  background: var(--surface);
}

.office-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.split-media {
  position: sticky;
  top: 140px;
}

.split-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.page-template-page-policies .split-media img {
  aspect-ratio: auto;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 800px) {
  .split-grid {
    grid-template-columns: 1fr;
  }

  .split-media {
    position: static;
    order: -1;
  }

  .split-media img {
    max-height: 320px;
    aspect-ratio: 16/10;
  }
}

.about-logo-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.about-logo-head .section-body {
  margin-inline: auto;
}

.section--surface:has(.about-logo-viewport) {
  overflow-x: clip;
}

.about-logo-viewport {
  width: 100%;
  padding-inline: clamp(1rem, 2vw, 2.5rem);
  padding-block: 14px 6px;
  background: var(--surface);
  box-sizing: border-box;
}

.about-logo-wrap {
  display: grid;
  gap: 34px;
  margin-top: 22px;
  max-width: 100%;
}

.about-logo-category .section-eyebrow {
  justify-content: center;
}

.about-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin: auto;
}

.logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.logo-mark img {
  width: auto;
  max-width: 100%;
  max-height: 85px;
  mix-blend-mode: multiply;
}

.logo-mark::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  width: 240px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(1, 31, 61, 0.96);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  pointer-events: none;
  z-index: 8;
}

.logo-mark:hover::after,
.logo-mark:focus-visible::after,
.logo-mark.is-tip-open::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 560px) {
  .about-logo-grid {
    gap: 30px;
  }

  .logo-mark::after {
    width: min(250px, calc(100vw - 42px));
  }
}

.about-image-badge {
  position: absolute;
  bottom: var(--sp-sm);
  left: var(--sp-sm);
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  padding: var(--sp-sm) var(--sp-md);
  display: flex;
  gap: var(--sp-md);
}

.about-badge-item {
  text-align: center;
}

.about-badge-num {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--navy);
  line-height: 1;
}

.about-badge-text {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.about-copy {
  padding-left: var(--sp-sm);
}

.about-pillars {
  margin-top: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.about-pillar {
  display: flex;
  gap: var(--sp-sm);
  align-items: flex-start;
  padding: var(--sp-sm);
  background: var(--surface);
  transition: background 0.2s;
}

.about-pillar-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-pillar-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
}

.about-pillar h4 {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.about-pillar p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Service detail row (alternating image/text layout) */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.service-row--alt {
  grid-template-columns: 1fr 1fr;
}

.service-row+.service-row {
  padding-top: var(--sp-xl);
}

@media (max-width: 768px) {

  .service-row,
  .service-row--alt {
    grid-template-columns: 1fr;
  }

  .service-row>figure {
    order: -1;
  }

  .service-row+.service-row {
    padding-top: var(--sp-lg);
  }
}

/* Industry detail row */
.industry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.industry-row+.industry-row {
  padding-top: var(--sp-xl);
}

@media (max-width: 768px) {
  .industry-row {
    grid-template-columns: 1fr;
  }

  .industry-row+.industry-row {
    padding-top: var(--sp-lg);
  }
}

/* Contact page layout */
.contact-grid {
  display: grid;
  grid-template-columns: 4fr 3fr;
  gap: var(--sp-lg);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding-left: 0;
  }
}

/* Hero size modifiers */
.hero--sm {
  height: 50svh;
  max-height: 500px;
}

.hero--md {
  height: 50svh;
  max-height: 600px;
}

.hero--lg {
  height: 65vh;
  max-height: 650px;
}

/* --------------------------------------------------------------------------
   Shared masonry grid system (services, insights, etc.)
   -------------------------------------------------------------------------- */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.masonry-featured {
  grid-column: span 2;
}

.service-card.masonry-featured,
.insight-card.masonry-featured {
  flex-direction: row;
}

@media (max-width: 900px) {
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry-featured {
    grid-column: span 1;
  }

  .service-card.masonry-featured,
  .insight-card.masonry-featured {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Services cards
   -------------------------------------------------------------------------- */
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: end;
  margin-bottom: var(--sp-lg);
}

.services-intro-actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .services-intro {
    grid-template-columns: 1fr;
  }

  .services-intro-actions {
    justify-content: flex-start;
  }
}

.service-card {
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-body {
  padding: var(--sp-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body--comfortable {
  padding: var(--sp-sm);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.service-card--leader .btn-text {
  margin-top: auto;
}

p.service-card-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.service-card--leader {
  flex-direction: row;
}

.service-card-thumb {
  width: 130px;
  flex-shrink: 0;
  overflow: hidden;
  margin: 10px;
}

.service-card-thumb a {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #ddd;
}

.service-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .service-card--leader {
    flex-direction: column;
  }

  .service-card-thumb {
    width: 100%;
    aspect-ratio: 1;
    min-height: auto;
    margin: 0;
  }
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats-band {
  background: var(--surface);
  padding: var(--sp-lg) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gutter);
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  padding: var(--sp-sm) var(--gutter);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */
.industries-section {
  background: var(--surface);
}

.industries-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  align-items: start;
  margin-bottom: var(--sp-lg);
}

.industry-card {
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  user-select: none;
  perspective: 600px;
}

.industry-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.industry-card.is-flipped .industry-card-inner {
  transform: rotateY(180deg);
}

.industry-card-front,
.industry-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.industry-card-front {
  z-index: 2;
}

.industry-card-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0.3) 50%, transparent);
}

.industry-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: var(--sp-sm);
}

.industry-card-label h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
}

.industry-card-back {
  background: linear-gradient(135deg, #0B325D 0%, #1a4a7a 25%, #0B325D 50%, #1a4a7a 75%, #0B325D 100%);
  background-size: 200% 200%;
  animation: cardBackGradient 6s ease-in-out infinite;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
  overflow: auto;
}

.industry-card-desc {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #fff;
  margin: 0 0 auto;
}

.industry-card-link {
  display: inline-block;
  margin-top: var(--sp-sm);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 22px;
  border-radius: 9999px;
  transition: background 0.2s, border-color 0.2s;
  align-self: flex-start;
}

.industry-card-link:hover,
.industry-card-link:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}

@media (hover: hover) {
  .industry-card:hover .industry-card-inner {
    transform: rotateY(180deg);
  }
}

@media (min-width: 550px) {
  .industry-card {
    aspect-ratio: 6/7;
  }

  .industry-card-desc {
    font-size: 15px;
  }

  .industries-header {
    grid-template-columns: 1fr 1fr;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-card-back {
    padding: var(--sp-sm);
  }
}

@media (min-width: 900px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@keyframes cardBackGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* --------------------------------------------------------------------------
   Credentials
   -------------------------------------------------------------------------- */
.cred-card {
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cred-badge {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.cred-meaning {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--sp-xl) 0;
  background: var(--navy);
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 48px) !important;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: var(--sp-sm);
}

.cta-band h2 em {
  font-style: italic;
  color: var(--gold);
}

.cta-band p {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--sp-md);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

/* --------------------------------------------------------------------------
   Careers CTA (leadership page)
   -------------------------------------------------------------------------- */
.careers-cta {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  padding: var(--sp-xl) 0;
  min-height: 480px;
}

.careers-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--surface);
}

.careers-cta-image {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: auto;
  height: 80%;
  pointer-events: none;
}

.careers-cta-image img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.careers-cta .container {
  position: relative;
  z-index: 2;
}

.careers-cta-content {
  width: 50%;
  max-width: 600px;
}

.careers-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: var(--sp-sm);
}

.careers-cta-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
}

@media (min-width: 769px) {
  .careers-cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    align-items: end;
  }

  .careers-cta-content {
    width: 100%;
    max-width: none;
  }

  .careers-cta-image {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: auto;
    height: 80%;
    pointer-events: none;
  }

  .careers-cta-image img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
  }
}

@media (max-width: 768px) {
  .careers-cta {
    display: flex;
    flex-direction: column;
    padding: var(--sp-lg) 0 0;
    min-height: 0;
  }

  .careers-cta>.container {
    order: 0;
    display: block;
  }

  .careers-cta-content {
    width: 100%;
    max-width: none;
    margin-bottom: var(--sp-md);
  }

  .careers-cta-image {
    position: relative;
    right: auto;
    bottom: auto;
    order: 1;
    width: 90%;
    height: auto;
    margin: auto 0 0 auto;
  }

  .careers-cta-image img {
    width: 100%;
    height: auto;
  }
}

/* --------------------------------------------------------------------------
   Insights preview
   -------------------------------------------------------------------------- */
.insights-section {
  background: var(--surface);
}

.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-lg);
}

@media (max-width: 600px) {
  .insights-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-sm);
  }

  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: .875rem;
  }

  .cta-actions a:not(.btn-primary) {
    width: 100%;
    justify-content: center;
  }
}

.insight-card {
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out);
}

.insight-card:hover {
  transform: translateY(-3px);
}

.insight-card-image-link {
  display: contents;
}

.insight-card-image-link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
  border-radius: 12px;
}

.insight-card-image {
  overflow: hidden;
}

.insight-card .insight-card-image {
  aspect-ratio: 16/10;
}

.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.insight-card:hover .insight-card-image img {
  transform: scale(1.04);
}

.insight-card-body {
  padding: var(--sp-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-bottom: 10px;
}

.insight-category {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.insight-dot {
  width: 3px;
  height: 3px;
  background: var(--border-mid);
}

.insight-date {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.insight-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 8px;
}

.insight-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.insight-card-body .btn-text {
  margin-top: auto;
}

/* Shared featured card sizing (must follow card-specific rules) */
.masonry-featured h3 {
  font-size: 24px;
  margin-bottom: var(--sp-xs);
}

.masonry-featured .service-card-image,
.masonry-featured .insight-card-image {
  flex: 0 0 46%;
  aspect-ratio: unset;
}

.masonry-featured .service-card-body,
.masonry-featured .insight-card-body {
  padding: var(--sp-md);
}

@media (max-width: 900px) {

  .masonry-featured .service-card-image,
  .masonry-featured .insight-card-image {
    aspect-ratio: 16/9;
    flex: unset;
  }

  .service-card.masonry-featured .service-card-image {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-2);
  padding-top: var(--sp-lg);
}

.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-md) var(--sp-md);
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: var(--sp-md);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--sp-xs);
  }

  .footer-newsletter-col {
    margin-top: var(--sp-md);
  }

  .footer-brand {
    margin-bottom: var(--sp-md);
  }
}

.footer-brand img {
  margin-bottom: var(--sp-sm);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: var(--sp-sm);
}

.footer-social {
  display: flex;
  gap: var(--sp-xs);
}

.social-link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s;
  background: #fcfcfc;
  border-radius: 50%;
}

.social-link:hover {
  color: var(--navy);
}

.social-link .icon {
  opacity: 0.6;
  width: 16px;
  height: 16px;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-nav-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-xs);
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav-col a:hover {
  color: var(--navy);
}

.footer-nav-col a.current-menu-item {
  color: var(--gold);
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-form form p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-form form fieldset {
  display: none;
}

.footer-form form br {
  display: none;
}

.footer-form .wpcf7-response-output {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 8px 0 0;
  font-size: 13px;
  text-align: center;
}

.footer-form .wpcf7-form-control-wrap {
  display: block;
}

.footer-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-form form fieldset {
  display: none;
}

.footer-form form br {
  display: none;
}

.footer-form .wpcf7-list-item {
  margin: 0;
  line-height: 1;
}

.footer-tagline {
  text-align: center;
  padding: 0 var(--sp-md) var(--sp-md);
}

.footer-tagline span {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--border-mid);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: var(--sp-sm) var(--sp-md);
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p,
.footer-bottom a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--navy);
}

@media (max-width: 479px) {
  .footer-bottom {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays — legacy, class-based; still used by pages not yet
   migrated to the .fade/.fade-up + .fade-group system below. */
.reveal-d1 {
  transition-delay: 0.1s;
}

.reveal-d2 {
  transition-delay: 0.2s;
}

.reveal-d3 {
  transition-delay: 0.3s;
}

.reveal-d4 {
  transition-delay: 0.4s;
}

.reveal-d5 {
  transition-delay: 0.5s;
}

/* --------------------------------------------------------------------------
   Fade reveal (preferred) — JS toggles .visible with a small per-child
   stagger computed from DOM order (see app.js). Only markup needed is
   .fade-group on the parent; children need no classes at all — media
   elements (img/figure/picture/video) fade in place, everything else fades
   up. Works the same whether the group is scroll-triggered or already in
   view at page load (e.g. hero content).
   -------------------------------------------------------------------------- */
.fade-group>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-group>img,
.fade-group>figure,
.fade-group>picture,
.fade-group>video {
  transform: none;
  transition-property: opacity;
}

.fade-group>*.visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Spacing utilities (mirrors existing .mt-sm/md/lg/xl)
   -------------------------------------------------------------------------- */
.mb-1 {
  margin-bottom: var(--sp-sm);
}

.mb-2 {
  margin-bottom: var(--sp-md);
}

.mb-3 {
  margin-bottom: var(--sp-lg);
}

/* Square, cover-fit image — replaces the repeated inline
   width/height/aspect-ratio/object-fit style on service-row figures */
.img-sq {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.btn-block {
  justify-content: center;
  width: 100%;
}

select.form-input {
  -webkit-appearance: none;
  appearance: none;
  height: 48px;
  padding: 0 14px;
  line-height: 48px;
}

.wpcf7-form p:last-of-type br {
  display: none;
}

/* --------------------------------------------------------------------------
   Careers: job listings
   -------------------------------------------------------------------------- */
.jobs-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-lg);
  align-items: start;
}

.jobs-list {
  display: grid;
  gap: 0;
}

.jobs-list .section-body {
  margin-bottom: 2rem;
}

.job-card {
  padding: var(--sp-sm);
  background: var(--surface-2);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.job-type {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.job-meta-item {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.job-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
}

.job-dept-tag {
  display: inline-block;
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 10px;
  transition: color 0.2s, background 0.2s;
}

.job-summary {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: 640px;
}

.job-requirements {
  font-family: var(--font-ui);
  font-size: 13px;
}

.job-requirements summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: 4px 0;
  transition: opacity 0.2s;
}

.job-requirements ul {
  margin: 10px 0 0;
  padding-left: 16px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.jobs-sidebar {
  position: sticky;
  top: 140px;
  background: var(--surface);
  padding: var(--sp-md);
}

.jobs-sidebar .job-summary {
  font-size: 13px;
  margin-bottom: var(--sp-sm);
}

@media (max-width: 768px) {
  .jobs-layout {
    grid-template-columns: 1fr;
  }

  .jobs-layout aside {
    order: 2;
  }
}

/* 4:3 cover-fit variant, used on rows with a wider reference photo */
.img-43 {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Small icon inline with a service-row heading */
.section-body h3.with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* Boxed two-column chip list (e.g. "client types" panel) — replaces
   repeated inline background/padding/columns styling */
.chip-list-box {
  background: var(--surface);
  padding: var(--sp-md);
}

.chip-list-box .section-eyebrow {
  margin-bottom: var(--sp-sm);
}

.chip-list-box .section-label {
  color: var(--navy);
}

.chip-list {
  columns: 2;
  column-gap: var(--sp-sm);
}

.chip-list li {
  font-size: 14px;
  padding: 6px 0;
  break-inside: avoid;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Utility classes
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --------------------------------------------------------------------------
   Profile page: hero
   -------------------------------------------------------------------------- */
.profile-hero-wrap {
  position: relative;
  overflow: hidden;
  margin-top: var(--header-h);
  background: var(--surface-2);
}

.profile-tagline {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  align-items: start;
  padding-block: 40px 100px;
  padding-right: 440px;
}

.profile-tagline h1 {
  margin: 10px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.profile-tagline .profile-credentials {
  color: var(--text-muted);
}

.profile-badge {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: var(--sp-sm);
  transition: color 0.2s;
  margin-left: 4px;
  text-transform: uppercase
}

.page-back::before {
  content: '';
  width: 0.65rem;
  height: 0.65rem;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  flex-shrink: 0;
  transform: rotate(45deg);
}

.page-back:hover {
  color: rgba(255, 255, 255, 0.7);
}

.single-people .page-back {
  color: var(--text-muted);
}

.single-people .page-back:hover {
  color: var(--text);
}

.profile-photo {
  position: absolute;
  right: max(20px, calc((100vw - 1320px) / 2 + 20px));
  bottom: 0;
  width: min(430px, 36vw);
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.profile-photo img,
.profile-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  min-height: 430px;
}

.profile-photo img {
  object-fit: contain;
  object-position: bottom center;
  display: block;
  background: transparent;
}

.profile-placeholder {
  display: block;
  background: transparent;
}

.profile-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  background: transparent;
}

/* --------------------------------------------------------------------------
   Profile page: body
   -------------------------------------------------------------------------- */
.profile-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
  padding-block: 48px 80px;
}

.profile-main {
  display: grid;
  gap: 30px;
}

.profile-section {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-section+.profile-section {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(11, 50, 93, 0.1);
}

.profile-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  transition: opacity 0.2s;
}

.profile-linkedin:hover {
  opacity: 0.7;
}

.profile-linkedin .icon {
  width: 18px;
  height: 18px;
}

.profile-section h4 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.profile-section p.lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.profile-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 700px
}

/* --------------------------------------------------------------------------
   Pull quote — giant quote-mark treatment. Used standalone (.quote) on
   solution/industry detail pages, and as .quote--lg with an attribution
   footer on profile pages.
   -------------------------------------------------------------------------- */
.quote {
  position: relative;
  padding: 0 var(--sp-sm) 0 32px;
  isolation: isolate;
}

.quote::before {
  content: "\201C";
  position: absolute;
  left: -10px;
  top: -30px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 130px;
  line-height: 0.8;
  opacity: 0.95;
  z-index: 0;
  pointer-events: none;
}

.quote p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  max-width: 50ch;
  font-style: italic;
}

.quote--lg {
  display: grid;
  gap: 24px;
  margin-top: var(--sp-lg);
}

.quote--lg p {
  font-size: 24px;
  line-height: 1.4;
}

.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.quote footer::before {
  content: '';
  width: 42px;
  height: 1px;
  background: rgba(11, 50, 93, 0.18);
}

.quote footer span {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-expertise {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-expertise li {
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--surface);
  border: 1px solid rgba(11, 50, 93, 0.14);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Profile page: sidebar
   -------------------------------------------------------------------------- */
.profile-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.profile-card {
  padding: var(--sp-md);
  border-radius: 0;
  background: var(--surface);
  display: grid;
  gap: 14px;
}

.profile-card h4 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.profile-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.profile-list li {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.profile-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.profile-card--cta {
  background: var(--navy) !important;
  color: #fff;
}

.profile-card--cta h4 {
  color: var(--gold);
}

.profile-card--cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.profile-card--cta .btn-primary {
  justify-self: start;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Profile page: team scroller
   -------------------------------------------------------------------------- */
.team-scroller-wrap {
  position: relative;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.team-scroller {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 48px 24px var(--sp-sm);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.team-scroller::-webkit-scrollbar {
  display: none;
}

.team-thumb {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
  text-decoration: none;
}

.thumb-photo {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ddd;
  border-radius: 4px;
}

.thumb-active .thumb-photo {
  background: #fff;
}

.thumb-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(.75);
  transition: filter .6s;
}

.thumb-active .thumb-photo img,
.team-thumb:hover img {
  filter: none;
}

.thumb-name {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

.thumb-role {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.team-arrow {
  position: absolute;
  top: calc(8px + 80px);
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.team-arrow:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-arrow-left {
  left: 4px;
}

.team-arrow-right {
  right: 4px;
}

.team-arrow::after {
  content: '';
  width: 9px;
  height: 9px;
  border: solid var(--text);
  border-width: 0 2px 2px 0;
  display: block;
}

.team-arrow-left::after {
  transform: rotate(135deg);
  margin-left: 3px;
}

.team-arrow-right::after {
  transform: rotate(-45deg);
  margin-right: 3px;
}

/* --------------------------------------------------------------------------
   Profile page: responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .profile-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .profile-card--cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .profile-hero-wrap {
    padding-top: 40px;
  }

  .profile-tagline {
    padding-right: 0;
    padding-bottom: 40px;
  }

  .profile-photo {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0 0 -40px;
  }

  .profile-photo img {
    border-radius: 0;
  }

  .profile-sidebar {
    grid-template-columns: 1fr;
  }

  .team-thumb {
    flex: 0 0 130px;
  }

  .thumb-photo {
    width: 130px;
    height: 130px;
  }
}

/* --------------------------------------------------------------------------
   Article detail
   -------------------------------------------------------------------------- */
.article-hero {
  min-height: 50svh;
}

.article-hero .hero-title {
  max-width: 820px;
}

.article-hero .hero-desc {
  max-width: 700px;
}

.article-back-cap:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.section--first {
  padding-top: var(--sp-lg);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(2rem, 3vw, 3rem);
}

.article-meta {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.article-meta p {
  margin: 0;
}

.mini-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(11, 50, 93, 0.08);
  border-radius: 9999px;
  background: #eaf4ff;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-body {
  max-width: 76ch;
}

.article-body figure {
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
}

.article-body figure img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

.article-body .article-infographic {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 247, 251, 0.88));
}

.article-body p {
  margin-bottom: 1em;
}

.article-body ul,
.article-body ol {
  list-style: revert;
  padding-left: 1.5em;
  margin: 0 0 1.35rem;
}

.article-body li {
  font-size: inherit;
  line-height: inherit;
  margin-bottom: 0.4em;
}

.article-body ul ul,
.article-body ol ol {
  margin-bottom: 0;
}

.article-body figcaption {
  font-size: .875em;
  line-height: 1.6;
  margin-top: .75rem;
  color: var(--text-muted);
  font-style: italic
}

.article-infographic figcaption {
  display: grid;
  gap: 8px;
  max-width: 58ch;
  margin-bottom: 24px;
}

.article-infographic figcaption strong {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.05;
}

.article-infographic figcaption span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.article-infographic ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-infographic ol::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--border);
}

.article-infographic li {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  margin: 0;
  padding-top: 72px;
}

.article-infographic li>span {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(11, 50, 93, 0.18);
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-family: var(--font-ui);
}

.article-infographic li>strong {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.25;
}

.article-infographic li p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.article-infographic li em {
  width: fit-content;
  margin-top: 2px;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-footnotes {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.article-footnotes h2 {
  margin-bottom: 0.8rem;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-footnotes ol {
  margin: 0;
  padding-left: 1.15rem;
}

.article-footnotes li {
  font-size: 0.82rem;
  line-height: 1.65;
}

.article-footnotes li+li {
  margin-top: 0.45rem;
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-meta {
    position: static;
  }

  .article-infographic ol {
    grid-template-columns: 1fr 1fr;
  }

  .article-infographic ol::before {
    display: none;
  }

  .article-infographic li {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .article-infographic ol {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Solutions page (solution cards)
   -------------------------------------------------------------------------- */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}

.solution-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: var(--sp-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.solution-card-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.solution-card-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 80%;
  aspect-ratio: 1;
  opacity: 0.02;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  transform: translate(30%, 30%);
}

.solution-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solution-card>*:not(.solution-card-icon) {
  position: relative;
  z-index: 1;
}

.solution-card-header h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 6px;
}

.solution-card-header p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.solution-card-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.solution-card-subgrid>div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solution-card-subgrid img {
  width: 36px;
  height: 36px;
}

.solution-card-subgrid p {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.solution-card hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}

.solution-card-cap {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.solution-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solution-card-list li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.solution-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.solution-card .btn-text {
  margin-top: auto;
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.section-lead {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
}

.section--cta {
  text-align: center;
  padding: var(--sp-lg) 0;
}

@media (max-width: 768px) {
  .section-split {
    grid-template-columns: 1fr;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Video Lightbox
   -------------------------------------------------------------------------- */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: var(--sp-md);
}

.video-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.video-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s;
  z-index: 2;
}

.video-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.video-lightbox__close svg {
  width: 20px;
  height: 20px;
}

.video-lightbox__container {
  --vlb-size: min(85vw, 85dvh);
  width: var(--vlb-size);
  height: var(--vlb-size);
  position: relative;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.video-lightbox.is-169 .video-lightbox__container {
  width: min(85vw, calc(85dvh * 16 / 9));
  height: min(85dvh, calc(85vw * 9 / 16));
}

.video-lightbox.is-open .video-lightbox__container {
  transform: scale(1);
}

.video-lightbox video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* --------------------------------------------------------------------------
   Hero Carousel (home page)
   -------------------------------------------------------------------------- */
.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: clamp(620px, 86svh, 920px);
  color: #fff;
  background: var(--navy);
}

.hero-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(620px, 86svh, 920px);
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease, visibility 800ms ease;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 86svh, 920px);
  padding-top: 90px;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-carousel__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.35) 40%,
      rgba(0, 0, 0, 0.1) 80%,
      transparent 100%);
  pointer-events: none;
}

.hero-carousel__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: var(--sp-sm);
  padding-block: 40px 100px;
}

.hero-carousel__text {
  max-width: 620px;
}

.hero-carousel__headline {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease 400ms, transform 600ms ease 400ms;
}

.hero-carousel__slide.is-active .hero-carousel__headline {
  opacity: 1;
  transform: translateY(0);
}

.hero-carousel__headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-carousel__desc {
  margin: 0;
  color: rgba(255, 255, 255, 1);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 620px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease 500ms, transform 600ms ease 500ms;
}

.hero-carousel__slide.is-active .hero-carousel__desc {
  opacity: 1;
  transform: translateY(0);
}

.hero-carousel__cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease 600ms, transform 600ms ease 600ms;
}

.hero-carousel__slide.is-active .hero-carousel__cta-row {
  opacity: 1;
  transform: translateY(0);
}

.hero-carousel__cta-row .btn-primary,
.hero-carousel__cta-row .btn-outline {
  margin-bottom: .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.hero-carousel__cta-row .btn-primary {
  background: var(--gold-60);
  color: var(--navy);
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(253, 205, 40, 0.26);
}

.hero-carousel__cta-row .btn-primary:hover {
  background: var(--gold-60);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(253, 205, 40, 0.34);
  transform: translateY(-2px);
}

.btn-icon-play {
  flex-shrink: 0;
}

.hero-carousel__cta-row .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.hero-carousel__cta-row .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.hero-carousel__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.hero-carousel__controls-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: var(--sp-sm);
  padding-bottom: 0;
}

.hero-carousel__index {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 36px;
}

.hero-carousel__counter {
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.hero-carousel__counter-current {
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  font-family: var(--font-ui);
}

.hero-carousel__dots {
  display: flex;
  gap: 8px;
}

.hero-carousel__dot {
  width: 36px;
  height: 3px;
  border: 0;
  padding: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: background 300ms ease;
  position: relative;
}

.hero-carousel__dot::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  bottom: -10px;
}

.hero-carousel__dot.is-active {
  background: rgba(255, 255, 255, 0.12);
}

.hero-carousel__dot-fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--gold-60);
  width: 0;
  transition: none;
}

.hero-carousel__dot.is-playing .hero-carousel__dot-fill {
  width: 100%;
  transition: width 10s linear;
}

.hero-carousel__previews {
  display: flex;
  gap: 20px;
  margin-right: 3rem;
  padding-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-carousel__previews::-webkit-scrollbar {
  display: none;
}

.hero-carousel__preview {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 8px 16px 8px 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: opacity 300ms ease;
  white-space: nowrap;
  opacity: 0.5;
  font-family: var(--font-ui);
}

.hero-carousel__preview:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-carousel__preview:hover {
  opacity: 0.95;
}

.hero-carousel__preview.is-active {
  opacity: 1;
}

.hero-carousel__preview-num {
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 1);
  transition: color 300ms ease;
}

.hero-carousel__preview.is-active .hero-carousel__preview-num {
  color: var(--gold-60);
}

.hero-carousel__preview-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 1);
  transition: color 300ms ease;
}

.hero-carousel__preview.is-active .hero-carousel__preview-label {
  color: #fff;
}

.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 400ms ease, background 200ms ease, border-color 200ms ease;
}

.hero-carousel:hover .hero-carousel__arrow {
  opacity: 1;
}

.hero-carousel__arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-carousel__arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.hero-carousel__arrow--prev {
  left: 16px;
}

.hero-carousel__arrow--next {
  right: 16px;
}

.hero-carousel__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-carousel__toggle {
  position: absolute;
  bottom: 32px;
  right: clamp(1rem, 2.4vw, 2.5rem);
  z-index: 11;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 200ms ease, color 200ms ease;
}

.hero-carousel__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-carousel__toggle svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .hero-carousel__previews {
    display: none;
  }

  .hero-carousel__controls-inner {
    justify-content: flex-start;
  }

  .hero-carousel__arrow {
    display: none;
  }

  .hero-carousel__toggle {
    bottom: 28px;
    right: clamp(1rem, 2.4vw, 2.5rem);
  }
}

@media (max-width: 720px) {

  .hero-carousel,
  .hero-carousel__track,
  .hero-carousel__slide {
    min-height: clamp(540px, 88svh, 760px);
  }

  .hero-carousel__content {
    padding-block: 30px 80px;
  }

  .hero-carousel__index {
    padding-bottom: 24px;
  }

  .hero-carousel__counter-current {
    font-size: 1.25rem;
  }

  .hero-carousel__dot {
    width: 26px;
  }

  .hero-carousel__toggle {
    bottom: 20px;
    width: 30px;
    height: 30px;
  }

  .hero-carousel__toggle svg {
    width: 11px;
    height: 11px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-lg);
  flex-wrap: wrap;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.pagination a:hover {
  background: var(--surface-2);
}

.pagination a.is-active {
  color: var(--gold);
  pointer-events: none;
}

.pagination a.chevron {
  font-size: 18px;
  color: var(--text-muted);
}

.pagination a.chevron:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   WP-Specific Additions
   -------------------------------------------------------------------------- */
.hero--blue {
  background: var(--navy);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

.search-overlay__close svg {
  width: 28px;
  height: 28px;
}

.search-overlay__content {
  width: 100%;
  max-width: 600px;
  padding: 24px;
}

.search-overlay__title {
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.search-overlay__form {
  display: flex;
  gap: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  padding: 12px 0;
  outline: none;
}

.search-overlay__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-overlay__submit {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 12px 0 12px 16px;
}

.search-results-section {
  padding-top: var(--sp-lg);
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.search-result-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--sp-md);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.search-result-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.wpcf7-response-output {
  background: var(--surface-2);
  border: 1px solid var(--border) !important;
  border-radius: 6px;
  padding: 12px 16px !important;
  margin: 16px 0 0 !important;
  font-size: 14px;
  color: var(--text);
}

.wpcf7-form.sent .wpcf7-response-output {
  border-color: #2e7d32 !important;
  background: rgba(46, 125, 50, 0.06);
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  border-color: #d04e4e !important;
  background: rgba(198, 40, 40, 0.06);
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: .813em;
	font-weight: normal;
	display: block;
  font-family: var(--font-ui);
}