/* ===== MANCON — Option C: "Bold Modern" design system ===== */
:root {
  --ink: #0A0A0A;
  --charcoal: #2B2B2B;
  --slate: #5A5A5A;
  --slate-light: #8F8F8F;
  --paper: #FAFAF9;
  --panel: #FFFFFF;
  --accent: #EE3124;
  --accent-tint: #FDEDEB;
  --line: rgba(10, 10, 10, 0.09);
  --line-light: rgba(10, 10, 10, 0.06);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --shadow-sm: 0 2px 8px rgba(10, 10, 10, 0.05);
  --shadow-md: 0 16px 40px rgba(10, 10, 10, 0.09);
  --shadow-lg: 0 32px 70px rgba(10, 10, 10, 0.14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

/* ===== Ultra-subtle sitewide scrollbars (5px) ===== */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 10, 10, 0.16) transparent;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 10, 10, 0.16) transparent;
}

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(10, 10, 10, 0.14);
  border-radius: 100px;
  border: 1px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(10, 10, 10, 0.28);
  background-clip: padding-box;
}

*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .page-header-bg img {
    height: 100% !important;
    top: auto !important;
    inset: 0 !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

h1,
h2,
h3,
h4 {
  font-family: 'Public Sans', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

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

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

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.wrap-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width:1280px) {

  .wrap,
  .wrap-wide {
    padding: 0 24px;
  }
}

@media (max-width:640px) {

  .wrap,
  .wrap-wide {
    padding: 0 20px;
  }
}

.eyebrow {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ===== Utility bar ===== */
.utility-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  max-height: 88px;
  overflow: hidden;
  transition: max-height .35s var(--ease), opacity .3s var(--ease), padding .3s var(--ease);
}

body.is-scrolled .utility-bar {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.utility-bar .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 40px;
  gap: 16px;
}

.utility-bar a {
  color: rgba(255, 255, 255, 0.75);
  transition: color .2s var(--ease);
  white-space: nowrap;
}

.utility-bar a:hover {
  color: #fff;
}

.utility-bar .u-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-shrink: 0;
  justify-self: start;
}

.utility-bar .u-links span {
  opacity: .5;
}

.honor-line {
  margin: 0;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 0;
}

.honor-line::before,
.honor-line::after {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 1.15em;
  line-height: 0;
}

.honor-line::before {
  content: "\201C";
  margin-right: 0.22em;
}

.honor-line::after {
  content: "\201D";
  margin-left: 0.18em;
}

.utility-bar .u-honor {
  margin: 0;
  justify-self: center;
  text-align: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 0;
}

.utility-bar .u-honor::before,
.utility-bar .u-honor::after {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 1.15em;
  line-height: 0;
}

.utility-bar .u-honor::before {
  content: "\201C";
  margin-right: 0.22em;
}

.utility-bar .u-honor::after {
  content: "\201D";
  margin-left: 0.18em;
}

.utility-bar .u-address {
  flex-shrink: 1;
  min-width: 0;
  justify-self: end;
  text-align: right;
}

.utility-bar .u-address span {
  opacity: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.contact-map {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/6;
}

@media (max-width:760px) {
  .contact-map {
    aspect-ratio: 16/10;
    min-height: 220px;
  }
}

@media (max-width:1100px) {
  .utility-bar {
    font-size: 0.72rem;
  }

  .utility-bar .u-address {
    display: none !important;
  }

  .utility-bar .wrap {
    padding: 8px 24px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
  }

  .utility-bar .u-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    justify-self: center;
  }

  .utility-bar .u-honor {
    white-space: normal;
    order: -1;
    font-size: 0.78rem;
  }
}

@media (max-width:640px) {
  .utility-bar .wrap {
    padding: 8px 20px;
  }
}

/* Contact page — match mancon/contact.html */
.contact-section-title {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.contact-form-title {
  margin-top: 14px;
  font-size: 1.5rem;
}

.contact-form-mount {
  margin-top: 26px;
}

.contact-email-table {
  margin-top: 22px;
}

.contact-faq-eyebrow {
  margin-top: 36px;
}

.contact-side .accordion {
  margin-top: 14px;
}

.contact-page .info-card {
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.contact-page .info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-page .info-card .i-icon {
  background: var(--accent-tint);
  color: var(--accent);
}

.contact-page .info-card a {
  display: block;
  margin-top: 4px;
}

.contact-page .info-card a:hover {
  color: var(--accent);
}

.contact-page .contact-map {
  position: relative;
  margin-top: 28px;
  background: var(--paper);
}

.contact-page .contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-page .wpcf7 .wpcf7-form-control-wrap {
  margin-bottom: 0;
}

.contact-page .wpcf7 p {
  margin: 0 0 20px;
}

.contact-page .wpcf7 label {
  margin-bottom: 8px;
  font-size: 0.86rem;
}

.contact-page .wpcf7 input[type="text"],
.contact-page .wpcf7 input[type="email"],
.contact-page .wpcf7 input[type="tel"],
.contact-page .wpcf7 input[type="url"],
.contact-page .wpcf7 select {
  padding: 13px 15px;
  min-height: 0;
  height: auto;
  line-height: 1.35;
  font-size: 0.95rem;
}

.contact-page .wpcf7 textarea {
  padding: 10px 14px !important;
  min-height: 90px !important;
  height: 90px !important;
  max-height: 220px;
  line-height: 1.45;
  font-size: 0.95rem;
  resize: vertical;
}

.contact-page .wpcf7 input[type="submit"],
.contact-page .wpcf7 .wpcf7-submit {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 15px 30px;
  font-size: 0.94rem;
}

.contact-page .form-note {
  margin-top: 12px;
}

.contact-page .table-wrap a {
  color: var(--ink);
  font-weight: 600;
}

.contact-page .table-wrap a:hover {
  color: var(--accent);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

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

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

/* Contact / CF7 — prevent mobile horizontal clip (do not override .wrap max-width) */
.contact-page,
.contact-page .contact-hero-grid,
.contact-page .form-panel,
.contact-page .contact-side,
.contact-page .contact-form-mount,
.contact-page .wpcf7,
.contact-page .wpcf7 form {
  max-width: 100%;
  min-width: 0;
}

.contact-page .form-panel {
  width: 100%;
  box-sizing: border-box;
}

.contact-page .wpcf7 input[type="text"],
.contact-page .wpcf7 input[type="email"],
.contact-page .wpcf7 input[type="tel"],
.contact-page .wpcf7 input[type="url"],
.contact-page .wpcf7 select,
.contact-page .wpcf7 textarea,
.contact-page .wpcf7 input[type="submit"],
.contact-page .wpcf7 .wpcf7-submit {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.contact-page .wpcf7 select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A5A5A' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px !important;
}

.contact-page .table-wrap,
.contact-page .contact-email-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ===== Header ===== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), box-shadow .35s var(--ease), border-color .3s var(--ease);
  overflow: visible;
  /* Avoid backdrop-filter/transform — breaks fixed mobile drawer containing-block */
}

header.site-header.scrolled,
body.is-scrolled header.site-header {
  background: #fff;
  border-bottom-color: rgba(10, 10, 10, 0.08);
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.1);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
  transition: padding .3s var(--ease);
}

body.is-scrolled .nav-row {
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  z-index: 120;
  position: relative;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: height .3s var(--ease);
}

body.is-scrolled .brand-logo {
  height: 28px;
}

.footer-brand .brand-logo {
  height: 32px;
  filter: brightness(0) invert(1);
  transition: none;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  gap: 18px;
  overflow: visible;
}

nav.primary-nav>ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

nav.primary-nav>ul>li {
  flex: 0 0 auto;
}

nav.primary-nav a.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 9px 11px;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--charcoal);
  border-radius: var(--radius-pill);
  transition: background .2s var(--ease), color .2s var(--ease);
  position: relative;
}

nav.primary-nav a.nav-link svg {
  width: 9px;
  height: 9px;
  opacity: 0.5;
  transition: transform .2s var(--ease);
}

nav.primary-nav a.nav-link:hover {
  background: var(--ink);
  color: #fff;
}

nav.primary-nav a.nav-link:hover svg {
  opacity: 0.9;
  filter: invert(1);
}

nav.primary-nav a.nav-link[aria-current="page"],
nav.primary-nav a.nav-link[aria-current="true"],
nav.primary-nav li.is-active>a.nav-link,
nav.primary-nav li.is-active>.nav-item-row>a.nav-link {
  background: var(--ink);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-actions .btn {
  padding: 10px 18px;
  font-size: 0.82rem;
  line-height: 1.2;
  box-shadow: none;
  transform: none;
}

.nav-actions .btn:hover {
  transform: translateY(-1px);
}

.nav-contact {
  border-width: 1.5px;
}

.nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(238, 49, 36, 0.22) !important;
}

.has-drop {
  position: relative;
}

.nav-item-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 8px 10px 8px 2px;
  cursor: pointer;
  color: var(--charcoal);
  line-height: 0;
}

.submenu-toggle svg {
  width: 9px;
  height: 9px;
  opacity: 0.5;
  transition: transform .2s var(--ease);
  filter: none;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 320px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 50;
}

.has-drop:hover>.dropdown,
.has-drop:focus-within>.dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: background .15s;
}

.dropdown a:hover {
  background: var(--paper);
}

.dropdown a small {
  display: block;
  font-weight: 400;
  color: var(--slate);
  font-size: 0.77rem;
  margin-top: 3px;
}

.dropdown>a+a,
.dropdown>a+.has-drop--nested,
.dropdown>.has-drop--nested+a,
.dropdown>.has-drop--nested+.has-drop--nested {
  border-top: 1px solid var(--line-light);
  margin-top: 2px;
  padding-top: 2px;
}

/* ===== Nested Products & Services dropdown (3rd level) ===== */
.has-drop--nested {
  position: relative;
}

.has-drop--nested>.nav-item-row {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: var(--radius);
}

.has-drop--nested>.nav-item-row>a {
  flex: 1;
  min-width: 0;
  padding: 12px 8px 12px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.has-drop--nested>.nav-item-row>a small {
  display: block;
  font-weight: 400;
  color: var(--slate);
  font-size: 0.77rem;
  margin-top: 3px;
}

.dropdown--products {
  min-width: 360px;
}

.dropdown--nested {
  min-width: 280px;
}

.has-drop--nested>.nav-item-row>a:hover {
  background: var(--paper);
}

.has-drop--nested>.nav-item-row .submenu-toggle {
  pointer-events: none;
  padding: 8px 12px;
  color: var(--charcoal);
}

.has-drop--nested>.nav-item-row:hover,
.has-drop--nested:focus-within>.nav-item-row {
  background: var(--paper);
}

.has-drop--nested>.dropdown--nested {
  position: absolute;
  left: 100%;
  top: -6px;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 80;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  margin-left: 2px;
}

/* Invisible hover bridge so the flyout does not close when crossing the gap */
.has-drop--nested>.dropdown--nested::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 0;
  bottom: 0;
  width: 16px;
}

.has-drop--nested.drop-left>.dropdown--nested {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 2px;
  transform: translateX(-6px);
}

.has-drop--nested.drop-left>.dropdown--nested::before {
  left: auto;
  right: -14px;
}

.has-drop--nested:hover>.dropdown--nested,
.has-drop--nested:focus-within>.dropdown--nested {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

@media (min-width:1281px) {
  .dropdown {
    overflow: visible !important;
    z-index: 200;
  }

  .has-drop--nested>.nav-item-row .submenu-toggle svg {
    transform: rotate(-90deg);
  }

  .has-drop--nested.drop-left>.nav-item-row .submenu-toggle svg {
    transform: rotate(90deg);
  }
}

.nav-close {
  display: none;
}

@media (min-width:1281px) {
  .nav-item-row {
    border-radius: var(--radius-pill);
  }

  .submenu-toggle {
    pointer-events: none;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  }

  .has-drop .nav-item-row .nav-link {
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    padding-right: 6px;
  }

  /* Black active pill — top-level main menu only (not dropdown/submenu) */
  nav.primary-nav>ul>li>.nav-item-row:hover,
  nav.primary-nav>ul>li>.nav-item-row:focus-within,
  nav.primary-nav>ul>li.is-active>.nav-item-row,
  nav.primary-nav>ul>li>.nav-item-row:has(.nav-link[aria-current="page"]),
  nav.primary-nav>ul>li>.nav-item-row:has(.nav-link[aria-current="true"]) {
    background: var(--ink);
  }

  nav.primary-nav>ul>li>.nav-item-row:hover .nav-link,
  nav.primary-nav>ul>li>.nav-item-row:focus-within .nav-link,
  nav.primary-nav>ul>li.is-active>.nav-item-row .nav-link,
  nav.primary-nav>ul>li>.nav-item-row:has(.nav-link[aria-current="page"]) .nav-link,
  nav.primary-nav>ul>li>.nav-item-row:has(.nav-link[aria-current="true"]) .nav-link {
    background: transparent;
    color: #fff;
  }

  nav.primary-nav>ul>li>.nav-item-row:hover .submenu-toggle,
  nav.primary-nav>ul>li>.nav-item-row:focus-within .submenu-toggle,
  nav.primary-nav>ul>li.is-active>.nav-item-row .submenu-toggle,
  nav.primary-nav>ul>li>.nav-item-row:has(.nav-link[aria-current="page"]) .submenu-toggle,
  nav.primary-nav>ul>li>.nav-item-row:has(.nav-link[aria-current="true"]) .submenu-toggle {
    background: transparent;
    color: #fff;
  }

  /* Chevron uses stroke="currentColor" — do NOT invert (that turns white→black on black pill). */
  nav.primary-nav>ul>li>.nav-item-row:hover .submenu-toggle svg,
  nav.primary-nav>ul>li>.nav-item-row:focus-within .submenu-toggle svg,
  nav.primary-nav>ul>li.is-active>.nav-item-row .submenu-toggle svg,
  nav.primary-nav>ul>li>.nav-item-row:has(.nav-link[aria-current="page"]) .submenu-toggle svg,
  nav.primary-nav>ul>li>.nav-item-row:has(.nav-link[aria-current="true"]) .submenu-toggle svg {
    opacity: 1;
    color: #fff;
    filter: none;
  }

  /* Also cover :hover on the whole has-drop (pill stays black while dropdown open) */
  nav.primary-nav>ul>li.has-drop:hover>.nav-item-row .submenu-toggle,
  nav.primary-nav>ul>li.has-drop:focus-within>.nav-item-row .submenu-toggle {
    color: #fff;
  }

  nav.primary-nav>ul>li.has-drop:hover>.nav-item-row .submenu-toggle svg,
  nav.primary-nav>ul>li.has-drop:focus-within>.nav-item-row .submenu-toggle svg {
    opacity: 1;
    color: #fff;
    filter: none;
  }

  /* Ensure dropdown / nested rows never get the black active pill */
  .dropdown .nav-item-row,
  .dropdown .nav-item-row.is-active,
  .has-drop--nested>.nav-item-row,
  .has-drop--nested>.nav-item-row.is-active,
  .has-drop--nested.is-active>.nav-item-row {
    background: transparent !important;
  }

  .dropdown .nav-item-row .submenu-toggle,
  .dropdown .nav-item-row.is-active .submenu-toggle,
  .has-drop--nested>.nav-item-row .submenu-toggle {
    background: transparent !important;
    color: var(--charcoal) !important;
  }

  .dropdown .nav-item-row .submenu-toggle svg,
  .dropdown .nav-item-row.is-active .submenu-toggle svg,
  .has-drop--nested>.nav-item-row .submenu-toggle svg {
    opacity: 0.5 !important;
    filter: none !important;
  }

  .has-drop--nested>.nav-item-row:hover,
  .has-drop--nested:focus-within>.nav-item-row {
    background: var(--paper) !important;
  }
}

.menu-toggle {
  display: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
  color: var(--ink);
  flex-shrink: 0;
  z-index: 120;
  line-height: 0;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}

.menu-toggle:hover {
  background: #fff;
  border-color: var(--ink);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-toggle .menu-toggle__open {
  display: block;
}

.menu-toggle .menu-toggle__close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

.menu-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ===== Buttons — bold pill CTAs ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #000;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-brass {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(238, 49, 36, 0.28);
}

.btn-brass:hover {
  background: #D62A1F;
  box-shadow: 0 10px 26px rgba(238, 49, 36, 0.34);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ===== Hero — big bold type ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
}

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

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.82) 42%, rgba(8, 8, 8, 0.4) 78%, rgba(8, 8, 8, 0.15) 100%);
}

.hero-inner {
  padding-top: 110px;
  padding-bottom: 96px;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Home variant — image slider hero */
.hero--slider {
  display: block;
  padding: 0;
  position: relative;
}

.hero--slider .hero-slider {
  position: relative;
  min-height: 640px;
}

.hero--slider .hero-slide {
  position: absolute;
  inset: 0;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
  z-index: 1;
}

.hero--slider .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero--slider .hero-slide[hidden] {
  display: flex !important;
}

/* keep for fade; visibility handles hide */
.hero--slider .hero-slide .hero-bg,
.hero--slider .hero-slide .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-nav {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.hero-slider-btn {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.hero-slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}

.hero-slider-btn svg {
  width: 20px;
  height: 20px;
}

.hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.4);
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.hero-slider-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
  .hero--slider .hero-slide {
    transition: none;
  }
}

/* Soften tall hero between laptop drawer and phone */
@media (max-width:1280px) and (min-width:761px) {
  .hero,
  .hero--slider .hero-slider,
  .hero--slider .hero-slide {
    min-height: min(640px, 70dvh);
  }
}

@media (max-width:760px) {

  .hero--slider .hero-slider,
  .hero--slider .hero-slide {
    min-height: 520px;
  }

  .hero-slider-btn {
    width: 40px;
    height: 40px;
  }

  .hero-slider-dots {
    bottom: 18px;
  }
}

.hero-top {
  max-width: 760px;
}

.hero .eyebrow {
  color: var(--accent);
}

.hero .eyebrow::before {
  background: var(--accent);
}

.hero .accent-rule {
  width: 96px;
  height: 3px;
  background: var(--accent);
  margin: 26px 0;
  border: none;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  margin-top: 22px;
  max-width: 560px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-row {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
  padding: 22px 0;
}

.trust-row .t-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-light);
  font-weight: 700;
}

.trust-row .t-items {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-row .t-items span {
  font-weight: 800;
  font-size: 1rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

/* ===== Bento grid ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
  margin-top: 20px;
}

.bento-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-item.big {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--ink);
  color: #fff;
  justify-content: flex-end;
}

.bento-item.big h3 {
  color: #fff;
  font-size: 1.7rem;
}

.bento-item.big p {
  color: rgba(255, 255, 255, 0.68);
}

.bento-item.wide {
  grid-column: span 2;
}

.bento--count-3 .bento-item.wide {
  min-height: 220px;
}

.bento--count-2 .bento-item.big {
  grid-row: span 1;
  min-height: 280px;
}

.bento--count-1 .bento-item.big {
  grid-column: 1 / -1;
  grid-row: span 1;
  min-height: 280px;
}

.bento-item .b-num {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}

.bento-item.big .b-num {
  position: absolute;
  top: 28px;
  left: 32px;
  margin-bottom: 0;
}

.bento-item.big .b-num+h3 {
  margin-top: 0;
}

.bento-item h3 {
  font-size: 1.3rem;
  margin-top: 0;
  letter-spacing: -0.01em;
}

.bento-item p {
  color: var(--slate);
  font-size: 0.92rem;
  margin-top: 10px;
  line-height: 1.55;
  max-width: 340px;
}

.bento-item .b-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.86rem;
}

.bento-item .b-link svg {
  width: 13px;
  height: 13px;
  transition: transform .2s var(--ease);
}

.bento-item:hover .b-link svg {
  transform: translateX(4px);
}

/* Tablet: featured card full-width; secondary cards side-by-side */
@media (max-width: 980px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }

  .bento-item {
    min-height: 0;
    padding: 28px 24px;
  }

  .bento-item.big {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 300px;
    justify-content: flex-end;
  }

  .bento-item.big .tile-img {
    flex: 1 1 auto;
    min-height: 150px;
    max-height: 200px;
    margin: 28px 0 18px;
  }

  .bento-item.wide {
    grid-column: span 2;
  }

  /* 3 divisions: two smaller cards share a row under the featured card */
  .bento--count-3 .bento-item.wide {
    grid-column: span 1;
    min-height: 190px;
  }

  .bento--count-2 .bento-item.big,
  .bento--count-3 .bento-item.big {
    grid-column: 1 / -1;
  }

  .bento--count-2 .bento-item.wide {
    grid-column: 1 / -1;
  }

  .bento-item h3 {
    font-size: 1.2rem;
    overflow-wrap: anywhere;
  }

  .bento-item p {
    max-width: none;
  }
}

/* Narrow tablet: stack all division cards */
@media (max-width: 720px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento-item.big,
  .bento-item.wide,
  .bento--count-3 .bento-item.wide {
    grid-column: 1 / -1;
  }
}

/* Mobile: single column stack */
@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }

  .bento-item {
    padding: 22px 18px;
  }

  .bento-item.big,
  .bento-item.wide,
  .bento--count-2 .bento-item.big,
  .bento--count-2 .bento-item.wide,
  .bento--count-3 .bento-item.big,
  .bento--count-3 .bento-item.wide {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .bento-item.big {
    padding-top: 52px;
    min-height: 0;
  }

  .bento-item.big .b-num {
    top: 18px;
    left: 18px;
  }

  .bento-item.big .tile-img {
    min-height: 140px;
    max-height: 170px;
    margin: 10px 0 14px;
  }

  .bento-item.big h3 {
    font-size: 1.28rem;
  }

  .bento-item h3 {
    font-size: 1.12rem;
  }

  .bento-item p {
    font-size: 0.9rem;
  }

  .bento-item .b-link {
    margin-top: 12px;
  }
}

/* ===== Stats ===== */
.stat-strip {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.stat-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 44px 24px;
  border-left: 1px solid var(--line);
}

.stat-item:first-child {
  border-left: none;
}

.stat-item .num {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat-item .lbl {
  font-size: 0.82rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
  font-weight: 700;
}

@media (max-width:980px) {
  .stat-strip .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .stat-item:nth-child(-n+2) {
    border-top: none;
  }
}

@media (max-width:640px) {
  .stat-strip .wrap {
    grid-template-columns: 1fr;
  }

  .stat-item,
  .stat-item:nth-child(-n+2) {
    border-top: 1px solid var(--line);
  }

  .stat-item:first-child {
    border-top: none;
  }
}

/* ===== Section shells ===== */
section {
  padding: 80px 0;
}

section.tight {
  padding: 56px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

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

.section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-top: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p {
  margin-top: 18px;
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.7;
}

.on-dark {
  background: var(--ink);
  color: #fff;
}

.on-dark .section-head h2 {
  color: #fff;
}

.on-dark .section-head p {
  color: rgba(255, 255, 255, 0.65);
}

.on-panel {
  background: var(--panel);
}

/* Consecutive white panels share one surface — don't stack full section padding */
.on-panel+.on-panel {
  padding-top: 0;
}

.home-overview,
.home-gallery {
  padding-top: 48px;
  padding-bottom: 48px;
}

.on-panel+.home-overview,
.home-overview+.home-gallery,
.home-gallery+.on-panel {
  padding-top: 28px;
}

.home-overview:has(+ .home-gallery),
.on-panel:has(+ .home-overview) {
  padding-bottom: 28px;
}

.home-overview--empty {
  padding-top: 28px;
  padding-bottom: 12px;
}

.home-overview--empty+.home-gallery {
  padding-top: 28px;
}

/* Local scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Feature list (dark section) ===== */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-item {
  display: flex;
  gap: 18px;
  padding: 32px;
  background: var(--ink);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature-item h3 {
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}

.history-head {
  max-width: none;
  margin-bottom: 22px;
}

.history-head .eyebrow {
  color: var(--accent);
}

.history-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

.history-body p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.history-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 108px;
}

.history-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.history-photo--lead {
  aspect-ratio: 4 / 3;
}

.history-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width:980px) {
  .history-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .history-photo-stack {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .history-photo--lead {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .history-photo {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width:640px) {
  .history-photo-stack {
    grid-template-columns: 1fr;
  }

  .history-photo--lead {
    grid-column: auto;
  }
}

/* ===== Big pull quote ===== */
.pull-quote {
  max-width: 840px;
}

.pull-quote__text {
  position: relative;
  padding: 44px 56px 40px 60px;
}

.pull-quote__text::before,
.pull-quote__text::after {
  position: absolute;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--accent);
  font-weight: 700;
  line-height: 0.55;
  pointer-events: none;
}

.pull-quote__text::before {
  content: "\201C";
  top: 18px;
  left: 20px;
  font-size: 4.6rem;
}

.pull-quote__text::after {
  content: "\201D";
  right: 24px;
  bottom: 10px;
  font-size: 4.6rem;
}

.pull-quote__text p,
.pull-quote > p {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.pull-quote .q-attr {
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--slate);
  font-weight: 600;
}

.pull-quote .q-attr p {
  margin: 0 0 10px;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: 1.65;
  letter-spacing: 0;
}

.pull-quote .q-attr p:last-child {
  margin-bottom: 0;
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 56px;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 14px;
  max-width: 440px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width:900px) {
  .cta-band {
    overflow: hidden;
  }

  .cta-inner {
    padding: 40px 32px;
    gap: 24px;
    align-items: flex-start;
  }

  .cta-inner>div:first-child {
    flex: 1 1 100%;
    min-width: 0;
  }

  .cta-inner h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .cta-actions {
    width: 100%;
    align-items: stretch;
  }

  .cta-actions .btn {
    flex: 1 1 calc(50% - 7px);
    min-width: 0;
    min-height: 48px;
    justify-content: center;
    padding: 14px 22px;
    text-align: center;
  }
}

@media (max-width:640px) {
  .cta-inner {
    padding: 28px 20px;
    gap: 20px;
  }

  .cta-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .cta-actions .btn {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.92rem;
  }
}

/* ===== Footer ===== */
footer.site-footer {
  background: #000;
  color: rgba(255, 255, 255, 0.6);
}

.footer-top {
  padding-top: 72px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 44px;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.footer-social__link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.footer-social__link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h5 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color .2s var(--ease);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .f-links {
  display: flex;
  gap: 20px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ===== Video showcase ===== */
.video-showcase {
  max-width: 980px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, #262626 55%, #1a1a1a 100%);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  padding: 0;
  width: 100%;
  display: block;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0px, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 64px);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.video-frame .vf-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
  text-align: left;
}

.video-frame .vf-caption .vf-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 800;
}

.video-frame .vf-caption .vf-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 6px;
  letter-spacing: -0.01em;
}

.video-frame .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(238, 49, 36, 0.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.video-frame .play-btn::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  animation: pulse-ring 2.4s var(--ease) infinite;
}

.video-frame .play-btn svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

.video-frame:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: #D62A1F;
  box-shadow: 0 16px 40px rgba(238, 49, 36, 0.5);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.video-frame .vf-placeholder-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width:640px) {
  .video-frame .play-btn {
    width: 64px;
    height: 64px;
  }

  .video-frame .play-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== Image placeholder (inside bento / cards) ===== */
.img-placeholder {
  flex: 1;
  margin: 32px 0 20px;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.4);
  min-height: 120px;
  background: rgba(255, 255, 255, 0.02);
}

.img-placeholder svg {
  width: 28px;
  height: 28px;
  opacity: 0.7;
}

.img-placeholder span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.img-placeholder.on-light {
  border-color: rgba(10, 10, 10, 0.16);
  color: var(--slate-light);
  background: var(--paper);
}

/* ===== Page header (inner pages) ===== */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 56px 0 44px;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  overflow: hidden;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  position: absolute;
  inset: 0;
  will-change: transform;
  transform: scale(1.35) translate3d(0, 0, 0);
  transform-origin: center center;
  backface-visibility: hidden;
}

.page-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.78) 45%, rgba(8, 8, 8, 0.45) 80%, rgba(8, 8, 8, 0.2) 100%);
}

.page-header .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.breadcrumb {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-header .eyebrow {
  color: var(--accent);
}

.page-header .eyebrow::before {
  background: var(--accent);
}

.page-header h1 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.page-header p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 640px;
  line-height: 1.6;
}

/* ===== Forms ===== */
.form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid > * {
  min-width: 0;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.field .req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.06);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 10px;
}

.btn[data-state="loading"] {
  opacity: 0.75;
  pointer-events: none;
}

.btn .btn-spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
  display: none;
}

.btn[data-state="loading"] .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: #F0F7F1;
  border: 1px solid #BFE0C6;
  margin-top: 20px;
}

.form-success.show {
  display: flex;
  animation: fadein-up .4s var(--ease);
}

.form-success .fs-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2F8F4E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-success .fs-icon svg {
  width: 14px;
  height: 14px;
}

.form-success strong {
  color: #215C34;
  font-size: 0.95rem;
  display: block;
}

.form-success p {
  color: #2F6B3F;
  font-size: 0.86rem;
  margin-top: 3px;
}

@keyframes fadein-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #C0392B;
  background: #FDF2F1;
}

.field-error {
  font-size: 0.78rem;
  color: #C0392B;
  display: none;
  margin-top: 2px;
}

.field.has-error .field-error {
  display: block;
}

/* ===== Info cards ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-grid > * {
  min-width: 0;
}

.info-card--resource {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 520px;
}

.info-card--resource .i-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

@media (max-width:640px) {
  .info-card--resource {
    flex-wrap: wrap;
    max-width: none;
  }
}

.info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.info-card .i-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 14px;
}

.info-card .i-icon svg {
  width: 20px;
  height: 20px;
}

.info-card h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.info-card p,
.info-card a {
  color: var(--slate);
  font-size: 0.92rem;
  margin-top: 4px;
  display: block;
}

.info-card a:hover {
  color: var(--accent);
}

/* ===== Table ===== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: var(--panel);
}

table.data-table th {
  text-align: left;
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

table.data-table td {
  padding: 15px 20px;
  border-top: 1px solid var(--line-light);
  font-size: 0.92rem;
  color: var(--ink);
}

table.data-table tr:nth-child(even) td {
  background: var(--paper);
}

/* ===== FAQ ===== */
.accordion {
  border-top: 1px solid var(--line);
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-item summary {
  padding: 20px 4px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.98rem;
}

.acc-item summary::-webkit-details-marker {
  display: none;
}

.acc-item summary .plus {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease), background .25s var(--ease);
  color: var(--ink);
}

.acc-item[open] summary .plus {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.acc-item .acc-body {
  padding: 0 4px 22px;
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.65;
  max-width: 760px;
}

/* ===== Timeline (About) ===== */
.timeline {
  border-left: 2px solid var(--line);
  margin-left: 8px;
}

.t-item {
  position: relative;
  padding: 0 0 36px 32px;
}

.t-item:last-child {
  padding-bottom: 0;
}

.t-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--paper);
}

.t-item .t-year {
  font-weight: 800;
  color: var(--ink);
  font-size: 1rem;
}

.t-item p {
  color: var(--slate);
  margin-top: 6px;
  font-size: 0.94rem;
}

.tile-img {
  flex: 1;
  margin: 32px 0 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 120px;
  background: var(--paper);
}

.tile-img--about {
  flex: none;
  height: auto;
  aspect-ratio: 16/10;
  margin: 0 0 16px;
  min-height: 0;
}

@media (max-width:640px) {
  .tile-img--about {
    aspect-ratio: 4/3;
  }
}

.tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-tile.has-photo {
  border-style: solid;
  padding: 0;
  background: none;
  aspect-ratio: 3/4;
}

@media (max-width:760px) {
  .gallery-tile.has-photo {
    aspect-ratio: 4/3;
  }
}

@media (max-width:430px) {
  .gallery-tile.has-photo {
    aspect-ratio: 1/1;
  }
}

.gallery-tile.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-tile.has-photo .g-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
}

.gallery-tile.has-photo .g-cap .g-label {
  color: #fff;
}

.gallery-tile.has-photo:hover {
  border-color: transparent;
  background: none;
}

.gallery-tile.has-photo:hover img {
  transform: scale(1.04);
}

.gallery-tile.has-photo img {
  transition: transform .35s var(--ease);
}

/* ===== Fleet / photo gallery grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-tile {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}

.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(10, 10, 10, 0.025) 0px, rgba(10, 10, 10, 0.025) 1px, transparent 1px, transparent 14px);
}

.gallery-tile:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-tile .g-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}

.gallery-tile:hover .g-icon-wrap {
  background: var(--ink);
  border-color: var(--ink);
}

.gallery-tile .g-icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--slate-light);
  transition: color .25s var(--ease);
}

.gallery-tile:hover .g-icon-wrap svg {
  color: #fff;
}

.gallery-tile .g-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.gallery-tile .g-tag {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-light);
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 100px;
}

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

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

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

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

@media (max-width:640px) {
  .gallery-grid,
  .gallery-grid.cols-4,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Mobile / tablet navigation ===== */
@media (max-width:1280px) {
  header.site-header {
    overflow: visible;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  nav.primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 380px);
    height: 100vh;
    height: 100dvh;
    max-height: none;
    background: var(--panel);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex: none;
    gap: 0;
    margin: 0;
    padding: 56px 0 calc(16px + env(safe-area-inset-bottom, 0px));
    box-shadow: var(--shadow-lg);
    transform: translateX(110%);
    transition: transform .3s var(--ease);
    z-index: 110;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    cursor: pointer;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
  }

  .nav-close svg {
    width: 18px;
    height: 18px;
    display: block;
  }

  .nav-close:hover {
    background: #000;
  }

  nav.primary-nav>ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    width: 100%;
    padding: 0 6px;
    flex: 0 0 auto;
  }

  nav.primary-nav>ul>li {
    border-bottom: 1px solid var(--line);
  }

  nav.primary-nav>ul>li:last-child {
    border-bottom: none;
  }

  /* Main links — compact list */
  nav.primary-nav a.nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 12px;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 0;
    white-space: normal;
    color: var(--ink);
    background: transparent;
  }

  nav.primary-nav a.nav-link:hover,
  nav.primary-nav a.nav-link[aria-current="page"],
  nav.primary-nav a.nav-link[aria-current="true"],
  nav.primary-nav li.is-active>a.nav-link {
    background: transparent;
    color: var(--accent);
  }

  /* Parent + chevron row */
  .nav-item-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .nav-item-row .nav-link {
    flex: 1;
    min-width: 0;
  }

  .submenu-toggle {
    flex-shrink: 0;
    width: 44px;
    min-height: 100%;
    align-self: stretch;
    border: none;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .submenu-toggle svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
    filter: none;
    transition: transform .25s var(--ease);
  }

  .nav-item-row:hover .submenu-toggle,
  .has-drop:focus-within .submenu-toggle {
    background: transparent;
    color: var(--ink);
  }

  .nav-item-row:hover .submenu-toggle svg,
  .has-drop:focus-within .submenu-toggle svg {
    opacity: 0.7;
    filter: none;
  }

  .has-drop.open>.nav-item-row .submenu-toggle svg {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--accent);
  }

  .has-drop.open>.nav-item-row .nav-link {
    color: var(--accent);
  }

  /* Nested submenu accordion */
  .has-drop:hover>.dropdown,
  .has-drop:focus-within>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-drop>.dropdown {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 0;
    background: var(--paper);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), padding .25s var(--ease);
    display: block !important;
  }

  .has-drop.open>.dropdown {
    max-height: 900px;
    padding: 2px 0 6px;
  }

  .has-drop>.dropdown>a {
    padding: 9px 12px 9px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0;
    color: var(--charcoal);
    border-top: none;
    margin: 0;
  }

  .has-drop>.dropdown>a+a,
  .has-drop>.dropdown>a+.has-drop--nested,
  .has-drop>.dropdown>.has-drop--nested+a,
  .has-drop>.dropdown>.has-drop--nested+.has-drop--nested {
    border-top: 1px solid var(--line-light);
    margin-top: 0;
    padding-top: 0;
  }

  .has-drop>.dropdown>a:hover {
    background: rgba(238, 49, 36, 0.06);
    color: var(--accent);
  }

  .has-drop>.dropdown>a small {
    display: none;
  }

  .has-drop--nested>.nav-item-row>a small {
    display: none;
  }

  .has-drop--nested>.dropdown--nested a small {
    display: none;
  }

  /* Nested division accordion inside Products & Services */
  .has-drop--nested {
    border-top: 1px solid var(--line-light);
  }

  .has-drop--nested>.nav-item-row {
    width: 100%;
    border-radius: 0;
  }

  .has-drop--nested>.nav-item-row>a {
    padding: 9px 8px 9px 22px;
    font-size: 0.9rem;
    color: var(--charcoal);
  }

  .has-drop--nested>.nav-item-row>a:hover {
    background: rgba(238, 49, 36, 0.06);
    color: var(--accent);
  }

  .has-drop--nested>.nav-item-row .submenu-toggle {
    pointer-events: auto;
    width: 44px;
    border-left: 1px solid var(--line);
  }

  .has-drop--nested>.nav-item-row:hover,
  .has-drop--nested:focus-within>.nav-item-row {
    background: transparent;
  }

  .has-drop--nested.open>.nav-item-row>a {
    color: var(--accent);
  }

  .has-drop--nested>.dropdown--nested {
    position: static;
    left: auto;
    top: auto;
    transform: none !important;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.03);
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transition: max-height .35s var(--ease), padding .25s var(--ease);
  }

  .has-drop--nested.open>.dropdown--nested {
    max-height: 420px;
    padding: 2px 0 6px;
  }

  .has-drop--nested>.dropdown--nested a {
    padding: 8px 12px 8px 36px;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 0;
    color: var(--charcoal);
    margin: 0;
    border-top: none;
  }

  .has-drop--nested>.dropdown--nested a+a {
    border-top: 1px solid var(--line-light);
    margin-top: 0;
    padding-top: 8px;
  }

  .has-drop--nested>.dropdown--nested a:hover {
    background: rgba(238, 49, 36, 0.06);
    color: var(--accent);
  }

  .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 24px);
    margin: 12px 12px 0;
    flex: 0 0 auto;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.92rem;
    min-height: 44px;
    box-shadow: none !important;
  }

  .nav-row {
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-logo {
    height: 30px;
  }
}

@media (max-width:980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width:760px) {
  .footer-top {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 32px;
    gap: 28px;
  }

  section {
    padding: 56px 0;
  }

  section.tight {
    padding: 40px 0;
  }

  .home-overview,
  .home-gallery {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .on-panel+.home-overview,
  .home-overview+.home-gallery,
  .home-gallery+.on-panel {
    padding-top: 20px;
  }

  .home-overview:has(+ .home-gallery),
  .on-panel:has(+ .home-overview) {
    padding-bottom: 20px;
  }

  .home-overview--empty {
    padding-top: 20px;
    padding-bottom: 8px;
  }

  .home-overview--empty+.home-gallery {
    padding-top: 20px;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .hero-actions {
    gap: 12px;
    flex-direction: column;
    width: 100%;
  }

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

  .page-header {
    padding: 40px 0 32px;
    min-height: 180px;
  }

  .stat-item {
    padding: 28px 16px;
  }

  .feature-item {
    padding: 24px 20px;
  }

  .doc-card {
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    padding: 16px;
  }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 105;
  pointer-events: none;
}

.nav-scrim.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bento.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
}

@media (max-width:980px) {
  .bento.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:640px) {
  .bento.cols-3 {
    grid-template-columns: 1fr;
  }
}

.wp-block-button__link,
.wpcf7-submit {
  cursor: pointer;
}

.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Hide leftover classic editor contact HTML if it ever prints */
.contact-page .entry-content,
.contact-page .wp-block-table {
  display: none;
}

/* ===== Contact Form 7 alignment with design ===== */
.wpcf7 form {
  margin: 0;
}

.wpcf7 label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}

.wpcf7 .req {
  color: var(--accent);
  font-weight: 800;
  margin-left: 3px;
  font-size: 1.05em;
  line-height: 1;
}

.wpcf7 .formnote {
  font-weight: 500;
  color: var(--slate);
  font-size: 0.82em;
}

.wpcf7 p {
  color: var(--ink);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.35;
  min-height: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select {
  height: auto;
  min-height: 48px;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.06);
}

.wpcf7 textarea {
  min-height: 120px;
  height: auto;
  resize: vertical;
  padding-top: 13px;
  padding-bottom: 13px;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 12px;
}

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(238, 49, 36, 0.28);
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  background: #D62A1F;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.78rem;
  color: #C0392B;
  margin-top: 4px;
}

.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid #BFE0C6;
  background: #F0F7F1;
  color: #215C34;
}

.history-grid .history-body p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

.entry-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== Leadership page ===== */
.leadership-page .lead-intro {
  padding-bottom: 20px;
}

.lead-team {
  padding-top: 8px;
}

.lead-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.lead-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 440px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.lead-card--row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.lead-card__media {
  position: relative;
  min-height: 440px;
  height: 100%;
  background: var(--ink);
  overflow: hidden;
}

.lead-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: var(--accent);
  z-index: 2;
}

.lead-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: absolute;
  inset: 0;
  max-width: none;
}

.lead-card__media--placeholder {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(180deg, #1C1C1C 0%, #111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-card__media--placeholder img {
  display: none;
}

.lead-avatar {
  width: min(46%, 210px);
  aspect-ratio: 1;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.lead-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lead-card--flip .lead-card__media img {
  object-position: center top;
}

.lead-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 44px 36px;
  gap: 0;
  min-height: 440px;
}

.lead-card__meta {
  margin-bottom: 4px;
  flex-shrink: 0;
}

.lead-card__name {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

.lead-card__role {
  margin-top: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.lead-card__bio {
  position: relative;
  margin-top: 18px;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.75;
  max-height: 10.5em;
  overflow: hidden;
}

.lead-card__bio p {
  margin: 0 0 14px;
}

.lead-card__bio p:last-child {
  margin-bottom: 0;
}

.lead-card__bio::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.2em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--panel) 78%);
  pointer-events: none;
}

.lead-card__more {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 18px 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.lead-card__more:hover,
.lead-card__more:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(238, 49, 36, 0.22);
}

.lead-card__more:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.lead-card__more svg {
  transition: transform .25s var(--ease);
}

.lead-card__more:hover svg,
.lead-card__more:focus-visible svg {
  transform: translateX(3px);
}

/* Odd rows: image left / content right (default). Even rows: content left / image right */
.lead-card--flip {
  grid-template-columns: 1.08fr 0.92fr;
}

.lead-card--flip .lead-card__media {
  order: 2;
}

.lead-card--flip .lead-card__body {
  order: 1;
}

.lead-values__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
}

.lead-values__grid h2 {
  color: #fff;
  margin-top: 16px;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}

.lead-values__grid p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width:980px) {

  .lead-card,
  .lead-card--flip {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lead-card__media {
    min-height: 280px;
    aspect-ratio: 4/3;
    height: auto;
  }

  .lead-card__body {
    padding: 28px 24px 32px;
    min-height: 0;
  }

  .lead-card__bio {
    max-height: 9.5em;
  }

  .lead-card--flip .lead-card__media,
  .lead-card--flip .lead-card__body {
    order: initial;
  }

  .lead-stack {
    gap: 24px;
  }

  .lead-values__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
}

@media (max-width:640px) {
  .lead-card__media {
    min-height: 240px;
  }

  /* Zoom-in is progressive enhancement — images stay visible without JS */
  .lead-card__media img.is-zoom-in {
    animation: lead-img-zoom-in 0.85s var(--ease) forwards;
  }
}

@keyframes lead-img-zoom-in {
  from {
    opacity: 0;
    transform: scale(1.14);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .lead-card__media img {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* Leadership profile popup */
.lead-modal[hidden] {
  display: none !important;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: max(18px, env(safe-area-inset-top, 0px)) 18px max(18px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.lead-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.lead-modal.is-open .lead-modal__scrim {
  opacity: 1;
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: min(920px, calc(100% - 120px));
  max-height: min(88vh, 720px);
  overflow: hidden;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.38);
  outline: none;
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), opacity .38s var(--ease);
}

.lead-modal.is-open .lead-modal__dialog {
  opacity: 1;
  transform: none;
}

.lead-modal__media {
  position: relative;
  min-height: 0;
  height: 100%;
  background: var(--ink);
  overflow: hidden;
}

.lead-modal__media::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: var(--accent);
  z-index: 2;
}

.lead-modal__media img,
.lead-modal__media svg,
.lead-modal__media .lead-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lead-modal__media img {
  position: absolute;
  inset: 0;
  max-width: none;
  transform: scale(1.08);
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

.lead-modal.is-open .lead-modal__media img {
  transform: scale(1);
}

.lead-modal__media .lead-avatar {
  width: min(58%, 180px);
  height: auto;
  aspect-ratio: 1;
  margin: auto;
  position: absolute;
  inset: 0;
}

.lead-modal__copy {
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 40px 36px 64px 44px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 10, 10, 0.35) rgba(10, 10, 10, 0.08);
}

.lead-modal__copy::-webkit-scrollbar {
  width: 8px;
}

.lead-modal__copy::-webkit-scrollbar-track {
  background: rgba(10, 10, 10, 0.06);
  border-radius: 8px;
}

.lead-modal__copy::-webkit-scrollbar-thumb {
  background: rgba(10, 10, 10, 0.32);
  border-radius: 8px;
}

.lead-modal__copy::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.lead-modal__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead-modal__copy h2 {
  margin: 0;
  padding-right: 36px;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.lead-modal__role {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.lead-modal__bio {
  margin-top: 20px;
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.75;
}

.lead-modal__bio p {
  margin: 0 0 14px;
}

.lead-modal__bio p:last-child {
  margin-bottom: 8px;
}

.lead-modal.is-open .lead-modal__eyebrow,
.lead-modal.is-open .lead-modal__copy h2,
.lead-modal.is-open .lead-modal__role,
.lead-modal.is-open .lead-modal__bio {
  animation: lead-modal-rise .55s cubic-bezier(.16, 1, .3, 1) both;
}

.lead-modal.is-open .lead-modal__copy h2 {
  animation-delay: .06s;
}

.lead-modal.is-open .lead-modal__role {
  animation-delay: .12s;
}

.lead-modal.is-open .lead-modal__bio {
  animation-delay: .18s;
}

@keyframes lead-modal-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lead-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .1);
  background: rgba(255, 255, 255, .96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(10, 10, 10, .1);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.lead-modal__close:hover,
.lead-modal__close:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.06) rotate(90deg);
}

.lead-modal__close:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.lead-modal__nav {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}

.lead-modal__nav:hover,
.lead-modal__nav:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.06);
}

.lead-modal__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.lead-modal.has-one .lead-modal__nav {
  display: none;
}

.lead-modal__dialog.is-swap .lead-modal__media,
.lead-modal__dialog.is-swap .lead-modal__copy {
  animation: lead-modal-swap .32s var(--ease);
}

@keyframes lead-modal-swap {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

body.lead-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .lead-modal {
    padding: 0;
    align-items: flex-end;
    gap: 0;
  }

  .lead-modal__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    max-height: min(94vh, 100%);
    border-radius: 22px 22px 0 0;
    transform: translateY(40px);
  }

  .lead-modal.is-open .lead-modal__dialog {
    transform: none;
  }

  .lead-modal__media {
    min-height: 220px;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .lead-modal__copy {
    padding: 24px 20px 56px;
  }

  .lead-modal__close {
    top: 12px;
    right: 12px;
  }

  .lead-modal__nav {
    position: absolute;
    top: 118px;
    width: 42px;
    height: 42px;
  }

  .lead-modal__nav--prev {
    left: 12px;
  }

  .lead-modal__nav--next {
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal__scrim,
  .lead-modal__dialog,
  .lead-modal__media img,
  .lead-card__more,
  .lead-modal__close,
  .lead-modal__nav {
    transition: none !important;
  }

  .lead-modal.is-open .lead-modal__eyebrow,
  .lead-modal.is-open .lead-modal__copy h2,
  .lead-modal.is-open .lead-modal__role,
  .lead-modal.is-open .lead-modal__bio,
  .lead-modal.is-open .lead-modal__media img,
  .lead-modal__dialog.is-swap .lead-modal__media,
  .lead-modal__dialog.is-swap .lead-modal__copy {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===== Community Involvement ===== */
.community-page .comm-event {
  margin: 0;
}

.community-page .comm-event+.comm-event {
  border-top: 1px solid var(--line);
}

.community-page .comm-event+.comm-event .comm-story,
.community-page .comm-event+.comm-event .comm-gallery-section {
  padding-top: 8px;
}

.comm-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.comm-story--full {
  grid-template-columns: 1fr;
}

.comm-story--full .comm-story__copy {
  max-width: none;
  width: 100%;
}

.comm-story--full .comm-story__text {
  max-width: none;
}

.comm-story__copy h2 {
  margin-top: 16px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.comm-story__text {
  margin-top: 20px;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
}

.comm-story__text p {
  margin: 0 0 14px;
}

.comm-story__text p:last-child {
  margin-bottom: 0;
}

.comm-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comm-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.comm-highlight:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(238, 49, 36, 0.25);
}

.comm-highlight__num {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 2px;
}

.comm-highlight h3 {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  margin: 0;
}

.comm-highlight p {
  margin-top: 6px;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
}

.comm-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.comm-gallery__item {
  position: relative;
  aspect-ratio: 16/10;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  display: block;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.comm-gallery__item:hover,
.comm-gallery__item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.comm-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
  opacity: 0.92;
}

.comm-gallery__item:hover img,
.comm-gallery__item:focus-visible img {
  transform: scale(1.06);
  opacity: 1;
}

.comm-gallery__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.comm-gallery__item:hover .comm-gallery__zoom,
.comm-gallery__item:focus-visible .comm-gallery__zoom {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .comm-gallery__zoom {
    opacity: 1;
    transform: translateY(0);
  }
}

.comm-gallery__zoom svg {
  width: 18px;
  height: 18px;
}

/* Featured first tile larger on desktop */
.comm-gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

@media (max-width:980px) {
  .comm-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .comm-gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16/9;
  }
}

@media (max-width:560px) {
  .comm-gallery {
    grid-template-columns: 1fr;
  }

  .comm-gallery__item:first-child {
    grid-column: span 1;
    aspect-ratio: 16/10;
  }
}

/* ===== Lightbox ===== */
.m-lightbox[hidden] {
  display: none !important;
}

.m-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  touch-action: pan-y;
}

.m-lightbox.is-open {
  display: flex;
}

.m-lightbox__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(8px);
  animation: lb-fade .25s var(--ease);
  touch-action: none;
}

.m-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lb-rise .3s var(--ease);
  touch-action: none;
}

.m-lightbox__figure {
  margin: 0;
  max-width: 100%;
  text-align: center;
  touch-action: none;
  cursor: grab;
}

.m-lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #111;
  touch-action: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

.m-lightbox__caption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
}

.m-lightbox__close,
.m-lightbox__nav {
  position: absolute;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.m-lightbox__close {
  top: -8px;
  right: -8px;
  width: 44px;
  height: 44px;
  z-index: 3;
}

.m-lightbox__close:hover,
.m-lightbox__nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}

.m-lightbox__close svg,
.m-lightbox__nav svg {
  width: 20px;
  height: 20px;
}

.m-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.m-lightbox__nav--prev {
  left: -8px;
}

.m-lightbox__nav--next {
  right: -8px;
}

.m-lightbox__nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.m-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.lightbox-open {
  overflow: hidden;
}

@keyframes lb-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes lb-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Quote request modal ---------- */
.quote-modal[hidden] {
  display: none !important;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.quote-modal.is-open {
  display: flex;
}

.quote-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 28, .72);
  backdrop-filter: blur(6px);
}

.quote-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(540px, 100%);
  max-height: min(88vh, 760px);
  overflow: hidden;
  background: var(--panel, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg, 0 24px 60px rgba(0, 0, 0, .28));
  outline: none;
}

.quote-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 36px 28px 28px;
  scrollbar-gutter: stable;
}

.quote-modal__dialog h2 {
  margin-top: 12px;
  padding-right: 44px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.quote-modal__lead {
  margin: 12px 0 0;
  color: var(--slate);
  line-height: 1.6;
  font-size: 0.95rem;
}

.quote-modal__form {
  margin-top: 20px;
}

.quote-modal__form .wpcf7 p {
  margin: 0 0 12px;
}

.quote-modal__form .wpcf7 label {
  margin-bottom: 6px;
  font-size: 0.84rem;
}

.quote-modal__form .wpcf7 input[type="text"],
.quote-modal__form .wpcf7 input[type="email"],
.quote-modal__form .wpcf7 input[type="tel"],
.quote-modal__form .wpcf7 select {
  padding: 11px 13px;
  min-height: 44px;
  height: auto;
  font-size: 0.94rem;
}

.quote-modal__form .wpcf7 textarea {
  min-height: 84px;
  height: 84px;
  max-height: 160px;
  padding: 10px 13px;
  font-size: 0.94rem;
  resize: vertical;
}

.quote-modal__form .wpcf7 input[type="submit"],
.quote-modal__form .wpcf7 .wpcf7-submit {
  width: 100%;
  margin-top: 2px;
  padding: 13px 24px;
}

.quote-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .1);
  background: rgba(255, 255, 255, .96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(10, 10, 10, .08);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.quote-modal__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.quote-modal__close svg {
  width: 18px;
  height: 18px;
}

.quote-modal__alt {
  margin: 16px 0 0;
  font-size: 0.86rem;
  color: var(--slate);
  text-align: center;
}

.quote-modal__alt a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quote-modal__alt a:hover {
  color: var(--accent);
}

body.quote-modal-open {
  overflow: hidden;
}

@media (max-width:640px) {
  .quote-modal {
    padding: 10px;
    align-items: flex-end;
  }

  .quote-modal__dialog {
    width: 100%;
    max-height: min(92vh, 100%);
    border-radius: 22px 22px 16px 16px;
  }

  .quote-modal__body {
    padding: 28px 18px 20px;
  }

  .quote-modal__close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width:760px) {
  .m-lightbox {
    padding: 16px;
  }

  .m-lightbox__nav--prev {
    left: 0;
  }

  .m-lightbox__nav--next {
    right: 0;
  }

  .m-lightbox__close {
    top: 0;
    right: 0;
  }

  .m-lightbox__img {
    max-height: 70vh;
  }
}

/* ===== Products & Services pages ===== */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ps-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.ps-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ps-card__media {
  aspect-ratio: 16/10;
  background: var(--ink);
  overflow: hidden;
}

.ps-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}

.ps-card:hover .ps-card__media img {
  transform: scale(1.04);
}

.ps-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ps-card__num {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.ps-card__body h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.ps-card__body p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.ps-card__body .btn {
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 22px;
  font-size: 0.88rem;
}

.svc-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.svc-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-md);
  align-self: start;
}

.svc-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
}

.svc-hero__copy h2 {
  margin-top: 16px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.svc-hero__text {
  margin: 18px 0 28px;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
}

.svc-hero__text p {
  margin: 0 0 14px;
}

.svc-hero__text p:last-child {
  margin-bottom: 0;
}

.svc-hero__text ol,
.svc-hero__text ul {
  margin: 12px 0 0;
  padding-left: 1.25em;
}

.svc-hero__text li {
  margin: 0 0 10px;
}

.svc-hero__text li:last-child {
  margin-bottom: 0;
}

/* Inline content links must read as links (global a{color:inherit} hides them) */
.svc-hero__text a,
.svc-copy-block__text a,
.contracts-segment__text a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
}

.svc-hero__text a:hover,
.svc-copy-block__text a:hover,
.contracts-segment__text a:hover {
  color: #D62A1F;
  text-decoration-thickness: 2px;
}

.svc-hero__text a span,
.svc-copy-block__text a span,
.contracts-segment__text a span {
  color: inherit;
  font-weight: inherit;
}

.svc-copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  align-items: start;
}

.svc-copy-block h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.25;
}

.svc-copy-block__text {
  margin-top: 18px;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
}

.svc-copy-block__text p {
  margin: 0 0 14px;
}

.svc-copy-block__text p:last-child {
  margin-bottom: 0;
}

/* Mid-page image slots on Products & Services hubs — natural height, no crop */
.ps-mid-image {
  width: 100%;
}

.ps-mid-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--paper);
}

.ps-mid-image--inset {
  margin: 22px 0 8px;
}

.ps-mid-image--before-caps {
  margin: 0 0 40px;
}

.ps-mid-image--after-pills {
  margin-top: 36px;
}

.ps-mid-image + .ps-mid-image {
  margin-top: 28px;
}

.svc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.svc-pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.svc-pill:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.svc-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.bis-ssm {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.bis-ssm__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

.bis-ssm__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bis-ssm__copy h2 {
  margin-top: 16px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.bis-ssm__text {
  margin: 18px 0 24px;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
}

.bis-ssm__text p {
  margin: 0 0 14px;
}

.bis-ssm__text p:last-child {
  margin-bottom: 0;
}

.bis-ssm__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bis-ssm__meta-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.bis-ssm__meta-item p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.55;
}

.bis-ssm__meta-item a {
  color: var(--ink);
}

.bis-ssm__meta-item a:hover {
  color: var(--accent);
}

.ssm-details__meta {
  max-width: 100%;
}

.contracts-segments {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.contracts-segment {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 0 0 28px;
}

.contracts-segment__intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 28px;
}

.contracts-segment--reverse .contracts-segment__intro {
  grid-template-columns: 1.1fr 0.9fr;
}

.contracts-segment--reverse .contracts-segment__media {
  order: 2;
}

.contracts-segment--reverse .contracts-segment__copy {
  order: 1;
}

.contracts-segment__media {
  min-height: 280px;
  background: var(--ink);
}

.contracts-segment__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

.contracts-segment__copy {
  padding: 36px 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contracts-segment__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.contracts-segment__copy .eyebrow {
  margin-bottom: 10px;
}

.contracts-segment__copy h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.25;
}

.contracts-segment__text {
  margin-top: 16px;
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.7;
}

.contracts-segment__text p {
  margin: 0 0 12px;
}

.contracts-segment__text p:last-child {
  margin-bottom: 0;
}

.contracts-segment__action {
  margin-top: 22px;
}

.contracts-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 28px;
  margin-top: 4px;
}

.contracts-cap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}

.contracts-cap h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.contracts-cap p {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Contracts — client programs accordion (SCMN) */
.contracts-clients-accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--line);
}

.contracts-clients-accordion .acc-item {
  border-bottom: 1px solid var(--line);
  interpolate-size: allow-keywords;
}

.contracts-clients-accordion .acc-item:last-child {
  border-bottom: 0;
}

.contracts-clients-accordion .acc-item summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  border-left: 3px solid transparent;
  transition: background .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.contracts-clients-accordion .acc-item summary:hover {
  background: var(--paper);
}

.contracts-clients-accordion .acc-item summary .plus {
  transition: transform .3s var(--ease), background .28s var(--ease), border-color .28s var(--ease), color .28s var(--ease);
}

.contracts-clients-accordion .acc-item[open] summary {
  background: var(--accent-tint);
  border-left-color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--line-light);
}

.contracts-clients-accordion__title {
  flex: 1;
  min-width: 0;
}

.contracts-clients-accordion .acc-body {
  max-width: none;
  padding: 0 24px 22px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.contracts-clients-accordion .acc-item[open] .acc-body {
  background: linear-gradient(180deg, var(--accent-tint) 0%, #fff 28px);
}

/* Contracts accordion only — open/close animation */
.contracts-clients-accordion .acc-item::details-content {
  display: block;
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    block-size .38s var(--ease),
    opacity .28s var(--ease),
    content-visibility .38s allow-discrete;
}

.contracts-clients-accordion .acc-item[open]::details-content {
  block-size: auto;
  opacity: 1;
}

@supports not (selector(::details-content)) {
  .contracts-clients-accordion .acc-item[open] .acc-body {
    animation: mancon-contracts-acc-open .35s var(--ease);
  }
}

@keyframes mancon-contracts-acc-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .contracts-clients-accordion .acc-item::details-content,
  .contracts-clients-accordion .acc-item summary,
  .contracts-clients-accordion .acc-item summary .plus {
    transition: none;
  }

  .contracts-clients-accordion .acc-item[open] .acc-body {
    animation: none;
  }
}

.contracts-clients-accordion .contracts-client__text p {
  margin: 0 0 12px;
}

.contracts-clients-accordion .contracts-client__text p:last-child {
  margin-bottom: 0;
}

@media (max-width:760px) {
  .contracts-clients-accordion .acc-item summary {
    padding: 16px 18px;
    font-size: 0.98rem;
  }

  .contracts-clients-accordion .acc-body {
    padding: 0 18px 18px;
  }
}

.svc-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.svc-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.svc-feature h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.svc-feature p {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
}

.sbo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.sbo-links-intro {
  margin: 28px 0 0;
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.65;
}

.sbo-links {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sbo-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 700;
  font-size: 0.94rem;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.sbo-links a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.sbo-links a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* SBO Company Size Profile — clean stacked alignment */
.sbo-size-profile {
  margin: 8px 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.sbo-size-profile>p {
  margin: 0;
}

.sbo-size-profile>p strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.sbo-size-profile__hint {
  margin: 8px 0 14px !important;
  color: var(--slate);
  font-size: 0.88rem;
}

.form-panel .wpcf7 .sbo-sizeprofile,
.form-panel .wpcf7 .sbo_sizeprofile {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.form-panel .wpcf7 .sbo-sizeprofile .wpcf7-list-item,
.form-panel .wpcf7 .sbo_sizeprofile .wpcf7-list-item {
  display: block;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
}

.form-panel .wpcf7 .sbo-sizeprofile .wpcf7-list-item:first-child,
.form-panel .wpcf7 .sbo_sizeprofile .wpcf7-list-item:first-child {
  border-top: none;
}

.form-panel .wpcf7 .sbo-sizeprofile .wpcf7-list-item label,
.form-panel .wpcf7 .sbo_sizeprofile .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 11px 4px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
}

.form-panel .wpcf7 .sbo-sizeprofile input[type="checkbox"],
.form-panel .wpcf7 .sbo_sizeprofile input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.sbo-size-profile__notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.sbo-size-profile__notice p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--slate);
}

.sbo-size-profile__notice strong {
  color: var(--ink);
}

@media (max-width:980px) {

  .ps-grid,
  .svc-hero,
  .sbo-layout,
  .svc-copy-grid,
  .bis-ssm,
  .contracts-segment__intro {
    grid-template-columns: 1fr;
  }

  .svc-copy-grid {
    gap: 36px;
  }

  .bis-ssm__meta {
    grid-template-columns: 1fr;
  }

  .bis-ssm {
    gap: 32px;
  }

  .contracts-segment--reverse .contracts-segment__media,
  .contracts-segment--reverse .contracts-segment__copy {
    order: unset;
  }

  /* Mobile/tablet: every segment stacks like #1 — image on top, copy below */
  .contracts-page .contracts-segment__intro,
  .contracts-segment__intro {
    display: flex;
    flex-direction: column;
  }

  .contracts-page .contracts-segment__media,
  .contracts-page .contracts-segment--reverse .contracts-segment__media,
  .contracts-segment__media,
  .contracts-segment--reverse .contracts-segment__media {
    order: 1;
  }

  .contracts-page .contracts-segment__copy,
  .contracts-page .contracts-segment--reverse .contracts-segment__copy,
  .contracts-segment__copy,
  .contracts-segment--reverse .contracts-segment__copy {
    order: 2;
  }

  .contracts-page .contracts-segment--reverse .contracts-segment__intro {
    grid-template-columns: 1fr;
  }

  .contracts-segment__copy {
    padding: 28px 24px 20px;
  }

  .contracts-segment__media img {
    min-height: 220px;
  }

  .contracts-cap-grid {
    padding: 0 20px;
    grid-template-columns: 1fr 1fr;
  }

  .svc-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-feature-grid--two {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contracts page — tablet/mobile polish (overflow, stacking, readable type) */
.contracts-page {
  overflow-x: clip;
}

.contracts-page .contracts-segment__text,
.contracts-page .contracts-cap h4,
.contracts-page .contracts-cap p,
.contracts-page .contracts-client__text,
.contracts-page .contracts-segment__copy h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contracts-page .contracts-clients-accordion__title {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.contracts-page .contracts-segment__media,
.contracts-page .contracts-segment__media img {
  max-width: 100%;
}

@media (max-width: 980px) {
  .contracts-page .page-header .breadcrumb {
    font-size: 0.78rem;
    gap: 6px;
    line-height: 1.45;
    flex-wrap: wrap;
  }

  .contracts-page .contracts-segments {
    gap: 28px;
  }

  .contracts-page .contracts-segment {
    border-radius: var(--radius);
  }

  .contracts-page .contracts-segment__media,
  .contracts-page .contracts-segment__media img {
    min-height: 200px;
    max-height: 220px;
    width: 100%;
  }

  .contracts-page .contracts-segment__copy {
    padding: 24px 20px 18px;
  }

  .contracts-page .contracts-segment__copy h3 {
    font-size: 1.28rem;
  }

  .contracts-page .contracts-segment__text {
    font-size: 0.98rem;
  }

  /* Capability cards: single column earlier — 2-up is cramped on phones/small tablets */
  .contracts-page .contracts-cap-grid {
    grid-template-columns: 1fr;
    padding: 0 20px 8px;
    gap: 12px;
  }

  .contracts-page .contracts-cap {
    padding: 16px 16px;
  }

  .contracts-page .contracts-clients-accordion .acc-item summary {
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px;
  }

  .contracts-page .contracts-clients-accordion .acc-body {
    padding: 0 16px 16px;
    font-size: 0.95rem;
  }

  .contracts-page .section-head {
    margin-bottom: 24px !important;
  }

  .contracts-page .section-head h2 {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }
}

@media (max-width:640px) {

  .svc-feature-grid,
  .svc-feature-grid--two {
    grid-template-columns: 1fr;
  }

  .sbo-size-profile {
    padding: 14px;
  }

  .contracts-cap-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .contracts-segments {
    gap: 36px;
  }

  .contracts-segment {
    padding-bottom: 20px;
  }

  .contracts-page .contracts-segments {
    gap: 22px;
  }

  .contracts-page .contracts-segment {
    padding-bottom: 16px;
  }

  .contracts-page .contracts-segment__copy {
    padding: 20px 16px 14px;
  }

  .contracts-page .contracts-segment__index {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .contracts-page .contracts-segment__copy h3 {
    font-size: 1.18rem;
  }

  .contracts-page .contracts-segment__text {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .contracts-page .contracts-cap-grid {
    padding: 0 12px 6px;
    gap: 10px;
  }

  .contracts-page .contracts-cap {
    padding: 14px 14px;
  }

  .contracts-page .contracts-cap h4 {
    font-size: 0.95rem;
  }

  .contracts-page .contracts-cap p {
    font-size: 0.88rem;
  }

  .contracts-page .contracts-clients-accordion {
    border-radius: var(--radius);
  }

  .contracts-page .contracts-clients-accordion .acc-item summary {
    padding: 14px 14px;
    font-size: 0.94rem;
  }

  .contracts-page .contracts-clients-accordion .acc-item summary .plus {
    width: 28px;
    height: 28px;
    margin-top: 1px;
  }

  .contracts-page .contracts-clients-accordion .acc-body {
    padding: 0 14px 14px;
    font-size: 0.92rem;
  }

  .contracts-page .cta-band {
    padding: 28px 18px;
  }

  .contracts-page .cta-actions,
  .contracts-page .cta-actions .btn {
    width: 100%;
  }

  .contracts-page .contracts-segment__action .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Careers pages ===== */
.careers-links-grid {
  grid-template-columns: repeat(3, 1fr);
}

.section-sub {
  margin: 10px 0 0;
  max-width: 52ch;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.55;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.doc-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--ink);
  background: #fff;
}

.doc-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-card__icon svg {
  width: 22px;
  height: 22px;
}

.doc-card__icon img.file-type-icon,
.poster-chip__icon img.file-type-icon {
  width: 34px;
  height: auto;
  display: block;
  object-fit: contain;
}

.doc-card.is-pdf .doc-card__icon,
.poster-chip:has(.file-type-icon--pdf) .poster-chip__icon {
  background: transparent;
  padding: 0;
}

.doc-card.is-pdf .doc-card__icon img {
  width: 40px;
}

.poster-chip__icon img.file-type-icon--pdf {
  width: 28px;
}

.doc-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.doc-card__title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--ink);
}

.doc-card__meta {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--slate-light);
  text-transform: uppercase;
}

.doc-card__arrow {
  width: 18px;
  height: 18px;
  color: var(--slate-light);
  opacity: 0.55;
  transition: opacity .2s, transform .2s, color .2s;
}

.doc-card__arrow svg {
  width: 18px;
  height: 18px;
}

.doc-card:hover .doc-card__arrow {
  opacity: 1;
  color: var(--accent);
  transform: translateX(3px);
}

.doc-card.is-doc .doc-card__icon,
.doc-card.is-docx .doc-card__icon {
  background: rgba(43, 87, 154, .12);
  color: #2b579a;
}

.doc-card.is-xls .doc-card__icon,
.doc-card.is-xlsx .doc-card__icon {
  background: rgba(33, 115, 70, .12);
  color: #217346;
}

.doc-card.is-ppt .doc-card__icon,
.doc-card.is-pptx .doc-card__icon {
  background: rgba(183, 71, 42, .12);
  color: #b7472a;
}

.doc-card.is-zip .doc-card__icon {
  background: rgba(10, 10, 10, .08);
  color: var(--ink);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.poster-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.poster-chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.poster-chip__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.poster-chip__icon svg {
  width: 16px;
  height: 16px;
}

.poster-chip:hover .poster-chip__icon {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.poster-chip__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.poster-chip__title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
}

.poster-chip__type {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
}

.poster-chip:hover .poster-chip__type {
  opacity: 0.8;
}

.ethics-page .ethics-hero {
  align-items: stretch;
}

.ethics-docs {
  background: linear-gradient(180deg, rgba(238, 49, 36, .03), transparent 40%);
}

.ethics-report-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.ethics-help {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.ethics-help h3 {
  color: #fff;
  margin: 14px 0 12px;
  font-size: 1.35rem;
}

.ethics-help p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin: 0;
}

.ethics-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ethics-help .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.ethics-help .btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.ethics-back {
  display: inline-block;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  font-size: 0.9rem;
}

.ethics-back:hover {
  color: var(--accent);
}

/* Ethics report form — tall details textarea (CF7 your-message) */
.page-template-page-report-ethics-violation .ethics-report-grid .wpcf7 textarea,
.page-template-page-report-ethics-violation .form-panel .wpcf7 textarea[name="your-message"] {
  min-height: 280px;
  height: auto;
  resize: vertical;
}

@media (max-width:640px) {
  .page-template-page-report-ethics-violation .ethics-report-grid .wpcf7 textarea,
  .page-template-page-report-ethics-violation .form-panel .wpcf7 textarea[name="your-message"] {
    min-height: 180px;
  }
}

/* ---------- Workers Compensation ---------- */
.wc-page .section-head {
  margin-bottom: 32px;
}

.wc-hub {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.wc-hub__main {
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.wc-hub__main h2 {
  margin-top: 14px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.wc-hub__text {
  margin-top: 14px;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.7;
}

.wc-hub__text p {
  margin: 0;
}

.wc-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.wc-hub__side {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
  background-image: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(238, 49, 36, 0.35), transparent 55%);
}

.wc-hub__side .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.wc-hub__side .eyebrow::before {
  background: var(--accent);
}

.wc-hub__side h3 {
  color: #fff;
  margin: 14px 0 10px;
  font-size: 1.35rem;
}

.wc-hub__side p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  margin: 0 0 20px;
}

.wc-hub__contact {
  display: block;
  color: #fff;
  font-weight: 700;
  margin-top: 8px;
  font-size: 0.98rem;
  word-break: break-word;
}

.wc-hub__contact:hover {
  color: var(--accent);
}

.wc-band {
  background: linear-gradient(180deg, rgba(238, 49, 36, .035), transparent 42%);
}

.wc-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.wc-check {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.wc-check__index {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
}

.wc-check__label {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.wc-check__body>p {
  margin: 8px 0 0;
  color: var(--slate);
  line-height: 1.6;
  max-width: 68ch;
}

.wc-check__files {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wc-check__files a,
.wc-check__note {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.wc-check__files a:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.wc-check__file-icon {
  flex: 0 0 auto;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-check__file-icon img {
  width: 30px;
  height: auto;
  display: block;
}

.wc-check__file-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.wc-check__file-text strong {
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--ink);
}

.wc-check__file-text em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.wc-check__file-go {
  width: 16px;
  height: 16px;
  color: var(--slate-light);
  opacity: .55;
  flex: 0 0 auto;
}

.wc-check__file-go svg {
  width: 16px;
  height: 16px;
}

.wc-check__files a:hover .wc-check__file-go {
  opacity: 1;
  color: var(--accent);
}

.wc-check__note {
  background: rgba(10, 10, 10, 0.02);
  border-style: dashed;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.wc-check__note strong {
  font-size: 0.92rem;
  color: var(--ink);
}

.wc-check__note span {
  font-size: 0.86rem;
  color: var(--slate);
  line-height: 1.45;
}

.wc-panel-tools {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.wc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  max-width: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--slate-light);
  box-shadow: var(--shadow-sm);
}

.wc-search:focus-within {
  border-color: var(--ink);
  color: var(--ink);
}

.wc-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  min-width: 0;
}

.wc-state-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wc-state-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--slate);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.wc-state-filter span {
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
}

.wc-state-filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.wc-state-filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.wc-state-filter.is-active span {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.wc-state-filter.is-dimmed {
  opacity: 0.35;
}

.wc-panel-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wc-panel-group__head h3 {
  font-size: 1.2rem;
}

.wc-panel-group__head span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wc-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wc-panel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.wc-panel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--ink);
}

.wc-panel-card__icon {
  flex: 0 0 auto;
  width: 32px;
}

.wc-panel-card__icon img {
  width: 28px;
  height: auto;
  display: block;
}

.wc-panel-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.wc-panel-card__body strong {
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--ink);
}

.wc-panel-card__body em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.wc-panel-card--note {
  border-style: dashed;
  background: rgba(10, 10, 10, 0.02);
}

.wc-panel-card.is-filtered-out,
.wc-panel-group.is-filtered-out {
  display: none !important;
}

.wc-panels-empty {
  margin-top: 18px;
  color: var(--slate);
  font-weight: 600;
}

.wc-states-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.wc-states-layout .section-head {
  margin-bottom: 0;
}

.wc-state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wc-state-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s, color .2s;
}

a.wc-state-chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

a.wc-state-chip:hover span {
  color: rgba(255, 255, 255, 0.7);
}

.wc-state-chip strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.wc-state-chip span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.wc-state-chip--note {
  border-style: dashed;
  background: rgba(10, 10, 10, 0.02);
}

.wc-safety {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
  background-image:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(238, 49, 36, 0.28), transparent 55%),
    linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%);
}

.wc-safety .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.wc-safety .eyebrow::before {
  background: var(--accent);
}

.wc-safety h2 {
  color: #fff;
  margin-top: 14px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.wc-safety p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 54ch;
  line-height: 1.65;
}

.wc-safety__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.wc-safety .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.wc-safety .btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

@media (max-width:980px) {

  .wc-hub,
  .wc-states-layout {
    grid-template-columns: 1fr;
  }

  .wc-check {
    grid-template-columns: 48px 1fr;
    padding: 22px 18px;
    gap: 14px;
  }

  .wc-check__index {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .wc-check__files,
  .wc-panel-grid,
  .wc-state-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:640px) {
  .wc-hub__main {
    padding: 26px 20px;
  }

  .wc-hub__side {
    padding: 24px 20px;
  }

  .wc-hub__actions .btn,
  .wc-safety__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .wc-check__files,
  .wc-panel-grid,
  .wc-state-grid {
    grid-template-columns: 1fr;
  }

  .wc-safety {
    padding: 28px 20px;
  }
}

/* ---------- In the News ---------- */
.news-spotlight-section {
  padding-bottom: 12px;
}

.news-spotlight {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 40px;
  align-items: end;
  background:
    radial-gradient(900px 220px at 0% 0%, rgba(238, 49, 36, 0.10), transparent 55%),
    linear-gradient(180deg, #fff 0%, #F7F7F5 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.news-spotlight::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(238, 49, 36, 0.06);
  pointer-events: none;
}

.news-spotlight__badge {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
}

.news-spotlight__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.news-spotlight__content h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 18ch;
}

.news-spotlight__content p {
  margin-top: 16px;
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 52ch;
}

.news-spotlight__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 88px;
  padding-bottom: 4px;
}

.news-spotlight__count {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.news-spotlight__label {
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.news-stories-section {
  padding-top: 20px;
}

.news-stories {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.news-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(238, 49, 36, 0.18);
}

.news-card--flip {
  grid-template-columns: 1.08fr 0.92fr;
}

.news-card--flip .news-card__media {
  order: 2;
}

.news-card--flip .news-card__body {
  order: 1;
}

.news-card__media {
  position: relative;
  min-height: 320px;
  background: var(--ink);
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.05) 35%, rgba(10, 10, 10, 0.45) 100%);
  pointer-events: none;
}

.news-card__index {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.news-card__date {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.news-card__body {
  padding: 40px 40px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card__body h3 {
  margin-top: 14px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.news-card__text {
  margin: 18px 0 26px;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
}

.news-card__text p {
  margin: 0 0 14px;
}

.news-card__text p:last-child {
  margin-bottom: 0;
}

.news-card__body .btn {
  align-self: flex-start;
}

.news-empty {
  color: var(--slate);
  font-size: 1.05rem;
  padding: 24px 0;
}

.news-card--single {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
}

.news-card--single .news-card__media {
  min-height: 360px;
  aspect-ratio: 16/9;
}

.news-card--single .news-card__body {
  padding: 36px 40px 42px;
}

.news-single__back {
  margin-top: 22px;
}

.news-single__back .btn {
  margin-top: 0;
}

/* Legacy single-news support */
.news-story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.news-story--reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.news-story--reverse .news-story__media {
  order: 2;
}

.news-story--reverse .news-story__copy {
  order: 1;
}

.news-story__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

.news-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-story__copy h3 {
  margin-top: 14px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
}

.news-story__text {
  margin: 18px 0 26px;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
}

.news-story__text p {
  margin: 0 0 14px;
}

.news-story__text p:last-child {
  margin-bottom: 0;
}

@media (max-width:980px) {

  .careers-links-grid,
  .doc-grid,
  .ethics-report-grid {
    grid-template-columns: 1fr;
  }

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

  .news-spotlight {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }

  .news-spotlight__meta {
    align-items: flex-start;
  }

  .news-card,
  .news-card--flip {
    grid-template-columns: 1fr;
  }

  .news-card--flip .news-card__media,
  .news-card--flip .news-card__body {
    order: initial;
  }

  .news-card__media {
    min-height: 240px;
    aspect-ratio: 16/10;
  }

  .news-card__body {
    padding: 28px 24px 32px;
  }

  .news-story,
  .news-story--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .news-story--reverse .news-story__media,
  .news-story--reverse .news-story__copy {
    order: initial;
  }
}

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

/* ===== DEVICE COMPATIBILITY — mobile/tablet only (desktop unchanged) ===== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Desktop lock: keep current look ≥1281px */
@media (min-width:1281px) {
  .cta-inner {
    padding: 56px;
    align-items: center;
  }

  .cta-actions {
    width: auto;
    flex-direction: row;
  }

  .cta-actions .btn {
    flex: 0 1 auto;
    width: auto;
    min-height: 0;
    padding: 15px 30px;
    font-size: 0.94rem;
  }

  .hero-actions {
    flex-direction: row;
    width: auto;
  }

  .hero-actions .btn {
    width: auto;
  }

  .svc-pill {
    width: auto;
    text-align: left;
    white-space: nowrap;
  }

  .ps-card__body .btn,
  .svc-hero__copy .btn,
  .svc-feature .btn {
    width: auto;
    align-self: flex-start;
  }

  .doc-card__arrow {
    display: block;
  }

  .stat-strip .wrap {
    grid-template-columns: repeat(4, 1fr);
  }

  .careers-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----- Tablet & below (≤1280) — show everything, no clipping ----- */
@media (max-width:1280px) {
  body {
    overflow-x: clip;
  }

  img,
  video,
  iframe {
    max-width: 100%;
  }

  .brand-logo {
    height: auto;
    max-height: 34px;
    width: auto;
  }

  .video-frame video,
  .ps-card__media img,
  .news-story__media img,
  .news-card__media img,
  .lead-card__media img,
  .page-header-bg img,
  .hero-bg img,
  .tile-img img,
  .gallery-tile.has-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  /* Keep cover + scale room for heading banner parallax */
  .page-header-bg img {
    height: 100%;
    width: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transform: scale(1.35) translate3d(0, 0, 0);
    transform-origin: center center;
  }

  .svc-hero__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
  }

  .history-photo-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
  }

  iframe {
    display: block;
    border: 0;
  }

  .table-wrap,
  .contact-email-table {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .breadcrumb {
    flex-wrap: wrap;
    row-gap: 4px;
    max-width: 100%;
  }

  .page-header h1,
  .page-header p,
  .section-head h2,
  .cta-inner h2,
  .svc-hero__copy h2,
  .lead-card__name,
  .news-story__copy h3,
  .news-card__body h3,
  .ps-card__body h3 {
    overflow-wrap: anywhere;
  }

  .dropdown,
  .dropdown--products {
    min-width: min(360px, calc(100vw - 32px));
    max-width: calc(100vw - 24px);
  }

  .dropdown--nested {
    min-width: min(280px, calc(100vw - 40px));
    max-width: calc(100vw - 32px);
  }

  .btn {
    min-height: 44px;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
  }

  /* Mobile drawer: hide link subtitles to keep menu compact */
  .has-drop>.dropdown>a small,
  .has-drop--nested>.nav-item-row>a small,
  .has-drop--nested>.dropdown--nested a small {
    display: none !important;
  }

  /* Utility address: kept hidden ≤1100 via earlier rule */
  .utility-bar .wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px 16px;
  }
}

/* ----- Tablet portrait / small laptop (≤980) ----- */
@media (max-width:980px) {

  .ps-card__body .btn,
  .svc-hero__copy .btn,
  .svc-feature .btn {
    align-self: stretch;
    width: 100%;
    justify-content: center;
  }

  .form-panel {
    padding: 28px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .contact-hero-grid {
    gap: 32px;
    width: 100%;
  }

  .contact-page .wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .svc-hero {
    gap: 28px;
  }

  .sbo-layout {
    gap: 28px;
  }

  .ethics-help__actions {
    flex-direction: column;
  }

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

  .careers-links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .video-frame .vf-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .video-frame .vf-caption .vf-title {
    font-size: 1rem;
  }

  .svc-pill {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
  }
}

/* ----- Large phone / small tablet (≤760) ----- */
@media (max-width:760px) {

  .wrap,
  .wrap-wide {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .trust-row {
    gap: 16px;
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-row .t-items {
    gap: 14px 18px;
  }

  .bento-item {
    padding: 24px 20px;
    min-height: 0;
  }

  .bento-item p {
    max-width: none;
  }

  .pull-quote {
    padding: 0;
  }

  .pull-quote__text {
    padding: 36px 32px 32px 36px;
  }

  .pull-quote__text::before,
  .pull-quote__text::after {
    font-size: 3.2rem;
  }

  .pull-quote__text::before {
    top: 14px;
    left: 12px;
  }

  .pull-quote__text::after {
    right: 14px;
    bottom: 6px;
  }

  .doc-card__title,
  .poster-chip span,
  .sbo-links a {
    overflow-wrap: anywhere;
  }

  .quote-modal__dialog {
    width: 100%;
  }

  .wpcf7 input[type="submit"],
  .wpcf7 .wpcf7-submit {
    min-height: 48px;
  }

  .careers-links-grid {
    grid-template-columns: 1fr;
  }

  .svc-pills {
    gap: 10px;
  }

  .svc-pill {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }

  .feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 18px;
  }

  .info-card {
    padding: 22px 18px;
  }

  .acc-item summary {
    font-size: 0.95rem;
    gap: 12px;
    align-items: flex-start;
  }

  .contact-map iframe {
    width: 100% !important;
    min-height: 280px;
  }

  .hero p.lead {
    font-size: 1.02rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .news-story__text,
  .news-card__text {
    font-size: 1rem;
  }

  .news-spotlight__content h2 {
    max-width: none;
  }

  .lead-card__bio {
    font-size: 0.95rem;
  }

  .comm-highlight {
    padding: 16px 16px;
  }

  .footer-col h5 {
    margin-bottom: 14px;
  }

  .footer-brand p {
    max-width: none;
  }
}

/* ----- Phone (≤640) ----- */
@media (max-width:640px) {
  .cta-inner {
    padding: 28px 20px;
    gap: 20px;
  }

  .cta-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    flex: 0 0 auto;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .stat-item {
    padding: 24px 14px;
  }

  .stat-item .lbl {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .form-panel {
    padding: 22px 16px;
    border-radius: 18px;
    width: 100%;
  }

  .contact-page .form-panel {
    padding: 20px 14px;
  }

  .contact-form-title {
    font-size: 1.28rem;
    overflow-wrap: anywhere;
  }

  .contact-page .wpcf7 input[type="text"],
  .contact-page .wpcf7 input[type="email"],
  .contact-page .wpcf7 input[type="tel"],
  .contact-page .wpcf7 select,
  .contact-page .wpcf7 textarea {
    font-size: 16px;
  }

  /* prevent iOS zoom + overflow quirks */
  .ps-card__body {
    padding: 22px 18px;
  }

  .svc-feature {
    padding: 18px;
  }

  .sbo-links a {
    padding: 14px 14px;
  }

  .doc-card {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    padding: 14px;
  }

  .ethics-help {
    padding: 24px 18px;
  }

  .quote-modal__form .wpcf7 input[type="text"],
  .quote-modal__form .wpcf7 input[type="email"],
  .quote-modal__form .wpcf7 select,
  .quote-modal__form .wpcf7 textarea {
    font-size: 16px;
  }

  .video-frame .vf-placeholder-tag {
    top: 12px;
    right: 12px;
    font-size: 0.62rem;
    padding: 5px 8px;
  }
}

/* ----- iPhone 12 / compact phones (≤430) ----- */
@media (max-width:430px) {
  .cta-actions {
    flex-direction: column !important;
  }

  .cta-actions .btn {
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  .utility-bar .u-links {
    gap: 8px;
    font-size: 0.68rem;
  }

  .page-header {
    padding-top: 28px;
    padding-bottom: 24px;
    min-height: 0;
  }

  .page-header h1 {
    font-size: 1.65rem;
  }

  .cta-inner h2 {
    font-size: 1.4rem;
  }

  .cta-inner p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .lead-card__body {
    padding: 20px 16px 24px;
  }

  .lead-card__media {
    min-height: 220px;
  }

  .btn {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 0.88rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .brand-logo {
    max-height: 28px;
  }

  .menu-toggle {
    padding: 8px;
  }

  .nav-row {
    gap: 10px;
  }
}

/* ----- Landscape phones ----- */
@media (max-height:500px) and (max-width:900px) and (orientation:landscape) {
  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .quote-modal__dialog {
    max-height: min(94vh, 100%);
  }
}

@supports (padding: max(0px)) {
  @media (max-width:1280px) {
    header.site-header {
      padding-left: env(safe-area-inset-left, 0px);
      padding-right: env(safe-area-inset-right, 0px);
    }

    .site-footer {
      padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .quote-modal {
      padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    }

    body.nav-open .primary-nav {
      padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    }
  }
}

/* ===== Thank You page ===== */
.thankyou-page .wrap {
  display: flex;
  justify-content: center;
}

.thankyou-card {
  width: 100%;
  max-width: 560px;
  margin: 8px auto 0;
  padding: 48px 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.thankyou-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-card__icon svg {
  width: 30px;
  height: 30px;
}

.thankyou-card h2 {
  margin-top: 22px;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
}

.thankyou-card p {
  margin: 14px auto 0;
  max-width: 420px;
  color: var(--slate);
  line-height: 1.65;
  font-size: 1.05rem;
}

.thankyou-card .btn {
  margin-top: 28px;
}

.quote-modal__success {
  margin-top: 0;
}

@media (max-width:640px) {
  .thankyou-card {
    padding: 36px 22px;
  }
}

/* ===== 404 ===== */
.error-404__body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.error-404__lead {
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.65;
}

.error-404__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.error-404__links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 700;
  color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.error-404__links a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.error-404__search {
  margin-top: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.error-404__search .search-form {
  display: flex;
  gap: 10px;
}

.error-404__search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--panel);
  color: var(--ink);
}

.error-404__search input[type="submit"],
.error-404__search .search-submit {
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.error-404__home {
  margin-top: 28px;
}

@media (max-width:560px) {
  .error-404__links {
    grid-template-columns: 1fr;
  }

  .error-404__search .search-form {
    flex-direction: column;
  }
}