/* ==========================================================================
   Memorii Events — main stylesheet
   --------------------------------------------------------------------------
   Brand colours live in :root below. Change a value there and it updates
   everywhere on the site.

   Contents
     1. Tokens
     2. Base and page background
     3. Buttons and links
     4. Header and navigation
     5. Home: hero carousel (coverflow)
     6. Home: reviews
     7. Home: events we serve, booking popup, FAQ
     8. Footer
     9. Inner pages, forms, services, legal pages
    10. Reduced motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand colours */
  --bg: #191a1a;            /* page background, near-black */
  --slate: #314256;         /* dark grey blue, edge glow */
  --magenta: #9d0a5b;       /* accent, buttons, edge glow */
  --magenta-deep: #5b002e;  /* button hover */
  --white: #ffffff;         /* main text */
  --grey: #cfcfcf;          /* secondary text */
  --gold: #f2b93b;          /* review stars */

  /* Derived surfaces (white at low opacity over the background) */
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* Type scale (Montserrat) */
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-lead: 1.125rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  --fs-h1: clamp(2.25rem, 1.4rem + 3.6vw, 3.5rem);

  /* Layout */
  --header-h: 64px;
  --container: 1240px;
  --gutter: 16px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

@media (min-width: 900px) {
  :root { --header-h: 76px; --gutter: 32px; }
}

/* 2. Base and page background --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--white);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Soft brand glows pinned to the screen edges, based on the business card.
   A fixed layer, so the glow stays at the edges while the page scrolls. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 4% 2%, rgba(207, 207, 207, 0.09), transparent 70%),
    radial-gradient(55% 45% at 0% 0%, rgba(49, 66, 86, 0.55), transparent 72%),
    radial-gradient(42% 55% at 100% 38%, rgba(157, 10, 91, 0.34), transparent 72%),
    radial-gradient(48% 42% at 0% 96%, rgba(157, 10, 91, 0.26), transparent 72%),
    radial-gradient(55% 40% at 58% 106%, rgba(49, 66, 86, 0.5), transparent 72%);
}

img, video, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--magenta); color: var(--white); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* One consistent, high-visibility focus ring */
:focus-visible {
  outline: 3px solid var(--grey);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 3. Buttons and links ----------------------------------------------------- */
a { color: var(--white); text-underline-offset: 3px; }
a:hover { color: var(--grey); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  color: var(--white); background: var(--magenta);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--magenta-deep); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { border-radius: 999px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn-lg { min-height: 56px; padding: 14px 40px; font-size: 1.0625rem; }

.btn-ghost { background: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-strong); border-color: var(--grey); }

/* 4. Header and navigation ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(25, 26, 26, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white);
}
.brand:hover { color: var(--white); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 1.125rem; line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
.brand-name strong { font-weight: 700; }
.brand-name span { font-weight: 300; color: var(--grey); }

/* Mobile menu button (three lines that turn into an X) */
.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; border-radius: 10px; cursor: pointer; color: var(--white);
}
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle .line { transition: transform 0.25s var(--ease), opacity 0.2s ease; transform-origin: 12px 12px; }
.menu-toggle[aria-expanded="true"] .line-top { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .line-mid { opacity: 0; }
.menu-toggle[aria-expanded="true"] .line-bot { transform: translateY(-5px) rotate(-45deg); }

/* Navigation: mobile panel first, desktop row from 900px */
.site-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none; flex-direction: column;
  padding: 8px var(--gutter) 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
}
.site-nav.is-open { display: flex; }

.nav-link {
  display: block; padding: 14px 4px;
  font-size: 1.0625rem; font-weight: 500; color: var(--grey); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--white); }
.nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--magenta); padding-left: 14px; }


@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.1875rem; }

  .site-nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 4px;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav-link {
    position: relative; padding: 10px 14px; border: 0;
    font-size: 0.9375rem;
  }
  /* Active page: short magenta bar under the link */
  .nav-link[aria-current="page"] { box-shadow: none; padding-left: 14px; }
  .nav-link[aria-current="page"]::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; border-radius: 2px; background: var(--magenta);
  }
}

/* 5. Home: hero carousel (coverflow) -------------------------------------- */
/* overflow-x: clip keeps the off-screen slides from widening the page,
   without cutting off the centre card's shadow top and bottom */
.hero { padding-top: 16px; overflow-x: clip; }

.cf {
  position: relative;
  /* The stage fills most of the first screen. The reviews heading is left
     to peek in at the bottom edge (see the 166px budget: button + spacing). */
  height: 72vh;
  height: clamp(300px, calc(100svh - var(--header-h) - 166px), 800px);
  outline: none;
}
.cf:focus-visible { outline: 3px solid var(--grey); outline-offset: 6px; border-radius: var(--radius-lg); }

/* Magenta glow behind the centre card, for the raised look */
.cf::before {
  content: ""; position: absolute; inset: 8% 22%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(157, 10, 91, 0.35), transparent);
  filter: blur(40px);
}

.cf-track {
  position: absolute; inset: 0;
  touch-action: pan-y;          /* vertical scroll stays native, horizontal = swipe */
  user-select: none; -webkit-user-select: none;
}

/* Every slide is absolutely placed. JavaScript sets its size and position. */
.cf-item {
  position: absolute; left: 0; top: 0;
  width: 0; height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #101111;
  opacity: 0;
  z-index: 1;
  transition:
    transform 0.7s var(--ease), width 0.7s var(--ease), height 0.7s var(--ease),
    opacity 0.6s ease, filter 0.6s ease;
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}
.cf-track.no-anim .cf-item { transition: none; }  /* first placement, no slide-in */
.cf-media {
  width: 100%; height: 100%;
  object-fit: cover;            /* centre frame always matches the item's shape, so nothing is cropped */
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Centre: sharp, raised, on top */
.cf-item.is-center {
  opacity: 1; z-index: 3;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 70px -10px rgba(0, 0, 0, 0.7),
    0 12px 24px rgba(0, 0, 0, 0.35);
}

/* Neighbours: behind, blurred, faded toward the outer edge */
.cf-item.is-prev, .cf-item.is-next {
  opacity: 0.6; z-index: 2; cursor: pointer;
  filter: blur(7px) brightness(0.65) saturate(1.1);
}
.cf-item.is-prev {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 65%);
  mask-image: linear-gradient(to right, transparent 0%, #000 65%);
}
.cf-item.is-next {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 65%);
  mask-image: linear-gradient(to left, transparent 0%, #000 65%);
}
.cf-item.is-hidden { opacity: 0; z-index: 0; filter: blur(10px); pointer-events: none; }

/* Phones: the two neighbours fill the stage behind the centre card,
   fading out at the top and bottom instead of the sides */
.cf.is-narrow .cf-item.is-prev, .cf.is-narrow .cf-item.is-next {
  opacity: 0.55; border-radius: 0;
  filter: blur(14px) brightness(0.6) saturate(1.15);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.cf.is-narrow .cf-item.is-prev {
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to right, #000 40%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to right, #000 40%, transparent 100%);
}
.cf.is-narrow .cf-item.is-next {
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to left, #000 40%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to left, #000 40%, transparent 100%);
}

/* Arrows sit over the blurred side areas */
.cf-btn {
  position: absolute; top: 50%; z-index: 5;
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-top: -24px;
  border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(25, 26, 26, 0.6); color: var(--white);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cf-btn:hover { background: var(--magenta); border-color: var(--magenta); }
.cf-btn svg { width: 22px; height: 22px; }
.cf-prev { left: 4px; }
.cf-next { right: 4px; }
.cf-btn:focus-visible { border-radius: 50%; }

/* Counter and pause button, bottom right of the stage */
.cf-bar {
  position: absolute; right: 8px; bottom: 8px; z-index: 5;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 4px 4px 14px; border-radius: 999px;
  background: rgba(25, 26, 26, 0.7); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--grey);
}
.cf-pause {
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: transparent; color: var(--white); cursor: pointer;
}
.cf-pause:hover { background: var(--surface-strong); }
.cf-pause svg { width: 16px; height: 16px; }
.cf-pause .icon-play { display: none; }
.cf.is-paused .cf-pause .icon-play { display: block; }
.cf.is-paused .cf-pause .icon-pause { display: none; }

.cf-error {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 24px;
  text-align: center; color: var(--grey);
}

.hero-cta { display: flex; justify-content: center; padding-top: 24px; }

@media (min-width: 700px) {
  .cf-prev { left: 12px; }
  .cf-next { right: 12px; }
  .cf-bar { right: 16px; bottom: 14px; }
}

/* 6. Home: reviews --------------------------------------------------------- */
.reviews { padding: 0 0 104px; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 28px;
}
.section-title { font-size: var(--fs-h2); }

.review-arrows { display: flex; gap: 8px; flex-shrink: 0; margin-left: auto; }

/* "5.0 stars on Google" line under the reviews heading */
.rating-line {
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
  color: var(--grey); font-size: 0.9375rem; font-weight: 500;
}
.rating-stars { display: flex; gap: 2px; color: var(--gold); }
.rating-stars svg { width: 18px; height: 18px; }
.round-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: var(--white); cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.round-btn:hover { background: var(--magenta); border-color: var(--magenta); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn:focus-visible { border-radius: 50%; }

.reviews-track {
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 16px;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { border-radius: var(--radius-lg); }

.review-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.review-top { display: flex; align-items: center; justify-content: space-between; }
.review-quote { width: 34px; height: 34px; color: var(--magenta); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }
.stars .is-empty { color: rgba(255, 255, 255, 0.22); }
.review-text { flex: 1; color: var(--grey); font-size: 0.9875rem; line-height: 1.7; }
.review-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.review-name { font-weight: 600; }
.review-date { color: var(--grey); font-size: var(--fs-small); }
.review-source { flex-basis: 100%; font-size: 0.8125rem; color: var(--grey); }
.review-source:hover { color: var(--white); }
.reviews-status { color: var(--grey); padding: 24px 0; }

@media (min-width: 700px) {
  .review-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (min-width: 1024px) {
  .review-card { flex-basis: calc((100% - 40px) / 3); }
}

/* 7. Home: events we serve, booking popup, FAQ ---------------------------- */
/* The events heading peeks in at the bottom of the first screen */
.events { padding: 24px 0 104px; }
.events .section-title { margin-bottom: 28px; }

.event-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px;
}
@media (min-width: 640px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .event-grid { grid-template-columns: repeat(4, 1fr); } }

.event-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}
.event-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.event-card:focus-within { border-color: var(--grey); }

/* Event photos: the 3:2 frame matches the photos, so nothing is stretched or cut off.
   The colour shows while the photo loads. */
.event-block {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover; object-position: center 30%;
}
.event-block--slate { background: var(--slate); }
.event-block--magenta { background: var(--magenta); }
.event-block--deep { background: var(--magenta-deep); }
.event-block--mix { background: #3c2a44; }

.event-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.event-body h3 { font-size: var(--fs-h3); }
.event-body p { color: var(--grey); font-size: 0.9375rem; flex: 1; }

/* The button covers the whole card, so a click anywhere opens the popup */
.event-open {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 0.9375rem; color: var(--white);
}
.event-open svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.event-open::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.event-card:hover .event-open svg { transform: translateX(3px); }
.event-open:focus-visible { outline: none; }
.event-open:focus-visible::after { outline: 3px solid var(--grey); outline-offset: -3px; }

/* Booking popup (native <dialog>) */
.booking-dialog {
  width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px);
  margin: auto; padding: 0; border: 0; border-radius: var(--radius-lg);
  background: transparent; color: var(--white);
  overflow: visible;
}
.booking-dialog::backdrop { background: rgba(8, 8, 9, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog-panel {
  position: relative;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto;
  padding: clamp(24px, 5vw, 36px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(157, 10, 91, 0.22), transparent 70%),
    #1f2121;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.dialog-panel h2 { font-size: clamp(1.375rem, 1rem + 1.6vw, 1.75rem); padding-right: 44px; }
.dialog-close {
  position: absolute; top: 14px; right: 14px;
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent; color: var(--white); cursor: pointer;
}
.dialog-close:hover { background: var(--surface-strong); }
.dialog-close svg { width: 18px; height: 18px; }
.dialog-close:focus-visible { border-radius: 50%; }
.booking-dialog .quote-line { margin: 8px 0 24px; }
.booking-dialog .enquiry-form { gap: 16px; }
.booking-dialog .form-row { gap: 16px; }
body.dialog-open { overflow: hidden; }

/* "Get a quote in 24 hours" line used in the popup and on the form pages */
.quote-line {
  display: inline-flex; align-items: flex-start; gap: 10px;
  margin-top: 14px; color: var(--white); font-weight: 500; font-size: 0.9375rem;
}
.quote-line::before {
  content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin-top: 0.55em; border-radius: 50%;
  background: var(--magenta); box-shadow: 0 0 0 4px rgba(157, 10, 91, 0.25);
}

.form-status { color: var(--grey); font-size: 0.875rem; min-height: 1.4em; text-align: center; }
.btn-block { width: 100%; }
.nowrap { white-space: nowrap; }

/* FAQ */
.faq { padding: 0 0 112px; }   /* html scroll-padding-top already clears the banner */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--grey); }
.faq-icon { position: relative; flex: 0 0 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px;
  background: currentColor; transition: transform 0.25s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { padding: 0 4px 22px; color: var(--grey); max-width: 40rem; }

/* 8. Footer ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(25, 26, 26, 0.55); }

/* Brand line, styled like the business card:
   "Events fade." fades out left to right, "Memoriis don't." stays bold. */
.slogan {
  padding: 64px 0 48px;
  font-size: clamp(2rem, 1.2rem + 4.4vw, 4.25rem);
  line-height: 1.08; letter-spacing: -0.03em;
}
.slogan-fade {
  display: block; width: fit-content;   /* gradient spans just the words */
  font-weight: 300;
  background: linear-gradient(90deg, var(--grey) 10%, rgba(207, 207, 207, 0.1) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.slogan-bold { display: block; font-weight: 700; color: var(--white); }

.footer-grid {
  display: grid; gap: 32px;
  padding: 32px 0 40px; border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-h { font-size: var(--fs-small); font-weight: 600; color: var(--white); margin-bottom: 10px; letter-spacing: 0; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--grey); font-size: 0.9375rem; }
.footer-list a { color: var(--grey); text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-list .label { color: rgba(207, 207, 207, 0.65); margin-right: 6px; }
.footer-legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 20px 0 32px; border-top: 1px solid var(--line);
  color: rgba(207, 207, 207, 0.75); font-size: 0.8125rem;
}
.footer-legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal-links a { color: rgba(207, 207, 207, 0.85); }
.footer-legal-links a:hover { color: var(--white); }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* 9. Inner pages and forms ------------------------------------------------- */
.page { padding: 56px 0 112px; }
.page-head { max-width: 40rem; margin-bottom: 40px; }
.page-head h1 { font-size: var(--fs-h1); margin-bottom: 16px; }
.lead { color: var(--grey); font-size: var(--fs-lead); }

.form-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) {
  .form-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
}

.form-card {
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.enquiry-form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-row.form-row--single { grid-template-columns: 1fr; }
}

.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field .req { color: var(--grey); font-weight: 400; }
.field .hint { color: var(--grey); font-size: 0.8125rem; }

.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  transition: border-color 0.2s ease, background-color 0.2s ease;
  color-scheme: dark;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfcfcf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select option { background: var(--bg); color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: rgba(207, 207, 207, 0.5); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--grey); background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(207, 207, 207, 0.25);
  border-radius: var(--radius-md);
}
/* Only flag a field after the person has interacted with it */
.field input:user-invalid, .field select:user-invalid { border-color: #e0679f; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.form-note { color: var(--grey); font-size: 0.8125rem; max-width: 26rem; }

.aside-card {
  padding: 26px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: rgba(49, 66, 86, 0.18);
}
.aside-card h2 { font-size: var(--fs-h3); margin-bottom: 10px; }
.aside-card p { color: var(--grey); font-size: 0.9375rem; }
.aside-card p + p { margin-top: 12px; }

.prose { max-width: 44rem; }
.prose h2 { font-size: var(--fs-h3); margin: 40px 0 12px; }
.prose h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin: 22px 0 6px; }
.prose p { color: var(--grey); }
.prose p + p { margin-top: 12px; }
.prose strong { color: var(--white); }
.prose .legal-close { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Services: collections and add-ons */
.plan-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 1000px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }

.plan-card {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  padding: 30px 26px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.plan-card--featured {
  border-color: var(--magenta);
  background:
    radial-gradient(90% 50% at 50% 0%, rgba(157, 10, 91, 0.18), transparent 70%),
    var(--surface);
  box-shadow: 0 0 0 1px var(--magenta), 0 24px 60px -20px rgba(157, 10, 91, 0.45);
}
.plan-badge {
  align-self: flex-start;
  padding: 5px 12px; border-radius: 999px;
  background: var(--magenta); color: var(--white);
  font-size: 0.8125rem; font-weight: 600;
}
.plan-card:not(.plan-card--featured) .plan-badge { background: var(--slate); }
/* Collection photos: full width across the top of each card, same shape on every card.
   Portrait photos are cropped (never stretched); the modifiers pick what stays in frame. */
.plan-photo {
  display: block;
  width: calc(100% + 52px); max-width: none; height: auto;
  margin: -30px -26px 0;            /* cancels the card padding so the photo reaches the edges */
  aspect-ratio: 16 / 10;             /* stacked cards (phone, tablet): wider so the photo isn't too tall */
  object-fit: cover; object-position: center 40%;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  background: var(--surface-strong);
}
@media (min-width: 1000px) { .plan-photo { aspect-ratio: 4 / 3; } }  /* three columns side by side */
.plan-photo--booth { object-position: center 58%; }
.plan-photo--setup { object-position: center 70%; }
/* Keeps card headings level when a card has no badge (desktop only) */
.plan-badge--spacer { display: none; }
@media (min-width: 1000px) { .plan-badge--spacer { display: block; visibility: hidden; } }
.plan-card h2 { font-size: 1.5rem; }
.plan-price { display: flex; align-items: baseline; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan-amount { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan-hours { color: var(--grey); font-weight: 500; }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--grey); font-size: 0.9375rem; line-height: 1.5; }
.plan-list svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--grey); }
.plan-list .is-extra { color: var(--white); }
.plan-list .is-extra svg { color: var(--magenta); }
.plan-list strong { font-weight: 700; }
.plan-card .btn { margin-top: 6px; }

.addons { margin-top: 72px; }
.addons .section-title { margin-bottom: 20px; }
.addon-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 52rem; }
.addon {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
}
.addon h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }
.addon p { color: var(--grey); font-size: 0.9375rem; margin-top: 4px; }
.addon-price { flex-shrink: 0; font-weight: 700; font-size: 1.0625rem; color: var(--white) !important; margin-top: 0 !important; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* 10. Reduced motion -------------------------------------------------------- */
/* People who ask their device for less motion get no carousel animation.
   The slideshow timing still works. */
/* Thank-you page ------------------------------------------------------------ */
.thanks { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .thanks { grid-template-columns: minmax(0, 1fr) 280px; gap: 80px; } }
.thanks-copy { max-width: 38rem; }
.thanks-check {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%;
  background: var(--magenta); color: var(--white);
  box-shadow: 0 0 0 8px rgba(157, 10, 91, 0.18);
}
.thanks-check svg { width: 28px; height: 28px; }
.thanks-eyebrow {
  margin-bottom: 12px; color: var(--grey);
  font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.thanks h1 { font-size: var(--fs-h1); margin-bottom: 16px; }
.thanks-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.thanks-steps li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--surface); counter-increment: step;
}
.thanks-steps li::before {
  content: counter(step);
  display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%;
  background: var(--surface-strong); border: 1px solid var(--line-strong);
  font-weight: 700; font-size: 0.9375rem;
}
.thanks-steps strong { display: block; margin-bottom: 2px; }
.thanks-steps p { color: var(--grey); font-size: 0.9375rem; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.thanks-social { margin-top: 20px; color: var(--grey); font-size: var(--fs-small); }

/* Photo strip, like a 2x6 print from the booth */
.photo-strip {
  width: min(240px, 66vw); margin: 0 auto; padding: 12px 12px 0;
  background: #f7f4ef; border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotate(3deg);
}
.photo-strip img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 10px; border-radius: 2px; }
.photo-strip figcaption { padding: 4px 0 14px; text-align: center; color: #1d1d1d; font-size: 0.875rem; line-height: 1.3; letter-spacing: -0.01em; }
.photo-strip figcaption strong { display: block; font-weight: 300; color: #8a8a8a; }
.photo-strip figcaption span { display: block; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .photo-strip { animation: strip-in 0.8s var(--ease) both; }
}
@keyframes strip-in {
  from { opacity: 0; transform: translateY(28px) rotate(0deg); }
  to   { opacity: 1; transform: translateY(0) rotate(3deg); }
}

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