:root {
  --bg: #0a0a0a;
  --bg-alt: #121212;
  --fg: #f5f5f3;
  --muted: #8a8a85;
  --line: #2a2a28;
  --accent: #e4312b;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* NAV */
header.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-name {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 15px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links a:hover { color: var(--fg); }
.nav-links { display: none; }
@media (min-width: 720px) { .nav-links { display: flex; } }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.96) 100%), url('assets/photos/hero.jpg');
  background-size: cover;
  background-position: center 20%;
}
.hero .eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(48px, 10vw, 118px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero .sub {
  margin-top: 28px;
  font-size: clamp(16px, 2.4vw, 22px);
  color: var(--muted);
  max-width: 640px;
}
.hero .sub strong { color: var(--fg); font-weight: 600; }

/* SECTION HEADS */
.section { padding: 90px 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 44px;
}
.section-num {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* PROFILE PHOTO */
.profile-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 44px;
}
@media (min-width: 760px) { .profile-top { grid-template-columns: 200px 1fr; } }
.profile-photo-wrap {
  width: 100%;
  border: 1px solid var(--line);
  overflow: hidden;
}
.profile-photo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  max-height: 320px;
  object-position: center 18%;
  filter: saturate(0.92) contrast(1.03);
}
@media (min-width: 760px) { .profile-photo-wrap img { max-height: none; } }

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 480px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat {
  background: var(--bg);
  padding: 28px 20px;
}
.stat .label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}
.stat .value {
  font-size: 26px;
  font-weight: 700;
}
.stat .value .flag { font-size: 20px; }

/* PROFILE TEXT */
.profile-text {
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.55;
  max-width: 760px;
  color: #d8d8d4;
}
.profile-text strong { color: var(--fg); }

/* POSITION DIAGRAM */
.position-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 800px) { .position-wrap { grid-template-columns: 320px 1fr; } }
.pitch-svg { width: 100%; max-width: 320px; display: block; margin: 0 auto; }
.position-legend { display: flex; flex-direction: column; gap: 22px; }
.pos-item { display: flex; align-items: center; gap: 16px; }
.pos-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.pos-dot.primary { background: var(--accent); color: #fff; }
.pos-dot.secondary { background: transparent; border: 2px solid var(--fg); color: var(--fg); }
.pos-item .pos-title { font-weight: 700; font-size: 17px; }
.pos-item .pos-sub { color: var(--muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* CAREER TIMELINE */
.timeline { display: flex; flex-direction: column; }
.tl-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.tl-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .tl-row { grid-template-columns: 110px 1fr; } }
.tl-years {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 3px;
}
.tl-club {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
}
.tl-club .flag { font-size: 16px; }
.tl-meta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}
.tl-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.tag.champion { border-color: var(--accent); color: var(--accent); }

/* NATIONAL TEAM BANNER */
.nt-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--bg-alt);
}
.nt-flag { font-size: 44px; line-height: 1; flex-shrink: 0; }
.nt-title { font-size: clamp(20px, 3vw, 26px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.nt-caps { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }
.nt-achievement { margin-top: 10px; font-size: 17px; color: #d8d8d4; }
.nt-achievement strong { color: var(--fg); }

/* VIDEOS */
.video-group { margin-bottom: 56px; }
.video-group:last-child { margin-bottom: 0; }
.video-group h3 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 18px;
  font-family: var(--mono);
}
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
}
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.video-placeholder .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* EDUCATION */
.edu-row { display: flex; flex-direction: column; gap: 6px; }
.edu-row .school { font-size: 22px; font-weight: 700; }
.edu-row .faculty { color: var(--muted); font-family: var(--mono); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* FOOTER / CONTACT */
footer {
  padding: 70px 0 50px;
}
footer .wrap { display: flex; flex-direction: column; gap: 24px; }
footer h2 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.contact-line {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}
.contact-line a { color: var(--fg); border-bottom: 1px solid var(--accent); }
.social-links { display: flex; gap: 24px; font-family: var(--mono); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.social-links a:hover { color: var(--fg); border-color: var(--accent); }
.social-links svg { width: 16px; height: 16px; fill: currentColor; }
footer .foot-meta {
  margin-top: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--mono);
}
