:root {
  /* Overridden at runtime from packages.json "theme". */
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #2e2a26;
  --muted: #8a7f74;
  --accent: #b08d6a;
  --line: #e7ded3;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --heading-scale: 1;
  --price-scale: 1;

  --shadow: 0 18px 40px -24px rgba(40, 30, 20, 0.45);
  --radius: 16px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

.btn {
  display: inline-block;
  font: inherit;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -14px var(--accent); }
.btn--primary:hover { filter: brightness(1.04); }

/* ---------- Hero ---------- */
.whero {
  position: relative;
  min-height: clamp(420px, 78vh, 760px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center 38%;
  background-color: #2a221c;
}
/* Background film layer — self-hosted MP4 cover-fitted behind the scrim.
   pointer-events:none keeps the View Packages CTA clickable. */
.whero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.whero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.whero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 62%, rgba(15,10,7,0.55) 0%, rgba(15,10,7,0) 70%),
    linear-gradient(180deg, rgba(15,10,7,0.5) 0%, rgba(15,10,7,0.32) 40%, rgba(15,10,7,0.78) 100%);
}
.whero__inner { position: relative; z-index: 2; padding: 2rem 1.5rem; max-width: 720px; }

/* Respect reduced-motion preference: hide the video, show only the static image. */
@media (prefers-reduced-motion: reduce) {
  .whero__video { display: none; }
}
.whero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
}
.whero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(2.6rem, 8vw, 5.2rem) * var(--heading-scale));
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.45);
}
.whero__sub {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 500;
  margin: 1.1rem auto 0;
  max-width: 44ch;
  color: #fdf8f2;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
}
.whero__cta { margin-top: 1.9rem; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); color: #fff; backdrop-filter: blur(2px); }
.whero__cta:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Section heading ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); }
.section-head__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(2rem, 5vw, 3rem) * var(--heading-scale));
  margin: 0;
}
.section-head__sub { font-size: 1rem; color: var(--muted); margin: 0.7rem auto 0; max-width: 48ch; }

/* ---------- Packages ---------- */
.packages { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) 1.5rem 1rem; }
.pkg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
@media (min-width: 760px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; } }

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.6rem 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.pkg:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -26px rgba(40,30,20,0.5); }
.pkg--featured { border-color: var(--accent); }
@media (min-width: 760px) { .pkg--featured { transform: scale(1.035); } .pkg--featured:hover { transform: scale(1.035) translateY(-6px); } }

.pkg__badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pkg__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.9rem;
  margin: 0 0 0.2rem;
  text-align: center;
}
.pkg__pricenote {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.1rem;
  min-height: 0.9rem;
}
.pkg__price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(2.9rem * var(--price-scale));
  line-height: 1;
  text-align: center;
  color: var(--accent);
  margin: 0;
}
.pkg__hours {
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0.55rem 0 1.2rem;
}
.pkg__divider { border: 0; border-top: 1px solid var(--line); margin: 0 0 1.2rem; }
.pkg__features { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.pkg__feature {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  color: var(--ink);
}
.pkg__feature::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pkg__cta { width: 100%; text-align: center; cursor: pointer; }
.pkg__cta--selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.pkg__cta--selected:hover { filter: none; transform: none; }
.pkg--selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), var(--shadow); }

.pkg-note {
  text-align: center;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.6rem auto 0;
  max-width: 52ch;
}

/* ---------- Add-ons ---------- */
.addons { max-width: 640px; margin: 2.6rem auto 0; text-align: center; }
.addons__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 1rem;
}
.addons__hint { font-size: 0.84rem; color: var(--muted); margin: -0.3rem 0 1.1rem; }
.addons__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.addon__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.addon__label:hover { border-color: var(--accent); }
.addon__check { width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--accent); cursor: pointer; }
.addon__name { flex: 1; }
.addon--selected .addon__label { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: #fffaf3; }
.addons__list .addon-price { color: var(--accent); font-weight: 500; white-space: nowrap; }

/* ---------- Gallery strip ---------- */
.wgallery {
  max-width: 1320px;
  margin: clamp(3rem, 8vw, 5rem) auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
@media (min-width: 760px) { .wgallery { grid-template-columns: repeat(3, 1fr); } }
.wgallery__item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.wgallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.wgallery__item:hover img { transform: scale(1.05); }

/* ---------- Inquiry form ---------- */
.inquire { max-width: 760px; margin: clamp(2.5rem, 6vw, 4rem) auto 0; padding: 0 1.5rem; }
.inquire__head { text-align: center; margin-bottom: 2rem; }
.inquire__title { font-family: var(--serif); font-weight: 500; font-size: calc(clamp(1.9rem, 5vw, 2.7rem) * var(--heading-scale)); margin: 0; }
.inquire__sub { color: var(--muted); margin: 0.6rem auto 0; max-width: 46ch; }

.inq-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.inq-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 600px) { .inq-grid { grid-template-columns: 1fr 1fr; } }
.inq-field { display: block; font-size: 0.76rem; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.inq-field--wide { grid-column: 1 / -1; }
.req { color: var(--accent); }
.inq-field input,
.inq-field select,
.inq-field textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  margin-top: 0.4rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.inq-field textarea { resize: vertical; min-height: 4.5rem; }
.inq-field input:focus,
.inq-field select:focus,
.inq-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.inq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.inq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.inq-consent { font-size: 0.78rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }
.inq-consent a { color: var(--accent); text-underline-offset: 2px; }
.inq-status { margin: 0; font-size: 0.88rem; }
.inq-status--err { color: #b23b3b; }
.inq-status--ok { color: var(--accent); }

.inq-done {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(2.5rem, 7vw, 4rem) 1.5rem;
}
.inq-done__mark {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 2rem;
}
.inq-done__title { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin: 0 0 0.4rem; }
.inq-done__text { color: var(--muted); margin: 0 auto; max-width: 40ch; }

/* ---------- Footer ---------- */
.wfooter { border-top: 1px solid var(--line); margin-top: clamp(4rem, 9vw, 6rem); padding: 2.6rem 1.5rem 3.4rem; text-align: center; }
.wfooter__note { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted); margin: 0; }
.wfooter__links { margin: 0.8rem 0 0; font-size: 0.82rem; }
.wfooter__links a { color: var(--accent); letter-spacing: 0.06em; text-underline-offset: 2px; }

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

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

/* ---------- "Watch our films" entry points ---------- */

/* Hero: small secondary text link UNDER the View Packages CTA.
   Block + auto margins puts it on its own line and keeps it centered;
   width: fit-content keeps the underline tight to the text (not full row). */
.whero__filmslink {
  display: block;
  width: fit-content;
  margin: 1rem auto 0;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  padding-bottom: 0.15rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.whero__filmslink:hover { color: #fff; border-bottom-color: #fff; }

/* Standalone CTA block between gallery and inquiry */
.films-cta {
  max-width: 720px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.films-cta__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}
.films-cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin: 0 0 0.6rem;
  color: var(--ink);
}
.films-cta__sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 auto 1.4rem;
  max-width: 46ch;
  line-height: 1.55;
}
.films-cta__btn { margin: 0; }
