/* Saprano Sound — editorial design system.
   Motion is limited to image reveals, the reel play affordance, and navigation
   transitions; every one of them is disabled under prefers-reduced-motion. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0a0f;
  --ink-2: #100e16;
  --panel: #17151f;
  --panel-2: #1f1c29;
  --text: #f4f0f7;
  --muted: #b8b0c2;
  --line: rgba(244, 240, 247, 0.14);
  --line-strong: rgba(244, 240, 247, 0.28);
  --purple: #7c3aed;
  --purple-text: #b695ff;
  --max: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  /* Radius scale: controls < cards < photos. Applied by role, not blanket. */
  --radius-control: 0.8rem;
  --radius-card: 1.25rem;
  --radius-photo: 1.6rem;
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-photo: 0 26px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(124, 58, 237, 0.28);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

img, video, picture, svg { display: block; max-width: 100%; }
/* Keep intrinsic aspect when the HTML width/height attributes are present (they
   exist for CLS and would otherwise apply as a fixed height on narrow viewports).
   More specific rules (.brand img, .hero-media img) still win. */
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

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

::selection { background: var(--purple); color: #fff; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  background: var(--purple);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: 0.4rem;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-text);
  margin: 0 0 1rem;
}
.eyebrow.muted { color: var(--muted); }

.lede { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 58ch; }

.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--purple);
  color: #fff;
}
/* Light sweep across the pill on hover — one composited layer, transform only. */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover { background: #6d28d9; transform: translateY(-2px); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--purple-text); color: var(--purple-text); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--purple-text);
}
.text-link .arrow { transition: transform 0.18s ease; }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Utility strip + header ---------- */

.utility {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
.utility .wrap {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  min-height: 2.4rem;
  flex-wrap: wrap;
  padding-block: 0.35rem;
}
.utility a:hover { color: var(--text); }
.utility .util-right { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 15, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand img { width: 34px; height: 34px; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name span { color: var(--purple-text); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.18s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--purple-text); text-underline-offset: 0.5em; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.72rem 0.95rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(86vh, 780px);
  min-height: min(86dvh, 780px); /* dvh tracks mobile URL-bar show/hide; vh stays as fallback */
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 10, 15, 0.72) 0%, rgba(11, 10, 15, 0.42) 38%, rgba(11, 10, 15, 0.94) 100%),
    linear-gradient(90deg, rgba(11, 10, 15, 0.7) 0%, rgba(11, 10, 15, 0) 62%);
}
.hero-copy { padding-block: clamp(4rem, 12vh, 7rem) clamp(3rem, 8vh, 5rem); max-width: 46rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1.25rem; }
.hero .lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 240, 247, 0.05);
  backdrop-filter: blur(8px);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-text);
}

/* ---------- Generic section ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-head p { color: var(--muted); max-width: 56ch; }

/* ---------- Demo reel ---------- */

.reel { background: var(--ink-2); border-block: 1px solid var(--line); }
.reel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.reel-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.reel-meta { color: var(--muted); font-size: 0.88rem; }

.video-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-photo);
  background: #000;
  overflow: hidden;
  box-shadow: var(--shadow-photo);
}
.video-frame video { width: 100%; aspect-ratio: 16 / 9; display: block; }

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(11, 10, 15, 0.28);
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.play-overlay:hover { background: rgba(11, 10, 15, 0.12); }
.play-overlay .disc {
  display: grid;
  place-items: center;
  width: clamp(64px, 9vw, 88px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}
.play-overlay:hover .disc { transform: scale(1.06); }
.play-overlay .disc svg { width: 34%; height: 34%; margin-left: 8%; }
.play-overlay[hidden] { display: none; }

.reel-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Proof strip ---------- */

.proof { background: var(--panel); border-bottom: 1px solid var(--line); }
.proof-inner {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding-block: clamp(1.5rem, 3vw, 2.1rem);
}
.proof-brand { display: flex; align-items: center; gap: 0.9rem; }
.proof-brand img { width: 44px; height: 44px; }
.proof-brand strong { display: block; font-size: 0.95rem; }
.proof-brand span { font-size: 0.8rem; color: var(--muted); }
.proof-facts { display: flex; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap; }
.proof-facts div { font-size: 0.85rem; color: var(--muted); }
.proof-facts b { display: block; color: var(--text); font-weight: 600; font-size: 0.95rem; }

/* ---------- Services (editorial rows, no cards) ---------- */

.service-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding-block: clamp(1.6rem, 3.5vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}
.service-row .index {
  font-family: var(--display);
  color: var(--purple-text);
  font-size: 1rem;
  padding-top: 0.35rem;
}
.service-row h3 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: 0.65rem; }
.service-row p { color: var(--muted); max-width: 62ch; margin: 0; }
.service-row .row-link { align-self: center; white-space: nowrap; }

.service-detail { padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--line); }
.service-detail:last-of-type { border-bottom: 0; }
.service-detail h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 1.75rem;
}
.service-grid > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .service-grid > div:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-2); }
}
.service-grid h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-text);
  margin-bottom: 0.6rem;
}
.service-grid p, .service-grid li { color: var(--muted); font-size: 0.95rem; }
.service-grid ul { margin: 0; padding-left: 1.1rem; }
.service-grid li + li { margin-top: 0.4rem; }

/* ---------- About ---------- */

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
}
.about-portrait img {
  width: 100%;
  border-radius: var(--radius-photo);
  box-shadow: var(--shadow-photo);
}
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.1rem; }
.about-copy p { color: var(--muted); }
.about-copy p + p { margin-top: 1rem; }
.about-copy .text-link { margin-top: 1.5rem; }

/* ---------- Contact ---------- */

.contact { background: var(--panel-2); border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 1.1rem; }
.contact-copy p { color: var(--muted); }
.contact-details { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-details li { display: grid; gap: 0.15rem; }
.contact-details .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-text);
}
.contact-details a { color: var(--text); }
.contact-details a:hover { color: var(--purple-text); }
.contact-details .value { color: var(--muted); }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(1.35rem, 3.5vw, 2.4rem);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field .hint { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit;
  /* 16px floor: anything smaller makes iOS Safari auto-zoom the field on focus. */
  font-size: 1rem;
  color: var(--text);
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  padding: 0.8rem 0.9rem;
  width: 100%;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--purple-text);
  outline-offset: 1px;
  border-color: var(--purple-text);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-status { font-size: 0.9rem; color: var(--purple-text); margin: 0; }
.form-status[data-state="error"] { color: #ff9a8f; }
.form-status[data-state="success"] { color: #8fe3b0; }
.form-status a { text-decoration: underline; text-underline-offset: 0.2em; }

.honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4rem) 6.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer-grid h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-grid a, .footer-grid li { color: var(--muted); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-note { color: var(--muted); font-size: 0.88rem; max-width: 42ch; margin-top: 1rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Mobile contact rail ---------- */

.mobile-rail { display: none; }

/* ---------- Reveal (motion #1) ---------- */

/* Hidden start state is gated on the `js` class (set by an inline script in each
   <head>) so content is fully visible when JavaScript never runs. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Staggered groups: children cascade in with a per-index delay set by JS. */
.js [data-stagger] > .reveal { transition-delay: calc(var(--stagger, 0) * 90ms); }

/* ---------- Inner pages ---------- */

.page-hero {
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 1.1rem; }
.page-hero .lede { max-width: 62ch; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--purple-text); }

.faq { display: grid; gap: 1.5rem; max-width: 54rem; }
.faq dt { font-family: var(--display); font-size: 1.25rem; font-weight: 560; margin-bottom: 0.4rem; }
.faq dd { margin: 0; color: var(--muted); }

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--panel) 0%, #1d1533 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
/* Soft purple bloom in the corner — static, painted once. */
.cta-band::before {
  content: "";
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  right: -18%;
  top: -70%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.38), transparent 65%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.cta-band p { color: var(--muted); margin-top: 0.5rem; }

.reel-summary { display: grid; gap: 1.25rem; max-width: 62ch; color: var(--muted); }
.reel-facts { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 0.5rem; }
.reel-facts div { font-size: 0.85rem; color: var(--muted); }
.reel-facts b { display: block; color: var(--text); font-weight: 600; }

/* ---------- Motion system: progress, floating photos, marquee, gallery ---------- */

/* Thin reading-progress bar pinned to the bottom of the sticky header. */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--purple), var(--purple-text));
  pointer-events: none;
}

/* Floating photo card. The drift animation owns this element's transform;
   scroll parallax lives on the parent .float-slot, hover scale on the img —
   three layers, no transform conflicts. */
.float-photo {
  display: block;
  border-radius: var(--radius-photo);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-photo);
  animation: drift 9s ease-in-out infinite;
}
/* The <picture> wrapper needs an explicit height so the img's percentage
   height resolves against it (percentage heights don't cross auto-height
   parents) — landscape sources otherwise render short inside the card. */
.float-photo picture {
  display: block;
  height: 100%;
}
.float-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .float-photo:hover img { transform: scale(1.05); }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--tilt, 0deg)); }
  50% { transform: translate3d(0, -10px, 0) rotate(calc(var(--tilt, 0deg) + 1.2deg)); }
}

/* Hero collage — desktop only; the hero photo carries small screens. */
.hero-floats { display: none; }
@media (min-width: 1100px) {
  .hero-floats {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }
  .hero-floats .float-slot { position: absolute; pointer-events: auto; }
  .hero-floats .fp-1 { width: clamp(140px, 14vw, 215px); top: 13%; right: 5%; }
  .hero-floats .fp-2 { width: clamp(115px, 11.5vw, 175px); top: 45%; right: 14.5%; }
  .hero-floats .fp-3 { width: clamp(110px, 11vw, 165px); bottom: 13%; right: 3.5%; }
  .hero-floats .fp-1 .float-photo { --tilt: -2.5deg; }
  .hero-floats .fp-2 .float-photo { --tilt: 2deg; animation-duration: 11.5s; animation-delay: -4s; }
  .hero-floats .fp-3 .float-photo { --tilt: -1.5deg; animation-duration: 10s; animation-delay: -2s; }
}

/* Keyword marquee band — decorative, pauses on hover, edge-masked. */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: 0.9rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
  margin: 0;
}
.marquee-group span {
  font-family: var(--display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.marquee-group span::after {
  content: "◆";
  color: var(--purple-text);
  font-size: 0.55em;
  font-family: var(--sans);
}
@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

/* Studio gallery — drifting photo row. */
.gallery { background: var(--ink-2); border-block: 1px solid var(--line); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.5rem);
  align-items: start;
}
.gallery-grid .float-photo { aspect-ratio: 4 / 5; }
.gallery-grid .float-slot:nth-child(1) .float-photo { --tilt: -2deg; }
.gallery-grid .float-slot:nth-child(2) .float-photo { --tilt: 1.6deg; animation-duration: 11s; animation-delay: -3s; margin-top: clamp(1rem, 3vw, 2.5rem); }
.gallery-grid .float-slot:nth-child(3) .float-photo { --tilt: -1.2deg; animation-duration: 10s; animation-delay: -6s; }
.gallery-grid .float-slot:nth-child(4) .float-photo { --tilt: 2.2deg; animation-duration: 12s; animation-delay: -1.5s; margin-top: clamp(0.5rem, 2vw, 1.5rem); }

/* "What happens next" steps — lead-nurturing list beside the contact form. */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.92rem;
}
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-size: 0.88rem;
  color: var(--purple-text);
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.steps b { color: var(--text); font-weight: 600; display: block; }

/* Layered figure: a small drifting accent photo overlaps the main portrait. */
.figure-stack { position: relative; }
.figure-stack .accent {
  position: absolute;
  width: clamp(96px, 12vw, 165px);
  right: -3%;
  bottom: -7%;
}
.figure-stack .accent .float-photo { --tilt: 3deg; animation-duration: 11s; }
@media (max-width: 960px) {
  .figure-stack .accent { width: clamp(90px, 26vw, 140px); right: 2%; bottom: -5%; }
}

/* Soft bloom behind inner-page heroes — static, painted once. */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  right: -12%;
  top: -80%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 65%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }

/* ---------- Trust / review banner (below the hero) ---------- */

.trust-banner {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.5rem);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}
.trust-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .trust-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-2); }
}
.trust-card .glyph {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.16);
  color: var(--purple-text);
  margin-bottom: 0.8rem;
}
.trust-card .glyph svg { width: 1.05rem; height: 1.05rem; }
.trust-card strong { display: block; font-size: 0.98rem; margin-bottom: 0.3rem; }
.trust-card span { color: var(--muted); font-size: 0.86rem; line-height: 1.55; }

/* Approved Google reviews render below the fact cards. */
.review-row {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.35rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.review-row .eyebrow { margin-bottom: 0; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.5rem);
}
.review-card { display: flex; flex-direction: column; gap: 0.65rem; }
.review-card .stars {
  color: #f5b301;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  line-height: 1;
}
.review-card blockquote { margin: 0; }
.review-card blockquote p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.review-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}
.review-card figcaption strong { margin-bottom: 0; font-size: 0.9rem; }
.review-card figcaption span { font-size: 0.8rem; }

/* ---------- Map (above the footer) ---------- */

.map-section {
  background: var(--panel-2);
  border-top: 1px solid var(--line);
}
.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
}
.map-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.map-copy p { color: var(--muted); max-width: 46ch; }
.map-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: var(--shadow-photo);
  background: var(--ink);
  aspect-ratio: 16 / 10;
  min-height: 320px;
}
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid .float-slot:nth-child(n) .float-photo { margin-top: 0; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-grid { grid-template-columns: 1fr; }
  .map-copy p { max-width: none; }
  /* Stacked layout: a consistent 4:5 portrait crop keeps figures from
     becoming a giant photo wall. No width cap — the figure fills its
     column, so there's no dead space beside it. Desktop (>960px) keeps
     the natural aspect in its two-column split. */
  .about-portrait img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 22%;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 1.1rem; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 0.5rem);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 1.1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0.5rem; }
  .nav-links a { display: inline-block; padding-block: 0.45rem; }
  .nav .btn { justify-content: center; }
  .service-row { grid-template-columns: 2.25rem 1fr; }
  .service-row .row-link { grid-column: 2; justify-self: start; margin-top: 0.35rem; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { min-height: 78vh; }
  .hero { min-height: 78dvh; }
  .utility .util-right { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 4 / 3; min-height: 260px; }
  /* comfortable tap targets for stacked footer + breadcrumb links */
  .site-footer a, .breadcrumb a { display: inline-block; padding-block: 0.5rem; }
}

/* Sticky rail covers every width where the header CTA collapses into the menu. */
@media (max-width: 820px) {
  .site-footer { padding-bottom: 7.5rem; }
  .mobile-rail {
    display: flex;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    /* clear the iPhone home-indicator area when present */
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 55;
    background: var(--purple);
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
  }
  .mobile-rail a {
    flex: 1;
    text-align: center;
    padding: 0.95rem 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
  }
  .mobile-rail a + a { border-left: 1px solid rgba(255, 255, 255, 0.35); }
  .mobile-rail a.is-secondary { background: rgba(0, 0, 0, 0.22); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .play-overlay:hover .disc { transform: none; }
  /* Continuous motion off entirely; static first frame instead. */
  .marquee-track, .float-photo { animation: none; }
  .js [data-stagger] > .reveal { transition-delay: 0ms; }
  .btn-primary::before { display: none; }
  .scroll-progress { display: none; }
}
