body.site-shell:not(:has(.home-shell)) #main-content h1 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
body.site-shell:not(:has(.home-shell)) #main-content :is(.prototype-page__hero:not(.prototype-page__hero--illustrated),
.page-hero:not(.page-hero--image), .inner-hero--charter, .inner-hero--faq) {
  min-height: 0;
  padding-block: 20px;
  background: transparent;
  display: block;
}
body.site-shell:not(:has(.home-shell)) #main-content :is(.prototype-page__hero:not(.prototype-page__hero--illustrated),
.page-hero:not(.page-hero--image), .inner-hero--charter, .inner-hero--faq)::before, body.site-shell:not(:has(.home-shell)) #main-content :is(.prototype-page__hero:not(.prototype-page__hero--illustrated),
.page-hero:not(.page-hero--image), .inner-hero--charter, .inner-hero--faq)::after {
  display: none;
}
body.site-shell:not(:has(.home-shell)) #main-content .page-hero:not(.page-hero--image) .page-hero__inner {
  display: block;
}
body.site-shell:not(:has(.home-shell)) #main-content .page-hero:not(.page-hero--image) .page-hero__aside,
body.site-shell:not(:has(.home-shell)) #main-content :is(.inner-hero--charter, .inner-hero--faq) .inner-hero__art {
  display: none;
}
body.site-shell:not(:has(.home-shell)) #main-content .prototype-page__hero:not(.prototype-page__hero--illustrated) :is(h1, p),
body.site-shell:not(:has(.home-shell)) #main-content .page-hero:not(.page-hero--image) :is(h1, p) {
  max-width: 900px;
}
body.site-shell:not(:has(.home-shell)) #main-content .prototype-page__content > .prototype-grid {
  flex: 0 0 auto;
}
body.site-shell:not(:has(.home-shell)) #main-content :is(.prototype-page__layout, .services-shell, .leadership-shell, .history-shell,
.service-detail-shell, .contacts-page-shell) {
  align-items: start;
}
body.site-shell:not(:has(.home-shell)) #main-content :is(.prototype-page__layout, .services-shell, .leadership-shell, .history-shell,
.service-detail-shell, .contacts-page-shell) > * {
  align-self: start;
}
body.site-shell:not(:has(.home-shell)) #main-content :is(.leadership-main, .history-main, .services-main) {
  align-content: start;
}
body.site-shell:not(:has(.home-shell)) #main-content .prototype-grid > .prototype-card:only-child {
  grid-column: 1/-1;
}
body.site-shell:not(:has(.home-shell)) #main-content .prototype-grid :is(h2, h3) {
  font-size: 22px;
  line-height: 1.35;
  margin-top: 0;
}
body.site-shell:not(:has(.home-shell)) #main-content .editorial-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  height: auto;
}
body.site-shell:not(:has(.home-shell)) #main-content .prototype-page__aside .button {
  white-space: normal;
  text-align: left;
}
body.site-shell:not(:has(.home-shell)) #main-content .prototype-list > li {
  min-width: 0;
  flex-wrap: wrap;
}
body.site-shell:not(:has(.home-shell)) #main-content .prototype-list > li > span {
  flex: 1 1 200px;
  min-width: 0;
}
body.site-shell:not(:has(.home-shell)) #main-content .editorial-shell {
  display: grid;
  gap: var(--page-gap);
  margin-bottom: var(--page-gap);
}
body.site-shell:not(:has(.home-shell)) #main-content .editorial-shell > .content-panel {
  padding: var(--page-inset);
}
body.site-shell:not(:has(.home-shell)) #main-content .editorial-shell h2 {
  margin-top: 0;
}
body.site-shell:not(:has(.home-shell)) #main-content .editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
body.site-shell:not(:has(.home-shell)) #main-content .editorial-note {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
}
body.site-shell:not(:has(.home-shell)) #main-content .editorial-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
body.site-shell:not(:has(.home-shell)) #main-content .editorial-gallery figure {
  margin: 0;
  min-width: 0;
}
body.site-shell:not(:has(.home-shell)) #main-content .editorial-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
body.site-shell:not(:has(.home-shell)) #main-content .editorial-gallery figcaption {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.5;
}
body.site-shell:not(:has(.home-shell)) #main-content .notice h2 {
  font-size: 24px;
}
body.site-shell:not(:has(.home-shell)) #main-content .inner-hero--charter .inner-hero__lead {
  font-size: 20px;
}
@media (max-width: 767px) {
  body.site-shell:not(:has(.home-shell)) #main-content .editorial-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.site-shell:not(:has(.home-shell)) #main-content .editorial-actions {
    flex-direction: column;
  }
}

.home-shell .home-preview-note {
  font-size: 14px;
  line-height: 1.5;
  margin: 14px 0 0;
  max-width: 500px;
}
