.team-main { color: var(--ink); background: var(--paper-light); }
.team-article { max-width: 1200px; margin: 0 auto; padding: 52px 32px 90px; }
.team-article h1, .team-article h2, .team-article h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
.team-article h1 { margin: 0 0 28px; font-size: clamp(54px, 6.5vw, 90px); line-height: .98; }
.team-article h2 { margin: 0 0 22px; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.05; }
.team-article h3 { margin: 32px 0 14px; font-size: 34px; line-height: 1.1; }
.team-article p { max-width: 70ch; margin: 0 0 18px; font-size: 18px; line-height: 1.58; }
.team-article a { color: var(--blood); text-underline-offset: 4px; }
.team-article a:focus-visible { outline: 2px solid var(--blood); outline-offset: 5px; }
.team-opening { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 60px; align-items: center; padding-bottom: 54px; }
.team-opening .team-figure img { max-height: 600px; }
.team-figure { min-width: 0; margin: 0; }
.team-figure a { display: block; cursor: zoom-in; }
.team-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
.team-figure figcaption { margin-top: 10px; color: #514b40; font-size: 14px; line-height: 1.45; }
.team-blood { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 60px; padding: 58px 0; border-top: 1px solid var(--line-light); }
.team-prose { max-width: 740px; margin-inline: auto; }
.team-brothers { padding-top: 30px; }
.team-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 56px; margin-top: 34px; }
.team-role .team-figure img { height: 530px; }
.team-role h3 { margin-top: 24px; }
.team-rules { margin-block: 72px; padding-top: 44px; border-top: 1px solid var(--line-light); }
.team-rules dl { margin: 28px 0; }
.team-rules dl > div { padding: 16px 0; border-top: 1px solid var(--line-light); }
.team-rules dt { margin-bottom: 7px; font-size: 18px; font-weight: 700; }
.team-rules dd { margin: 0; font-size: 18px; line-height: 1.55; }
.team-text-link { display: inline-flex; align-items: center; min-height: 44px; }
.team-ending > .team-figure { max-width: 819px; margin: 32px auto 24px; }
.team-article .team-credits { color: #514b40; font-size: 14px; line-height: 1.5; }
.team-end-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 30px; border-top: 1px solid var(--line-light); }
.team-end-links a { display: inline-flex; align-items: center; min-height: 52px; }
@media (hover: hover) and (pointer: fine) { .team-text-link:hover, .team-end-links a:hover { color: var(--ink); } }
@media (max-width: 900px) {
  .team-opening, .team-blood { gap: 32px; }
  .team-roles { gap: 44px 32px; }
  .team-role .team-figure img { height: 420px; }
}
@media (max-width: 650px) {
  .team-article { padding: 34px 20px 60px; }
  .team-opening, .team-blood, .team-roles { grid-template-columns: minmax(0, 1fr); }
  .team-opening { gap: 14px; padding-bottom: 36px; }
  .team-opening .team-figure { max-width: 390px; margin-inline: auto; }
  .team-article h1 { font-size: clamp(48px, 13vw, 70px); margin-bottom: 24px; }
  .team-article h2 { font-size: 40px; }
  .team-article h3 { font-size: 32px; }
  .team-article p { font-size: 18px; line-height: 1.55; }
  .team-blood { padding-block: 38px; gap: 18px; }
  .team-brothers { padding-top: 8px; }
  .team-roles { gap: 32px; margin-top: 24px; }
  .team-role .team-figure img { height: auto; max-height: 540px; }
  .team-role h3 { margin-top: 20px; }
  .team-rules { margin-block: 46px; padding-top: 30px; }
  .team-rules dd { font-size: 17px; }
}
