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

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

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #2c3e6b;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

/* ===== Layout ===== */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1000px;
}

.container--narrow {
  max-width: 640px;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 100;
  padding: 16px 0;
}

/* Nav on navy hero — transparent until scrolled */
.nav--hero {
  background: transparent;
  border-bottom: none;
  transition: background 0.3s, border-bottom 0.3s;
}

.nav--hero.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__brand {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e6b;
  text-decoration: none;
}

.nav--hero .nav__brand,
.nav--hero .nav__links a {
  color: rgba(255, 255, 255, 0.9);
}

.nav--hero.scrolled .nav__brand {
  color: #2c3e6b;
}

.nav--hero.scrolled .nav__links a {
  color: #444;
}

.nav--hero.scrolled .nav__links a.active {
  color: #2c3e6b;
}

.nav__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav__links a {
  font-size: 15px;
  font-weight: 400;
  color: #444;
  text-decoration: none;
  transition: color 0.3s;
}

.nav__links a:hover {
  color: #2c3e6b;
}

.nav__links a.active {
  color: #2c3e6b;
  font-weight: 500;
}

/* ===== Hero (Full viewport, navy) ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #1a2744 0%, #2c3e6b 40%, #3d5a9e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero__content {
  max-width: 680px;
}

.hero__line {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.6s ease forwards;
}

.hero__line--shift {
  color: #fff;
  font-weight: 500;
  margin-top: 32px;
}

.hero__line--punch {
  color: #fff;
  font-weight: 600;
  font-size: 28px;
  margin-top: 32px;
}

/* Staggered fade-in */
.hero__line:nth-child(1) { animation-delay: 0.2s; }
.hero__line:nth-child(2) { animation-delay: 0.5s; }
.hero__line:nth-child(3) { animation-delay: 0.8s; }
.hero__line:nth-child(4) { animation-delay: 1.4s; }
.hero__line:nth-child(5) { animation-delay: 1.7s; }
.hero__line:nth-child(6) { animation-delay: 2.3s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pulse 2s ease infinite;
  animation-delay: 3s;
  opacity: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* ===== Meet Adam (Side-by-side) ===== */
.meet {
  padding: 100px 24px 80px;
  position: relative;
}

.meet .container--wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.meet__photo-wrap {
  position: relative;
}

.meet__photo {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  margin: 0 auto;
}

.meet__text h2 {
  font-size: 36px;
  font-weight: 600;
  color: #2c3e6b;
  margin-bottom: 24px;
}

.meet__text p {
  margin-bottom: 16px;
}

.meet__link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 500;
  color: #2c3e6b;
  font-size: 17px;
}

/* ===== How I Help ===== */
.help {
  background: #f8f9fb;
  padding: 80px 24px;
}

.help__lead {
  font-size: 22px;
  font-weight: 500;
  color: #2c3e6b;
  line-height: 1.6;
  margin-bottom: 16px;
}

.help p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.help .section__title {
  text-align: center;
}

/* ===== Section Titles ===== */
.section__title {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e6b;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 24px;
}

.testimonials .section__title {
  text-align: center;
  margin-bottom: 48px;
}

.testimonial-card {
  background: #fff;
  border-left: 4px solid #2c3e6b;
  border-radius: 0 12px 12px 0;
  padding: 32px 36px;
  margin-bottom: 32px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-card:last-child {
  margin-bottom: 0;
}

.testimonial-card__quote {
  font-size: 17px;
  font-style: italic;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-card__attr {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e6b;
}

.testimonial-card__role {
  font-weight: 400;
  color: #888;
}

/* ===== CTA (Navy bookend) ===== */
.cta {
  background: linear-gradient(160deg, #1a2744 0%, #2c3e6b 60%, #3d5a9e 100%);
  text-align: center;
  padding: 100px 24px;
}

.cta__title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta__text {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta__email {
  display: inline-block;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  padding: 14px 36px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  transition: all 0.2s;
}

.cta__email:hover {
  background: #fff;
  color: #2c3e6b;
  border-color: #fff;
  opacity: 1;
}

/* ===== Footer ===== */
.footer {
  background: #1a2744;
  padding: 32px 24px;
  text-align: center;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  list-style: none;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer__social a:hover {
  color: #fff;
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__email {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer__email a {
  color: rgba(255, 255, 255, 0.5);
}

.footer__email a:hover {
  color: #fff;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== About Page: Navy Header ===== */
.about-header {
  background: linear-gradient(160deg, #1a2744 0%, #2c3e6b 60%, #3d5a9e 100%);
  padding: 120px 24px 100px;
  text-align: center;
}

.about-header__title {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
}

/* About photo overlapping navy into white */
.about-photo-wrap {
  text-align: center;
  margin-top: -60px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.about-photo {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

/* About story section */
.about-story {
  padding: 0 24px 80px;
}

.about-story p {
  margin-bottom: 16px;
}

/* Story photo inline */
.story-photo {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.story-photo-caption {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-top: -28px;
  margin-bottom: 40px;
}

/* Where I am now */
.about-now {
  background: #f8f9fb;
  padding: 80px 24px;
}

.about-now p {
  margin-bottom: 16px;
}

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

/* Desktop */
@media (min-width: 768px) {
  .hero__line {
    font-size: 28px;
  }

  .hero__line--punch {
    font-size: 34px;
  }

  .meet .container--wide {
    grid-template-columns: 380px 1fr;
    gap: 56px;
  }

  .meet__photo {
    margin-top: -60px; /* overlap into navy */
    max-width: 100%;
  }

  .meet__photo-wrap {
    position: sticky;
    top: 100px;
  }
}

@media (min-width: 1024px) {
  .hero__line {
    font-size: 32px;
  }

  .hero__line--punch {
    font-size: 38px;
  }

  .meet {
    padding: 120px 24px 100px;
  }

  .meet .container--wide {
    grid-template-columns: 400px 1fr;
    gap: 72px;
  }

  .testimonials {
    padding: 120px 24px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero {
    padding: 100px 24px 60px;
    text-align: center;
  }

  .hero__line {
    font-size: 22px;
  }

  .hero__line--punch {
    font-size: 26px;
  }

  .meet {
    padding: 64px 24px;
  }

  .meet__photo {
    max-width: 280px;
    margin: 0 auto 32px;
  }

  .meet__text h2 {
    font-size: 30px;
    text-align: center;
  }

  .section__title {
    font-size: 24px;
  }

  .cta__title {
    font-size: 28px;
  }

  .about-header {
    padding: 100px 24px 80px;
  }

  .about-header__title {
    font-size: 34px;
  }

  .about-photo-wrap {
    margin-top: -40px;
  }
}
