/* ==========================================================================
   Mountwell Marketing — site stylesheet
   One file, no build step. Sections:
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Header & nav  6. Buttons
   7. Sections & heroes  8. Cards & grids  9. Components  10. Forms
   11. Article / prose  12. Footer  13. Utilities  14. Motion
   (15–21: homepage, hero scene, brand blue, header, service pages, large type; 22. Mountwell Music)
   ========================================================================== */

/* 1. Fonts (self-hosted, latin subset, variable weight 400–700) ----------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/montserrat.woff2?v=311d352d93") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/montserrat-italic.woff2?v=7921052ef9") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/source-sans-3.woff2?v=30164609c1") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/source-sans-3-italic.woff2?v=71c881907d") format("woff2"); }

/* 2. Tokens ------------------------------------------------------------- */
:root {
  /* Brand */
  --ink: #1b2730;          /* body text, darkest surfaces */
  --slate-800: #2c3e4a;    /* dark sections */
  --slate-700: #3a4f5c;
  --slate-600: #4a5d69;    /* muted text on light (6.4:1 on paper) */
  --slate-500: #627885;    /* Mountwell brand slate (logo, newsletter) */
  --slate-300: #aebcc5;
  --slate-200: #d5dde2;    /* borders */
  --slate-100: #f3f5f6;    /* tinted sections */
  --paper: #ffffff;        /* page background */
  --white: #ffffff;
  --gold: #daa520;         /* goldenrod accent — fills, rules, text on dark only */
  --gold-light: #e8c35a;   /* hover state on dark */
  --gold-deep: #8a6410;    /* gold-toned TEXT on light backgrounds (5:1) */
  --gold-tint: #f7ecd0;    /* soft highlight backgrounds */

  /* Type */
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.9rem;
  --step-0: 1.1875rem;                              /* 19px body */
  --step-1: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --step-3: clamp(2.3rem, 1.3rem + 3.4vw, 4.25rem);   /* section headlines, ~68px on large screens */
  --step-4: clamp(2.6rem, 1.5rem + 4.4vw, 5.25rem);

  /* Space & shape */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 10vw, 9rem);
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgb(27 39 48 / 0.06), 0 8px 24px rgb(27 39 48 / 0.08);
  --shadow-lg: 0 2px 4px rgb(27 39 48 / 0.06), 0 18px 48px rgb(27 39 48 / 0.14);
  --max: 1360px;
  --max-prose: 44rem;
  --tap: 2.75rem;          /* 44px minimum touch target */
  --tap-pad: 0.75rem;      /* vertical padding on an inline link: grows its tap area to about --tap without moving the layout */
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 0.6em; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--slate-800); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--slate-200); margin: 2.5rem 0; }
ul, ol { padding-left: 1.25em; }
::selection { background: var(--gold-tint); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 0.75rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 4. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--max-prose) + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--tint { background: var(--slate-100); }
.section--white { background: var(--white); }
.section--dark { background: var(--slate-800); color: #e9eef1; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--white); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--slate-600); font-size: var(--step-1); }
.section--dark .section-head p:not(.eyebrow), .section--dark .lead { color: #c9d3da; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.25fr 1fr; }
  .split--wide-media { grid-template-columns: 1fr 1.2fr; }
  .split--reverse > :first-child { order: 2; }
}

/* 5. Header & nav --------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--slate-200); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 172px; height: auto; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 0.5rem 0.75rem; font-family: var(--font-head); font-size: 0.95rem; font-weight: 500; color: var(--slate-700); text-decoration: none; border-radius: 6px; }
.nav__list a:hover { color: var(--ink); background: var(--slate-100); }
.nav__list a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav__cta { margin-left: 0.75rem; }
.nav-toggle { display: none; align-items: center; gap: 0.5rem; background: none; border: 1px solid var(--slate-200); border-radius: 8px; padding: 0.5rem 0.75rem; font: 600 0.95rem var(--font-head); color: var(--ink); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; transition: transform 0.2s; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 100% 0 auto 0; display: none; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--slate-200); padding: 0.75rem var(--gutter) 1.25rem; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__list a { padding: 0.8rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid var(--slate-100); border-radius: 0; }
  .nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 0.9rem; }
  .nav__cta { margin: 1rem 0 0; text-align: center; }
  .no-js .nav { position: static; display: flex; box-shadow: none; }
}

/* 6. Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 8px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-head); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--slate-700); color: var(--white); }
.btn--primary:hover { background: var(--slate-800); color: var(--white); }
/* On dark backgrounds the primary button turns goldenrod */
:is(.section--dark, .compare, .cta-band, .mw-window, .quiz__result) .btn--primary { background: var(--gold); color: var(--ink); }
:is(.section--dark, .compare, .cta-band, .mw-window, .quiz__result) .btn--primary:hover { background: var(--gold-light); color: var(--ink); }
.btn--dark { background: var(--slate-800); color: var(--white); }
.btn--dark:hover { background: var(--ink); color: var(--white); }
.btn--outline { border-color: var(--slate-800); color: var(--slate-800); background: transparent; }
.btn--outline:hover { background: var(--slate-800); color: var(--white); }
.btn--ghost-light { border-color: rgb(255 255 255 / 0.55); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgb(255 255 255 / 0.08); color: var(--white); }
.btn--sm { padding: 0.6rem 1rem; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; text-decoration: none; color: var(--slate-800); display: inline-flex; align-items: center; gap: 0.35rem; }
.link-arrow::after { content: "→"; color: var(--gold-deep); transition: transform 0.15s; }
.link-arrow:hover::after { transform: translateX(3px); }
.section--dark .link-arrow::after { color: var(--gold); }

/* 7. Sections & heroes ---------------------------------------------------- */
.eyebrow { font: 600 1rem/1.3 var(--font-body); color: var(--gold-deep); margin-bottom: 0.6rem; }
.section--dark .eyebrow, .cta-band .eyebrow { color: var(--gold); }

.hero { position: relative; background: var(--paper); color: var(--ink); padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: var(--ink); max-width: 20ch; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 64%, rgb(218 165 32 / 0.5) 64% 92%, transparent 92%); padding-inline: 0.05em; }
.hero__lede { font-size: var(--step-1); color: var(--slate-700); max-width: 38rem; margin-bottom: 2rem; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero__media { z-index: 0; isolation: isolate; }
.hero__proof { margin-top: 2rem; font-size: 0.98rem; color: var(--slate-600); display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.hero__proof span::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 0.45rem; }
.hero--page { padding-top: clamp(3rem, 6vw, 5rem); margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.hero--page h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); letter-spacing: -0.03em; line-height: 1.05; }
.hero .btn--ghost-light { border-color: var(--slate-800); color: var(--slate-800); }
.hero .btn--ghost-light:hover { background: var(--slate-800); color: var(--white); }
.hero--page .hero__lede { margin-bottom: 0; }
.hero--page .btn-row { margin-top: 1.75rem; }
.breadcrumb { font: 600 0.85rem var(--font-head); margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold-deep); text-decoration: none; padding-block: var(--tap-pad); }
.breadcrumb a:hover { text-decoration: underline; }

.cta-band { background: var(--slate-800); color: #dfe6ea; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); margin-bottom: 0.4em; }
.cta-band p { margin: 0; color: #c9d3da; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.6fr auto; } }

/* 8. Cards & grids -------------------------------------------------------- */
.card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; }
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card--link { position: relative; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.card--link:hover { border-color: var(--slate-300); }

/* Pricing / offer cards */
.offer { position: relative; }
.offer__tag { font: 600 0.78rem var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-600); margin-bottom: 0.75rem; }
.offer__price { font: 700 var(--step-3)/1 var(--font-head); color: var(--ink); margin: 0.25rem 0 0.25rem; letter-spacing: -0.02em; }
.offer__price small { font-size: 1rem; font-weight: 500; color: var(--slate-600); letter-spacing: 0; }
.offer__price-note { font-size: 0.95rem; color: var(--slate-600); margin-bottom: 1.25rem; }
.offer__desc { color: var(--slate-700); }
.offer .checklist { margin-bottom: 1.5rem; }
.offer .btn { margin-top: auto; }
.offer--featured { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.offer--featured::before { content: attr(data-badge); position: absolute; top: -0.85rem; left: 1.5rem; background: var(--gold); color: var(--ink); font: 700 0.75rem var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: 999px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--gold-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%238a6410' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.section--dark .checklist li::before { background-color: rgb(218 165 32 / 0.2); }

/* Feature (icon) blocks */
.feature { display: grid; gap: 0.5rem; }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-tint); color: var(--gold-deep); display: grid; place-items: center; margin-bottom: 0.5rem; }
.feature__icon svg { width: 24px; height: 24px; }
.section--dark .feature__icon { background: rgb(218 165 32 / 0.15); color: var(--gold); }
.feature p { color: var(--slate-600); margin: 0; }
.section--dark .feature p { color: #c9d3da; }

/* Post cards */
.post-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow 0.2s, transform 0.2s; }
.post-card:hover { border-color: var(--slate-300); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--slate-100); }
.post-card__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card__meta { font: 600 0.8rem var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-600); }
.post-card :is(h2, h3) { font-size: 1.15rem; margin: 0; }
.post-card :is(h2, h3) a { text-decoration: none; color: var(--ink); }
.post-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.post-card p { color: var(--slate-600); font-size: 1rem; margin: 0; }
.post-card--feature { display: grid; }
@media (min-width: 860px) { .post-card--feature { grid-template-columns: 1.2fr 1fr; } .post-card--feature img { aspect-ratio: auto; height: 100%; } .post-card--feature .post-card__body { padding: 2.5rem; justify-content: center; } .post-card--feature :is(h2, h3) { font-size: var(--step-2); } }

/* Testimonials */
.quote { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--slate-200); box-shadow: none; overflow: hidden; display: flex; flex-direction: column; margin: 0; }
.quote img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.quote blockquote { margin: 0; padding: 1.5rem 1.6rem 0; font-size: 1.08rem; position: relative; flex: 1; }
.quote blockquote::before { content: "“"; font: 700 4rem/1 Georgia, serif; color: var(--gold); display: block; height: 2rem; }
.quote figcaption { padding: 1rem 1.6rem 1.5rem; font-size: 0.95rem; color: var(--slate-600); }
.quote figcaption strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }

/* People */
.person img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 1.25rem; }
.person h3 { margin-bottom: 0.2rem; }
.person__role { font: 600 0.85rem var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; }
.person__list { margin-top: auto; padding-top: 0.5rem; font-size: 0.98rem; color: var(--slate-600); }
.person__list strong { color: var(--ink); font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* Client cards */
.client { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.client__shot { aspect-ratio: 1080 / 565; object-fit: cover; object-position: top; width: 100%; border-bottom: 1px solid var(--slate-200); background: var(--slate-100); }
.client__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.client__body h3 { margin: 0; }
.client__meta { font-size: 0.92rem; color: var(--slate-600); display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.client__work { font-size: 0.98rem; }
.client__work strong, .client__why strong { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; color: var(--gold-deep); margin-bottom: 0.2rem; }
.client__why { font-size: 0.98rem; color: var(--slate-700); }
.client__link { margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 0.82rem; background: var(--slate-100); color: var(--slate-700); padding: 0.2rem 0.6rem; border-radius: 999px; }

.logo-list { columns: 3 15rem; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.logo-list li { break-inside: avoid; padding: 0.6rem 0; border-bottom: 1px solid var(--slate-200); }
.logo-list span { display: block; font-size: 0.9rem; color: var(--slate-600); }

/* 9. Components ----------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps > li { counter-increment: step; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 1.5rem 1.5rem 1.5rem 4.75rem; position: relative; }
.steps > li::before { content: counter(step); position: absolute; left: 1.5rem; top: 1.4rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font: 700 1rem var(--font-head); }
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin-bottom: 0.5rem; color: var(--slate-700); }
.steps p:last-child { margin-bottom: 0; }

.callout { background: var(--gold-tint); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.35rem; margin: 1.5rem 0; }
.callout p:last-child { margin: 0; }
.callout.callout--findings p { margin-bottom: 0.5rem; }
.callout.callout--findings ul { margin: 0; }

.deliverables { display: grid; gap: 1rem; }
.deliverable { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; display: grid; gap: 0.75rem; }
@media (min-width: 860px) { .deliverable { grid-template-columns: 14rem 1fr; gap: 2rem; } }
.deliverable h3 { margin: 0; display: flex; align-items: center; gap: 0.75rem; }
.deliverable p { margin: 0 0 0.5rem; color: var(--slate-700); }
.deliverable__list { font-size: 0.98rem; }
.deliverable__list strong { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); }
.deliverable__note { font-size: 0.92rem; color: var(--slate-600); }

.stat-row { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 2rem; }
.stat { font-family: var(--font-head); }
.stat strong { display: block; font-size: var(--step-3); color: var(--gold); line-height: 1; }
.stat span { font-size: 0.9rem; color: #c9d3da; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.75rem; align-items: start; }
.contact-list svg { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 0.2rem; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-600); }

.archive-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--slate-200); }
.archive-list li { border-bottom: 1px solid var(--slate-200); }
.archive-list a { display: grid; gap: 0.2rem; padding: 1.1rem 0.25rem; text-decoration: none; color: var(--ink); }
.archive-list a:hover { background: var(--white); }
.archive-list strong { font-family: var(--font-head); font-weight: 600; }
.archive-list span { color: var(--slate-600); font-size: 1rem; }
/* Mark beside a heading, e.g. The Mountwell Minute logo on the signup card */
.mark-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.mark-head img { flex: none; width: 4rem; height: 4rem; }
.mark-head :is(h2, h3) { margin: 0; }

/* Vertical (phone-shaped) video, e.g. the About page intro. Wrapped in .video-player,
   site.js swaps the small native controls for one big centered play button until it plays. */
.video-player { position: relative; width: 100%; max-width: 20rem; margin-inline: auto; }
.video-portrait { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--slate-800); }
.video-player__play { position: absolute; inset: 0; margin: auto; width: 5.5rem; height: 5.5rem; border: 0; border-radius: 50%;
  display: grid; place-items: center; padding: 0 0 0 0.3rem; background: var(--gold); color: var(--ink); box-shadow: var(--shadow-lg); cursor: pointer; }
.video-player__play svg { width: 2.6rem; height: 2.6rem; }
.video-player__play:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.video-player__play[hidden] { display: none; }

/* Town pages (/web-design-marketing/<town>, generated by tools/towns.py) */
.town-asof { margin: 2rem 0 0; font-size: 0.95rem; color: #c9d3da; }
.town-n { display: block; font: 400 0.85rem var(--font-body); color: var(--slate-600); }
.town-links { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.town-links a { font-family: var(--font-head); font-weight: 600; color: var(--slate-800); padding-block: var(--tap-pad); }
.faq + h3 { margin-top: 2.5rem; }
.town-basic__stat { font: 600 0.95rem/1.3 var(--font-head); color: var(--slate-600); margin-bottom: 0.75rem; }
.town-basic__stat strong { display: block; font-size: var(--step-2); line-height: 1; color: var(--ink); margin-bottom: 0.25rem; }
.town-pie { margin: 2rem 0 0; display: grid; gap: 1.5rem 2.5rem; align-items: center; }
@media (min-width: 640px) { .town-pie { grid-template-columns: minmax(12rem, 16rem) 1fr; } }
.town-pie svg { width: 100%; max-width: 16rem; margin-inline: auto; transform: rotate(0deg); }
.town-pie circle { transition: stroke-width 0.15s; }
.town-pie circle:hover { stroke-width: 7; }
.town-pie__total { font: 700 6px var(--font-head); fill: var(--ink); }
.town-pie__label { font: 400 3px var(--font-body); fill: var(--slate-600); }
.town-pie__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.town-pie__legend li { display: grid; grid-template-columns: 1rem 1fr auto; gap: 0.75rem; align-items: center; font-size: 1.05rem; }
.town-pie__legend strong { font-family: var(--font-head); }
.town-pie__swatch { width: 1rem; height: 1rem; border-radius: 4px; background: var(--c); }
.town-pie figcaption { grid-column: 1 / -1; font-size: 0.92rem; color: var(--slate-600); }
.town-services { margin-top: clamp(2rem, 4vw, 3rem); }
.town-google { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid rgb(255 255 255 / 0.15); max-width: 46rem; }
.town-google strong { font-family: var(--font-head); font-size: var(--step-3); color: var(--gold); line-height: 1; flex: none; }
.town-google p { color: #c9d3da; margin: 0; }
.town-google .town-asof { display: block; margin-top: 0.5rem; font-size: 0.85rem; }
.town-mission p + p { margin-top: 1rem; }
.town-basic__fix { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--slate-200); font-weight: 600; color: var(--ink); display: flex; gap: 0.5rem; }
.town-basic > p:not(.town-basic__stat):not(.town-basic__fix) { margin-bottom: 1rem; }
.town-basic__fix::before { content: "\2713"; color: var(--gold-deep); font-weight: 700; flex: none; }
.section--soft { background: var(--slate-100); }
.section--soft .card { box-shadow: none; }
.town-asof--center { text-align: center; margin-top: 1.5rem; }
.town-map { margin: 0; }
.town-map svg { width: 100%; height: auto; display: block; }
.town-map__outline { fill: var(--slate-100); stroke: var(--slate-600); stroke-width: 1.5; stroke-linejoin: round; }
.town-map__dots circle { fill: var(--gold); fill-opacity: 0.75; stroke: var(--ink); stroke-opacity: 0.35; stroke-width: 0.6; }
.town-map figcaption, .town-sources { font-size: 0.85rem; color: var(--slate-600); margin-top: 1rem; }
.town-sources { margin-bottom: 2rem; }
.town-split__text h2 { margin-bottom: 0.5em; }
.town-split__text .lead { font-size: var(--step-1); color: var(--slate-600); }
.town-split__text p + p { margin-top: 1rem; }
.town-split .town-pie { margin: 0; grid-template-columns: 1fr; }
.town-split .town-pie svg { max-width: 18rem; }
.town-chart { margin: 0; }
.town-chart-wrap { max-width: none; width: 100%; }
.town-chart-wrap .chart, .town-chart-wrap .bar-chart { width: 100%; max-width: none; margin-inline: 0; }
.town-chart-wrap .bar-chart th[scope=row] { white-space: nowrap; }
.section--tint .town-mission { max-width: 50rem; }
.town-last { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.town-local { max-width: var(--max-prose); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.town-local p + p { margin-top: 1rem; }
.town-footnote { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--slate-200); }
.town-footnote .town-sources { margin: 0 0 1rem; max-width: 60rem; }

/* 10. Forms --------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; align-content: start; }
.field label, .field legend { font: 600 0.92rem var(--font-head); color: var(--ink); }
.field .optional { font-weight: 400; color: var(--slate-600); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--slate-300); border-radius: 8px; padding: 0.75rem 0.9rem; transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--slate-700); box-shadow: 0 0 0 3px rgb(218 165 32 / 0.45); }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.98rem; }
.checkbox input { width: 1.1rem; height: 1.1rem; margin-top: 0.25rem; accent-color: var(--slate-800); }
.hp { display: none !important; } /* honeypot (hp_website); hidden from people, still in the form for bots */
.form__group { border: 0; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.1rem; min-width: 0; }
.form__group legend { font: 700 var(--step-1)/1.2 var(--font-head); color: var(--ink); padding: 0; margin-bottom: 0.5rem; }
.form__group > p { margin: 0; }
.field__hint { margin: 0; font-size: 0.9rem; color: var(--slate-600); }
.form__status { font-weight: 600; border-radius: 8px; padding: 0.85rem 1rem; }
.form__status:empty { display: none; }
.form__status--ok { background: #e6f2ea; color: #1d5a33; }
.form__status--error { background: #fbeaea; color: #8a1f1f; }
.form__fine { font-size: 0.88rem; color: var(--slate-600); margin: 0; }

.newsletter-form { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: 30rem; }
.newsletter-form__field { flex: 1 1 14rem; display: flex; }
.newsletter-form input[type="email"] { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 0.8rem 1rem; border-radius: 8px; border: 1.5px solid var(--slate-300); background: var(--white); color: var(--ink); }
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--slate-700); box-shadow: 0 0 0 3px rgb(218 165 32 / 0.45); }
.newsletter-form .form__status { flex-basis: 100%; }

/* 11. Article / prose ----------------------------------------------------- */
.article-header { max-width: 48rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; font-size: 0.98rem; color: var(--slate-600); margin-top: 1.25rem; }
.article-cover { margin: calc(-1 * clamp(3rem, 6vw, 4.5rem)) auto 0; position: relative; z-index: 2; max-width: 56rem; padding-inline: var(--gutter); }
.article-cover img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.prose { max-width: var(--max-prose); margin-inline: auto; font-size: 1.15rem; line-height: 1.7; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: var(--step-2); margin-top: 2.25em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.75em; }
.prose h4 { margin-top: 1.5em; }
.prose ul, .prose ol { margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose li > p { margin: 0; }
.prose figure { margin: 2rem 0; }
.prose figure img, .prose figure video { border-radius: var(--radius); margin-inline: auto; max-height: 80vh; width: auto; }
/* Two images side by side (e.g. a print piece next to the website), stacked on phones. Wide like .figure--wide. */
.prose .figure-pair { --fig-w: min(100vw - 2 * var(--gutter), 75rem); width: var(--fig-w); margin-inline: calc((100% - var(--fig-w)) / 2); display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 700px) { .prose .figure-pair { grid-template-columns: 1fr 1fr; } .figure-pair figcaption { grid-column: 1 / -1; } }
.figure-pair__item::before { content: attr(data-label); display: block; margin-bottom: 0.4rem; font: 700 0.85rem var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-600); }
.prose .figure-pair img { width: 100%; max-height: none; border: 1px solid var(--slate-200); }
.prose .figure-pair figcaption { margin-top: 0; }
/* Wide figures: break out of the reading column to the page width (screenshots, before/afters). */
.prose .figure--wide { --fig-w: min(100vw - 2 * var(--gutter), 75rem); width: var(--fig-w); margin-inline: calc((100% - var(--fig-w)) / 2); }
.prose .figure--wide img { width: 100%; max-height: none; }
/* Before/after comparison (case studies). Two same-width screenshots; site.js shows
   the Before/After switch and one image at a time. Without JS both show, labelled.
   Markup: templates/before-after.html */
.prose .before-after { --fig-w: min(100vw - 2 * var(--gutter), 62.5rem); width: var(--fig-w); margin-inline: calc((100% - var(--fig-w)) / 2); }
.prose .before-after--phone { --fig-w: min(100vw - 2 * var(--gutter), 24.375rem); } /* phone screenshots (390px wide) */
/* The switch is sticky so it stays reachable under the header while a tall screenshot scrolls past.
   Dark bar with a gold "on" state so it can't be missed; the hint says what it does. */
.before-after__switch { position: sticky; top: 5.75rem; z-index: 5; display: flex; align-items: center; width: max-content; max-width: 100%; margin: 0 auto 1rem; padding: 5px 5px 5px 1.1rem; background: var(--slate-800); border-radius: 999px; box-shadow: var(--shadow-lg); }
@media (min-width: 1024px) { .before-after__switch { top: 6.75rem; } }
.before-after__switch[hidden] { display: none; }
.before-after__hint { display: inline-flex; align-items: center; gap: 0.45rem; margin-right: 0.85rem; font: 600 0.95rem var(--font-head); color: var(--white); white-space: nowrap; }
.before-after__hint svg { width: 1.2rem; height: 1.2rem; color: var(--gold); flex: none; }
.before-after__switch button { min-height: var(--tap); min-width: 5.5rem; padding: 0 1.2rem; border: 0; border-radius: 999px; background: none; font: 700 1rem var(--font-head); color: var(--slate-300); cursor: pointer; }
.before-after__switch button:hover { color: var(--white); }
.before-after__switch button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.before-after__view + .before-after__view { margin-top: 1.5rem; }
.before-after:not([data-show]) .before-after__view::before { content: attr(data-label); display: block; margin-bottom: 0.4rem; font: 700 0.85rem var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-600); }
.before-after[data-show="after"] .before-after__view--before,
.before-after[data-show="before"] .before-after__view--after { display: none; }
.before-after[data-show] .before-after__view + .before-after__view { margin-top: 0; }
.prose .before-after img { width: 100%; max-height: none; border: 1px solid var(--slate-200); }
@media (prefers-reduced-motion: no-preference) {
  .before-after[data-show] .before-after__view { animation: ba-in 0.25s ease-out; }
  @keyframes ba-in { from { opacity: 0; } }
}
.prose figcaption { font-size: 0.92rem; color: var(--slate-600); text-align: center; margin-top: 0.6rem; }
.prose figcaption p { margin: 0; }
/* Data charts (static SVGs): left-aligned title, full-width image, notes underneath. */
.prose .chart-fig { margin: 2.25rem 0; padding-top: 1rem; border-top: 1px solid var(--slate-200); }
.chart-fig__title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.35; margin: 0 0 1rem; color: var(--ink); }
.prose .chart-fig img { width: 100%; max-width: 35rem; max-height: none; margin-inline: 0; border-radius: 0; }
.prose .chart-fig figcaption { text-align: left; }
/* Big-number facts (blog appendix). */
.fact-grid { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); border-top: 1px solid var(--slate-200); }
.prose .fact-grid li { margin: 0; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--slate-200); line-height: 1.4; }
.fact-grid strong { display: block; font-family: var(--font-head); font-size: var(--step-2); line-height: 1.1; color: var(--slate-800); margin-bottom: 0.3rem; }
.fact-grid span { font-size: 0.98rem; color: var(--slate-600); }
.prose blockquote { margin: 2rem 0; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 4px solid var(--gold); font-size: 1.25rem; font-family: var(--font-head); font-weight: 500; line-height: 1.5; color: var(--slate-800); }
.prose blockquote cite { display: block; font-size: 0.95rem; font-style: normal; color: var(--slate-600); margin-top: 0.5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 1.5rem 0 2rem; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--slate-200); }
.prose thead th { background: var(--slate-800); color: var(--white); font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; }
.prose td:last-child, .prose th:last-child { text-align: right; }
.prose .table-wrap { overflow-x: auto; }
/* Side-by-side comparison (options at a glance, Mountwell vs the market). Criteria are rows;
   on phones each row becomes a card and every cell shows its column name (data-label). */
.option-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 1rem; line-height: 1.45; background: var(--white); margin: 0; }
.option-table :is(th, td) { text-align: left; vertical-align: top; padding: 0.8rem 0.85rem; border-bottom: 1px solid var(--slate-200); }
.prose .option-table td:last-child, .prose .option-table th:last-child { text-align: left; }
.option-table thead th { background: var(--slate-800); color: var(--white); font: 600 0.92rem var(--font-head); }
.option-table tbody th { font: 700 0.95rem var(--font-head); color: var(--ink); background: var(--slate-100); width: 9.5rem; }
.option-table .is-us { background: var(--gold-tint); }
.option-table thead .is-us { background: var(--gold); color: var(--ink); }
.option-table td strong { display: block; font-family: var(--font-head); }
.prose .option-fig { margin: 2.25rem 0; }
.option-fig figcaption { text-align: left; font-size: 0.92rem; color: var(--slate-600); margin-top: 0.75rem; }
.option-fig figcaption p { margin: 0; }
.option-fig { margin: 0; }
.prose .option-fig--wide { --fig-w: min(100vw - 2 * var(--gutter), 62.5rem); width: var(--fig-w); margin-inline: calc((100% - var(--fig-w)) / 2); }
@media (max-width: 699px) {
  .option-table, .option-table tbody, .option-table tr, .option-table th, .option-table td { display: block; width: auto; }
  .option-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .option-table tr { border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
  .option-table tbody th { width: auto; }
  .option-table td::before { content: attr(data-label); display: block; font: 700 0.78rem var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-600); margin-bottom: 0.15rem; }
  .option-table td:last-child { border-bottom: 0; }
}
.prose .btn { text-decoration: none; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 0.75rem; margin: 2rem 0; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); width: 100%; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 2rem 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.embed--spotify { aspect-ratio: auto; height: 452px; }
.chart { margin: 2rem 0; }
.bar-chart caption { font: 600 1.05rem var(--font-head); text-align: left; padding: 0.9rem 0.85rem 0.25rem; caption-side: top; }
.bar-chart td { text-align: left !important; width: 60%; }
.bar-chart .bar { display: inline-block; height: 0.85rem; width: calc(var(--v) * 75%); background: var(--gold); border-radius: 3px; margin-right: 0.6rem; vertical-align: middle; }
.author-box { max-width: var(--max-prose); margin: 3rem auto 0; display: flex; gap: 1.25rem; align-items: center; padding: 1.5rem; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box p { margin: 0; font-size: 1rem; color: var(--slate-600); }
.author-box strong { color: var(--ink); font-family: var(--font-head); }
.post-nav { max-width: var(--max-prose); margin: 2.5rem auto 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--slate-200); border-radius: var(--radius); text-decoration: none; background: var(--white); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.post-nav a:hover { border-color: var(--gold); }
.post-nav span { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-600); margin-bottom: 0.25rem; }
.post-nav .next { text-align: right; }

/* 12. Footer -------------------------------------------------------------- */
.newsletter-band { background: #e6eef3; }
.newsletter-band__inner { display: grid; gap: 1.5rem; align-items: center; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 860px) { .newsletter-band__inner { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.newsletter-band h2 { font-size: var(--step-2); margin-bottom: 0.35rem; }
.newsletter-band p { margin: 0; color: var(--slate-700); }
.newsletter-band .form__fine { margin-top: 0.6rem; }

.site-footer { background: var(--ink); color: #b8c5cd; font-size: 1rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer a { color: #e3e9ed; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 190px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 22rem; }
.site-footer h2 { font: 600 0.8rem var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.footer-links a { display: inline-flex; align-items: center; min-block-size: var(--tap); }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a4f5c; display: grid; place-items: center; }
.social a:hover { border-color: var(--gold); background: rgb(218 165 32 / 0.1); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid #2f404b; margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.9rem; }
.footer-bottom a { padding-block: var(--tap-pad); }
.footer-bottom .speed a { margin-block: calc(-1 * var(--tap-pad)); } /* a flex item, so cancel the padding's effect on the row */

/* Keep a hyphenated phrase on one line where there's room (e.g. "State-of-the-Art" in a headline) */
@media (min-width: 600px) { .keep-together { white-space: nowrap; } }

/* Constrain a block to the article column */
.narrow-block { max-width: var(--max-prose); margin: 3rem auto 0; }
.cta-band--compact h2 { font-size: var(--step-2); }

/* Badge */
.badge { display: inline-block; font: 700 0.7rem/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 0.3rem 0.55rem; border-radius: 999px; vertical-align: middle; margin-left: 0.35rem; }

/* 13. Utilities ----------------------------------------------------------- */
.split--top { align-items: start; }
.h-sm { font-size: var(--step-2); }
.h-xs { font-size: var(--step-1); }
.portrait { max-height: 34rem; width: auto; margin-inline: auto; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 2rem; }
.muted { color: var(--slate-600); }
.lead { font-size: var(--step-1); color: var(--slate-700); }
.rounded { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow-lg); }
.stack > * + * { margin-top: 1rem; }

/* ==========================================================================
   14. Motion
   Modern CSS, layered on as progressive enhancement:
   - Every effect is inside `prefers-reduced-motion: no-preference`, and the
     reduce rule in section 3 switches off anything left over.
   - Browsers without a feature (e.g. scroll-driven animations in Firefox)
     simply show the finished, static state. Nothing is hidden without support.
   - Only transform/opacity/translate/scale animate on scroll (GPU-friendly).
   Techniques: cross-document View Transitions, scroll-driven animations
   (scroll() and view() timelines), @property-animated gradients, @starting-style
   entry transitions with transition-behavior: allow-discrete, :has(), and
   pointer-tracked custom properties (set by site.js).
   ========================================================================== */

/* Typed custom properties so gradients can animate smoothly */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* --- 14a. Page-to-page transitions (View Transitions API, cross-document) --- */
@media (prefers-reduced-motion: no-preference) {
  .video-player__play { transition: scale 0.2s ease; }
  .video-player__play:hover { scale: 1.08; }
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }        /* header stays put while the page changes */
::view-transition-old(root) { animation: 160ms ease-in both vt-fade-out; }
::view-transition-new(root) { animation: 360ms cubic-bezier(0.2, 0.7, 0.2, 1) both vt-rise-in; }
::view-transition-group(post-title) { animation-duration: 450ms; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-rise-in { from { opacity: 0; translate: 0 14px; } }

@media (prefers-reduced-motion: no-preference) {

  /* --- 14b. Hero: mountains rise, content eases in, gold words catch the light --- */

  .hero :is(.breadcrumb, h1, .hero__lede, .btn-row, .choices__title, .choices__or, .article-meta),
  .hero__media, .hero .card {
    animation: hero-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero :is(h1) { animation-delay: 0.08s; }
  .hero :is(.hero__lede, .article-meta) { animation-delay: 0.16s; }
  .hero .btn-row { animation-delay: 0.24s; }
  .hero__proof { animation-delay: 0.32s; }
  .hero__media, .hero .card { animation-delay: 0.2s; animation-duration: 1s; }
  .hero .offer--featured { animation: hero-in 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both, orbit 7s linear infinite; animation-timeline: auto, auto; }
  @keyframes hero-in { from { opacity: 0; translate: 0 18px; } }


  /* Hero photo drifts slower than the page = gentle depth against its gold frame */
  @supports (animation-timeline: view()) {
    .hero__media img { animation: parallax linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes parallax { to { translate: 0 -48px; } }
  }

  /* --- 14c. Header lifts off the page as you scroll (scroll-driven) --- */
  @supports (animation-timeline: scroll()) {
    .site-header__inner { animation: header-lift linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
    @keyframes header-lift {
      to { background: rgb(255 255 255 / 1); box-shadow: 0 1px 2px rgb(27 39 48 / 0.06), 0 14px 34px -12px rgb(27 39 48 / 0.28); }
    }
  }

  /* --- 14d. Reading progress bar on long-form pages (:has + scroll timeline) --- */
  @supports (animation-timeline: scroll()) {
    main:has(.prose)::before {
      content: ""; position: fixed; inset: 0 0 auto; height: 3px; z-index: 60;
      background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light));
      transform-origin: 0 50%; scale: 0 1;
      animation: read-progress linear both; animation-timeline: scroll(root);
    }
    @keyframes read-progress { to { scale: 1 1; } }
  }

  /* --- 14e. Content reveals as it scrolls into view (scroll-driven, no JS) --- */
  @supports (animation-timeline: view()) {
    :where(.section-head, .card, .post-card, .quote, .client, .person, .deliverable,
        .steps > li, .feature, .cta-band, .newsletter-band__inner > *,
        .split > * > img, .prose figure, .prose .embed, .gallery, .archive-list li,
        .author-box, .post-nav, .playlist-card) {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry calc(var(--i, 0) * 12%) entry 100%;
    }
    /* stagger items that share a row */
    .grid--2 > :nth-child(2n), .grid--3 > :nth-child(3n + 2), .grid--4 > :nth-child(4n + 2) { --i: 1; }
    .grid--3 > :nth-child(3n + 3), .grid--4 > :nth-child(4n + 3) { --i: 2; }
    .grid--4 > :nth-child(4n + 4) { --i: 3; }
    .split > :nth-child(2) > img { --i: 1; }
    @keyframes reveal { from { opacity: 0; translate: 0 40px; scale: 0.97; } }
    /* the featured card runs its border animation alongside the reveal */
    .offer--featured {
      animation: reveal linear both, orbit 7s linear infinite;
      animation-timeline: view(), auto;
      animation-range: entry calc(var(--i, 0) * 12%) entry 100%, normal;
    }


    /* Blog chart bars grow as the chart scrolls into view */
    .bar-chart .bar { transform-origin: 0 50%; animation: bar-grow linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
    @keyframes bar-grow { from { scale: 0 1; } }
  }

  /* --- 14f. "Most popular" card: a slow comet of gold around its border (@property) --- */
  .offer--featured {
    --angle: 0deg;
    border: 2px solid transparent;
    background:
      linear-gradient(var(--white), var(--white)) padding-box,
      conic-gradient(from var(--angle), var(--gold) 0deg, var(--gold-tint) 90deg, var(--gold) 160deg, #fff4cf 200deg, var(--gold-light) 240deg, var(--gold) 360deg) border-box;
  }
  /* (where scroll-driven animations exist, 14e runs orbit together with the reveal) */
  @supports not (animation-timeline: view()) { .offer--featured { animation: orbit 7s linear infinite; } }
  @keyframes orbit { to { --angle: 360deg; } }



  /* Link underlines thicken smoothly */
  a { transition: text-decoration-color 0.2s, text-decoration-thickness 0.2s, color 0.2s; }
  .prose a:hover, .container > p a:hover { text-decoration-thickness: 3px; }

  /* --- 14i. Mobile menu slides in and out (@starting-style + allow-discrete) --- */
  @media (max-width: 1023px) {
    .nav { transition: opacity 0.22s ease, translate 0.22s ease, display 0.22s allow-discrete, overlay 0.22s allow-discrete; opacity: 0; translate: 0 -10px; }
    .nav.is-open { opacity: 1; translate: 0 0; }
    @starting-style { .nav.is-open { opacity: 0; translate: 0 -10px; } }
    .no-js .nav { opacity: 1; translate: none; }
  }
}

/* No view transitions for people who ask for less motion */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}


/* ==========================================================================
   15. Homepage showpieces
   a. Hero with "How can we help?" options + self-drawing MW mark; price comparison
   b. Promises, client wall, Google reviews, getting started + FAQ, "who you'll work with"
   c. Retainer scale (Services page)
   d. Our story: full photo with a slow zoom and text that fades up
   e. "Is your website trash?" self-check (pure CSS scoring with :has + counters)
   f. Live page-speed badge (footer; filled in by site.js)
   Resting styles = the finished state. Motion lives in @supports/@media blocks
   at the end of each part, so no-motion and older browsers get a complete page.
   ========================================================================== */

/* --- 15a. Hero: big headline + "What can we help with?" choices --- */
.hero--home { --scene-h: max(190px, min(22vw, 330px), 13.5vw);   /* 13.5vw floor: see section 17 */ padding-top: clamp(3rem, 7vw, 5.5rem); }
.hero.hero--home { padding-bottom: calc(var(--scene-h) * 0.62); }
.hero--home .hero__lede { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.hero--home > .container { position: relative; z-index: 1; }
.choice { background: rgb(255 255 255 / 0.85); }
.hero--home h1 { font-size: clamp(2.8rem, 1.2rem + 6vw, 6.2rem); line-height: 0.98; letter-spacing: -0.04em; font-weight: 800; max-width: 15ch; margin-bottom: 0.35em; }
.hero--home .hero__lede { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); max-width: 34rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.choices__title { font: 600 1rem var(--font-body); color: var(--slate-600); margin: 0 0 0.9rem; }
.choices__list { display: grid; border-top: 1px solid var(--slate-200); }
@media (min-width: 900px) { .choices__list { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 1rem; } }
.choice { position: relative; display: grid; gap: 0.2rem; padding: 1.25rem 3rem 1.25rem 0; border-bottom: 1px solid var(--slate-200); color: var(--ink); text-decoration: none; }
@media (min-width: 900px) { .choice { padding: 1.5rem 3rem 1.5rem 1.5rem; border: 1px solid var(--slate-200); border-radius: 16px; transition: border-color 0.2s, background-color 0.2s; } }
.choice__title { font: 700 clamp(1.15rem, 1rem + 0.5vw, 1.35rem)/1.25 var(--font-head); letter-spacing: -0.01em; }
.choice__note { font-size: 0.98rem; color: var(--slate-600); }
.choice__arrow { position: absolute; right: 0.25rem; top: 50%; translate: 0 -50%; font: 700 1.4rem var(--font-head); color: var(--gold-deep); transition: translate 0.2s; }
@media (min-width: 900px) { .choice__arrow { right: 1.25rem; } }
/* Phones and tablets: choices are separate rounded cards, not a divided list */
@media (max-width: 899px) {
  .hero--home .choices__list { gap: 0.75rem; border-top: 0; }
  .hero--home .choice { padding: 1rem 3rem 1rem 1rem; border: 1px solid var(--slate-200); border-radius: 16px; }
  .hero--home .choice__arrow { right: 1rem; }
}
.choice:hover { color: var(--ink); }
.choice:hover .choice__arrow { translate: 6px -50%; }
@media (min-width: 900px) { .choice:hover { border-color: var(--gold); background: var(--gold-tint); } }
.choices__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; margin-bottom: 0.9rem; }
.choices__head .choices__title { margin: 0; }
.choices__or { margin: 0; color: var(--slate-600); font-size: 0.95rem; }
.choices__or a { padding-block: var(--tap-pad); }

/* --- Price comparison (full-bleed goldenrod) --- */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
@counter-style pad3 { system: extends decimal; pad: 3 "0"; }
.compare { background: var(--slate-800); color: #dfe6ea; padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; overflow-x: clip; }
.compare__head { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.compare__head h2 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 0.5em; }
.compare__head h2 { color: var(--white); }
.compare__head h2 span { display: block; color: var(--gold); }
.compare__head p { font-size: var(--step-1); max-width: 38rem; margin: 0; }
.compare__rows { position: relative; display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .compare__rows { grid-template-columns: repeat(3, 1fr); } }
.vs { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.25rem; box-shadow: 0 30px 60px -25px rgb(0 0 0 / 0.5); }
.vs__what { font-size: var(--step-1); margin: 0; }
.vs__side { display: grid; gap: 0.2rem; padding-top: 1rem; border-top: 1px solid var(--slate-200); }
.vs__who { font: 700 0.85rem var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-600); margin: 0; }
.vs__price { font: 800 clamp(2.4rem, 1.6rem + 3vw, 3.8rem)/1 var(--font-head); letter-spacing: -0.03em; margin: 0.15rem 0 0.4rem; }
.vs__price small { font-size: 0.4em; font-weight: 600; letter-spacing: 0; margin-left: 0.15em; }
.vs__side--them .vs__price { color: var(--slate-500); position: relative; justify-self: start; }
.vs__side--them .vs__price::after { content: ""; position: absolute; left: -4%; right: -4%; top: 50%; height: 0.12em; background: #c2410c; border-radius: 99px; rotate: -6deg; }
.vs__side--us .vs__who { color: var(--gold-deep); }
.vs__side--us .vs__price { color: var(--ink); }
.vs__bar { display: block; height: 14px; border-radius: 99px; background: var(--slate-300); transform-origin: left; }
.vs__side--us .vs__bar { background: var(--gold); width: 5%; min-width: 14px; }
.vs__side--us .vs__bar--retainer { width: 6.25%; }
.vs__note { margin: 0.4rem 0 0; font-size: 0.98rem; color: var(--slate-600); }
.vs__side--us .vs__note { color: var(--ink); font-weight: 600; }
/* Sits in its own grid row so it never covers the comparison text */
.compare__sticker { position: static; grid-column: 1 / -1; justify-self: end; width: 8.5rem; aspect-ratio: 1; border-radius: 50%; margin: 0; display: grid; place-content: center; text-align: center;
  background: var(--gold); color: var(--ink); font: 700 0.95rem/1.05 var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; rotate: 12deg; margin: -0.25rem 0 0; box-shadow: 0 16px 30px -10px rgb(0 0 0 / 0.5); z-index: 2; }
.compare__sticker strong { display: block; font-size: 2.3rem; color: var(--ink); letter-spacing: -0.02em; }
@media (max-width: 959px) { .compare__sticker { width: 7rem; } .compare__sticker strong { font-size: 1.9rem; } }
.compare__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.compare__foot p { font: 700 var(--step-1) var(--font-head); margin: 0; color: var(--white); }

/* Counting numbers: "$10,000" drawn by a CSS counter, so it can tick up */
@supports (width: calc(mod(5px, 2px))) and (width: round(down, 5.5px, 1px)) {
  .num--10k { --n: 10000; } .num--8k { --n: 8000; }
  .num { counter-reset: k round(down, var(--n) / 1000, 1) r mod(var(--n), 1000); }
  .num::before { content: "$" counter(k) "," counter(r, pad3) / ""; }
  .num__text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* --- 15c. Retainer scale (Services page) --- */
.scale { margin: 0.75rem 0 1.75rem; }
.scale__bar { height: 10px; border-radius: 99px; background: rgb(255 255 255 / 0.12); overflow: hidden; }
.scale__fill { display: block; height: 100%; border-radius: inherit; transform-origin: left; background: linear-gradient(90deg, var(--gold-light), var(--gold) 55%, #d9822b); }
.scale__ends { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.6rem; font-size: 0.9rem; color: #b8c5cd; }
.scale__ends span:last-child { text-align: right; }
.scale__ends strong { display: block; font-family: var(--font-head); color: var(--white); }
.section--light-scale .scale__bar { background: var(--slate-100); }
.section--light-scale .scale__ends { color: var(--slate-600); }
.section--light-scale .scale__ends strong { color: var(--ink); }

/* --- 15d. MW window --- */
.mw-window { position: relative; background: var(--slate-800); color: #e3e9ed; }
.mw-window__sticky { position: relative; min-height: 85svh; display: grid; align-items: end; overflow: hidden; }
.mw-window__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mw-window__sticky::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgb(20 30 38 / 0.7), rgb(20 30 38 / 0.15) 70%), linear-gradient(to top, rgb(20 30 38 / 0.95) 0%, rgb(20 30 38 / 0.7) 45%, rgb(20 30 38 / 0.1) 85%); }
.mw-window h2, .mw-window p { text-shadow: 0 2px 18px rgb(0 0 0 / 0.35); }
.mw-window__content { position: relative; z-index: 2; padding-block: clamp(3rem, 8vw, 6rem); }
.mw-window__content > * { max-width: 52rem; }
.mw-window h2 { color: var(--white); }

.mw-window p:not(.eyebrow) { font-size: var(--step-1); color: #d5dde2; }
.mw-window .btn-row { margin-top: 1.5rem; }
.mw-window .eyebrow { color: var(--gold-light); text-shadow: 0 1px 8px rgb(0 0 0 / 0.6); }

/* --- 15e. Is your website trash? --- */
.trash-check__photo { margin: 0; position: relative; }
.trash-check__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); rotate: 2deg; width: 100%; }
.trash-check__photo::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 30px; translate: -50% 0; rotate: -4deg; background: rgb(218 165 32 / 0.55); z-index: 1; border-radius: 2px; }
@media (max-width: 859px) { .trash-check__photo { max-width: 22rem; margin-inline: auto; order: -1; } }   /* photo before the quiz on phones */
.quiz { margin-top: 1.5rem; counter-reset: trash; --fill: 0; }
.quiz__items { border: 0; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.quiz__cb { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }  /* real checkbox, drawn by its label */
.quiz__item { position: relative; display: flex; gap: 0.9rem; align-items: center; padding: 0.85rem 1rem; border: 1.5px solid var(--slate-200); border-radius: 12px; background: var(--paper); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.quiz__item:hover { border-color: var(--slate-300); }
.quiz__item::before { content: ""; flex-shrink: 0; width: 1.45rem; height: 1.45rem; border: 2px solid var(--slate-300); border-radius: 6px; background: #fff center / 70% no-repeat; transition: background-color 0.2s, border-color 0.2s; }
.quiz__cb:checked + .quiz__item { border-color: var(--gold); background: var(--gold-tint); }
.quiz__cb:checked + .quiz__item::before { border-color: var(--gold); background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.5 3 3L13 4.5' fill='none' stroke='%231b2730' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.quiz__cb:checked { counter-increment: trash; }
.quiz__cb:focus-visible + .quiz__item { outline: 3px solid var(--gold); outline-offset: 2px; }
.quiz__result { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; margin-top: 1.25rem; padding: 1.5rem 1.75rem; border-radius: 18px; background: var(--slate-800); color: #dfe6ea; }
.quiz__score { font: 700 var(--step-2) var(--font-head); color: var(--white); margin: 0 0 0.3rem; }
.quiz__count::before { content: counter(trash); color: var(--gold); }
.quiz__msg { display: none; margin: 0 0 1rem; }
.quiz__msg--0 { display: block; }
.trashcan { position: relative; width: 4.6rem; height: 6rem; }
.trashcan__body { position: absolute; bottom: 0; left: 8%; right: 8%; height: 78%; border: 3px solid #c9d3da; border-top: 0; border-radius: 0 0 12px 12px; overflow: hidden;
  background: repeating-linear-gradient(90deg, transparent 0 20%, rgb(255 255 255 / 0.1) 20% 26%); }
.trashcan__fill { position: absolute; inset: 0; transform-origin: bottom; scale: 1 var(--fill); transition: scale 0.6s cubic-bezier(0.3, 1.4, 0.5, 1);
  background: radial-gradient(circle at 30% 20%, #f6dc8e 0 12%, transparent 13%), radial-gradient(circle at 70% 45%, #f6dc8e 0 10%, transparent 11%), linear-gradient(180deg, var(--gold-light), var(--gold) 50%, #a8770c); }
.trashcan__lid { position: absolute; top: 10%; left: 0; right: 0; height: 9%; background: #c9d3da; border-radius: 6px 6px 2px 2px; transform-origin: 92% 100%; transition: rotate 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
.trashcan__lid::before { content: ""; position: absolute; left: 38%; right: 38%; top: -60%; height: 70%; border: 3px solid #c9d3da; border-bottom: 0; border-radius: 6px 6px 0 0; }
.trashcan__stink { position: absolute; top: -28%; left: 4%; font: 700 1.2rem var(--font-head); letter-spacing: 0.15em; color: #a9c47f; opacity: 0; transition: opacity 0.3s; white-space: nowrap; }
@media (max-width: 520px) { .quiz__result { grid-template-columns: 1fr; justify-items: start; } }
.quiz:has(.quiz__cb:checked) { --fill: 0.143; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked) { --fill: 0.286; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) { --fill: 0.429; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) { --fill: 0.571; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) { --fill: 0.714; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) { --fill: 0.857; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) { --fill: 1.000; }
.quiz:has(.quiz__cb:checked) .quiz__msg--0 { display: none; }
.quiz:has(.quiz__cb:checked) .quiz__msg--1 { display: block; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) .quiz__msg--1 { display: none; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) .quiz__msg--3 { display: block; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) .quiz__msg--3 { display: none; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) .quiz__msg--5 { display: block; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) .trashcan__lid { rotate: 32deg; }
.quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) .trashcan__stink { opacity: 1; }

/* --- 15f. Page-speed badge (footer) --- */
.speed { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: #b8c5cd; margin: 0; }
.speed[hidden] { display: none; }
.speed::before { content: ""; width: 0.8rem; height: 1rem; background: var(--gold); clip-path: polygon(60% 0, 0 58%, 42% 58%, 30% 100%, 100% 38%, 56% 38%); }
.speed strong { color: var(--white); font-weight: 600; }
@media (max-width: 599px) { .footer-bottom .speed { font-size: 0.72rem; gap: 0.3rem; white-space: nowrap; } .footer-bottom .speed::before { width: 0.65rem; height: 0.8rem; flex: 0 0 auto; } }

/* --- 15b. Promises --- */
.promises { padding-block: clamp(3rem, 6vw, 4.5rem); }
.promises__title { font-size: var(--step-3); margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.promises__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.promise { padding: 0.5rem 0; }
.promise h3 { font-size: var(--step-2); margin: 0.75rem 0 0.35rem; }
.promise p { margin: 0; color: var(--slate-700); }
.promise__icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: #e3ebf0; color: var(--slate-700); }
.promise__icon svg { width: 1.25rem; height: 1.25rem; }

/* Comparison: word-based prices and the "one day" bar */
.vs__price--words { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.vs__side--us .vs__bar--day { width: 2.5%; }

/* --- Client wall --- */
.biz-grid { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.biz { display: grid; gap: 0.35rem; text-decoration: none; color: var(--ink); }
.biz__frame { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--slate-200); background: var(--white); box-shadow: var(--shadow); padding-top: 14px; position: relative; transition: transform 0.25s, box-shadow 0.25s; }
.biz__frame::before { content: ""; position: absolute; top: 5px; left: 8px; width: 28px; height: 5px; background: radial-gradient(circle, #ec6a5e 2.5px, transparent 3px) 0 0 / 10px 5px repeat-x; opacity: 0.8; }
.biz__frame img { aspect-ratio: 1080 / 565; object-fit: cover; object-position: top; width: 100%; border-top: 1px solid var(--slate-200); }
.biz:hover .biz__frame { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.biz__name { font: 700 1.05rem var(--font-head); margin-top: 0.4rem; }
.biz__meta { font-size: 0.92rem; color: var(--slate-600); }
.biz:hover { color: var(--ink); }

/* --- Reviews --- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.reviews-head h2 { margin-bottom: 0.25rem; }
.reviews-head .lead { margin: 0; }
.rating { display: grid; grid-template-columns: auto auto; column-gap: 0.75rem; align-items: center; padding: 1rem 1.4rem; border-radius: 18px; background: var(--slate-800); color: var(--white); text-decoration: none; }
.rating:hover { color: var(--white); background: var(--ink); }
.rating__score { grid-row: span 2; font: 800 2.8rem/1 var(--font-head); }
.rating__stars { color: var(--gold); letter-spacing: 0.12em; font-size: 1.15rem; }
.rating__count { font-size: 0.92rem; color: #c9d3da; }
.reviews { columns: 3 19rem; column-gap: 1.25rem; }
.review { break-inside: avoid; margin: 0 0 1.25rem; padding: 1.4rem 1.5rem; border-radius: 18px; background: var(--slate-100); }
.review__stars { color: var(--gold); letter-spacing: 0.12em; margin: 0 0 0.5rem; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-size: 1.05rem; }
.review figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; font-size: 0.92rem; color: var(--slate-600); }
.review figcaption strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 0.98rem; }
.review__avatar { width: 2.4rem; height: 2.4rem; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--slate-800); color: var(--gold); font: 700 0.85rem var(--font-head); }

/* --- Getting started --- */
.start-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .start-steps { grid-template-columns: repeat(3, 1fr); } }
.start-steps > li { counter-increment: step; position: relative; padding: 2rem 1.6rem 1.6rem; border-radius: 22px; background: var(--white); border: 1px solid var(--slate-200); display: flex; flex-direction: column; gap: 0.25rem; }
.start-steps > li::before { content: counter(step); width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; margin-bottom: 0.75rem; background: var(--gold); color: var(--ink); font: 800 1.3rem var(--font-head); }
.start-steps h3 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.start-steps p { color: var(--slate-700); margin: 0 0 1rem; }
.start-steps .btn { margin-top: auto; align-self: flex-start; }
.start-extra { display: grid; gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .start-extra { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.ready, .faq { padding: 1.75rem; border-radius: 22px; background: var(--white); border: 1px solid var(--slate-200); }
.ready h3, .faq h3 { font-size: var(--step-1); }
.faq details { border-top: 1px solid var(--slate-200); }
.faq details:last-child { border-bottom: 1px solid var(--slate-200); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; position: relative; font: 600 1.05rem var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; translate: 0 -50%; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-deep); font-weight: 700; transition: rotate 0.25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.faq details p { margin: 0 0 1.1rem; color: var(--slate-700); }

/* --- Who you'll work with --- */
.lee__inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 860px) { .lee__inner { grid-template-columns: 0.8fr 1.2fr; } }
.lee__photo { position: relative; max-width: 26rem; margin-inline: auto; width: 100%; }
.lee__photo img { border-radius: 50% 50% 24px 24px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lee__photo::after { content: "Call or text me"; position: absolute; right: -6%; bottom: 8%; rotate: -6deg; padding: 0.6rem 1rem; border-radius: 12px; background: var(--gold); color: var(--ink); font: 700 0.95rem var(--font-head); box-shadow: var(--shadow); }

/* --- 15. Motion for the showpieces ---------------------------------------- */
@media (prefers-reduced-motion: no-preference) {

  .quiz:has(.quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked ~ .quiz__cb:checked) .trashcan__stink { animation: stink 1.4s ease-in-out infinite alternate; }
  /* Hero: the three choices rise in, one after another */
  .choice { animation: hero-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .choice:nth-child(1) { animation-delay: 0.3s; } .choice:nth-child(2) { animation-delay: 0.4s; } .choice:nth-child(3) { animation-delay: 0.5s; }

  /* Pricing: their price meters up like a taxi fare, gets struck out; our bar barely moves */
  @supports (animation-timeline: view()) {
    .num { animation: count-up linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
    @keyframes count-up { from { --n: 1000; } }
    .vs__side--them .vs__bar { animation: bar-grow linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
    .vs__side--them .vs__price::after { transform-origin: left; animation: strike linear both; animation-timeline: view(); animation-range: cover 45% cover 55%; }
    @keyframes strike { from { scale: 0 1; } }
    .compare__sticker { animation: sticker linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
    @keyframes sticker { from { scale: 0; rotate: -40deg; } 80% { scale: 1.1; } }
    .compare__head h2 span { animation: reveal linear both; animation-timeline: view(); animation-range: entry 20% cover 35%; }
  }
  /* FAQ answers glide open (interpolate-size lets height animate to auto) */
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 0.3s ease, content-visibility 0.3s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
  @keyframes stink { from { translate: 0 4px; } to { translate: 3px -4px; } }


  @supports (animation-timeline: view()) {

    /* Offer panels + the retainer scale filling up */
    :where(.trash-check__photo, .quiz__result, .vs, .biz, .review, .promise, .start-steps > li) { animation: reveal linear both; animation-timeline: view(); animation-range: entry calc(var(--i, 0) * 12%) entry 100%; }
    .compare__rows > .vs:nth-child(2), .promise:nth-child(2), .biz:nth-child(4n+2) { --i: 1; }
    .compare__rows > .vs:nth-child(3), .promise:nth-child(3), .biz:nth-child(4n+3) { --i: 2; }
    .promise:nth-child(4), .biz:nth-child(4n+4) { --i: 3; }
    .scale__fill { animation: scale-fill linear both; animation-timeline: view(); animation-range: entry 60% cover 55%; }
    @keyframes scale-fill { from { scale: 0.04 1; } }

  }

}

/* ==========================================================================
   16. Homepage: skyline, services, highlighter, modern CSS touches
   ========================================================================== */


/* Headline highlighter: gold marker behind <em> in headings */
:is(h1, h2) em { font-style: normal; padding-inline: 0.04em; background: linear-gradient(transparent 64%, rgb(218 165 32 / 0.5) 64% 92%, transparent 92%) no-repeat 0 0 / 100% 100%; }
.section--dark h2 em, .compare h2 em, .mw-window h2 em { background-image: linear-gradient(transparent 64%, rgb(218 165 32 / 0.45) 64% 92%, transparent 92%); }

/* What we do */
.services-home .section-head { max-width: 48rem; }

.svc-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.svc { padding: 1.4rem 1.4rem 1.5rem; border-radius: 22px; background: #eef3f6; transition: background-color 0.25s, color 0.25s, translate 0.25s; }
.svc h3 { font-size: 1.12rem; margin: 0.9rem 0 0.3rem; }
.svc p { margin: 0; font-size: 0.98rem; color: var(--slate-600); transition: color 0.25s; }
.svc__icon { width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--slate-700); transition: background-color 0.25s, color 0.25s; }
.svc__icon svg { width: 1.35rem; height: 1.35rem; }
.svc:hover { background: var(--slate-800); color: var(--white); translate: 0 -3px; }
.svc:hover p { color: #c9d3da; }
.svc:hover .svc__icon { background: var(--gold); color: var(--ink); }
.svc-foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-top: 2rem; }
.svc-foot p { margin: 0; color: var(--slate-600); }

/* Squircle corners where supported (corner-shape) — softer, more modern cards */
@supports (corner-shape: squircle) {
  :is(.svc, .choice, .vs, .review, .start-steps > li, .ready, .faq, .card, .promise__icon, .quiz__result, .cta-band) { corner-shape: squircle; }
  :is(.svc, .vs, .start-steps > li, .ready, .faq, .quiz__result, .cta-band) { border-radius: 40px; }
  .choice { border-radius: 28px; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Highlighter swipes in: on load in the hero, as you scroll elsewhere */
  .hero h1 em { animation: marker 0.9s 0.5s cubic-bezier(0.6, 0, 0.3, 1) both; }
  @keyframes marker { from { background-size: 0% 100%; } }
  @supports (animation-timeline: view()) {
    h2 em { animation: marker linear both; animation-timeline: view(); animation-range: entry 60% cover 40%; }
  }

  /* Service tiles rise in as they scroll into view; tiles in the same row are staggered with sibling-index().
     (We tried animation-trigger, per the CSS-Tricks almanac: in Chrome 152 it doesn't fire after in-page
     jumps, leaving tiles hidden, so it's avoided until the spec settles.) */
  @supports (animation-timeline: view()) {
    .svc { animation: reveal linear both; animation-timeline: view(); animation-range: entry calc(var(--i, 0) * 10%) entry 100%; }
    @supports (animation-delay: calc(sibling-index() * 1ms)) { .svc { --i: mod(sibling-index() - 1, 4); } }
  }
}
@media (max-width: 599px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .svc { padding: 1rem 0.95rem 1.1rem; }
  .svc__icon { width: 2.4rem; height: 2.4rem; }
  .svc h3 { font-size: 1rem; margin-top: 0.7rem; }
  .svc p { font-size: 0.88rem; }
}

/* ==========================================================================
   17. Main Street hero scene (every page) — partials/hero-scene.html
   Living sky (drifts toward golden hour), clouds, birds, colorful storefronts
   with awnings and OPEN signs, street traffic, and growth notifications.
   Decorative and aria-hidden. With reduced motion: a still, colorful scene.
   ========================================================================== */
/* The scene SVG is 5:1 and crops from the top once the strip is shorter than 20vw. Buildings sit in
   the bottom 216 of 320 units (tools/make_scene.py), so --scene-h must never drop below 13.5vw or
   roofs get sliced off. No max cap: on very wide screens (TVs) the strip keeps growing with width. */
.hero { --scene-h: max(110px, 13.5vw); position: relative; overflow: clip;
  padding-bottom: calc(var(--scene-h) + clamp(1.5rem, 3vw, 2.5rem));
  background: linear-gradient(180deg, #f8fbfd 0%, #e9f2f8 55%, #dde9f1 100%); }
.hero > .container { position: relative; z-index: 2; }
.sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sky::before { content: ""; position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, #fffaf1 0%, #fdeed3 55%, #f7dfc4 100%); }
.sky__glow { position: absolute; width: 70vmax; aspect-ratio: 1; right: -22vmax; top: -38vmax; border-radius: 50%; background: radial-gradient(circle, rgb(255 216 140 / 0.55), rgb(255 216 140 / 0) 62%); }
.cloud { position: absolute; left: 0; width: 240px; height: 58px; border-radius: 60px; background: #fff; opacity: 0.85; filter: blur(1px); }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 110px; height: 90px; left: 40px; top: -44px; }
.cloud::after { width: 80px; height: 66px; left: 120px; top: -28px; }
.cloud--1 { top: 16%; translate: 62vw 0; }
.cloud--2 { top: 34%; translate: 8vw 0; scale: 0.7; opacity: 0.7; }
.cloud--3 { top: 8%; translate: 84vw 0; scale: 0.55; opacity: 0.6; }
.birds { position: absolute; top: 20%; left: 0; width: 90px; fill: none; stroke: #6f8898; stroke-width: 2.5; stroke-linecap: round; translate: -120px 0; }
.scene { position: absolute; left: 0; right: 0; bottom: 0; height: var(--scene-h); z-index: 1; pointer-events: none; }
.skyline { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Growth notifications */
.notif { position: absolute; left: var(--x); bottom: var(--y); display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap;
  padding: 0.45rem 0.8rem; border-radius: 999px; background: #fff; color: var(--ink); font: 600 0.85rem var(--font-head);
  box-shadow: 0 8px 24px -6px rgb(27 39 48 / 0.28); opacity: 0; }
.notif::after { content: ""; position: absolute; left: 1rem; bottom: -5px; width: 10px; height: 10px; background: #fff; rotate: 45deg; }
.notif b { color: var(--gold-deep); font-weight: 700; }
.notif i { font-style: normal; }
.notif [data-t]::before { content: attr(data-t); }   /* text lives in data-t so crawlers skip it (tools/make_scene.py) */
.notif--1 { --x: 8%;  --y: 40%; }
.notif--2 { --x: 26%; --y: 52%; }
.notif--3 { --x: 44%; --y: 62%; }
.notif--4 { --x: 60%; --y: 72%; }
.notif--5 { --x: 74%; --y: 80%; }
.notif--6 { --x: 86%; --y: 88%; }
.hero--page .notif { font-size: 0.78rem; }
/* Homepage: the choice cards overlap the rooftops, so bubbles stay in the band below them */
.hero--home .notif--1 { --x: 5%;  --y: 30%; }
.hero--home .notif--2 { --x: 21%; --y: 42%; }
.hero--home .notif--3 { --x: 38%; --y: 28%; }
.hero--home .notif--4 { --x: 55%; --y: 44%; }
.hero--home .notif--5 { --x: 71%; --y: 30%; }
.hero--home .notif--6 { --x: 87%; --y: 46%; }
@media (max-width: 699px) {
  .notif--1, .notif--2, .notif--6 { display: none; }
  .notif--3 { --x: 6%; } .notif--4 { --x: 34%; --y: 70%; } .notif--5 { --x: 56%; --y: 84%; }
  .birds { width: 64px; }
}

@media (prefers-reduced-motion: no-preference) {
  .sky::before { animation: golden-hour 28s ease-in-out infinite alternate; }
  @keyframes golden-hour { 0%, 15% { opacity: 0; } 100% { opacity: 0.85; } }
  .sky__glow { animation: glow 14s ease-in-out infinite alternate; }
  @keyframes glow { from { scale: 0.9; opacity: 0.7; } to { scale: 1.05; opacity: 1; } }
  .cloud { animation: drift linear infinite; }
  .cloud--1 { animation-duration: 90s; animation-delay: -30s; }
  .cloud--2 { animation-duration: 120s; animation-delay: -90s; }
  .cloud--3 { animation-duration: 150s; animation-delay: -20s; }
  @keyframes drift { from { translate: -300px 0; } to { translate: 110vw 0; } }
  .birds { animation: fly 36s linear infinite 4s; }
  @keyframes fly { 0% { translate: -120px 0; } 60% { translate: 110vw -30px; } 100% { translate: 110vw -30px; } }
  .birds path { transform-box: fill-box; transform-origin: center; animation: flap 0.9s ease-in-out infinite alternate; }
  .birds path:nth-child(even) { animation-delay: -0.45s; }
  @keyframes flap { to { scale: 1 0.55; } }

  /* Storefronts: rise on the homepage, windows glow, OPEN signs flicker on */
  .hero--home .sk-b { transform-box: fill-box; transform-origin: 50% 100%; animation: sk-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
  @supports (animation-delay: calc(sibling-index() * 1ms)) { .hero--home .sk-b { animation-delay: calc(sibling-index() * 50ms); } }
  @keyframes sk-rise { from { scale: 1 0; } }
  .sk-w { animation: sk-light 9s ease-in-out infinite; }
  .sk-w:nth-of-type(2n) { animation-duration: 12s; animation-delay: -4s; }
  .sk-w:nth-of-type(3n) { animation-duration: 7s; animation-delay: -2s; }
  @supports (animation-delay: calc(sibling-index() * 1ms)) { .sk-b:nth-child(odd) .sk-w { animation-delay: calc(sibling-index() * -1.3s); } }
  @keyframes sk-light { 0%, 30%, 100% { fill: #fbf8f1; } 45%, 70% { fill: #f5d67f; } }
  .sk-open { animation: open-sign 7s steps(1, end) infinite; }
  .sk-b:nth-child(3n) .sk-open { animation-delay: -2.5s; }
  .sk-b:nth-child(3n + 1) .sk-open { animation-delay: -5s; }
  @keyframes open-sign { 0%, 88% { opacity: 1; } 90% { opacity: 0.35; } 92% { opacity: 1; } 94% { opacity: 0.35; } 96% { opacity: 1; } }

  /* Street traffic */
  .sk-van { animation: drive 24s linear infinite; animation-delay: -6s; }
  .sk-car { animation: drive 17s linear infinite; animation-delay: -13s; }
  @keyframes drive { from { transform: translateX(-140px); } to { transform: translateX(1760px); } }

  /* Growth notifications: one pops up every 3 seconds, floats and fades */
  .notif { animation: notif 18s ease-in-out infinite; }
  .notif--1 { animation-delay: 1.5s; } .notif--2 { animation-delay: 4.5s; } .notif--3 { animation-delay: 7.5s; }
  .notif--4 { animation-delay: 10.5s; } .notif--5 { animation-delay: 13.5s; } .notif--6 { animation-delay: 16.5s; }
  @keyframes notif {
    0%      { opacity: 0; translate: 0 14px; scale: 0.8; }
    3%      { opacity: 1; translate: 0 0; scale: 1; }
    13%     { opacity: 1; translate: 0 -16px; scale: 1; }
    17%     { opacity: 0; translate: 0 -30px; scale: 0.96; }
    100%    { opacity: 0; translate: 0 -30px; }
  }

  /* Homepage: scene eases away as you scroll */
  @supports (animation-timeline: scroll()) {
    .hero--home .scene { animation: sk-away linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    @keyframes sk-away { to { translate: 0 16%; opacity: 0.6; } }
  }

  /* Our story: slow zoom on the photo; text fades up as it arrives */
  .mw-window__photo { animation: slow-zoom 28s ease-in-out infinite alternate; }
  @keyframes slow-zoom { from { scale: 1; } to { scale: 1.08; translate: -1% -1%; } }
  @supports (animation-timeline: view()) {
    .mw-window__content { animation: reveal linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}
/* Save battery: pause the scene when the hero scrolls out of view (class set by site.js) */
.hero.is-offscreen :is(.sky, .scene) * , .hero.is-offscreen .sky::before { animation-play-state: paused !important; }

/* ==========================================================================
   18. Brand blue balance — matches the original site's slate blue (#627885,
   hsl 202° 15% 45%): big brand-blue fields with white text, gold as the accent.
   ========================================================================== */
:root { --brand: var(--slate-500); --brand-tint: #e3ebf0; }

/* Bluer sky behind every page top; golden hour stays a gentle warm wash */
.hero { background: linear-gradient(180deg, #f3f7fa 0%, #d9e5ec 50%, #b8c9d4 100%); }
.sky::before { background: linear-gradient(180deg, #f7f4ee 0%, #e9e2d6 55%, #c9ccc8 100%); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes golden-hour { 0%, 20% { opacity: 0; } 100% { opacity: 0.5; } }
}

/* Brand-blue sections: What we do, tinted sections, newsletter band */
.services-home, .section--tint, .newsletter-band { background: var(--brand); color: #f1f5f8; }
:is(.services-home, .section--tint, .newsletter-band) :is(h2, h3) { color: var(--white); }
:is(.services-home, .section--tint, .newsletter-band) :is(.section-head p:not(.eyebrow), .lead, p) { color: #f1f5f8; }
:is(.services-home, .section--tint, .newsletter-band) .eyebrow { color: #f5d67f; }
:is(.services-home, .section--tint, .newsletter-band) a:not(.btn) { color: var(--white); }
:is(.services-home, .section--tint, .newsletter-band) .link-arrow::after { color: var(--gold); }
:is(.services-home, .section--tint, .newsletter-band) .btn--primary { background: var(--gold); color: var(--ink); }
:is(.services-home, .section--tint, .newsletter-band) .btn--primary:hover { background: var(--gold-light); color: var(--ink); }
:is(.services-home, .section--tint, .newsletter-band) .btn--dark { background: var(--ink); }
:is(.services-home, .section--tint, .newsletter-band) .btn--outline { border-color: var(--white); color: var(--white); }
.newsletter-band .form__fine { color: #e3ebf0; }
.newsletter-band input[type="email"] { border-color: transparent; }

/* Service tiles: white on brand blue; hover goes deep slate with a gold icon */
.svc { background: var(--white); color: var(--ink); }
.svc h3 { color: var(--ink) !important; }
.svc p { color: var(--slate-600) !important; }
.svc__icon { background: var(--brand-tint); }
.svc:hover { background: var(--slate-800); }
.svc:hover h3 { color: var(--white) !important; }
.svc:hover p { color: #c9d3da !important; }
.services-home .svc-foot p { color: #f1f5f8; }

/* On blue, the highlighter becomes a gold underline so white text stays crisp */
:is(.services-home, .section--tint, .newsletter-band, .section--dark, .compare, .mw-window) :is(h1, h2) em {
  background-image: linear-gradient(transparent 84%, var(--gold) 84% 96%, transparent 96%); }

/* Light-blue tints instead of gray/white elsewhere */
.review { background: var(--brand-tint); }
.promise__icon { background: var(--brand); color: var(--white); }
.get-started { background: var(--brand-tint); }
.start-steps > li, .ready, .faq { border-color: #cfdbe3; }
.choice { border-color: #c5d3dc; }


/* ==========================================================================
   19. Floating header
   A frosted-glass pill that floats over the sky. Nav hover uses CSS anchor
   positioning: one highlight glides to whichever link you point at.
   ========================================================================== */
:root { --header-h: 100px; }
.site-header { position: sticky; top: 0; height: var(--header-h); margin-bottom: calc(-1 * var(--header-h)); padding-top: 0.75rem;
  background: none; border: 0; backdrop-filter: none; pointer-events: none; }
.site-header__inner { pointer-events: auto; min-height: 76px; max-width: calc(var(--max) - 1rem); padding: 0.6rem 0.65rem 0.6rem 1.6rem;
  background: rgb(255 255 255 / 0.72); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid rgb(255 255 255 / 0.8); border-radius: 999px;
  box-shadow: 0 1px 2px rgb(27 39 48 / 0.05), 0 8px 24px -14px rgb(27 39 48 / 0.25), inset 0 1px 0 rgb(255 255 255 / 0.9); }
.brand img { width: 214px; }
.nav__list { position: relative; isolation: isolate; gap: 0.1rem; }
.nav__list a { border-radius: 999px; padding: 0.65rem 0.95rem; font-size: 1.02rem; position: relative; transition: color 0.2s; }
.nav__list a:hover { background: none; }
.nav__list a[aria-current="page"] { box-shadow: none; border-radius: 999px; color: var(--ink); font-weight: 600; }
.nav__list a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0.2rem; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); translate: -50% 0; }
.nav__phone { display: none; align-items: center; gap: 0.4rem; margin-left: 0.5rem; padding: 0.45rem 0.6rem; font: 600 1rem var(--font-head); color: var(--slate-700); text-decoration: none; white-space: nowrap; }
.nav__phone svg { width: 1rem; height: 1rem; color: var(--gold-deep); }
.nav__phone:hover { color: var(--ink); }
@media (min-width: 1180px) { .nav__phone { display: inline-flex; } }
.nav__cta { border-radius: 999px; margin-left: 0.4rem; padding-inline: 1.35rem; min-height: 52px; }
@supports (corner-shape: squircle) { .site-header__inner { corner-shape: round; } }

/* Gliding hover highlight (anchor positioning). The highlight is ::after so it comes after the links. */
@supports (anchor-name: --a) {
  @media (min-width: 1024px) {
    .nav__list a:is(:hover, :focus-visible) { anchor-name: --nav-hover; }
    .nav__list::after { content: ""; position: absolute; z-index: -1; position-anchor: --nav-hover;
      left: anchor(left); right: anchor(right); top: anchor(top); bottom: anchor(bottom);
      border-radius: 999px; background: #e3ebf0; opacity: 0; transition: left 0.25s cubic-bezier(0.3, 0.8, 0.3, 1), right 0.25s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.2s; }
    .nav__list:has(a:hover, a:focus-visible)::after { opacity: 1; }
  }
}
@supports not (anchor-name: --a) { .nav__list a:hover { background: #e3ebf0; } }

/* Heroes start under the floating header */
.hero--home { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); }
.hero--page { padding-top: calc(var(--header-h) + clamp(2.25rem, 5vw, 4rem)); }

/* Phones & tablets: compact pill; the menu opens as a floating card below it */
@media (max-width: 1023px) {
  :root { --header-h: 84px; }
  .site-header { padding-top: 0.6rem; }
  .site-header__inner { min-height: 62px; width: calc(100% - 1.25rem); padding: 0.4rem 0.45rem 0.4rem 1.1rem; }
  .brand img { width: 168px; }
  .nav-toggle { border-radius: 999px; background: rgb(255 255 255 / 0.7); }
  .nav { top: calc(100% + 0.5rem); left: 0.625rem; right: 0.625rem; border-radius: 22px; border: 1px solid var(--slate-200); pointer-events: auto; padding: 0.75rem 1.25rem 1.25rem; }
  .nav__list a[aria-current="page"]::after { left: auto; right: 0.5rem; bottom: 50%; translate: 0 50%; }
  .nav__phone { display: inline-flex; justify-content: center; margin: 0.75rem 0 0; }
}
@media (min-width: 1100px) { .biz-grid { grid-template-columns: repeat(5, 1fr); } }

/* ==========================================================================
   20. Service pages (templates/service-page.html)
   ========================================================================== */
.svc-facts { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.svc-facts li { display: grid; padding: 0.8rem 1.2rem; border-radius: 16px; background: rgb(255 255 255 / 0.8); border: 1px solid #c5d3dc; backdrop-filter: blur(6px); }
.svc-facts strong { font: 800 1.35rem/1.1 var(--font-head); color: var(--ink); }
.svc-facts span { font-size: 0.9rem; color: var(--slate-600); }

.explainer { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .explainer { grid-template-columns: 1.3fr 1fr; } }

.fit { padding: 1.75rem; border-radius: 24px; background: #eef3f6; }
.fit h3 { font-size: var(--step-1); }
.fit__more { margin: 0.5rem 0 0; font-size: 0.98rem; }

.get-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.get-grid li { padding: 1.5rem; border-radius: 22px; background: var(--white); color: var(--ink); }
.get-grid h3 { color: var(--ink) !important; font-size: 1.15rem; margin-bottom: 0.35rem; }
.get-grid p { margin: 0; color: var(--slate-600) !important; }
/* White cards sit on brand-blue sections, whose links are white (section 18), so links need the dark color back. */
.get-grid a:not(.btn) { color: var(--slate-800); }
.get-grid a:not(.btn):hover { color: var(--ink); }
.get-grid h3::before { content: ""; display: block; width: 2rem; height: 2rem; margin-bottom: 0.9rem; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%231b2730' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* How to get started: a numbered path whose line fills in as you scroll */
.path { list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; display: grid; gap: 1.5rem; }
.path::before, .path::after { content: ""; position: absolute; left: 1.45rem; top: 1.5rem; bottom: 1.5rem; width: 3px; border-radius: 3px; background: #d5dfe6; }
.path::after { background: var(--gold); transform-origin: top; }
.path > li { counter-increment: step; position: relative; padding: 0.35rem 0 0 4.5rem; }
.path > li::before { content: counter(step); position: absolute; left: 0; top: 0; z-index: 1; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand, #627885); color: var(--white); font: 800 1.2rem var(--font-head); box-shadow: 0 0 0 6px var(--paper); }
.path h3 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.path p { margin: 0; color: var(--slate-700); }

.price-card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 26px; background: var(--slate-800); color: #dfe6ea; }
.price-card__label { font: 600 1rem var(--font-body); color: #c9d3da; margin: 0; }
.price-card__price { font: 800 clamp(2.4rem, 1.8rem + 2.5vw, 3.4rem)/1.1 var(--font-head); color: var(--gold); letter-spacing: -0.03em; margin: 0.2rem 0 1rem; }
.price-card__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.price-card__list li { padding-bottom: 0.6rem; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.price-card__list strong { color: var(--white); }
.price-card .btn--primary { background: var(--gold); color: var(--ink); }
.price-card .btn--primary:hover { background: var(--gold-light); }

.example { display: block; text-decoration: none; }
.example .biz__frame { box-shadow: var(--shadow-lg); }

.faq--page { padding: 0; border: 0; background: none; }
.faq--page h2 { margin-bottom: 1rem; }

.related__title { font-size: var(--step-2); }
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.related a { display: grid; gap: 0.2rem; padding: 1.25rem 1.4rem; border-radius: 18px; background: #eef3f6; color: var(--ink); text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.related strong { font: 700 1.1rem var(--font-head); }
.related span { color: var(--slate-600); font-size: 0.95rem; }
.related a:hover { background: var(--slate-800); color: var(--white); }
.related a:hover span { color: #c9d3da; }
@supports (corner-shape: squircle) { :is(.fit, .get-grid li, .price-card, .related a, .svc-facts li) { corner-shape: squircle; border-radius: 36px; } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .path::after { animation: path-fill linear both; animation-timeline: view(); animation-range: entry 60% cover 70%; }
    @keyframes path-fill { from { scale: 1 0; } }
    .path > li::before { animation: step-pop linear both; animation-timeline: view(); animation-range: entry 40% entry 100%; }
    @keyframes step-pop { from { scale: 0.4; opacity: 0; } }
    :where(.get-grid li, .related li, .price-card, .fit) { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @supports (animation-delay: calc(sibling-index() * 1ms)) { :where(.get-grid li) { animation-range: entry calc(mod(sibling-index() - 1, 3) * 10%) entry 100%; } }
  }
}
/* Service tiles that link to a service page: the whole tile is clickable */
.svc--link { position: relative; }
.svc--link h3 a { color: var(--ink) !important; text-decoration: none; padding-block: var(--tap-pad); }
.svc--link:hover h3 a { color: var(--white) !important; }
.svc--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc--link h3::after { content: " →"; color: var(--gold-deep); }
.svc--link:hover h3::after { color: var(--gold); }


/* ==========================================================================
   21. Large type & generous spacing (inspired by supermetrics.com)
   Big, confident headlines and plenty of air, so key messages can't be scrolled past.
   ========================================================================== */
h2 { line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; }
h3 { letter-spacing: -0.015em; }
.lead, .section-head p:not(.eyebrow) { font-size: var(--step-1); line-height: 1.5; }
.section-head { max-width: 60rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2 { margin-bottom: 0.4em; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center p:not(.eyebrow) { max-width: 44rem; margin-inline: auto; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* Page titles */
.hero--page h1 { font-size: clamp(2.7rem, 1.4rem + 4.6vw, 5.4rem); line-height: 1; letter-spacing: -0.04em; max-width: 18ch; }
.article-header h1 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4rem); max-width: 22ch; }
.hero__lede { font-size: var(--step-1); max-width: 44rem; }

/* Bigger pill buttons */
.btn { border-radius: 999px; padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.95rem; }

/* Headline sizes on key homepage blocks */
.compare__head { max-width: 62rem; }
.compare__head h2 { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.25rem); }
.cta-band { padding: clamp(2.5rem, 6vw, 5rem); }
.cta-band h2 { font-size: var(--step-3); }
.promises__title { font-size: var(--step-3); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.reviews-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.reviews-head h2, .lee h2, .trash-check h2, .faq--page h2, .explainer h2, .get-started h2, .related__title { font-size: var(--step-3); }
.related__title { margin-bottom: 1.5rem; }

/* Feature trio: thin top rule with a gold marker, big titles */
.promises__grid { gap: clamp(1.5rem, 3vw, 3rem); }
.promise { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--slate-200); }
.promise::before { content: ""; position: absolute; top: -2px; left: 0; width: 3.5rem; height: 3px; background: var(--gold); border-radius: 3px; }
.promise h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.promise p { font-size: 1.08rem; }

/* Dark bands: faint gold line-art ellipses that drift slowly */
.compare, .cta-band { position: relative; isolation: isolate; }
.compare { overflow: clip; }
.cta-band { overflow: hidden; }
.compare::before, .cta-band::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 120%; aspect-ratio: 2; left: -10%; top: -20%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' fill='none' stroke='%23daa520' stroke-opacity='0.28' stroke-width='1.5'%3E%3Cellipse cx='420' cy='330' rx='420' ry='210' transform='rotate(-14 420 330)'/%3E%3Cellipse cx='800' cy='260' rx='380' ry='240' transform='rotate(22 800 260)'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .compare::before, .cta-band::before { animation: ellipse-drift 40s ease-in-out infinite alternate; }
  @keyframes ellipse-drift { to { rotate: 4deg; translate: 3% 2%; } }
}
.svc-facts { margin-top: 1.75rem; }
@media (max-width: 599px) {
  .svc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .svc-facts li { padding: 0.65rem 0.7rem; }
  .svc-facts strong { font-size: 1.05rem; }
  .svc-facts span { font-size: 0.78rem; line-height: 1.3; }
}

/* ==========================================================================
   22. Mountwell Music (/music, built by tools/music.py) and its delighters (site.js 9)
   The pop-up record (.mw-spin) slides in from the bottom-left corner and spins slowly.
   With reduced motion it only fades. Each playlist's own accent color arrives as --accent.
   ========================================================================== */
.music-intro { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.music-intro .lead { color: var(--slate-700); }
.playlist-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.playlist-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.playlist-card__cover img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--slate-100); }
.playlist-card__body { padding: 1.25rem 1.4rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.playlist-card__meta { font: 600 0.8rem var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-600); margin: 0; }
.playlist-card :is(h2, h3) { font-size: var(--step-1); margin: 0; }
.playlist-card :is(h2, h3) a { color: var(--ink); text-decoration: none; }
.playlist-card :is(h2, h3) a:hover { text-decoration: underline; }
.playlist-card p { margin: 0; color: var(--slate-600); }
.playlist-card__spotify { margin-top: auto; align-self: flex-start; padding-block: var(--tap-pad); }
.playlist-card.is-picked { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (min-width: 860px) {
  .playlist-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 28rem) 1fr; }
  .playlist-card--feature .playlist-card__body { padding: clamp(2rem, 4vw, 3.5rem); justify-content: center; gap: 0.85rem; }
  .playlist-card--feature :is(h2, h3) { font-size: var(--step-3); line-height: 1.04; letter-spacing: -0.035em; }
  .playlist-card--feature p { font-size: var(--step-1); }
  .playlist-card--feature .playlist-card__spotify { margin-top: 0.5rem; }
}

/* Playlist page */
.playlist-cover { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 34rem; }
.playlist-follow-note { font-size: 1rem; color: var(--slate-600); }
.playlist-player { max-width: 56rem; margin: clamp(3rem, 6vw, 5rem) auto 0; }
.playlist-player .embed { margin: 1rem 0 0.75rem; }
.track-notes { padding-left: 1.4rem; }
.track-notes li { margin-bottom: 1rem; }
.track-notes__artist { color: var(--slate-600); }

/* Algorithm notebook (music/notebook.json) */
.notebook { list-style: none; padding: 0; border-top: 1px solid var(--slate-200); }
.notebook li { padding: 0.75rem 0; margin: 0; border-bottom: 1px solid var(--slate-200); }
.notebook time { font: 600 0.9rem var(--font-head); color: var(--slate-600); margin-right: 0.6rem; }

/* "Surprise me" (shuffle_button) */
.shuffle { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: 2rem; }
.shuffle__result { margin: 0; }
.shuffle__record, .mw-record { display: inline-block; flex: none; border-radius: 50%;
  background: radial-gradient(circle, var(--white) 0 6%, var(--accent, var(--gold)) 7% 34%, transparent 35%),
              repeating-radial-gradient(circle, var(--ink) 0 2px, var(--slate-800) 2px 4px); }
.shuffle__record { width: 1.5rem; height: 1.5rem; }

/* Pop-up record */
.mw-spin { position: fixed; z-index: 40; left: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom));
  width: max-content; max-width: min(21rem, calc(100vw - 2rem)); display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem;
  opacity: 0; translate: -1rem 2rem; transition: opacity 0.4s, translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s; }
.mw-spin.is-in { opacity: 1; translate: none; }
/* Tucked away while it would cover a button or a cookie banner; still reachable by keyboard */
.mw-spin.is-tucked:not(:focus-within) { opacity: 0; pointer-events: none; }
.mw-spin__bar { display: flex; align-items: center; gap: 0.4rem; }
.mw-spin__pill { display: flex; align-items: center; gap: 0.7rem; min-block-size: var(--tap); padding: 0.35rem 1.1rem 0.35rem 0.35rem; text-align: left;
  background: var(--white); color: var(--ink); border: 1px solid var(--slate-200); border-radius: 999px; box-shadow: var(--shadow-lg); cursor: pointer;
  font: 500 0.9rem/1.25 var(--font-body); }
.mw-spin__pill:hover { border-color: var(--slate-300); }
.mw-spin__pill strong { display: block; font: 600 0.92rem/1.25 var(--font-head); }
.mw-record { width: 2.75rem; height: 2.75rem; }
.mw-spin__close { width: 2.25rem; height: 2.25rem; flex: none; display: grid; place-items: center; padding: 0; border-radius: 50%;
  background: var(--white); color: var(--slate-700); border: 1px solid var(--slate-200); box-shadow: var(--shadow); cursor: pointer; font: 400 1.35rem/1 var(--font-body); }
.mw-spin__close:hover { color: var(--ink); border-color: var(--slate-300); }
.mw-spin__card { width: min(20rem, calc(100vw - 2rem)); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1rem; display: grid; gap: 0.75rem; }
.mw-spin__card[hidden] { display: none; }
.mw-spin__head { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.85rem; align-items: center; }
.mw-spin__head img { border-radius: var(--radius); width: 4.5rem; height: 4.5rem; }
.mw-spin__head p { margin: 0; font-size: 0.95rem; color: var(--slate-600); line-height: 1.35; }
.mw-spin__head strong { display: block; color: var(--ink); font: 600 1rem/1.25 var(--font-head); margin-bottom: 0.2rem; }
.mw-spin__card iframe { width: 100%; height: 152px; border: 0; border-radius: 12px; }
.mw-spin__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.95rem; margin: 0; }
.mw-spin__links a { padding-block: var(--tap-pad); }
@media (max-width: 599px) {
  .mw-spin__pill { font-size: 0.85rem; padding-right: 0.9rem; }
  .mw-spin__pill strong { font-size: 0.85rem; }
  .mw-record { width: 2.4rem; height: 2.4rem; }
}

/* "Want something to read this to?" (soundtrack_on_long_posts) */
.soundtrack-offer { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; min-block-size: var(--tap); padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 1rem var(--font-head); color: var(--slate-700); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.25em; }
.soundtrack-offer:hover { color: var(--ink); }
.soundtrack-offer .mw-record { width: 1.4rem; height: 1.4rem; }

/* "Now playing" footer line (now_playing_footer) */
.now-playing { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; margin-top: 1rem; }
.now-playing a { padding-block: var(--tap-pad); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 0.85rem; flex: none; }
.eq i { width: 3px; height: 100%; background: var(--gold); border-radius: 1px; transform-origin: 50% 100%; }

@media (prefers-reduced-motion: no-preference) {
  .mw-spin.is-in .mw-record { animation: mw-spin 6s linear infinite; }
  @keyframes mw-spin { from { rotate: -1turn; } }
  .shuffle.is-flipping .shuffle__record, .playlist-card.is-picked .playlist-card__cover img { animation: record-flip 0.6s ease-out; }
  @keyframes record-flip { from { transform: perspective(600px) rotateY(180deg); } }
  .eq i { animation: eq 0.9s ease-in-out infinite alternate; }
  .eq i:nth-child(2) { animation-delay: -0.3s; }
  .eq i:nth-child(3) { animation-delay: -0.6s; }
  @keyframes eq { from { scale: 1 0.3; } }
}
/* Reduced motion: no slide or spin, just a fade (beats the blanket rule in section 3) */
@media (prefers-reduced-motion: reduce) {
  .mw-spin { translate: none !important; transition: opacity 0.4s, visibility 0.4s !important; }
}

/* Local Market Insights hub: a card per town page */
main a.insight-card, main a.insight-card * { text-decoration: none; }
.insight-card { color: inherit; gap: 0.5rem; transition: border-color 0.15s, transform 0.15s; }
.insight-card:hover, .insight-card:focus-visible { border-color: var(--gold-deep); transform: translateY(-2px); }
.insight-card h3 { margin: 0.5rem 0 0; }
.insight-card p { margin: 0; }
.insight-card .link-arrow { margin-top: auto; padding-top: 0.5rem; }
.insight-card__map { width: 100%; height: 9rem; }
.insight-card__map .town-map__outline { stroke-width: 3; }
@media (prefers-reduced-motion: reduce) { .insight-card:hover { transform: none; } }

/* Town reports (/well-said/web-design-marketing-<town>, tools/towns.py) */
.article-header .hero__lede { margin: 1.25rem 0 0; }
.article-header .article-meta { margin-bottom: 1.75rem; }
.town-analysis { margin: 0 0 clamp(2rem, 4vw, 2.75rem); }
.town-analysis p + p { margin-top: 1rem; }
.town-more { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 2rem; }
.town-ad-stats { margin-top: clamp(1.5rem, 3vw, 2rem); }
.town-ad-stat { border-top: 3px solid var(--gold); padding-top: 1rem; }
.town-ad-stat strong { display: block; font: 700 var(--step-3)/1 var(--font-head); color: var(--ink); margin-bottom: 0.4rem; }
.town-ad-stat span { color: var(--slate-600); }
.town-recs { list-style: none; padding: 0; margin: 0; }
.town-rec h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.town-rec p { margin: 0; color: var(--slate-700); }
.town-close { margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; }
.town-close .town-links { margin-bottom: 0.75rem; }
.article-header h1.town-h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); max-width: 26ch; }
.cta-band.town-cta { padding: clamp(1.75rem, 4vw, 2.75rem); max-width: 52rem; }
.cta-band.town-cta h2 { font-size: var(--step-2); }
.town-analysis { max-width: var(--max-prose); }
#ads .town-analysis { margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0; }
@media (min-width: 860px) { .town-recs { grid-template-columns: repeat(3, 1fr); } }
.prose .chart-fig .chart-svg { width: 100%; max-width: 35rem; height: auto; display: block; }
.prose .town-map svg { width: 100%; max-width: 40rem; height: auto; display: block; }
.prose .cta-band.town-cta { margin: 2.5rem 0; }
.prose .cta-band.town-cta h2 { margin-top: 0; }

/* 24. Made in South Jersey Gift Guide (tools/gift.py; behavior in site.js section 10)
   A tool, not an article: compact title strip, then map (left, sticky) + search and list (right).
   Phones: one column, sticky search, a List/Map switch, filters in one sideways-scrolling row. */
/* keeps the default --scene-h: below 13.5vw the roofs get cut off (section 17) */
.hero--tool { padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: calc(var(--scene-h) + 0.75rem); margin-bottom: 0; }
.gift-head h1 { font-size: var(--step-3); margin: 0.25rem 0 0.5rem; }
.gift-head__lede { font-size: 1.15rem; max-width: 46rem; margin: 0; color: var(--slate-700); }
.gift-head__meta { font-size: 0.95rem; color: var(--slate-600); margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0 0.5rem; }
.gift-head__meta time::before { content: "· "; }
.gift-head__meta a { font-weight: 600; padding-block: var(--tap-pad); }
.gift-guide { padding-top: 1rem; }

.gift-tool { display: grid; gap: 1rem; }
.gift-tool__list { min-width: 0; }

/* Map */
.gift-map { margin: 0; position: relative; }
.gift-map svg { width: 100%; height: auto; display: block; }
.gift-map__county.is-picked { fill: #fff8e6; stroke: var(--gold-deep); stroke-width: 1.6; }
.gift-map__county { fill: var(--slate-100); stroke: var(--slate-300); stroke-width: calc(1.2px / var(--z, 1)); stroke-linejoin: round; }
.gift-map__label { font: 600 calc(11px / var(--z, 1)) var(--font-head); fill: var(--slate-600); text-anchor: middle; pointer-events: none; }
.gift-pin { cursor: pointer; }
.gift-pin__hit { fill: transparent; stroke: none; }
.gift-pin__dot { r: calc(6px / var(--z, 1)); fill: var(--gold); stroke: var(--ink); stroke-width: calc(1.2px / var(--z, 1)); transition: r 0.15s; }
.gift-pin__hit { r: calc(14px / var(--z, 1)); }
.gift-pin:hover .gift-pin__dot, .gift-pin:focus-visible .gift-pin__dot, .gift-pin.is-active .gift-pin__dot { r: calc(9px / var(--z, 1)); fill: var(--gold-light); }
.gift-pin.is-active .gift-pin__dot { stroke-width: calc(2.5px / var(--z, 1)); }
.gift-pin:focus-visible { outline: none; }
.gift-pin:focus-visible .gift-pin__dot { stroke-width: 2.5; }
.gift-pin.is-hidden { display: none; }
.gift-map figcaption { font-size: 0.85rem; color: var(--slate-600); margin-top: 0.5rem; text-align: center; }
.gift-map__info { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 2.25rem; z-index: 2; background: var(--white);
  border: 1px solid var(--slate-200); border-left: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 0.8rem 2.75rem 0.8rem 1rem; }
.gift-map__info strong { display: block; font-family: var(--font-head); }
.gift-map__info p { margin: 0.2rem 0 0; font-size: 0.95rem; }
.gift-map__info a { font-weight: 600; display: inline-block; padding-block: var(--tap-pad); margin-block: calc(-1 * var(--tap-pad)); }
.gift-map__close { position: absolute; top: 0.2rem; right: 0.2rem; width: var(--tap); height: var(--tap); border: 0; background: none;
  font-size: 1.4rem; line-height: 1; color: var(--slate-600); cursor: pointer; border-radius: 999px; }
.gift-map__close:hover { color: var(--ink); background: var(--slate-100); }

/* Search and filters */
.gift-controls { position: sticky; top: var(--header-h); z-index: 5; background: var(--white); padding: 0.75rem 0;
  border-bottom: 1px solid var(--slate-200); display: grid; gap: 0.6rem; }
/* white skirt behind the floating header, so listings don't show through above the search */
.gift-controls.is-stuck::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--header-h); background: var(--white); }
.gift-controls__row { display: flex; gap: 0.5rem; align-items: stretch; }
.gift-search { flex: 1; min-width: 0; }
.gift-search input { width: 100%; height: 100%; min-height: 3rem; font: inherit; font-size: 1rem; /* 16px+: no zoom-on-focus in iOS */
  padding: 0.6rem 1rem; border-radius: 999px; border: 1.5px solid var(--slate-300); background: var(--white); color: var(--ink); }
.gift-search input:focus, .gift-county:focus { outline: none; border-color: var(--slate-700); box-shadow: 0 0 0 3px rgb(218 165 32 / 0.45); }
.gift-view { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--slate-100); flex: none; }
.gift-view button { min-height: calc(3rem - 6px); min-width: 4.25rem; padding: 0 0.9rem; border: 0; border-radius: 999px; background: none;
  font: 600 0.95rem var(--font-head); color: var(--slate-600); cursor: pointer; }
.gift-view button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgb(27 39 48 / 0.15); }
/* One sideways-scrolling row (all sizes); the fade says there's more */
.gift-filters { display: flex; flex-wrap: nowrap; gap: 0.5rem; align-items: center; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: thin; padding-bottom: 0.35rem; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); }
.gift-filters > :last-child { margin-right: 2.5rem; }
.gift-chips { display: flex; flex-wrap: nowrap; gap: 0.5rem; }
.gift-filters__sep { width: 1px; align-self: stretch; background: var(--slate-200); margin: 0.35rem 0.15rem; }
.gift-chip { flex: none; font: 600 0.9rem var(--font-body); min-height: var(--tap); padding: 0 1rem; border-radius: 999px;
  border: 1.5px solid var(--slate-300); background: var(--white); color: var(--ink); cursor: pointer; white-space: nowrap; }
.gift-chip:hover { border-color: var(--slate-700); }
.gift-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.gift-county-wrap { flex: none; }
.gift-county { font: 600 0.9rem var(--font-body); min-height: var(--tap); padding: 0 2rem 0 1rem; border-radius: 999px;
  border: 1.5px solid var(--slate-300); background: var(--white); color: var(--ink); cursor: pointer; }
.gift-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; margin-top: 0.75rem; }
.gift-count { margin: 0; color: var(--slate-600); font-size: 0.95rem; }
.gift-share { border: 0; background: none; padding: var(--tap-pad) 0; font: 600 0.95rem var(--font-body); color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; cursor: pointer; }
.gift-hint { margin: 0.25rem 0 0; font-size: 0.95rem; color: var(--slate-600); }
.gift-near-list { margin: 1.25rem 0 2rem; }
.gift-near-list h2 { font-size: var(--step-1); margin-bottom: 0.75rem; }
.gift-card__dist { font-weight: 600; color: var(--ink); }
.gift-card__badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.45rem 0 0 !important; }
.gift-badge { font: 600 0.75rem var(--font-body); letter-spacing: 0.01em; padding: 0.15rem 0.55rem; border-radius: 999px; }
.gift-badge--online { background: #e8f1f6; color: var(--slate-800); }
.gift-badge--visit { background: #fff3d6; color: #6b4a00; }
.gift-empty p { margin: 0.5rem 0; }

/* Results */
.gift-section { margin: 1.25rem 0 2rem; scroll-margin-top: calc(var(--header-h) + 9rem); }
.gift-section h2 { font-size: var(--step-1); margin-bottom: 0.75rem; }
.gift-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.gift-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1rem 1.1rem;
  scroll-margin-top: calc(var(--header-h) + 9rem); transition: border-color 0.15s, box-shadow 0.15s; }
.gift-card:target, .gift-card.is-active { border-color: var(--gold); box-shadow: 0 0 0 3px rgb(218 165 32 / 0.35); }
.gift-card h3 { font-size: 1.1rem; margin: 0 0 0.1rem; }
.gift-card p { margin: 0.35rem 0 0; font-size: 0.98rem; }
.gift-card__where { color: var(--slate-600); font-size: 0.88rem !important; margin-top: 0 !important; }
.gift-card__what--draft { font-style: italic; color: var(--slate-600); }
.gift-card__what--draft::before { content: "Draft: "; font-weight: 600; font-style: normal; color: var(--gold-deep); }
.gift-card__address, .gift-card__find { font-size: 0.92rem !important; }
.gift-card__links a, .gift-card__address a { font-weight: 600; display: inline-block; padding-block: var(--tap-pad); margin-block: calc(-1 * var(--tap-pad)); }
.gift-card.is-hidden, .gift-section.is-hidden { display: none; }
.gift-empty { font-size: 1.05rem; margin: 2rem 0; }

.gift-about { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--slate-200); }
.gift-about h2 { font-size: var(--step-2); }
.gift-guide__cta { margin: 2.5rem 0; }
.gift-older { font-size: 0.95rem; color: var(--slate-600); margin: 0.25rem 0; }

/* Wide screens: map on the left stays put while the list scrolls */
@media (min-width: 960px) {
  .gift-tool { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
  .gift-tool__map { position: sticky; top: calc(var(--header-h) + 0.5rem); height: calc(100vh - var(--header-h) - 1rem);
    height: calc(100dvh - var(--header-h) - 1rem); }
  .gift-tool__map .gift-map { height: 100%; display: flex; flex-direction: column; }
  .gift-tool__map .gift-map svg { flex: 1; min-height: 0; height: 100%; }
  .gift-view { display: none; }
}

/* Phones and tablets: one column; List/Map switch; filters scroll sideways */
@media (max-width: 959px) {
  .gift-head h1 { font-size: var(--step-2); }
  .gift-head__lede { font-size: 1.05rem; }
  .gift-tool__list { order: 1; }
  .gift-tool__map { order: 2; }
  html:not(.no-js) .gift-tool:not(.is-map-view) .gift-tool__map { display: none; }
  .gift-tool.is-map-view :is(.gift-section, .gift-status, .gift-hint, .gift-near-list, .gift-empty) { display: none !important; }
  .gift-tool.is-map-view .gift-map svg { max-height: calc(100dvh - var(--header-h) - 11rem); width: auto; max-width: 100%; margin-inline: auto; }
  .gift-filters { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .gift-filters::-webkit-scrollbar { display: none; }
  .gift-chips { flex-wrap: nowrap; }
  .gift-controls { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .gift-controls .gift-filters { margin-inline: calc(-1 * var(--gutter)); }
  /* Pins: bigger targets when the map is small */
  .gift-pin__hit { r: calc(22px / var(--z, 1)); }
  .gift-pin__dot { r: calc(8px / var(--z, 1)); }
  .gift-pin.is-active .gift-pin__dot { r: calc(11px / var(--z, 1)); }
  .gift-map__info { position: relative; left: auto; right: auto; bottom: auto; margin-top: 0.75rem; }
  .gift-filters { scrollbar-width: none; padding-bottom: 0; }
}

/* ==========================================================================
   25. Holiday Main Street (every page, Nov 20 to Dec 31) — partials/hero-scene.html
   html.is-holiday (set in partials/head.html) shows the "hol" layers: snow, string
   lights, wreaths, Santa instead of birds, falling snow, holiday notifications, and a
   sky that follows real sunrise and sunset in South Jersey (data-sky="day|dusk|night"
   on each hero, set by site.js 11; ?sky=night and ?holiday=1|0 preview).
   ========================================================================== */
/* Outside the season the holiday layers don't exist as far as the eye can tell */
.hol, .santa, .snowfall, .sky__night, .sky__dusk, .sky__moon { display: none; }
html.is-holiday :is(.santa, .snowfall, .sky__night, .sky__dusk, .sky__moon) { display: block; }
html.is-holiday .hol { display: inline; }   /* SVG groups */
html.is-holiday .birds { display: none; }
html.is-holiday .notif [data-h]::before { content: attr(data-h); }
html.is-holiday .hero .sky::before { display: none; }                       /* time of day replaces golden hour */
.sky__night, .sky__dusk, .sky__moon { position: absolute; opacity: 0; transition: opacity 3s ease; }
.sky__night { inset: 0; background:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 27% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 41% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 58% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 69% 9%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 83% 36%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 92% 16%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 48%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 26%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 76% 50%, #fff 50%, transparent 51%),
    linear-gradient(180deg, #0c1a2e 0%, #1a2f4d 55%, #2f4a6b 100%); }
.sky__dusk { inset: 0; background: linear-gradient(180deg, #3b4a75 0%, #a46b8a 45%, #f0a56b 85%, #f7c98b 100%); }
.sky__moon { width: 54px; height: 54px; right: 12%; top: calc(var(--header-h) + 0.5rem); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffdf0, #f1e6c4 70%); box-shadow: 0 0 40px 10px rgb(255 248 220 / 0.25); }
html.is-holiday .hero .sky__glow, html.is-holiday .hero .cloud { transition: opacity 3s ease; }
html.is-holiday .hero[data-sky="dusk"] .sky__dusk { opacity: 0.85; }
html.is-holiday .hero[data-sky="night"] :is(.sky__night, .sky__moon) { opacity: 1; }
html.is-holiday .hero[data-sky="night"] .sky__glow { animation: none; opacity: 0; }
html.is-holiday .hero[data-sky="night"] .cloud { opacity: 0.12; }

/* The street after dark: a blue shade over the buildings, then lit windows and lights on top */
.sk-shade { fill: #0f2140; opacity: 0; transition: opacity 3s ease; }
.sk-night { fill: #ffd98a; opacity: 0; transition: opacity 3s ease; }
html.is-holiday .hero[data-sky="dusk"] .sk-shade { opacity: 0.25; }
html.is-holiday .hero[data-sky="dusk"] .sk-night { opacity: 0.55; }
html.is-holiday .hero[data-sky="night"] .sk-shade { opacity: 0.5; }
html.is-holiday .hero[data-sky="night"] .sk-night { opacity: 1; }
html.is-holiday .hero[data-sky="night"] .sk-bulb { filter: drop-shadow(0 0 1.5px currentColor); }

/* Santa takes the birds' flight path */
.santa { position: absolute; top: 22%; left: 0; width: 150px; translate: -200px 0; overflow: visible; }
html.is-holiday .hero[data-sky="night"] .santa__nose { filter: drop-shadow(0 0 3px #ff3b30); }

/* Falling snow over the whole hero (two layers, different sizes and speeds) */
.snowfall { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.snowfall::before, .snowfall::after { content: ""; position: absolute; left: 0; right: 0; top: -240px; bottom: 0; }
.snowfall::before { background-size: 240px 240px; background-image:
    radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 90px 120px, #fff 50%, transparent 52%),
    radial-gradient(2.2px 2.2px at 160px 60px, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 210px 190px, #fff 50%, transparent 52%),
    radial-gradient(1.8px 1.8px at 60px 200px, #fff 50%, transparent 52%), radial-gradient(1.4px 1.4px at 130px 10px, #fff 50%, transparent 52%); opacity: 0.9; }
.snowfall::after { background-size: 360px 360px; background-image:
    radial-gradient(3px 3px at 40px 80px, #fff 50%, transparent 52%), radial-gradient(2.6px 2.6px at 200px 20px, #fff 50%, transparent 52%),
    radial-gradient(3.2px 3.2px at 300px 220px, #fff 50%, transparent 52%), radial-gradient(2.4px 2.4px at 120px 300px, #fff 50%, transparent 52%); opacity: 0.75; top: -360px; }
/* Night: text that sits on the sky turns light (cards and panels keep their own colors) */
.hero > .container :is(h1, .hero__lede, .gift-head__lede, .breadcrumb, .article-meta, .gift-head__meta) { transition: color 3s ease; }
html.is-holiday .hero[data-sky="night"] > .container :is(h1, .hero__lede, .gift-head__lede) { color: #fff; }
html.is-holiday .hero[data-sky="night"] > .container :is(.breadcrumb, .article-meta, .gift-head__meta) { color: #d7e2ec; }
html.is-holiday .hero[data-sky="night"] > .container :is(.breadcrumb, .article-meta, .gift-head__meta) a { color: #f5d67f; }
html.is-holiday .hero[data-sky="night"] > .container :is(.btn--outline, .btn--ghost-light) { border-color: rgb(255 255 255 / 0.7); color: #fff; }
html.is-holiday .hero[data-sky="night"] :is(.choices__title, .choices__or) { color: #d7e2ec; }
html.is-holiday .hero[data-sky="night"] .choices__or a { color: #f5d67f; }
html.is-holiday .hero[data-sky="night"] h1 em { background: linear-gradient(transparent 64%, rgb(218 165 32 / 0.65) 64% 92%, transparent 92%); }
@media (max-width: 699px) { .santa { width: 108px; } .sky__moon { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: no-preference) {
  .santa { animation: sleigh 32s linear infinite 3s; }
  @keyframes sleigh { 0% { translate: -200px 10px; } 25% { translate: 30vw -6px; } 50% { translate: 60vw 8px; } 70% { translate: 112vw -14px; } 100% { translate: 112vw -14px; } }
  .santa__legs { animation: gallop 0.5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
  @keyframes gallop { to { scale: 0.75 1; } }
  .snowfall::before { animation: snowfall 14s linear infinite; }
  .snowfall::after { animation: snowfall-big 22s linear infinite; }
  @keyframes snowfall { to { transform: translateY(240px); } }
  @keyframes snowfall-big { to { transform: translate(0, 360px); } }
  /* Homepage: buildings rise first (section 17), then the lights and lit windows come on */
  .hero--home .hol-top { animation: lights-on 0.9s ease 2s both; }
  @keyframes lights-on { from { opacity: 0; } }
  .sk-bulb { animation: twinkle 2.4s ease-in-out infinite; }
  .sk-bulb--1 { animation-delay: -0.8s; } .sk-bulb--2 { animation-delay: -1.6s; }
  @keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
}
.hero.is-offscreen .snowfall::before, .hero.is-offscreen .snowfall::after { animation-play-state: paused !important; }
