:root {
  --bg: #0d1110;
  --bg-soft: #151a18;
  --panel: #1b211e;
  --panel-2: #202722;
  --text: #f2f4f1;
  --muted: #abb3ad;
  --line: rgba(255,255,255,.11);
  --green: #6f8052;
  --green-bright: #8ea566;
  --coyote: #a88d63;
  --shadow: 0 24px 60px rgba(0,0,0,.32);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::selection { background: var(--green); color: white; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; background: #111614; }
.section-dark { background: #0b0f0e; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(8, 11, 10, .74);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; }
.brand-mark { color: var(--green-bright); font-size: 1.2em; transform: translateY(-1px); }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > a:not(.btn) { color: #d6dbd7; font-size: .95rem; }
.primary-nav > a:not(.btn):hover { color: white; }
.menu-toggle { display: none; color: white; background: none; border: 0; font-size: 1.7rem; cursor: pointer; }

.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-bright); color: #0c100c; }
.btn-primary:hover { background: #a2b77c; }
.btn-secondary { border-color: rgba(255,255,255,.45); color: white; background: rgba(255,255,255,.04); }
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,.08); }
.btn-small { min-height: 42px; padding-inline: 16px; }
.btn-card { width: 100%; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.04); }
.btn-card:hover { background: var(--green-bright); color: #0b0f0e; }
.text-link { font-weight: 700; color: #d6dfc5; }
.text-link:hover { color: white; }

.hero {
  min-height: 860px;
  padding: 166px 0 110px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 70% 25%, rgba(111,128,82,.18), transparent 28%),
    linear-gradient(115deg, #0a0e0d 0%, #151b18 52%, #0c100f 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.48)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Cpath d='M0 690 L250 430 L390 560 L620 300 L820 520 L1030 250 L1230 500 L1440 330 L1600 470 L1600 900 L0 900 Z' fill='%231b221e'/%3E%3Cpath d='M0 760 L320 560 L480 660 L700 500 L900 650 L1160 420 L1340 590 L1600 500 L1600 900 L0 900 Z' fill='%230e1311'/%3E%3C/svg%3E") center bottom / cover no-repeat;
  opacity: .96;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,12,11,.93) 0%, rgba(9,12,11,.7) 43%, rgba(9,12,11,.28) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.eyebrow { display: inline-block; color: var(--coyote); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 800; margin-bottom: 14px; }
.hero h1, .section-heading h2, .signup-panel h2 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: -.02em; line-height: .98; }
.hero h1 { font-size: clamp(4rem, 8vw, 7.4rem); max-width: 850px; margin: 0 0 24px; }
.hero h1 span { color: var(--green-bright); }
.hero-copy > p { max-width: 720px; font-size: clamp(1.15rem, 2vw, 1.45rem); color: #d7ddd8; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-proof div { display: grid; gap: 2px; }
.hero-proof strong { font-size: .92rem; }
.hero-proof span { color: var(--muted); font-size: .82rem; }

.mission-card { background: rgba(18,24,21,.78); border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow); border-radius: var(--radius); padding: 30px; backdrop-filter: blur(10px); }
.status-dot { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #dfe6d1; }
.status-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--green-bright); border-radius: 50%; margin-right: 8px; box-shadow: 0 0 0 5px rgba(142,165,102,.12); }
.mission-card h2 { font-family: "Barlow Condensed", sans-serif; font-size: 2.15rem; text-transform: uppercase; margin: 14px 0 10px; }
.mission-card p { color: var(--muted); }
.mission-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.mission-card dl div { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
.mission-card dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.mission-card dd { margin: 4px 0 0; font-weight: 800; }
.terrain-strip { position: absolute; bottom: 0; left: 0; right: 0; height: 48px; background: linear-gradient(165deg, transparent 0 45%, #111614 46% 100%); z-index: 3; }

.section-heading { max-width: 770px; margin-bottom: 48px; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.section-heading h2, .signup-panel h2 { font-size: clamp(2.7rem, 5vw, 4.6rem); margin: 0 0 18px; }
.section-heading p, .signup-panel p { color: var(--muted); font-size: 1.05rem; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s ease, border-color .25s ease; }
.pillar-card:hover { transform: translateY(-6px); border-color: rgba(142,165,102,.5); }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(142,165,102,.12); color: var(--green-bright); font-weight: 800; margin-bottom: 30px; }
.pillar-card h3, .expedition-card h3, .hub-item h3 { margin: 0 0 10px; font-size: 1.25rem; }
.pillar-card p, .expedition-card p, .hub-item p { margin: 0; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.expedition-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); transition: transform .25s ease, box-shadow .25s ease; }
.expedition-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.image-placeholder { min-height: 245px; display: grid; align-items: end; padding: 18px; background-size: cover; background-position: center; position: relative; }
.image-placeholder::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.72)); }
.image-placeholder span { position: relative; z-index: 1; font-size: .76rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; }
.image-one { background: linear-gradient(145deg, #283329, #7d8967 52%, #202720); }
.image-two { background: linear-gradient(145deg, #36382e, #7e705b 55%, #1a201d); }
.image-three { background: linear-gradient(145deg, #1f2929, #526661 52%, #20241f); }
.card-body { padding: 24px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.difficulty { color: #e7b476; }
.difficulty.mid { color: #d6d986; }
.difficulty.easy { color: #a8c99a; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; }
.stats span { text-align: center; padding: 9px 6px; background: rgba(255,255,255,.04); border-radius: 8px; color: #dfe3df; font-size: .82rem; }

.training-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.hub-list { display: grid; gap: 14px; }
.hub-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); transition: transform .2s ease, background .2s ease; }
.hub-item:hover { transform: translateX(5px); background: var(--panel-2); }
.hub-number { color: var(--coyote); font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.25rem; }

.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-card, .social-card { margin: 0; padding: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.quote-card p { font-family: "Barlow Condensed", sans-serif; font-size: 1.75rem; line-height: 1.2; margin: 0 0 28px; }
.quote-card footer { color: var(--muted); }
.social-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr auto; align-items: center; gap: 24px; }
.video-placeholder { min-height: 170px; border-radius: 12px; background: linear-gradient(135deg, #26302a, #111613); display: flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid var(--line); }
.play { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--green-bright); color: #111; }
.video-placeholder div { display: grid; }
.video-placeholder small { color: var(--muted); }

.join-section { background: linear-gradient(180deg, #111614, #0d1110); }
.signup-panel { border: 1px solid rgba(142,165,102,.34); border-radius: 24px; padding: 48px; background: linear-gradient(135deg, rgba(142,165,102,.12), rgba(255,255,255,.025)); display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; }
.signup-panel h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.signup-form { display: grid; gap: 12px; }
.signup-form input { width: 100%; min-height: 54px; border-radius: 10px; border: 1px solid var(--line); background: #0b0f0e; color: white; padding: 0 16px; outline: none; }
.signup-form input:focus { border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(142,165,102,.12); }
.form-note, .success-message { color: var(--muted); font-size: .74rem; }
.success-message { display: none; color: #c5d6ae; }
.signup-form.submitted .success-message { display: block; }

.site-footer { background: #090c0b; border-top: 1px solid var(--line); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 40px; }
.footer-grid > div { display: grid; align-content: start; gap: 10px; }
.footer-grid h3 { margin: 0 0 4px; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; color: var(--coyote); }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: .9rem; }
.footer-grid a:hover { color: white; }
.legal { font-size: .76rem !important; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #7f8882; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 76px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #101512; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 13px 14px; }
  .hero { min-height: auto; }
  .hero-grid, .training-grid, .signup-panel, .section-heading.split { grid-template-columns: 1fr; gap: 38px; }
  .card-grid, .pillar-grid { grid-template-columns: 1fr 1fr; }
  .mission-card { max-width: 560px; }
  .social-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 72px 0; }
  .hero { padding: 136px 0 88px; }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 5.5rem); }
  .hero-proof { gap: 18px; }
  .hero-proof div { min-width: 44%; }
  .mission-card dl { grid-template-columns: 1fr 1fr 1fr; }
  .card-grid, .pillar-grid, .community-grid { grid-template-columns: 1fr; }
  .social-card { grid-column: auto; }
  .signup-panel { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Final brand integration */
.hero { background-image: linear-gradient(90deg, rgba(8,12,11,.94) 0%, rgba(8,12,11,.75) 46%, rgba(8,12,11,.35) 100%), url('brand-hero.png'); background-size: cover; background-position: center; }
.brand-logo { width: 48px; height: 48px; object-fit: cover; object-position: center; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.watch-section { padding: 0 0 6rem; background:#0b0f0e; }
.watch-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:2rem; align-items:center; }
.video-shell { border:1px solid rgba(255,255,255,.12); background:#050706; padding:.65rem; box-shadow:0 22px 60px rgba(0,0,0,.35); }
.video-shell video { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; background:#000; }
.social-actions { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.5rem; }
@media(max-width:800px){ .watch-grid{grid-template-columns:1fr}.brand-logo{width:40px;height:40px}.hero{background-position:62% center} }
