/* Case study pages: one big document window on the desktop */
.js body.case, body.case { overflow: auto; height: auto; }
body.case .menubar a { text-decoration: none; color: inherit; }
.doc-wrap { padding: 56px 16px 64px; }
.doc { max-width: 920px; margin: 0 auto; background: rgba(255,255,255,.96); border-radius: 22px; border: 1px solid var(--glass-edge); box-shadow: var(--shadow); overflow: clip; animation: open .4s var(--spring); }
.doc-bar { position: sticky; top: 30px; border-radius: 22px 22px 0 0; z-index: 5; display: flex; align-items: center; height: 44px; padding: 0 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.doc > :not(.doc-bar) { margin-left: clamp(20px, 6vw, 72px); margin-right: clamp(20px, 6vw, 72px); }
.doc-hero { padding-top: 40px; }
.doc-k { font-size: 13px; font-weight: 600; color: var(--mint-deep); }
.doc-hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.035em; margin: 10px 0 16px; max-width: 16ch; }
.doc-lede { font-size: 19px; line-height: 1.5; color: var(--ink-soft); max-width: 36em; }
.doc-meta { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin: 28px 0 32px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.doc-meta dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }
.doc-meta dd { margin: 4px 0 0; font-size: 14px; }
.ph-media { margin: 0; border-radius: 16px; background: repeating-linear-gradient(135deg, #F3F3F1 0 12px, #ECECEA 12px 24px); display: grid; place-items: center; aspect-ratio: 4/3; color: var(--ink-mute); font-size: 13px; font-weight: 500; }
.ph-wide { aspect-ratio: 16/8; }
.ph-mint { background: repeating-linear-gradient(135deg, #E3FAF3 0 12px, #D7F8F0 12px 24px); }
.doc-sec { margin-top: 48px; max-width: 40em; }
.doc-sec h2 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 12px; }
.doc-sec p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.doc-sec p + p { margin-top: 12px; }
.hmw { font-weight: 600; color: var(--ink) !important; border-left: 3px solid var(--mint); padding-left: 14px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--mint-wash); color: var(--mint-deep); font-weight: 600; display: grid; place-items: center; font-size: 14px; }
.steps b { font-size: 16px; }
.steps span { font-size: 16px; color: var(--ink-soft); }
.doc-quote { margin-top: 48px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.doc-quote p { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; max-width: 22em; }
.doc-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--ink-mute); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; width: min(920px - 144px, 100%); }
.doc-sec:has(.ba) { max-width: none; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.stats div { padding: 18px; border-radius: 16px; background: var(--mint-wash); display: grid; gap: 4px; }
.stats b { font-size: 34px; letter-spacing: -0.03em; }
.stats span { font-size: 14px; color: var(--ink-soft); }
.doc-sec:has(.stats) { max-width: none; }
.insights { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.insights li { font-size: 16px; line-height: 1.55; color: var(--ink-soft); padding-left: 18px; position: relative; }
.insights li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.insights b { color: var(--ink); }
.stat-note { margin-top: 10px; font-size: 13px !important; color: var(--ink-mute) !important; }
.doc-sec .ph-wide { margin-top: 18px; }
.doc-close { width: 14px; height: 14px; border-radius: 50%; background: #FF5F57; color: #4d0000; display: grid; place-items: center; border: .5px solid rgba(0,0,0,.12); position: relative; z-index: 1; }
.doc-close svg { width: 12px; height: 12px; }
.doc-close:hover { transform: scale(1.12); }
.doc-close:focus-visible { outline-offset: 3px; border-radius: 50%; }
.doc-next { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; gap: 20px; align-items: center; margin-top: 64px; margin-bottom: 48px; padding: 14px; border-radius: 20px; background: #F6F7F6; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .2s, transform .3s var(--spring); }
.doc-next:hover { background: #EEFBF7; transform: translateY(-2px); color: inherit; }
.dn-media { width: 96px; height: 72px; border-radius: 12px; }
.dn-a { background: linear-gradient(135deg, #D7F8F0, #9EEBD6); }
.dn-b { background: linear-gradient(135deg, #FFE3EC, #FFC9A8); }
.dn-text { display: grid; gap: 2px; }
.dn-k { font-size: 12px; font-weight: 600; color: var(--mint-deep); text-transform: uppercase; letter-spacing: .05em; }
.dn-t { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.dn-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 18px; margin-right: 6px; transition: transform .3s var(--spring); }
.doc-next:hover .dn-arrow { transform: translateX(4px); }
@media (max-width: 760px) {
  .doc-wrap { padding: 52px 0 0; }
  .doc { border-radius: 24px 24px 0 0; }
  .doc-bar { top: 44px; }
  .doc-meta { grid-template-columns: 1fr 1fr; }
  .ba, .stats { grid-template-columns: 1fr; }
  .doc-next { grid-template-columns: 64px minmax(0,1fr); }
  .dn-media { width: 64px; height: 56px; }
  .dn-arrow { display: none; }
}

.inline-quote { font-family: var(--serif); font-size: 26px !important; line-height: 1.25 !important; color: var(--ink) !important; margin: 14px 0 !important; }
.doc-h3 { font-size: 17px; margin: 4px 0 8px; }
.stats-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.stats-2 span { line-height: 1.45; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.doc-sec:has(.trio) { max-width: none; }
.doc-quote p:only-child { margin: 0; }
.doc-foot { display: flex; justify-content: center; gap: 24px; margin-top: -24px; margin-bottom: 40px; font-size: 14px; font-weight: 600; }
.doc-foot a { text-decoration: none; color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; }
.doc-foot a:hover { background: var(--mint-wash); color: var(--ink); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 760px) { .trio, .stats-2 { grid-template-columns: 1fr; } }

/* ---------- Round 8: Luis's feedback ---------- */
/* one centred reading column; images and stats a little wider */
.doc > :not(.doc-bar) { width: min(680px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.doc > .ph-wide { width: min(840px, calc(100% - 48px)); }
.doc-sec, .doc-sec:has(.ba), .doc-sec:has(.stats), .doc-sec:has(.trio) { max-width: none; }
@media (min-width: 960px) { .doc-sec .ba, .doc-sec .stats, .doc-sec .trio, .doc-sec .ph-wide { margin-left: -80px; margin-right: -80px; } }
.doc-hero h1 { max-width: none; }
.doc-meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
.doc-meta dt, .dn-k { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
/* quotes in the same family, no thin serif */
.doc-quote p, .inline-quote { font-family: var(--sans) !important; font-weight: 600; letter-spacing: -0.02em; }
.doc-quote p { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; }
.inline-quote { font-size: 20px !important; line-height: 1.35 !important; }
.doc-sec p, .insights li, .steps span { font-size: 17px; }
/* embedded in the desktop window: no menu bar, no second title bar */
.embed body::before { display: none; }
.embed body { background: #fff; }
.embed .menubar, .embed .doc-bar { display: none; }
.embed .doc-wrap { padding: 0; }
.embed .doc { max-width: none; border: 0; border-radius: 0; box-shadow: none; animation: none; background: #fff; }
.embed .doc-hero { padding-top: 32px; }
.ba { width: auto; }

/* real screens */
.shot { margin: 22px 0 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(10,10,10,.06), 0 18px 40px -18px rgba(10,30,25,.3); background: #fff; }
.shot figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink-mute); }
.doc > .shot-hero { width: min(980px, calc(100% - 48px)); margin: 8px auto 0; }
@media (min-width: 960px) { .doc-sec .shot { margin-left: -80px; margin-right: -80px; } }
.shot-pair { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 32px; align-items: start; margin-top: 26px; }
.shot-pair .shot { margin: 0 !important; }
.shot-phone img { border-radius: 22px; }
.shot-note h3 { font-size: 18px; margin: 4px 0 10px; }
@media (max-width: 640px) { .shot-pair { grid-template-columns: 1fr; } .shot-phone { max-width: 260px; } }

/* before / after and headline stats */
.ba-shot { margin: 0; }
.ba-shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(10,10,10,.06), 0 18px 40px -18px rgba(10,30,25,.3); }
.ba-shot figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.ba-shot figcaption b { color: var(--ink); }
.doc-sec .doc-quote { margin-top: 28px; }
.stats-big { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.stats-big div { padding: 26px 26px 24px; border-radius: 20px; background: linear-gradient(160deg, #DDF7EF, #C7F1E4); gap: 6px; }
.stats-big b { font-size: clamp(48px, 7vw, 68px); line-height: 1; letter-spacing: -0.04em; color: #00585C; }
.stats-big strong { font-size: 17px; font-weight: 600; color: var(--ink); }
.stats-big span { font-size: 14.5px; line-height: 1.5; }
@media (max-width: 640px) { .stats-big { grid-template-columns: 1fr; } }

/* ---------- Case study refresh (Oct 19) ---------- */
/* one clean column for everything; the banner bleeds edge to edge */
.doc > :not(.doc-bar):not(.cs-banner):not(.pv):not(.qsec) { width: min(680px, calc(100% - 48px)) !important; margin-left: auto !important; margin-right: auto !important; max-width: none !important; }
.doc-sec { max-width: none !important; }
.cs-banner { margin: 0 !important; width: 100% !important; background: #FDF9FA; border-bottom: 1px solid var(--line); }
.cs-banner img { display: block; width: 100%; height: auto; }
.doc-hero { padding-top: 36px; }
.cs-logo { display: block; height: 30px; width: auto; margin-bottom: 18px; }
.doc-hero h1 { max-width: 18ch; margin: 0 0 14px; }
.cs-meta { margin-top: 16px; font-size: 14px; color: var(--ink-mute); }
.doc-sec { margin-top: 56px; }

/* before / after slider */
.cmp { position: relative; margin-top: 16px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(10,10,10,.08), 0 18px 40px -20px rgba(10,30,25,.35); aspect-ratio: 16/10; user-select: none; }
.cmp img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.cmp-knob::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: 2px; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-range:focus-visible + * , .cmp:focus-within .cmp-knob { outline: 3px solid var(--mint-deep); outline-offset: 2px; }
.cmp-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(10,10,10,.72); color: #fff; pointer-events: none; }
.cmp-tag-b { left: 12px; } .cmp-tag-a { right: 12px; }
.cmp-caption { margin-top: 12px !important; font-size: 14.5px !important; color: var(--ink-mute) !important; line-height: 1.55 !important; }
.cmp-open { margin-top: 14px; font: inherit; font-size: 15px; font-weight: 600; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.cmp-open:hover { background: var(--ink); color: #fff; }

/* full-page explorer */
.pv[hidden] { display: none; }
.pv { position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column; background: #141414; }
.pv-on, .pv-on body { overflow: hidden; }
.pv-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #1A1A1A; color: #fff; }
.pv-tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); }
.pv-tab { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 18px; border-radius: 999px; border: 0; background: none; color: #fff; cursor: pointer; }
.pv-tab[aria-selected="true"] { background: #fff; color: var(--ink); }
.pv-url { flex: 1; font-size: 13px; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.pv-scroll { flex: 1; overflow: auto; overscroll-behavior: contain; display: flex; justify-content: center; padding: 20px 16px 40px; }
.pv-scroll img { display: block; width: min(1280px, 100%); height: auto; border-radius: 10px 10px 0 0; box-shadow: 0 30px 80px rgba(0,0,0,.5); align-self: flex-start; }

/* quote carousel */
.qc { margin-top: 18px; border-radius: 20px; background: #F4F1FA; overflow: hidden; }
.qc-track { display: flex; transition: transform .45s var(--ease); touch-action: pan-y; }
.qc-slide { flex: 0 0 100%; margin: 0; padding: 36px 36px 8px; }
.qc-slide blockquote { margin: 0; }
.qc-slide p { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 32px) !important; line-height: 1.25 !important; color: var(--ink) !important; }
.qc-slide figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-mute); }
.qc-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px 22px; }
.qc-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(10,10,10,.18); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.qc-arrow:hover { border-color: var(--ink); }
.qc-dots { display: flex; gap: 8px; }
.qc-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(10,10,10,.2); cursor: pointer; }
.qc-dot[aria-current="true"] { background: var(--ink); width: 22px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .qc-track { transition: none; } }

/* impact: clean, aligned to the column */
.impact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 18px; }
.impact div { display: grid; gap: 6px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.impact b { font-size: clamp(56px, 8vw, 80px); line-height: .95; letter-spacing: -0.045em; color: var(--ink); }
.impact strong { font-size: 18px; font-weight: 600; line-height: 1.3; }
.impact span { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 640px) { .impact { grid-template-columns: 1fr; gap: 22px; } .qc-slide { padding: 28px 22px 4px; } .pv-url { display: none; } }

/* ---------- Case study refresh 2 (Oct 19, 1pm) ---------- */
/* the slider shows more of each page: a tall window onto the top of both */
.cmp { aspect-ratio: 3 / 4; }

/* explorer: the real pages, full bleed, under a white sticky bar with the toggle in the middle */
.pv { background: #fff; }
.pv-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px 20px; background: #fff; color: var(--ink); border-bottom: 1px solid rgba(10,10,10,.1); box-shadow: 0 6px 20px -12px rgba(10,30,25,.35); position: relative; z-index: 1; }
.pv-url { flex: none; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.pv-tabs { padding: 4px; background: var(--mint-wash); box-shadow: inset 0 0 0 1px rgba(14,107,87,.18); }
.pv-tab { font-size: 15px; padding: 9px 26px; color: var(--mint-deep); }
.pv-tab:hover { background: rgba(94,229,197,.35); }
.pv-tab[aria-selected="true"] { background: var(--mint); color: #0A3D31; box-shadow: 0 2px 8px -2px rgba(14,107,87,.45); }
.pv-tab:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 2px; }
.pv-end { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.pv-note { font-size: 13px; color: var(--ink-mute); }
.pv-close { background: rgba(10,10,10,.06); color: var(--ink); }
.pv-close:hover { background: rgba(10,10,10,.12); }
.pv-frame { flex: 1; width: 100%; border: 0; display: block; background: #fff; }
@media (max-width: 720px) { .pv-bar { grid-template-columns: auto 1fr; } .pv-url, .pv-note { display: none; } .pv-tabs { justify-self: start; } }

/* key quotes: the band runs edge to edge, the words stay in the column */
.doc > .qsec { width: 100% !important; }
.qsec > h2 { width: min(680px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.qsec .qc { border-radius: 0; margin-top: 22px; background: var(--mint-wash); }
.qsec .qc-slide { padding: 56px 0 10px; }
.qsec .qc-slide blockquote, .qsec .qc-slide figcaption { width: min(680px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.qsec .qc-slide p { font-size: clamp(26px, 3.4vw, 36px) !important; }
.qsec .qc-nav { width: min(680px, calc(100% - 48px)); margin: 0 auto; padding: 20px 0 40px; justify-content: flex-start; gap: 10px; }
.qsec .qc-dots { order: -1; margin-right: auto; }
.qsec .qc-arrow { background: #fff; }
.qc-play { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(10,10,10,.18); background: #fff; cursor: pointer; display: grid; place-items: center; }
.qc-play:hover { border-color: var(--ink); }
.qc-play span { width: 10px; height: 12px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.qc-play.is-paused span { width: 0; height: 0; border: 0; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* impact: headlines only, with the date on the heading line */
.impact-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.impact-head .stat-note { margin: 0 !important; font-size: 14px; color: var(--ink-mute); text-align: right; }

/* ---------- Case study refresh 3 (Oct 19, 6pm) ---------- */
/* before/after: the whole comparison fits in one screen */
.cmp { width: min(100%, calc((100vh - 200px) * .75)) !important; margin-left: auto; margin-right: auto; }
.embed .cmp { width: min(100%, calc((100vh - 140px) * .75)) !important; }
.cmp-caption, .cmp-open { text-align: left; }

/* explorer bar: a clear way back, the toggle in the middle */
.pv-bar { grid-template-columns: 1fr auto 1fr !important; }
.pv-back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1.5px solid rgba(10,10,10,.16); background: #fff; color: var(--ink); cursor: pointer; }
.pv-back:hover { border-color: var(--ink); }
.pv-back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-url { justify-self: end; text-align: right; font-size: 13px !important; }
@media (max-width: 720px) { .pv-bar { grid-template-columns: auto 1fr !important; } .pv-url { display: none; } .pv-back { font-size: 0; padding: 9px; gap: 0; } .pv-back svg { width: 16px; height: 16px; } }

/* quote controls: icons centred */
.qc-arrow, .qc-play { display: grid !important; place-items: center; padding: 0 !important; line-height: 1; }
.qc-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.qc-play span { margin: 0 !important; }
.qc-play.is-paused span { margin-left: 3px !important; }

/* Flylane: a snapshot of what I designed */
.snap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.snap-grid figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.snap-grid img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(10,10,10,.06); display: block; }
.snap-grid figcaption { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.snap-grid figcaption b { color: var(--ink); }
@media (max-width: 560px) { .snap-grid { grid-template-columns: 1fr; } }
@media (max-width: 1040px) { .pv-url { display: none !important; } }

/* ---------- Case study refresh 4 (Oct 19, 6.30pm): more air, softer impact ---------- */
.doc-sec { margin-top: 72px; }
.doc-sec h2 { margin-bottom: 16px; }
.doc-sec p + p { margin-top: 16px; }
.doc-hero + .doc-sec { margin-top: 56px; }
.doc .hmw { margin-top: 28px !important; }

/* impact: bold numbers, calmer surroundings */
.impact { gap: 20px !important; margin-top: 24px !important; }
.impact div { padding: 26px 26px 28px !important; border: 0 !important; border-radius: 20px; background: #EEFBF7; }
.impact b { font-size: clamp(48px, 6vw, 64px) !important; font-weight: 650; letter-spacing: -0.035em !important; color: #0A3D31 !important; line-height: 1 !important; }
.impact strong { font-size: 16px !important; font-weight: 500 !important; color: var(--ink-soft); margin-top: 6px; }
.impact-head h2 { margin-bottom: 0; }
.impact + p { margin-top: 24px; }

/* "Want to learn more?" at the end of each case study */
.cs-more { width: min(680px, calc(100% - 48px)); margin: 88px auto 72px !important; padding: 34px 34px 36px; border-radius: 24px; background: linear-gradient(135deg, #E3F9F2, #F4FBF9); box-shadow: inset 0 0 0 1px rgba(14,107,87,.12); }
.cs-more h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.cs-more p { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }
.cs-more-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.cs-more-btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none !important; }
.cs-more-btn:hover { background: #333; }
.cs-more-mail { font-size: 14.5px; color: var(--ink) !important; text-decoration: underline; text-decoration-color: var(--mint-deep); text-underline-offset: .2em; }

/* Flylane: what I designed, one screen at a time within the text column */
.snap-car { margin-top: 28px; }
.snap-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.snap-track::-webkit-scrollbar { display: none; }
.snap-track:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.snap-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; display: grid; gap: 16px; align-content: start; }
.snap-img { aspect-ratio: 16 / 10; display: grid; place-items: center; background: #F3F6F4; border-radius: 18px; overflow: hidden; padding: clamp(18px, 3.5vw, 32px); }
.snap-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 10px 30px -14px rgba(10,40,30,.35); }
.snap-slide figcaption { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); padding-right: 140px; min-height: 3.1em; }
.snap-slide figcaption b { color: var(--ink); }
.snap-nav { display: flex; align-items: center; gap: 10px; margin-top: -40px; justify-content: flex-end; position: relative; }
.snap-dots { display: flex; gap: 6px; margin-right: auto; visibility: hidden; }
.snap-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(10,10,10,.18); background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
.snap-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.snap-btn:hover:not(:disabled) { border-color: var(--ink); }
.snap-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 560px) { .snap-slide figcaption { padding-right: 0; } .snap-nav { margin-top: 12px; } }
