/* ConneryFilm — editorial luxury wedding photography
   Palette matches the ConneryFilm logo suite: obsidian / champagne / ivory. */

:root {
  --obsidian:  #0A0A0B;
  --ink:       #17171A;
  --ink-soft:  #26262B;
  --ivory:     #F4F1EA;
  --ivory-dim: #E7E1D7;
  --champagne: #C3A264;
  --gold-deep: #8A671B;
  --muted:     #8B857C;
  --muted-dk:  #9A958C;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 140px;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  --measure: 62ch;
  --wrap: 1280px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--obsidian);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  /* `hidden` makes the body a scroll container, which silently kills
     position:sticky on every descendant. `clip` prevents the sideways
     overflow without creating one. The hidden line stays first as a
     fallback for anything that doesn't understand clip. */
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: inherit; }
img, video { display: block; max-width: 100%; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

.eyebrow {
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--space-2);
}
.dark .eyebrow { color: var(--champagne); }

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  font: 500 14px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn-gold   { background: var(--champagne); color: var(--obsidian); }
.btn-gold:hover   { background: var(--gold-deep); color: var(--ivory); }
.btn-ghost  { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover  { background: var(--obsidian); color: var(--ivory); border-color: var(--obsidian); }
.dark .btn-ghost:hover { background: var(--ivory); color: var(--obsidian); border-color: var(--ivory); }

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

/* ── Header ──────────────────────────────────────────────── */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; gap: var(--space-4);
  padding: 18px max(24px, calc((100vw - var(--wrap)) / 2));
  transition: background-color .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.stuck {
  background: rgba(247, 243, 236, .96);
  backdrop-filter: saturate(180%) blur(12px);
  padding-block: 12px;
  box-shadow: 0 1px 0 rgba(11, 11, 12, .09);
}

.brand {
  font-family: var(--serif); font-size: 25px; letter-spacing: .02em;
  text-decoration: none; color: var(--ivory); white-space: nowrap;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .5);
}
.stuck .brand { color: var(--obsidian); text-shadow: none; }

.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a {
  font: 500 13px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none; color: var(--ivory); padding: 8px 0;
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease);
  text-shadow: 0 1px 14px rgba(0,0,0,.55);
}
.stuck .site-nav a { color: var(--obsidian); text-shadow: none; }
.site-nav a:hover { border-bottom-color: var(--champagne); }

/* The phone number is the whole point — it never leaves the screen. */
.call-link {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px; padding: 0 20px;
  background: var(--champagne); color: var(--obsidian);
  font: 600 14px/1 var(--sans); letter-spacing: .04em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .22s var(--ease);
}
.call-link:hover { background: var(--gold-deep); color: var(--ivory); }
.call-link svg { width: 16px; height: 16px; flex: none; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .brand { font-size: 21px; }
  .call-link { margin-left: auto; padding: 0 16px; }
}

/* Sticky call bar for phones — always one thumb away. */
.mobile-call {
  display: none;
  position: fixed; inset: auto 0 0; z-index: 100;
  background: var(--obsidian); color: var(--ivory);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-call .btn { flex: 1; min-height: 50px; padding: 0 12px; font-size: 13px; }
@media (max-width: 640px) {
  .mobile-call { display: flex; }
  body { padding-bottom: 78px; }
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  /* Cinematic letterbox: the middle 60% of the frame — 20% cropped off the top
     and 20% off the bottom. A 16:9 source keeping 60% of its height is 16:5.4.

     width:100% is load-bearing. Without it, aspect-ratio resolves the WIDTH
     from min-height and the hero ends up wider than the screen. */
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 5.4;
  min-height: 460px;
  display: grid; place-items: center; text-align: center;
  color: var(--ivory); overflow: hidden;
  background: var(--obsidian);
}

/* Below 900px a 3:1 band is only ~125px tall — there is nowhere to put a
   headline. Drop the fixed ratio and let the content set the height, with the
   video simply covering whatever box results. */
@media (max-width: 900px) {
  .hero {
    aspect-ratio: auto;
    min-height: 68svh;
    height: auto;
  }
}

.hero video, .hero .fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  /* The hero shows only the middle 60% of a 16:9 frame. Centred, that crop
     was cutting the tops of heads off — bias it upward so faces sit inside
     the band. */
  object-position: 50% 30%;
  z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.25) 38%, rgba(11,11,12,.78) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 80px 24px 56px; }
@media (max-width: 900px) { .hero-inner { padding: 104px 20px 48px; } }
.hero h1 { text-wrap: balance; margin-bottom: var(--space-3); }
.hero h1 em { font-style: italic; color: var(--champagne); }
.hero-sub {
  margin: 0 auto var(--space-4); max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--ivory-dim);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}



/* ── Trust strip ─────────────────────────────────────────── */

.trust {
  background: var(--obsidian); color: var(--ivory);
  border-top: 1px solid rgba(201,162,74,.28);
}
.trust ul {
  list-style: none; margin: 0; padding: var(--space-4) 0;
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(4, 1fr); text-align: center;
}
.trust li { border-left: 1px solid rgba(247,243,236,.13); padding: 0 var(--space-2); }
.trust li:first-child { border-left: 0; }
.trust b {
  display: block; font-family: var(--serif); font-size: 2rem;
  color: var(--champagne); font-weight: 400; line-height: 1.1;
}
.trust span { font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-dk); }
@media (max-width: 720px) {
  .trust ul { grid-template-columns: repeat(2, 1fr); gap: var(--space-4) 0; }
  .trust li:nth-child(3) { border-left: 0; }
}

/* ── Sections ────────────────────────────────────────────── */

section { padding-block: var(--space-5); }
@media (max-width: 640px) { section { padding-block: var(--space-4); } }

.dark { background: var(--obsidian); color: var(--ivory); }
.dark p { color: var(--ivory-dim); }

.section-head { margin-bottom: var(--space-4); max-width: 68ch; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.dark .section-head p { color: var(--muted-dk); }

/* ── Portfolio grid ──────────────────────────────────────── */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-4); }
.filters button {
  background: transparent; border: 1px solid rgba(11,11,12,.18); color: var(--obsidian);
  padding: 9px 18px; min-height: 44px; cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filters button:hover { border-color: var(--obsidian); }
.filters button[aria-pressed="true"] { background: var(--obsidian); color: var(--ivory); border-color: var(--obsidian); }

.gallery {
  columns: 3 300px;
  column-gap: var(--space-2);
}
.gallery figure {
  margin: 0 0 var(--space-2);
  break-inside: avoid;
  position: relative;
  background: var(--ivory-dim);
}
.gallery img {
  width: 100%; height: auto;
  /* Never filter, tint or brighten a photograph — the grade is the product. */
}
.gallery figure.is-hidden { display: none; }

/* ── Films / reels ───────────────────────────────────────── */

.films {
  display: grid; gap: var(--space-4) var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}
.films video {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: #000; cursor: pointer;
}
.films .meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--space-2); margin-top: 12px;
}
.films .len {
  font: 400 12px/1 var(--sans); letter-spacing: .1em;
  color: var(--muted-dk); white-space: nowrap;
}
@media (max-width: 520px) { .films { grid-template-columns: 1fr; } }
.films figcaption {
  margin-top: 12px;
  font: 500 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--champagne);
}
.films figure { margin: 0; }

/* ── Collections / packages ──────────────────────────────── */

.collections {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  border: 1px solid rgba(11,11,12,.14);
  padding: var(--space-4) var(--space-3);
  display: flex; flex-direction: column;
  background: #fff;
}
.card.featured { border-color: var(--champagne); border-width: 2px; }
.card h3 { margin-bottom: 6px; }
.card .lede { color: var(--muted); font-size: .95rem; margin-bottom: var(--space-3); }
.card ul { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.card li {
  position: relative; padding-left: 26px; margin-bottom: 11px; font-size: .96rem;
}
.card li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 13px; height: 8px;
  border-left: 1.5px solid var(--champagne); border-bottom: 1.5px solid var(--champagne);
  rotate: -45deg;
}
.card .btn { margin-top: auto; }
.tag {
  align-self: flex-start; margin-bottom: 12px;
  font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); background: rgba(201,162,74,.16); padding: 7px 11px;
}

/* ── Reviews ─────────────────────────────────────────────── */

.rating-line {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.stars { color: var(--champagne); font-size: 22px; letter-spacing: 3px; }
.rating-line b { font-size: 20px; font-family: var(--serif); font-weight: 400; }
.rating-line a { color: var(--muted-dk); font-size: 14px; }

.quotes { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
blockquote {
  margin: 0; padding: var(--space-3);
  border-left: 2px solid var(--champagne);
  font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; font-style: italic;
}
blockquote cite {
  display: block; margin-top: 14px;
  font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  font-style: normal; color: var(--muted-dk);
}

/* ── About ────────────────────────────────────────────────
   Dark band to separate it from the portfolio above. A tall portrait
   against the copy, then two plates sharing one aspect ratio so the row
   reads as a single band rather than two mismatched pictures. */

.about-lead {
  display: grid; gap: var(--space-4);
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  align-items: center;
  margin-bottom: var(--space-5);
}
.about-portrait { margin: 0; }
.about-portrait img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 22%;
  filter: grayscale(1) contrast(1.05);
}
.about-copy .eyebrow { margin-bottom: var(--space-1); }
.about-copy h2 { margin-bottom: var(--space-3); }
.about-copy p { max-width: 54ch; }
.about-copy .btn { margin-top: var(--space-2); }

.about-plates {
  display: grid; gap: var(--space-3);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.about-plates figure { margin: 0; }
.about-plates img {
  width: 100%; height: auto;
  aspect-ratio: 16 / 10;          /* both plates matched */
  object-fit: cover;
}
.about-plates figcaption {
  margin-top: 14px; min-height: 3em;
  color: var(--muted-dk); font-size: .9rem; line-height: 1.5;
}

@media (max-width: 900px) {
  .about-lead { grid-template-columns: 1fr; gap: var(--space-4); }
  .about-portrait img { aspect-ratio: 3 / 2; object-position: 50% 20%; }
  .about-plates { grid-template-columns: 1fr; }
  .about-plates figcaption { min-height: 0; }
}

/* ── Venues (SEO) ────────────────────────────────────────── */

.venue-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.venue-list a {
  text-decoration: none; color: var(--ivory-dim); font-size: .95rem;
  padding: 7px 0; display: block; border-bottom: 1px solid rgba(247,243,236,.1);
  transition: color .2s var(--ease);
}
.venue-list a:hover { color: var(--champagne); }

/* ── Contact ─────────────────────────────────────────────── */

.contact-grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr 1fr;
  align-items: center;              /* was top-aligned, leaving a dead column */
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-direct a.big {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  text-decoration: none; color: var(--champagne); margin-bottom: var(--space-2);
}
.contact-direct .note { color: var(--muted-dk); font-size: .95rem; }

form { display: grid; gap: var(--space-2); }
label { font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dk); }
input, textarea, select {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: rgba(247,243,236,.05); color: var(--ivory);
  border: 1px solid rgba(247,243,236,.22); border-radius: 0;
  font: 400 16px/1.4 var(--sans);
}
textarea { min-height: 130px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(247,243,236,.38); }
input:focus, textarea:focus, select:focus { border-color: var(--champagne); outline: none; }
.field { display: grid; gap: 7px; }
.row { display: grid; gap: var(--space-2); grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.form-status { font-size: .95rem; min-height: 1.4em; }
.form-status.ok  { color: var(--champagne); }
.form-status.err { color: #E8927C; }

/* ── Footer ──────────────────────────────────────────────── */

.site-footer {
  background: #060607; color: var(--muted-dk);
  padding-block: var(--space-5) var(--space-4);
  font-size: .92rem;
}
.footer-top { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.site-footer a { color: var(--ivory-dim); text-decoration: none; }
.site-footer a:hover { color: var(--champagne); }
.footer-brand { color: var(--ivory); }
.footer-brand .logo { height: 28px; width: auto; display: block; }
.footer-brand .gold { fill: var(--champagne); stroke: var(--champagne); }
.socials { display: flex; gap: 18px; margin-top: var(--space-2); }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(247,243,236,.18); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.legal { border-top: 1px solid rgba(247,243,236,.1); padding-top: var(--space-3); font-size: .84rem; }

/* ── Reveal on scroll ────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Motion & finish — luxury, restrained, never decorative-only
   ═══════════════════════════════════════════════════════════ */

/* Hairline gold reading-progress bar. */
.scroll-progress {
  position: fixed; inset: 0 auto auto 0; z-index: 200;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--champagne));
  transition: width .1s linear;
}

/* Film grain — sells "shot on camera" without touching the photographs. */
.grain {
  position: fixed; inset: -100%; z-index: 150; pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 7s steps(6) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-4%); }
  60% { transform: translate(-3%,-3%); }
  80% { transform: translate(4%,2%); }
}

/* Headline reveals line by line from behind a mask. */
.kinetic .line { display: block; overflow: hidden; }
.kinetic .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.05s cubic-bezier(.16,1,.3,1);
}
.kinetic.lit .line > span { transform: none; }
.kinetic .line:nth-child(2) > span { transition-delay: .1s; }
.kinetic .line:nth-child(3) > span { transition-delay: .2s; }

.hero-sub, .hero-cta {
  opacity: 0; transform: translateY(16px);
  transition: opacity .9s var(--ease) .45s, transform .9s var(--ease) .45s;
}
.hero.lit .hero-sub, .hero.lit .hero-cta { opacity: 1; transform: none; }

/* Hero video sits slightly zoomed in, then drifts, zooms and dims on scroll.
   Base scale is set here so it still looks right with JS disabled. */
.hero video {
  will-change: transform, opacity, filter;
  transform: scale(1.05);          /* was 1.08 — less zoom, more headroom */
  transform-origin: center 34%;
}

/* Buttons lean toward the cursor. */
.magnetic { transition: transform .35s var(--ease), background-color .22s var(--ease), color .22s var(--ease); }

/* Gallery: stagger in, and a slow gold frame on hover. */
.gallery figure {
  opacity: 0; transform: translateY(26px) scale(.985);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.gallery figure.in { opacity: 1; transform: none; }
.gallery figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--champagne);
  transition: box-shadow .4s var(--ease);
}
.gallery figure:hover::after { box-shadow: inset 0 0 0 2px var(--champagne); }

/* Section headings get a gold rule that draws itself. */
.section-head h2 { position: relative; padding-bottom: 20px; }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0; background: var(--champagne);
  transition: width 1.1s var(--ease) .15s;
}
.section-head.in h2::after { width: 84px; }

/* Trust numbers count up from a dimmed state. */
.trust b { transition: opacity .6s var(--ease); }

/* Venue names as a slow marquee band. */
.marquee {
  overflow: hidden; border-block: 1px solid rgba(201,162,74,.22);
  padding: 22px 0; margin-top: var(--space-5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: drift 46s linear infinite;
}
.marquee span {
  font-family: var(--serif); font-size: 1.35rem; color: var(--muted-dk); white-space: nowrap;
}
.marquee span::after { content: "·"; margin-left: 56px; color: var(--champagne); }
@keyframes drift { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .marquee-track { animation: none; }
  .kinetic .line > span { transform: none; }
  .hero-sub, .hero-cta { opacity: 1; transform: none; }
  .gallery figure { opacity: 1; transform: none; }
}

/* ── Touch targets ────────────────────────────────────────
   Footer and inline links are visually small but must still be
   comfortably tappable (44px minimum) on phones. */

@media (pointer: coarse), (max-width: 900px) {
  .site-footer a,
  .rating-line a,
  .legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .site-footer .socials a { min-width: 44px; }
  /* The wordmark stays visually small; only its hit area grows. */
  .brand { display: flex; align-items: center; min-height: 44px; }
  .venue-list a { min-height: 44px; }
}


/* The portfolio follows straight on from the stat strip — the default section
   padding left a dead band between the black bar and the heading. */
#work { padding-top: var(--space-4); }
@media (max-width: 640px) { #work { padding-top: var(--space-3); } }

/* With the filter bar gone the heading block needs a little less breathing
   room before the photographs start. */
#work .section-head { margin-bottom: var(--space-4); }

/* ── Collection add-ons ───────────────────────────────────
   Couples configure the package; the choice rides along with the enquiry. */

.addons {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(11, 11, 12, .1);
}
.addons-title {
  font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}

.addon {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px;                    /* comfortable to tap */
  font-size: .94rem; cursor: pointer;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.addon.is-on { color: var(--obsidian); }
.addon-label { flex: 1; }

/* Checkbox styled as a small square that fills gold when chosen. */
.addon input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.addon-box {
  order: 2;
  width: 24px; height: 24px; flex: none;
  border: 1px solid rgba(11, 11, 12, .28);
  display: grid; place-items: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  color: transparent;
}
.addon input:checked + .addon-box {
  background: var(--champagne); border-color: var(--champagne); color: var(--obsidian);
}
.addon input:focus-visible + .addon-box { outline: 2px solid var(--champagne); outline-offset: 3px; }
.addon-box .tick { width: 13px; height: 10px; }

/* Quantity stepper. */
.stepper { display: flex; align-items: center; gap: 2px; flex: none; }
.stepper .step {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(11, 11, 12, .22);
  color: var(--obsidian); font-size: 16px; line-height: 1; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.stepper .step:hover { background: var(--obsidian); color: var(--ivory); border-color: var(--obsidian); }
.stepper output {
  min-width: 30px; text-align: center;
  font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums;
  color: var(--obsidian);
}

.card .btn { margin-top: var(--space-3); }

/* The package a visitor picked, echoed above the enquiry form. */
.chosen-chip {
  margin: 0; padding: 12px 16px;
  background: rgba(195, 162, 100, .14);
  border-left: 2px solid var(--champagne);
  color: var(--ivory); font-size: .93rem;
}

/* The card the enquiry is attached to. */
.card.is-chosen { border-color: var(--champagne); box-shadow: 0 0 0 1px var(--champagne); }

.chosen-chip strong { display: block; font-weight: 600; color: var(--champagne); }
.chosen-chip .chip-addons { display: block; margin-top: 4px; color: var(--ivory-dim); font-size: .88rem; }

/* ── About ────────────────────────────────────────────────
   Photographs carry this section; the copy stays out of their way. */

.about-intro {
  display: grid; gap: var(--space-4);
  grid-template-columns: 240px 1fr;
  align-items: start;
  margin-bottom: var(--space-5);
}
.about-portrait {
  width: 100%; height: auto;
  filter: grayscale(1) contrast(1.05);
}
.about-copy p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-portrait { max-width: 200px; }
}

/* The two documentary photos sit side by side rather than full width —
   at full bleed they overpowered the section. */
.about-figures {
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-bottom: var(--space-5);
}
@media (max-width: 760px) { .about-figures { grid-template-columns: 1fr; } }

.about-figure { margin: 0; }
.about-figure img { width: 100%; height: auto; }
.about-figure figcaption {
  margin-top: 12px;
  color: var(--muted); font-size: .9rem; line-height: 1.5;
}

.about-close { max-width: 62ch; }
.about-close p { margin-bottom: var(--space-3); }


/* ── Contact details ──────────────────────────────────────
   The left column was mostly empty against a tall form; these facts give it
   weight without padding it out with prose. */

.contact-facts { margin: var(--space-4) 0 0; }
.contact-facts > div {
  display: grid; grid-template-columns: 120px 1fr; gap: var(--space-2);
  padding: 14px 0;
  border-top: 1px solid rgba(247, 243, 236, .1);
}
.contact-facts dt {
  font: 500 11px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--champagne);
}
.contact-facts dd { margin: 0; color: var(--ivory-dim); font-size: .95rem; line-height: 1.5; }
.contact-facts a { color: var(--ivory-dim); }
.contact-facts a:hover { color: var(--champagne); }

@media (max-width: 860px) {
  .contact-facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* The contact band sat too far off the footer. */
#contact { padding-bottom: var(--space-5); }


/* ── Global spacing corrections ───────────────────────────
   The page had grown too airy: large gaps under headings, a deep well
   between the service-area copy and the marquee, and a long run-out
   before the footer. */

.section-head .rule { margin-top: var(--space-2); }
.marquee { margin-top: var(--space-3); padding: 18px 0; }

/* The service-area band is a single short paragraph — it does not need
   a full section's height around it. */
#venues { padding-block: var(--space-4); }
#venues .section-head { margin-bottom: var(--space-2); }

/* Trust strip and footer were both carrying extra air. */
.trust ul { padding: var(--space-3) 0; }
.site-footer { padding-block: var(--space-4) var(--space-3); }
.footer-top { margin-bottom: var(--space-3); }

/* Films and collections grids sat too far from their headings. */
.films, .collections, .gallery { margin-top: var(--space-2); }

/* ═══════════════════════════════════════════════════════════
   SOLID BLACK — whole-site override.

   Everything sits on pure black. Kept as one appended block so it can be
   lifted out cleanly when we revisit the palette.
   ═══════════════════════════════════════════════════════════ */

body,
section,
.hero,
.trust,
.dark,
#contact,
.legal-page,
main.legal { background: #000 !important; }

body, .legal-page { color: var(--ivory); }

/* Type on the previously-light sections. */
section h1, section h2, section h3,
main.legal h1, main.legal h2 { color: var(--ivory); }
section p, main.legal p, main.legal li { color: var(--muted-dk); }
.section-head p { color: var(--muted-dk); }
.eyebrow { color: var(--champagne); }

/* Header: solid black once it sticks. */
.site-header.stuck {
  background: rgba(0, 0, 0, .94);
  box-shadow: 0 1px 0 rgba(247, 243, 236, .12);
}
.stuck .brand { color: var(--ivory); text-shadow: none; }
.stuck .site-nav a { color: var(--ivory); }

/* Cards and controls need light-on-dark treatment. */
.card {
  background: #0b0b0d;
  border-color: rgba(247, 243, 236, .14);
}
.card:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.card .lede, .card li { color: var(--muted-dk); }
.card h3 { color: var(--ivory); }

.addons { border-top-color: rgba(247, 243, 236, .12); }
.addon { color: var(--muted-dk); }
.addon.is-on { color: var(--ivory); }
.addon-box { border-color: rgba(247, 243, 236, .3); }
.stepper .step { border-color: rgba(247, 243, 236, .24); color: var(--ivory); }
.stepper .step:hover { background: var(--champagne); color: #000; border-color: var(--champagne); }
.stepper output { color: var(--ivory); }

.btn-ghost:hover { background: var(--ivory); color: #000; border-color: var(--ivory); }

/* Gallery + about plates: black behind the images, no ivory flash. */
.gallery figure, .about-plates img, .films video { background: #000; }
.about-portrait img { background: #000; }

/* Legal pages. */
main.legal .lede { color: var(--ivory); border-bottom-color: rgba(247, 243, 236, .14); }
main.legal .disclaimer { background: rgba(247, 243, 236, .05); color: var(--muted-dk); }
main.legal a { color: var(--champagne); }
main.legal strong { color: var(--ivory); }

/* Footer already dark — match it to pure black. */
.site-footer { background: #000; }

/* The dark sections no longer need their own tint. */
.trust { border-top-color: rgba(195, 162, 100, .3); }

/* Solid black means solid black: no ambient glows, no drifting dust,
   no film grain, no gradient overlays. Just #000. */
.ambient,
.dust,
.grain { display: none !important; }

.hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.75) 100%);
}

html { background: #000; }


/* ── Brand wordmark ───────────────────────────────────────
   Connery's own signature face, the same one he burns into his
   photographs. Self-hosted so visitors don't need it installed.
   It is a script, so the letters need air or they collide. */

@font-face {
  font-family: "Across the Road";
  src: url("fonts/across-the-road.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.brand,
.footer-brand,
.curtain__mark {
  font-family: "Across the Road", var(--serif);
  letter-spacing: .12em;          /* stops the script strokes overlapping */
  font-weight: 400;
}

.brand {
  font-size: 34px;
  line-height: 1;
  padding-top: 2px;               /* script sits high in its em box */
}
@media (max-width: 900px) { .brand { font-size: 28px; } }

.footer-brand { font-size: 32px; letter-spacing: .12em; }

/* ── Portfolio mosaic ───────────────────────────────────────
   Justified rows, sized in JS (see site.js). The figures carry
   inline width/height; everything here is presentation only.
   Overrides the earlier column-masonry rules. */

.gallery {
  display: block;
  /* The rule above uses the `columns` shorthand, which sets column-count
     AND column-width. Resetting only the count leaves column-width live and
     the browser fragments the rows across columns. Reset the shorthand. */
  columns: initial;
  column-gap: initial;
  margin-top: var(--space-2);
}

.gallery .mrow {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.gallery .mrow figure {
  margin: 0;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  background: #000;
  break-inside: initial;
}

.gallery .mrow figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* the row height is derived from the true aspect
                             ratio, so this only absorbs sub-pixel rounding */
  display: block;
}

@media (max-width: 620px) {
  .gallery .mrow { gap: 8px; margin-bottom: 8px; }
}

/* ── Video testimonial ──────────────────────────────────────
   A poster with a play control. The YouTube iframe replaces it
   only on click (see site.js) — nothing third-party loads before
   the visitor asks for it. */

.video-testimonial {
  margin: var(--space-3) 0 0;
  max-width: 900px;
}

.vt-play {
  display: block; width: 100%; padding: 0; border: 0;
  position: relative; cursor: pointer; overflow: hidden;
  background: #000; line-height: 0;
  outline-offset: 3px;
}
.vt-play img {
  width: 100%; height: auto; display: block;
  transition: transform .9s var(--ease), opacity .6s var(--ease);
  opacity: .82;
}
.vt-play:hover img, .vt-play:focus-visible img { transform: scale(1.03); opacity: 1; }

.vt-play::after {          /* hairline frame, matching the gallery treatment */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(247, 243, 236, .14);
  transition: box-shadow .5s var(--ease);
}
.vt-play:hover::after { box-shadow: inset 0 0 0 2px var(--champagne); }

.vt-icon {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 10, 10, .42);
  border: 1px solid rgba(247, 243, 236, .55);
  backdrop-filter: blur(2px);
  color: var(--ivory);
  transition: background .45s var(--ease), border-color .45s var(--ease), scale .45s var(--ease);
}
.vt-icon svg { width: 30px; height: 30px; margin-left: 3px; }
.vt-play:hover .vt-icon, .vt-play:focus-visible .vt-icon {
  background: var(--champagne); border-color: var(--champagne);
  color: var(--obsidian); scale: 1.06;
}

.video-testimonial iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 0; display: block;
}

.video-testimonial figcaption {
  display: flex; align-items: baseline; gap: var(--space-2);
  margin-top: 14px;
}
.video-testimonial figcaption b {
  font-family: var(--serif); font-size: 1.05rem;
  letter-spacing: .02em; color: var(--ivory);
}
.video-testimonial figcaption span {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 620px) {
  .vt-icon { width: 60px; height: 60px; }
  .vt-icon svg { width: 24px; height: 24px; }
}

/* Film description on the homepage films grid — see blog.css for the
   shared .film-note treatment used on /films.html. */
.films .film-note { margin-top: 12px; }

/* ── Package details: guests and venue ──────────────────────
   Both change the quote, so they are asked for on the card itself
   rather than being left to the message field. */

.pkg-details {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(247, 243, 236, .12);
}
.card:not(.featured) .pkg-details { border-top-color: rgba(11, 11, 12, .12); }

.pkg-field { display: block; margin-top: 12px; }
.pkg-field span {
  display: block; margin-bottom: 6px;
  font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-dk);
}
.pkg-field input {
  width: 100%; min-height: 46px; padding: 0 14px;
  font: 400 15px/1 var(--sans);
  color: var(--ivory); background: rgba(247, 243, 236, .04);
  border: 1px solid rgba(247, 243, 236, .18);
  border-radius: 0;
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}
.pkg-field input::placeholder { color: rgba(139, 133, 124, .8); }
.pkg-field input:hover { border-color: rgba(195, 162, 100, .45); }
.pkg-field input:focus {
  outline: none;
  border-color: var(--champagne);
  background: rgba(247, 243, 236, .07);
}
/* Number spinners fight the type — the min/max still apply. */
.pkg-field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.pkg-field input[type="number"]::-webkit-outer-spin-button,
.pkg-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}

/* ── Hero secondary button ──────────────────────────────────
   It used to carry an inline colour, which beat every stylesheet rule —
   on hover the background went ivory while the text stayed ivory, so the
   label vanished. The colours are set here instead, in both states. */

.hero-ghost {
  color: var(--ivory);
  border-color: rgba(244, 241, 234, .55);
  background: rgba(10, 10, 11, .18);
  backdrop-filter: blur(2px);
}
.hero-ghost:hover,
.hero-ghost:focus-visible {
  background: var(--ivory);
  color: var(--obsidian);
  border-color: var(--ivory);
}

/* ── Hero: small label above a large headline ───────────────
   The business name sits small and letter-spaced; the line beneath it
   is the headline and carries the weight, as in the reference. */

.hero-eyebrow {
  /* Global `p` carries max-width: 62ch. With zero side margins that box
     sits hard left inside the hero and only its text centres within it,
     which reads as an off-centre label. Centre the box itself. */
  max-width: none;
  margin: 0 auto clamp(14px, 1.6vw, 24px);
  text-align: center;
  font: 500 clamp(11px, 1vw, 14px)/1 var(--sans);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ivory);
  text-shadow: 0 1px 20px rgba(0, 0, 0, .55);
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3.4rem);
  line-height: 1.14;
  max-width: 22ch;
  margin-inline: auto;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
}

/* The eyebrow arrives with the rest of the hero content. */
.hero-eyebrow {
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s var(--ease) .15s, transform .8s var(--ease) .15s;
}
.hero.lit .hero-eyebrow { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .hero h1 { max-width: 18ch; }
}

/* The headline is now a full sentence and its length varies with the
   rotation, so a fixed-height letterbox clips the buttons on the longer
   ones. Keep the same proportions as a MINIMUM and let the band grow
   rather than crop its own content. */

.hero {
  aspect-ratio: auto;
  height: auto;
  min-height: clamp(460px, 33.8vw, 660px);   /* 16:5.4 at common widths */
}
.hero-inner { padding: clamp(56px, 6vw, 84px) 24px clamp(40px, 4vw, 52px); }
.hero h1 { max-width: 30ch; }

@media (max-width: 900px) {
  .hero { min-height: 68svh; }
}

/* The travelling-light angle is registered in motion.css too; pages that
   load only this file need it as well or the ring cannot animate. */
@property --frame-a {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes frame-light { to { --frame-a: 360deg; } }

/* ── Packages: selectable cards ─────────────────────────────
   Every card is a control, not just the featured one. The selected
   card carries the same travelling champagne light as the photographs;
   the others sit quiet until hovered. */

.collections .card {
  position: relative;
  cursor: pointer;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease),
              transform .35s var(--ease), opacity .35s var(--ease);
}
.collections .card:hover { transform: translateY(-3px); }
.collections .card:focus-visible { outline: 2px solid var(--champagne); outline-offset: 4px; }

/* Unselected cards recede a little so the choice is legible at a glance. */
/* Scoped to .in so these never override the reveal and show a card early. */
.collections .card.in:not(.is-chosen) { opacity: .74; }
.collections .card.in:not(.is-chosen):hover { opacity: 1; }
.collections .card.in.is-chosen { opacity: 1; }

/* The chosen card gets the ring of light. */
.collections .card::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2; pointer-events: none;
  padding: 1px;
  background: conic-gradient(from var(--frame-a),
    rgba(195, 162, 100, .12)   0deg,
    rgba(195, 162, 100, .12)  46deg,
    rgba(233, 209, 158, .95)  76deg,
    rgba(195, 162, 100, .12) 112deg,
    rgba(195, 162, 100, .12) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: frame-light 16s linear infinite;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.collections .card.is-chosen::before { opacity: 1; }
.collections .card.is-chosen {
  border-color: var(--champagne);
  box-shadow: 0 0 0 1px var(--champagne), 0 24px 60px rgba(0, 0, 0, .55);
}

/* "Most booked" is a fact about the package, not the selection — it stays
   on the featured card whether or not that card is the one chosen. */
.collections .card.featured:not(.is-chosen) { border-color: rgba(195, 162, 100, .45); }

@media (prefers-reduced-motion: reduce) {
  .collections .card::before { animation: none; background: var(--champagne); }
  .collections .card:hover { transform: none; }
}

/* ── Enquiry on the homepage ────────────────────────────────
   A copy of the contact form, directly under the packages so a
   selection can become an enquiry without changing page. Centred
   and held to a readable width. */

.home-enquiry {
  max-width: 760px;
  margin: var(--space-6) auto 0;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(247, 243, 236, .12);
}
.home-enquiry .section-head { text-align: center; margin-bottom: var(--space-4); }
.home-enquiry .section-head p { margin-inline: auto; }
.home-enquiry .section-head .rule { margin-inline: auto; }
.home-enquiry form { text-align: left; }

/* ── The camera sequence ────────────────────────────────────
   Scroll position drives the playhead (scrub.js). The tall section is
   the scroll distance; the sticky pane inside it is what you see. */

.cam-scene {
  position: relative;
  height: 320vh;
  background: var(--obsidian);
}
.cam-sticky {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  display: grid; place-items: center;
}
.cam-sticky::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(195, 162, 100, .14), transparent 70%),
    radial-gradient(90% 90% at 50% 50%, rgba(10, 10, 11, 0), rgba(10, 10, 11, .9) 88%);
}
.cam-scene video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  background: var(--obsidian);
}
.cam-caption {
  position: absolute; bottom: 8vh; left: 50%; translate: -50% 0; z-index: 2;
  font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--champagne); opacity: .8; pointer-events: none;
}

/* Phones and reduced-motion get a single held frame rather than a
   scroll trap: 320vh of scrolling is punishing on a small screen. */
@media (max-width: 760px) {
  .cam-scene { height: 62svh; }
  .cam-sticky { height: 62svh; position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  .cam-scene { height: 70svh; }
  .cam-sticky { height: 70svh; position: relative; }
}

/* ── Film note: two lines, then Read more ───────────────────
   Four of these open at once buried the homepage. Clamp to two
   lines; anyone who wants the rest can open it. */

.films .film-note.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.films .film-note.is-clamped p { margin-bottom: 0; }

.film-more {
  margin-top: 8px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font: 500 11px/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--champagne);
  border-bottom: 1px solid rgba(195, 162, 100, .4);
  padding-bottom: 3px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.film-more:hover { color: var(--ivory); border-bottom-color: var(--ivory); }

/* Native date and number widgets follow the page's colour scheme — without
   this the calendar pops white and its icon is near-invisible on black. */
form, .field input, .field select, .field textarea, .pkg-field input {
  color-scheme: dark;
}
.field input[type="date"] { cursor: pointer; }

/* ── Mobile navigation ──────────────────────────────────────
   Built by nav.js. Hidden entirely on desktop, where the inline
   nav is already visible. */

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto; margin-right: 12px;
    padding: 0; background: none; border: 0; cursor: pointer;
    position: relative; z-index: 420;
  }
  .nav-toggle i {
    display: block; width: 24px; height: 1px; background: var(--ivory);
    transition: transform .35s var(--ease), opacity .25s var(--ease), background-color .3s var(--ease);
  }
  .stuck .nav-toggle i { background: var(--obsidian); }
  .nav-toggle.is-open i { background: var(--ivory); }
  .nav-toggle.is-open i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open i:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .call-link { margin-left: 0; }
  body.nav-is-open { overflow: hidden; }
}

.nav-panel {
  position: fixed; inset: 0; z-index: 410;
  background: var(--obsidian);
  display: grid; place-content: center; gap: var(--space-4);
  text-align: center;
  opacity: 0;
  clip-path: inset(0 0 100% 0);          /* wipes down from the header */
  transition: opacity .45s var(--ease), clip-path .55s var(--ease);
}
.nav-panel.is-open { opacity: 1; clip-path: inset(0 0 0 0); }

.nav-panel__links { display: grid; gap: clamp(14px, 3vh, 26px); }
.nav-panel__links a {
  font-family: var(--serif); font-size: clamp(1.6rem, 7vw, 2.4rem);
  color: var(--ivory); text-decoration: none; line-height: 1.1;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s var(--ease);
  transition-delay: calc(var(--i) * 60ms + 120ms);
}
.nav-panel.is-open .nav-panel__links a { opacity: 1; transform: none; }
.nav-panel__links a:hover { color: var(--champagne); }

.nav-panel__call {
  justify-self: center;
  min-height: 52px; padding: 0 30px;
  display: inline-flex; align-items: center;
  background: var(--champagne); color: var(--obsidian);
  font: 600 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i) * 60ms + 120ms);
}
.nav-panel.is-open .nav-panel__call { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .nav-panel, .nav-panel__links a, .nav-panel__call { transition-duration: .01ms; }
}

/* The headline is split into lines by polish.js; each line sits in a
   mask and slides up out of it. */
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.05s cubic-bezier(.16, 1, .3, 1);
}
.hero h1.lit .line > span { transform: none; }
.hero h1 .w { display: inline; }

/* The drift is applied inline by polish.js — this keeps it smooth. */
.hero video { will-change: transform, opacity, filter; }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .line > span { transform: none; transition: none; }
}

/* ── Page transitions ───────────────────────────────────────
   The site is multi-page, so every click used to white-flash. This
   cross-fades between documents natively. Browsers without the API
   simply navigate as before — nothing to fall back to. */

@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: vt-out .34s cubic-bezier(.4, 0, 1, 1) both;
}
::view-transition-new(root) {
  animation: vt-in .42s cubic-bezier(0, 0, .2, 1) both;
}
@keyframes vt-out { to { opacity: 0; transform: scale(.992); } }
@keyframes vt-in  { from { opacity: 0; transform: scale(1.008); } }

/* The header shouldn't fade with the page — it should feel continuous. */
.site-header { view-transition-name: site-header; }
::view-transition-old(site-header),
::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ── Mobile header and hero overflow ────────────────────────
   Adding the menu trigger pushed the phone button off the right edge,
   and the headline's 30ch measure is wider than a phone screen. */

.hero h1 { max-width: min(30ch, 100%); }

@media (max-width: 900px) {
  .site-header { gap: 0; padding-inline: 18px; }
  .nav-toggle { margin-right: 4px; }
}

@media (max-width: 640px) {
  /* The sticky bar at the bottom already carries the number on phones,
     so the header only needs the menu. */
  .site-header .call-link { display: none; }
  .nav-toggle { margin-right: 0; }
}

/* The menu bars sit over the hero video, which is often near-white.
   Same treatment the wordmark gets, so they read against any frame. */
@media (max-width: 900px) {
  .nav-toggle i { box-shadow: 0 1px 12px rgba(0, 0, 0, .65); }
  .stuck .nav-toggle i { box-shadow: none; }
  .nav-toggle.is-open i { box-shadow: none; }
}

/* ── Testimonials ───────────────────────────────────────────
   Two columns: the written word against the spoken one. Replaces the
   single left-barred quote, which read like a pull-quote in a document
   and left the right half of the section empty. */

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  margin-top: var(--space-4);
}

.reviews-words { min-width: 0; }

.quote-stack { position: relative; }
.quote-stack blockquote {
  margin: 0;
  border: 0;                      /* the old gold bar is gone */
  padding: 0;
}

/* An oversized quotation mark, set in the serif, behind the words. */
.quote-stack blockquote::before {
  content: "“";
  display: block;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: .8;
  color: var(--champagne);
  opacity: .28;
  margin-bottom: -.28em;
}

.quote-stack blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  line-height: 1.45;
  color: var(--ivory);
  margin: 0 0 var(--space-3);
  max-width: 26ch;
  text-wrap: balance;
}
.quote-stack blockquote cite {
  display: block;
  font: 500 11px/1.6 var(--sans);
  font-style: normal;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-dk);
}

/* Rating sits under the quote on a hairline, not floating above it. */
.reviews-rating {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(247, 243, 236, .14);
}
.reviews-rating .stars { color: var(--champagne); letter-spacing: .18em; font-size: .95rem; }
.reviews-rating b {
  font-family: var(--serif); font-size: 1.5rem; color: var(--ivory); font-weight: 400;
}
.reviews-rating .rating-note { color: var(--muted-dk); font-size: .85rem; }
.reviews-rating a {
  margin-left: auto;
  font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--champagne); text-decoration: none;
  border-bottom: 1px solid rgba(195, 162, 100, .4); padding-bottom: 3px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.reviews-rating a:hover { color: var(--ivory); border-bottom-color: var(--ivory); }

/* The video sits in the right column and no longer spans the page. */
.reviews-grid .video-testimonial { margin: 0; max-width: none; }

/* The poster is a bright cream card — settle it into the black so it
   doesn't shout, and let it come up on hover. */
.reviews-grid .vt-play img { opacity: .88; }
.reviews-grid .vt-play::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 50%, transparent 45%, rgba(10, 10, 11, .55) 100%);
  transition: opacity .5s var(--ease);
}
.reviews-grid .vt-play:hover::before { opacity: .35; }
.reviews-grid .vt-icon { z-index: 2; }

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .quote-stack blockquote p { max-width: none; }
  .reviews-rating a { margin-left: 0; width: 100%; }
}

/* The camera drifts a few pixels under the cursor (scrub.js). will-change
   keeps that on its own layer so it never disturbs the scrubbing. */
.cam-scene video { will-change: transform; }

/* ── Camera section: tightened ──────────────────────────────
   It was 320vh of scrolling for a 7-second sequence, which read as a
   long empty gap before the testimonials. 180vh still gives the
   sequence room to be scrubbed deliberately without the dead space. */

.cam-scene { height: 180vh; }

/* The sequence is the whole point of the section — no label needed. */
.cam-caption { display: none; }

/* The two sections should meet, not leave a band of black between them. */
#reviews { padding-top: var(--space-4); }

@media (max-width: 760px) {
  .cam-scene { height: 58svh; }
  .cam-sticky { height: 58svh; }
}

/* ── Camera section: no letterboxing, no trailing void ──────
   The sticky pane was a full viewport tall while the 16:9 video only
   filled part of it, so the rest was empty black — and the section
   carried several hundred more pixels of nothing below the pane. Size
   the pane to the video's own aspect and shorten the section. */

.cam-scene { height: 145vh; }

.cam-sticky {
  /* Full viewport. A shorter pane left the next section stranded below
     the fold when the sequence finished, so you scrolled through dead
     black to reach it. object-fit: cover means no bars either way. */
  height: 100svh;
  top: 0;
  transform: none;
}

.cam-scene video { object-fit: cover; }   /* no bars; the frame is edge to edge */

@media (max-width: 760px) {
  .cam-scene { height: 62svh; }
  .cam-sticky { height: 56.25vw; top: 0; transform: none; }
}

/* ── Film posters (YouTube facade) ──────────────────────────
   The films stream from the ConneryStudio channel. These are the
   posters; the player replaces one only when it is clicked. */

.yt-play {
  display: block; width: 100%; padding: 0; border: 0;
  position: relative; cursor: pointer; overflow: hidden;
  background: #000; line-height: 0; outline-offset: 3px;
}
.yt-play img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9; object-fit: cover;
  opacity: .92;
  transition: transform .9s var(--ease), opacity .5s var(--ease);
}
.yt-play:hover img, .yt-play:focus-visible img { transform: scale(1.035); opacity: 1; }
.yt-play::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(247, 243, 236, .12);
  transition: box-shadow .5s var(--ease);
}
.yt-play:hover::after { box-shadow: inset 0 0 0 2px var(--champagne); }

.films iframe, .film-card iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #000;
}

.films .film-kind, .film-card .film-kind {
  font-size: .8rem; color: var(--muted-dk);
  letter-spacing: .04em;
}
.films figcaption { display: block; }
.films .meta { margin-bottom: 2px; }
