/* ============ Variables ============ */
:root {
  --black: #0a0a09;
  --near-black: #131311;
  --navy: #101a26;
  --navy-light: #16283b;
  --olive: #4a4e2c;
  --olive-light: #6b7440;
  --gold: #b9a26a;
  --gold-light: #d3c295;
  --text-light: #ffffff;
  --text-muted: #b7b5aa;
  --border-soft: rgba(185, 162, 106, 0.25);

  --font-head: 'Black Ops One', 'Oswald', sans-serif;
  --font-label: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.6;
  font-weight: 300;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--navy-light);
  color: var(--text-light);
  border-color: rgba(255,255,255,0.15);
}
.btn-primary:hover { background: #1d3550; }

.btn-olive {
  background: var(--olive);
  color: var(--text-light);
}
.btn-olive:hover { background: var(--olive-light); }

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline-sm {
  border: 1px solid var(--border-soft);
  color: var(--text-light);
  font-size: 0.92rem;
  padding: 14px 28px;
}
.btn-outline-sm:hover { background: rgba(185,162,106,0.1); }

.btn-line {
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--text-light);
  background: transparent;
  font-size: 1rem;
  padding: 17px 34px;
}
.btn-line:hover { background: rgba(255,255,255,0.08); }
.btn-line span { transition: transform 0.2s ease; }
.btn-line:hover span { transform: translateX(3px); }

.btn-block { width: 100%; justify-content: center; margin-top: 6px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: left;
  overflow: hidden;
  padding: 60px 0;
  background:
    linear-gradient(90deg, rgba(5,6,4,0.92) 0%, rgba(6,7,5,0.72) 48%, rgba(6,7,5,0.32) 76%, transparent 94%),
    url('../assets/hero-1.jpg');
  background-size: cover;
  background-position: right 30%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1220px;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: 24px;
  transform: translateY(70px);
}

.hero-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 4.1rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.hero-title-line2 {
  display: block;
  margin-top: 10px;
}

.star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 26px 0;
  color: var(--gold);
  font-size: 1.55rem;
}
.star-divider.small { margin: 14px 0; font-size: 1.3rem; }
.star-divider.left-align { justify-content: flex-start; margin: 22px 0; }
.star-divider .divider-line {
  width: 74px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.star-divider .divider-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.star-divider.small .divider-line { width: 50px; }
.star-divider .star-icon { font-size: 0.85em; line-height: 1; }

.title-flourish {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  vertical-align: middle;
}
.title-flourish .divider-line {
  width: 92px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.title-flourish.right .divider-line {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.title-flourish .star-icon { color: var(--gold); font-size: 0.6em; }

.hero-kicker {
  font-family: var(--font-label);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 22px;
}

.hero-desc {
  color: var(--text-light);
  font-size: 1.25rem;
  max-width: 780px;
  margin-bottom: 40px;
}

.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-start; }
.hero-buttons .btn { font-size: 1rem; padding: 18px 76px; }
.hero-buttons .btn svg { width: 22px; height: 22px; }

/* ============ Logo Marquee ============ */
.logo-marquee {
  background: var(--black);
  padding: 32px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 28%, #000 72%, transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 120px;
  animation: logo-marquee-scroll 120s linear infinite;
}

.logo-marquee-item {
  height: 68px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.logo-marquee-item:hover { opacity: 1; }

@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
  .logo-marquee { overflow-x: auto; }
}

/* ============ Split PSYOPS / TACOPS ============ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-panel {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 90px 40px;
  overflow: hidden;
}

.panel-psyops {
  background:
    linear-gradient(160deg, rgba(9,20,33,0.86) 0%, rgba(6,12,20,0.93) 100%),
    url('../assets/psyops.jpg');
  background-size: cover;
  background-position: center;
}
.panel-tacops {
  background:
    linear-gradient(160deg, rgba(45,48,25,0.82) 0%, rgba(20,21,10,0.92) 100%),
    url('../assets/tacops.jpg');
  background-size: cover;
  background-position: center 20%;
}

.panel-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}

.panel-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panel-content .btn-line {
  margin-top: auto;
}

.panel-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  color: var(--gold);
}
/* Sized up but kept centered on the same footprint as .panel-icon so the
   title row below still lines up with the TacOps panel */
.panel-icon-book {
  width: 88px;
  height: 88px;
  margin: -8px auto 10px;
}

.panel-title {
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.panel-subtitle {
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-top: 6px;
}

.panel-desc {
  color: var(--text-light);
  margin: 18px 0 28px;
  font-size: 1.3rem;
}

/* ============ Mission ============ */
.mission {
  background: var(--black);
  padding: 130px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.section-title {
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mission-desc {
  color: var(--text-light);
  max-width: 900px;
  margin: 22px auto 60px;
  font-size: 1.4rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.icon-badge {
  width: 108px;
  height: 108px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle, rgba(185,162,106,0.14) 0%, rgba(185,162,106,0.03) 70%, transparent 100%);
  box-shadow: 0 0 0 1px rgba(185,162,106,0.08), 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value:hover .icon-badge {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(185,162,106,0.25), 0 10px 28px rgba(0,0,0,0.4);
}

.value svg {
  width: 62px;
  height: 62px;
  color: var(--gold);
}

.value h3 {
  font-family: var(--font-label);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.value p {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 260px;
  margin: 0 auto;
}

/* ============ Get Involved ============ */
.involved {
  background:
    linear-gradient(120deg, rgba(7,8,5,0.82) 0%, rgba(5,6,4,0.9) 100%),
    url('../assets/hero-2.jpg');
  background-size: cover;
  background-position: center 35%;
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.involved-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.involved-text h2 {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
}

.involved-text p {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 26px;
  max-width: 420px;
}

.involved-text .btn {
  font-size: 1rem;
  padding: 17px 34px;
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.involved-item {
  padding: 0 20px;
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.involved-item:first-child { border-left: none; }

.involved-item-logo {
  width: 165px;
  height: 150px;
  object-fit: contain;
  object-position: center;
  align-self: center;
  margin-bottom: 20px;
}

.involved-item h3 {
  font-family: var(--font-label);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  min-height: 2.8em;
  margin-bottom: 10px;
}

.involved-item p {
  color: var(--text-light);
  font-size: 1.12rem;
  margin-bottom: 14px;
}

.involved-item a {
  font-family: var(--font-label);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.involved-item a:hover { color: var(--gold); }

/* ============ Speaker CTA ============ */
.speaker-cta {
  background: var(--near-black);
  padding: 130px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.speaker-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}

.speaker-book-img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(185,162,106,0.15);
}

.speaker-text h2 {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
}

.speaker-text p {
  color: var(--text-light);
  font-size: 1.3rem;
  margin: 26px 0 34px;
  max-width: 700px;
}
.speaker-text p em { color: var(--gold-light); font-style: italic; }

.speaker-buttons { display: flex; gap: 18px; flex-wrap: wrap; }

.speaker-text .btn {
  font-size: 1rem;
  padding: 17px 34px;
}

/* ============ Contact ============ */
.contact {
  background: var(--black);
  padding: 130px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 100px;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
}

.contact-info p {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 420px;
}

.contact-list { list-style: none; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--text-light);
  font-size: 1.15rem;
}
.contact-list svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-form button {
  font-size: 1.05rem;
  padding: 18px 34px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form[hidden] { display: none; }

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background: var(--near-black);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 16px 16px;
  border-radius: 3px;
  width: 100%;
  resize: vertical;
}

.contact-form textarea { min-height: 170px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #7d7b70; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-status {
  font-size: 0.85rem;
  color: var(--gold-light);
  min-height: 1em;
}

/* ============ Contact Form Success ============ */
.contact-form-wrap {
  position: relative;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 50px 0;
  animation: form-success-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: opacity 0.4s ease;
}
.form-success[hidden] { display: none; }
.form-success.form-fade-out { opacity: 0; }

@keyframes form-success-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-check {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  overflow: visible;
}
.success-check-circle {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 152;
  stroke-dashoffset: 152;
  transform-origin: center;
  animation:
    success-circle-draw 0.6s ease-out 0.1s forwards,
    success-circle-pulse 1.1s ease-out 0.7s;
}
.success-check-mark {
  stroke: var(--gold);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  animation: success-mark-draw 0.35s ease-out 0.65s forwards;
}
@keyframes success-circle-draw { to { stroke-dashoffset: 0; } }
@keyframes success-mark-draw { to { stroke-dashoffset: 0; } }
@keyframes success-circle-pulse {
  0% { filter: drop-shadow(0 0 0 rgba(185,162,106,0.6)); }
  50% { filter: drop-shadow(0 0 10px rgba(185,162,106,0.6)); }
  100% { filter: drop-shadow(0 0 0 rgba(185,162,106,0)); }
}

.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  opacity: 0;
  animation: form-success-text-in 0.5s ease 0.5s forwards;
}
.form-success p {
  color: var(--text-light);
  font-size: 1.08rem;
  max-width: 420px;
  margin: 12px 0 24px;
  opacity: 0;
  animation: form-success-text-in 0.5s ease 0.6s forwards;
}
.form-success .btn {
  opacity: 0;
  animation: form-success-text-in 0.5s ease 0.7s forwards;
}
@keyframes form-success-text-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Scroll Reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.values-grid .value:nth-child(2), .involved-grid .involved-item:nth-child(2) { transition-delay: 0.1s; }
.values-grid .value:nth-child(3), .involved-grid .involved-item:nth-child(3) { transition-delay: 0.2s; }
.values-grid .value:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .form-success, .form-success * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .success-check-circle, .success-check-mark { stroke-dashoffset: 0 !important; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .involved-inner { grid-template-columns: 1fr; }
  .involved-grid { grid-template-columns: 1fr; }
  .involved-item { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
  .involved-item:first-child { border-top: none; padding-top: 0; }
  .contact-inner { grid-template-columns: 1fr; }
  .speaker-inner { grid-template-columns: 1fr; text-align: center; }
  .speaker-book-img { max-width: 280px; margin: 0 auto; }
  .speaker-text .star-divider.left-align { justify-content: center; }
}

@media (max-width: 860px) {
  .split-section { grid-template-columns: 1fr; }
  .hero-title { font-size: 3.1rem; }
  .hero-inner { padding-top: 90px; }
}

@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { justify-content: center; }
  .container { padding: 0 20px; }
}
