/* Self-hosted Inter and Hanken Grotesk (SIL Open Font License), latin and latin-ext only, so text never swaps fonts mid-load */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
  Case study template v2, built from the Kotak Mutual Fund frame in Figma ("Version 35", node 78:46712, file Product-Design_Portfolio-2026).
  Every number below is read from that frame, not guessed. Reuse this for the other case studies in the new design.

  Type (Inter, colour #3b3a38 unless noted)
    .title     Medium 24 / lh 170% / ls -6%
    .summary   Medium 16 / lh 200% / ls -4%, #434343
    .lead      Medium 30 / lh 120% / ls -6%, opacity .9      (the opening statement)
    .heading   Medium 30 / lh 53px / ls -6%, opacity .9
    .sub       Medium 24 / lh 170% / ls -6%
    .body      Medium 16 / lh 200% / ls -4%, #434343; bold = Bold, #3a3a3a
    .ask       Medium 24 / lh 170% / ls -6%, #0374dd         (the "How might we" line)
    .label     Bold 10 / lh 150% / ls +4%, uppercase, #0374dd
  Text boxes are trimmed to cap height / baseline (text-box: trim-both), which is how Figma measures them, so every
  gap below is ink to ink, exactly as in the frame. Text is 600px wide; figures are 977px.
  Section lines: 1px, #a3a3a3 at 25% opacity, 480px wide.
*/

:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);   /* strong ease-out for UI, same token as the home page */
  --bg: #fff;
  --ink: #3b3a38;
  --body: #434343;
  --strong: #3a3a3a;
  --blue: #0374dd;
  --cta: #000;
  --accent: #9b5fcb;
  --rule: #e6e6e6;
  --line: rgba(163, 163, 163, 0.25);
  --board-edge: #d6d6d6;
  --back-bg: #f3f3f3;
  --back-bg-hover: #e9e9e9;
  --back-ring: #8a8a8a;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
html[data-theme="dark"] {
  --bg: #121212;
  --ink: #e9e7e4;
  --body: #c4c4c4;
  --strong: #f2f2f2;
  --blue: #4da3ff;
  --cta: #fff;
  --accent: #b98be8;
  --rule: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --board-edge: #3d3d3d;
  --back-bg: rgba(255, 255, 255, 0.09);
  --back-bg-hover: rgba(255, 255, 255, 0.16);
  --back-ring: #8a8a8a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { background: var(--bg); color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
/* Body text is Regular, bold is Semi Bold; titles, headings, the opening statement, the "How might we" line and the metric figures stay Medium */
h1, h2, h3, .lead, .ask, .stat__n { font-weight: 500; }
p { font-weight: 400; }
b, strong { font-weight: 600; color: var(--strong); }

.page { padding: 44.3px 24px 120px; }

/* The "← Home" link sits in the left margin, 90px left of the column */
.back {
  position: absolute;
  --size: 40px;
  width: var(--size);
  height: var(--size);
  left: calc(-1 * (var(--size) + 34px));     /* 34px left of the column */
  top: calc(8.72px - var(--size) / 2);       /* centred on the title's cap height: 24px Inter cap height is 17.45px */
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--back-bg);
  color: var(--ink);
  transition: background-color 0.15s ease, transform 0.15s var(--ease-out);
}
.back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .back:hover { background: var(--back-bg-hover); } }
.back:active { transform: scale(0.96); }
.back:focus-visible { outline: 2px solid var(--back-ring); outline-offset: 2px; }

/* The whole group (text and figures) is one 977px column, centred, with equal space on both sides */
.col { position: relative; width: 100%; max-width: 977px; margin: 0 auto; }

/* ---- type ----
   The line breaks were set by hand in the frame, so each one is a <br> here and lines never wrap on their own
   (that is also how the frame avoids rivers). Below 900px, where the longest line (838px) no longer fits, the
   breaks are dropped and the text wraps normally. */
.title, .summary, .lead, .heading, .sub, .body, .ask, .pc, .closing { white-space: nowrap; }
.title   { font-size: 24px; line-height: 170%; letter-spacing: -0.06em; }
.summary { font-size: 16px; line-height: 200%; letter-spacing: 0; color: var(--body); }
.lead    { font-size: 30px; line-height: 120%; letter-spacing: -0.06em; opacity: 0.9; }
.heading { font-size: 30px; line-height: 53px; letter-spacing: -0.06em; opacity: 0.9; }
.sub     { font-size: 24px; line-height: 170%; letter-spacing: -0.06em; }
.body    { font-size: 16px; line-height: 200%; letter-spacing: 0; color: var(--body); }
.ask     { font-size: 24px; line-height: 170%; letter-spacing: -0.04em; color: var(--blue); }
.sub .soft { opacity: 0.3; }
.body .soft { opacity: 0.4; }
.body a, .summary a, .meta a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.body a, .summary a, .meta a { font-weight: 500; color: var(--cta); }
.body a b, .meta a b { font-weight: inherit; color: inherit; }   /* an underlined link is Medium even when its text is bold */

@supports (text-box: trim-both cap alphabetic) {
  .title, .summary, .lead, .heading, .sub, .body, .ask, .meta__label, .meta__value, .label, .pc, .closing {
    text-box: trim-both cap alphabetic;
  }
}

/* ---- spacing: every block carries its own gap (--g), ink to ink, read from the frame ---- */
.g { margin-top: var(--g); }

/* ---- header: title, summary, four-row table (rows are 53px apart: text, 20px, 1px line, 20px) ---- */
.meta { width: 479.9px; max-width: 100%; }
.meta__row { display: flex; font-size: 16px; line-height: 200%; letter-spacing: 0; color: var(--body); white-space: nowrap; }
.meta__row + .meta__row { margin-top: 41.4px; position: relative; }
.meta__row + .meta__row::before { content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 1px; background: var(--line); }
.meta__label { width: 96px; flex: none; opacity: 0.4; }
.meta__value b { color: var(--body); }

/* Long paragraphs without hand-set breaks (pages not yet redrawn line by line): wrap inside a 600px column */
.body.flow, .ask.flow { white-space: normal; max-width: var(--w, 600px); text-wrap: pretty; }
.meta__value { min-width: 0; }

/* ---- persona table (cells are hand-placed in the frame, so they are placed the same way here) ---- */
.persona { position: relative; width: 100%; height: 230px; }
.pc { position: absolute; left: var(--x); top: var(--y); width: var(--w); font-size: 16px; line-height: 140%; letter-spacing: 0; color: var(--body); }
.label { position: absolute; left: var(--x); top: var(--y); font-weight: 600; font-size: 10px; line-height: 150%; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.avatar {
  position: absolute; left: var(--x); top: -17.2px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 400; font-size: 15px; letter-spacing: -0.02em; line-height: 1; color: #fff;
}

/* Three-persona table (Kotak Securities): same hand-placed grid as the two-persona one, with wrapping cells */
.persona--3 { height: 214px; }
.pc--wrap { white-space: normal; text-wrap: pretty; }

/* Metrics (Kotak Securities impact): 40px blue figure over a 16px caption, three columns 227px wide */
.stats { display: grid; grid-template-columns: repeat(3, 227px); column-gap: 30px; max-width: 100%; }
.stat__n { font-size: 40px; line-height: 120%; letter-spacing: -0.04em; color: var(--blue); white-space: nowrap; text-box: trim-both cap alphabetic; }
.stat__c { margin-top: 14px; font-size: 16px; line-height: 150%; letter-spacing: 0; color: var(--body); text-wrap: pretty; text-box: trim-both cap alphabetic; }

/* The interactive homepage case study, embedded at the figure size */
.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--back-bg); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; clip-path: inset(0.6px round 9.4px); }
.embed__shield { position: absolute; inset: 0; z-index: 1; display: grid; place-items: end center; padding: 0 0 20px; border: 0; background: transparent; cursor: pointer; transition: opacity 150ms var(--ease-out); }
/* once a click hands control to the embed the shield fades out, but stops catching the pointer at once */
.embed.is-live .embed__shield { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 150ms var(--ease-out), visibility 0s linear 150ms; }
.embed__hint {
  padding: 6px 14px; border-radius: 999px; font: 500 13px/1.2 var(--sans); color: #fff; background: rgba(0, 0, 0, 0.72);
  opacity: 0; transform: translate3d(0, 4px, 0); transition: opacity 0.15s ease, transform 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .embed__shield:hover .embed__hint { opacity: 1; transform: none; } }
.embed__shield:focus-visible { outline: 2px solid var(--back-ring); outline-offset: -2px; border-radius: 10px; }
.embed__shield:focus-visible .embed__hint { opacity: 1; transform: none; }
.embed::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--board-edge); border-radius: 10px; pointer-events: none; }

/* Steps carousel (Kotak Securities, "How we fixed it"): one step per slide, the next one peeking in from the right.
   The track runs out to the right edge of the window; each slide is the column width and snaps to the column edge. */
.steps__track {
  display: flex; column-gap: 120px;
  margin-right: calc(50% - 50vw); padding-right: calc(50vw - 50%);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.steps__track::-webkit-scrollbar { display: none; }
.steps__track:focus-visible { outline: 2px solid var(--back-ring); outline-offset: 6px; }
.step { flex: 0 0 min(977px, 100vw - 48px); scroll-snap-align: start; display: flex; flex-direction: column; }
/* Every slide's text box has the same height (the tallest of the single-step slides, set by the page script), so the
   figures line up across slides. A slide with more text (steps 5 to 7) scrolls inside that box instead of pushing its
   figure down; its lower edge fades to show there is more. */
.step__text { height: var(--step-text-h, auto); overflow-y: hidden; scrollbar-width: thin; }   /* only the one long slide scrolls, and it hands the wheel back to the page at its ends */
.step__text.is-scrollable { overflow-y: auto; padding-right: 8px; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); }
.step__text.is-scrollable.is-end { -webkit-mask-image: none; mask-image: none; }
.step__text > * + * { margin-top: 19.5px; }
.step__eyebrow { font-size: 14px; line-height: 150%; letter-spacing: 0; color: var(--body); opacity: 0.6; }
.step__text > .step__eyebrow + .sub { margin-top: 4px; }
.step__text > .body + .body { margin-top: 32px; }
.step__text > .body + .sub { margin-top: 40px; }
.step__fig { margin-top: 48px; flex: none; }
.steps { position: relative; }
/* Arrows sit top-right, right-aligned with the figure, level with the text baseline: next to the pointer and seen
   before the image. They stay put while the slides move. */
/* bottom edge on the baseline of the first line of body text: title box 17.47px + 19.5px gap + 11.64px cap height = 48.6px, less the 40px button */
.steps__nav { position: absolute; right: 0; top: 8.6px; z-index: 1; display: flex; gap: 12px; }
/* image-only carousel (design system boards): the arrows get their own strip above the figure */
.steps--plain { padding-top: 52px; }
.steps--plain .step__fig { margin-top: 0; }
.steps--flush { padding-top: 0; }   /* no strip above the figures: the arrows sit on the baseline of the text above */
.steps--plain .steps__nav { top: calc(-40px - var(--g)); }   /* bottom edge on the baseline of the link above (the carousel's own gap up to it is --g) */
@media (max-width: 640px) { .steps__nav { position: static; margin-top: 20px; } .steps--plain { padding-top: 0; } .steps--plain .steps__nav { margin-top: 20px; } }
.steps__btn {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: var(--back-bg); color: var(--ink); cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease, transform 0.15s var(--ease-out);
}
.steps__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .steps__btn:not(:disabled):hover { background: var(--back-bg-hover); } }
.steps__btn:not(:disabled):active { transform: scale(0.96); }
.steps__btn:disabled { opacity: 0.35; cursor: default; }
.steps__btn:focus-visible { outline: 2px solid var(--back-ring); outline-offset: 2px; }

/* ---- figures: 977 wide, 1px #d6d6d6 edge and 10px corners are part of the exported image ---- */
.fig { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.fig img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Clip the picture a hair inside the 1px edge ring (drawn below), so the clip's anti-aliased curve is hidden under the ring
   instead of showing as a pale halo around the corners */
.fig img { clip-path: inset(0.6px round 9.4px); }
/* The Kotak MF boards were exported with opaque white corners and a 1px light grey edge baked in. Clip the corners to the
   radius, and push the image 1px past each side so the baked edge is cropped away (the edge is redrawn below, per theme). */
.fig--board img { width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; margin: -1px; clip-path: inset(1.6px round 9.4px); }
/* The 1px edge baked into each exported board is light grey, and two of the boards are near-black (#131313), which is
   the dark page colour: in dark mode they dissolved into it. The edge is redrawn on top in a colour for each theme. */
.fig::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--board-edge); border-radius: 10px; pointer-events: none; }

.closing { font-size: 16px; line-height: 200%; letter-spacing: 0; color: var(--body); }
.closing a { font-weight: 500; color: var(--cta); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* voice on/off for the Hunbun prototype: bottom right, above the click shield */
.embed__sound { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, 0.72); cursor: pointer; transition: transform 0.15s var(--ease-out); }
.embed__sound:active { transform: scale(0.97); }
.embed__sound svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.embed__sound .embed__wave, .embed__sound .embed__off { fill: none; }
.embed__sound .embed__wave, .embed__sound .embed__off { transition: opacity 150ms var(--ease-out); }
.embed__sound .embed__off { opacity: 0; }
.embed__sound.is-off .embed__wave { opacity: 0; }
.embed__sound.is-off .embed__off { opacity: 1; }
.embed__sound:focus-visible { outline: 2px solid var(--back-ring); outline-offset: 2px; }

/* link with an arrow (matches the cover CTA): only the text is underlined */
a.cta { display: inline-flex; align-items: center; gap: 0.3em; text-decoration: none; }
a.cta span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color 0.15s ease; }
.cta__arrow { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.cta:hover span { text-decoration-color: currentColor; } a.cta:hover .cta__arrow { transform: translate(1.5px, -1.5px); } }
@media (prefers-reduced-motion: reduce) { .cta__arrow { transition: none; transform: none !important; } }

/* ---- narrower windows ---- */
/* Below 1241px the side margin is too small for the "← Home" link, so it moves above the title */
@media (max-width: 1240px) {
  .page { padding-top: 24px; }
  .back { position: static; margin: 0 0 28px; }
}
@media (max-width: 760px) {
  .lead, .heading { font-size: 26px; line-height: 120%; }
  .heading { line-height: 44px; }
}
/* The hand-placed table needs the full 977px column; below that it becomes a two-column grid */
@media (max-width: 1040px) {
  .persona { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 48px; }
  .persona .pc, .persona .label, .persona .avatar { position: static; width: auto; }
  .persona .label--row { grid-column: 1 / -1; margin-top: 12px; }
  .persona .avatar { display: none; }
  .persona--3 { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .persona--3, .stats { grid-template-columns: 1fr; }
}


/* Below 900px: normal wrapping, hand-set breaks dropped */
@media (max-width: 899px) {
  .title, .summary, .lead, .heading, .sub, .body, .ask, .pc, .closing, .meta__row { white-space: normal; }
  .col :not(.flow) > br { display: none; }
  .meta__row.tall { white-space: normal; }
}

/* Kotak Mutual Fund and Kotak Securities: headings are tracked at -4% */
.tight .title, .tight .lead, .tight .heading, .tight .sub, .tight .ask { letter-spacing: -0.04em; }

/* Interactive prototype slot (Kotak Mutual Fund): the dark board from the frame, 977 x 550, until the prototype is embedded */
.proto { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #333; }
.proto::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--board-edge); border-radius: 10px; pointer-events: none; }

/* Hunbun case study: purple accent, numbered points, synthesis grid, persona list, journey stages, screen slots */
.acc { color: var(--accent); }
.body ul { list-style: disc; padding-left: 24px; margin: 0; }
.body li { line-height: 32px; }
.body ul:first-child { padding-left: 24px; }
.pt { position: relative; padding-left: 34px; font-size: 16px; line-height: 200%; letter-spacing: 0; color: var(--body); }
.pt p { margin: 0; text-box: trim-both cap alphabetic; max-width: 600px; text-wrap: wrap; }
.pt__n { position: absolute; left: 0; top: 0; font-weight: 600; color: var(--accent); text-box: trim-both cap alphabetic; }
.pt__t { font-weight: 500; color: var(--ink); }
.syn { display: grid; grid-template-columns: 338px 338px 301px; row-gap: 40.4px; }
.syn__i { min-width: 0; }
.syn__h { display: flex; font-size: 20px; line-height: 170%; letter-spacing: -0.04em; font-weight: 500; color: var(--ink); white-space: nowrap; }
.syn__h span { text-box: trim-both cap alphabetic; }
.syn__h span:first-child { width: 40px; flex: none; color: var(--accent); }
.syn__b { margin-top: 22.4px; max-width: 100%; text-wrap: wrap; }
.syn__fill { display: block; }
.plist .pr { display: flex; position: relative; }
.plist .pr + .pr { margin-top: 40.4px; }
.plist .pr + .pr::before { content: ""; position: absolute; left: 0; right: 0; top: -20.4px; height: 1px; background: var(--rule); }
.plist .label, .stage .label { color: var(--accent); }
.plist .label { position: static; width: 207px; flex: none; margin-top: 2px; }
.plist ul { list-style: disc; padding-left: 24px; margin: 0; font-size: 16px; color: var(--body); }
.plist li { line-height: 24px; text-box: trim-both cap alphabetic; }
.plist li + li { margin-top: 12.36px; }   /* 24px between lines, though each line box is trimmed to its cap height */
.step__text > .pt.g { margin-top: var(--g); }
.stages { position: relative; height: 40px; }
.stage { position: absolute; left: var(--x); top: 0; }
.stage .label { position: static; display: block; }
.stage p { margin-top: 20.7px; font-size: 16px; line-height: 140%; color: var(--body); white-space: nowrap; text-box: trim-both cap alphabetic; }
.slot { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #333; }
.slot::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--board-edge); border-radius: 10px; pointer-events: none; }

/* Hunbun on narrower screens: the synthesis grid, persona list and journey stages were laid out for the 977px column */
@media (max-width: 1040px) {
  .syn { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .syn__i { width: auto !important; }   /* the inline widths are the desktop Figma widths */
  .syn__h { white-space: normal; }
  .stages { height: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 32px 16px; }
  .stage { position: static; }
  .stage p { white-space: normal; }
}
@media (max-width: 640px) {
  .syn { grid-template-columns: minmax(0, 1fr); }
  .plist .pr { flex-direction: column; }
  .plist .label { width: auto; margin: 0 0 14px; }
  .pt p { max-width: none; }
}

/* Hunbun carousel: the points under a heading are plain bullets */
.step__text > .bl { list-style: disc; margin-left: 0; padding-left: 24px; font-size: 16px; line-height: 200%; letter-spacing: 0; color: var(--body); }
.step__text > .bl.g { margin-top: var(--g); }
.bl li::marker { color: var(--accent); }
.bl li + li { margin-top: 12px; }
.bl .pt__t { color: var(--ink); }

/* hand-set line breaks in running text are dropped on narrow screens */
@media (max-width: 899px) { .body.flow > br.d { display: none; } }

/* An embedded full-height screen shown whole: laid out at 1514 x 852 and scaled to the figure width (--k is set by the page script) */
.embed--scaled iframe { inset: auto; left: 0; top: 0; width: 1514px; height: 852px; max-width: none; transform: scale(var(--k, 0.645)); transform-origin: 0 0; clip-path: none; }

/* Reduced motion: the "Click to interact" pill still fades in, it just does not slide */
@media (prefers-reduced-motion: reduce) { .embed__hint { transform: none; transition: opacity 0.15s ease; } }

/* Large images that load lazily fade in once they have arrived instead of popping in (case-fade.js adds .img-wait only while an image is still loading) */
img.img-wait { opacity: 0; }
img.img-fade { transition: opacity 250ms var(--ease-out); }
