/* ==============================
   SITE-SPECIFIC STYLES
   Extends design-system.css
   ============================== */

/* ---- BALANCED HEADING LINE BREAKS ---- */
h1, h2 {
  text-wrap: balance;
}

/* ---- VISUALLY HIDDEN (honeypot fields, screen-reader-only text) ---- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- PAPER GRAIN (tactile, postcard feel) ----
   Fixed, non-interactive layer so it never triggers scroll repaints. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

@media (prefers-reduced-motion: reduce) {
  body::after { opacity: .03; }
}

/* ---- STICKY NAV (site version) ---- */
.site-nav-wrap {
  position: sticky;
  top: var(--space-4);
  z-index: var(--z-header);
  padding-inline: var(--gutter);
  max-width: var(--max-wide);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding-block: var(--space-3);
  background: color-mix(in srgb, var(--color-surface-page) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-standard);
}

.site-header.scrolled {
  border-bottom-color: var(--color-border-default);
}

/* ---- PAGE HERO (ink bg override) ---- */
.hero {
  background: var(--color-surface-ink);
  color: var(--color-text-on-brand);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-wide);
  margin-inline: auto;
  padding: clamp(3.5rem, 3rem + 4vw, 6.5rem) var(--gutter) clamp(3rem, 2rem + 4vw, 5.5rem);
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.1fr .9fr;
  }
}

.hero h1 {
  color: var(--color-text-on-brand);
  font-size: var(--text-display-lg);
  font-weight: var(--weight-extra);
  margin-block: var(--space-3);
}

.hero .eyebrow {
  color: var(--color-brand-accent);
}

.hero .eyebrow::before {
  background: var(--color-brand-accent);
}

.hero-lead {
  color: var(--color-text-on-brand-muted);
  font-size: var(--text-lead);
  max-width: 48ch;
  line-height: var(--leading-normal);
  margin-top: var(--space-4);
}

.hero-support {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-on-brand-muted);
  background: rgba(255,255,255,.06);
  border: 1px dashed rgba(194,119,44,.5);
  border-radius: var(--radius-md);
  padding: .7rem .9rem;
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin-top: var(--space-5);
}

.hero-cta-subline {
  font-size: var(--text-sm);
  color: var(--color-text-on-brand-muted);
  margin-top: var(--space-3);
  max-width: 48ch;
}

.hero-trust {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-sm);
  color: var(--color-text-on-brand);
}

.hero-trust li svg {
  color: var(--color-brand-accent);
  flex-shrink: 0;
}

/* ---- POSTCARD STAMP / POSTMARK ACCENT ---- */
.preview-wrap {
  position: relative;
}

.postmark {
  position: absolute;
  top: -26px;
  left: -16px;
  width: 92px;
  height: 92px;
  z-index: 3;
  color: var(--color-signal-stamp);
  opacity: .82;
  transform: rotate(-9deg);
  pointer-events: none;
}

.postmark__text {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  fill: currentColor;
}

.postmark__mark {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .5px;
  fill: currentColor;
}

.postmark__date {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 1.5px;
  fill: currentColor;
}

@media (max-width: 560px) {
  .postmark { width: 76px; height: 76px; top: -20px; left: -8px; }
}

/* ---- PREVIEW CARD (hero right column) ---- */
.preview-card {
  background: var(--color-surface-default);
  border: var(--border-width) solid var(--color-border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-postcard);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base);
}

.preview-card:hover {
  transform: translateY(-4px) rotate(-.4deg);
  box-shadow: var(--shadow-panel);
}

.preview-card__chrome {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .7rem;
  background: var(--color-surface-sunken);
  border-bottom: var(--border-width) solid var(--color-border-default);
}

.preview-card__chrome .d {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-border-strong);
}

.preview-card__chrome .tag {
  margin-left: auto;
}

.preview-card__shot {
  aspect-ratio: 16 / 10;
  background: var(--color-surface-page);
  position: relative;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.skel {
  background: var(--color-border-default);
  border-radius: 4px;
}

.skel.lg { height: 14px; width: 55%; }
.skel.md { height: 10px; width: 80%; }
.skel.sm { height: 10px; width: 40%; }
.skel.box { height: 46px; width: 100%; background: var(--color-surface-raised); border: 1px solid var(--color-border-default); margin-top: auto; }
.skel.btn-skel { height: 28px; width: 120px; background: var(--color-brand-primary); border-radius: 6px; }

/* ---- POSTCARD BANNER ---- */
.postcard-banner {
  display: none;
  background: var(--color-state-info-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--color-state-info) 35%, transparent);
}

.postcard-banner.visible {
  display: block;
}

.postcard-banner-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding: var(--space-3) var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.postcard-banner p {
  font-size: var(--text-sm);
  color: var(--color-state-info);
  flex: 1;
  min-width: 200px;
}

/* ---- SECTION WRAPPERS ---- */
.section {
  padding-block: var(--space-section);
  border-bottom: 1px solid var(--color-border-default);
}

.section--raised {
  background: var(--color-surface-raised);
}

.section--ink {
  background: var(--color-surface-ink);
  color: var(--color-text-on-brand);
  border-bottom: none;
}

.section-head {
  max-width: var(--max-prose);
  margin-bottom: var(--space-7);
}

.section-head h2 {
  font-size: var(--text-h2);
  margin-top: var(--space-2);
}

.section-head p {
  margin-top: var(--space-3);
  color: var(--color-text-secondary);
  font-size: var(--text-lead);
  max-width: 52ch;
}

/* ---- PROBLEM SECTION ---- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}

/* ---- STEPPER CONNECTORS ---- */
.stepper-wrap {
  position: relative;
}

/* ---- OFFER SECTION ---- */
.offer-include {
  margin-top: var(--space-7);
}

/* oversized statement moment */
.statement {
  font-size: var(--text-display-lg);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  max-width: 22ch;
  margin-bottom: var(--space-5);
}

.statement__em {
  color: var(--color-text-accent);
}

/* ---- WHO ITS FOR ---- */
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 760px) {
  .who-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.who-list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.who-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.who-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.who-list--check li svg {
  color: var(--color-state-success);
}

.who-list--cross li svg {
  color: var(--color-text-muted);
}

.who-box {
  background: var(--color-surface-default);
  border: var(--border-width) solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

.who-box--cross {
  background: var(--color-surface-raised);
  box-shadow: none;
}

/* ---- EXAMPLES SECTION ---- */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

/* ---- FEATURED WORK: STUDIO BUILDS ---- */
.examples-grid--work {
  margin-bottom: var(--space-7);
}

.work-card {
  margin: 0;
  background: var(--color-surface-default);
  border: var(--border-width) solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.work-card__shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: var(--border-width) solid var(--color-border-default);
}

.work-card__body {
  padding: var(--space-4) var(--space-5);
}

.work-card__note {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
}

.work-card__link {
  display: block;
}

.work-card__link .work-card__shot {
  transition: transform var(--dur-slow) var(--ease-out);
}

.work-card__link:hover .work-card__shot,
.work-card__link:focus-visible .work-card__shot {
  transform: scale(1.02);
}

.work-card__link:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: -2px;
}

.work-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-link);
  text-decoration: none;
}

.work-card__cta:hover,
.work-card__cta:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .work-card__link .work-card__shot { transition: none; }
  .work-card__link:hover .work-card__shot { transform: none; }
}

.examples-subhead {
  font-size: var(--text-h4);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.example-card {
  background: var(--color-surface-default);
  border: var(--border-width) solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.example-card__label {
  padding: var(--space-4) var(--space-5);
  border-bottom: var(--border-width) solid var(--color-border-default);
  background: var(--color-surface-raised);
}

.example-card__label .biz-type,
.work-card__body .biz-type {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-accent);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.example-card__label .biz-name,
.work-card__body .biz-name {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-h4);
  margin-top: .15rem;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.before-after > div {
  padding: var(--space-4);
}

/* single thin divider between Before and After; no contrasting fill,
   so equal-height cards don't show mismatched grey/white bars */
.before-after > div:first-child {
  border-right: var(--border-width) solid var(--color-border-default);
}

/* give the "after" side a touch more weight now the backgrounds match */
.before-after > div:last-child .ba-detail {
  color: var(--color-text-primary);
}

.ba-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: var(--space-2);
}

.ba-label--before {
  color: var(--color-text-muted);
}

.ba-label--after {
  color: var(--color-state-success);
}

.ba-detail {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ---- WEBSITE CARE SECTION ---- */
.care-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.care-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: var(--space-4);
  background: var(--color-surface-default);
  border: var(--border-width) solid var(--color-border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.care-list li svg {
  color: var(--color-brand-primary);
  flex-shrink: 0;
  margin-top: 1px;
  width: 18px;
  height: 18px;
}

.care-closing {
  margin-top: var(--space-6);
  font-size: var(--text-lead);
  color: var(--color-text-secondary);
  font-style: italic;
  max-width: 54ch;
}

/* ---- REVIEWS SECTION ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

/* ---- COMMITMENTS (borderless, divider-separated, not cards) ---- */
.commitments {
  display: grid;
  grid-template-columns: 1fr;
}

.commitment {
  padding: var(--space-5) 0;
}

.commitment + .commitment {
  border-top: var(--border-width) solid var(--color-border-default);
}

@media (min-width: 760px) {
  .commitments {
    grid-template-columns: repeat(3, 1fr);
  }
  .commitment {
    padding: 0 var(--space-6);
  }
  .commitment:first-child { padding-left: 0; }
  .commitment:last-child { padding-right: 0; }
  .commitment + .commitment {
    border-top: none;
    border-left: var(--border-width) solid var(--color-border-default);
  }
}

.commitment__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-brand-accent-soft);
  color: var(--color-text-accent);
  margin-bottom: var(--space-3);
}

.commitment h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-2);
}

.commitment p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

/* ---- FOUNDER NOTE ---- */
.founder-note {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-6);
  background: var(--color-surface-default);
  border: var(--border-width) solid var(--color-border-default);
  border-left: 4px solid var(--color-brand-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.founder-note__badge {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--color-brand-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
}

.founder-note__photo {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: var(--color-brand-primary);
  box-shadow: var(--shadow-sm);
}

.founder-note p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.founder-note p + p {
  margin-top: var(--space-3);
}

.founder-note__lead {
  color: var(--color-text-primary) !important;
}

.founder-note__sign {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary) !important;
  margin-top: var(--space-4) !important;
}

/* ---- GUARANTEE / RISK REVERSAL ---- */
.guarantee {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--color-state-success-soft);
  border: 1px solid color-mix(in srgb, var(--color-state-success) 30%, transparent);
  border-radius: var(--radius-lg);
  color: var(--color-state-success);
}

.guarantee p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.guarantee p strong {
  color: var(--color-text-primary);
}

@media (max-width: 560px) {
  .founder-note { flex-direction: column; gap: var(--space-4); }
}

/* ---- PRICING SECTION ---- */
/* "Most chosen" badge is rendered via .price--feature::before in design-system.css */

/* Founding-client rate sits in the .amount slot in place of a hard number */
.price .amount strong {
  display: block;
  font-size: var(--text-h3);
  line-height: 1.1;
  color: var(--color-text-accent);
}

.price .amount strong + span {
  display: block;
  margin-top: .15rem;
}

.price .price-cta {
  margin-top: auto;
  padding-top: var(--space-4);
}

.price-note {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-3);
}

/* three-package pricing grid */
.price-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 940px) {
  .price-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* small print describing the sub-options inside a package card */
.price-detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  padding-top: var(--space-3);
  border-top: var(--border-width) solid var(--color-border-default);
}

.price-footnote {
  max-width: 60ch;
  margin: var(--space-6) auto 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

/* ---- PRESENCE MANAGEMENT SLIDER ---- */
.presence-slider {
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: var(--border-width) solid var(--color-border-default);
}

.presence-slider__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.presence-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    to right,
    var(--color-brand-accent) 0 var(--val, 0%),
    var(--color-border-default) var(--val, 0%) 100%
  );
  cursor: pointer;
  outline: none;
}

.presence-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  border: 3px solid var(--color-surface-default);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.presence-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  border: 3px solid var(--color-surface-default);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.presence-range:focus-visible {
  box-shadow: var(--shadow-focus);
}

.presence-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.presence-ticks span { transition: color var(--dur-fast); }
.presence-ticks span.is-active {
  color: var(--color-text-accent);
  font-weight: var(--weight-semibold);
}

.presence-output {
  margin-top: var(--space-4);
  background: var(--color-surface-raised);
  border: var(--border-width) solid var(--color-border-default);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.presence-output__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.presence-output__head strong {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  color: var(--color-text-primary);
}

.presence-output__head span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-accent);
}

.presence-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.presence-features li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.presence-features li svg {
  width: 16px;
  height: 16px;
  color: var(--color-state-success);
  flex-shrink: 0;
  margin-top: 3px;
}

.presence-breakdown {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: var(--border-width) solid var(--color-border-default);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

/* ---- FAQ SECTION ---- */
.faq-wrap {
  max-width: var(--max-prose);
}

/* ---- FINAL CTA (BOOKING) ---- */
.cta-section {
  background: var(--color-surface-ink);
  padding-block: var(--space-section);
}

.cta-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}

@media (min-width: 820px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-content h2 {
  color: var(--color-text-on-brand);
  font-size: var(--text-h2);
  margin-bottom: var(--space-4);
}

.cta-content .cta-body {
  color: var(--color-text-on-brand-muted);
  font-size: var(--text-lead);
  max-width: 46ch;
  line-height: var(--leading-normal);
}

.cta-benefits {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cta-benefits li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-on-brand-muted);
}

.cta-benefits li svg {
  color: var(--color-brand-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.cta-form-card {
  background: var(--color-surface-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-panel);
}

/* ---- FORM STATES ---- */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-7) var(--space-5);
}

.form-success.visible {
  display: block;
}

.form-body.hidden {
  display: none;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background: var(--color-state-success-soft);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-state-success);
  margin-bottom: var(--space-4);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--color-surface-ink-deep);
  color: var(--color-text-on-brand-muted);
  padding-block: var(--space-8);
}

.footer-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

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

.footer-brand p {
  font-size: var(--text-sm);
  max-width: 38ch;
  margin-top: var(--space-3);
  line-height: var(--leading-normal);
}

.footer-col h4 {
  color: var(--color-text-on-brand);
  font-size: var(--text-h4);
  margin-bottom: var(--space-3);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: var(--text-sm);
}

.footer-col ul a {
  color: var(--color-text-on-brand-muted);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.footer-col ul a:hover {
  color: var(--color-text-on-brand);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(167,193,189,.2);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  color: var(--color-text-on-brand-muted);
}

/* ---- CHAT WIDGET ---- */
.chat-trigger {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-panel);
  transition: transform var(--dur-fast) var(--ease-standard), background var(--dur-fast);
  color: var(--color-text-on-brand);
}

.chat-trigger:hover {
  background: var(--color-brand-primary-hover);
  transform: scale(1.08);
}

.chat-trigger:active {
  transform: scale(.95);
}

.chat-trigger svg {
  width: 24px;
  height: 24px;
}

.chat-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 1000;
  width: min(360px, calc(100vw - 2rem));
  max-height: 520px;
  background: var(--color-surface-default);
  border: var(--border-width) solid var(--color-border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.96);
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-ink);
  color: var(--color-text-on-brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

.chat-header-text .name {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-text-on-brand);
}

.chat-header-text .status {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-on-brand-muted);
}

.chat-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-on-brand-muted);
  padding: .3rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--dur-fast), background var(--dur-fast);
}

.chat-close:hover {
  color: var(--color-text-on-brand);
  background: rgba(255,255,255,.1);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.chat-msg {
  max-width: 88%;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  border-radius: var(--radius-md);
  padding: .65rem .9rem;
}

.chat-msg--bot {
  background: var(--color-surface-raised);
  color: var(--color-text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg--user {
  background: var(--color-brand-primary);
  color: var(--color-text-on-brand);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg--typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: .75rem .9rem;
}

.chat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-muted);
  animation: chatdot 1.4s infinite ease-in-out;
}

.chat-dot:nth-child(1) { animation-delay: 0s; }
.chat-dot:nth-child(2) { animation-delay: .2s; }
.chat-dot:nth-child(3) { animation-delay: .4s; }

@keyframes chatdot {
  0%, 80%, 100% { transform: scale(.8); opacity: .4; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-input-row {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-top: var(--border-width) solid var(--color-border-default);
  background: var(--color-surface-page);
}

.chat-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  background: var(--color-surface-default);
  border: var(--border-width) solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: .6rem .8rem;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.chat-input:focus {
  border-color: var(--color-brand-primary);
  box-shadow: var(--shadow-focus);
}

.chat-send {
  background: var(--color-brand-primary);
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-text-on-brand);
  cursor: pointer;
  padding: .6rem .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast);
  flex-shrink: 0;
}

.chat-send:hover {
  background: var(--color-brand-primary-hover);
}

.chat-send:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ---- OFFER SECTION 2-COL GRID ---- */
.card-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 640px) {
  .card-grid--2col {
    grid-template-columns: 1fr;
  }
}

/* Accent top border on offer cards */
.card-grid--2col .card {
  border-top: 3px solid var(--color-brand-accent);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ---- PREVIEW CARD URL BAR ---- */
.preview-card__url {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--color-text-muted);
  background: var(--color-surface-page);
  border: 1px solid var(--color-border-default);
  border-radius: 4px;
  padding: .15rem .4rem;
  flex: 1;
  margin-inline: .3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- COMPARE TABLE TWEAKS ---- */
.compare th:first-child {
  width: 40%;
}

/* ---- BOOKING PAGE ---- */
.book-page {
  min-height: 100dvh;
  background: var(--color-surface-page);
}

.book-hero {
  background: var(--color-surface-ink);
  padding: clamp(3rem, 2rem + 4vw, 5rem) var(--gutter);
  text-align: center;
}

.book-hero h1 {
  color: var(--color-text-on-brand);
  font-size: var(--text-display-lg);
  font-weight: var(--weight-extra);
  margin-block: var(--space-3);
}

.book-hero p {
  color: var(--color-text-on-brand-muted);
  font-size: var(--text-lead);
  max-width: 48ch;
  margin-inline: auto;
}

.book-content {
  max-width: var(--max-content);
  margin-inline: auto;
  padding: var(--space-section) var(--gutter);
}

/* ---- MOBILE MENU ---- */
.nav-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-default);
  border: var(--border-width) solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  padding: .45rem .8rem;
  cursor: pointer;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-primary);
  transition: border-color var(--dur-fast);
}

.nav-menu-btn:hover {
  border-color: var(--color-brand-primary);
}

.mobile-nav {
  display: none;
  background: var(--color-surface-default);
  border-top: var(--border-width) solid var(--color-border-default);
  border-bottom: var(--border-width) solid var(--color-border-default);
  padding: var(--space-4) var(--gutter);
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-default);
  transition: color var(--dur-fast);
}

.mobile-nav a:hover {
  color: var(--color-text-primary);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ---- SCROLL REVEAL ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: .08s; }
  .reveal-delay-2 { transition-delay: .16s; }
  .reveal-delay-3 { transition-delay: .24s; }
  .reveal-delay-4 { transition-delay: .32s; }
}

/* ---- UTILITIES ---- */
.wrap {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-wide {
  max-width: var(--max-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mt-section { margin-top: var(--space-7); }
.mt-6 { margin-top: var(--space-6); }
.mt-5 { margin-top: var(--space-5); }
.mt-4 { margin-top: var(--space-4); }
.text-center { text-align: center; }
.prose-width { max-width: var(--max-prose); }

/* ==============================
   NAV ACTIONS + THEME TOGGLE
   ============================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: var(--border-width) solid var(--color-border-strong);
  background: var(--color-surface-default);
  color: var(--color-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--color-brand-primary);
  color: var(--color-text-primary);
}

.theme-toggle-btn .icon-sun { display: none; }
.theme-toggle-btn .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle-btn .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle-btn .icon-moon { display: none; }

/* desktop toggle hides on mobile (mobile-nav carries its own) */
@media (max-width: 759px) {
  .theme-toggle-btn.in-nav { display: none; }
}

/* full-width labelled toggle inside the mobile menu */
.theme-toggle-btn.mobile-theme {
  width: 100%;
  height: auto;
  justify-content: center;
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

/* keep the desktop nav on one line now that base type is larger */
.mocknav .links { font-size: 1rem; gap: 1.4rem; }
.mocknav .links a { white-space: nowrap; }

/* ==============================
   HOW IT WORKS - "more" + modal
   ============================== */
.how-more {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
}

.overlay .modal { position: relative; }

.modal--wide { max-width: 580px; }

.modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: .35rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  transition: color var(--dur-fast), background var(--dur-fast);
}

.modal__close:hover {
  color: var(--color-text-primary);
  background: var(--color-surface-raised);
}

.how-detail-list {
  list-style: none;
  margin: var(--space-5) 0 var(--space-6);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.how-detail-list h4 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-2);
}

.how-detail-list p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.how-detail-cta {
  width: 100%;
  justify-content: center;
}

/* ==============================
   ON-INK SECONDARY BUTTON
   (secondary CTA over the dark hero)
   ============================== */
.btn--on-ink {
  background: transparent;
  color: var(--color-text-on-brand);
  border-color: rgba(167, 193, 189, .4);
}

.btn--on-ink:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(167, 193, 189, .75);
}

/* ==============================
   PROBLEM SECTION (divided list)
   ============================== */
.problem-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 720px) {
  .problem-list {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-7);
  }
}

.p-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) 0;
  border-top: var(--border-width) solid var(--color-border-default);
}

/* keep the two columns visually balanced at the top edge */
@media (min-width: 720px) {
  .problem-list .p-item:nth-child(2) { border-top: var(--border-width) solid var(--color-border-default); }
}

.p-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-brand-accent-soft);
  color: var(--color-text-accent);
  display: grid;
  place-items: center;
}

.p-item__icon svg { width: 20px; height: 20px; }

.p-item h3 {
  font-size: var(--text-h4);
  margin-bottom: .35rem;
}

.p-item p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

/* ==============================
   HERO BUILD SCENE
   A weak/old website is assembled by a builder, torn down,
   then rebuilt as a clean modern site. Loops.
   ============================== */
.build-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--color-surface-page);
  container-type: inline-size;
  --bs-dur: 18s;
}

/* blueprint dot grid */
.build-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--color-border-default) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: .45;
}

/* workshop floor line */
.build-scene::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  height: 1px;
  background: var(--color-border-strong);
  opacity: .55;
}

.bs-page { position: absolute; inset: 0; }

.bs-block {
  position: absolute;
  opacity: 0;
  border-radius: 4px;
}

/* ---- weak / outdated website ---- */
.bw-header {
  top: 7%; left: 7%; right: 7%; height: 13%;
  border-radius: 2px;
  background: linear-gradient(90deg, #d4302a, #e8901f, #d8c40e, #2a9e3e, #2350c8, #7a2fb0);
  animation: cmv-w1 var(--bs-dur) infinite;
}

.bw-link1 {
  top: 27%; left: 10%; width: 44%; height: 4.2%;
  background: #1a3fd0;
  box-shadow: 0 2px 0 #1a3fd0;
  animation: cmv-w2 var(--bs-dur) infinite;
}

.bw-link2 {
  top: 35%; left: 10%; width: 31%; height: 4.2%;
  background: #1a3fd0;
  box-shadow: 0 2px 0 #1a3fd0;
  animation: cmv-w3 var(--bs-dur) infinite;
}

.bw-clip {
  top: 45%; left: 36%; width: 28%; height: 28%;
  background: #d2ccba;
  border: 2px solid #b3ad9b;
  animation: cmv-w4 var(--bs-dur) infinite;
}
.bw-clip::before, .bw-clip::after {
  content: "";
  position: absolute;
  top: 50%; left: 18%;
  width: 64%; height: 2px;
  background: #b0473a;
}
.bw-clip::before { transform: rotate(38deg); }
.bw-clip::after { transform: rotate(-38deg); }

.bw-uc {
  top: 80%; left: 27%; width: 46%; height: 9%;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(45deg, #f4c20d 0 8px, #1d1d1d 8px 16px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 3.1cqw;
  font-weight: 700;
  letter-spacing: .05em;
  text-shadow: 0 1px 1px #000;
  overflow: hidden;
  white-space: nowrap;
  animation: cmv-w5 var(--bs-dur) infinite;
}

/* ---- rebuilt modern website ---- */
.bm-nav {
  top: 7%; left: 6%; right: 6%; height: 9%;
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 0 3cqw;
  background: var(--color-surface-default);
  border: 1px solid var(--color-border-default);
  animation: cmv-m1 var(--bs-dur) infinite;
}
.bm-dot { width: 4cqw; height: 4cqw; border-radius: 2px; background: var(--color-brand-primary); }
.bm-navline { width: 13cqw; height: 1.8cqw; border-radius: 2px; background: var(--color-border-strong); }
.bm-btn { margin-left: auto; width: 12cqw; height: 5cqw; border-radius: 3px; background: var(--color-brand-accent); }

.bm-hero {
  top: 20%; left: 6%; right: 6%; height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.4cqw;
  padding: 0 5cqw;
  background: linear-gradient(140deg, var(--color-brand-primary), var(--color-brand-primary-soft));
  animation: cmv-m2 var(--bs-dur) infinite;
}
.bm-h1 { width: 62%; height: 4cqw; border-radius: 3px; background: rgba(255,255,255,.92); }
.bm-h2 { width: 44%; height: 3cqw; border-radius: 3px; background: rgba(255,255,255,.45); }
.bm-cta { width: 22cqw; height: 6cqw; border-radius: 3px; background: var(--color-brand-accent); margin-top: 1cqw; }

.bm-card {
  top: 55%; width: 25%; height: 22%;
  background: var(--color-surface-default);
  border: 1px solid var(--color-border-default);
  border-top: 2.5px solid var(--color-brand-accent);
  border-radius: 3px;
}
.bm-card1 { left: 6%;   animation: cmv-m3 var(--bs-dur) infinite; }
.bm-card2 { left: 37.5%; animation: cmv-m4 var(--bs-dur) infinite; }
.bm-card3 { left: 69%;  animation: cmv-m5 var(--bs-dur) infinite; }

.bm-foot {
  top: 81%; left: 6%; right: 6%; height: 11%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 4cqw;
  background: var(--color-brand-primary);
  border-radius: 3px;
  animation: cmv-m6 var(--bs-dur) infinite;
}
.bm-footbtn { width: 16cqw; height: 5cqw; border-radius: 3px; background: var(--color-brand-accent); }

/* ---- finished check ---- */
.bs-done {
  position: absolute;
  top: 9%; right: 9%;
  width: 11cqw; height: 11cqw;
  min-width: 26px; min-height: 26px;
  border-radius: 50%;
  background: var(--color-state-success);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  z-index: 6;
  box-shadow: var(--shadow-card);
  animation: cmv-done var(--bs-dur) infinite;
}
.bs-done svg { width: 62%; height: 62%; }

/* ---- the builder ---- */
.builder {
  position: absolute;
  left: 0;
  bottom: 6%;
  opacity: 0;
  z-index: 5;
  animation: cmv-walk var(--bs-dur) infinite ease-in-out;
}
.builder__inner { animation: cmv-bob .5s infinite ease-in-out; }
.builder__svg {
  width: clamp(24px, 9cqw, 40px);
  height: auto;
  display: block;
}
.builder__arm {
  transform-box: view-box;
  transform-origin: 33px 31px;
  animation: cmv-tap .55s infinite ease-in-out;
}

/* ---- keyframes ---- */
@keyframes cmv-walk {
  0%   { transform: translateX(-30cqw); opacity: 0; }
  3%   { opacity: 1; }
  6%   { transform: translateX(6cqw); }
  32%  { transform: translateX(64cqw); }
  40%  { transform: translateX(82cqw); }
  44%  { transform: translateX(82cqw); }
  52%  { transform: translateX(6cqw); }
  84%  { transform: translateX(64cqw); }
  92%  { transform: translateX(82cqw); opacity: 1; }
  100% { transform: translateX(108cqw); opacity: 0; }
}
@keyframes cmv-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
@keyframes cmv-tap {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(-34deg); }
}

/* weak blocks: pop in (staggered), hold, then collapse */
@keyframes cmv-w1 {
  0%, 6%  { opacity: 0; transform: translateY(-12px) rotate(-1deg); }
  9%, 40% { opacity: 1; transform: translateY(0) rotate(-1deg); }
  47%, 100% { opacity: 0; transform: translateY(18px) rotate(-1deg); }
}
@keyframes cmv-w2 {
  0%, 11% { opacity: 0; transform: translateY(-8px); }
  15%, 41% { opacity: 1; transform: translateY(0); }
  47%, 100% { opacity: 0; transform: translateY(14px); }
}
@keyframes cmv-w3 {
  0%, 15% { opacity: 0; transform: translateY(-8px); }
  19%, 42% { opacity: 1; transform: translateY(0); }
  48%, 100% { opacity: 0; transform: translateY(14px); }
}
@keyframes cmv-w4 {
  0%, 20% { opacity: 0; transform: translateY(-8px) scale(.95); }
  24%, 43% { opacity: 1; transform: translateY(0) scale(1); }
  49%, 100% { opacity: 0; transform: translateY(16px) scale(.95); }
}
@keyframes cmv-w5 {
  0%, 26% { opacity: 0; transform: translateY(-8px); }
  30%, 43% { opacity: 1; transform: translateY(0); }
  50%, 100% { opacity: 0; transform: translateY(16px); }
}

/* modern blocks: snap in (staggered), hold, fade out at loop end */
@keyframes cmv-m1 {
  0%, 55% { opacity: 0; transform: translateY(10px) scale(.96); }
  59%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  97%, 100% { opacity: 0; }
}
@keyframes cmv-m2 {
  0%, 58% { opacity: 0; transform: translateY(10px) scale(.96); }
  62%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  97%, 100% { opacity: 0; }
}
@keyframes cmv-m3 {
  0%, 61% { opacity: 0; transform: translateY(10px) scale(.96); }
  65%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  97%, 100% { opacity: 0; }
}
@keyframes cmv-m4 {
  0%, 64% { opacity: 0; transform: translateY(10px) scale(.96); }
  68%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  97%, 100% { opacity: 0; }
}
@keyframes cmv-m5 {
  0%, 67% { opacity: 0; transform: translateY(10px) scale(.96); }
  71%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  97%, 100% { opacity: 0; }
}
@keyframes cmv-m6 {
  0%, 71% { opacity: 0; transform: translateY(10px) scale(.96); }
  75%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  97%, 100% { opacity: 0; }
}
@keyframes cmv-done {
  0%, 84% { opacity: 0; transform: scale(.4); }
  88%     { opacity: 1; transform: scale(1.1); }
  90%, 94% { opacity: 1; transform: scale(1); }
  98%, 100% { opacity: 0; transform: scale(1); }
}

/* reduced motion: skip the build, show the finished modern site */
@media (prefers-reduced-motion: reduce) {
  .build-scene * { animation: none !important; }
  .bs-weak { display: none; }
  .bs-modern .bs-block { opacity: 1 !important; transform: none !important; }
  .bs-done { opacity: 1 !important; transform: none !important; }
  .builder {
    opacity: 1 !important;
    left: auto;
    right: 5%;
    transform: none !important;
  }
}
