/* Leaders Tech LLC - Reusable Components */

/* --- Three-lane band motif (from logo) --- */
.three-lanes-band {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.lane-navy { background-color: var(--navy-800); color: var(--bg); }
.lane-teal { background-color: var(--teal-700); color: var(--bg); }
.lane-navy-dark { background-color: var(--navy-900); color: var(--bg); }

.three-lane-divider {
  display: flex;
  height: 6px;
  width: 100%;
  margin: 0;
  border: 0;
}
.three-lane-divider span:nth-child(1) { flex: 1; background-color: var(--navy-800); }
.three-lane-divider span:nth-child(2) { flex: 1; background-color: var(--teal-700); }
.three-lane-divider span:nth-child(3) { flex: 1; background-color: var(--navy-900); }

/* --- Section Alternating Themes --- */
.section-white {
  background-color: var(--bg);
  padding: var(--space-12) 0;
}
.section-soft {
  background-color: var(--bg-soft);
  padding: var(--space-12) 0;
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: var(--space-2) 0;
  gap: var(--space-4);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  max-height: 50px;
  width: auto;
  max-width: 220px;
  aspect-ratio: 500 / 120;
  object-fit: contain;
  display: block;
  transition: transform 0.15s ease;
}

.site-logo:hover img {
  transform: scale(1.02);
}

@media (max-width: 960px) {
  .site-header .header-inner {
    min-height: 62px;
  }

  .site-logo img {
    height: 40px;
    max-height: 42px;
    max-width: 180px;
  }
}

@media (max-width: 600px) {
  .site-header .header-inner {
    min-height: 56px;
    padding: var(--space-1) 0;
  }

  .site-logo img {
    height: 35px;
    max-height: 36px;
    max-width: 150px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target-min);
  padding: var(--space-2) var(--space-3);
  color: var(--navy-800);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  background-color: var(--bg-soft);
  color: var(--teal-700);
}

.nav-link.active {
  color: var(--teal-700);
  font-weight: var(--font-weight-bold);
  border-bottom-color: var(--teal-500);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: var(--touch-target-min);
  padding: 0;
  background: transparent;
  border: none;
  color: var(--navy-800);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.dropdown-trigger:hover {
  background-color: var(--bg-soft);
  color: var(--teal-700);
}

.dropdown-caret {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -3px;
}

.dropdown-trigger[aria-expanded="true"] .dropdown-caret {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-2) 0;
  z-index: 110;
  list-style: none;
  margin: var(--space-1) 0 0 0;
}

.dropdown-panel.show,
.dropdown-trigger[aria-expanded="true"] + .dropdown-panel {
  display: block;
}

@media (min-width: 961px) {
  .nav-dropdown:hover .dropdown-panel,
  .nav-dropdown:focus-within .dropdown-panel {
    display: block;
  }

  .nav-dropdown:hover .dropdown-caret,
  .nav-dropdown:focus-within .dropdown-caret {
    transform: rotate(-135deg);
    margin-top: 3px;
  }
}

.dropdown-link {
  display: block;
  min-height: var(--touch-target-min);
  padding: var(--space-2) var(--space-4);
  color: var(--navy-800);
  text-decoration: none;
  font-size: var(--font-size-base);
  line-height: 1.4;
}

.dropdown-link:hover {
  background-color: var(--bg-soft);
  color: var(--teal-700);
}

/* Nav button style */
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target-min);
  padding: var(--space-2) var(--space-4);
  background-color: var(--navy-800);
  color: var(--bg) !important;
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-md);
  text-decoration: none;
}

.nav-btn:hover {
  background-color: var(--teal-700);
  color: var(--bg) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-bottom: 2px solid var(--line);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-item {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-panel {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding-left: var(--space-4);
    background-color: var(--bg-soft);
    border-radius: var(--radius-sm);
  }
}

/* --- Hero Section with Three-lane Bands Motif --- */
.hero-lanes {
  background: linear-gradient(180deg,
    var(--navy-800) 0%, var(--navy-800) 65%,
    var(--teal-700) 65%, var(--teal-700) 85%,
    var(--navy-900) 85%, var(--navy-900) 100%
  );
  color: var(--bg);
  padding: var(--space-12) 0 var(--space-16);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-8);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-content h1 {
  color: var(--bg);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  margin-bottom: var(--space-3);
  letter-spacing: var(--letter-spacing-tight);
}

.hero-subtitle {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-4);
  font-weight: var(--font-weight-medium);
}

.hero-chip-wrap {
  margin-bottom: var(--space-6);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 32, 71, 0.45);
  border: 1px solid var(--gold-500);
  color: var(--gold-500);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-video-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.35), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background-color: var(--navy-900);
}

@media (max-width: 900px) {
  .hero-video-card {
    margin-left: 0;
    margin-top: var(--space-6);
    max-width: 100%;
  }
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-logo-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  max-width: 360px;
  width: 100%;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .hero-logo-card {
    margin-left: 0;
    margin-top: var(--space-4);
  }
}

.hero-logo-card img {
  max-width: 100%;
  width: 320px;
  height: auto;
}

/* --- Chips & Badges --- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 12px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-full);
  line-height: 1.3;
}

.chip-proposed {
  background-color: var(--bg-soft);
  color: var(--orange-600);
  border: 1px solid var(--orange-600);
}

.preview-ribbon {
  background-color: var(--orange-600);
  color: var(--bg);
  text-align: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  padding: var(--space-1) var(--space-4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Notice Boxes (G1, G5, G10 Prototype) --- */
.notice-box {
  background-color: var(--bg-soft);
  border-left: 4px solid var(--teal-500);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-base);
}

.notice-box.notice-proposed {
  border-left-color: var(--orange-600);
  background-color: #FFF9F7;
  color: var(--navy-800);
}

.notice-box.notice-prototype {
  border: 2px dashed var(--orange-600);
  border-left-width: 6px;
  background-color: #FFF9F7;
  color: var(--navy-800);
  font-weight: var(--font-weight-medium);
}

.notice-box.notice-hiring {
  border-left-color: var(--teal-700);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--touch-target-min);
  padding: var(--space-3) var(--space-6);
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-align: center;
}

.btn-primary {
  background-color: var(--navy-800);
  color: var(--bg) !important;
}

.btn-primary:hover {
  background-color: var(--teal-700);
  color: var(--bg) !important;
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.btn-secondary:hover {
  background-color: var(--bg-soft);
  color: var(--teal-700);
  border-color: var(--teal-700);
}

.btn-teal {
  background-color: var(--teal-700);
  color: var(--bg) !important;
}

.btn-teal:hover {
  background-color: var(--teal-500);
}

.btn-outline-white {
  background-color: transparent;
  border: 2px solid var(--bg);
  color: var(--bg) !important;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--bg) !important;
}

/* Safe gold on navy only */
.btn-gold-on-navy {
  background-color: var(--gold-500);
  color: var(--navy-800) !important;
}

.btn-gold-on-navy:hover {
  background-color: #E0AB49;
}

.btn-sm {
  min-height: 38px;
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-sm);
}

/* --- Audience Boxes Grid --- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (max-width: 1024px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

.audience-card {
  position: relative;
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.audience-card:hover,
.audience-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-500);
}

.audience-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  color: var(--teal-700);
}

.audience-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
  line-height: var(--line-height-snug);
}

.audience-card h3 a {
  color: var(--navy-800);
  text-decoration: none;
}

.audience-card h3 a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

.audience-card p {
  color: var(--ink-muted);
  flex-grow: 1;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

/* --- Page Feature & Card Images --- */
.page-intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: var(--space-8);
}

@media (max-width: 860px) {
  .page-intro-grid {
    grid-template-columns: 1fr;
  }
}

.page-intro-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--line);
  background-color: var(--bg-soft);
  max-width: 420px;
  width: 100%;
  margin-left: auto;
}

@media (max-width: 860px) {
  .page-intro-media {
    margin-left: 0;
    margin-top: var(--space-4);
    max-width: 100%;
  }
}

.page-feature-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.card-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background-color: var(--bg-soft);
  border: 1px solid var(--line);
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.audience-card:hover .card-thumb-img {
  transform: scale(1.04);
}

.stretched-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
}

.audience-card .card-action {
  margin-top: auto;
  font-weight: var(--font-weight-bold);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-sm);
}

.audience-card .card-buttons {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
  z-index: 2;
}

/* --- Grade Cards Grid --- */
.grades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-6);
}

@media (max-width: 900px) {
  .grades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grades-grid {
    grid-template-columns: 1fr;
  }
}

.grade-card {
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.grade-card h3 {
  font-size: var(--font-size-xl);
  color: var(--navy-800);
  margin-bottom: var(--space-2);
}

.grade-card p {
  color: var(--ink-muted);
  margin-bottom: 0;
  font-size: 1rem;
}

/* --- Stepper Component for Selection Process --- */
.stepper-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

@media (max-width: 840px) {
  .stepper-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .stepper-steps {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background-color: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
}

.step-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--navy-800);
  color: var(--bg);
  font-weight: var(--font-weight-heavy);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-3);
}

.step-card h4 {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-2);
  color: var(--navy-800);
}

.step-card p {
  font-size: var(--font-size-sm);
  color: var(--ink-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Feature List (Eligibility & Help) */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.feature-list li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  line-height: 1.5;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-500);
  font-weight: var(--font-weight-bold);
}

/* --- Approved Body (#home-body) --- */
.home-body-section {
  padding: var(--space-12) 0;
  background-color: var(--bg);
  border-top: 1px solid var(--line);
}

.home-body-section .prose {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  line-height: 1.7;
}

.home-body-section p {
  margin-bottom: var(--space-6);
}

.pull-quote {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--navy-800);
  border-left: 4px solid var(--gold-500);
  padding: var(--space-4) var(--space-6);
  background-color: var(--bg-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-8) 0;
  line-height: 1.5;
}

.home-body-cta {
  margin: var(--space-8) 0;
  text-align: center;
}

/* --- Questions Strip --- */
.questions-strip {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: var(--space-8) 0;
}

.questions-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.questions-text h2 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
}

.questions-text p {
  margin-bottom: 0;
  color: var(--ink-muted);
}

/* --- Placeholder Block (Pending confirmation) --- */
.placeholder-block {
  border: 2px dashed var(--line);
  background-color: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin: var(--space-4) 0;
}

.placeholder-block.within-soft {
  background-color: var(--bg);
  border-color: #B8C5D6;
}

.placeholder-label {
  display: block;
  font-weight: var(--font-weight-bold);
  color: var(--teal-700);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-1);
}

.placeholder-text {
  font-size: var(--font-size-sm);
  color: var(--ink-muted);
  margin: 0;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--navy-900);
  color: var(--bg);
  padding: var(--space-12) 0 var(--space-8);
  margin-top: auto;
}

.site-footer a {
  color: var(--bg);
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--gold-500);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: var(--space-4);
}

.footer-founder {
  color: var(--gold-500); /* Gold on navy only */
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
}

.footer-slogan {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-4);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.footer-nav-col h3 {
  color: var(--bg);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-3);
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-col li {
  margin-bottom: var(--space-2);
}

.footer-notice {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--bg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--ink-muted);
}
