/* =========================================================
   AD Laurent — Portfolio Site
   Palette: Off-white/cream bg, charcoal text, sage accent
   Typography: Playfair Display (headings) + Inter (body)
   ========================================================= */

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

:root {
  --bg:         #F8F6F2;
  --bg-alt:     #F0ECE5;
  --fg:         #1A1A1A;
  --fg-muted:   #5C5C5C;
  --accent:     #6B8F71;
  --accent-dark:#4E6B54;
  --warm:       #C0956C;
  --border:     #DDD8D0;
  --white:      #FFFFFF;

  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;

  --max-w:      1200px;
  --section-pad: 6rem 1.5rem;
}

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

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

/* === UTILITY === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn-outline:hover {
  background: var(--fg);
  color: var(--bg);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--accent); }

.section-intro {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 56ch;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 4rem;
}

/* === ANIMATIONS === */
.fade-in-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-right { opacity: 0; transform: translateX(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* === HEADER / NAV === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1.5rem;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(248,246,242,0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
}
.logo-initial {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--fg) !important;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--fg) !important;
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s;
}

/* === HERO SECTION === */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem 3rem;
  background: var(--bg);
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  color: var(--border);
  opacity: 0.35;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.08em;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w);
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.hero-portrait {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.portrait-frame {
  position: relative;
  width: min(380px, 100%);
}
.portrait-frame::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--accent);
  z-index: 0;
  opacity: 0.5;
  border-radius: 2px;
}
.portrait-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  aspect-ratio: 824/1024;
}

.hero-stat-badge {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.875rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  z-index: 2;
}
.hero-stat-badge .stat-number {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.hero-stat-badge .stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--fg-muted);
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* === ABOUT SECTION === */
.about-section {
  padding: var(--section-pad);
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.about-portrait {
  position: relative;
}
.about-portrait img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 2px;
  object-fit: cover;
  aspect-ratio: 965/1024;
  position: relative;
  z-index: 1;
}
.about-portrait-accent {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 70%;
  height: 60%;
  background: var(--accent);
  opacity: 0.12;
  border-radius: 2px;
  z-index: 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-bio {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

.about-quote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--fg);
  margin: 0.5rem 0;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.stat-desc {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* === TIMELINE SECTION === */
.timeline-section {
  padding: var(--section-pad);
  background: var(--bg);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-left .timeline-marker { grid-column: 2; grid-row: 1; }
.timeline-left .timeline-card   { grid-column: 1; grid-row: 1; text-align: right; }

.timeline-right .timeline-marker { grid-column: 2; grid-row: 1; }
.timeline-right .timeline-card   { grid-column: 3; grid-row: 1; text-align: left; }

.timeline-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding-top: 0.5rem;
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s;
}
.timeline-card:hover {
  box-shadow: 0 6px 32px rgba(0,0,0,0.09);
}

.timeline-card.has-image {
  padding-bottom: 0;
  overflow: hidden;
}
.timeline-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 1.25rem;
  display: block;
}

.timeline-card-present {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--white) 0%, rgba(107,143,113,0.05) 100%);
}

.timeline-year {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.timeline-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: var(--bg-alt);
  color: var(--fg-muted);
  border-radius: 1px;
}

/* === COLLABORATIONS SECTION === */
.collab-section {
  padding: var(--section-pad);
  background: var(--bg-alt);
}

.collab-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.collab-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  transition: border-color 0.2s;
}
.collab-stat:hover { border-color: var(--accent); }

.collab-stat-icon {
  margin-bottom: 0.25rem;
}

.collab-stat-value {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.collab-stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.platforms-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.platform-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.platform-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(107,143,113,0.1);
}

.platform-icon {
  margin: 0 auto 1rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
}

.platform-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.platform-followers {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.platform-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

.collab-portrait-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.collab-portrait-wrap img {
  width: 260px;
  height: auto;
  border-radius: 2px;
  object-fit: cover;
  aspect-ratio: 825/1024;
  flex-shrink: 0;
}

.collab-quote-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.collab-quote {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.55;
}
.collab-quote-attr {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* === GALLERY SECTION === */
.gallery-section {
  padding: var(--section-pad);
  background: var(--fg);
}
.gallery-section .section-eyebrow { color: var(--accent); }
.gallery-section .section-title { color: var(--bg); }
.gallery-section .section-title em { color: var(--accent); }
.gallery-section .section-intro { color: rgba(248,246,242,0.6); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  min-height: 260px;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.gallery-item-large img { min-height: 540px; }

.gallery-item-wide {
  grid-column: 2 / 4;
}
.gallery-item-wide img { min-height: 260px; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
}

/* === CTA SECTION === */
.cta-section {
  padding: var(--section-pad);
  background: var(--bg);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-eyebrow { color: var(--accent); }

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
}
.cta-title em { font-style: italic; color: var(--accent); }

.cta-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 52ch;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.2s;
  padding: 0.5rem 0;
}
.social-link:hover { color: var(--accent); }

/* === FOOTER === */
.site-footer {
  background: var(--fg);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.footer-brand .logo-initial { color: var(--accent); font-size: 1.4rem; }
.footer-brand .logo-name { color: var(--bg); font-size: 1rem; }

.footer-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.45);
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  margin: 0.5rem 0;
}
.footer-social-link {
  color: rgba(248,246,242,0.5);
  transition: color 0.2s;
}
.footer-social-link:hover { color: var(--accent); }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(248,246,242,0.3);
  letter-spacing: 0.06em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .timeline-item {
    grid-template-columns: 1fr 36px 1fr;
    gap: 1rem;
  }
  .collab-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root { --section-pad: 4rem 1.25rem; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta {
    border: none !important;
    padding: 0.85rem 1.5rem !important;
  }

  /* Hero mobile */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-content { align-items: center; }
  .hero-portrait { justify-content: center; }
  .portrait-frame { width: min(300px, 80vw); }
  .portrait-frame::before { display: none; }
  .hero-stat-badge { left: 50%; transform: translateX(-50%); bottom: -1.5rem; }
  .hero-bg-text { font-size: clamp(3rem, 18vw, 7rem); }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-portrait { display: flex; justify-content: center; }
  .about-portrait img { max-width: 280px; }
  .about-portrait-accent { display: none; }

  /* Timeline mobile — stacked */
  .timeline-line { left: 18px; transform: none; }
  .timeline-item {
    grid-template-columns: 36px 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }
  .timeline-left .timeline-marker,
  .timeline-right .timeline-marker { grid-column: 1; grid-row: 1; }
  .timeline-left .timeline-card,
  .timeline-right .timeline-card { grid-column: 2; grid-row: 1; text-align: left; }

  /* Collab */
  .collab-stats-row { grid-template-columns: repeat(2, 1fr); }
  .platforms-row { grid-template-columns: 1fr; }
  .collab-portrait-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .collab-portrait-wrap img { width: 200px; margin: 0 auto; }
  .collab-quote-block { text-align: center; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item-large {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .gallery-item-large img { min-height: 280px; }
  .gallery-item-wide {
    grid-column: 1 / 3;
  }

  /* CTA */
  .cta-buttons { flex-direction: column; width: 100%; max-width: 280px; }
  .btn { text-align: center; }

  /* About stats */
  .about-stats { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 1.8rem; }
  .collab-stats-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-large, .gallery-item-wide { grid-column: 1; }
  .about-portrait img { max-width: 220px; }
}
