/* Only the welcome section. The existing logo panel and all subsequent content are untouched. */
html body:has(main > #home.hero) main > #home.hero { padding-top:0; }
html body:has(main > #home.hero) #home.hero > .hero-grid > .welcome-landscape {
  position:relative; isolation:isolate; width:100vw; max-width:none;
  margin-inline:calc((100% - 100vw)/2); box-sizing:border-box;
  display:grid; align-items:center; min-height:clamp(470px,36vw,650px);
  padding:clamp(28px,4vw,52px) clamp(20px,5vw,80px);
  background-color:#071827;
  background-image:linear-gradient(90deg,transparent 0%,rgba(3,13,26,.28) 26%,rgba(3,13,26,.67) 46%,rgba(3,13,26,.66) 76%,rgba(3,13,26,.30) 100%),url('../assets/welcome-landscape-4k.webp');
  background-size:cover; background-position:center 65%; background-repeat:no-repeat;
}
html body:has(main > #home.hero) #home.hero .welcome-landscape > .hero-copy {
  position:relative; width:min(100%,790px); max-width:790px;
  margin:0 auto; text-align:center; color:#f8f3e9;
}
html body:has(main > #home.hero) #home.hero .welcome-landscape .hero-copy > .eyebrow {color:#f1cf85;font-size:clamp(.72rem,1vw,.9rem);letter-spacing:.09em;line-height:1.35;margin:0 auto 10px;}
html body:has(main > #home.hero) #home.hero .welcome-landscape h1 {
  font-size:clamp(2.25rem,4.2vw,3.75rem);line-height:1.08;max-width:760px;
  margin:0 auto 16px;color:#fff4df;text-shadow:0 2px 10px #03101e;
}
html body:has(main > #home.hero) #home.hero .welcome-landscape .hero-copy > p:not(.eyebrow):not(.hero-note) {
  font-size:clamp(.95rem,1.15vw,1.1rem);line-height:1.58;font-weight:400;
  color:#f8f3e9;max-width:730px;margin:0 auto 12px;text-shadow:0 1px 5px #03101e;
}
html body:has(main > #home.hero) #home.hero .welcome-landscape .text-link {
  color:#f1cf85; text-decoration-color:#f1cf85; font-size:inherit; text-underline-offset:.18em;
}
html body:has(main > #home.hero) #home.hero .welcome-landscape .actions {margin:18px auto 0;gap:12px;}
html body:has(main > #home.hero) #home.hero .welcome-landscape .button-outline {color:#fff4df;background:#071827d9;border-color:#f1cf85a0;}
html body:has(main > #home.hero) #home.hero .welcome-landscape .hero-note {display:flex;width:fit-content;max-width:100%;margin:12px auto 0;color:#f1cf85;font-size:clamp(.85rem,1vw,1rem);line-height:1.45;letter-spacing:0;text-shadow:0 1px 5px #03101e;}
@media(min-width:1000px){
 html body:has(main > #home.hero) #home.hero .welcome-landscape > .hero-copy {margin-left:clamp(260px,26vw,1000px);margin-right:auto;width:min(calc(100% - clamp(260px,26vw,1000px)),790px);}
}
@media(max-width:999px){
 html body:has(main > #home.hero) main > #home.hero > .hero-grid > .welcome-landscape {background-image:linear-gradient(90deg,#03101e60,#03101eaa 35%,#03101eaa 80%,#03101e65),url('../assets/welcome-landscape-4k.webp');background-position:center 62%;}
}
@media(max-width:600px){
 html body:has(main > #home.hero) main > #home.hero > .hero-grid > .welcome-landscape {padding:36px 18px 32px;min-height:0;background-position:25% center;}
 html body:has(main > #home.hero) #home.hero .welcome-landscape .actions .button {max-width:100%;}
}


/* Continuous night sky — homepage only; no changes to the memorial map or card behavior. */
html:is(:not(.native-app),.native-app):has(main > #home.hero){background:#071827}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero){
 background:#071827 url("../assets/continuous-night-sky.svg") center top / max(1440px,100vw) auto repeat-y;
}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) .site-header{background:#071827f5}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > :is(.hero,.trust-strip,.stars-section,.story-section,.support-paths,.community-section){
 background:transparent;mask-image:none;-webkit-mask-image:none;
}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > :is(.story-section,.support-paths){color:#f8f3e9}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > :is(.story-section,.support-paths) :is(.eyebrow,h2){color:#f1cf85}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) .story-section .story-text,
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) .story-section .story-text p,
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) .support-paths .section-heading > p:not(.eyebrow){color:#f8f3e9}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) .story-section .story-text > .text-link{background:#0b2338;border-color:#f1cf8566;color:#f1cf85}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) .support-card{background:#0b2338f2;border-color:#f1cf8540}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) .support-card :is(h3,.eyebrow){color:#f1cf85}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) .support-card p:not(.eyebrow){color:#f8f3e9}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) .support-card .button-outline{color:#f8f3e9;background:#091e32;border-color:#f1cf8566}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > .hero > .hero-grid > .welcome-landscape{
 background:none;
}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > .hero > .hero-grid > .welcome-landscape::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background-image:linear-gradient(90deg,transparent 0%,#030d1a38 27%,#030d1a9c 47%,#030d1a80 76%,#030d1a24 100%),url("../assets/welcome-landscape-4k.webp");
 background-position:center,center 65%;background-size:cover;background-repeat:no-repeat;
 mask-image:linear-gradient(to bottom,#000 0%,#000 80%,transparent 100%);
 -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 80%,transparent 100%);
}
@media(max-width:999px){
 html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > .hero > .hero-grid > .welcome-landscape::before{
 background-image:linear-gradient(90deg,#03101e60,#03101eaa 35%,#03101eaa 80%,#03101e65),url("../assets/welcome-landscape-4k.webp");
 background-position:center,center 62%;
 }
}
@media(max-width:600px){
 html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > .hero > .hero-grid > .welcome-landscape::before{background-position:center,25% center}
}


/* Approved welcome composition: the existing Sky symbol and approved wings, no new star asset. */
html body:has(main > #home.hero) #home.hero .welcome-landscape > .hero-copy{
 max-width:850px;width:min(100%,850px);margin:0 auto;
 font-family:"Cormorant Garamond",Georgia,serif;
}
html body:has(main > #home.hero) #home.hero .welcome-landscape .hero-copy > :is(h1,p),
html body:has(main > #home.hero) #home.hero .welcome-landscape .hero-copy .button{
 font-family:"Cormorant Garamond",Georgia,serif;
}
html body:has(main > #home.hero) #home.hero .welcome-landscape .hero-copy > p:not(.eyebrow):not(.hero-note){
 font-size:clamp(1.05rem,1.4vw,1.25rem);font-weight:500;line-height:1.45;
}
html body:has(main > #home.hero) #home.hero .welcome-landscape .hero-copy > .eyebrow{font-weight:600}
html body:has(main > #home.hero) #home.hero .welcome-landscape .hero-copy .button{font-size:clamp(1rem,1.35vw,1.25rem);font-weight:600}
html body:has(main > #home.hero) #home.hero .welcome-landscape .hero-copy .hero-note{font-size:clamp(.95rem,1.15vw,1.15rem)}
.welcome-emblem{display:grid;place-items:center;position:relative;width:clamp(170px,22vw,280px);height:clamp(70px,8vw,100px);margin:0 auto 8px;pointer-events:none}
.welcome-emblem .welcome-wing-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:.92}
html body:has(main > #home.hero) #home.hero .welcome-emblem .sky-symbol{position:relative;width:clamp(60px,6vw,86px);height:clamp(64px,6.5vw,94px);z-index:1;margin:0;animation:breathe 3.8s ease-in-out infinite}
@media(min-width:1000px) and (max-width:1350px){
 html body:has(main > #home.hero) #home.hero .welcome-landscape > .hero-copy{width:72%;margin-left:24%;margin-right:4%}
}
@media(prefers-reduced-motion:reduce){html body:has(main > #home.hero) #home.hero .welcome-emblem .sky-symbol{animation:none}}

/* Homepage only: dissolve the welcome landscape directly into the trust strip.
   The header wordmark and the original bridge artwork remain available. */
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > #home.hero {
  padding-bottom:0;
  border-bottom:0;
  box-shadow:none;
}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > #home.hero > .hero-grid {
  gap:0;
}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > #home.hero > .hero-grid > .logo-panel {
  display:none;
}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > #home.hero > .hero-grid > .welcome-landscape {
  padding-bottom:clamp(74px,8vw,112px);
}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > .hero > .hero-grid > .welcome-landscape::before {
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 60%,rgba(0,0,0,.78) 72%,rgba(0,0,0,.36) 88%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 60%,rgba(0,0,0,.78) 72%,rgba(0,0,0,.36) 88%,transparent 100%);
}
html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > #home.hero + .trust-strip.trust-interactive {
  border-top:0;
  padding-top:.65rem;
}
@media(max-width:600px){
  html:is(:not(.native-app),.native-app) body:has(main > #home.hero) main > #home.hero > .hero-grid > .welcome-landscape {
    padding-bottom:64px;
  }
}
