/* Full-bleed definition banner */
.banner { position: relative; height: clamp(340px, 42vw, 560px); overflow: hidden; color: #fff; }
.banner img { transform-origin: 100% 50%; transform: scale(1.12); }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(14, 26, 38, .30), rgba(14, 26, 38, .46)); }
.banner__text { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; text-shadow: 0 1px 16px rgba(10, 20, 30, .6); }
.banner__word { font: 400 clamp(38px, 5.4vw, 66px)/1.1 var(--serif); letter-spacing: .14em; margin-right: -.14em; text-transform: uppercase; }
.banner__def { font-size: clamp(12px, 1.1vw, 14px); line-height: 1.6; letter-spacing: .03em; margin-top: 6px; }

/* Team: ruled roster on ivory */
.team { background: var(--ivory); padding-bottom: var(--section); overflow: hidden; }
/* The heading leads the page, set beside two staggered photos (the client's "A look in to the past" reference) */
.team__top { display: grid; grid-template-columns: minmax(0, 27fr) minmax(0, 45fr) minmax(0, 24fr); gap: clamp(16px, 3vw, 44px); align-items: start; padding-top: clamp(28px, 3.5vw, 48px); }
.team__lead { align-self: center; }
.team__lead .caps-title { text-align: left; }
.team__main { aspect-ratio: 3 / 2; overflow: hidden; }
.team__side { aspect-ratio: 4 / 5; overflow: hidden; margin-top: clamp(28px, 4.5vw, 64px); }
.team .tabs { margin-top: 18px; }
/* A trip with no team photos: the heading stands alone, centred */
.team--plain .team__top { display: block; }
.team--plain .team__lead .caps-title { text-align: center; }
.team--plain .tabs { justify-content: center; }
.team--plain .tab { align-items: center; text-align: center; }
.team__tablewrap { position: relative; max-width: 620px; margin: 22px auto 0; padding-inline: var(--gutter); }
.roster { width: 100%; border-collapse: collapse; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.roster th { font-weight: 400; text-align: left; }
.roster td { text-align: right; letter-spacing: .03em; text-transform: none; font-size: 12.5px; color: var(--soft); }
.roster tr { border-bottom: 1px solid var(--rule); }
.roster th, .roster td { padding: 11px 6px; }
.stamp { position: absolute; left: 100%; bottom: 26px; width: 92px; fill: none; stroke: var(--rule); stroke-width: 1; }
.team__cta { text-align: center; margin-top: 28px; }

@media (max-width: 1040px) {
  .stamp { display: none; }
}
@media (max-width: 860px) {
  .team__top { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .team__lead { grid-column: 1 / -1; }
  .team__lead .caps-title { text-align: center; }
  .team .tabs { justify-content: center; }
  .team .tab { align-items: center; text-align: center; }
  /* Side by side at this width: a square beside the 3:2 photo ends level with it */
  .team__side { margin-top: 0; aspect-ratio: 1; }
}
