/* Team page only; shared navigation and site components keep their own styles. */
body[data-page="team"] { background: #f7f8f6; }
.crew-brand { display: inline-block; white-space: nowrap; word-break: normal; overflow-wrap: normal; hyphens: none; }
.crew-intro {
  position: relative;
  overflow: hidden;
  padding: 65px 0 76px;
  background: radial-gradient(ellipse at 91% 9%, #ac99751a, transparent 42%), #071827;
  color: #fff;
}
.crew-intro::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6ac9e750, transparent);
}
.crew-intro-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 90px; align-items: center; }
.crew-intro .eyebrow { color: #83deef; font-size: 12px; margin-bottom: 22px; }
.crew-intro h1 { font-size: clamp(40px, 4.1vw, 62px); line-height: 1.14; letter-spacing: -.055em; }
.crew-intro h1 span { color: #8ce3f2; }
.crew-intro-text { color: #bed0da; font-size: 16px; line-height: 1.85; max-width: 520px; margin: 24px 0; }
.crew-jump { display: inline-flex; align-items: center; gap: 14px; padding-block: 5px; font-size: 13px; font-weight: 750; color: #fff; }
.crew-jump .icon { width: 17px; height: 17px; color: #8ce3f2; transition: transform .2s ease; }
.crew-jump:hover .icon { transform: translateY(3px); }
.crew-note {
  padding: 30px 34px;
  border: 1px solid #c2dce32b;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff0b, #ffffff03);
  box-shadow: 0 16px 45px #0000000d;
}
.crew-note-top { display: flex; align-items: center; gap: 12px; color: #bfd1dc; font-size: 13px; margin-bottom: 24px; }
.crew-note-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #8cdded35; border-radius: 11px; color: #8ce3f2; }
.crew-note-mark .icon { width: 20px; height: 20px; }
.crew-note h2 { color: #f8f5ed; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.25; letter-spacing: -.035em; }
.crew-note > p { margin: 18px 0 25px; color: #b5c8d4; font-size: 14px; line-height: 1.85; max-width: 360px; }
.crew-note-bottom { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid #bfdce21c; font-size: 12px; color: #c1d6df; }
.crew-note-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #8ce3f2; }
.crew-section { padding: 66px 0 58px; scroll-margin-top: 105px; }
.crew-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.crew-section-heading .eyebrow { margin-bottom: 12px; font-size: 12px; }
.crew-section-heading h2 { font-size: clamp(28px, 2.7vw, 38px); letter-spacing: -.045em; }
.crew-section-heading > p { color: #617481; font-size: 14px; line-height: 1.8; margin: 0; }
.crew-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.crew-card {
  min-width: 0;
  overflow: hidden;
  padding: 7px 7px 0;
  border: 1px solid #e2e7e4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px #18322404;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.crew-photo { overflow: hidden; aspect-ratio: 1; border-radius: 12px; background: #e8e8df; }
.crew-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .55s cubic-bezier(.2,.65,.3,1); }
.crew-person { padding: 21px 13px 24px; }
.crew-person h3 { color: #142d3a; font-size: 18px; line-height: 1.4; font-weight: 800; letter-spacing: -.035em; overflow-wrap: break-word; }
.crew-person h3 span { font-weight: 750; }
.crew-person p { color: #5d707a; font-size: 13px; line-height: 1.65; margin: 7px 0 0; }
.crew-invite {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 28px;
  border: 1px solid #cfe1df;
  border-radius: 18px;
  background: linear-gradient(145deg, #eef8f4, #e3f1f2);
  color: #164b50;
}
.crew-coffee { margin-bottom: 18px; }
.crew-coffee svg { width: 40px; height: 40px; fill: none; stroke: #35818b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.crew-invite .eyebrow { color: #407875; font-size: 11px; margin: 0 0 12px; }
.crew-invite h3 { color: #164b50; font-size: 27px; line-height: 1.22; letter-spacing: -.045em; }
.crew-invite > p:not(.eyebrow) { margin: 15px 0 22px; color: #4e7071; font-size: 13px; line-height: 1.8; }
.crew-invite-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; width: 100%; padding-top: 12px; border-top: 1px solid #b8d4d1; color: #155e68; font-size: 14px; font-weight: 800; }
.crew-invite-link .icon { width: 19px; height: 19px; transition: transform .2s ease; }
.crew-invite-link:hover .icon { transform: translateX(3px); }
.crew-closing { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #dfe6e1; padding-top: 29px; margin-top: 39px; }
.crew-closing p { margin: 0; color: #5d747d; font-size: 14px; }
.crew-closing .text-link { white-space: nowrap; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .crew-card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px #173b4210; border-color: #a8cfd2; }
  .crew-card:hover .crew-photo img { transform: scale(1.025); }
}
@media (max-width: 1200px) {
  .crew-intro-layout { gap: 48px; }
  .crew-grid { gap: 18px; }
  .crew-person { padding-inline: 10px; }
  .crew-person h3 { font-size: 17px; }
  .crew-invite { padding: 22px; }
  .crew-invite h3 { font-size: 24px; }
}
@media (max-width: 1000px) {
  .crew-intro { padding-block: 48px 58px; }
  .crew-intro-layout { grid-template-columns: 1.2fr 1fr; gap: 28px; }
  .crew-note { padding: 25px; }
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .crew-person h3 { font-size: 20px; }
  .crew-person { padding: 22px 16px 26px; }
  .crew-invite { padding: 32px; }
  .crew-invite h3 { font-size: 32px; }
}
@media (max-width: 720px) {
  .crew-intro-layout { grid-template-columns: 1fr; gap: 32px; }
  .crew-intro h1 { font-size: clamp(37px, 7.5vw, 51px); }
  .crew-intro-text { font-size: 15px; }
  .crew-note { padding: 24px; }
  .crew-note-top { margin-bottom: 18px; }
  .crew-note h2 { font-size: 27px; }
  .crew-note h2 br { display: none; }
  .crew-note > p { max-width: none; margin-bottom: 20px; }
  .crew-section { padding-block: 44px; }
  .crew-section-heading { display: block; margin-bottom: 27px; }
  .crew-section-heading > p { margin-top: 15px; }
  .crew-section-heading > p br { display: none; }
  .crew-grid { gap: 18px; }
  .crew-person { padding: 17px 8px 22px; }
  .crew-person h3 { font-size: 17px; }
  .crew-invite { padding: 24px; }
  .crew-invite h3 { font-size: 25px; }
  .crew-closing { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 30px; }
}
@media (max-width: 520px) {
  .crew-grid { grid-template-columns: 1fr; gap: 22px; }
  .crew-person { padding: 22px 17px 26px; }
  .crew-person h3 { font-size: 21px; }
  .crew-person p { font-size: 14px; }
  .crew-invite { padding: 30px; min-height: 330px; }
  .crew-invite h3 { font-size: 31px; }
  .crew-invite > p:not(.eyebrow) { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .crew-card, .crew-photo img, .crew-jump .icon, .crew-invite-link .icon { transition: none; }
}
