/* MGI Integral — site styles
   Layout idea: ink-navy bands open each page, ruled "ledger" rows carry lists, and the
   arc-and-dots from the logo is the single decorative motif. */
:root {
  color-scheme: light;
  --ink: #0e1a3a;        /* deep navy: bands, headings */
  --indigo: #2b3990;     /* logo "mgi" blue: links, emphasis */
  --teal: #0f8c99;       /* logo "integral" teal: accents, numerals */
  --amber: #f29c0c;      /* call-to-action only */
  --paper: #f5f7fa;      /* page background */
  --surface: #ffffff;
  --line: #d9dfe8;
  --text: #1c2437;
  --muted: #586379;
  --on-ink: #e8ecf6;
  --on-ink-muted: #a9b4cf;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.65 var(--body);
}
img, svg { max-width: 100%; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; margin: 0; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- top strip + header ---------- */
.topbar { background: var(--ink); color: var(--on-ink-muted); font-size: 13.5px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; padding-block: 7px; }
.topbar a { color: var(--on-ink); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .reach { display: flex; flex-wrap: wrap; gap: 4px 22px; }

.site-header { background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 14px; }
.brand, .member-badge { display: block; line-height: 0; }
.brand img { height: 74px; width: auto; }
.member-badge img { height: 62px; width: auto; }

/* permanent menu bar: always visible, stays at the top while scrolling */
.navbar { background: var(--ink); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(14, 26, 58, 0.18); }
.navbar .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 20px; min-height: 54px; }
.navbar .btn { padding: 9px 16px; white-space: nowrap; margin-block: 8px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin-left: -12px; }
.nav > ul > li { position: relative; display: flex; align-items: center; }
.nav a { display: block; text-decoration: none; color: #fff; font-size: 15.5px; font-weight: 500; padding: 16px 12px; }
.nav > ul > li > a:hover { color: #7fe0e8; }
.nav > ul > li > a[aria-current], .nav > ul > li.is-section > a { box-shadow: inset 0 -3px 0 var(--amber); }
.sub-toggle { background: none; border: 0; padding: 16px 8px 16px 0; margin-left: -8px; cursor: pointer; color: var(--on-ink-muted); font-size: 10px; line-height: 1; }
.nav > ul > li.has-menu { position: static; }
.nav .submenu { position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); background: var(--surface); border-bottom: 4px solid var(--amber); box-shadow: 0 24px 48px rgba(14, 26, 58, 0.22); padding: 30px 34px 34px; display: none; z-index: 60; grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr)); gap: 2px 30px; align-content: start; }
.submenu .intro { grid-column: 1; grid-row: 1 / span 6; padding-right: 30px; border-right: 1px solid var(--line); }
.submenu .intro strong { display: block; font: 700 26px/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.submenu .intro p { margin: 10px 0 14px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.submenu .intro a.more { display: inline-block; padding: 0; color: var(--indigo); font-weight: 600; }
.submenu .intro a.more:hover { background: none; }
.submenu a { color: var(--ink); font-weight: 500; padding: 10px 0; border-bottom: 1px solid var(--line); }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--indigo); border-bottom-color: var(--indigo); }
.has-menu:hover > .submenu, .has-menu:focus-within > .submenu, .has-menu.open > .submenu { display: grid; }
.btn { display: inline-block; font: 600 15.5px/1.2 var(--body); text-decoration: none; padding: 15px 26px; border-radius: 0; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--amber); color: #1d1600; }
.btn-primary:hover { background: #ffb02e; color: #1d1600; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-line { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-line:hover { background: var(--indigo); color: #fff; }

/* ---------- ink bands (home hero, page hero, cta) ---------- */
.band { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.band h1, .band h2 { color: #fff; }
.band .arc { position: absolute; right: -140px; top: -180px; width: 760px; height: 760px; pointer-events: none; opacity: 0.9; }
.eyebrow { font: 500 13px/1.3 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.band .eyebrow { color: #5fd0da; }

.hero .wrap { position: relative; padding-block: clamp(72px, 12vw, 168px); }
.hero h1 { font-size: clamp(42px, 7vw, 88px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; max-width: 12ch; }
.hero h1::after { content: ""; display: block; width: 96px; height: 6px; background: var(--amber); margin-top: 28px; }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: var(--on-ink); max-width: 46ch; margin-top: 22px; line-height: 1.5; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); }
.facts .label { padding: 26px 24px 26px 0; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); align-self: center; }
.fact { padding: 34px 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font: 700 clamp(38px, 4.4vw, 58px)/1 var(--display); letter-spacing: -0.03em; color: var(--indigo); font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }

.page-hero .wrap { position: relative; padding-block: clamp(36px, 6vw, 68px); }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 66px); letter-spacing: -0.03em; line-height: 1.02; max-width: 18ch; }
.page-hero .lede { margin-top: 16px; font-size: 19px; max-width: 58ch; color: var(--on-ink); line-height: 1.5; }
.crumbs { font-size: 14px; color: var(--on-ink-muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--on-ink-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- sections ---------- */
.section { padding-block: clamp(52px, 7vw, 92px); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); }
.section-head p { color: var(--muted); max-width: 52ch; }
.more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.more::after { content: " \2192"; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 20px; }
.split p + p, .split p + .more { margin-top: 16px; }
.split .more { display: inline-block; }
.quote { border-left: 3px solid var(--teal); padding: 6px 0 6px 26px; }
.quote p { font: 500 italic clamp(22px, 2.4vw, 28px)/1.35 var(--display); color: var(--ink); }
.quote cite { display: block; margin-top: 14px; font: normal 500 13px var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ledger rows: services */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 64px); border-top: 2px solid var(--ink); }
.ledger a { display: grid; grid-template-columns: 92px 1fr auto; gap: 6px 20px; align-items: start; padding: 24px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.ledger .thumb { grid-column: 1; grid-row: 1 / span 2; width: 92px; height: 92px; object-fit: cover; display: block; border: 1px solid var(--line); }
.ledger h3 { font-size: 23px; grid-column: 2; align-self: end; }
.ledger p { grid-column: 2; color: var(--muted); font-size: 16px; line-height: 1.5; }
.ledger .go { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--indigo); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.ledger a:hover h3 { color: var(--indigo); }
.ledger a:hover .go { background: var(--indigo); border-color: var(--indigo); color: #fff; }

/* industries */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tiles a { background: var(--surface); padding: 0 0 20px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; border-bottom: 3px solid transparent; }
.tiles img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 10px; }
.tiles strong, .tiles span { padding-inline: 18px; }
.tiles a:hover, .tiles a[aria-current="page"] { border-bottom-color: var(--teal); background: #fbfcfe; }
.tiles strong { font: 700 18px/1.2 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.tiles span { font-size: 14.5px; color: var(--muted); line-height: 1.4; }

.cta .wrap { position: relative; padding-block: clamp(44px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); max-width: 20ch; }
.cta p { color: var(--on-ink-muted); margin-top: 10px; max-width: 52ch; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- inner pages ---------- */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 76px); align-items: start; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(25px, 2.8vw, 34px); margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); }
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2.numbered { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; }
.prose h2 .num { font: 600 0.95em/1 var(--display); color: var(--teal); font-variant-numeric: tabular-nums; min-width: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 30px; }
.prose ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.prose ul.defs { gap: 0; border-top: 1px solid var(--line); }
.prose ul.defs li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.prose ul.defs li::before { display: none; }
.prose ul.defs strong { display: block; font: 600 18.5px/1.3 var(--display); color: var(--ink); margin-bottom: 4px; }
.prose ul.ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.prose ul.ticks li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.prose ul.ticks li::before { top: 1.25em; width: 9px; height: 5px; border-radius: 0; background: none; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.prose blockquote { margin: 28px 0; border-left: 3px solid var(--teal); padding: 4px 0 4px 24px; font: 500 italic 24px/1.4 var(--display); color: var(--ink); }
.prose blockquote span { display: block; font: normal 500 13px var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.prose .closing { font: 500 italic 21px/1.45 var(--display); color: var(--ink); margin-top: 36px; }

.side { position: sticky; top: 78px; display: grid; gap: 22px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 20px; }
.side-box h2 { font: 600 13px/1.3 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li + li { border-top: 1px solid var(--line); }
.side-box li a { display: block; padding: 9px 0; text-decoration: none; color: var(--text); font-size: 15.5px; }
.side-box li a:hover { color: var(--indigo); }
.side-box li a[aria-current="page"] { color: var(--indigo); font-weight: 600; box-shadow: inset 3px 0 0 var(--teal); padding-left: 12px; }
.side-box.contact p { font-size: 15.5px; color: var(--muted); }
.side-box.contact .btn { margin-top: 14px; width: 100%; text-align: center; }

/* cards: services overview, offices */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 26px; }
.card h2, .card h3 { font-size: 23px; margin-bottom: 10px; }
.card p + p { margin-top: 8px; }
.card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.card dt { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.card dd { margin: 0; }
.card .more { display: inline-block; margin-top: 14px; }

/* news */
.news { border-top: 2px solid var(--ink); }
.news article { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px 30px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.news .pics { margin: 0; display: grid; gap: 8px; }
.news .pics img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 22%; border: 1px solid var(--line); background: var(--surface); }
.news .when { font-size: 14.5px; color: var(--muted); line-height: 1.45; margin-bottom: 8px; }
.news .when time { font-weight: 600; margin-right: 6px; color: var(--ink); font-variant-numeric: tabular-nums; }
.news h2 { font-size: 21px; line-height: 1.35; }
.news p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.news .more { display: inline-block; margin-top: 10px; font-size: 15px; }
.news [dir="rtl"] { text-align: right; }
.news-feature { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px 44px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--amber); padding: clamp(18px, 3vw, 34px); margin-bottom: 48px; }
.news-feature h2 { font-size: clamp(28px, 3.4vw, 42px); }
.news-feature p:not(.eyebrow) { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.news-feature .more { display: inline-block; margin-top: 18px; }
.fb-video { position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 533; background: var(--ink); overflow: hidden; }
.fb-video .map-note { color: var(--on-ink-muted); }
.fb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news-lead { max-width: 62ch; margin-bottom: 40px; }
.news-lead p { font: 500 clamp(21px, 2.3vw, 26px)/1.4 var(--display); color: var(--ink); }
.news-lead p + p { margin-top: 12px; font: 400 17px/1.6 var(--body); color: var(--muted); }

/* forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.form input, .form textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--text); background: var(--surface); border: 1px solid #b9c2d1; border-radius: 4px; padding: 12px 13px; }
.form textarea { min-height: 150px; resize: vertical; }
.form input[type="file"] { padding: 10px; background: var(--paper); border-style: dashed; cursor: pointer; }
.form input[type="file"]::file-selector-button { font: 600 14.5px var(--body); color: var(--indigo); background: var(--surface); border: 1px solid var(--indigo); border-radius: 4px; padding: 8px 14px; margin-right: 12px; cursor: pointer; }
.form .form-note { margin-top: 6px; }
.prose .form { margin-top: 22px; }
.prose h2#apply { scroll-margin-top: 80px; }
.form input:focus, .form textarea:focus { border-color: var(--indigo); outline: 2px solid rgba(43, 57, 144, 0.25); outline-offset: 0; }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: 14.5px; color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: 4px; font-size: 15.5px; display: none; }
.form-status.ok { display: block; background: #e6f5ee; color: #0b5a36; border: 1px solid #a9d9c1; }
.form-status.err { display: block; background: #fdecea; color: #8a1c13; border: 1px solid #f1b5af; }

/* photos */
.col { min-width: 0; max-width: 780px; }
.feature { margin: 0 0 34px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.feature img { display: block; width: 100%; }
.feature.photo { aspect-ratio: 16 / 7; }
.feature.photo img { height: 100%; object-fit: cover; }
.feature.graphic { padding: clamp(18px, 4vw, 40px); }
.feature.graphic img { max-width: 460px; margin-inline: auto; height: auto; }
.portrait { float: right; width: 200px; margin: 4px 0 18px 28px; }
.portrait img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.portrait figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.portrait + * { margin-top: 18px; }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; background: url("img/hero.webp?v=8bc5730c") center 60% / cover no-repeat; }
.hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 58, 0.95) 0%, rgba(14, 26, 58, 0.78) 45%, rgba(14, 26, 58, 0.35) 100%); }
.hero.has-photo .arc { z-index: 1; }
.hero.has-photo .wrap { z-index: 2; }

/* scroll story: a full-width video that stays in place while the message changes with scrolling */
.story { --bar: 54px; --stage: clamp(460px, calc(100vh - var(--bar)), 860px); position: relative; background: var(--ink); color: var(--on-ink); }
.story-stage { position: sticky; top: var(--bar); height: var(--stage); overflow: hidden; }
.story-track { margin-top: calc(-1 * var(--stage)); pointer-events: none; }
.story-track span { display: block; height: clamp(360px, 75vh, 640px); }
.story-track span:first-child { height: var(--stage); }
.story-media, .story-shade { position: absolute; inset: 0; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease; }
.story-media img.is-active { opacity: 1; animation: story-drift 16s ease-out both; }
@keyframes story-drift { from { transform: scale(1); } to { transform: scale(1.1); } }
.story-shade { background: linear-gradient(90deg, rgba(14, 26, 58, 0.96) 0%, rgba(14, 26, 58, 0.86) 50%, rgba(14, 26, 58, 0.42) 100%); }
.story-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.story-panels { position: relative; max-width: 640px; min-height: 330px; }
.story-panel { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(26px); visibility: hidden; transition: opacity 0.5s, transform 0.5s, visibility 0s 0.5s; }
.story-panel.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity 0.5s, transform 0.5s; }
.story-panel .eyebrow { color: #5fd0da; }
.story-panel h2 { color: #fff; font-size: clamp(34px, 5.4vw, 68px); letter-spacing: -0.03em; line-height: 1.02; }
.story-panel h2::after { content: ""; display: block; width: 80px; height: 5px; background: var(--amber); margin-top: 22px; }
.story-panel p:not(.eyebrow) { margin-top: 20px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; max-width: 52ch; }
.story-panel .btn { margin-top: 26px; }
.story-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.story-dots { display: flex; gap: 8px; }
.story-dots span { width: 44px; height: 4px; background: rgba(255, 255, 255, 0.28); transition: background 0.3s; }
.story-dots span.on { background: var(--amber); }
.story-watch { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.play-mini { width: 38px; height: 38px; border-radius: 50%; background: var(--amber); position: relative; flex: none; }
.play-mini::after { content: ""; position: absolute; left: 15px; top: 11px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent #1d1600; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 14, 34, 0.92); display: grid; place-items: center; padding: 24px; }
.lightbox-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; }
.lightbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-close { position: absolute; right: 0; top: -46px; background: none; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; font: 600 14px var(--body); padding: 8px 14px; cursor: pointer; }
.story-watch:hover { color: #7fe0e8; }

/* image cards: services and news */
.card-grid { display: grid; gap: 26px 22px; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pic-card { display: flex; flex-direction: column; background: var(--surface); text-decoration: none; color: inherit; border-bottom: 4px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s; }
.pic-card .pic { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.card-grid.three .pic { aspect-ratio: 16 / 10; }
.pic-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.5s; }
.pic-card .txt { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; flex: 1; }
.pic-card small { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pic-card strong { font: 700 20px/1.2 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.pic-card .txt > span { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.pic-card em { margin-top: auto; padding-top: 10px; font-style: normal; font-weight: 600; font-size: 15px; color: var(--indigo); }
.pic-card em::after { content: " \2192"; }
.pic-card:hover { border-bottom-color: var(--amber); box-shadow: 0 16px 34px rgba(14, 26, 58, 0.12); color: inherit; }
.pic-card:hover img { transform: scale(1.05); }
.pic-card:hover strong { color: var(--indigo); }

/* careers band */
.promo { display: grid; grid-template-columns: 1fr 1fr; background: var(--indigo); color: var(--on-ink); }
.promo-pic { min-height: 340px; position: relative; }
.promo-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-txt { padding: clamp(36px, 6vw, 84px); align-self: center; max-width: 620px; }
.promo-txt h2 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); }
.promo-txt p { margin-top: 16px; }
.promo-txt .eyebrow { color: #9fe3ea; margin-top: 0; }
.promo-txt .btn { margin-top: 26px; }

/* video + maps */
.world { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: clamp(12px, 2.5vw, 28px); }
.world img { display: block; width: 100%; height: auto; }
.world figcaption { margin-top: 12px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.prose .world { margin-top: 30px; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border: 1px solid var(--line); overflow: hidden; }
.video iframe, .video img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-facade { display: block; position: absolute; inset: 0; }
.video-facade .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--amber); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.video-facade .play::after { content: ""; position: absolute; left: 30px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #1d1600; }
.video-facade:hover .play { background: #ffb02e; }
.map { position: relative; margin-top: 18px; aspect-ratio: 16 / 10; background: var(--paper); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-note { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; font-size: 14.5px; color: var(--muted); }

/* ---------- footer ---------- */
.logo-strip { background: var(--surface); border-top: 1px solid var(--line); }
.logo-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 26px; }
.logo-strip img { height: 58px; width: auto; display: block; }
.logo-strip img[src*="forum"] { height: 44px; }
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: 15px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 36px 28px; padding-block: 60px 40px; }
.foot-grid h2 { font: 600 13px/1.3 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand h2 { font: 600 24px/1.2 var(--display); letter-spacing: 0; text-transform: none; }
.foot-brand p { max-width: 30ch; }
.social { display: flex; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.legal { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-block: 24px 36px; font-size: 13px; line-height: 1.6; display: grid; gap: 12px; }
.legal p { max-width: 110ch; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts .wrap { grid-template-columns: repeat(4, 1fr); }
  .facts .label { grid-column: 1 / -1; padding: 18px 0 0; }
  .fact:first-of-type { border-left: 0; padding-left: 0; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav .submenu { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px 20px 22px; }
  .submenu .intro { display: none; }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo { grid-template-columns: minmax(0, 1fr); }
  .story-panels { min-height: 380px; }
  .promo-pic { min-height: 240px; }
  .page { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .ledger { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .nav a { font-size: 14.5px; padding: 12px 9px; }
  .sub-toggle { padding: 12px 8px 12px 0; }
  .navbar .btn { display: none; }
  .brand img { height: 56px; }
  .member-badge img { height: 46px; }
  .topbar .reach + .reach { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 18px 14px 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts .label { padding-bottom: 14px; }
  .cards, .form, .prose ul.ticks, .card-grid.three, .nav .submenu { grid-template-columns: minmax(0, 1fr); }
  .news article { grid-template-columns: minmax(0, 1fr); }
  .news-feature { grid-template-columns: minmax(0, 1fr); }
  .news .pics { max-width: 360px; }
  .portrait { float: none; margin: 18px 0; }
  .ledger a { grid-template-columns: 64px 1fr auto; gap: 4px 14px; }
  .ledger .thumb { width: 64px; height: 64px; }
  .hero.has-photo::before { inset: 0; opacity: 0.22; -webkit-mask-image: none; mask-image: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band .arc { right: -360px; opacity: 0.5; }
}
@media (max-width: 420px) {
  .tiles, .foot-grid, .card-grid.four { grid-template-columns: minmax(0, 1fr); }
  .brand img { height: 46px; }
  .member-badge img { height: 38px; }
}
@media (max-width: 680px) {
  .story { --bar: 92px; }
  .story-shade { background: rgba(14, 26, 58, 0.8); }
  .story-panels { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .story-media img.is-active { animation: none; }
}
