/* EMASD – site styles */

:root {
  --ink: #0b1a33;
  --ink-2: #16294a;
  --ink-3: #22385f;
  --text: #1c2534;
  --muted: #5a6577;
  --line: #e1e6ee;
  --bg: #ffffff;
  --bg-muted: #f4f6fa;
  --brand: #13428f;          /* EMASD logo blue */
  --accent: #1f5fd1;
  --accent-dark: #17489f;
  --accent-soft: #eaf1fd;
  --signal: #6fb2ff;         /* highlight on dark backgrounds */

  --radius: 16px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(11, 26, 51, .05), 0 10px 28px -14px rgba(11, 26, 51, .18);
  --shadow-hover: 0 2px 4px rgba(11, 26, 51, .06), 0 22px 44px -18px rgba(11, 26, 51, .32);
  --container: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; hyphens: auto; -webkit-hyphens: auto; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); font-weight: 780; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.2rem); font-weight: 730; }
h3 { font-size: 1.18rem; font-weight: 680; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 640px) { .container { width: min(100% - 3rem, var(--container)); } }

.visually-hidden {
  position: absolute !important; 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: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Signature element: the rounded bar from the EMASD logo */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 5px; border-radius: 99px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--signal); }

/* ---- Header ------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }

.brand { flex: none; }
.brand img { width: 150px; height: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav a {
  display: block; padding: .5rem .75rem; border-radius: var(--radius-sm);
  color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 560; white-space: nowrap;
}
.nav a:hover { background: var(--bg-muted); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--accent-soft); }
.nav a.nav__cta { background: var(--ink); color: #fff; margin-left: .6rem; padding-inline: 1.1rem; border-radius: 99px; }
.nav a.nav__cta:hover { background: var(--ink-3); }
.nav a.nav__cta[aria-current="page"] { background: var(--brand); }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .site-header__inner { min-height: 68px; }
  .brand img { width: 128px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none; max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .75rem 1rem 1.25rem; gap: .15rem; }
  .nav a { padding: .8rem 1rem; font-size: 1.02rem; }
  .nav a.nav__cta { margin: .5rem 0 0; text-align: center; }
}

/* ---- Buttons & links ---------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.45rem; border-radius: 99px; font-weight: 620; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); color: var(--ink); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

.link-arrow { font-weight: 620; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---- Dark surfaces (hero, page head, CTA) ------------------------------- */

.surface-dark {
  position: relative; isolation: isolate; color: rgba(255, 255, 255, .86);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 520px at 85% -10%, rgba(31, 95, 209, .45), transparent 65%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}
.surface-dark h1, .surface-dark h2, .surface-dark h3 { color: #fff; }

/* ---- Hero --------------------------------------------------------------- */

.hero { overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(3rem, 2rem + 4vw, 5.5rem);
}
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 3rem; } }
.hero__title { font-size: clamp(2.3rem, 1.2rem + 4vw, 4.1rem); letter-spacing: -.03em; line-height: 1.04; max-width: 15ch; }
.hero__title em { font-style: normal; color: var(--signal); }
.hero__lead { font-size: clamp(1.06rem, 1rem + .45vw, 1.3rem); max-width: 50ch; color: rgba(255, 255, 255, .82); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__figure { margin: 0; }
.hero__figure svg { width: 100%; height: auto; }
.hero__figure figcaption { font-size: .82rem; color: rgba(255, 255, 255, .55); margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.hero__figure figcaption span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__figure figcaption b {
  display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--signal); color: var(--ink); font-size: .72rem; font-weight: 800;
}

/* Key figures */
.facts { border-top: 1px solid rgba(255, 255, 255, .12); }
.facts ul {
  list-style: none; margin: 0; padding: 1.6rem 0; display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) { .facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts strong { display: block; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 760; letter-spacing: -.02em; line-height: 1.1; }
.facts span { font-size: .9rem; color: rgba(255, 255, 255, .62); }

/* ---- Sections ----------------------------------------------------------- */

.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section--muted { background: var(--bg-muted); }
.section--tight-top { padding-top: 0; }
.section__head { max-width: 62ch; margin-bottom: 2.75rem; }
.section__head h2 { margin-bottom: .4em; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.section__head--split > div { max-width: 62ch; }

.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; } }

/* ---- Cards -------------------------------------------------------------- */

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow); color: inherit; text-decoration: none;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 1.25rem; }
.card--link:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #cdd7e6; color: inherit; }
.card__num { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-bottom: 1.25rem; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--brand); margin-bottom: 1.25rem;
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__more { margin-top: auto; font-weight: 620; color: var(--accent); display: inline-flex; gap: .35rem; }
.card__more::after { content: "→"; transition: transform .15s; }
.card--link:hover .card__more::after { transform: translateX(3px); }

/* Numbered purpose list (Statutes, Section 1) */
.purpose { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.purpose li {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: .75rem; align-items: baseline;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.25rem;
}
.purpose b { font-family: var(--mono); font-size: .85rem; color: var(--brand); font-weight: 700; }

/* ---- Logo wall ---------------------------------------------------------- */

.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.logo-wall a {
  display: grid; place-items: center; height: 120px; padding: 1.5rem 1.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .2s, transform .2s;
}
.logo-wall a:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.logo-wall img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logo-wall a:hover img { filter: none; opacity: 1; }
.logo-text { font-weight: 700; color: var(--ink); text-align: center; }

/* ---- CTA band ----------------------------------------------------------- */

.cta {
  border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
}
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---- Page head ---------------------------------------------------------- */

.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5.25rem) clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.page-head h1 { margin-bottom: .35em; max-width: 22ch; }
.page-head__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 60ch; color: rgba(255, 255, 255, .8); margin: 0; }

.page-body { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.page-body > * + * { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* ---- Prose -------------------------------------------------------------- */

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--brand); }

.block-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.block-title h2 { margin: 0; }
.block-title p { margin: 0; color: var(--muted); }

.note {
  border-left: 4px solid var(--brand); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem; color: var(--ink-2);
}
.note p:last-child { margin-bottom: 0; }

/* ---- Structural devices ------------------------------------------------- */

.device { display: grid; gap: 1.5rem 3rem; padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 1px solid var(--line); }
.device:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .device { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.device__head .card__icon { margin-bottom: 1rem; }
.device__head h2 { margin-bottom: .3em; }
.device__head p { color: var(--muted); margin: 0; }
.device__body p { margin-bottom: 1.25rem; }

.tags { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { background: var(--bg-muted); border: 1px solid var(--line); border-radius: 99px; padding: .3rem .85rem; font-size: .9rem; color: var(--ink-2); }

.spec { display: grid; gap: .1rem; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.spec > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem 1.5rem; padding: .85rem 1.1rem; background: #fff; }
.spec > div:nth-child(odd) { background: var(--bg-muted); }
@media (min-width: 640px) { .spec > div { grid-template-columns: 11rem minmax(0, 1fr); } }
.spec dt { font-weight: 650; color: var(--ink); font-size: .95rem; }
.spec dd { margin: 0; color: var(--text); font-size: .95rem; }

.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.link-list a {
  display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: 1.25rem 1.4rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: inherit;
  transition: box-shadow .2s, border-color .2s;
}
.link-list a:hover { box-shadow: var(--shadow-hover); border-color: #cdd7e6; color: inherit; }
.link-list strong { color: var(--ink); }
.link-list span { color: var(--muted); font-size: .95rem; }
.link-list em { font-style: normal; color: var(--accent); font-size: .88rem; font-weight: 600; margin-top: .35rem; }

/* ---- Members ------------------------------------------------------------ */

.member-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.member {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.member__logo { display: grid; place-items: center; height: 150px; padding: 2rem; background: #fff; border-bottom: 1px solid var(--line); }
.member__logo img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; }
.member__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.member__country { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.member__name { font-size: 1.3rem; margin-bottom: .5rem; }
.member__addr { color: var(--muted); }
.member .link-arrow { margin-top: auto; }

.chip {
  display: inline-block; font-family: var(--mono); font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  background: var(--ink); color: #fff; border-radius: 6px; padding: .1rem .45rem;
}

/* ---- Steps (membership) ------------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-weight: 700;
  color: var(--brand); font-size: .9rem; margin-bottom: .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line);
}
.steps h3 { margin-bottom: .4em; }
.steps p { color: var(--muted); margin: 0; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.checklist li { position: relative; padding-left: 2.1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313428f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---- Documents ---------------------------------------------------------- */

.doc-list { display: grid; gap: .85rem; }
.doc {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; align-items: center;
  padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s;
}
.doc:hover { box-shadow: var(--shadow-hover); border-color: #cdd7e6; color: inherit; }
.doc__icon {
  display: grid; place-items: center; width: 52px; height: 60px; border-radius: 8px;
  background: var(--ink); color: #fff; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .05em;
}
.doc__body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.doc__code { font-family: var(--mono); font-size: .8rem; color: var(--brand); font-weight: 700; }
.doc__title { font-weight: 680; color: var(--ink); line-height: 1.35; }
.doc__desc { color: var(--muted); font-size: .95rem; }
.doc__meta { color: var(--muted); font-size: .85rem; }
.doc__action { font-weight: 620; color: var(--accent); white-space: nowrap; }
.doc__action::before { content: "↓ "; }
@media (max-width: 600px) {
  .doc { grid-template-columns: auto minmax(0, 1fr); }
  .doc__action { grid-column: 2; }
}

.empty-state {
  display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.6rem;
  border: 1.5px dashed #c9d3e2; border-radius: var(--radius); background: var(--bg-muted); color: var(--muted);
}
.empty-state p { margin: 0; }
.empty-state strong { color: var(--ink); }
.empty-state__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand); }
.empty-state__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Contact ------------------------------------------------------------ */

.contact-hero {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); border-radius: var(--radius); background: var(--accent-soft);
}
.contact-hero p { margin: 0; color: var(--ink-2); }
.contact-hero a.contact-hero__mail { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 740; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.contact-hero a.contact-hero__mail:hover { color: var(--brand); }

.people { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.person { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; background: #fff; box-shadow: var(--shadow); }
.person__role { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }
.person__name { font-size: 1.35rem; margin-bottom: .2rem; }
.person__org { color: var(--muted); margin-bottom: 1.1rem; }
.person dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; font-size: .97rem; }
.person dt { color: var(--muted); }
.person dd { margin: 0; }

/* ---- Legal -------------------------------------------------------------- */

.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal__intro { font-size: 1.1rem; color: var(--ink-2); }

/* ---- Footer ------------------------------------------------------------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid {
  display: grid; gap: 2.25rem; padding-block: 3.5rem 2.5rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.site-footer__brand { display: inline-block; margin-bottom: 1.1rem; }
.site-footer__brand img { width: 150px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer__about p { max-width: 44ch; }
.site-footer__title { color: #fff; font-weight: 680; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer__addr { line-height: 1.55; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  padding-block: 1.4rem 2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex !important; gap: 1.5rem !important; }

/* ---- Motion preferences ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .hero__figure { display: none; }
  .surface-dark { background: none; color: #000; }
  .surface-dark h1, .surface-dark h2 { color: #000; }
}
