:root {
  --bg: #f4f0eb;
  --bg-alt: #fffdf8;
  --surface: rgba(255, 255, 255, 0.88);
  --ink: #141517;
  --muted: #5f646c;
  --brand: #a71313;
  --brand-deep: #7c0909;
  --brand-soft: #d26666;
  --line: rgba(20, 21, 23, 0.08);
  --shadow: 0 24px 70px rgba(13, 14, 16, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(167, 19, 19, 0.12), transparent 30%),
    radial-gradient(circle at right 10%, rgba(167, 19, 19, 0.08), transparent 35%),
    linear-gradient(180deg, #faf7f2 0%, #f2ebe4 100%);
  font-family: "Bahnschrift", "Segoe UI", "Trebuchet MS", sans-serif;
}

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

.page-shell {
  width: 100%;
  overflow: visible;
}

.section,
.site-header,
.site-footer {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 0.75rem;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar,
.nav-wrap {
  border-radius: 999px;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.45rem 1rem;
  color: rgba(20, 21, 23, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(20, 21, 23, 0.08);
}

.site-header.is-scrolled .nav-wrap {
  background: rgba(255, 255, 255, 0.62);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-copy em {
  margin-top: 0.24rem;
  color: var(--muted);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  color: rgba(20, 21, 23, 0.8);
  font-size: 0.9rem;
}

.primary-nav a {
  padding: 0.4rem 0.2rem;
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transition: right 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  right: 0;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-cta {
  margin-left: auto;
  background: var(--brand);
  color: white;
  box-shadow: 0 14px 24px rgba(167, 19, 19, 0.22);
  white-space: nowrap;
}

.nav-cta:hover,
.button:hover,
.nav-cta:focus-visible,
.button:focus-visible {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

body.subpage-page .menu-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

body.subpage-page .menu-toggle span {
  background: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - 120px);
  padding-top: 3rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.section-heading h2,
.contact-panel h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.lede {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 16px 30px rgba(167, 19, 19, 0.2);
}

.button-secondary {
  background: transparent;
  border: 1px solid rgba(20, 21, 23, 0.14);
  color: var(--ink);
}

.hero-metrics,
.track-grid,
.contact-grid,
.service-grid,
.purpose-grid,
.operations-grid,
.intro-grid {
  display: grid;
  gap: 1rem;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-metrics li,
.visual-card,
.intro-panel,
.service-card,
.purpose-card,
.operations-card,
.track-card,
.contact-card,
.service-tile,
.service-detail-card,
.purpose-value,
.services-cta,
.contact-panel {
  border: 1px solid rgba(20, 21, 23, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
}

.hero-metrics li:hover,
.visual-card:hover,
.intro-panel:hover,
.service-card:hover,
.purpose-card:hover,
.operations-card:hover,
.track-card:hover,
.contact-card:hover,
.service-tile:hover,
.service-detail-card:hover,
.purpose-value:hover,
.services-cta:hover,
.contact-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 19, 19, 0.2);
  box-shadow: 0 28px 60px rgba(13, 14, 16, 0.16);
}

.hero-metrics li {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero-metrics strong {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-metrics span,
.intro-panel span,
.service-card p,
.purpose-card p,
.operations-card p,
.track-card span,
.contact-card span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.visual-card {
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.visual-card-large {
  min-height: 560px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(20, 21, 23, 0.98), rgba(60, 11, 11, 0.94));
  color: white;
}

.visual-card-large::before,
.visual-card-large::after {
  content: "";
  position: absolute;
  inset: auto auto -10% -10%;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
  pointer-events: none;
}

.hero-brand-mark {
  position: absolute;
  top: 7.5rem;
  left: 50%;
  width: min(240px, 54vw);
  transform: translateX(-50%);
  z-index: 1;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.26));
}

.visual-card-large::after {
  inset: -15% -12% auto auto;
  width: 40%;
  height: 40%;
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.rig-base {
  position: absolute;
  inset: auto 8% 10% 8%;
  height: 34%;
  z-index: 0;
}

.rig-shaft,
.rig-pipe,
.rig-pipe-alt {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.16);
}

.rig-shaft {
  bottom: 0;
  width: 22%;
  height: 100%;
  clip-path: polygon(40% 0%, 60% 0%, 76% 100%, 24% 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.06));
}

.rig-pipe,
.rig-pipe-alt {
  bottom: 12%;
  width: 34%;
  height: 8px;
  border-radius: 999px;
}

.rig-pipe {
  left: 27%;
  transform: none;
}

.rig-pipe-alt {
  left: auto;
  right: 27%;
  transform: none;
}

.visual-note {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.visual-note strong {
  font-size: 1rem;
}

.visual-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.visual-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  min-height: 170px;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card span {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stat-card strong {
  font-size: 1.18rem;
  line-height: 1.5;
}

.stat-card.accent {
  background: linear-gradient(135deg, rgba(167, 19, 19, 0.96), rgba(124, 9, 9, 0.94));
  color: white;
}

.stat-card.accent span {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 60rem;
  margin-bottom: 2rem;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.intro-copy {
  font-size: 1.04rem;
  line-height: 1.95;
  color: var(--muted);
}

.intro-panel {
  border-radius: var(--radius-xl);
  padding: 1.2rem;
  display: grid;
  gap: 0.95rem;
}

.panel-row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(167, 19, 19, 0.04);
}

.panel-row span {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-row strong {
  line-height: 1.6;
}

.services-reference {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 3.2rem clamp(0.85rem, 1.2vw, 1.2rem) 3.4rem;
  background: linear-gradient(180deg, rgba(248, 246, 242, 0.98) 0%, rgba(246, 243, 238, 0.98) 100%);
}

.services-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.services-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 1.75rem;
}

.services-heading h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.9vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.services-heading-dark {
  color: #2a2c31;
}

.services-heading-brand {
  color: var(--brand);
}

.services-lede {
  margin: 1rem auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.service-tile {
  min-width: 0;
}

.service-photo {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 310px;
  box-shadow: 0 22px 46px rgba(20, 21, 23, 0.12);
  background: #232428;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
  transform: scale(1.04);
}

.service-tile:hover .service-photo img {
  transform: scale(1.09);
  filter: grayscale(0.7) contrast(1.08) brightness(0.98);
}

.service-tile:hover .service-gradient {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.08) 34%, rgba(167, 19, 19, 0.24) 58%, rgba(167, 19, 19, 0.98) 100%);
}

.service-photo-oil img {
  object-position: 50% 26%;
}

.service-photo-procurement img {
  object-position: 50% 48%;
}

.service-photo-construction img {
  object-position: 50% 35%;
}

.service-photo-project img {
  object-position: 50% 58%;
}

.service-photo-environment img {
  object-position: 50% 64%;
}

.service-photo-manpower img {
  object-position: 50% 70%;
}

.service-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.04) 38%, rgba(167, 19, 19, 0.18) 58%, rgba(167, 19, 19, 0.94) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(167, 19, 19, 0.12));
}

.service-body {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.95rem 1rem;
  align-items: end;
  padding: 1.05rem 1rem 0.95rem 1rem;
  color: white;
}

.service-icon {
  grid-row: 1 / span 1;
  grid-column: 1;
  align-self: end;
  justify-self: start;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
}

.service-icon svg {
  width: 34px;
  height: 34px;
}

.service-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.service-copy h3 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: white;
}

.service-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.98rem;
  line-height: 1.44;
  max-width: 260px;
}

.service-link {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: white;
}

.service-link span {
  font-size: 1.2rem;
}

.services-cta {
  margin-top: 0.72rem;
  border-radius: 12px;
  overflow: hidden;
  min-height: 118px;
  padding: 1rem 1rem 1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background:
    linear-gradient(90deg, rgba(107, 10, 10, 0.92) 0%, rgba(167, 19, 19, 0.9) 56%, rgba(167, 19, 19, 0.78) 100%),
    url('assets/hero-rig.png') center/cover no-repeat;
  box-shadow: 0 18px 42px rgba(20, 21, 23, 0.14);
}

.services-cta-copy {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: white;
}

.services-cta-copy h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.services-cta-copy p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.55;
}

.services-cta-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.services-cta-icon svg {
  width: 38px;
  height: 38px;
  color: #fff;
}

.services-cta-button {
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-deep);
  box-shadow: none;
  border-radius: 8px;
  padding-inline: 1.2rem;
  white-space: nowrap;
}

.services-cta-button:hover,
.services-cta-button:focus-visible {
  color: var(--brand-deep);
}

.section-band {
  padding-top: 0;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.purpose-card,
.operations-card,
.contact-card,
.track-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.service-card {
  min-height: 220px;
}

.service-index {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.service-card h3,
.purpose-card h3,
.operations-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.split-section {
  background: linear-gradient(180deg, rgba(167, 19, 19, 0.06), transparent 72%);
}

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

.purpose-card {
  background: rgba(255, 255, 255, 0.9);
}

.purpose-label {
  margin: 0 0 0.85rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.purpose-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4.8rem clamp(0.85rem, 1.2vw, 1.2rem) 4rem;
  background: linear-gradient(180deg, rgba(248, 246, 242, 0.98) 0%, rgba(246, 242, 237, 0.98) 100%);
}

.purpose-header {
  max-width: 900px;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.purpose-header .eyebrow {
  margin-bottom: 0.85rem;
}

.purpose-header .section-rule {
  margin: 0 auto 1.1rem;
}

.purpose-header h2 {
  margin: 0;
  font-size: clamp(2.55rem, 4.4vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #2a2d32;
}

.purpose-header h2 span:last-child {
  color: var(--brand);
}

.purpose-lede {
  max-width: 760px;
  margin: 1rem auto 0;
  color: #4d535b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.purpose-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}

.purpose-section .purpose-card {
  position: relative;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  color: white;
  background: #b81b1b;
  box-shadow: 0 22px 42px rgba(167, 19, 19, 0.18);
}

.purpose-card-media {
  position: absolute;
  inset: 0;
}

.purpose-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) contrast(1.04) brightness(0.9);
  transform: scale(1.03);
}

.purpose-card:hover .purpose-card-media img {
  transform: scale(1.08);
  filter: grayscale(0.72) contrast(1.06) brightness(0.95);
}

.purpose-card:hover .purpose-card-shade {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(167, 19, 19, 0.12) 52%, rgba(167, 19, 19, 0.88) 100%);
}

.purpose-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(167, 19, 19, 0.18) 52%, rgba(167, 19, 19, 0.94) 100%);
}

.purpose-card-copy {
  position: absolute;
  inset: auto 1.15rem 1.1rem;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.6rem;
}

.purpose-card-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.18);
  background: #b61c1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 24px rgba(35, 8, 8, 0.2);
  margin: 0 auto 0.15rem;
}

.purpose-card-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.purpose-card-copy h3 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.purpose-card-copy p {
  margin: 0 auto;
  max-width: 22ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.7;
}

.purpose-values {
  margin-top: 1.9rem;
  text-align: center;
}

.purpose-values .eyebrow {
  margin-bottom: 1rem;
}

.purpose-values-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 1.15rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 34px rgba(20, 21, 23, 0.08);
}

.purpose-value {
  padding: 0.5rem 0.9rem 0.3rem;
  text-align: center;
}

.purpose-value + .purpose-value {
  border-left: 1px solid rgba(20, 21, 23, 0.08);
}

.purpose-value-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 22px rgba(167, 19, 19, 0.16);
}

.purpose-value-icon svg {
  width: 31px;
  height: 31px;
}

.purpose-value h3 {
  margin: 0;
  color: #2c2f35;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.purpose-value-rule {
  display: block;
  width: 32px;
  height: 3px;
  margin: 0.65rem auto 0.75rem;
  background: var(--brand);
}

.purpose-value p {
  margin: 0;
  color: #585d64;
  font-size: 0.84rem;
  line-height: 1.55;
}

.section-contrast {
  border-radius: 48px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(160deg, rgba(167, 19, 19, 0.98), rgba(95, 6, 6, 0.98));
  color: white;
  padding-inline: 1rem;
}

.section-contrast .eyebrow,
.section-contrast .section-heading h2 {
  color: white;
}

.section-contrast .section-heading p:last-of-type {
  color: rgba(255, 255, 255, 0.7);
}

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

.operations-card,
.track-card,
.contact-card {
  background: rgba(255, 255, 255, 0.94);
}

.section-clients .track-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.track-card {
  display: grid;
  gap: 0.55rem;
  min-height: 180px;
}

.track-card strong {
  font-size: 1.22rem;
  line-height: 1.35;
}

.contact-section {
  padding-bottom: 4rem;
}

.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.1rem;
  padding: 1.6rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 20ch;
}

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

.contact-card strong {
  display: block;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.service-detail {
  padding-top: 0.75rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-detail-card {
  min-height: 220px;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.service-detail-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-detail-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.22rem;
  line-height: 1.18;
}

.service-detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.service-detail-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.service-detail-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.service-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--brand);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 2rem 1.25rem 1.65rem;
  margin-bottom: 1.2rem;
  border-top: 4px solid var(--brand);
  border-radius: 24px 24px 18px 18px;
  background: linear-gradient(180deg, #1a1c20 0%, #111316 100%);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 44px rgba(17, 19, 22, 0.14);
}

.site-footer strong {
  display: block;
  color: white;
  margin-bottom: 0.35rem;
}

.footer-brand {
  display: grid;
  gap: 0.75rem;
}

.footer-brand img {
  width: min(190px, 100%);
  height: auto;
  display: block;
}

.footer-brand p {
  margin: 0;
  max-width: 32ch;
  line-height: 1.65;
}

.footer-column {
  display: grid;
  gap: 0.7rem;
}

.footer-title {
  margin: 0;
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

.footer-note {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-spacer {
  width: 100%;
  height: 100px;
}

.footer-credit {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(20, 21, 23, 0.72);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-align: center;
  border-top: 1px solid rgba(20, 21, 23, 0.08);
  background: rgba(255, 255, 255, 0.44);
  border-radius: 0 0 18px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-credit a {
  color: var(--brand);
  font-weight: 700;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--brand-deep);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1100px) {
  .hero,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 4rem 0;
  }

  .topbar {
    display: none;
  }

  .nav-wrap {
    border-radius: 24px;
  }

  .primary-nav,
  .nav-cta {
    display: none;
  }

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

  .primary-nav.is-open {
    display: grid;
    gap: 0.25rem;
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(20, 21, 23, 0.08);
    box-shadow: 0 22px 48px rgba(20, 21, 23, 0.18);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    z-index: 90;
  }

  .primary-nav.is-open a {
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open .nav-dropdown {
    display: grid;
    gap: 0.15rem;
  }

  .primary-nav.is-open .nav-submenu {
    position: static;
    min-width: 0;
    padding: 0.22rem 0.2rem 0.2rem 0.72rem;
    margin-bottom: 0.35rem;
    border: 1px solid rgba(20, 21, 23, 0.06);
    border-radius: 16px;
    background: rgba(250, 250, 250, 0.95);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav.is-open .nav-submenu a {
    padding: 0.42rem 0;
    border-bottom: 0;
    font-size: 0.72rem;
  }

  .hero h1,
  .section-heading h2,
  .contact-panel h2 {
    font-size: clamp(2.1rem, 10vw, 3.6rem);
  }

  .hero-metrics,
  .service-grid,
  .purpose-grid,
  .operations-grid,
  .section-clients .track-grid,
  .contact-grid,
  .visual-stack {
    grid-template-columns: 1fr;
  }

  .purpose-cards {
    grid-template-columns: 1fr;
  }

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

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

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .section-contrast {
    border-radius: 28px;
  }
}

@media (max-width: 560px) {
  .section,
  .site-header {
    width: min(var(--container), calc(100% - 1rem));
  }

  .nav-wrap {
    padding: 0.75rem 0.8rem;
  }

  .brand-copy em {
    display: none;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .visual-card-large {
    min-height: 440px;
  }

  .hero-brand-mark {
    top: 6rem;
    width: min(200px, 56vw);
  }

  .visual-topline {
    font-size: 0.68rem;
  }

  .hero-metrics li,
  .service-card,
  .purpose-card,
  .operations-card,
  .track-card,
  .contact-card,
  .intro-panel,
  .visual-card.stat-card {
    border-radius: 18px;
  }

  .site-footer {
    padding-bottom: 2rem;
    grid-template-columns: 1fr;
  }

  .footer-spacer {
    height: 100px;
  }

  .footer-credit {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem 0.9rem;
    font-size: 0.8rem;
  }

  .purpose-values-grid {
    grid-template-columns: 1fr;
  }
}

/* Reference-matched hero/header overrides */
header.site-header {
  width: 100%;
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid rgba(20, 21, 23, 0.05);
  box-shadow: 0 1px 10px rgba(20, 21, 23, 0.025);
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}

header.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: rgba(20, 21, 23, 0.05);
  box-shadow: 0 16px 36px rgba(20, 21, 23, 0.08);
}

body.subpage-page header.site-header {
  width: 100%;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.985);
  border-bottom-color: rgba(20, 21, 23, 0.05);
  box-shadow: 0 1px 10px rgba(20, 21, 23, 0.025);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.subpage-page header.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.58);
  border-bottom-color: rgba(20, 21, 23, 0.05);
  box-shadow: 0 16px 36px rgba(20, 21, 23, 0.08);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.header-inner {
  width: min(1440px, calc(100% - 0.9rem));
  min-height: 54px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  position: relative;
}

.brand {
  flex: 0 0 auto;
  justify-self: start;
}

.brand-mark {
  width: 176px;
  max-width: 100%;
  height: auto;
  display: block;
}

body.subpage-page .brand-copy strong,
body.subpage-page .brand-copy em,
body.subpage-page .primary-nav a,
body.subpage-page .nav-dropdown-trigger,
body.subpage-page .nav-cta {
  color: rgba(255, 255, 255, 0.95);
}

body.subpage-page .primary-nav a.is-active,
body.subpage-page .primary-nav a:hover,
body.subpage-page .primary-nav a:focus-visible,
body.subpage-page .nav-dropdown-trigger.is-active,
body.subpage-page .nav-dropdown-trigger:hover,
body.subpage-page .nav-dropdown-trigger:focus-visible {
  color: #fff;
}

body.subpage-page .primary-nav a::after {
  background: rgba(255, 255, 255, 0.92);
}

body.subpage-page .nav-cta {
  background: var(--brand);
  border: 0;
  color: #fff;
  box-shadow: 0 14px 24px rgba(167, 19, 19, 0.22);
  backdrop-filter: none;
}

body.subpage-page .nav-cta:hover,
body.subpage-page .nav-cta:focus-visible {
  background: var(--brand-deep);
}

body.subpage-page .nav-submenu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(20, 21, 23, 0.06);
  box-shadow: 0 18px 34px rgba(20, 21, 23, 0.1);
}

body.subpage-page .nav-submenu a {
  color: #2a2c31;
}

body.subpage-page .nav-submenu a:hover,
body.subpage-page .nav-submenu a:focus-visible {
  background: rgba(167, 19, 19, 0.08);
  color: var(--brand);
}

body.subpage-page .primary-nav.is-open {
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid rgba(20, 21, 23, 0.08);
  box-shadow: 0 22px 48px rgba(20, 21, 23, 0.18);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  z-index: 90;
}

body.subpage-page .primary-nav.is-open a {
  border-bottom-color: rgba(20, 21, 23, 0.08);
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.65rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0 0.42rem;
  color: #2a2c31;
  transition: color 0.2s ease;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0 0.42rem;
  color: #2a2c31;
}

.nav-submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.45rem);
  min-width: 220px;
  padding: 0.65rem;
  border: 1px solid rgba(20, 21, 23, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 34px rgba(20, 21, 23, 0.1);
  display: grid;
  gap: 0.18rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 40;
}

.nav-submenu a {
  justify-content: flex-start;
  padding: 0.62rem 0.75rem;
  border-radius: 12px;
  font-size: 0.76rem;
  color: #2a2c31;
}

.nav-submenu a::after {
  display: none;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(167, 19, 19, 0.08);
  color: var(--brand);
}

.primary-nav a.is-active,
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--brand);
}

.primary-nav a::after {
  bottom: -1px;
  height: 2px;
  background: var(--brand);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.nav-cta {
  margin-left: 0;
  padding: 0.48rem 0.95rem;
  border-radius: 6px;
  font-size: 0.8rem;
  background: linear-gradient(180deg, #c01b17 0%, #a71212 100%);
  box-shadow: 0 12px 22px rgba(167, 19, 19, 0.24);
  justify-self: end;
}

.menu-toggle {
  margin-left: auto;
  width: 38px;
  height: 38px;
}

.hero {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: clamp(720px, 92vh, 860px);
  overflow: hidden;
  background: #fff;
  padding: 0;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  filter: grayscale(1) brightness(0.92) contrast(1.05);
  transform: scale(1.02);
}

.hero-haze {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.95) 22%,
      rgba(255, 255, 255, 0.88) 36%,
      rgba(255, 255, 255, 0.48) 55%,
      rgba(255, 255, 255, 0.08) 72%,
      rgba(255, 255, 255, 0) 84%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.02) 50%,
      rgba(167, 19, 19, 0.08) 76%,
      rgba(167, 19, 19, 0.34) 100%);
}

.hero-river {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -1px;
  height: 33%;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(167, 19, 19, 0) 0%, rgba(167, 19, 19, 0.26) 28%, rgba(167, 19, 19, 0.92) 100%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.18) 0 7px, rgba(255, 255, 255, 0) 7px 22px);
  mix-blend-mode: multiply;
  opacity: 0.92;
  animation: riverDrift 18s linear infinite;
}

.hero-river::before,
.hero-river::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(96deg, rgba(255, 255, 255, 0.22) 0 4px, rgba(255, 255, 255, 0) 4px 26px);
  opacity: 0.55;
  animation: riverSweep 10s linear infinite;
}

.hero-river::after {
  opacity: 0.3;
  transform: translateY(14%);
  animation-duration: 24s;
  animation-direction: reverse;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 2rem));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2.2rem, 4.5vw, 4.8rem) 0 clamp(3rem, 5vw, 5rem);
}

.hero-copy {
  width: min(640px, 100%);
  padding-top: 2rem;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5.9vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-line-dark {
  display: block;
  color: #262a2f;
}

.hero-line-brand {
  display: block;
  color: var(--brand);
}

.hero-text {
  max-width: 560px;
  margin: 1.4rem 0 0;
  color: #4e545b;
  font-size: 1.05rem;
  line-height: 1.9;
}

.hero-button {
  margin-top: 2rem;
  padding: 0.98rem 1.55rem 0.98rem 1.6rem;
  border-radius: 7px;
  gap: 1rem;
  font-size: 1rem;
}

.hero-social {
  position: absolute;
  right: clamp(0.85rem, 1.8vw, 1.5rem);
  top: 49%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-bounce {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(167, 19, 19, 0.26);
  display: grid;
  place-items: center;
  animation: socialBounce 2.1s ease-in-out infinite;
}

.social-bounce svg {
  width: 20px;
  height: 20px;
  display: block;
}

.social-bounce.delay-1 {
  animation-delay: 0.18s;
}

.social-bounce.delay-2 {
  animation-delay: 0.36s;
}

.social-bounce:hover,
.social-bounce:focus-visible {
  transform: translateY(-2px) scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, rgba(167, 19, 19, 0.0), rgba(167, 19, 19, 0.22), rgba(167, 19, 19, 0.0));
  opacity: 0.55;
  z-index: 1;
}

.about-reference {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1.25rem;
  align-items: start;
  padding: 4.75rem clamp(0.85rem, 1.2vw, 1.2rem) 4.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 245, 240, 0.99) 100%);
}

.about-left {
  position: relative;
  z-index: 2;
  padding-top: 1rem;
}

.about-kicker {
  margin: 0;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-rule {
  display: block;
  width: 54px;
  height: 4px;
  margin: 0.8rem 0 1.15rem;
  background: var(--brand);
}

.about-title {
  margin: 0;
  font-size: clamp(2.8rem, 4.2vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #262a2f;
}

.about-title span:last-child {
  display: block;
  color: var(--brand);
}

.about-body {
  max-width: 630px;
  margin-top: 1.3rem;
  color: #3f454d;
  font-size: 1.02rem;
  line-height: 1.9;
}

.about-body p {
  margin: 0 0 1.05rem;
}

.about-body strong {
  color: var(--brand);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  margin-top: 2.8rem;
  padding-top: 0.1rem;
}

.about-stat {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 0 1rem;
  position: relative;
}

.about-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  right: -1px;
  width: 1px;
  height: calc(100% - 32px);
  background: rgba(20, 21, 23, 0.15);
}

.about-stat-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 26px rgba(167, 19, 19, 0.16);
}

.about-stat-icon svg {
  width: 34px;
  height: 34px;
}

.about-stat strong {
  color: var(--brand);
  font-size: clamp(1.85rem, 2.6vw, 2.3rem);
  line-height: 1;
}

.about-stat span:last-child {
  color: #41464e;
  font-size: 0.98rem;
  line-height: 1.45;
}

.about-right {
  position: relative;
  min-height: 920px;
  overflow: visible;
}

.about-arc {
  position: absolute;
  inset: 0 0 0 auto;
  width: 53%;
  background: linear-gradient(180deg, rgba(243, 240, 236, 0.85) 0%, rgba(243, 240, 236, 0.95) 100%);
  border-top-left-radius: 100% 100%;
  border-bottom-left-radius: 0;
  z-index: 0;
}

.about-image-shell {
  position: absolute;
  inset: 0 0 28% 0;
  z-index: 1;
  overflow: hidden;
  clip-path: ellipse(72% 92% at 72% 8%);
}

.about-image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) contrast(1.08) brightness(0.95);
  transform: scale(1.03);
}

.about-image-shell::after,
.why-image-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 245, 240, 0.02) 0%, rgba(248, 245, 240, 0.05) 46%, rgba(167, 19, 19, 0.22) 100%);
  pointer-events: none;
}

.about-logo-block {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 40%;
  background: linear-gradient(180deg, #bd1919 0%, #a41212 100%);
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.about-logo-block::before {
  content: "";
  position: absolute;
  inset: auto -8% -12% auto;
  width: 70%;
  height: 70%;
  background: rgba(95, 6, 6, 0.16);
  transform: rotate(18deg);
  border-radius: 18px;
}

.about-logo-block img {
  position: relative;
  width: min(190px, 68%);
  z-index: 1;
}

.why-reference {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4.6rem clamp(0.85rem, 1.2vw, 1.2rem) 3rem;
  background: linear-gradient(180deg, rgba(248, 245, 240, 0.99) 0%, rgba(244, 240, 235, 0.99) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  gap: 1.4rem;
  align-items: start;
}

.why-copy {
  position: relative;
  z-index: 2;
  padding-top: 0.9rem;
}

.why-kicker,
.trusted-kicker {
  margin: 0;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why-rule,
.section-rule {
  display: block;
  width: 54px;
  height: 4px;
  margin: 0.8rem 0 1.15rem;
  background: var(--brand);
}

.why-title {
  margin: 0;
  font-size: clamp(2.9rem, 4.4vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #262a2f;
}

.why-title span:last-child {
  display: block;
  color: var(--brand);
}

.why-lede {
  max-width: 740px;
  margin: 1.15rem 0 0;
  color: #3f454d;
  font-size: 1.02rem;
  line-height: 1.75;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.6rem;
  background:
    linear-gradient(90deg, rgba(20, 21, 23, 0.1), rgba(20, 21, 23, 0.1)) center/1px 100% no-repeat;
}

.why-feature {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1rem 1rem 0;
  min-height: 108px;
}

.why-feature:nth-child(2n) {
  padding-left: 1.1rem;
}

.why-feature:nth-child(n + 3) {
  border-top: 1px solid rgba(20, 21, 23, 0.08);
}

.why-feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 24px rgba(167, 19, 19, 0.16);
}

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

.why-feature h3 {
  margin: 0 0 0.35rem;
  color: #2c2f35;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.why-feature p {
  margin: 0;
  color: #565b62;
  font-size: 0.92rem;
  line-height: 1.56;
}

.why-visual {
  position: relative;
  width: min(100%, 720px);
  min-height: 780px;
  overflow: visible;
  justify-self: end;
}

.why-arc {
  width: 57%;
}

.why-image-shell {
  inset: 0 0 24% 0;
  clip-path: ellipse(74% 92% at 73% 8%);
}

.why-logo-block {
  width: 34%;
  height: 40%;
}

.why-stats {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(90deg, #ab1616 0%, #c31c18 52%, #a71414 100%);
  box-shadow: 0 20px 42px rgba(167, 19, 19, 0.22);
}

.why-stat {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 1.45rem 1rem;
  color: #fff;
  position: relative;
}

.why-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  width: 1px;
  height: calc(100% - 40px);
  background: rgba(255, 255, 255, 0.2);
}

.why-stat-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(95, 6, 6, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.why-stat-icon svg {
  width: 36px;
  height: 36px;
}

.why-stat strong {
  display: block;
  font-size: clamp(1.8rem, 2.9vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.22rem;
}

.why-stat span:last-child {
  display: block;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.94rem;
  line-height: 1.3;
}

.trusted-block {
  margin-top: 2.1rem;
  text-align: center;
}

.trusted-rule {
  margin: 0.85rem auto 1.1rem;
}

.trusted-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.trusted-track {
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
  width: max-content;
  animation: trustedMarquee 34s linear infinite;
  will-change: transform;
}

.trusted-track:hover {
  animation-play-state: paused;
}

.trusted-logos {
  display: flex;
  gap: 0.9rem;
}

.trusted-logo {
  flex: 0 0 210px;
  min-height: 112px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 247, 0.92));
  border: 1px solid rgba(20, 21, 23, 0.06);
  box-shadow:
    0 10px 22px rgba(20, 21, 23, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.1rem;
  animation: trustedBob 2.8s ease-in-out infinite;
}

.trusted-logo:nth-child(2n) {
  animation-delay: 0.18s;
}

.trusted-logo:nth-child(3n) {
  animation-delay: 0.34s;
}

.trusted-total {
  color: #e51818;
}

.trusted-exxon {
  color: #df2229;
}

.trusted-eni {
  color: #121212;
  text-transform: lowercase;
}

.trusted-chevron {
  color: #2f77bd;
}

.trusted-seplat {
  color: #e61e24;
  text-transform: lowercase;
}

.trusted-oando {
  color: #2e3d8f;
}

.trusted-logo img {
  display: block;
  width: auto;
  max-width: 130px;
  max-height: 42px;
  object-fit: contain;
  filter: saturate(1.04);
}

.trusted-logo span {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 21, 23, 0.5);
}

.trusted-total img,
.trusted-exxon img,
.trusted-chevron img,
.trusted-oando img,
.trusted-seplat img,
.trusted-eni img,
.trusted-nnpc img {
  transform: translateZ(0);
}

.trusted-seplat img {
  max-width: 120px;
  max-height: 58px;
}

.trusted-eni img {
  max-width: 82px;
}

.trusted-oando img {
  max-width: 110px;
}

.trusted-chevron img {
  max-width: 108px;
}

.trusted-total img {
  max-width: 140px;
}

.trusted-exxon img {
  max-width: 128px;
}

.trusted-nnpc img {
  max-width: 96px;
}

.page-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 3.2rem clamp(0.85rem, 1.2vw, 1.2rem) 1.2rem;
  background: linear-gradient(180deg, rgba(248, 246, 242, 0.98) 0%, rgba(243, 239, 234, 0.98) 100%);
}

body.subpage-page .page-hero {
  position: relative;
  min-height: calc(100svh - 72px);
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.06), transparent 24%),
    radial-gradient(circle at 78% 25%, rgba(255, 255, 255, 0.03), transparent 20%),
    linear-gradient(180deg, rgba(34, 0, 0, 0.78) 0%, rgba(16, 0, 0, 0.92) 100%);
}

.page-hero-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: end;
}

body.subpage-page .page-hero-inner {
  position: relative;
  min-height: calc(100svh - 72px);
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  z-index: 2;
}

.page-hero-copy {
  max-width: 760px;
}

body.subpage-page .page-hero-copy {
  position: relative;
  z-index: 4;
  max-width: 920px;
  padding: 0 1rem;
}

.page-hero-copy .eyebrow {
  margin-bottom: 0.7rem;
}

body.subpage-page .page-hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.84);
  letter-spacing: 0.18em;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: #262a2f;
}

body.subpage-page .page-hero h1 {
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-hero h1 span:last-child {
  display: block;
  color: var(--brand);
}

body.subpage-page .page-hero h1 span:last-child {
  color: #fff;
}

.page-hero p {
  margin: 1rem 0 0;
  color: #4d535b;
  font-size: 1.04rem;
  line-height: 1.8;
}

body.subpage-page .page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
  margin-inline: auto;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.15rem 0 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-breadcrumb span {
  color: rgba(255, 255, 255, 0.44);
}

.page-hero-panel {
  min-height: 240px;
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(167, 19, 19, 0.95), rgba(90, 8, 8, 0.96)),
    url('assets/section-main.png') center/cover no-repeat;
  box-shadow: 0 24px 56px rgba(20, 21, 23, 0.16);
  position: relative;
  overflow: hidden;
}

body.subpage-page .page-hero-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  border-radius: 0;
  background:
    linear-gradient(140deg, rgba(92, 0, 0, 0.82), rgba(35, 0, 0, 0.92)),
    url('assets/header-bg.png') center/cover no-repeat;
  box-shadow: none;
  z-index: 0;
  clip-path: none;
  pointer-events: none;
}

body.subpage-page .page-hero-panel::after {
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.12));
}

body.subpage-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 38%, rgba(255, 255, 255, 0.96) 0 2.8px, transparent 3px),
    radial-gradient(circle at 15% 22%, rgba(255, 82, 82, 0.92) 0 4px, transparent 4.2px),
    radial-gradient(circle at 22% 68%, rgba(255, 255, 255, 0.88) 0 2.2px, transparent 2.4px),
    radial-gradient(circle at 31% 52%, rgba(255, 82, 82, 0.9) 0 3.6px, transparent 3.8px),
    radial-gradient(circle at 42% 18%, rgba(255, 255, 255, 0.92) 0 2.4px, transparent 2.6px),
    radial-gradient(circle at 48% 23%, rgba(255, 82, 82, 0.92) 0 4.2px, transparent 4.4px),
    radial-gradient(circle at 61% 38%, rgba(255, 255, 255, 0.94) 0 2.7px, transparent 2.9px),
    radial-gradient(circle at 72% 64%, rgba(255, 82, 82, 0.88) 0 3.5px, transparent 3.7px),
    radial-gradient(circle at 84% 56%, rgba(255, 255, 255, 0.9) 0 2.5px, transparent 2.7px),
    radial-gradient(circle at 93% 28%, rgba(255, 82, 82, 0.84) 0 3.2px, transparent 3.4px);
  opacity: 0.92;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 7px rgba(255, 92, 92, 0.4));
  animation: particleDrift 10s linear infinite, particleFlash 2.8s ease-in-out infinite;
}

body.subpage-page .page-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -4.8rem;
  height: 10rem;
  border-radius: 50%;
  background: var(--bg);
  z-index: 3;
}

.page-social {
  position: absolute;
  right: clamp(0.65rem, 1.6vw, 1.1rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.page-social .social-bounce {
  animation-duration: 2.6s;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.page-social .social-bounce:hover,
.page-social .social-bounce:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.page-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(167, 19, 19, 0.15));
}

.count-up {
  display: inline-block;
  min-width: 3ch;
}

.page-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.2rem clamp(0.85rem, 1.2vw, 1.2rem) 4rem;
}

.page-section-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
}

@keyframes socialBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes trustedMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes trustedBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes riverDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 220px 0, -240px 0;
  }
}

@keyframes riverSweep {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 260px 0;
  }
}

@keyframes particleDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate3d(2.2rem, -1.4rem, 0) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.78;
  }
}

@keyframes particleFlash {
  0%,
  100% {
    filter: drop-shadow(0 0 7px rgba(255, 92, 92, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(255, 92, 92, 0.78));
  }
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 54px;
  }

  .brand-mark {
    width: 154px;
  }

  .primary-nav {
    gap: 1.2rem;
    font-size: 0.76rem;
  }

  .hero-inner {
    gap: 1.5rem;
  }

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

  .why-visual {
    min-height: 640px;
  }

  .why-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trusted-logos {
    gap: 0.75rem;
  }

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

  .page-hero-panel {
    min-height: 220px;
  }
}

@media (max-width: 920px) {
  header.site-header {
    position: sticky;
  }

  .header-inner {
    width: min(1440px, calc(100% - 0.6rem));
    min-height: 50px;
    display: flex;
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 140px;
  }

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

  .primary-nav,
  .nav-cta {
    display: none;
  }

  .primary-nav.is-open {
    display: grid;
    gap: 0.2rem;
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    top: calc(100% + 0.45rem);
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(20, 21, 23, 0.08);
  }

  body.subpage-page .page-hero {
    min-height: 76svh;
  }

  body.subpage-page .page-social {
    top: auto;
    bottom: 1rem;
    right: 0.65rem;
    transform: none;
    gap: 0.65rem;
  }

  .primary-nav.is-open .nav-dropdown {
    display: grid;
    gap: 0.15rem;
  }

  .primary-nav.is-open .nav-submenu {
    position: static;
    min-width: 0;
    padding: 0.18rem 0 0.2rem 0.68rem;
    margin-bottom: 0.2rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav.is-open .nav-submenu a {
    padding: 0.42rem 0;
    border-bottom: 0;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    width: min(1440px, calc(100% - 1rem));
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-social {
    right: 0.6rem;
    top: auto;
    bottom: 1rem;
    transform: none;
    flex-direction: row;
    justify-content: flex-end;
    width: calc(100% - 1.2rem);
    gap: 0.75rem;
  }

  .about-reference {
    grid-template-columns: 1fr;
  }

  .about-right {
    min-height: 640px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 0;
  }

  .about-stat:nth-child(2n)::after {
    display: none;
  }

  .services-reference {
    padding-inline: 0.65rem;
  }

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

  .service-photo {
    min-height: 286px;
  }

  .services-heading {
    margin-bottom: 1.4rem;
  }

  .services-heading h2 {
    font-size: clamp(2.2rem, 8vw, 3.8rem);
  }

  .services-lede {
    font-size: 0.98rem;
  }

  .services-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-cta-button {
    align-self: flex-end;
  }

  .why-features {
    grid-template-columns: 1fr;
    background: none;
  }

  .why-feature {
    padding-right: 0;
    border-top: 1px solid rgba(20, 21, 23, 0.08);
  }

  .why-feature:first-child {
    border-top: 0;
  }

  .why-feature:nth-child(2n) {
    padding-left: 0;
  }

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

  .why-stat {
    padding: 1.2rem 0.9rem;
  }

  .trusted-logos {
    gap: 0.7rem;
  }
}

@media (max-width: 620px) {
  .brand-mark {
    width: 122px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-inner {
    padding-top: 2.2rem;
    padding-bottom: 2.8rem;
  }

  .hero-eyebrow {
    font-size: 0.84rem;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
  }

  .hero-text {
    font-size: 0.98rem;
  }

  body.subpage-page .page-hero {
    min-height: 72svh;
  }

  body.subpage-page .page-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  body.subpage-page .page-hero p {
    font-size: 0.96rem;
  }

  body.subpage-page .page-social {
    right: 0.45rem;
    gap: 0.5rem;
  }

  body.subpage-page .page-social .social-bounce {
    width: 42px;
    height: 42px;
  }

  .hero-social {
    gap: 0.75rem;
  }

  .social-bounce {
    width: 44px;
    height: 44px;
  }

  .about-title {
    font-size: clamp(2.15rem, 10vw, 2.85rem);
  }

  .about-body,
  .about-stat span:last-child {
    font-size: 0.94rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stat:not(:last-child)::after {
    display: none;
  }

  .about-logo-block {
    width: 42%;
    height: 34%;
  }

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

  .services-cta {
    padding: 1rem;
  }

  .services-cta-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-cta-icon {
    width: 62px;
    height: 62px;
  }

  .services-cta-button {
    width: 100%;
    justify-content: center;
    align-self: stretch;
  }

  .why-reference {
    padding-top: 3.8rem;
  }

  .why-title {
    font-size: clamp(2.2rem, 10vw, 2.95rem);
  }

  .why-lede {
    font-size: 0.94rem;
  }

  .why-visual {
    min-height: 540px;
  }

  .why-stats {
    grid-template-columns: 1fr;
  }

  .why-stat:not(:last-child)::after {
    display: none;
  }

  .trusted-logos {
    gap: 0.65rem;
  }

  .trusted-logo {
    min-height: 72px;
    font-size: 1rem;
    flex-basis: 154px;
  }

  .page-hero {
    padding-top: 2.6rem;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .page-hero p {
    font-size: 0.96rem;
  }

  .page-hero-panel {
    min-height: 170px;
    border-radius: 22px;
  }
}

/* Final desktop sticky header override */
@media (min-width: 992px) {
  header.site-header,
  body.subpage-page header.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.985) !important;
    border-bottom: 1px solid rgba(20, 21, 23, 0.05) !important;
    box-shadow: 0 1px 10px rgba(20, 21, 23, 0.025) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  header.site-header .header-inner,
  body.subpage-page header.site-header .header-inner {
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
  }

  header.site-header.is-scrolled .header-inner,
  body.subpage-page header.site-header.is-scrolled .header-inner {
    background: rgba(255, 255, 255, 0.58) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 16px 36px rgba(20, 21, 23, 0.08) !important;
    backdrop-filter: blur(20px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
  }

  body.subpage-page .brand-copy strong,
  body.subpage-page .brand-copy em,
  body.subpage-page .primary-nav a,
  body.subpage-page .nav-dropdown-trigger,
  body.subpage-page .nav-cta {
    color: rgba(20, 21, 23, 0.8) !important;
  }

  body.subpage-page .primary-nav a.is-active,
  body.subpage-page .primary-nav a:hover,
  body.subpage-page .primary-nav a:focus-visible,
  body.subpage-page .nav-dropdown-trigger.is-active,
  body.subpage-page .nav-dropdown-trigger:hover,
  body.subpage-page .nav-dropdown-trigger:focus-visible {
    color: var(--brand) !important;
  }

  body.subpage-page .primary-nav a::after {
    background: var(--brand) !important;
  }

  body.subpage-page .nav-cta {
    background: var(--brand) !important;
    border: 0 !important;
    box-shadow: 0 14px 24px rgba(167, 19, 19, 0.22) !important;
    backdrop-filter: none !important;
  }

  body.subpage-page .nav-cta:hover,
  body.subpage-page .nav-cta:focus-visible {
    background: var(--brand-deep) !important;
  }

  body.subpage-page .nav-submenu {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(20, 21, 23, 0.06) !important;
    box-shadow: 0 18px 34px rgba(20, 21, 23, 0.1) !important;
  }

  body.subpage-page .nav-submenu a {
    color: #2a2c31 !important;
  }

  body.subpage-page .nav-submenu a:hover,
  body.subpage-page .nav-submenu a:focus-visible {
    background: rgba(167, 19, 19, 0.08) !important;
    color: var(--brand) !important;
  }

  body.admin-bar header.site-header,
  body.admin-bar.subpage-page header.site-header {
    top: 32px !important;
  }
}

@media (max-width: 991px) {
  header.site-header,
  body.subpage-page header.site-header {
    position: static !important;
    top: auto !important;
    background: rgba(255, 255, 255, 0.985) !important;
    border-bottom: 1px solid rgba(20, 21, 23, 0.05) !important;
    box-shadow: 0 1px 10px rgba(20, 21, 23, 0.025) !important;
  }

  header.site-header .header-inner,
  body.subpage-page header.site-header .header-inner {
    background: transparent !important;
    box-shadow: none !important;
  }

  body.subpage-page .brand-copy strong,
  body.subpage-page .brand-copy em,
  body.subpage-page .primary-nav a,
  body.subpage-page .nav-dropdown-trigger,
  body.subpage-page .nav-cta {
    color: rgba(20, 21, 23, 0.8) !important;
  }

  body.subpage-page .menu-toggle {
    background: white !important;
    border-color: rgba(20, 21, 23, 0.08) !important;
  }

  body.subpage-page .menu-toggle span {
    background: var(--ink) !important;
  }

  body.subpage-page .primary-nav.is-open {
    background: rgba(255, 255, 255, 0.99) !important;
    border: 1px solid rgba(20, 21, 23, 0.08) !important;
    box-shadow: 0 22px 48px rgba(20, 21, 23, 0.18) !important;
    backdrop-filter: blur(16px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
    z-index: 90 !important;
  }

  body.subpage-page .primary-nav.is-open a {
    border-bottom-color: rgba(20, 21, 23, 0.08) !important;
  }

  body.subpage-page .nav-submenu {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(20, 21, 23, 0.06) !important;
    box-shadow: 0 18px 34px rgba(20, 21, 23, 0.1) !important;
  }

  body.subpage-page .primary-nav.is-open .nav-submenu {
    background: rgba(250, 250, 250, 0.95) !important;
    border: 1px solid rgba(20, 21, 23, 0.06) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42) !important;
  }
}
