/* Ольга Воскрецова — педагог-психолог. Мята + морская волна, кольца «быть услышанным». */

@font-face { font-family: "Literata"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(../fonts/literata-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(../fonts/literata-lat.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; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url(../fonts/literata-i-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url(../fonts/literata-i-lat.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; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/golos-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/golos-lat.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 {
  --paper: #EEF3EF;
  --paper-2: #E1EBE5;
  --card: #FFFFFF;
  --ink: #1F3138;
  --ink-soft: #4B5F65;
  --sea: #2F6F6A;
  --sea-deep: #22534F;
  --sea-tint: #D3E5DF;
  --sun: #F0B64A;
  --sun-ink: #6B4A08;
  --heather: #DCC9D0;
  --heather-ink: #3E2B33;
  --line: rgba(31, 49, 56, .14);
  --ring: #2F6F6A;
  --on-sea: #FFFFFF;
  --focus: #F0B64A;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-sm: .889rem;
  --fs-base: 1.125rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --fs-xl: clamp(2rem, 1.4rem + 2.2vw, 2.8rem);
  --fs-hero: clamp(2.5rem, 1.4rem + 4vw, 4.6rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --r-card: 20px;
  --r-img: 12px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not(.vision) {
    --paper: #13241F;
    --paper-2: #1A2F29;
    --card: #1E3630;
    --ink: #E5EFEA;
    --ink-soft: #A8BDB6;
    --sea: #82C7BC;
    --sea-deep: #A4DACF;
    --sea-tint: #234640;
    --sun: #F0B64A;
    --sun-ink: #F6CF83;
    --heather: #3A2C33;
    --heather-ink: #F0E1E7;
    --line: rgba(229, 239, 234, .14);
    --ring: #82C7BC;
    --on-sea: #10231E;
    color-scheme: dark;
  }
}

/* Версия для слабовидящих: крупно, контрастно, без анимаций */
:root.vision {
  --paper: #FFFFFF;
  --paper-2: #FFFFFF;
  --card: #FFFFFF;
  --ink: #000000;
  --ink-soft: #000000;
  --sea: #00403C;
  --sea-deep: #00403C;
  --sea-tint: #FFFFFF;
  --heather: #FFFFFF;
  --heather-ink: #000000;
  --line: #000000;
  --ring: #000000;
  --on-sea: #FFFFFF;
  --focus: #0050FF;
  font-size: 125%;
  color-scheme: light;
}
:root.vision * { animation: none !important; transition: none !important; }
:root.vision body { letter-spacing: .02em; line-height: 1.8; }
:root.vision .article-card a,
:root.vision .contact-card,
:root.vision .award-open,
:root.vision .reviews { border: 2px solid #000; }
:root.vision .hero-visual .rings { display: none; }
:root.vision { scroll-padding-top: 150px; }
.brand-name, .site-nav a, .vision-toggle { white-space: nowrap; }
@media (min-width: 1061px) {
  :root.vision .header-inner { flex-wrap: wrap; row-gap: 4px; padding-block: 8px; }
  :root.vision .site-nav { margin-left: 0; width: 100%; justify-content: space-between; }
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--sea-deep); text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: 0; transform: translateY(-150%); z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { transform: translateY(12px); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-title { font-size: var(--fs-xl); letter-spacing: -.01em; margin-bottom: .5em; }
.section-title-sm { font-size: var(--fs-lg); margin-bottom: 1em; }
.section-head { max-width: 40rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p, .reviews-head p { color: var(--ink-soft); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--sea); color: var(--on-sea); }
.btn-primary:hover { background: var(--sea-deep); color: var(--on-sea); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sea); color: var(--sea-deep); }
.btn[disabled] { opacity: .6; cursor: progress; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid currentColor; background: transparent; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.round-btn svg { width: 22px; height: 22px; }
.link-quiet { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sea); }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; color: var(--sea); flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; letter-spacing: -.005em; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { background: var(--sea-tint); color: var(--ink); }
.vision-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; min-height: 40px;
  border: 1.5px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: .9rem;
}
.vision-toggle svg { width: 20px; height: 20px; }
.vision-toggle[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px;
    border: 0; background: transparent; cursor: pointer; border-radius: 12px;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, opacity .25s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px 8px; font-size: 1.05rem; border-radius: 10px; }
  .vision-toggle { align-self: flex-start; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-role { font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: 1.4em; }
.hero-title {
  font-size: var(--fs-hero); font-weight: 340; line-height: 1.04; letter-spacing: -.025em;
  font-variation-settings: "opsz" 72; margin-bottom: .45em; max-width: 15ch;
}
.hero-lead { font-family: var(--serif); font-size: var(--fs-md); line-height: 1.6; color: var(--ink-soft); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0 2.2em; }
.hero-news {
  display: inline-flex; align-items: flex-start; gap: 12px; max-width: 34em;
  padding: 14px 18px; border-radius: 16px; background: color-mix(in srgb, var(--sun) 22%, transparent);
  color: var(--ink); text-decoration: none; font-size: var(--fs-sm); line-height: 1.5;
}
.hero-news:hover { color: var(--ink); background: color-mix(in srgb, var(--sun) 34%, transparent); }
.hero-news svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--sun-ink); }
.hero-news strong { font-weight: 600; }

.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.rings { position: absolute; inset: -6%; width: 112%; height: 112%; overflow: visible; }
.ring { fill: none; stroke: var(--ring); transform-origin: 300px 300px; }
.ring-1 { stroke-width: 1.6; opacity: .55; }
.ring-2 { stroke-width: 1.3; opacity: .38; }
.ring-3 { stroke-width: 1.1; opacity: .24; }
.ring-4 { stroke-width: 1; opacity: .14; }
.portrait {
  position: absolute; inset: 16%;
  border-radius: 50%; overflow: hidden; background: var(--heather);
  box-shadow: 0 0 0 10px var(--paper);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }

/* Единственное «громкое» движение: кольца расходятся от портрета при загрузке */
@media (prefers-reduced-motion: no-preference) {
  .ring { animation: ring-out 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .ring-1 { animation-delay: .15s; }
  .ring-2 { animation-delay: .32s; }
  .ring-3 { animation-delay: .49s; }
  .ring-4 { animation-delay: .66s; }
  .portrait { animation: portrait-in 1s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes ring-out { from { transform: scale(.72); opacity: 0; } }
  @keyframes portrait-in { from { transform: scale(.94); opacity: 0; } }
}

/* Наведение на портрет: кольца раздвигаются, от фото волнами расходится «звук» */
.wave { fill: none; stroke: var(--ring); stroke-width: 1.6; opacity: 0; transform-origin: 300px 300px; }
.ring { transition: scale .9s cubic-bezier(.2, .7, .2, 1), opacity .9s; }
.portrait { transition: box-shadow .9s cubic-bezier(.2, .7, .2, 1); }
.portrait img { transition: scale 1.2s cubic-bezier(.2, .7, .2, 1), filter 1.2s; }
@media (hover: hover) { .hero-visual { cursor: pointer; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual.is-listening .ring-1 { scale: 1.035; opacity: .7; }
  .hero-visual.is-listening .ring-2 { scale: 1.06; opacity: .5; }
  .hero-visual.is-listening .ring-3 { scale: 1.085; opacity: .34; }
  .hero-visual.is-listening .ring-4 { scale: 1.11; opacity: .22; }
  .hero-visual.is-listening .wave { animation: wave-out 2.7s cubic-bezier(.25, .6, .35, 1) infinite; }
  .hero-visual.is-listening .wave-2 { animation-delay: .9s; }
  .hero-visual.is-listening .wave-3 { animation-delay: 1.8s; }
  .hero-visual.is-listening .portrait img { scale: 1.06; filter: saturate(1.08) brightness(1.03); }
  .hero-visual.is-listening .portrait {
    box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px color-mix(in srgb, var(--ring) 45%, transparent),
      0 30px 80px -30px color-mix(in srgb, var(--sea) 70%, transparent);
  }
  @keyframes wave-out {
    0% { transform: scale(.96); opacity: 0; }
    12% { opacity: .55; }
    100% { transform: scale(1.62); opacity: 0; }
  }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; width: 82%; }
  .hero-title { max-width: 12ch; }
}

/* ---------- обо мне ---------- */
.about { background: var(--card); }
.about-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-text { font-family: var(--serif); font-size: var(--fs-base); line-height: 1.75; max-width: 36em; }
.about-text .about-lead { font-size: var(--fs-md); line-height: 1.6; color: var(--ink); margin-bottom: 1.2em; }
.about-text p { color: var(--ink-soft); }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); position: sticky; top: 104px; }
.facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--fs-sm); color: var(--sea); font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--serif); font-size: var(--fs-md); line-height: 1.4; }
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; }
  .facts { position: static; }
}

/* ---------- отзывы ---------- */
.reviews { background: var(--heather); color: var(--heather-ink); }
.reviews-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 96px); }
.reviews-head { grid-row: 1 / 3; }
.reviews-head p { color: inherit; opacity: .8; max-width: 18em; }
.reviews-stage { min-height: 15em; display: grid; }
.review { grid-area: 1 / 1; margin: 0; }
.review[hidden] { display: none; }
.review blockquote { margin: 0 0 1.5em; }
.review blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 360;
  font-size: var(--fs-lg); line-height: 1.5; max-width: 34em; margin: 0;
  text-indent: -.45em;
}
.review blockquote p::before { content: "«"; }
.review blockquote p::after { content: "»"; }
.review figcaption { display: flex; flex-direction: column; font-size: var(--fs-sm); }
.review-author { font-weight: 600; font-size: 1rem; }
.review-role { opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .review.is-entering { animation: review-in .5s ease both; }
  @keyframes review-in { from { opacity: 0; transform: translateY(8px); } }
}
.reviews-controls { grid-column: 2; display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.reviews-controls .round-btn:hover { background: var(--heather-ink); color: var(--heather); }
.review-dots { display: flex; gap: 6px; }
.review-dot {
  width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative;
}
.review-dot::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; opacity: .3; transition: width .25s, opacity .25s;
}
.review-dot[aria-current="true"]::after { width: 22px; border-radius: 4px; opacity: 1; }
@media (max-width: 860px) {
  .reviews-inner { grid-template-columns: 1fr; }
  .reviews-head { grid-row: auto; margin-bottom: 24px; }
  .reviews-controls { grid-column: 1; }
  .reviews-stage { min-height: 0; }
  .review blockquote p { text-indent: 0; }
}

/* ---------- награды ---------- */
.awards-wall { list-style: none; margin: 0; padding: 0; columns: 3 240px; column-gap: clamp(20px, 3vw, 36px); }
.award { break-inside: avoid; margin-bottom: clamp(24px, 3vw, 40px); }
.award-open {
  display: block; width: 100%; padding: 12px; border: 0; cursor: zoom-in;
  background: var(--card); border-radius: 6px;
  box-shadow: 0 1px 0 var(--line), 0 18px 32px -24px rgba(31, 49, 56, .45);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.award-open:hover { transform: translateY(-3px) rotate(-.4deg); }
.award-open img { width: 100%; border-radius: 2px; }
.award-caption { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.45; margin: 12px 4px 0; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 94vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(14, 26, 24, .82); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 4px; background: #fff; }
.lightbox figcaption { color: #fff; font-size: var(--fs-sm); text-align: center; max-width: 40em; }
.lightbox form { position: absolute; top: -8px; right: -8px; z-index: 1; }
.lightbox-close { background: #fff; color: #1F3138; border-color: #fff; }
@media (max-width: 720px) { .lightbox form { top: -56px; right: 0; } }

/* ---------- новости ---------- */
.news { background: var(--paper-2); }
.news-list { list-style: none; margin: 0; padding: 0; max-width: 54rem; position: relative; }
.news-list::before { content: ""; position: absolute; left: calc(9.5rem + 7px); top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.news-year { margin: 8px 0 24px; }
.news-year span {
  font-family: var(--serif); font-size: var(--fs-xl); font-weight: 300; color: var(--sea);
  font-variant-numeric: lining-nums; letter-spacing: -.02em;
}
.news-item { display: grid; grid-template-columns: 9.5rem 1fr; column-gap: 40px; padding-bottom: 40px; position: relative; }
.news-item::before {
  content: ""; position: absolute; left: 9.5rem; top: .55em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper-2); border: 3px solid var(--sun);
}
.news-item.is-more { display: none; }
.news-list.is-expanded .news-item.is-more { display: grid; }
.news-list:not(.is-expanded) .news-year:has(+ .news-item.is-more) { display: none; }
.news-item time { font-size: var(--fs-sm); color: var(--ink-soft); padding-top: .2em; }
.news-body { max-width: 38em; }
.news-body h3 { font-size: var(--fs-md); line-height: 1.35; margin-bottom: .5em; font-weight: 500; }
.news-body p { color: var(--ink-soft); margin-bottom: .6em; }
.link-file { font-weight: 600; }
#news-award .news-body h3 { font-size: var(--fs-lg); }
.news-more { margin-left: calc(9.5rem + 40px); }
@media (max-width: 720px) {
  .news-list::before { left: 7px; }
  .news-item { grid-template-columns: 1fr; padding-left: 36px; padding-bottom: 32px; }
  .news-item::before { left: 0; }
  .news-item time { margin-bottom: 4px; }
  .news-year { padding-left: 36px; }
  .news-more { margin-left: 36px; }
}

/* ---------- материалы ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs [role="tab"] {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; font-weight: 600;
}
.tabs [role="tab"]:hover { border-color: var(--sea); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab-count { font-size: .8rem; font-weight: 500; opacity: .7; font-variant-numeric: tabular-nums; }
.materials-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; margin-bottom: 28px; }
.materials-panel-head p { margin: 0; color: var(--ink-soft); max-width: 36em; }

.article-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.article-card a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink);
  background: var(--card); border-radius: var(--r-card); padding: 10px; transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.article-card a:hover { color: var(--ink); transform: translateY(-3px); }
.article-card-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-img); overflow: hidden; background: var(--sea-tint); }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 10px 12px; flex: 1; }
.article-card-title { font-family: var(--serif); font-size: var(--fs-md); line-height: 1.3; font-weight: 500; }
.article-card a:hover .article-card-title { text-decoration: underline; text-decoration-color: var(--sea); text-underline-offset: .15em; }
.article-card-summary { color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }

/* ---------- контакты ---------- */
.contact { background: var(--card); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-text > p { color: var(--ink-soft); max-width: 26em; font-family: var(--serif); font-size: var(--fs-md); line-height: 1.6; }
.contact-links { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.contact-links a, .contact-place { display: inline-flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--ink); text-decoration: none; }
.contact-links a:hover span { text-decoration: underline; text-decoration-color: var(--sea); }
.contact-links svg { width: 26px; height: 26px; color: var(--sea); flex: none; }
.contact-card { display: grid; gap: 20px; padding: clamp(20px, 3vw, 36px); background: var(--paper); border-radius: var(--r-card); }
.contact-card h3 { margin: 0; font-family: var(--serif); font-size: var(--fs-lg); font-weight: 500; }
.contact-card p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.contact-card .btn { justify-self: start; }
@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-card .btn { justify-self: stretch; }
}

/* ---------- подвал ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 48px; }
.footer-brand p { color: var(--ink-soft); margin-top: 12px; max-width: 24em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--ink); }
.footer-copy { grid-column: 1 / -1; color: var(--ink-soft); margin: 0; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- внутренние страницы ---------- */
.page { padding: clamp(32px, 5vw, 64px) 0 var(--section); }
.crumbs { font-size: var(--fs-sm); margin-bottom: 24px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a::before { content: "‹"; margin-right: 8px; color: var(--sea); }
.crumbs a:hover { color: var(--sea); }
.page-title { font-size: var(--fs-xl); margin-bottom: .4em; }
.page-lead { font-family: var(--serif); font-size: var(--fs-md); color: var(--ink-soft); max-width: 34em; margin-bottom: 40px; }
.page-others { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink-soft); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.chip:hover { border-color: var(--sea); color: var(--ink); }

.article { max-width: 760px; }
.article-head { margin-bottom: 32px; }
.article-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); line-height: 1.1; letter-spacing: -.015em; font-weight: 380; margin-bottom: .45em; }
.article-summary { font-family: var(--serif); font-size: var(--fs-md); color: var(--ink-soft); }
.article-cover { margin: 0 0 40px; border-radius: var(--r-card); overflow: hidden; background: #FFFFFF; display: grid; place-items: center; }
.article-cover img { width: 100%; max-height: 460px; object-fit: contain; }
.prose { font-family: var(--serif); font-size: 1.19rem; line-height: 1.8; max-width: 36em; }
.prose h2 { font-size: var(--fs-lg); font-weight: 500; margin: 1.8em 0 .6em; line-height: 1.25; }
.prose p { margin-bottom: 1.1em; }
.prose strong { font-weight: 600; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--sea); }
.article-cta {
  margin: 56px 0 0; padding: 28px; border-radius: var(--r-card); background: var(--heather); color: var(--heather-ink);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.article-cta p { margin: 0; font-family: var(--serif); font-size: var(--fs-md); max-width: 24em; }
.more-articles { margin-top: var(--section); }

@media print {
  .site-header, .site-footer, .article-cta, .more-articles, .hero-visual .rings { display: none; }
  body { background: #fff; color: #000; }
}
