/* ==========================================================================
   Tokens — shared across every page
   ========================================================================== */
:root {
  --black:      #0d0d0c;
  --near-black: #171615;
  --charcoal:   #2c2b28;
  --stone:      #6f6d67;
  --fog:        #b6b3ab;
  --bone:       #e9e6de;
  --paper:      #f6f4ef;
  --white:      #fcfbf8;
  --gold:       #b8923f;
  --gold-ink:   #7c5f2a; /* gold text/icons/borders on light backgrounds — #b8923f fails 4.5:1 on paper/white */
  --gold-soft:  rgba(184, 146, 63, 0.35);

  --font-display: 'Limelight', serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --container-w: 1180px;
  --nav-h: 76px;
  --radius: 2px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, blockquote, ul, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { padding: 0; list-style: none; }

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

/* ==========================================================================
   Utility
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: var(--space-2) var(--space-3);
  z-index: 1000;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

.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;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.section {
  width: 100%;
  padding-block: var(--space-7);
}
.section--dark {
  background: var(--near-black);
  color: var(--bone);
}
.section--light {
  background: var(--paper);
  color: var(--charcoal);
}

.section__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: var(--near-black);
  margin-bottom: var(--space-2);
}
.section__heading--light { color: var(--white); }

.section__intro {
  max-width: 56ch;
  color: var(--stone);
  font-size: 1.05rem;
  margin-bottom: var(--space-5);
}
.section--dark .section__intro { color: var(--fog); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 14px 28px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn--outline {
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--black); }

.btn--gold {
  background: var(--gold);
  color: var(--black);
}
.btn--gold:hover { background: #a17f34; }

.btn--ghost {
  border-color: var(--stone);
  color: var(--charcoal);
}
.btn--ghost:hover { border-color: var(--charcoal); }

.btn--select { width: 100%; }

.btn--submit {
  width: 100%;
  position: relative;
}
.btn--submit[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(13, 13, 12, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 146, 63, 0.15);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav__logo { height: 34px; width: auto; }
.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--bone);
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--near-black);
  display: flex;
  flex-direction: column;
  padding: var(--space-3);
  gap: var(--space-1);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
.nav__menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog);
  padding: var(--space-2);
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__link:hover,
.nav__link.is-active { color: var(--gold); }

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    gap: var(--space-4);
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__link { border-bottom: none; min-height: auto; padding: 4px 0; }
}

/* ==========================================================================
   Filmstrip — reusable film-reel sprocket-hole motif (base pattern only;
   page-specific placement/margins live with whichever page uses it)
   ========================================================================== */
.filmstrip {
  width: 100%;
  height: 40px;
  background-color: var(--near-black);
  background-image: repeating-linear-gradient(90deg, var(--white) 0 14px, transparent 14px 94px);
  background-repeat: repeat-x;
  background-position: center;
  background-size: 94px 14px;
}

/* ==========================================================================
   Simple hero — reused by pages without a video/animated hero
   ========================================================================== */
.simple-hero { padding-top: calc(var(--nav-h) + var(--space-3)); }

.eyebrow-light {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.simple-hero__heading {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  max-width: 20ch;
  margin-bottom: var(--space-3);
}

.simple-hero__subhead {
  color: var(--fog);
  font-size: 1.05rem;
  max-width: 50ch;
}

/* ==========================================================================
   Video hero — reused by any page with a full-bleed background video
   (weddings.html, real-estate.html)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(13, 13, 12, 0.3) 0%, rgba(13, 13, 12, 0.45) 55%, rgba(13, 13, 12, 0.7) 100%);
}

.hero__frame {
  position: absolute;
  inset: var(--space-3);
  z-index: 1;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  pointer-events: none;
}
.hero__frame-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--fog);
  opacity: 0.7;
  white-space: nowrap;
}
.hero__frame-tag--tl { top: 10px; left: 0; }
.hero__frame-tag--tr { top: 10px; right: 0; }
.hero__frame-tag--bl { bottom: 10px; left: 0; }
.hero__frame-tag--br { bottom: 10px; right: 0; color: var(--gold); opacity: 0.85; }

@media (max-width: 640px) {
  .hero__frame-tag--tl, .hero__frame-tag--tr { display: none; }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  font-size: clamp(1.6rem, 4.5vw, 2.7rem);
  line-height: 1.15;
}

.hero__subhead {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--fog);
  font-size: clamp(0.85rem, 1.7vw, 1.05rem);
  letter-spacing: 0.01em;
  margin-bottom: var(--space-4);
}

.hero__actions {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}
.hero__actions .btn {
  padding: 11px 22px;
  font-size: 0.7rem;
}

/* ==========================================================================
   Video grid — reused by any page showcasing example videos
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 700px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
.media-placeholder--video { aspect-ratio: 16 / 9; width: 100%; }

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--charcoal);
  overflow: hidden;
  border: 1px solid var(--bone);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Pricing — reused by any page selling packages
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: stretch;
  margin-bottom: var(--space-6);
}
@media (min-width: 860px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 860px) {
  .pricing-grid--group { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
}

.pricing-group__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--near-black);
  margin-bottom: var(--space-3);
}
.section--dark .pricing-group__heading { color: var(--white); }
.pricing-group__heading--category { font-size: 1.7rem; }

.addons { max-width: 480px; }
.addons + .addons { margin-top: var(--space-5); }
.addons__list { display: flex; flex-direction: column; }
.addons__list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--bone);
  color: var(--stone);
}
.addons__list li span:last-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--gold-ink);
}
.section--dark .addons__list li { border-bottom-color: rgba(255,255,255,0.1); color: var(--fog); }
.section--dark .addons__list li span:last-child { color: var(--gold); }

.price-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: var(--white);
  border: 1px solid var(--bone);
  padding: var(--space-4);
  position: relative;
}
.price-card--featured {
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 1px var(--gold-soft);
  transform: translateY(-8px);
}
.price-card__ribbon {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: -8px;
}
.price-card__tier {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--near-black);
}
.price-card__amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  color: var(--gold-ink);
}
.price-card__features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--stone);
  font-size: 0.92rem;
  flex: 1;
}
.price-card__features li { padding-left: 1.1em; position: relative; }
.price-card__features li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-ink);
}

/* ==========================================================================
   Reveal-on-scroll — reusable slide-in-from-right utility
   ========================================================================== */
.reveal-right {
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right--1 { transition-delay: 100ms; }
.reveal-right--2 { transition-delay: 200ms; }
.reveal-right--3 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Media placeholder — reusable "content coming soon" tile for pages still
   waiting on real photos/video
   ========================================================================== */
.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--stone);
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--space-3);
  background: var(--paper);
}
.section--dark .media-placeholder {
  border-color: var(--fog);
  color: var(--fog);
  background: var(--charcoal);
}

/* ==========================================================================
   Connect / contact form — reused by any page taking inquiries
   ========================================================================== */
.connect__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 860px) {
  .connect__grid { grid-template-columns: 0.9fr 1.1fr; }
}

.connect__list { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); }
.connect__list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
}
.connect__list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold-ink); }
.connect__list a:hover { color: var(--gold-ink); }

.connect__socials {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.connect__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--gold-ink);
  transition: color 200ms ease;
}
.connect__social-link:hover { color: var(--charcoal); }
.connect__social-link svg { width: 30px; height: 30px; }

.connect__form { display: flex; flex-direction: column; gap: var(--space-3); }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}
.required { color: var(--gold-ink); }

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--bone);
  background: var(--white);
  border-radius: var(--radius);
  font-size: 1rem;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold-ink);
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #a5453a;
}
.form-error {
  font-size: 0.8rem;
  color: #a5453a;
  min-height: 1em;
}

.connect__form-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--stone);
  min-height: 1.2em;
}
.connect__form-status.is-success { color: #4a7a4a; }
.connect__form-status.is-error { color: #a5453a; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--black);
  color: var(--fog);
  padding-block: var(--space-6);
  border-top: 1px solid var(--gold-soft);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}
.footer__logo { height: 30px; opacity: 0.85; }
.footer__tagline { font-size: 0.9rem; color: var(--fog); }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-block: var(--space-2);
}
.footer__nav a:hover { color: var(--gold); }
.footer__copyright { font-size: 0.75rem; color: var(--fog); }

.footer__legal-links {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--stone);
  margin-top: var(--space-1);
}
.footer__legal-links a { color: var(--stone); text-decoration: underline; text-underline-offset: 2px; }
.footer__legal-links a:hover { color: var(--fog); }

/* ==========================================================================
   Lightbox — reusable full-screen photo viewer for any .photo-grid
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 13, 12, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}
.lightbox[hidden] { display: none; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  max-width: 100%;
}
.lightbox__image {
  max-width: min(90vw, 1200px);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__counter {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--fog);
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color 200ms ease;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.18);
}
.lightbox__close {
  top: var(--space-3);
  right: var(--space-3);
}
.lightbox__nav--prev { left: var(--space-3); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: var(--space-3); top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox__close { top: var(--space-2); right: var(--space-2); }
  .lightbox__nav--prev { left: var(--space-2); }
  .lightbox__nav--next { right: var(--space-2); }
}

/* ==========================================================================
   About — reused by any page with a filmmaker bio section
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 860px) {
  .about__grid { grid-template-columns: 0.85fr 1.15fr; }
}

.about__photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  max-width: 420px;
}
.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about__photo-wrap::before,
.about__photo-wrap::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 1;
}
.about__photo-wrap::before {
  top: 10px; left: 10px;
  border-width: 1px 0 0 1px;
}
.about__photo-wrap::after {
  bottom: 10px; right: 10px;
  border-width: 0 1px 1px 0;
}

.about .section__heading {
  margin-bottom: var(--space-3);
}
.about__name {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.about__text p {
  color: var(--fog);
  margin-bottom: var(--space-2);
  max-width: 60ch;
}

/* ==========================================================================
   FAQ — reused by any page with a Q&A section
   ========================================================================== */
.faq { max-width: 760px; }
.faq__item {
  border-bottom: 1px solid var(--bone);
}
.faq__item:last-child { border-bottom: none; }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--near-black);
  cursor: pointer;
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--gold-ink);
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__answer {
  color: var(--stone);
  padding-bottom: var(--space-3);
  max-width: 65ch;
}
