.team-events-page {
  background: var(--color-alabaster);
}

.team-events-page .section-dark {
  color: var(--color-white);
}

.team-hero {
  padding-block: 72px;
}

.team-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: 48px;
  min-height: 640px;
}

.team-hero__grid > * {
  min-width: 0;
}

.team-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 520px;
}

.team-hero__copy .eyebrow,
.team-hero__copy .display,
.team-hero__copy p {
  margin: 0;
}

.team-hero__copy .display {
  max-width: 14ch;
  color: var(--color-white);
}

.team-hero__copy .display span {
  color: var(--color-copper);
}

.team-hero__intro {
  max-width: 54ch;
  font-size: var(--text-intro);
  line-height: 1.5;
}

.team-hero__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.team-hero__reassurance {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-small);
}

.team-hero__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}

.team-hero__media img {
  object-position: 62% center;
}

.team-values__intro {
  max-width: 64ch;
}

.team-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.team-values__grid > * {
  min-width: 0;
  width: 100%;
}

.team-value-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.team-value-card > * {
  margin: 0;
}

.team-value-card__number {
  width: 100%;
  padding-top: 12px;
  border-top: 2px solid var(--color-copper);
  color: var(--color-copper);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.team-occasions__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 48px;
}

.team-occasions__layout > * {
  min-width: 0;
}

.team-occasions__intro {
  max-width: 470px;
}

.team-occasions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.team-occasions__grid > * {
  min-width: 0;
  width: 100%;
}

.occasion-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.occasion-card > * {
  margin: 0;
}

.occasion-card--large {
  grid-column: 1 / -1;
}

.occasion-card__meta {
  margin-top: auto;
  color: var(--color-charcoal);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.occasion-card__meta--olive {
  color: var(--color-olive);
}

.occasion-card--dark {
  border-color: var(--color-charcoal);
  background: var(--color-charcoal);
  color: var(--color-white);
}

.occasion-card--dark h3,
.occasion-card--dark .occasion-card__meta {
  color: var(--color-white);
}

.occasion-card--dark::before {
  width: 48px;
  height: 2px;
  background: var(--color-copper);
  content: "";
}

.team-process__intro {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.team-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none !important;
}

.team-process__steps > * {
  min-width: 0;
  width: 100%;
}

.team-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 18px;
}

.team-step::before {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 24px);
  height: 2px;
  background: var(--color-copper);
  content: "";
}

.team-step--final::before {
  width: 100%;
}

.team-step__number {
  color: var(--color-copper);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.team-step--final .team-step__number {
  color: var(--color-olive);
}

.team-step__content {
  min-width: 0;
  max-width: 34ch;
}

.team-step__content h3,
.team-step__content p {
  margin: 0;
}

.team-step__content h3 {
  margin-bottom: 12px;
}

.team-food__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 48px;
}

.team-food__grid > * {
  min-width: 0;
}

.team-food__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}

.team-food__media img {
  object-position: center;
}

.team-food__copy {
  max-width: 600px;
}

.team-food__copy blockquote {
  max-width: 38ch;
}

.team-food__note {
  max-width: 58ch;
}

.team-food__checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 24px;
}

.team-food__checks p {
  position: relative;
  margin: 0;
  padding-left: 16px;
  max-width: 40ch;
}

.team-food__checks p::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-olive);
  content: "";
}

.team-lounge {
  padding-block: 72px;
}

.team-lounge__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  align-items: center;
  gap: 48px;
}

.team-lounge__grid > * {
  min-width: 0;
}

.team-lounge__copy {
  max-width: 560px;
}

.team-lounge__copy > h2,
.team-lounge__copy > p {
  color: var(--color-white);
}

.team-lounge__modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.team-lounge__modules > * {
  min-width: 0;
  width: 100%;
}

.team-lounge__module {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.team-lounge__module > * {
  margin: 0;
}

.team-lounge__module h3 {
  color: var(--color-white);
}

.team-lounge__module p {
  max-width: 42ch;
}

.team-lounge__module a {
  color: var(--color-white);
}

.team-lounge__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
}

.team-lounge__media img {
  object-position: center;
}

.team-details__intro {
  max-width: 610px;
}

.team-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 48px;
}

.team-details__grid > * {
  min-width: 0;
  width: 100%;
}

.team-detail {
  min-height: 0;
  padding: 32px 0;
  border-top: var(--border-default);
}

.team-detail:nth-child(1) {
  border-top: 2px solid var(--color-copper);
}

.team-detail > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-copper);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.team-detail--olive > span {
  color: var(--color-olive);
}

.team-detail h3 {
  margin-bottom: 12px;
}

.team-detail p {
  max-width: 38ch;
  margin-bottom: 0;
}

.team-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: 48px;
}

.team-faq__grid > * {
  min-width: 0;
}

.team-faq__intro {
  max-width: 390px;
}

.team-faq__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.team-faq__list > * {
  min-width: 0;
  width: 100%;
}

.team-faq__item {
  overflow: hidden;
  border: var(--border-default);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.team-faq__item[open] {
  border-color: var(--color-copper);
}

.team-faq__item summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  color: var(--color-charcoal);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
}

.team-faq__item summary::-webkit-details-marker {
  display: none;
}

.team-faq__item summary::after {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--color-copper);
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
}

.team-faq__item[open] summary::after {
  content: "−";
}

.team-faq__answer {
  max-width: 44ch;
  padding: 0 24px 24px;
}

.team-faq__answer p:last-of-type {
  margin-bottom: 16px;
}

.team-closing__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(820px, 100%);
  margin-inline: auto;
  padding: 64px;
  text-align: center;
}

.team-closing__card > * {
  margin: 0;
}

.team-closing__card p {
  max-width: 48ch;
}

.team-closing__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.team-closing__link {
  font-size: var(--text-small);
  font-weight: 700;
}

@media (max-width: 900px) {
  .team-hero,
  .team-lounge {
    padding-block: 56px;
  }

  .team-hero__grid,
  .team-occasions__layout,
  .team-food__grid,
  .team-lounge__grid,
  .team-faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-hero__grid {
    min-height: 0;
    gap: 32px;
  }

  .team-hero__copy,
  .team-occasions__intro,
  .team-food__copy,
  .team-lounge__copy,
  .team-faq__intro {
    max-width: none;
  }

  .team-hero__media {
    max-width: none;
  }

  .team-values__grid,
  .team-process__steps,
  .team-details__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-values__grid,
  .team-process__steps {
    gap: 24px;
  }

  .team-occasions__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .occasion-card--large {
    grid-column: auto;
  }

  .team-process__steps {
    position: relative;
    padding-left: 40px;
  }

  .team-process__steps::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
    width: 2px;
    background: var(--color-copper);
    content: "";
  }

  .team-step {
    flex-direction: row;
    gap: 16px;
    padding-top: 0;
  }

  .team-step::before {
    display: none;
  }

  .team-step__number {
    position: relative;
    z-index: 1;
    flex: 0 0 24px;
    width: 24px;
    margin-left: -40px;
    background: var(--color-linen);
  }

  .team-step__content {
    max-width: 40ch;
  }

  .team-food__grid,
  .team-lounge__grid,
  .team-faq__grid {
    gap: 32px;
  }

  .team-food__media {
    order: -1;
  }

  .team-lounge__media {
    order: 2;
  }

  .team-details__grid {
    gap: 0;
  }

  .team-detail p {
    max-width: 42ch;
  }
}

@media (max-width: 720px) {
  .team-hero,
  .team-lounge {
    padding-block: 40px;
  }

  .team-hero__copy {
    gap: 20px;
  }

  .team-hero__copy .display {
    max-width: 31ch;
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .team-hero__intro {
    font-size: 1.125rem;
  }

  .team-hero__action,
  .team-hero__action .button {
    width: 100%;
  }

  .team-hero__action {
    align-items: stretch;
  }

  .team-hero__reassurance {
    text-align: center;
  }

  .team-values__grid,
  .team-occasions__grid {
    gap: 24px;
  }

  .team-value-card,
  .occasion-card {
    padding: 28px;
  }

  .team-process__intro,
  .team-process__intro p {
    max-width: 34ch;
  }

  .team-process__intro {
    margin-inline: auto;
  }

  .team-food__copy blockquote {
    max-width: none;
    font-size: 1.5rem;
  }

  .team-lounge__module {
    padding: 28px;
  }

  .team-faq__answer {
    max-width: 36ch;
    padding: 0 20px 20px;
  }

  .team-faq__item summary {
    min-height: 56px;
    padding: 16px 20px;
  }

  .team-closing__card {
    padding: 28px;
  }

  .team-closing__card p {
    max-width: 32ch;
  }

  .team-closing__actions,
  .team-closing__actions .button {
    width: 100%;
  }

  .team-closing__link {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-events-page *,
  .team-events-page *::before,
  .team-events-page *::after {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
  }
}
