/* =====================================================================
   LERTPUN — Oilfield Services Consulting
   Palette borrowed from mont-fort.com: deep blue #2D628C, steel #81A0BB,
   pale #A9BFD2, white / black. Layout rhythm borrowed from benchoc.com.
   ===================================================================== */

:root {
  --blue: #2d628c;
  --blue-deep: #1f4a6c;
  --steel: #81a0bb;
  --pale: #a9bfd2;
  --mist: #e6edf3;
  --navy: #0d1b2a;
  --navy-2: #12243a;
  --ink: #0b141d;
  --white: #ffffff;
  --text: #1a2633;
  --muted: #5a6b80;
  --line: rgba(13, 27, 42, .12);
  --line-light: rgba(255, 255, 255, .18);

  --font-head: "Jost", "Century Gothic", "Futura", sans-serif;
  --font-label: "Josefin Sans", "Jost", sans-serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
body.theme-dark { background: var(--navy); color: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow, .theme-dark .eyebrow { color: var(--pale); }
.h-display { font-size: clamp(38px, 6.2vw, 78px); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; text-wrap: balance; }
.h-1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 400; text-wrap: balance; }
.h-2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 400; text-wrap: balance; }
.h-3 { font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 62ch; font-weight: 300; }
.on-dark .lead { color: var(--pale); }
.accent { color: var(--steel); }

/* ---------- Buttons (mont-fort header style: thin uppercase, pill outline) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-label);
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  padding: 16px 30px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  position: relative; overflow: hidden;
}
.btn .arrow { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover { background: var(--blue); color: #fff; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white:hover { background: var(--pale); border-color: var(--pale); color: var(--navy); }
.link-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue);
}
.link-more .arrow { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.link-more:hover .arrow { transform: translateX(5px); }
.on-dark .link-more { color: var(--pale); }

/* ---------- Top utility bar (benchoc) ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: 34px;
  font-family: var(--font-label); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.topbar .container--wide { display: flex; justify-content: flex-end; gap: 32px; align-items: center; height: 100%; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 13px; height: 13px; opacity: .8; }
.topbar a:hover { color: #fff; }
.is-scrolled .topbar { transform: translateY(-100%); opacity: 0; }
body.theme-light-hero .topbar { color: var(--muted); }

/* ---------- Header (mont-fort) ---------- */
.site-header {
  position: fixed; top: 34px; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: top .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease), color .5s var(--ease), height .5s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(13, 27, 42, 0);
  backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
}
.is-scrolled .site-header { top: 0; height: 72px; }
.is-scrolled .site-header::before {
  background: rgba(13, 27, 42, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
body.theme-light-hero:not(.is-scrolled) .site-header { color: var(--navy); }
.site-header .container--wide { display: flex; align-items: center; height: 100%; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand svg { width: 40px; height: 40px; }
.brand-word { font-family: var(--font-head); font-size: 17px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; line-height: 1; padding-left: .32em; }
.brand-sub { display: block; font-family: var(--font-label); font-size: 8.5px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; margin-top: 5px; }

.nav { position: relative; display: flex; align-items: center; }
.nav ul { display: flex; gap: 6px; }
.nav a {
  display: block; padding: 34px 11px 30px;
  font-family: var(--font-label); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap; opacity: .78; transition: opacity .3s;
}
.nav a:hover, .nav a.active { opacity: 1; }
.nav-indicator {
  position: absolute; bottom: 22px; left: 0; height: 1.5px; width: 0;
  background: currentColor; opacity: 0;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s;
}
.is-scrolled .nav a { padding: 28px 11px 24px; }
.is-scrolled .nav-indicator { bottom: 18px; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions .btn { padding: 12px 22px 10px; border-color: currentColor; color: inherit; font-size: 10.5px; }
.header-actions .btn:hover { background: #fff; color: var(--navy); border-color: #fff; }
body.theme-light-hero:not(.is-scrolled) .header-actions .btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.menu-cta {
  display: inline-flex; align-items: center; gap: 14px;
  background: none; border: 0; color: inherit; padding: 8px 0;
  font-family: var(--font-label); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
}
.dots-w { display: grid; grid-template-columns: repeat(2, 5px); gap: 4px; }
.dots-w .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: transform .4s var(--ease); }
.menu-cta:hover .dot:nth-child(1) { transform: translate(-2px, -2px); }
.menu-cta:hover .dot:nth-child(2) { transform: translate(2px, -2px); }
.menu-cta:hover .dot:nth-child(3) { transform: translate(-2px, 2px); }
.menu-cta:hover .dot:nth-child(4) { transform: translate(2px, 2px); }

/* Full-screen overlay menu */
.overlay-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy);
  color: #fff;
  clip-path: circle(0% at calc(100% - 60px) 60px);
  transition: clip-path .8s var(--ease);
  overflow-y: auto;
}
.overlay-menu.open { clip-path: circle(150% at calc(100% - 60px) 60px); }
.overlay-menu .container--wide { min-height: 100vh; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding: 120px 0 60px; align-items: center; }
.overlay-menu .close {
  position: absolute; top: 40px; right: var(--gutter);
  background: none; border: 1.5px solid rgba(255, 255, 255, .25); color: #fff;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  transition: background .3s, border-color .3s;
}
.overlay-menu .close:hover { background: #fff; color: var(--navy); border-color: #fff; }
.overlay-menu .close svg { width: 18px; height: 18px; }
.overlay-links li { overflow: hidden; }
.overlay-links a {
  display: inline-flex; align-items: baseline; gap: 20px;
  font-family: var(--font-head); font-size: clamp(34px, 5vw, 62px); font-weight: 300; line-height: 1.25;
  transform: translateY(110%); transition: transform .8s var(--ease), color .3s;
}
.overlay-menu.open .overlay-links a { transform: translateY(0); }
.overlay-links li:nth-child(1) a { transition-delay: .15s } .overlay-links li:nth-child(2) a { transition-delay: .2s }
.overlay-links li:nth-child(3) a { transition-delay: .25s } .overlay-links li:nth-child(4) a { transition-delay: .3s }
.overlay-links li:nth-child(5) a { transition-delay: .35s } .overlay-links li:nth-child(6) a { transition-delay: .4s }
.overlay-links a:hover, .overlay-links a.active { color: var(--pale); }
.overlay-links a small { font-family: var(--font-label); font-size: 11px; letter-spacing: .25em; color: var(--steel); }
.overlay-aside { font-weight: 300; color: var(--pale); border-left: 1px solid var(--line-light); padding-left: 40px; }
.overlay-aside h4 { font-family: var(--font-label); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.overlay-aside p { margin-bottom: 26px; }
.overlay-aside a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  isolation: isolate;
}
.hero--short { min-height: 78vh; }
.hero__content .hero__actions { margin-bottom: 10px; }
.hero__media { position: absolute; inset: -12% 0 0 0; z-index: -2; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.08); animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 27, 42, .55) 0%, rgba(13, 27, 42, .18) 35%, rgba(13, 27, 42, .86) 100%),
    linear-gradient(90deg, rgba(13, 27, 42, .6), rgba(13, 27, 42, .1) 60%, rgba(13, 27, 42, .35) 100%);
}
.hero__content { position: relative; width: 100%; padding: 190px 0 150px; }
.hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; }
.hero__aside { font-weight: 300; color: var(--pale); border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 28px; max-width: 46ch; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 116px;
  font-family: var(--font-label); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7); display: flex; flex-direction: column; align-items: center; gap: 12px;
  writing-mode: vertical-rl; transition: opacity .5s; pointer-events: none;
}
/* not enough vertical room for the cue to sit clear of the hero actions */
@media (max-height: 760px) { .scroll-cue { display: none; } }
.scroll-cue::after { content: ""; width: 1px; height: 46px; flex: none; background: linear-gradient(to bottom, rgba(255, 255, 255, .8), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }
.is-scrolled .scroll-cue { opacity: 0; }

/* text-line reveal used in hero */
.reveal-lines > * { opacity: 0; transform: translateY(28px); animation: lineIn 1s var(--ease) forwards; }
.reveal-lines > *:nth-child(1) { animation-delay: .25s } .reveal-lines > *:nth-child(2) { animation-delay: .4s }
.reveal-lines > *:nth-child(3) { animation-delay: .55s } .reveal-lines > *:nth-child(4) { animation-delay: .7s }
.reveal-lines > *:nth-child(5) { animation-delay: .85s }
@keyframes lineIn { to { opacity: 1; transform: none } }

/* ---------- Service cards overlapping hero (benchoc) ---------- */
.services-strip { position: relative; z-index: 2; margin-top: -92px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: #fff; padding: 40px 34px 38px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; min-height: 300px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13, 27, 42, .35); }
.card:hover::before { transform: scaleX(1); }
.card__num { font-family: var(--font-label); font-size: 11px; letter-spacing: .25em; color: var(--steel); }
.card__icon { width: 44px; height: 44px; color: var(--blue); }
.card h3 { font-size: 20px; font-weight: 500; margin: 6px 0 0; }
.card p { color: var(--muted); font-size: 15px; font-weight: 300; flex: 1; }

/* ---------- Generic sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark { background: var(--navy); color: #fff; }
.section--ink { background: var(--ink); color: #fff; }
.section--mist { background: var(--mist); }
.section--blue { background: var(--blue); color: #fff; }
.on-dark .lead, .section--dark .lead, .section--ink .lead, .section--blue .lead { color: var(--pale); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .lead { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split--rev > :first-child { order: 2; }

/* Media frames with subtle scroll shift */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--navy-2); }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: translateY(var(--shift, 0)) scale(1.12); transition: transform .1s linear; }
.frame__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; font-family: var(--font-label); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #fff; background: linear-gradient(to top, rgba(13, 27, 42, .85), transparent); }
.frame--offset { margin-top: 80px; }

/* Mission / stats (benchoc "Industry leaders") */
.mission { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.mission__bg { position: absolute; inset: -15% 0; z-index: -2; }
.mission__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.mission::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 27, 42, .96) 0%, rgba(13, 27, 42, .8) 55%, rgba(45, 98, 140, .55) 100%); }
.mission .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding-block: clamp(90px, 12vw, 160px); }
.mission .h-1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; text-transform: uppercase; letter-spacing: -.005em; }
.mission .h-1 span { display: block; font-weight: 300; color: var(--pale); font-size: .55em; letter-spacing: .12em; margin-top: 12px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.stat { padding: 30px 26px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .08); }
.stat__n { font-family: var(--font-head); font-size: clamp(40px, 4.4vw, 58px); font-weight: 300; line-height: 1; color: #fff; }
.stat__n sup { font-size: .45em; color: var(--pale); vertical-align: top; margin-left: 2px; }
.stat__l { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--pale); margin-top: 12px; }

/* Feature list (benchoc "Overview of experience") */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.feature { border-top: 1px solid var(--line); padding-top: 26px; }
.section--dark .feature, .section--ink .feature { border-top-color: var(--line-light); }
.feature__k { font-family: var(--font-label); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; display: block; }
.feature h3 { font-size: 20px; font-weight: 500; }
.feature p { color: var(--muted); font-weight: 300; font-size: 15.5px; }
.section--dark .feature p, .section--ink .feature p { color: var(--pale); }

/* ---------- Chapters: sticky media that shifts as you scroll (mont-fort, restrained) ---------- */
.chapters { position: relative; background: var(--ink); color: #fff; }
.chapters__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.chapters__media { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.chapters__stack { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 78vh; overflow: hidden; border-radius: var(--radius); }
.chapters__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.chapters__stack img.is-active { opacity: 1; transform: scale(1); }
.chapters__stack::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 16, 25, .6), transparent 50%); pointer-events: none; }
.chapters__counter { position: absolute; left: 24px; bottom: 22px; font-family: var(--font-label); font-size: 11px; letter-spacing: .3em; color: var(--pale); z-index: 2; }
.chapters__counter b { font-weight: 400; color: #fff; font-size: 28px; font-family: var(--font-head); display: block; margin-bottom: 6px; }
.chapters__list { padding: clamp(80px, 10vw, 140px) 0; }
.chapter { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .7s var(--ease); }
.chapter.is-active { opacity: 1; }
.chapter__num { font-family: var(--font-label); font-size: 11px; letter-spacing: .3em; color: var(--steel); display: block; margin-bottom: 22px; }
.chapter h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 300; }
.chapter p { color: var(--pale); font-weight: 300; max-width: 52ch; }
.chapter ul { margin: 22px 0 28px; display: grid; gap: 10px; }
.chapter li { padding-left: 22px; position: relative; font-weight: 300; color: #fff; font-size: 15.5px; }
.chapter li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--steel); }

/* ---------- Timeline ribbon ---------- */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; margin-top: 40px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.section--dark .timeline::before { background: var(--line-light); }
.tl { padding: 32px 22px 0 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--white); }
.section--dark .tl::before { box-shadow: 0 0 0 4px var(--navy); background: var(--pale); }
.tl__y { font-family: var(--font-label); font-size: 11px; letter-spacing: .25em; color: var(--steel); }
.tl h4 { font-size: 17px; font-weight: 500; margin: 8px 0 6px; }
.tl p { font-size: 14px; color: var(--muted); font-weight: 300; margin: 0; }
.section--dark .tl p { color: var(--pale); }

/* ---------- Leader ---------- */
.leader { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.leader__portrait { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--blue-deep), var(--navy)); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; color: #fff; }
.leader__portrait .initials { font-family: var(--font-head); font-size: clamp(90px, 12vw, 160px); font-weight: 200; letter-spacing: .08em; color: rgba(255, 255, 255, .85); }
.leader__portrait .tag { position: absolute; left: 26px; bottom: 24px; font-family: var(--font-label); font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase; color: var(--pale); }
.leader__portrait::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(129, 160, 187, .35), transparent 55%); }
.leader__quote { font-family: var(--font-head); font-size: clamp(22px, 2.3vw, 30px); font-weight: 300; line-height: 1.35; margin: 26px 0 30px; color: var(--text); }
.section--dark .leader__quote { color: #fff; }
.leader__quote::before { content: "“"; color: var(--steel); }
.leader__quote::after { content: "”"; color: var(--steel); }
.leader__meta { display: flex; gap: 40px; flex-wrap: wrap; margin: 30px 0; }
.leader__meta div { font-size: 14px; color: var(--muted); font-weight: 300; }
.leader__meta b { display: block; font-family: var(--font-label); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; font-weight: 400; }

/* ---------- Regions ---------- */
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line-light); border: 1px solid var(--line-light); }
.region { background: var(--navy); padding: 34px 28px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; transition: background .4s var(--ease); }
.region:hover { background: var(--navy-2); }
.region__k { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase; color: var(--steel); }
.region h4 { font-size: 20px; font-weight: 400; margin: 20px 0 6px; }
.region p { font-size: 14px; color: var(--pale); margin: 0; font-weight: 300; }

/* ---------- CTA band (benchoc "Work with us") ---------- */
.cta { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: -15% 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(45, 98, 140, .92), rgba(13, 27, 42, .85)); }
.cta .container { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding-block: clamp(70px, 9vw, 120px); }
.cta .h-2 { font-weight: 300; max-width: 26ch; }
.cta__actions { display: flex; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--pale); padding: clamp(60px, 8vw, 100px) 0 40px; font-weight: 300; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.site-footer h4 { font-family: var(--font-label); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 12.5px; color: var(--steel); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: -12% 0 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 27, 42, .6), rgba(13, 27, 42, .38) 40%, rgba(13, 27, 42, .92)), linear-gradient(90deg, rgba(13, 27, 42, .45), rgba(13, 27, 42, 0) 70%); }
.page-hero .container { padding: 200px 0 80px; }
.breadcrumb { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase; color: var(--pale); margin-bottom: 20px; display: flex; gap: 14px; }
.breadcrumb span::before { content: "/"; margin-right: 14px; opacity: .5; }

/* Services detail list */
.service-rows { display: grid; gap: 2px; }
.service-row { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); align-items: start; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row__n { font-family: var(--font-head); font-size: 40px; font-weight: 200; color: var(--steel); line-height: 1; }
.service-row h3 { font-size: 26px; font-weight: 400; margin-bottom: 10px; }
.service-row p { color: var(--muted); font-weight: 300; }
.service-row ul { display: grid; gap: 10px; }
.service-row li { position: relative; padding-left: 22px; font-size: 15px; font-weight: 300; }
.service-row li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 1px; background: var(--blue); }

/* Checklist / pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: #fff; padding: 40px 34px; }
.pillar__k { font-family: var(--font-label); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--steel); display: block; margin-bottom: 16px; }
.pillar h3 { font-size: 21px; font-weight: 500; }
.pillar p { color: var(--muted); font-weight: 300; font-size: 15.5px; }
.pillar ul { margin-top: 16px; display: grid; gap: 8px; }
.pillar li { font-size: 14.5px; font-weight: 300; padding-left: 20px; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 1px; background: var(--blue); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); }
.contact-list li { border-top: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: 120px 1fr; gap: 20px; font-weight: 300; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list b { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase; color: var(--steel); font-weight: 400; padding-top: 4px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-label); font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-weight: 300; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); outline: none; transition: border-color .3s;
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--blue); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); font-weight: 300; }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s } .rv-d2 { transition-delay: .2s } .rv-d3 { transition-delay: .3s } .rv-d4 { transition-delay: .4s }
.rv-fade { opacity: 0; transition: opacity 1.2s var(--ease); }
.rv-fade.in { opacity: 1; }
.rv-img { position: relative; }
.rv-img::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--curtain, var(--white)); transform: scaleY(1); transform-origin: bottom; transition: transform 1.1s var(--ease); pointer-events: none; }
.rv-img.in::after { transform: scaleY(0); }
.section--dark, .section--ink, .chapters, .mission { --curtain: var(--navy); }
.section--mist { --curtain: var(--mist); }

/* Progress bar under header (mont-fort slide progress) */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 70; transform-origin: left; transform: scaleX(0); background: var(--steel); opacity: 0; transition: opacity .4s; }
.is-scrolled .progress { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .timeline::before { display: none; }
  .tl::before { top: 6px; }
  .regions { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row ul { grid-column: 2; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .site-header { top: 0; }
  .header-actions .btn { display: none; }
  .brand-word { font-size: 18px; }
  .brand-sub { display: none; }
  .scroll-cue { display: none; }
  .hero__content { padding: 150px 0 110px; }
  .hero__grid, .split, .section-head, .mission .container, .cta .container, .leader, .contact-grid, .chapters__grid, .overlay-menu .container--wide { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .hero__aside { border-left: 0; padding-left: 0; }
  .services-strip { margin-top: -40px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .chapters__media { position: relative; height: auto; top: auto; padding-top: 80px; }
  .chapters__stack { aspect-ratio: 16 / 11; max-height: none; }
  .chapters__list { padding-top: 40px; }
  .chapter { min-height: 0; padding: 40px 0; opacity: 1; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .regions { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .frame--offset { margin-top: 0; }
  .overlay-aside { border-left: 0; padding-left: 0; }
  .overlay-menu .container--wide { padding-top: 110px; }
  .page-hero .container { padding: 150px 0 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv-fade, .rv-img, .reveal-lines > * { opacity: 1; transform: none; clip-path: none; animation: none; }
  .hero__media img { animation: none; transform: none; }
  .frame img { transform: none; }
  .scroll-cue::after { animation: none; }
  .chapters__stack img { transition: opacity .3s; }
  * { transition-duration: .01ms !important; }
}


/* ============================================================ v2 components */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 14px 22px;
  font-family: var(--font-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }

/* ---------- header dropdown panels ---------- */
.nav li { position: relative; }
.nav-panel {
  position: absolute; top: 100%; left: 0; width: max-content; min-width: 240px; max-width: 320px;
  background: rgba(13, 27, 42, .97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 10px 0; margin-top: -8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.nav li.has-sub:hover .nav-panel, .nav li.has-sub:focus-within .nav-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-panel ul { display: block; gap: 0; }
.nav-panel a {
  padding: 11px 22px; font-size: 10.5px; letter-spacing: .12em;
  color: var(--pale); opacity: 1; white-space: nowrap;
}
/* panels near the right edge open leftwards so they stay on screen */
.nav li.has-sub:nth-last-child(-n+3) .nav-panel { left: auto; right: 0; }
.nav-panel a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav li.has-sub > a::after {
  content: ""; display: inline-block; width: 4px; height: 4px; margin-left: 7px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .6;
}

/* ---------- overlay sub-lists ---------- */
.overlay-links > li { margin-bottom: 4px; }
.overlay-links a { font-size: clamp(26px, 3.4vw, 40px); }
.overlay-sub {
  display: flex; flex-wrap: wrap; gap: 4px 26px;
  padding: 4px 0 14px 48px; max-width: 640px;
}
.overlay-sub a {
  font-family: var(--font-body); font-size: 14px; font-weight: 300;
  color: var(--steel); transform: none; letter-spacing: 0;
}
.overlay-sub a:hover { color: #fff; }
.overlay-menu .container--wide { align-items: start; padding-top: 130px; }

/* ---------- in-page anchor nav ---------- */
.anchor-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.anchor-nav .container { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav .container::-webkit-scrollbar { display: none; }
.anchor-nav a {
  flex: none; padding: 20px 0; position: relative;
  font-family: var(--font-label); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; transition: color .3s;
}
.anchor-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.anchor-nav a:hover, .anchor-nav a.current { color: var(--blue); }
.anchor-nav a.current::after { transform: scaleX(1); }
.is-scrolled .anchor-nav { top: 72px; }

/* ---------- shared heading variants ---------- */
.h-3-row { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; margin-bottom: 12px; }
.card__h { font-size: 20px; font-weight: 500; margin: 6px 0 0; }
.chapter__h { font-size: clamp(28px, 3.4vw, 44px); font-weight: 300; }
.service-row h2.h-3-row { margin-bottom: 10px; }

/* ---------- training modules ---------- */
.modules {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--line); border: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px);
}
.section--dark .modules { background: var(--line-light); border-color: var(--line-light); }
.module { background: #fff; padding: 32px 26px; }
.section--dark .module { background: var(--navy); }
.module h3 {
  font-family: var(--font-label); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section--dark .module h3 { color: var(--pale); }
.module p { font-size: 14.5px; font-weight: 300; color: var(--muted); margin: 0; }
.section--dark .module p { color: var(--pale); }

/* ---------- equipment grid ---------- */
.equip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.equip { background: #fff; padding: 40px 34px; display: flex; flex-direction: column; }
.equip:last-child:nth-child(odd) { grid-column: 1 / -1; }
.equip__k {
  font-family: var(--font-label); font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--steel); display: block; margin-bottom: 14px;
}
.equip__h { font-size: 23px; font-weight: 400; margin-bottom: 12px; }
.equip p { color: var(--muted); font-weight: 300; font-size: 15.5px; }
.equip ul { margin-top: 18px; display: grid; gap: 9px; }
.equip li { font-size: 14.5px; font-weight: 300; padding-left: 22px; position: relative; }
.equip li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--blue); }
.disclaimer { margin-top: 40px; font-size: 13px; font-weight: 300; color: var(--muted); max-width: 90ch; }

/* ---------- competency steps ---------- */
.steps { display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 52px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--font-head); font-size: 52px; font-weight: 200; color: var(--steel); line-height: 1; }
.step__h { font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; margin-bottom: 14px; }
.step__body > p { color: var(--muted); font-weight: 300; max-width: 68ch; }
.step__body ul { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.step__body li { font-size: 15px; font-weight: 300; padding-left: 22px; position: relative; }
.step__body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--blue); }

/* ---------- contact request cards ---------- */
.request-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.request { background: #fff; padding: 46px 38px; display: flex; flex-direction: column; gap: 14px; transition: background .4s var(--ease); }
.request:hover { background: var(--mist); }
.request__k { font-family: var(--font-label); font-size: 11px; letter-spacing: .25em; color: var(--steel); }
.request__h { font-size: 26px; font-weight: 400; margin: 0; }
.request p { color: var(--muted); font-weight: 300; flex: 1; }

/* ---------- footer v2 ---------- */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.footer-brand p { font-size: 14.5px; max-width: 42ch; }
.footer-contact { margin-top: 20px; }
.footer-contact li { margin-bottom: 8px; font-size: 14.5px; }
.site-footer h4 a { color: inherit; }
.site-footer h4 a:hover { color: #fff; }
.site-footer h4 + ul { margin-bottom: 28px; }
.footer-legal {
  margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line-light);
  font-size: 12px; color: var(--steel); max-width: 100ch;
}
.site-footer .footer-bottom { border-top: 0; }

.section--inner-top { padding-top: 190px; }

@media (max-width: 1100px) {
  .modules { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .modules { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .request-cards { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 14px; padding: 40px 0; }
  .step__n { font-size: 34px; }
  .step__body ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .overlay-sub { padding-left: 0; }
  .anchor-nav .container { gap: 22px; }
  .section--inner-top { padding-top: 140px; }
}
