/* AAU Group — public site styles */

:root {
  --navy: #07163c;
  --navy-2: #0c2152;
  --blue: #1f4e9c;
  --gold: #f2c14e;
  --gold-deep: #8a6410;
  --ivory: #f4efe4;
  --paper: #f7f5ef;
  --white: #ffffff;
  --ink: #101a33;
  --ink-soft: #46506a;
  --line: #e3dfd3;
  --line-dark: rgba(244, 239, 228, 0.16);
  --danger: #b3261e;
  --success: #17603a;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-3: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.4rem + 4.4vw, 5rem);

  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 2.5rem);
  --radius: 6px;
  --shadow: 0 18px 40px -22px rgba(7, 22, 60, 0.45);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--glass);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--heading); }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.section--paper :focus-visible, .prose :focus-visible, .form-card :focus-visible { outline-color: var(--blue); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold); color: var(--heading); padding: 0.75rem 1rem; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); }

.section { padding-block: var(--space-section); }
.section--paper { background: var(--band); }
.section--navy { background: var(--navy); color: var(--ivory); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  margin: 0 0 1rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--link);
}
.eyebrow--gold { color: var(--gold); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head p:last-child { color: var(--text-soft); font-size: var(--step-1); margin: 0; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: end; justify-content: space-between; }
.section-head--split h2 { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.6rem;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 0.9rem; }
.btn--gold { background: var(--gold); color: var(--heading); }
.btn--gold:hover { background: #ffd56b; color: var(--heading); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--heading); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn small { font-weight: 600; opacity: 0.8; font-size: 0.75rem; }

.link-arrow { font-weight: 800; text-decoration: none; color: var(--heading); display: inline-flex; align-items: center; gap: 0.5rem; padding-block: 0.6rem; }
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: "←"; }
.section--navy .link-arrow { color: var(--gold); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 22, 60, 0.75), rgba(7, 22, 60, 0));
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-solid, .site-header.is-open { background: var(--navy); box-shadow: 0 1px 0 var(--line-dark); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { height: 46px; width: auto; }

.site-nav__list { display: flex; align-items: center; gap: 0.25rem; }
.site-nav__list > li > a:not(.btn), .site-nav__list > li > button {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.5rem 0.9rem;
  color: var(--white); background: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; border-radius: var(--radius);
}
.site-nav__list > li > a:not(.btn):hover, .site-nav__list > li > button:hover { color: var(--gold); }
.site-nav__list > li > a[aria-current="page"]:not(.btn), .site-nav__list > li > button.is-active { color: var(--gold); }
.site-nav__cta { margin-left: 0.75rem; }
.site-nav__search-label { display: none; }

.has-menu { position: relative; }
.has-menu button svg { transition: transform 0.2s; }
.has-menu button[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px; padding: 0.5rem;
  background: var(--glass); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.has-menu button[aria-expanded="true"] + .menu { opacity: 1; visibility: visible; transform: none; }
.menu a {
  display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.9rem;
  color: var(--text); font-weight: 600; font-size: 0.95rem; text-decoration: none; border-radius: 4px;
}
.menu a:hover { background: var(--band); color: var(--link); }
.menu__ext { color: var(--text-soft); }

.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 0; color: var(--white); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 26px; height: 2px; background: currentColor; margin-inline: auto;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; overflow-y: auto;
    background: var(--navy); padding: 1rem var(--gutter) 3rem;
    visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0.2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid var(--line-dark); }
  .site-nav__list > li > a:not(.btn), .site-nav__list > li > button {
    width: 100%; justify-content: space-between; padding: 1rem 0; font-size: 1.125rem; font-weight: 700;
  }
  .site-nav__search-label { display: inline; margin-right: auto; margin-left: 0.6rem; }
  .site-nav__search a { justify-content: flex-start !important; }
  .site-nav__cta { margin: 1.5rem 0 0; border: 0 !important; }
  .site-nav__cta .btn { width: 100%; }
  .menu {
    position: static; display: none; min-width: 0; padding: 0 0 0.75rem; background: none; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .has-menu button[aria-expanded="true"] + .menu { display: block; }
  .menu a { color: var(--ivory); padding: 0.7rem 0 0.7rem 1rem; font-weight: 500; }
  .menu a:hover { background: none; color: var(--gold); }
  .menu__ext { color: inherit; }
}

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: var(--white); background: var(--navy); }
.hero__image, .page-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 22, 60, 0.72) 0%, rgba(7, 22, 60, 0.62) 35%, rgba(7, 22, 60, 0.96) 100%);
}
.hero__inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2rem, 1rem + 4vw, 4rem); }
.hero__title { font-size: var(--step-4); line-height: 1; letter-spacing: -0.035em; margin-bottom: 1.25rem; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lede { font-size: var(--step-2); max-width: 36rem; color: var(--ivory); margin-bottom: 2rem; line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 0; padding-top: 1.75rem; border-top: 1px solid rgba(242, 193, 78, 0.4); }
.stats--three { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.stats__item { display: flex; flex-direction: column-reverse; gap: 0.35rem; }
.stats dt { font-size: var(--step--1); color: var(--ivory); line-height: 1.4; max-width: 16rem; }
.stats dd { margin: 0; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .stats, .stats--three { grid-template-columns: repeat(2, 1fr); } }

/* Page hero */
.page-hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy); }
.page-hero--plain::after { content: none; }
.page-hero--plain { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.page-hero__inner { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 6.5rem)); padding-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.page-hero__title { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 4rem); letter-spacing: -0.03em; max-width: 20ch; }
.page-hero--article .page-hero__title { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); max-width: none; line-height: 1.15; }
.page-hero__intro { font-size: var(--step-2); line-height: 1.45; max-width: 42rem; color: var(--ivory); margin: 0; }
.crumbs { margin-bottom: 1.25rem; font-size: var(--step--1); font-weight: 600; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: rgba(244, 239, 228, 0.5); }
.crumbs a { color: var(--ivory); text-decoration: none; display: inline-block; padding-block: 0.25rem; }
.crumbs a:hover { color: var(--gold); text-decoration: underline; }
.crumbs [aria-current] { color: var(--gold); }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--gold); counter-reset: none; }
.values__item { padding: 2rem 1.75rem 0.5rem 0; border-right: 1px solid var(--glass-line); }
.values__item + .values__item { padding-left: 1.75rem; }
.values__item:last-child { border-right: 0; padding-right: 0; }
.values__num { display: block; font-weight: 800; font-size: var(--step--1); letter-spacing: 0.1em; color: var(--gold); margin-bottom: 2.5rem; }
.values__item p { color: var(--text-soft); margin: 0; }
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .values__item, .values__item + .values__item { padding: 1.75rem 1.25rem 1.75rem 0; border-right: 0; border-bottom: 1px solid var(--glass-line); }
  .values__num { margin-bottom: 1rem; }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); gap: clamp(1.25rem, 1rem + 1vw, 2rem); }

.company-card, .news-card { position: relative; display: flex; flex-direction: column; background: var(--glass); border-radius: var(--radius); overflow: hidden; }
.company-card { border: 1px solid var(--glass-line); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.company-card:hover, .company-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow); }
.company-card__media, .news-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.company-card__media img, .news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.company-card:hover img, .news-card:hover img { transform: scale(1.04); }
.company-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.company-card__industry { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.company-card__title { margin-bottom: 0.6rem; }
.company-card__title a { color: var(--heading); text-decoration: none; }
.company-card__title a::after { content: ""; position: absolute; inset: 0; }
.company-card__body > p:not([class]) { color: var(--text-soft); font-size: 0.95rem; }
.company-card__more { margin-top: auto; padding-top: 0.5rem; font-weight: 800; color: var(--link); }

.news-card__media { border-radius: var(--radius); }
.news-card__body { padding-top: 1.1rem; }
.news-card__meta { font-size: var(--step--1); font-weight: 600; color: var(--text-soft); margin-bottom: 0.5rem; }
.news-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.news-card__title a { color: var(--heading); text-decoration: none; }
.news-card__title a:hover, .news-row h3 a:hover, .news-lead__main h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.news-card__excerpt { color: var(--text-soft); font-size: 0.95rem; margin: 0; }
.section--paper .news-card { background: none; }

/* Feature */
.feature__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.feature__body p:not(.eyebrow) { color: var(--ivory); }
.ticks { margin: 1.5rem 0 2rem; display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 1.9rem; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 1rem; height: 2px; background: var(--gold); }
@media (max-width: 860px) { .feature__grid { grid-template-columns: 1fr; } }

/* Vision */
.vision blockquote, .vision--dark p { max-width: 60rem; }
.vision blockquote { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--heading); text-wrap: balance; }
.vision--dark blockquote { color: var(--white); }
.vision--dark p { color: var(--ivory); max-width: 46rem; margin-bottom: 2rem; }

/* Awards strip */
.awards-strip { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
.awards-strip > div > p:not(.eyebrow) { color: var(--text-soft); }
.awards-strip__list li { padding: 1.4rem 0; border-top: 1px solid var(--glass-line); display: grid; gap: 0.3rem; }
.awards-strip__list li:last-child { border-bottom: 1px solid var(--glass-line); }
.awards-strip__issuer { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.awards-strip__list strong { font-size: var(--step-2); font-weight: 800; line-height: 1.25; color: var(--heading); }
@media (max-width: 860px) { .awards-strip { grid-template-columns: 1fr; } }

/* News lead */
.news-lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); }
.news-lead__main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.25rem; }
.news-lead__main h3 { font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.02em; }
.news-lead__main h3 a, .news-row h3 a { color: var(--heading); text-decoration: none; }
.news-lead__main > p:last-child { color: var(--text-soft); }
.news-row { display: grid; grid-template-columns: 132px 1fr; gap: 1.25rem; padding: 1.4rem 0; border-top: 1px solid var(--glass-line); align-items: start; }
.news-row:first-child { border-top: 0; padding-top: 0; }
.news-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.news-row h3 { font-size: 1.125rem; margin: 0; }
@media (max-width: 860px) { .news-lead { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .news-row { grid-template-columns: 96px 1fr; gap: 1rem; } }

/* Split + prose */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
.split__media { margin: 0; display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.split__media img { width: 100%; border-radius: var(--radius); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__media { position: static; } }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: var(--text-soft); }
.prose h2 { font-size: var(--step-3); color: var(--heading); margin-top: 0; }
.prose > h2:not(:first-child), .prose > h3 { margin-top: 2.2em; }
.prose h3, .prose h4 { color: var(--heading); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--gold); font-weight: 800; }
.prose img { border-radius: var(--radius); width: 100%; }
.prose figure { margin: 2em 0; }
.prose blockquote { margin: 2em 0; padding: 1.25rem 0; border-block: 1px solid var(--glass-line); font-size: var(--step-2); line-height: 1.4; font-weight: 600; color: var(--heading); }
.prose .lede, .lede { font-size: var(--step-2); line-height: 1.5; color: var(--heading); font-weight: 600; }
.prose--article { max-width: none; font-size: var(--step-1); }
.prose .btn { margin-top: 1.5rem; }

.article__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 2.5rem; }
.article__back { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--glass-line); }

.logo-row { display: flex; flex-wrap: wrap; gap: 1rem; padding: 0 !important; list-style: none !important; margin-top: 2rem; }
.logo-row li { margin: 0 !important; padding: 1rem 1.25rem; border: 1px solid var(--glass-line); border-radius: var(--radius); display: grid; place-items: center; background: var(--glass); }
.logo-row img { height: 56px; width: auto; border-radius: 0; }
.logo-row__dark { background: var(--navy) !important; }

/* Mission / vision grid */
.mv { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.mv__item { padding-top: 1.5rem; border-top: 1px solid rgba(242, 193, 78, 0.4); }
.mv__item p:last-child { font-size: var(--step-1); line-height: 1.6; margin: 0; }
@media (max-width: 860px) { .mv { grid-template-columns: 1fr; } }

.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.duo h2 { font-size: var(--step-3); }
.duo p { color: var(--text-soft); margin: 0; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* Awards page */
.award-list { display: grid; gap: 1.5rem; }
.award { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); overflow: hidden; }
.award img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.award > div { padding: 1.75rem 1.75rem 1.75rem 0; }
.award > div:first-child { padding-left: 1.75rem; }
.award__issuer { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.award p:last-child { color: var(--text-soft); margin: 0; }
@media (max-width: 680px) { .award { grid-template-columns: 1fr; } .award > div { padding: 0 1.5rem 1.5rem; } }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2.5rem 2rem; }
.person img, .person__initials { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
.person__initials { display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 3.5rem; font-weight: 800; }
.person h3 { font-size: 1.125rem; margin-bottom: 0.2rem; color: var(--heading); }
.person__role { color: var(--text-soft); font-size: 0.95rem; margin: 0; }

/* Company page */
.company { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
.company__aside { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.company__logo { background: var(--navy); border-radius: var(--radius); padding: 2rem; display: grid; place-items: center; }
.company__logo img { max-height: 90px; width: auto; }
.facts { margin: 0; }
.facts div { padding: 0.9rem 0; border-top: 1px solid var(--glass-line); }
.facts div:last-child { border-bottom: 1px solid var(--glass-line); }
.facts dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); }
.facts dd { margin: 0.2rem 0 0; font-weight: 700; color: var(--heading); }
@media (max-width: 860px) { .company { grid-template-columns: 1fr; } .company__aside { position: static; } }

.map iframe { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; filter: saturate(0.85); }

/* Downloads */
.download-list { display: grid; gap: 1rem; }
.download { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding: 1.5rem 1.75rem; border: 1px solid var(--glass-line); border-radius: var(--radius); }
.download h2 { font-size: var(--step-2); margin: 0 0 0.25rem; color: var(--heading); }
.download p { margin: 0; color: var(--text-soft); }
.download .btn { flex-direction: column; gap: 0.1rem; }

/* Jobs */
.job-list { border-top: 2px solid var(--gold); }
.job { border-bottom: 1px solid var(--glass-line); }
.job summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; padding: 1.4rem 0; align-items: center; }
.job summary::-webkit-details-marker { display: none; }
.job summary::after { content: "+"; grid-row: 1 / span 2; grid-column: 2; font-size: 1.75rem; font-weight: 400; color: var(--link); line-height: 1; }
.job[open] summary::after { content: "–"; }
.job__title { font-size: var(--step-2); font-weight: 800; color: var(--heading); letter-spacing: -0.01em; }
.job__meta { color: var(--text-soft); font-size: 0.95rem; }
.job__body { padding: 0 0 2rem; }
.job__body h3 { font-size: 1.125rem; }

/* Forms */
.form-card { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.form-card > h2 { font-size: var(--step-3); }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.form > .btn { justify-self: start; }
.form > .field--wide, .form > .btn, .form > .hp { grid-column: 1 / -1; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } .form > .btn { justify-self: stretch; } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-weight: 700; font-size: 0.95rem; color: var(--heading); }
.field__optional { font-weight: 500; color: var(--text-soft); }
.field input, .field textarea, .field select, .search-form input {
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem;
  font: inherit; color: var(--text); background: var(--glass);
  border: 1.5px solid #9aa0b0; border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input[type="file"] { padding: 0.6rem; }
.field input:focus, .field textarea:focus, .field select:focus, .search-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 78, 156, 0.25); }
.field--error input, .field--error textarea { border-color: var(--danger); }
.field__hint { margin: 0; font-size: var(--step--1); color: var(--text-soft); }
.field__error { margin: 0; font-size: var(--step--1); font-weight: 700; color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.15rem; border-radius: var(--radius); font-weight: 600; margin-bottom: 1.5rem; border: 1px solid; }
.alert--success { background: #e8f4ec; color: var(--success); border-color: var(--success); }
.alert--error { background: #fbeceb; color: var(--danger); border-color: var(--danger); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
.contact__block { padding: 1.4rem 0; border-top: 1px solid var(--glass-line); display: grid; gap: 0.2rem; }
.contact__block:first-child { border-top: 2px solid var(--gold); }
.contact__block h2 { font-size: 1.125rem; letter-spacing: 0; margin: 0 0 0.2rem; color: var(--heading); }
.contact__block p, .contact__block span { margin: 0; color: var(--text-soft); }
.contact__block a { font-weight: 800; font-size: var(--step-1); overflow-wrap: anywhere; padding-block: 0.3rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Search */
.search-form { display: flex; gap: 0.75rem; margin-bottom: 2rem; }
.search-form input { flex: 1; min-width: 0; }
.search-form--dark { max-width: 34rem; margin: 2rem 0 1.5rem; }
.search-form--dark input { border-color: transparent; }
.search-count { font-weight: 700; color: var(--heading); }
.result-list li { padding: 1.4rem 0; border-top: 1px solid var(--glass-line); }
.result-list__type { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.result-list a { font-size: var(--step-2); font-weight: 800; color: var(--heading); line-height: 1.25; }
.result-list p { margin: 0.4rem 0 0; color: var(--text-soft); }
@media (max-width: 480px) { .search-form { flex-direction: column; } }

.pager { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 3.5rem; }
.pager a { min-width: 46px; min-height: 46px; display: grid; place-items: center; border: 1.5px solid var(--glass-line); border-radius: var(--radius); font-weight: 800; text-decoration: none; color: var(--heading); }
.pager a:hover { border-color: var(--navy); }
.pager [aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.empty { padding: 2.5rem; text-align: center; background: var(--band); border-radius: var(--radius); color: var(--text-soft); font-size: var(--step-1); margin: 0; }
.section--paper .empty { background: var(--glass); }

/* Sitemap */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.sitemap h2 { font-size: var(--step-2); padding-bottom: 0.75rem; border-bottom: 2px solid var(--gold); margin-bottom: 0.75rem; }
.sitemap a { display: inline-block; padding: 0.4rem 0; font-weight: 600; }
.sitemap__wide { grid-column: 1 / -1; }

/* CTA band + footer */
.cta-band { background: var(--gold); color: var(--heading); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta-band .eyebrow { color: var(--heading); }
.cta-band__title { font-size: var(--step-3); margin: 0; max-width: 24ch; }
.cta-band .btn--gold { background: var(--navy); color: var(--white); }
.cta-band .btn--gold:hover { background: var(--navy-2); color: var(--white); }
.cta-band :focus-visible { outline-color: var(--navy); }

.site-footer { background: var(--navy); color: var(--ivory); padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); font-size: 0.95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand img { height: 64px; width: auto; margin-bottom: 1rem; }
.site-footer__brand p { font-weight: 700; color: var(--white); }
.site-footer address { line-height: 1.8; }
.site-footer a { color: var(--ivory); text-decoration: none; display: inline-block; padding-block: 0.3rem; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer__heading { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: center; padding-block: 1.4rem; border-top: 1px solid var(--line-dark); font-size: var(--step--1); }
.site-footer__bottom p { margin: 0; }
.site-footer__social { display: flex; gap: 1.5rem; }
.site-footer__social a { font-weight: 700; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Error pages */
.error-page .page-hero__inner { padding-bottom: clamp(4rem, 3rem + 6vw, 8rem); }
.error-page__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 0; }
.error-page__links a { color: var(--gold); font-weight: 700; padding-block: 0.4rem; }
.plain-error { min-height: 100vh; display: grid; place-items: center; background: var(--navy); color: var(--ivory); padding: 2rem; }
.plain-error main { max-width: 36rem; }
.plain-error h1 { font-size: var(--step-3); color: var(--white); }
.plain-error a:not(.btn) { color: var(--gold); }
.plain-error pre { margin-top: 2rem; padding: 1rem; background: rgba(0, 0, 0, 0.35); border-radius: var(--radius); font-size: 0.8rem; overflow: auto; white-space: pre-wrap; }

/* Scroll reveal: content is visible by default; JS opts in to the animation. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .cta-band, .site-footer, .map { display: none; }
  .page-hero { color: #000; background: none; }
  .page-hero::after, .page-hero__image { display: none; }
}
