@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #0066ff;
  --primary-dark: #0052d1;
  --secondary: #4da3ff;
  --light: #e6f0ff;
  --dark: #0a0f2c;
  --text: #111827;
  --muted: #4b5563;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --line: #e3e9f3;
  --shadow: 0 12px 32px rgba(10, 15, 44, 0.06);
  --radius: 16px;
  --header: 4.25rem;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.lang-pending body {
  visibility: hidden;
  animation: gram-reveal 0s 2.5s forwards;
}

@keyframes gram-reveal { to { visibility: visible; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; }

h1, h2, h3, p { overflow-wrap: break-word; }

h1, h2, h3 {
  margin: 0;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.7rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem); }
h3 { font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0; }

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: #cfe0ff; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.ico {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-sm { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  min-width: 0;
  color: var(--dark);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { color: var(--dark); }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 11px; }

.header-tools { display: flex; align-items: center; gap: 0.4rem; }

.lang-switch {
  display: flex;
  padding: 2px;
  border: 1px solid #d5deee;
  border-radius: 999px;
  background: #fff;
}

.lang-switch button, .lang-switch a, .nav-toggle { font: inherit; color: var(--text); cursor: pointer; }

.lang-switch button,
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 44px;
  min-height: 38px;
  padding: 0 0.6rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.lang-switch button[aria-pressed="true"],
.lang-switch a[aria-pressed="true"] { background: var(--primary); color: #fff; }

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5deee;
  border-radius: 12px;
  background: #fff;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform 160ms ease, top 160ms ease, background 160ms ease;
}
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }
.nav-toggle[aria-expanded="false"] .label-close,
.nav-toggle[aria-expanded="true"] .label-open { display: none; }

.nav {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.1rem;
  padding-bottom: 0.85rem;
}

.nav.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0.5rem 1rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0.8rem;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover { background: var(--bg); color: var(--text); }
.nav a[aria-current="page"] { background: var(--light); color: var(--primary); }

/* ---------- type helpers ---------- */
.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede { margin-top: 1rem; max-width: 40rem; color: var(--muted); font-size: 1.06rem; }
.muted { color: var(--muted); }
.follow { margin-top: 0.75rem; }
.text-link { font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: #fff; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--light); color: var(--primary-dark); }
.btn-ghost { background: #fff; border-color: #d5deee; color: var(--text); }
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-danger { background: #fff; border-color: #f0cfcf; color: #a12b2b; }
.btn-danger:hover { background: #fdf0f0; color: #a12b2b; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* ---------- hero ---------- */
.hero {
  padding-block: 2rem 1rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-grid { display: grid; gap: 1.25rem; align-items: center; }
.hero-copy h1 { max-width: 14ch; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(100%, 440px); height: auto; }

.section { padding-block: 2rem 3rem; }
.section-tight { padding-block: 0.5rem 1rem; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
  margin: 0;
  padding: 1.15rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.feature h3 { margin-bottom: 0.1rem; }
.feature p { color: var(--muted); font-size: 0.86rem; line-height: 1.4; }

.icon-circle {
  width: 48px;
  height: 48px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light);
  color: var(--primary);
}

.duo { display: grid; gap: 1.5rem; align-items: center; }
.duo-text h2 { margin-bottom: 0.7rem; }
.duo-text .muted { margin-bottom: 1.2rem; }
.duo-text p:last-child { margin-bottom: 0; }

.photo { margin: 0; }
.photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.band { background: var(--dark); color: #fff; }
.band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem 1.5rem;
  padding-block: 2.25rem;
}
.band h2 { color: #fff; }
.band p { margin-top: 0.4rem; color: #c8d3ea; }

/* ---------- inner pages ---------- */
.page { padding-block: 2rem 3.5rem; }
.page-intro { max-width: 44rem; margin-bottom: 1.8rem; }

.card {
  min-width: 0;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-grid, .contact-grid { display: grid; gap: 1.5rem; }
.photo-tall img { aspect-ratio: 4 / 3; }

.details-card { margin-top: 1.75rem; }
.details-card h2 { margin-bottom: 0.4rem; font-size: 1.25rem; }
.details { margin: 0; }
.details > div { min-width: 0; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.details > div:first-child { border-top: 0; }
.details dt { color: var(--muted); font-size: 0.86rem; }
.details dd { margin: 0.15rem 0 0; overflow-wrap: anywhere; font-weight: 500; }

.cards { display: grid; gap: 1rem; }
.service .icon-circle { margin-bottom: 1rem; }
.service h2 { margin-bottom: 0.4rem; font-size: 1.2rem; }

.focus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem 1.5rem;
  margin-top: 1rem;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(135deg, var(--light), #f2f6ff);
  border: 1px solid #d3e2ff;
  border-radius: var(--radius);
}
.focus h2 { margin-bottom: 0.4rem; font-size: 1.35rem; }
.focus p { max-width: 36rem; color: var(--muted); }

.info-card h2 { margin-bottom: 1rem; font-size: 1.25rem; }
.info-item { display: flex; gap: 0.85rem; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.info-item:first-of-type { border-top: 0; }
.info-item address { font-style: normal; line-height: 1.5; }
.info-item a { overflow-wrap: anywhere; }
.meta-label { color: var(--muted); font-size: 0.86rem; }

/* ---------- form ---------- */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.95rem; }
.form input, .form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid #cdd7ea;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}
.form textarea { min-height: 10rem; resize: vertical; }
.form input:focus, .form textarea:focus {
  border-color: var(--primary);
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.18);
}
.hint { color: var(--muted); font-size: 0.92rem; }
.hint a { font-weight: 600; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.banner {
  display: none;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #bcd6ff;
  border-radius: 10px;
  background: var(--light);
  color: #0a3a85;
  scroll-margin-top: 5.5rem;
}
.banner:target, .banner.is-on { display: block; }
.banner.warn { background: #fff1f0; border-color: #f4c9c5; color: #8a2a22; }

.prose { max-width: 70ch; }
.prose h2 { margin: 2rem 0 0.6rem; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem); }
.prose p { margin-bottom: 0.8rem; }
.prose a { overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { margin-top: auto; background: var(--dark); color: #d5def2; }
.footer-grid { display: grid; gap: 1.6rem; padding-block: 2.25rem 1.2rem; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-brand img { border-radius: 10px; }
.site-footer .small { margin-top: 0.5rem; color: #9fb0d3; font-size: 0.88rem; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer a { color: #fff; }
.foot-h {
  display: block;
  margin-bottom: 0.5rem;
  color: #8fa3cf;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; overflow-wrap: anywhere; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 1rem calc(1.2rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9fb0d3;
  font-size: 0.9rem;
}

/* ---------- admin ---------- */
.login-card {
  max-width: 28rem;
  margin-inline: auto;
  padding: 1.6rem 1.35rem;
  background: var(--dark);
  border-radius: 20px;
  color: #d5def2;
  box-shadow: 0 24px 50px rgba(10, 15, 44, 0.25);
}
.login-card h1 { margin: 1rem 0 0; color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem); }
.login-card .lede { color: #b6c4e3; font-size: 0.98rem; }
.login-card .banner, .login-card .form, .login-card > .btn { margin-top: 1.1rem; }
.login-card .form label { color: #fff; }
.login-card .form input { background: #121a40; border-color: #2a3768; color: #fff; }
.login-card .form input:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.3); }
.lock-badge {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(77, 163, 255, 0.16);
  color: var(--secondary);
}

.admin-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.admin-top .actions { margin-top: 0; }
.pk-panel { margin-bottom: 1.25rem; display: grid; gap: 0.75rem; justify-items: start; }
.pk-panel h2 { font-size: 1.15rem; }
.pk-panel .banner { margin: 0; }
.admin-list { display: grid; gap: 0.85rem; }
.msg {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.msg-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.35rem 1rem; }
.msg h2 { font-size: 1.15rem; }
.msg .body { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg .meta, .count { color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.msg a { overflow-wrap: anywhere; }
.empty-note { padding: 1.2rem; }
.panel { padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- consent banner ---------- */
.linklike {
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.linklike[hidden], .consent[hidden] { display: none; }
.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  padding: 0.9rem 0 calc(0.9rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 32px rgba(10, 15, 44, 0.12);
}
.consent-inner { display: grid; gap: 0.85rem; align-items: center; }
.consent-text p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.consent-text .consent-title { color: var(--text); font-weight: 700; margin-bottom: 0.2rem; }
.consent-text a { color: var(--primary); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.consent-actions .btn { min-height: 46px; }
@media (min-width: 760px) {
  .consent-inner { grid-template-columns: 1fr auto; gap: 1.5rem; }
  .consent-actions { grid-template-columns: auto auto; }
}

/* ---------- admin statistics ---------- */
.tabs, .range { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.tabs a, .range a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.tabs a[aria-current], .range a[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.kpi { display: grid; gap: 0.2rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.kpi-n { font-size: 1.9rem; font-weight: 800; line-height: 1.1; color: var(--primary); }
.kpi-l { color: var(--muted); font-size: 0.85rem; }
.chart { width: 100%; height: 11rem; display: block; margin-top: 0.75rem; }
.chart .bar-views { fill: #b9d4ff; }
.chart .bar-visitors { fill: var(--primary); }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin: 0.6rem 0 0; font-size: 0.85rem; color: var(--muted); }
.key { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 3px; }
.key-views { background: #b9d4ff; }
.key-visitors { background: var(--primary); margin-left: 0.6rem; }
.chart-dates { display: flex; justify-content: space-between; margin: 0.3rem 0 0; font-size: 0.78rem; color: var(--muted); }
.stat-grid { display: grid; gap: 0.85rem; margin: 1rem 0; }
.stat-box { min-width: 0; }
.stat-box h2 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.stat-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.stat-table th { text-align: left; font-weight: 500; padding: 0.4rem 0.5rem 0.4rem 0; overflow-wrap: anywhere; }
.stat-table td { text-align: right; padding: 0.4rem 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-table .pct { color: var(--muted); padding-left: 0.6rem; width: 3.2rem; }
.stat-table tr + tr { border-top: 1px solid var(--line); }
.small-note { font-size: 0.85rem; }
@media (min-width: 760px) {
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- responsive ---------- */
@media (max-width: 599px) {
  .actions .btn, .band-inner .btn, .focus .btn, .admin-top .btn, .msg .btn { width: 100%; }
  .admin-top .actions { display: grid; width: 100%; }
}

@media (min-width: 480px) {
  .wrap { padding-inline: 1.25rem; }
}

@media (min-width: 720px) {
  .wrap { padding-inline: 2rem; }
  .hero { padding-block: 3rem 2rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1.5rem; }
  .hero-art img { width: min(100%, 500px); }
  .feature-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 1.4rem 0.5rem; }
  .feature { padding: 0.2rem 1rem; border-left: 1px solid var(--line); }
  .feature:first-child { border-left: 0; }
  .feature { flex-direction: column; align-items: flex-start; text-align: left; }
  .section { padding-block: 3rem 3.5rem; }
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.5rem; }
  .page { padding-block: 3.25rem 5rem; }
  .card { padding: 1.6rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .focus { padding: 1.75rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
  .details > div { display: grid; grid-template-columns: minmax(8.5rem, 12rem) minmax(0, 1fr); gap: 0.5rem 1rem; align-items: baseline; }
  .details dd { margin-top: 0; }
  .login-card { padding: 2rem 1.8rem; }
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2.5rem; align-items: start; }
  .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 1.5rem; align-items: start; }
  .photo-tall { position: sticky; top: calc(var(--header) + 1.5rem); }
  .cards { gap: 1.5rem; }
  .band-inner { padding-block: 2.75rem; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .header-inner:has(> .nav) .brand { margin-right: 0; }
  .nav, .nav.is-open {
    position: static;
    display: flex;
    flex-direction: row;
    flex-basis: auto;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav a { min-height: 44px; padding: 0.35rem 0.85rem; border-radius: 0; background: transparent; position: relative; }
  .nav a:hover { background: transparent; color: var(--primary); }
  .nav a[aria-current="page"] { background: transparent; }
  .nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
  }
}

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

@media print {
  .site-header, .skip, .actions, .lang-switch, .nav-toggle, .band { display: none !important; }
  body { background: #fff; }
  .site-footer { background: #fff; color: #000; border-top: 1px solid #000; }
  .site-footer a, .site-footer p, .site-footer address { color: #000; }
}
