/* ============================================
   Jeff Bradshaw — About Page
   Gates-inspired minimal aesthetic
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav--scrolled {
  border-bottom-color: #e0e0e0;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #000;
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  font-weight: 500;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-social a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.nav-social a:hover {
  color: #5BA9A3;
  transform: translateY(-1px);
}

.nav-resume:hover {
  color: #5BA9A3;
  transform: translateY(-1px);
}

/* ---- Hamburger ---- */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile Nav ---- */

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav--open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-link {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: #5BA9A3;
}

.mobile-nav-social {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.mobile-nav-social a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-social a:hover {
  color: #5BA9A3;
}

.mobile-nav-social a svg {
  fill: currentColor;
}

/* ---- Drawing Intro ---- */

@keyframes drawingFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.drawing-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 0;
}

.drawing-intro-img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  border: none;
  box-shadow: none;
  opacity: 0;
  animation: drawingFadeIn 1s ease-in forwards;
}

.drawing-intro-quote {
  font-style: normal;
  font-size: 18px;
  text-align: center;
  color: #1a1a1a;
  margin-top: 30px;
  margin-bottom: 40px;
}

/* ---- Hero ---- */

.hero {
  padding: 60px 40px 120px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-name {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  color: #555;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.hero-subtext {
  font-size: 15px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Story Sections ---- */

.story-section {
  padding: 90px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-year {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}

.story-headline {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.story-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 24px;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-text em {
  font-style: italic;
}

/* ---- Image Placeholders ---- */

.story-image-wrap {
  margin-bottom: 48px;
}

.story-image-wrap.story-image-left {
  float: none;
}

.story-image-wrap.story-image-right {
  float: none;
}

.image-placeholder {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 10;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-placeholder span {
  font-size: 14px;
  font-weight: 400;
  color: #aaa;
  letter-spacing: 0.02em;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
}

.story-video {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  background: #000;
}

/* ---- Pull Quotes ---- */

.pull-quote {
  font-size: clamp(20px, 2.5vw, 24px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: #444;
  border-left: 3px solid #ddd;
  padding: 8px 0 8px 32px;
  margin: 48px 0 0;
}

.pull-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.02em;
}

/* ---- Through-Line ---- */

.through-line {
  background: #fafafa;
}

.through-line .story-text p {
  font-size: 18px;
  line-height: 1.75;
}

/* ---- Contact ---- */

.contact {
  padding: 120px 40px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.contact-text {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 32px;
}

.contact-email {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-email:hover {
  color: #555;
  border-color: #555;
}

/* ---- Footer ---- */

.footer {
  padding: 40px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer p {
  font-size: 13px;
  color: #aaa;
  letter-spacing: 0.02em;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 24px;
    height: 60px;
  }

  .nav-links {
    display: none;
  }

  .nav-social {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-nav {
    top: 60px;
  }

  .hero {
    padding: 140px 24px 80px;
  }

  .story-section {
    padding: 64px 24px;
  }

  .story-headline {
    margin-bottom: 28px;
  }

  .pull-quote {
    padding-left: 20px;
    margin-top: 36px;
  }

  .contact {
    padding: 80px 24px;
  }
}

@media (max-width: 480px) {
  .nav-name {
    font-size: 13px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .nav-social {
    gap: 12px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero-name {
    margin-bottom: 16px;
  }

  .story-section {
    padding: 48px 20px;
  }

  .contact {
    padding: 60px 20px;
  }
}

/* ---- Subtle entrance animations ---- */

@media (prefers-reduced-motion: no-preference) {
  .story-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .story-section.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
