/* Team pages. Colors and type mirror the Claude Design export (export/index.html). */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #101214; font-family: var(--font-body); }
a { color: #0e8ba3; text-decoration: none; }
a:hover { color: #19bedc; }
img { max-width: 100%; display: block; }
button { border-radius: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--color-neutral-300); }
.site-header .wrap { padding-block: 14px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo { display: flex; align-items: stretch; gap: 8px; flex: 0 0 auto; }
.logo-bar { width: 7px; background: #19bedc; }
.logo-text { font-family: Poppins, sans-serif; font-weight: 800; font-size: 15px; line-height: 0.95; letter-spacing: -0.02em; color: #101214; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; font-family: var(--font-heading); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav a { color: var(--color-text); }
.site-nav a:hover, .site-nav a[aria-current] { color: #0e8ba3; }
.langs { display: flex; flex: 0 0 auto; border: 1px solid var(--color-neutral-400); }
.langs button { border: 0; border-right: 1px solid var(--color-neutral-400); background: #fff; color: #4a5054; font-family: var(--font-heading); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 11px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: #0e8ba3; color: #fff; }
.btn-register { flex: 0 0 auto; background: #19bedc; color: #101214; font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 18px; }
.btn-register:hover { background: #0e8ba3; color: #fff; }

/* Page hero */
.hero { background: #101214; color: #fff; border-bottom: 5px solid #19bedc; }
.hero .wrap { padding-block: clamp(52px, 7vw, 84px); display: flex; flex-direction: column; gap: 16px; }
.hero-slim .wrap { padding-block: 22px; }
.kicker { font-family: var(--font-heading); font-weight: 700; font-size: 18px; letter-spacing: 0.22em; text-transform: uppercase; color: #19bedc; }
.hero h1 { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(34px, 5vw, 60px); line-height: 1.0; text-wrap: balance; }
.hero p { margin: 0; max-width: 52ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: #b9bec2; }

/* Member cards */
.section { padding-block: clamp(48px, 6vw, 80px); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.member { display: flex; flex-direction: column; border: 1px solid var(--color-neutral-400); border-top: 5px solid #0e8ba3; color: #101214; background: #fff; transition: border-color .15s, transform .15s; }
.member:hover { color: #101214; border-color: #0e8ba3; transform: translateY(-2px); }
.member-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.member h2, .member h3 { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.role { font-family: var(--font-heading); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: #0e8ba3; }
.member p { margin: 0; font-size: 16px; line-height: 1.6; color: #4a5054; }
.member-link { margin-top: auto; padding-top: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: #101214; }
.member:hover .member-link { color: #0e8ba3; }

/* Portrait (photo or initials) */
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 100%; background: #101214; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: Poppins, sans-serif; font-weight: 800; font-size: clamp(48px, 7vw, 88px); letter-spacing: -0.02em; color: #19bedc;
  background: radial-gradient(circle at 30% 20%, #16414d 0%, #101214 65%); }

/* Profile */
.back { display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: #b9bec2; }
.back:hover { color: #19bedc; }
.profile { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.profile .portrait { border-top: 5px solid #0e8ba3; }
.profile-info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.profile-info h1 { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(36px, 5vw, 60px); line-height: 1.0; }
.bio { display: flex; flex-direction: column; gap: 18px; max-width: 62ch; }
.bio p { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: #4a5054; }
.btn-dark { align-self: flex-start; display: inline-block; background: #101214; color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 20px; }
.btn-dark:hover { background: #0e8ba3; color: #fff; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.links .btn-dark { text-transform: none; letter-spacing: 0.04em; }
.btn-outline { display: inline-block; border: 1px solid #101214; color: #101214; font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; padding: 13px 19px; }
.btn-outline:hover { background: #101214; color: #fff; }
.more { border-top: 1px solid var(--color-neutral-300); }
.more h2 { margin: 0 0 28px; font-family: var(--font-heading); font-weight: 700; font-size: clamp(26px, 3vw, 36px); }

/* Mobile menu (same breakpoint and behaviour as the home page, see src/site.css) */
.aqua-menu-btn { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--color-neutral-400); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.aqua-menu-btn span { display: block; width: 20px; height: 2px; background: #101214; transition: transform .2s, opacity .2s; }
html.aqua-menu-open .aqua-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html.aqua-menu-open .aqua-menu-btn span:nth-child(2) { opacity: 0; }
html.aqua-menu-open .aqua-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header .wrap { gap: 0 16px; padding-block: 10px; }
  .aqua-menu-btn { display: inline-flex; }
  .site-nav, .langs, .btn-register { display: none; }
  html.aqua-menu-open .site-nav { display: flex; flex-direction: column; flex-basis: 100%; gap: 0; margin: 10px 0 0; border-top: 1px solid var(--color-neutral-300); }
  html.aqua-menu-open .site-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--color-neutral-200); }
  html.aqua-menu-open .langs { display: flex; margin-top: 16px; }
  html.aqua-menu-open .langs button { min-width: 48px; min-height: 44px; }
  html.aqua-menu-open .btn-register { display: block; flex: 0 0 100%; margin: 16px 0 12px; padding: 15px 18px; text-align: center; }
}

@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; }
  .profile .portrait { width: 100%; max-width: 260px; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .member { flex-direction: row; border-top-width: 1px; border-left: 5px solid #0e8ba3; }
  .member:hover { transform: none; }
  .member .portrait { flex: 0 0 104px; aspect-ratio: auto; min-height: 130px; }
  .member-body { padding: 14px 16px 16px; gap: 6px; }
  .member h2, .member h3 { font-size: 22px; }
  .member p { font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .member-link { padding-top: 4px; font-size: 13px; }
  .portrait .initials { font-size: 36px; }
  .cta .btn-dark { width: 100%; text-align: center; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .site-footer nav a { padding: 10px 0; }
}

/* CTA band */
.cta { background: #19bedc; }
.cta .wrap { padding-block: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta h2 { margin: 0 0 8px; font-family: var(--font-heading); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.0; }
.cta p { margin: 0; max-width: 48ch; font-size: 17px; line-height: 1.55; }

/* Footer */
.site-footer { background: #101214; color: #e6e8ea; }
.site-footer .top { padding-block: 56px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; align-items: start; }
.site-footer .logo-bar { width: 10px; }
.site-footer .logo-text { font-size: 22px; color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--font-heading); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: #e6e8ea; }
.site-footer a:hover { color: #19bedc; }
.site-footer .contact { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #2b2f33; }
.social:hover { border-color: #19bedc; }
.site-footer .bottom { padding-block: 18px 40px; border-top: 1px solid #2b2f33; font-size: 13px; color: #6f767b; }
