/* ————— Stills by Thokozani — editorial monochrome —————
   A neutral grey scale rather than the warm ivory/bronze palette this site
   started with. Every value here is desaturated (or near enough) — the ramp
   goes from near-white paper to near-black ink with graphite standing in for
   where an accent colour used to be. Kept as a full ramp of shades rather than
   one flat grey, so hierarchy still reads without colour to lean on. */
:root {
  --paper: #f6f6f5;
  --paper-deep: #ebebe9;
  --ink: #171716;
  --ink-soft: #524f4c;
  --ink-faint: #8c8a86;
  --stone: #6e6c68;
  --stone-deep: #48463f;
  --line: rgba(23, 23, 22, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--sans); font-weight: 300; color: var(--ink);
  background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open, body.lb-open { overflow: hidden; }
img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--stone); }

.eyebrow {
  font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--stone-deep); font-weight: 500; margin-bottom: 0.9rem;
}
.eyebrow.on-dark { color: rgba(255, 255, 255, 0.82); }
.muted { color: var(--ink-soft); }

.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-sub { color: var(--ink-soft); margin-top: 1rem; }

/* ————— buttons & links ————— */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 0.76rem;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  padding: 1rem 2.1rem; text-decoration: none; text-align: center;
  border: 1px solid var(--ink); cursor: pointer; background: none; color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--stone-deep); border-color: var(--stone-deep); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost.on-dark { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost.on-dark:hover { background: #fff; color: var(--ink); }

.text-link {
  display: inline-block; color: var(--stone-deep); text-decoration: none;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 2px; margin-top: 1rem;
  transition: opacity 0.25s var(--ease);
}
.text-link:hover { opacity: 0.65; }

/* ————— nav —————
   The blur sits on .nav::before, never on .nav itself: a backdrop-filter on the
   sticky bar turns it into the containing block for the fixed mobile menu, which
   then traps the menu inside the header. Learned the hard way. */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; }
.nav::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: rgba(246, 246, 245, 0.88); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line); transition: opacity 0.35s var(--ease);
}
body.scrolled .nav::before { opacity: 1; }

.nav-inner {
  position: relative; z-index: 1; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0 clamp(1.25rem, 5vw, 4rem);
}
.nav-brand {
  font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0.04em;
  text-decoration: none; color: #fff; transition: color 0.35s var(--ease);
}
.nav-brand em { font-style: italic; }
body.scrolled .nav-brand { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2rem); }
.nav-links a {
  font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: rgba(255, 255, 255, 0.9); transition: color 0.35s var(--ease);
}
body.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--stone); }
.nav-links .menu-cta { display: none; }
.nav-cta { padding: 0.7rem 1.5rem; font-size: 0.68rem; }
body:not(.scrolled) .nav-cta { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); color: #fff; }

.nav-toggle { display: none; background: none; border: none; width: 34px; height: 26px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 0; right: 0; height: 1px; background: #fff; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle span:first-child { top: 8px; }
.nav-toggle span:last-child { bottom: 8px; }
body.scrolled .nav-toggle span { background: var(--ink); }
body.nav-open .nav-toggle span { background: var(--ink); }
body.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
body.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ————— hero ————— */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; background: #211f1d; }
.hero-media {
  position: absolute; inset: 0; background: #211f1d center/cover no-repeat;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1.4s var(--ease), transform 12s var(--ease);
}
.hero-media.loaded { opacity: 1; transform: scale(1); }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(rgba(16, 16, 15, 0.5), rgba(16, 16, 15, 0.3) 45%, rgba(16, 16, 15, 0.72)); }
.hero-inner { position: relative; z-index: 2; color: #fff; padding: 6rem clamp(1.25rem, 6vw, 4rem) 7rem; max-width: 52rem; }
.hero-inner h1 { text-wrap: balance; }
.hero-sub { margin: 1.4rem auto 2.2rem; max-width: 34rem; color: rgba(255, 255, 255, 0.9); font-size: clamp(1rem, 1.5vw, 1.12rem); }
.hero-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

.scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-cue span { display: block; width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, 0.75), transparent); animation: cue 2.6s ease-in-out infinite; }
@keyframes cue { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ————— services ————— */
.svc-grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 76rem; margin: 0 auto; }
.svc { background: #fff; border: 1px solid var(--line); padding: clamp(1.6rem, 2.6vw, 2.4rem); display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.svc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23, 23, 22, 0.08); }
.svc p { color: var(--ink-soft); margin-top: 0.75rem; font-size: 0.95rem; }
.svc .text-link { margin-top: auto; padding-top: 1.25rem; align-self: flex-start; }
/* Weddings lead: spans two columns where there's room, so it reads as the
   headline offering rather than one of five equals. */
.svc-lead { background: var(--paper-deep); border-color: rgba(110, 108, 104, 0.35); }
@media (min-width: 900px) { .svc-lead { grid-column: span 2; } .svc-lead h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); } }

/* ————— portfolio: 3D coverflow ————— */
.pf-carousel { position: relative; max-width: 76rem; margin: 0 auto; outline: none; }
.pf-viewport { position: relative; height: clamp(280px, 42vw, 460px); perspective: 1500px; }
.pf-track { position: absolute; inset: 0; }
.pf-loading { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 1.5rem; }

.pf-card {
  position: absolute; top: 50%; left: 50%; margin: 0; padding: 0; border: none; background: none;
  width: clamp(160px, 24vw, 280px); aspect-ratio: 4 / 5; cursor: pointer; font: inherit; text-align: left;
  transform: translate(-50%, -50%) translateX(calc(var(--i, 0) * min(20vw, 220px))) scale(calc(1 - var(--abs, 0) * 0.16)) rotateY(calc(var(--i, 0) * -26deg));
  opacity: calc(1 - var(--abs, 0) * 0.3);
  z-index: calc(20 - var(--abs, 0));
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.pf-card[data-hide="1"] { visibility: hidden; pointer-events: none; }
.pf-card[data-active="1"] { cursor: pointer; }

.pf-thumb { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--paper-deep); box-shadow: 0 20px 46px rgba(23, 23, 22, 0.22); }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.pf-veil { position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(16, 16, 15, 0.82)); opacity: 0; transition: opacity 0.5s var(--ease); }
.pf-card[data-active="1"] .pf-veil { opacity: 1; }
.pf-body { position: absolute; inset: auto 0 0 0; padding: 1.1rem 1.2rem; display: grid; gap: 0.2rem; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.pf-card[data-active="1"] .pf-body { opacity: 1; transform: translateY(0); }
.pf-name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; }
.pf-meta { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }

.pf-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 30; background: #fff; border: 1px solid var(--line); color: var(--ink); width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; box-shadow: 0 8px 20px rgba(23, 23, 22, 0.14); }
.pf-nav:hover { background: var(--paper-deep); }
.pf-prev { left: 0; } .pf-next { right: 0; }
@media (min-width: 700px) { .pf-prev { left: -1.4rem; } .pf-next { right: -1.4rem; } }
.pf-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.8rem; }
.pf-dot { width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; background: var(--line); cursor: pointer; }
.pf-dot[aria-current="true"] { background: var(--stone); width: 20px; border-radius: 4px; }

/* ————— portfolio lightbox ————— */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(15, 15, 14, 0.97); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: fade 0.25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb-bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; color: #fff; }
.lb-title { font-family: var(--serif); font-size: 1.2rem; }
.lb-close { background: none; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; width: 38px; height: 38px; cursor: pointer; font-size: 1rem; }
.lb-close:hover { background: rgba(255, 255, 255, 0.14); }
/* minmax(0,1fr) above + this grid keeps tall portraits scaled to fit rather than
   overflowing and being clipped. */
.lb-stage { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; padding: 0.5rem; }

/* Stacked-card deck: the active photo sits full-size and sharp; the next two
   queue up behind it, smaller and dimmer, and slide into place as you step. */
.lb-deck { position: relative; width: min(88vw, 640px); height: min(78vh, 760px); }
.lb-card {
  position: absolute; inset: 0; margin: 0; cursor: pointer;
  transform: translateY(calc(var(--d, 0) * 20px)) scale(calc(1 - var(--d, 0) * 0.07));
  opacity: calc(1 - var(--d, 0) * 0.35);
  z-index: calc(10 - var(--d, 0));
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.lb-card[data-active="1"] { cursor: default; }
.lb-card[data-hide="1"] { opacity: 0; pointer-events: none; }
/* No background behind the letterboxed areas: the photograph floats on the
   overlay, and drop-shadow hugs the painted pixels rather than the card box. */
.lb-card img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.55)); user-select: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; width: 46px; height: 72px; font-size: 1.5rem; cursor: pointer; z-index: 20; }
.lb-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lb-prev { left: 0; } .lb-next { right: 0; }
.lb-count { text-align: center; padding: 0.85rem; color: rgba(255, 255, 255, 0.65); font-size: 0.75rem; letter-spacing: 0.2em; }

/* ————— film showcase ————— */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.film-frame { max-width: 56rem; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; background: #000; box-shadow: 0 25px 60px rgba(23, 23, 22, 0.2); }
.film-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ————— about ————— */
.about { background: var(--paper-deep); }
.about-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: 1fr; max-width: 74rem; margin: 0 auto; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.85fr 1fr; } }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy p { color: var(--ink-soft); margin-top: 1rem; }

/* ————— experience ————— */
.steps { list-style: none; display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 76rem; margin: 0 auto; }
.step { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.step-n { font-family: var(--serif); font-size: 1.6rem; color: var(--stone); display: block; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); margin-top: 0.6rem; font-size: 0.95rem; }

/* ————— investment ————— */
.invest { background: var(--paper-deep); }
.cards { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); max-width: 72rem; margin: 0 auto; align-items: start; }
.card { position: relative; background: #fff; border: 1px solid var(--line); padding: clamp(1.75rem, 3vw, 2.6rem); }
.card-feature { border-color: var(--stone); box-shadow: 0 20px 50px rgba(23, 23, 22, 0.1); }
.card-flag { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); background: var(--stone-deep); color: #fff; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.35rem 0.9rem; white-space: nowrap; }
.card-meta { color: var(--stone-deep); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0.4rem 0 1.25rem; }
.card ul { list-style: none; margin-bottom: 1.75rem; }
.card li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 0.94rem; }
.card li em { color: var(--ink); font-style: italic; }
.card .btn { width: 100%; }

/* ————— kind words ————— */
.quotes { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 76rem; margin: 0 auto; }
.quote { background: #fff; border: 1px solid var(--line); padding: clamp(1.6rem, 2.6vw, 2.2rem); }
.quote p { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--ink); line-height: 1.5; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }

/* ————— faq ————— */
.faq-list { max-width: 52rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 1.25rem 2rem 1.25rem 0; font-size: 1.02rem; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--stone); font-size: 1.3rem; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding-bottom: 1.25rem; color: var(--ink-soft); }

/* ————— contact ————— */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; max-width: 74rem; margin: 0 auto; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.8fr 1fr; } }
.contact-copy p { color: var(--ink-soft); margin-top: 1rem; }
.contact-direct { display: grid; gap: 0.35rem; margin-top: 1.5rem; }
.contact-direct .text-link { margin-top: 0; }

.form { background: #fff; border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.5rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; font-weight: 300; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); padding: 0.8rem 0.9rem; border-radius: 0;
  transition: border-color 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--stone); }
.row2 { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form-submit { width: 100%; margin-top: 0.5rem; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.9rem; text-align: center; }
.form-note a { color: var(--stone-deep); }
.form-error { font-size: 0.85rem; color: #a33; margin-top: 0.9rem; text-align: center; }
.form-error a { color: inherit; text-decoration: underline; }
.form-error[hidden] { display: none; }

.form-success { background: #fff; border: 1px solid var(--line); padding: clamp(2rem, 4vw, 3rem); text-align: center; animation: fade 0.4s var(--ease); }
.form-success[hidden] { display: none; }
.form-success h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 0.75rem; }
.form-success p { color: var(--ink-soft); }
.form-success .text-link { color: var(--stone-deep); }

/* ————— footer ————— */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); text-align: center; padding: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.footer-brand em { font-style: italic; }
.footer-meta { font-size: 0.8rem; margin-top: 0.5rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.footer-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-links a:hover { color: var(--stone); }
.footer-fine { font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); }

/* ————— reveals ————— */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ————— mobile nav ————— */
@media (max-width: 860px) {
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    gap: 1.75rem; background: var(--paper);
    opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
  }
  body.nav-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-links a { color: var(--ink) !important; font-size: 0.95rem; }
  .nav-links .menu-cta { display: inline-block; color: var(--paper) !important; }
}

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