/* Edge-to-edge photographic mosaic: featured encounters remain visible. */
.home-photo-stage{position:relative;min-height:820px;overflow:hidden;background:#20332f;color:#fff;isolation:isolate}
.home-mosaic-layout{position:absolute;inset:0 0 174px;display:grid;grid-template-rows:48% 1fr;gap:3px}
.mosaic-features{display:grid;grid-template-columns:1fr 1fr;gap:3px;min-height:0}
.mosaic-support{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:3px;min-height:0}
.mosaic-row{display:flex;gap:3px;min-height:0}
.mosaic-tile{position:relative;display:block;flex:1;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:#35433d;overflow:hidden;cursor:default}
.mosaic-tile img{display:block;width:100%;height:100%;object-fit:cover;animation:mosaic-breathe 18s ease-in-out infinite alternate;will-change:transform}
.mosaic-feature img{animation:featured-drift 24s cubic-bezier(.45,0,.55,1) infinite alternate;transform-origin:50% 35%}.mosaic-feature:nth-child(2) img{animation-delay:-12s;animation-direction:alternate-reverse}
.mosaic-row:nth-child(even) img{animation-direction:alternate-reverse;animation-duration:23s}
.mosaic-feature:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#0009);pointer-events:none}
.mosaic-name{position:absolute;z-index:1;bottom:16px;left:16px;right:12px;font-size:12px;font-weight:500;text-align:left;line-height:1.4;color:white}
.mosaic-tile:focus-visible{outline:3px solid #fff;outline-offset:-5px;z-index:3}
.home-photo-stage figcaption{position:absolute;bottom:25px;left:28px;right:28px;z-index:4}
.home-photo-stage figcaption p{font-size:16px;line-height:1.55;max-width:44ch;margin-top:10px}
.home-photo-stage figcaption>a{display:inline-flex;gap:24px;border-bottom:1px solid #ffffff90;font-size:13px;margin-top:14px;padding-bottom:5px}
.home-photo-pause{position:absolute;right:18px;top:auto;bottom:132px;z-index:5;padding:8px 12px;min-height:36px;border:1px solid #fff8;border-radius:24px;background:#172725dc;color:white;font-size:11px}
.home-photo-stage:is(.is-paused,.is-offscreen,.is-document-hidden,.is-previewing) img{animation-play-state:paused}
@keyframes mosaic-breathe{from{transform:scale(1)}to{transform:scale(1.035)}}
.home-photo-dialog{width:min(1000px,94vw);max-width:1000px;max-height:94svh;padding:24px;overflow:auto}
.home-photo-dialog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.home-photo-dialog-toolbar h2{font-size:22px;margin:0;line-height:1.3}.home-photo-dialog-toolbar button{background:none;font-size:30px;min-width:44px;min-height:44px}
.home-photo-dialog>img{width:100%;height:60svh;object-fit:contain;background:#e7e6e1}
.home-photo-dialog>p{font-size:14px;color:var(--muted);margin-top:16px;max-width:65ch}
.home-photo-dialog-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;font-size:13px}
.home-photo-dialog-nav button{background:none;border:1px solid var(--line);padding:10px 16px;min-height:44px}
@media(min-width:1800px){.home-photo-stage{min-height:820px}}
@media(max-width:700px){.home-photo-stage{min-height:780px}.home-mosaic-layout{inset:0 0 188px;grid-template-rows:46% 1fr}.home-photo-stage figcaption{left:22px;right:22px;bottom:24px}.home-photo-stage figcaption p{font-size:15px}.mosaic-name{font-size:10px;bottom:12px;left:10px}.home-photo-pause{right:18px;top:auto;bottom:146px;font-size:10px}.home-photo-dialog{padding:16px}.home-photo-dialog>img{height:52svh}.home-photo-dialog-toolbar h2{font-size:19px}.home-photo-dialog-nav button{padding:10px}}
@media(prefers-reduced-motion:reduce){.mosaic-tile img{animation:none;will-change:auto}.home-photo-pause{display:none}}

.home-hero .hero-copy{overflow:hidden}
.hero-journey{width:min(100%,440px);margin-top:34px;color:var(--accent,#087c78);pointer-events:none}
.hero-journey svg{width:100%;height:70px;overflow:visible;fill:currentColor}
.hero-journey path{fill:none;stroke:currentColor;stroke-width:1.2}.journey-track{opacity:.18}
.hero-journey .journey-traveller{stroke-width:2;stroke-dasharray:24 490;animation:journey-travel 12s ease-in-out infinite}
.hero-journey>div{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-top:-8px}
.home-hero.hero-motion-paused *{animation-play-state:paused!important}
.mosaic-tile img{transition:filter .4s ease}
@keyframes featured-drift{0%,12%{transform:scale(1.015) translateY(0)}88%,100%{transform:scale(1.065) translateY(1%)}}
@keyframes journey-travel{0%,15%{stroke-dashoffset:24;opacity:0}22%{opacity:1}80%{opacity:1}92%,100%{stroke-dashoffset:-490;opacity:0}}
@media(max-width:700px){.hero-journey{margin-top:24px;max-width:360px}.hero-journey svg{height:58px}}
@media(prefers-reduced-motion:reduce){.mosaic-feature img{animation:none;transform:none}.hero-journey .journey-traveller{animation:none;opacity:0}.mosaic-tile img{transition:none}}

/* Full-hero photographic backdrop, with a quiet reading area above the archive. */
.home-hero{position:relative!important;display:block!important;height:calc(100svh - var(--hero-header-height,92px) - var(--hero-strip-height,70px));min-height:590px!important;max-height:none!important;isolation:isolate;background:#182b28}
.home-hero .home-photo-stage{position:absolute;inset:0;min-height:0!important;z-index:-1}
.home-hero .home-mosaic-layout{inset:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;gap:3px}
.home-hero .mosaic-features{grid-column:2;grid-row:1;grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr}
.home-hero .mosaic-feature:first-child{grid-column:1;grid-row:1/3}.home-hero .mosaic-feature:nth-child(2){grid-column:2;grid-row:1/3}
.home-hero .mosaic-support{grid-column:1;grid-row:1;grid-template-rows:repeat(4,1fr)}
.home-hero .home-photo-stage:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(13,30,27,.86) 0%,rgba(13,30,27,.78) 27%,rgba(13,30,27,.5) 46%,rgba(13,30,27,.08) 65%,rgba(13,30,27,.04));z-index:1}
.home-hero .hero-copy{position:relative;z-index:2;width:54%;height:100%;justify-content:center;padding:30px var(--space);color:#fff;pointer-events:none}
.home-hero .hero-copy a{pointer-events:auto}.home-hero .hero-copy>.eyebrow{margin-bottom:22px;color:#c8dcd7}
.home-hero h1{font-size:clamp(42px,4.6vw,82px);line-height:1.06;max-width:11ch;color:white}
.home-hero h1 em{color:white}.home-hero .accent-dot{color:#71c9bd}
.home-hero .hero-description{font-size:clamp(14px,1.1vw,18px);line-height:1.65;margin-top:24px;color:#e5ece9;max-width:42ch}
.home-hero .hero-career{color:#fff;margin-top:18px}.home-hero .hero-career span{color:#c6d2ce}
.home-hero .hero-copy .text-link{color:#92d8cd;margin-top:24px}.home-hero .hero-footnote{margin-top:24px;padding-top:0;color:#d3e2dd}
.home-hero .home-photo-stage figcaption{left:auto;right:24px;bottom:24px;width:38%;pointer-events:none;z-index:3;text-shadow:0 1px 6px #000}
.home-hero .home-photo-stage figcaption .eyebrow,.home-hero .home-photo-stage figcaption>a{display:none}
.home-hero .home-photo-stage figcaption p{font-size:13px;padding:12px;background:#122c27cf;max-width:100%;margin:0}
.home-hero .home-photo-pause{top:18px;bottom:auto;right:18px;z-index:4}
.home-hero .mosaic-name{bottom:100px;text-shadow:0 1px 5px #000}
.home-hero+.practice-strip{min-height:70px;box-sizing:border-box;padding:18px var(--space);font-size:9px;gap:20px}
@media(min-width:1800px){.home-hero .hero-copy{padding-inline:80px}.home-hero h1{font-size:clamp(80px,5vw,108px)}}
@media(max-width:700px){
.home-hero{min-height:540px!important;--hero-strip-height:80px}
.home-hero .hero-copy{width:100%;padding:22px var(--space);justify-content:center}
.home-hero h1{font-size:clamp(38px,9vw,56px);max-width:12ch}
.home-hero .hero-copy>.eyebrow{font-size:8px;margin-bottom:16px}
.home-hero .hero-description{font-size:13px;max-width:37ch;margin-top:18px}.home-hero .hero-career{font-size:12px;margin-top:16px}.home-hero .hero-career span{font-size:10px}
.home-hero .hero-copy .text-link{font-size:12px;margin-top:18px}.home-hero .hero-footnote{font-size:8px;margin-top:20px;gap:15px}
.home-hero .home-mosaic-layout{grid-template-columns:1fr;grid-template-rows:44% 56%}
.home-hero .mosaic-features{grid-column:1;grid-row:1}.home-hero .mosaic-support{grid-column:1;grid-row:2}
.home-hero .home-photo-stage:after{background:linear-gradient(90deg,#0d1e1bee,#0d1e1bc9 68%,#0d1e1b9c)}
.home-hero .home-photo-stage figcaption,.home-hero .mosaic-name{display:none}
.home-hero .home-photo-pause{top:auto;bottom:14px;right:14px;min-height:36px}
.home-hero+.practice-strip{min-height:80px;flex-wrap:wrap;justify-content:center;gap:5px 14px;padding:12px 18px;text-align:center;font-size:7px}
}
@media(max-height:740px) and (min-width:701px){.home-hero{min-height:450px!important}.home-hero h1{font-size:clamp(38px,4vw,60px)}.home-hero .hero-copy>.eyebrow{margin-bottom:12px}.home-hero .hero-description{margin-top:16px}.home-hero .hero-footnote{margin-top:18px}.home-hero .hero-copy .text-link{margin-top:16px}}
.home-hero .mosaic-features{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.home-hero .mosaic-feature:first-child{grid-column:1;grid-row:1}.home-hero .mosaic-feature:nth-child(2){grid-column:1;grid-row:2}.home-hero .mosaic-name{bottom:18px}.home-hero .mosaic-feature:nth-child(2) .mosaic-name{bottom:90px}
@media(max-width:700px){.home-hero .mosaic-features{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.home-hero .mosaic-feature:first-child{grid-column:1;grid-row:1}.home-hero .mosaic-feature:nth-child(2){grid-column:2;grid-row:1}}
@media(max-height:680px) and (max-width:700px){.home-hero{min-height:440px!important}.home-hero .hero-footnote{display:none}.home-hero .hero-copy{padding-block:14px}.home-hero h1{font-size:36px}.home-hero .hero-description{font-size:12px;line-height:1.5;margin-top:12px}.home-hero .hero-career{margin-top:12px}.home-hero .hero-copy>.eyebrow{margin-bottom:12px}}
.home-hero+.practice-strip>span{display:block!important}
@media(max-width:700px){.home-hero+.practice-strip{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.5}.home-hero+.practice-strip>span{white-space:normal}}
/* Give the wider photographic archive more room beside the featured encounters. */
.home-hero .home-mosaic-layout{grid-template-columns:60% 40%}
@media(max-width:700px){.home-hero .home-mosaic-layout{grid-template-columns:1fr;grid-template-rows:36% 64%}}
.home-hero .home-mosaic-layout{grid-template-columns:70% 30%}
@media(max-width:700px){.home-hero .home-mosaic-layout{grid-template-columns:1fr;grid-template-rows:30% 70%}}

/* Keep the backdrop interactive beneath the foreground copy. */
.home-hero .home-photo-stage{z-index:0}
.home-hero .home-photo-stage figcaption>a{display:inline-flex;pointer-events:auto;background:#122c27ed;padding:7px 12px;margin-top:4px;font-size:12px;min-height:36px}
.mosaic-tile:after{pointer-events:none}
/* QA: separate the portrait label from the caption and keep the mobile strip readable. */
.home-hero .mosaic-feature:nth-child(2) .mosaic-name{bottom:124px}
@media(max-width:700px){.home-hero+.practice-strip{font-size:9px;min-height:86px;gap:5px;padding-block:12px;letter-spacing:.04em}}
@media(min-width:701px) and (max-height:850px){
.home-hero .hero-copy{padding-block:20px}
.home-hero h1{font-size:clamp(40px,4vw,54px)}
.home-hero .hero-copy>.eyebrow{margin-bottom:12px}
.home-hero .hero-description{margin-top:16px;font-size:14px;line-height:1.55}
.home-hero .hero-career{margin-top:14px}
.home-hero .hero-copy .text-link{margin-top:18px}
.home-hero .hero-footnote{margin-top:18px}
}
