@import url('https://fonts.googleapis.com/css2?family=Anton&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #08080b;
  --smoke: #131318;
  --card: #16161c;
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.35);
  --gold-dim: #8a6f24;
  --clay: #b0502e;
  --clay-soft: rgba(176, 80, 46, 0.28);
  --bone: #ece6d8;
  --bone-dim: #a8a49a;
  --line: rgba(236, 230, 216, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.display {
  font-family: 'Anton', 'Work Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* subtle grain so the dark background doesn't feel flat */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 22s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(8, 8, 11, 0.35) 0%, rgba(8, 8, 11, 0.78) 62%, var(--ink) 100%),
    linear-gradient(180deg, rgba(8,8,11,0.55) 0%, rgba(8,8,11,0.25) 30%, rgba(8,8,11,0.85) 100%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: rise 0.8s ease 0.15s forwards;
}

.hero-eyebrow i { font-size: 0.75rem; }

.wordmark {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-logo-full {
  width: min(78vw, 460px);
  height: auto;
  transform: translateY(14%);
  opacity: 0;
  animation: rise-letters 0.9s cubic-bezier(.16,.84,.44,1) 0.3s forwards;
}

.brand-mark {
  position: fixed;
  top: 20px;
  left: 24px;
  z-index: 600;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(8, 8, 11, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s ease;
}

.brand-mark.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.brand-mark:hover { border-color: var(--gold-soft); }
.brand-mark .brand-logo { height: 28px; width: auto; display: block; }

@keyframes rise-letters {
  to { transform: translateY(0); opacity: 1; }
}

.hero-tagline {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--bone-dim);
  max-width: 560px;
  margin: 22px auto 0;
  opacity: 0;
  animation: rise 0.8s ease 0.6s forwards;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: rise 0.8s ease 0.8s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: #100c02;
}

.btn-primary:hover { transform: translateY(-2px); background: #e3c04f; }

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--bone);
}

.btn-outline:hover { border-color: var(--gold-soft); transform: translateY(-2px); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--bone-dim);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.scroll-cue i {
  animation: bob 1.8s ease-in-out infinite;
  color: var(--gold);
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media video { animation: none; }
  .scroll-cue i { animation: none; }
  .hero-logo-full, .hero-eyebrow, .hero-tagline, .hero-actions {
    animation: none; opacity: 1; transform: none;
  }
}

/* ---------- Pathway ---------- */

.pathway-section {
  position: relative;
  padding: 90px 24px 100px;
  max-width: 1180px;
  margin: 0 auto;
}

.pathway-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.reel-head {
  margin: 0 0 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.reel-head h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 8px;
  color: var(--bone);
}

.reel-head p {
  color: var(--bone-dim);
  max-width: 480px;
  margin: 0;
  font-size: 0.98rem;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.pathway-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 24px 26px;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pathway-card:hover {
  border-color: var(--gold-soft);
  transform: translateY(-3px);
}

.pathway-num {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 2.4rem;
  color: var(--line);
  line-height: 1;
  margin-bottom: 6px;
}

.pathway-card i {
  display: block;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.pathway-card h3 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--bone);
  margin: 0 0 10px;
}

.pathway-card p {
  color: var(--bone-dim);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Mission strip ---------- */

.mission-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--smoke);
  padding: 64px 24px;
}

.mission-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.mission-inner p.lead {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--bone);
  margin: 0 0 26px;
}

.mission-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.site-footer {
  padding: 46px 24px 36px;
  text-align: center;
  background: var(--ink);
}

.footer-logo {
  width: 110px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  opacity: 0.92;
}

.social-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone-dim);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social-link:hover { color: var(--gold); border-color: var(--gold-soft); }

.site-footer .fine {
  color: var(--bone-dim);
  font-size: 0.82rem;
}

/* ---------- Back to top ---------- */

#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #100c02;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

@media (max-width: 640px) {
  .hero { padding: 80px 18px 50px; }
  .brand-mark { top: 14px; left: 14px; }
  .clip { width: 168px; }
  .clip-featured { width: 260px; }
}

/* ---------- Pathway photos ---------- */
.pathway-card { padding: 0 0 26px; overflow: hidden; }
.pathway-card > *:not(.pathway-photo) { margin-left: 24px; margin-right: 24px; }
.pathway-photo {
  position: relative;
  height: 190px;
  margin-bottom: 18px;
  overflow: hidden;
}
.pathway-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.5s ease;
}
.pathway-card:hover .pathway-photo img { transform: scale(1.05); }
/* dark in the bottom-left, clearing toward the top-right */
.pathway-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(8, 8, 11, 0.9) 0%, rgba(8, 8, 11, 0.35) 45%, transparent 75%);
  pointer-events: none;
}
.pathway-card .pathway-num {
  position: absolute;
  top: 12px;
  right: 16px;
  margin: 0;
  color: #ece6d8;
  text-shadow: 0 2px 10px rgba(0,0,0,0.75);
  z-index: 2;
}
