/* ============================================
   JOSÉPHINE VEKEMANS — Light & Elegant Theme
   ============================================ */

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

:root {
  --bg: #ffffff;
  --bg-tone: #f7f6f3;
  --line: #e8e5df;
  --ink: #111111;
  --ink-soft: #555555;
  --ink-muted: #8a8784;
  --accent: #111111;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.25s ease, color 0.25s ease;
}

a:hover {
  opacity: 0.6;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#site-header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--ink) !important;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links li a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-links li a:hover {
  color: var(--ink);
  opacity: 1;
}

.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: 1px;
  background: var(--ink);
}

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--bg);
}

.hero-photo {
  width: 50%;
  position: relative;
  overflow: hidden;
}

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

.hero-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 80px;
  background: var(--bg);
}

.hero-text h1 {
  font-family: var(--font);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-line {
  width: 56px;
  height: 1px;
  background: var(--ink);
  margin-bottom: 28px;
}

.hero-tagline {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-base {
  background: var(--bg);
  padding: 120px 0;
}

.section-tone {
  background: var(--bg-tone);
  padding: 120px 0;
}

.section-title {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ink);
  margin: 20px auto 0;
}

.section-title-sub {
  margin-top: 80px;
  font-size: 22px;
}

/* ============================================
   INFO CARDS
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.info-card {
  background: var(--bg);
  padding: 36px 32px;
}

.info-card-wide {
  grid-column: 1 / -1;
}

.info-card h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

.info-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 300;
}

.info-card p em {
  font-style: italic;
  color: var(--ink);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  max-width: 780px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--ink-muted);
  padding-top: 4px;
}

.timeline-content h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.timeline-content .role {
  font-size: 14px;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 6px;
}

.timeline-content .role em {
  font-style: italic;
  font-weight: 400;
}

.timeline-content .meta {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.55;
}

/* ============================================
   PHOTO GALLERY
   ============================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.photo-item {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--line);
}

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

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

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 32px;
  cursor: pointer;
  font-weight: 300;
  line-height: 1;
  z-index: 2001;
  transition: opacity 0.25s ease;
}

.lightbox-close:hover {
  opacity: 0.5;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ink);
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  padding: 16px;
  line-height: 1;
  z-index: 2001;
  transition: opacity 0.25s ease;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.5;
}

/* ============================================
   DEMO REEL
   ============================================ */
.demo-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--ink);
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   FORMATION
   ============================================ */
.formation {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.formation-school {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 32px;
}

.formation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.formation-list li {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.6;
}

.formation-list li strong {
  font-weight: 600;
  color: var(--ink);
  margin-right: 8px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
  text-align: center;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
  padding: 8px 4px;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--ink);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 36px 24px;
}

footer p {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media screen and (max-width: 900px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-text {
    padding: 80px 48px;
  }
}

@media screen and (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s ease;
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li a {
    font-size: 14px;
  }

  #hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-photo {
    width: 100%;
    height: 70vh;
  }

  .hero-text {
    width: 100%;
    padding: 60px 32px;
    text-align: center;
    align-items: center;
  }

  .section-base,
  .section-tone {
    padding: 80px 0;
  }

  .section-title {
    font-size: 22px;
    letter-spacing: 3px;
    margin-bottom: 56px;
  }

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

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }

  .timeline-content h3 {
    font-size: 17px;
  }
}

@media screen and (max-width: 400px) {
  .container {
    padding: 0 24px;
  }
  .hero-text h1 {
    font-size: 40px;
  }
  .hero-subtitle {
    letter-spacing: 4px;
  }
}
