/* =============================================
   jakepool.net — Main Stylesheet
   Dark navy palette
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #cbd5e0;
  background: #15324e;
}

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

a {
  color: #6ba8d6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.3;
  color: #f0f4f8;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 72px 0;
}

.section--gray {
  background: #112a42;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0f2540;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 2rem;
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 1.4rem;
  white-space: nowrap;
}

/* override the absolute positioning on mobile */

.nav__links a {
  color: #a0aec0;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: #6ba8d6;
  border-bottom-color: #6ba8d6;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #a0aec0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0f2540;
}

.hero__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}

.hero--short .hero__img {
  height: 260px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  cursor: pointer;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary {
  background: #4a86c0;
  color: #fff;
}

.btn--primary:hover {
  background: #5b9bd5;
}

.btn--outline {
  border: 2px solid #6ba8d6;
  color: #6ba8d6;
  background: transparent;
}

.btn--outline:hover {
  background: #6ba8d6;
  color: #0f1420;
}

.btn--large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ---------- About / Home ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3.5rem;
  align-items: start;
}

.about-grid__photo {
  order: 2;
}

.about-grid__text {
  order: 1;
}

.about-grid__photo img {
  border-radius: 8px;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
}

/* ---------- About page — centered circle photo ---------- */
.about-circle-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 2.5rem;
}

.about-circle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-grid__text h2 {
  margin-bottom: 1.2rem;
}

/* ---------- Services list ---------- */
.services-list {
  margin: 1.5rem 0 2rem;
  padding-left: 0;
  list-style: none;
}

.services-list li {
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
}

.services-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #6ba8d6;
  font-weight: 600;
}

/* ---------- Video Gallery ---------- */
.featured-video {
  margin-bottom: 3rem;
}

.featured-video__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

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

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.video-card {
  display: block;
  border-radius: 5px;
  overflow: hidden;
  background: #000;
  position: relative;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  text-decoration: none;
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.video-card:hover img {
  opacity: 0.85;
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.video-card:hover .video-card__play {
  opacity: 1;
}

.video-card__play svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

/* ---------- Voiceover Page ---------- */
.vo-intro {
  font-size: 1.05rem;
  max-width: 680px;
}

.vo-demos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

.vo-demo__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.vo-demo__embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.vo-cta-box {
  background: #112a42;
  border-left: 4px solid #6ba8d6;
  border-radius: 4px;
  padding: 2rem 2.5rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.vo-cta-box p {
  margin: 0;
  font-size: 1.05rem;
  color: #cbd5e0;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #1c3d61;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section--gray .testimonial-card {
  background: #1c3d61;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  color: #a0aec0;
  line-height: 1.7;
  flex: 1;
}

.testimonial-card__quote::before {
  content: "\201C";
  font-size: 1.8rem;
  line-height: 0;
  vertical-align: -0.5rem;
  color: #6ba8d6;
  margin-right: 4px;
}

.testimonial-card__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

.testimonial-card__role {
  font-size: 0.82rem;
  color: #718096;
  font-weight: 400;
}

/* ---------- About Page (full) ---------- */
.about-full__bio {
  max-width: 780px;
  font-size: 1.02rem;
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 820px;
}

.testimonial-full {
  border-left: 3px solid #6ba8d6;
  padding: 1rem 1.5rem;
  background: #112a42;
  border-radius: 0 4px 4px 0;
}

.testimonial-full__text {
  font-size: 0.95rem;
  color: #a0aec0;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.testimonial-full__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin-bottom: 0.6rem;
}

.section-header p {
  color: #718096;
  font-size: 1rem;
  max-width: 560px;
}

.section-header h2 {
  color: #f0f4f8;
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin: 0.6rem auto 0;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a1e30;
  color: #a0aec0;
  padding: 48px 0 32px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__brand img {
  height: 44px;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.footer__brand p {
  font-size: 0.85rem;
  color: #718096;
}

.footer__links h4 {
  color: #e2e8f0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.footer__links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__links a {
  color: #a0aec0;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer__contact h4 {
  color: #e2e8f0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.footer__contact a {
  color: #a0aec0;
  font-size: 0.9rem;
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: #fff;
  text-decoration: none;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.footer__bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 1.2rem 2rem 0;
  border-top: 1px solid #2d3748;
  font-size: 0.82rem;
  color: #718096;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about-grid__photo {
    order: 1;
    max-width: 320px;
  }

  .about-grid__text {
    order: 2;
  }

  .vo-demos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.45rem; }

  .section { padding: 48px 0; }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    transform: none;
    background: #0f2540;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    padding: 0.75rem 2rem;
    border-bottom: none;
  }

  .nav__toggle {
    display: flex;
  }

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

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

  .vo-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__img {
    height: 300px;
  }

  .hero--short .hero__img {
    height: 180px;
  }
}
