:root {
  --navy: #172b49;
  --navy-deep: #101d31;
  --burgundy: #8b2635;
  --paper: #f4f5f7;
  --white: #fff;
  --text: #252b34;
  --muted: #687384;
  --line: #dfe3e8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { color: inherit; }
.container { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--navy); text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand span { display: block; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a, .back-link { color: var(--navy); text-decoration: none; font-size: 14px; }
nav a:hover, .back-link:hover, .text-link:hover { color: var(--burgundy); }

.intro { padding: 76px 0 82px; text-align: center; }
.eyebrow { color: var(--burgundy); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 52px); margin: 14px 0; }
h2 { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 18px; }
.lead { max-width: 700px; margin: 0 auto 26px; color: var(--muted); font-size: 18px; }
.button { display: inline-block; padding: 12px 22px; background: var(--burgundy); color: white; border-radius: 4px; text-decoration: none; font-weight: 700; }
.button:hover { background: #6f1e2b; }

/* Мемориальная часть */
.memorial-section {
  padding: 66px 0 70px;
  background: linear-gradient(180deg, #111e32 0%, #192943 100%);
  text-align: center;
}
.light { color: var(--white); }
.section-lead { color: #c7cfda; }
.memorial-plaque {
  position: relative;
  max-width: 900px;
  margin: 34px auto 0;
  padding: 34px clamp(18px, 4vw, 54px) 30px;
  color: #f4f1e9;
  background:
    radial-gradient(ellipse at 50% 0%, #42464c 0%, transparent 62%),
    linear-gradient(135deg, #282c32 0%, #171a1f 48%, #30343a 100%);
  border: 9px solid #555a61;
  outline: 1px solid #858a90;
  box-shadow: 0 20px 45px #0008, inset 0 0 0 2px #777b80, inset 0 0 28px #0009;
}
.memorial-plaque::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #777b80;
  pointer-events: none;
}
.star { color: #a72e3d; font-size: 34px; line-height: 1; text-shadow: 0 1px 5px #000; }
.memorial-plaque h3 {
  color: #f4f1e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 3vw, 29px);
  letter-spacing: .17em;
  margin: 15px 0 7px;
}
.plaque-years { color: #c6cbd2; letter-spacing: .25em; font-size: 13px; margin: 0; }
.plaque-rule { width: 100px; height: 1px; background: #8b2635; margin: 22px auto; }
.names-grid {
  display: grid;
  /* Заполнение сверху вниз: 8 имён в каждом из трёх столбцов */
  grid-auto-flow: column;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(8, auto);
  gap: 0 22px;
  margin: 24px auto;
  max-width: 760px;
}
.name-link {
  display: block;
  padding: 10px 6px;
  border-bottom: 1px solid #777b8055;
  color: #e9e6df;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: .025em;
  transition: color .18s ease, background .18s ease;
}
.name-link:hover, .name-link:focus {
  color: #fff;
  background: #8b263544;
  outline: 1px solid #a94b58;
}
.eternal-line { color: #d5d8dd; font-family: Georgia, "Times New Roman", serif; font-style: italic; margin: 25px 0 0; }
.notice, .source-note { color: var(--muted); font-size: 12px; }
.notice { margin: 18px auto 0; max-width: 760px; }

.content-section { padding: 66px 0; }
.section-heading { margin-bottom: 22px; }
.text-card { background: var(--paper); border: 1px solid var(--line); padding: 26px; border-radius: 6px; }
.alt-section { background: var(--paper); }
.two-columns { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 42px; }
.archive-placeholder { min-height: 230px; display: grid; place-items: center; background: #e2e5e9; color: var(--muted); border: 1px dashed #aab2bd; }
.site-footer { background: var(--navy); color: white; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-inner p { margin: 4px 0; color: #d0d7e1; font-size: 13px; }
.biography-page { padding-top: 52px; padding-bottom: 70px; }
.biography-layout { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 38px; margin-top: 28px; }
.person-photo { width: 100%; height: auto; display: block; border: 8px solid var(--paper); }
.biography-text { background: var(--paper); padding: 26px; border-radius: 6px; text-align: justify; }
.text-link { color: var(--burgundy); }
[hidden] { display: none !important; }

@media (max-width: 720px) {
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  nav { gap: 12px 18px; }
  .intro { padding: 52px 0; }
  .memorial-section { padding: 48px 0 52px; }
  .memorial-plaque { padding: 28px 14px 24px; border-width: 6px; }
  .memorial-plaque::before { inset: 7px; }
  .names-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(12, auto);
    gap: 0 10px;
  }
  .name-link { font-size: 13px; }
  .two-columns, .biography-layout { grid-template-columns: 1fr; }
}
