/* Candidate profiles: readable navigation hierarchy for all categories. */
.interior-head .back-link {
  display: inline-flex;
  align-items: center;
  margin: 0 0 28px;
  padding: 0 0 8px;
  line-height: 1.5;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
}
.interior-head .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.interior-head .back-link + .eyebrow {
  display: block;
  width: fit-content;
  clear: both;
  margin: 0 0 17px;
  line-height: 1.5;
}
.interior-head .eyebrow + h1 { margin-top: 0; }

/* Accessible modal: no third-party dependencies; only the gallery gets enlarged. */
.ta-lightbox {
  width: min(96vw, 1320px);
  max-width: none;
  max-height: 96dvh;
  padding: 0;
  margin: auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  background: #121b1b;
  color: #fff;
  box-shadow: 0 30px 95px rgba(0,0,0,.48);
  overflow: hidden;
}
.ta-lightbox::backdrop { background: rgba(7,15,16,.88); }
.ta-lightbox__shell { position: relative; display: grid; align-items: center; grid-template-columns: 62px minmax(0,1fr) 62px; min-height: 220px; }
.ta-lightbox__figure { min-width: 0; max-height: 95dvh; margin: 0; padding: 24px 0 16px; display: flex; flex-direction: column; align-items: center; }
.ta-lightbox__photo { max-width: 100%; max-height: calc(95dvh - 102px); width: auto; height: auto; object-fit: contain; display: block; }
.ta-lightbox__caption { padding: 17px 12px 2px; color: #e2e2dc; font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-align: center; }
.ta-lightbox__close,.ta-lightbox__nav { appearance: none; border: 0; cursor: pointer; color: #fff; background: transparent; font-family: inherit; }
.ta-lightbox__close { position: absolute; z-index: 2; right: 10px; top: 7px; width: 44px; height: 44px; font-size: 1.3rem; }
.ta-lightbox__nav { width: 100%; height: 90px; font-size: 3rem; line-height: 1; }
.ta-lightbox__nav:hover,.ta-lightbox__close:hover { background: rgba(255,255,255,.12); }
.ta-lightbox__nav[hidden] { display: none; }
.ta-lightbox :focus-visible { outline: 3px solid #f4d28b; outline-offset: -4px; }
.real-gallery a { cursor: zoom-in; }
@media (max-width: 640px) {
  .interior-head .back-link { margin-bottom: 22px; }
  .ta-lightbox { width: 100vw; max-height: 100dvh; border: 0; }
  .ta-lightbox__shell { grid-template-columns: 40px minmax(0,1fr) 40px; }
  .ta-lightbox__nav { height: 64px; font-size: 2.5rem; }
  .ta-lightbox__figure { padding-top: 60px; max-height: 100dvh; }
  .ta-lightbox__photo { max-height: calc(100dvh - 125px); }
  .ta-lightbox__close { top: 4px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ta-lightbox * { animation: none !important; transition: none !important; }
}
