/* SECTIONS */
.section {
  padding: 80px 48px;
}
.section--white {
  background: var(--white);
}
.section--off-white {
  background: var(--off-white);
}
.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 28px;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-body {
  font-size: 16px;
  color: var(--warm-gray);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.source {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(34, 40, 43, 0.7);
  margin-top: 8px;
  line-height: 1.45;
}

/* NAV (transparent, blue when scrolled) */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 0 5%;
  display: flex;
  align-items: center;
  height: 56px;
  transition: background 0.3s ease;
}
.nav.nav--solid {
  background: var(--blue);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
}
.nav-logo img {
  height: 18px;
  width: 63px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--white);
}

.nav-book-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 6px 16px;
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s;
}
.nav-book-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-search.nav-search--visible {
  opacity: 1;
  pointer-events: auto;
}
.nav-search-pill {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0 5px 0 20px;
  height: 38px;
  gap: 10px;
  min-width: 340px;
  transition: background 0.2s, border-color 0.2s;
}
.nav-search-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}
.nav-search-select {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  border: none;
  outline: none;
  appearance: none;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}
.nav-search-select option {
  background: var(--navy);
  color: var(--white);
}
.nav-search-go {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.nav-search-go:hover {
  opacity: 0.85;
}
.nav-search-go svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* FOOTER */
.footer {
  background: var(--navy);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  height: 12px;
  width: 42px;
  display: block;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-links {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-search {
    display: none !important;
  }
  .section {
    padding: 60px 24px;
  }
  .section-title {
    font-size: 24px;
  }
  .footer {
    padding: 16px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}
