/* =========================
   Base / reset
   ========================= */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #1f2a30;
  background: #ebeaf0;
  /* outer gray from mockup */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* =========================
   Layout
   ========================= */
:root {
  --page-w: 1120px;
  --pad: 40px;

  --teal: #2f5f64;
  /* primary */
  --teal-2: #24484c;
  /* darker */
  --sand: #dfd7c6;
  /* secondary */
  --card: #ffffff;
  --muted: #667278;
  --line: #e2e5ea;

  --shadow: 0 8px 22px rgba(18, 28, 33, 0.12);
  --shadow-soft: 0 4px 14px rgba(18, 28, 33, 0.12);
  --radius: 4px;
}

.page {
  max-width: var(--page-w);
  margin: 18px auto;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 2px;
  overflow: hidden;
}

.container {
  width: 100%;
  padding: 0 var(--pad);
}

/* =========================
   Header
   ========================= */
.header {
  background: transparent;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 12px;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.header--tiered::before {
  display: none;
}

.header--scrolled {
  box-shadow: 0 12px 28px rgba(11, 32, 44, 0.12);
}

.header--scrolled::before {
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
  min-width: 0;
}

.brand__logo {
  height: 64px;
  width: auto;
  display: block;
  max-width: 100%;
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 18px;
}

.header--tiered {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__tier {
  position: relative;
}

.header__tier--brand {
  background: #fff;
  border-bottom: 0;
}

.header__tier--nav {
  background: #f8f9fb;
  border-top: 1px solid rgba(12, 32, 44, 0.08);
  border-bottom: 1px solid rgba(12, 32, 44, 0.08);
  overflow: hidden;
  max-height: 140px;
  transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
  position: relative;
}

.header--nav-collapsed .header__tier--nav {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.header__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.header__tier--brand .header__inner {
  justify-content: space-between;
  gap: 18px;
}

.header__tier--brand .header__actions {
  position: static;
  transform: none;
}

.header__tier--brand .brand {
  justify-content: flex-start;
}

.nav {
  display: flex;
  gap: 0;
  align-items: stretch;
  align-self: stretch;
  background: transparent;
  margin: 0;
  padding: 0;
}

.nav--tier {
  min-height: 58px;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #123a4b;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(11, 32, 44, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #0f2f3c;
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(11, 32, 44, 0.28);
}

.nav__link.nav__link--mobile-cta {
  display: none;
}

.nav__link--cta {
  font-weight: 600;
}

.nav__link--cta::after {
  display: none;
}

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: #123a4b;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 32px rgba(11, 32, 44, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.floating-cta:hover,
.floating-cta:focus-visible {
  background: #0f2f3c;
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(11, 32, 44, 0.35);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 20, 28, 0.75);
  backdrop-filter: blur(6px);
}

.lightbox.is-active {
  display: flex;
}

.lightbox__image {
  max-width: min(1200px, 92vw);
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(6, 12, 18, 0.45);
  background: #10171c;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 18, 26, 0.85);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox__prev {
  left: 22px;
}

.lightbox__next {
  right: 22px;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: rgba(8, 18, 26, 0.95);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 18, 26, 0.85);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(8, 18, 26, 0.95);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #d6dbe0;
  border-radius: 6px;
  background: #fff;
  color: #2f373c;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.nav-toggle__icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.nav-toggle__bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-toggle__bar--top {
  transform: translateY(-5px);
}

.nav-toggle__bar--bottom {
  transform: translateY(5px);
}

.nav-toggle.nav-toggle--flash::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 6px;
  background: rgba(18, 58, 75, 0.18);
  pointer-events: none;
}

.nav-toggle.is-open .nav-toggle__bar--top {
  animation: wgBurgerToXTop 240ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.nav-toggle.is-open .nav-toggle__bar--bottom {
  animation: wgBurgerToXBottom 240ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.nav-toggle:not(.is-open) .nav-toggle__bar--top {
  animation: wgXToBurgerTop 240ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.nav-toggle:not(.is-open) .nav-toggle__bar--bottom {
  animation: wgXToBurgerBottom 240ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

@keyframes wgBurgerToXTop {
  0% {
    transform: translateY(-5px) rotate(0deg);
  }
  60% {
    transform: translateY(0) rotate(25deg);
  }
  100% {
    transform: translateY(0) rotate(45deg);
  }
}

@keyframes wgBurgerToXBottom {
  0% {
    transform: translateY(5px) rotate(0deg);
  }
  60% {
    transform: translateY(0) rotate(-25deg);
  }
  100% {
    transform: translateY(0) rotate(-45deg);
  }
}

@keyframes wgXToBurgerTop {
  0% {
    transform: translateY(0) rotate(45deg);
  }
  60% {
    transform: translateY(0) rotate(25deg);
  }
  100% {
    transform: translateY(-5px) rotate(0deg);
  }
}

@keyframes wgXToBurgerBottom {
  0% {
    transform: translateY(0) rotate(-45deg);
  }
  60% {
    transform: translateY(0) rotate(-25deg);
  }
  100% {
    transform: translateY(5px) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header,
  .header::before,
  .header-cta,
  .nav__link--cta,
  .floating-cta,
  .header__tier--nav {
    transition: none;
  }

  .nav,
  .nav__link,
  .mm-overlay,
  .mm-panel,
  .mm-link,
  .mm-cta {
    transition: none;
  }

  .mm-link,
  .mm-cta,
  .nav-toggle__bar {
    animation: none !important;
    transform: none !important;
  }

  .mm-overlay.is-open .mm-link,
  .mm-overlay.is-open .mm-cta {
    opacity: 1 !important;
    transform: none !important;
  }
}


.nav__link {
  text-decoration: none;
  color: #2f373c;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.15;
  text-align: center;
}

.nav__link+.nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(47, 55, 60, 0.25);
  transform: none;
}

.nav__link--mobile-cta + .nav__link::before {
  display: none;
}

.nav__link:hover {
  color: #2a3a40;
}

.nav__link--active {
  color: #0b4a6a;
  font-weight: 800;
  position: relative;
  text-decoration: none;
}

.nav__link--active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  background: #0b4a6a;
  border-radius: 2px;
}

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: stretch;
  background: url("assets/images/hero-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right 25%;
  border-bottom: 1px solid var(--line);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right 25%;
  opacity: 0;
  transition: opacity 1.25s ease;
  z-index: 0;
  display: none;
  pointer-events: none;
}

.hero--carousel .hero__bg {
  display: block;
}

.hero__bg.is-active {
  opacity: 1;
}

.hero--carousel {
  background: none;
}

.hero--carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 16, 24, 0.75) 0%, rgba(5, 16, 24, 0.4) 55%, rgba(5, 16, 24, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero--carousel .hero__title,
.hero--carousel .hero__subtitle {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero__inner {
  padding: 42px var(--pad);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.hero__title {
  margin: 0 0 10px;
  font-family: Merriweather, Georgia, serif;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #1f2a30;
}

.hero__title-soft {
  font-weight: 400;
}

.hero__subtitle {
  margin: 0 0 14px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: #2f373c;
}

.hero .hero__subtitle {
  color: #fff;
}

.hero.sr-hero .hero__title,
.hero.sr-hero .hero__subtitle {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero.sr-hero .hero__bar {
  width: calc(100% + (var(--pad) * 2));
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
  background: rgba(0, 0, 0, 0.45);
  padding: 10px var(--pad);
  border-radius: 0;
  margin-bottom: 12px;
}

.hero.sr-hero .hero__bar .hero__subtitle {
  margin: 0;
}

.hero.wm-hero .hero__title,
.hero.wm-hero .hero__subtitle {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero.wm-hero .hero__inner {
  padding: 42px var(--pad);
}

.hero.wm-hero .hero__bar {
  width: calc(100% + (var(--pad) * 2));
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
  background: rgba(0, 0, 0, 0.45);
  padding: 10px var(--pad);
  border-radius: 0;
  margin-bottom: 12px;
}

.hero.wm-hero .hero__bar .hero__subtitle {
  margin: 0;
}

.hero.ag-hero .hero__title,
.hero.ag-hero .hero__subtitle {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero.ag-hero .hero__bar {
  width: calc(100% + (var(--pad) * 2));
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
  background: rgba(0, 0, 0, 0.45);
  padding: 10px var(--pad);
  border-radius: 0;
  margin-bottom: 12px;
}

.hero.ag-hero .hero__bar .hero__subtitle {
  margin: 0;
}

.hero__actions {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 10px;
}

.hero__overview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(18, 58, 75, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #123a4b;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(11, 32, 44, 0.18);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero__overview:hover,
.hero__overview:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(11, 32, 44, 0.22);
}

.overview-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 20, 28, 0.78);
  backdrop-filter: blur(8px);
}

.overview-modal.is-active {
  display: flex;
}

.overview-modal__panel {
  width: min(92vw, 620px);
  height: min(90vh, 860px);
  aspect-ratio: 3 / 4;
  background: #0e1b24;
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(7, 14, 20, 0.45);
  position: relative;
  overflow: hidden;
  display: flex;
}

.overview-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0e1b24;
  touch-action: pan-x pan-y;
}

.overview-modal__frame.is-hidden {
  display: none;
}

.overview-modal__loading {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 72px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(9, 24, 32, 0.85);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(6, 12, 18, 0.45);
  transition: opacity 0.2s ease;
  z-index: 2;
}

.overview-modal__loading[hidden],
.overview-modal__fallback[hidden] {
  display: none;
}

.overview-modal__loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.overview-modal__spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.8);
  animation: overview-spin 0.9s linear infinite;
}

.overview-modal__fallback {
  position: absolute;
  inset: 16px;
  border-radius: 12px;
  padding: 18px;
  background: rgba(9, 24, 32, 0.92);
  color: rgba(255, 255, 255, 0.88);
  display: grid;
  align-content: start;
  gap: 12px;
  text-align: left;
  z-index: 3;
}

.overview-modal__fallback p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.overview-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 14, 20, 0.7);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.overview-modal__close:hover,
.overview-modal__close:focus-visible {
  background: rgba(7, 14, 20, 0.9);
}

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

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  font-size: 16px;
  font-weight: 700;
}

[data-phone-container] {
  display: none;
}

[data-phone-container][data-phone-enabled="false"] {
  display: none;
}

body.phone-enabled [data-phone-container][data-phone-enabled="true"] {
  display: block;
}

body.phone-enabled .hero__phone[data-phone-enabled="true"],
body.phone-enabled .contact__phone[data-phone-enabled="true"] {
  display: flex;
}

body.phone-enabled .site-footer__item[data-phone-container][data-phone-enabled="true"] {
  display: block;
}

/* Access gate */
.access-locked {
  overflow: hidden;
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(1000px 700px at 80% 20%, rgba(34, 211, 238, 0.18), transparent 50%),
    radial-gradient(900px 700px at 55% 90%, rgba(244, 114, 182, 0.14), transparent 55%),
    linear-gradient(180deg, #05060a, #070912);
}

.access-gate__fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: saturate(1.05);
}

.access-gate__grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.access-gate__grain::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.55) 75%),
    repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      rgba(0, 0, 0, 0) 3px,
      rgba(0, 0, 0, 0) 6px);
  opacity: 0.22;
}

.access-gate__grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.10;
}

.access-gate__wrap {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
}

.access-gate__card {
  width: min(560px, 100%);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.access-gate__card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(600px 180px at 20% 10%, rgba(124, 58, 237, 0.30), transparent 60%),
    radial-gradient(540px 220px at 90% 20%, rgba(34, 211, 238, 0.22), transparent 55%),
    radial-gradient(540px 220px at 50% 120%, rgba(244, 114, 182, 0.18), transparent 55%);
  filter: blur(8px);
  opacity: 0.95;
  z-index: -2;
}

.access-gate__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.35);
  z-index: -1;
}

.access-gate__inner {
  padding: 30px 28px 22px;
  background: linear-gradient(180deg, rgba(10, 14, 28, 0.62), rgba(10, 14, 28, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  margin: 12px;
  backdrop-filter: blur(14px);
}

.access-gate__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}


.access-gate__top h1 {
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.2px;
}

.access-gate__sub {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13.5px;
  line-height: 1.45;
}

.access-gate__divider {
  height: 1px;
  margin: 18px 0 20px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.access-gate__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.access-gate__form label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.access-gate__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.access-gate__input-wrap {
  position: relative;
  flex: 1;
}

.access-gate__input-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 46px 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
  background: rgba(0, 0, 0, 0.30);
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.access-gate__input-wrap input:focus {
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14);
  transform: translateY(-1px);
}

.access-gate__peek {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  width: 34px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.access-gate__peek:hover {
  transform: translateY(-50%) scale(1.03);
  border-color: rgba(255, 255, 255, 0.18);
}

.access-gate__peek:active {
  transform: translateY(-50%) scale(0.98);
}

.access-gate__btn {
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(120px 90px at 30% 20%, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.75), rgba(34, 211, 238, 0.62));
  color: rgba(255, 255, 255, 0.96);
  font-weight: 650;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  white-space: nowrap;
}

.access-gate__btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.45);
}

.access-gate__btn:active {
  transform: translateY(1px) scale(0.99);
}

.access-gate__btn:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.35);
  outline-offset: 2px;
}

.access-gate__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.access-gate__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  user-select: none;
}

.access-gate__pulse {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(34, 211, 238, 0.75);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.14);
}

.access-gate__msg {
  min-height: 20px;
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 10px;
}

.access-gate__msg.good {
  color: rgba(52, 211, 153, 0.95);
}

.access-gate__msg.bad {
  color: rgba(251, 113, 133, 0.95);
}

.access-gate__footer {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12.5px;
}

.access-gate__kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  padding: 2px 8px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.access-gate__footer img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  opacity: 0.9;
}

.access-gate__success {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: radial-gradient(800px 500px at 50% 10%, rgba(52, 211, 153, 0.20), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.70));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.access-gate__success.show {
  opacity: 1;
  pointer-events: auto;
}

.access-gate__success-card {
  width: min(520px, 100%);
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  gap: 14px;
}

.access-gate__check {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.85), rgba(34, 211, 238, 0.50));
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.40);
}

.access-gate__success-title {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.access-gate__success-text {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.45;
}

.access-gate__inner.shake {
  animation: access-shake 0.42s ease;
}

@keyframes access-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-8px);
  }

  40% {
    transform: translateX(7px);
  }

  60% {
    transform: translateX(-5px);
  }

  80% {
    transform: translateX(4px);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .access-gate * {
    animation: none !important;
    transition: none !important;
  }

  .access-gate__grain::after {
    opacity: 0.06;
  }
}

.hero__logo-bar {
  position: absolute;
  right: 0;
  left: auto;
  bottom: 70px;
  padding: 4px 26px 4px 12px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px 0 0 6px;
}

.hero__logo {
  display: block;
  width: 120px;
  height: auto;
  opacity: 0.95;
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: #1f3a3d;
  color: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.btn--primary:hover {
  filter: brightness(1.03);
}

.btn--secondary {
  background: var(--sand);
  color: #233238;
  border-color: rgba(20, 30, 34, 0.12);
}

.btn--secondary:hover {
  filter: brightness(1.02);
}

.btn--download {
  background: var(--teal);
  color: #fff;
  padding: 8px 12px;
  font-size: 11px;
  border-radius: 2px;
}

.btn--small {
  padding: 12px 18px;
  font-size: 14px;
}

.chev {
  font-size: 16px;
  line-height: 1;
  margin-top: -1px;
}

/* =========================
   Solutions cards
   ========================= */
.solutions {
  --cards-overlap: 40px;
  background: linear-gradient(to bottom,
      transparent 0,
      transparent var(--cards-overlap),
      #f2f3f6 var(--cards-overlap));
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
  margin-top: calc(var(--cards-overlap) * -1);
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.legacy-body {
  padding: 36px 0 44px;
  background: #f2f4f7;
  border-bottom: 1px solid var(--line);
}

.legacy-profiles {
  display: grid;
  gap: 20px;
}

.legacy-profile {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #d8dde3;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
  align-items: start;
}

.legacy-profile__text {
  max-width: 720px;
}

.legacy-profile__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7881;
  font-weight: 700;
}

.legacy-profile__name {
  margin: 0 0 12px;
  font-family: Merriweather, Georgia, serif;
  font-size: 22px;
  color: var(--ink);
}

.legacy-profile__text {
  margin: 0 0 12px;
  font-size: 13px;
  color: #4a5860;
  line-height: 1.65;
}

.legacy-profile__media {
  margin: 0;
  max-width: 380px;
}

.legacy-profile__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d8dde3;
  display: block;
  max-height: 520px;
}

.legacy-profile--reverse {
  grid-template-columns: 360px 1fr;
}

.legacy-profile--reverse .legacy-profile__text {
  order: 2;
}

.legacy-profile--reverse .legacy-profile__media {
  order: 1;
}

.legacy-profile--ron .legacy-profile__media img {
  object-position: 50% 0%;
}

.legacy-profile--arthur .legacy-profile__media img {
  object-position: 50% 12%;
}

.legacy-profile--goran .legacy-profile__media img {
  object-position: 50% 0%;
}

.home-gallery {
  padding: 26px 0 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.home-gallery__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.home-gallery__link {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: inherit;
  padding: 12px 44px 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 32, 45, 0.12);
  background: #f8fafc;
  box-shadow: 0 10px 22px rgba(18, 28, 33, 0.08);
  position: relative;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-gallery__link:hover,
.home-gallery__link:focus-visible {
  color: #123a4b;
  border-color: rgba(18, 58, 75, 0.35);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(18, 28, 33, 0.12);
}

.home-gallery__link:focus-visible {
  outline: 3px solid rgba(18, 58, 75, 0.25);
  outline-offset: 2px;
}

.home-gallery__link::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: rgba(18, 58, 75, 0.55);
  transition: transform 0.2s ease, color 0.2s ease;
}

.home-gallery__link:hover::after,
.home-gallery__link:focus-visible::after {
  transform: translateY(-50%) translateX(2px);
  color: rgba(18, 58, 75, 0.9);
}

.home-gallery__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}

.home-gallery__title {
  margin: 0;
  font-size: 20px;
  font-family: Merriweather, Georgia, serif;
  color: var(--ink);
}

.home-gallery__controls {
  display: flex;
  gap: 8px;
}

.home-gallery__btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-gallery__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 24, 32, 0.12);
}

.home-gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: none;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  cursor: grab;
  touch-action: pan-x;
}

.home-gallery__track--auto {
  scroll-behavior: auto;
}

.home-gallery__track::-webkit-scrollbar {
  height: 0;
}

.home-gallery__track::-webkit-scrollbar-track {
  background: transparent;
}

.home-gallery__track::-webkit-scrollbar-thumb {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-gallery__track::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

.home-gallery__track:active {
  cursor: grabbing;
}

.home-gallery__track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.home-gallery__track.is-dragging .home-gallery__img {
  pointer-events: none;
}

.home-gallery__scrollbar {
  position: relative;
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(15, 28, 36, 0.08);
  opacity: 0.2;
  transition: opacity 0.2s ease;
}

.home-gallery__scrollbar-thumb {
  position: absolute;
  top: 1px;
  left: 0;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(196, 212, 223, 0.85));
  border: 1px solid rgba(11, 27, 36, 0.1);
  box-shadow: 0 2px 6px rgba(8, 16, 24, 0.25);
  cursor: pointer;
}

.home-gallery:hover .home-gallery__scrollbar,
.home-gallery.home-gallery--active .home-gallery__scrollbar {
  opacity: 1;
}

.home-gallery__item {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d8dde3;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
}

.home-gallery__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

body.site-gallery-disabled .home-gallery {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
}

body.mm-open {
  overflow: hidden;
}

.mm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

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

.mm-scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 24, 0.42);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mm-overlay.is-open .mm-scrim {
  opacity: 1;
}

.mm-panel {
  position: relative;
  height: 100dvh;
  padding: 16px 18px 22px;
  display: flex;
  flex-direction: column;
  background: #f3f5f7;
  transform: translateY(-14px);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  min-height: 0;
}

.mm-overlay.is-open .mm-panel {
  transform: translateY(0);
  opacity: 1;
}

.mm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0 10px;
}

.mm-logo {
  height: 36px;
  width: auto;
}

.mm-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(18, 32, 45, 0.16);
  background: #ffffff;
  color: #1f2a30;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mm-close:hover,
.mm-close:focus-visible {
  background: #f8fafc;
}

.mm-nav {
  display: grid;
  gap: var(--mm-card-gap, 8px);
  margin-top: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
}

.mm-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--mm-card-pad-x, 18px);
  min-height: var(--mm-card-min-height, 60px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1f2a30;
  text-decoration: none;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(18, 32, 45, 0.08);
  box-shadow: 0 10px 22px rgba(18, 28, 33, 0.08);
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, opacity 0.2s ease;
  opacity: 0;
  transform: translateX(24px);
  transition-delay: calc(var(--i, 0) * 45ms);
  overflow: hidden;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.mm-overlay.is-open .mm-link {
  animation: wgMenuItemIn 240ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
  animation-delay: calc(120ms + (var(--i, 0) * 50ms));
}

.mm-link:active {
  transform: translateY(0) scale(0.985);
  color: #0f2f3c;
  background: rgba(18, 58, 75, 0.08);
}

.mm-link.nav__link--active {
  color: #0f2f3c;
  background: rgba(18, 58, 75, 0.08);
}

.mm-cta {
  position: relative;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 12px;
  background: #1f3a3d;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.2s ease;
  opacity: 0;
  transform: translateX(24px);
  transition-delay: calc(var(--i, 0) * 45ms);
  overflow: hidden;
  width: 100%;
}

.mm-overlay.is-open .mm-cta {
  animation: wgMenuItemIn 240ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
  animation-delay: calc(120ms + (var(--i, 0) * 50ms));
}

.mm-footer {
  flex: 0 0 auto;
  padding-top: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

@keyframes wgMenuItemIn {
  0% {
    opacity: 0;
    transform: translateX(28px);
  }
  70% {
    opacity: 1;
    transform: translateX(-3px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-height: 680px) {
  .mm-panel {
    padding: 12px 14px 18px;
  }

  .mm-nav {
    gap: 6px;
  }

  .mm-link {
    min-height: 52px;
  }
}

@media (max-height: 600px) {
  .mm-panel {
    padding: 10px 12px 16px;
  }

  .mm-nav {
    gap: 5px;
  }

  .mm-link {
    min-height: 48px;
  }
}

.mm-cta:active {
  transform: translateY(0) scale(0.985);
}

.mm-ripple {
  position: absolute;
  border-radius: 999px;
  background: rgba(18, 58, 75, 0.12);
  transform: scale(0);
  animation: mm-ripple 0.36s ease-out;
  pointer-events: none;
}

@keyframes mm-ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

.solution-card {
  background: var(--card);
  border: 1px solid #90989c;
  box-shadow: 6px 8px 16px rgba(18, 24, 28, 0.3);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-rows: 200px auto 48px;
  min-height: 330px;
}

.solution-card__media {
  background-size: cover;
  background-position: center;
}

.solution-card__body {
  background: #1f3a3d;
  color: #fff;
  padding: 12px 12px 10px;
  min-height: 86px;
}

.solution-card__title {
  font-family: Merriweather, Georgia, serif;
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 700;
}

.solution-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.solution-card__footer {
  background: #f7f7f8;
  padding: 10px 12px;
  font-size: 13px;
  color: #2f373c;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.solution-card:hover {
  transform: translateY(-1px);
}

/* =========================
   BCx section
   ========================= */
.bxc {
  background: #fff;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-top: -16px;
}

.bxc__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  align-items: center;
}

.section-title {
  font-family: Merriweather, Georgia, serif;
  font-size: 24px;
  margin: 0 0 12px;
  color: #1f2a30;
}

.section-title--center {
  text-align: center;
  margin-bottom: 6px;
}

.bxc__lead {
  margin: 0 0 14px;
  color: #56656d;
  font-size: 12px;
  line-height: 1.55;
  max-width: 520px;
}

.bxc__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 9px;
  color: #56656d;
  font-size: 12px;
}

.bxc__list li {
  display: grid;
  grid-template-columns: 8px 165px 1fr;
  column-gap: 12px;
  align-items: start;
}

.bxc__label {
  color: #1f2a30;
  font-weight: 700;
}

.bxc__desc {
  line-height: 1.5;
}

.dot {
  width: 8px;
  height: 8px;
  background: #b7c44b;
  border-radius: 50%;
  display: inline-block;
  margin-top: 5px;
  flex: 0 0 8px;
}

.bxc__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bxc__visual img {
  mask-image: radial-gradient(closest-side, black 85%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, black 85%, transparent 100%);
}

/* =========================
   Info pages
   ========================= */
.page-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.55) 40%, rgba(255, 255, 255, 0.05) 100%),
    var(--page-hero-image);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  padding: 34px var(--pad) 30px;
}

.page-hero__title {
  margin: 0 0 10px;
  font-family: Merriweather, Georgia, serif;
  font-size: 30px;
  line-height: 1.2;
  color: #1f2a30;
}

.page-hero__lead {
  margin: 0;
  color: #56656d;
  font-size: 12.5px;
  line-height: 1.6;
  max-width: 720px;
}

.page-section {
  background: #fff;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}

.page-section--alt {
  background: #f2f3f6;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: start;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 3px;
  padding: 16px;
}

.info-media {
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px;
}

.info-card__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2a30;
}

.info-text {
  margin: 0 0 12px;
  color: #56656d;
  font-size: 12.5px;
  line-height: 1.6;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #56656d;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.info-callout {
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
  font-size: 12px;
  color: #56656d;
  line-height: 1.5;
}

.info-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.bio-sheet {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 6px;
  padding: 14px;
}

.bio-sheet__header {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e7ebef;
}

.bio-sheet__photo {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dde3e8 0%, #f7f8fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #7a858b;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
}

.bio-sheet__photo--missing {
  background: #f2f3f6;
  border: 1px dashed #c6ccd1;
  padding: 6px;
}

.bio-sheet__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio-sheet__img--ian {
  object-position: center 35%;
}

.bio-sheet__name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2a30;
}

.bio-sheet__role {
  margin: 0;
  font-size: 12px;
  color: #56656d;
  font-weight: 600;
}

.bio-sheet__text {
  margin: 0;
  font-size: 12px;
  color: #56656d;
  line-height: 1.55;
}

.bio-sheet__text+.bio-sheet__text {
  margin-top: 12px;
}

/* =========================
   Waste management page
   ========================= */
.wm-page {
  background: #f2f3f6;
}

.hero.wm-hero {
  background-image: url("assets/images/Waste Management Hero Image.png");
  background-position: center;
}

.wm-section {
  background: #fff;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}

.wm-section--tight {
  padding-top: 18px;
}

.wm-section--alt {
  background: #f2f4f7;
  padding-top: 24px;
  padding-bottom: 0;
}

.wm-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.wm-split--reverse .wm-media {
  order: -1;
}

.wm-title {
  margin: 0 0 8px;
  font-family: Merriweather, Georgia, serif;
  font-size: 20px;
  color: #1f2a30;
}

.wm-text {
  margin: 0 0 12px;
  font-size: 12px;
  color: #55636b;
  line-height: 1.6;
}

.wm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 12px;
  color: #56656d;
}

.wm-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
}

.wm-copy--center {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.wm-pdf {
  margin: 10px auto 26px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(12, 32, 44, 0.14);
}

.wm-pdf object {
  display: block;
  width: 100%;
  min-height: 720px;
}

.wm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4c7a3f;
}

.wm-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.wm-media img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #d8dde3;
  box-shadow: 0 6px 16px rgba(20, 28, 33, 0.18);
  display: block;
}

.wm-center-title {
  text-align: center;
  font-family: Merriweather, Georgia, serif;
  font-size: 18px;
  margin: 0 0 16px;
  color: #2a3a40;
}

.wm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.wm-step {
  text-align: center;
}

.wm-step__circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 6px solid #fff;
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 14px rgba(20, 28, 33, 0.18);
}

.wm-step__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #2a3a40;
}

.wm-step__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11px;
  color: #5f6b71;
  display: grid;
  gap: 4px;
}

.wm-infographic {
  display: flex;
  justify-content: center;
}

.wm-infographic img {
  width: calc(100% + (var(--pad) * 2));
  max-width: none;
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
  height: auto;
  display: block;
}

.wm-cta {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.1) 100%),
    url("assets/images/Waste Management Hero Image.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 18px 0;
}

.wm-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wm-cta__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.wm-cta__text {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================
   Soil regeneration page
   ========================= */
.sr-page {
  background: #f2f3f6;
}

.hero.sr-hero {
  background-image: url("assets/images/soil restoration hero.png");
  background-position: center;
}

.hero.sr-hero .hero__inner {
  padding: 42px var(--pad);
}

.hero.ag-hero .hero__inner {
  padding: 42px var(--pad);
}

.sr-section {
  background: #fff;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}

.sr-section--tight {
  padding-top: 18px;
}

.sr-section--alt {
  background: #f2f4f7;
  margin-top: -12px;
  padding-top: 10px;
}

.sr-section--outcomes {
  background: #f6f7f9;
}

.sr-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.sr-title {
  margin: 0 0 8px;
  font-family: Merriweather, Georgia, serif;
  font-size: 22px;
  color: #1f2a30;
}

.sr-text {
  margin: 0 0 12px;
  font-size: 13px;
  color: #55636b;
  line-height: 1.6;
}

.sr-outcomes {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.sr-outcomes__lead {
  margin: 0 0 12px;
  font-size: 13px;
  color: #55636b;
  line-height: 1.6;
}

.sr-outcomes__title {
  margin: 0 0 10px;
  font-family: Merriweather, Georgia, serif;
  font-size: 20px;
  color: #1f2a30;
}

.sr-outcomes__right {
  background: #fff;
  border: 1px solid #d8dde3;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 6px 14px rgba(20, 28, 33, 0.12);
}

.sr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 13px;
  color: #56656d;
}

.sr-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
}

.sr-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4c7a3f;
}

.sr-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.sr-media img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #d8dde3;
  box-shadow: 0 6px 16px rgba(20, 28, 33, 0.18);
  display: block;
}

.sr-center-title {
  text-align: center;
  font-family: Merriweather, Georgia, serif;
  font-size: 18px;
  margin: 0 0 12px;
  color: #2a3a40;
}

.sr-center-text {
  margin: 0 auto 16px;
  max-width: 640px;
  text-align: center;
  font-size: 13px;
  color: #55636b;
  line-height: 1.6;
}

.sr-center-text--below {
  margin-top: 16px;
}

.sr-infographic {
  display: flex;
  justify-content: center;
}

.sr-infographic img {
  width: calc(100% + (var(--pad) * 2));
  max-width: none;
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
  height: auto;
  display: block;
}

.sr-cta {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.1) 100%),
    url("assets/images/soil restoration hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 18px 0;
}

.sr-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sr-cta__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.sr-cta__text {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================
   Agriculture page
   ========================= */
.ag-page {
  background: #f2f3f6;
}

.hero.ag-hero {
  background-image: url("assets/images/Agricultural hero image.png");
  background-position: center;
}

.ag-section {
  background: #fff;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}

.ag-section--tight {
  padding-top: 18px;
}

.ag-section--alt {
  background:
    radial-gradient(circle at 50% 0, rgba(214, 228, 236, 0.7), rgba(242, 245, 248, 0.2) 60%),
    #f2f4f7;
}

.ag-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.ag-title {
  margin: 0 0 8px;
  font-family: Merriweather, Georgia, serif;
  font-size: 20px;
  color: #1f2a30;
}

.ag-text {
  margin: 0 0 12px;
  font-size: 12px;
  color: #55636b;
  line-height: 1.6;
}

.ag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 12px;
  color: #56656d;
}

.ag-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
}

.ag-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4c7a3f;
}

.ag-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ag-media img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #d8dde3;
  box-shadow: 0 6px 16px rgba(20, 28, 33, 0.18);
  display: block;
}

.ag-cta {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.1) 100%),
    url("assets/images/feature-agriculture.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 18px 0;
}

.ag-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ag-cta__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.ag-cta__text {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================
   BCx technology page
   ========================= */
.bcx-page {
  background: #f2f3f6;
}

.hero.bcx-hero {
  background-image: url("assets/images/BCX Technology Hero Image.png");
  background-position: center;
}

.hero.bcx-hero .hero__title,
.hero.bcx-hero .hero__subtitle {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero.bcx-hero .hero__inner {
  padding: 42px var(--pad);
}

.hero.bcx-hero .hero__bar {
  width: calc(100% + (var(--pad) * 2));
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
  background: rgba(0, 0, 0, 0.45);
  padding: 10px var(--pad);
  border-radius: 0;
  margin-bottom: 12px;
}

.hero.bcx-hero .hero__bar .hero__subtitle {
  margin: 0;
}

.hero.bios-hero {
  background: url("assets/images/bios-hero.png") center 25%/cover no-repeat;
}

.uc-overlay-active {
  overflow: hidden;
}

.uc-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.uc-overlay__backdrop {
  position: absolute;
  inset: 0;
  display: flex;
  background: rgba(12, 26, 33, 0.78);
  backdrop-filter: blur(4px);
}

.uc-overlay__panel {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  max-width: 920px;
  width: min(920px, 92vw);
  margin: 0 auto;
  margin-top: 140px;
  padding: 36px 42px 38px;
  text-align: center;
  border-radius: 14px;
  background: rgba(9, 24, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(5, 10, 12, 0.55);
  color: #fff;
}

.uc-overlay__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.uc-overlay__logo {
  height: 44px;
  width: auto;
}

.uc-overlay__eyebrow {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.uc-overlay__title {
  margin: 0 0 12px;
  font-family: Merriweather, Georgia, serif;
  font-size: 34px;
  line-height: 1.2;
}

.uc-overlay__text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.uc-overlay__cta {
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  color: #0f2025;
  background: #e8f1f4;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(5, 10, 12, 0.35);
}

.uc-overlay__cta:hover {
  background: #ffffff;
}

.uc-overlay-active header {
  position: relative;
  z-index: 2;
}

.uc-overlay-active header .nav__link:not([href="#contact"]),
.uc-overlay-active .hero .btn--primary,
.uc-overlay-active main > :not(.site-contact),
.uc-overlay-active .site-footer {
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.75;
}

.uc-overlay-active header .nav__link[href="#contact"] {
  pointer-events: auto;
  filter: none;
  opacity: 1;
}

.uc-overlay-active .site-contact,
.uc-overlay-active .site-contact * {
  pointer-events: auto;
  filter: none;
  opacity: 1;
  position: relative;
  z-index: 10000;
}

.uc-overlay-active .site-contact {
  transform: none;
}

.uc-overlay-active .contact-split {
  transform: scale(1.2) translateY(-10%);
  transform-origin: top center;
  width: 83.333%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .uc-overlay__panel {
    padding: 28px 24px 30px;
  }

  .uc-overlay__title {
    font-size: 26px;
  }

  .uc-overlay__eyebrow {
    font-size: 14px;
    letter-spacing: 0.22em;
  }
}

.hero.bios-hero .hero__title,
.hero.bios-hero .hero__subtitle {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero.bios-hero .hero__inner {
  padding: 42px var(--pad);
}

.hero.bios-hero .hero__bar {
  width: calc(100% + (var(--pad) * 2));
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
  background: rgba(0, 0, 0, 0.45);
  padding: 10px var(--pad);
  border-radius: 0;
  margin-bottom: 12px;
}

.hero.bios-hero .hero__bar .hero__subtitle {
  margin: 0;
}

.env-page {
  background: #f2f3f6;
}

.hero.env-hero {
  background-image: url("assets/images/environmental management hero.png");
  background-position: center;
}

.hero.env-hero .hero__title,
.hero.env-hero .hero__subtitle {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero.env-hero .hero__inner {
  padding: 42px var(--pad);
}

.hero.env-hero .hero__bar {
  width: calc(100% + (var(--pad) * 2));
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
  background: rgba(0, 0, 0, 0.45);
  padding: 10px var(--pad);
  border-radius: 0;
  margin-bottom: 12px;
}

.hero.env-hero .hero__bar .hero__subtitle {
  margin: 0;
}

.bcx-section {
  background: #fff;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}

.bcx-section--tight {
  padding-top: 18px;
}

.bcx-section--alt {
  background:
    radial-gradient(circle at 50% 0, rgba(214, 228, 236, 0.7), rgba(242, 245, 248, 0.2) 60%),
    #f2f4f7;
}

.bcx-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.bcx-title {
  margin: 0 0 8px;
  font-family: Merriweather, Georgia, serif;
  font-size: 20px;
  color: #1f2a30;
}

.bcx-text {
  margin: 0 0 12px;
  font-size: 13px;
  color: #55636b;
  line-height: 1.6;
}

.bcx-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 12px;
  color: #56656d;
}

.bcx-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
}

.bcx-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4c7a3f;
}

.bcx-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.bcx-list--wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  margin-top: 8px;
}

.bcx-media img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #d8dde3;
  box-shadow: 0 6px 16px rgba(20, 28, 33, 0.18);
  display: block;
  mask-image: radial-gradient(closest-side, black 85%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, black 85%, transparent 100%);
}

.bcx-copy--cta {
  background: #fff;
  border: 1px solid #d8dde3;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 6px 14px rgba(20, 28, 33, 0.12);
}

.bcx-work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 12px;
}

.bcx-work__item {
  background: #fff;
  border: 1px solid #d8dde3;
  border-radius: 4px;
  padding: 14px;
  box-shadow: 0 6px 14px rgba(20, 28, 33, 0.08);
}

.bcx-work__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #2a3a40;
}

.bcx-work__text {
  margin: 0;
  font-size: 12px;
  color: #56656d;
  line-height: 1.55;
}

.bcx-cta {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.1) 100%),
    url("assets/images/BCX Technology Hero Image.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 18px 0;
}

.bcx-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bcx-cta__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.bcx-cta__text {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================
   Bottom section
   ========================= */
.bottom {
  background: #fff;
  padding: 16px 0 28px;
}

.bottom__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

/* Case studies panel */
.case-studies {
  min-height: 165px;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.38) 45%, rgba(255, 255, 255, 0.00) 80%),
    url("assets/images/case-bg.jpg");
  background-size: cover;
  background-position: right center;
  box-shadow: var(--shadow-soft);
}

.case-studies__overlay {
  padding: 18px 18px 16px;
}

.case-studies__title {
  margin: 0 0 6px;
  font-family: Merriweather, Georgia, serif;
  font-size: 20px;
}

.case-studies__sub {
  font-size: 12px;
  font-weight: 700;
  color: #2a3a40;
  margin-bottom: 6px;
}

.case-studies__text {
  margin: 0 0 12px;
  color: #56656d;
  font-size: 11px;
}

.site-contact {
  background: #f7f8fa;
  padding: 32px 0 40px;
  scroll-margin-top: 140px;
}

/* Contact panel */
.contact {
  background: #f4f5f7;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
}

.contact--card {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px 20px 18px;
  box-shadow: 0 12px 30px rgba(24, 32, 38, 0.08);
}

.contact__title {
  margin: 0 0 8px;
  font-family: Merriweather, Georgia, serif;
  font-size: 20px;
}

.contact__success {
  margin: 8px 0 10px;
  padding: 8px 10px;
  border-radius: 2px;
  border: 1px solid #b8d9c6;
  background: #e8f4ee;
  color: #1f5b3f;
  font-size: 12px;
}

.contact-card__header {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf0f3;
}

.contact-card__title {
  margin: 0 0 4px;
  font-family: Merriweather, Georgia, serif;
  font-size: 18px;
  color: #1f2a30;
}

.contact-card__subtitle {
  margin: 0;
  font-size: 12px;
  color: #6a7780;
}

.contact-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.contact-intro {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.contact-intro__eyebrow {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8a949b;
}

.contact-intro__title {
  margin: 0;
  font-family: Merriweather, Georgia, serif;
  font-size: 20px;
  color: #1f2a30;
  line-height: 1.4;
}

.contact-intro__text {
  margin: 0;
  font-size: 12px;
  color: #56656d;
  line-height: 1.6;
}

.contact-intro__media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e1e5ea;
  background: #f1f2f4;
}

.contact-intro__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.site-footer {
  background: #1f2a30;
  color: #e5edf2;
  padding: 30px 0 0;
  margin-top: 20px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 22px;
  align-items: start;
}

.site-footer__logo {
  height: 38px;
  display: block;
  margin-bottom: 10px;
}

.site-footer__text {
  margin: 0;
  font-size: 12px;
  color: #c9d5dc;
  line-height: 1.6;
}

.site-footer__title {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a8b6bf;
}

.site-footer__link {
  display: block;
  font-size: 12px;
  color: #e5edf2;
  text-decoration: none;
  margin-bottom: 8px;
}

.site-footer__link:hover {
  color: #ffffff;
}

.site-footer__item {
  margin: 0 0 8px;
  font-size: 12px;
  color: #c9d5dc;
}

.site-footer__bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
  background: #1a2328;
}

.site-footer__bottom-inner {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  color: #9fb0ba;
  flex-wrap: wrap;
}

.contact__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #3a4a50;
  margin-bottom: 10px;
}

.form {
  display: grid;
  gap: 12px;
}

.form--contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.error-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, #f7f8fa 0%, #e7ebef 45%, #d7dde3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.error-shell {
  width: min(900px, 100%);
}

.error-card {
  background: #ffffff;
  border: 1px solid #d9dee3;
  box-shadow: 0 16px 40px rgba(31, 42, 48, 0.12);
  border-radius: 12px;
  padding: 36px;
}

.error-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6b7881;
  font-weight: 700;
}

.error-title {
  margin: 0 0 12px;
  font-family: Merriweather, Georgia, serif;
  font-size: 30px;
  color: #1f2a30;
}

.error-text {
  margin: 0 0 20px;
  font-size: 15px;
  color: #4a5860;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.error-brand {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: #1f2a30;
  border-radius: 8px;
}

.error-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.field {
  display: grid;
  gap: 4px;
}

.field__label {
  font-size: 10px;
  color: #7a858b;
}

.field__input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background: #f9fafb;
  outline: none;
  font-size: 12px;
}

.field__input--textarea {
  resize: vertical;
  min-height: 92px;
}

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

.field__input:focus {
  border-color: #9fb4bf;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(159, 180, 191, 0.18);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1100px) {
  :root {
    --pad: 26px;
  }

  .header--nav-collapsed .header__tier--nav {
    max-height: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .header__tier--nav {
    overflow: visible;
  }

  .header__inner {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .header-cta {
    display: none;
  }

  .brand {
    flex: 0 0 auto;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    display: none;
  }

  .nav__link.nav__link--mobile-cta {
    display: none;
  }

  .nav__link {
    height: auto;
    padding: 10px 18px;
  }

  .nav__link+.nav__link::before {
    display: none;
  }

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

  .nav {
    gap: 11px;
  }

  .floating-cta {
    right: 20px;
    bottom: 20px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero {
    min-height: 380px;
  }

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

  .solutions {
    --cards-overlap: 28px;
  }

  .home-gallery__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-gallery__controls {
    width: 100%;
    justify-content: flex-start;
  }

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

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

  .contact-split {
    grid-template-columns: 1fr;
  }

  .contact-intro__img {
    height: 180px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .bio-sheet__header {
    grid-template-columns: 1fr;
  }

  .bio-sheet__photo {
    width: 100%;
    height: 340px;
  }

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

  .wm-split {
    grid-template-columns: 1fr;
  }

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

  .legacy-profile__media {
    order: -1;
    max-width: 100%;
  }

  .legacy-profile__text {
    order: 2;
  }

  .legacy-profile__media img {
    aspect-ratio: 3 / 4;
    max-height: 420px;
    height: auto;
  }

  .legacy-profile--ron .legacy-profile__media img {
    object-position: 50% 0%;
  }

  .legacy-profile--arthur .legacy-profile__media img {
    object-position: 50% 12%;
  }

  .legacy-profile--goran .legacy-profile__media img {
    object-position: 50% 0%;
  }

  .wm-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sr-split {
    grid-template-columns: 1fr;
  }

  .sr-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sr-outcomes {
    grid-template-columns: 1fr;
  }

  .ag-split {
    grid-template-columns: 1fr;
  }

  .ag-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .bcx-split {
    grid-template-columns: 1fr;
  }

  .bcx-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .bcx-list--wide {
    grid-template-columns: 1fr;
  }

  .bcx-work {
    grid-template-columns: 1fr;
  }

  .bcx-work__item {
    box-shadow: none;
  }
}

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

  .overview-modal__panel {
    width: min(92vw, 520px);
    height: min(90vh, 760px);
    border-radius: 12px;
  }

  .floating-cta {
    left: 50%;
    right: auto;
    bottom: 16px;
    width: calc(100% - 32px);
    max-width: 360px;
    transform: translateX(-50%);
  }

  .floating-cta:hover,
  .floating-cta:focus-visible {
    transform: translateX(-50%) translateY(-1px);
  }
}

@media (max-width: 620px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --pad: 18px;
  }

  .brand__logo {
    max-height: clamp(34px, 6vw, 48px);
  }

  .hero__inner {
    padding: 32px var(--pad);
  }

  .hero__title {
    font-size: 28px;
  }

  .hero {
    min-height: 320px;
  }

  .hero__actions {
    flex-wrap: wrap;
  }

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

  .solutions {
    --cards-overlap: 18px;
  }

  .page-hero__title {
    font-size: 24px;
  }

  .bio-card__photo {
    height: 140px;
  }

  .hero.wm-hero {
    min-height: 320px;
  }

  .hero.sr-hero {
    min-height: 320px;
  }

  .hero.bcx-hero {
    min-height: 320px;
  }

  .hero.env-hero {
    min-height: 320px;
  }
}

@media (max-width: 360px) {
  .nav-toggle {
    padding: 8px 10px;
  }

  .nav-toggle__label {
    display: none;
  }
}
