@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500&display=swap');

:root {
  --slate: #1A1A1A;
  --stucco: #C0B878;
  --clay: #A87060;
  --sand: #EDE5D8;
  --linen: #F6F3EF;
  --white: #FFFFFF;
  --cream: #FAF8F5;
}

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

body {
  background: var(--white);
  color: var(--slate);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 80px;
  overflow: visible;
  mix-blend-mode: normal;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,26,26,0.07);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; border-bottom: 1px solid var(--clay); padding-bottom: 2px; color: var(--clay); }

.nav-cta {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--slate);
  padding: 10px 24px;
  text-decoration: none;
  transition: background 0.3s;
}

.nav-cta:hover { background: var(--clay); }

/* Гамбургер */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--slate);
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Мобильное меню */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.nav-mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0 0 40px;
}

.nav-mobile-menu ul li + li {
  margin-top: 8px;
}

.nav-mobile-menu ul a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0.85;
  display: block;
  padding: 8px 0;
  transition: color 0.15s;
}

.nav-mobile-menu ul a:hover { color: var(--clay); opacity: 1; }

.nav-mobile-cta {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--slate);
  padding: 14px 32px;
  text-decoration: none;
}

/* HERO */
.hero {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 64px;
  background: var(--white);
  position: relative;
}

.hero-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 32px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--slate);
  margin-bottom: 40px;
}

.hero-title em {
  font-style: italic;
  color: var(--clay);
}

.hero-sub {
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--slate);
  opacity: 0.65;
  max-width: 320px;
  margin-bottom: 56px;
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.btn-primary {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--slate);
  padding: 16px 36px;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-primary:hover { background: var(--clay); }

.btn-outline {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  background: transparent;
  border: 1px solid var(--slate);
  padding: 14px 28px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn-outline:hover { background: var(--slate); color: var(--white); }

.btn-ghost {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid var(--slate);
  padding-bottom: 2px;
  opacity: 0.6;
  transition: opacity 0.3s;
  cursor: pointer;
}

.btn-ghost:hover { opacity: 1; }

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #C7BF88 0%, #B28A79 40%, #202020 100%);
  position: relative;
}

.hero-img-placeholder::after {
  content: 'ОРЕНБУРГ';
  position: absolute;
  bottom: 48px;
  right: 48px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(240,239,237,0.4);
  writing-mode: vertical-rl;
}

.hero-overlay-text {
  position: absolute;
  top: 48px;
  left: 48px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  font-weight: 300;
  color: rgba(240,239,237,0.07);
  line-height: 1;
  user-select: none;
}

/* STATS BAR */
.stats-bar {
  background: var(--slate);
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 40px 48px;
}

.stat-item {
  text-align: center;
  color: var(--linen);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* SECTION COMMONS */
section {
  padding: 120px 48px;
}

.section-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  color: var(--slate);
  margin-bottom: 64px;
  max-width: 600px;
  line-height: 1.2;
}

/* ARTICLES */
.articles-section {
  background: var(--linen);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.article-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--linen);
}

.article-card.large {
  grid-row: 1 / 3;
  min-height: 580px;
}

.article-card.small {
  min-height: 280px;
}

.article-img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.article-card:hover .article-img { transform: scale(1.04); }

.card-img-placeholder {
  width: 100%;
  min-height: inherit;
  transition: transform 0.6s ease;
}

.article-card:hover .card-img-placeholder { transform: scale(1.04); }

.card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(32,32,32,0.9) 0%, transparent 100%);
  color: var(--linen);
}

.card-tag {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stucco);
  margin-bottom: 12px;
  display: block;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 8px;
}

.card-title.large { font-size: 32px; }

.card-meta {
  font-size: 9px;
  letter-spacing: 0.15em;
  opacity: 0.5;
}

/* MAGAZINE */
.magazine-section {
  background: var(--white);
}

.magazine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.mag-issue {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
  padding: 48px;
  background: var(--cream);
  border: 1px solid rgba(26,26,26,0.06);
  transition: border-color 0.3s;
  cursor: pointer;
}

.mag-issue:hover { border-color: var(--clay); }

.mag-cover {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--stucco) 0%, var(--clay) 60%, var(--slate) 100%);
  position: relative;
  overflow: hidden;
}

.mag-cover-num {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: rgba(240,239,237,0.3);
}

.mag-cover-2 {
  background: linear-gradient(160deg, var(--sand) 0%, var(--stucco) 40%, var(--clay) 100%);
}

.mag-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
}

.mag-num {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 16px;
}

.mag-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--slate);
  margin-bottom: 16px;
}

.mag-desc {
  font-size: 11px;
  line-height: 1.9;
  color: var(--slate);
  opacity: 0.6;
  margin-bottom: 32px;
}

/* PEOPLE SECTION */
.people-section {
  background: var(--linen);
}

.people-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.person-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: var(--sand);
}

.person-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.person-card:hover .person-bg { transform: scale(1.05); }

.person-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(32,32,32,0.85) 0%, transparent 100%);
  color: var(--linen);
}

.person-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 4px;
}

.person-role {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ABOUT */
.about-section {
  background: var(--slate);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.about-text {
  padding: 120px 80px 120px 48px;
}

.about-text .section-label { color: var(--stucco); }

.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--linen);
  line-height: 1.2;
  margin-bottom: 40px;
}

/* old .about-body removed — styles now in about page section below */

.about-visual {
  background: linear-gradient(160deg, var(--clay) 0%, var(--slate) 100%);
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.about-visual-text {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 200px;
  font-weight: 300;
  color: rgba(240,239,237,0.05);
  bottom: -20px;
  right: -20px;
  line-height: 1;
  user-select: none;
}

/* ─── TEAM SECTION ─── */
.team-section {
  background: var(--cream);
  padding: 96px 64px;
}

.team-head {
  max-width: 960px;
  margin: 0 auto 64px;
}

.team-head .section-label {
  display: block;
  margin-bottom: 20px;
}

.team-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--slate);
  margin-bottom: 20px;
}

.team-intro-sub {
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--slate);
  opacity: 0.6;
}

/* Сетка участников */
.team-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.team-member {
  display: flex;
  flex-direction: column;
}

/* Фото — квадрат, заменить div на img когда будут фото */
.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--sand);
  margin-bottom: 16px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(0.15);
}

.team-role {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  opacity: 0.85;
  margin-bottom: 6px;
}

.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--slate);
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .team-section { padding: 64px 20px; }
  .team-head { margin-bottom: 48px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

/* CONTACT */
.contact-section {
  background: var(--sand);
  text-align: center;
  padding: 120px 48px;
}

.contact-section .section-label { color: var(--clay); opacity: 1; }

.contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  color: var(--slate);
  line-height: 1.1;
  margin-bottom: 48px;
}

.contact-btns {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-light {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--slate);
  padding: 18px 48px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-light:hover { background: var(--clay); }

.btn-outline-light {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  background: transparent;
  border: 1px solid rgba(26,26,26,0.3);
  padding: 18px 48px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-outline-light:hover { border-color: var(--slate); }

/* FOOTER */
footer {
  background: var(--slate);
  padding: 64px 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  color: var(--linen);
}

.footer-logo {
  margin-bottom: 16px;
  display: block;
  text-decoration: none;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.4;
  line-height: 1.8;
}

.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--linen);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(240,239,237,0.08);
  margin-top: 32px;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.15em;
  opacity: 0.3;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-label { animation: fadeUp 0.8s ease 0.2s both; }
.hero-title { animation: fadeUp 0.8s ease 0.4s both; }
.hero-sub { animation: fadeUp 0.8s ease 0.6s both; }
.hero-actions { animation: fadeUp 0.8s ease 0.8s both; }

/* Color strips per card */
.c1 { background: linear-gradient(160deg, #D8D2A0 0%, #C09080 50%, #2A2520 100%); }
.c2 { background: linear-gradient(160deg, #F0E8DC 0%, #D8D0A0 60%, #C4B890 100%); }
.c3 { background: linear-gradient(160deg, #C09080 0%, #8A6A5C 60%, #2A2520 100%); }
.c4 { background: linear-gradient(200deg, #EBE4D4 0%, #D4CC98 50%, #BEB47C 100%); }
.c5 { background: linear-gradient(200deg, #2A2520 0%, #7A5048 40%, #B08870 100%); }
.cp1 { background: linear-gradient(160deg, #EDE5D8 0%, #D4CA90 50%, #B89080 100%); }
.cp2 { background: linear-gradient(160deg, #CEC890 0%, #6A5A50 60%, #2A2520 100%); }
.cp3 { background: linear-gradient(160deg, #B89080 0%, #D8D0A8 60%, #EDE8DC 100%); }
.cp4 { background: linear-gradient(160deg, #2A2520 0%, #906050 50%, #C4B880 100%); }

/* ─── PAGE HERO — used on inner pages ─── */
.page-hero {
  padding: 160px 48px 80px;
  background: var(--white);
  border-bottom: 1px solid rgba(26,26,26,0.06);
}

.page-hero-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
  display: block;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--slate);
  margin-bottom: 24px;
}

.page-hero-sub {
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--slate);
  opacity: 0.55;
  max-width: 480px;
}

/* ─── ARTICLE PAGE ─── */
.article-page { padding-top: 80px; }

.article-header {
  padding: 80px 48px 56px;
  max-width: 840px;
  margin: 0 auto;
}

.article-tag {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
  display: block;
}

.article-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--slate);
  margin-bottom: 28px;
}

.article-meta {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 32px;
  display: block;
}

.article-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--slate);
  opacity: 0.7;
  font-weight: 300;
}

.article-visual {
  width: 100%;
  max-width: 100%;
  height: 420px;
  display: block;
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 48px 96px;
}

.article-body p {
  font-size: 14px;
  line-height: 2.3;
  color: var(--slate);
  opacity: 0.75;
  margin-bottom: 28px;
}

.article-body p:first-child::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  float: left;
  margin: 6px 16px 0 0;
  color: var(--clay);
}

.article-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--slate);
  border-left: 2px solid var(--clay);
  padding: 16px 0 16px 40px;
  margin: 48px 0;
}

.article-quote cite {
  display: block;
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.45;
}

.article-issue-ref {
  display: inline-block;
  margin-top: 16px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  border: 1px solid rgba(168,112,96,0.35);
  padding: 8px 16px;
}

.article-back {
  display: inline-block;
  margin-top: 48px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.3s;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.article-back:hover { opacity: 1; }

/* ─── ARTICLES LIST ─── */
.articles-list-section {
  background: var(--white);
  padding: 80px 48px 120px;
}

.articles-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.article-list-card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(26,26,26,0.05);
  transition: border-color 0.3s;
}

.article-list-card:hover { border-color: rgba(168,112,96,0.35); }

.article-list-card.coming-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.article-list-visual {
  aspect-ratio: 3/2;
  display: block;
  width: 100%;
}

.article-list-content {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.article-list-tag {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
}

.article-list-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--slate);
}

.article-list-meta {
  font-size: 9px;
  letter-spacing: 0.15em;
  opacity: 0.4;
  margin-top: auto;
}

/* ─── JOURNAL PAGE ─── */
.journal-issues-section {
  background: var(--white);
  padding: 80px 48px 120px;
}

.journal-issues {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.journal-issue-full {
  display: flex;
  background: var(--cream);
  border: 1px solid rgba(26,26,26,0.06);
  transition: border-color 0.3s;
  overflow: hidden;
}

.journal-issue-full:hover { border-color: var(--clay); }

.journal-cover {
  background: var(--sand);
  width: 380px;
  flex-shrink: 0;
}

.journal-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.journal-cover-num {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  color: rgba(240,239,237,0.3);
  line-height: 1;
}

.journal-info {
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.journal-articles-preview {
  margin: 24px 0 40px;
}

.journal-articles-preview-title {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 16px;
}

.journal-articles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.journal-articles-list li {
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.6;
  padding-left: 20px;
  position: relative;
}

.journal-articles-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--clay);
  opacity: 0.7;
}

/* ─── ABOUT PAGE ─── */
.about-page-body {
  padding: 96px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about-page-text p {
  font-size: 13px;
  line-height: 2.2;
  opacity: 0.65;
  margin-bottom: 20px;
}

.about-page-visual {
  background: linear-gradient(160deg, var(--clay) 0%, var(--slate) 100%);
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.about-page-visual-text {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 220px;
  font-weight: 300;
  color: rgba(240,239,237,0.05);
  bottom: -20px;
  right: -20px;
  line-height: 1;
  user-select: none;
}

.about-values-section {
  background: var(--linen);
  padding: 96px 48px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 64px;
}

.value-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--clay);
  opacity: 0.25;
  display: block;
  margin-bottom: 16px;
}

.value-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--slate);
  margin-bottom: 12px;
}

.value-text {
  font-size: 11px;
  line-height: 2;
  color: var(--slate);
  opacity: 0.55;
}

/* ─── CONTACTS PAGE ─── */
.contacts-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  padding-top: 80px;
}

.contacts-left {
  padding: 96px 64px 96px 48px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contacts-right {
  background: var(--slate);
  padding: 96px 48px 96px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contacts-right .section-label { color: var(--stucco); margin-bottom: 48px; }
.contacts-right .page-hero-title { color: var(--linen); margin-bottom: 0; }

.contacts-bg-text {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 240px;
  font-weight: 300;
  color: rgba(240,239,237,0.03);
  bottom: -20px;
  right: -20px;
  line-height: 1;
  user-select: none;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.contact-link-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tg-icon {
  opacity: 0.7;
  margin-bottom: 4px;
}

.contact-link-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--linen);
  opacity: 0.4;
}

.contact-link-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--linen);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-link-value:hover { color: var(--stucco); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
}

.form-input, .form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26,26,26,0.18);
  padding: 12px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--slate);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.form-input:focus, .form-textarea:focus { border-color: var(--clay); }
.form-textarea { resize: none; height: 96px; }

/* ─── TABLET ─── */
@media (max-width: 1024px) {
  nav { padding: 20px 32px; }

  .hero-left { padding: 64px 40px; }

  section { padding: 96px 32px; }

  .articles-grid { grid-template-columns: 1fr 1fr; }
  .article-card.large { grid-column: 1 / -1; grid-row: auto; min-height: 480px; }

  .magazine-grid { grid-template-columns: 1fr; gap: 32px; }

  .people-grid { grid-template-columns: repeat(2, 1fr); }

  footer { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-column: 1 / -1; }
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile-menu { display: flex; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100svh;
    padding-top: 56px;
  }

  .hero-left {
    padding: 48px 20px 40px;
    min-height: 58svh;
    justify-content: flex-end;
  }
  .hero-sub { max-width: 100%; }
  .hero-right { min-height: 42svh; }
  .hero-img-placeholder { min-height: 42svh !important; }
  .hero-overlay-text { font-size: 72px; top: 20px; left: 20px; }
  .hero-img-placeholder::after { bottom: 20px; right: 20px; }

  /* Stats */
  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 36px 20px;
  }

  /* Sections */
  section { padding: 64px 20px; }
  .section-title { margin-bottom: 40px; }

  /* Articles */
  .articles-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .article-card.large { grid-column: auto; grid-row: auto; min-height: 360px; }
  .article-card.small { min-height: 220px; }
  .card-img-placeholder { min-height: inherit !important; }

  /* Magazine */
  .magazine-grid { grid-template-columns: 1fr; gap: 24px; }
  .mag-issue { padding: 28px 20px; gap: 20px; }

  /* People */
  .people-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
  }
  .people-section .section-title { margin-bottom: 0; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about-section { grid-template-columns: 1fr; }
  .about-text { padding: 64px 20px; }
  .about-body { max-width: 100%; }
  .about-visual { min-height: 240px; }

  /* Contact */
  .contact-section { padding: 72px 20px; }
  .contact-btns { flex-direction: column; align-items: stretch; }
  .btn-light, .btn-outline-light { padding: 18px 24px; text-align: center; }

  /* Footer */
  footer { grid-template-columns: 1fr; padding: 48px 20px 32px; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }

  /* Inner pages */
  .page-hero { padding: 120px 20px 56px; }
  .articles-list-section { padding: 56px 20px 80px; }
  .articles-list-grid { grid-template-columns: 1fr; gap: 16px; }
  .journal-issues-section { padding: 56px 20px 80px; }
  .journal-issue-full { flex-direction: column; }
  .journal-cover { width: 100%; }
  .journal-info { padding: 32px 24px; }
  .about-page-body { grid-template-columns: 1fr; gap: 0; padding: 64px 20px; }
  .about-page-visual { min-height: 200px; }
  .about-values-section { padding: 64px 20px; }
  .values-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .contacts-page { grid-template-columns: 1fr; }
  .contacts-left, .contacts-right { padding: 64px 20px; }
  .article-header { padding: 56px 20px 40px; }
  .article-body { padding: 48px 20px 72px; }
  .article-visual { height: 260px; }
  .article-quote { padding-left: 20px; font-size: 20px; }
}

/* ─── SMALL PHONES ─── */
@media (max-width: 480px) {
  .nav-logo-img { height: 34px; }
  .nav-cta { padding: 10px 16px; font-size: 9px; }

  .hero-title { font-size: clamp(44px, 12vw, 64px); }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }

  .stats-bar { padding: 28px 16px; }
  .stat-num { font-size: 28px; }

  section { padding: 52px 16px; }

  .mag-issue { grid-template-columns: 1fr; }
  .mag-cover { aspect-ratio: 4/3; max-height: 220px; }

  .about-visual { min-height: 180px; }

  .article-body p:first-child::first-letter { font-size: 48px; margin: 4px 12px 0 0; }
  .journal-cover-num { font-size: 48px; }
}

/* ─── ЖИЗНЬ ГОРОДА ─── */

.cl-hero {
  background: var(--cream);
  padding: 140px 64px 80px;
  border-bottom: 1px solid rgba(26,26,26,0.06);
}

.cl-hero-inner {
  max-width: 760px;
}

.cl-hero-inner .section-label {
  display: block;
  margin-bottom: 20px;
}

.cl-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--slate);
  line-height: 1.2;
  margin-bottom: 32px;
}

.cl-hero-text {
  font-size: 14px;
  line-height: 2.1;
  color: var(--slate);
  opacity: 0.65;
}

/* Список заметок */
.cl-list {
  background: var(--white);
  padding: 72px 64px 96px;
}

.cl-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.cl-card {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid rgba(26,26,26,0.06);
  cursor: pointer;
  transition: background 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  outline: none;
}

.cl-card:hover {
  background: var(--cream);
}

.cl-card-date {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  opacity: 0.7;
}

.cl-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--slate);
  line-height: 1.3;
}

.cl-card-preview {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--slate);
  opacity: 0.6;
  flex: 1;
}

.cl-card-read {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  opacity: 0;
  transition: opacity 0.18s;
  margin-top: 4px;
}

.cl-card:hover .cl-card-read { opacity: 0.7; }

/* Модальное окно — заметка */
.cl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.cl-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.cl-modal-note {
  background: #FDFAF5;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 52px 56px 48px;
  position: relative;
  box-shadow: 0 24px 80px rgba(26,26,26,0.18);
  transform: translateY(16px);
  transition: transform 0.22s ease;
  /* линованность — тонкие полосы как в блокноте */
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 31px,
    rgba(26,26,26,0.04) 31px,
    rgba(26,26,26,0.04) 32px
  );
  background-attachment: local;
}

.cl-modal-overlay.is-open .cl-modal-note {
  transform: translateY(0);
}

.cl-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 14px;
  color: var(--slate);
  opacity: 0.35;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: opacity 0.15s;
}

.cl-modal-close:hover { opacity: 0.7; }

.cl-modal-date {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  opacity: 0.7;
  margin-bottom: 16px;
}

.cl-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: var(--slate);
  line-height: 1.25;
  margin-bottom: 28px;
}

.cl-modal-img-wrap {
  margin-bottom: 24px;
}

.cl-modal-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.cl-modal-body p {
  font-size: 14px;
  line-height: 2.1;
  color: var(--slate);
  opacity: 0.75;
  margin-bottom: 4px;
}

.cl-modal-body br {
  display: block;
  content: '';
  margin-top: 12px;
}

@media (max-width: 1024px) {
  .cl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .cl-hero { padding: 100px 20px 56px; }
  .cl-list { padding: 48px 20px 72px; }
  .cl-grid { grid-template-columns: 1fr; }
  .cl-modal-note { padding: 40px 28px 36px; }
}

/* ─── СТРАНИЦА О ПРОЕКТЕ ─── */

/* Верх: мост + стих рядом */
.about-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 73px;
}

.about-top-bridge {
  background: var(--slate);
  overflow: hidden;
}

.about-top-bridge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-top-poem {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
}

/* Poem card — как в PDF */
.poem-card {
  max-width: 480px;
  width: 100%;
  text-align: center;
  padding: 52px 40px 48px;
}

.poem-tape {
  display: inline-block;
  background: rgba(200, 188, 116, 0.35);
  color: var(--slate);
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 22px 7px;
  white-space: nowrap;
  transform: rotate(-0.5deg);
  margin-bottom: 28px;
}

.poem-text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 2;
  color: var(--slate);
  opacity: 0.78;
  white-space: pre-line;
  margin: 0 0 28px;
  text-align: center;
}

.poem-author {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.4;
}

@media (max-width: 1024px) {
  .about-top { min-height: auto; }
  .about-top-poem { padding: 48px 32px; }
  .poem-card { padding: 40px 28px 36px; }
  .poem-text { font-size: 12px; }
}

@media (max-width: 768px) {
  .about-top {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }
  .about-top-bridge {
    aspect-ratio: 3/4;
    max-height: 70vh;
  }
  .about-top-poem {
    padding: 48px 20px;
  }
  .poem-card {
    max-width: 100%;
    padding: 32px 16px 28px;
  }
  .poem-text { font-size: 11.5px; }
}

/* Тело текста — журнальный разворот */
.about-body {
  background: var(--cream);
  padding: 100px 64px 120px;
}

.about-body-inner {
  max-width: 960px;
  margin: 0 auto;
}

.about-body-inner .section-label {
  margin-bottom: 20px;
  display: block;
}

.about-body-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--slate);
  margin-bottom: 56px;
}

.about-body-inner > p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 2.1;
  color: var(--slate);
  opacity: 0.72;
  margin-bottom: 28px;
}

/* Вопрос — «что значит светский» */
.about-question {
  margin: 56px 0;
  padding: 48px 56px;
  background: var(--white);
  border-left: 2px solid var(--clay);
}

.about-question-label {
  font-size: 10px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5 !important;
  margin-bottom: 24px !important;
  display: block;
}

.about-question p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--slate);
  opacity: 0.65;
  margin-bottom: 16px;
}

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--slate);
  margin: 24px 0 0 0;
}

/* Цели */
.about-goals {
  margin: 48px 0;
}

.about-goals-label {
  font-size: 15px;
  line-height: 2.2;
  color: var(--slate);
  opacity: 0.72;
  margin-bottom: 16px;
}

.about-goals-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-goals-list li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--slate);
  opacity: 0.7;
  padding-left: 24px;
  position: relative;
}

.about-goals-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--clay);
  opacity: 0.8;
}

/* Финальная фраза */
.about-closing-phrase {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-style: italic;
  color: var(--slate);
  opacity: 0.85;
  margin-top: 44px;
  margin-bottom: 0;
  line-height: 1.55;
}

/* Подпись */
.about-founder {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(26,26,26,0.06);
}

.about-founder-line {
  width: 40px;
  height: 1px;
  background: var(--clay);
  margin-bottom: 24px;
}

.about-founder-text {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.42;
  margin-bottom: 6px;
}

.about-founder-role {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.38;
  margin-bottom: 12px;
}

.about-founder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--slate);
}

@media (max-width: 768px) {
  .about-body { padding: 64px 20px 80px; }
  .about-body-inner { max-width: 100%; }
  .about-question { padding: 28px 24px; margin: 40px 0; }
  .about-body-title { margin-bottom: 40px; }
}

/* Адаптив манифеста */
@media (max-width: 768px) {
  .about-manifesto { padding: 64px 20px 80px; }
  .about-svetsky-block { padding: 32px 24px; margin: 40px 0; }
  .about-svetsky-quote { font-size: 22px; }
  .about-closing { margin-top: 36px; padding-top: 36px; }
  .about-founder { margin-top: 48px; }
}

/* ─── УБИРАЕМ ИНЛАЙН-СТИЛИ ─── */

/* Hero — перекрываем базовый section padding */
.hero { padding: 0; padding-top: 80px; }

/* Hero image — полная высота */
.hero-right .hero-img-placeholder { min-height: calc(100vh - 80px); }

/* Article card как ссылка */
.article-card { text-decoration: none; }

/* Кнопка по центру */
.btn-primary { text-align: center; }

/* Кнопка глиняного цвета */
.btn-clay { background: var(--clay) !important; }

/* People: заголовок без нижнего отступа */
.people-section .section-title { margin-bottom: 0; }

/* Article lead — отступ сверху */
.article-lead { margin-top: 32px; }

/* Журнал: лейбл «Скоро · PDF» */
.journal-coming-soon {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.35;
  margin-top: 12px;
}

/* Журнал: кнопка */
.journal-info .btn-primary { margin-bottom: 16px; }

/* About: заголовок */
.about-page-body .section-title { margin-bottom: 40px; }

/* Section label с верхним отступом */
.section-label-top { margin-top: 48px; }

/* ─── МОДАЛЬНАЯ ФОРМА ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.55);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--white);
  max-width: 480px;
  width: calc(100% - 40px);
  padding: 56px 52px 48px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s ease;
}
.modal-overlay.is-open .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--slate);
  opacity: 0.3;
  transition: opacity 0.2s;
  line-height: 1;
  font-weight: 300;
  padding: 0;
}
.modal-close:hover { opacity: 0.8; }
.modal-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 16px;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.2;
  margin-bottom: 36px;
}
.modal-form { display: flex; flex-direction: column; gap: 24px; }
.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.form-checkbox-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid rgba(26,26,26,0.22);
  margin-top: 2px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.form-checkbox-wrap input[type="checkbox"]:checked {
  background: var(--slate);
  border-color: var(--slate);
}
.form-checkbox-wrap input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: 1.5px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.form-checkbox-wrap span {
  font-size: 10px;
  line-height: 1.8;
  opacity: 0.5;
}
.modal-success {
  text-align: center;
  padding: 16px 0 8px;
}
.modal-success-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 20px;
}
.modal-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--slate);
  margin-bottom: 10px;
}
.modal-success-sub {
  font-size: 11px;
  opacity: 0.45;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .modal-box { padding: 40px 24px 36px; }
  .modal-title { font-size: 28px; }
}

/* ─── ПЕРЕХОДЫ МЕЖДУ СТРАНИЦАМИ ─── */
#main-content {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#main-content.page-exit {
  opacity: 0;
  transform: translateY(10px);
}

/* Активный пункт меню (управляется через JS) */
.nav-links a.active {
  opacity: 1;
  border-bottom: 1px solid var(--slate);
  padding-bottom: 1px;
}
