/* Course site (landing, industry, foundation and lecture pages): dark glass theme, 11 October 2026.
   Reads only the variables of /theme/course-theme.css. Plain CSS, no framework. */
@import url('/theme/course-theme.css');

:root { --width: calc(var(--sf-read, 1200px) + 48px); }   /* the frame's reading column, plus the page padding */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--t-page); color: var(--t-text-2); font: 400 16px/1.6 var(--t-font); overflow-x: hidden; }
a { color: var(--t-cyan-text); }
img { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--t-heading); font-family: var(--t-font); }
::selection { background: var(--t-violet); color: var(--t-on-strong); }
:focus-visible { outline: none; box-shadow: var(--t-focus); border-radius: var(--t-r-sm); }

/* the header and the footer: /theme/site-frame.css */

/* ── Page and shared pieces ── */
.page { width: 100%; margin: 0; padding: 28px var(--cs-gutter) 56px; }
/* every page full width (28 October 2026): the page's content lines up with the header's logo, and long paragraphs
   stop at about 80 characters, aligned left with the cards */
#course-root main p { max-width: var(--sf-measure, 80ch); }
/* the content's side gutter (28 October 2026): the page is zoomed (Fit, /theme/site-settings.js) but the header is
   not, so the header's gutter divided by the zoom keeps the content in line with the logo */
:root { --cs-gutter: calc(var(--sf-gutter, 16px) / var(--sf-zoom, 1)); }
/* the page fills the window's height: on a short page the footer sits at the bottom of the window */
body { display: flex; flex-direction: column; min-height: var(--sf-vh, 100vh); }
#course-root { flex: 1 0 auto; }
/* ── Two-column sections on wide screens (28 October 2026) ──
   A .cs-split section holds its text (.cs-main, about 80 characters) and a companion (.cs-aside: the cards or the
   flow that belong to that text). Up to about 1440 px of page width they stack, in this order, as one column; from
   about 1440 px they sit side by side, so no section leaves the right half of a wide screen empty. The width is the
   page's own (a container query on main), so a zoomed page switches at the width it really has.
   .cs-wide-only and .cs-narrow-only show one of two placements of the same content. */
#course-root main { container: cs / inline-size; }
.cs-split > .cs-aside { margin-top: 28px; min-width: 0; }
.cs-split > .cs-main { min-width: 0; }
.cs-wide-only { display: none !important; }
@container cs (min-width: 1440px) {
  .cs-split { display: grid; grid-template-columns: minmax(0, var(--sf-measure, 80ch)) minmax(0, 1fr); gap: clamp(32px, 3vw, 72px); align-items: start; }
  .cs-split > .cs-aside { margin-top: 0; }
  .cs-wide-only { display: block !important; }
  .cs-narrow-only { display: none !important; }
}
/* the home page (29 October 2026, the owner's layout): one column throughout. The introduction at a reading width,
   left-aligned with the hero; the three doors in one row (stacked on a phone); a short status line at the bottom */
.home-intro { margin-top: 24px; }
.home-intro p { max-width: var(--sf-measure, 70ch); }
.home-doors { padding-top: 8px; }
.home-status { max-width: var(--sf-measure, 70ch); margin: 28px 0 8px; color: var(--t-muted); font-size: 15px; line-height: 1.5; }
.home-status b { color: var(--t-text); }
/* the sections after the doors: a short heading, then cards or one compact row; the video the column's width, never
   taller than the screen */
.home-sec { padding-top: 36px; }
.home-sec > h2 { margin: 0 0 14px; }
.home-lead, .home-more { max-width: var(--sf-measure, 70ch); margin: 0 0 14px; color: var(--t-text-2, var(--t-muted)); font-size: 16px; }
.home-more { margin: 14px 0 0; font-weight: 700; }
.home-more a { color: var(--t-link, var(--t-on-text)); }
.home-flow { margin: 0; row-gap: 12px; }
/* (R-21/R-23) the steps as numbered boxes, where copy.home.howStyle is "boxes": the shape Financial Modelling's own home
   used for its seven-stage workflow. Any number of steps, so it is not tied to one platform's count. */
.home-flow.is-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.home-flow.is-boxes li { display: flex; flex-direction: column; min-height: 180px; margin: 0; padding: 18px; border: 1px solid var(--t-border); border-radius: 16px; background: var(--t-card); }
.home-flow.is-boxes li + li { margin-left: 0; }
.home-flow.is-boxes li + li::before { content: none; }
.home-flow.is-boxes li > span { display: grid; width: 30px; height: 30px; margin-bottom: 22px; place-items: center; border-radius: 50%; background: var(--t-button-solid); color: var(--t-on-strong); font-size: 13px; font-weight: 800; }
.home-flow.is-boxes strong { color: var(--t-heading); font-size: 15px; }
.home-flow.is-boxes small { margin-top: 8px; color: var(--t-text-2); font-size: 13px; line-height: 1.45; }
@media (max-width: 620px) { .home-flow.is-boxes { grid-template-columns: 1fr; } .home-flow.is-boxes li { min-height: 0; } }
/* the home hero and the introduction, centred (29 October 2026, the owner's layout); the cards keep their grid */
.home-page .hero { text-align: center; }
.home-page .hero-copy { margin-inline: auto; }
.home-page .hero h1, .home-page .hero-sub { margin-inline: auto; }
.home-page .hero-tour { margin: 20px auto 0; }   /* beats .hero-copy > p (margin: 0), which removed the gap above the button */
.home-page .home-intro p { margin-inline: auto; text-align: center; }
/* the hero's one button: the guided tour of the real site */
.hero-tour { margin: 20px 0 0; }
.hero-tour-btn { font: inherit; font-size: 17px; font-weight: 800; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--t-on); color: var(--t-on-accent, #fff); cursor: pointer; box-shadow: var(--t-shadow-sm); }
.hero-tour-btn:hover { filter: brightness(1.05); }
.hero-tour-btn:focus-visible { outline: 3px solid var(--t-on-text, var(--t-on)); outline-offset: 3px; }

.eyebrow, .pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--t-r-pill); background: var(--t-cyan-soft); border: 1px solid var(--t-cyan-edge); color: var(--t-cyan-text); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pill.violet { background: var(--t-violet-soft); border-color: var(--t-violet-edge); color: var(--t-violet-text); }
.pill.emerald { background: var(--t-emerald-soft); border-color: var(--t-emerald-edge); color: var(--t-emerald-text); }
.pill.amber { background: var(--t-amber-soft); border-color: var(--t-amber-edge); color: var(--t-amber-text); }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--t-cyan); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--t-cyan); animation: site-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes site-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.grad { background: var(--t-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* thumbnails: small placeholders; the image shows when it exists, else the icon */
.thumb { position: relative; overflow: hidden; display: grid; place-items: center; background: var(--t-surface-3); border: 1px solid var(--t-border-strong); border-radius: var(--t-r); color: var(--t-text); }
.thumb .thumb-ico { font-size: 24px; line-height: 1; }
.thumb img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.thumb img[hidden] { display: none; }
.thumb.blue { background: var(--t-cyan-soft); border-color: var(--t-cyan-edge); }
.thumb.peach { background: var(--t-amber-soft); border-color: var(--t-amber-edge); }
.thumb.mint { background: var(--t-emerald-soft); border-color: var(--t-emerald-edge); }
.thumb.lavender { background: var(--t-violet-soft); border-color: var(--t-violet-edge); }

/* buttons */
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 11px 22px; border: 1px solid transparent; border-radius: var(--t-r-lg); background-color: var(--t-button-solid); background-image: var(--t-grad-button); color: var(--t-on-strong); font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: var(--t-shadow-button); transition: transform .15s, background .15s; }
.button:hover, .button:focus-visible { background-color: var(--t-button-solid); background-image: var(--t-grad-button-hover); transform: translateY(-1px); }
.button.secondary { background: var(--t-glass); border-color: var(--t-glass-border); color: var(--t-text); box-shadow: none; }
.button.secondary:hover, .button.secondary:focus-visible { background: var(--t-card-hover); border-color: var(--t-violet-edge); box-shadow: var(--t-glow-hover); }
.button svg { width: 18px; height: 18px; }

/* ── Landing: hero with the dot grid and a soft glow ── */
.hero { position: relative; isolation: isolate; overflow: hidden; margin: 0; padding: 34px var(--cs-gutter) 32px; border-bottom: 1px solid var(--t-border); text-align: left; background-image: radial-gradient(var(--t-dot) 1px, transparent 1px); background-size: var(--t-dot-size) var(--t-dot-size); }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -170px; width: min(760px, 100%); height: 340px; transform: translateX(-50%); border-radius: 50%; background: var(--t-grad-glow); filter: blur(90px); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--t-grad-band); pointer-events: none; }
.hero-copy { max-width: var(--sf-measure, 80ch); margin: 0; }
.hero h1 { max-width: min(860px, 100%); margin: 14px 0 12px; font-size: clamp(26px, 4.4vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; overflow-wrap: break-word; text-wrap: balance; }
.hero h1 .grad { display: inline; overflow-wrap: break-word; }   /* the gradient words wrap like the rest (they ran off the edge) */
.hero-sub { max-width: 640px; margin: 0; color: var(--t-text-2, var(--t-muted)); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.45; }
.hero-copy > p { max-width: 720px; margin: 0; color: var(--t-muted); font-size: 17px; }
/* (15 November 2026) a platform home: its name is the heading; the provider (cloud) and the tagline sit under it, then the audience line */
.hero .hero-provider { margin: -4px 0 10px; color: var(--t-text-2, var(--t-muted)); font-size: clamp(15px, 1.6vw, 18px); font-weight: 700; }
.hero .hero-tagline { max-width: 720px; margin: 0 0 10px; color: var(--t-text); font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; line-height: 1.3; text-wrap: balance; }
.home-page .hero .hero-provider, .home-page .hero .hero-tagline { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin: 22px 0 0; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; border-radius: var(--t-r-lg); background: var(--t-glass); border: 1px solid var(--t-glass-border); backdrop-filter: blur(var(--t-glass-blur)); -webkit-backdrop-filter: blur(var(--t-glass-blur)); }
.stat b { color: var(--t-text); font-size: 28px; font-weight: 800; line-height: 1.1; }
.stat:nth-child(2) b { color: var(--t-cyan-text); }
.stat:nth-child(3) b { color: var(--t-emerald-text); }
.stat span { color: var(--t-muted); font-size: 13px; font-weight: 600; }

/* sections */
.section { padding: 40px 0 8px; scroll-margin-top: 84px; }
.section-head { margin-bottom: 20px; }
.section-head.center { max-width: var(--sf-measure, 80ch); }
.section-head h2, .foundation-callout h2 { margin: 12px 0 6px; font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.section-head p, .foundation-callout p { margin: 0; color: var(--t-muted); }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head.split p { max-width: 420px; }

/* cards (no blur: many of them) */
.course-card { position: relative; min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--t-card); border: 1px solid var(--t-border-soft); border-radius: var(--t-r-lg); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s, background-color .2s; }
/* a card that is a link: the shared card states (15 October 2026), a lift and the accent as text for its border on
   hover (3:1 on the card in every theme), a 3 px ring in the same colour for keyboard focus */
.course-card[href]:hover { background: var(--t-card-hover); border-color: var(--t-on-text); box-shadow: var(--t-glow-hover); transform: translateY(-2px); }
.course-card[href]:focus-visible { outline: 3px solid var(--t-on-text); outline-offset: 3px; border-color: var(--t-on-text); }
.card-body { min-width: 0; flex: 1; display: flex; flex-direction: column; padding: 18px; }
.card-body h3, .lecture-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.course-card[href]:hover h3 { color: var(--t-cyan-text); }
.card-body p, .lecture-card p { margin: 0; color: var(--t-muted); font-size: 14px; line-height: 1.5; }
.card-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--t-border); color: var(--t-text-2); font-size: 13px; font-weight: 700; }
.card-link::after { content: "→"; color: var(--t-cyan-text); transition: transform .2s; }
.course-card[href]:hover .card-link::after { transform: translateX(4px); }
.card-body .card-link { margin-top: auto; }
.card-body > p + .card-link, .card-body > .badges + .card-link { margin-top: 16px; }
.card-thumb, .industry-thumb, .step-thumb { width: 48px; height: 48px; margin: 18px 18px 0; }

/* How a case study works: four step cards */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 16px; }
.step-card { --tone: var(--t-cyan); --tone-text: var(--t-cyan-text); }
.step-card:nth-child(2) { --tone: var(--t-violet); --tone-text: var(--t-violet-text); }
.step-card:nth-child(3) { --tone: var(--t-emerald); --tone-text: var(--t-emerald-text); }
.step-card:nth-child(4) { --tone: var(--t-amber); --tone-text: var(--t-amber-text); }
.step-card .step-no { font: 600 12px/1 var(--t-mono); color: var(--tone-text); letter-spacing: .08em; margin-bottom: 8px; }
.step-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--tone), transparent); opacity: .55; transition: opacity .2s; }
.step-card:hover { border-color: var(--tone); }
.step-card:hover::after { opacity: 1; }
.step-card .card-body { min-height: 0; }

.foundation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 16px; }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 16px; }
.industry-card .card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.industry-card .card-head h3 { margin: 0; }
.industry-card::before { content: ""; position: absolute; top: -30px; right: -30px; width: 130px; height: 130px; border-radius: 50%; background: var(--glow, var(--t-cyan)); opacity: .1; filter: blur(30px); transition: opacity .3s; pointer-events: none; }
.industry-card:hover::before { opacity: .25; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.count, .soon { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 9px; border-radius: var(--t-r-pill); font: 600 12px/1.2 var(--t-mono); white-space: nowrap; }
.count { background: var(--t-cyan-soft); border: 1px solid var(--t-cyan-edge); color: var(--t-cyan-text); }
.count.live { background: var(--t-emerald-soft); border-color: var(--t-emerald-edge); color: var(--t-emerald-text); }
.soon { background: var(--t-surface-3); border: 1px solid var(--t-border-strong); color: var(--t-text-2); }

.lecture-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 20px; padding: 22px 24px; background: var(--t-card); border: 1px solid var(--t-border-soft); border-radius: var(--t-r-lg); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.lecture-card:hover, .lecture-card:focus-visible { background: var(--t-card-hover); border-color: var(--t-violet-edge); box-shadow: var(--t-glow-hover); }
.lecture-thumb { width: 64px; height: 64px; }
.lecture-card h3 { font-size: 20px; }
.lecture-card .card-link { border-top: 0; padding-top: 8px; justify-content: flex-start; gap: 8px; }

.about-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 22px; padding: 24px; background: var(--t-card); border: 1px solid var(--t-border-strong); border-radius: var(--t-r-xl); }
.about-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--t-cyan-soft); filter: blur(40px); pointer-events: none; }
.about-card p { margin: 0 0 8px; color: var(--t-muted); }
.photo-placeholder { width: 96px; height: 96px; border-radius: 50%; background: var(--t-grad-brand); padding: 2px; }
.photo-placeholder::before { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--t-surface-3); }
.about-links { display: flex; flex-wrap: wrap; gap: 18px; }
.about-links a { color: var(--t-cyan-text); font-weight: 700; }

/* footer */

/* ── Industry page: header band, sector pills, case cards ── */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; color: var(--t-muted); font-size: 13px; }
.breadcrumb a { color: var(--t-cyan-text); text-decoration: none; font-weight: 600; }
.breadcrumb b { color: var(--t-text); }
.band-in { width: 100%; margin: 0; padding: 0 var(--cs-gutter); }
.industry-band { padding: 24px 0 24px; background: var(--t-surface-2); border-bottom: 1px solid var(--t-border); }
.industry-hero { display: flex; align-items: center; gap: 20px; }
.industry-hero-image { flex: none; width: 68px; height: 68px; border-radius: var(--t-r-lg); box-shadow: var(--t-shadow-sm); }
.industry-hero-image .thumb-ico { font-size: 32px; }
.industry-hero h1, .page-hero h1 { margin: 0 0 6px; font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.industry-hero .title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.industry-hero .title-row h1 { margin: 0; }
.industry-hero p, .page-hero p { max-width: 780px; margin: 6px 0 0; color: var(--t-muted); font-size: 16px; }
.industry-summary { display: inline-flex; gap: 8px; margin-top: 10px; color: var(--t-text-2); font-size: 14px; font-weight: 700; }
.sector-pills { position: sticky; top: 66px; z-index: 20; padding: 12px 0; background: var(--t-glass-strong); border-bottom: 1px solid var(--t-border); }
.sector-pills nav { display: flex; flex-wrap: wrap; gap: 8px; }
.sector-pills a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 14px; border-radius: var(--t-r); background: var(--t-surface-2); border: 1px solid var(--t-border); color: var(--t-text-2); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .15s, background-color .15s; }
.sector-pills a:hover { color: var(--t-text); background: var(--t-surface-3); }
.sector-pills a[aria-current="page"] { background: var(--t-cyan-soft); border-color: var(--t-cyan-edge); color: var(--t-cyan-text); box-shadow: var(--t-shadow-button); }
.case-section { padding-top: 30px; }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 18px; }
.case-card .card-body { padding: 22px; }
.case-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.status, .task-type { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: var(--t-r-pill); font: 600 12px/1.2 var(--t-mono); white-space: nowrap; }
.status { background: var(--t-surface-3); border: 1px solid var(--t-border-strong); color: var(--t-text-2); }
.status.live { background: var(--t-emerald-soft); border-color: var(--t-emerald-edge); color: var(--t-emerald-text); }
.task-type { background: var(--t-cyan-soft); border: 1px solid var(--t-cyan-edge); color: var(--t-cyan-text); }
.case-card h3 { font-size: 18px; }
.case-card .card-link { margin-top: auto; }
.case-card .card-body > p { margin-bottom: 18px; }
.coming { opacity: .82; }
.coming .card-body > p { margin-bottom: 0; }
.foundation-callout { position: relative; overflow: hidden; margin-top: 36px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--t-card); border: 1px solid var(--t-border-strong); border-radius: var(--t-r-xl); }
.foundation-callout h2 { margin-top: 0; font-size: 24px; }

/* ── Foundation and lecture pages ── */
.page-hero { padding: 12px 0 24px; }
.page-hero h1 { max-width: 820px; margin-top: 14px; }
.content { max-width: var(--sf-narrow); padding: 28px; background: var(--t-card); border: 1px solid var(--t-border-soft); border-radius: var(--t-r-xl); }
.content h2 { margin: 28px 0 10px; font-size: 22px; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin: 0 0 6px; }
.content p, .content li { color: var(--t-text-2); }
.content b { color: var(--t-text); }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.callout { margin: 0 0 20px; padding: 16px 18px; background: var(--t-cyan-soft); border: 1px solid var(--t-cyan-edge); border-radius: var(--t-r); color: var(--t-text-2); }
.callout b { color: var(--t-text); }
.lesson-list { display: grid; gap: 8px; margin-top: 18px; }
.lesson { min-height: 54px; display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--t-card); border: 1px solid var(--t-border-soft); border-radius: var(--t-r); color: var(--t-text-2); text-decoration: none; transition: border-color .2s, background-color .2s; }
.lesson:hover, .lesson:focus-visible { background: var(--t-card-hover); border-color: var(--t-violet-edge); color: var(--t-text); }
.lesson-no { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--t-r-sm); background: var(--t-violet-soft); border: 1px solid var(--t-violet-edge); color: var(--t-violet-text); font: 700 12px/1 var(--t-mono); }

/* ── Responsive ── */
/* ── The learning path (landing): a slim strip of the nine steps, then one compact section per step ── */
.path-strip { position: sticky; top: var(--sf-head-top, 0px); z-index: 20; background: var(--t-glass-strong); border-bottom: 1px solid var(--t-border-soft); backdrop-filter: blur(var(--t-glass-blur)); -webkit-backdrop-filter: blur(var(--t-glass-blur)); }
.path-strip ol { position: relative; box-sizing: border-box; display: flex; gap: 4px; margin: 0 auto; padding-top: 6px; padding-bottom: 6px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.path-strip li { flex: 1 1 0; min-width: max-content; }
.path-strip a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 4px 10px; border-radius: var(--t-r-pill); color: var(--t-text-2); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.path-strip a:hover, .path-strip a:focus-visible { background: var(--t-cyan-soft); color: var(--t-on-text); }
.path-strip a[aria-current] { background: var(--t-on); color: var(--t-on-accent); }
.path-strip a[aria-current] .path-no { background: var(--t-on-accent); color: var(--t-on); }
.path-no { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--t-surface-3); color: var(--t-text); font: 700 12px/1 var(--t-mono); }
.path-step { padding: 16px 0 0; scroll-margin-top: calc(var(--sf-head-top, 0px) + 60px); display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 16px 24px; align-items: start; }
.path-step.wide { grid-template-columns: 1fr; }
/* (16 November 2026) a stage's module cards sit beside the stage heading, in a column narrower than the window, so they
   wrap by that column's own width (not the window's breakpoints or the zoom): every card stays fully visible */
.path-step > * { min-width: 0; }
.path-step .path-body .sf-cards { grid-template-columns: repeat(auto-fill, minmax(max(min(100%, 260px), calc((100% - 3 * var(--sf-card-gap, 16px)) / 4)), 1fr)); }   /* never more than four across */
.path-lead a, .path-body .sf-cards-intro a { color: var(--t-on-text); font-weight: 600; }
.path-head { display: flex; gap: 12px; align-items: flex-start; }
.path-head .path-no { width: 34px; height: 34px; font-size: 15px; background: var(--t-on); color: var(--t-on-accent); }
.path-head h2 { margin: 2px 0 4px; font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.path-head p { margin: 0; color: var(--t-muted); font-size: 15px; line-height: 1.5; }
.path-cards:not(.industry-grid) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 12px; }   /* the industries keep their own grid */
.path-step .foundation-card, .path-card { flex-direction: row; align-items: stretch; }
.path-step .foundation-card .card-thumb, .path-thumb { flex: none; width: 44px; height: 44px; margin: 14px 0 14px 14px; }
.path-step .card-body { padding: 12px 14px; }
.path-step .card-body h3 { font-size: 15px; margin-bottom: 4px; }
.path-step .card-body p { font-size: 13.5px; }
.path-step .card-link { padding-top: 6px; margin-top: 6px; }
.landing #about { padding-top: 24px; }
.landing #about .section-head { margin-bottom: 12px; }
.landing #about .section-head h2 { margin: 6px 0 0; font-size: 24px; }
.landing .about-card { padding: 16px 24px; }
.path-card.coming { border-style: dashed; background: var(--t-surface-2); }
.path-card.info { background: var(--t-surface-2); }
/* the current case on steps 3, 4, 5 and 8 */
.path-body { min-width: 0; }
.path-step .industry-card { flex-direction: row; }
.path-step .industry-card .industry-thumb { flex: none; width: 44px; height: 44px; margin: 14px 0 14px 14px; }
.path-step .card-body .badges { margin-top: 6px; }
#step-5 .path-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* the two ways to build, side by side */
@media (max-width: 620px) { #step-5 .path-cards { grid-template-columns: 1fr; } }
.case-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 8px; padding: 4px 10px; border-radius: var(--t-r-sm); background: var(--t-cyan-soft); border: 1px solid var(--t-cyan-edge); color: var(--t-text); font-size: 14px; }
.case-bar.none { background: var(--t-amber-soft); border-color: var(--t-amber-edge); }
.case-bar a { color: var(--t-on-text); font-weight: 700; }
/* the strip: an opened step is ticked, an unopened one is marked as not opened yet */
.path-strip a.opened .path-no { background: var(--t-emerald-soft); border: 1px solid var(--t-emerald-edge); color: var(--t-emerald-text); }
.path-strip a.unopened .path-no { background: transparent; border: 1px dashed var(--t-neutral-border); color: var(--t-muted); }
/* the step in view keeps the ON pair whether it is opened or not (15 October 2026: the unopened rule above came later and left
   a muted number on the accent fill, 1.6:1) */
.path-strip a[aria-current] .path-no { background: var(--t-on-accent); border: 0; color: var(--t-on); }
.lt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.path-card.coming .soon { margin-bottom: 6px; align-self: flex-start; }
@media (max-width: 940px) {
  .path-step { grid-template-columns: 1fr; }
  /* narrow screens: one slim row of the nine numbers; each keeps its step name as its accessible name and tooltip */
  .path-strip ol { overflow-x: auto; justify-content: space-between; gap: 2px; }   /* (16 November 2026) scrolls inside itself: nine numbers never widen the page */
  .path-strip li { flex: 0 0 auto; min-width: 0; }
  .path-strip a { padding: 4px; min-width: 36px; }
  .path-strip .path-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 940px) {
  .section-head.split { display: block; }
  .sector-pills { top: 0; position: static; }
}
@media (max-width: 620px) {
  .page { padding-top: 24px; padding-bottom: 44px; }
  .hero h1 { font-size: 34px; }
  .actions .button { flex: 1 1 100%; }
  .stats { gap: 8px; }
  .stat b { font-size: 22px; }
  .stat span { font-size: 12px; }
  .content-grid { grid-template-columns: 1fr; }
  .lecture-card { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .industry-hero { align-items: flex-start; }
  .industry-hero h1, .page-hero h1 { font-size: 26px; }
  .sector-pills { padding: 10px 0; }
  .foundation-callout { align-items: stretch; flex-direction: column; }
  .about-card { grid-template-columns: 1fr; }
  .content { padding: 20px; }
}

/* the background report job page (case-report-job.html) */
.report-job { width: min(100%, 760px); margin: 40px auto; padding: 28px; background: var(--t-card); border: 1px solid var(--t-border-soft); border-radius: var(--t-r-xl); }
.report-job h1 { margin: 14px 0 8px; font-size: 30px; }
.report-job .actions { justify-content: flex-start; }
.progress { height: 8px; margin-top: 16px; overflow: hidden; border-radius: var(--t-r-pill); background: var(--t-surface-3); }
.progress i { display: block; height: 100%; width: 0; background: var(--t-grad-button); transition: width .4s; }

/* ═══ The landing page's three doors: Use, Learn, Build (13 October 2026) ═══ */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 20px; margin: 28px 0 8px; }
.door { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--t-border); border-radius: var(--t-r-lg); background: var(--t-surface); box-shadow: var(--t-shadow-sm); scroll-margin-top: calc(var(--sf-head-top, 0px) + 72px); }
.door-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.door h2 { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.door-who { padding: 2px 10px; border-radius: 999px; background: var(--t-cyan-soft); border: 1px solid var(--t-cyan-edge); color: var(--t-text); font-size: 13px; font-weight: 700; white-space: nowrap; }
.door-line { margin: 0; color: var(--t-text-2); font-size: 16px; }
.door-main { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.door-main .case-bar { margin: 0; align-self: stretch; }
.door-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.door-links li { display: flex; flex-direction: column; }
.door-links a { color: var(--t-on-text); font-weight: 700; }
.door-off { color: var(--t-muted); font-weight: 700; }
.door-sub { color: var(--t-muted); font-size: 14px; }
.door-note { margin: auto 0 0; padding: 8px 10px; border-radius: var(--t-r-sm); background: var(--t-surface-3); color: var(--t-text-2); font-size: 14px; }
.door-more { margin: 0; }
.door-more a { color: var(--t-on-text); font-weight: 700; }
.door-strip { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.door-strip a { display: flex; align-items: center; gap: 10px; min-height: 32px; padding: 3px 6px; border-radius: var(--t-r-sm); color: var(--t-text); font-size: 14px; text-decoration: none; }
.door-strip a:hover, .door-strip a:focus-visible { background: var(--t-surface-3); }
.door-strip a.opened .path-no { background: var(--t-emerald-soft); border: 1px solid var(--t-emerald-edge); color: var(--t-emerald-text); }
.path-hero { padding-bottom: 12px; }


/* ═══ The landing page and the door pages, Use, Learn and Build (14 October 2026) ═══ */
.idea { margin: 28px 0 8px; }
.idea p { margin: 0 0 14px; color: var(--t-text-2); font-size: 17px; line-height: 1.6; }
.idea b { color: var(--t-text); }
.idea-flow { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.idea-flow li { position: relative; padding: 6px 12px; border: 1px solid var(--t-border); border-radius: 999px; background: var(--t-surface); color: var(--t-text); font-size: 14px; font-weight: 700; }
.idea-flow li + li { margin-left: 18px; }
.idea-flow li + li::before { content: "→"; position: absolute; left: -20px; top: 50%; transform: translateY(-50%); color: var(--t-muted); font-weight: 400; }
.door-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border: 1px solid var(--t-border); border-radius: var(--t-r-lg); background: var(--t-surface); box-shadow: var(--t-shadow-sm); }
.door-card .door-head { align-self: stretch; }
.door-card h2 { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.door-card .button { margin-top: auto; }
/* the landing page's doors: the whole card is the link (15 October 2026) */
a.door-card { color: inherit; text-decoration: none; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; }
a.door-card h2 { color: var(--t-heading, var(--t-text)); }
a.door-card:hover { transform: translateY(-2px); border-color: var(--t-on-text); box-shadow: var(--t-shadow); }
a.door-card:focus-visible { outline: 3px solid var(--t-on-text); outline-offset: 3px; border-color: var(--t-on-text); }
.door-card .door-line { display: block; }
.door-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; font-size: 16px; color: var(--t-on-text); }
.door-go svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { a.door-card, .course-card { transition: none; } a.door-card:hover, .course-card[href]:hover { transform: none; } }
.door-hero { padding-bottom: 8px; }
.door-text { max-width: var(--sf-measure, 80ch); }
.door-intro .door-start { padding-top: 0; }
/* the door pages (Use, Learn, Build; 30 October 2026, the owner's request, relay id 30): the title and the text across
   the top, then "Start here" as a full-width row under them at every width, never beside the text (side by side, the
   short text left an empty block under it and squeezed the cards into half the page) */
.cs-split.door-intro { display: block !important; }
.cs-split.door-intro > .cs-aside { margin-top: 28px; }
/* the start cards all the same size and no empty slot: three cards three across, five cards five across, when they fit;
   otherwise one per row (never three then two with a hole) */
.door-intro .door-start > .sf-cards { grid-template-columns: minmax(0, 1fr); }
@container cs (min-width: 760px) {
  .door-intro .door-start > .sf-cards:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .door-intro .door-start > .sf-cards:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container cs (min-width: 1200px) {
  .door-intro .door-start > .sf-cards:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .door-intro .door-start > .sf-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.door-text p { margin: 0 0 12px; color: var(--t-text-2); font-size: 17px; line-height: 1.6; }
.door-text a { color: var(--t-on-text); font-weight: 700; }
.door-start { padding-top: 8px; }
.door-start h2 { margin: 0 0 14px; font-size: 24px; }
.start-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 16px; }
.start-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--t-border); border-radius: var(--t-r-lg); background: var(--t-surface); box-shadow: var(--t-shadow-sm); }
.start-card.coming { border-style: dashed; box-shadow: none; }
.start-top { display: flex; align-items: center; gap: 10px; }
.start-top h3 { margin: 0; font-size: 19px; }
.start-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--t-r-sm); background: var(--t-surface-3); font-size: 20px; }
.start-card p { margin: 0; color: var(--t-text-2); font-size: 15px; }
.start-go { margin-top: auto; padding-top: 6px; }
.start-card button.button { cursor: pointer; font: inherit; font-weight: 700; }
.door-others { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 32px 0 8px; padding: 12px 16px; border-radius: var(--t-r); background: var(--t-surface-3); color: var(--t-text-2); font-size: 15px; }
.door-others a { color: var(--t-on-text); font-weight: 700; }
.door-others > .sf-cards { flex: 1 1 18rem; min-width: 0; }   /* the other doors' cards fill the rest of the row */
.cl-ind { margin: 18px 0 0; }
.cl-ind h2 { margin: 0 0 8px; font-size: 22px; }
.cl-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cl-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 10px 14px; border: 1px solid var(--t-border); border-radius: var(--t-r); background: var(--t-surface); }
.cl-title { color: var(--t-text); font-weight: 700; }
.cl-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cl-links a { color: var(--t-on-text); font-weight: 700; }
.foundation-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 16px; }
@media (max-width: 620px) { .idea p, .door-text p { font-size: 16px; } .idea-flow li + li { margin-left: 0; } .idea-flow li + li::before { content: none; } }
