:root {
  --bg: #0d0d0c;
  --bg-lift: #141413;
  --ink: #efece6;
  --muted: #98948c;
  --line: rgba(255, 255, 255, 0.09);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--pad);
  transition: background 0.4s ease, padding 0.4s ease;
}
.site-header.scrolled {
  background: rgba(13, 13, 12, 0.88);
  backdrop-filter: blur(12px);
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.32em;
}
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.site-nav a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.site-nav a:hover { color: var(--ink); }
.nav-ig svg { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: drift 11s ease-out forwards;
}
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.055); } }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,12,0.82) 0%, rgba(13,13,12,0.12) 38%, rgba(13,13,12,0.25) 100%);
}
.hero-overlay {
  position: absolute;
  left: var(--pad); right: var(--pad); bottom: clamp(48px, 10vh, 110px);
  z-index: 2;
}
.hero-line {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 6.5vw, 84px);
  line-height: 1.04;
  letter-spacing: 0.01em;
}
.hero-line em { font-style: italic; }
.hero-sub {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--muted);
}
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--muted);
  font-size: 18px;
  animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- work ---------- */
.work { padding: clamp(70px, 11vh, 130px) var(--pad); }
.work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 40px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: 0.02em;
}
.filters { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 26px); }
.filter {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.grid { column-count: 3; column-gap: 16px; }
@media (max-width: 1100px) { .grid { column-count: 2; } }
@media (max-width: 640px)  { .grid { column-count: 1; } }

.ph {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  background: var(--bg-lift);
}
.ph.in-view { opacity: 1; transform: none; }
.ph.is-hidden { display: none; }
.ph img {
  width: 100%;
  height: auto;
  transition: filter 0.5s ease, transform 0.8s ease;
}
.ph:hover img { filter: brightness(1.07); transform: scale(1.015); }
.ph figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239, 236, 230, 0.92);
  background: linear-gradient(to top, rgba(10,10,9,0.72), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.ph:hover figcaption { opacity: 1; }

/* ---------- about ---------- */
.about { border-top: 1px solid var(--line); padding: clamp(70px, 11vh, 130px) var(--pad); }
.about-inner { max-width: 760px; margin: 0 auto; }
.about .section-title { margin-bottom: 44px; }
.about-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 860px) { .about-cols { grid-template-columns: 1fr; } }
.about-photo img { width: 100%; }
.about-text p { margin-bottom: 1.4em; max-width: 56ch; color: var(--muted); }
.about-text .lede {
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.45;
  font-weight: 300;
  color: var(--ink);
}
.about-text .avail {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 2.2em;
}

/* ---------- contact ---------- */
.contact {
  border-top: 1px solid var(--line);
  padding: clamp(90px, 16vh, 170px) var(--pad);
  text-align: center;
}
.contact-line {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5.4vw, 66px);
}
.contact-line em { font-style: italic; }
.contact-links { margin-top: 30px; font-size: 15px; letter-spacing: 0.04em; }
.contact-links a { border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.3s; }
.contact-links a:hover { border-bottom-color: var(--ink); }
.contact-links .dot { margin: 0 14px; color: var(--muted); }
.contact-loc {
  margin-top: 26px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  color: var(--muted);
}
.to-top { font-size: 15px; }

/* ---------- reviews ---------- */
.reviews {
  border-top: 1px solid var(--line);
  padding: clamp(72px, 12vh, 140px) var(--pad);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.reviews.in-view { opacity: 1; transform: none; }
.reviews[hidden] { display: none; }
.reviews-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.reviews-inner::before {                 /* oversized serif quote mark, engraved into the dark */
  content: '\201C';
  position: absolute;
  top: clamp(-44px, -3.5vw, -18px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(120px, 18vw, 220px);
  line-height: 1;
  color: rgba(239, 236, 230, 0.05);
  pointer-events: none;
  z-index: 0;
}
.reviews-kicker {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(26px, 4vw, 44px);
}
.review {
  position: relative;
  z-index: 1;
  transition: opacity 0.5s ease;
}
.review.is-fading { opacity: 0; }
.review-stars {
  --star: #b3a081;                       /* muted old-gold — the only accent, never Google yellow */
  font-size: 13px;
  letter-spacing: 0.45em;
  padding-left: 0.45em;                  /* re-centre against the trailing letter-spacing */
  color: var(--star);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55), 0 -1px 0 rgba(255, 255, 255, 0.06);
  margin-bottom: clamp(22px, 3vw, 34px);
}
.review-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(21px, 2.9vw, 33px);
  line-height: 1.42;
  letter-spacing: 0.01em;
  color: var(--ink);
  /* normal centred block — the crossfade swaps text while opacity is 0, so any
     height change between reviews happens unseen (no flex; flex broke wrapping
     on narrow viewports). */
  text-wrap: balance;
}
.review-by {
  margin-top: clamp(22px, 3vw, 34px);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.review-by::before { content: '\2014\00a0'; }   /* em dash + nbsp */
.reviews-controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 30px);
  margin-top: clamp(34px, 5vw, 54px);
}
.review-prev, .review-next {
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  padding: 6px 10px;
  transition: color 0.3s;
}
.review-prev:hover, .review-next:hover { color: var(--ink); }
.reviews-dots { display: flex; gap: 10px; }
.reviews-dot {
  position: relative;
  width: 24px; height: 9px;              /* generous hit area, hairline visual */
  background: none;
}
.reviews-dot::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: var(--line);
  transition: background 0.3s;
}
.reviews-dot:hover::before { background: var(--muted); }
.reviews-dot.is-active::before { background: var(--ink); }
.reviews-single .reviews-controls { display: none; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(9, 9, 8, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lb-stage { max-width: 92vw; max-height: 88vh; }
.lb-stage img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  margin: 0 auto;
}
.lb-cap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  z-index: 101;
  color: var(--muted);
  font-size: 26px;
  padding: 14px 18px;
  transition: color 0.3s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--ink); }
.lb-close { top: 12px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide img { animation: none; }
  .hero-scroll { animation: none; }
  .ph { opacity: 1; transform: none; transition: none; }
  .reviews { opacity: 1; transform: none; transition: none; }
  .review { transition: none; }
}
