/* Case studies — /case-studies, /case-studies/<client>, and the homepage Case Studies section.
 * Mobile-first: the base rules are the phone layout; min-width queries widen it.
 * Colours and fonts match styles.css (cream #E2D9B8, ink #5C5547, orange #CD7A45, teal #53737C). */

.cs-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 621px) { .cs-wrap { padding: 0 32px; } }

.nav-link.is-current { color: #CD7A45; }

.cs-eyebrow {
  display: inline-block;
  font-family: Inter, sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .14em;
  color: #CD7A45; text-transform: uppercase;
}
.cs-h1 {
  font-family: Poppins, sans-serif; font-weight: 700;
  font-size: clamp(32px, 6.4vw, 56px); line-height: 1.04; letter-spacing: -.025em;
  color: #5C5547; margin: 12px 0 14px; text-wrap: balance;
}
.cs-h2 {
  font-family: Poppins, sans-serif; font-weight: 700;
  font-size: clamp(26px, 4.4vw, 38px); line-height: 1.08; letter-spacing: -.02em;
  color: #5C5547; margin: 10px 0 0; text-wrap: balance;
}
.cs-lead { font-size: 17px; line-height: 1.55; color: #6E6755; margin: 0; max-width: 640px; text-wrap: pretty; }
@media (min-width: 621px) { .cs-lead { font-size: 19px; } }

.cs-crumbs { font-size: 14px; font-weight: 600; color: #8A826F; }
.cs-crumbs a { color: #8A826F; }
.cs-crumbs a:hover { color: #CD7A45; }

/* ── Results card (always first on a case-study page) ───────────────────── */
.cs-results {
  background: #FCF9EF; border: 1px solid rgba(92,85,71,.12); border-radius: 26px;
  padding: 26px 22px; box-shadow: 0 24px 60px rgba(92,85,71,.16);
}
@media (min-width: 760px) { .cs-results { padding: 40px 44px; } }
.cs-results-top { display: grid; gap: 28px; }
@media (min-width: 860px) { .cs-results-top { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; } }

.cs-label { font-family: Inter, sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .14em; color: #8A826F; text-transform: uppercase; }
.cs-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-family: Poppins, sans-serif; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #5C5547; }
.cs-big .from { font-size: clamp(34px, 9vw, 56px); color: #A29A8A; }
.cs-big .arrow { font-size: clamp(26px, 7vw, 40px); color: #CD7A45; }
.cs-big .to { font-size: clamp(60px, 17vw, 112px); color: #5C5547; }
.cs-delta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: #2E2A24; color: #6BE59A; border-radius: 999px; padding: 8px 16px;
  font-family: Inter, sans-serif; font-weight: 800; font-size: 15px;
}
.cs-stars { color: #CD7A45; letter-spacing: 2px; font-size: 18px; margin-top: 14px; font-weight: 700; }
.cs-stars span { color: #5C5547; letter-spacing: 0; font-family: Inter, sans-serif; font-size: 15px; font-weight: 700; margin-left: 6px; }

.cs-bars { display: grid; gap: 16px; }
.cs-bar-row { display: grid; gap: 7px; }
.cs-bar-meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: #5C5547; }
.cs-bar-meta small { font-size: 13px; font-weight: 600; color: #8A826F; }
.cs-bar-track { height: 16px; border-radius: 999px; background: #EFE9D6; overflow: hidden; }
.cs-bar-fill { height: 100%; border-radius: 999px; background: #C4BBA0; }
.cs-bar-fill.now { background: linear-gradient(90deg, #CD7A45, #E0955F); }

.cs-source { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(92,85,71,.12); font-size: 13px; line-height: 1.5; color: #8A826F; }

.cs-minis { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 620px) { .cs-minis { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.cs-mini { background: #F5F0E3; border-radius: 16px; padding: 16px 18px; }
.cs-mini b { display: block; font-family: Poppins, sans-serif; font-size: 26px; letter-spacing: -.02em; color: #5C5547; line-height: 1.1; }
.cs-mini span { font-size: 14px; color: #7A7364; line-height: 1.4; }

/* ── Before / after ─────────────────────────────────────────────────────── */
.cs-section { padding: 56px 0 0; }
@media (min-width: 760px) { .cs-section { padding-top: 84px; } }

.cs-ba { display: grid; gap: 22px; margin-top: 26px; }
@media (min-width: 760px) { .cs-ba.desk { grid-template-columns: 1fr 88px 1fr; gap: 0 12px; } }

.cs-ba-sub { margin: 46px 0 0; font-family: Inter, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .14em; color: #5C5547; text-transform: uppercase; }
.cs-fig { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cs-chip {
  align-self: flex-start; font-family: Inter, sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .12em;
  padding: 6px 12px; border-radius: 999px; text-transform: uppercase;
}
.cs-chip.before { background: #DDD6C0; color: #5C5547; }
.cs-chip.after { background: #CD7A45; color: #FCF9EF; }

.cs-browser { background: #fff; border: 1px solid #D6D3CC; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px rgba(92,85,71,.18); }
.cs-browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: #F1EEE6; border-bottom: 1px solid #E2DED2; }
.cs-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3CDBB; display: block; }
.cs-browser img { display: block; width: 100%; height: auto; }

.cs-cap { font-size: 13px; line-height: 1.45; color: #8A826F; }

.cs-diff { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
@media (min-width: 760px) { .cs-diff { grid-template-columns: repeat(2, 1fr); } }
.cs-diff li { background: #F5F0E3; border-radius: 14px; padding: 14px 18px 14px 46px; position: relative; font-size: 15.5px; line-height: 1.45; color: #5C5547; }
.cs-diff li::before { content: "✓"; position: absolute; left: 16px; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: #CD7A45; color: #FCF9EF; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ── Services ───────────────────────────────────────────────────────────── */
.cs-svcs { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 620px) { .cs-svcs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cs-svcs { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.cs-svc { background: #FCF9EF; border: 1px solid rgba(92,85,71,.12); border-radius: 18px; padding: 20px 20px 22px; }
.cs-svc h3 { margin: 0 0 6px; font-family: Inter, sans-serif; font-weight: 800; font-size: 17px; line-height: 1.25; color: #5C5547; display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.cs-svc p { margin: 0; font-size: 15px; line-height: 1.5; color: #6E6755; }
.cs-badge { font-family: Inter, sans-serif; font-weight: 800; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #F3E3D6; color: #A5551F; white-space: nowrap; }

/* ── Cards (homepage section + /case-studies list) ──────────────────────── */
.cs-cards { display: grid; gap: 20px; margin-top: 34px; }
@media (min-width: 760px) { .cs-cards { grid-template-columns: 1fr 1fr; gap: 28px; } }
.cs-card {
  display: flex; flex-direction: column; background: #FCF9EF; border: 1px solid rgba(92,85,71,.12);
  border-radius: 24px; overflow: hidden; color: #5C5547; box-shadow: 0 18px 48px rgba(92,85,71,.14);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cs-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(92,85,71,.22); color: #5C5547; }
.cs-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: #EFE9D6; border-bottom: 1px solid rgba(92,85,71,.1); }
.cs-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cs-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cs-card-kicker { font-family: Inter, sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .14em; color: #8A826F; text-transform: uppercase; }
.cs-card h3 { margin: 0; font-family: Poppins, sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.cs-card-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-family: Poppins, sans-serif; font-weight: 700; letter-spacing: -.02em; }
.cs-card-stat .from { font-size: 24px; color: #A29A8A; }
.cs-card-stat .arrow { font-size: 20px; color: #CD7A45; }
.cs-card-stat .to { font-size: 44px; line-height: 1; color: #CD7A45; }
.cs-card-stat .unit { font-family: Inter, sans-serif; font-size: 14px; font-weight: 700; color: #7A7364; letter-spacing: 0; }
.cs-card p { margin: 0; font-size: 15.5px; line-height: 1.5; color: #6E6755; }
.cs-card-link { margin-top: auto; padding-top: 6px; font-family: Inter, sans-serif; font-weight: 800; font-size: 15px; color: #CD7A45; }

/* ── Closing call to action ─────────────────────────────────────────────── */
.cs-cta { margin-top: 64px; background: #CD7A45; border-radius: 26px; padding: 44px 24px; text-align: center; position: relative; overflow: hidden; }
@media (min-width: 760px) { .cs-cta { padding: 64px 56px; margin-top: 90px; } }
.cs-cta h2 { font-family: Poppins, sans-serif; font-weight: 700; font-size: clamp(28px, 5vw, 44px); line-height: 1.05; letter-spacing: -.025em; color: #FCF9EF; margin: 0 auto 14px; max-width: 680px; text-wrap: balance; }
.cs-cta p { font-size: 17px; line-height: 1.5; color: #FBEEE3; margin: 0 auto 28px; max-width: 560px; }
.cs-cta .btn { margin: 4px; }

.cs-next { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 26px; font-weight: 700; font-size: 15px; }
.cs-next a { color: #FCF9EF; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .cs-card { transition: none; } .cs-card:hover { transform: none; } }

/* ═══ Problem → Fix → Result layout (editorial chapters) ═════════════════════ */

/* Hero: full-bleed deep orange, client name and the review number up front */
.cs-hero { position: relative; overflow: hidden; background: #B35C2B; color: #FCF9EF; padding: 34px 0 52px; }
@media (min-width: 860px) { .cs-hero { padding: 56px 0 76px; } }
.cs-hero-blob { position: absolute; border-radius: 999px; background: rgba(252,249,239,.09); pointer-events: none; }
.cs-hero-blob.a { width: 380px; height: 380px; right: -110px; top: -140px; }
.cs-hero-blob.b { width: 260px; height: 260px; left: -90px; bottom: -120px; background: rgba(252,249,239,.06); }
.cs-hero-grid { position: relative; display: grid; gap: 34px; }
@media (min-width: 860px) { .cs-hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; } }
.cs-hero .cs-crumbs { margin: 0 0 18px; color: #F2D2BC; }
.cs-hero .cs-crumbs a { color: #F2D2BC; }
.cs-hero .cs-crumbs a:hover { color: #FCF9EF; }
.cs-hero .cs-eyebrow { color: #F7DCC8; }
.cs-hero-h1 { margin: 12px 0 16px; font-family: Poppins, sans-serif; font-weight: 700; font-size: clamp(40px, 9.5vw, 84px); line-height: .98; letter-spacing: -.035em; color: #FCF9EF; text-wrap: balance; }
.cs-hero-line { margin: 0; font-size: 18px; line-height: 1.45; color: #FDF1E7; max-width: 520px; }
@media (min-width: 621px) { .cs-hero-line { font-size: 21px; } }
.cs-hero-num { background: rgba(252,249,239,.1); border: 1px solid rgba(252,249,239,.28); border-radius: 26px; padding: 26px 24px 28px; backdrop-filter: blur(2px); }
@media (min-width: 860px) { .cs-hero-num { padding: 38px 40px 40px; } }
.cs-hero-label { font-family: Inter, sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #F7DCC8; }
.cs-hero-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-family: Poppins, sans-serif; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.cs-hero-big .from { font-size: clamp(36px, 10vw, 64px); color: #F2C7A8; }
.cs-hero-big .arrow { font-size: clamp(28px, 8vw, 46px); color: #FCF9EF; }
.cs-hero-big .to { font-size: clamp(76px, 22vw, 150px); color: #FCF9EF; }
.cs-hero-chip { display: inline-block; margin-top: 16px; background: #FCF9EF; color: #8A4217; border-radius: 999px; padding: 9px 18px; font-family: Inter, sans-serif; font-weight: 800; font-size: 15px; }

/* Bands: each chapter is a full-width section */
.cs-band { padding: 64px 0 70px; }
@media (min-width: 860px) { .cs-band { padding: 96px 0 104px; } }
.cs-band.soft { background: #F2EDDC; border-top: 1px solid rgba(92,85,71,.1); border-bottom: 1px solid rgba(92,85,71,.1); }
.cs-band.dark { background: #2E2A24; color: #F6F2E4; position: relative; overflow: hidden; }
.cs-band.dark::before { content: ""; position: absolute; right: -160px; top: 20%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(205,122,69,.26), rgba(205,122,69,0) 66%); pointer-events: none; }
.cs-band > .cs-wrap { position: relative; }

/* Chapter header: number + big title, one-line blurb on the right */
.cs-chapter { display: grid; gap: 14px; align-items: end; }
@media (min-width: 860px) { .cs-chapter { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.cs-chapter-num { display: block; font-family: Inter, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .16em; color: #CD7A45; margin-bottom: 8px; }
.cs-chapter-title { margin: 0; font-family: Poppins, sans-serif; font-weight: 700; font-size: clamp(38px, 8.4vw, 76px); line-height: .98; letter-spacing: -.035em; color: #5C5547; }
.cs-chapter.dark .cs-chapter-title { color: #FCF9EF; }
.cs-chapter-blurb { margin: 0; font-size: 17px; line-height: 1.5; color: #7A7364; max-width: 420px; }
.cs-chapter.dark .cs-chapter-blurb { color: #B8B0A0; }
@media (min-width: 860px) { .cs-chapter-blurb { font-size: 19px; justify-self: end; padding-bottom: 8px; } }

/* Big statement: lead in full colour, key phrase in the accent, tail muted */
.cs-statement { margin: 36px 0 0; max-width: 980px; font-family: Inter, sans-serif; font-weight: 600; font-size: clamp(24px, 4.6vw, 44px); line-height: 1.16; letter-spacing: -.02em; color: #5C5547; text-wrap: pretty; }
.cs-statement em { font-style: normal; color: #CD7A45; }
.cs-statement span { color: #A29A8A; }
.cs-band.dark .cs-statement { color: #FCF9EF; }
.cs-band.dark .cs-statement em { color: #F0A06A; }
.cs-band.dark .cs-statement span { color: #8F8878; }
@media (min-width: 860px) { .cs-statement { margin-top: 52px; } }

/* Problem cards */
.cs-probs { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 620px) { .cs-probs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cs-probs { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; } }
.cs-prob { background: rgba(252,249,239,.06); border: 1px solid rgba(252,249,239,.14); border-radius: 20px; padding: 22px 22px 26px; }
.cs-prob-n { display: block; font-family: Poppins, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .04em; color: #F0A06A; margin-bottom: 14px; }
.cs-prob h3 { margin: 0 0 8px; font-family: Inter, sans-serif; font-weight: 800; font-size: 19px; line-height: 1.2; color: #FCF9EF; }
.cs-prob p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #C9C2B2; }

/* Re-spacing for components that now live inside chapters */
.cs-band .cs-svcs { margin-top: 36px; }
@media (min-width: 1000px) { .cs-band .cs-svcs { margin-top: 52px; } }
.cs-band .cs-ba-sub { margin-top: 38px; }
.cs-band .cs-results { margin-top: 36px; }
@media (min-width: 860px) { .cs-band .cs-results { margin-top: 52px; } }
.cs-cta { margin-top: 0; }
main > section:last-of-type { padding-top: 64px; }
@media (min-width: 760px) { main > section:last-of-type { padding-top: 90px; } }

/* Homepage + list cards: headline result */
.cs-card-delta { align-self: flex-start; background: #E3F5EA; color: #1E7A44; border-radius: 999px; padding: 6px 14px; font-family: Inter, sans-serif; font-weight: 800; font-size: 13.5px; }

/* ═══ Phone menu (hamburger) ═════════════════════════════════════════════════
   styles.css hides .nav-link below 820px; this puts the links back behind a button. */
.nav-toggle { display: none; flex: none; width: 42px; height: 42px; padding: 0; border-radius: 12px; border: 1.5px solid rgba(92,85,71,.28); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #5C5547; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid #CD7A45; outline-offset: 2px; }
.mobile-menu { display: none; }
@media (max-width: 820px) {
  /* The nav's inline gap is 32px; with the links hidden, pull the button in next to the CTA. */
  .nav-toggle { display: flex; margin-left: -20px; }
  .mobile-menu:not([hidden]) { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #FCF9EF; border-bottom: 1px solid rgba(92,85,71,.18); box-shadow: 0 18px 30px rgba(92,85,71,.16); padding: 6px 20px 12px; }
  .mobile-menu a { padding: 16px 4px; font-family: Inter, sans-serif; font-weight: 700; font-size: 18px; color: #5C5547; border-bottom: 1px solid rgba(92,85,71,.1); }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu a[aria-current="page"] { color: #CD7A45; }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }
.cs-card-delta { border-radius: 16px; line-height: 1.3; }

/* Period headline on cards and hero sub-line */
.cs-card-head { font-family: Poppins, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; color: #5C5547; }
.cs-card-head .num { font-size: 46px; line-height: 1; letter-spacing: -.03em; color: #CD7A45; margin-right: 6px; vertical-align: -3px; }
.cs-card-sub { font-family: Inter, sans-serif; font-weight: 700; font-size: 14px; color: #8A826F; }
.cs-hero-sub { display: block; margin-top: 14px; font-family: Poppins, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: #FDF1E7; }
.cs-hero-big .to { letter-spacing: -.045em; }

/* ── Walkthrough videos in a browser frame (no controls, loops) ─────────── */
.cs-video .cs-vid { display: block; width: 100%; height: auto; aspect-ratio: var(--vr, 16 / 10); object-fit: cover; object-position: top; background: #1d1a16; pointer-events: none; }
.cs-live { max-width: 980px; margin: 26px auto 0; }
.cs-live .cs-browser { box-shadow: 0 24px 60px rgba(92,85,71,.24); }
.cs-page-label { margin: 56px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font-family: Poppins, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.015em; color: #5C5547; }
.cs-page-label small { font-family: Inter, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0; color: #8A826F; }
.cs-page-label + .cs-ba-sub { margin-top: 18px; }
/* Card thumbnails become a framed, looping preview */
.cs-card-img.has-video { aspect-ratio: auto; padding: 16px 16px 18px; }
.cs-card-img.has-video .cs-browser { box-shadow: 0 10px 28px rgba(92,85,71,.2); border-radius: 12px; }
.cs-card-img.has-video .cs-vid { aspect-ratio: 16 / 9; }
.cs-cards + .cs-cta { margin-top: 56px; }

/* ── Green numbers (+21 / +32), same green as the homepage "More customers." headline ── */
.cs-green { color: #6BE59A; }
.cs-hero-big .to { color: #6BE59A; }
.cs-card-stat { background: #2E2A24; border-radius: 16px; padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.cs-card-stat .cs-card-head { color: #FCF9EF; }
.cs-card-stat .cs-card-head .num { color: #6BE59A; }
.cs-card-stat .cs-card-sub { color: #CFC8B4; }
.cs-card-stat .cs-asof { color: #A29A8A; }
.cs-band.dark .cs-statement em .cs-green { color: #6BE59A; }

/* ── Date stamp under every review stat ── */
.cs-asof { display: block; font-family: Inter, sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .02em; color: #8A826F; margin-top: 8px; }
.cs-hero .cs-asof { color: #F7DCC8; margin-top: 12px; }
.cs-results .cs-asof { margin-top: 10px; }
.cs-seo-note { margin: 14px 0 0; max-width: 640px; font-family: Inter, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.5; color: #5C5547; }

/* ── Phone frame: modern all-screen phone — titanium band, side buttons, Dynamic-Island-style pill,
   status bar, home bar, soft reflection. Sizes are in cqw (share of the phone's own width) so it scales
   from the 2-up phone layout to desktop. No logos, no brand text. ── */
/* ONE phone per client: ~35% smaller than the old 2-up phones, beside the "what changed" list so it supports the desktop shots. */
.cs-phone-row { display: grid; gap: 26px; margin-top: 14px; justify-items: center; }
.cs-phone-col { container-type: inline-size; width: min(236px, 58vw); }
.cs-phone-row .cs-diff { margin: 0; grid-template-columns: 1fr; width: 100%; }
@media (min-width: 760px) {
  .cs-phone-row { grid-template-columns: 236px 1fr; gap: 56px; align-items: center; justify-items: stretch; }
}
.cs-phone {
  position: relative; border-radius: 42px; border-radius: 15.4cqw; padding: 1.25cqw; margin: 0 1.2cqw 22cqw;
  background: linear-gradient(135deg, #e6e3dc 0%, #9a978f 18%, #d9d6ce 34%, #7f7c75 52%, #cfccc4 70%, #8a877f 86%, #e0ddd5 100%);
  box-shadow: 0 3cqw 9cqw rgba(46,42,36,.38), 0 .7cqw 1.8cqw rgba(46,42,36,.22), inset 0 0 0 .22cqw rgba(0,0,0,.28);
  -webkit-box-reflect: below 1.6cqw linear-gradient(to bottom, transparent 88%, rgba(255,255,255,.22));
}
.cs-pb { position: absolute; display: block; width: 1.5cqw; background: linear-gradient(90deg, #6f6c65, #d6d3cb 55%, #a29f97); box-shadow: 0 0 .5cqw rgba(0,0,0,.35); }
.cs-pb.a, .cs-pb.u, .cs-pb.d { left: -1.15cqw; border-radius: 1cqw 0 0 1cqw; }
.cs-pb.p { right: -1.15cqw; border-radius: 0 1cqw 1cqw 0; background: linear-gradient(270deg, #6f6c65, #d6d3cb 55%, #a29f97); }
.cs-pb.a { top: 21cqw; height: 6cqw; }
.cs-pb.u { top: 31cqw; height: 11cqw; }
.cs-pb.d { top: 44cqw; height: 11cqw; }
.cs-pb.p { top: 38cqw; height: 17cqw; }
.cs-phone-bezel { background: #040405; border-radius: 14.2cqw; padding: 1.6cqw; }
.cs-phone-screen { background: #fff; border-radius: 12.6cqw; overflow: hidden; position: relative; }
.cs-phone-status { height: 14cqw; background: #fff; display: grid; grid-template-columns: 1fr 30cqw 1fr; align-items: center; padding: 1.2cqw 0 0; color: #111; }
.cs-phone-status b { font: 700 4.3cqw/1 Inter, -apple-system, sans-serif; letter-spacing: -.01em; padding-left: 9cqw; justify-self: start; }
.cs-phone-status i { width: 30cqw; height: 8.8cqw; border-radius: 99px; background: #000; display: block; }
.cs-phone-status svg { width: 15cqw; height: 4.2cqw; justify-self: end; margin-right: 8cqw; display: block; }
.cs-phone-screen img { display: block; width: 100%; height: auto; aspect-ratio: var(--shot, 390 / 844); object-fit: cover; object-position: top; }
.cs-phone-home { position: absolute; left: 50%; bottom: 1.7cqw; width: 30cqw; height: 1.15cqw; margin-left: -15cqw; border-radius: 99px; background: #0b0b0c; box-shadow: 0 0 0 .3cqw rgba(255,255,255,.6); }

/* ── Google Business Profile proof (cropped live listing) ── */
.cs-proof { margin: 26px 0 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cs-proof-card { background: #fff; border: 1px solid #DADCE0; border-radius: 16px; padding: 10px 14px; box-shadow: 0 8px 24px rgba(46,42,36,.12); max-width: 100%; }
.cs-proof-card img { display: block; width: 100%; max-width: 420px; height: auto; }

/* ── Before / After on a computer: "Before" reads as old, "After" pops ── */
.cs-browser.is-before { position: relative; border-color: #CFCDC8; box-shadow: 0 6px 18px rgba(92,85,71,.10); }
.cs-browser.is-before img { filter: saturate(.62) contrast(.93) brightness(1.03); }
.cs-browser.is-before::after { content: ""; position: absolute; inset: 0; background: rgba(150,150,150,.16); pointer-events: none; }
.cs-browser.is-after { border: 2px solid #6BE59A; box-shadow: 0 22px 50px rgba(46,42,36,.26), 0 6px 16px rgba(46,42,36,.14); }

/* ── Divider + arrow between Before and After (→ side by side, ↓ when stacked) ── */
.cs-ba.desk { gap: 6px; }
.cs-divider { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px; min-height: 52px; color: #2E2A24; }
.cs-divider i { flex: 1; height: 2px; border-radius: 2px; background: rgba(92,85,71,.3); display: block; }
.cs-div-pill { flex: none; background: #2E2A24; color: #6BE59A; border-radius: 999px; padding: 7px 14px; font-family: Inter, sans-serif; font-weight: 800; font-size: 12.5px; letter-spacing: .01em; line-height: 1.2; text-align: center; }
.cs-div-arrow { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #6BE59A; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(46,42,36,.22); }
.cs-div-arrow svg { width: 22px; height: 22px; transform: rotate(90deg); }
@media (min-width: 760px) {
  .cs-divider { flex-direction: column; min-height: 0; padding: 0; }
  .cs-divider i { width: 2px; height: auto; }
  .cs-div-pill { padding: 8px 9px; font-size: 12px; max-width: 84px; border-radius: 16px; }
  .cs-div-arrow svg { transform: none; }
}
