/* ============================================
   Derek Anderson — Keynote Speaker
   Design System & Full Styles
   ============================================ */

:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #334155;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #c8a84e;
  --accent-hover: #d4b85a;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

/* Section Heading */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--solid {
  background: var(--accent);
  color: var(--bg-primary);
  border: 2px solid var(--accent);
}

.btn--solid:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-muted);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--wide {
  width: 100%;
  text-align: center;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background: var(--bg-primary);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__cta {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.nav__cta:hover {
  background: var(--accent-hover);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--nav-height) 2rem 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #0c1322 50%, var(--bg-primary) 100%);
}

.hero__inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  max-width: 480px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Authority Strip
   ============================================ */

.authority {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(200, 168, 78, 0.15);
  border-bottom: 1px solid rgba(200, 168, 78, 0.15);
  padding: 2rem;
}

.authority__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.authority__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.authority__badge {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.authority__divider {
  width: 1px;
  height: 18px;
  background: var(--text-muted);
  opacity: 0.4;
}

.authority__caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ============================================
   Core Message
   ============================================ */

.message {
  position: relative;
  padding: 7rem 2rem;
  overflow: hidden;
}

.message__bg {
  position: absolute;
  inset: 0;
  background: url('../images/cave-briefing.jpg') center/cover no-repeat;
  opacity: 0.06;
}

.message__inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.message__body {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.message__points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.message__point {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.message__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
}

.message__close {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

/* ============================================
   Keynote Topics
   ============================================ */

.keynotes {
  background: var(--bg-secondary);
  padding: 7rem 2rem;
}

.keynotes__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.keynotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.keynotes__card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: left;
  border: 1px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.keynotes__card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.keynotes__number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.keynotes__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.keynotes__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   Story
   ============================================ */

.story {
  padding: 7rem 2rem 0;
}

.story__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.story__text p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.story__quote {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  text-transform: uppercase;
  padding: 1.5rem 0;
  margin: 1.5rem 0;
  border-top: 2px solid rgba(200, 168, 78, 0.3);
  border-bottom: 2px solid rgba(200, 168, 78, 0.3);
  line-height: 1.2;
}

.story__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.story__img--primary {
  grid-column: 1 / -1;
}

.story__img--primary img {
  max-height: 400px;
}

.story__img--secondary img,
.story__img--tertiary img {
  max-height: 220px;
}

/* Payoff shot */
.story__payoff {
  margin-top: 5rem;
  padding: 4rem 2rem;
  background: var(--bg-secondary);
  text-align: center;
}

.story__payoff-inner {
  max-width: 800px;
  margin: 0 auto;
}

.story__payoff-img {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.story__payoff-caption {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials {
  background: var(--bg-primary);
  padding: 7rem 2rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.testimonials__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonials__card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: left;
  position: relative;
}

.testimonials__quote-mark {
  width: 32px;
  height: 32px;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.testimonials__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonials__attribution {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.testimonials__attribution strong {
  color: var(--text-primary);
}

/* ============================================
   Video
   ============================================ */

.video {
  background: var(--bg-primary);
  padding: 7rem 2rem;
}

.video__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.video__content {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.video__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.video__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video__info {
  text-align: left;
}

.video__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.video__quote {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 1.2;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

.video__quote span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: none;
  color: var(--text-muted);
  display: block;
  margin-top: 0.5rem;
}

/* ============================================
   Contact / Booking
   ============================================ */

.contact {
  position: relative;
  padding: 7rem 2rem;
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  background: url('../images/rescued-boys.jpg') center/cover no-repeat;
  opacity: 0.05;
}

.contact__inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact__intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  text-align: left;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact__field--full {
  grid-column: 1 / -1;
}

.contact__field label {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact__field input,
.contact__field textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-card);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.3s ease;
}

.contact__field input:focus,
.contact__field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact__field textarea {
  resize: vertical;
}

.contact__form .btn {
  grid-column: 1 / -1;
  margin-top: 0.75rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--bg-secondary);
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(200, 168, 78, 0.1);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer__social-link:hover {
  color: var(--accent);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1023px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero__image {
    order: -1;
  }

  .hero__image img {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero__ctas {
    justify-content: center;
  }

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

  .story__images {
    max-width: 600px;
  }

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

  .video__info {
    text-align: center;
  }

  .video__quote {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid var(--accent);
    padding-top: 1.5rem;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 16px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__link {
    font-size: 1rem;
  }

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

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

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

  .story__img--primary img {
    max-height: 300px;
  }

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

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .authority__badges {
    flex-direction: column;
    gap: 0.75rem;
  }

  .authority__divider {
    width: 40px;
    height: 1px;
  }
}
