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

:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --cream: #f5f0eb;
  --mid: #888;
  --accent: #C86B3A;
  --accent-light: #E08050;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
}

.nav-name {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--white);
  mix-blend-mode: difference;
}

.nav-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--white);
  background: var(--accent);
  padding: 8px 20px;
  border-radius: 2px;
  opacity: 1;
  transition: background 0.2s;
  mix-blend-mode: normal;
}
.nav-cta:hover { background: var(--accent-light); }

/* ─── Hero ─── */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: flex-start;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: fadeIn 1.2s 0.3s ease forwards;
}

.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.62) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.8);
}

.hero-text {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 120px 60px 0;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s 0.8s ease forwards;
}

.hero-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--accent);
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.hero-name em {
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  margin-top: 24px;
  font-size: 10px;
  letter-spacing: 0.4em;
  font-weight: 400;
  opacity: 0.5;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.4s ease forwards;
}

/* ─── Stats ─── */
.stats {
  background: var(--black);
  color: var(--white);
  padding: 120px 40px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.stats-heading h2 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.stats-bio {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--accent);
  padding-top: 16px;
}

.stat-val {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  font-weight: 400;
  opacity: 0.45;
  text-transform: uppercase;
}

/* ─── Portfolio ─── */
.portfolio {
  padding: 100px 0;
  background: var(--white);
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--accent);
  padding: 0 40px;
  margin-bottom: 40px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 58vw 44vw 40vw 34vw;
  gap: 4px;
  padding: 0 40px;
}

/* Row 1 — two tall portraits */
.grid-item:nth-child(1) { grid-column: 1 / 7; }
.grid-item:nth-child(2) { grid-column: 7 / 13; }

/* Row 2 — portrait + wide landscape */
.grid-item:nth-child(3) { grid-column: 1 / 5; }
.grid-item:nth-child(4) { grid-column: 5 / 13; }

/* Row 3 — three across */
.grid-item:nth-child(5) { grid-column: 1 / 5; }
.grid-item:nth-child(6) { grid-column: 5 / 9; }
.grid-item:nth-child(7) { grid-column: 9 / 13; }

/* Row 4 — three across */
.grid-item:nth-child(8) { grid-column: 1 / 5; }
.grid-item:nth-child(9) { grid-column: 5 / 9; }
.grid-item:nth-child(10) { grid-column: 9 / 13; }

/* Per-photo crop adjustments */
.grid-item:nth-child(2) img { object-position: center 85%; }
.grid-item:nth-child(3) img { object-position: center 20%; }
.grid-item:nth-child(4) img { object-position: center 25%; }
.grid-item:nth-child(5) img { object-position: center 20%; }
.grid-item:nth-child(6) img { object-position: center 75%; }

.grid-item {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.grid-item img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.grid-item:hover img { transform: scale(1.04); }

.img-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.grid-item:hover .img-overlay { opacity: 1; }

/* ─── Quote ─── */
.quote-section {
  padding: 120px 40px;
  background: var(--cream);
  display: flex;
  justify-content: center;
}

.editorial-quote {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.01em;
}

.editorial-quote em {
  font-style: italic;
  color: var(--accent);
}

/* ─── Contact ─── */
.contact {
  background: var(--black);
  color: var(--white);
  padding: 120px 40px;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.contact-heading {
  font-family: var(--serif);
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.contact-heading em {
  font-style: italic;
  color: var(--accent);
}

.contact-details {
  text-align: right;
  padding-bottom: 8px;
}

.contact-link {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--accent); }

.contact-location {
  font-size: 10px;
  letter-spacing: 0.25em;
  opacity: 0.4;
}

/* ─── Footer ─── */
.footer {
  background: var(--black);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  padding: 24px 40px;
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.35;
}

/* ─── Animations ─── */
@keyframes fadeIn {
  to { opacity: 1; }
}

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

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .editorial-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    grid-template-rows: unset;
  }

  .grid-item:nth-child(n) {
    aspect-ratio: 4 / 5;
  }

  .grid-item:nth-child(4) img { object-position: center top; }
  .grid-item:nth-child(5) img { object-position: center top; }

  .contact-inner {
    flex-direction: column;
    gap: 60px;
    align-items: flex-start;
  }

  .contact-details { text-align: left; }
}

@media (max-width: 600px) {
  .nav { padding: 24px 20px; }
  .hero-text { padding: 110px 24px 0; }
  .hero-scroll { right: 20px; }
  .stats { padding: 80px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio { padding: 80px 0; }
  .section-label { padding: 0 20px; }
  .editorial-grid { padding: 0 20px; }
  .quote-section { padding: 80px 20px; }
  .contact { padding: 80px 20px; }
  .footer { padding: 20px; }
}
