:root { --max: 1100px; --fg: #0a0a0a; }

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; color: var(--fg); font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
html { scroll-behavior: smooth; }  

/* Sticky nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75); /* was 0.85 */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

/* Scrollspy active state */
.menu a {
  position: relative;
  transition: opacity .2s ease, color .2s ease;
}

.menu a.active {
  opacity: 1;
  font-weight: 700;
}

/* optional underline pill for the active item */
.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  margin: 0 auto;
  width: 60%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  opacity: 0.9;
}

.brand { font-weight: 700; text-decoration: none; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.menu { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.menu a { text-decoration: none; color: #fff; opacity: .9; }
.menu a:hover { opacity: 1; }

/* HERO video */
.hero-video { position: relative; min-height: 72vh; display: grid; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(.78) saturate(.95);
}
.hero-overlay {
  position: relative; z-index: 1; display: grid; grid-template-rows: auto 1fr;
  /* add this: */
  background: linear-gradient(0deg, rgba(0,0,0,.18), rgba(0,0,0,.18));
}
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 48px 20px 72px; display: grid; align-items: center; }
.hero-copy { max-width: 760px; }
.hero-copy h1 {
  color:#fff; margin: 12px 0 10px; font-size: clamp(28px, 4vw, 44px);
  line-height:1.1; text-shadow: 0 3px 18px rgba(0,0,0,.35);
}
.hero-copy p { color:#f5f7fb; font-size: 18px; opacity: .95; margin: 0 0 22px; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.cta-row { display:flex; gap:12px; flex-wrap: wrap; }
.btn {
  display:inline-block; padding: 12px 18px; border-radius: 999px;
  text-decoration:none; font-weight:600; border: 1px solid #ffffff30; backdrop-filter: blur(3px);
}
/* Button microinteractions */
.btn {
  transition: transform .15s ease, box-shadow .15s ease, filter .2s ease, background-color .15s ease, color .15s ease;
  cursor: pointer;
}

.btn.primary {
  background:#fff; color:#0a0a0a;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,.22); filter: brightness(1.03); }
.btn.primary:active { transform: translateY(0); box-shadow: 0 6px 20px rgba(0,0,0,.18); }

.btn.ghost {
  background: transparent; color:#fff; border: 1px solid #ffffff30;
}
.btn.ghost:hover { background: #ffffff20; transform: translateY(-1px); }
.btn.ghost:active { transform: translateY(0); }

.btn:focus-visible {
  outline: 2px solid #9fd3ff; outline-offset: 2px; border-radius: 999px;
}

.brand,
.menu a,
.hero-copy h1,
.hero-copy p {
  color: #f6f7fb; /* softer than pure white */
}

/* MODAL */
.modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.modal[aria-hidden="false"] { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); }
.modal-dialog { 
  position: relative; 
  z-index: 2; 
  max-width: 900px; 
  width: calc(100% - 32px); 
  margin: 5vh auto; 
  background: #000; 
  border-radius: 14px; 
  overflow: hidden; 
  box-shadow: 0 10px 40px rgba(0,0,0,.4); 
}
#introVideo { display:block; width:100%; height:auto; background:#000; border-radius: 12px; }
.modal-close { 
  position: absolute; 
  top: 8px; 
  right: 8px; 
  border: 0; 
  background: #ffffff20; 
  color: #fff; 
  width: 36px; 
  height: 36px; 
  border-radius: 999px; 
  font-size: 18px; 
  cursor: pointer; 
}
.modal-close:hover { background: #ffffff35; }

/* MAIN */
.pad { max-width: var(--max); margin: 0 auto; padding: 56px 20px; }
.alt { background: #f6f8fb; border-top: 1px solid #e8edf3; border-bottom: 1px solid #e8edf3; }
h2 { margin: 0 0 10px; }

/* FOOTER */
.footer { text-align:center; padding: 30px 16px; color:#5f6b7a; border-top: 1px solid #e8edf3; }

/* Responsive */
@media (max-width: 900px) {
  .nav { padding: 12px 16px; }
  .hero-video { min-height: 64vh; }
  .hero-copy h1 { font-size: clamp(26px, 6vw, 36px); }
}

