/* V5.9.14 refines first-screen proportions and keeps the CTA in normal flow. */
:root { --home-header-height: 124px; }
.header, .home-header-ready .header { height: var(--home-header-height); }
.header .brand { width: 140px; height: 100%; aspect-ratio: auto; overflow: visible; }
.header .brand-emblem { width: 140px; height: 140px; top: 50%; left: 0; transform: translateY(-50%); }
html[data-page="home"] .shell.hero {
  display: block; max-width: 1120px; padding-block: 14px 22px; min-height: 0;
}
html[data-page="home"] .hero .hero-copy { width: 100%; padding: 0; }
html[data-page="home"] .hero .eyebrow { margin: 0 0 14px; line-height: 1.6; }
html[data-page="home"] .hero .story-panel { width: 100%; margin: 0; }
.story-slide { min-height: 320px; padding: 24px 40px 78px; justify-content: center; }
.hero .story-slide h1 { font-size: clamp(42px, 4.8vw, 60px); margin: 0 0 12px; line-height: 1.03; }
.hero .story-slide .hero-sub { font-size: 18px; margin: 0 0 8px; max-width: none; color: #e8eeee; }
.hero .story-slide .hero-description { font-size: 15px; line-height: 1.55; max-width: 58ch; }
.story-slide h2 { max-width: 20ch; }
.story-cta { position: absolute; left: 40px; bottom: 62px; z-index: 2; }
.story-cta .button { min-height: 46px; background: #9ccbc3; color: #102126; }
.story-toolbar { position: relative; padding: 6px 40px 12px; min-height: 56px; }
.story-progress { align-items: center; gap: 4px; }
.story-progress button { display: grid; place-items: center; width: 32px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.story-progress button::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #7b9692; }
.story-progress button.active::after { background: #eed2a4; }
.story-progress button:focus-visible, .story-cta a:focus-visible { outline: 2px solid #eed2a4; outline-offset: 2px; }
@media (min-width: 731px) and (max-width: 950px) {
 :root { --home-header-height: 112px; }
 .header .brand { width: 122px; height: 100%; }
 .header .brand-emblem { width: 122px; height: 122px; top: 50%; }
}
@media (max-width: 730px) {
 :root { --home-header-height: 104px; }
 .header .brand { width: 110px; height: 100%; aspect-ratio: auto; }
 .header .brand-emblem { width: 110px; height: 110px; top: 50%; left: 0; }
 .header .nav-links { top: calc(var(--home-header-height) - 1px); }
 html[data-page="home"] .shell.hero { padding-block: 12px 18px; }
 .story-slide { min-height: 300px; padding: 20px 22px 78px; }
 .hero .story-slide h1 { font-size: clamp(34px, 8.2vw, 48px); }
 .hero .story-slide .hero-sub { font-size: 15px; }
 .hero .story-slide .hero-description { font-size: 13px; line-height: 1.5; }
 .story-cta { left: 22px; bottom: 64px; }
 .story-toolbar { padding: 6px 18px 12px; }
}

.hero .story-slide .story-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; color: #d6bd91; font-size: 13px; margin-top: 4px; }

.city-strip .shell { justify-content: center; }
.city-strip .city-scene { flex: 0 1 auto; width: min(62%, 700px); }

/* Shared content row keeps every slide stable; CTA and controls cannot overlap copy. */
html[data-page="home"] .story-panel { grid-template-rows: auto auto auto; }
html[data-page="home"] .story-slide {
  grid-area: 1 / 1; min-height: 0; padding: 24px 40px 0;
}
html[data-page="home"] .hero .story-slide h1 { font-size: clamp(42px, 4.5vw, 56px); }
html[data-page="home"] .hero .story-slide .hero-description { max-width: 66ch; }
html[data-page="home"] .story-cta {
  grid-area: 2 / 1; position: static; padding: 18px 40px 0;
}
html[data-page="home"] .story-toolbar { grid-area: 3 / 1; }
@media (max-width: 730px) {
  html[data-page="home"] .story-slide { padding: 20px 22px 0; }
  html[data-page="home"] .hero .story-slide h1 { font-size: clamp(32px, 8.2vw, 44px); }
  html[data-page="home"] .story-cta { padding: 16px 22px 0; }
}
