:root {
  --night: #0E1417;
  --granite: #1B2428;
  --fog: #C9D1D3;
  --muted-d: #A9B4B7;
  --muted-l: #5B676C;
  --snow: #F5F3EE;
  --paper: #FFFFFF;
  --amber: #E0A458;
  --amber-deep: #9A5B12;
  --pine: #24392F;
  --glacier: #6FB3B8;
  --line: #E2DED5;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Epilogue", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  --header-h: 72px;
  --bar-h: 64px;
  --max: 1240px;
  --space: clamp(64px, 9vw, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--night);
  font: 400 1.05rem/1.65 var(--font-body);
}
body.has-bar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
body.player-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
/* picture/webp wrappers keep existing img layout rules */
picture { display: contents; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip {
  position: absolute; left: 8px; top: -48px; z-index: 40;
  background: var(--amber); color: var(--night); padding: 8px 12px;
}
.skip:focus { top: 8px; }

.mono {
  font: 500 0.72rem/1.4 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: var(--space) 0; }
.dark { background: var(--night); color: var(--snow); }
.light { background: var(--snow); color: var(--night); }
.pine { background: var(--pine); color: var(--snow); }
section[id] { scroll-margin-top: 84px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(2.75rem, 6vw, 5.1rem);
  line-height: 1.04;
  max-width: none;
  font-weight: 520;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  max-width: 16ch;
  font-weight: 560;
}
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; }
p { max-width: 62ch; }
.lede { font-size: 1.15rem; max-width: 38rem; color: var(--fog); }
.light .lede { color: var(--muted-l); }
.kicker { color: var(--amber); margin: 0 0 14px; }
.light .kicker { color: var(--amber-deep); }
.why-banner {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 100%;
  margin-bottom: 20px;
}
.why-banner .kicker {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 12px 22px;
  background: var(--amber);
  color: var(--night);
  border-radius: 999px;
  display: inline-block;
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(14, 20, 23, 0.88);
  color: var(--snow);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 209, 211, 0.1);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 22px;
  width: min(1440px, calc(100% - 32px));
}
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
nav { display: flex; gap: 22px; margin-left: auto; }
nav a {
  color: var(--fog); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
nav a:hover { color: var(--snow); }
.header-phone {
  color: var(--fog);
  font-size: 0.95rem;
  white-space: nowrap;
  text-decoration: none;
}
a.header-phone:hover { color: var(--snow); }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  border: 1px solid rgba(201,209,211,.3);
  background: transparent; color: var(--snow);
  border-radius: 8px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
  display: block; width: 18px; height: 1.5px; background: var(--snow); position: relative;
}
.nav-toggle span:before, .nav-toggle span:after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span:before { top: -6px; }
.nav-toggle span:after { top: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border-radius: 6px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--amber); color: var(--night); }
.btn-primary:hover { filter: brightness(0.92); }
.btn-secondary { background: transparent; color: var(--snow); border-color: rgba(245,243,238,.7); }
.light .btn-secondary {
  color: var(--night);
  border-color: rgba(14, 20, 23, 0.55);
}
.light .btn-secondary:hover {
  border-color: var(--amber-deep);
  color: var(--amber-deep);
}
.pine .btn-secondary { color: var(--snow); border-color: rgba(245,243,238,.7); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--glacier); outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--snow);
  background: var(--night);
  overflow: hidden;
}
.hero video,
.hero .hero-media,
.hero .hero-still {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
.hero-media {
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 0;
}
.hero-media.is-active {
  opacity: 1;
}
.hero-media-hq {
  z-index: 0;
}
.hero-media-lq.is-active { z-index: 1; }
.hero-media-hq.is-active { z-index: 2; }

/* Delayed spin mark — only if LQ takes a while */
.hero-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  place-content: center;
  gap: 14px;
  pointer-events: none;
  background: rgba(14, 20, 23, 0.35);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hero-loader.is-on {
  opacity: 1;
}
.hero-loader[hidden] {
  display: none !important;
}
.hero-loader-mark {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.45));
  animation: hero-logo-spin 1.1s linear infinite;
}
.hero-loader-label {
  color: rgba(245, 243, 238, 0.72);
  letter-spacing: 0.16em;
  font-size: 0.68rem;
}
@keyframes hero-logo-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-loader-mark { animation: none; }
  .hero-media { transition: none; }
}
.hero .scrim {
  position: absolute; inset: 0;
  z-index: 4;
  background:
    linear-gradient(180deg, rgba(14,20,23,.28) 0%, rgba(14,20,23,.08) 36%, rgba(14,20,23,.78) 100%);
}
.hero .wrap { position: relative; padding-bottom: 72px; z-index: 5; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
/* Mobile vertical hero masters are 9:16 — less side-crop than landscape cover */
@media (max-width: 700px) {
  .hero-media {
    object-position: center center;
  }
}
.hero-pause {
  min-height: 44px;
  min-width: 44px;
  padding: 10px;
  border: 1.5px solid rgba(245,243,238,.45);
  border-radius: 999px;
  background: rgba(14,20,23,.35);
  color: var(--snow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  backdrop-filter: blur(6px);
}
.hero-pause:hover {
  color: var(--night);
  background: var(--amber);
  border-color: var(--amber);
  opacity: 1;
}
.hero-pause-icon { display: block; }
.hero-pause[data-state="playing"] .hero-pause-icon-play { display: none; }
.hero-pause[data-state="paused"] .hero-pause-icon-pause { display: none; }
.hero-pause[data-state="paused"] .hero-pause-icon-play { display: block; }

.proof { padding: 22px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Best of Flathead scroll stage — pinned frame, art sweeps L→R, exit collapses */
.bof-stage {
  position: relative;
  background: var(--night);
  color: var(--snow);
  /* longer runway = slower card enter/exit vs scroll; collapse still kills the blank exit beat */
  height: 260vh;
  --bof-collapse: 0;
}
.bof-stage-space { display: none; }
.bof-stage-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  isolation: isolate;
  padding:
    max(88px, env(safe-area-inset-top, 0px) + 72px)
    20px
    max(56px, env(safe-area-inset-bottom, 0px) + 28px);
  box-sizing: border-box;
  transform-origin: 50% 40%;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.bof-stage.is-exiting .bof-stage-pin {
  /* scaled/faded by JS; keep paint sharp while collapsing */
  box-shadow: 0 30px 80px rgba(0, 0, 0, calc(var(--bof-collapse) * 0.45));
}
.bof-stage-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(224,164,88,.16), transparent 62%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(36,57,47,.45), transparent 55%),
    linear-gradient(180deg, #0b1013 0%, #0e1417 45%, #121a1e 100%);
  z-index: 0;
  opacity: calc(1 - (var(--bof-collapse) * 0.35));
}
.bof-stage-copy {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  /* JS drives opacity/transform on scroll so exit fade stays locked to collapse */
  margin: 0 0 12px;
  will-change: opacity, transform;
}
.bof-stage.is-static .bof-stage-copy {
  opacity: 1;
  transform: none;
}
.bof-stage-kicker {
  margin: 0 0 8px;
  color: var(--amber);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.bof-stage-title {
  margin: 0;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-weight: 560;
  font-size: clamp(1.55rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.bof-stage-sub {
  margin: 8px 0 0;
  color: var(--fog);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
}
.bof-stage-track {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  /* keep the flying card inside the middle band under the title */
  overflow: hidden;
}
.bof-stage-card {
  margin: 0;
  /* leave room for title + hint; never fill full viewport height on desktop */
  --bof-size: min(78vw, calc(100svh - 250px), 560px);
  width: var(--bof-size);
  height: var(--bof-size);
  will-change: transform;
  transform: translate3d(-120vw, 0, 0) rotate(-4deg) scale(0.92);
  filter: drop-shadow(0 28px 60px rgba(0,0,0,.55));
}
.bof-stage-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(224,164,88,.45);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 24px 80px rgba(0,0,0,.5);
}
.bof-stage-hint {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 12px 0 0;
  color: rgba(201,209,211,.72);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  opacity: 0;
  /* JS drives opacity with the collapse timeline */
  pointer-events: none;
  will-change: opacity;
}
.bof-stage.is-done .bof-stage-hint { opacity: 0; }

/* reduced motion / no-js: static centered card, short section */
.bof-stage.is-static {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
}
.bof-stage.is-static .bof-stage-pin {
  position: relative;
  height: auto;
  min-height: calc(100svh - 40px);
  padding-top: max(96px, env(safe-area-inset-top, 0px) + 80px);
  padding-bottom: 72px;
  transform: none !important;
  opacity: 1 !important;
  border-radius: 0 !important;
}
.bof-stage.is-static .bof-stage-card {
  transform: none !important;
  --bof-size: min(88vw, 560px);
  height: auto;
  aspect-ratio: 1;
}
.bof-stage.is-static .bof-stage-hint { display: none; }

.award-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 0;
  max-width: 42rem;
}
.award-inline p { margin: 0; }
.bof-badge-inline {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(14,20,23,.12);
  border: 1px solid rgba(224, 164, 88, 0.35);
}
.bof-badge-lg {
  width: 200px;
  height: 200px;
}
.award-inline-press { margin: 16px 0 18px; max-width: none; }
.award-inline-press .bof-badge-inline { width: 200px; height: 200px; }

@media (max-width: 700px) {
  /* mobile: still long enough to read, not so long the blank gap returns */
  .bof-stage { height: 220vh; }
  .bof-stage-pin {
    padding-top: max(76px, env(safe-area-inset-top, 0px) + 64px);
    padding-bottom: max(72px, env(safe-area-inset-bottom, 0px) + 52px);
  }
  .bof-stage-card {
    /* mobile was already good — allow a bit larger again */
    --bof-size: min(88vw, calc(100svh - 220px), 520px);
  }
  .bof-stage-title {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }
  .award-inline { align-items: flex-start; }
  .bof-badge-inline { width: 88px; height: 88px; }
  .award-inline-press .bof-badge-inline,
  .bof-badge-lg { width: 140px; height: 140px; }
}

@media (min-width: 1100px) {
  .bof-stage-card {
    --bof-size: min(62vw, calc(100svh - 280px), 540px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bof-stage { height: auto; }
}
.chip {
  border: 1px solid rgba(201, 209, 211, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--fog);
  text-decoration: none;
}
a.chip:hover { color: var(--snow); border-color: var(--amber); }

.stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  color: var(--snow);
  text-decoration: none;
  background: var(--granite);
  min-height: 280px;
}
.frame img {
  width: 100%; height: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.frame:hover img, .frame:focus-visible img { transform: scale(1.045); }
.frame-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(14,20,23,.82));
}
.frame-copy strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.frame-copy p { margin: 6px 0 0; color: var(--fog); font-size: 0.95rem; }

.film-head {
  display: flex; justify-content: space-between; gap: 24px; align-items: end;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 8px;
}
.rail-nav { display: flex; gap: 10px; }
.rail-nav button {
  min-height: 44px; padding: 0 16px;
  border-radius: 6px;
  border: 1.5px solid rgba(245,243,238,.4);
  background: transparent; color: var(--snow);
  cursor: pointer;
}
.film-rail {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 28px max(20px, calc((100% - 1240px) / 2)) 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--amber) transparent;
}
.film-rail.is-auto {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.film-rail.is-paused {
  cursor: grab;
}
.shot {
  flex: 0 0 min(78vw, 860px);
  scroll-snap-align: start;
  position: relative;
  border: 0; padding: 0;
  background: var(--granite);
  color: var(--snow);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}
.shot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.shot.is-vertical {
  flex: 0 0 min(42vw, 360px);
}
.shot.is-vertical img {
  aspect-ratio: 9/16;
  object-position: center top;
}
.shot .play {
  position: absolute; left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--amber); color: var(--night);
  display: grid; place-items: center;
  font-size: 1.35rem;
}
.shot .dur {
  position: absolute; left: 14px; bottom: 78px;
  background: rgba(14,20,23,.72);
  padding: 4px 8px; border-radius: 4px;
}
.shot figcaption, .shot .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(14,20,23,.88));
}
.shot .cap strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.cols3, .steps { display: grid; gap: 22px; margin-top: 28px; }
.cols3 { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: repeat(4, 1fr); }
.step { border-top: 1px solid var(--line); padding-top: 14px; }
.step .mono, .cols3 .mono { color: var(--amber-deep); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, 24vw);
  gap: 12px;
  margin-top: 32px;
}
.work-grid .tile-feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
}
.tile {
  position: relative; overflow: hidden; border-radius: 12px; min-height: 180px;
  display: block;
  color: var(--snow);
  text-decoration: none;
  background: var(--granite);
}
.tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile picture { position: absolute; inset: 0; display: block; }
.tile picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile span {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 36px 14px 14px;
  color: var(--snow);
  background: linear-gradient(180deg, transparent, rgba(14,20,23,.88));
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
  line-height: 1.15;
}
.tile span .mono,
.tile span em.mono {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.pkg {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 100%;
}
.pkg.is-recommended {
  border-color: rgba(224, 164, 88, 0.65);
  box-shadow: 0 0 0 1px rgba(224, 164, 88, 0.25), 0 12px 28px rgba(14, 20, 23, 0.06);
  background: linear-gradient(180deg, #fffdf8 0%, var(--paper) 48%);
}
.pkg .price {
  font: 500 1.05rem/1.3 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.pkg ul { margin: 8px 0 0; padding-left: 18px; flex: 1; }
.pkg .pkg-cta { margin-top: auto; align-self: stretch; width: 100%; }
.ribbon { color: var(--pine); }
.quiet {
  color: var(--muted-l);
  font-size: 0.95rem;
  margin-top: 8px;
}
.addon { width: 100%; border-collapse: collapse; margin-top: 28px; background: var(--paper); }
.addon th, .addon td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.addon th { font: 500 0.72rem/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }

.review-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.review-nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.review-nav button, .review-nav a {
  min-height: 44px; padding: 0 16px; border-radius: 6px;
  border: 1.5px solid var(--night); background: transparent; color: var(--night);
  font: 600 0.95rem/1 var(--font-body); text-decoration: none;
  display: inline-flex; align-items: center; cursor: pointer;
}
.review-nav a { background: var(--amber); border-color: var(--amber); }
.review-rail {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 28px max(20px, calc((100% - 1240px) / 2)) 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--amber) transparent;
}
.review-rail.is-auto {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.review-rail.is-paused {
  cursor: grab;
}
.review-card {
  flex: 0 0 min(420px, 84vw);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: flex; flex-direction: column;
}
.review-card .q {
  font-family: var(--font-display);
  font-size: 3rem; line-height: 1; color: var(--amber);
  margin: 0;
}
.review-card .mono { color: var(--amber-deep); }
.review-card blockquote { margin: 8px 0 16px; font-size: 1.05rem; line-height: 1.5; }
.review-card .who { margin-top: auto; font-weight: 600; }
.review-card .who span { display: block; font-weight: 400; color: var(--muted-l); font-size: 0.9rem; }

.area-grid {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}
.mt-map { position: relative; aspect-ratio: 1000 / 520; }
.mt-frame { position: absolute; inset: 0; }
.mt-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--granite);
  clip-path: url(#mt-clip);
  /* isolate so Ken Burns composites cleanly inside the state clip */
  isolation: isolate;
  transform: translateZ(0);
}
.mt-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity .45s ease;
  /* promote layer so opacity fade doesn't thrash the zoom transform */
  transform: translateZ(0);
}
.mt-shot.is-on { opacity: 1; }
.mt-shot img, .mt-shot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}
/* Still Ken Burns: animate the picture/blurup wrapper (one layer), not the img.
   ease-in-out + alternate = smooth turnaround (no mid-keyframe velocity snap). */
.mt-shot.is-still > picture,
.mt-shot.is-still > .blurup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: translate3d(0, 0, 0) scale(1.06);
  transform-origin: 50% 45%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.mt-shot.is-still img {
  /* img stays locked; wrapper does the motion (kills double-transform jitter) */
  transform: none !important;
  animation: none !important;
  will-change: auto;
}
.mt-shot.is-still.is-on > picture,
.mt-shot.is-still.is-on > .blurup {
  animation: mt-ken 28s ease-in-out infinite alternate;
}
.mt-shot.is-still[data-city="elmo"].is-on > picture,
.mt-shot.is-still[data-city="elmo"].is-on > .blurup {
  animation-name: mt-ken-b;
  transform-origin: 42% 48%;
}
.mt-shot.is-still[data-city="polson"].is-on > picture,
.mt-shot.is-still[data-city="polson"].is-on > .blurup {
  animation-name: mt-ken-c;
  transform-origin: 58% 40%;
}
.mt-shot.is-still[data-city="plains"].is-on > picture,
.mt-shot.is-still[data-city="plains"].is-on > .blurup {
  animation-name: mt-ken-d;
  transform-origin: 48% 52%;
}
.mt-shot.is-still[data-city="hungry-horse"].is-on > picture,
.mt-shot.is-still[data-city="hungry-horse"].is-on > .blurup {
  animation-name: mt-ken-b;
  transform-origin: 55% 38%;
}
/* One-way path; alternate plays it back. Slightly more travel than before, but eased. */
@keyframes mt-ken {
  from { transform: translate3d(0, 0, 0) scale(1.06); }
  to   { transform: translate3d(-3.2%, -2.4%, 0) scale(1.22); }
}
@keyframes mt-ken-b {
  from { transform: translate3d(1.6%, 0.6%, 0) scale(1.07); }
  to   { transform: translate3d(-2.6%, -2.8%, 0) scale(1.24); }
}
@keyframes mt-ken-c {
  from { transform: translate3d(-1.4%, 0.8%, 0) scale(1.06); }
  to   { transform: translate3d(3%, -2.2%, 0) scale(1.23); }
}
@keyframes mt-ken-d {
  from { transform: translate3d(0.8%, -0.6%, 0) scale(1.07); }
  to   { transform: translate3d(-2.4%, 2.6%, 0) scale(1.24); }
}
.mt-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.mt-land {
  fill: none;
  stroke: var(--glacier);
  stroke-width: 1.5px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.mt-word {
  fill: var(--fog);
  fill-opacity: 0.22;
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: -0.03em;
  transition: opacity .3s ease;
}
.mt-map.is-filled .mt-word { opacity: 0; }
.mt-dots { position: absolute; inset: 0; z-index: 2; }
.mt-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--glacier);
  box-shadow: 0 0 0 3px rgba(14, 20, 23, .55);
  cursor: pointer;
}
.mt-dot::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
}
.mt-dot.home { background: var(--amber); }
.mt-dot.is-on, .mt-dot:hover, .mt-dot:focus-visible {
  background: var(--amber);
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  z-index: 3;
  box-shadow: 0 0 0 5px rgba(224, 164, 88, .35);
}
.mt-readout {
  margin: 12px 0 0;
  color: var(--amber);
  min-height: 1.2em;
}
.town-label {
  margin: 0 0 10px;
  color: var(--fog);
}
.towns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
}
.towns button {
  background: transparent;
  border: 0;
  color: var(--fog);
  font: 500 0.78rem/1.3 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 0;
  cursor: pointer;
}
.towns button.home { color: var(--snow); }
.towns button.is-on, .towns button:hover, .towns button:focus-visible { color: var(--amber); }
.towns button:focus-visible, .mt-dot:focus-visible { outline: 3px solid var(--glacier); outline-offset: 2px; }
.home-tag { margin-left: 8px; letter-spacing: 0.12em; opacity: 0.75; }
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.pilot-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 70% 42%;
  border-radius: 14px;
}
.about-more-row { margin-top: 22px; }
.btn-more {
  background: transparent;
  color: var(--night);
  border-color: rgba(14, 20, 23, 0.55);
  min-width: 7.5rem;
}
.btn-more:hover { border-color: var(--amber-deep); color: var(--amber-deep); }

/* About page */
.page-about .site-header + .about-crumbs,
.page-about main > .about-crumbs {
  padding-top: 18px;
  padding-bottom: 0;
}
.about-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font: 500 0.78rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-l);
}
.about-crumbs a {
  color: var(--amber-deep);
  text-decoration: none;
}
.about-crumbs a:hover { text-decoration: underline; }
.about-crumbs-dark {
  color: var(--muted-d);
  margin-bottom: 28px;
}
.about-crumbs-dark a { color: var(--amber); }
.page-about .about-hero {
  padding-top: calc(var(--space) * 0.42);
  padding-bottom: calc(var(--space) * 0.72);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.about-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
}
.about-lead { color: var(--fog); max-width: 46ch; margin-top: 0; }
.about-role-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-width: 36rem;
}
.about-role-list li {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(201, 209, 211, 0.22);
  border-radius: 999px;
  color: var(--fog);
  font: 500 0.78rem/1.35 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about-hero-photo { margin: 0; }
.about-story {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.about-wide { max-width: 68ch; }
.about-aside {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 10px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.about-aside .mono { color: var(--amber-deep); margin: 0 0 12px; }
.about-aside ul { list-style: none; margin: 0; padding: 0; }
.about-aside li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.about-aside li:first-of-type { border-top: 0; }
.about-aside strong { font-weight: 600; }
.about-aside a { color: var(--amber-deep); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.about-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  min-height: 100%;
}
.about-grid .mono { color: var(--amber-deep); margin: 0 0 8px; }
.about-grid h3 { margin-bottom: 8px; max-width: none; }
.about-grid p { margin: 0; color: var(--muted-l); }
.about-montana .btn-secondary {
  margin-top: 8px;
  color: var(--snow);
  border-color: rgba(245, 243, 238, 0.7);
}
.about-place { margin: 0; }
.about-place img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 14px;
}
.about-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.about-quotes blockquote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-quotes p { margin: 0; max-width: none; }
.about-quotes footer {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
}
.about-quotes footer span {
  display: block;
  font-weight: 400;
  color: var(--muted-l);
  font-size: 0.88rem;
}
.about-links { margin-top: 22px; color: var(--muted-l); }
.about-links a { color: var(--amber-deep); font-weight: 600; }
.about-press {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}
.about-press-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-press-card .mono { color: var(--amber-deep); margin: 0; }
.about-press-card h3 { margin: 0; max-width: none; }
.about-press-card p { margin: 0; color: var(--muted-l); }
.about-press-card a {
  margin-top: auto;
  color: var(--amber-deep);
  font-weight: 600;
  text-decoration: none;
}
.about-press-card a:hover { text-decoration: underline; }
.about-connect {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.about-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.about-social a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 16px 18px;
  min-height: 64px;
}
.about-social a:hover { border-color: var(--amber); }
.about-social .mono {
  color: var(--amber-deep);
  margin: 0;
  flex: 0 0 auto;
}
.about-social a > span:last-child {
  color: var(--night);
  font-weight: 600;
  text-align: right;
}
.about-close-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.about-close-nap {
  margin-top: 18px;
  color: var(--fog);
  max-width: none;
}
.about-close-nap a { color: var(--amber); }
nav a[aria-current="page"] { color: var(--snow); }

@media (max-width: 900px) {
  .about-hero-grid,
  .about-story,
  .about-grid,
  .about-quotes,
  .about-press,
  .about-connect { grid-template-columns: 1fr; }
  .about-aside { position: static; }
  .about-aside li { grid-template-columns: 1fr; gap: 4px; }
  .about-place img { aspect-ratio: 16/10; }
  .about-social a { flex-direction: column; align-items: flex-start; }
  .about-social a > span:last-child { text-align: left; }
}
details { border-top: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 22px;
  align-items: start;
}
.form label {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 6px;
  font-size: 0.92rem;
  min-width: 0;
}
.form label .field-label {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0 0.15em;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
}
.form label .req {
  color: var(--amber-deep);
  font-weight: 700;
  margin-left: 0.15em;
}
.form input, .form select, .form textarea {
  min-height: 52px; border: 1px solid #3A474D; border-radius: 8px;
  padding: 10px 12px; background: var(--paper); color: var(--night);
  width: 100%;
  box-sizing: border-box;
}
.form textarea { min-height: 120px; }
.form .full { grid-column: 1 / -1; }

.site-footer { background: var(--night); color: var(--fog); padding: 48px 0 32px; }
.site-footer a { color: var(--amber); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.wordmark { font-family: var(--font-display); font-weight: 560; letter-spacing: -0.02em; font-size: 1.35rem; color: var(--snow); }

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 18;
  background: var(--granite); border-top: 1px solid rgba(201,209,211,.16);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  flex: 1; min-height: 52px; display: grid; place-items: center;
  color: var(--snow); text-decoration: none; font-weight: 600;
}
.mobile-bar a.quote { background: var(--amber); color: var(--night); }

.player {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(8, 10, 12, .88);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.player.is-open { display: flex; }
.player-card { width: min(1100px, 100%); }
.player video { width: 100%; max-height: 78vh; background: #000; border-radius: 10px; }
.player-bar {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--snow); margin-bottom: 10px; gap: 12px;
}
.player-bar button {
  min-height: 44px; padding: 0 14px; border-radius: 6px;
  border: 1px solid rgba(245,243,238,.4); background: transparent; color: var(--snow); cursor: pointer;
}

.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }

@media (max-width: 900px) {
  nav, .header-phone, .site-header .btn-primary { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--night); padding: 18px 22px 28px; gap: 16px; z-index: 19;
    border-bottom: 1px solid rgba(201,209,211,.12);
  }
  .stage, .packages, .cols3 { grid-template-columns: 1fr; }
  .steps, .split, .foot-grid, .form, .film-head, .review-head { grid-template-columns: 1fr; display: grid; }
  .work-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(180px, 42vw);
  }
  .work-grid .tile-feature {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 260px;
  }
  .work-grid .tile { min-height: 180px; }
}
@media (max-width: 520px) {
  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, 58vw);
  }
  .work-grid .tile-feature {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }
  .mobile-bar { display: flex; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn, .hero .actions .hero-pause { width: 100%; }
  .hero .wrap { padding-bottom: calc(96px + var(--bar-h)); }
}
@media (max-width: 860px) {
  .towns { gap: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .frame img { transition: none; }
  .mt-shot { transition: none; }
  .mt-shot video { display: none; }
  .mt-shot.is-still > picture,
  .mt-shot.is-still > .blurup {
    animation: none !important;
    transform: none !important;
  }
  .mt-shot.is-still img { animation: none; transform: none; }
}

/* ===== GALLERY PAGE ===== */
.page-gallery { background: var(--night); color: var(--snow); }
.page-gallery .gallery-hero {
  padding-top: calc(var(--space) * 0.42);
  padding-bottom: calc(var(--space) * 0.55);
}
.page-gallery .gallery-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}
.gallery-hero-chips { margin-top: 28px; }
.gallery-filters {
  position: sticky;
  top: var(--header-h);
  z-index: 15;
  background: rgba(14, 20, 23, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 209, 211, 0.1);
  padding: 12px 0;
  transition: box-shadow .25s ease;
}
.gallery-filters.is-stuck {
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.gallery-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.g-filter {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 209, 211, 0.28);
  background: transparent;
  color: var(--fog);
  font: 500 0.72rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.g-filter:hover { color: var(--snow); border-color: var(--amber); }
.g-filter.is-on {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--night);
}
.g-count {
  margin: 0 0 0 auto;
  color: var(--muted-d);
}
.gallery-section-head { margin-bottom: 28px; }
.gallery-section-head h2 { max-width: 18ch; }
.gallery-feature .gallery-section-head h2 { max-width: 22ch; }
.gallery-feature {
  border-top: 1px solid rgba(255,255,255,.08);
}
/* Toyota social-proof band — distinct plate behind head + tiles */
.gallery-feature-toyota {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(224, 164, 88, 0.10), transparent 55%),
    linear-gradient(180deg, #152026 0%, #10181c 48%, #0c1215 100%);
  border-top: 1px solid rgba(224, 164, 88, 0.16);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding-top: calc(var(--space) * 0.85);
  padding-bottom: calc(var(--space) * 0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.gallery-feature-toyota .gallery-section-head .lede {
  color: rgba(201, 209, 211, 0.88);
}
.gallery-feature-toyota .g-more.btn-secondary {
  border-color: rgba(224, 164, 88, 0.35);
  color: var(--snow);
}
.gallery-feature-toyota .g-more.btn-secondary:hover,
.gallery-feature-toyota .g-more.btn-secondary:focus-visible {
  border-color: var(--amber);
  color: var(--amber);
}

/* Commercial stills band — cool teal plate (readable vs flat night; distinct from Toyota amber) */
.gallery-still-group.gallery-still-commercial {
  background:
    radial-gradient(90% 80% at 70% -5%, rgba(94, 178, 210, 0.28), transparent 58%),
    radial-gradient(70% 60% at 10% 100%, rgba(56, 120, 148, 0.16), transparent 50%),
    linear-gradient(180deg, #1c303a 0%, #15262e 42%, #101c24 100%);
  border-top: 1px solid rgba(110, 190, 220, 0.32);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: calc(var(--space) * 0.85) 0;
  margin-top: 40px;
  margin-bottom: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    inset 0 -1px 0 rgba(0,0,0,.25);
}
.gallery-still-group.gallery-still-commercial .gallery-group-head .kicker {
  color: #8fd0e6;
}
.gallery-still-group.gallery-still-commercial .gallery-group-lede {
  color: rgba(210, 220, 224, 0.9);
}
.gallery-still-group.gallery-still-commercial .g-more.btn-secondary {
  border-color: rgba(110, 190, 220, 0.42);
}
.gallery-still-group.gallery-still-commercial .g-more.btn-secondary:hover,
.gallery-still-group.gallery-still-commercial .g-more.btn-secondary:focus-visible {
  border-color: #9ad7ea;
  color: #9ad7ea;
}
.gallery-film-group,
.gallery-still-group {
  margin-top: 28px;
}
.gallery-film-group[hidden],
.gallery-still-group[hidden],
.g-showoff[hidden] {
  display: none !important;
}
.gallery-group-head {
  margin-bottom: 14px;
}
.gallery-group-head .kicker {
  margin-bottom: 4px;
}
.gallery-group-lede {
  margin: 0;
  max-width: 52ch;
  color: var(--fog);
  font-size: 0.98rem;
}
/* Rotating shoot-tag line — full bleed, even columns ≥ longest label */
.g-rotags {
  width: 100vw;
  max-width: 100vw;
  margin: 18px 0 28px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 22px clamp(10px, 1.6vw, 28px) 26px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 70%);
}
.g-rotags-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: stretch;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.55em;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  color: var(--fog);
  font-size: clamp(0.7rem, 0.95vw, 0.88rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.g-rotags-line::-webkit-scrollbar { display: none; }
/* Even sections: width set in JS from max(label, 100%/n) */
.g-rotags-slot {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 2.45em;
  justify-items: center;
  align-items: center;
  flex: 0 0 auto;
  width: var(--rotags-slot-w, 12rem);
  min-width: var(--rotags-slot-w, 12rem);
  max-width: var(--rotags-slot-w, 12rem);
  box-sizing: border-box;
  padding: 0 0.75em;
  overflow: hidden;
  text-align: center;
}
.g-rotags-slot.is-chip {
  border-radius: 999px;
  background: rgba(224, 164, 88, 0.16);
  border: 1px solid rgba(224, 164, 88, 0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.g-rotags-slot.is-chip > span {
  color: #f0c48a;
}
.g-rotags-slot.is-plain {
  background: transparent;
  border: 1px solid transparent;
}
.g-rotags-slot.is-plain > span {
  color: rgba(186, 210, 218, 0.92);
}
.g-rotags-slot > span {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0 0.15em;
  margin: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 1.35s ease, transform 1.35s ease;
  pointer-events: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 2.45em;
  overflow: hidden;
  text-overflow: clip;
  text-align: center;
  box-sizing: border-box;
}
.g-rotags-slot > span.is-on {
  opacity: 1;
  transform: translateY(0);
}
/* Measure node for longest-tag width */
.g-rotags-measure {
  position: absolute;
  left: -99999px;
  top: 0;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (prefers-reduced-motion: reduce) {
  .g-rotags-slot > span {
    transition: none;
  }
}
.gallery-film-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}
/* 1 landscape (or card): don't leave a lonely 1/3-width stub */
.gallery-film-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}
.gallery-film-grid:has(> :only-child) > .g-film,
.gallery-film-grid:has(> :only-child) > .g-film-card {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}
.gallery-film-grid:has(> :only-child) > .g-film.is-vertical,
.gallery-film-grid:has(> :only-child) > .g-film-card:has(.is-vertical) {
  width: min(100%, 280px);
  max-width: 280px;
  justify-self: center;
}
/* 2 kids, both landscape: equal pair */
.gallery-film-grid:has(> :nth-child(2):last-child):not(:has(.is-vertical)) {
  grid-template-columns: repeat(2, 1fr);
  max-width: none;
}
/* 2 kids with a vertical: desktop side-by-side (matched ~height), mobile stack */
.gallery-film-grid:has(> :nth-child(2):last-child):has(.is-vertical) {
  grid-template-columns: minmax(0, 1fr) min(280px, 34vw);
  max-width: none;
  align-items: start;
}
.gallery-film-grid:has(> :nth-child(2):last-child):has(.is-vertical) > .g-film:not(.is-vertical),
.gallery-film-grid:has(> :nth-child(2):last-child):has(.is-vertical) > .g-film-card:not(:has(.is-vertical)) {
  grid-column: auto;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}
.gallery-film-grid:has(> :nth-child(2):last-child):has(.is-vertical) > .g-film.is-vertical,
.gallery-film-grid:has(> :nth-child(2):last-child):has(.is-vertical) > .g-film-card:has(.is-vertical) {
  grid-column: auto;
  width: 100%;
  max-width: 280px;
  justify-self: stretch;
}
@media (max-width: 700px) {
  .gallery-film-grid:has(> :nth-child(2):last-child):has(.is-vertical) {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .gallery-film-grid:has(> :nth-child(2):last-child):has(.is-vertical) > .g-film.is-vertical,
  .gallery-film-grid:has(> :nth-child(2):last-child):has(.is-vertical) > .g-film-card:has(.is-vertical) {
    width: min(100%, 280px);
    justify-self: center;
  }
}
/* Exactly 4 landscape thumbs: 2x2, no orphan hole */
.gallery-film-grid:has(> :nth-child(4):last-child):not(:has(.is-vertical)) {
  grid-template-columns: repeat(2, 1fr);
  max-width: none;
}
@media (min-width: 1001px) {
  .gallery-film-grid:has(> :nth-child(4):last-child):not(:has(.is-vertical)) {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-film-grid:has(> :nth-child(4):last-child):not(:has(.is-vertical)) > .g-film,
  .gallery-film-grid:has(> :nth-child(4):last-child):not(:has(.is-vertical)) > .g-film-card {
    grid-column: span 1;
  }
}

@media (min-width: 1001px) {
  .gallery-film-grid:has(.g-film:nth-child(4)),
  .gallery-film-grid:has(.g-film-card:nth-child(4)) {
    grid-template-columns: repeat(6, 1fr);
    max-width: none;
  }
  .gallery-film-grid:has(.g-film:nth-child(4)) > .g-film,
  .gallery-film-grid:has(.g-film:nth-child(4)) > .g-film-card,
  .gallery-film-grid:has(.g-film-card:nth-child(4)) > .g-film,
  .gallery-film-grid:has(.g-film-card:nth-child(4)) > .g-film-card {
    grid-column: span 2;
  }
  /* Vertical films: own full row — never leave black side holes */
  .gallery-film-grid:has(.g-film:nth-child(4)) > .g-film.is-vertical,
  .gallery-film-grid:has(.g-film:nth-child(4)) > .g-film-card:has(.is-vertical),
  .gallery-film-grid:has(.g-film-card:nth-child(4)) > .g-film.is-vertical,
  .gallery-film-grid:has(.g-film-card:nth-child(4)) > .g-film-card:has(.is-vertical) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 280px);
  }
}
.g-film {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--granite);
  color: var(--snow);
  cursor: pointer;
  text-align: left;
  /* aspect on the button — blur-up makes img absolute, which used to collapse cards to 0 height */
  aspect-ratio: 16 / 9;
}
.g-film.is-vertical {
  aspect-ratio: 9 / 16;
  width: min(100%, 280px);
  max-width: 280px;
  justify-self: center;
}
/* Vertical films take a full row in multi-item grids — not when paired 1 landscape + 1 vertical */
.gallery-film-grid:not(:has(> :nth-child(2):last-child)) > .g-film.is-vertical,
.gallery-film-grid:not(:has(> :nth-child(2):last-child)) > .g-film-card:has(.is-vertical) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 280px);
}
.g-film-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  align-self: start;
  align-items: center;
}
.g-film-card .g-film {
  width: 100%;
}
.g-film-card .g-film-client {
  text-align: center;
  width: 100%;
}
.g-film-card[hidden] {
  display: none !important;
}
.g-film-client {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fog);
}
.g-film-client a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.g-film-client a:hover,
.g-film-client a:focus-visible {
  color: var(--snow);
}
.g-film img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.g-film > picture {
  display: block;
  width: 100%;
  height: 100%;
}
.g-film > picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-film:hover img, .g-film:focus-visible img { transform: scale(1.04); }
.g-play {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.g-play::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 24px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent var(--night);
}
.g-dur {
  position: absolute;
  left: 14px;
  bottom: 86px;
  background: rgba(14,20,23,.72);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--fog);
}
.g-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(14,20,23,.88));
  display: grid;
  gap: 4px;
}
.g-cap .mono { color: var(--amber); margin: 0; }
.g-cap strong {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
  color: var(--snow);
}
.g-cap em {
  font-style: normal;
  color: var(--fog);
  font-size: 0.92rem;
}

.gallery-board {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  grid-auto-flow: dense;
  padding-bottom: 8px;
}
.g-tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--granite);
  color: var(--snow);
  cursor: pointer;
  text-align: left;
  min-height: 0;
}
/* .g-tile/.g-film { display:block } beats UA [hidden]; filters looked dead */
.g-tile[hidden],
.g-film[hidden],
.gallery-films[hidden] {
  display: none;
}
.g-tile.span-12 { grid-column: span 12; }
.g-tile.span-8 { grid-column: span 8; }
.g-tile.span-6 { grid-column: span 6; }
.g-tile.span-5 { grid-column: span 5; }
.g-tile.span-4 { grid-column: span 4; }
.g-tile.span-3 { grid-column: span 3; }
.g-tile.landscape { aspect-ratio: 16 / 10; }
.g-tile.tall { aspect-ratio: 4 / 5; }
/* Keep picture in normal flow so the tile aspect box stays solid */
.g-tile > picture {
  display: block;
  width: 100%;
  height: 100%;
}
.g-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.g-tile:hover img, .g-tile:focus-visible img { transform: scale(1.04); }
.g-tile .g-cap {
  opacity: 0.96;
}
.g-tile:hover .g-cap, .g-tile:focus-visible .g-cap { opacity: 1; }
.gallery-empty {
  margin-top: 24px;
  color: var(--muted-d);
}

/* Collapse long boards: first paint only shows preview tiles */
.gallery-board:not(.is-expanded) > .g-tile.is-more,
.gallery-film-grid:not(.is-expanded) > .g-film.is-more,
.gallery-film-grid:not(.is-expanded) > .g-film-card.is-more {
  display: none !important;
  content-visibility: hidden;
}
.g-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 8px;
  min-height: 48px;
  padding: 0 22px;
  width: fit-content;
  max-width: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
}
.g-more[hidden] { display: none !important; }
.gallery-still-group .g-more,
.gallery-film-group .g-more,
.gallery-feature .g-more {
  margin-bottom: 12px;
}

/* Full-bleed portfolio showoff loops (hero-style) */
.g-showoff {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 0;
  overflow: hidden;
}
.g-showoff-top {
  border-top: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.g-showoff-in-films {
  margin: 18px 0 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.gallery-film-group[data-film-group="commercial"] {
  margin-top: 36px;
}
.gallery-film-group[data-film-group="commercial"] > .wrap.gallery-group-head {
  margin-bottom: 8px;
}

/* Build CTA — edge boxes with autoplay loops */
.gallery-film-group.g-build-cta {
  margin-top: 40px;
  margin-bottom: 12px;
}
.g-build-stage {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 12px 0 32px;
  box-sizing: border-box;
  overflow: hidden;
}
.g-build-overlay-solo {
  display: none;
}
.g-build-overlay-mobile {
  display: none;
  margin: 0 16px 14px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 7vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--snow);
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.g-build-pair {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.72fr);
  align-items: stretch;
  gap: clamp(10px, 1.6vw, 18px);
  width: 100%;
}
.g-build-box {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
  min-width: 0;
  box-shadow:
    0 18px 40px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.g-build-box-left {
  justify-content: stretch;
  background: var(--paper);
  color: var(--night);
  border-radius: 0 32px 32px 0;
  width: 100%;
  margin-left: 0;
  padding: 14px 16px 14px 12px;
}
.g-build-box-right {
  justify-content: center;
  background: var(--amber);
  color: var(--night);
  border-radius: 32px 0 0 32px;
  width: 100%;
  margin-right: 0;
  padding: 14px 10px 14px 14px;
}
.g-build-film.g-film {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  border-radius: 14px;
  background: #0a1012;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  overflow: hidden;
}
.g-build-box-left .g-build-film.g-film {
  aspect-ratio: 16 / 9;
}
.g-build-box-right .g-build-film.g-film,
.g-build-box-right .g-build-film.g-film.is-vertical {
  width: min(100%, 300px);
  max-width: 300px;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  height: auto;
}
.g-build-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a1012;
  pointer-events: none;
}
.g-build-film-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  margin: 0;
  padding: 16px 16px 34px;
  box-sizing: border-box;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(180deg, rgba(8,12,14,.82) 0%, rgba(8,12,14,.4) 58%, transparent 100%);
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  pointer-events: none;
}
.g-build-film .g-play {
  width: 56px;
  height: 56px;
  top: 54%;
  opacity: 0.92;
  z-index: 2;
}
.g-build-film .g-play::before {
  left: 22px;
  top: 18px;
  border-width: 10px 0 10px 14px;
}
.g-build-film .g-dur {
  bottom: 12px;
  left: 12px;
  z-index: 2;
}
.g-build-film:hover .g-play,
.g-build-film:focus-visible .g-play {
  transform: translate(-50%, -50%) scale(1.06);
}
@media (max-width: 900px) {
  .g-build-stage {
    padding: 10px 0 24px;
  }
  .g-build-overlay-mobile {
    display: block;
  }
  .g-build-film-title {
    display: none; /* mobile uses the heading above the stack */
  }
  .g-build-pair {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .g-build-box-left {
    border-radius: 0 24px 24px 0;
    width: min(100%, 560px);
    justify-self: start;
    padding: 12px 12px 12px 10px;
  }
  .g-build-box-right {
    border-radius: 24px 0 0 24px;
    width: min(78%, 300px);
    justify-self: end;
    padding: 12px;
  }
  .g-build-box-right .g-build-film.g-film,
  .g-build-box-right .g-build-film.g-film.is-vertical {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 520px) {
  .g-build-box-left {
    border-radius: 0 18px 18px 0;
    width: 94%;
  }
  .g-build-box-right {
    border-radius: 18px 0 0 18px;
    width: 72%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-build-video { display: none; }
}

.g-showoff-panel,
.g-showoff-desktop,
.g-showoff-mobile {
  position: relative;
  min-height: min(86vh, 820px);
  display: grid;
  align-items: end;
}
.g-showoff-top .g-showoff-panel {
  min-height: min(78vh, 760px);
}
.g-showoff-mobile { display: none; }
.g-showoff-media {
  position: absolute;
  inset: 0;
  background: var(--night);
}
.g-showoff-media-vertical {
  display: grid;
  place-items: center;
  background: #070b0d;
}
.g-showoff-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.g-showoff-media-vertical .g-showoff-video {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  background: #070b0d;
}
.g-showoff-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,20,23,.12) 15%, rgba(14,20,23,.72) 100%);
  pointer-events: none;
}
.g-showoff-copy {
  position: relative;
  z-index: 2;
  padding-top: 48px;
  padding-bottom: 48px;
  max-width: 720px;
}
.g-showoff-copy h2 {
  max-width: 16ch;
  color: var(--snow);
  margin-bottom: 0;
}
.g-title-stack {
  line-height: 1.08;
}
.g-title-stack .g-title-line {
  display: block;
}
.g-accent {
  color: var(--amber);
}
.g-star {
  display: inline-block;
  margin-left: 0.12em;
  font-weight: 700;
  font-size: 0.92em;
  vertical-align: 0.08em;
  line-height: 1;
}
.g-cap strong.g-title-stack {
  line-height: 1.12;
}
.g-showoff-copy .lede {
  color: var(--fog);
  max-width: 42ch;
}
.g-showoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.g-showoff-actions .btn {
  min-height: 48px;
  padding-inline: 22px;
}
@media (max-width: 700px) {
  .g-showoff-desktop { display: none; }
  .g-showoff-mobile {
    display: grid;
    min-height: min(92svh, 900px);
  }
  .g-showoff-top .g-showoff-panel {
    min-height: min(70svh, 640px);
  }
  .g-showoff-copy {
    padding-top: 28px;
    padding-bottom: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-showoff-video { display: none; }
}

body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
  flex-direction: column;
  background: rgba(8, 10, 12, 0.94);
  padding: 18px 18px 28px;
}
.lightbox.is-open { display: flex; }
.lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--snow);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.lightbox-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.lightbox-nav button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid rgba(245,243,238,.4);
  background: transparent;
  color: var(--snow);
  cursor: pointer;
  font: 600 0.95rem/1 var(--font-body);
}
.lightbox img {
  margin: auto;
  max-width: min(1400px, 100%);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 1000px) {
  .gallery-film-grid { grid-template-columns: 1fr 1fr; }
  .gallery-film-grid > .g-film,
  .gallery-film-grid > .g-film-card {
    grid-column: span 1;
  }
  .g-tile.span-12,
  .g-tile.span-8,
  .g-tile.span-6,
  .g-tile.span-5,
  .g-tile.span-4,
  .g-tile.span-3 { grid-column: span 6; }
  .g-tile.tall { aspect-ratio: 4/5; }
}
@media (max-width: 700px) {
  .g-count { margin-left: 0; width: 100%; }
  .gallery-film-grid { grid-template-columns: 1fr; }
  .g-tile.span-12,
  .g-tile.span-8,
  .g-tile.span-6,
  .g-tile.span-5,
  .g-tile.span-4,
  .g-tile.span-3 { grid-column: span 12; }
  .g-play { width: 64px; height: 64px; }
  .g-play::before { left: 25px; top: 21px; }
  .g-film.is-vertical {
    max-width: 320px;
    justify-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-film img, .g-tile img { transition: none; }
}


/* Quote form status + HostGator extras + footer phone + work CTA */
.form-status {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--night);
  max-width: 42rem;
  grid-column: 1 / -1;
}
.form-status[data-state="ok"],
.form-status.is-ok {
  border-color: rgba(36, 57, 47, 0.35);
  background: #eef5f0;
}
.form-status[data-state="err"],
.form-status.is-error {
  border-color: rgba(154, 91, 18, 0.4);
  background: #fff6eb;
}
.form-status[hidden] { display: none !important; }

.hp-wrap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form .hp,
.form .hp-wrap input {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  border: 0 !important;
  position: absolute !important;
}

.form .human-check {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form .human-check-label {
  font-family: var(--mono, "DM Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.form .human-check input {
  max-width: 8rem;
}
.form .human-check-help {
  font-size: 0.85rem;
  color: var(--slate);
}

.site-footer a.foot-phone { text-decoration: none; }
.site-footer a.foot-phone:hover { color: var(--amber); }
.work-cta-row { margin-top: 28px; }

/* ===== Blur-up LQIP (soft preview → sharp still) ===== */
.blurup {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--granite);
}
.blurup-lq {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Soft color stand-in — enough structure to not read as a broken hole */
  filter: blur(12px) saturate(1.05) brightness(1.02);
  transform: scale(1.08);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.4s ease;
}
.blurup .blurup-full,
.blurup > picture img {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.blurup.is-ready .blurup-full,
.blurup.is-ready > picture img {
  opacity: 1;
}
.blurup.is-ready .blurup-lq {
  opacity: 0;
}
.blurup.is-error .blurup-lq {
  opacity: 1;
  filter: blur(10px);
}
.blurup.is-error .blurup-full,
.blurup.is-error > picture img {
  opacity: 0;
}

/* Film rail cards */
.shot > .blurup {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--granite);
}
.shot .blurup-lq {
  border-radius: 0;
}
.shot .blurup .blurup-full,
.shot .blurup > picture img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Work / service tiles (absolute-fill media) */
.tile > .blurup {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: inherit;
}
.tile .blurup > picture {
  position: absolute;
  inset: 0;
  display: block;
}
.tile .blurup-lq,
.tile .blurup .blurup-full,
.tile .blurup > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Area map stills */
.mt-shot > .blurup {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  background: transparent;
}
.mt-shot .blurup > picture {
  position: absolute;
  inset: 0;
  display: block;
}
.mt-shot .blurup-lq,
.mt-shot .blurup .blurup-full,
.mt-shot .blurup > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.mt-shot .blurup-lq {
  transform: scale(1.08);
  animation: none !important;
  filter: blur(12px) saturate(1.05) brightness(1.02);
  will-change: auto;
}

/* BOF award card */
.bof-stage-card > .blurup {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: #12181c;
}
.bof-stage-card .blurup-lq,
.bof-stage-card .blurup .bof-stage-art,
.bof-stage-card .blurup > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* Gallery tiles */
.g-tile > .blurup,
.g-film > .blurup {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  display: block;
  background: var(--granite);
}
.g-tile .blurup > picture,
.g-film .blurup > picture {
  position: absolute;
  inset: 0;
  display: block; /* override global picture { display: contents } inside blur-up */
}
.g-tile .blurup-lq,
.g-tile .blurup .blurup-full,
.g-tile .blurup > picture img,
.g-film .blurup-lq,
.g-film .blurup .blurup-full,
.g-film .blurup > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

/* Inline badges / about portraits: keep flow sizing */
.award-inline .blurup,
.about-place .blurup,
.about-portrait .blurup {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  border-radius: inherit;
}
.bof-badge-inline.blurup-full,
.award-inline .blurup .blurup-full,
.award-inline .blurup > picture img {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .blurup-lq,
  .blurup .blurup-full,
  .blurup > picture img {
    transition: none;
  }
}


/* ===== CONTACT + SERVICES PAGES ===== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.contact-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.contact-points .mono {
  display: block;
  color: var(--amber-deep);
  margin-bottom: 4px;
}
.contact-points a {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}
.contact-points a:hover { color: var(--amber-deep); }
.contact-points p { margin: 0; max-width: 36ch; color: var(--muted-l); }
.contact-form-wrap h2 { max-width: 12ch; }

.services-list {
  display: grid;
  gap: clamp(40px, 7vw, 72px);
}
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}
.service-block:nth-child(even) .service-media { order: 2; }
.service-block:nth-child(even) .service-copy { order: 1; }
.service-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--granite);
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  align-self: center;
}
.service-media > .blurup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: block;
}
.service-media > .blurup > picture {
  position: absolute;
  inset: 0;
  display: block;
}
.service-media img,
.service-media .blurup-lq,
.service-media .blurup .blurup-full,
.service-media .blurup > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
}
.service-copy h2 {
  max-width: 16ch;
  margin-bottom: 10px;
}
.service-copy p { color: var(--muted-l); }
.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.service-copy-solo {
  grid-column: 1 / -1;
  max-width: 52rem;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
@media (max-width: 860px) {
  .contact-layout,
  .service-block {
    grid-template-columns: 1fr;
  }
  .service-block:nth-child(even) .service-media,
  .service-block:nth-child(even) .service-copy { order: initial; }
}

/* Services page: full-viewport snap between offerings */
html:has(body.page-services) {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.page-services .services-snap-band {
  padding-block: 0;
}
.page-services .services-list {
  gap: 0;
}
.page-services .services-snap {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 0;
  box-sizing: border-box;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  padding-block: calc(var(--header-h) + 20px);
  padding-block-end: calc(var(--bar-h, 0px) + env(safe-area-inset-bottom, 0px) + 20px);
}
.page-services .about-hero.services-snap,
.page-services .pine.services-snap {
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  display: grid;
  align-content: center;
}
.page-services .service-block.services-snap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  align-content: center;
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding-inline: 0;
}
.page-services .service-block.services-snap .service-media {
  max-height: min(52vh, 480px);
  width: 100%;
}
.page-services .service-block.services-snap .service-copy h2 {
  max-width: 16ch;
  margin-bottom: 8px;
}
.page-services .service-block.services-snap .service-copy p {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
}
.page-services .service-block.services-snap .service-copy p + p {
  margin-top: 0.65em;
}
.page-services #fpv.services-snap {
  overflow: auto;
}
@media (max-width: 860px) {
  .page-services .service-block.services-snap {
    grid-template-columns: 1fr;
    align-content: start;
    height: auto;
    max-height: none;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: visible;
    padding-block-start: calc(var(--header-h) + 16px);
  }
  .page-services .service-block.services-snap .service-media {
    max-height: min(34vh, 280px);
  }
  .page-services .about-hero.services-snap,
  .page-services .pine.services-snap {
    max-height: none;
    height: auto;
    min-height: 100svh;
    min-height: 100dvh;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.page-services) {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  .page-services .services-snap {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: visible;
    padding-block: clamp(36px, 6vw, 64px);
  }
  .page-services .services-list {
    gap: clamp(40px, 7vw, 72px);
  }
  .page-services .services-snap-band {
    padding-block: clamp(40px, 7vw, 72px);
  }
}
