/* ==========================================================================
   IB Intelligence — black & white, minimal
   ========================================================================== */

:root {
  --bg: #000;
  --surface: #0a0a0a;
  --surface-2: #111;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.6);
  --soft: rgba(255, 255, 255, 0.78);
  --radius: 10px;
  --announce-h: 44px;
  --max: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--announce-h) + 16px); }

body {
  margin: 0;
  padding-top: var(--announce-h);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }
.strong { color: var(--text); font-weight: 600; }

/* ---------- 1. Announcement bar ---------- */
.announce {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  transition: opacity 0.2s ease;
}
.announce:hover { opacity: 0.7; }
.announce:active { opacity: 0.55; }
.announce__arrow { transition: transform 0.2s ease; }
.announce:hover .announce__arrow { transform: translateX(3px); }

/* ---------- 2. Header ---------- */
.header {
  display: flex;
  justify-content: center;
  padding: 40px 24px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  height: 26px;
  width: auto;
  mix-blend-mode: screen; /* drops the logo's black background */
}
.brand__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- 3–5. Hero, video, button ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}
.hero__title {
  max-width: 880px;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  font-weight: 500;
}

.video {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin-top: 56px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.video__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.video video,
.video iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  padding: 16px 30px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover {
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.18);
}
.btn:active { opacity: 0.85; }
.btn svg { transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding-top: 140px; }

.section__title {
  text-align: center;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ---------- 6. Education ---------- */
.media {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.media img { width: 100%; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.card h3 {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card p {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--muted);
}
.tick {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #000;
}

/* ---------- 7. Stop Guessing ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__title {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 500;
  color: var(--muted) !important;
}
.split__text p { margin-top: 18px; color: var(--soft); }
.split__text p.strong { color: var(--text); }

/* ---------- 8. Why ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.why__left,
.why__right { padding: 48px; }
.why__icon {
  display: inline-block;
  color: #fff;
  line-height: 0;
}
.why__left h2 {
  margin-top: 28px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.why__left p { margin-top: 18px; color: var(--muted); }
.why__right p { color: var(--soft); }
.why__right p + p { margin-top: 16px; }
.why__right p.strong { color: var(--text); }

/* ---------- 9. Final CTA ---------- */
.cta {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta img { width: 100%; }
.cta h2 {
  margin: 28px auto 0;
  max-width: 560px;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ---------- 10. Footer ---------- */
.footer {
  margin-top: 140px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.footer__copy { font-size: 14px; color: var(--muted); }
.footer__logo img { height: 22px; width: auto; mix-blend-mode: screen; }
.footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer__social a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__media { max-width: 520px; }
  .why { grid-template-columns: 1fr; }
  .why__right { padding-top: 0 !important; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header { padding-top: 28px; }
  .hero { padding-top: 56px; }
  .video { margin-top: 40px; border-radius: 8px; }
  .section { padding-top: 96px; }
  .why__left, .why__right { padding: 28px; }
  .footer { margin-top: 96px; }
  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer__logo { order: -1; }
  .footer__social { justify-content: center; }
  .announce { font-size: 13px; }
}
