/* ---------- Tokens ---------- */
:root {
  --bg:        #2b2825;
  --surface:   #3d3733;
  --surface-2: #4a423d;
  --brown:     #7a5c43;
  --brown-soft:#9b7a5e;
  --light:     #d9d4cd;
  --muted:     #bdb6ad;
  --line:      rgba(217, 212, 205, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter", system-ui, sans-serif;
  --max:   1240px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--light); }

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-bottom: 1rem;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--light);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h1 em { color: var(--brown-soft); font-style: italic; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }

.btn {
  display: inline-block;
  padding: .9rem 1.8rem;
  background: transparent;
  color: var(--light);
  border: 1px solid var(--light);
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn:hover { background: var(--light); color: var(--bg); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(43,40,37,.85), transparent);
  backdrop-filter: blur(6px);
}
.logo {
  font-family: var(--serif); font-size: 1.25rem; color: var(--light);
  letter-spacing: .02em;
}
.logo span { color: var(--brown-soft); margin-left: .35rem; }
.nav nav { display: flex; gap: 2rem; }
.nav nav a {
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 clamp(1.25rem, 6vw, 5rem);
  overflow: hidden;
}
.hero__image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.55) saturate(.9);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(43,40,37,.85), rgba(43,40,37,.2) 60%, rgba(43,40,37,.7));
}
.hero__content { position: relative; max-width: 720px; }
.hero__sub { margin: 1.5rem 0 2.25rem; font-size: 1.05rem; color: var(--light); max-width: 480px; }
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--light); font-size: 1.5rem; opacity: .7;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 6vw, 5rem);
  max-width: var(--max); margin: 0 auto;
}
.section--alt { background: var(--surface); max-width: none; }
.section--alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 3rem; max-width: 600px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.tile {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--surface);
}
/* Portrait - 1st column, spans 2 rows */
.gallery > figure:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
  height: 440px;
}
/* Landscape - 2nd column, 1st row */
.gallery > figure:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  height: 220px;
}
/* Black & White - 2nd column, 2nd row */
.gallery > figure:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  height: 220px;
}
/* Street - 3rd column, spans 2 rows */
.gallery > figure:nth-child(4) {
  grid-column: 3;
  grid-row: 1 / 3;
  height: 440px;
}
/* Product - spans columns 1-2, 3rd row */
.gallery > figure:nth-child(5) {
  grid-column: 1 / 3;
  grid-row: 3;
  height: 220px;
}
/* Wedding - 3rd column, 3rd row */
.gallery > figure:nth-child(6) {
  grid-column: 3;
  grid-row: 3;
  height: 220px;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease, filter .4s;
  filter: saturate(.85);
}
.tile:hover img { transform: scale(1.04); filter: saturate(1); }
.tile figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--serif); font-style: normal; font-size: .95rem; font-weight: bold;
  color: var(--light); text-shadow: 0 2px 8px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(6px); transition: .35s;
}
/* Product and Wedding captions in black */
.gallery > figure:nth-child(5) figcaption,
.gallery > figure:nth-child(6) figcaption {
  color: #000; text-shadow: none;
}
.tile:hover figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery > figure:nth-child(1) { grid-column: 1; grid-row: 1; height: 200px; }
  .gallery > figure:nth-child(2) { grid-column: 1 / 3; grid-row: 2; height: 200px; }
  .gallery > figure:nth-child(3) { grid-column: 1 / 3; grid-row: 3; height: 200px; }
  .gallery > figure:nth-child(4) { grid-column: 2; grid-row: 1; height: 200px; }
  .gallery > figure:nth-child(5) { grid-column: 1 / 3; grid-row: 4; height: 200px; }
  .gallery > figure:nth-child(6) { grid-column: 1 / 3; grid-row: 5; height: 200px; }
}

/* ---------- Opinions ---------- */
.opinions {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.opinion {
  background: var(--surface-2);
  padding: 2rem;
  border-left: 2px solid var(--brown);
}
.opinion p {
  font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  color: var(--light); margin-bottom: 1.5rem; line-height: 1.5;
}
.opinion footer { display: flex; flex-direction: column; gap: .15rem; }
.opinion strong { color: var(--light); font-weight: 500; font-size: .9rem; }
.opinion span { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--brown-soft); }

/* ---------- Contact ---------- */
.contact {
  display: grid; gap: 4rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; gap: 3rem; } }

.contact__lead { margin: 1.25rem 0 2rem; max-width: 420px; }
.contact__details { list-style: none; display: grid; gap: 1rem; }
.contact__details li {
  display: grid; grid-template-columns: 80px 1fr; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--light);
}
.contact__details li:last-child { border-bottom: 1px solid var(--line); }
.contact__details span {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown-soft);
  align-self: center;
}

.contact__form { display: grid; gap: 1.25rem; }
.contact__form label {
  display: grid; gap: .5rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown-soft);
}
.contact__form input,
.contact__form textarea {
  background: transparent;
  border: none; border-bottom: 1px solid var(--line);
  padding: .65rem 0;
  color: var(--light); font-family: var(--sans); font-size: 1rem;
  outline: none; transition: border-color .25s;
  resize: vertical;
}
.contact__form input:focus,
.contact__form textarea:focus { border-bottom-color: var(--light); }
.contact__form button { justify-self: start; margin-top: .5rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,18,16,.95);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: var(--light);
  font-size: 2.5rem; cursor: pointer; line-height: 1;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.25rem, 6vw, 5rem);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--brown-soft);
}
@media (max-width: 600px) {
  .nav nav { gap: 1.25rem; }
  .nav nav a { font-size: .7rem; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .55s; }

/* Hero text intro */
.hero__content > * {
  opacity: 0; transform: translateY(20px);
  animation: heroIn 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__content > *:nth-child(1) { animation-delay: .1s; }
.hero__content > *:nth-child(2) { animation-delay: .25s; }
.hero__content > *:nth-child(3) { animation-delay: .45s; }
.hero__content > *:nth-child(4) { animation-delay: .65s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* Hero parallax target */
.hero__image { transition: transform .1s linear; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .hero__content > * {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}
