/* ============================
   Theme
============================ */
:root {
  --navy: #13294B;
  --purple: #5B2FB0;
  --paper: #f8f9fb;
  --ink: #0d0d10;
  --muted: #6b7280;
  --shadow: 0 8px 28px rgba(17, 24, 39, 0.12);
}

/* ============================
   Global Layout
============================ */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.6;

  /* Sticky footer layout */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* ============================
   Containers
============================ */
.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* ============================
   Header / Navbar (Full Width)
============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(16px, 4vw, 40px);
}

/* Brand */
.brand {
  display: grid;
  line-height: 1;
  text-decoration: none;
}
.brand-line1 {
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.2px;
}
.brand-line2 {
  font-weight: 700;
  color: var(--purple);
  font-size: 0.95rem;
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--purple);
  transition: width 0.25s ease;
}
.nav a:hover::after,
.nav a:focus::after {
  width: 100%;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

/* ============================
   Hero Section (Full-Bleed Video)
============================ */
.full-bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.video-frame {
  width: 100vw;
  aspect-ratio: 21 / 9;          /* cinematic ratio */
  background: #000;
  overflow: hidden;
  border-radius: 0;
  max-height: 65vh;              /* ensures paragraph shows */
  position: relative;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Optional gradient at bottom of video */
.video-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.25), transparent);
  pointer-events: none;
}

/* ============================
   Intro Text
============================ */
.intro {
  padding: 3.0rem 0 2.2rem;
  text-align: center;             /* centers the text */
  display: flex;
  flex-direction: column;
  align-items: center;            /* ensures it's centered inside the container */
}

.intro h1 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: clamp(1.8rem, 2.2vw + 1rem, 2.4rem);
}

.intro p {
  margin: 0;
  max-width: 100ch;                /* keeps the paragraph readable */
  color: var(--muted);
  font-size: 1.05rem;
}

/* ============================
   Footer (Sticky)
============================ */
.site-footer {
  background: #e6e6e6;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--muted);
  text-align: center;
  padding: 1rem 0 2rem;
}

/* ============================
   Responsive
============================ */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: calc(56px + 8px) 0 auto 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: none;
    flex-direction: column;
    padding: 0.6rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav a {
    padding: 0.8rem 1rem;
  }

  .video-frame {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .video-frame::after {
    height: 50px;
  }
}
.card-link { text-decoration: none; color: inherit; }
