/* ============ Tokens ============ */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f4f0;
  --surface: #ffffff;
  --card: #f5f4f0;
  --field: #f5f4f0;
  --ink: #141414;
  --ink-2: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e4e2dc;
  --line-strong: #3a3a3a;
  --blue: #2b4c9b;
  --blue-ink: #2b4c9b;
  --gold: #e3b744;
  --dark: #141416;
  --dark-ink: #ffffff;
  --pitch: #f2f5fb;
  --pitch-line: #c9d2e6;
  --font: "Jost", "Heebo", system-ui, -apple-system, sans-serif;
  --container: 1072px;
  --gutter: 24px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #121315;
  --bg-alt: #18191c;
  --surface: #1d1e22;
  --card: #1d1e22;
  --field: #23252a;
  --ink: #f2f1ed;
  --ink-2: #d4d3cf;
  --muted: #9a9a9a;
  --line: #2e3035;
  --line-strong: #8a8a8a;
  --blue: #3d63c2;
  --blue-ink: #8eaaf0;
  --dark: #0b0b0c;
  --pitch: #1a2030;
  --pitch-line: #34405c;
  color-scheme: dark;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html[lang="he"] body { --font: "Heebo", "Jost", system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.container { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 20px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { box-shadow: 0 6px 18px -8px var(--blue); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-gold { background: var(--gold); color: #141414; width: 100%; }
.btn-primary .icon path[d^="M8 5"], .btn-outline .icon { stroke-width: 1.6; }

.pill-btn, .icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-alt); cursor: pointer; transition: background-color .15s;
}
.pill-btn { padding: 0 14px; font-weight: 500; font-size: 14px; }
.icon-btn { width: 38px; }
.pill-btn:hover, .icon-btn:hover { background: var(--line); }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-alt) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: block; }
.logo img { height: 20px; width: auto; mix-blend-mode: multiply; }
:root[data-theme="dark"] .logo img { filter: invert(1); mix-blend-mode: screen; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.site-menu { border-top: 1px solid var(--line); background: var(--bg-alt); }
.site-menu ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 24px; padding: 20px 0 24px; }
.site-menu a { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; font-size: 17px; font-weight: 400; }
.site-menu a span:first-child { font-size: 11px; letter-spacing: .14em; color: var(--blue-ink); font-weight: 500; }
.site-menu a:hover span:last-child { color: var(--blue-ink); }

/* ============ Sections ============ */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-title { display: flex; align-items: baseline; gap: 18px; font-weight: 300; font-size: clamp(34px, 4.4vw, 48px); line-height: 1.1; margin-bottom: 48px; }
.section-num { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--blue-ink); }
.section-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.section-title-row .section-title { margin-bottom: 0; }
.section-aside { font-size: 13px; color: var(--ink-2); font-weight: 400; }
.label-heading { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.label-heading.small { font-weight: 500; color: var(--ink-2); }
.muted { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ============ Hero ============ */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 28px; }
.eyebrow-line { display: inline-block; width: 28px; height: 2px; background: var(--gold); }
.hero-name { font-weight: 200; font-size: clamp(64px, 9vw, 104px); line-height: .92; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 36px; }
.hero-role { font-size: 22px; font-weight: 500; color: var(--blue-ink); margin-bottom: 6px; }
.hero-teams { font-size: 15px; color: var(--ink-2); margin-bottom: 28px; }
.hero-lead { font-size: 17px; color: var(--ink); max-width: 460px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 552px; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-stats dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.hero-stats dd { font-size: 24px; font-weight: 300; }

.hero-photo { position: relative; margin-top: 44px; padding: 14px 0 0 14px; }
.hero-photo::before { content: ""; position: absolute; inset: 0 14px 14px 0; border: 1px solid var(--line); }
.photo-frame { position: relative; aspect-ratio: 330 / 420; overflow: hidden; background: #e9eaee; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.shirt-badge {
  position: absolute; left: 0; bottom: 30px;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.shirt-num { font-size: 34px; font-weight: 200; letter-spacing: 0; color: var(--ink); line-height: 1; }

.strengths { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; background: var(--surface); border: 1px solid var(--line); }
.strength { display: flex; gap: 16px; padding: 30px 26px; }
.strength + .strength { border-inline-start: 1px solid var(--line); }
.strength .num { font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--blue-ink); padding-top: 3px; }
.strength h3 { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.strength p { font-size: 15px; color: var(--muted); }

/* ============ General info ============ */
.info-layout { display: grid; grid-template-columns: 1fr 276px; gap: 20px; }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.info-cell { padding: 24px 20px 28px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); min-width: 0; }
.info-cell dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.info-cell dd { font-size: 22px; font-weight: 400; line-height: 1.2; }
.info-cell small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 10px; }
.cv-card { background: var(--dark); color: var(--dark-ink); padding: 30px 28px; display: flex; flex-direction: column; }
.cv-card .cv-icon { width: 24px; height: 24px; margin-bottom: 18px; stroke-width: 1.4; }
.cv-card h3 { font-size: 22px; font-weight: 400; margin-bottom: 12px; }
.cv-card p { font-size: 13px; color: #c9c9c9; margin-bottom: 28px; }
.cv-card .btn { margin-top: auto; }

/* ============ About ============ */
.about-layout { display: grid; grid-template-columns: 1fr 290px; gap: 80px; }
.about-lead { font-size: 26px; font-weight: 300; line-height: 1.4; margin-bottom: 30px; }
.about-body { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.style-list li { position: relative; padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 400; color: var(--ink-2); }
.style-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--gold); }
[dir="rtl"] .style-list li { padding: 14px 24px 14px 0; }
[dir="rtl"] .style-list li::before { left: auto; right: 0; }
.positions { margin-top: 10px; }
.pitch { position: relative; aspect-ratio: 254 / 420; background: var(--pitch); }
.pitch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pitch-line { fill: none; stroke: var(--pitch-line); stroke-width: 1; }
.attack { position: absolute; top: 14px; right: 14px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.pos {
  position: absolute; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 500;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 15%, transparent);
}
.pos-10 { left: 50%; top: 28%; }
.pos-8 { left: 71%; top: 44%; }
.pos-6 { left: 50%; top: 58%; }
.positions-note { font-size: 13px; color: var(--ink-2); margin-top: 14px; }

/* ============ Cards (teams) ============ */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); padding: 36px 34px; }
.card-split { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.kicker { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); }
.when { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.card-title { font-size: 27px; font-weight: 400; line-height: 1.2; margin-bottom: 18px; }
.team-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.team-row:first-of-type { padding-top: 0; }
.team-row .card-title { margin: 0; }
.team-row + .label-heading { margin-top: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.card .tags:last-child { margin-bottom: 0; }
.tags li { font-size: 12px; font-weight: 400; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.vs-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: 24px; }
.vs-grid div { padding: 12px 14px; display: flex; flex-direction: column; }
.vs-grid div + div { border-inline-start: 1px solid var(--line); }
.vs-grid span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.vs-grid strong { font-weight: 400; font-size: 16px; }
.card-foot { padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 400; color: var(--ink); }

/* ============ Achievements ============ */
.numbers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 40px; }
.numbers div { border-top: 2px solid var(--line-strong); padding-top: 14px; }
.numbers strong { display: block; font-size: clamp(44px, 5.4vw, 62px); font-weight: 200; line-height: 1.05; margin-bottom: 6px; }
.numbers span { font-size: 13px; color: var(--ink-2); display: block; }
.honours { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.honour { background: var(--surface); border: 1px solid var(--line); padding: 26px 20px; display: flex; flex-direction: column; }
.honour .trophy { width: 18px; height: 18px; color: var(--gold); margin-bottom: 16px; }
.honour h3 { font-size: 16px; font-weight: 400; line-height: 1.35; margin-bottom: 24px; }
.honour p { font-size: 12px; color: var(--ink-2); margin-top: auto; }

/* ============ Gallery ============ */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 240px); gap: 14px; }
.g-item { position: relative; overflow: hidden; background: var(--bg-alt); }
.g-big { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.03); }
.g-item figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 10px;
  background: rgba(20, 20, 20, .82); color: #fff;
  font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.g-big figcaption { left: 14px; bottom: 14px; }
[dir="rtl"] .g-item figcaption { left: auto; right: 12px; }

/* ============ Video ============ */
.video-layout { display: grid; grid-template-columns: 1fr 330px; gap: 20px; }
.video-main {
  position: relative; background: var(--dark); color: #fff; min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px;
}
.play-circle { width: 76px; height: 76px; border: 1.5px solid #fff; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; }
.play-circle svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.video-main h3 { font-size: 24px; font-weight: 300; margin-bottom: 10px; }
.video-main p { font-size: 13px; color: #b9b9b9; }
.season { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #ddd; }
.season .eyebrow-line { width: 20px; }
[dir="rtl"] .season { left: auto; right: 22px; }
.video-list { display: grid; gap: 14px; }
.video-item { display: flex; align-items: center; gap: 14px; padding: 26px 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .15s; }
.video-item:hover { border-color: var(--line-strong); }
.thumb { flex-shrink: 0; width: 90px; height: 62px; background: var(--line); display: grid; place-items: center; }
.thumb svg { width: 12px; height: 12px; fill: var(--ink-2); }
.video-item strong { display: block; font-size: 16px; font-weight: 400; }
.video-item small { font-size: 12px; color: var(--ink-2); }

/* ============ Contact ============ */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; max-width: 760px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; font-weight: 400; color: var(--ink-2); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--field);
  border: 1px solid var(--line); border-radius: 3px; padding: 11px 14px; width: 100%;
}
.contact-form input { height: 45px; }
.contact-form textarea { min-height: 125px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.form-actions .btn { margin-inline-start: auto; }
.form-status { font-size: 13px; color: var(--blue-ink); }

/* ============ Footer ============ */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.site-footer p { font-size: 13px; color: var(--ink-2); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 300px; gap: 32px; }
  .info-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr 240px; gap: 40px; }
  .numbers, .honours { grid-template-columns: repeat(3, 1fr); }
  .video-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .section-title { margin-bottom: 32px; }
  .header-inner { height: 64px; }
  .logo img { height: 16px; }
  .header-contact span { display: none; }
  .header-contact { width: 38px; padding: 0; }
  .header-actions { gap: 6px; }
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { margin-top: 0; max-width: 360px; }
  .hero-stats dd { font-size: 20px; }
  .strengths { grid-template-columns: 1fr; margin-top: 48px; }
  .strength + .strength { border-inline-start: 0; border-top: 1px solid var(--line); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .positions { max-width: 290px; }
  .about-lead { font-size: 22px; }
  .cards-2 { grid-template-columns: 1fr; }
  .card { padding: 28px 22px; }
  .card-title { font-size: 23px; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .honours { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px repeat(2, 150px); }
  .g-big { grid-column: 1 / -1; grid-row: auto; }
  .video-main { min-height: 280px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1 / -1; }
}
