/* Editorial photography layouts; the opening image fills the viewport. */
.photo-story .hero{display:flex;flex-direction:column;min-height:0;gap:0;padding-top:24px;padding-bottom:48px}
.photo-story .hero-figure{height:auto;min-height:0}
.photo-story .hero-figure>img{width:auto;max-width:100%;height:auto;max-height:calc(100svh - 160px);object-fit:contain;margin-inline:auto}
.photo-story .hero-figure figcaption{position:static;background:none;color:var(--muted);padding:14px 0 0;align-items:center;font-size:8px}
.photo-story .hero-figure figcaption span:first-child{font-size:18px}
.photo-story .hero-copy{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;align-items:end;padding:48px 0 0}
.photo-story .hero h1{font-size:clamp(54px,6.2vw,98px);line-height:.98;margin:0}
.photo-story .hero-copy .eyebrow{margin-bottom:22px}
.hero-invitation{justify-self:end;padding-bottom:4px}
.photo-story .hero-description{font-size:13px;line-height:1.9;margin-bottom:22px}
.photo-story .wedding-feature figure img{height:auto;object-fit:contain}
.photo-story .image-link img{height:auto;object-fit:contain;transform:none}
.photo-story .experience-card.offset{padding-top:140px}
.photo-story .gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 24px;align-items:start}
.photo-story .gallery-item,.photo-story .gallery-item:nth-child(2){padding:0}
.photo-story .gallery-item img{height:auto;object-fit:contain}
.photo-story .gallery-item>span{font-size:8px;letter-spacing:.1em;gap:8px}
.photo-story .gallery-item:hover img{filter:brightness(1.06)}
@media(max-width:900px){
  .photo-story .hero-figure>img{max-height:none;width:100%}
  .photo-story .hero-copy{grid-template-columns:1fr;gap:26px;padding-top:34px}
  .hero-invitation{justify-self:start}
  .photo-story .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}
  .photo-story .experience-card.offset{padding-top:70px}
}
@media(max-width:600px){
  .photo-story .hero{padding-top:16px;padding-bottom:32px}
  .photo-story .hero-figure figcaption{padding-top:10px}
  .photo-story .hero-figure figcaption span:first-child{font-size:16px}
  .photo-story .hero h1{font-size:clamp(46px,11.6vw,66px)}
  .photo-story .hero h1 br:first-child{display:initial}
  .photo-story .hero-copy .eyebrow{font-size:7px;letter-spacing:.12em;gap:8px}
  .photo-story .hero-description{font-size:12px}
  .photo-story .experience-card.offset{padding-top:0}
  .photo-story .gallery-grid{gap:28px 14px}
  .photo-story .gallery-item>span{font-size:7px;letter-spacing:.07em;padding-top:10px}
}

/* Full-screen opening photograph with the introduction below the fold. */
#top.hero{width:100%;margin:0;padding:0;gap:0}
#top .hero-figure{position:relative;width:100%;height:100vh;height:100svh;min-height:0;overflow:hidden}
#top .hero-figure>img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:50% 50%;margin:0}
#top .hero-figure::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(17,26,24,.42),transparent 24%,transparent 78%,rgba(17,26,24,.22))}
#top .hero-figure figcaption{position:absolute;inset:auto 0 0;z-index:1;background:none;color:#fff;padding:0 max(50px,calc((100vw - 1440px)/2)) max(28px,env(safe-area-inset-bottom));display:flex;align-items:center}
.hero-discover{display:inline-flex;align-items:center;gap:20px;min-height:48px;font:500 10px var(--sans);letter-spacing:.18em;text-transform:uppercase;text-shadow:0 1px 8px #0006}
#top .hero-discover span{font:24px var(--sans)}
#top .hero-copy{width:min(1440px,calc(100% - 100px));margin-inline:auto;padding:clamp(36px,5vw,72px) 0 48px}
.photo-story .site-header{position:fixed;inset:0 0 auto;color:#fff;background:transparent;border-bottom-color:rgba(255,255,255,.2);transition:background .2s,color .2s,border-color .2s}
.photo-story .site-header .header-place{color:inherit}
.photo-story .site-header:not(.header-solid) .menu-toggle:hover{color:#fff}
.photo-story .site-header:not(.header-solid) :focus-visible{outline-color:#fff}
.photo-story .site-header.header-solid{background:var(--paper);color:var(--ink);border-bottom-color:var(--line)}
@media(max-width:1100px){
  #top .hero-copy{width:calc(100% - 64px)}
  #top .hero-figure figcaption{padding-left:32px;padding-right:32px}
}
@media(max-width:600px){
  #top .hero-copy{width:calc(100% - 40px);padding:36px 0 32px}
  #top .hero-figure figcaption{padding:0 20px calc(22px + env(safe-area-inset-bottom))}
  .hero-discover{font-size:9px;gap:14px}
}
