/* =========================================================================
   KWAME GRANDERSON PHOTOGRAPHY — shared stylesheet
   ========================================================================= */
:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --bg-elev: #111111;
  --ivory: #f5f1e8;
  --ivory-dim: rgba(245,241,232,0.72);
  --ivory-faint: rgba(245,241,232,0.45);
  --gold: #c9a961;
  --gold-bright: #e5c989;
  --line: rgba(245,241,232,0.14);
  --line-soft: rgba(245,241,232,0.07);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
  min-height: 100vh;
}
::selection { background: var(--gold); color: #000; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled {
  background: rgba(0,0,0,0.88);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1600px; margin: 0 auto; padding: 0 36px;
  display: flex; align-items: center; justify-content: space-between;
}
@media (max-width: 720px) { .nav-inner { padding: 0 22px; } }
.brand {
  font-family: var(--serif);
  font-size: 19px; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ivory);
}
.brand .dot { color: var(--gold); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory-faint);
  transition: color .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a.active::after {
  content: ""; display: block; height: 1px; background: var(--gold);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .nav-links a:not(:last-child):not(.cta) { display: none; }
}

/* ============ LANDING HERO ============ */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  background: #000;
}
.hero-stage { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 2.2s var(--ease-out), transform 9s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1.04); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 25%, transparent 55%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}
.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 0 80px; z-index: 2;
  pointer-events: none;
}
.hero-content-inner { max-width: 1600px; margin: 0 auto; padding: 0 36px; }
@media (max-width: 720px) {
  .hero-content { padding-bottom: 56px; }
  .hero-content-inner { padding: 0 22px; }
}
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 130px);
  font-weight: 500; line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 22px;
  max-width: 900px;
  pointer-events: auto;
}
.hero h1 .italic { font-style: italic; color: var(--gold-bright); font-weight: 400; }
.hero-sub {
  font-size: 17px; max-width: 540px;
  color: var(--ivory-dim);
  line-height: 1.65; font-weight: 300;
  pointer-events: auto;
}
.hero-caption {
  position: absolute; bottom: 32px; right: 36px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory-faint); z-index: 2;
  pointer-events: none; font-weight: 500;
}
@media (max-width: 720px) { .hero-caption { display: none; } }

/* ============ MANIFESTO ============ */
.manifesto { padding: 140px 0; background: var(--bg); }
@media (max-width: 720px) { .manifesto { padding: 80px 0; } }
.manifesto-inner {
  max-width: 900px; margin: 0 auto; padding: 0 36px;
  text-align: center;
}
@media (max-width: 720px) { .manifesto-inner { padding: 0 22px; } }
.manifesto-eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 26px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 14px;
}
.manifesto-eyebrow::before, .manifesto-eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--gold); }
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.45;
  color: var(--ivory);
  font-weight: 400; font-style: italic;
}
.manifesto p + p {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 16px; font-style: normal;
  color: var(--ivory-dim);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
  line-height: 1.75;
}

/* ============ SERIES INDEX (landing) ============ */
.series-index {
  padding: 80px 0 140px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) { .series-index { padding: 40px 0 80px; } }

.series-index-header {
  max-width: 1500px;
  margin: 0 auto 80px;
  padding: 0 36px;
  text-align: center;
  position: relative; z-index: 2;
}
@media (max-width: 720px) { .series-index-header { padding: 0 22px; margin-bottom: 48px; } }
.series-index-eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 14px;
}
.series-index-eyebrow::before, .series-index-eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--gold); }
.series-index-title {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ivory);
  letter-spacing: -0.005em;
  margin-bottom: 22px;
}
.series-index-title .italic { font-style: italic; color: var(--gold-bright); }
.series-index-lede {
  max-width: 600px; margin: 0 auto;
  font-family: var(--serif);
  font-size: 19px; font-style: italic;
  line-height: 1.5;
  color: var(--ivory-dim);
}

/* World map backdrop */
.world-map {
  position: absolute;
  top: 60px; left: 50%;
  width: 1700px; max-width: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
}
.world-map svg { width: 100%; height: auto; display: block; }
.world-map .continent { fill: var(--ivory); }
.world-map .marker { fill: var(--gold); animation: markerPulse 4s ease-in-out infinite; }
.world-map .marker-ring { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0.5; animation: markerRingPulse 4s ease-in-out infinite; }
@keyframes markerPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }
@keyframes markerRingPulse {
  0% { stroke-width: 1; opacity: 0.6; r: 6; }
  100% { stroke-width: 0.3; opacity: 0; r: 18; }
}

.series-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  position: relative; z-index: 2;
}
@media (min-width: 860px) { .series-grid { grid-template-columns: 1fr 1fr; gap: 56px 48px; } }
@media (max-width: 720px) { .series-grid { padding: 0 22px; gap: 48px; } }

.series-card {
  display: block;
  text-decoration: none; color: inherit;
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.series-card.in { opacity: 1; transform: none; }
.series-card-image {
  width: 100%; aspect-ratio: 5/4;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
.series-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease), filter 1.4s var(--ease);
  filter: saturate(0.9) brightness(0.92);
}
.series-card:hover .series-card-image img {
  transform: scale(1.05);
  filter: saturate(1.05) brightness(1.0);
}
.series-card-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.series-card-content {
  padding: 32px 4px 0;
  display: flex; flex-direction: column;
}
.series-card-number {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.series-card-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: -0.005em;
  line-height: 1.0;
  margin-bottom: 18px;
}
.series-card-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ivory-dim);
  margin-bottom: 22px;
  line-height: 1.45;
  max-width: 460px;
}
.series-card-meta {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory-faint);
  display: flex; align-items: center; gap: 16px;
}
.series-card-meta .dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.series-card-cta {
  margin-top: 22px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap .3s var(--ease);
}
.series-card:hover .series-card-cta { gap: 16px; }

/* ============ SERIES PAGE: HERO ============ */
.series-hero {
  padding: 200px 0 80px;
  background: var(--bg);
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 720px) { .series-hero { padding: 130px 0 56px; } }
.series-hero-inner { max-width: 900px; margin: 0 auto; padding: 0 36px; }
@media (max-width: 720px) { .series-hero-inner { padding: 0 22px; } }
.series-hero-chapter {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.series-hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 124px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--ivory);
  margin-bottom: 36px;
}
.series-hero h1 .italic { font-style: italic; }
.series-hero-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 23px);
  color: var(--ivory-dim);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}
.series-hero-meta {
  margin-top: 40px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ivory-faint);
}

/* ============ SERIES PAGE: PHOTO STREAM (Joey Lawrence model) ============ */
.stream {
  padding: 100px 0 80px;
  background: var(--bg);
}
@media (max-width: 720px) { .stream { padding: 56px 0 56px; } }

.frame {
  margin: 0 auto 160px;
  padding: 0 40px;
  max-width: 1500px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}
.frame.in { opacity: 1; transform: none; }
.frame:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .frame { margin-bottom: 80px; padding: 0 22px; }
}

.frame-image {
  display: block;
  width: 100%;
  max-width: 100%;
  cursor: zoom-in;
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
}
.frame-image img {
  width: 100%; height: auto;
  display: block;
  filter: saturate(0.95) brightness(0.96);
  transition: filter 1s var(--ease), transform 1.4s var(--ease);
}
.frame-image:hover img { filter: saturate(1.04) brightness(1.0); transform: scale(1.02); }

.frame-image::after {
  content: "";
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f1e8' stroke-width='1.5'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.35-4.35M11 8v6M8 11h6'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  opacity: 0;
  transition: opacity .35s var(--ease);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.frame-image:hover::after { opacity: 1; }

.frame-caption {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: baseline;
}
@media (max-width: 720px) {
  .frame-caption { grid-template-columns: 1fr; gap: 4px; padding-top: 14px; margin-top: 18px; }
}
.frame-number {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.frame-title {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.frame-meta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .frame-title { font-size: 18px; margin-top: 4px; }
  .frame-meta { font-size: 10px; margin-top: 4px; }
}

/* ============ NEXT SERIES TEASER ============ */
.next-series {
  padding: 100px 0 140px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
@media (max-width: 720px) { .next-series { padding: 70px 0 100px; } }
.next-series-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px; letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.next-series-link {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.05;
  transition: color .3s var(--ease), letter-spacing .3s var(--ease);
}
.next-series-link:hover { color: var(--gold-bright); letter-spacing: 0.01em; }
.next-series-link .italic { font-style: italic; }
.next-series-arrow {
  display: block;
  margin-top: 32px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ivory-faint);
}
.next-series-back {
  margin-top: 64px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory-faint);
  display: inline-block;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.next-series-back:hover { color: var(--gold); border-color: var(--gold); }

/* ============ ABOUT ============ */
.about {
  padding: 140px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 720px) { .about { padding: 80px 0; } }
.about-inner {
  max-width: 980px; margin: 0 auto; padding: 0 36px;
  display: grid; grid-template-columns: 1fr; gap: 60px;
  align-items: center;
}
@media (min-width: 860px) { .about-inner { grid-template-columns: 1fr 1.2fr; gap: 80px; } }
@media (max-width: 720px) { .about-inner { padding: 0 22px; } }
.about-eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; font-weight: 500;
}
.about h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500; line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 26px;
  letter-spacing: -0.005em;
}
.about h2 .italic { font-style: italic; color: var(--gold-bright); }
.about p {
  color: var(--ivory-dim);
  font-size: 16px; line-height: 1.8;
  margin-bottom: 18px; font-weight: 300;
}
.about a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color .25s var(--ease);
}
.about a:hover { color: var(--gold-bright); }

/* ============ FOOTER ============ */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}
.footer-inner {
  max-width: 1600px; margin: 0 auto; padding: 0 36px;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px;
}
@media (max-width: 720px) { .footer-inner { padding: 0 22px; } }
.footer-brand { font-family: var(--serif); font-size: 18px; color: var(--ivory); font-weight: 500; letter-spacing: 0.04em; }
.footer-brand .dot { color: var(--gold); }
.footer-tag { color: var(--ivory-faint); font-size: 12px; margin-top: 4px; letter-spacing: 0.06em; }
.footer-links { display: flex; gap: 28px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
.footer-links a { color: var(--ivory-faint); transition: color .25s var(--ease); font-weight: 500; }
.footer-links a:hover { color: var(--gold); }
.copyright {
  max-width: 1600px; margin: 36px auto 0; padding: 24px 36px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 11px; color: var(--ivory-faint);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) { .copyright { padding: 24px 22px 0; } }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-stage {
  position: relative;
  width: 92vw; max-width: 1800px;
  height: 84vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-image {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.lightbox-image.loaded { opacity: 1; }
.lightbox-loader {
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox-loader.show { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.lightbox-meta {
  position: absolute; bottom: 32px; left: 36px;
  color: var(--ivory); max-width: 600px; pointer-events: none;
}
@media (max-width: 720px) { .lightbox-meta { left: 22px; bottom: 22px; } }
.lightbox-title { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.2; }
.lightbox-location { margin-top: 6px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.lightbox-counter {
  position: absolute; bottom: 32px; right: 36px;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--ivory-faint);
  font-feature-settings: "tnum";
}
@media (max-width: 720px) { .lightbox-counter { right: 22px; bottom: 22px; } }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: 1px solid var(--line);
  color: var(--ivory);
  width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid var(--line);
  color: var(--ivory);
  width: 56px; height: 56px; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
  z-index: 3;
}
.lightbox-nav:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,169,97,0.08); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 720px) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.2s !important; }
  .hero-slide.active { transform: none !important; }
}
