.section-border{border-bottom:1px solid var(--line)}
.rule{display:block;width:46px;height:3px;background:var(--accent);margin-bottom:18px}
.rule.small{width:32px;height:2px;margin:0 11px 0 0;display:inline-block;vertical-align:middle}
.eyebrow{font-size:11px;letter-spacing:.18em;color:var(--muted);font-weight:700;margin-bottom:11px}

.hero{background:var(--paper);padding:0}
.hero-grid{display:grid;grid-template-columns:43% 57%;min-height:510px;align-items:stretch;padding-right:0;position:relative}
.hero-copy{padding:86px 34px 60px 0;position:relative;z-index:3}
.hero h1,.section h2{margin:0}
.hero h1{font-size:66px;line-height:.95;letter-spacing:-1.8px}
.hero-subtitle{font-family:var(--font-editorial);font-size:27px;line-height:1.15;margin:16px 0 22px;color:#302a25;max-width:410px}
.hero-copy p{font-size:17px;line-height:1.6;color:#746b63;margin:0;max-width:440px}
.hero-image-wrap{height:510px;overflow:hidden;position:relative;background:#ebe5dc;margin-left:0;width:100%;z-index:1}
.hero-image-wrap img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hero-image-wrap.sketch-style img{filter:grayscale(.26) sepia(.10) saturate(.42) brightness(1.07) contrast(.95)}
.hero-image-wrap.sketch-style::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(180deg,rgba(255,250,241,.14),rgba(235,225,211,.12)),
    repeating-linear-gradient(-11deg,rgba(120,108,92,.030) 0,rgba(120,108,92,.030) 1px,transparent 1px,transparent 14px),
    repeating-linear-gradient(11deg,rgba(120,108,92,.020) 0,rgba(120,108,92,.020) 1px,transparent 1px,transparent 18px),
    radial-gradient(circle at 12% 18%,rgba(255,255,255,.24),transparent 32%);
  mix-blend-mode:multiply;
  opacity:.52;
  pointer-events:none;
}
.hero-image-wrap.sketch-style::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 32%,rgba(118,104,86,.06) 100%);
  mix-blend-mode:screen;
  opacity:.30;
  pointer-events:none;
}
.hero-fade{display:none}

.section{background:var(--paper);padding:62px 0}
.section h2{font-size:40px;line-height:1.08;letter-spacing:-.45px;white-space:nowrap}
.section-copy{margin-top:20px;max-width:1020px}
.body-copy{font-size:16px;line-height:1.62;color:var(--muted)}
.body-copy p{margin:0 0 16px}
.body-copy p:last-child{margin-bottom:0}
.justify{text-align:justify;text-justify:inter-word}
figcaption{font-size:12px;line-height:1.4;color:#7a7168;margin-top:8px}

.gallery-top-gap{margin-top:34px}
.gallery{display:grid;gap:18px;align-items:start}
.gallery figure{margin:0}
.gallery img{width:100%;display:block;border:1px solid #ded8cf;background:#eee8df}
.two-up{grid-template-columns:1fr 1fr}
.three-up{grid-template-columns:repeat(3,minmax(0,1fr))}
.history-section .section-copy,
.vorontsov-section .section-copy,
.sanatorium-section .section-copy,
.future-section .section-copy{max-width:none;width:100%;text-align:justify;text-justify:inter-word}
.history-gallery img,
.vorontsov-gallery img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;filter:none}
.history-gallery figure:nth-child(1) img{object-fit:contain;object-position:center top;background:#f4efe6}
.history-gallery figure:nth-child(2) img{object-position:center}
.history-gallery figure:nth-child(3) img{object-position:center top}
.vorontsov-section{background:#f8f4ec}
.vorontsov-gallery figure:nth-child(1) img{object-fit:cover;object-position:center;background:#f4efe6}
.vorontsov-gallery figure:nth-child(2) img{object-position:center}
.vorontsov-gallery figure:nth-child(3) img{object-position:center}
.soviet-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;filter:none}
.soviet-gallery figure:nth-child(1) img,
.soviet-gallery figure:nth-child(2) img,
.soviet-gallery figure:nth-child(3) img{object-position:center}

.year-band{margin-top:30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;display:grid;grid-template-columns:170px 1fr;gap:34px;align-items:center}
.year{font-family:var(--font-editorial);font-size:58px;color:var(--terra);line-height:1}
.year-copy{font-family:var(--font-editorial);font-size:23px;line-height:1.25;color:#3d352f}

.future-section{background:#f8f4ec}
.future-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center}
.future-principle{width:100%;max-width:none;margin-top:52px;padding-top:32px;border-top:1px solid var(--line);font-family:var(--font-editorial);font-size:29px;line-height:1.38;color:#3d352f;text-align:justify;text-justify:inter-word}

@media(max-width:950px){
  .hero-grid{grid-template-columns:1fr;min-height:auto}
  .hero-copy{padding:58px 0 36px}
  .hero-image-wrap{height:430px}
  .section h2{white-space:normal}
  .gallery.three-up{grid-template-columns:1fr 1fr}
  .gallery.three-up figure:first-child{grid-column:1/3}
  .gallery.two-up{grid-template-columns:1fr 1fr}
  .history-gallery img,.vorontsov-gallery img,.soviet-gallery img{aspect-ratio:4/3}
  .future-gallery{grid-template-columns:1fr 1fr}
  .future-gallery figure:first-child{grid-column:1/3}
}

@media(max-width:680px){
  .justify{text-align:left;text-justify:auto}
  .hero h1{font-size:48px}
  .hero-subtitle{font-size:23px}
  .hero-image-wrap{height:320px}
  .section{padding:44px 0}
  .section h2{font-size:34px}
  .gallery,.gallery.two-up,.gallery.three-up,.future-gallery{display:block}
  .gallery figure,.future-gallery figure{margin:0 0 20px}
  .history-gallery img,.vorontsov-gallery img,.soviet-gallery img,.future-gallery img{aspect-ratio:auto;height:auto}
  .year-band{grid-template-columns:1fr;gap:10px}
  .year{font-size:48px}
  .year-copy{font-size:21px}
  .future-principle{font-size:24px;margin-top:40px;padding-top:26px;text-align:left;text-justify:auto}
  .history-section .section-copy,
  .vorontsov-section .section-copy,
  .sanatorium-section .section-copy,
  .future-section .section-copy{text-align:left;text-justify:auto}
}


/* v4.2 — unified heading typography */
.hero h1{
  font-family:var(--font-heading);
  font-size:var(--type-h1-size);
  line-height:var(--type-h1-line);
  letter-spacing:var(--type-h1-track);
}
.hero-subtitle{
  font-family:var(--font-heading);
  font-size:var(--type-subtitle-size);
  line-height:var(--type-subtitle-line);
  letter-spacing:0;
}
.section h2{
  font-family:var(--font-heading);
  font-size:var(--type-h2-size);
  line-height:var(--type-h2-line);
  letter-spacing:var(--type-h2-track);
}
@media(max-width:680px){
  .hero h1{font-size:46px}
  .hero-subtitle{font-size:23px}
  .section h2{font-size:34px}
}

@media(min-width:681px) and (max-width:1180px){
  .hero h1{font-size:52px}
  .hero-subtitle{font-size:25px}
}
