/* Shared photographic composition for all six localized homes. */
.home-hero {
  position: relative;
  isolation: isolate;
  padding: 0;
  background: var(--paper);
}

.home-hero-photo { position: absolute; inset: 0; z-index: -2; }
.home-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(246,244,237,.98) 30%, rgba(246,244,237,.88) 40%, rgba(246,244,237,.32) 54%, transparent 68%);
}

.home-hero-inner { display: flex; align-items: center; min-height: 620px; padding-block: var(--space-64) var(--space-48); }
.home-hero-copy { width: 51%; max-width: 590px; }
.home-hero .eyebrow { max-width: 38ch; margin-bottom: var(--space-20); line-height: 1.6; }
.home-hero h1 { max-width: 17ch; font-size: clamp(2.6rem, 4.2vw, 3.75rem); line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
.home-hero h1 span { display: block; }
.home-hero:not(:lang(en)) h1 { max-width: none; font-size: clamp(2.4rem, 3.6vw, 3.25rem); }
.home-hero .hero-lede { max-width: 44ch; margin: var(--space-24) 0 0; font-size: 1.15rem; line-height: 1.65; color: var(--muted); }
.home-hero .hero-actions { margin: var(--space-24) 0 var(--space-20); gap: var(--space-12); }
.home-hero .button { font-size: .94rem; }
.home-hero .button-secondary { background: rgba(255,253,248,.85); border-color: var(--line-strong); }
.home-hero .button-secondary:hover, .home-hero .button-secondary:focus-visible { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }
.home-hero .hero-proof { gap: var(--space-8) var(--space-16); margin-bottom: var(--space-12); font-size: .76rem; }
.home-hero .hero-note { margin: 0; font-size: .85rem; }
.home-record h2 { max-width: 25ch; font-size: var(--text-section); }
.home-record-visual { margin: 0 0 var(--space-20); }
.home-record-visual img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
body:has(.home-hero) main :is(h2, h3) { overflow-wrap: anywhere; hyphens: auto; }

@media (max-width: 1100px) and (min-width: 901px) {
  .home-hero-copy { width: 56%; }
  .home-hero::before { background: linear-gradient(90deg, var(--paper) 0%, rgba(246,244,237,.98) 34%, rgba(246,244,237,.85) 47%, transparent 76%); }
}

@media (max-width: 900px) {
  .home-hero { display: flex; flex-direction: column; }
  .home-hero::before { display: none; }
  .home-hero-inner { order: 0; min-height: 0; padding-block: var(--space-40) var(--space-24); }
  .home-hero-copy { width: 100%; max-width: 650px; }
  .home-hero h1 { max-width: 22ch; font-size: var(--text-title); }
  .home-hero:not(:lang(en)) h1 { max-width: 22ch; font-size: var(--text-title); }
  .home-hero .hero-lede { max-width: 52ch; margin-top: var(--space-20); }
  .home-hero-photo { order: 1; position: relative; inset: auto; z-index: auto; display: block; width: 100%; height: clamp(270px, 48vw, 390px); overflow: hidden; }
  .home-hero-photo img { object-position: 75% 15%; }
  .home-record .split-showcase { gap: var(--space-32); }
}

@media (max-width: 480px) {
  body:has(.home-hero) .site-header .brand-copy { display: grid; }
  .home-hero-inner { width: calc(100% - var(--page-gutter) - var(--page-gutter)); padding-block: var(--space-32) var(--space-24); }
  .home-hero .eyebrow { max-width: 34ch; font-size: .75rem; margin-bottom: var(--space-16); }
  .home-hero h1 { font-size: clamp(2.15rem, 10vw, 2.8rem); max-width: 15ch; line-height: 1.08; }
  .home-hero:not(:lang(en)) h1 { max-width: none; font-size: clamp(1.9rem, 8.6vw, 2.45rem); }
  .home-hero .hero-lede { margin-top: var(--space-16); font-size: 1.04rem; line-height: 1.6; }
  .home-hero .hero-actions { display: grid; grid-template-columns: minmax(0,1fr); margin-block: var(--space-24) var(--space-16); gap: var(--space-12); }
  .home-hero .button { width: 100%; min-height: 48px; }
  .home-hero .hero-proof { font-size: .75rem; gap: 6px var(--space-16); }
  .home-hero .hero-note { font-size: .8125rem; }
  .home-hero-photo { height: 260px; }
  .home-hero-photo img { width: 145%; max-width: none; margin-left: -45%; object-position: 80% 15%; }
}

@media (max-width: 360px) {
  body:has(.home-hero) .header-inner { gap: var(--space-8); }
  body:has(.home-hero) .header-actions { gap: 6px; }
  body:has(.home-hero) .brand { gap: var(--space-8); }
  body:has(.home-hero) .brand-copy strong { font-size: 1rem; }
  body:has(.home-hero) .menu-button { padding-inline: var(--space-8); }
  body:has(.home-hero) .site-share-button { width: 44px; height: 44px; flex-basis: 44px; }
  body:has(.home-hero) .language-selector summary { min-width: 44px; padding-inline: var(--space-8); }
  body:has(.home-hero) .site-header .brand-copy { display: none; }
}
