/* RAE Energy — "midstream leader" system (2026-09-23, Marcus msgs 18889 + 18912).
   White header with the real logo, full-bleed real-photo heroes, light body, RAE orange on navy/white,
   photo-led split sections and product tiles, stat-bar proof strip, strong navy footer.
   Generated pages come from ventures/rae-rebuild/build.py; this stylesheet is hand-maintained. */

:root {
  --brand: #ED7422;          /* RAE logo orange: keylines, rules, accents */
  --brand-dk: #BF5411;       /* orange for text + buttons on white (AA contrast with white text) */
  --brand-tint: #FDF1E8;
  --ink: #0F2236;            /* RAE navy: headings */
  --body: #36424E;
  --muted: #5B6773;
  --line: #DDE2E7;
  --bg: #FFFFFF;
  --alt: #F4F5F7;
  --navy: #0F2236;
  --hdr: 72px;
  --wrap: 1240px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Archivo', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --orange: var(--brand); --band: var(--alt); --heading: var(--ink); --border: var(--line); --text: var(--body);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font); font-size: 17px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dk); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .6em; line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding-left: 1.1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 40px; } }
.muted { color: var(--muted); }
section { padding: clamp(56px, 7vw, 104px) 0; }
.band, .band-deep, .accent-band { background: var(--alt); }
.section-head { max-width: 820px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p:last-child { margin-bottom: 0; }
.lead-in, .section-head > p { font-size: 1.15rem; color: var(--body); }
.label { font-weight: 600; color: var(--brand-dk); font-size: 1rem; margin: 0 0 .5rem; }

/* ---------------------------------------------------------------- utility bar + header */
.utility { background: var(--alt); border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--muted); display: none; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 24px; }
.utility a { color: var(--ink); font-weight: 500; }
.util-r { display: flex; gap: 22px; }
@media (min-width: 900px) { .utility { display: block; } }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 34px; width: auto; }
.flagchip { font-size: .8rem; font-weight: 600; color: var(--brand); border: 1px solid var(--brand); padding: 2px 8px; border-radius: 2px; line-height: 1.4; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); font-weight: 500; font-size: 1rem; padding: 10px 12px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--brand-dk); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand-dk); border-bottom-color: var(--brand); }
.nav a.nav-cta { background: var(--brand-dk); color: #fff; border-radius: 2px; margin-left: 10px; padding: 10px 18px; font-weight: 600; border-bottom: 0; }
.nav a.nav-cta:hover { background: #A5470C; color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 2px; cursor: pointer; padding: 0; position: relative; color: transparent; font-size: 0; }
.menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .2s; }
.menu-btn::before { top: 15px; box-shadow: 0 6px 0 var(--ink); }
.menu-btn::after { top: 27px; }
.menu-btn[aria-expanded="true"]::before { top: 21px; box-shadow: none; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"]::after { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1080px) {
  :root { --hdr: 64px; }
  .brand-logo { height: 28px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(11,26,42,.12); max-height: calc(100svh - var(--hdr)); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--brand); padding-left: 12px; }
  .nav a.nav-cta { margin: 16px 0 0; text-align: center; padding: 15px; }
}

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font); font-weight: 600; font-size: 1rem; padding: 14px 23px; border-radius: 2px; border: 1px solid transparent; cursor: pointer; line-height: 1.2; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-lg { font-size: 1.06rem; padding: 15px 26px; }
.btn-primary { background: var(--brand-dk); color: #fff; }
.btn-primary:hover { background: #A5470C; }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { color: var(--brand-dk); padding: 0; font-weight: 600; background: none; border: 0; }
.arrow-link { color: var(--brand-dk); font-weight: 600; }

/* ---------------------------------------------------------------- HERO: full-bleed real photograph */
.hero { position: relative; padding: 0; min-height: calc(100svh - var(--hdr)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img, .hero-media video { object-fit: cover; object-position: var(--pos-m, 50% 40%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,20,33,.9) 0%, rgba(8,20,33,.74) 36%, rgba(8,20,33,.34) 60%, rgba(8,20,33,0) 80%); }
.hero h1, .hero .crumb, .hero .crumbs { text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero-inner { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 40px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1.02; margin: 0 0 18px; max-width: 13ch; }
.hero h1 .h1-kicker { display: block; font-family: var(--font); font-weight: 600; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); letter-spacing: 0; margin-bottom: 10px; color: rgba(255,255,255,.92); }
.hero h1 .h1-sub { display: block; font-family: var(--font); font-weight: 500; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.3; margin-top: 12px; color: rgba(255,255,255,.95); max-width: 30ch; }
.hero .tag { display: inline-block; background: #fff; color: var(--brand); font-weight: 600; font-size: .92rem; padding: 5px 12px; border-radius: 2px; margin-bottom: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) {
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (min-width: 900px) {
  .hero { min-height: min(calc(100svh - var(--hdr) - 36px), 860px); align-items: center; }
  .hero-media img, .hero-media video { object-position: var(--pos-d, 50% 50%); }
  .hero::after { background: linear-gradient(90deg, rgba(8,20,33,.78) 0%, rgba(8,20,33,.52) 34%, rgba(8,20,33,.12) 60%, rgba(8,20,33,0) 78%), linear-gradient(to top, rgba(8,20,33,.35), rgba(8,20,33,0) 40%); }
  .hero-inner { padding-top: 96px; padding-bottom: 96px; }
  .hero h1 { max-width: 14ch; }
}

/* inner / resource-page photo hero (shorter) */
.hero.hero-sm { min-height: 460px; }
.hero.hero-sm h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); max-width: 22ch; }
@media (min-width: 900px) { .hero.hero-sm { min-height: 520px; } }

/* video hero (2026-09-23, RAE home -- reuses the UTQ Offshore/Canada/USA video-hero component/technique).
   The <video> uses min-width/min-height + a centering transform instead of plain object-fit:cover -- Chromium
   (confirmed headless AND headed) mis-paints object-fit:cover on a <video> in a box that crops HORIZONTALLY
   (a tall/narrow box vs a landscape source), rendering two different crops stacked in one frame. This technique
   sidesteps that bug; the picture's <img> (poster) stays the object-fit-based no-video/reduced-motion fallback. */
.hero-video {
  z-index: 0;
  top: 50%; left: 50%; right: auto; bottom: auto;
  width: auto; height: auto; min-width: 100%; min-height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
}
/* PHONE ONLY (2026-09-25) — the rule above NEVER SCALES A VIDEO DOWN. With width/height:auto a replaced
   element takes its INTRINSIC size whenever that already satisfies both minimums, so the <video> painted at
   native size and was centre-cropped by the hero's overflow:hidden. Measured live at 390x844: the 1080x1920
   phone encode rendered a 1080x1920 box in a 390x780 hero — a 2.77x zoom that cut the Houston skyline out of
   the top of the shot. It only ever looked acceptable on desktop because 1920x1080 in a ~1440x790 box
   over-zooms by a tolerable 1.33x. Below 768px, size the video to the hero box and let the object-fit:cover +
   object-position:var(--pos-m) on .hero-media do the crop. The 2026-09-23 Chromium object-fit:cover paint bug
   (two stacked crops + a hard seam) does NOT apply here: that was a LANDSCAPE source in a portrait box; the
   phone <source> is PORTRAIT 1080x1920, and the result was screenshot-verified at 320, 390 and 430 wide.
   >=768px keeps the rule above untouched, so desktop is unchanged. See papercuts 2026-09-25 + Prime's
   .lx-hero-video, which had the identical bug. Revert: backups/REVERT_hero-mobile-utq-rae-20260925.md

   SECOND BUG found while fixing this: `.hero-media img, .hero-media video` (above) NEVER MATCHED THE VIDEO.
   The <video> IS .hero-media (class="hero-media hero-video") — it is not a descendant of one — so the
   descendant selector could not reach it and the video's object-fit stayed at its initial value, `contain`.
   That was invisible while the min-size technique sized the box by hand, but the moment the video is sized
   to the hero box, contain letterboxes it (measured: 390x693 inside 390x780, a 43px band of hero navy top
   and bottom). object-fit/object-position are therefore set EXPLICITLY on .hero-video below. */
@media (max-width: 767px) {
  .hero-video {
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%; min-width: 0; min-height: 0;
    transform: none;
    object-fit: cover; object-position: var(--pos-m, 50% 50%);
  }
}
.hero.video-hero::after { background: linear-gradient(to top, rgba(8,20,33,.94) 0%, rgba(8,20,33,.8) 36%, rgba(8,20,33,.42) 60%, rgba(8,20,33,.06) 80%); }
@media (min-width: 900px) {
  .hero.video-hero::after { background: linear-gradient(90deg, rgba(8,20,33,.86) 0%, rgba(8,20,33,.6) 34%, rgba(8,20,33,.2) 60%, rgba(8,20,33,.03) 78%), linear-gradient(to top, rgba(8,20,33,.45), rgba(8,20,33,0) 40%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.crumb { font-size: .92rem; color: rgba(255,255,255,.9); margin: 0 0 14px; }
.crumb a { color: #fff; font-weight: 600; }
.crumb span { margin: 0 .5em; opacity: .7; }

/* ---------------------------------------------------------------- intro (lede moved out of the hero) + proof strip */
.intro { padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.intro-lede { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.5; color: var(--ink); max-width: 900px; margin: 0; font-weight: 400; }
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof > * { padding: 22px 18px 22px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); color: var(--ink); line-height: 1.25; position: relative; }
.proof > *::before { content: ""; display: block; width: 32px; height: 3px; background: var(--brand); margin-bottom: 14px; }
.proof > *:nth-child(odd) { padding-right: 18px; }
@media (max-width: 899px) { .proof > *:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .proof > *:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); } }
@media (min-width: 900px) { .proof { grid-template-columns: repeat(4, 1fr); } .proof > * { padding: 28px 24px; } .proof > * + * { border-left: 1px solid var(--line); } .proof > *:first-child { padding-left: 0; } }

/* ---------------------------------------------------------------- photo-led split sections */
.split { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; background: var(--bg); }
.split.alt { background: var(--alt); }
.split-media { position: relative; min-height: 300px; aspect-ratio: 4 / 3; overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.split-body { padding: clamp(40px, 6vw, 96px) 20px; max-width: 700px; }
.split-body .section-head { margin-bottom: 28px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; min-height: 560px; }
  .split-media { aspect-ratio: auto; min-height: 100%; }
  .split-body { padding: 96px 56px; align-self: center; }
  .split.reverse .split-media { order: 2; }
  .split:not(.reverse) .split-body { justify-self: start; padding-right: max(40px, calc((100vw - var(--wrap)) / 2 + 40px)); max-width: none; }
  .split.reverse .split-body { justify-self: stretch; padding-left: max(40px, calc((100vw - var(--wrap)) / 2 + 40px)); max-width: none; }
}
.union-strip { display: grid; gap: 0; }
.union-item { padding: 18px 0; border-top: 1px solid var(--line); }
.union-item h3 { margin-bottom: .3em; }
.union-item p { margin: 0; }

/* ---------------------------------------------------------------- grids, cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); padding: 26px 26px 22px; border-radius: 0; }
.band .card, .accent-band .card, .band-deep .card { background: #fff; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .ic { font-family: var(--display); font-weight: 700; color: var(--brand-dk); font-size: 1rem; margin-bottom: 8px; }
.feature-2 { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .feature-2 { grid-template-columns: 1fr 1fr; gap: 56px; } .feature-2.reverse > :first-child { order: 2; } }
figure { margin: 0; }
.media { overflow: hidden; background: var(--alt); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ar-wide { aspect-ratio: 16 / 10; }
.feat-media { aspect-ratio: 4 / 3; }
.banner { margin: 0; }
.banner img { width: 100%; aspect-ratio: 1600 / 593; object-fit: cover; }
.panorama { padding: 0; }
.panorama img { width: 100%; height: clamp(220px, 32vw, 460px); object-fit: cover; object-position: var(--pos, 50% 50%); }
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* chips + stats */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .92rem; padding: 6px 12px; border-radius: 2px; line-height: 1.3; }
.band .chip, .accent-band .chip, .band-deep .chip { background: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 24px 16px 22px 0; }
.stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
@media (max-width: 899px) { .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat .n { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--ink); line-height: 1; margin-bottom: 8px; }
.stat .l { font-size: .98rem; color: var(--body); line-height: 1.35; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 30px 24px; } .stat + .stat { border-left: 1px solid var(--line); } .stat:first-child { padding-left: 0; } }


.utility span { color: var(--muted); }

/* hero crumbs */
.crumbs { font-size: .92rem; color: rgba(255,255,255,.9); margin: 0 0 14px; }
.crumbs a { color: #fff; font-weight: 600; }

/* intro spacing -- a bare <section> (e.g. the no-photo industry-page prose body) carries the generic
   `section { padding: clamp(56px,7vw,104px) 0 }` on top of .intro's own bottom padding, stacking into a
   large empty gap right under the lede paragraph (found 2026-09-23, Marcus msgs 19022/19023, Plants &
   Facilities). Tighten the TOP padding of whatever immediately follows .intro so the two paddings don't stack. */
.intro { padding-bottom: clamp(40px, 5vw, 64px); }
.intro + .band, .intro + section { padding-top: clamp(8px, 1.5vw, 24px); }

/* product / industry photo tiles */
.ptiles { display: grid; gap: 22px; }
@media (min-width: 700px) { .ptiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ptiles { grid-template-columns: repeat(4, 1fr); } }
.ptile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--body); }
.ptile:hover { text-decoration: none; box-shadow: 0 14px 32px rgba(15,34,54,.12); }
.ptile-media { aspect-ratio: 4 / 3; overflow: hidden; }
.ptile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ptile:hover .ptile-media img { transform: scale(1.03); }
.ptile-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--brand); }
.ptile-body .label { font-size: .92rem; margin-bottom: 4px; }
.ptile-body h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 700; margin-bottom: .4em; }
.ptile-body p { font-size: .98rem; }
.more { color: var(--brand-dk); font-weight: 600; margin-top: auto; }
.more::after { content: " \2192"; }

/* trends: four forces */
.trend-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .trend-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trend-list { grid-template-columns: repeat(4, 1fr); } }
.trend { padding: 26px 24px 24px 0; }
.trend::before { content: ""; display: block; width: 32px; height: 3px; background: var(--brand); margin-bottom: 16px; }
@media (min-width: 1100px) { .trend + .trend { border-left: 1px solid var(--line); padding-left: 24px; } }
@media (max-width: 1099px) { .trend { border-bottom: 1px solid var(--line); } }
.trend p { margin: 0; }

/* capability stat bar */
.cap-grid { display: grid; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } .cap + .cap { border-left: 1px solid var(--line); padding-left: 32px; } }
@media (max-width: 899px) { .cap + .cap { border-top: 1px solid var(--line); } }
.cap { padding: 30px 24px 26px 0; }
.cap .big { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.cap .big::after { content: ""; display: block; width: 32px; height: 3px; background: var(--brand); margin: 16px 0 12px; }
.cap .lbl { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cap p { margin: 0; }

/* customers */
.crows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.crow { display: grid; grid-template-columns: 1fr; gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
@media (min-width: 800px) { .crow { grid-template-columns: 1fr auto; } }
.crow h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 700; margin-bottom: .3em; }
.crow p { margin: 0; }
.card-logo { height: 38px; width: auto; margin-bottom: 10px; }
@media (min-width: 800px) { .card-logo { height: 48px; } }
.crow .more::after { content: " \2197"; }
.family { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.family .label { color: var(--muted); font-weight: 500; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 48px; margin-top: 16px; }
.logo-item img { height: 36px; width: auto; }
.logo-wm { font-family: var(--display); font-weight: 800; font-size: 1.45rem; color: var(--ink); }
.logo-wm .dot { color: var(--brand); } .logo-wm .tld { color: var(--muted); font-weight: 600; }
.after-family { margin-top: 28px; }
.tlink { color: var(--brand-dk); font-weight: 600; }
.tlink::after { content: " \2192"; }

/* buttons */
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }

/* prose */
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .45em 0; }
.prose strong { color: var(--ink); }
.prose-col { max-width: 820px; }
.split-body.prose { max-width: 680px; }
.media.tall { aspect-ratio: 3 / 4; }
.banner { position: relative; }
.banner img { width: 100%; height: clamp(240px, 36vw, 520px); object-fit: cover; aspect-ratio: auto; }
.banner .cap { position: absolute; left: 0; bottom: 0; background: var(--navy); color: #fff; font-weight: 500; padding: 10px 16px; font-size: .95rem; border-top: 3px solid var(--brand); }

/* CTA band: navy with the orange button */
.cta-band { background: var(--navy); color: #C9D3DD; padding: clamp(48px, 6vw, 80px) 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-split { display: grid; gap: 20px 48px; align-items: center; }
@media (min-width: 900px) { .cta-split { grid-template-columns: 1fr auto; } }
.cta-copy p { margin: 0; max-width: 720px; }

/* contact card */
.contact-grid .card h3 { font-family: var(--display); }
.contact-list li { grid-template-columns: 100px 1fr; }

/* ---------------------------------------------------------------- contact + forms */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; } }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); padding: clamp(20px, 3vw, 36px); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1px solid #C3CCD5; border-radius: 2px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; background: var(--brand-tint); color: var(--ink); border-left: 3px solid var(--brand); font-weight: 500; }
.form-msg.show { display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { font-weight: 600; color: var(--ink); }
.divider-note { font-size: .95rem; color: var(--muted); }
.region-switch { font-weight: 600; }


/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #B8C4D0; padding: 64px 0 28px; font-size: .98rem; }
.site-footer a { color: #E6ECF2; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-size: 1.02rem; margin-bottom: 14px; }
.footer-grid > div > a { display: block; padding: 4px 0; }
.footer-logo { height: 34px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 380px; }
.footer-div { display: block; color: #fff; font-weight: 600; margin: -8px 0 12px; }
.site-footer .rae-lockup { display: inline-flex; margin-top: 6px; align-items: center; gap: 8px; color: #B8C4D0 !important; font-size: .95rem; }
.rae-logo-footer { height: 20px; width: auto; }
.fcontact p { margin: 0 0 10px; line-height: 1.5; }
.fcontact strong { color: #fff; font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }

/* home hero: headline over the sky, so the RAE building + signage stay clear below it (desktop) */
@media (min-width: 900px) {
  .hero.hero-top { align-items: flex-start; }
  .hero.hero-top .hero-inner { padding-top: 72px; }
  .hero.hero-top::after { background: linear-gradient(100deg, rgba(10,26,44,.72) 0%, rgba(10,26,44,.45) 32%, rgba(10,26,44,0) 58%); }
}

/* whole company card clickable (Marcus msg 20856): the card's own link stretches over the row */
.crow-link { position: relative; }
.crow-link .more::before { content: ""; position: absolute; inset: 0; }
.crow-link:hover .card-logo { opacity: .85; }
.crow-link:hover .more { text-decoration: underline; }
/* leadership: two columns read top-to-bottom (Marcus msg 20874) */
@media (min-width: 700px) { .lead-cols { grid-auto-flow: column; grid-template-rows: repeat(5, auto); } }

/* leadership bios: card opens a dialog (Marcus msg 20880) */
button.lead-card { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: box-shadow .2s, border-color .2s; }
button.lead-card:hover, button.lead-card:focus-visible { box-shadow: 0 8px 24px rgba(15,34,54,.10); border-color: var(--brand); outline: none; }
button.lead-card:focus-visible { outline: 2px solid var(--brand-dk); outline-offset: 2px; }
.lead-more { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--brand-dk); font-size: .95rem; }
.lead-more::after { content: " \2192"; }
.bio-dlg { border: 0; border-top: 4px solid var(--brand); padding: 0; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; color: var(--body); background: #fff; box-shadow: 0 24px 64px rgba(15,34,54,.35); }
.bio-dlg::backdrop { background: rgba(15,34,54,.6); }
.bio-in { position: relative; padding: 34px 32px 28px; }
.bio-in h3 { font-size: 1.6rem; margin-bottom: .2em; padding-right: 36px; }
.bio-title { font-weight: 600; color: var(--ink); margin: 0 0 1.1em; }
.bio-in p:last-child { margin-bottom: 0; }
.bio-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--ink); cursor: pointer; }
.bio-x:hover { color: var(--brand-dk); }
@media (max-width: 600px) { .bio-in { padding: 28px 20px 22px; } .bio-in h3 { font-size: 1.35rem; } }
