/* ==========================================================================
   Forensic Science Laboratory, Khyber Pakhtunkhwa Police — public website
   Palette follows the FSL seal: royal navy, gold, a touch of green.
   ========================================================================== */

:root {
  --navy-950: #050f22;
  --navy-900: #081a38;
  --navy-800: #0b2146;
  --navy-700: #123063;
  --blue-600: #1d4f9e;
  --blue-500: #2b63bd;
  --blue-50: #eef3fb;
  --gold-600: #b08a2e;
  --gold-500: #c9a445;
  --gold-400: #d9b85f;
  --gold-100: #f7efd9;
  --green-600: #1b7f47;
  --green-50: #e8f5ee;
  --amber-600: #b45309;
  --amber-50: #fff6e5;
  --red-600: #b42318;
  --red-50: #fdecea;

  --ink: #0f1a2e;
  --text: #33415a;
  --muted: #67748c;
  --line: #e3e8f0;
  --line-strong: #cfd7e3;
  --paper: #f6f8fb;
  --white: #ffffff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(8, 26, 56, .06), 0 1px 3px rgba(8, 26, 56, .08);
  --shadow: 0 10px 30px -12px rgba(8, 26, 56, .22);
  --shadow-lg: 0 30px 60px -20px rgba(8, 26, 56, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 40px); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold-500); color: var(--navy-900); padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }

.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.ic--sm { width: .95em; height: .95em; }
.ic--xs { width: .8em; height: .8em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--gold-400); }
.h-display { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.01em; margin: 0; }
.h-title { font-family: var(--serif); font-size: 24px; margin: 0; }
.lead { font-size: 18px; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy-800); color: var(--white); }
.btn--primary:hover { background: var(--blue-600); color: var(--white); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(201, 164, 69, .8); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn--outline { border-color: var(--line-strong); color: var(--navy-800); background: var(--white); }
.btn--outline:hover { border-color: var(--navy-800); color: var(--navy-800); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-600); }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

.tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em;
  background: rgba(8, 26, 56, .82); color: var(--white); backdrop-filter: blur(6px);
}
.tag--gold { position: static; display: inline-block; background: var(--gold-100); color: var(--gold-600); margin-bottom: 6px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__gov { display: inline-flex; align-items: center; gap: 9px; }
.topbar__gov img { width: 20px; height: 20px; }
.topbar__links { display: inline-flex; gap: 22px; }
.topbar__links a { color: rgba(255, 255, 255, .78); display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: var(--gold-400); }

.header {
  /* Solid on purpose: backdrop-filter would make the header the containing block
     for the fixed mobile drawer inside it and trap the drawer in the header. */
  position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(8, 26, 56, .35); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 56px; height: auto; filter: drop-shadow(0 3px 6px rgba(8, 26, 56, .18)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: -.005em; }
.brand__text span { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-top: 3px; }
.brand--light, .brand--light:hover { color: var(--white); }
.brand--light .brand__text span { color: var(--gold-400); }

.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 11px; border-radius: 8px;
  border: 0; background: none; color: var(--ink); font-size: 14.5px; font-weight: 600; white-space: nowrap;
}
.nav__link:hover, .nav__link.is-active, .has-menu.is-open > .nav__link { color: var(--blue-600); background: var(--blue-50); }
.nav__link .ic { transition: transform .2s; }
.has-menu.is-open > .nav__link .ic { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px; list-style: none; margin: 0; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .2s var(--ease);
}
.nav__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-menu.is-open > .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 14.5px; font-weight: 500; }
.nav__menu a:hover { background: var(--paper); color: var(--blue-600); }
.nav__cta { padding: 10px 18px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--navy-800); align-items: center; justify-content: center; }
.nav-toggle .ic { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(720px, 86vh); display: flex; align-items: center; overflow: hidden; background: var(--navy-900); color: var(--white); isolation: isolate; }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slides { z-index: -2; }
.hero__slide {
  background-size: cover; background-position: center; opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slide--plain { background: radial-gradient(circle at 70% 30%, var(--navy-700), var(--navy-950)); }
.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 15, 34, .94) 0%, rgba(5, 15, 34, .78) 38%, rgba(5, 15, 34, .25) 75%, rgba(5, 15, 34, .35) 100%),
    linear-gradient(0deg, rgba(5, 15, 34, .65) 0%, transparent 35%);
}
.hero__content { padding: 110px 0 150px; }
.hero__title {
  font-family: var(--serif); font-weight: 600; color: var(--white);
  font-size: clamp(42px, 6vw, 80px); line-height: 1.02; letter-spacing: -.02em; max-width: 9em; margin: 0 0 22px;
}
.hero__title em { font-style: italic; color: var(--gold-400); }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 38ch; color: rgba(255, 255, 255, .86); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 104px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.hero__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: var(--white); display: grid; place-items: center; transition: background .2s; }
.hero__arrow:hover { background: rgba(255, 255, 255, .22); }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .4); transition: width .3s, background .3s; }
.hero__dots button.is-active { width: 30px; background: var(--gold-400); }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -72px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); font-weight: 600; color: var(--navy-800); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.stat:first-child strong { color: var(--blue-600); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--tight { padding: 64px 0 96px; }
.section--tint { background: var(--paper); }
.section--dark { background: var(--navy-900); color: rgba(255, 255, 255, .8); }
.section--dark .h-display { color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; }
.section-head__aside { max-width: 42ch; margin: 0; color: var(--muted); }
.section-head--sub { margin: 70px 0 24px; align-items: center; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.split .h-display { margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.ticks .ic { color: var(--green-600); background: var(--green-50); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: -1px; }

.mosaic { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.mosaic__img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.mosaic__img--0 { grid-row: span 2; }
.mosaic__badge {
  position: absolute; left: -28px; bottom: 28px; background: var(--navy-800); color: var(--white);
  padding: 18px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold-500);
}
.mosaic__badge strong { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--gold-400); }
.mosaic__badge span { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .85; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); color: var(--text); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue-600), var(--gold-500)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.service:hover::after { transform: scaleX(1); }
.service__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 22px; transition: background .35s, color .35s; }
.service__icon svg { width: 32px; height: 32px; }
.service:hover .service__icon { background: var(--navy-800); color: var(--gold-400); }
.service h3 { font-size: 18px; margin-bottom: 10px; }
.service p { font-size: 14.5px; color: var(--muted); flex: 1; }
.service__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue-600); }

/* ---------- Leadership ---------- */
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.leader { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.leader:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.leader__photo { aspect-ratio: 4 / 3.3; background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); overflow: hidden; }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .6s var(--ease); }
.leader:hover .leader__photo img { transform: scale(1.04); }
.leader__photo .leader__placeholder { object-fit: contain; padding: 44px; }
.leader__body { position: relative; padding: 30px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.leader__quote { position: absolute; top: -24px; right: 24px; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); box-shadow: var(--shadow); }
.leader__body p { font-family: var(--serif); font-size: 16.5px; line-height: 1.6; color: var(--text); flex: 1; }
.leader__body h3 { font-size: 15px; letter-spacing: .01em; color: var(--navy-800); padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-900), var(--blue-600)); color: rgba(255, 255, 255, .85); padding: 78px 0; }
.cta__pattern, .page-hero__pattern {
  position: absolute; inset: 0; opacity: .09; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 85% 50%, transparent 0 14px, #fff 14px 15.5px);
  mask-image: radial-gradient(circle at 85% 50%, #000 0, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 85% 50%, #000 0, transparent 60%);
}
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { font-family: var(--serif); font-weight: 600; color: var(--white); font-size: clamp(26px, 3vw, 38px); max-width: 22ch; }
.cta p { margin: 0; max-width: 56ch; }

/* ---------- Cards (updates) ---------- */
.cards { display: grid; gap: 26px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(145deg, var(--blue-50), var(--paper)); }
.card__placeholder img { width: 84px; height: auto; opacity: .55; }
.card__body { padding: 22px 24px 26px; }
.card__date { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.card h3 { font-size: 18.5px; line-height: 1.35; margin-bottom: 8px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--blue-600); }
.card p { font-size: 15px; color: var(--muted); margin: 0; }

.empty { display: flex; align-items: center; gap: 18px; padding: 28px 30px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); background: var(--paper); }
.empty .ic { width: 30px; height: 30px; color: var(--blue-600); }
.empty p { margin: 0; }
.empty--warn { border-color: #f1c98a; background: var(--amber-50); }
.empty--warn .ic { color: var(--amber-600); }

/* ---------- Albums ---------- */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.albums--feature { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; }
.albums--feature .album:first-child { grid-column: span 2; grid-row: span 2; }
.albums--feature .album { aspect-ratio: auto; }
.albums--small { grid-template-columns: repeat(4, 1fr); }
.album { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); isolation: isolate; }
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; z-index: -1; }
.album::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 15, 34, .88) 0%, rgba(5, 15, 34, .1) 55%, transparent 100%); transition: opacity .4s; }
.album:hover img { transform: scale(1.07); }
.album__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; color: var(--white); display: flex; flex-direction: column; gap: 4px; }
.album__meta strong { font-size: 17px; line-height: 1.3; }
.albums--feature .album:first-child .album__meta strong { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.album__meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .78); }

.masonry { columns: 3 300px; column-gap: 16px; }
.masonry--compact { columns: 3 160px; column-gap: 10px; }
.masonry__item { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); cursor: zoom-in; position: relative; }
.masonry--compact .masonry__item { margin-bottom: 10px; }
.masonry__item img { width: 100%; transition: transform .6s var(--ease), filter .3s; }
.masonry__item:hover img { transform: scale(1.04); filter: brightness(1.05); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 10, 24, .95); display: flex; align-items: center; justify-content: center; padding: 60px 80px; animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { display: flex; gap: 20px; justify-content: space-between; width: 100%; color: rgba(255, 255, 255, .8); font-size: 14px; padding-top: 14px; }
.lightbox__count { color: var(--gold-400); font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); display: grid; place-items: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox .ic { width: 24px; height: 24px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Video ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.video { position: relative; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s var(--ease), opacity .3s; }
.video:hover img { transform: scale(1.04); opacity: 1; }
.video__play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(201, 164, 69, .25); transition: transform .3s var(--ease); }
.video__play .ic { width: 30px; height: 30px; margin-left: 4px; }
.video:hover .video__play { transform: scale(1.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Directors ---------- */
.directors-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 20px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.directors-rail .director { scroll-snap-align: start; }
.director { margin: 0; text-align: center; }
.director__photo { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(150deg, var(--navy-700), var(--navy-950)); border: 4px solid var(--white); box-shadow: var(--shadow); display: grid; place-items: center; max-width: 170px; margin: 0 auto 16px; transition: transform .3s var(--ease); }
.director:hover .director__photo { transform: translateY(-4px); }
.director__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.director__initials { font-family: var(--serif); font-size: 44px; color: var(--gold-400); }
.director.is-serving .director__photo { border-color: var(--gold-500); box-shadow: 0 0 0 6px var(--gold-100), var(--shadow); }
.director figcaption strong { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.director figcaption span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 44px 26px; }
.timeline__dot { display: none; }

/* ---------- Page hero & inner layout ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(125deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--blue-600) 130%); color: rgba(255, 255, 255, .82); padding: 56px 0 64px; }
.page-hero--overlap { padding-bottom: 150px; }
.page-hero h1 { font-family: var(--serif); font-weight: 600; color: var(--white); font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.015em; max-width: 24ch; margin: 0; }
.page-hero__lead { font-size: 18px; max-width: 60ch; margin: 16px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 26px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: var(--gold-400); }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
.layout-aside--left { grid-template-columns: 330px minmax(0, 1fr); }
.aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside__box { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.aside__box h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.aside__box--dark { background: var(--navy-800); border-color: var(--navy-800); color: rgba(255, 255, 255, .8); }
.aside__box--dark h2 { color: var(--gold-400); }
.aside__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.aside__nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--text); font-weight: 500; font-size: 15px; }
.aside__nav a svg { width: 22px; height: 22px; color: var(--blue-600); flex: none; }
.aside__nav a:hover { background: var(--paper); color: var(--blue-600); }
.aside__nav a.is-active { background: var(--blue-50); color: var(--navy-800); font-weight: 700; box-shadow: inset 3px 0 0 var(--gold-500); }
.aside__contact { display: flex; gap: 10px; align-items: center; margin: 0 0 8px; font-weight: 500; }
.aside__contact .ic { color: var(--blue-600); }

.mini { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mini:last-of-type { border-bottom: 0; margin-bottom: 12px; }
.mini img, .mini__ph { width: 66px; height: 52px; object-fit: cover; border-radius: 8px; flex: none; background: var(--paper); display: grid; place-items: center; color: var(--blue-600); }
.mini strong { display: block; font-size: 14.5px; line-height: 1.35; font-weight: 600; }
.mini time { font-size: 12.5px; color: var(--muted); }
.mini:hover strong { color: var(--blue-600); }

/* Content from the CMS */
.prose { font-size: 17px; line-height: 1.8; color: var(--text); min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--serif); margin: 1.6em 0 .6em; font-weight: 600; }
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 22px; }
.prose p strong:only-child { display: block; font-family: var(--serif); font-size: 23px; color: var(--ink); margin-top: 1.4em; line-height: 1.3; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose ul[style] { margin-left: 0 !important; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold-600); }
.prose img { border-radius: var(--radius); margin: 1.4em 0; box-shadow: var(--shadow-sm); height: auto !important; }
.prose a { text-decoration: underline; text-decoration-color: rgba(29, 79, 158, .35); text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--gold-500); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--serif); font-size: 19px; }
.table-scroll { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100% !important; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; border-left: 0; border-right: 0; }
.prose th { background: var(--paper); color: var(--ink); }
.prose__icon { width: 72px; height: 72px; border-radius: 18px; background: var(--navy-800); color: var(--gold-400); display: grid; place-items: center; margin-bottom: 26px; }
.prose__icon svg { width: 40px; height: 40px; }
.prose__updated { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.prose__lead-image { display: block; margin: 0 0 1.8em; }
.prose__lead-image img { margin: 0; width: 100%; max-height: 520px; object-fit: cover; }
.prose--letter { position: relative; padding-top: 10px; }
.prose--letter p:first-of-type::first-letter { float: left; font-family: var(--serif); font-size: 64px; line-height: .9; padding: 6px 10px 0 0; color: var(--navy-800); }
.prose__quote { width: 54px; height: 54px; color: var(--gold-500); margin-bottom: 8px; }
.prose--center { max-width: 760px; margin: 56px auto 0; text-align: center; }

.portrait { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.portrait img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 20%; }
.portrait .portrait__logo { object-fit: contain; padding: 40px; background: var(--paper); }
.portrait p { margin: 0; padding: 16px 20px; font-weight: 700; color: var(--navy-800); border-top: 3px solid var(--gold-500); }

/* ---------- Chips & pagination ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { padding: 8px 17px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-weight: 600; font-size: 14.5px; background: var(--white); }
.chip:hover { border-color: var(--navy-800); color: var(--navy-800); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 50px; }
.pager__btn { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); font-weight: 600; background: var(--white); }
a.pager__btn:hover { border-color: var(--navy-800); color: var(--navy-800); }
.pager__btn.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.pager__btn.is-disabled { color: var(--line-strong); }

/* ---------- Downloads ---------- */
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.file { display: flex; align-items: center; gap: 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow .3s, border-color .3s; }
.file:hover { box-shadow: var(--shadow); border-color: transparent; }
.file__type { flex: none; width: 54px; height: 62px; border-radius: 8px; display: grid; place-items: end center; padding-bottom: 9px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; color: var(--white); background: var(--blue-600); clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.file__type--pdf { background: #c0392b; }
.file__type--jpg, .file__type--jpeg, .file__type--png { background: var(--green-600); }
.file__type--doc, .file__type--docx { background: var(--blue-600); }
.file__type--xls, .file__type--xlsx { background: #1d6f42; }
.file__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.file__body strong { color: var(--ink); font-size: 16.5px; }
.file__body span { font-size: 14px; color: var(--muted); }
.file__size { font-weight: 600; }
.file__missing { font-size: 13.5px; color: var(--muted); font-style: italic; }

/* ---------- Case status ---------- */
.tracker { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; margin-top: -110px; position: relative; z-index: 2; }
.tracker__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.tracker__head h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 4px; }
.tracker__head p { margin: 0; color: var(--muted); font-size: 15px; }
.tracker__icon { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); }
.tracker__icon .ic { width: 24px; height: 24px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: 10px; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2367748c' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(29, 79, 158, .12); }
.field select:disabled { background-color: var(--paper); color: var(--muted); }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 15px; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert--error { background: var(--red-50); color: var(--red-600); border: 1px solid #f5c2bd; }

.results { margin-top: 40px; display: grid; gap: 20px; }
.results__count { font-weight: 700; color: var(--green-600); margin: 0; }
.case { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; box-shadow: var(--shadow-sm); }
.case.is-done { border-top: 4px solid var(--green-600); }
.case.is-pending { border-top: 4px solid var(--gold-500); }
.case__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 26px 8px; }
.case__type { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); }
.case__head h3 { font-family: var(--serif); font-size: 24px; margin: 4px 0 0; }
.case__head h3 small { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.status--done { background: var(--green-50); color: var(--green-600); }
.status--pending { background: var(--amber-50); color: var(--amber-600); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 26px 6px; padding: 0; counter-reset: s; }
.steps li { position: relative; padding-top: 30px; font-weight: 700; color: var(--muted); font-size: 14.5px; }
.steps li small { display: block; font-weight: 500; font-size: 13px; }
.steps li span { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line-strong); background: var(--white); z-index: 1; }
.steps li::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 3px; background: var(--line); }
.steps li:last-child::before { right: auto; width: 0; }
.steps li.is-done { color: var(--ink); }
.steps li.is-done span { border-color: var(--green-600); background: var(--green-600); box-shadow: inset 0 0 0 3px var(--white); }
.steps li.is-done::before { background: var(--green-600); }
.steps li.is-current { color: var(--ink); }
.steps li.is-current span { border-color: var(--gold-500); box-shadow: 0 0 0 5px var(--gold-100); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(247, 239, 217, .4); } }
.case__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); background: var(--paper); }
.case__meta div { padding: 14px 26px; border-right: 1px solid var(--line); }
.case__meta dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case__meta dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-top: -110px; position: relative; z-index: 2; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.contact-card p { color: var(--ink); font-weight: 600; font-size: 16.5px; overflow-wrap: anywhere; }
.contact-card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.contact-card__icon .ic { width: 24px; height: 24px; }
.contact-card--dark { background: var(--navy-800); border-color: var(--navy-800); }
.contact-card--dark h2 { color: var(--gold-400); }
.contact-card--dark p { color: rgba(255, 255, 255, .85); font-weight: 500; font-size: 15px; }
.contact-card--dark .contact-card__icon { background: rgba(255, 255, 255, .1); color: var(--gold-400); }
.map { margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

.error-page { text-align: center; }
.error-page img { margin: 0 auto 26px; }
.error-page .hero__actions { justify-content: center; margin-top: 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .66); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding: 80px 0 56px; }
.footer h3 { color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: var(--gold-400); }
.footer__brand p { margin-top: 22px; max-width: 38ch; }
.footer__motto { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold-400); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ic { color: var(--gold-400); margin-top: 3px; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; flex-wrap: wrap; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy-800); color: var(--gold-400); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-600); }

/* ---------- Load + reveal on scroll ---------- */
.rise { animation: rise 1s var(--ease) both; }
.hero__content .rise:nth-child(2) { animation-delay: .12s; }
.hero__content .rise:nth-child(3) { animation-delay: .24s; }
.hero__content .rise:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 60; margin: 0;
    flex-direction: column; align-items: stretch; gap: 20px; padding: 90px 22px 30px; overflow-y: auto;
    background: var(--white); box-shadow: -30px 0 60px rgba(8, 26, 56, .25);
    transform: translateX(105%); transition: transform .35s var(--ease);
  }
  .nav.is-open { transform: none; }
  /* Below the header (z 50): the drawer lives inside the header's stacking context. */
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(5, 15, 34, .5); }
  body.nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 16px; }
  .nav__menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; min-width: 0; }
  .nav__menu::before { display: none; }
  .has-menu.is-open > .nav__menu { display: block; transform: none; }
  .nav__cta { justify-content: center; padding: 14px; }
  .nav-toggle.is-open { position: fixed; top: 18px; right: 20px; z-index: 70; }
}
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .leaders, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .layout-aside, .layout-aside--left { grid-template-columns: 1fr; }
  .aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .albums--feature { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .topbar__gov { display: none; }
  .topbar__inner { justify-content: center; }
  .brand__logo { width: 44px; }
  .brand__text strong { font-size: 16px; }
  .brand__text span { font-size: 10.5px; }
  .hero { min-height: 600px; }
  .hero__content { padding: 80px 0 150px; }
  .hero__controls { bottom: 96px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 20px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n + 3) { border-bottom: 0; }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 30px; }
  .services, .leaders, .cards--3, .videos, .albums, .albums--small, .contact-grid, .footer__grid, .fields { grid-template-columns: 1fr; }
  .albums--feature { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .albums--feature .album:first-child { grid-column: auto; grid-row: auto; }
  .mosaic { grid-template-rows: 160px 160px; }
  .mosaic__badge { left: 12px; bottom: -18px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .tracker { padding: 24px 20px; margin-top: -80px; }
  .case__head { flex-direction: column; }
  .file { flex-wrap: wrap; }
  .file .btn { width: 100%; }
  .lightbox { padding: 60px 10px; }
  .lightbox__nav { bottom: 18px; top: auto; }
  .footer__grid { gap: 36px; padding: 60px 0 40px; }
  .contact-grid { margin-top: -80px; }
}

/* ---------- Contact: one combined card ---------- */
.contact-panel { display: grid; grid-template-columns: 1.7fr 1fr; margin-top: -110px; position: relative; z-index: 2; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.contact-panel__info { padding: 40px 44px; }
.contact-panel__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin: 0 0 6px; }
.contact-panel__title { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--ink); margin: 0 0 28px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.contact-list__item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list__item--wide { grid-column: 1 / -1; }
.contact-list__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list__item p { margin: 0; color: var(--ink); font-weight: 600; font-size: 16.5px; line-height: 1.45; overflow-wrap: anywhere; }
.contact-list__item a { color: inherit; text-decoration: none; }
.contact-list__item a:hover { color: var(--blue-600); text-decoration: underline; }
.contact-list__item .contact-card__icon { flex: 0 0 auto; }
.contact-panel__cta { position: relative; padding: 40px 36px; color: rgba(255, 255, 255, .88); background: radial-gradient(120% 100% at 100% 0%, var(--navy-700) 0%, var(--navy-800) 55%, var(--navy-950) 100%); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.contact-panel__cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(217, 184, 95, .12); }
.contact-panel__cta .contact-card__icon { background: rgba(255, 255, 255, .1); color: var(--gold-400); }
.contact-panel__cta h2 { font-family: var(--serif); font-size: 24px; color: #fff; margin: 20px 0 8px; }
.contact-panel__cta p { margin: 0 0 22px; font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) {
  .contact-panel { grid-template-columns: 1fr; margin-top: -80px; }
  .contact-panel__info, .contact-panel__cta { padding: 28px 24px; }
}
@media (max-width: 560px) { .contact-list { grid-template-columns: 1fr; } }

/* ---------- Page banner: photo background + compact size (used by the contact page) ---------- */
.page-hero--photo::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center 38% / cover no-repeat; opacity: .62; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 15, 34, .94) 0%, rgba(8, 26, 56, .82) 45%, rgba(11, 33, 70, .45) 100%); }
.page-hero--photo > .container, .page-hero--photo .page-hero__pattern { position: relative; z-index: 1; }
.page-hero--photo .page-hero__pattern { position: absolute; }
.page-hero--compact { padding: 30px 0 38px; }
.page-hero--compact.page-hero--overlap { padding-bottom: 96px; }
.page-hero--compact .crumbs { margin-bottom: 14px; }
.page-hero--compact h1 { font-size: clamp(26px, 3.2vw, 38px); }
.page-hero--compact .page-hero__lead { font-size: 15.5px; margin-top: 8px; }
.page-hero--compact .eyebrow { margin-bottom: 6px; }
.page-hero--compact.page-hero--overlap + .section .contact-panel { margin-top: -64px; }
@media (max-width: 900px) { .page-hero--compact.page-hero--overlap + .section .contact-panel { margin-top: -56px; } }

/* ---------- Top bar: slogan + phone / fax / email ---------- */
.topbar__slogan { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 14px; letter-spacing: .04em; color: var(--gold-400); display: inline-flex; align-items: center; gap: 10px; }
.topbar__slogan::before { content: ""; width: 22px; height: 1px; background: var(--gold-400); opacity: .7; }
.topbar__links { align-items: center; }
.topbar__links > span { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .78); }
.topbar__links .ic { width: 15px; height: 15px; color: var(--gold-400); }
@media (max-width: 900px) {
  .topbar__links { gap: 16px; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 760px) {
  .topbar__inner { flex-direction: column; gap: 2px; padding: 6px 0; }
  .topbar__links { font-size: 12px; gap: 6px 14px; }
}

/* ---------- PDF attachments on an update ---------- */
.docs { display: grid; gap: 12px; margin: 14px 0 28px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.doc__icon { position: relative; width: 46px; height: 54px; border-radius: 8px; background: var(--red-50); color: var(--red-600); display: grid; place-items: center; flex: 0 0 auto; }
.doc__icon .ic { width: 22px; height: 22px; margin-bottom: 8px; }
.doc__icon b { position: absolute; bottom: 5px; font-size: 10px; letter-spacing: .08em; }
.doc__name { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.doc__name strong { color: var(--ink); font-size: 16px; overflow-wrap: anywhere; text-transform: capitalize; }
.doc__name small { color: var(--muted); font-size: 13px; }
.tag--pdf { left: auto; right: 14px; background: var(--red-600); color: #fff; }
