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

:root {
  --bg: #060708;
  --panel: #0c1013;
  --text: #f4f1eb;
  --muted: #c9c3b7;
  --bronze: #c59556;
  --line: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 104px;
  z-index: 100;
  padding: 0 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(3, 4, 5, 0.68);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.logo-wrap {
  display: block;
  height: 92px;
  width: 128px;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.8));
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: white;
  position: relative;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.92;
  white-space: nowrap;
}

nav a.active,
nav a:hover {
  color: var(--bronze);
}

nav a.active::after,
nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 2px;
  background: var(--bronze);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 122px 4% 70px;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.00) 60%, rgba(0, 0, 0, 0.02)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.00), var(--bg)),
    url("../images/hero-van.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 16vh;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.eyebrow {
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 7px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(46px, 5.6vw, 82px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.78);
}

.hero-text {
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.55;
  color: #f0ece5;
  max-width: 570px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  margin-top: 36px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 17px 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  transition: 0.3s;
  min-width: 210px;
}

.btn.primary {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #080808;
  font-weight: bold;
}

.btn.outline {
  border-color: rgba(197, 149, 86, 0.85);
  color: var(--bronze);
}

.btn.small {
  min-width: auto;
  margin-top: 28px;
  padding: 14px 20px;
}

.btn:hover {
  background: white;
  color: black;
}

section {
  padding: 96px 4%;
}

.origin {
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: 62vh;
  padding: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(197, 149, 86, 0.08), transparent 28%),
    var(--bg);
  border-top: 1px solid rgba(197, 149, 86, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.origin-content {
  padding: 70px 8%;
  position: relative;
  z-index: 3;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.76)),
    repeating-linear-gradient(
      135deg,
      rgba(197, 149, 86, 0.05),
      rgba(197, 149, 86, 0.05) 1px,
      transparent 1px,
      transparent 18px
    );
}

.origin h2,
.section-heading h2,
.split h2 {
  font-size: clamp(34px, 4vw, 58px);
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.origin h2 {
  font-size: clamp(38px, 4.2vw, 62px);
  max-width: 700px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.85);
}

.section-star {
  width: 320px;
  max-width: 70%;
  color: var(--bronze);
  text-align: center;
  margin: 8px 0 24px;
  position: relative;
}

.section-star::before,
.section-star::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: rgba(197, 149, 86, 0.65);
}

.section-star::before {
  left: 0;
}

.section-star::after {
  right: 0;
}

.origin-content > p {
  font-size: 18px;
  line-height: 1.65;
  color: #e0dacf;
  max-width: 620px;
}

.origin-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.origin-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg), transparent 22%);
  z-index: 2;
  pointer-events: none;
}

.origin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.98) contrast(1.08) saturate(1.04);
}

.origin-stats {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.origin-stats span {
  border: 1px solid rgba(197, 149, 86, 0.62);
  color: var(--bronze);
  padding: 9px 13px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(197, 149, 86, 0.08);
  border-radius: 999px;
}

.mission {
  background: var(--bg);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 42px;
}

.section-heading p,
.split p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  max-width: 760px;
}

.mission-grid,
.locker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card,
.locker-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 18px;
  min-height: 215px;
  transition: 0.35s;
}

.card:hover,
.locker-card:hover {
  transform: translateY(-8px);
  border-color: var(--bronze);
  background: rgba(197, 149, 86, 0.09);
}

.mission-number {
  display: block;
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 12px;
}

.card h3,
.locker-card h3 {
  font-size: 25px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.card p,
.locker-card p {
  color: #c8c8c8;
  line-height: 1.6;
  font-size: 16px;
}

.journey,
.dark,
.timeline {
  background: var(--panel);
}

.scroll-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 28px;
  padding-top: 4px;
}

.gallery-card {
  min-width: 380px;
  height: 540px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  background: #111111;
  border: 1px solid var(--line);
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 35%, rgba(0,0,0,.86) 100%),
    linear-gradient(to top, transparent 80%, rgba(197,149,86,.14));
  z-index: 1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
  transition: 0.6s;
}

.gallery-card:hover img {
  transform: scale(1.07);
  filter: brightness(1.05);
}

.gallery-label {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.gallery-label span {
  display: block;
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gallery-label h3 {
  font-size: 30px;
  line-height: 1.0;
  text-transform: uppercase;
  text-shadow: 0 5px 25px black;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 360px;
  object-fit: cover;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--bronze);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
}

.gear-locker {
  background: var(--bg);
}

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

.timeline-item {
  border-left: 3px solid var(--bronze);
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  min-height: 140px;
}

.timeline-item strong {
  display: block;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.timeline-item span {
  color: var(--muted);
  line-height: 1.5;
}

footer {
  padding: 45px 4%;
  color: #aaaaaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  nav {
    display: none;
  }

  .site-header {
    height: 92px;
  }

  .logo-wrap {
    height: 84px;
    width: 118px;
  }

  .origin,
  .split {
    grid-template-columns: 1fr;
  }

  .origin-photo {
    min-height: 420px;
  }

  .gallery-card {
    min-width: 290px;
    height: 430px;
  }
}

@media (max-width: 560px) {
  section {
    padding: 76px 6%;
  }

  .hero {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero h1 {
    font-size: 54px;
  }

  .origin h2 {
    font-size: 40px;
  }

  .origin-content {
    padding: 70px 6%;
  }
}


/* =========================
   TDY V10 MOBILE POLISH
   ========================= */

@media (max-width: 760px) {
  .site-header {
    height: 82px;
    padding: 0 5%;
    justify-content: center;
  }

  .logo-wrap {
    height: 74px;
    width: 104px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 92px 6% 48px;
    align-items: flex-end;
    background:
      linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.12) 42%, rgba(0,0,0,.78) 82%, var(--bg)),
      url("../images/hero-van.jpg") center top / cover no-repeat;
  }

  .hero-content {
    max-width: 100%;
    padding-bottom: 20px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 64px);
    line-height: .92;
    letter-spacing: 2px;
  }

  .hero-text {
    font-size: 17px;
    line-height: 1.55;
    max-width: 100%;
    margin-top: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    padding: 15px 18px;
  }

  .origin {
    grid-template-columns: 1fr;
  }

  .origin-content {
    padding: 64px 6%;
  }

  .origin-photo {
    min-height: 360px;
  }

  .origin-photo::before {
    background: linear-gradient(to bottom, var(--bg), transparent 22%, transparent 78%, var(--bg));
  }

  .mission-grid,
  .locker-grid,
  .timeline-row {
    grid-template-columns: 1fr;
  }

  .scroll-gallery {
    gap: 16px;
    padding-left: 0;
  }

  .gallery-card {
    min-width: 82vw;
    height: 470px;
  }

  .gallery-label h3 {
    font-size: 25px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split img {
    min-height: 280px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  nav {
    display: none;
  }

  .site-header {
    justify-content: center;
  }

  .hero {
    background:
      linear-gradient(to right, rgba(0,0,0,.30), rgba(0,0,0,.02) 55%),
      linear-gradient(to bottom, rgba(0,0,0,0), var(--bg)),
      url("../images/hero-van.jpg") center / cover no-repeat;
  }

  .origin {
    grid-template-columns: 1fr;
  }
}
