/* October 25 Baltimore identity home preview.
   The artwork is a personal artistic interpretation, not a documentary skyline.
   The semantic heading, introduction and actions remain HTML for accessibility. */
body.foundation-hall .foundation-hero--harbor{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  height:auto!important;
  isolation:isolate;
  background:#0e1d16!important;
  background-image:none!important;
  padding:0!important;
  overflow:visible!important;
  align-items:stretch!important;
  box-shadow:none!important;
}
body.foundation-hall .foundation-hero--harbor::before,
body.foundation-hall .foundation-hero--harbor::after,
body.foundation-hall .foundation-hero--harbor .foundation-hero__veil{
  display:none!important;
}
.harbor-hero__art{
  width:100%;max-width:none;margin:0;
  position:relative;
  background:#1a231e;
  border-bottom:1px solid rgba(208,178,116,.52);
}
.harbor-hero__art picture{display:block;width:100%}
.harbor-hero__art img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
  max-height:none;
  aspect-ratio:1536/1010;
  object-fit:contain;
  object-position:center;
}
body.foundation-hall .foundation-hero--harbor .foundation-hero__inner{
  position:relative!important;
  display:block!important;
  z-index:3;
  padding:0 0 clamp(36px,5vw,72px)!important;
  margin-top:-64px;
  margin-bottom:0;
  width:min(calc(100% - 48px),1200px);
}
body.foundation-hall .foundation-hero--harbor .foundation-hero__panel{
  position:relative;
  margin:0;
  max-width:730px;
  padding:clamp(24px,3.5vw,42px)!important;
  background:linear-gradient(137deg,rgba(29,30,22,.97),rgba(8,35,25,.96))!important;
  border:1px solid rgba(209,171,98,.70)!important;
  border-radius:18px!important;
  color:#fff7e6!important;
  box-shadow:0 16px 46px rgba(0,0,0,.30)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.foundation-hall .foundation-hero--harbor .foundation-hero__eyebrow{
  color:#dcbf87;letter-spacing:.16em;
  font-size:clamp(.68rem,1.5vw,.78rem);
  margin:0 0 11px;
}
body.foundation-hall .foundation-hero--harbor .harbor-hero__title{
  display:block;
  max-width:15ch;
  margin:0;
  color:#fff4df;
  font:750 clamp(2.1rem,4.3vw,4rem)/1.07 Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;
  text-shadow:none;
  text-wrap:balance;
}
body.foundation-hall .foundation-hero--harbor .foundation-hero__lede{
  font-size:clamp(1rem,1.38vw,1.18rem);
  line-height:1.63;
  color:#e9e3d8;
  margin:17px 0 0;
  max-width:59ch;
}
body.foundation-hall .foundation-hero--harbor .foundation-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:22px 0 0;
}
body.foundation-hall .foundation-hero--harbor .foundation-hero__actions .btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:46px;
  padding:10px 19px;
  font-size:.9rem;
  font-weight:800;
}
body.foundation-hall .foundation-hero--harbor .foundation-hero__secondary{
  background:#f4eddf!important;
  color:#102b20!important;
  border:1px solid #d9ba87!important;
}
body.foundation-hall .foundation-hero--harbor .foundation-hero__secondary:hover{
  background:#fff9ea!important;
}
@media(max-width:900px){
  .harbor-hero__art img{
    height:auto!important;
    aspect-ratio:1536/1010;
    object-fit:contain;
    object-position:center;
  }
  body.foundation-hall .foundation-hero--harbor .foundation-hero__inner{
    width:min(calc(100% - 30px),780px)!important;
    margin-top:-15px;
    padding:0 0 32px!important;
  }
  body.foundation-hall .foundation-hero--harbor .foundation-hero__panel{
    max-width:none;
    padding:clamp(19px,4.5vw,30px)!important;
    background:linear-gradient(135deg,#24231c,#0f3025)!important;
  }
}
@media(max-width:550px){
  body.foundation-hall .foundation-hero--harbor .foundation-hero__inner{
    margin-top:0!important;
    width:100%!important;
    padding:0 12px 28px!important;
  }
  body.foundation-hall .foundation-hero--harbor .foundation-hero__panel{
    border-radius:0 0 17px 17px!important;
    border-top:0!important;
    padding:20px 19px 24px!important;
  }
  body.foundation-hall .foundation-hero--harbor .harbor-hero__title{
    font-size:clamp(1.9rem,8vw,2.7rem);
    max-width:18ch;
  }
  body.foundation-hall .foundation-hero--harbor .foundation-hero__lede{
    font-size:.94rem;
    line-height:1.55;
  }
  body.foundation-hall .foundation-hero--harbor .foundation-hero__actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  body.foundation-hall .foundation-hero--harbor .foundation-hero__actions .btn{
    min-width:0;
    min-height:45px;
    padding:8px 9px;
    font-size:.77rem;
  }
}
@media(max-width:365px){
 body.foundation-hall .foundation-hero--harbor .foundation-hero__actions{
  grid-template-columns:1fr;
 }
}


/* iPhone visual QA 2026-10-25: prevent upstream !important H1 sizing
   from turning the hero introduction into a full-screen heading. */
@media (max-width:550px){
  body.foundation-hall .foundation-hero--harbor .harbor-hero__title{
    font-size:clamp(1.85rem,7.6vw,2.35rem)!important;
    line-height:1.10!important;
    letter-spacing:-.025em!important;
    max-width:24ch!important;
    overflow-wrap:normal;
    text-wrap:balance;
  }
  body.foundation-hall .foundation-hero--harbor .foundation-hero__lede{
    font-size:.91rem!important;
    line-height:1.48!important;
    margin-top:13px!important;
  }
  body.foundation-hall .foundation-hero--harbor .foundation-hero__inner{
    padding-bottom:calc(42px + env(safe-area-inset-bottom))!important;
  }
  body.foundation-hall .foundation-hero--harbor .foundation-hero__actions{
    margin-top:18px!important;
  }
}

/* Desktop visual sprint 2026-11-16 (Issue 01): fit the full harbor
   composition inside the first screen. The artwork is 1536x1010, so at
   1920px wide it renders ~1263px tall -- taller than a 1080px viewport.
   Capping the image by viewport height (minus the 86px sticky header)
   keeps the whole composition visible; object-fit:contain centers it
   over the existing dark-green art backing. Mobile rules are untouched
   (this block is desktop-only). */
@media(min-width:901px){
  .harbor-hero__art img{
    max-height:calc(100svh - var(--tc-head-height,86px));
  }
}
