/* An ordinary one-screen photo gallery. Only the chapter radio group changes the image. */
.chapter-hero {
  --scene-height: clamp(480px, 78svh, 850px);
  position: relative;
  background: #0b0d0d;
  color: #fafafa;
}
.chapter-hero h1 {
  position: absolute;
  z-index: 2;
  top: clamp(108px, 17svh, 180px);
  left: var(--flight-gutter);
  right: var(--flight-gutter);
  max-width: 20ch;
  margin: 0;
  font-family: inherit;
  font-size: clamp(2.35rem, 5.8vw, 6rem);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -.052em;
  text-wrap: balance;
  pointer-events: none;
  text-shadow: 0 1px 28px #0007;
}
.chapter-deck {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: var(--scene-height) auto;
  column-gap: clamp(9px, 2vw, 40px);
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0 var(--flight-gutter);
}
.chapter-legend, .chapter-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.chapter-option { display: contents; }
.chapter-panel {
  display: none;
  position: absolute;
  inset: 0 0 auto;
  height: var(--scene-height);
  overflow: hidden;
  isolation: isolate;
  background: #17221b;
}
.chapter-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #070a09bd, #070a0920 78%), linear-gradient(0deg, #070907e0, transparent 48%, #07090775);
  pointer-events: none;
}
.chapter-panel img {position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;object-fit:cover}
.chapter-panel figcaption {position:absolute;inset:auto var(--flight-gutter) clamp(24px,4vw,60px);max-width:min(61ch,76%);color:#fff}
.detail-story .chapter-panel figcaption p {font-size:clamp(1.05rem,1.55vw,1.48rem);font-weight:470;line-height:1.43;text-wrap:pretty}
.chapter-radio:checked ~ .chapter-panel {display:block}
.chapter-label {
  grid-row: 2;
  align-self: start;
  margin: 22px 0 5px;
  min-height: 48px;
  padding: 12px 0;
  border-top: 1px solid #7a7d7d;
  color: #d2d3d2;
  font-size: clamp(.88rem,1.03vw,1.03rem);
  font-weight: 500;
  line-height: 1.32;
  cursor: pointer;
}
.chapter-radio:checked + .chapter-label {border-top:3px solid white;padding-top:10px;color:white;font-weight:650}
.chapter-radio:focus-visible + .chapter-label {outline:2px solid white;outline-offset:3px}
.chapter-jump {display:inline-flex;align-items:center;min-height:44px;margin:0 var(--flight-gutter) 10px;text-decoration:underline;text-underline-offset:.3em}
@media (max-width:650px) {
  .chapter-hero {--scene-height:clamp(470px,70svh,670px)}
  .chapter-hero h1 {top:136px}
  .chapter-deck {grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:0 18px}
  .chapter-deck::before {content:'';grid-row:1;grid-column:1/-1}
  .chapter-label {grid-row:auto;align-self:stretch;margin:4px 0 0;padding:9px 0;min-height:44px}
  .chapter-radio:checked + .chapter-label {padding-top:7px}
  .chapter-panel figcaption {max-width:100%;bottom:24px}
  .chapter-jump {margin-top:10px}
}
@media(max-height:570px) and (min-width:651px) {
  .chapter-hero {--scene-height:clamp(350px,85svh,480px)}
  .chapter-hero h1 {top:92px;font-size:clamp(30px,4.5vw,52px)}
}

/* The directory is an index of real photographs and native, independently expandable service lists. */
html:has(.industry-directory), body.directory-page:has(.industry-directory) {height:auto;min-height:100svh;overflow-x:clip;overflow-y:visible;background:#0b0c0c;color:#f7f7f5}
html:has(.industry-directory) {overflow-y:auto}
.directory-page .industry-directory {position:relative;z-index:1;width:100%;background:#0b0c0c;line-height:1.4}
.directory-wrap {width:min(100%,1700px);margin:auto;padding:clamp(130px,16vh,185px) clamp(20px,5.6vw,92px) 0}
.directory-intro {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);align-items:end;gap:30px 9%;padding-bottom:clamp(34px,5vw,74px)}
.directory-intro h1 {margin:0;color:white;font:inherit;font-weight:580;font-size:clamp(3rem,7vw,7.7rem);letter-spacing:-.065em;line-height:.99;text-transform:none}
.directory-intro h1 span {display:block;color:#c1c5c3}
.directory-intro p {margin:0;max-width:31em;color:#d4d6d4;font-size:clamp(1.05rem,1.45vw,1.3rem);line-height:1.56}
.directory-tiles {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2.15vw,38px);align-items:start;scroll-margin-top:110px}
.directory-tile {min-width:0;border:1px solid #343737;background:#141616}
.directory-tile>summary,.directory-more>summary,.directory-support-option>summary {list-style:none;cursor:pointer}
.directory-tile summary::-webkit-details-marker,.directory-support-option summary::-webkit-details-marker {display:none}
.directory-tile>summary h2 {position:relative;isolation:isolate;display:flex;align-items:end;justify-content:space-between;gap:12px;min-height:clamp(245px,26vw,430px);overflow:hidden;margin:0;padding:clamp(20px,2.6vw,42px);color:white;font:inherit;font-weight:560;font-size:clamp(1.5rem,3vw,3.25rem);letter-spacing:-.05em;line-height:1.06;text-wrap:balance}
.directory-tile>summary h2::after {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#050909ed, #04070745 63%, #05090918)}
.directory-tile h2 img {position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.directory-tile>summary:hover img {transform:scale(1.025)}
.directory-tile:last-child:nth-child(odd) {grid-column:1/-1}
.directory-tile:last-child:nth-child(odd)>summary h2 {min-height:clamp(230px,23vw,365px)}
.directory-toggle {position:relative;flex:none;display:inline-block;width:1.9rem;height:1.9rem;border:1px solid #eeeeeeb0;border-radius:100%}
.directory-toggle::before,.directory-toggle::after {content:'';position:absolute;width:.72rem;height:1px;background:currentColor;left:50%;top:50%;transform:translate(-50%,-50%)}
.directory-toggle::after {transform:translate(-50%,-50%) rotate(90deg)}
details[open] > summary > .directory-toggle::after,.directory-tile[open]>summary h2>.directory-toggle::after {display:none}
.directory-tile-body {padding:clamp(20px,2.6vw,40px);border-top:1px solid #424544}
.directory-tile-body>p,.directory-support-option p {max-width:68ch;color:#d1d4d2;font-size:1rem;line-height:1.6;margin:0 0 12px}
.directory-hub-link {display:inline-block;min-height:44px;color:white;font-weight:600;text-decoration:underline;text-underline-offset:.3em}
.directory-services {list-style:none;padding:0;margin:0}
.directory-services li:first-child {border-top:1px solid #424545}
.directory-services li {border-bottom:1px solid #424545}
.directory-services a {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:46px;padding:8px 0;color:white;text-decoration:none;font-size:1rem}
.directory-services a::after {content:'';display:block;width:.6rem;height:.6rem;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);margin-right:4px}
.directory-services a:hover,.directory-hub-link:hover {color:#fff;text-decoration:underline;text-underline-offset:.28em}
.directory-more>summary,.directory-support-option>summary {display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:50px;padding:9px 0;font-weight:580}
.directory-more>summary .directory-toggle,.directory-support-option>summary .directory-toggle {width:1.4rem;height:1.4rem}
.directory-support {display:grid;grid-template-columns:.9fr 1.1fr;gap:26px 7%;align-items:start;padding:clamp(50px,7vw,110px) 0;scroll-margin-top:110px}
.directory-support h2 {margin:0;font-size:clamp(2rem,4vw,4.2rem);font-weight:560;letter-spacing:-.05em;line-height:1.05}
.directory-support-option {border-top:1px solid #424545}
.directory-support-option summary {min-height:58px;font-size:clamp(1rem,1.5vw,1.35rem)}
.industry-directory :is(a,summary):focus-visible {outline:2px solid white;outline-offset:3px}
.directory-page .industry-directory > .directory-ending {position:relative;inset:auto;margin:0;padding:32px 5vw;background:#0b0b0b;border-top:1px solid #ffffff35}
@media(max-width:720px){
 .directory-intro,.directory-support,.directory-tiles {grid-template-columns:minmax(0,1fr)}
 .directory-intro {gap:20px}
 .directory-intro h1 {font-size:clamp(2.8rem,10vw,4.7rem)}
 .directory-wrap {padding-top:125px}
 .directory-tiles {gap:18px}
 .directory-tile>summary h2,.directory-tile:last-child:nth-child(odd)>summary h2 {min-height:clamp(210px,54vw,350px)}
 .directory-support {gap:26px}
}
html[data-motion="reduced"] .directory-tile>summary:hover img {transform:none}
