:root {
  --ink: #3b1710;
  --brown: #702a16;
  --brown-2: #91401f;
  --rust: #bb4c20;
  --orange: #ed6d22;
  --peach: #f2ad7d;
  --peach-2: #ffd2b6;
  --cream: #fff6ed;
  --paper: rgba(255, 247, 238, .88);
  --yellow: #ffd23f;
  --pink: #ff7593;
  --line: rgba(112, 42, 22, .16);
  --shadow: 0 24px 60px rgba(93, 36, 15, .14);
  --shadow-soft: 0 14px 34px rgba(93, 36, 15, .10);
  --radius-xl: 38px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,246,237,.96), rgba(255,225,202,.94)),
    url("assets/paw-pattern.svg");
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 195, 144, .48), transparent 24rem),
    radial-gradient(circle at 92% 30%, rgba(235, 104, 44, .16), transparent 27rem),
    radial-gradient(circle at 45% 85%, rgba(255, 210, 63, .13), transparent 30rem);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 90px 0; }
.section.compact { padding: 58px 0; }
.section-title { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 4rem); line-height: .98; letter-spacing: -.045em; }
.section-lead { max-width: 760px; margin: 0 0 34px; font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(59, 23, 16, .78); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brown-2);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 99px; background: var(--orange); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(112,42,22,.1);
  background: rgba(255, 246, 237, .82);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; }
.brand img { width: 48px; height: 48px; border-radius: 15px; object-fit: cover; box-shadow: var(--shadow-soft); }
.brand span { font-size: 1.08rem; letter-spacing: -.02em; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a {
  padding: 11px 13px;
  border-radius: 14px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 800;
  color: rgba(59,23,16,.76);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(237,109,34,.12); color: var(--brown); }
.menu-toggle { display: none; border: 0; border-radius: 14px; background: rgba(237,109,34,.12); color: var(--brown); width: 46px; height: 46px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 3px; }

.hero { padding: 70px 0 72px; overflow: hidden; }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3.25rem, 7vw, 6.7rem); line-height: .88; letter-spacing: -.075em; }
.hero h1 em { display: block; color: var(--rust); font-style: normal; }
.hero-copy { max-width: 670px; margin: 28px 0 0; font-size: clamp(1.05rem, 2vw, 1.26rem); color: rgba(59,23,16,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: var(--cream); box-shadow: 0 14px 26px rgba(59,23,16,.2); }
.button.secondary { background: rgba(255,255,255,.62); border: 1px solid var(--line); color: var(--brown); }
.button.orange { background: var(--orange); color: white; box-shadow: 0 14px 25px rgba(187,76,32,.22); }
.hero-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-art::before {
  content: "";
  position: absolute;
  width: min(520px, 90%);
  aspect-ratio: 1;
  border-radius: 46% 54% 62% 38% / 47% 36% 64% 53%;
  background: linear-gradient(145deg, rgba(255,210,63,.76), rgba(237,109,34,.70));
  transform: rotate(-8deg);
  box-shadow: var(--shadow);
}
.hero-art .mascots { position: relative; z-index: 2; width: 106%; max-width: 630px; filter: drop-shadow(0 25px 24px rgba(83,32,17,.18)); }
.hero-sticker {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 55px;
  max-width: 235px;
  padding: 16px 18px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--cream);
  font-weight: 900;
  transform: rotate(4deg);
  box-shadow: 8px 9px 0 var(--ink);
}

/* Главная: более компактная и аккуратная композиция первого экрана */
.hero--home { padding: 58px 0 64px; }
.hero--home .hero-grid {
  min-height: 570px;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: clamp(28px, 4.5vw, 64px);
}
.hero--home .hero-content { min-width: 0; }
.hero--home h1 {
  max-width: 690px;
  font-size: clamp(3.15rem, 4.65vw, 5.15rem);
  line-height: .93;
  letter-spacing: -.065em;
}
.hero--home h1 span,
.hero--home h1 em { display: block; }
.hero--home .hero-copy { max-width: 650px; margin-top: 24px; }
.hero--home .hero-art {
  min-height: 500px;
  padding: 34px 14px 42px;
  place-items: center;
}
.hero--home .hero-art::before {
  width: min(410px, 84%);
  box-shadow: 0 20px 48px rgba(93, 36, 15, .12);
}
.hero--home .hero-art .mascots {
  width: min(92%, 480px) !important;
  max-width: 480px !important;
  height: auto !important;
  object-fit: contain;
}
.hero--home .hero-sticker {
  right: 18px;
  bottom: 52px;
  max-width: 205px;
  padding: 13px 15px;
  font-size: .9rem;
  box-shadow: 7px 8px 0 var(--ink);
}

.announcement {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 32px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(112,42,22,.14);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(255,210,182,.88));
  box-shadow: var(--shadow);
}
.announcement::after { content: ""; position: absolute; inset: 0; background: url("assets/paw-pattern.svg"); opacity: .65; pointer-events: none; }
.announcement > * { position: relative; z-index: 1; }
.announcement h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .95; letter-spacing: -.055em; }
.announcement p { max-width: 660px; font-size: 1.08rem; color: rgba(59,23,16,.76); }
.announcement-art { align-self: end; display: flex; justify-content: flex-end; }
.announcement-art img { max-height: 390px; object-fit: contain; filter: drop-shadow(0 22px 20px rgba(83,32,17,.18)); }
.notice-label { display: inline-flex; margin-bottom: 18px; padding: 8px 12px; border-radius: 999px; background: var(--yellow); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.58);
  box-shadow: var(--shadow-soft);
}
.feature-card::after { content: attr(data-number); position: absolute; right: 18px; bottom: -20px; color: rgba(187,76,32,.10); font-size: 8rem; line-height: 1; font-weight: 900; }
.feature-card h3 { margin: 17px 0 9px; font-size: 1.45rem; }
.feature-card p { margin: 0; color: rgba(59,23,16,.68); }
.icon-badge { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 17px; background: var(--peach-2); font-size: 1.55rem; }

.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.link-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.link-card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow); }
.link-card h3 { position: relative; z-index: 2; margin: 0; font-size: 2.2rem; line-height: 1; letter-spacing: -.04em; }
.link-card p { position: relative; z-index: 2; max-width: 270px; color: rgba(59,23,16,.7); }
.link-card img { position: absolute; right: -8%; bottom: -8%; width: 65%; max-height: 235px; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(83,32,17,.14)); }
.link-card .arrow { position: absolute; left: 30px; bottom: 28px; z-index: 3; font-weight: 900; }
.link-card.orange-bg { background: linear-gradient(150deg, #ffcfaa, #f09960); }
.link-card.yellow-bg { background: linear-gradient(150deg, #fff2ae, #ffd963); }
.link-card.rose-bg { background: linear-gradient(150deg, #ffd1d6, #ffa0ad); }

.story-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 7vw, 90px); align-items: center; }
.diploma-frame { position: relative; max-width: 460px; margin-inline: auto; padding: 14px; border-radius: 34px; background: var(--ink); box-shadow: var(--shadow); transform: rotate(-2deg); }
.diploma-frame img { border-radius: 23px; }
.story-copy h2 { margin: 0 0 22px; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: .96; letter-spacing: -.055em; }
.story-copy p { font-size: 1.08rem; color: rgba(59,23,16,.76); }
.quote-box { margin-top: 26px; padding: 24px; border-left: 7px solid var(--orange); border-radius: 0 20px 20px 0; background: rgba(255,255,255,.55); font-size: 1.1rem; font-weight: 800; }

.page-hero { padding: 62px 0 32px; }
.page-hero-card {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  overflow: hidden;
  padding: clamp(34px, 5vw, 68px);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #ffd6b8, #f4a168);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.page-hero-card::after { content: ""; position: absolute; inset: 0; background: url("assets/paw-pattern.svg"); opacity: .55; z-index: 0; }
.page-hero-card > * { position: relative; z-index: 2; }
.page-hero-copy { min-width: 0; }
.page-hero h1 { margin: 0; max-width: 820px; font-size: clamp(3.15rem, 6.2vw, 5.8rem); line-height: .9; letter-spacing: -.065em; text-wrap: balance; }
.page-hero p { max-width: 680px; margin: 24px 0 0; font-size: 1.15rem; color: rgba(59,23,16,.78); }
.page-hero-visual { min-width: 0; align-self: stretch; display: grid; place-items: end center; }
.page-hero-mascot {
  position: static !important;
  z-index: 2 !important;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 20px rgba(83,32,17,.16));
}
.page-hero-card--issues .page-hero-mascot { max-height: 350px; }
.page-hero-card--reports .page-hero-mascot { max-height: 350px; }
.page-hero-card--comics .page-hero-mascot { max-height: 325px; }
.page-hero-card--team .page-hero-mascot { max-height: 315px; }

.year-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.year-tab { min-width: 100px; min-height: 48px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.58); color: var(--brown); font-weight: 900; cursor: pointer; }
.year-tab.is-active { background: var(--ink); color: var(--cream); }
.year-panel[hidden] { display: none; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.archive-card { display: flex; min-height: 360px; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.66); box-shadow: var(--shadow-soft); }
.archive-cover { min-height: 190px; display: grid; place-items: center; padding: 20px; background: linear-gradient(145deg, #ffd6b8, #f3a16d); position: relative; overflow: hidden; }
.archive-cover::after { content: ""; position: absolute; inset: 0; background: url("assets/paw-pattern.svg"); opacity: .72; }
.archive-cover img { position: relative; z-index: 2; width: 65%; max-height: 180px; object-fit: contain; }
.archive-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.archive-body h3 { margin: 0 0 9px; font-size: 1.55rem; line-height: 1.1; }
.archive-body p { margin: 0 0 22px; color: rgba(59,23,16,.68); }
.archive-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; font-size: .84rem; font-weight: 900; color: var(--brown-2); }
.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(237,109,34,.13); }
.empty-state { position: relative; overflow: hidden; min-height: 320px; display: grid; grid-template-columns: 1fr .55fr; align-items: center; gap: 28px; padding: clamp(28px, 6vw, 58px); border: 2px dashed rgba(112,42,22,.25); border-radius: var(--radius-xl); background: rgba(255,255,255,.46); }
.empty-state h3 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
.empty-state p { max-width: 600px; color: rgba(59,23,16,.7); }
.empty-state img { max-height: 270px; margin-inline: auto; object-fit: contain; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.team-card { display: grid; grid-template-columns: 86px 1fr; gap: 20px; align-items: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.64); box-shadow: var(--shadow-soft); }
.team-avatar { display: grid; width: 86px; height: 86px; place-items: center; overflow: hidden; border-radius: 26px; background: linear-gradient(145deg, #ffd2b6, #f28d50); font-size: 2rem; font-weight: 900; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin: 0 0 2px; font-size: 1.42rem; }
.team-role { margin: 0 0 10px; color: var(--rust); font-weight: 900; }
.team-card p { margin: 0 0 14px; color: rgba(59,23,16,.69); }
.handle { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 900; color: var(--brown-2); }
.handle:hover { text-decoration: underline; }
.contact-band { display: grid; grid-template-columns: 1fr .55fr; align-items: center; gap: 34px; padding: clamp(32px, 6vw, 62px); border-radius: var(--radius-xl); background: var(--ink); color: var(--cream); box-shadow: var(--shadow); }
.contact-band h2 { margin: 0 0 14px; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: .94; letter-spacing: -.055em; }
.contact-band p { color: rgba(255,246,237,.74); }
.contact-band img { max-height: 310px; margin-inline: auto; object-fit: contain; filter: drop-shadow(0 18px 17px rgba(0,0,0,.22)); }
.contact-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-pill { display: inline-flex; min-height: 48px; align-items: center; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); text-decoration: none; font-weight: 900; }
.contact-pill:hover { background: rgba(255,255,255,.17); }

.site-footer { padding: 38px 0 46px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 62px; height: 62px; border-radius: 18px; }
.footer-brand strong { display: block; font-size: 1.1rem; }
.footer-brand span { color: rgba(59,23,16,.62); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { text-decoration: none; font-weight: 800; color: rgba(59,23,16,.7); }
.footer-links a:hover { color: var(--brown); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .main-nav { position: fixed; left: 20px; right: 20px; top: 88px; display: none; flex-direction: column; align-items: stretch; padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,246,237,.97); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-art { min-height: 520px; }
  .hero-art .mascots { width: min(680px, 102%); }
  .hero--home .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero--home .hero-art { min-height: 455px; padding-top: 18px; }
  .hero--home .hero-art .mascots { width: min(86%, 570px) !important; max-width: 570px !important; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .link-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 310px; }
  .link-card img { width: 42%; }
  .announcement, .story-grid, .contact-band { grid-template-columns: 1fr; }
  .announcement-art { justify-content: center; }
  .announcement-art img { max-height: 320px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-card { grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); }
  .page-hero-mascot { max-height: 310px; }
}

@media (max-width: 700px) {
  .container, .narrow { width: min(100% - 24px, var(--max)); }
  .section { padding: 65px 0; }
  .header-inner { min-height: 70px; }
  .brand span { display: none; }
  .brand img { width: 44px; height: 44px; }
  .main-nav { top: 79px; left: 12px; right: 12px; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-art { min-height: 390px; }
  .hero-sticker { right: 8px; bottom: 16px; max-width: 190px; font-size: .85rem; }
  .hero--home { padding-top: 38px; }
  .hero--home h1 { font-size: clamp(3rem, 14.5vw, 4.6rem); line-height: .94; }
  .hero--home .hero-art { min-height: 330px; padding: 10px 0 34px; }
  .hero--home .hero-art::before { width: min(330px, 82%); }
  .hero--home .hero-art .mascots { width: min(94%, 440px) !important; max-width: 440px !important; }
  .hero--home .hero-sticker { right: 10px; bottom: 22px; max-width: 175px; padding: 11px 13px; font-size: .78rem; }
  .feature-grid, .archive-grid, .team-grid { grid-template-columns: 1fr; }
  .link-card img { width: 55%; }
  .page-hero-card {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 26px 0;
  }
  .page-hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .page-hero p { margin-top: 18px; font-size: 1rem; }
  .page-hero-visual { min-height: 210px; place-items: end center; }
  .page-hero-mascot,
  .page-hero-card--issues .page-hero-mascot,
  .page-hero-card--reports .page-hero-mascot,
  .page-hero-card--comics .page-hero-mascot,
  .page-hero-card--team .page-hero-mascot { max-height: 225px; max-width: 88%; }
  .empty-state { grid-template-columns: 1fr; text-align: left; }
  .empty-state img { max-height: 220px; }
  .team-card { grid-template-columns: 70px 1fr; }
  .team-avatar { width: 70px; height: 70px; border-radius: 21px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Комикс: вводный блок «Душные будни» ===== */
.comic-about-section {
  padding-top: 54px;
}

.comic-about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  overflow: hidden;
  padding: clamp(26px, 4.2vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,225,204,.88));
  box-shadow: var(--shadow);
  isolation: isolate;
}

.comic-about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/paw-pattern.svg");
  opacity: .36;
}

.comic-about::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -170px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,63,.28), rgba(237,109,34,.08) 52%, transparent 70%);
}

.comic-about-cover {
  min-width: 0;
}

.comic-cover-frame {
  width: min(100%, 430px);
  margin-inline: auto;
  padding: 12px;
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 0 24px 48px rgba(83,32,17,.22);
  transform: rotate(-1.2deg);
}

.comic-cover-frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #f6ece3;
}

.comic-about-copy {
  min-width: 0;
}

.comic-about-title {
  margin: 0 0 20px;
  font-size: clamp(2.7rem, 5.4vw, 5.1rem);
  line-height: .93;
  letter-spacing: -.055em;
}

.comic-about-lead {
  max-width: 700px;
  margin: 0 0 30px;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: rgba(59,23,16,.76);
}

.comic-credits-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
}

.comic-credit-card {
  padding: 22px;
  border: 1px solid rgba(112,42,22,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 12px 24px rgba(93,36,15,.07);
}

.comic-credit-label {
  display: block;
  margin-bottom: 14px;
  color: var(--rust);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.comic-credit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comic-credit-list li {
  position: relative;
  padding-left: 18px;
  font-weight: 800;
}

.comic-credit-list li + li {
  margin-top: 8px;
}

.comic-credit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}

.comic-authors {
  margin: 0;
}

.comic-authors > div + div {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(112,42,22,.10);
}

.comic-authors dt {
  margin: 0 0 2px;
  color: rgba(59,23,16,.62);
  font-size: .84rem;
  font-weight: 800;
}

.comic-authors dd {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--brown);
}

.comic-about-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 18px;
  padding: 15px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 0 15px 15px 0;
  background: rgba(255,255,255,.52);
  color: rgba(59,23,16,.70);
}

.comic-about-note strong {
  color: var(--ink);
}

@media (max-width: 900px) {
  .comic-about {
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
    gap: 30px;
  }

  .comic-credits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .comic-about-section {
    padding-top: 34px;
  }

  .comic-about {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 30px;
  }

  .comic-cover-frame {
    width: min(100%, 390px);
    transform: none;
  }

  .comic-about-title {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .comic-about-note {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ===== Комикс: карточки выпусков ===== */
.comic-archive-section {
  padding-top: 18px;
}

.comic-archive-section .section-heading {
  margin-bottom: 24px;
}

.comic-archive-section .section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  line-height: .96;
  letter-spacing: -.045em;
}

.comic-archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comic-issue-card {
  min-height: 0;
}

.comic-issue-cover {
  min-height: 0;
  aspect-ratio: 3 / 4;
  padding: 0;
  background: #d8dde0;
}

.comic-issue-cover::after {
  display: none;
}

.comic-issue-cover img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.comic-issue-card .archive-body {
  min-height: 190px;
}

.comic-issue-card .archive-body p {
  font-size: 1.03rem;
  font-weight: 700;
  color: rgba(59,23,16,.72);
}

@media (max-width: 900px) {
  .comic-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .comic-archive-grid {
    grid-template-columns: 1fr;
  }
}
