/* =============================================
   TEAM LIMITLESS — style.css
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Barlow+Condensed:wght@400;500;600;700;800&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #1a2430;
  background: #ffffff;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); text-transform: uppercase; }
h4 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.06em; }

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  border-radius: 3px;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.btn-dark {
  background: #303f4e;
  color: #ffffff;
}
.btn-dark:hover { background: #253040; }

.btn-gold {
  background: #c8a97e;
  color: #ffffff;
}
.btn-gold:hover { background: #b5945f; }

.btn-outline {
  background: transparent;
  color: #303f4e;
  border: 2px solid #303f4e;
}
.btn-outline:hover { background: #303f4e; color: #fff; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #303f4e;
  height: 72px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

.nav a {
  color: #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav a:hover { color: #c8a97e; }

.nav .btn-gold {
  padding: 9px 22px;
  font-size: 0.9rem;
}
.nav .btn-gold:hover { color: #ffffff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #253040;
  z-index: 999;
  flex-direction: column;
  padding: 20px 32px 28px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.25s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: #c8a97e; }
.mobile-menu .btn-gold {
  display: inline-block;
  margin-top: 10px;
  width: fit-content;
  padding: 10px 28px;
  border-bottom: none;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #303f4e;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 28px 32px;
  font-size: 0.9rem;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.06em;
}
.site-footer a { color: #c8a97e; }

/* =============================================
   JOURNEY NAV COMPONENT
   ============================================= */
.journey-nav-wrap {
  background: #ffffff;
  border-bottom: 2px solid #f0e8de;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.journey-nav-wrap::-webkit-scrollbar { display: none; }

.journey-nav {
  display: flex;
  align-items: stretch;
  min-width: max-content;
  padding: 18px 32px;
  gap: 0;
}

.journey-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 46px;
  background: #f3e5d6;
  color: #303f4e;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0 28px 0 36px;
  margin-left: -1px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  z-index: 1;
  clip-path: polygon(
    0% 0%,
    calc(100% - 16px) 0%,
    100% 50%,
    calc(100% - 16px) 100%,
    0% 100%,
    16px 50%
  );
  white-space: nowrap;
  text-decoration: none;
}

.journey-step:first-child {
  clip-path: polygon(
    0% 0%,
    calc(100% - 16px) 0%,
    100% 50%,
    calc(100% - 16px) 100%,
    0% 100%
  );
  padding-left: 22px;
  z-index: 7;
}
.journey-step:nth-child(2) { z-index: 6; }
.journey-step:nth-child(3) { z-index: 5; }
.journey-step:nth-child(4) { z-index: 4; }
.journey-step:nth-child(5) { z-index: 3; }
.journey-step:nth-child(6) { z-index: 2; }
.journey-step:last-child {
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 100%,
    0% 100%,
    16px 50%
  );
  padding-right: 22px;
  z-index: 1;
}

.journey-step:hover {
  background: #c8a97e;
  color: #ffffff;
  z-index: 10;
}

.journey-step.current {
  background: #303f4e;
  color: #ffffff;
}

.journey-step.visited {
  background: #dfc4a0;
  color: #303f4e;
}

.journey-step .step-check {
  margin-left: 5px;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }

.section-dark { background: #303f4e; color: #ffffff; }
.section-cream { background: #f3e5d6; }
.section-white { background: #ffffff; }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8a97e;
  margin-bottom: 14px;
  display: block;
}

.section-dark .section-label { color: #c8a97e; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: #303f4e;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
}

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

.hero h1 { color: #ffffff; margin-bottom: 20px; }
.hero .subheading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8a97e;
  margin-bottom: 36px;
}

/* Hero with split layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 500px;
}

.hero-split-img {
  height: 500px;
  overflow: hidden;
  border-radius: 4px;
}
.hero-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-simple {
  min-height: 380px;
  display: flex;
  align-items: center;
}

/* =============================================
   CARDS
   ============================================= */
.cards-grid {
  display: grid;
  gap: 28px;
}

.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #ffffff;
  border-radius: 6px;
  padding: 36px 30px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0,0,0,0.13); }

.card-icon {
  width: 52px;
  height: 52px;
  background: #f3e5d6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.card-cream { background: #f3e5d6; }

/* Team member card */
.team-card {
  text-align: center;
}
.team-card .member-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 22px;
  border: 4px solid #c8a97e;
}
.team-card .member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 { color: #303f4e; margin-bottom: 6px; }
.team-card .role {
  color: #c8a97e;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Download card */
.download-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 4px solid #c8a97e;
  transition: transform 0.3s, box-shadow 0.3s;
}
.download-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0,0,0,0.13); }
.download-card .file-icon {
  font-size: 2.5rem;
  line-height: 1;
}
.download-card h3 { margin-bottom: 4px; }
.download-card p { color: #666; font-size: 0.95rem; flex: 1; }

/* =============================================
   CONTENT LAYOUTS
   ============================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-img {
  height: 440px;
  border-radius: 6px;
  overflow: hidden;
}
.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-col .eyebrow {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8a97e;
  margin-bottom: 12px;
}

/* =============================================
   VIDEO
   ============================================= */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-block { margin: 48px 0; }
.video-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #303f4e;
  margin-bottom: 14px;
}
.video-caption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #777;
  font-style: italic;
}

/* =============================================
   FORMS
   ============================================= */
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #303f4e;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: #1a2430;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c8a97e;
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* =============================================
   GREETING / PASSWORD PAGE
   ============================================= */
.greeting-page {
  min-height: 100vh;
  background: #303f4e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.greeting-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 56px 48px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(8px);
}

.greeting-logo {
  height: 72px;
  width: auto;
  margin: 0 auto 36px;
}

.greeting-box h1 {
  color: #ffffff;
  font-size: 1.9rem;
  margin-bottom: 10px;
}
.greeting-box p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.password-input-wrap {
  position: relative;
  margin-bottom: 16px;
}
.password-input-wrap input {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.1em;
  transition: border-color 0.25s;
}
.password-input-wrap input::placeholder { color: rgba(255,255,255,0.4); letter-spacing: 0.05em; }
.password-input-wrap input:focus {
  outline: none;
  border-color: #c8a97e;
}

.password-error {
  color: #ff6b6b;
  font-size: 0.875rem;
  min-height: 22px;
  margin-bottom: 14px;
  font-family: 'Barlow', sans-serif;
}

.greeting-box .btn-gold {
  width: 100%;
  padding: 15px;
  font-size: 1.05rem;
}

/* =============================================
   MAP
   ============================================= */
.map-wrap {
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =============================================
   CONTACT INFO
   ============================================= */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: #f3e5d6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =============================================
   JOURNEY PAGE PROGRESS
   ============================================= */
.journey-steps-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin: 48px 0;
}

.journey-overview-step {
  background: #f3e5d6;
  border-radius: 6px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: #303f4e;
  display: block;
}
.journey-overview-step:hover {
  background: #c8a97e;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.journey-overview-step .step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #c8a97e;
  line-height: 1;
  margin-bottom: 8px;
}
.journey-overview-step:hover .step-num { color: rgba(255,255,255,0.7); }
.journey-overview-step h4 { font-size: 0.85rem; margin-bottom: 8px; }
.journey-overview-step p { font-size: 0.8rem; color: #666; line-height: 1.4; margin: 0; }
.journey-overview-step:hover p { color: rgba(255,255,255,0.85); }

/* =============================================
   PLACEHOLDER VIDEO
   ============================================= */
.video-placeholder {
  position: relative;
  padding-bottom: 56.25%;
  background: #f3e5d6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #303f4e;
  opacity: 0.6;
  text-align: center;
  padding: 20px;
}
.video-placeholder-inner .play-icon { font-size: 3rem; margin-bottom: 12px; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: #303f4e;
  padding: 72px 0;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 36px; }

/* =============================================
   SCROLL FADE ANIMATION
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* =============================================
   TEXT UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-gold { color: #c8a97e; }
.text-white { color: #ffffff; }
.text-muted { color: #666666; }
.bold { font-weight: 700; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* Divider */
.divider {
  width: 64px;
  height: 3px;
  background: #c8a97e;
  margin: 20px 0 28px;
}
.text-center .divider { margin-left: auto; margin-right: auto; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .journey-steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .container { padding: 0 20px; }

  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .hero { min-height: 70vh; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .two-col-img { height: 300px; }
  .two-col.reverse-mobile > *:first-child { order: 2; }
  .two-col.reverse-mobile > *:last-child { order: 1; }

  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-split-img { height: 280px; }

  .journey-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-nav { padding: 14px 20px; }
  .journey-step { min-width: 100px; font-size: 0.72rem; height: 40px; }

  .greeting-box { padding: 40px 28px; }

  .map-wrap { height: 300px; }
}

@media (max-width: 480px) {
  .journey-steps-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 85vh; }
  .greeting-box { padding: 32px 20px; }
}
