  /* ---------- Вариант 1: максимально близко к композиции church-sanino.ru ---------- */

  /* Небо с облаками за шапкой и первым экраном, плавно уходит в белый */
  body::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 860px; z-index: -1; pointer-events: none;
    background: url("assets/hero-sky.png") center top / max(100%, 1920px) auto no-repeat;
    -webkit-mask-image: linear-gradient(#000 55%, transparent);
    mask-image: linear-gradient(#000 55%, transparent);
  }
/* Стили страниц сайта (главная и подстраницы) */
  /* Первый экран: заголовок слева, икона справа, храмы внизу */
  .hero { position: relative; padding: 40px 0 0; overflow: hidden; }
  .hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: 20px; min-height: 470px; }
  .hero__title { font-size: clamp(38px, 4.6vw, 66px); letter-spacing: .035em; }
  .hero__slogan {
    font-family: var(--display); font-weight: 500; text-transform: uppercase;
    color: var(--navy); font-size: clamp(22px, 2.3vw, 30px); letter-spacing: .06em;
    margin: 34px 0 12px; display: flex; align-items: center; gap: 16px;
  }
  .hero__slogan::before { content: ""; width: 44px; height: 2px; background: var(--gold); flex: none; }
  .hero__lead { font-size: 18px; max-width: 470px; color: var(--text); margin-bottom: 34px; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
  .hero__icon { min-width: 0; margin: -20px 0 -70px; }
  .hero__icon img { width: 560px; max-width: none; margin-left: -50px; }
  .hero__skyline { margin-top: 10px; height: clamp(150px, 22vw, 300px); background: url("assets/skyline.png?v=2") center bottom / auto 100% repeat-x; }

  /* О фонде */
  .about { background: linear-gradient(var(--white), rgba(255,255,255,.6)); }
  .about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: start; }
  .about__text p { font-size: 18px; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 40px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat { padding: 24px 10px 22px 0; }
  .stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
  .stat b { display: block; font-family: var(--display); font-weight: 500; font-size: 42px; color: var(--navy); line-height: 1; letter-spacing: .02em; }
  .stat span { display: block; font-size: 14px; line-height: 1.35; margin-top: 8px; color: var(--text-muted); }

  .founder { background: var(--sky); border-radius: var(--radius); padding: 40px; position: relative; }
  .founder__head { display: flex; gap: 24px; align-items: center; margin-bottom: 28px; }
  .founder__photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--gold); flex: none; }
  .founder__role { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
  .founder__name { font-family: var(--display); font-weight: 500; text-transform: uppercase; color: var(--navy); font-size: 26px; letter-spacing: .04em; line-height: 1.15; margin: 0; }
  .founder blockquote { margin: 0; font-size: 19px; line-height: 1.6; font-style: italic; color: var(--text-strong); position: relative; padding-left: 28px; border-left: 2px solid var(--gold); }
  .founder__more { margin-top: 24px; }

  /* Проекты: светлые карточки как «Храмы» на референсе */
  .projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .project { background: var(--sky); border-radius: var(--radius); padding: 12px 12px 30px; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
  .project:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(3, 68, 122, .12); }
  .project__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
  .project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
  .project:hover .project__img img { transform: scale(1.05); }
  .project__body { padding: 26px 18px 0; text-align: center; display: flex; flex-direction: column; flex: 1; }
  .project h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 20px; color: var(--navy); margin: 0 0 14px; line-height: 1.3; }
  .project p { font-size: 16px; flex: 1; }
  .project .link-arrow { align-self: center; }
  .center { text-align: center; margin-top: 56px; }

  /* Новости: большой слайд как на референсе + три карточки */
  .news-feature { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1160 / 470; display: block; }
  .news-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
  .news-feature:hover img { transform: scale(1.03); }
  .news-feature__cap { position: absolute; inset: auto 0 0 0; padding: 120px 40px 34px; background: linear-gradient(transparent, rgba(2, 30, 55, .85)); color: var(--white); }
  .news-feature__cap h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .02em; margin: 0 0 8px; max-width: 760px; line-height: 1.2; }
  .news-date { font-size: 14px; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
  .news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
  .news-card { display: flex; flex-direction: column; gap: 14px; }
  .news-card__img { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
  .news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
  .news-card:hover .news-card__img img { transform: scale(1.05); }
  .news-card .news-date { color: var(--navy); }
  .news-card h3 { font-size: 18px; line-height: 1.4; color: var(--text-strong); margin: 0; font-weight: 700; transition: color .25s ease; }
  .news-card:hover h3 { color: var(--navy); }

  /* Партнёры */
  .partners__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

  .footer__logo { margin-bottom: 22px; }
  .footer__about { font-size: 15px; max-width: 300px; }
  .footer { border-top: 3px solid var(--gold); margin-top: 40px; padding-top: 64px; }
  .footer { background: var(--navy-deep); color: rgba(255,255,255,.75); }
  .footer .section-title h2, .footer .logo { color: var(--white); }
  .footer .section-title .line { background: rgba(255,255,255,.2); }
  .footer .section-title .line::after { background: var(--gold); }
  .footer h4 { color: var(--gold); }
  .footer__links a:hover, .footer__item a:hover { color: var(--white); }
  .footer__top, .footer__bottom { border-color: rgba(255,255,255,.14); }
  .footer__bottom { color: rgba(255,255,255,.55); }
  .footer .social { background: rgba(255,255,255,.1); }
  .footer .social:hover { background: var(--gold); }

  @media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; text-align: left; min-height: 0; }
    .hero__icon { order: -1; margin: -10px 0 -90px; }
    .hero__icon img { width: min(480px, 100%); margin: 0 auto; }
    .about__grid { grid-template-columns: 1fr; gap: 48px; }
    .projects__grid, .news-list { grid-template-columns: 1fr 1fr; }
    .partners__grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(3) { padding-left: 0; border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  }
  @media (max-width: 560px) {
    .projects__grid, .news-list { grid-template-columns: 1fr; }
    .founder { padding: 28px 22px; }
    .founder__head { flex-direction: column; align-items: flex-start; }
    .news-feature { aspect-ratio: 4 / 5; }
    .news-feature__cap { padding: 90px 22px 24px; }
    .hero__actions .btn { flex: 1 1 100%; }
  }

  /* ===== Подстраницы ===== */
  .page-head { padding: 50px 0 10px; }
  .crumbs { font-size: 15px; color: var(--text-muted); margin-bottom: 18px; }
  .crumbs a { color: var(--navy); }
  .crumbs a:hover { text-decoration: underline; }
  .page-title { font-size: clamp(36px, 5vw, 64px); letter-spacing: .035em; }
  .page-lead { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--text-strong); max-width: 820px; margin: 24px 0 0; }
  .page-cover { margin-top: 44px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; }
  .page-cover img { width: 100%; height: 100%; object-fit: cover; }
  .page-section { padding: 70px 0 0; }
  .page-section:last-of-type { padding-bottom: 40px; }
  .page-section h2 { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); font-size: clamp(26px, 2.8vw, 36px); margin: 0 0 22px; line-height: 1.2; }
  .prose { max-width: 860px; }
  .prose p { font-size: 18px; }
  .prose ul { padding-left: 0; list-style: none; margin: 0 0 1em; display: grid; gap: 12px; }
  .prose li { position: relative; padding-left: 26px; font-size: 18px; }
  .prose li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
  .prose li b { color: var(--text-strong); }
  .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 30px; }
  .info-card { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px 26px; }
  .info-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy); box-shadow: inset 0 0 0 1px var(--gold); margin-bottom: 6px; }
  .info-card h3 { font-family: var(--display); font-weight: 500; text-transform: none; letter-spacing: .01em; color: var(--navy); font-size: 23px; line-height: 1.2; margin: 0; }
  .info-card p { font-size: 15.5px; line-height: 1.55; color: var(--text); margin: 0; }
  .note-card { background: var(--navy); color: rgba(255,255,255,.88); border-radius: var(--radius); padding: 50px 56px; margin-top: 70px; }
  .note-card h2 { color: var(--white); }
  .note-card p { font-size: 19px; line-height: 1.6; margin: 0; }
  .quote { margin: 30px 0 0; max-width: 900px; font-size: 21px; line-height: 1.6; font-style: italic; color: var(--text-strong); padding-left: 28px; border-left: 2px solid var(--gold); }
  .back-link { margin-top: 50px; }
  .stub { text-align: center; background: var(--sky); border-radius: var(--radius); padding: 70px 30px; }
  .stub h2 { margin-bottom: 14px; }
  .stub p { font-size: 18px; max-width: 560px; margin: 0 auto 30px; }

  /* Руководство */
  .people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 50px; }
  .person { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--sky); border-radius: var(--radius); padding: 44px 30px 40px; transition: transform .35s ease, box-shadow .35s ease; }
  .person:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(3, 68, 122, .12); }
  .person img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 5px solid var(--white); box-shadow: 0 0 0 2px var(--gold); margin-bottom: 26px; }
  .person__role { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
  .person__name { font-family: var(--display); font-weight: 500; text-transform: uppercase; color: var(--navy); font-size: 28px; letter-spacing: .04em; line-height: 1.15; margin: 0 0 22px; }
  .leader { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 70px; align-items: start; }
  .leader__photo { position: relative; }
  .leader__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; border-radius: var(--radius); }
  .leader__role { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
  .leader__name { font-family: var(--display); font-weight: 500; text-transform: uppercase; color: var(--navy); font-size: clamp(32px, 3.6vw, 46px); letter-spacing: .04em; line-height: 1.1; margin: 0 0 28px; }
  .leader__text p { font-size: 18px; }
  .leader blockquote { margin: 34px 0 0; font-size: 20px; line-height: 1.6; font-style: italic; color: var(--text-strong); padding-left: 28px; border-left: 2px solid var(--gold); }
  .profile { display: flex; gap: 40px; align-items: center; margin-top: 40px; }
  .profile img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 5px solid var(--white); box-shadow: 0 0 0 2px var(--gold); flex: none; }
  .profile .page-lead { margin: 12px 0 0; }

  /* Контакты */
  .contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 50px; align-items: start; }
  .contact-list { display: grid; gap: 26px; }
  .contact-item h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--navy); font-weight: 700; margin: 0 0 6px; }
  .contact-item p, .contact-item a { font-size: 20px; color: var(--text-strong); margin: 0; }
  .contact-item a:hover { color: var(--navy); }
  .contacts .socials { flex-wrap: wrap; }
  .contact-item a.social { color: var(--white); }
  .contact-item a.social:hover { color: var(--navy-deep); }
  .map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sky); }
  .map iframe { width: 100%; height: 100%; border: 0; display: block; }
  .map__btn { margin-top: 18px; }

  .nav a[aria-current="page"]::after { transform: scaleX(1); }

  @media (max-width: 900px) {
    .leader, .contacts { grid-template-columns: 1fr; gap: 40px; }
    .leader__photo { max-width: 420px; }
    .people { grid-template-columns: 1fr; }
    .note-card { padding: 36px 26px; }
    .page-cover { aspect-ratio: 16 / 9; }
  }
  @media (max-width: 560px) {
    .profile { flex-direction: column; align-items: flex-start; }
    .profile img { width: 160px; height: 160px; }
  }

  .page-cover--full { aspect-ratio: 3 / 2; max-width: 920px; }
  /* Святыни: фото с подписью поверх */
  .shrine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
  .shrine-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--sky); }
  .shrine-photo img { width: 100%; height: 100%; object-fit: cover; }
  .shrine-photo figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 22px 18px; background: linear-gradient(transparent, rgba(2, 30, 55, .78)); color: var(--white); font-size: 16px; line-height: 1.35; }
  @media (max-width: 900px) { .shrine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .shrine-grid { grid-template-columns: 1fr; } }

  /* О фонде: насыщенная страница */
  .about-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; align-items: center; }
  .about-hero__photo { position: relative; margin: 0; }
  .about-hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
  .about-hero__photo figcaption { margin-top: 12px; font-size: 14px; color: var(--text-muted); }
  .stats-band { background: var(--navy); margin-top: 70px; padding: 46px 0; }
  .stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .stats-band__grid div { border-left: 1px solid rgba(255,255,255,.18); padding-left: 24px; }
  .stats-band__grid div:first-child { border-left: 0; padding-left: 0; }
  .stats-band b { display: block; font-family: var(--display); font-weight: 500; font-size: 54px; line-height: 1; color: var(--white); }
  .stats-band span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.88); }
  .steps { list-style: none; margin: 34px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
  .steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; border-top: 2px dashed var(--gold-soft); }
  .steps li { position: relative; text-align: center; padding: 0 10px; }
  .steps__num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); font-family: var(--display); font-size: 24px; color: var(--navy); }
  .steps h3 { font-family: var(--display); font-weight: 500; font-size: 23px; color: var(--navy); margin: 0 0 8px; }
  .steps p { font-size: 16px; margin: 0; }
  .mission { text-align: center; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: var(--white); border-radius: 22px; padding: 60px 40px; }
  .mission__label { font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); font-weight: 700; }
  .mission p { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; max-width: 820px; margin: 18px auto 30px; }
  .mission__values { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .mission__values span { border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 10px 26px; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 16px; }
  .direction { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
  .direction img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
  .direction:hover img { transform: scale(1.05); }
  .direction span { position: absolute; inset: auto 0 0 0; padding: 70px 24px 22px; background: linear-gradient(transparent, rgba(2, 30, 55, .85)); color: var(--white); font-family: var(--display); font-size: 22px; line-height: 1.25; display: flex; align-items: center; gap: 12px; }
  .team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
  .team__item { display: flex; align-items: center; gap: 24px; background: var(--sky); border-radius: 18px; padding: 24px; transition: transform .3s ease, box-shadow .3s ease; }
  .team__item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(3, 68, 122, .1); }
  .team__item img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--gold); flex: none; }
  .team__name { font-family: var(--display); font-weight: 500; text-transform: uppercase; color: var(--navy); font-size: 22px; letter-spacing: .04em; line-height: 1.2; margin: 6px 0 12px; }
  @media (max-width: 900px) {
    .about-hero__grid, .team { grid-template-columns: 1fr; gap: 30px; }
    .stats-band__grid { grid-template-columns: 1fr 1fr; }
    .stats-band__grid div:nth-child(3) { border-left: 0; padding-left: 0; }
    .steps { grid-template-columns: 1fr; gap: 26px; }
    .steps::before { display: none; }
  }
  @media (max-width: 560px) {
    .mission { padding: 40px 22px; }
    .team__item { flex-direction: column; text-align: center; }
  }
  .footer__site { margin-top: 22px; padding: 12px 22px; font-size: 16px; color: var(--white); border-color: rgba(255,255,255,.55); }
  .footer__site:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
  .back-link:hover svg { transform: translateX(-4px); }

  /* ===== Мобильная версия ===== */
  @media (max-width: 900px) {
    .burger { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
    .nav.is-open { gap: 0; left: 16px; right: 16px; padding: 6px 20px; max-height: calc(100vh - 100px); overflow: auto; }
    .nav.is-open a { display: block; padding: 13px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
    .nav.is-open a:last-child { border-bottom: 0; }
    .nav.is-open a::after { display: none; }
    .nav.is-open a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
    .hero__icon img { max-width: 100%; }
    .leader__photo { max-width: none; }
    .leaflet-bar a, .leaflet-touch .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 22px; }
  }
  @media (max-width: 560px) {
    html, body { overflow-x: clip; }
    .header { padding: 14px 0; }
    .logo__mark { height: 48px; }
    .logo__text { font-size: 12px; max-width: 150px; }
    .page-title, .hero__title { font-size: clamp(28px, 8.4vw, 38px); letter-spacing: .02em; overflow-wrap: break-word; hyphens: auto; }
    .leader__name { font-size: 30px; }
    .section-title h2 { font-size: clamp(26px, 7.5vw, 32px); letter-spacing: 1.5px; min-width: 0; }
    .section-title .line { min-width: 24px; }
    .section-title { margin-bottom: 28px; }
    .page-section h2 { font-size: 24px; }
    .section { padding: 56px 0; }
    .page-head { padding-top: 28px; }
    .page-section { padding-top: 44px; }
    .page-lead { font-size: 18px; }
    .prose p, .prose li, .leader__text p { font-size: 16.5px; }
    .center { margin-top: 36px; }
    .btn { padding: 14px 20px; text-align: center; }
    .stub { padding: 44px 20px; }
    .stats-band { margin-top: 44px; padding: 32px 0; }
    .stats-band b { font-size: 38px; }
    .stats-band__grid { gap: 22px 16px; }
    .stats-band__grid div { padding-left: 14px; }
    .stat b { font-size: 34px; }
    .note-card { margin-top: 44px; padding: 28px 20px; }
    .note-card p { font-size: 17px; }
    .mission { padding: 36px 20px; border-radius: 16px; }
    .mission p { font-size: 22px; }
    .mission__values span { padding: 8px 16px; font-size: 14px; }
    .person { padding: 28px 20px; }
    .person img { width: 160px; height: 160px; }
    .person__name { font-size: 24px; }
    .leader blockquote, .quote, .founder blockquote { padding-left: 16px; font-size: 18px; }
    .direction span { font-size: 19px; padding: 50px 16px 16px; }
    .shrine-photo figcaption { padding: 40px 16px 14px; font-size: 15px; }
    .info-card { padding: 22px 20px; }
    .info-card h3 { font-size: 21px; }
    .gold-corners::before, .gold-corners::after { width: 36px; height: 36px; }
    .crumbs { margin-bottom: 6px; }
    .crumbs a, .link-arrow, .footer__links a, .footer__item a, .footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
    .footer { padding-top: 44px; }
    .footer__top { gap: 28px; }
    .footer__bottom { color: rgba(255,255,255,.7); gap: 4px; }
    .map { aspect-ratio: 1 / 1; }
    .map__btn { width: 100%; }
    .contact-item p, .contact-item a { font-size: 18px; overflow-wrap: anywhere; }
    .contact-item a:not(.social) { display: inline-flex; align-items: center; min-height: 44px; }
  }

  /* Подписи на фото: плотнее подложка, чтобы текст читался на светлом небе */
  .shrine-photo figcaption, .direction span { background: linear-gradient(rgba(2,30,55,0), rgba(2,30,55,.85) 45%); text-shadow: 0 1px 3px rgba(0,0,0,.55); }
  /* Карточка проекта кликается целиком */
  .project { position: relative; }
  .project .link-arrow::before { content: ""; position: absolute; inset: 0; }
  /* На сенсорных экранах hover-эффекты «залипают» после касания */
  @media (hover: none) {
    .project:hover, .person:hover, .team__item:hover, .shrine:hover { transform: none; box-shadow: none; }
    .direction:hover img, .project:hover .project__img img { transform: none; }
  }
  @media (max-width: 560px) {
    .founder__role, .person__role, .contact-item h3, .mission__label, .stat span, .about-hero__photo figcaption, .leader__role { font-size: 14px; }
    .stats-band span { font-size: 14px; }
  }
  @media (max-width: 560px) {
    .info-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-items: center; }
    .info-card__icon { width: 44px; height: 44px; margin: 0; }
    .info-card p { grid-column: 1 / -1; }
  }
  /* Пять целей фонда в один ряд на широком экране */
  @media (min-width: 1081px) {
    .info-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
    .info-grid--5 .info-card { padding: 22px 18px; }
    .info-grid--5 .info-card h3 { font-size: 20px; }
    .info-grid--5 .info-card p { font-size: 14.5px; }
  }

  /* ===== Новости ===== */
  .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .news-item { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
  .news-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(3, 68, 122, .1); }
  .news-item__img { aspect-ratio: 4 / 3; background: var(--sky); overflow: hidden; }
  .news-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
  .news-item:hover .news-item__img img { transform: scale(1.04); }
  .news-item__noimg { display: block; width: 100%; height: 100%; background: var(--sky) url("assets/logo.png") center / 70px auto no-repeat; opacity: .5; }
  .news-item__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
  .news-item h3 { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.25; color: var(--navy); margin: 0; }
  .news-item p { font-size: 15px; line-height: 1.5; color: var(--text-muted); margin: 0; }
  .news-item .news-date, .news-article + .news-date { color: var(--gold); }
  .pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 46px; }
  .pager a, .pager span { min-width: 44px; height: 44px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 10px; font-weight: 700; color: var(--navy); }
  .pager a { border: 1px solid var(--line); background: var(--white); }
  .pager a:hover { border-color: var(--navy); }
  .pager__cur { background: var(--navy); color: var(--white) !important; }
  .pager__gap { color: var(--text-muted) !important; }
  .news-title { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: .02em; margin-top: 10px; max-width: 980px; }
  .page-head .news-date { display: block; margin-top: 4px; }
  .news-article { max-width: 860px; }
  .news-cover { margin: 0 0 34px; }
  .news-cover img { width: 100%; height: auto; border-radius: 16px; }
  .news-body p, .news-body li { font-size: 18px; }
  .news-body h2, .news-body h3, .news-body h4 { font-family: var(--display); font-weight: 500; color: var(--navy); margin: 30px 0 14px; }
  .news-body h2 { font-size: 28px; } .news-body h3 { font-size: 24px; } .news-body h4 { font-size: 20px; }
  .news-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
  .news-body blockquote { margin: 24px 0; padding-left: 24px; border-left: 2px solid var(--gold); font-style: italic; }
  .news-body ul { list-style: disc; padding-left: 24px; }
  .news-body ul li::before { display: none; }
  .news-body ul li { padding-left: 0; }
  .news-figure { margin: 26px 0; }
  .news-figure img { width: 100%; height: auto; border-radius: 12px; }
  .news-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 26px 0; }
  .news-gallery a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--sky); }
  .news-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .news-gallery a:hover img { transform: scale(1.05); }
  .news-video { position: relative; aspect-ratio: 16 / 9; margin: 26px 0; border-radius: 12px; overflow: hidden; background: #000; }
  .news-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .news-article .back-link { margin-top: 40px; }
  .news-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
  .news-pn a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); font-family: var(--display); font-size: 18px; line-height: 1.3; }
  .news-pn a:hover { border-color: var(--gold); }
  .news-pn span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
  .news-pn__next { text-align: right; align-items: flex-end; }
  /* Просмотр фото на весь экран */
  .lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(2, 20, 40, .92); display: none; align-items: center; justify-content: center; }
  .lightbox.is-open { display: flex; flex-direction: column; }
  .lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 80px); border-radius: 8px; }
  .lightbox button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
  .lightbox button:hover { background: var(--gold); color: var(--navy-deep); }
  .lightbox__close { top: 18px; right: 18px; }
  .lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
  .lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
  .lightbox__count { margin-top: 14px; text-align: center; color: rgba(255,255,255,.85); font-size: 15px; }
  @media (hover: none) { .news-item:hover { transform: none; box-shadow: none; } .news-item:hover .news-item__img img, .news-gallery a:hover img { transform: none; } }
  @media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) {
    .news-grid { grid-template-columns: 1fr; gap: 18px; }
    .news-title { font-size: 28px; }
    .news-body p, .news-body li { font-size: 16.5px; }
    .news-gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .news-pn { grid-template-columns: 1fr; }
    .news-pn__next { text-align: left; align-items: flex-start; }
    .lightbox img { max-width: 100vw; max-height: calc(100vh - 160px); border-radius: 0; }
    .lightbox__prev, .lightbox__next { width: 44px; height: 44px; font-size: 26px; background: rgba(2, 20, 40, .55); }
    .lightbox__prev { left: 8px; }
    .lightbox__next { right: 8px; }
  }
  /* Фото в новостях не крупнее исходного качества */
  .news-cover, .news-figure { max-width: 600px; }
  .news-cover img, .news-figure img { width: auto; max-width: 100%; max-height: 520px; }

  /* ===== Мобильная шапка: закреплена сверху, меню открывается плавно ===== */
  .burger svg path { transition: transform .3s ease, opacity .2s ease; transform-origin: 14px 14px; }
  .burger[aria-expanded="true"] .b1 { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] .b2 { opacity: 0; }
  .burger[aria-expanded="true"] .b3 { transform: translateY(-6px) rotate(-45deg); }
  @media (max-width: 900px) {
    html { scroll-padding-top: 90px; }
    .header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(3, 68, 122, .06); }
    .nav, .nav.is-open {
      display: flex; flex-direction: column; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
      background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px rgba(3, 68, 122, .14);
      padding: 6px 20px; gap: 0; max-height: calc(100vh - 110px); overflow: auto;
      opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
      transition: opacity .25s ease, transform .3s ease, visibility 0s linear .3s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .25s ease, transform .3s ease, visibility 0s; }
    .nav a { display: block; padding: 13px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
    .nav a:last-child { border-bottom: 0; }
    .nav a::after { display: none; }
    .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
  }
  @media (max-width: 900px) and (prefers-reduced-motion: reduce) {
    .nav, .nav.is-open, .burger svg path { transition: none; }
  }

  /* Партнёры: одинаковые плитки, логотип вписан в одну и ту же рамку */
  .partner { position: relative; aspect-ratio: 3 / 2; height: auto; min-height: 0; overflow: hidden; padding: 0; }
  .partner img { position: absolute; top: 14%; left: 12%; width: 76%; height: 72%; max-height: none; object-fit: contain; }
  @media (max-width: 560px) { .partner { aspect-ratio: 4 / 3; } .partner img { top: 10%; left: 9%; width: 82%; height: 80%; } }

  /* Подвал: ссылка на разработчика */
  .footer__bottom { flex-wrap: wrap; }
  .footer__dev { margin-left: auto; opacity: .8; }
  .footer__dev:hover { opacity: 1; color: var(--gold); }
  @media (max-width: 560px) { .footer__dev { margin-left: 0; } }

  /* Кнопка «Наверх» */
  .to-top {
    position: fixed; right: 20px; bottom: 24px; z-index: 60; width: 52px; height: 52px; border-radius: 50%;
    border: 0; background: var(--navy); color: var(--white); cursor: pointer; display: grid; place-items: center;
    box-shadow: 0 10px 26px rgba(2, 47, 85, .28); opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s, background .2s ease;
  }
  .to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s, background .2s ease; }
  .to-top:hover { background: var(--gold); color: var(--navy-deep); }
  .to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  @media (max-width: 560px) { .to-top { right: 14px; bottom: 18px; width: 48px; height: 48px; } }
  @media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
