/* ============================================================
   Digital Wheelie — /murals page
   Loads AFTER styles-a.css. Everything here is mural-page specific.
   ============================================================ */

/* ---- Shared bits ---- */
.murals-page p { line-height: 1.55; }

/* Framed image: ink border, rounded, image fills it */
.m-img {
  border: 4px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
}
.m-img img { width: 100%; height: auto; }

/* "Get a quote" pill. 1.2rem bold so paper-on-pink counts as large text. */
.btn-quote {
  display: inline-block;
  background: var(--pink);
  color: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.9rem 2.1rem;
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.2;
  box-shadow: 0 6px 0 rgba(26, 26, 26, 0.15);
  transition: transform var(--dur-fast) var(--ease-glide), background var(--dur-fast) var(--ease-glide);
}
.btn-quote:hover,
.btn-quote:focus-visible { transform: translateY(-2px) scale(1.03); background: var(--violet); }
.btn-quote:active { transform: translateY(1px) scale(0.98); }

.mural-subhead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw + 0.6rem, 2.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.mural-bullets { display: grid; gap: 0.75rem; }
.mural-bullets li {
  position: relative;
  padding-left: 1.75rem;
  font-size: var(--fs-body);
  line-height: 1.45;
}
.mural-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--ink);
}

/* Text + image side by side on desktop, stacked on phones */
.mural-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.mural-split-copy > * + * { margin-top: 1rem; }
@media (max-width: 760px) {
  .mural-split { grid-template-columns: 1fr; }
  /* Why it works: keep the heading first on phones */
  .mural-split-imgfirst .m-img { order: 1; }
}

/* ---- 1. Hero ---- */
.mural-hero {
  text-align: center;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.mural-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.02;
  color: var(--violet);
  max-width: 18ch;
  margin: 0 auto;
}
.mural-hero-title .accent { color: var(--pink); }
.mural-hero-sub {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: var(--fs-body-lg);
  line-height: 1.25;
  margin-top: 1.25rem;
}
.mural-byline { margin: 0.6rem 0 1.75rem; font-size: var(--fs-body); }
.mural-hero-img {
  margin-top: clamp(2rem, 5vw, 3rem);
  border: 10px solid var(--violet);
  border-radius: var(--radius-lg);
}

/* ---- 2. Pitch ---- */
.mural-pitch { padding-top: clamp(1.5rem, 4vw, 3rem); }

/* ---- 3. Proof ---- */
.mural-proof {
  background: var(--paper);
  border-top: 10px solid var(--lime);
  border-bottom: 10px solid var(--lime);
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.stat {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stat:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.stat:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw + 1rem, 4.5rem);
  line-height: 1;
}
.stat-label { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.stat-lime   { background: var(--lime);   color: var(--ink); }
.stat-orange { background: var(--orange); color: var(--ink); }
.stat-violet { background: var(--violet); color: var(--paper); }
@media (max-width: 700px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stat:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .stat:last-child  { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}
.mural-story {
  font-size: var(--fs-body);
  max-width: 62ch;
}

/* 3a. Fill-in sequence: design frames (1-3) three across, like the
   Sundays row; event frames (4-6) full width below. Stacks on phones. */
.mural-sequence {
  margin: clamp(3rem, 7vw, 5rem) 0 0;
}
.seq-skip {
  position: absolute;
  left: -9999px;
}
.seq-skip:focus {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 700;
  text-decoration: underline;
}
.seq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 2.5vw, 1.75rem);
}
.seq-design { grid-template-columns: repeat(3, 1fr); }
.seq-fill { margin-top: clamp(1.75rem, 4vw, 2.75rem); }
@media (max-width: 700px) {
  .seq-design { grid-template-columns: 1fr; }
}

/* Frames 1-3 are buttons that open the lightbox */
.m-zoom {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: inherit;
  cursor: zoom-in;
  border-radius: var(--radius-md);
}
.m-zoom .m-img { display: block; }
.m-zoom img { transition: transform var(--dur-med) var(--ease-glide); }
.m-zoom:hover img,
.m-zoom:focus-visible img { transform: scale(1.04); }

/* Frames 4-6 crossfade (Phase 2). main.js adds .is-crossfade only with JS
   and no reduced motion, and sets the sizes below as custom properties:
   a tall track, a sticky stage under the nav, and one 4:3 box that fits
   the stage. Frames stack in the box; main.js sets each frame's opacity. */
.seq-fill.is-crossfade { height: var(--track-h); }
.seq-fill.is-crossfade .seq-photos {
  display: block;
  position: sticky;
  top: var(--stage-top);
  height: var(--stage-h);
}
.seq-fill.is-crossfade .seq-frame { position: absolute; inset: 0; }
.seq-fill.is-crossfade .seq-frame figure { height: 100%; margin: 0; }
.seq-fill.is-crossfade .m-img {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--box-w);
  height: var(--box-h);
  transform: translateX(-50%);
}
.seq-fill.is-crossfade .m-img img { width: 100%; height: 100%; object-fit: cover; }
.seq-fill.is-crossfade figcaption {
  position: absolute;
  top: calc(var(--box-h) + 0.75rem);
  left: calc(50% - var(--box-w) / 2);
  right: calc(50% - var(--box-w) / 2);
  margin-top: 0;
}
.seq-frame figure { margin: 0; }
.seq-frame figcaption {
  margin-top: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: var(--fs-body);
  font-weight: 700;
}
.seq-num {
  flex: none;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.15em 0.65em;
}

/* 3b. The Sundays */
.sundays {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(3rem, 7vw, 5rem);
}
.sundays figure { margin: 0; }
.sundays figcaption,
.mojo figcaption {
  margin-top: 0.6rem;
  font-weight: 700;
}
@media (max-width: 700px) {
  .sundays { grid-template-columns: 1fr; }
}

/* 3c. Mojo */
.mojo {
  max-width: 820px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
}
.mojo .mojo-line { font-size: var(--fs-body); }

/* 3d. Quote */
/* Violet panel: lime quote (about 6:1 on violet), paper attribution */
.mural-quote {
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  max-width: 900px;
  text-align: center;
  background: var(--violet);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
}
.mural-quote blockquote { margin: 0; }
.mural-quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw + 0.75rem, 3.6rem);
  line-height: 1.05;
  color: var(--lime);
}
.mural-quote figcaption { margin-top: 1.25rem; font-size: 1.05rem; }
/* Default .text-link hover is violet, which would vanish on this panel */
.mural-quote .text-link:hover,
.mural-quote .text-link:focus-visible { color: var(--lime); }
.mural-quote a:focus-visible { outline-color: var(--lime); }

/* ---- 4. Why it works ---- */
.mural-why .section-heading { margin-bottom: 1.25rem; }

/* ---- 5. What you get ---- */
.mural-get { padding-top: 0; }
.get-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--lime);
  border: 4px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 3.5rem);
}
.get-card > * + * { margin-top: 1.25rem; }
.get-card .section-heading { margin-bottom: 0; }
.get-price { font-size: var(--fs-body-lg); font-weight: 700; line-height: 1.2; }
.get-price-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw + 1rem, 5rem);
  line-height: 1;
  color: var(--violet);
}
.get-list li::before { background: var(--violet); }
.get-logo-band { border-width: 3px; border-radius: var(--radius-sm); }
.get-card .btn-quote { margin-top: 1.75rem; }

/* ---- 6. Close ---- */
.mural-close { text-align: center; }
.mural-close-img { max-width: 900px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.mural-close .big-line { margin-bottom: 1.75rem; }
.mural-credit {
  margin-top: 2rem;
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.8;
}
