/* Layout: corporate statute book in the foundation's own colours (navy #0F1E4A, gold #FED08F).
   White header carries the real 25-year logo; a navy hero with one calm particle field (§ → @ → </>);
   light, ruled content sections; navy footer. Real photos and project logos do the visual work. */
:root {
  --navy: #0f1e4a;
  --navy-2: #16285c;
  --navy-line: #2a3b70;
  --on-navy: #eef1f8;
  --on-navy-soft: #a9b3cf;
  --paper: #f5f6f9;
  --white: #ffffff;
  --ink: #0f1a33;
  --ink-soft: #566079;
  --line: #dde2ea;
  --gold: #fed08f;         /* brand gold, on navy */
  --gold-deep: #8a6420;    /* gold for text on paper */
  --blue: #1f4d7f;         /* brand link blue */
  --blue-wash: #eaf0f7;
  --cobalt: #6c8cff;
  --ok: #1f7a4a;
  --ok-wash: #e6f4ec;

  --f-display: "Literata", "PT Serif", Georgia, serif;
  --f-body: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.8rem, 3.2vw, 2.5rem);
  --step-4: clamp(2.3rem, 4.8vw, 3.9rem);
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .75, .1, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white); }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ref { font-family: var(--f-mono); font-size: var(--step--1); color: var(--gold-deep); letter-spacing: .08em; text-transform: uppercase; }
.on-navy .ref { color: var(--gold); }

.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold); z-index: 31; }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--white) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 28px; padding-block: 10px; position: relative; }
.brand { margin-right: auto; display: block; flex: none; }
.brand img { height: 54px; width: auto; }
nav.main { display: flex; gap: 22px; }
nav.main a { text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--ink-soft); position: relative; padding-block: 4px; white-space: nowrap; transition: color .2s; }
nav.main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
nav.main a:hover { color: var(--ink); }
nav.main a:hover::after, nav.main a[aria-current="page"]::after { transform: scaleX(1); }
nav.main a[aria-current="page"] { color: var(--ink); }
nav.main .nav-contact { display: none; }
.head-tools { display: flex; gap: 12px; align-items: center; flex: none; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; padding: 2px; }
.lang a { font: 500 var(--step--1)/1 var(--f-mono); text-decoration: none; color: var(--ink-soft); padding: 7px 10px; border-radius: 3px; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--navy); color: var(--white); }
.btn-sm { font-weight: 600; font-size: .875rem; text-decoration: none; padding: 10px 16px; border-radius: 4px; background: var(--navy); color: var(--white); white-space: nowrap; transition: background .2s; }
.btn-sm:hover { background: var(--navy-2); }
.nav-toggle { display: none; width: 42px; height: 38px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Phones and tablets: the links move into a panel opened by the menu button. */
@media (max-width: 1020px) {
  header.site .wrap { gap: 12px; }
  .btn-sm { display: none; }
  .nav-toggle { display: inline-flex; }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 19;
    flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(15, 30, 74, .35);
    padding: 6px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  nav.main[data-open] { display: flex; animation: menuIn .2s var(--ease); }
  nav.main a { font-size: 1.0625rem; color: var(--ink); padding: 14px 0 14px 14px; border-top: 1px solid var(--line); }
  nav.main a:first-child { border-top: 0; }
  nav.main a::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; transform: scaleY(0); }
  nav.main a:hover::after, nav.main a[aria-current="page"]::after { transform: scaleY(1); }
  nav.main .nav-contact { display: block; margin-top: 10px; border: 0; border-radius: 4px; padding: 13px 16px; background: var(--navy); color: var(--white); font-weight: 600; text-align: center; }
  nav.main .nav-contact::after { display: none; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .brand img { height: 44px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(55% 75% at 80% 45%, color-mix(in srgb, var(--cobalt) 16%, transparent), transparent 70%), var(--navy); color: var(--on-navy); }
#fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; padding-block: 88px 80px; pointer-events: none; }
.hero .wrap a { pointer-events: auto; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: var(--step-4); line-height: 1.07; margin-top: 18px; letter-spacing: -0.025em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.hero h1 .ln > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .1s; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
.fade-in { animation: fadeUp .9s var(--ease) .35s both; }
@keyframes fadeUp { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero .lede { font-size: var(--step-1); color: var(--on-navy-soft); max-width: 34em; margin-top: 22px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-weight: 600; text-decoration: none; border-radius: 4px; border: 1px solid var(--navy-line); color: var(--on-navy); transition: border-color .25s, background .25s; }
.btn:hover { border-color: var(--on-navy-soft); }
.btn.primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn.primary:hover { background: #ffdba8; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--navy-line); color: var(--on-navy-soft); font-size: var(--step--1); }
.trust b { color: var(--on-navy); font-weight: 600; }
.trust .iso { display: flex; gap: 8px; align-items: center; }
.trust .iso img { height: 34px; width: auto; background: var(--white); border-radius: 3px; padding: 2px; }
.hero-visual { position: relative; min-height: 420px; display: flex; align-items: flex-end; justify-content: flex-end; }
.glyph-caption { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-soft); display: flex; gap: 10px; }
.glyph-caption b { font-weight: 500; transition: color .4s, opacity .4s; color: var(--gold); }
.glyph-caption b.dim { color: var(--on-navy-soft); opacity: .5; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 52px 36px; gap: 8px; }
  .hero-visual { min-height: 300px; justify-content: center; }
}

/* Ticker */
.ticker { background: var(--navy-2); color: var(--on-navy); border-top: 1px solid var(--navy-line); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 14px; padding: 15px 26px; white-space: nowrap; font-size: .9375rem; color: var(--on-navy-soft); }
.ticker-item i { font: 500 11px var(--f-mono); font-style: normal; color: var(--gold); letter-spacing: .08em; }
.ticker-item::after { content: ""; width: 4px; height: 4px; background: var(--navy-line); margin-left: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stats */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 38px 24px 38px 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat .num { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat p { color: var(--ink-soft); font-size: .9375rem; max-width: 24ch; }
@media (max-width: 760px) {
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat + .stat { padding: 26px 16px 26px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
section.band { border-bottom: 1px solid var(--line); }
section.band.white { background: var(--white); }
section.band > .wrap { padding-block: 84px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; margin-bottom: 36px; }
.sec-head h2 { font-size: var(--step-3); line-height: 1.15; margin-top: 10px; }
.sec-head p { color: var(--ink-soft); margin-top: 12px; max-width: 60ch; }
.link { font-weight: 600; color: var(--blue); text-decoration: none; white-space: nowrap; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .sec-head { grid-template-columns: 1fr; } }

.rv { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.rv.pre { transform: translateY(24px); opacity: .001; }

/* What we do */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.svc { padding: 26px 24px 28px 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; border-bottom: 1px solid var(--line); }
.svc:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.svc .icon { width: 36px; height: 36px; color: var(--blue); }
.svc h3 { font-size: var(--step-1); line-height: 1.3; }
.svc .ref { display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } .svc:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .svc:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } .svc, .svc:nth-child(even) { padding-left: 0; border-left: 0; padding-right: 0; } }
.areas-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; align-items: center; }
.areas-row .lbl { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-right: 6px; }
.chip { text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-wash); }

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1080px) { .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .proj-grid { grid-template-columns: 1fr; } }
.pcard { display: grid; grid-template-rows: auto 1fr auto; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.pcard:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); box-shadow: 0 14px 34px -22px rgba(15, 30, 74, .45); transform: translateY(-3px); }
.pcard .logo { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.pcard .logo img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; transition: transform .5s var(--ease); }
.pcard:hover .logo img { transform: scale(1.04); }
.pcard .body { padding: 16px 18px 6px; display: grid; gap: 6px; align-content: start; }
.pcard .acr { font: 700 .9375rem var(--f-mono); color: var(--blue); }
.pcard .title { font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
.pcard .period { padding: 12px 18px 16px; display: grid; gap: 6px; }
.pcard .bar { height: 4px; background: var(--paper); border-radius: 2px; overflow: hidden; }
.pcard .bar span { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--blue), var(--cobalt)); border-radius: 2px; }
.pcard.ended .bar span { background: var(--line); }
.pcard .when { display: flex; justify-content: space-between; gap: 8px; font: 400 11.5px var(--f-mono); color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* News */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } .news-grid .lead { grid-column: 1 / -1; } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }
.ncard { text-decoration: none; display: grid; gap: 14px; align-content: start; }
.ncard .ph { aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; border-radius: 6px; background: var(--paper); }
.ncard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ncard:hover .ph img { transform: scale(1.05); }
.ncard .meta { display: flex; gap: 10px; font: 400 var(--step--1) var(--f-mono); color: var(--ink-soft); }
.ncard .meta b { color: var(--gold-deep); font-weight: 500; }
.ncard h3 { font-size: var(--step-1); line-height: 1.35; }
.ncard.lead h3 { font-size: var(--step-2); }
.ncard:hover h3 { color: var(--blue); }
.ncard p { color: var(--ink-soft); font-size: .9375rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }
.member { text-decoration: none; display: grid; gap: 12px; align-content: start; }
.member .ph { aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; border-radius: 6px; background: linear-gradient(180deg, #eef0f4, #dfe3ea); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(.85) contrast(1.02); transition: filter .5s, transform .7s var(--ease); }
.member:hover .ph img { filter: none; transform: scale(1.03); }
.member h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.member p { color: var(--ink-soft); font-size: var(--step--1); margin-top: 2px; }

/* Books */
.books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .books { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.book { text-decoration: none; display: grid; gap: 14px; align-content: start; }
.book .stage { perspective: 1000px; display: grid; place-items: center; height: 230px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.book .stage img { max-height: 100%; width: auto; box-shadow: 10px 14px 26px rgba(15, 26, 51, .3); transform: rotateY(-14deg); transition: transform .7s var(--ease); border-radius: 1px; }
.book:hover .stage img { transform: rotateY(0) translateY(-4px); }
.book h3 { font-family: var(--f-body); font-size: .9375rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.book:hover h3 { color: var(--blue); }
.price { font: 500 var(--step--1) var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.price span { color: var(--ink-soft); margin-left: 8px; }

/* Partners */
.partners { background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.partners .wrap { padding-block: 44px 16px; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.partners h2 { font-size: var(--step-2); }
.logo-strip { overflow: hidden; padding-block: 18px 44px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; gap: 56px; align-items: center; animation: marquee 50s linear infinite; }
.logo-strip:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 64px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.logo-track img:hover { filter: none; opacity: 1; }

/* CTA band + footer */
.cta-band { background: var(--navy-2); color: var(--on-navy); }
.cta-band .wrap { padding-block: 60px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: var(--step-3); line-height: 1.15; }
.cta-band h2 em { font-style: italic; font-weight: 400; color: var(--gold); }
.cta-band p { color: var(--on-navy-soft); margin-top: 10px; max-width: 52ch; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }
footer.site { background: var(--navy); color: var(--on-navy); }
footer.site .wrap { padding-block: 56px 28px; display: grid; gap: 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-logo { display: inline-block; background: var(--white); padding: 10px 14px; border-radius: 6px; }
.foot-logo img { height: 46px; width: auto; }
.foot-about { color: var(--on-navy-soft); font-size: .9375rem; max-width: 36ch; margin-top: 16px; }
.label { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 10px; display: block; }
footer.site address { font-style: normal; line-height: 1.7; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site ul a { text-decoration: none; color: var(--on-navy-soft); }
footer.site ul a:hover { color: var(--on-navy); }
.contact-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.contact-line code { font-family: var(--f-mono); font-size: .9rem; user-select: all; }
.contact-line button { font: 500 11px var(--f-mono); background: transparent; color: var(--on-navy); border: 1px solid var(--navy-line); padding: 4px 9px; border-radius: 4px; cursor: pointer; }
.contact-line button:hover { border-color: var(--on-navy-soft); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--navy-line); border-radius: 50%; color: var(--on-navy-soft); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--gold); border-color: var(--gold); }
.socials svg { width: 16px; height: 16px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; color: var(--on-navy-soft); font-size: var(--step--1); border-top: 1px solid var(--navy-line); padding-top: 20px; }
.foot-base .iso { display: flex; gap: 8px; }
.foot-base .iso img { height: 38px; width: auto; background: var(--white); border-radius: 3px; padding: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv.pre { transform: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* Accessibility */
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Inner pages */
.page-head { background: radial-gradient(60% 120% at 85% 0%, color-mix(in srgb, var(--cobalt) 18%, transparent), transparent 70%), var(--navy); color: var(--on-navy); }
.page-head .wrap { padding-block: 64px 56px; display: grid; gap: 14px; }
.page-head h1 { font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.02em; max-width: 22ch; }
.page-head p { color: var(--on-navy-soft); font-size: var(--step-1); max-width: 56ch; }
.page-head .meta { display: flex; gap: 12px; font: 400 var(--step--1) var(--f-mono); color: var(--on-navy-soft); }
.page-head .meta b { color: var(--gold); font-weight: 500; }
.page-head .back { color: var(--on-navy-soft); text-decoration: none; font-weight: 500; justify-self: start; }
.page-head .back:hover { color: var(--gold); }
.article-page .page-head h1 { font-size: var(--step-3); max-width: none; }
.notfound .wrap { padding-block: 96px; }
.wrap.narrow { max-width: 820px; }
.article-cover { width: 100%; height: auto; border-radius: 6px; margin-bottom: 36px; border: 1px solid var(--line); }

.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink); max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-size: var(--step-2); line-height: 1.25; margin-top: 1.6em; }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 0; padding-left: 18px; border-left: 3px solid var(--gold); color: var(--ink-soft); }
.prose img { border-radius: 6px; }
.prose.small { font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }

.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
@media (max-width: 900px) { .news-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .news-list { grid-template-columns: 1fr; } }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: var(--step--1); color: var(--ink-soft); }
.pager a { color: var(--blue); font-weight: 500; text-decoration: none; }
.pager a:last-child { justify-self: end; }

.tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs a { text-decoration: none; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); background: var(--white); }
.tabs a[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pcard .logo-text { position: absolute; inset: 0; display: grid; place-items: center; font: 700 1.4rem var(--f-mono); color: var(--blue); }

.bio { margin-top: 8px; }
.bio summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: var(--step--1); }
.bio .prose { margin-top: 8px; }
.contact-list { display: grid; gap: 8px; }
.contact-line a { text-decoration: none; }
.contact-line a:hover { color: var(--gold); }
.logo-track a { display: block; }
