:root {
  --bunker: #080a0d;
  --bunker-2: #12151d;
  --primary: #024d46;
  --primary-700: #013a35;
  --accent: #e1b714;
  --white: #ffffff;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --max-content: 1440px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bunker);
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- Hero ----- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .hero { padding: 0 32px; }
}

@media (min-width: 1024px) {
  .hero { padding: 0 40px; }
}

.hero__video,
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__poster {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero__poster { display: block; }
}

.hero__overlay,
.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__overlay {
  background: rgba(8, 10, 13, 0.6);
}

.hero__gradient {
  background:
    radial-gradient(ellipse at top right, rgba(2, 77, 70, 0.35), transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(8, 10, 13, 0.85) 100%);
}

/* ----- Top brandbar ----- */

.hero__brandbar {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 20px 0;
}

@media (min-width: 1024px) {
  .hero__brandbar { padding: 28px 0; }
}

.hero__brand img {
  height: 32px;
  width: auto;
}

@media (min-width: 1024px) {
  .hero__brand img { height: 36px; }
}

/* ----- Centered content ----- */

.hero__content {
  flex: 1;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 24px;
  animation: fade-up 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 1024px) {
  .hero__content { padding: 72px 0 32px; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__rule {
  width: 32px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.hero__title {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 22ch;
}

.hero__title--sm {
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  line-height: 1.15;
  max-width: 28ch;
}

.hero__bignum {
  margin: 16px 0 12px;
  user-select: none;
  font-size: clamp(7rem, 22vw, 20rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.08) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__accent {
  color: var(--accent);
}

.hero__sub {
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--white-80);
  max-width: 620px;
}

/* ----- Actions ----- */

.hero__actions {
  margin: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}

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

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

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

.btn--primary:hover {
  background: var(--primary-700);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ----- Social row ----- */

.hero__social {
  display: flex;
  gap: 12px;
  margin: 48px 0 0;
}

.hero__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white-80);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.hero__social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(225, 183, 20, 0.08);
}

/* ----- Footer ----- */

.hero__footer {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 20px 0 24px;
  font-size: 12px;
  color: var(--white-50);
  letter-spacing: 0.02em;
}

.hero__footer p {
  margin: 0;
}

/* ----- Animations ----- */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content {
    animation: none;
  }
  .btn:hover {
    transform: none;
  }
}
