/*
 * Mobile-first style baseline
 *
 * Niche:           Wedding Venue (Rustic) (wedding-venue-rustic)
 * Brand primary:   #a87878
 * Brand accent:    #2a2520
 * Font pair:       Cormorant Garamond (display) + Inter (body)
 *
 * Synthesised from:
 *   - BRAND.md (Phase 1d)        — logo, primary, accent
 *   - niche-design.csv brief     — typography register, photo role, avoid list
 *   - 9 design skills (Phase 0a) — fonts via ui-ux-pro-max, composition via
 *                                  frontend-design, mobile via mobile-web-pro,
 *                                  motion via gsap-core + gsap-scrolltrigger
 *
 * Stance: every base rule is the MOBILE rule. Desktop is layered on top
 * via `@media (min-width: 768px)` and `@media (min-width: 1024px)`. Never
 * `@media (max-width: ...)` for layout — only for hide-on-desktop fixups.
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* === Brand-lock (sacred — only tokens that demand substitution) === */
  --brand-primary: #a87878;
  --brand-accent:  #2a2520;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  /* === Neutrals — defaults for any niche; skill can override per build === */
  --color-bg:        #ffffff;
  --color-foreground:#1a1d24;
  --color-card:      #ffffff;
  --color-muted:     #6b7280;
  --color-border:    rgba(15, 23, 42, 0.08);

  /* === Layout defaults — skill overrides per build by appending CSS === */
  --section-padding: clamp(4rem, 9vh, 7.5rem);
  --container-max:   clamp(1200px, 90vw, 1440px);
  --card-radius:     12px;
  --button-radius:   8px;
  --h1-clamp:        clamp(2.25rem, 5.5vw, 4.5rem);
  --nav-h:           76px;

  /* === Universal shadow scale === */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06), 0 16px 32px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 8px rgba(0,0,0,0.05), 0 12px 24px rgba(0,0,0,0.08), 0 32px 60px rgba(0,0,0,0.06);

  /* === Tinted-neutral OKLCH ramp (skill can shift hue via override) === */
  --color-ink:      oklch(10% 0.005 250);
  --color-charcoal: oklch(25% 0.005 250);
  --color-ash:      oklch(55% 0.008 250);
}

/* Color-scheme lock — Umera mockups are light-only */
html { color-scheme: light; }

/* === Base / reset === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  font-size: 16px;            /* ≥16px floor prevents iOS focus-zoom (mobile-web-pro rule) */
  line-height: 1.55;
  color: var(--color-foreground);
  background: var(--color-bg);
}
img, video, picture { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); margin: 0 0 0.5em; line-height: 1.15; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; max-width: 65ch; }
a { color: inherit; }
ul, ol { padding-inline-start: 1.25em; }

/* === Form inputs (≥16px font prevents iOS zoom; ≥44px tap on every clickable) === */
input, textarea, select, button {
  font-family: inherit;
  font-size: 16px;
  min-height: 44px;
}
button, .btn, a.btn, [role="button"] {
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.2,0,0,1),
              background-color 200ms cubic-bezier(0.2,0,0,1),
              color 200ms cubic-bezier(0.2,0,0,1);
}
button:active, .btn:active, a.btn:active, [role="button"]:active { transform: scale(0.96); }

/* === Layout primitives (mobile defaults) === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;     /* 20px — mobile container side padding */
}
section { padding: clamp(2.5rem, 9vw, 5rem) 0; }

/* Hero — mobile defaults */
.hero, .page-hero { display: block; min-height: 100dvh; position: relative; }
.hero__inner, .page-hero__inner {
  padding-top: calc(var(--nav-h) + 1rem);
  padding-bottom: 2rem;
}
/* Bottom-anchored CTA respects iPhone home indicator */
.bottom-cta, .fixed-cta-bar { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }

/* Hero media panel — mobile: 16/11 landscape, ~220px tall, never crowds the H1 */
.hero__media, .page-hero__media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  aspect-ratio: 16 / 11;
  border-radius: var(--card-radius);
  margin-block: 1.5rem;
}
.hero__media img, .hero__media video,
.page-hero__media img, .page-hero__media video {
  width: 100%; height: 100%; object-fit: cover;
}

/* Decorative overlays on hero media: hidden on mobile (collide with placeholder hint) */
.hero__media-overlay, .hero__media-badge { display: none; }

/* === Hero text visibility — text-shadow belt-and-braces over photos === */
.hero h1, .page-hero h1,
.hero__sub, .page-hero__sub,
.hero__kicker, .page-hero__kicker {
  text-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4);
}

/* === Reveal classes (JS sets autoAlpha:0; CSS belt-and-braces if JS fails) === */
.reveal-section, .reveal-up, .reveal-fade, .reveal-stagger > * {
  will-change: transform, opacity;
}
@media (scripting: none) {
  .reveal-section, .reveal-up, .reveal-fade, .reveal-stagger > * {
    opacity: 1 !important; visibility: visible !important; transform: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-section, .reveal-up, .reveal-fade, .reveal-stagger > *,
  .hero, .page-hero, .hero__kicker, .hero h1, .hero__sub, .hero__actions > *,
  .page-hero__kicker, .page-hero h1, .page-hero__sub, .page-hero__actions > * {
    opacity: 1 !important; visibility: visible !important; transform: none !important;
    animation: none !important;
  }
}

/* === CTA row — mobile: stacks vertically, full-width === */
/* `justify-content: center` is permanent at every breakpoint — sub-page hero
   CTAs were sitting left of centre after the tablet override removed max-width
   without resetting alignment. Recurring bug in the project; centred at base
   means it stays centred when the row flips to horizontal at tablet+. */
.hero__actions, .page-hero__actions, .hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  justify-content: center;
}
.hero__actions > .btn, .page-hero__actions > .btn, .hero-cta-row > .btn {
  width: 100%;
  text-align: center;
}

/* === Tap-target padding for icon-only buttons === */
.nav__hamburger, .icon-btn, .social-icon {
  position: relative;
}
.nav__hamburger::before, .icon-btn::before {
  content: '';
  position: absolute;
  inset: -8px;                /* expand hit area 8px in every direction */
}

/* === Navigation — mobile default: full-width top bar with logo + hamburger === */
.nav, .u-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 250; /* above the mobile-menu overlay (200) so the hamburger stays tappable to close */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1.25rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav__brand, .u-nav__brand { display: flex; align-items: center; gap: 0.5rem; }
.nav__brand-text span { display: none; }     /* mobile: hide sub-tagline */
/* FIX 5: show the stacked Barmbyfield / Barns wordmark on mobile, sized to fit beside the hamburger */
@media (max-width: 767px) {
  .nav__brand-text span { display: block; }
  .nav__brand-name { font-size: 0.92rem; letter-spacing: 0.12em; }
  .nav__brand-sub { font-size: 0.56rem; letter-spacing: 0.28em; margin-top: 2px; }
}
.nav__links, .nav__actions .btn, .nav__tel { display: none; }  /* mobile: hide nav items */
.nav__hamburger {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 0;
  color: currentColor;
}
.nav__hamburger svg { width: 22px; height: 22px; }
/* When the mobile menu is open, the hamburger turns into a close (X) and the
   nav sits above the overlay (z-index) so it stays tappable to close. */
.nav__hamburger[aria-expanded="true"] svg { display: none; }
.nav__hamburger[aria-expanded="true"]::after {
  content: "\00d7"; /* multiplication sign — clean X */
  font-size: 1.9rem; line-height: 1; color: currentColor; font-weight: 300;
}

/* Mobile menu drawer — full-screen overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 200;
  padding: calc(var(--nav-h) + 1rem) 1.5rem calc(2rem + env(safe-area-inset-bottom));
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  padding: 0.75rem 0;
  text-decoration: none;
}

/* === Dropdown menus — universal convention class === */
/* Every emitted nav dropdown uses `.dropdown-menu`. Flush `top: 100%` so the
   cursor never has to cross a transparent gap (which would drop :hover and
   close the menu). Visual breathing room comes from menu's own padding-top. */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

/* === Mobile nav-links hide — !important to survive cascade === */
/* The default rule above (`.nav__links, .nav__actions .btn, .nav__tel { display: none }`)
   was being overridden by later rules in some builds, causing verify-mockup to
   count desktop nav <a> elements as failing tap-targets at 390px. The explicit
   media-query override with !important closes that hole. */
@media (max-width: 1023px) {
  .nav__links { display: none !important; }
}

/* === Inline body link tap-target floor === */
/* Body links inside CTA strips, cookie banners, and contact info blocks were
   slipping below 44px on mobile. The audit caught dozens of fails per build. */
.cta-strip__contact, .cookie-banner a, .contact-info__value {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* === Cards (mobile-first) === */
.card, .service-card, .testimonial-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: clamp(1rem, 4vw, 1.5rem);
}

/* === Grid primitives — mobile: 1 column by default === */
.grid, .service-grid, .testimonial-grid, .gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 4vw, 1.5rem);
}

/* === Universal orphan prevention === */
/* Already in base: h1-h4 { text-wrap: balance }, p,li { text-wrap: pretty }. */
.hero h1, .hero h2, .hero .hero__h1, .hero .hero__kicker,
.section__heading h2, .section__heading h3 { text-wrap: balance; }

.hero .hero__sub, .hero p,
.section p, .card p { text-wrap: pretty; }

/* === Decorative absolute-position cleanup on mobile === */
.badge, .pull-quote__tag, .floating-tag {
  position: static;
  top: auto; right: auto; left: auto; bottom: auto;
  transform: none;
  display: inline-block;
  margin: 0 0 1rem;
}

/* === Chip rows — grid baseline + no internal wrap === */
.hero__areas, .hero__proof-bar, .hero__trust, .hero__accred,
.hero__accred-list, .section__chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem 1rem;
  align-items: center;
}
.hero__areas > *, .hero__proof-bar > *, .hero__trust > *,
.hero__accred > *, .hero__accred-list > *, .section__chips > * {
  white-space: nowrap;
}

/* === Count-up stats === */
.stat__num, [data-count] { font-variant-numeric: tabular-nums; }

/* === Marquees & rails (autonomous CSS) === */
.hero-marquee {
  overflow: hidden;
  padding-block: 1rem;
  border-block: 1px solid var(--color-border);
  background: var(--color-marquee-bg, var(--color-bg));
  color: var(--color-marquee-fg, var(--color-foreground));
}
.hero-marquee__track {
  display: flex; gap: 3rem; width: max-content; white-space: nowrap;
  animation: hero-marquee-scroll 40s linear infinite;
  will-change: transform;
}
@keyframes hero-marquee-scroll { to { transform: translateX(calc(-100% / 2)); } }
.hero-marquee__track:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero-marquee__track { animation: none; } }

.accred-rail, .featured-in-rail, .logo-strip, .press-rail, .rail--decor,
.hero-trust-rail, .featured-projects-rail, .image-mosaic-rail, .reviews-rail { overflow: hidden; }
.accred-rail .rail-track, .featured-in-rail .rail-track,
.logo-strip .rail-track, .press-rail .rail-track, .rail--decor .rail-track,
.hero-trust-rail .rail-track,
.featured-projects-rail .rail-track,
.image-mosaic-rail .rail-track,
.reviews-rail .rail-track {
  display: flex; gap: 3rem; width: max-content;
  animation: decor-rail-scroll 50s linear infinite;
  will-change: transform;
}

/* Scroll-velocity override — when a rail wrapper has .rail--scroll-velocity,
   animations.js drives the transform per scroll-Y delta and CSS sets
   animation:none so JS owns the transform. Marking the rail tells the JS
   to take over; without the class, CSS keyframes (declared elsewhere) run.
*/
.rail--scroll-velocity .rail-track {
  animation: none !important;
  /* JS in animations.js drives transform per scroll Y delta */
}

/* Universal trust-rail under every hero — populated from niche.trust_signals.
   Constant-speed marquee, no scroll dependency, no pause-on-hover (autonomous).
   Border ties it to the hero above and the section below. */
.hero-trust-rail {
  padding-block: 0.85rem;
  border-block: 1px solid var(--color-border);
  background: var(--color-card, white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brand-primary);
}
.hero-trust-rail .rail-track { gap: 3.5rem; }
.hero-trust-rail .rail-track > * { white-space: nowrap; opacity: 0.75; }
@keyframes decor-rail-scroll { to { transform: translateX(calc(-100% / 2)); } }
@media (prefers-reduced-motion: reduce) {
  .accred-rail .rail-track, .featured-in-rail .rail-track,
  .logo-strip .rail-track, .press-rail .rail-track, .rail--decor .rail-track {
    animation: none;
  }
}

/* === Universal object-fit: cover for hero/media containers === */
.about__media, .cta-strip__media,
.gallery-grid figure,
.service-card__media, .testimonial-card__photo, .review-card__photo {
  position: relative;
  overflow: hidden;
}
.about__media img, .cta-strip__media img,
.gallery-grid figure img,
.service-card__media img,
.testimonial-card__photo img, .review-card__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* === Photo parallax baseline scale (JS-controlled at desktop) === */
.hero__media img, .page-hero__media img { transform: scale(1.06); transform-origin: center; will-change: transform; }
.cta-strip__media img, .about__media img { transform: scale(1.10); transform-origin: center; will-change: transform; }
.gallery-grid img,
.service-card__media img, .testimonial-card__photo img, .review-card__photo img {
  transform: scale(1.08); transform-origin: center; will-change: transform;
}

/* === Cookie banner (UK GDPR + PECR) === */
.cookie-banner {
  position: fixed;
  bottom: env(safe-area-inset-bottom);
  left: 1rem; right: 1rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  z-index: 90;
  display: flex; flex-direction: column; gap: 0.75rem;
  font-size: 0.9rem;
}
.cookie-banner.is-dismissed { display: none; }
.cookie-banner__actions { display: flex; gap: 0.5rem; }
.cookie-banner__actions .btn { flex: 1; min-height: 44px; }

/* === Hero availability nudge (single-line scarcity copy under CTAs) === */
.hero__availability {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
}
/* Hero availability over a dark scrim — skill marks via .hero--dark when needed. */
.hero--dark .hero__availability {
  color: rgba(255, 255, 255, 0.78);
}

/* === Comparison band (regulatory + statistical trust comparisons) === */
.comparison-band { padding: clamp(3rem, 7vw, 5rem) 0; }
.comparison-band__grid {
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
  margin: 0 auto;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.compare-row:last-child { border-bottom: none; }
.compare-us {
  color: var(--color-foreground);
  font-weight: 500;
}
.compare-us strong { color: var(--brand-primary); font-weight: 700; }
.compare-them {
  color: var(--color-muted);
  font-weight: 400;
}
.comparison-band__footnote {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: center;
  font-style: italic;
}
/* Stack on mobile for readability */
@media (max-width: 540px) {
  .compare-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .compare-them { padding-left: 1.5rem; }
}

/* === Mobile tap-target baseline (mobile-only — 44×44 floor) === */
@media (max-width: 767px) {
  .nav__brand, .nav__brand a,
  footer a, .footer__links a, .footer-links a,
  .social-icons a, .social a, .icon-btn,
  a[aria-label]:not(.btn), button[aria-label]:not(.btn) {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
  }
  /* Tiny visual dots expand their hit area via padding without growing visually */
  .dot, .indicator, .pagination__dot, .slider__dot {
    min-width: 44px;
    min-height: 44px;
    padding: 14px;
    box-sizing: content-box;
  }
  /* Decorative rail separators are not tap targets — keep them tiny */
  .hero-trust-rail .rail-track .dot {
    min-width: 4px;
    min-height: 4px;
    width: 4px;
    height: 4px;
    padding: 0;
  }
}

/* === Portfolio masonry — natural-aspect column flow === */
.portfolio--masonry .masonry {
  column-count: 1;
  column-gap: 1rem;
}
.portfolio--masonry .masonry__item {
  break-inside: avoid;
  margin: 0 0 1rem;
}
.portfolio--masonry .masonry__item img {
  width: 100%;
  height: auto;
  display: block;
}
.portfolio--masonry .masonry__item figcaption {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

/* ============================================================
   TABLET — @media (min-width: 768px)
   Layer 1: containers grow, grids switch to 2-col, CTAs side-by-side.
   ============================================================ */
@media (min-width: 768px) {
  .container { padding-inline: clamp(1.5rem, 4vw, 2.5rem); }
  section { padding: var(--section-padding) 0; }

  /* CTA row goes side-by-side — justify-content stays center from base rule */
  .hero__actions, .page-hero__actions, .hero-cta-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-inline: auto;
    max-width: none;
  }
  .hero__actions > .btn, .page-hero__actions > .btn, .hero-cta-row > .btn {
    width: auto;
  }

  /* Hero media: bigger, taller, 4:3 — never blocks the H1 because the
     grid below means H1 sits beside the media not under it */
  .hero__media, .page-hero__media {
    aspect-ratio: 4 / 3;
    min-height: 360px;
    margin-block: 0;
  }

  /* Decorative overlays return on tablet+ */
  .hero__media-overlay, .hero__media-badge { display: block; }

  /* Grids switch to 2-column */
  .grid, .service-grid, .testimonial-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio--masonry .masonry { column-count: 2; }

  /* Cookie banner becomes wider with bottom-right anchor */
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    max-width: 540px;
    left: auto;
    right: 1.5rem;
  }
  .cookie-banner__actions { width: auto; }
}

/* ============================================================
   DESKTOP — @media (min-width: 1024px)
   Layer 2: hero grid, nav links visible, grids 3-col.
   ============================================================ */
@media (min-width: 1024px) {
  .container { padding-inline: clamp(2rem, 5vw, 3rem); }

  /* Nav: hide hamburger, show links + CTA */
  .nav__hamburger { display: none; }
  .nav__links, .nav__actions .btn, .nav__tel { display: flex; }
  .nav__links { gap: 1.25rem; }
  .nav__brand-text span { display: inline; }

  /* Grids 3-col */
  .grid, .service-grid, .testimonial-grid, .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio--masonry .masonry { column-count: 3; }

  /* Mobile menu off */
  .mobile-menu { display: none !important; }
}

/* ============================================================
   ULTRAWIDE — @media (min-width: 1440px)
   Layer 3: typography breathes, container hits max.
   ============================================================ */
@media (min-width: 1440px) {
  .container--wide { padding-inline: clamp(2.5rem, 4vw, 4rem); }
}

/* === Process section — Arabic step numbers ===========================
   The collapsed `process` section uses a CSS counter for the step number.
   Arabic numerals only — Roman numerals were the documented Barmbyfield
   trap (2026-05-19). If a build truly wants Roman numerals on a niche
   that warrants them, the skill appends its own override CSS at Phase 3.5.
   ====================================================================== */
.process { counter-reset: step; }
.process__num,
.process__step { counter-increment: step; }
.process__num::before,
.process__step::before { content: counter(step) ". "; }

/* === Designed empty-state placeholders ============================== */
/* For service-affecting content where source is missing. The agent emits
   one of these when extracted data is absent. Audit R38 / R42 require a
   visible marker for un-traced services / prices / areas / photos.       */

.placeholder {
  display: block;
  border-radius: 12px;
  background: linear-gradient(180deg,
    rgba(43, 188, 233, 0.04) 0%,
    rgba(43, 188, 233, 0.08) 100%);
  outline: 1px dashed rgba(24, 72, 144, 0.22);
  outline-offset: -1px;
  padding: clamp(1rem, 2vw, 1.5rem);
  color: var(--brand-primary, #184890);
  font-weight: 500;
  text-align: center;
  position: relative;
}
.placeholder::before {
  content: attr(data-placeholder-label);
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent, #2bbce9);
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}
.placeholder--services-to-confirm { min-height: 200px; }
.placeholder--areas-to-confirm    { min-height: 180px; }
.placeholder--price-to-confirm    { min-height: 120px; }
.placeholder--photo-needed        { min-height: 280px; }

.placeholder--photo-needed::after {
  content: "Photo to supply";
  display: block;
  color: var(--text-muted, #7a8298);
  font-weight: 400;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* === Signature: service-area-map (v4 — signed off 2026-05-14) =========
   2-column layout: map left, directory right with vertical numbered
   index per county. Map uses absolute-fill technique inside a
   grid-stretched frame (no aspect-ratio on the map element itself —
   aspect-ratio blocks grid stretch).                                     */

.signature--service-area {
  padding: var(--section-padding, clamp(4rem, 8vh, 7rem)) 0;
  background: linear-gradient(180deg, var(--surface, #fff) 0%, var(--surface-tint, #f8faff) 100%);
}
.service-area__head {
  max-width: 760px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
  text-align: center;
}
.service-area__layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: stretch;
}
.service-area__layout > * { min-width: 0; }
.service-area__map-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}
.service-area__map-frame {
  position: relative;
  flex: 1;
  min-height: 460px;
  border-radius: 14px;
  overflow: hidden;
  background: #eef1f5;
  outline: 1px solid rgba(0, 0, 0, 0.08);
  outline-offset: -1px;
  box-shadow:
    0 1px 2px rgba(24, 72, 144, 0.05),
    0 6px 16px rgba(24, 72, 144, 0.08),
    0 20px 48px rgba(24, 72, 144, 0.06),
    0 40px 80px rgba(24, 72, 144, 0.04);
}
.service-area__map { position: absolute; inset: 0; }
.service-area__map-caption {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted, #7a8298);
  letter-spacing: 0.04em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.service-area__directory {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 3.5vw, 3rem);
  padding-top: 0.25rem;
}
.county {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: start;
}
.county__index {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  color: var(--brand-accent, #2bbce9);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 0.15em;
  align-self: stretch;
  position: relative;
  padding-right: clamp(1.25rem, 2vw, 1.75rem);
}
.county__index::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg,
    var(--hairline, rgba(24, 72, 144, 0.16)) 0%,
    var(--hairline, rgba(24, 72, 144, 0.16)) 70%,
    transparent 100%);
}
.county__body { display: flex; flex-direction: column; gap: 1.25rem; }
.county__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline, rgba(24, 72, 144, 0.16));
}
.county__name {
  margin: 0;
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
  font-weight: 800;
  color: var(--brand-primary, #184890);
  letter-spacing: -0.022em;
  line-height: 1;
}
.county__count {
  font-size: 0.8125rem;
  color: var(--text-muted, #7a8298);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.county__towns {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
  row-gap: 0.4rem;
}
.county__towns li {
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  font-weight: 500;
  color: var(--text-body, #1f2937);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition-property: color;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.county__towns li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-accent, #2bbce9);
  flex-shrink: 0;
  transition-property: background-color, transform;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.county__towns li:hover { color: var(--brand-primary, #184890); }
.county__towns li:hover::before {
  background: var(--brand-primary, #184890);
  transform: scale(1.5);
}
.county__meta {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--text-muted, #7a8298);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .service-area__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-area__map-frame {
    min-height: 320px;
    aspect-ratio: 16 / 10;
    flex: none;
  }
}
@media (max-width: 520px) {
  .county__towns { grid-template-columns: 1fr; }
  .county { grid-template-columns: 1fr; gap: 1rem; }
  .county__index { padding-right: 0; padding-bottom: 0.5rem; }
  .county__index::after { display: none; }
}

/* Leaflet marker style — pair with L.divIcon({className:'service-area-marker'}) */
.service-area-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-primary, #184890);
  border: 2.5px solid #fff;
  box-shadow:
    0 1px 4px rgba(24, 72, 144, 0.45),
    0 0 0 1px rgba(24, 72, 144, 0.08);
}

/* ============================================================================
   Universal polish — fixes for recurring layout / spacing / accessibility
   gotchas. All selectors are generic / structural — no niche assumptions.
   ============================================================================ */

/* Rail speed — driver for ALL constant-marquee keyframes. Per-build override
   via inline style if the marquee feels too fast / slow. */
:root { --rail-speed: 60s; }

/* Featured-on / press / logo strips — normalise heights so logos with
   different aspect ratios sit on the same visual line. */
.featured-on-strip img,
.featured-in-rail img,
.press-rail img,
.accred-rail img,
.logo-strip img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

/* Hero CTA stack — extra breathing room on 375-414px so the availability
   line below the buttons doesn't crowd the second CTA. */
@media (max-width: 480px) {
  .hero__actions,
  .page-hero__actions,
  .hero-cta-row {
    gap: 0.875rem;
  }
  .hero__availability,
  .page-hero__availability {
    margin-top: 1.75rem;
  }
}

/* Project / portfolio card mobile — clamp meta text to 2 lines so cards
   stay roughly square on 375px instead of growing to 4-line walls. */
@media (max-width: 600px) {
  .project-card__meta,
  .project__meta,
  .work__meta,
  .featured-project__meta {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Mobile menu CTA — no hover-fill on coloured backdrops. Without this,
   the universal `.btn::after` sweep paints over branded backdrops. */
.mobile-menu .btn::after,
.nav__mobile .btn::after,
[data-mobile-menu] .btn::after {
  display: none !important;
}

/* ============================================================================
   Layout primitives — content frame variable, prose-* safety,
   sub-heading inheritance, footer tap-target floor.
   ============================================================================ */

/* Content frame — ONE max-width across sections. Stops the "this section
   looks shifted left" effect where adjacent sections used 720px / 1100px /
   1440px max-widths arbitrarily. Sections opt in by inheriting on .container.
   Inline overrides via style="--content-frame: 1200px" per-build if needed. */
:root { --content-frame: 1100px; }
.container,
.section > .inner,
.section-head,
section > .wrap {
  max-width: var(--content-frame);
  margin-left: auto;
  margin-right: auto;
}

/* Section sub-headings inherit their parent's text-align. Centred section-head
   produces centred sub-text. Without this, a centred H2 with a sub-paragraph
   would default to text-align:start and visually drift left. */
.section-head > p,
.section-head__sub,
.section-head__intro,
.section__sub,
.section-eyebrow + h2 + p {
  text-align: inherit;
}

/* prose-* classes MUST NEVER be applied to <html> or <body>. The cascade
   would shrink every element to 65ch and break layout. Universal kill
   switch resets width if applied wrongly — defence in depth with audit R48. */
html.prose-standard, body.prose-standard,
html[class*="prose-"], body[class*="prose-"] {
  max-width: none !important;
  display: block !important;
}

/* Footer inline anchors (tel: / mailto:) — keep tap-target floor on mobile.
   F1 retro: a previous build overrode `min-height: auto` on footer anchors
   to satisfy a different rule and broke verify's 44px tap-target check. */
@media (max-width: 768px) {
  footer a[href^="tel:"],
  footer a[href^="mailto:"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
  }
}

/* ============================================================================
   Beautiful text composition primitives — universal structural classes
   themed per build via CSS variables (--font-display, --brand-primary, etc.).
   The skill (frontend-design + copywriting + niche brief) decides which
   primitives to use per page. The brief's "avoid" clause may forbid some.
   ============================================================================ */

/* Eyebrow / kicker — small uppercase letterspaced label above H2 */
.eyebrow, .kicker, .section-eyebrow {
  display: inline-block;
  font-family: var(--font-body, inherit);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted, currentColor);
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

/* Drop cap — first letter of first paragraph in editorial register */
.dropcap::first-letter, p.dropcap::first-letter {
  font-family: var(--font-display, serif);
  font-size: 4.5em;
  line-height: 0.85;
  float: left;
  padding-right: 0.125em;
  padding-top: 0.05em;
  font-weight: 600;
  color: var(--brand-primary, currentColor);
}

/* Italic lead-in — single italic sentence before body paragraphs */
.lead-in {
  font-family: var(--font-display, serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-foreground, currentColor);
  opacity: 0.9;
  max-width: 50ch;
  margin-bottom: 1.5rem;
}

/* Pullquote — italic display, large opening quotation mark */
blockquote.pullquote {
  font-family: var(--font-display, serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  line-height: 1.35;
  margin: 2.5rem 0;
  padding-left: 2.5rem;
  border-left: 2px solid var(--brand-primary, currentColor);
  position: relative;
  max-width: 60ch;
}
blockquote.pullquote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.25em;
  font-size: 4rem;
  line-height: 1;
  color: var(--brand-primary, currentColor);
  opacity: 0.35;
  font-family: var(--font-display, serif);
}

/* Stat callout — number + label, used as pullquote replacement in clinical / local-search */
.stat-callout {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-border, rgba(0,0,0,0.1));
  border-radius: 0.5rem;
  background: var(--color-card, transparent);
  margin: 1.5rem 0;
}
.stat-callout .stat__num {
  font-family: var(--font-display, sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-primary, currentColor);
}
.stat-callout .stat__label {
  font-size: 0.85rem;
  color: var(--color-muted, currentColor);
  letter-spacing: 0.02em;
}

/* Project meta — small grid of label/value pairs (portfolio register) */
aside.project-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border, rgba(0,0,0,0.1));
  border-bottom: 1px solid var(--color-border, rgba(0,0,0,0.1));
  margin: 2rem 0;
  font-size: 0.85rem;
}
aside.project-meta dt, aside.project-meta .label {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted, currentColor);
}
aside.project-meta dd, aside.project-meta .value {
  font-weight: 400;
  color: var(--color-foreground, currentColor);
}

/* Small-caps — product/material names in editorial register */
.small-caps, small.small-caps {
  font-variant: small-caps;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Roman numerals — chapter markers (editorial register) */
.numeral {
  display: block;
  font-family: var(--font-display, serif);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--brand-primary, currentColor);
  margin-bottom: 1rem;
  opacity: 0.7;
}

/* Section breaks */
hr.rule--hair {
  border: 0;
  border-top: 1px solid var(--color-border, rgba(0,0,0,0.12));
  margin: 4rem auto;
  max-width: 4rem;
}
hr.rule--wide {
  border: 0;
  border-top: 1px solid var(--color-border, rgba(0,0,0,0.08));
  margin: 5rem 0;
}

/* === Niche-specific section styles (appended per build from section_templates) === */

/* ============================================================================
   BARMBYFIELD BARNS — niche-specific CSS append
   archetype: editorial-craft, niche: wedding-venue-rustic
   ============================================================================ */

:root {
  --color-bg:        #faf6f0;          /* cream surface */
  --color-card:      #ffffff;
  --color-foreground:#2a2520;          /* warm charcoal ink */
  --color-muted:     #6f6660;          /* warm muted */
  --color-border:    rgba(42, 37, 32, 0.10);
  --color-mist:      #efe6dd;          /* panel/wash */
  --color-rose-deep: #8a5050;          /* deeper rose */
  --color-gold:      #b88a5c;          /* rare accent */
  --content-frame: 1180px;
  --section-padding: clamp(4.5rem, 9vh, 7.5rem);
  --h1-clamp: clamp(2.6rem, 6vw, 5.25rem);
  --nav-h: 78px;
  --card-radius: 4px;     /* editorial, sharp */
  --button-radius: 2px;
}

body { background: var(--color-bg); }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.01em; }
h1 { font-style: italic; }
.kicker, .eyebrow, .section-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 1.1rem;
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border-radius: var(--button-radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 200ms, color 200ms, border-color 200ms, transform 200ms;
}
.btn--primary { background: var(--brand-primary); color: #fff; }
.btn--primary:hover { background: var(--color-rose-deep); }
.btn--ghost { background: transparent; color: var(--color-foreground); border-color: var(--color-foreground); }
.btn--ghost:hover { background: var(--color-foreground); color: #fff; }
.btn--quiet { background: transparent; color: var(--brand-primary); border-color: var(--brand-primary); }
.btn--quiet:hover { background: var(--brand-primary); color: #fff; }

/* Inline link underline — editorial */
a.link-rule {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* === Navigation === */
.nav {
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav.is-scrolled { background: rgba(250, 246, 240, 0.96); }
.nav__brand img { height: 44px; width: auto; object-fit: contain; }
.nav__brand { gap: 0.7rem; }
.nav__brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.nav__brand-name { font-family: 'Cinzel', serif; font-weight: 600; font-size: 1.02rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-foreground); }
.nav__brand-sub { font-family: 'Cinzel', serif; font-weight: 500; font-size: 0.66rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-foreground); margin-top: 3px; }
.nav__links {
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-foreground);
  white-space: nowrap;
  transition: color 200ms;
}
.nav__links a:hover { color: var(--brand-primary); }
.nav__links a.is-active { color: var(--brand-primary); }
.nav__cta { white-space: nowrap; }

/* === Hero === */
.hero {
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  background: #1a1614;
}
.hero__bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(26,22,20,0.42) 0%,
    rgba(26,22,20,0.22) 40%,
    rgba(26,22,20,0.58) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: clamp(3rem, 8vh, 5rem);
  min-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero__kicker {
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero h1 {
  font-style: italic;
  font-weight: 500;
  font-size: var(--h1-clamp);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 auto 1.5rem;
  max-width: 22ch;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 56ch;
  margin: 0 auto 2.5rem;
  font-family: var(--font-body);
}
.hero__actions { justify-content: center; }
.hero__actions .btn--primary { background: #fff; color: var(--color-foreground); }
.hero__actions .btn--primary:hover { background: var(--brand-primary); color: #fff; }
.hero__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.8); }
.hero__actions .btn--ghost:hover { background: #fff; color: var(--color-foreground); }
.hero__meta-row {
  margin-top: clamp(3rem, 7vh, 5rem);
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__meta-row > span { white-space: nowrap; }
.hero__meta-row strong { color: #fff; font-weight: 600; }

/* === Hero trust rail (locked-niche signals) === */
.hero-trust-rail {
  background: var(--color-foreground);
  color: rgba(255,255,255,0.74);
  border-block: 0;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  padding-block: 1.1rem;
}
.hero-trust-rail .rail-track { gap: 4rem; }
.hero-trust-rail .rail-track > * { opacity: 1; }
.hero-trust-rail .rail-track .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: inline-block;
  vertical-align: middle;
}

/* === Section heads (editorial) === */
.section-head {
  max-width: 760px;
  text-align: center;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head--left { text-align: left; margin-inline: 0; }
.section-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0 0 1.25rem;
}
.section-head h2 em {
  color: var(--brand-primary);
}
.section-head__intro,
.section-head__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 56ch;
  margin: 0 auto;
}
.section-head--left .section-head__intro { margin-inline: 0; }

/* === Welcome / intro section === */
.welcome { background: var(--color-bg); }
.welcome__grid {
  display: grid; gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .welcome__grid { grid-template-columns: 0.85fr 1fr; align-items: center; }
}
.welcome__media {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4 / 5;
  min-height: 320px;
}
.welcome__media img { width: 100%; height: 100%; object-fit: cover; }
.welcome__copy .lead-in {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.4;
  color: var(--color-foreground);
  max-width: 28ch;
  margin: 0 0 2rem;
}
.welcome__copy p { color: var(--color-muted); font-size: 1.02rem; line-height: 1.65; max-width: 52ch; }

/* === Spaces tour grid === */
.spaces { background: var(--color-bg); }
.spaces__grid {
  display: grid;
  gap: clamp(1.5rem, 2vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .spaces__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .spaces__grid { grid-template-columns: repeat(3, 1fr); } }

.space-card {
  background: transparent;
  border: 0;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.space-card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
}
.space-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.2,0,0,1); }
.space-card:hover .space-card__media img { transform: scale(1.04); }
.space-card__cap {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 500;
}
.space-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  font-style: italic;
  margin: 0;
  line-height: 1.15;
}
.space-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0;
}

/* Home barns: balanced 2-up grid + short photo caption directly under each image */
.spaces__grid--2col { max-width: 920px; margin-left: auto; margin-right: auto; }
@media (min-width: 1080px) { .spaces__grid--2col { grid-template-columns: repeat(2, 1fr); } }
.space-card__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.space-card__caption {
  margin: 0;
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--color-muted);
}

/* === Capacity matrix === */
.capacity {
  background: var(--color-mist);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.capacity__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  max-width: 820px;
  margin: 0 auto;
}
.capacity__table th, .capacity__table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid rgba(42, 37, 32, 0.14);
  text-align: left;
}
.capacity__table th {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-foreground);
  font-weight: 600;
}
.capacity__table td.is-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  width: 28%;
}
.capacity__table td .muted { color: var(--color-muted); font-size: 0.85rem; display: block; margin-top: 0.15rem; }

/* === Real weddings strip (full-bleed mosaic) === */
.real-weddings {
  background: var(--color-foreground);
  color: rgba(255,255,255,0.94);
  overflow: hidden;
}
.real-weddings .section-head h2 { color: #fff; }
.real-weddings .section-head h2 em { color: var(--brand-primary); }
.real-weddings .section-head__intro { color: rgba(255,255,255,0.7); }

.weddings-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .weddings-mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(160px, auto);
  }
  .weddings-mosaic figure:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .weddings-mosaic figure:nth-child(2) { grid-column: span 2; }
  .weddings-mosaic figure:nth-child(3) { grid-column: span 2; }
  .weddings-mosaic figure:nth-child(4) { grid-column: span 3; }
  .weddings-mosaic figure:nth-child(5) { grid-column: span 3; }
}
.weddings-mosaic figure {
  margin: 0; position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4/3;
}
@media (min-width: 720px) {
  .weddings-mosaic figure { aspect-ratio: auto; }
  .weddings-mosaic figure:nth-child(1) { aspect-ratio: auto; }
}
.weddings-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(0.2,0,0,1); }
.weddings-mosaic figure:hover img { transform: scale(1.05); }
.weddings-mosaic figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
}

/* === Farmhouse teaser === */
.farmhouse {
  background: var(--color-bg);
}
.farmhouse__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .farmhouse__grid { grid-template-columns: 1fr 0.85fr; }
  .farmhouse__media { min-height: 320px; }
}
.farmhouse__media {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4/3; min-width: 0;
}
.farmhouse__media img { width: 100%; height: 100%; object-fit: cover; }
.farmhouse__copy .kicker { color: var(--brand-primary); }
.farmhouse__copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-style: italic;
  line-height: 1.1;
  margin: 0 0 1.25rem;
}
.farmhouse__list {
  list-style: none; padding: 0; margin: 1.5rem 0 2.25rem;
  display: grid; gap: 0.7rem;
}
.farmhouse__list li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-foreground);
}
.farmhouse__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 1px;
  background: var(--brand-primary);
}

/* === Pricing tier cards === */
.pricing { background: var(--color-bg); }
.pricing__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .pricing__grid { grid-template-columns: repeat(2, 1fr); } }
.pricing-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  display: flex; flex-direction: column;
  border-radius: 4px;
}
.pricing-card__kicker {
  font-family: var(--font-body);
  font-size: 0.7rem; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-style: italic;
  margin: 0 0 0.5rem;
}
.pricing-card__schedule {
  font-size: 0.92rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}
.pricing-card__price-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding-block: 1.25rem;
  border-block: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
}
.pricing-card__price-row .label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-bottom: 0.4rem;
}
.pricing-card__price-row .price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  color: var(--color-foreground);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.pricing-card__list {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  display: grid; gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--color-foreground);
}
.pricing-card__list li {
  padding-left: 1.25rem;
  position: relative;
}
.pricing-card__list li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--brand-primary);
}
.pricing-card .btn { margin-top: auto; align-self: flex-start; }
.pricing__footnote {
  text-align: center;
  font-size: 0.84rem;
  color: var(--color-muted);
  margin-top: 2rem;
  font-style: italic;
  max-width: 60ch;
  margin-inline: auto;
}

/* === Wedding fair / statement === */
.statement {
  background: var(--color-mist);
  text-align: center;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.statement__date {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: block;
}
.statement h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.15;
  max-width: 22ch;
  margin: 0 auto 1.5rem;
}
.statement p {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 50ch;
  margin: 0 auto 2rem;
}

/* === Final CTA strip === */
.final-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: clamp(5rem, 9vw, 7.5rem) 0;
}
.final-cta__bg { position: absolute; inset: 0; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,20,0.55) 0%, rgba(26,22,20,0.75) 100%);
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  max-width: 22ch;
  margin: 0 auto 1.25rem;
  color: #fff;
}
.final-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin: 0 auto 2.5rem;
  max-width: 48ch;
}
.final-cta .btn--primary { background: #fff; color: var(--color-foreground); }
.final-cta .btn--primary:hover { background: var(--brand-primary); color: #fff; }
.final-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.85); }
.final-cta .btn--ghost:hover { background: #fff; color: var(--color-foreground); }
.final-cta__meta {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* === Footer === */
.footer {
  background: var(--color-foreground);
  color: rgba(255,255,255,0.78);
  padding: clamp(4rem, 7vw, 5.5rem) 0 2rem;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer__brand img { height: 68px; width: auto; margin-bottom: 1.25rem; }
.footer__brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; max-width: 28ch; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 600;
  margin: 0 0 1.25rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer a { text-decoration: none; color: rgba(255,255,255,0.78); transition: color 200ms; }
.footer a:hover { color: var(--brand-primary); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* === Page hero (sub-pages) === */
.page-hero {
  min-height: 70dvh;
  position: relative;
  overflow: hidden;
  background: #1a1614;
}
.page-hero__bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.page-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,20,0.45) 0%, rgba(26,22,20,0.65) 100%);
}
.page-hero__inner {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  text-align: center; color: #fff;
  min-height: 70dvh;
  display: flex; flex-direction: column; justify-content: center;
}
.page-hero__kicker {
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.page-hero h1 {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  color: #fff;
  margin: 0 auto 1.25rem;
  max-width: 22ch;
}
.page-hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  max-width: 54ch;
  margin: 0 auto;
}

/* === Suppliers directory === */
.suppliers-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .suppliers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .suppliers-grid { grid-template-columns: repeat(3, 1fr); } }
.supplier-group {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}
.supplier-group h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 600;
  margin: 0 0 1.25rem;
}
.supplier-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.supplier-group li { font-family: var(--font-body); font-size: 0.95rem; line-height: 1.5; }
.supplier-group li strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  color: var(--color-foreground);
  margin-bottom: 0.15rem;
}
.supplier-group li a {
  color: var(--brand-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  display: inline-block;
  margin-top: 0.2rem;
}
.supplier-group li a:hover { text-decoration: underline; }
.supplier-group li .phone {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* === Contact form === */
.contact-form {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--color-border);
  display: grid; gap: 1.25rem;
  border-radius: 4px;
}
.contact-form__row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .contact-form__row--2 { grid-template-columns: 1fr 1fr; } }
/* Keep the field underlines aligned across a row even when one label wraps to
   two lines (e.g. "Where did you hear about us?"): stretch fields to equal
   height and pin the input to the bottom of each. */
.contact-form__row > div { display: flex; flex-direction: column; }
.contact-form__row > div > input,
.contact-form__row > div > select,
.contact-form__row > div > textarea { margin-top: auto; }
.contact-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 0.65rem 0;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-foreground);
  border-radius: 0;
  transition: border-color 200ms;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--brand-primary);
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form button { justify-self: start; margin-top: 0.5rem; }
.contact-form__honeypot { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

.contact-grid {
  display: grid; gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.contact-info dl {
  display: grid; gap: 1.5rem;
  margin: 0;
}
.contact-info dt {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact-info dd {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0;
  color: var(--color-foreground);
}
.contact-info dd a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 200ms; }
.contact-info dd a:hover { border-color: var(--brand-primary); }

/* === Availability calendar === */
.availability-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  max-width: 880px;
  margin: 0 auto;
}
.availability-table th {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 1rem 0.75rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.availability-table td {
  padding: 1.15rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.98rem;
  color: var(--color-foreground);
}
.availability-table .pill {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
}
.availability-table .pill--free { background: rgba(168, 120, 120, 0.14); color: var(--brand-primary); }
.availability-table .pill--booked { background: rgba(42, 37, 32, 0.08); color: var(--color-muted); }
.availability-table .pill--last { background: rgba(184, 138, 92, 0.18); color: #8a6235; }

/* === Gallery grid === */
.gallery-grid--editorial {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .gallery-grid--editorial { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid--editorial { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid--editorial figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  aspect-ratio: 4/3;
}
.gallery-grid--editorial figure.is-tall { aspect-ratio: 3/4; }
@media (min-width: 1024px) {
  .gallery-grid--editorial figure.is-tall { grid-row: span 2; aspect-ratio: 3/4.5; }
}
.gallery-grid--editorial img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(0.2,0,0,1); }
.gallery-grid--editorial figure:hover img { transform: scale(1.04); }

/* === 3D video page === */
.video-frame {
  max-width: 1120px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-mist);
  position: relative;
  border: 1px solid var(--color-border);
}
.video-frame__cta {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.5) 100%);
  color: #fff; text-decoration: none;
  gap: 1rem;
}
.video-frame__bg { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.video-frame__play {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  transition: transform 250ms;
}
.video-frame__cta:hover .video-frame__play { transform: scale(1.06); }
.video-frame__play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.video-frame__label {
  position: relative; z-index: 2;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* === Reveal animations (kicked off by animations.js) === */
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-fade { opacity: 0; }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); }

/* === Cookie banner branding === */
.cookie-banner { background: var(--color-foreground); color: rgba(255,255,255,0.92); border-color: transparent; }
.cookie-banner .btn--primary { background: var(--brand-primary); }
.cookie-banner .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }

/* === Anchor offset for sticky nav === */
[id]:target { scroll-margin-top: calc(var(--nav-h) + 2rem); }

/* === Mobile-specific overrides === */
@media (max-width: 720px) {
  .hero h1 { letter-spacing: -0.005em; }
  .hero__meta-row { gap: 1rem; font-size: 0.68rem; letter-spacing: 0.14em; }
  .nav__brand img { height: 36px; }
  .pricing-card__price-row { grid-template-columns: 1fr; }
  .capacity__table td.is-number { font-size: 1.2rem; }
}

/* === FIX: mobile-menu must stay hidden on mobile until .is-open ============
   Baseline CSS has `[aria-label]:not(.btn):not(.cookie-banner) { display: inline-flex }`
   at max-width 767px. The mobile-menu div has aria-label so it gets matched.
   Override with higher specificity inside the same media query.
   ========================================================================== */
@media (max-width: 767px) {
  .mobile-menu:not(.is-open) { display: none !important; }
}

/* ============================================================================
   ROUND 2 FIXES — 2026-05-19
   ============================================================================ */

/* Matterport 3D tour iframe behind hero (home only) */
.hero__tour {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  pointer-events: none;          /* hero CTAs stay clickable above */
  filter: brightness(0.78);      /* darken the tour so text reads cleanly */
  z-index: 0;
}
.hero--with-tour .hero__bg-img {
  /* photo becomes a fallback behind the iframe; once iframe loads, it covers */
  z-index: -1;
}
.hero--with-tour .hero__scrim {
  z-index: 1;
}
.hero--with-tour .hero__inner {
  z-index: 2;
}
@media (max-width: 720px) {
  /* On mobile, iframe loading is heavy and looks busy — fall back to photo */
  .hero__tour { display: none; }
}

/* === Real Weddings mosaic — explicit row heights so figures fill the grid === */
@media (min-width: 720px) {
  .weddings-mosaic {
    grid-template-rows: 320px 320px;   /* explicit, predictable */
  }
  .weddings-mosaic figure {
    aspect-ratio: auto;
    height: 100%;                       /* fill grid cell */
    width: 100%;
  }
  .weddings-mosaic figure:nth-child(1) {
    grid-row: span 2;                   /* hero figure is 2 rows tall = 640+gap */
  }
}
.weddings-mosaic figcaption {
  /* belt-and-braces — sit on the photo bottom-left, never below */
  position: absolute;
  left: 1rem; bottom: 1rem; right: 1rem;
  z-index: 2;
}

/* === Gallery sub-section heads — centred for consistency with site === */
.gallery-page .section-head { text-align: center; margin-inline: auto; max-width: 760px; }
.gallery-page .section-head__intro { margin-inline: auto; }

/* === 3D Tour page: live Matterport iframe === */
.video-frame__iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* === Hero with client Vimeo cinemagraph (home only) === */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100dvh;
  border: 0;
  pointer-events: none;
  z-index: 0;
  /* Vimeo player has its own letterboxing; scale up + crop to cover. */
  min-width: 100%;
  min-height: 100%;
  transform: scale(1.6);
  transform-origin: center;
  filter: brightness(0.78);
}
.hero--with-video .hero__bg-img { z-index: -1; }
.hero--with-video .hero__scrim { z-index: 1; }
.hero--with-video .hero__inner { z-index: 2; }

@media (max-width: 720px) {
  .hero__video { display: none; }
}

/* === Hero with video: poster-first then crossfade to Vimeo (overrides round-2 rules) === */
.hero--with-video .hero__bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;                      /* photo SITS ON TOP at first */
  opacity: 1;
  transition: opacity 700ms cubic-bezier(0.2, 0, 0, 1);
}
.hero--with-video.is-video-ready .hero__bg-img {
  opacity: 0;                      /* fade away once video signals play */
}
.hero--with-video .hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100dvh;
  border: 0;
  pointer-events: none;
  z-index: 0;                      /* sits below photo */
  min-width: 100%;
  min-height: 100%;
  transform: scale(1.6);
  transform-origin: center;
  filter: brightness(0.78);
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.2, 0, 0, 1);
}
.hero--with-video.is-video-ready .hero__video {
  opacity: 1;
}
.hero--with-video .hero__scrim { z-index: 2; }
.hero--with-video .hero__inner { z-index: 3; }

@media (max-width: 720px) {
  .hero--with-video .hero__video { display: none; }
  .hero--with-video .hero__bg-img { opacity: 1 !important; }
}
