/* Station and real-team additions reuse the approved page tokens. */
.team-real .people-grid article { min-height: 188px; grid-template-rows: 118px 1fr; }
.team-real .people-grid img { height: 118px; object-fit: contain; object-position: center bottom; }
.team-real .people-grid h3 { line-height: 1.35; }
.team-more { margin-top: 14px; }
.team-more > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.team-more > summary::-webkit-details-marker { display: none; }
.team-more > summary:hover { border-color: var(--accent); }
.team-more__close-label { display: none; }
.team-more[open] .team-more__open-label { display: none; }
.team-more[open] .team-more__close-label { display: inline; }
.team-more > .people-grid { margin-top: 12px; }
.team-more > summary small { color: var(--muted); font-size: 11px; font-weight: 500; }

.station-gallery { min-height: 0; padding: 96px 0 88px; }
.station-gallery .section-heading { margin-bottom: 34px; }
.station-gallery__heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
.station-gallery__heading h2 { max-width: 680px; margin-top: 12px; }
.station-gallery__heading .lead { max-width: 430px; font-size: 16px; }
.station-gallery__hint { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.station-gallery__carousel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; }
.station-gallery__stage { position: relative; height: clamp(300px, 46vw, 590px); background: #e7e3dd; }
.station-gallery__slide { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; touch-action: pan-y; }
.station-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.station-gallery__slide--portrait img { object-fit: contain; }
.station-gallery__arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 4px 16px rgba(21,24,29,.12); transform: translateY(-50%); cursor: pointer; }
.station-gallery__arrow--prev { left: 18px; }
.station-gallery__arrow--next { right: 18px; }
.station-gallery__arrow img { width: 24px; height: 24px; object-fit: contain; }
.station-gallery__arrow:hover { border-color: var(--accent); background: #fff; }
.station-gallery__arrow:disabled { opacity: .4; cursor: default; }
.station-gallery__caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 16px 20px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.station-gallery__counter { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 500; }
.station-gallery__footnote { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.station-viewer { width: min(1180px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; margin: auto; border: 1px solid #45474b; border-radius: 18px; background: var(--dark); color: #fff; overflow: hidden; }
.station-viewer::backdrop { background: rgba(10, 12, 15, .88); backdrop-filter: blur(5px); }
.station-viewer__surface { display: flex; flex-direction: column; max-height: calc(100dvh - 42px); }
.station-viewer__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid #36393e; font-size: 13px; }
.station-viewer button { min-height: 44px; padding: 10px 16px; border: 1px solid #555960; border-radius: 10px; background: #26292e; color: #fff; font-weight: 700; font-size: 12px; cursor: pointer; }
.station-viewer button:hover { border-color: var(--accent); }
.station-viewer figure { margin: 0; padding: 0 20px; }
.station-viewer__image { width: 100%; height: min(65dvh, 700px); object-fit: contain; }
.station-viewer figcaption { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 14px; line-height: 1.45; }
.station-viewer__counter { flex-shrink: 0; color: #b2b6be; font-size: 12px; }
.station-viewer__controls { display: flex; justify-content: space-between; padding: 8px 20px 16px; gap: 16px; }
.station-viewer__controls button { min-width: 120px; }
body.is-gallery-open { overflow: hidden; }

@media (min-width: 768px) and (max-width: 1179px) {
  .team-real .people-grid article { grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: 1fr; min-height: 108px; }
  .team-real .people-grid img { height: 106px; }
  .station-gallery__heading { gap: 32px; }
}

@media (max-width: 900px) {
  .station-gallery__heading { grid-template-columns: 1fr; gap: 18px; }
  .station-gallery__heading .lead { max-width: 650px; }
}

@media (max-width: 767px) {
  .team-real .founder-card > picture { aspect-ratio: 4 / 3; background: #dedad4; }
  .team-real .founder-card > picture img { object-fit: cover; object-position: center top; }
  .team-real .founder-card > picture::after { display: none; }
  .team-real .founder-card blockquote {
    position: static; width: auto; height: auto; overflow: visible; clip: auto;
    clip-path: none; white-space: normal; margin-top: 16px; font-size: 16px; line-height: 1.45;
  }
  .team-real .founder-card figcaption { padding: 0 2px; }
  .team-real .people-grid article { min-height: 94px; grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: 1fr; }
  .team-real .people-grid img { height: 92px; }
  .team-more > summary { min-height: 48px; font-size: 12px; }
  .station-gallery { padding: 62px 0; }
  .station-gallery .section-marker { margin-bottom: 30px; }
  .station-gallery .section-heading { margin-bottom: 24px; }
  .station-gallery__heading { gap: 16px; }
  .station-gallery__heading h2 { margin-top: 10px; }
  .station-gallery__heading .lead { font-size: 15px; }
  .station-gallery__hint { margin-top: 10px; }
  .station-gallery__carousel { border-radius: 12px; }
  .station-gallery__stage { height: auto; aspect-ratio: 4 / 3; }
  .station-gallery__slide { position: absolute; inset: 0; }
  .station-gallery__arrow { width: 44px; height: 44px; padding: 11px; }
  .station-gallery__arrow img { width: 22px; height: 22px; }
  .station-gallery__arrow--prev { left: 10px; }
  .station-gallery__arrow--next { right: 10px; }
  .station-gallery__caption { min-height: 52px; padding: 14px 12px; font-size: 13px; }
  .station-gallery__footnote { font-size: 11px; }
  .station-viewer { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 14px; }
  .station-viewer__surface { max-height: calc(100dvh - 22px); }
  .station-viewer__header { padding: 10px 12px; font-size: 12px; }
  .station-viewer figure { padding: 0 12px; }
  .station-viewer__image { height: 54dvh; }
  .station-viewer figcaption { min-height: 54px; font-size: 12px; }
  .station-viewer__controls { padding: 8px 12px 12px; gap: 12px; }
  .station-viewer__controls button { min-width: 0; flex: 1; min-height: 48px; }
}
