/* Hallmark · genre: atmospheric · macrostructure: Marquee Hero (owner kept; knob deltas: hero carries an inline booking form, services as a typographic index, no section rules)
 * theme: custom · vibe: "dark charcoal, one purple, bold and quiet" · bg: oklch(16.5% 0.006 300) · brand: oklch(56% 0.24 300) / deep oklch(43% 0.2 300) / text oklch(74% 0.17 300)
 * display: Montserrat Alt1 700/800 · body: Figtree · logo: Montserrat Alt1 800 capitals · axes: dark / geometric-sans / chromatic-purple
 * nav: N10 bar → centred pill on scroll (owner request) · footer: Ft1 mast-headed · cta: C2 inline form-as-CTA (hero quick-book) + outlined secondary "Book a call" (Odoo Appointments) · enrichment: none (owner footage pending)
 * sections: hero · our services (six equal tiles → service pages) · how it works · about (band: who we are + team photo, statement panel, intention card) · work (full-bleed, viewfinder hover, stories) · why luxaro (typographic rows in one purple frame) · testimonials (hidden) · contact · sticky phone bar
 * audit round 1 (2026-10-13): lighter hero tint, video pause controls, draft markers, Formspree, GoatCounter, favicon/OG
 * motion: hero copy fade · nav morph · hover colour/zoom on service rows + work
 * context: user-provided (keep colours, less AI-looking, more purple, bigger wordmark, easy to book; then: Book a call CTA, small events + businesses messaging, bring back Why + About, fuller)
 * pre-emit critique: P4 H5 E4 S5 R4 V4
 * Tokens live in tokens.css. No gradients, glows or blob backgrounds (see CLAUDE.md).
 */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--space-lg));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--color-brand); color: var(--color-on-brand); }

h1, h2, h3 {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-style: normal;
  overflow-wrap: anywhere;
  min-width: 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-display); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; max-width: 12ch; }
h2 { font-size: var(--text-2xl); font-weight: 700; line-height: 1.04; letter-spacing: -0.028em; max-width: 18ch; }
h3 { font-size: var(--text-lg); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
strong { color: var(--color-ink); font-weight: 600; }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-sm); }

[hidden] { display: none !important; }

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

.lede { font-size: var(--text-md); line-height: 1.55; max-width: 46ch; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85em 1.6em;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-brand);
  color: var(--color-on-brand);
  font: 600 var(--text-base) / 1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--color-brand-hover); transform: translateY(-1px); }
}
.btn:active { transform: translateY(0); background: var(--color-brand); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 40px; padding: 0.6em 1.15em; font-size: var(--text-sm); }

/* Secondary CTA (Book a call): outlined, quieter than the purple fill */
.btn.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  box-shadow: inset 0 0 0 1px var(--color-rule-2);
  transition: color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn.btn-on-brand { color: var(--color-on-brand); box-shadow: inset 0 0 0 1px var(--color-on-brand-2); }
@media (hover: hover) and (pointer: fine) {
  .btn.btn-ghost:hover { background: transparent; color: var(--color-brand-text); box-shadow: inset 0 0 0 1px var(--color-brand-text); }
  .btn.btn-on-brand:hover { background: var(--color-brand); color: var(--color-on-brand); box-shadow: inset 0 0 0 1px var(--color-on-brand); }
}
.btn.btn-ghost:active { background: transparent; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 44px;
  color: var(--color-ink);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--color-brand-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color var(--dur-micro) var(--ease-out);
}
.text-link:hover { color: var(--color-brand-text); text-decoration-thickness: 2px; }

/* Logo: dot + "LUXARO" inside a viewfinder frame (owner's "Viewfinder frame" mark, rebuilt in CSS
   so it stays sharp and takes the brand purple from tokens), set in the heading font with bold corners
   to match the heavy capitals. Four corners: two on .wordmark, two on .logo-frame. */
.wordmark {
  --corner: 0.5em;
  --stroke: max(3px, 0.13em);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.4em 0.55em 0.44em;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-wordmark);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark::before,
.wordmark::after,
.logo-frame::before,
.logo-frame::after {
  content: "";
  position: absolute;
  width: var(--corner);
  height: var(--corner);
  border: 0 solid var(--color-brand);
}
.wordmark::before { top: 0; left: 0; border-top-width: var(--stroke); border-left-width: var(--stroke); }
.wordmark::after { right: 0; bottom: 0; border-right-width: var(--stroke); border-bottom-width: var(--stroke); }
.logo-frame { position: absolute; inset: 0; pointer-events: none; }
.logo-frame::before { top: 0; right: 0; border-top-width: var(--stroke); border-right-width: var(--stroke); }
.logo-frame::after { bottom: 0; left: 0; border-bottom-width: var(--stroke); border-left-width: var(--stroke); }
.logo-dot {
  flex: none;
  width: 0.3em;
  height: 0.3em;
  border-radius: 50%;
  background: var(--color-brand);
}
/* The site logo (2026-11-04): "LUXARO" over "DIGITAL MEDIA" in the frame, no dot. DIGITAL MEDIA is one
   span per letter, spread to LUXARO's width. .logo-dot stays for brand/profile-picture.html. */
.wordmark-stack { flex-direction: column; align-items: stretch; gap: 0; padding: 0.36em 0.5em 0.4em; }
.logo-name { display: block; text-align: center; }
.logo-sub {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5em;
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: 0.34em;
  font-weight: 600;
}

/* ---------- Header: full-width bar → centred pill on scroll (N10) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-sticky);
  padding: var(--space-sm) var(--page-gutter) 0;
  pointer-events: none;
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: var(--page-max);
  min-height: var(--nav-h);
  margin-inline: auto;
  padding: 0.625rem 0;
  background: transparent;
  border: var(--rule-hair) solid transparent;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 0 transparent;
  backdrop-filter: blur(0);
  pointer-events: auto;
  transition:
    max-width var(--dur-nav) var(--ease-nav),
    padding var(--dur-nav) var(--ease-nav),
    border-radius var(--dur-nav) var(--ease-nav),
    background-color var(--dur-nav) var(--ease-nav),
    border-color var(--dur-nav) var(--ease-nav),
    box-shadow var(--dur-nav) var(--ease-nav),
    backdrop-filter var(--dur-nav) var(--ease-nav);
}
/* Collapsed: a rounded rectangle (echoes the square viewfinder logo), equal padding on both sides,
   buttons rounded concentrically (outer --radius-md minus padding ≈ --radius-sm) */
.site-header.is-floating .nav-inner,
.nav-inner:has(.site-nav.open) {
  padding-inline: var(--space-sm);
  background: var(--color-glass);
  border-color: var(--color-rule-2);
  box-shadow: 0 18px 40px -18px var(--color-shadow);
  backdrop-filter: blur(14px);
}

.nav-toggle {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  margin-right: calc(var(--space-sm) * -1); /* icon lines up with the logo frame inset */
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-ink);
  transition: transform var(--dur-short) var(--ease-in-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.open {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 0 var(--space-sm);
}
.site-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-top: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink-2);
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--dur-micro) var(--ease-out);
}
.site-nav a:not(.btn):hover { color: var(--color-brand-text); }
/* Header buttons: same height as the logo frame, medium weight, no hover jump inside the bar */
.site-header .btn { min-height: 40px; padding-inline: 1.1em; font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .site-header .btn:hover { transform: none; }
}
.nav-ctas { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: var(--space-sm); margin-top: var(--space-sm); }

@media (min-width: 60rem) {
  .site-header.is-floating .nav-inner { max-width: 50rem; }
  .nav-ctas { display: flex; gap: var(--space-xs); margin: 0 0 0 var(--space-xs); }
  .nav-inner { flex-wrap: nowrap; gap: var(--space-xl); }
  .nav-toggle { display: none; }
  .site-nav,
  .site-nav.open {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
    width: auto;
    padding: 0;
  }
  .site-nav a:not(.btn) { min-height: 40px; border: 0; font-size: var(--text-sm); }
}

/* ---------- Media slots (swap .media-placeholder for <img>/<video>) ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-2);
  border-radius: var(--radius-sm);
}
.media > img,
.media > video,
.media > .media-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--space-sm);
  color: var(--color-ink-3);
}
.placeholder-label { font-size: var(--text-sm); font-weight: 500; }
.play {
  position: relative;
  width: 52px;
  height: 52px;
  border: var(--rule-hair) solid currentColor;
  border-radius: 50%;
}
.play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent currentColor;
}

/* ---------- Shared field look (hero quick-book + contact form) ---------- */
.qb-field input,
.qb-field select,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75em 0.9em;
  background: var(--color-bg);
  color: var(--color-ink);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-sm);
  font: inherit;
  transition: border-color var(--dur-micro) var(--ease-out);
}
.qb-field input:hover,
.qb-field select:hover,
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--color-ink-3); }
.qb-field input:focus,
.qb-field select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-brand); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(38rem, 100svh, 60rem);
  padding-top: calc(var(--nav-h) + var(--space-2xl));
}
.hero-media { position: absolute; inset: 0; border-radius: 0; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-veil);
}

.hero-copy {
  position: relative;
  z-index: var(--z-raised);
  padding-bottom: var(--space-2xl);
  animation: rise var(--dur-long) var(--ease-out) both;
}
.hero-copy h1,
.hero-sub { text-shadow: 0 2px 28px var(--color-text-shade); }
.hero-sub { max-width: 46ch; margin: var(--space-lg) 0 var(--space-xl); font-size: var(--text-md); line-height: 1.55; }

.quick-book {
  display: grid;
  gap: var(--space-sm);
  max-width: 58rem;
  padding: var(--space-sm);
  background: var(--color-glass);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
}
.qb-field { display: grid; gap: var(--space-2xs); }
.qb-field input,
.qb-field select,
.field input[type="date"] { height: 48px; line-height: 1.2; }
.qb-field span { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; }

.qb-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: var(--space-sm); }
.qb-actions .btn,
.nav-ctas .btn { padding-inline: var(--space-sm); }

@media (min-width: 40rem) {
  .quick-book { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  .qb-actions { grid-column: 1 / -1; }
  .qb-actions .btn,
  .nav-ctas .btn { padding-inline: 1.4em; }
}
@media (min-width: 60rem) {
  .quick-book { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; }
  .qb-actions { grid-column: auto; display: flex; }
}

/* Pause/play for autoplaying video (accessibility: moving content must be pausable) */
.video-toggle {
  position: absolute;
  z-index: var(--z-raised);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 40px;
  padding: 0 var(--space-sm);
  background: var(--color-glass);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  font: 500 var(--text-sm) / 1 var(--font-body);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color var(--dur-micro) var(--ease-out);
}
.video-toggle:hover { border-color: var(--color-brand-text); }
.video-toggle-icon { position: relative; width: 12px; height: 12px; flex: none; }
.video-toggle-icon::before,
.video-toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 4px;
  height: 12px;
  background: currentColor;
}
.video-toggle-icon::before { left: 1px; }
.video-toggle-icon::after { right: 1px; }
.video-toggle[aria-pressed="true"] .video-toggle-icon::before {
  left: 2px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
  background: none;
}
.video-toggle[aria-pressed="true"] .video-toggle-icon::after { display: none; }
.hero-toggle { top: calc(var(--nav-h) + var(--space-xl)); right: var(--page-gutter); }
.hero-toggle .video-toggle-label,
.tile-toggle .video-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tile-toggle { top: var(--space-sm); right: var(--space-sm); width: 40px; justify-content: center; padding: 0; }
@media (min-width: 60rem) {
  .hero-toggle { top: auto; bottom: var(--space-2xl); }
  .hero-toggle .video-toggle-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Draft copy: example wording or numbers to confirm (see OWNER-NOTES.md). Remove the class once confirmed. */
.draft {
  text-decoration: underline dashed var(--color-brand-text) 1px;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Sections: one surface, no rules ---------- */
.section { padding-block: var(--section-pad); }
/* Bands: full-width lighter-charcoal strips (How it works, About)
   that alternate with the page colour. Never put two bands next to each other. */
.band { background: var(--color-bg-2); }
/* Phones get a shorter gap under section headings (2.5rem); 4rem from 48rem up */
.section-title { margin-bottom: var(--space-xl); }
.section-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md) var(--space-xl);
  margin-bottom: var(--space-xl);
}
.section-bar .section-title { margin: 0; }
.section-head { display: grid; gap: var(--space-lg); margin-bottom: var(--space-xl); }
@media (min-width: 48rem) {
  .section-title,
  .section-bar,
  .section-head { margin-bottom: var(--space-2xl); }
}

/* Swipe rows (phones): cards that would stack into a long column sit side by side instead and scroll
   sideways, with the next card peeking in so it's clear there's more. Used by the audience cards and
   How it works (below 48rem) and the pricing cards (below 60rem); each switches back to its grid above that. */
.swipe-row {
  --swipe-bleed: var(--page-gutter);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16rem, 84%);
  grid-template-columns: none;
  gap: var(--space-sm);
  margin-inline: calc(var(--swipe-bleed) * -1);
  padding-inline: var(--swipe-bleed);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--swipe-bleed);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.swipe-row::-webkit-scrollbar { display: none; }
.swipe-row > * { scroll-snap-align: start; }
/* A short follow-up paragraph under the lede (e.g. the team line in Who we are) keeps the lede's column width */
.section-head > p:not(.lede) { max-width: 52ch; margin: 0; }

/* ---------- About (who we are + why) ---------- */
/* Intro: copy beside the team photo, which sits in a thin purple frame */
.about-intro { display: grid; gap: var(--space-xl); margin-bottom: var(--space-2xl); }
@media (min-width: 48rem) { .about-intro { gap: var(--space-2xl); margin-bottom: var(--space-3xl); } }
.about-intro .section-head { margin-bottom: 0; }
.team-photo { aspect-ratio: 4 / 3; border: var(--rule-hair) solid var(--color-brand); }
/* Team photo + headshots are buttons that open them full size (pop-up gallery) */
button.enlarge { display: block; width: 100%; padding: 0; font: inherit; color: inherit; cursor: zoom-in; }
button.enlarge:not(.team-photo) { border: 0; }
@media (hover: hover) and (pointer: fine) {
  button.enlarge > img { transition: transform var(--dur-long) var(--ease-out); }
  button.enlarge:hover > img { transform: scale(1.04); }
}
.team-photo > img { object-position: 50% 40%; }
/* Headshots: three small portraits under the copy, name + role below each */
.team-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  max-width: 30rem;
  margin: var(--space-sm) 0 0;
  padding: 0;
  list-style: none;
}
.team-people li { display: grid; gap: var(--space-2xs); align-content: start; font-size: var(--text-sm); line-height: 1.3; }
.team-people .media { aspect-ratio: 4 / 5; margin-bottom: var(--space-xs); }
.team-people .media > img { object-position: 50% 20%; }
.team-people strong { color: var(--color-ink); font-weight: 600; }
.team-people span { color: var(--color-ink-3); }
@media (min-width: 60rem) {
  .about-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
}

/* The intention: one card, photo edge to edge on one side, copy centred on the other.
   The card is --color-bg because a --color-bg-2 card would vanish on the band. */
.why-lead { display: grid; overflow: hidden; background: var(--color-bg); border-radius: var(--radius-md); }
.why-media { aspect-ratio: 3 / 2; border-radius: 0; }
.why-media > img { object-position: 50% 30%; }
.why-lead-copy { align-self: center; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.why-lead-copy::before { content: ""; display: block; width: 2.5rem; height: 3px; margin-bottom: var(--space-lg); background: var(--color-brand); }
.why-lead-copy h3 { margin-bottom: var(--space-md); font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.03em; }
.why-lead-copy p { max-width: 42ch; margin: 0; font-size: var(--text-md); line-height: 1.55; }

@media (min-width: 48rem) {
  .why-lead { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .why-media { aspect-ratio: auto; min-height: 26rem; }
}

/* The statement reads as a sentence, not a heading: body font, sentence case */
.meaning {
  margin: 0 0 var(--space-xl);
  padding: clamp(2rem, 1rem + 4vw, 4.5rem);
  background: var(--color-brand-deep);
  border-radius: var(--radius-md);
  color: var(--color-on-brand);
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 48rem) { .meaning { margin-bottom: var(--space-3xl); } }


/* ---------- Services: who it's for ---------- */
/* Phones: the two audience cards are a swipe row (see .swipe-row), bleeding to the frame's edges */
.audience { display: grid; gap: var(--space-md); margin-bottom: var(--space-xl); }
.audience.swipe-row { --swipe-bleed: var(--frame-pad); }
.audience-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-bg-2);
  border-radius: var(--radius-md);
}
.audience-media { aspect-ratio: 16 / 9; border-radius: 0; }
.audience-copy { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.audience-card h3 { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.audience-card h3::before {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--color-brand);
}
.audience-card p { max-width: 44ch; }

@media (min-width: 48rem) {
  .audience,
  .audience.swipe-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; margin-bottom: var(--space-2xl); }
}

/* ---------- Services: typographic index ---------- */
/* The whole Services section (title, audience cards, index, promises) sits in one thin purple frame */
.services-frame {
  --frame-pad: clamp(1.25rem, 0.5rem + 3vw, 3.5rem);
  padding: var(--frame-pad);
  overflow: hidden; /* keeps the phone swipe row inside the frame's rounded border */
  border: var(--rule-hair) solid var(--color-brand);
  border-radius: var(--radius-md);
}
.service-list { margin: 0; padding: 0; list-style: none; border-bottom: var(--rule-hair) solid var(--color-rule); }
/* Phones: a small square thumbnail beside the name and line, instead of a full-width photo under each */
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem;
  gap: var(--space-xs) var(--space-md);
  align-items: center;
  padding-block: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.service-row > :not(.service-thumb) { grid-column: 1; }
.service-row h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  transition: color var(--dur-short) var(--ease-out);
}
.service-row p { max-width: 34ch; margin: 0; font-size: var(--text-base); }
.service-thumb { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 1 / 1; }

@media (hover: hover) and (pointer: fine) {
  .service-row:hover h3 { color: var(--color-brand-text); }
  .service-thumb > img,
  .gallery-card .media > :is(img, video),
  .gallery-thumb img { transition: transform var(--dur-long) var(--ease-out); }
  .service-row:hover .service-thumb > img,
  .gallery-card:hover .media > :is(img, video),
  .gallery-thumb:hover img { transform: scale(1.04); }
  .gallery-card:hover .gallery-card-label h3 { color: var(--color-brand-text); }
}

.promises {
  display: grid;
  gap: var(--space-lg) var(--space-2xl);
  margin: var(--space-xl) 0 0;
  padding: 0;
  list-style: none;
}
.promises li { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.promises strong {
  display: block;
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.promises span:not(.draft) { display: block; max-width: 42ch; }
@media (min-width: 48rem) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); margin-top: var(--space-2xl); }
  .promises li { padding-top: var(--space-lg); }
}

@media (min-width: 48rem) {
  .service-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 15rem);
    gap: var(--space-sm) var(--space-xl);
    align-items: center;
    padding-block: var(--space-lg);
  }
  .service-row > :not(.service-thumb) { grid-column: auto; }
  .service-row p { font-size: var(--text-md); }
  .service-thumb { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 10; margin: 0; }
}

/* ---------- Work: full-bleed (breaks the page's column on purpose), five gallery cards ----------
   Phones: the video card runs full width, the four photo cards pair up (2 × 2).
   ≥60rem: row 1 = wide video (8/12) + photo card filling the row height; row 2 = three square cards.
   Each card's "View all" button stretches over the whole card (::after), so the card is one big tap target;
   the clip's pause button sits above it. */
.section-wide { padding-bottom: var(--space-2xl); }
.work-wrap { max-width: 112rem; margin-inline: auto; padding-inline: clamp(0.5rem, 1.5vw, 1.5rem); }
.galleries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-sm); }
.gallery-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.gallery-card .media { aspect-ratio: 4 / 5; }
.gallery-card-lead { grid-column: 1 / -1; }
.gallery-card-lead .media { aspect-ratio: 16 / 9; }
.gallery-card-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-sm);
  margin-top: var(--space-sm);
  padding-inline: var(--space-2xs);
}
.gallery-card-label h3 {
  font-size: var(--text-base);
  font-weight: 700;
  transition: color var(--dur-short) var(--ease-out);
}
.gallery-count { color: var(--color-ink-3); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.gallery-open {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: 32px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-brand-text);
  font: 500 var(--text-sm) / 1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
}
.gallery-open::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-sm); }
.gallery-open:focus-visible { outline: 0; }
.gallery-open:focus-visible::after { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.gallery-card .tile-toggle { z-index: 2; }
/* Small phones: the "View all" link drops under the name so nothing squeezes */
@media (max-width: 23.99rem) {
  .gallery-card:not(.gallery-card-lead) .gallery-open { flex-basis: 100%; margin-left: 0; }
}
@media (min-width: 40rem) {
  .galleries { gap: var(--space-xl) var(--space-sm); }
  .gallery-card-label h3 { font-size: var(--text-md); }
}
@media (min-width: 60rem) {
  .galleries { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .gallery-card-lead { grid-column: 1 / 9; grid-row: 1; }
  .gallery-card:nth-child(2) { grid-column: 9 / 13; grid-row: 1; }
  .gallery-card:nth-child(2) .media { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
  .gallery-card:nth-child(n + 3) { grid-column: span 4; }
  .gallery-card:nth-child(n + 3) .media { aspect-ratio: 1 / 1; }
  /* Row 3: the last two cards (Local businesses, Behind the scenes) run wide, with landscape covers */
  .gallery-card:nth-child(n + 6) { grid-column: span 6; }
  .gallery-card:nth-child(n + 6) .media { aspect-ratio: 3 / 2; }
}

.story-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 36px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-brand-text);
  font: 500 var(--text-sm) / 1 var(--font-body);
  cursor: pointer;
}
.story-link:hover { text-decoration: underline; text-underline-offset: 0.3em; }

/* Viewfinder corners: the logo's frame "focuses" in around footage on hover/focus.
   script.js injects <span class="vf"><i></i>×4</span> into .gallery-card .media and .service-thumb. */
.vf { position: absolute; inset: var(--space-md); z-index: var(--z-raised); pointer-events: none; }
.vf i {
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  border: 0 solid var(--color-brand);
  opacity: 0;
  transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out);
}
.vf i:nth-child(1) { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; transform: translate(-10px, -10px); }
.vf i:nth-child(2) { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; transform: translate(10px, -10px); }
.vf i:nth-child(3) { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; transform: translate(10px, 10px); }
.vf i:nth-child(4) { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; transform: translate(-10px, 10px); }
.service-thumb .vf { inset: var(--space-xs); }
.service-thumb .vf i { width: 1.1rem; height: 1.1rem; }
.gallery-card:hover .vf i,
.gallery-card:focus-within .vf i,
.service-row:hover .vf i { opacity: 1; transform: none; }

/* ---------- Testimonials: real quotes only (slots to fill) ---------- */
.quotes { display: grid; gap: var(--space-md); }
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-xl);
  margin: 0;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--color-bg-2);
  border-radius: var(--radius-md);
}
.quote blockquote { margin: 0; }
.quote blockquote p { color: var(--color-ink); font-size: var(--text-md); line-height: 1.5; }
/* Quotation marks are added here in brand purple; type testimonial text without quote marks */
.quote blockquote p::before { content: "\201C"; color: var(--color-brand-text); }
.quote blockquote p::after { content: "\201D"; color: var(--color-brand-text); }
.quote-lead blockquote p {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.quote figcaption { color: var(--color-ink-3); font-size: var(--text-sm); }
.quote figcaption strong { display: block; color: var(--color-ink); font-weight: 500; }
@media (min-width: 60rem) {
  .quotes { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; }
  .quote-lead { grid-row: span 2; }
}

/* ---------- How it works: on a band (see .band), a different rhythm from the sections around it ---------- */
.steps-flow { display: grid; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.steps-flow li { position: relative; padding-top: var(--space-2xl); border-top: 2px solid var(--color-rule-2); counter-increment: flow; }
/* The step number: small and quiet at the right end of the line, so the icon leads */
.steps-flow li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  top: calc(-0.5em - 1px);
  right: 0;
  padding-left: var(--space-sm);
  background: var(--color-bg-2);
  color: var(--color-ink-3);
  font-size: var(--text-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  line-height: 1;
}
/* Step icons: purple line drawings sitting on the divider at the start of each step */
.step-icon {
  position: absolute;
  top: calc(-1.5rem - 1px);
  left: 0;
  box-sizing: content-box;
  width: 3rem;
  height: 3rem;
  padding-right: var(--space-md);
  background: var(--color-bg-2);
  fill: none;
  stroke: var(--color-brand-text);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steps-flow h3 { margin-bottom: var(--space-sm); }
.steps-flow p { max-width: 34ch; }
/* Phones: a swipe row; the top padding keeps the icons (which sit on the line) from being clipped */
.steps-flow.swipe-row { grid-auto-columns: minmax(15rem, 78%); gap: var(--space-xl); padding-top: 1.6rem; }
@media (min-width: 48rem) {
  .steps-flow,
  .steps-flow.swipe-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding: 0; overflow: visible; }
}
@media (min-width: 60rem) { .steps-flow, .steps-flow.swipe-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Starting-from pricing ---------- */
.price-grid { display: grid; gap: var(--space-md); }
.price {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--color-bg-2);
  border: var(--rule-hair) solid transparent;
  border-radius: var(--radius-md);
}
.price-feature { border-color: var(--color-brand); }
.price-amount { margin: 0; color: var(--color-ink-2); }
.price-amount .draft,
.price-amount strong {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.price ul { display: grid; gap: var(--space-xs); margin: 0 0 var(--space-md); padding: 0; list-style: none; }
.price li { position: relative; padding-left: var(--space-lg); }
.price li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--color-brand);
}
.price .btn { margin-top: auto; align-self: flex-start; }
.price-grid.swipe-row { grid-auto-columns: minmax(16rem, 82%); }
@media (min-width: 40rem) { .price-grid.swipe-row { grid-auto-columns: minmax(18rem, 46%); } }
@media (min-width: 60rem) {
  .price-grid,
  .price-grid.swipe-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
}

/* ---------- Contact: purple panel + form ---------- */
.contact-grid { display: grid; gap: var(--space-md); }

.contact-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  background: var(--color-brand-deep);
  border-radius: var(--radius-md);
  color: var(--color-on-brand-2);
}
.contact-panel h2 { margin-bottom: var(--space-lg); color: var(--color-on-brand); }
.contact-panel p { max-width: 36ch; font-size: var(--text-md); line-height: 1.5; }
.contact-panel :focus-visible { outline-color: var(--color-on-brand); }
.contact-panel .btn { align-self: flex-start; margin-top: var(--space-lg); }

.contact-lines { margin: auto 0 0; padding: var(--space-2xl) 0 0; list-style: none; }
.contact-lines a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--space-md);
  min-height: 56px;
  border-top: var(--rule-hair) solid var(--color-brand-line);
  color: var(--color-on-brand);
  font-size: var(--text-md);
  font-weight: 600;
}
.contact-lines a span { color: var(--color-on-brand-2); font-size: var(--text-sm); font-weight: 400; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

.contact-form {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--color-bg-2);
  border-radius: var(--radius-md);
}
.form-row { display: grid; }
.field { display: flex; flex-direction: column; gap: var(--space-2xs); margin-bottom: var(--space-xs); }
.field label { color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; }
.optional { color: var(--color-ink-3); font-weight: 400; }
.field textarea { resize: vertical; }
.field ::placeholder { color: var(--color-ink-3); opacity: 1; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--color-error); }
.field input:disabled,
.field select:disabled,
.field textarea:disabled { opacity: 0.5; cursor: not-allowed; }

.error { min-height: 1.25em; color: var(--color-error); font-size: var(--text-sm); }

.contact-form .btn { margin-top: var(--space-sm); }

.form-success {
  margin: var(--space-md) 0 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-3);
  border-radius: var(--radius-sm);
  color: var(--color-success);
  font-weight: 500;
}

.form-failure {
  margin: var(--space-md) 0 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-3);
  border-radius: var(--radius-sm);
  color: var(--color-error);
  font-weight: 500;
}
.form-failure a { color: var(--color-ink); text-decoration: underline; }

@media (min-width: 40rem) {
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
}
@media (min-width: 60rem) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* ---------- Footer: mast-headed (Ft1) ---------- */
.site-footer { padding-block: var(--space-2xl) var(--space-xl); }
.footer-grid {
  display: grid;
  gap: var(--space-lg) var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.wordmark-lg { padding: 0.4em 0.55em 0.44em; font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); justify-self: start; }
.footer-tag { margin: 0; color: var(--color-ink-3); font-size: var(--text-sm); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-ink-2);
  font-size: var(--text-sm);
  white-space: nowrap;
  transition: color var(--dur-micro) var(--ease-out);
}
.footer-links a:hover { color: var(--color-brand-text); }
.footer-small { margin: 0; color: var(--color-ink-3); font-size: var(--text-sm); }

@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .footer-links { grid-column: 2; grid-row: 1; justify-self: end; }
  .footer-tag { grid-column: 1; grid-row: 2; }
  .footer-small { grid-column: 2; grid-row: 2; justify-self: end; }
}

/* ---------- "What it meant" story dialog ---------- */
.story-dialog {
  width: min(40rem, calc(100% - var(--space-xl)));
  max-height: calc(100dvh - var(--space-2xl));
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--color-bg-2);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-md);
  color: var(--color-ink-2);
}
.story-dialog::backdrop { background: var(--color-veil-strong); backdrop-filter: blur(6px); }
.story-dialog[open] { animation: rise var(--dur-long) var(--ease-out) both; }
.story-body h3 { margin-bottom: var(--space-md); font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.03em; }
.story-meaning { color: var(--color-ink); font-size: var(--text-md); line-height: 1.5; }
.story-facts { display: grid; gap: var(--space-md); margin: var(--space-xl) 0; }
.story-facts div { padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.story-facts dt { color: var(--color-brand-text); font-size: var(--text-sm); font-weight: 500; }
.story-facts dd { margin: var(--space-2xs) 0 0; color: var(--color-ink); }
.story-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* ---------- Pop-up gallery (filled from the gallery <template>s in #work) ----------
   Phones: full screen. Larger screens: a big centred panel. Top bar (back, title, counter, close),
   a scrolling body (photo grid, or the viewer), and a quiet "Start a Project" foot. */
html:has(dialog[open]) { overflow: hidden; } /* the page behind doesn't scroll while a pop-up is open */
.gallery-dialog {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  border: 0;
  color: var(--color-ink-2);
}
.gallery-dialog[open] { display: flex; flex-direction: column; animation: rise var(--dur-long) var(--ease-out) both; }
.gallery-dialog::backdrop { background: var(--color-veil-strong); backdrop-filter: blur(6px); }
.gallery-top {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: var(--nav-h);
  padding: env(safe-area-inset-top) var(--space-sm) 0 var(--page-gutter);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.gallery-title { min-width: 0; margin-right: auto; font-size: var(--text-md); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-back:not([hidden]) + .gallery-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gallery-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 44px;
  margin-right: auto;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-ink);
  font: 500 var(--text-sm) / 1 var(--font-body);
  cursor: pointer;
}
.gallery-back:hover { color: var(--color-brand-text); }
.gallery-counter { color: var(--color-ink-3); font-size: var(--text-sm); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery-close {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  cursor: pointer;
}
.gallery-close span::before,
.gallery-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.gallery-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.gallery-close:hover { color: var(--color-brand-text); }

.gallery-body { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs);
  margin: 0;
  padding: var(--space-sm);
  list-style: none;
}
.gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  background: var(--color-bg-2);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Clips get a play badge */
.gallery-thumb.is-video { cursor: pointer; }
.gallery-thumb.is-video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--color-glass);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}
.gallery-thumb.is-video::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--color-ink);
  transform: translate(-35%, -50%);
}

/* Viewer: the photo uncropped, caption under it, ←/→ at the sides (at the bottom on phones) */
.gallery-viewer { height: 100%; padding: var(--space-sm) var(--space-sm) 0; }
.gallery-figure { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; margin: 0; }
.gallery-stage { display: grid; flex: 1 1 auto; place-items: center; min-height: 0; touch-action: pan-y pinch-zoom; }
.gallery-stage > :is(img, video) {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-stage > video { width: 100%; }
.gallery-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 var(--space-md);
  min-height: 44px;
  padding-top: var(--space-xs);
  color: var(--color-ink);
  font-size: var(--text-sm);
  text-align: center;
}
.gallery-nav {
  display: inline-grid;
  place-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--color-glass);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  font: 500 var(--text-md) / 1 var(--font-body);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
.gallery-nav:hover { border-color: var(--color-brand-text); color: var(--color-brand-text); }
/* Phones: both arrows sit side by side under the caption, easy to reach with a thumb */
.gallery-viewer { display: grid; grid-template-columns: 1fr auto auto 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 0 var(--space-sm); }
.gallery-viewer[hidden] { display: none; }
.gallery-figure { grid-column: 1 / -1; grid-row: 1; }
.gallery-prev { grid-column: 2; grid-row: 2; margin-block: var(--space-xs); }
.gallery-next { grid-column: 3; grid-row: 2; margin-block: var(--space-xs); }

.gallery-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) var(--page-gutter) calc(var(--space-sm) + env(safe-area-inset-bottom));
  border-top: var(--rule-hair) solid var(--color-rule);
}
.gallery-foot p { margin: 0; color: var(--color-ink-3); font-size: var(--text-sm); }

@media (min-width: 40rem) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); padding: var(--space-md) var(--page-gutter); }
}
@media (min-width: 60rem) {
  .gallery-dialog {
    width: min(76rem, calc(100% - var(--space-2xl)));
    height: min(56rem, calc(100dvh - var(--space-2xl)));
    margin: auto;
    border: var(--rule-hair) solid var(--color-rule-2);
    border-radius: var(--radius-md);
  }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Arrows move to the sides of the photo */
  .gallery-viewer { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr); gap: var(--space-md); padding: var(--space-md) var(--space-md) 0; }
  .gallery-figure { grid-column: 2; }
  .gallery-prev { grid-column: 1; grid-row: 1; align-self: center; margin: 0; }
  .gallery-next { grid-column: 3; grid-row: 1; align-self: center; margin: 0; }
}

/* ---------- Sticky actions bar (phones) ---------- */
.mobile-cta {
  position: fixed;
  right: var(--space-sm);
  bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
  left: var(--space-sm);
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs);
  padding: var(--space-xs);
  background: var(--color-glass);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -18px var(--color-shadow);
  backdrop-filter: blur(14px);
  transform: translateY(calc(100% + var(--space-xl)));
  transition: transform var(--dur-long) var(--ease-out);
}
.mobile-cta .btn { min-height: 44px; padding-inline: var(--space-sm); font-size: var(--text-sm); }
.mobile-cta.is-visible { transform: none; }
@media (min-width: 60rem) { .mobile-cta { display: none; } }

/* ---------- Hero without the sub line (owner removed it, 2026-11-27) ---------- */
.hero-copy h1 + .quick-book { margin-top: var(--space-xl); }

/* ---------- Services: six category tiles, each a link to its own page (2026-11-27) ----------
   Phones 2 across, 3 across from 48rem. The whole tile is the link; the photo zooms and the
   viewfinder corners show on hover, like the Work gallery cards. */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg) var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cat-tile { display: flex; flex-direction: column; height: 100%; }
.cat-tile .media { display: block; aspect-ratio: 4 / 5; }
.cat-tile .media > img { transition: transform var(--dur-long) var(--ease-out); }
.cat-tile-label { display: grid; gap: var(--space-2xs); margin-top: var(--space-sm); padding-inline: var(--space-2xs); }
.cat-tile-label strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  transition: color var(--dur-short) var(--ease-out);
}
.cat-tile-label strong::after { content: " →"; color: var(--color-brand-text); }
.cat-tile-label span { color: var(--color-ink-3); font-size: var(--text-sm); line-height: 1.35; }
@media (hover: hover) and (pointer: fine) {
  .cat-tile:hover .media > img { transform: scale(1.04); }
  .cat-tile:hover strong { color: var(--color-brand-text); }
  .cat-tile:hover .vf i { opacity: 1; transform: none; }
}
.cat-tile:focus-visible { outline-offset: 4px; }
.cat-tile-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-sm); }
.cat-num { color: var(--color-brand-text); font-size: var(--text-sm); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.cat-tile-label .cat-count { color: var(--color-ink-3); font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
/* All six tiles the same size (owner, 2026-11-27): 2 across on phones, 3 across from 48rem */
@media (min-width: 48rem) {
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--space-md); }
  .cat-tile-label strong { font-size: var(--text-md); }
}

/* How it works sits on the page colour now (under Our services); its step numbers need the matching background */
.section:not(.band) .steps-flow li::before { background: var(--color-bg); }

/* Links under each audience card in What we capture */
.audience-links { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin-top: var(--space-md); }

/* ---------- Service pages (real-estate.html, events.html, …) ---------- */
.cat-hero { padding-top: calc(var(--nav-h) + var(--space-2xl)); padding-bottom: var(--space-2xl); }
.cat-hero-grid { display: grid; gap: var(--space-xl); align-items: center; }
.cat-hero h1 { font-size: var(--text-2xl); max-width: 16ch; margin-bottom: var(--space-lg); }
.cat-hero .lede { margin-bottom: var(--space-xl); }
.cat-hero-media { aspect-ratio: 4 / 5; max-height: 34rem; border: var(--rule-hair) solid var(--color-brand); }
.crumb { display: inline-flex; gap: var(--space-2xs); margin-bottom: var(--space-lg); color: var(--color-ink-3); font-size: var(--text-sm); }
.crumb:hover { color: var(--color-brand-text); }
.cat-ctas { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
@media (min-width: 48rem) {
  .cat-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); }
}

.cat-offers { margin-top: 0; }
@media (min-width: 60rem) { .cat-offers-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Photo grid: the first photos of the category; "View all" opens every photo in the pop-up gallery */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs);
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
}
.cat-grid .media { aspect-ratio: 4 / 5; }
.cat-grid .media-wide { aspect-ratio: 16 / 10; }
.cat-grid .media-tall { aspect-ratio: 9 / 16; }
.cat-grid button.enlarge > img { transition: transform var(--dur-long) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cat-grid button.enlarge:hover > img { transform: scale(1.04); } }
@media (min-width: 40rem) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); } }
@media (min-width: 60rem) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Empty placeholder slots, to be swapped for real photos (owner, 2026-11-25) */
.ph {
  display: grid;
  place-content: center;
  padding: var(--space-sm);
  background: var(--color-bg-2);
  border: var(--rule-hair) dashed var(--color-rule-2);
  color: var(--color-ink-3);
  font-size: var(--text-sm);
  text-align: center;
}

/* One block per offering (Real Estate: photos, video, iGuide, floor plans) */
.offer-blocks { display: grid; gap: var(--space-2xl); margin: 0; padding: 0; list-style: none; }
.offer-block { display: grid; gap: var(--space-md); }
.offer-block h3 { display: flex; align-items: center; gap: var(--space-sm); }
.offer-block h3::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; background: var(--color-brand); }
.offer-block p { max-width: 52ch; margin: 0; }
.offer-block .cat-grid { margin: 0; }
@media (min-width: 40rem) { .offer-block .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.price-note { margin-top: var(--space-lg); color: var(--color-ink-3); font-size: var(--text-sm); }
.addons-title { margin-top: var(--space-2xl); }
button.gallery-all { padding: 0; background: none; border: 0; font: inherit; cursor: pointer; }
.addons { display: grid; gap: 0; margin: var(--space-xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.addons li { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.addons li > :last-child { color: var(--color-ink); white-space: nowrap; }
@media (min-width: 48rem) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-2xl); } }

.why-lead.on-page { background: var(--color-bg-2); }
.why-lead.on-page .why-media { aspect-ratio: 4 / 5; }

.cat-cta-panel { align-items: flex-start; }
.cat-cta-panel h2 { max-width: 20ch; }
.cat-cta-panel .cat-ctas { margin-top: var(--space-lg); }
.cat-cta-panel .cat-ctas .btn { margin-top: 0; }
.cat-cta-panel .btn:not(.btn-ghost) { background: var(--color-on-brand); color: var(--color-brand-deep); }

/* ---------- Service pages, round 2 (2026-11-27): each page gets its own layout from these parts ---------- */
/* Full-bleed hero (Events, Weddings, Real Estate) reuses .hero from the home page; these add the crumb and buttons */
.hero .crumb { color: var(--color-ink-2); text-shadow: 0 2px 18px var(--color-text-shade); }
/* Phones: service-page titles a size down so long words ("ENGAGEMENT") don't break mid-word */
@media (max-width: 47.99rem) { .hero .crumb + h1 { font-size: var(--text-2xl); } }
.hero .cat-ctas { margin-top: var(--space-xl); }
.hero-copy .hero-sub { margin-bottom: 0; }
.hero-media.pos-low > img { object-position: 50% 78%; }
@media (min-width: 40rem) { .cat-grid.cat-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Chapters: numbered photo cards in order (Events: small to big; Weddings: the day) */
.chapters { display: grid; gap: var(--space-md); margin: 0; padding: 0; list-style: none; counter-reset: chapter; }
.chapters > li { display: grid; gap: var(--space-sm); align-content: start; counter-increment: chapter; }
.chapters .media { aspect-ratio: 4 / 5; }
.chapters h3::before {
  content: counter(chapter, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-brand-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.chapters p { max-width: 34ch; margin: 0; }
.chapters.swipe-row { grid-auto-columns: minmax(15rem, 76%); }
@media (min-width: 48rem) {
  .chapters,
  .chapters.swipe-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--space-md); margin-inline: 0; padding-inline: 0; overflow: visible; }
}
@media (min-width: 60rem) {
  .chapters-5,
  .chapters-5.swipe-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .chapters-5 .media { aspect-ratio: 3 / 4; }
}

/* Mosaic: a photo wall with some big tiles (dense flow keeps it gap-free) */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 10rem;
  grid-auto-flow: dense;
  gap: var(--space-xs);
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
}
.mosaic > li > .media { width: 100%; height: 100%; }
.mosaic > li:nth-child(6n + 1) { grid-row: span 2; }
.mosaic > li:nth-child(6n + 4) { grid-column: span 2; }
.mosaic button.enlarge > img { transition: transform var(--dur-long) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mosaic button.enlarge:hover > img { transform: scale(1.04); } }
@media (min-width: 40rem) {
  .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 12rem; gap: var(--space-sm); }
}
@media (min-width: 60rem) {
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(12rem, 15vw, 16rem); }
  .mosaic > li:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
  .mosaic > li:nth-child(6n + 4) { grid-column: auto; grid-row: span 2; }
}

/* Food page: the offering set like a menu, with dotted leaders */
.menu { display: grid; margin: 0; padding: 0; list-style: none; }
.menu > li { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.menu-line { display: flex; align-items: baseline; gap: var(--space-sm); }
.menu-line strong { font-family: var(--font-display); font-size: var(--text-md); font-weight: 700; line-height: 1.15; text-transform: uppercase; }
.menu-leader { flex: 1 1 auto; min-width: 1.5rem; border-bottom: 2px dotted var(--color-rule-2); transform: translateY(-0.3em); }
.menu-tag { color: var(--color-brand-text); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
.menu p { max-width: 46ch; margin: var(--space-xs) 0 0; }
@media (min-width: 48rem) { .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-2xl); } }

/* Food page hero: one big photo and two small ones */
.collage { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); aspect-ratio: 5 / 4; max-height: 34rem; }
.collage > .media:first-child { grid-row: span 2; border: var(--rule-hair) solid var(--color-brand); }

/* Social page: example formats in phone frames */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); max-width: 54rem; margin: 0 auto; padding: 0; list-style: none; }
.phone { display: grid; gap: var(--space-sm); justify-items: center; color: var(--color-ink-3); font-size: var(--text-sm); }
.phone-frame { width: 100%; padding: 0.4rem; background: var(--color-bg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 1.5rem; }
.phone-frame .media { aspect-ratio: 9 / 16; border-radius: 1.15rem; }
.phone-frame .tile-toggle { z-index: 2; }
@media (min-width: 48rem) { .phones { gap: var(--space-xl); } }

/* Weddings: four packages across, and the engagement session as one wide card above them */
@media (min-width: 60rem) {
  .price-grid.price-grid-4,
  .price-grid.price-grid-4.swipe-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.price-grid.price-grid-4 .price h3 { font-size: var(--text-md); }
.price-grid.price-grid-4 .price-amount strong { display: block; }
.price-wide { margin-bottom: var(--space-md); }
@media (min-width: 48rem) {
  .price-wide { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-2xl); }
  .price-wide ul { margin: 0; }
  .price-wide .btn { margin: 0 0 0 auto; align-self: center; }
}
.price-sub { margin: 0; color: var(--color-ink-3); font-size: var(--text-sm); }

/* Weddings: engagement on its own, then the wedding day split into photo only / photo + video (owner, 2026-11-27) */
.pkg-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-md); margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.pkg-group-head h3 { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-md); }
.pkg-group-head h3::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; background: var(--color-brand); }
.pkg-group-head p { margin: 0; color: var(--color-ink-3); font-size: var(--text-sm); }
@media (max-width: 47.99rem) { .pkg-group-head { flex-direction: column; align-items: flex-start; } .pkg-group-head p { padding-left: calc(0.6rem + var(--space-sm)); } }
/* minmax(0, 1fr) + min-width: 0 stop the grid cell growing to fit the swipe row, which left phones
   unable to swipe to the second card (2026-11-28) */
.pkg-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); margin-top: var(--space-2xl); }
.pkg-group { min-width: 0; }
.pkg-group .price-wide { margin-bottom: 0; }
.price-grid.price-grid-2 .price-amount strong { display: block; }
@media (min-width: 40rem) {
  .price-grid.price-grid-2,
  .price-grid.price-grid-2.swipe-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
}
@media (min-width: 60rem) {
  .pkg-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); }
  .price-grid.price-grid-2,
  .price-grid.price-grid-2.swipe-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Real estate: what's in each package, side by side */
.compare-wrap { margin-top: var(--space-xl); }
.compare { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--text-sm); }
.compare th,
.compare td { padding: var(--space-xs) var(--space-2xs); border-bottom: var(--rule-hair) solid var(--color-rule); text-align: center; vertical-align: top; overflow-wrap: anywhere; }
.compare th:first-child { width: 38%; }
.compare thead th { font-size: var(--text-xs); }
@media (min-width: 48rem) {
  .compare { font-size: var(--text-base); }
  .compare th, .compare td { padding: var(--space-sm); }
  .compare thead th { font-size: var(--text-sm); }
}
.compare th:first-child,
.compare td:first-child { text-align: left; }
.compare thead th { color: var(--color-ink); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; }
.compare .yes { color: var(--color-brand-text); font-weight: 600; }
.compare .no { color: var(--color-ink-3); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 150ms !important;
    transition-duration: 150ms !important;
  }
  .hero-copy,
  .story-dialog[open],
  .gallery-dialog[open] { animation-name: fade; }
  .vf i { transform: none !important; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Heading style: Montserrat, all caps (owner preview, 2026-10-24) ----------
   Capitals need neutral tracking instead of the tight negative spacing used for
   sentence-case headings. Keep capital headings to about 4 words; quotes and the
   purple statement stay in sentence case. */
:is(h1, h2, h3, .why-lead-copy h3, .service-row h3, .story-body h3, .promises strong) {
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.08;
}
h1 { line-height: 1; letter-spacing: -0.01em; max-width: 14ch; }
