/* ============================================================
   Fine-Art Photography Portfolio — Phase 1 Mockup
   Palette: 50% grey background to let B&W prints breathe.
   Type:    Cormorant Garamond (display) + Jost (UI / labels)
   NOTE:    All image blocks are placeholders (.ph). Swap for
            real photos later — markup stays the same.
   ============================================================ */

:root {
  --grey:   #808080;            /* 50% grey "stage" behind images */
  --bg:     #f3f2ef;            /* soft white base for text / nav areas */
  --ink:    #161616;            /* near-black text */
  --ink-2:  rgba(20,20,20,.55); /* secondary text */
  --line:   rgba(20,20,20,.22); /* hairline dividers */
  --paper:  #f4f4f2;            /* light accents */
  --shadow: 0 18px 50px rgba(0,0,0,.30);
  --shadow-sm: 0 8px 24px rgba(0,0,0,.22);
  --maxw: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── HEADER ─────────────────────────────────────────── */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.2rem clamp(1.5rem, 5vw, 4.5rem);
  position: relative;
  z-index: 10;
}
.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.menu {
  display: flex;
  gap: clamp(1.4rem, 3vw, 2.8rem);
}
.menu a {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color .25s;
  padding-bottom: 3px;
  position: relative;
}
.menu a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--ink);
  transition: width .3s ease;
}
.menu a:hover { color: var(--ink); }
.menu a:hover::after { width: 100%; }
.menu a.active { color: var(--ink); }
.menu a.active::after { width: 100%; }

/* ── IMAGES ─────────────────────────────────────────── */
.shot {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: var(--shadow-sm);
  background: rgba(0,0,0,.05);
}

/* ── LAYOUT BANDS: white content (.wrap) vs grey image stages (.stage) ── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4.5rem);
}
.stage { background: var(--grey); }
.stage-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
}

/* ── HOMEPAGE / ENTRY ───────────────────────────────── */
.entry {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 5rem) clamp(1.5rem, 5vw, 4.5rem) 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.marquee {
  width: 100%;
  max-width: 1040px;
}
.marquee .shot {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.entry-cap {
  text-align: center;
  padding: 2.6rem 1rem 1rem;
  font-size: .66rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ── GENERIC PAGE WRAP ──────────────────────────────── */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 4.5rem) 6rem;
}
.page-intro {
  text-align: center;
  margin: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.crumb {
  font-size: .62rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.page-intro h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: .02em;
}
.page-intro .sub {
  margin-top: 1rem;
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--ink-2);
}

/* ── PORTFOLIOS INDEX ───────────────────────────────── */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.pf-card { display: block; }
.pf-card .shot { aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1), box-shadow .4s; }
.pf-card:hover .shot { transform: translateY(-4px); box-shadow: var(--shadow); }
.pf-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: .04em;
  margin-top: 1.1rem;
  text-align: center;
  color: var(--ink);
}
.pf-card .count {
  display: block;
  text-align: center;
  font-size: .58rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: .35rem;
}

/* ── PORTFOLIO INTRO (large thumbnail grid) ─────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
}
.work .shot { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1), box-shadow .4s, opacity .3s; }
.work:hover .shot { transform: scale(1.015); box-shadow: var(--shadow); }

/* ── INDIVIDUAL DETAIL VIEW ─────────────────────────── */
.detail {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 5vw, 4.5rem) 6rem;
}
.back {
  display: inline-block;
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 2.5rem;
  transition: color .25s;
}
.back:hover { color: var(--ink); }
.detail-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  justify-items: center;
}
.detail-img {
  width: 100%;
  max-width: 980px;
}
.detail-img .shot {
  width: 100%;
  height: auto;
  box-shadow: var(--shadow);
}
/* Dynamic print description — hidden entirely when empty (.is-empty) */
.meta {
  max-width: 640px;
  text-align: center;
  padding-top: .5rem;
}
.meta.is-empty { display: none; }
.meta-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
.meta-body {
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.95;
  max-width: 560px;
  margin: 0 auto 1.4rem;
}
.meta-spec {
  font-size: .6rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: inline-block;
}

/* ── SIMPLE CONTENT PAGES (about / contact) ─────────── */
.simple {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 7rem) clamp(1.5rem, 5vw, 4.5rem) 6rem;
  text-align: center;
}
.simple h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 2rem;
}
.placeholder-lines span {
  display: block;
  height: 10px;
  background: rgba(20,20,20,.14);
  border-radius: 2px;
  margin: 0 auto .9rem;
}
.placeholder-lines span:nth-child(1) { width: 80%; }
.placeholder-lines span:nth-child(2) { width: 92%; }
.placeholder-lines span:nth-child(3) { width: 70%; }
.placeholder-lines span:nth-child(4) { width: 86%; }
.placeholder-lines span:nth-child(5) { width: 54%; }
.simple .shot { aspect-ratio: 4/5; object-fit: cover; max-width: 340px; margin: 0 auto 2.5rem; }
.portrait-placeholder {
  aspect-ratio: 4/5; max-width: 340px; margin: 0 auto 2.5rem;
  background: rgba(20,20,20,.10);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: .56rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-2);
}

/* ── FOOTER ─────────────────────────────────────────── */
.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 2.2rem clamp(1.5rem, 5vw, 4.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .6rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .site-head { flex-direction: column; gap: 1.1rem; padding-top: 1.6rem; }
  .pf-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .site-foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
