/* СИЛЬНО — strongnormal.ru | shared site stylesheet (static stack replica) */

/* Exact weights served by live strongnormal.ru: Regular 400 / Medium 500 / DemiBold 600.
   Using live's own woff files so glyphs render pixel-identical under the same engine. */
@font-face {
  font-family: 'TTHoves';
  src: url('../fonts/TTHoves-Regular-live.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'TTHoves';
  src: url('../fonts/TTHoves-Medium-live.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'TTHoves';
  src: url('../fonts/TTHoves-DemiBold-live.woff') format('woff');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --yellow: #FFF500;
  --yellow-bright: #EAFF00;
  --black: #000000;
  --dark: #181818;
  --dark-2: #202020;
  --white: #ffffff;
  --gray: #f5f5f3;
  --mid-gray: #e8e8e6;
  --text: #000000;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: #e8e8e6;
  --font: 'TTHoves', 'Arial', sans-serif;
  --radius-card: 20px;
  --radius-pill: 100px;
  --radius-photo: 12px;
  --maxw: 1280px;
  --header-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* ============ HEADER ============ */
header.site-header {
  background: var(--yellow);
  padding: 0 40px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.5);
}

.logo { text-decoration: none; display: flex; align-items: center; }
.logo svg { height: 32px; width: auto; }

nav.main-nav { display: flex; gap: 38px; align-items: center; }

nav.main-nav > a,
.nav-item > .nav-label {
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  font-family: inherit;
}
nav.main-nav > a:hover,
.nav-item > .nav-label:hover { opacity: 0.6; }

/* dropdown (арт-резиденция) */
.nav-item { position: relative; }
.nav-item > .nav-label::after { content: ' ▾'; font-size: 11px; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 180px;
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { display: flex; }
.nav-dropdown::before {
  content: ''; position: absolute; top: -18px; left: 0; right: 0; height: 18px;
}
.nav-dropdown a {
  padding: 9px 22px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--gray); }

.header-right { display: flex; align-items: center; gap: 18px; }
.social-icons { display: flex; gap: 10px; align-items: center; }
.social-icon { display: flex; opacity: 0.85; transition: opacity 0.2s; }
.social-icon:hover { opacity: 1; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0; transition: 0.25s; }

/* mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--yellow);
  padding: 24px 28px 60px;
  overflow-y: auto;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav .mob-group-label {
  padding: 12px 0;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.mobile-nav .mob-sub a { font-size: 15px; padding-left: 16px; opacity: 0.8; border-bottom: none; }

/* ============ SECTIONS ============ */
section { padding: 80px 0; }
.section-title {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.23;
  margin-bottom: 32px;
  letter-spacing: normal;
}
.section-title--sm { font-size: 42px; }
.section-lead {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 40px;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 16px; font-weight: 500;
  padding: 14px 28px; border-radius: var(--radius-pill);
  text-decoration: none; cursor: pointer; border: 1.5px solid var(--black);
  transition: background 0.2s, color 0.2s;
}
.btn-fill { background: var(--black); color: var(--white); }
.btn-fill:hover { background: var(--dark-2); }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--black); border-color: var(--black); }
.btn-yellow:hover { background: var(--yellow-bright); }

/* ============ FOOTER ============ */
footer.footer-new { background: var(--dark); color: #c9c9c9; padding: 64px 40px 0; }
.footer-top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-contact-text { font-size: 18px; color: var(--white); margin-bottom: 18px; max-width: 360px; }
.footer-contact-list { list-style: none; }
.footer-contact-list li { margin-bottom: 8px; font-size: 16px; }
.footer-contact-list a { color: #c9c9c9; text-decoration: none; }
.footer-contact-list a:hover { color: var(--white); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: #c9c9c9; text-decoration: none; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav a:hover { color: var(--white); }
.footer-meta-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; padding: 28px 0 40px; font-size: 13px; color: var(--text-muted);
}
.footer-socials-text { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-socials-text a { color: #c9c9c9; text-decoration: none; font-size: 14px; }
.footer-socials-text a:hover { color: var(--white); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  nav.main-nav { gap: 24px; }
}
@media (max-width: 860px) {
  .container { padding-left: 20px; padding-right: 20px; }
  header.site-header { padding: 0 20px; }
  nav.main-nav { display: none; }
  .header-right .social-icons { display: none; }
  .burger { display: block; }
  section { padding: 56px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  footer.footer-new { padding: 40px 20px 0; }
  .footer-bottom { flex-direction: column; padding: 24px 0 32px; }
}

/* ============ HOME / SHARED SECTIONS ============ */

/* hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--dark) center/cover no-repeat;
  padding: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
}
.hero .hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 0 40px 72px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 68px); font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; }
.hero p { font-size: clamp(17px, 2vw, 22px); max-width: 60ch; margin-top: 24px; color: #f0f0f0; }
.hero .hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { color: var(--white); border-color: var(--white); }
.hero .btn-outline:hover { background: var(--white); color: var(--black); }

/* filter tabs */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tab {
  font-family: inherit; font-size: 15px; padding: 9px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--black); background: transparent; color: var(--black); cursor: pointer;
  text-transform: lowercase; transition: background 0.2s, color 0.2s;
}
.tab.active, .tab:hover { background: var(--black); color: var(--white); }

/* program cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden;
  display: flex; flex-direction: column; background: var(--white); transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 18px 40px rgba(0,0,0,0.10); transform: translateY(-3px); }
.card-img { aspect-ratio: 16/10; background: var(--gray) center/cover no-repeat; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 10px; }
.card-date { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }
.card h3 { font-size: 21px; font-weight: 700; line-height: 1.15; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--text-secondary); flex: 1; margin-bottom: 18px; }

/* steps */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num { font-size: 40px; font-weight: 900; color: var(--yellow-bright); -webkit-text-stroke: 1px var(--black); line-height: 1; min-width: 56px; }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-secondary); }

/* directions */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dir { border-radius: var(--radius-card); overflow: hidden; position: relative; min-height: 360px; display: flex; align-items: flex-end; color: var(--white); background: var(--dark) center/cover; }
.dir::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.7)); }
.dir-inner { position: relative; z-index: 2; padding: 26px; }
.dir h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.dir p { font-size: 15px; color: #ececec; }

/* community marquee */
.community-lead { font-size: clamp(18px, 2.4vw, 26px); max-width: 900px; margin-bottom: 40px; }
.marquee { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; gap: 14px; animation: marquee 38s linear infinite; }
.marquee:nth-child(even) .marquee-track { animation-direction: reverse; }
.chip { border: 1.5px solid var(--black); border-radius: var(--radius-pill); padding: 10px 22px; font-size: 16px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* journal teaser */
.journal-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.journal-teaser img { border-radius: var(--radius-card); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* assets grid */
.assets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.asset-tile { position: relative; border-radius: var(--radius-card); overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; color: var(--white); text-decoration: none; background: var(--dark) center/cover; }
.asset-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.6)); }
.asset-tile span { position: relative; z-index: 2; padding: 20px; font-size: 22px; font-weight: 700; }
.asset-tile.plain { background: var(--gray); color: var(--black); }
.asset-tile.plain::after { display: none; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.quote { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; }
.quote p { font-size: 16px; line-height: 1.6; margin-bottom: 18px; }
.quote .who { font-weight: 700; font-size: 16px; }
.quote .role { font-size: 14px; color: var(--text-muted); }

/* partners */
.partners-grid { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.partners-grid a { display: flex; align-items: center; justify-content: center; height: 64px; min-width: 150px; padding: 14px 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); transition: border-color 0.2s; }
.partners-grid a:hover { border-color: var(--black); }
.partners-grid img { max-height: 36px; width: auto; object-fit: contain; }

@media (max-width: 860px) {
  .cards, .dirs, .assets-grid { grid-template-columns: 1fr; }
  .steps, .journal-teaser, .quotes { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero .hero-inner { padding: 0 20px 48px; }
}
@media (max-width: 1024px) and (min-width: 861px) {
  .cards, .dirs, .assets-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ INNER PAGES (Ф2) ============ */
.page-head { padding-top: calc(var(--header-h) + 56px); padding-bottom: 8px; }
.page-head .section-title { margin-bottom: 18px; }
.page-lead { max-width: 760px; font-size: 18px; line-height: 1.6; color: var(--text-muted); }

/* people (curators) */
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
.person { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; background: var(--white); }
.person .p-name { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.person .p-role { font-size: 15px; color: var(--text-muted); margin-bottom: 14px; }
.person .p-bio { font-size: 15px; line-height: 1.6; }
.person .p-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 14px; }
.person .p-links a { font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; }

/* name list (residents) */
.name-meta { margin-top: 28px; font-weight: 700; font-size: 16px; color: var(--text-muted); }
.name-columns { columns: 4; column-gap: 32px; margin-top: 20px; }
.name-columns li { break-inside: avoid; padding: 7px 0; font-size: 16px; border-bottom: 1px solid var(--border); list-style: none; }

/* info blocks (grant) */
.info-block { margin-top: 40px; }
.info-block h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.info-block p { font-size: 16px; line-height: 1.7; max-width: 820px; }
.info-block ol { margin: 14px 0 0 20px; }
.info-block ol li { font-size: 16px; line-height: 1.7; padding: 4px 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.gallery figure { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 22px; background: var(--white); }
.gallery figcaption { font-size: 15px; line-height: 1.5; }
.gallery .g-author { font-weight: 800; display: block; margin-bottom: 4px; }

/* library */
.lib-quote { margin-top: 32px; border-left: 4px solid var(--yellow); padding: 8px 0 8px 24px; font-size: 18px; line-height: 1.6; font-style: italic; max-width: 760px; }
.lib-curator { margin-top: 28px; font-size: 16px; line-height: 1.6; max-width: 760px; }
.lib-curator b { font-weight: 800; }

/* archive / journal empty state */
.media-note { margin-top: 32px; padding: 48px; border: 1px dashed var(--border); border-radius: var(--radius-card); text-align: center; color: var(--text-muted); font-size: 16px; }

@media (max-width: 860px) {
  .people-grid { grid-template-columns: 1fr; }
  .name-columns { columns: 2; }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) and (min-width: 861px) {
  .name-columns { columns: 3; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ============ INNER PAGES (Ф3) ============ */
.feature-cols { columns: 2; column-gap: 32px; margin-top: 18px; }
.feature-cols li { break-inside: avoid; padding: 9px 0; font-size: 16px; border-bottom: 1px solid var(--border); list-style: none; }
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; background: var(--white); }
.price-card .pc-period { font-size: 16px; color: var(--text-muted); }
.price-card .pc-price { font-size: 32px; font-weight: 900; margin: 6px 0 10px; }
.price-card .pc-note { font-size: 15px; line-height: 1.5; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.spec-item { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; background: var(--white); }
.spec-item h4 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.spec-item p { font-size: 15px; line-height: 1.6; color: var(--text-secondary, #444); }
.proj-cards { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
.proj-card { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 32px; background: var(--white); }
.proj-card .pc-tag { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: var(--yellow); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.proj-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.proj-card p { font-size: 16px; line-height: 1.7; max-width: 820px; margin-bottom: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip-row span { font-size: 14px; padding: 7px 16px; border: 1px solid var(--border); border-radius: 999px; }

@media (max-width: 860px) {
  .feature-cols { columns: 1; }
  .price-cards, .spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) and (min-width: 861px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ STORE (Ф4) ============ */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.cat-item { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; background: var(--white); display: flex; flex-direction: column; }
.cat-item h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.cat-item .ci-desc { font-size: 15px; line-height: 1.6; color: var(--text-muted); flex: 1; margin-bottom: 18px; }
.cat-item .btn { align-self: flex-start; }
.store-note { margin-top: 32px; font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 760px; }
@media (max-width: 860px) { .catalog { grid-template-columns: 1fr; } }
@media (max-width: 1024px) and (min-width: 861px) { .catalog { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   HOME PAGE — 1:1 Tilda replica (EPIC #267, #268)
   ============================================================ */
body.home .container { max-width: 1200px; padding-left: 20px; padding-right: 20px; }

/* header search */
.header-search { background: none; border: none; cursor: pointer; padding: 4px; display: flex; align-items: center; }
.header-search:hover { opacity: 0.6; }

/* hero — plain white, text only */
.hp-hero { padding-top: 78px; padding-bottom: 51px; }
.hp-hero p {
  font-size: 28px; font-weight: 400; line-height: 1.0; color: var(--black);
  max-width: 820px; margin-bottom: 22px;
}
.hp-hero p:last-child { margin-bottom: 0; }

/* НОВОСТИ — black block */
.news-section { background: var(--black); color: var(--white); padding: 72px 0 84px; }
.news-title { font-size: 52px; font-weight: 500; color: var(--yellow); line-height: 1; margin-bottom: 56px; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.news-card { display: flex; flex-direction: column; }
.news-img { width: 100%; height: 200px; background: #222 center/cover no-repeat; border-radius: 15px; margin-bottom: 18px; }
.news-card h3 { font-size: 22px; font-weight: 500; line-height: 1.15; color: var(--white); margin-bottom: 12px; }
.news-card p { font-size: 16px; font-weight: 400; line-height: 1.1; color: #b9b9b9; margin-bottom: 16px; }
.news-tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: #8c8c8c; margin-top: auto; }

/* MARQUEE notice — black bar */
.notice-marquee { background: var(--black); color: var(--white); overflow: hidden; white-space: nowrap; padding: 22px 0; }
.notice-track { display: inline-flex; align-items: center; gap: 40px; animation: notice-scroll 22s linear infinite; }
.notice-track span { font-size: 17px; font-weight: 500; }
.notice-track .dot { font-size: 14px; }
@keyframes notice-scroll { to { transform: translateX(-50%); } }

/* segmented filter */
.seg-filter {
  display: flex; border: 1px solid var(--black); border-radius: 100px;
  padding: 6px; margin-bottom: 56px; width: 100%;
}
.seg {
  flex: 1; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.35; text-transform: uppercase;
  padding: 13px 12px; background: transparent; color: var(--black); border: none;
  border-left: 1px solid #d2d2d2; cursor: pointer; transition: background 0.2s;
}
.seg:first-child, .seg.active, .seg.active + .seg { border-left-color: transparent; }
.seg.active { background: #ececec; border-radius: 100px; }
.seg:hover:not(.active) { background: #f6f6f6; }

/* program cards (slider look — 3-col grid, fill from left) */
.prog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.prog-card { display: flex; flex-direction: column; }
.prog-img { width: 100%; aspect-ratio: 432/312; background: var(--gray) center/cover no-repeat; border-radius: 15px; margin-bottom: 22px; }
.prog-card h3 { font-size: 26px; font-weight: 500; line-height: 1.15; margin-bottom: 18px; }
.prog-card h3 mark { background: var(--yellow); color: var(--black); padding: 0 2px; }
.prog-card p { font-size: 18px; font-weight: 400; line-height: 1.2; color: var(--text); margin-bottom: 24px; }
.btn-arrow {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--black); border-radius: 100px; padding: 13px 26px;
  font-size: 15px; text-decoration: none; color: var(--black); transition: background 0.2s, color 0.2s;
}
.btn-arrow .arr { font-size: 15px; }
.btn-arrow:hover { background: var(--black); color: var(--white); }

/* accordion */
.accordion { border-top: 1px solid #d9d9d9; }
.accordion details { border-bottom: 1px solid #d9d9d9; }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 28px 4px; font-size: 22px; font-weight: 500; color: var(--black);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 28px; font-weight: 400; line-height: 1; }
.accordion details[open] summary::after { content: '–'; }
.acc-body { padding: 0 4px 28px; font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 820px; }

/* НАШИ НАПРАВЛЕНИЯ — full-bleed yellow */
.dirs-yellow { background: var(--yellow); padding: 80px 0 88px; }
.dirs-title { font-size: 52px; font-weight: 500; color: var(--black); line-height: 1; margin-bottom: 64px; }
.dirs-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.dir-col h3 { font-size: 24px; font-weight: 600; line-height: 1.55; margin-bottom: 16px; }
.dir-col p { font-size: 16px; line-height: 1.45; color: var(--black); max-width: 360px; }

/* full-bleed image strips */
.fullbleed-img { width: 100%; height: 720px; background: #ccc center/cover no-repeat; }

/* profession marquees */
.prof-marquees { border-top: 1px solid #d9d9d9; }
.prof-row { overflow: hidden; white-space: nowrap; border-bottom: 1px solid #d9d9d9; }
.prof-track { display: inline-flex; align-items: center; gap: 56px; padding: 20px 0; animation: prof-scroll 30s linear infinite; }
.prof-row.rev .prof-track { animation-direction: reverse; }
.prof { font-size: 19px; font-weight: 400; color: var(--black); }
@keyframes prof-scroll { to { transform: translateX(-50%); } }

/* журнал cards */
.journal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.jcard { text-decoration: none; color: var(--black); display: flex; flex-direction: column; }
.jcard-img { width: 100%; aspect-ratio: 432/288; background: var(--gray) center/cover no-repeat; border-radius: 6px; margin-bottom: 18px; }
.jcard-tag { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: #8c8c8c; margin-bottom: 12px; }
.jcard h3 { font-size: 22px; font-weight: 500; line-height: 1.15; }

/* full-width buttons */
.btn-wide {
  display: flex; align-items: center; justify-content: center; width: 100%;
  border: 1px solid var(--black); border-radius: 100px; padding: 21px; margin-top: 8px;
  font-size: 16px; text-decoration: none; color: var(--black); transition: background 0.2s, color 0.2s;
}
.btn-wide:hover { background: var(--black); color: var(--white); }

/* НАШИ АКТИВЫ — override shared assets-grid for home */
body.home .assets-grid { grid-template-columns: repeat(3, 1fr); gap: 0; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
body.home .asset-tile {
  min-height: 314px; border-radius: 0; align-items: flex-end; justify-content: center; padding-bottom: 50px; overflow: hidden;
}
body.home .asset-tile::after { display: none; }
body.home .asset-tile span {
  position: relative; z-index: 2; padding: 3px 8px; font-size: 22px; font-weight: 500;
  text-transform: uppercase; background: var(--yellow); color: var(--black);
}

/* ВАШИ МЫСЛИ — grey filled cards */
body.home .quotes {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: stretch;
}
body.home .quote {
  background: #f1f1f1; border: none; border-radius: 18px; padding: 36px 40px;
}
.q-head { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.q-avatar { width: 48px; height: 48px; border-radius: 50%; background: #ddd center/cover no-repeat; flex: none; }
.q-avatar-empty { display: none; }
body.home .quote .who { font-weight: 600; font-size: 22px; line-height: 1.1; }
body.home .quote .role { font-size: 15px; color: var(--text-muted); margin-top: 4px; }
body.home .quote p { font-size: 16px; line-height: 1.55; color: var(--text); margin: 0; }

/* logos */
.logos-marquee {
  overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); margin-bottom: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logos-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: logos-scroll 45s linear infinite; }
.logos-track img { max-height: 44px; width: auto; object-fit: contain; flex: none; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* footer restructure for home */
body.home footer.footer-new { padding: 72px 0 56px; }
body.home .footer-top { border-bottom: none; padding-bottom: 0; grid-template-columns: 1.3fr 1fr 1.2fr; align-items: start; }
.footer-copy { margin-top: 36px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
body.home .footer-nav a { text-transform: none; letter-spacing: 0; font-size: 16px; }
body.home .footer-col-meta { display: flex; flex-direction: column; gap: 60px; align-items: flex-end; text-align: right; }
body.home .footer-meta-note { max-width: 320px; }
body.home .footer-socials-text a { color: var(--yellow); font-size: 16px; }

/* home responsive */
@media (max-width: 1024px) and (min-width: 861px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .journal-cards, .prog-cards, .dirs-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .dirs-cols { grid-template-columns: 1fr; }
  body.home .quotes { grid-template-columns: 1fr; }
  .hp-hero p { font-size: 28px; line-height: 1.15; max-width: none; }
  .news-title, .dirs-title { font-size: 36px; }
  .fullbleed-img { height: 720px; }

  /* card rows become horizontal carousels (one card + next peeking) */
  .news-grid, .prog-cards, .journal-cards {
    display: flex; grid-template-columns: none; flex-wrap: nowrap;
    overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-left: -20px; margin-right: -20px; padding: 0 20px;
  }
  .news-grid::-webkit-scrollbar, .prog-cards::-webkit-scrollbar, .journal-cards::-webkit-scrollbar { display: none; }
  .news-grid > .news-card, .prog-cards > .prog-card, .journal-cards > .jcard {
    flex: 0 0 84%; scroll-snap-align: start;
  }
  .news-img { height: 230px; }

  /* assets: single full-width column on mobile (matches live) */
  body.home .assets-grid { grid-template-columns: 1fr; }
  body.home .asset-tile { min-height: 257px; }

  /* filter collapses to a dropdown pill showing the active option */
  .seg-filter { position: relative; border-radius: 100px; }
  .seg-filter .seg { display: none; }
  .seg-filter .seg.active {
    display: flex; flex: 1; justify-content: flex-start; text-transform: none;
    border: none; border-radius: 100px; background: transparent; padding-right: 44px;
  }
  .seg-filter::after {
    content: '▾'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
    font-size: 16px; pointer-events: none;
  }

  body.home .footer-top { grid-template-columns: 1fr; }
  body.home .footer-col-meta { align-items: flex-start; text-align: left; gap: 28px; }
}
