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

:root {
  --bg:         #F0ECF0;
  --bg-2:       #E6E0E8;
  --text:       #1A1520;
  --text-muted: #7A6E80;
  --accent:     #9B6E9B;
  --border:     #D4C8D8;
  --white:      #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ─── Navigation ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(240, 236, 240, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 56px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.22em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 44px;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* ─── Hero ─── */
#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 64px 80px 80px;
  background: var(--bg);
}

.hero-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(50px, 5.5vw, 84px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 52px;
}

.hero-cta {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 5px;
  transition: color 0.2s, border-color 0.2s;
  width: fit-content;
}

.hero-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

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

/* ─── Tagline bar ─── */
.tagline-bar {
  background: var(--text);
  color: var(--bg);
  text-align: center;
  padding: 22px 32px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ─── Section header ─── */
.section-header {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 52px;
}

.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  white-space: nowrap;
}

.section-line {
  display: block;
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── Lookbook ─── */
#lookbook {
  padding: 100px 80px;
  background: var(--bg);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.lb-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.lb-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.lb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s ease;
}

.lb-card:hover .lb-image img {
  transform: scale(1.05);
}

.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 40px;
  transition: background 0.45s ease;
}

.lb-card:hover .lb-overlay {
  background: rgba(20, 18, 16, 0.52);
}

.lb-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.lb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.04s, transform 0.4s ease 0.04s;
}

.lb-location {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.08s, transform 0.4s ease 0.08s;
}

.lb-cta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 3px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.12s, transform 0.4s ease 0.12s;
}

.lb-card:hover .lb-label,
.lb-card:hover .lb-title,
.lb-card:hover .lb-location,
.lb-card:hover .lb-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Personal Style ─── */
#style {
  padding: 100px 80px;
  background: var(--bg-2);
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.style-item {
  overflow: hidden;
  cursor: pointer;
}

.style-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

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

/* ─── OOTD Archive ─── */
#ootd {
  padding: 100px 80px;
  background: var(--bg);
}

.ootd-grid {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}

.ootd-grid::-webkit-scrollbar {
  height: 3px;
}

.ootd-grid::-webkit-scrollbar-track {
  background: var(--bg-2);
}

.ootd-grid::-webkit-scrollbar-thumb {
  background: var(--border);
}

.ootd-item {
  flex: 0 0 300px;
  background: #ffffff;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
}

.ootd-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 0.6s ease;
}

.ootd-item:hover img {
  transform: scale(1.03);
}

/* ─── About ─── */
#about {
  padding: 100px 80px;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 88px;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 100px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 36px;
}

.about-bio {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 18px;
}

.about-bio strong {
  font-weight: 500;
}

/* Experience */
.experience-list {
  margin-top: 52px;
  border-top: 1px solid var(--border);
}

.exp-item {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.exp-year {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  white-space: nowrap;
  font-weight: 500;
  min-width: 44px;
  padding-top: 2px;
}

.exp-item strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.exp-item span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.exp-note {
  margin-top: 6px;
  font-style: italic;
  color: var(--accent) !important;
}

.exp-note a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  transition: opacity 0.2s;
}

.exp-note a:hover {
  opacity: 0.7;
}

/* Languages */
.about-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}

.about-languages span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 9px 18px;
  color: var(--text-muted);
}

/* Socials */
.about-socials {
  display: flex;
  gap: 32px;
  margin-top: 28px;
}

.about-socials a {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.about-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ─── Contact / Footer ─── */
#contact {
  background: #0D0B09;
  color: #F0EBE3;
  text-align: center;
  padding: 100px 80px;
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
}

#contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  font-weight: 300;
  color: #F0EBE3;
  margin-bottom: 52px;
  line-height: 1;
}

.contact-links {
  display: flex;
  gap: 52px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.contact-links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F0EBE3;
  border-bottom: 1px solid rgba(240, 235, 227, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.contact-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-location {
  font-size: 13px;
  color: rgba(240, 235, 227, 0.45);
  margin-bottom: 64px;
  letter-spacing: 0.05em;
}

.footer-credit {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(240, 235, 227, 0.2);
}

/* ─── Lightbox ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 7, 6, 0.96);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lb-main {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 88vh;
  max-width: 60vw;
}

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

.lb-close {
  position: absolute;
  top: 28px;
  right: 36px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  font-family: 'Cormorant Garamond', serif;
  transition: color 0.2s;
}

.lb-close:hover { color: white; }

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  cursor: pointer;
  padding: 18px 22px;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1;
}

.lb-prev:hover, .lb-next:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}

.lb-prev { left: 36px; }
.lb-next { right: 36px; }

.lb-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Print / PDF export ─── */
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  nav, #lightbox { display: none !important; }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }

  body { font-size: 11pt; }

  /* Hero */
  #hero { min-height: 0; height: auto; page-break-after: avoid; }
  .hero-image { min-height: 60vw; max-height: 60vw; }

  /* Tagline */
  .tagline-bar { page-break-after: avoid; }

  /* Lookbook — always show overlay labels */
  #lookbook { page-break-before: always; padding: 48pt 48pt 32pt; }
  .lb-label, .lb-title, .lb-location {
    opacity: 1 !important;
    transform: none !important;
  }
  .lb-overlay { background: rgba(20, 18, 16, 0.5) !important; }
  .lb-cta { display: none; }

  /* Personal Style */
  #style { padding: 48pt 48pt 32pt; }

  /* OOTD — wrap instead of horizontal scroll */
  #ootd { padding: 48pt 48pt 32pt; page-break-before: always; }
  .ootd-grid {
    flex-wrap: wrap;
    overflow: visible;
    gap: 12pt;
  }
  .ootd-item { flex: 0 0 22%; }

  /* About */
  #about { padding: 48pt 48pt 32pt; page-break-before: always; }
  .about-image { position: relative; top: 0; }

  /* Contact */
  #contact { padding: 48pt; page-break-before: always; }
}

/* ─── Fade-in on scroll ─── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 120px 40px 80px 48px; }
  nav { padding: 24px 40px; }
  nav.scrolled { padding: 16px 40px; }
  #lookbook, #style, #ootd, #about, #contact { padding: 80px 48px; }
  .about-grid { gap: 56px; }
}

@media (max-width: 768px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    order: 2;
    padding: 64px 32px;
  }

  .hero-image {
    order: 1;
    min-height: 75vw;
    max-height: 80vw;
  }

  nav { padding: 20px 28px; }
  nav.scrolled { padding: 14px 28px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 10px; }

  #lookbook, #style, #ootd, #about, #contact { padding: 64px 28px; }
  .ootd-item { flex: 0 0 220px; }

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

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

  .about-image {
    position: relative;
    top: 0;
    max-width: 360px;
  }

  .lb-main { max-width: 92vw; }
  .lb-main img { max-width: 92vw; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 42px; }
  .lookbook-grid { grid-template-columns: 1fr 1fr; }
  .style-grid { grid-template-columns: 1fr 1fr; }
  .ootd-item { flex: 0 0 160px; }
  .contact-links { flex-direction: column; gap: 20px; align-items: center; }
  .about-socials { flex-direction: column; gap: 16px; }
}
