/* 洄流 Reflow — 教練團隊頁
   延續公開站敘事語言：淺色水面開場，入水後交給深藍。照片是主角，動效只交代進場。 */

/* ---------- 水面開場 ---------- */

.crew-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: max(62svh, 480px);
  padding: calc(120px + env(safe-area-inset-top)) clamp(24px, 7vw, 110px) 96px;
  background:
    radial-gradient(70% 90% at 80% 20%, rgba(121, 170, 189, .24), transparent 60%),
    linear-gradient(150deg, #F7F3EB 0%, var(--shell) 52%, #D9E2E1 100%);
  overflow: clip;
}
.crew-hero-inner { width: min(1120px, 100%); margin: 0 auto; }
.crew-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.crew-hero h1 span { display: block; }
.crew-hero .hero-note { max-width: 620px; }
.crew-hero .hero-depth { bottom: 26px; }

/* ---------- 水下章節 ---------- */

.crew-story { position: relative; background: var(--ink-deep); color: var(--foam); }
.crew-chapter {
  position: relative;
  padding: clamp(84px, 10vw, 140px) clamp(24px, 8vw, 126px);
  background: linear-gradient(180deg, var(--water) 0%, var(--water-mid) 100%);
  overflow: clip;
}
.crew-chapter-alt { background: linear-gradient(180deg, var(--water-mid), #092842); }
.crew-chapter::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: min(12vw, 150px) 100%;
  opacity: .5;
}
.crew-shell { position: relative; z-index: 1; width: min(1120px, 100%); margin: 0 auto; }

.crew-head { margin-bottom: clamp(36px, 5vw, 56px); }
.crew-id { display: flex; align-items: center; gap: 22px; margin-top: 20px; }
.crew-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--white-14);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .35);
}
.crew-id h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.crew-id h2 small {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: .42em;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--current);
}
.crew-ig {
  display: inline-block;
  margin-top: 7px;
  color: var(--white-76);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 1px solid var(--white-14);
  padding-bottom: 2px;
  transition: color 140ms var(--ease-out), border-color 140ms var(--ease-out);
}
.crew-ig:hover { color: var(--foam); border-color: var(--current); }

/* 主圖 × 文案：桌面左右對望，交錯章節鏡像 */
.crew-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.crew-chapter-alt .crew-grid { grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); }
.crew-chapter-alt .crew-feature { order: 2; }
.crew-chapter-alt .crew-copy { order: 1; }

.crew-feature { position: relative; margin: 0; }
.crew-feature img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}
.crew-feature figcaption {
  margin-top: 12px;
  color: var(--white-48);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
}

.crew-role {
  color: var(--current);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.crew-bio { max-width: 560px; color: var(--white-76); font-size: 15px; line-height: 2.05; }

/* 履歷帳目：延續 offer-ledger 的行式語言 */
.crew-facts { margin-top: 30px; border-bottom: 1px solid var(--white-14); }
.crew-facts > div {
  display: grid;
  grid-template-columns: minmax(120px, .38fr) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--white-14);
}
.crew-facts dt {
  color: var(--current);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-top: 3px;
}
.crew-facts dd { color: var(--foam); font-size: 14px; line-height: 1.75; }
.crew-facts dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--white-14); text-underline-offset: 4px; }
.crew-facts dd a:hover { text-decoration-color: var(--current); }

.crew-quote {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 2px solid color-mix(in srgb, var(--current) 55%, transparent);
  color: var(--white-76);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.8;
}

/* 相片列：不足兩張時單張滿版 */
.crew-strip {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  margin-top: clamp(40px, 6vw, 64px);
}
.crew-strip figure { margin: 0; }
.crew-strip figcaption {
  margin-top: 10px;
  color: var(--white-48);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
}
.crew-strip figure:only-child { grid-column: 1 / -1; }
.crew-strip img {
  display: block;
  width: 100%;
  height: min(38vw, 360px);
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
}

/* ---------- 收尾 CTA ---------- */

.crew-cta {
  position: relative;
  padding: clamp(90px, 12vw, 150px) clamp(24px, 8vw, 126px);
  background: linear-gradient(180deg, #092842, var(--ink-deep));
  text-align: center;
  overflow: clip;
}
.crew-cta-inner { width: min(760px, 100%); margin: 0 auto; }
.crew-cta h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--foam);
  text-wrap: balance;
}
.crew-cta .hero-actions { justify-content: center; margin-top: 38px; }
.crew-cta .text-link { color: var(--white-76); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .crew-hero { min-height: auto; padding-top: calc(128px + env(safe-area-inset-top)); }
  .crew-grid,
  .crew-chapter-alt .crew-grid { grid-template-columns: 1fr; gap: 30px; }
  .crew-chapter-alt .crew-feature { order: 0; }
  .crew-chapter-alt .crew-copy { order: 0; }
  .crew-feature img { max-height: 440px; }
}

@media (max-width: 700px) {
  .crew-hero { padding-left: 20px; padding-right: 20px; padding-bottom: 84px; }
  .crew-hero .hero-depth { left: 20px; right: 20px; bottom: 20px; }
  .crew-chapter { padding: 72px 22px; }
  .crew-id { gap: 16px; }
  .crew-avatar { width: 68px; height: 68px; }
  .crew-facts > div { grid-template-columns: 1fr; gap: 4px; padding: 13px 0; }
  .crew-strip { grid-template-columns: 1fr; }
  .crew-strip img { height: min(58vw, 300px); }
  .crew-cta { padding: 84px 22px; }
}
