:root {
  --ink: #08162f;
  --blue: #103e84;
  --gold: #f3ca62;
  --cream: #fff7e7;
  --paper: #f3f6fb;
  --white: #fff;
  --muted: #68758c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.team-nav {
  position: sticky; z-index: 20; top: 0;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(18px, calc((100vw - 1180px) / 2)); color: #fff; border-bottom: 1px solid rgba(255,255,255,.16);
  background: rgba(5,16,35,.96); backdrop-filter: blur(18px); box-shadow: 0 12px 35px rgba(0,0,0,.2);
}
.team-brand { display: flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -.02em; }
.team-brand img { width: 43px; height: 43px; padding: 3px; object-fit: contain; border-radius: 12px; background: #fff; }
.team-nav__links { display: flex; align-items: center; gap: 22px; font-size: .92rem; font-weight: 750; }
.team-nav__links a { opacity: .82; }
.team-nav__links a:hover { opacity: 1; color: var(--gold); }
.team-nav__cta { padding: 11px 18px; border-radius: 12px; color: var(--ink) !important; background: var(--gold); opacity: 1 !important; }

.team-hero { position: relative; height: min(86vh, 900px); min-height: 620px; display: grid; place-items: center; overflow: hidden; background: #050505; }
.team-hero__image { width: 100%; height: 100%; object-fit: contain; object-position: center; animation: heroEase 1.2s ease both; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 900; color: var(--gold); }
.team-hero h1 { margin: 0; max-width: 12ch; font-size: clamp(3.1rem, 6.2vw, 7rem); line-height: .91; letter-spacing: -.065em; }
.team-hero p { max-width: 590px; margin: 24px 0 0; color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.65; }
.scroll-cue { position: absolute; z-index: 3; bottom: 26px; left: 32px; color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; writing-mode: vertical-rl; }

.founder { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); height: 430px; min-height: 0; background: var(--cream); }
.founder__portrait { min-height: 0; overflow: hidden; }
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .7s ease; }
.founder__portrait { background: #f1f3f7; }
.founder__portrait img { object-fit: contain; object-position: center; }
.founder:hover .founder__portrait img { transform: scale(1.025); }
.founder__copy { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); grid-template-rows: auto auto; align-content: center; column-gap: clamp(34px, 5vw, 84px); padding: 42px clamp(42px, 7vw, 112px); }
.founder__copy .eyebrow { grid-column: 1; align-self: end; }
.founder__copy h2, .team-intro h2, .profile-title { margin: 0; font-size: clamp(2.8rem, 5.4vw, 6.4rem); line-height: .94; letter-spacing: -.06em; }
.founder__copy h2 { grid-column: 1; grid-row: 2; font-size: clamp(2.7rem, 4.5vw, 5.2rem); }
.founder__copy .lead { grid-column: 2; grid-row: 1; align-self: end; max-width: 660px; margin: 0 0 16px; font-size: clamp(1rem, 1.45vw, 1.3rem); line-height: 1.55; color: #34425a; }
.founder__copy .text-link { grid-column: 2; grid-row: 2; align-self: start; margin-top: 0; }
.text-link { display: inline-flex; align-items: center; gap: 12px; width: fit-content; margin-top: 34px; font-weight: 900; border-bottom: 2px solid currentColor; padding-bottom: 5px; }

.team-intro { padding: clamp(74px, 10vw, 150px) max(22px, calc((100vw - 1180px) / 2)); background: var(--ink); color: #fff; }
.team-intro__top { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 54px; }
.team-intro h2 { max-width: 900px; }
.team-intro__top p { max-width: 360px; color: #b9c4d8; line-height: 1.65; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.person-card { position: relative; min-height: 480px; overflow: hidden; isolation: isolate; background: #14233c; opacity: 0; transform: translateY(18px); transition: opacity .65s ease var(--delay), transform .65s ease var(--delay); }
.person-card.is-visible { opacity: 1; transform: translateY(0); }
.person-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.88); transition: transform .55s ease, filter .55s ease; }
.person-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,8,18,.88), transparent 48%); }
.person-card__info { position: absolute; z-index: 2; left: 22px; bottom: 20px; display: grid; gap: 4px; color: #fff; }
.person-card__info strong { font-size: 1.3rem; }
.person-card__info small { color: rgba(255,255,255,.68); }
.person-card__arrow { position: absolute; z-index: 2; right: 18px; bottom: 20px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.46); border-radius: 50%; color: #fff; opacity: 0; transform: translate(-8px, 8px); transition: .3s ease; }
.person-card:hover img { transform: scale(1.045); filter: saturate(1.05); }
.person-card:hover .person-card__arrow { opacity: 1; transform: translate(0); }

.team-footer { display: flex; justify-content: space-between; gap: 24px; padding: 42px max(22px, calc((100vw - 1180px) / 2)); background: #050e20; color: #aebbd1; }
.team-footer strong { color: #fff; }

.profile-page { background: #071329; }
.profile-stage { width: min(1180px, calc(100% - 36px)); margin: 38px auto; display: grid; grid-template-columns: minmax(320px, 520px) 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; opacity: 0; transform: translateY(10px); transition: opacity .32s ease, transform .32s ease; }
.profile-stage.is-ready { opacity: 1; transform: translateY(0); }
.profile-poster { overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; background: #050505; box-shadow: 0 30px 80px rgba(0,0,0,.36); }
.profile-poster img { width: 100%; height: auto; object-fit: contain; }
.profile-summary { color: #fff; }
.profile-summary .breadcrumb { margin-bottom: 32px; color: #9cabc5; }
.profile-summary h1 { margin: 0; font-size: clamp(3.2rem, 7vw, 7rem); line-height: .9; letter-spacing: -.065em; }
.profile-summary > p:not(.eyebrow) { max-width: 560px; margin: 25px 0 0; color: #bdc8da; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.6; }
.profile-back { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; padding: 14px 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-weight: 850; transition: .25s ease; }
.profile-back:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.profile-hero { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--cream); }
.profile-copy { padding: 170px clamp(38px, 7vw, 120px) 80px; display: flex; flex-direction: column; justify-content: center; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 54px; color: #68758c; font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.profile-title { max-width: 9ch; }
.profile-role { margin: 20px 0 0; color: var(--blue); font-size: 1.18rem; font-weight: 900; }
.profile-intro { max-width: 620px; margin: 40px 0 0; color: #354158; font-size: clamp(1.2rem, 2.15vw, 1.75rem); line-height: 1.46; }
.profile-portrait { min-height: 100vh; background: #101d34; }
.profile-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-story { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 8vw, 130px); padding: clamp(80px, 11vw, 160px) max(22px, calc((100vw - 1180px) / 2)); background: #fff; }
.profile-story h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4.5rem); line-height: 1; letter-spacing: -.05em; }
.profile-story__body p { margin: 0; max-width: 760px; font-size: clamp(1.1rem, 1.65vw, 1.35rem); line-height: 1.75; color: #465269; }
.focus-card { margin-top: 42px; padding: 30px; border-radius: 22px; background: var(--ink); color: #fff; }
.focus-card small { display: block; margin-bottom: 9px; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.more-people { padding: 58px max(22px, calc((100vw - 1180px) / 2)) 74px; background: #0b1b38; color: #fff; }
.more-people__heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 38px; }
.more-people h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.055em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { min-width: 0; background: #14233c; }
.related-card { display: grid; grid-template-columns: 105px 1fr; align-items: center; min-height: 120px; border-radius: 18px; overflow: hidden; transition: transform .25s ease, background .25s ease; }
.related-card:hover { transform: translateY(-4px); background: #1a2d4e; }
.related-card img { width: 105px; height: 120px; aspect-ratio: auto; object-fit: cover; object-position: top; }
.related-card span { display: grid; gap: 4px; padding: 20px; }
.related-card small { color: #aebbd1; }

@keyframes heroEase { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 900px) {
  .team-nav__links a:not(.team-nav__cta) { display: none; }
  .founder, .profile-hero, .profile-story { grid-template-columns: 1fr; }
  .profile-stage { grid-template-columns: minmax(280px, 440px) 1fr; gap: 34px; }
  .founder { height: auto; }
  .founder__portrait { min-height: 460px; max-height: 560px; }
  .founder__copy { display: flex; padding: 54px 34px 64px; }
  .founder__copy .lead { margin-top: 24px; }
  .founder__copy .text-link { margin-top: 28px; transform: none; }
  .profile-portrait { min-height: 72vh; grid-row: 1; }
  .profile-copy { padding-top: 90px; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .team-intro__top { display: block; }
  .team-intro__top p { margin-top: 26px; }
}
@media (max-width: 580px) {
  .team-nav { top: 0; }
  .team-brand span { font-size: .9rem; }
  .team-nav__cta { padding: 10px 12px; }
  .team-hero { height: auto; min-height: 0; }
  .team-hero__image { width: 100%; height: auto; object-position: center; }
  .founder__portrait { min-height: 520px; }
  .founder__copy { padding: 58px 24px 70px; }
  .people-grid { grid-template-columns: 1fr; gap: 2px; }
  .person-card { min-height: 560px; }
  .profile-copy { padding: 70px 24px; }
  .profile-portrait { min-height: 620px; }
  .related-grid { grid-template-columns: 1fr; }
  .team-footer { flex-direction: column; }
  .profile-stage { width: min(620px, calc(100% - 28px)); grid-template-columns: 1fr; margin: 24px auto 54px; }
  .profile-summary { grid-row: 1; padding: 18px 4px 0; }
  .profile-summary .breadcrumb { margin-bottom: 22px; }
  .profile-summary h1 { font-size: clamp(3.2rem, 16vw, 5.4rem); }
  .profile-poster { border-radius: 20px; }
  .more-people__heading { align-items: flex-start; flex-direction: column; }
}
