/* İlk ekran — ana sayfa açıldığında hero'nun altında "Hikâyemiz" başlığı da
   okunur. Masaüstü/yatay tablette (>=1025px) hero yüksekliği pencereden türetilir:
   pencere − menü − hikâye başlığına ayrılan pay. Sahne panelleri yüzdeyle konumlanır,
   böylece hero kısalınca kompozisyon orantılı küçülür. Telefon/dikey tablet düzeni aynıdır. */
@media (min-width: 1025px) {
  :root {
    --story-peek: 252px;
    --hero-stage-fit: calc(100vh - var(--header-overlay-height) - var(--story-peek));
    --hero-stage-height: clamp(380px, var(--hero-stage-fit), 570px);
  }
  @supports (height: 100svh) {
    :root { --hero-stage-fit: calc(100svh - var(--header-overlay-height) - var(--story-peek)); }
  }

  /* Sahne panelleri: önceki px konumlarının sahne yüksekliğine oranı */
  .scene-left, .scene-right { top: 11.7%; height: 56.5%; }
  .scene-detail-left, .scene-detail-right { top: 55.5%; height: 28.4%; }

  /* Kısa pencerede başlık sahneye sığsın */
  .reference-hero-copy h1, .reference-hero-copy h2 { font-size: clamp(40px, min(4.3vw, 8.2vh), 72px); }

  /* Hikâye başlığı hero'ya yaklaşır */
  main > .story-section { padding-top: clamp(48px, 4.4vw, 64px); }
  main > .story-section #story-title { font-size: clamp(38px, 3.4vw, 56px); }
  .story-eyebrow { margin-bottom: 20px; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  :root { --hero-stage-height: clamp(380px, var(--hero-stage-fit), 530px); }
  .reference-hero-copy h1, .reference-hero-copy h2 { font-size: clamp(38px, min(4.4vw, 8.2vh), 72px); }
}
@media (min-width: 1700px) {
  :root { --hero-stage-height: clamp(380px, var(--hero-stage-fit), 650px); }
}

/* Kısa dizüstü pencereleri (ör. 1366×657): hikâye başlığı payı daralır */
@media (min-width: 1025px) and (max-height: 700px) {
  :root { --story-peek: 214px; }
  main > .story-section { padding-top: 36px; }
  main > .story-section #story-title { font-size: 36px; }
  .story-eyebrow { margin-bottom: 14px; }
}

/* Kısa sahnede hero metni slayt noktalarına değmesin */
@media (min-width: 1025px) and (max-height: 820px) {
  .reference-hero-copy { transform: translateY(calc(-50% - 22px)); }
  .reference-hero-copy p { margin-top: 16px; }
  .reference-hero-actions { margin-top: 20px; }
}
