/* ─────────────────────────────────────────────────────────────
   DESERT RECON — Landing Page (index.html)
   Requires: theme.css, components.css
───────────────────────────────────────────────────────────── */

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100svh;
  background: var(--obsidian);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: url('./images/hero.jpg') center center / cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,20,36,0.97) 0%, rgba(8,20,36,0.6) 55%, rgba(8,20,36,0.25) 100%);
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224,192,151,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,192,151,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-compass {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(600px, 90vw);
  opacity: 0.07;
  animation: spin-slow 90s linear infinite;
}
@keyframes spin-slow { to { transform: translateY(-50%) rotate(360deg); } }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(224,192,151,0.08);
  border: 1px solid rgba(224,192,151,0.2);
  border-radius: 2px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.75rem;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-headline {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--parchment);
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}
.hero-headline em { font-style: normal; color: var(--orange); }
.hero-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 400;
  color: var(--dust);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--dust-dim);
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
.hero-scroll-hint svg { width: 18px; opacity: 0.5; }

/* ── Marquee band ── */
#intro {
  background: var(--orange);
  padding: 0.85rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--obsidian);
  opacity: 0.8;
}
.marquee-track span.dot { opacity: 0.35; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── How it works ── */
#how {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(75,94,107,0.3);
}
.how-header {
  text-align: center;
  margin-bottom: 3rem;
}
.how-header .section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: -0.02em;
  margin-top: 0.4rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange-dim) 0px, var(--orange-dim) 6px,
    transparent 6px, transparent 14px
  );
  z-index: 0;
  opacity: 0.4;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}
.step-num {
  width: 80px;
  height: 80px;
  border-radius: 2px;
  background: rgba(224,192,151,0.08);
  border: 1px solid rgba(224,192,151,0.25);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.step-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.step p {
  font-size: 1rem;
  color: var(--dust);
  line-height: 1.6;
}

/* ── Quests section ── */
#quests {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--obsidian);
  border-top: 1px solid rgba(75,94,107,0.3);
  position: relative;
  overflow: hidden;
}
#quests::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(224,192,151,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(75,94,107,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.quests-header {
  text-align: center;
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 1;
}
.quests-header .section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: -0.02em;
  margin-top: 0.4rem;
}
.quests-header p {
  color: var(--dust);
  font-size: 1rem;
  margin-top: 0.6rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.quests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.quest-card {
  position: relative;
  background: var(--navy);
  border: 1px solid rgba(75,94,107,0.4);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.quest-card:hover {
  border-color: rgba(224,192,151,0.35);
  transform: translateY(-3px);
}
.quest-status {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
}
.quest-status-live {
  background: var(--orange);
  color: var(--obsidian);
}
.quest-status-soon {
  background: rgba(15,29,51,0.85);
  color: var(--dust);
  border: 1px solid rgba(75,94,107,0.5);
  backdrop-filter: blur(4px);
}
.quest-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.7);
  transition: filter 0.3s, transform 0.4s;
}
.quest-card:hover .quest-card-img {
  filter: brightness(0.85) saturate(0.85);
  transform: scale(1.03);
}
.quest-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.quest-emoji {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}
.quest-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}
.quest-card p {
  font-size: 1rem;
  color: var(--dust);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}
.quest-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.badge {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
}
.badge-diff-easy   { background: rgba(76,175,125,0.15); color: #7dd4c0; border: 1px solid rgba(76,175,125,0.25); }
.badge-diff-medium { background: rgba(224,192,151,0.12); color: var(--orange); border: 1px solid rgba(224,192,151,0.25); }
.badge-diff-hard   { background: rgba(224,85,85,0.12); color: #f08080; border: 1px solid rgba(224,85,85,0.2); }
.badge-time { background: rgba(75,94,107,0.25); color: var(--dust); border: 1px solid rgba(75,94,107,0.35); }

/* ── Photo strip ── */
#photo-strip {
  padding: 0;
  overflow: hidden;
}
.photo-strip-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  height: 340px;
}
.photo-strip-item {
  position: relative;
  overflow: hidden;
}
.photo-strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7) saturate(0.65);
  transition: transform 0.5s, filter 0.4s;
}
.photo-strip-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.8) saturate(0.8);
}
.strip-caption {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  color: var(--parchment);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(8,20,36,0.75);
  border: 1px solid rgba(75,94,107,0.4);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.photo-strip-item:hover .strip-caption { opacity: 1; transform: translateY(0); }

/* ── Why it's different ── */
#why {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--navy);
  border-top: 1px solid rgba(75,94,107,0.3);
}
.why-header {
  text-align: center;
  margin-bottom: 2.75rem;
}
.why-header .section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: -0.02em;
  margin-top: 0.4rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.why-card {
  background: rgba(8,20,36,0.5);
  border-radius: var(--radius);
  border: 1px solid rgba(75,94,107,0.35);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.why-card:hover { border-color: rgba(224,192,151,0.25); }
.why-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224,192,151,0.07);
  border: 1px solid rgba(224,192,151,0.15);
  border-radius: 2px;
}
.why-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.why-text p {
  font-size: 1rem;
  color: var(--dust);
  line-height: 1.65;
}

/* ── Vision section ── */
#vision {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--obsidian);
  border-top: 1px solid rgba(75,94,107,0.3);
  position: relative;
  overflow: hidden;
}
#vision::before {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,192,151,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.vision-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.vision-quote-mark {
  font-size: 6rem;
  line-height: 0.6;
  color: var(--orange);
  opacity: 0.25;
  display: block;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}
.vision-inner .section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}
.vision-body {
  font-size: clamp(1rem, 2vw, 1.08rem);
  color: var(--dust);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.vision-sig {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding: 0.65rem 1.25rem;
  background: var(--navy);
  border-radius: var(--radius);
  border: 1px solid rgba(75,94,107,0.4);
}
.vision-sig-dot {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.vision-sig-text { text-align: left; }
.vision-sig-text strong {
  display: block;
  color: var(--parchment);
  font-size: 0.85rem;
  font-weight: 700;
}
.vision-sig-text span {
  color: var(--dust);
  font-size: 0.875rem;
}
.concept-pill {
  display: inline-block;
  margin-top: 2rem;
  background: rgba(224,192,151,0.08);
  border: 1px solid rgba(224,192,151,0.2);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
}

/* ── Footer ── */
footer {
  background: rgba(8,20,36,0.98);
  border-top: 1px solid rgba(75,94,107,0.25);
  padding: 2.5rem 0;
  text-align: center;
}
.footer-compass {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  opacity: 0.25;
  color: var(--orange);
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment);
  margin-bottom: 0.3rem;
}
.footer-tagline {
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust-dim);
  margin-bottom: 1.25rem;
}
.footer-location {
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--dust-dim);
}
footer a { color: var(--dust); transition: color 0.15s; }
footer a:hover { color: var(--parchment); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .steps-grid::before { display: none; }
  .quests-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .photo-strip-grid { grid-template-columns: 1fr 1fr; height: 240px; }
  .photo-strip-item:last-child { display: none; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .quests-grid { grid-template-columns: 1fr; }
  .hero-compass { display: none; }
  .hero-ctas { flex-direction: column; }
  .photo-strip-grid { grid-template-columns: 1fr; height: auto; }
  .photo-strip-item { height: 200px; }
  .photo-strip-item:last-child { display: block; }
}
