/* NWFilms — shared styles */
:root {
  --ink: #201d1a;
  --cream: #faf6ef;
  --cream-dim: #f1ebe0;
  --gold: #b8965a;
  --gold-dim: #d9c39a;
  --line: rgba(32,29,26,0.12);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: linear-gradient(to bottom, rgba(20,17,14,0.55), transparent);
  transition: background 0.4s ease, padding 0.4s ease;
}
.site-nav.scrolled,
.site-nav.solid {
  background: rgba(250,246,239,0.96);
  padding: 12px 40px;
  box-shadow: 0 1px 0 var(--line);
}
.site-nav.scrolled .brand,
.site-nav.scrolled .nav-links a,
.site-nav.solid .brand,
.site-nav.solid .nav-links a { color: var(--ink); }
.site-nav.solid .brand-mantra { color: var(--gold); }
.brand-block { line-height: 1.1; }
.brand {
  color: #fff;
  font-family: var(--serif);
  letter-spacing: 3px;
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
}
.brand-mantra {
  display: block;
  color: var(--gold-dim);
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 3px;
  opacity: 0.9;
}
.site-nav.scrolled .brand-mantra { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-toggle { display: none; }

@media (max-width: 800px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: 78%; height: 100vh;
    background: var(--cream); flex-direction: column; padding: 100px 40px; gap: 26px;
    transform: translateX(100%); transition: transform 0.35s ease; }
  .nav-links a { color: var(--ink); }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; z-index: 101; }
  .site-nav.scrolled .nav-toggle { color: var(--ink); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.12) translate(0,0); }
  to   { transform: scale(1.02) translate(-1.5%, -1%); }
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,9,8,0.35), rgba(10,9,8,0.65));
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  align-self: flex-end;
  padding-bottom: 20vh;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0 0 30px;
  line-height: 1.45;
}
.hero-tagline-line {
  display: block;
  opacity: 0;
  animation: rise 0.9s ease forwards;
}
.hero-tagline-1 { animation-delay: var(--intro-hold, 6.1s); }
.hero-tagline-2 { animation-delay: calc(var(--intro-hold, 6.1s) + 0.18s); }
.hero-tagline-3 { animation-delay: calc(var(--intro-hold, 6.1s) + 0.36s); color: var(--gold-dim); }
.hero .btn { opacity: 0; animation: rise 0.7s ease forwards; animation-delay: calc(var(--intro-hold, 6.1s) + 0.5s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Intro motion graphic ---------- */
.hero { align-items: flex-end; }
.intro {
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(rgba(10,9,8,0.45), rgba(10,9,8,0.55));
  display: flex; align-items: center; justify-content: center;
  animation: intro-out 0.9s ease forwards;
  animation-delay: 5.2s;
}
.intro-mark {
  font-family: var(--serif); color: #fff;
  font-size: clamp(2rem, 6vw, 3.6rem);
  opacity: 0;
  animation: intro-in 0.5s ease forwards 0.15s;
}
.im-group { display: inline-flex; align-items: baseline; }
.im-letter { font-weight: 700; letter-spacing: 1px; }
.im-rest {
  display: inline-block; overflow: hidden; white-space: nowrap;
  max-width: 0; opacity: 0; font-weight: 400; color: var(--gold-dim);
  animation:
    im-expand 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards var(--in),
    im-collapse 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards var(--out);
}
.im-gap {
  display: inline-block; overflow: hidden;
  max-width: 0; opacity: 0;
  animation:
    im-expand-gap 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards var(--in),
    im-collapse-gap 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards var(--out);
}
.im-rest-1, .im-gap-1 { --in: 1.0s; --out: 3.8s; }
.im-rest-2, .im-gap-2 { --in: 1.8s; --out: 3.8s; }
.im-rest-3 { --in: 2.6s; --out: 999s; } /* "ilms" stays — collapses to NWFilms, not NWF */

@keyframes intro-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes im-expand { from { opacity: 0; max-width: 0; } to { opacity: 1; max-width: 220px; } }
@keyframes im-collapse { from { opacity: 1; max-width: 220px; } to { opacity: 0; max-width: 0; } }
@keyframes im-expand-gap { from { opacity: 0; max-width: 0; } to { opacity: 1; max-width: 0.4em; } }
@keyframes im-collapse-gap { from { opacity: 1; max-width: 0.4em; } to { opacity: 0; max-width: 0; } }
@keyframes intro-out { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .intro { animation: intro-out 0.4s ease forwards 0.6s; }
  .intro-mark { animation: none; opacity: 1; }
  .im-rest, .im-gap { animation: none; opacity: 1; max-width: none; }
  .hero h1, .hero .btn { animation-delay: 0.4s; }
}

.scroll-cue {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #fff; font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.85;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 34px; background: #fff;
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; opacity: 1; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }

/* ---------- Highlight reel modal ---------- */
.reel-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.reel-modal.open { display: flex; }
.reel-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,9,8,0.9);
}
.reel-modal-body {
  position: relative; z-index: 1;
  width: 100%; max-width: 1000px;
}
.reel-modal-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: 0; color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.reel-embed { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.reel-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid currentColor;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: background 0.35s ease, color 0.35s ease;
}
.btn-light { color: #fff; background: rgba(10,9,8,0.35); backdrop-filter: blur(3px); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-dark { color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: #fff; }

/* ---------- Section basics ---------- */
section { padding: 110px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.eyebrow { letter-spacing: 5px; text-transform: uppercase; font-size: 0.78rem; color: var(--gold); }
h2.title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 500; margin: 10px 0 0; }
.lede { max-width: 640px; margin: 18px auto 0; color: #55504a; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Film grid ---------- */
.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.film-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
}
.film-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
  filter: saturate(0.92);
}
.film-card:hover img { transform: scale(1.12); filter: saturate(1.05); }
.film-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,9,8,0.85) 0%, rgba(10,9,8,0.05) 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  color: #fff;
}
.film-play {
  position: absolute; top: 50%; left: 50%;
  width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%,-50%) scale(0.7);
  opacity: 0; transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}
.film-play::before { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.film-card:hover .film-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.film-names { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.5px; }
.film-loc { font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dim); margin-top: 4px; }

/* ---------- Testimonials ---------- */
.t-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.t-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px 30px;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.t-card:hover {
  transform: translateY(-8px) rotate(var(--tilt, 0deg));
  box-shadow: 0 24px 40px -18px rgba(32,29,26,0.28);
}
.t-card:nth-child(3n+1) { --tilt: -1deg; }
.t-card:nth-child(3n+2) { --tilt: 0.6deg; }
.t-card:nth-child(3n+3) { --tilt: -0.4deg; }
.t-quote { font-size: 3rem; font-family: var(--serif); color: var(--gold-dim); line-height: 0.5; }
.t-text { margin: 14px 0 18px; font-style: italic; color: #3a352f; }
.t-name { font-weight: 600; letter-spacing: 0.5px; }
.t-loc { font-size: 0.82rem; color: #8a8378; text-transform: uppercase; letter-spacing: 1px; }
.t-badge {
  display: inline-block; margin-top: 30px; font-size: 0.75rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: #8a8378; border: 1px dashed var(--line); padding: 6px 14px;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 26px 0; font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-q .plus { font-size: 1.4rem; color: var(--gold); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: #55504a; }
.faq-a p { padding-bottom: 24px; margin: 0; }

/* ---------- Investment ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 30px; }
.pkg-card {
  border: 1px solid var(--line); padding: 40px 30px; text-align: center;
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.pkg-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.pkg-card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 10px; }
.pkg-card ul { list-style: none; padding: 0; margin: 20px 0; color: #55504a; font-size: 0.95rem; }
.pkg-card li { padding: 6px 0; }
.pkg-price { font-family: var(--serif); font-size: 2.1rem; color: var(--gold); margin: 6px 0 4px; }
.pkg-featured {
  position: relative;
  border-color: var(--gold);
  background: #fffdf8;
}
.pkg-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-size: 0.7rem; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 2px;
}

.coming-soon {
  max-width: 620px; margin: 60px auto 0; text-align: center;
  padding: 30px 30px 34px; border: 1px dashed var(--line);
}
.coming-soon h3 { font-family: var(--serif); font-size: 1.2rem; margin: 8px 0 16px; }
.coming-soon ul { list-style: none; padding: 0; margin: 0 0 14px; color: #55504a; font-size: 0.95rem; }
.coming-soon li { padding: 3px 0; }
.coming-soon p { font-size: 0.85rem; color: #8a8378; margin: 0; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 800px) { .contact-wrap { grid-template-columns: 1fr; } }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; color: #8a8378; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  font-family: var(--sans); font-size: 1.05rem; padding: 8px 2px; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #cfc8bd; padding: 60px 0 30px; text-align: center; }
footer .brand { font-family: var(--serif); font-size: 1.4rem; letter-spacing: 3px; color: #fff; }
.social-row { display: flex; justify-content: center; gap: 26px; margin: 26px 0; }
.social-row a { font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; border-bottom: 1px solid transparent; transition: border-color 0.3s ease, color 0.3s ease; }
.social-row a:hover { color: var(--gold-dim); border-color: var(--gold-dim); }
.fine { font-size: 0.78rem; color: #8a8378; margin-top: 20px; }

/* ---------- About ---------- */
.about-copy p { margin: 0 0 20px; color: #3a352f; }
.about-copy em { color: var(--gold); font-style: italic; }
.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.about-gallery img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }

/* ---------- Page hero (non-home pages) ---------- */
.page-hero {
  padding: 200px 0 80px;
  text-align: center;
  background: linear-gradient(var(--cream-dim), var(--cream));
}

/* ---------- Photo page hero (About) ---------- */
.page-hero-photo {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 140px 24px 90px;
  background: var(--ink) url(../images/about-hero-1920.jpg) left 30% / cover no-repeat; /* anchored left so Jon stays in frame */
}
.page-hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,9,8,0.35), rgba(10,9,8,0.1) 40%, rgba(10,9,8,0.78));
}
.page-hero-photo > * { position: relative; }
.page-hero-photo .title { color: #fff; font-size: clamp(2.6rem, 6vw, 4.2rem); }
.hero-subhead { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--gold-dim); margin: 6px 0 0; }
.page-hero-photo .lede { color: rgba(255,255,255,0.82); }
@media (max-width: 600px) {
  .page-hero-photo { min-height: 78vh; padding-bottom: 60px; background-image: url(../images/about-hero-1200.jpg); background-position: 3% center; }
}

/* About hero: title + arrow on the left, bio on a tilted glass panel on the right */
.about-hero {
  display: grid;
  grid-template-columns: 1fr min(520px, 40%);
  column-gap: 4vw;
  align-items: end;
  min-height: 100vh;
  padding: 120px 5vw 70px;
}
.about-hero-title { text-align: center; position: sticky; bottom: 60px; } /* stays on screen when the panel makes the hero taller than the viewport */
.about-hero-title-inner { position: relative; display: inline-block; }
.about-arrow {
  position: absolute; right: 100%; bottom: 55%;
  width: clamp(120px, 13vw, 260px); height: auto;
  margin-right: -40px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
.about-panel-wrap { align-self: center; perspective: 1400px; position: relative; z-index: 1; }
.about-panel {
  transform: rotateY(-9deg) rotateX(2deg);
  transform-origin: right center;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
  position: relative;
  padding: 36px 40px 20px;
  border-radius: 6px;
  background: rgba(20,18,16,0.55);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 10px 24px rgba(0,0,0,0.35);
  text-align: left;
}
.about-panel:hover { transform: rotateY(0) rotateX(0); }
.about-panel .about-copy p { color: rgba(255,255,255,0.9); font-size: 1.1rem; line-height: 1.65; margin-bottom: 18px; }
.about-panel .about-copy em { color: var(--gold-dim); }
.about-panel .about-copy a { color: var(--gold-dim); border-bottom: 1px solid currentColor; }
/* Hand-drawn line: draws from the title, then around the panel */
.about-connector { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.about-connector path, .about-outline path {
  fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: about-draw 1.3s ease-in-out 0.9s forwards;
}
.about-connector { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45)); }
.about-outline { position: absolute; inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); pointer-events: none; overflow: visible; }
.about-outline path { animation-duration: 2s; animation-delay: 2.15s; }
@keyframes about-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 1100px) {
  .about-hero { display: block; min-height: 0; padding: 130px 20px 50px; }
  .about-hero-title { position: static; }
  .about-arrow, .about-connector { display: none; }
  .about-outline path { animation-delay: 0.9s; }
  .about-panel-wrap { margin-top: 36px; }
  .about-panel, .about-panel:hover { transform: none; padding: 26px 24px 10px; }
  .about-panel-wrap { max-width: 720px; margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) { .about-connector path, .about-outline path { animation: none; stroke-dashoffset: 0; } .about-panel { transition: none; } }

/* ---------- Reach map (About) ---------- */
/* Colors and stroke widths live on the SVG itself so it never falls back to black fills. */
.reach-map { display: block; width: 100%; max-width: 880px; height: auto; margin: 40px auto 30px; }
.reach-route { animation: reach-travel 1.2s linear infinite; }
@keyframes reach-travel { to { stroke-dashoffset: -20; } }
.reach-label { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: 1px; fill: var(--ink); }
@media (max-width: 600px) { .reach-label { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .reach-route { animation: none; } }
