:root {
  --bg: #0d1117;
  --card: #151b24;
  --line: rgba(255, 255, 255, .09);
  --text: #eef1f5;
  --muted: #9aa5b4;
  --gold: #e6c27a;
  --gold-2: #f3dca6;
  --serif: "Cormorant Garamond", "Noto Serif", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, select { font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.9) brightness(1.05); }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 45%, rgba(13, 17, 23, .1), rgba(13, 17, 23, .55) 75%),
    linear-gradient(180deg, rgba(13, 17, 23, .45) 0%, rgba(13, 17, 23, 0) 30%, rgba(13, 17, 23, .15) 70%, var(--bg) 100%); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(18px, env(safe-area-inset-top)) 20px 0; max-width: 1120px; width: 100%; margin: 0 auto; }
.brand { font: 600 26px/1 var(--serif); letter-spacing: .01em; text-decoration: none; }
.brand span { color: var(--gold); }
.lang select { appearance: none; background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23eef1f5' d='M12 16.5 4.5 9l1.4-1.4 6.1 6.1 6.1-6.1L19.5 9Z'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 30px 7px 14px; font-size: 14px; max-width: min(46vw, 230px);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lang select option { color: #111; }
[dir="rtl"] .lang select { background-position: left 10px center; padding: 7px 14px 7px 30px; }

.hero-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px 20px 72px; max-width: 820px; margin: 0 auto; width: 100%; }
h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); font: 600 clamp(34px, 7.2vw, 64px)/1.05 var(--serif); margin: 0 0 14px; letter-spacing: -.01em; text-wrap: balance; }
.sub { color: #c9d1db; margin: 0 0 30px; font-size: clamp(15px, 2.2vw, 18px); max-width: 560px; text-wrap: balance; }

.btn-big { min-height: 54px; padding: 0 30px; font-size: 16px; }

.marquee { direction: ltr; width: 100vw; margin-top: 14px; padding-block: 30px 40px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: slide 60s linear infinite; }
.marquee-track img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); }
@keyframes slide { to { transform: translateX(-50%); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 15px; transition: transform .15s ease, background .2s ease, border-color .2s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1b1408; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: rgba(255, 255, 255, .07); color: var(--text); border-color: rgba(255, 255, 255, .16); }
.btn-ghost:hover { background: rgba(255, 255, 255, .13); }

.scroll { position: absolute; bottom: 16px; left: 50%; translate: -50% 0; color: var(--muted); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* Mentors */
main { max-width: 1120px; margin: 0 auto; padding: 24px 20px 40px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 26px; text-align: center; }
h2 { font: 600 clamp(28px, 5vw, 42px)/1.1 var(--serif); margin: 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: 14px; font-weight: 500; }
.chip[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { height: 100%; }
.card a { display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.card a:hover { transform: translateY(-2px); border-color: rgba(230, 194, 122, .45); background: #18202b; }
.card img { width: 68px; height: 68px; border-radius: 16px; flex: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.card h3 { margin: 2px 0 4px; font-size: 17px; font-weight: 600; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.card .get { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gold); }
.card.hidden { display: none; }
.reveal { opacity: 0; transform: translateY(10px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

footer { text-align: center; color: var(--muted); padding: 20px 20px max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); max-width: 1120px; margin: 0 auto; }
footer p { margin: 6px 0; }
footer .small { font-size: 13px; }

@media (min-width: 720px) {
  .marquee-track img { width: 76px; height: 76px; border-radius: 18px; }
  .top { padding-inline: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll, .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
