:root {
  --bg: #111111;
  --surface: #111111;
  --surface-elevated: #1d1d1f;
  --ink: #f5f4f0;
  --ink-muted: #a3a098;
  --ink-dim: #66645f;
  --accent: #ffa800;
  --accent-ink: #111111;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --gutter: clamp(20px, 5vw, 64px);
  --max-w: 1320px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
}

body {
  min-height: 100svh;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: clip;
}

@media (min-width: 901px) {
  html,
  body {
    height: 100svh;
    overflow: hidden;
  }
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: var(--gutter);
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  transition: top 0.18s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Fixed Top Header */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding-block: 20px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.84) 0%, rgba(17, 17, 17, 0) 100%);
  pointer-events: none;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav a {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: opacity 0.25s var(--ease-out);
}

.brand:hover {
  opacity: 0.86;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-muted);
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(8px);
}

.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 168, 0, 0.75);
}

/* Single Full-Screen Hero */
.hero {
  --mx: 74%;
  --my: 48%;
  position: relative;
  height: 100svh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 64px;
  padding-bottom: 32px;
  background-color: var(--surface);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: contrast(1.06) brightness(1.02);
  transition: opacity 0.35s var(--ease-out);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #111111 0%, rgba(17, 17, 17, 0.92) 32%, rgba(17, 17, 17, 0.35) 52%, rgba(17, 17, 17, 0) 72%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.35) 0%, rgba(17, 17, 17, 0) 30%, rgba(17, 17, 17, 0) 70%, rgba(17, 17, 17, 0.85) 100%);
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    circle 320px at var(--mx, 74%) var(--my, 48%),
    rgba(17, 17, 17, 0) 0%,
    rgba(17, 17, 17, 0.16) 45%,
    rgba(17, 17, 17, 0.56) 100%
  );
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(
    circle 240px at var(--mx, 74%) var(--my, 48%),
    rgba(255, 168, 0, 0.11) 0%,
    rgba(255, 168, 0, 0.03) 48%,
    transparent 74%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.hero-content {
  max-width: 600px;
  margin-block: auto;
}

.eyebrow {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.eyebrow-tag {
  color: var(--accent);
  font-weight: 500;
}

.hero-title {
  font-size: clamp(46px, 6.6vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero-lead {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 500px;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.22s var(--ease-out), background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: block;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #ffb726;
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(8px);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(29, 29, 31, 0.92);
}

/* Bottom index */
.hero-meta {
  display: flex;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.disciplines-inline {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 11px;
  color: var(--ink-muted);
}

.disciplines-inline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.disciplines-inline b {
  color: var(--accent);
  font-weight: 500;
}

/* Entrance animation */
[data-enter] .enter-item {
  opacity: 0;
  transform: translateY(16px);
  animation: enterUp 0.8s var(--ease-out) forwards;
}

[data-enter] .enter-item:nth-child(2) { animation-delay: 0.08s; }
[data-enter] .enter-item:nth-child(3) { animation-delay: 0.16s; }
[data-enter] .enter-item:nth-child(4) { animation-delay: 0.24s; }

@keyframes enterUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero-media video {
    object-position: 75% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.68) 38%, rgba(17, 17, 17, 0.92) 74%, #111111 100%);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 92px;
    padding-bottom: 24px;
  }

  .cta-row {
    width: 100%;
  }

  .btn-primary {
    flex: 1 1 100%;
  }

  .disciplines-inline {
    justify-content: flex-start;
    gap: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-enter] .enter-item {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .btn {
    transition: none;
  }
}
