/* ==========================================================================
   alfred. — Case page (Figma: CASE, 1440 wide). One template for every case:
   case.js fills it from data/cases/<case>.json. 1 --u = 1 Figma px at 70%, like the other pages.
   ========================================================================== */

.page-case {
  --hu: min(100vw / 1440, 100vh / 1024);
  --u: calc(var(--hu) * .7);
  --edge: calc(12 * var(--hu)); --edge-radius: calc(28 * var(--hu));
  --pad: calc(16 * var(--hu)); --navh: calc(52 * var(--hu));   /* compact (user, 2026-11-06) */ --radius: calc(24 * var(--hu));
  --frame: #ffde00;     /* the case's own colour (case.js) */
  --accent: #85d1c5;
  --win-top: calc(var(--edge) + var(--navh) + var(--pad));
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
}
html:has(.page-case) { background: var(--frame); }

/* ---------- The homepage's frame ---------- */
.page-case .site-mask { position: fixed; inset: var(--edge); z-index: 60; border-radius: var(--edge-radius); box-shadow: 0 0 0 100vmax var(--cream); pointer-events: none; }
.cs-window {
  position: fixed; z-index: 40;
  top: var(--win-top); left: calc(var(--edge) + var(--pad)); right: calc(var(--edge) + var(--pad)); bottom: calc(var(--edge) + var(--pad));
  border-radius: var(--radius); box-shadow: 0 0 0 100vmax var(--frame); pointer-events: none;
}
.page-case .nav { --u: var(--hu); top: var(--edge); height: calc(var(--navh) + var(--pad)); background: var(--frame); color: var(--black); }
.page-case .nav .nav__logo { color: var(--black); }
.page-case .nav__lang-menu { background: var(--frame); }

/* ---------- The page: Figma's sections, 52 apart ---------- */
.cs {
  position: relative; width: calc(1280 * var(--u)); margin: 0 auto;
  padding: calc(var(--win-top) + 64 * var(--u)) 0 calc(var(--edge) + var(--pad) + 110 * var(--u));
  display: flex; flex-direction: column; align-items: center; gap: calc(52 * var(--u));
}
.cs-row { display: flex; justify-content: center; align-items: center; gap: calc(64 * var(--u)); width: 100%; }

/* images, posters and video placeholders: rounded, and their four corners bend on hover */
.cs-img { position: relative; overflow: hidden; border-radius: calc(16 * var(--u)); background: rgba(35, 35, 35, .06); flex: none; }
.cs-img img, .cs-img video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-img video { background: var(--black); }
/* the play mark on a video that is still a placeholder */
.cs-play { position: absolute; left: 50%; top: 50%; width: 13%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
.cs-play svg { width: 100%; height: 100%; fill: rgba(249, 249, 239, .82); }

/* 1 · the opening video, the name beside it */
.cs-hero .cs-img { width: calc(914 * var(--u)); aspect-ratio: 914 / 537; }
.cs-name { width: calc(302 * var(--u)); }
.cs-name small { display: block; font-style: italic; font-weight: 500; font-size: calc(24 * var(--u)); line-height: calc(25 * var(--u)); }
.cs-name h1 { margin: calc(24 * var(--u)) 0 0; font-family: var(--font-wide); font-weight: 800; text-transform: uppercase; font-size: calc(40 * var(--u)); line-height: calc(48 * var(--u)); }

/* 2 · two posters that drift sideways, ever so slightly */
.cs-drift { height: calc(520 * var(--u)); }
.cs-drift .cs-img { height: 100%; will-change: transform; }
.cs-drift .cs-img:nth-child(1) { width: calc(650 * var(--u)); }
.cs-drift .cs-img:nth-child(2) { width: calc(416 * var(--u)); }

/* 3 · the line, and the way into the idea */
.cs-tag { display: flex; flex-direction: column; align-items: center; gap: calc(64 * var(--u)); width: calc(1018 * var(--u)); }
.cs-tag p { margin: 0; text-align: center; font-weight: 300; font-size: calc(36 * var(--u)); line-height: calc(38 * var(--u)); }
.cs-tag .btn { background: var(--accent); border-width: calc(2 * var(--u)); padding: 0 calc(24 * var(--u)) .25em; text-transform: uppercase; }   /* .25em: caps on the optical centre, like every .btn */

/* 4 + 6 · the numbers: a block that fills with liquid */
.cs-stat { position: relative; overflow: hidden; border-radius: calc(16 * var(--u)); background: transparent; flex: none; }
.cs-stat__liquid { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-stat__liquid .front { fill: var(--c); }
.cs-stat__liquid .back { fill: color-mix(in srgb, var(--c) 72%, #000); }
.cs-ch { display: inline-block; transform-origin: 50% 85%; }
.cs-stat__value, .cs-stat__label { position: absolute; z-index: 1; margin: 0; white-space: nowrap; color: var(--t, #000); }
.cs-stat__value { width: max-content; font-family: var(--font-wide); font-weight: 900; text-transform: uppercase; line-height: .8; }
.cs-stat__label { font-weight: 300; text-transform: none; font-size: calc(48 * var(--u)); line-height: 1; }
.cs-s1 { height: calc(520 * var(--u)); }
.cs-s1 .cs-img { width: calc(354 * var(--u)); height: 100%; }
.cs-s1 .cs-stat { width: calc(650 * var(--u)); height: 100%; }
.cs-s1 .cs-stat__value { left: calc(40 * var(--u)); bottom: calc(124 * var(--u)); font-size: calc(160 * var(--u)); transform-origin: 20% 80%; }
.cs-s1 .cs-stat__label { left: calc(46 * var(--u)); bottom: calc(52 * var(--u)); }
.cs-s2 .cs-stat { width: 100%; height: calc(520 * var(--u)); }
.cs-s2 .cs-stat__label { left: calc(50 * var(--u)); top: calc(51 * var(--u)); }
.cs-s2 .cs-stat__value { left: 50%; bottom: calc(90 * var(--u)); translate: -50% 0; font-size: calc(300 * var(--u));   /* case.js shrinks it to fit */ transform-origin: 50% 70%; }

/* 5 · a video anyone can play */
.cs-video .cs-img { width: calc(1267 * var(--u)); aspect-ratio: 1267 / 745; }

/* 7 · the posters: the right one rises (case.js) until it is flush with the first on the left */
.cs-rise { position: relative; display: grid; grid-template-columns: calc(640 * var(--u)) calc(515 * var(--u)); column-gap: calc(64 * var(--u)); align-items: start; justify-content: center; width: 100%; }
.cs-rise__left { display: flex; flex-direction: column; gap: calc(52 * var(--u)); }
.cs-rise__left .cs-img:nth-child(1) { width: calc(633 * var(--u)); aspect-ratio: 1; }
.cs-rise__left .cs-img:nth-child(2) { width: calc(640 * var(--u)); height: calc(520 * var(--u)); }
.cs-rise__right { width: calc(515 * var(--u)); height: calc(764 * var(--u)); will-change: transform; }

/* 8 · what the jury said, the prizes, the next case */
.cs-quote { width: calc(1018 * var(--u)); text-align: center; margin-top: calc(12 * var(--u)); }
.cs-quote blockquote { margin: 0; font-style: italic; font-size: calc(36 * var(--u)); line-height: calc(38 * var(--u)); }
.cs-quote cite { display: block; margin-top: calc(64 * var(--u)); font-style: normal; font-weight: 500; font-size: calc(36 * var(--u)); line-height: calc(38 * var(--u)); }
.cs-pills { display: flex; justify-content: center; align-items: center; gap: calc(64 * var(--u)); margin: calc(12 * var(--u)) 0; }
.cs-pill { display: inline-flex; align-items: center; height: calc(82 * var(--u)); padding: 0 calc(24 * var(--u)); border-radius: calc(72 * var(--u)); background: var(--c); font-family: var(--font-wide); font-weight: 800; text-transform: uppercase; font-size: calc(40 * var(--u)); line-height: 1; padding-bottom: .25em; white-space: nowrap; rotate: var(--tilt); }
.cs-pill-wrap { display: inline-block; }
.cs-next { margin-top: calc(12 * var(--u)); font-size: calc(40 * var(--u)); line-height: 1; text-transform: none; text-decoration: underline; text-underline-offset: .15em; color: #000; }
.cs-next b { font-weight: 600; }
.cs-next:not([href]) { cursor: default; }   /* no next case yet: the line shows, it leads nowhere */

/* ---------- Behind the idea: a card over a grey veil ---------- */
.cs-pop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; visibility: hidden; padding: 20px; }
.cs-pop::before { content: ""; position: absolute; inset: 0; background: rgba(200, 200, 194, .72); backdrop-filter: grayscale(1); opacity: var(--veil, 0); }
.cs-pop.is-open { visibility: visible; }
.cs-pop__card {
  position: relative; width: min(calc(699 * var(--u)), 100%); max-height: calc(100vh - 40px); overflow: auto;
  padding: calc(60 * var(--u)); border-radius: calc(16 * var(--u)); background: var(--cream);
  display: flex; flex-direction: column; gap: calc(50 * var(--u));
}
.cs-pop__card small { display: block; font-style: italic; font-weight: 500; font-size: calc(24 * var(--u)); line-height: calc(25 * var(--u)); }
.cs-pop__card h2 { margin: calc(24 * var(--u)) 0 0; font-family: var(--font-wide); font-weight: 800; text-transform: uppercase; color: var(--accent); font-size: calc(40 * var(--u)); line-height: calc(48 * var(--u)); }
.cs-pop__card p { margin: 0; font-weight: 300; font-size: calc(24 * var(--u)); line-height: calc(32 * var(--u)); }
.cs-pop__card .btn { align-self: center; height: calc(70 * var(--u)); padding: 0 calc(24 * var(--u)) .25em; font-size: calc(24 * var(--u)); border-width: calc(2 * var(--u)); background: var(--accent); text-transform: uppercase; }

/* ---------- Phones and upright tablets: one column, everything stacked, fewer effects ---------- */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) {
  .page-case { --u: calc(100vw / 600); }
  .cs { width: auto; padding: calc(var(--win-top) + 28px) calc(var(--edge) + var(--pad) + 16px) calc(var(--edge) + var(--pad) + 56px); gap: 22px; }
  .cs-row { flex-direction: column; gap: 22px; height: auto !important; }
  .cs-hero { flex-direction: column-reverse; }
  .cs-name { width: 100%; text-align: center; }
  .cs-name small { font-size: 18px; line-height: 1.2; }
  .cs-name h1 { margin-top: 8px; font-size: min(8vw, 40px); line-height: 1.1; }
  .cs-hero .cs-img, .cs-video .cs-img { width: 100%; aspect-ratio: 16 / 9; }
  .cs-drift .cs-img:nth-child(1), .cs-drift .cs-img:nth-child(2) { width: 100%; height: auto; aspect-ratio: 4 / 3; transform: none !important; }
  .cs-tag { width: 100%; gap: 22px; padding: 12px 0; }
  .cs-tag p { font-size: min(6vw, 30px); line-height: 1.2; }
  .cs-tag .btn, .cs-pop__card .btn { height: 46px; padding: 0 22px .25em; border-radius: 46px; border-width: 2px; font-size: min(4.2vw, 18px); }
  .cs-s1 .cs-img { width: 100%; height: auto; aspect-ratio: 354 / 520; }
  .cs-s1 .cs-stat, .cs-s2 .cs-stat { width: 100%; height: auto; aspect-ratio: 3 / 2; }   /* low bands, not squares (user) */
  .cs-stat__label { font-size: min(6.4vw, 30px); }
  .cs-s1 .cs-stat__value { left: 7%; bottom: 30%; font-size: min(20vw, 110px); }
  .cs-s1 .cs-stat__label { left: 8%; bottom: 13%; }
  .cs-s2 .cs-stat__label { left: 8%; top: 13%; }
  .cs-s2 .cs-stat__value { bottom: 15%; font-size: min(24vw, 130px); }
  .cs-rise { display: flex; flex-direction: column; gap: 22px; }
  .cs-rise__left { gap: 22px; }
  .cs-rise__left .cs-img:nth-child(1), .cs-rise__left .cs-img:nth-child(2), .cs-rise__right { width: 100%; height: auto; transform: none !important; }
  .cs-rise__left .cs-img:nth-child(2) { aspect-ratio: 640 / 520; }
  .cs-rise__right { aspect-ratio: 515 / 764; }
  .cs-quote { width: 100%; margin-top: 18px; }
  .cs-quote blockquote { font-size: min(5.4vw, 26px); line-height: 1.25; }
  .cs-quote cite { margin-top: 18px; font-size: min(4.6vw, 22px); }
  .cs-pills { flex-direction: column; gap: 22px; margin: 18px 0; }
  .cs-pill { height: 46px; padding: 0 22px .25em; border-radius: 46px; font-size: min(5vw, 22px); }
  .cs-next { font-size: min(4.6vw, 24px); margin-top: 10px; white-space: nowrap; }   /* one line (user) */
  .cs-pop__card { width: 100%; padding: 28px 24px; gap: 22px; border-radius: 18px; }
  .cs-pop__card small { font-size: 16px; line-height: 1.2; }
  .cs-pop__card h2 { margin-top: 8px; font-size: min(7.4vw, 32px); line-height: 1.1; }
  .cs-pop__card p { font-size: 16px; line-height: 1.35; }
}

/* the phone menu on a light case colour: black words and pills, so they read on yellow */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) {
  .page-case .nav-sheet { color: var(--black); }
  .page-case .nav-sheet__lang button.is-on { background: var(--black); color: var(--frame); border-color: var(--black); }
}

/* a number block with its picture on the right instead of the left (CMS: "picture right") */
.cs-s1--flip .cs-img { order: 2; }
@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) { .cs-s1--flip .cs-img { order: 0; } }
/* a YouTube / Vimeo video: its poster, then the player in place */
.cs-img--embed { cursor: pointer; background: var(--black); }
.cs-img--embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-img--embed:hover .cs-play svg { fill: #fff; }

/* ---------- audio: radio spots, jingles, podcasts… ---------- */
.cs-audio { width: calc(1018 * var(--u)); display: grid; gap: calc(24 * var(--u)); }
.cs-audio__head { margin: 0; text-align: center; font-family: var(--font-wide); font-weight: 900; text-transform: uppercase; font-size: calc(40 * var(--u)); line-height: 1.1; }
.cs-audio__list { display: grid; gap: calc(16 * var(--u)); }
.cs-track { display: grid; grid-template-columns: calc(72 * var(--u)) 1fr auto; grid-template-areas: "play info time" "play bar bar"; align-items: center; column-gap: calc(24 * var(--u)); row-gap: calc(14 * var(--u)); padding: calc(22 * var(--u)) calc(28 * var(--u)); border-radius: calc(16 * var(--u)); background: var(--black); color: var(--cream); }
.cs-track--embed { grid-template-columns: 1fr; grid-template-areas: "info" "embed"; }
.cs-track--embed iframe { grid-area: embed; width: 100%; border: 0; border-radius: calc(12 * var(--u)); }
.cs-track__play { grid-area: play; width: calc(72 * var(--u)); height: calc(72 * var(--u)); border-radius: 50%; border: 0; background: var(--frame); color: var(--black); display: grid; place-items: center; cursor: pointer; transition: transform .35s var(--ease-pop); }
.cs-track__play:hover { transform: scale(1.08); }
.cs-track__play svg { width: 46%; height: 46%; fill: currentColor; }
.cs-track__play .i-pause, .cs-track.is-playing .cs-track__play .i-play { display: none; }
.cs-track.is-playing .cs-track__play .i-pause { display: inline; }
.cs-track__info { grid-area: info; min-width: 0; }
.cs-track__cat { display: inline-block; margin-bottom: calc(8 * var(--u)); padding: calc(3 * var(--u)) calc(12 * var(--u)) calc(5 * var(--u)); border-radius: 99px; background: var(--accent); color: var(--black); font-family: var(--font-wide); font-weight: 800; text-transform: uppercase; font-size: calc(13 * var(--u)); }
.cs-track h3 { margin: 0; font-family: var(--font-wide); font-weight: 800; text-transform: uppercase; font-size: calc(26 * var(--u)); line-height: 1.1; }
.cs-track p { margin: calc(6 * var(--u)) 0 0; font-weight: 300; font-size: calc(20 * var(--u)); line-height: 1.3; opacity: .85; }
.cs-track__time { grid-area: time; font-size: calc(18 * var(--u)); font-variant-numeric: tabular-nums; opacity: .8; align-self: start; }
.cs-track__bar { grid-area: bar; position: relative; height: calc(8 * var(--u)); border-radius: 99px; background: rgba(249, 249, 239, .2); cursor: pointer; }
.cs-track__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: var(--frame); }
@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) {
  .cs-audio { width: 100%; gap: 14px; }
  .cs-audio__head { font-size: min(7vw, 30px); }
  .cs-track { grid-template-columns: 52px 1fr auto; column-gap: 14px; row-gap: 12px; padding: 16px; border-radius: 16px; }
  .cs-track--embed { grid-template-columns: 1fr; }
  .cs-track__play { width: 52px; height: 52px; }
  .cs-track__cat { font-size: 10px; padding: 2px 9px 4px; margin-bottom: 6px; }
  .cs-track h3 { font-size: min(5vw, 20px); }
  .cs-track p { font-size: 14px; }
  .cs-track__time { font-size: 13px; }
  .cs-track__bar { height: 6px; }
}

/* ---------- the modular layout (user, 2026-11-10): every row is one width (--W), its outer edges flush
   with the rows above and below; pictures stand still. Top: the video (10% smaller) and the result bar. ---------- */
.page-case { --W: calc(1267 * var(--u)); --G: calc(52 * var(--u)); }
.cs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cs-row, .cs-rise, .cs-audio { width: var(--W); }
.cs-row { gap: var(--G); }
.cs-hero { justify-content: flex-start; align-items: stretch; }
.cs-hero .cs-img { width: calc(914 * .9 * var(--u)); aspect-ratio: 914 / 537; }
.cs-hero:not(.has-bar) .cs-img { width: var(--W); aspect-ratio: 1267 / 745; }
.cs-bar { position: relative; flex: 1; min-width: 0; display: flex; }
.cs-bar .cs-stat { width: 100%; height: 100%; }
.cs-bar .cs-stat__value { left: calc(36 * var(--u)); bottom: calc(110 * var(--u)); font-size: calc(140 * var(--u)); transform-origin: 20% 80%; }
.cs-bar .cs-stat__label { left: calc(40 * var(--u)); bottom: calc(46 * var(--u)); white-space: normal; max-width: calc(100% - 80 * var(--u)); }
/* two posters: together exactly the row's width, the same height */
.cs-drift { height: calc((1267 - 52) / 1066 * 520 * var(--u)); }
.cs-drift .cs-img:nth-child(1) { width: auto; flex: 650 1 0; }
.cs-drift .cs-img:nth-child(2) { width: auto; flex: 416 1 0; }
/* a result with its picture */
.cs-s1 { height: calc((1267 - 52) / 1004 * 520 * var(--u)); }
.cs-s1 .cs-img { width: auto; flex: 354 1 0; }
.cs-s1 .cs-stat { width: auto; flex: 650 1 0; }
/* a video with a poster beside it: one height, together the row's width */
.cs-video--pair { height: calc((1267 - 52) / (354 / 520 + 1267 / 745) * var(--u)); }
.cs-video--pair .cs-video__pic { width: auto; height: 100%; aspect-ratio: 354 / 520; }
.cs-video--pair > .cs-img:not(.cs-video__pic) { width: auto; flex: 1; height: 100%; aspect-ratio: auto; }
.cs-video--flip .cs-video__pic { order: 2; }
.cs-video:not(.cs-video--pair) .cs-img { width: var(--W); }
/* the three posters, flush to the row */
.cs-rise { grid-template-columns: 640fr 515fr; column-gap: var(--G); }
.cs-rise__left { gap: var(--G); }
.cs-rise__left .cs-img:nth-child(1) { width: 100%; }
.cs-rise__left .cs-img:nth-child(2) { width: 100%; height: auto; aspect-ratio: 640 / 520; }
.cs-rise__right { width: 100%; height: auto; aspect-ratio: 515 / 764; }

@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) {
  .cs-row, .cs-rise, .cs-audio { width: 100%; }
  .cs-row { gap: 22px; }
  .cs-hero { flex-direction: column; }
  .cs-hero .cs-img, .cs-hero:not(.has-bar) .cs-img { width: 100%; aspect-ratio: 16 / 9; }
  .cs-bar { flex: none; width: 100%; aspect-ratio: 3 / 2; }
  .cs-bar .cs-stat__value { left: 7%; bottom: 30%; font-size: min(20vw, 110px); }
  .cs-bar .cs-stat__label { left: 8%; bottom: 13%; font-size: min(6.4vw, 30px); }
  .cs-drift .cs-img:nth-child(1), .cs-drift .cs-img:nth-child(2), .cs-s1 .cs-img, .cs-s1 .cs-stat { flex: none; }
  .cs-video--pair { height: auto; }
  .cs-video--pair .cs-video__pic { width: 100%; height: auto; }
  .cs-video--pair > .cs-img:not(.cs-video__pic), .cs-video:not(.cs-video--pair) .cs-img { flex: none; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .cs-video--flip .cs-video__pic { order: 0; }
  .cs-rise__left .cs-img:nth-child(1) { aspect-ratio: 1; }
}
@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) { .cs-bar .cs-stat__label { white-space: nowrap; max-width: none; } .cs-bar .cs-stat__value { bottom: 38%; } }

/* the result bar beside the video: the words on one line under the number, never over it (user, 2026-11-10) */
.cs-bar .cs-stat__label { white-space: nowrap; max-width: none; font-size: calc(30 * var(--u)); bottom: calc(40 * var(--u)); left: calc(36 * var(--u)); }
.cs-bar .cs-stat__value { bottom: calc(96 * var(--u)); left: calc(32 * var(--u)); }
@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) {
  .cs-bar .cs-stat__label { font-size: min(6.4vw, 30px); left: 8%; bottom: 13%; }
  .cs-bar .cs-stat__value { left: 7%; bottom: 38%; }
}
/* the graph fill: a line that draws itself, the colour filling in under it */
.cs-stat__liquid .line { display: none; }   /* no outline on the graph (user, 2026-11-10) */

/* the photo mix: any shapes, arranged by case.js (rows or columns); phones: stacked (user, 2026-11-10) */
.cs-mix { display: flex; flex-direction: column; gap: var(--G); width: var(--W); margin-inline: auto; }
.cs-mix .cs-img { margin: 0; will-change: transform; }
.cs-mix__line { display: flex; flex: none; gap: var(--G); }
.cs-mix--cols { flex-direction: row; align-items: flex-start; }
.cs-mix__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--G); will-change: transform; }
.cs-mix__col .cs-img { width: 100%; }
@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) {
  .cs-mix, .cs-mix--cols { flex-direction: column; gap: 22px; width: 100%; }
  .cs-mix .cs-img { width: 100% !important; height: auto !important; transform: none !important; }
}

/* a video in the photo mix: plays silently by itself; the round button shows the sound */
.cs-mix__vid { cursor: pointer; }
.cs-mix__sound { position: absolute; left: calc(14 * var(--u)); bottom: calc(14 * var(--u)); width: calc(44 * var(--u)); height: calc(44 * var(--u)); min-width: 30px; min-height: 30px; padding: 7px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); cursor: pointer; pointer-events: none; }
.cs-mix__sound svg { display: block; width: 100%; height: 100%; fill: #fff; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.cs-mix__sound path:first-child { stroke: none; }
.cs-mix__sound path:not(:first-child) { fill: none; }
.cs-mix__sound .on, .cs-mix__vid.is-loud .cs-mix__sound .off { display: none; }
.cs-mix__vid.is-loud .cs-mix__sound .on { display: block; }

/* the case's buttons: one text colour for all of them, set in the CMS (user, 2026-11-10) */
.page-case .cs .btn, .page-case .cs-pop .btn { color: var(--btn-text, #232323); }

/* (user, 2026-11-11) who said the quote: smaller than the quote and right under it, so it reads as theirs */
.cs-quote cite { margin-top: calc(16 * var(--u)); font-size: calc(24 * var(--u)); line-height: 1.2; font-weight: 400; opacity: .8; }
.cs-quote + .cs-pills { margin-top: calc(56 * var(--u)); }
/* the next project: quiet, like the homepage's "Meer weten?" link */
.cs-next { margin-top: calc(40 * var(--u)); font-family: var(--font-wide); font-weight: 800; text-transform: uppercase; font-size: calc(22 * var(--u)); line-height: 1.2; text-decoration: underline; text-underline-offset: .2em; color: var(--black); transition: color .3s var(--ease-out); }
.cs-next span { margin-left: .2em; }
.cs-next[href]:hover { color: var(--red); }
@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) {
  .cs-quote cite { margin-top: 8px; font-size: min(3.8vw, 17px); }
  .cs-quote + .cs-pills { margin-top: 30px; }
  .cs-next { font-size: min(3.6vw, 15px); margin-top: 24px; white-space: normal; text-align: center; }
}

/* who said the quote: a dash before the name (user, 2026-11-11) */
.cs-quote cite::before { content: "– "; }
/* (user, 2026-11-11) tiny dark lines along the edges of some case pictures, videos and GIFs (left in the files when they were
   exported): every picture and video sits 2% larger inside its rounded frame, so its outermost pixels never show */
.cs-img > img, .cs-img > video { scale: 1.02; }
.cs-mix .cs-img > img, .cs-mix .cs-img > video { scale: 1.02; }
.cs-img--video > video { scale: 1; }   /* a video with its own play controls keeps them whole */
/* (user, 2026-11-11) the number and its words stay hidden until their animation is set up, so "X5" never flashes first */
.cs-stat:not(.is-ready) .cs-stat__value, .cs-stat:not(.is-ready) .cs-stat__label { visibility: hidden; }
