
:root {
  --bg: #071a33;
  --bg-soft: #0d2546;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.12);
  --text: #eff5ff;
  --muted: #b8c6dc;
  --gold: #c6ab72;
  --teal: #35bfc2;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html {
  background: linear-gradient(180deg, #071a33 0%, #0b2444 50%, #071a33 100%);
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #071a33 0%, #0b2444 50%, #071a33 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-shell { min-height: 100vh; background: transparent; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.center { text-align: center; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 18, 35, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.brand-text {
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.06);
}
.nav-links .nav-apply {
  padding: 12px 22px;
  border: 1px solid rgba(198,171,114,0.35);
  background: rgba(255,255,255,0.03);
  color: #f6f7fb;
}

.hero,
.page-hero { padding: 72px 0 34px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(198,171,114,0.32);
  color: #eed7a6;
  background: rgba(198,171,114,0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1,
.section h2 {
  margin: 16px 0 18px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero h1,
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.hero-lead,
.section p,
.member-body p,
li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.center-actions { justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(135deg, var(--teal), #2e9ca8);
  color: #071a33;
  box-shadow: 0 16px 34px rgba(53,191,194,0.25);
}
.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.hero-visual-card,
.card,
.member-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-visual-card {
  min-height: 440px;
  display: grid;
  place-items: center;
  padding: 40px;
  background: radial-gradient(circle at 50% 35%, rgba(53,191,194,0.12), rgba(255,255,255,0.03) 48%, rgba(255,255,255,0.02) 100%);
}
.hero-visual {
  width: min(420px, 80%);
  border-radius: 24px;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,0.25));
}

.section { padding: 40px 0 48px; }
.alt-section { background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04); }
.cards {
  display: grid;
  gap: 22px;
}
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  padding: 26px;
}
.card h3,
.timeline-content h3,
.member-body h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}
.wide-card { grid-column: 1 / -1; }

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}
.pill-grid span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(53,191,194,0.12);
  color: #d8f8f8;
  border: 1px solid rgba(53,191,194,0.26);
  font-size: 0.96rem;
}
.compact span { font-size: 0.9rem; }
.mini-top { margin-top: 18px; }

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.timeline-date {
  font-weight: 700;
  color: #f4ddb0;
  font-size: 1.08rem;
}
.timeline-content p:last-child { margin-bottom: 0; }

.stage-card ul,
.card ul {
  margin: 0 0 16px 18px;
  padding: 0;
}
.stage-card li,
.card li { margin: 8px 0; }

.team-section { padding-top: 20px; }
.team-grid-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.team-grid-bottom { margin-top: 28px; }
.portrait-card,
.feature-card,
.johan-card {
  overflow: hidden;
}
.portrait-wrap {
  padding: 28px 28px 10px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.member-photo.portrait {
  width: 250px;
  height: 250px;
  object-fit: cover;
  object-position: center center;
  background: #ffffff;
}
.member-photo.circle {
  border-radius: 999px;
  border: 6px solid rgba(255,255,255,0.08);
}
.member-photo.top-adjust {
  object-position: center 40%;
}
.member-body { padding: 22px; }
.member-role {
  color: #f1d8a4;
  font-weight: 700;
  margin-bottom: 6px;
}
.member-meta {
  color: #9eb1cf;
  margin-bottom: 16px;
}
.feature-card {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
}
.member-photo.fullbody {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center top;
}
.rounded-photo {
  border-radius: 28px 0 0 28px;
}
.daniel-card { min-height: 520px; }

.johan-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: stretch;
}
.member-photo.handshake {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center top;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
  background: rgba(5,16,31,0.55);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.footer-logo { width: 28px; height: 28px; border-radius: 8px; }
.footer-links {
  display: inline-flex;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .nav-wrap { align-items: flex-start; padding: 14px 0; }
  .brand { max-width: 360px; }
  .hero-grid, .feature-card, .two-up, .three-up, .stage-grid, .team-grid-top, .timeline-item, .johan-card {
    grid-template-columns: 1fr;
  }
  .rounded-photo { border-radius: 28px 28px 0 0; }
  .hero-visual-card { min-height: 320px; }
  .member-photo.fullbody { min-height: 420px; }
}
@media (max-width: 820px) {
  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .brand-text { white-space: normal; }
  .nav-links { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 720px) {
  .container, .narrow { width: min(100% - 24px, 1180px); }
  .nav-links { gap: 8px; }
  .nav-links a { padding: 7px 9px; font-size: 0.92rem; }
  .nav-links .nav-apply { padding: 10px 16px; }
  .hero, .page-hero, .section { padding-top: 28px; }
  .card, .member-body, .timeline-item { padding: 18px; }
  .button { width: 100%; }
  .member-photo.portrait { width: 220px; height: 220px; }
}
