/* ============================ Case study pages — shared ============================ */
/* Desktop type & spacing are LOCKED to the Figma (node 6717-3352): 1240px content, fixed px. */
:root {
  --paper: #F6F4F1;
  --card: #E9E2D6;
  --stage: #F4EFE6;
  --ink: #241318;
  --burgundy: #440623;
  --burgundy-2: #5C2435;
  --muted: #756070;
  --soft: #5E4953;
  --line: rgba(58, 22, 32, 0.14);
  --champagne: #E2B574;
  --gold-deep: #A86E2E;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --wordmark: "Overlock", serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(1360px, 89.95%); margin-inline: auto; }

/* ---------------- nav (matches home page) ---------------- */
.nav { width: min(1448px, 95.77%); margin: 24px auto 0; height: 64px; background: #440623; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 24px; position: sticky; top: 12px; z-index: 50; box-shadow: 0 12px 32px rgba(40, 8, 20, 0.20); }
.brand { display: flex; align-items: center; gap: 20px; }
.brand img { width: 21.064px; height: 36px; display: block; }
.brand-name { font-family: var(--wordmark); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: 0.01em; text-transform: uppercase; color: #DAD1C4; white-space: nowrap; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: 0.28px; transition: color .2s ease; }
.nav-links a.cs { color: #E2B574; }
.nav-links a.ct { color: rgba(218, 209, 196, 0.82); }
.nav-links a:hover { color: #FFFCFC; }
.nav-resume { background: #FFFCFC; border-radius: 4px; padding: 6px 12px; font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.28px; color: #5C2435; transition: background-color .2s ease; }
.nav-resume:hover { background: #F2ECE0; }
.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* ---------------- back link ---------------- */
.cs-back { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 12px; font-family: var(--sans); font-size: 14px; color: var(--soft); transition: color .2s ease; }
.cs-back:hover { color: var(--burgundy); }
.cs-back .ar { transition: transform .2s ease; }
.cs-back:hover .ar { transform: translateX(-4px); }

.cs-body { padding-bottom: 130px; }

/* ---------------- header card ---------------- */
.cs-header { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 35px; margin: 0; }
.cs-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 38px; align-items: center; }
.cs-hero-visual { padding: 8px; display: flex; align-items: center; justify-content: center; }
/* default hero image (Milaan / Turkey / Abun): edge-fade into the card */
.cs-hero-visual img {
  width: 100%; max-width: 540px; height: auto; border-radius: 8px;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 16%), linear-gradient(to right, transparent 0%, #000 13%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to top, transparent 0%, #000 16%), linear-gradient(to right, transparent 0%, #000 13%);
  mask-composite: intersect;
}
.cs-hero-visual.cover { padding: 0; }
.cs-hero-visual.cover img { max-width: 100%; width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(58, 22, 32, 0.09); }
.cs-hero-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 8px; }
.mark-name { font-family: var(--sans); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.025em; color: var(--burgundy); }
.mark-name .plus { color: var(--champagne); }
.mark-sub { font-size: 11.84px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.cs-intro { display: grid; grid-template-columns: 616px 392px; justify-content: space-between; margin-top: 30px; align-items: start; }
.cs-title { font-family: var(--sans); font-weight: 600; font-size: 34.4px; line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); }
.cs-summary { display: flex; flex-direction: column; gap: 6px; }
.cs-summary p { font-weight: 400; font-size: 15.4px; line-height: 1.45; letter-spacing: 0; color: #4f414a; }
.cs-summary .lead { color: var(--ink); font-weight: 500; }

.cs-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.cs-meta .k { display: block; font-size: 12.8px; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 10px; }
.cs-meta .v { font-size: 22px; font-weight: 500; color: var(--ink); }

/* ---- Ekly split header: framed shot left, wordmark + title + summary right ---- */
.cs-header:has(.cs-hero-text) { padding: 40px; background: transparent; border: 1px solid rgba(58, 22, 32, 0.24); border-radius: 8px; }
.cs-header .cs-impact { margin: 44px 0 0; }
.cs-hero:has(.cs-hero-text) { grid-template-columns: minmax(0, 457px) 1fr; gap: 48px; align-items: center; }
.cs-hero-visual.shot { padding: 0; }
.cs-hero-visual.shot img {
  width: 100%; max-width: 457px; height: auto; border: none; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 16px 34px rgba(58, 22, 32, 0.16));
  -webkit-mask-image: none; mask-image: none;
}
.cs-hero-text { padding: 4px 6px 4px 0; }
.ekly-word { display: flex; align-items: center; margin-bottom: 26px; }
.ekly-logo { display: block; height: 50px; width: auto; }
.cs-hero-text .cs-title { max-width: 616px; }
.cs-hero-text .cs-summary { margin-top: 22px; max-width: 593px; gap: 8px; }
.cs-hero-text .cs-summary .lead { font-weight: 600; }

/* ---------------- at a glance ---------------- */
.cs-impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 52px 0 0; }
.impact .n { display: block; font-family: var(--sans); font-weight: 700; font-size: 25.6px; line-height: 1.14; letter-spacing: -0.02em; color: var(--burgundy); }
.impact .l { display: block; margin-top: 10px; font-size: 14.99px; line-height: 1.45; color: var(--soft); max-width: 344px; }

/* ---------------- sections (centered reading column, narrower than the hero card) ---------------- */
.cs-section { max-width: 880px; margin: 64px auto 0; }
.cs-h { font-family: var(--sans); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; line-height: 1.16; color: var(--ink); margin-bottom: 20px; }
.cs-prose { max-width: 700px; }
.cs-prose p { font-size: 16.5px; line-height: 1.6; color: var(--soft); }
.cs-prose p + p { margin-top: 1em; }
.cs-prose strong { color: var(--ink); font-weight: 600; }
.cs-prose em { font-style: italic; }

/* pull-quote — generous breathing room above and below */
.cs-pull { margin: 54px 0 42px; padding-left: 26px; border-left: 3px solid var(--burgundy); font-family: var(--sans); font-weight: 500; font-size: 25px; line-height: 1.34; letter-spacing: -0.015em; color: var(--ink); max-width: 560px; }

/* figures */
.cs-fig { margin: 30px 0 0; }
.cs-fig img { width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; }
.cs-fig figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.cs-fig + .cs-prose, .cs-fig + .cs-pull { margin-top: 28px; }
.cs-tries + .cs-fig { margin-top: 56px; }
.cs-fig + .cs-fig { margin-top: 56px; }
.cs-fig.center { text-align: center; }
.cs-fig.center img { width: auto; max-width: min(100%, 200px); margin-inline: auto; border: none; border-radius: 18px; }
.cs-fig.center figcaption { text-align: center; }
.cs-fig.stack img + img { margin-top: 18px; }
.cs-fig.sheet img { max-width: 560px; margin-inline: auto; }
.cs-fig.sheet figcaption { text-align: center; }
.cs-fig-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-fig-row img { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }
.cs-fig-row.stack { grid-template-columns: 1fr; gap: 34px; }

/* honest-limit box */
.cs-limit { margin-top: 20px; max-width: 700px; padding: 16px 18px; background: rgba(58, 22, 32, 0.045); border-radius: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.cs-limit strong { color: var(--burgundy-2); font-weight: 600; }

/* success metrics */
.cs-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 48px; margin-top: 26px; }
.metric .mn { display: block; font-family: var(--sans); font-weight: 700; font-size: 38px; line-height: 1; letter-spacing: -0.02em; color: var(--burgundy); }
.metric .ml { display: block; margin-top: 11px; font-size: 15px; line-height: 1.5; color: var(--soft); max-width: 360px; }

/* ---------------- Milaan-specific ---------------- */
.milaan-word { font-family: "Newsreader", serif; font-weight: 600; font-size: 46px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.milaan-word .star { color: var(--gold-deep); font-size: 26px; }
.milaan-logo { width: 46px; height: 46px; border-radius: 12px; display: block; box-shadow: 0 6px 16px rgba(11, 15, 41, 0.28); }
.cs-hero-visual.banner { padding: 0; }
.cs-hero-visual.banner img { width: 100%; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(58, 22, 32, 0.16); -webkit-mask-image: none; mask-image: none; }
/* Milaan header: 240px app-icon as the hero visual (Figma 6732-20597) */
/* keep the shared 457px/1fr/48px hero grid so the text still starts at 505px as in Figma */
.cs-hero-visual.app-icon { padding: 0; }
.cs-hero-visual.app-icon img {
  width: 240px; max-width: 100%; aspect-ratio: 1 / 1; height: auto;
  border: none; border-radius: 51px; object-fit: cover;
  box-shadow: 0 18px 44px rgba(11, 15, 41, 0.30);
  -webkit-mask-image: none; mask-image: none;
}
.cs-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 4px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.22); }
.cs-facts .k { display: block; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cs-facts .v { display: block; font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.cs-objective { margin-top: 18px; }
.cs-goals { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 32px; margin-top: 22px; }
.cs-goals li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.cs-goals li::before { content: "✦"; position: absolute; left: 0; top: 2px; color: var(--gold-deep); font-size: 13px; }
.cs-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }
.cs-step { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: rgba(255, 255, 255, 0.22); }
.cs-step .sn { display: block; font-family: var(--sans); font-weight: 600; font-size: 12.8px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 9px; }
.cs-step h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.cs-step p { font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.cs-screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.cs-screens img { width: 100%; height: auto; border-radius: 0; border: none; display: block; filter: drop-shadow(0 10px 22px rgba(58, 22, 32, 0.16)); }
.cs-fig.illus img { max-width: 280px; border: none; box-shadow: none; }
.cs-fig.illus-wide img { max-width: 560px; border: none; box-shadow: none; }
/* Problem illustration: wide graphic (i1.png) on desktop, dedicated small-screen
   version (pain.png) on mobile — swapped natively via <picture> (one <img> only). */
/* eyebrow label (for non-branded projects) */
.cs-eyebrow { font-family: var(--sans); font-weight: 600; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }

/* one-line credit under a case-study title */
.cs-credit { font-family: var(--sans); font-weight: 500; font-size: 13px; line-height: 1.45; letter-spacing: 0.01em; color: #7a6a74; margin-top: 10px; }
.cs-context { font-family: var(--sans); font-weight: 400; font-size: 13px; line-height: 1.45; color: #8a7a84; margin-top: 6px; }
.cs-goals.pains li::before { content: "✕"; color: var(--burgundy-2); font-weight: 700; font-size: 12px; }
/* scroll-frame for tall full-page captures */
.cs-scroll { max-height: 820px; overflow-y: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(58, 22, 32, 0.10); }
.cs-scroll img { width: 100%; display: block; }
.cs-scroll.phone { max-width: 340px; margin-inline: auto; max-height: 600px; }
/* before / after comparison */
.cs-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cs-ba > div { display: flex; flex-direction: column; }
.ba-tag { align-self: flex-start; margin-bottom: 9px; padding: 3px 11px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(58, 22, 32, 0.10); color: var(--burgundy-2); }
.ba-tag.after { background: var(--burgundy); color: #F4EFE6; }
.ba-item { display: flex; flex-direction: column; }
/* before/after frames: force equal height so both columns match */
.cs-ba .cs-scroll { height: 640px; max-height: 640px; }
/* paired phone frames */
.cs-phones { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cs-phones .cs-scroll.phone { margin-inline: 0; flex: 0 1 300px; max-width: 320px; }

/* ---- responsive device showcase: laptop + phone, side by side ---- */
.cs-duo { display: flex; align-items: flex-end; justify-content: center; gap: 30px; margin-top: 30px; }
.cs-duo .laptop { flex: 0 1 720px; min-width: 0; }
.cs-duo .lt-screen { border: 12px solid #241318; border-bottom: 0; border-radius: 16px 16px 0 0; background: #241318; overflow-y: auto; overflow-x: hidden; aspect-ratio: 16 / 10; box-shadow: 0 22px 50px rgba(58, 22, 32, 0.18); scrollbar-width: thin; scrollbar-color: rgba(218, 209, 196, 0.4) transparent; -webkit-overflow-scrolling: touch; }
.cs-duo .lt-screen img { width: 100%; height: auto; display: block; }
.cs-duo .lt-base { height: 15px; border-radius: 0 0 13px 13px; background: linear-gradient(#d8d0c3, #b1a698); box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.45), 0 9px 16px rgba(58, 22, 32, 0.12); position: relative; }
.cs-duo .lt-base::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 92px; height: 5px; border-radius: 0 0 7px 7px; background: rgba(36, 19, 24, 0.22); }
.cs-duo .phone-d { flex: 0 0 200px; }
.cs-duo .ph-screen { border: 9px solid #241318; border-radius: 30px; overflow-y: auto; overflow-x: hidden; aspect-ratio: 9 / 19.3; background: #241318; box-shadow: 0 20px 44px rgba(58, 22, 32, 0.20); scrollbar-width: thin; scrollbar-color: rgba(218, 209, 196, 0.4) transparent; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.cs-duo .ph-screen img { width: 100%; height: auto; display: block; }
.cs-duo .lt-screen { overscroll-behavior: contain; }
.cs-duo .lt-screen::-webkit-scrollbar, .cs-duo .ph-screen::-webkit-scrollbar { width: 6px; }
.cs-duo .lt-screen::-webkit-scrollbar-thumb, .cs-duo .ph-screen::-webkit-scrollbar-thumb { background: rgba(218, 209, 196, 0.32); border-radius: 3px; }
@media (max-width: 760px) { .cs-duo { gap: 18px; } .cs-duo .phone-d { flex: 0 0 30%; max-width: 150px; } }
@media (max-width: 600px) {
  .cs-duo { flex-direction: column; align-items: center; gap: 18px; }
  .cs-duo .laptop { flex: 0 0 auto; width: 100%; max-width: 440px; }
  .cs-duo .phone-d { flex: 0 0 auto; width: 152px; max-width: 152px; }
}
.cs-swatches + .cs-prose { margin-top: 22px; }

.cs-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 880px; margin: 64px auto 0; padding-top: 30px; border-top: 1px solid var(--line); }
.cs-foot-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.01em; padding: 13px 26px; border-radius: 6px; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.cs-foot-btn .ar { font-weight: 400; }
.cs-foot-btn.ghost { background: transparent; border: 1px solid rgba(58, 22, 32, 0.28); color: #440623; }
.cs-foot-btn.ghost:hover { border-color: #440623; background: rgba(68, 6, 35, 0.04); }
.cs-foot-btn.primary { background: #440623; color: #DAD1C4; border: 1px solid #440623; }
.cs-foot-btn.primary:hover { background: #5C2435; border-color: #5C2435; }
.cs-soon { display: flex; align-items: center; gap: 14px; margin-top: 64px; color: var(--muted); font-size: 14px; letter-spacing: 0.02em; }
.cs-soon .rule { flex: 1; height: 1px; background: var(--line); }

/* colour-palette swatch strip */
.cs-swatches { display: flex; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin: 30px 0 0; }
.sw { flex: 1; min-width: 0; height: 112px; display: flex; align-items: flex-end; padding: 10px; }
.sw b { font-family: "Cousine", ui-monospace, "SF Mono", monospace; font-size: 11.2px; font-weight: 400; letter-spacing: 0.01em; }

/* logo explorations — three image-topped cards */
.cs-tries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 18px 0 0; }
.try { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, 0.22); }
.try-img { aspect-ratio: 5 / 4; background: #ECE5D9; display: flex; align-items: center; justify-content: center; padding: 16px; border-bottom: 1px solid var(--line); }
.try-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.try-body { padding: 20px; }
.try .n { display: block; font-family: var(--sans); font-weight: 600; font-size: 14.4px; color: var(--burgundy); margin-bottom: 7px; }
.try p { font-size: 14.08px; line-height: 1.48; color: var(--soft); max-width: 360px; }
.try.selected { border-color: var(--burgundy); box-shadow: 0 0 0 1.5px var(--burgundy); background: rgba(255, 255, 255, 0.4); }
.try .n { display: flex; align-items: center; }
.try .pick { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--burgundy); color: #F4EFE6; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================ responsive ============================ */
/* intro columns (616 + 392) only fit when content ≥ ~1010px */
@media (max-width: 1100px) {
  .cs-intro { grid-template-columns: 1fr; justify-content: start; gap: 18px; }
}
@media (max-width: 860px) {
  .cs-hero { grid-template-columns: 1fr; gap: 22px; }
  .cs-hero:has(.cs-hero-text) { grid-template-columns: 1fr; gap: 26px; }
  .cs-hero-mark { order: -1; padding: 4px 0 0; }
  .cs-hero-text { padding: 0; }
  .cs-meta { grid-template-columns: 1fr; gap: 22px; }
}
/* mobile nav — hamburger (matches home page) */
@media (max-width: 720px) {
  .nav { margin: 12px 18px 0; width: auto; padding: 0 10px 0 16px; height: 48px; border-radius: 14px; }
  .brand-name { display: block; font-size: 15px; letter-spacing: 0.01em; }
  .brand img { width: 15px; height: 26px; }
  .nav-right { display: none; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; }
  .nav-toggle span { width: 19px; height: 2px; border-radius: 2px; background: #DAD1C4; transition: transform .3s ease, opacity .2s ease; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle:focus-visible { outline: 2px solid #E2B574; outline-offset: 2px; border-radius: 4px; }
  .mobile-menu { display: block; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #440623; border-radius: 14px; max-height: 0; overflow: hidden; transition: max-height .34s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 14px 28px rgba(40, 8, 20, 0.28); z-index: 50; }
  .nav.open .mobile-menu { max-height: 320px; }
  .mobile-menu a { display: flex; align-items: center; min-height: 52px; padding: 0 20px; font-family: var(--sans); font-size: 16px; color: rgba(218, 209, 196, 0.85); border-top: 1px solid rgba(218, 209, 196, 0.12); }
  .mobile-menu a:first-child { border-top: none; }
  .mobile-menu a.cs { color: #E2B574; }
  .mobile-menu a.mm-resume { justify-content: center; margin: 12px 18px 16px; min-height: 48px; background: #FFFCFC; color: #5C2435; font-weight: 600; border-radius: 8px; border-top: none; }
}
/* mobile: scale the fixed desktop type down + stack grids */
@media (max-width: 760px) {
  .cs-body { padding-bottom: 70px; }
  .cs-header { padding: 22px; border-radius: 16px; }
  .cs-intro { margin-top: 22px; }
  .cs-header:has(.cs-hero-text) { padding: 22px; }
  .ekly-word { margin-bottom: 18px; }
  .ekly-logo { height: 40px; }
  .cs-hero-text .cs-summary { margin-top: 16px; }
  .mark-name { font-size: 30px; }
  .cs-title { font-size: 26px; }
  .cs-credit, .cs-context { font-size: 12.5px; }
  .cs-summary p { font-size: 15px; }
  .cs-meta .v { font-size: 19px; }
  .cs-impact { grid-template-columns: 1fr; gap: 22px; margin-top: 44px; }
  .cs-metrics { grid-template-columns: 1fr; gap: 24px; }
  .cs-foot { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .cs-foot-btn { justify-content: center; }
  .milaan-word { font-size: 36px; margin-bottom: 18px; }
  .cs-facts { grid-template-columns: 1fr; gap: 18px; }
  .cs-goals { grid-template-columns: 1fr; }
  .cs-steps { grid-template-columns: 1fr; }
  .cs-screens { grid-template-columns: repeat(2, 1fr); }
  .cs-ba { grid-template-columns: 1fr; }
  .impact .n { font-size: 22px; }
  .cs-section { margin-top: 52px; }
  .cs-h { font-size: 23px; margin-bottom: 16px; }
  .cs-prose, .cs-pull, .cs-limit { max-width: none; }
  .cs-prose p { font-size: 16px; }
  .cs-pull { font-size: 21px; padding-left: 18px; margin: 38px 0 32px; }
  .cs-fig { margin-top: 28px; }
  .cs-fig-row { grid-template-columns: 1fr; }
  /* Milaan problem section: the small-screen image (pain.png) fills the column */
  .cs-fig.center.cs-pain-fig img { width: 100%; max-width: 100%; margin-inline: auto; border-radius: 0; }
  .cs-tries { grid-template-columns: 1fr; }
  .sw { height: 64px; }
  .sw b { font-size: 9px; }
  .cs-foot { margin-top: 52px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
