:root {
  --black: #0D0B0C;
  --black-soft: #1A1618;
  --ivory: #F6F1EE;
  --charcoal: #211E1A;
  --charcoal-soft: #4A453D;
  --rose: #C98E93;
  --rose-deep: #9C5E63;
  --line: rgba(33, 30, 26, 0.12);
  --line-on-black: rgba(255, 255, 255, 0.14);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5vw;
  mix-blend-mode: difference;
}

.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.wordmark span { font-style: normal; font-weight: 400; }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--rose);
  transition: right 0.35s ease;
}
.main-nav a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
/* Real background video, pulled from the original site's footage —
   images/hero-video.mp4 (poster: images/hero-poster.jpg). */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: saturate(1.05) contrast(1.04);
}

/* Cinematic color-grade + vignette over the whole hero, closer to the
   moody black tone of the original rather than a flat brightness dip */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%),
    linear-gradient(180deg, rgba(13,11,12,0.55) 0%, rgba(13,11,12,0.05) 32%, rgba(13,11,12,0.15) 60%, rgba(13,11,12,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8vw;
}

.eyebrow {
  color: var(--rose);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 22px;
  opacity: 0;
  animation: rise 1.2s ease forwards 0.3s;
}

.hero-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.3;
  color: #fff;
  max-width: 15ch;
  margin: 0;
  opacity: 0;
  letter-spacing: 0.01em;
  animation: rise 1.4s ease forwards 0.6s;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  right: 5vw;
  bottom: 44px;
  z-index: 3;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.5);
  margin-top: 10px;
}

/* ---------- Section labels ---------- */
.section-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 0 0 20px;
}

/* ---------- Intro / About ---------- */
.intro, .about {
  max-width: 680px;
  margin: 0 auto;
  padding: 130px 6vw 40px;
  text-align: center;
}
.intro-text, .about-text {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--charcoal-soft);
  margin: 0;
}

/* ---------- Portfolio grid ---------- */
.portfolio { padding: 100px 5vw 40px; }
.portfolio .section-label { text-align: center; }

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

.grid-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.grid-item.span-2 { grid-column: span 2; aspect-ratio: 8 / 5; }

/* Every photo has a continuous, always-on zoom+pan — not a hover
   effect. Four variants cycle across the grid so neighboring photos
   don't move in lockstep. Hover speeds the same motion up further. */
.grid-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
}

.grid-item img.kb-a { animation: kb-pan-a 9s ease-in-out infinite; }
.grid-item img.kb-b { animation: kb-pan-b 10s ease-in-out infinite; }
.grid-item img.kb-c { animation: kb-pan-c 8.5s ease-in-out infinite; }
.grid-item img.kb-d { animation: kb-pan-d 9.5s ease-in-out infinite; }

.grid-item:hover img { animation-duration: 4s; }

@keyframes kb-pan-a {
  0%   { transform: scale(1.1)  translate(0%, 0%); }
  50%  { transform: scale(1.28) translate(-4%, -3%); }
  100% { transform: scale(1.1)  translate(0%, 0%); }
}
@keyframes kb-pan-b {
  0%   { transform: scale(1.28) translate(3%, 2.5%); }
  50%  { transform: scale(1.1)  translate(-1%, 0%); }
  100% { transform: scale(1.28) translate(3%, 2.5%); }
}
@keyframes kb-pan-c {
  0%   { transform: scale(1.14) translate(-3%, 2%); }
  50%  { transform: scale(1.3)  translate(3.5%, -3%); }
  100% { transform: scale(1.14) translate(-3%, 2%); }
}
@keyframes kb-pan-d {
  0%   { transform: scale(1.26) translate(0%, -3%); }
  50%  { transform: scale(1.08) translate(3%, 2%); }
  100% { transform: scale(1.26) translate(0%, -3%); }
}

.grid-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 20px;
  background: linear-gradient(0deg, rgba(13,11,12,0.75), rgba(13,11,12,0));
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.grid-item figcaption span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 4px;
}
.grid-item:hover figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-item.span-2 { grid-column: span 2; aspect-ratio: 16 / 10; }
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 130px 6vw 80px;
  background: var(--black);
  color: #fff;
  margin-top: 60px;
}
.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 34px);
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 4px;
}
.footer-note {
  margin-top: 26px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ---------- Responsive nav ---------- */
@media (max-width: 780px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
}
