/* Be Vietnam Pro (SIL OFL 1.1, Google Fonts), self-hosted; unicode-range subsets load on demand. Body 400/500, UI 600, headings 700. */
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/be-vietnam-pro-400-vietnamese.dc085e2fba.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/be-vietnam-pro-400-latin-ext.f7a2811e47.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:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/be-vietnam-pro-400-latin.03d1b589cf.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:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/be-vietnam-pro-500-vietnamese.86341610cb.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/be-vietnam-pro-500-latin-ext.947d592eb7.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:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/be-vietnam-pro-500-latin.b621f77d35.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:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/be-vietnam-pro-600-vietnamese.97658c6f9a.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/be-vietnam-pro-600-latin-ext.20cc75daea.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:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/be-vietnam-pro-600-latin.9503dec2a7.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:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/be-vietnam-pro-700-vietnamese.4f58af2d1c.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/be-vietnam-pro-700-latin-ext.33d57e5bd8.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:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/be-vietnam-pro-700-latin.a193dd8769.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;}

/* Shared enterprise training and knowledge-resource design. No remote dependencies.
   Direction: quiet, professional. Tokens first, then base, layout, components, responsive, motion. */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;
  /* colour */
  --page: #ffffff;
  --paper: #ffffff;
  --surface: #f5f7fb;
  --ink: #11243b;
  --text: #34485f;
  --muted: #4d6179;
  --subtle: #5d6f85;
  --blue: #245ce4;
  --blue-dark: #1946b3;
  --blue-wash: #edf2ff;
  --teal: #2f8f9d;
  --navy: #0b1b33;
  --navy-2: #12294a;
  --line: #e1e7f0;
  --line-strong: #cbd7e6;
  /* shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  /* elevation */
  --shadow-1: 0 1px 2px rgba(11,27,51,.05), 0 0 0 1px rgba(11,27,51,.02);
  --shadow-2: 0 18px 40px -16px rgba(20,50,100,.28), 0 4px 10px -4px rgba(20,50,100,.12);
  --shadow-3: 0 30px 80px -20px rgba(11,27,51,.4), 0 8px 24px -8px rgba(11,27,51,.2);
  /* motion */
  --ease-out: cubic-bezier(.22,.8,.24,1);
  --ease-spring: cubic-bezier(.34,1.4,.64,1);
  --t-fast: 160ms;
  --t-med: 320ms;
  --t-slow: 700ms;
  /* type */
  --font: "Be Vietnam Pro","Segoe UI Variable Text","Segoe UI",-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Microsoft YaHei UI","Noto Sans SC",system-ui,sans-serif;
  --font-display: "Be Vietnam Pro","Segoe UI Variable Display","Segoe UI Variable Text","Segoe UI",-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei UI","Noto Sans SC",system-ui,sans-serif;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4 { letter-spacing: 0; }
p { text-wrap: pretty; }
/* Chinese headings: let the browser break between words (not inside 自己 etc.). */
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { word-break: auto-phrase; line-break: strict; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
::selection { background: #d6e3ff; color: #102d64; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.container, .header-inner { width: min(1180px,calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; padding: 11px 17px; border-radius: var(--r-sm); background: var(--blue); color: #fff; font-size: 14px; }
.skip-link:focus { top: 10px; }

/* ---------- 3. Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med);
}
.is-scrolled .site-header { background: rgba(255,255,255,.72); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 10px 30px -18px rgba(11,27,51,.28); }
/* 2px reading progress, driven by --read (0..1) written by one scroll listener. */
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg,var(--blue),var(--teal)); transform: scaleX(var(--read,0)); transform-origin: 0 50%; opacity: 0; transition: opacity var(--t-med); pointer-events: none; }
.is-scrolled .site-header::after { opacity: 1; }
.header-inner { display: flex; align-items: center; gap: 30px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; min-width: 0; line-height: 1.3; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: none; font-size: 0; box-shadow: 0 6px 14px -7px rgba(36,92,228,.6); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.brand-note { display: block; margin-top: 4px; color: var(--subtle); font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; }
.desktop-nav { display: flex; align-items: stretch; gap: 26px; margin-left: auto; }
.desktop-nav a {
  position: relative; display: flex; align-items: center; min-height: 83px;
  color: var(--muted); font-size: 13.5px; font-weight: 500; line-height: 1.55; white-space: nowrap;
  background: linear-gradient(var(--blue),var(--blue)) left bottom / 0% 2px no-repeat;
  transition: color var(--t-fast), background-size var(--t-med) var(--ease-out);
}
.desktop-nav a:hover { color: var(--blue); background-size: 100% 2px; }
.desktop-nav a[aria-current='page'], .desktop-nav a[aria-current='true'] { color: var(--blue); background-size: 100% 2px; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.language-select { width: 82px; max-width: 110px; min-height: 44px; padding: 8px 5px; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: var(--r-sm); font-size: 12px; transition: background-color var(--t-fast), border-color var(--t-fast); }
.language-select:hover { background: var(--surface); border-color: var(--line); }

/* ---------- 4. Buttons and links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; max-width: 100%; padding: 11px 22px;
  border: 1px solid var(--blue); border-radius: var(--r-sm);
  background: var(--blue); color: #fff; font-size: 14px; font-weight: 600;
  line-height: 1.55; text-align: center;
  box-shadow: 0 8px 20px -10px rgba(36,92,228,.7);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-med) var(--ease-out), transform var(--t-fast) var(--ease-spring), filter var(--t-fast);
}
.button:hover { color: #fff; background: var(--blue); border-color: var(--blue); filter: brightness(1.1); box-shadow: 0 12px 26px -10px rgba(36,92,228,.75); }
.button:active { transform: scale(.97); filter: brightness(.98); }
.button.secondary, .button.outline { color: var(--ink); background: #fff; border-color: var(--line-strong); box-shadow: none; }
.button.secondary:hover, .button.outline:hover { color: var(--blue); border-color: #9bb4ed; background: #f4f7ff; filter: none; box-shadow: var(--shadow-1); }
.hero-actions .button:not(.primary) { color: var(--ink); background: #fff; border-color: var(--line-strong); box-shadow: none; }
.hero-actions .button:not(.primary):hover { color: var(--blue); border-color: #9bb4ed; background: #f4f7ff; filter: none; box-shadow: var(--shadow-1); }
.button.small, .header-actions .button { min-height: 44px; padding: 10px 18px; font-size: 13px; white-space: nowrap; }
.button:disabled { opacity: .6; cursor: wait; }
.arrow { display: inline-block; transition: transform var(--t-med) var(--ease-out); }
.button:hover .arrow, .jump-link:hover .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--blue-dark); font-size: 13.5px; font-weight: 600; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #b9cbf0; transition: color var(--t-fast), text-decoration-color var(--t-fast); }
.text-link > span[aria-hidden] { display: inline-block; transition: transform var(--t-med) var(--ease-out); }
.text-link:hover { color: #123a96; text-decoration-color: var(--blue); }
.text-link:hover > span[aria-hidden] { transform: translateX(3px); }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--ink); background: #fff; font-size: 12px; font-weight: 600; line-height: 1.5; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.menu-toggle[aria-expanded='true'] { color: var(--blue); border-color: #9cb7f1; background: var(--blue-wash); }
.menu-toggle svg { width: 17px; height: 17px; }
.mobile-nav { background: rgba(255,255,255,.98); border-top: 1px solid var(--line); padding: 13px max(24px,calc((100vw - 1180px)/2)) 19px; box-shadow: 0 24px 40px -24px rgba(11,27,51,.3); }
.mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 10px 9px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.mobile-nav a[aria-current='page'] { color: var(--blue); font-weight: 600; }

/* ---------- 5. Heroes ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 12px; font-weight: 600; line-height: 1.7; letter-spacing: .1em; margin-bottom: 18px; }
.eyebrow::before { content: ''; flex: none; width: 20px; height: 1px; background: currentColor; opacity: .7; }
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 58px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#f3f7fd,#fbfcfe); }
.page-hero::before { content: ''; position: absolute; z-index: -1; top: -240px; right: -120px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side,rgba(36,92,228,.11),transparent); pointer-events: none; }
.page-hero h1 { max-width: 900px; margin: 0; color: var(--ink); font-size: clamp(2.4rem,4.6vw,4.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.page-lead { max-width: 68ch; margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.hero-actions > a:not(.button) { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-block: 8px; color: var(--blue-dark); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #bccdef; transition: color var(--t-fast), text-decoration-color var(--t-fast); }
.hero-actions > a:not(.button):hover { color: #123a96; text-decoration-color: var(--blue); }
.home-hero { padding: 72px 0 76px; background: linear-gradient(180deg,#f2f7ff 0%,#fbfcff 62%,#fff 100%); border-bottom: 0; }
.home-hero::before { top: -260px; left: -180px; right: auto; width: 720px; height: 720px; background: radial-gradient(closest-side,rgba(36,92,228,.14),transparent); }
.home-hero::after { content: ''; position: absolute; z-index: -1; right: -200px; bottom: -280px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(closest-side,rgba(47,143,157,.15),transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); grid-template-areas: "copy visual"; gap: 0 64px; align-items: center; }
.hero-copy { grid-area: copy; min-width: 0; }
.home-hero h1 { font-size: clamp(2.2rem,3.9vw,3.6rem); line-height: 1.2; }
.home-hero .page-lead { max-width: 54ch; font-size: 16.5px; }
/* Hero picture: a CSS background (no <img>) with a frosted checklist card laid over its lower edge. */
.hero-photo { grid-area: visual; position: relative; width: 100%; max-width: 540px; justify-self: end; aspect-ratio: 4/5; max-height: 640px; border-radius: var(--r-lg); background-color: #dfe8f5; background-size: cover; background-position: 34% center; box-shadow: var(--shadow-3); overflow: hidden; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(11,27,51,0) 45%,rgba(11,27,51,.34)); pointer-events: none; }
.hero-photo-tag { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(11,27,51,.62); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .04em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-visual { grid-area: visual; position: relative; z-index: 1; align-self: end; justify-self: end; width: 100%; max-width: 540px; min-width: 0; padding: 0 18px 18px; }
.hero-board { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 18px; padding: 20px 22px 10px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.7); border-radius: var(--r-md); box-shadow: var(--shadow-2); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
.hero-board > .board-label, .hero-board > h2, .hero-board > .board-footer, .hero-board > .text-link { grid-column: 1/-1; }
.board-label { color: var(--subtle); font-size: 10.5px; font-weight: 600; line-height: 1.7; letter-spacing: .1em; text-transform: uppercase; }
.hero-board > h2 { margin: 2px 0 8px; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.board-row { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 11px 0; border-top: 1px solid rgba(11,27,51,.08); color: var(--text); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.board-check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 0; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; }
.board-footer { display: none; }
.hero-board > .text-link { min-height: 44px; }

/* ---------- 6. Sections and cards ---------- */
.content-section { padding: 88px 0; background: var(--paper); }
.content-section + .content-section { border-top: 1px solid var(--line); }
.content-section.white, .content-section.alt { background: var(--paper); }
.content-section.tone-soft { background: var(--surface); }
.content-section.tone-soft, .content-section.tone-navy, .content-section.tone-soft + .content-section, .tone-navy + .content-section { border-top: 0; }
.section-heading { margin-bottom: 40px; max-width: 820px; }
.section-heading h2 { color: var(--ink); font-size: clamp(1.7rem,2.8vw,2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.section-heading p { margin-top: 16px; max-width: 68ch; color: var(--muted); font-size: 16px; line-height: 1.75; }
.section-heading .eyebrow { margin: 0 0 14px; font-size: 11.5px; }
.section-heading > .text-link, .section-heading > div + .text-link { margin-top: 10px; }
.section-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.section-grid.two-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
.content-card, .media-example, .audience-card { position: relative; isolation: isolate; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); }
.content-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 30px 28px 24px; }
.card-tag { display: inline-block; color: var(--subtle); font-size: 11px; font-weight: 600; line-height: 1.8; letter-spacing: .06em; margin-bottom: 16px; }
.content-card h3 { color: var(--ink); font-size: 21px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; margin: 0 0 12px; overflow-wrap: anywhere; }
.content-card h3 a { transition: color var(--t-fast); }
.content-card h3 a:hover { color: var(--blue); }
.content-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin-bottom: 22px; overflow-wrap: anywhere; }
.content-card > .text-link { margin-top: auto; }
.content-card ul { padding-left: 18px; margin: 0 0 20px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
/* Pointer spotlight (--mx/--my written by JS on hover-capable pointers only). */
.content-card::before, .media-example::before, .audience-card::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(36,92,228,.09), transparent 62%); opacity: 0; transition: opacity var(--t-med); pointer-events: none; }
/* Deep navy band (course directions + 288). */
.tone-navy { background: radial-gradient(900px 420px at 88% -8%,rgba(36,92,228,.38),transparent 62%), radial-gradient(700px 380px at 0% 110%,rgba(47,143,157,.22),transparent 60%), var(--navy); color: #c9d6ea; }
.tone-navy .eyebrow { color: #8fb2ff; }
.tone-navy .section-heading h2 { color: #fff; }
.tone-navy .section-heading p { color: #b8c7dd; }
.tone-navy .text-link { color: #a9c3ff; text-decoration-color: rgba(169,195,255,.45); }
.tone-navy .text-link:hover { color: #fff; text-decoration-color: #fff; }
.tone-navy :focus-visible { outline-color: #9db9ff; }
.tone-navy .content-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.13); box-shadow: none; }
.tone-navy .content-card::before { background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(157,185,255,.16), transparent 62%); }
.tone-navy .content-card h3 { color: #fff; }
.tone-navy .content-card h3 a:hover { color: #b9ceff; }
.tone-navy .content-card p { color: #b8c7dd; }
.tone-navy .card-tag { color: #8fb2ff; }
.catalog-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em .5em; margin: 0 0 40px; color: #c9d6ea; font-size: clamp(1rem,1.6vw,1.25rem); line-height: 1.3; }
.catalog-stat .count-up { min-width: 3ch; color: #fff; font-family: var(--font-display); font-size: clamp(3.2rem,7vw,5.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; background: linear-gradient(120deg,#fff 20%,#9db9ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.count-up { font-variant-numeric: tabular-nums; }

/* ---------- 7. Article, TOC, steps, prompt, table, FAQ ---------- */
.prose-layout { padding-block: 56px 80px; display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 66px; align-items: start; }
.page-toc { position: sticky; top: 108px; min-width: 0; }
.page-toc h2, .page-toc h3, .page-toc nav > p { margin: 0 0 14px; color: var(--subtle); font-size: 11px; font-weight: 600; line-height: 1.7; letter-spacing: .08em; }
.page-toc nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100dvh - 160px); overflow-y: auto; scrollbar-width: thin; }
.page-toc nav a { display: flex; align-items: center; min-height: 40px; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.6; overflow-wrap: anywhere; transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast); }
.page-toc nav a:hover, .page-toc nav a[aria-current='location'], .page-toc nav a.active { color: var(--blue); border-left-color: var(--blue); background: linear-gradient(90deg,rgba(36,92,228,.06),transparent); }
.page-toc details { border: 0; background: transparent; }
.page-toc summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.8; padding: 0 0 15px; }
.article-body { max-width: 850px; min-width: 0; }
.article-section { scroll-margin-top: 110px; min-width: 0; }
.article-section + .article-section { padding-top: 40px; margin-top: 42px; border-top: 1px solid var(--line); }
.article-section h2 { margin: 0 0 20px; color: var(--ink); font-size: clamp(1.55rem,2.3vw,2rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.article-section h3 { margin: 28px 0 12px; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.4; }
.article-section h4 { margin: 24px 0 10px; color: var(--ink); font-size: 16px; line-height: 1.6; }
.article-section p { max-width: 68ch; margin-bottom: 16px; color: var(--text); font-size: 15.5px; line-height: 1.8; overflow-wrap: anywhere; }
.article-section p:last-child { margin-bottom: 0; }
.article-section strong { color: var(--ink); font-weight: 600; }
.article-section ul, .article-section ol { margin: 18px 0 22px; padding-left: 23px; color: var(--text); font-size: 15.5px; line-height: 1.8; }
.article-section li { margin-block: 8px; padding-left: 3px; overflow-wrap: anywhere; }
.article-section li::marker { color: #6f8cc0; }
.article-section a:not(.button):not(.text-link) { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #bccdef; transition: color var(--t-fast), text-decoration-color var(--t-fast); }
.article-section a:not(.button):not(.text-link):hover { color: #123a96; text-decoration-color: var(--blue); }
.article-section code:not(pre code) { padding: 2px 6px; border-radius: 6px; color: #1f4fb8; background: #eaf0fb; font-size: .88em; overflow-wrap: anywhere; }
.article-section .content-card p { font-size: 14.5px; }
.steps-list { list-style: none; counter-reset: training-step; padding: 0 !important; margin: 24px 0 0 !important; }
.steps-list > li { counter-increment: training-step; position: relative; margin: 0; padding: 22px 0 24px 54px; border-top: 1px solid var(--line); }
.steps-list > li::before { content: counter(training-step); position: absolute; top: 22px; left: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--blue); background: var(--blue-wash); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.step-heading { display: block; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.5; }
.steps-list > li > p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.prompt-block { margin: 24px 0; padding: 0 22px 18px; border: 1px solid #d3deef; border-radius: var(--r-md); background: linear-gradient(180deg,#f3f6fc,#eef3fb); }
.prompt-block pre { max-width: 100%; margin: 0; padding: 22px 0 18px; color: #2f4868; font-family: ui-monospace,'Cascadia Code',Consolas,monospace; font-size: 13px; line-height: 1.85; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; tab-size: 2; }
.prompt-block pre code { font: inherit; color: inherit; white-space: inherit; }
.copy-prompt { min-height: 44px; padding: 10px 18px; border: 1px solid #b4c8ea; border-radius: var(--r-sm); color: var(--blue-dark); background: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.6; transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-spring); }
.copy-prompt:hover { background: #e8effd; border-color: #8caee3; }
.copy-prompt:active { transform: scale(.97); }
.reference-table { min-width: 0; max-width: 100%; margin-block: 24px; }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.reference-table table, .table-scroll table { width: 100%; min-width: 550px; margin: 0; border-collapse: collapse; font-size: 13.5px; line-height: 1.75; text-align: left; }
.reference-table th, .table-scroll th { padding: 14px 17px; color: var(--ink); background: #eef3fa; border-bottom: 1px solid var(--line-strong); font-weight: 600; vertical-align: top; }
.reference-table td, .table-scroll td { padding: 14px 17px; color: var(--text); background: #fff; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.reference-table tr:last-child td, .table-scroll tr:last-child td { border-bottom: 0; }
.notice { margin: 24px 0; padding: 16px 20px; color: var(--text); background: #eef4fd; border-left: 3px solid #7fa3e6; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 13.5px; line-height: 1.8; overflow-wrap: anywhere; }
.notice p { color: inherit; font-size: inherit; margin: 0 0 10px; }
.notice p:last-child { margin-bottom: 0; }
.resource-meta { margin-top: 22px; color: var(--subtle); font-size: 12.5px; line-height: 1.9; }
.resource-meta > span { display: inline-block; margin-right: 18px; }
.faq-list { margin-top: 24px; border-top: 1px solid var(--line-strong); }
.faq-list details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.faq-list summary { position: relative; display: block; list-style: none; min-height: 60px; padding: 19px 38px 19px 0; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.6; cursor: pointer; transition: color var(--t-fast); }
.faq-list summary:hover { color: var(--blue); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] > summary { color: var(--blue); }
.faq-list details > p, .faq-list details > div { margin: 0; padding: 0 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.8; overflow-wrap: anywhere; }
.faq-list details > div > p { margin: 0 0 13px; }
.faq-list details > div > p:last-child { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; margin-bottom: 26px; color: var(--subtle); font-size: 12.5px; line-height: 1.8; }
.breadcrumb a { color: var(--blue-dark); }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.language-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin-top: 20px; }
.language-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 12.5px; }
.language-links a[aria-current='page'], .language-links a.active { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.video-frame { display: block; width: 100%; min-width: 0; margin-block: 24px; color: var(--muted); }
.video-frame iframe, .video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; background: #e8eef7; border: 1px solid var(--line-strong); border-radius: var(--r-md); }
.video-frame video { aspect-ratio: auto; max-height: min(70vh,600px); }
.video-frame figcaption { margin-top: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.8; overflow-wrap: anywhere; }
.video-frame > p { max-width: 500px; padding: 24px; font-size: 14px; text-align: center; }
.download-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-block: 22px; }
.download-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 52px; padding: 13px 18px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--blue-dark); font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
.download-list a:hover { background: #f1f5fe; border-color: #a7bee8; transform: translateY(-2px); box-shadow: var(--shadow-1); }
.related-links { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); }
.related-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-dark); font-size: 13.5px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #bccdef; }

/* ---------- 8. Contact, form, dialog ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; align-items: start; }
.contact-details { min-width: 0; }
.contact-details h2, .contact-details h3 { margin: 0 0 19px; color: var(--ink); font-size: 25px; line-height: 1.35; font-weight: 600; }
.contact-details p { max-width: 460px; margin-bottom: 19px; color: var(--muted); font-size: 14.5px; line-height: 1.8; overflow-wrap: anywhere; }
.contact-details address { margin-bottom: 24px; color: var(--text); font-size: 16px; font-style: normal; line-height: 1.8; overflow-wrap: anywhere; }
.contact-details a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #bccdef; }
.contact-form { min-width: 0; padding: 34px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2); }
.contact-form h2, .contact-form h3 { color: var(--ink); font-size: 24px; line-height: 1.4; margin-bottom: 21px; }
.contact-form label { display: block; margin-bottom: 8px; color: var(--text); font-size: 13px; font-weight: 500; line-height: 1.7; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 11px 14px; margin: 0 0 19px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fbfcff; color: var(--ink); font-size: 16px; line-height: 1.6; transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .catalog-tools input:focus, .catalog-tools select:focus, .audience-choice select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(36,92,228,.16); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #7a8ba0; opacity: 1; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form [aria-invalid='true'] { border-color: #b4553a; }
.contact-form .form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.contact-form .form-row > div { min-width: 0; }
.contact-form .consent { display: flex; align-items: flex-start; gap: 10px; margin: 3px 0 19px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.contact-form input[type='checkbox'] { flex: none; width: 19px; min-width: 19px; height: 19px; min-height: 19px; margin: 2px 0 0; padding: 0; accent-color: var(--blue); }
.consent a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin: 14px 0; color: var(--blue-dark); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status.error, .form-status.is-error, .form-status[data-state='error'] { color: #a34c36; }
.form-status.success, .form-status.is-success { color: #2c6c56; }
.form-note { margin-top: 16px; color: var(--subtle); font-size: 11.5px; line-height: 1.8; }
.contact-form > .button { width: 100%; }
.dialog-overlay { width: min(620px,calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; margin: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-3); overflow-y: auto; }
.dialog-overlay[open] { display: block; }
.dialog-overlay::backdrop { background: rgba(11,27,51,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.dialog-card { position: relative; min-width: 0; padding: 34px; }
.dialog-heading { color: var(--ink); font-size: 25px; font-weight: 600; line-height: 1.4; margin-bottom: 22px; padding-right: 41px; overflow-wrap: anywhere; }
.dialog-close { position: absolute; top: 17px; right: 17px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 24px; line-height: 1; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-spring); }
.dialog-close:hover { background: #e8eef8; color: var(--ink); }
.dialog-close:active { transform: scale(.94); }
.dialog-content { min-width: 0; }
.dialog-content .contact-form { padding: 0; border: 0; background: transparent; box-shadow: none; }
.dialog-heading h2 { margin: 0; font: inherit; }
.dialog-content p, .dialog-content ul, .dialog-content ol { margin-bottom: 17px; color: var(--muted); font-size: 14.5px; line-height: 1.8; overflow-wrap: anywhere; }
.dialog-content p:last-child { margin-bottom: 0; }

/* ---------- 9. Footer (deep navy) ---------- */
.site-footer { padding: 64px 0 30px; background: var(--navy); color: #aebfd8; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.2fr 1fr; gap: 48px 40px; }
.site-footer .brand { margin-bottom: 18px; }
.site-footer .brand-mark { background: none; box-shadow: none; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-note { color: #8ea3c2; }
.site-footer p { max-width: 400px; color: #aebfd8; font-size: 13px; line-height: 1.8; }
.site-footer address { color: #aebfd8; font-size: 13px; font-style: normal; line-height: 1.8; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline-color: #9db9ff; }
.footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 2px 28px; }
.footer-links h2, .footer-links h3 { grid-column: 1/-1; margin-bottom: 8px; color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.8; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; justify-self: start; min-height: 36px; padding: 4px 0; border: 0; color: #c3d1e6; background: transparent; font-size: 13px; line-height: 1.7; text-align: left; transition: color var(--t-fast); }
.footer-links a:hover, .footer-links button:hover { color: #fff; }
.site-footer a { transition: color var(--t-fast); }
.site-footer p a, .site-footer .legal-line a { color: #dbe6f7; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(219,230,247,.35); }
.site-footer p a:hover, .site-footer .legal-line a:hover { color: #fff; text-decoration-color: #fff; }
.site-footer strong { color: #fff; font-weight: 600; }
.legal-line { grid-column: 1/-1; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); color: #8ea3c2; font-size: 11px; line-height: 1.8; }
.site-footer .legal-line p { max-width: none; color: #8ea3c2; font-size: 12px; }

/* ---------- 10. Media (images, compare slider, video, filters) ---------- */
.media-showcase { background: var(--paper); }
.media-showcase .section-heading { max-width: 860px; }
.media-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; align-items: start; }
.media-example { min-width: 0; overflow: hidden; }
.media-example-figure { width: 100%; min-width: 0; margin: 0; }
.media-image-link { display: block; width: 100%; min-height: 44px; border-radius: var(--r-md) var(--r-md) 0 0; background: #f0f3f8; }
.media-image-link img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; border-radius: inherit; }
.media-example-figure figcaption { padding: 14px 24px 0; color: var(--subtle); font-size: 12.5px; line-height: 1.75; overflow-wrap: anywhere; }
.media-example-copy { min-width: 0; padding: 18px 24px 22px; }
.media-example-copy h3, .media-video-copy h3 { margin: 0 0 12px; color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; overflow-wrap: anywhere; }
.media-example-copy p, .media-video-copy p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.75; overflow-wrap: anywhere; }
.media-showcase .text-link, .media-example-copy a, .media-video-copy a { min-height: 44px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.media-video-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 44px; align-items: center; margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); transition: border-color var(--t-med); }
.media-video-grid.is-playing { border-color: #7199ed; }
.media-video-frame { min-width: 0; margin: 0; }
.media-video-frame video { display: block; width: 100%; max-width: 100%; height: auto; max-height: min(70vh,560px); object-fit: contain; background: #0f1a28; border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.media-video-frame figcaption { margin-top: 12px; color: var(--subtle); font-size: 12.5px; line-height: 1.75; overflow-wrap: anywhere; }
.media-video-copy { min-width: 0; }
.media-video-copy .eyebrow { margin-bottom: 13px; }
.lesson-image { min-width: 0; max-width: 100%; margin: 24px 0; }
.lesson-image img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: var(--r-md); background: #f0f3f8; }
.lesson-image figcaption { margin-top: 11px; color: var(--subtle); font-size: 12.5px; line-height: 1.75; overflow-wrap: anywhere; }
/* Segmented filter with a sliding indicator (--seg-x / --seg-w written by JS). */
.media-filters { position: relative; display: inline-flex; max-width: 100%; gap: 2px; margin: 0 0 30px; padding: 4px; border-radius: 999px; background: #e9eef7; }
.media-filters::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--seg-w,0); border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(11,27,51,.14), 0 0 0 1px rgba(11,27,51,.04); transform: translateX(var(--seg-x,0)); opacity: 0; }
.media-filters[data-seg-ready]::before { opacity: 1; transition: transform var(--t-med) var(--ease-out), width var(--t-med) var(--ease-out); }
.media-filters button { position: relative; min-height: 44px; padding: 8px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: color var(--t-fast); }
.media-filters button:hover { color: var(--ink); }
.media-filters button[aria-pressed='true'] { color: var(--blue-dark); background: #fff; box-shadow: 0 2px 8px rgba(11,27,51,.14); }
.media-filters[data-seg-ready] button[aria-pressed='true'] { background: transparent; box-shadow: none; }
.image-compare { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; background: #e7eaf0; touch-action: pan-y; cursor: ew-resize; }
.compare-base, .compare-enhanced { position: absolute; inset: 0; background-size: 200% 100%; background-repeat: no-repeat; }
.compare-base { background-position: left center; }
.compare-enhanced { background-position: right center; clip-path: inset(0 0 0 var(--compare-position,50%)); }
.compare-divider { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--compare-position,50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px rgba(11,27,51,.35); pointer-events: none; }
.compare-divider::after { content: '\2039 \203A'; position: absolute; left: -20px; top: calc(50% - 21px); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--blue-dark); font-size: 22px; font-weight: 600; line-height: 1; letter-spacing: 2px; text-indent: 2px; box-shadow: 0 4px 14px rgba(11,27,51,.28), 0 0 0 1px rgba(11,27,51,.06); transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med); }
.image-compare.is-dragging .compare-divider::after { transform: scale(1.14); box-shadow: 0 8px 22px rgba(11,27,51,.34), 0 0 0 1px rgba(11,27,51,.06); }
.compare-label-before, .compare-label-after { position: absolute; z-index: 3; top: 14px; max-width: calc(50% - 25px); padding: 6px 11px; border-radius: 999px; background: rgba(11,27,51,.72); color: #fff; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.compare-label-before { left: 13px; }
.compare-label-after { right: 13px; text-align: right; }
.comparison-ready > .media-image-link { display: none; }
.compare-controls { padding: 18px 24px 0; }
.compare-controls label { display: block; margin-bottom: 4px; color: var(--text); font-size: 13px; line-height: 1.7; }
.compare-controls input { display: block; width: 100%; min-height: 44px; margin: 0; accent-color: var(--blue); cursor: ew-resize; }
.compare-original-link { font-size: 12.5px; }
.video-state { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 13px; }
.video-state::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #74849b; }
.is-playing .video-state { color: #165246; background: #edf8f4; border-color: #b6dccf; }
.is-playing .video-state::before { background: #1f8a6e; }

/* ---------- 11. Audience cases ---------- */
.course-catalog { background: var(--surface); }
.audience-section { background: var(--surface); }
.audience-choice { display: grid; grid-template-columns: minmax(160px,.8fr) minmax(0,1.2fr); gap: 10px 22px; align-items: center; max-width: 850px; margin-bottom: 30px; }
.audience-choice label { color: var(--ink); font-size: 14px; font-weight: 600; }
.audience-choice select { width: 100%; min-width: 0; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink); font-size: 16px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.audience-choice p { grid-column: 1/-1; color: var(--muted); font-size: 13px; }
.audience-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.audience-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; }
.audience-card > header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.audience-avatar { display: block; flex: none; width: 72px; height: 72px; border-radius: 50%; border: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--line-strong); background-size: 300% 200%; background-repeat: no-repeat; background-color: #e7ecf4; transition: box-shadow var(--t-med) var(--ease-out); }
.audience-card:hover .audience-avatar, .audience-card:focus-within .audience-avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--blue); }
.audience-card h3 { color: var(--ink); font-size: 21px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.audience-card > p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin: 0 0 15px; overflow-wrap: anywhere; }
.audience-detail { margin-bottom: 15px; border-top: 1px solid var(--line); }
.audience-detail summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding-block: 10px; color: var(--blue-dark); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.audience-detail summary::after { content: '+'; margin-left: 10px; font-size: 18px; font-weight: 400; }
.audience-detail[open] summary::after { content: '−'; }
.audience-detail h4 { margin: 8px 0; color: var(--ink); font-size: 13.5px; }
.audience-detail ul { margin: 8px 0 16px; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.audience-course-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: auto; gap: 2px; }
.audience-course-links .text-link { font-size: 12.5px; }
.audience-extra { margin-top: 24px; }
.audience-extra > summary { display: flex; align-items: center; justify-content: center; min-height: 48px; width: fit-content; max-width: 100%; margin: 0 auto 24px; padding: 11px 24px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--blue-dark); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-med); }
.audience-extra > summary:hover { border-color: #9bb4ed; background: #f4f7ff; box-shadow: var(--shadow-1); }
.is-filtered .audience-grid { grid-template-columns: minmax(0,1fr); max-width: 850px; }
.is-filtered .audience-extra > summary { display: none; }

/* ---------- 12. Course catalog ---------- */
.catalog-tools { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-bottom: 20px; }
.catalog-tools label { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 500; }
.catalog-tools input, .catalog-tools select { width: 100%; min-width: 0; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink); font-size: 16px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.catalog-status, .catalog-empty { margin: 16px 0; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.catalog-empty { padding: 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: #fff; }
.catalog-course + .catalog-course { margin-top: 40px; }
.catalog-course-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.catalog-course-heading h3 { color: var(--ink); font-size: 22px; line-height: 1.4; }
.catalog-course-heading h3 a:hover { color: var(--blue); }
.catalog-course-heading > span { color: var(--subtle); font-size: 13px; }
.catalog-topic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: start; }
.catalog-topic { min-width: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-med); }
.catalog-topic:hover, .catalog-topic[open] { border-color: #b9cbee; box-shadow: var(--shadow-1); }
.catalog-topic summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 15px 18px; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; }
.catalog-topic summary::after { content: '+'; flex: none; color: var(--blue); font-size: 20px; font-weight: 400; }
.catalog-topic[open] summary::after { content: '−'; }
.catalog-topic summary span { overflow-wrap: anywhere; }
.catalog-topic summary small { margin-left: auto; color: var(--subtle); font-size: 12px; font-weight: 400; white-space: nowrap; }
.catalog-topic ul { margin: 0; padding: 0 18px 12px; list-style: none; }
.catalog-topic li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }

/* ---------- 13. Responsive ---------- */
@media (min-width: 1021px) {
  .mobile-nav:not([hidden]) { display: none; }
}
@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 18px; }
  .header-actions { gap: 10px; }
  .brand-name { font-size: 16px; }
  .hero-grid { gap: 0 40px; }
  .prose-layout { grid-template-columns: 190px minmax(0,1fr); gap: 40px; }
  .contact-layout { gap: 43px; }
}
@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .header-inner > .brand { flex: 1; }
  .menu-toggle { display: inline-flex; }
  .home-hero { padding-block: 56px 60px; }
  .hero-board { padding: 16px 18px 6px; }
  .hero-board > .board-label { display: none; }
  .content-section { padding: 68px 0; }
  .section-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .content-card { padding: 26px; }
  .audience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 800px) {
  /* Picture becomes a 16:10 banner above the copy; the checklist card follows the copy as compact tags. */
  .hero-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "visual" "copy" "board"; gap: 26px; }
  .hero-photo { grid-area: visual; max-width: none; justify-self: stretch; aspect-ratio: 16/10; max-height: none; border-radius: var(--r-md); }
  .hero-visual { grid-area: board; align-self: stretch; justify-self: stretch; max-width: none; padding: 0; }
  .hero-board { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--line); box-shadow: var(--shadow-1); }
  .prose-layout { grid-template-columns: minmax(0,1fr); gap: 29px; }
  .page-toc { position: static; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
  .page-toc h2, .page-toc h3, .page-toc nav > p { margin-bottom: 12px; }
  .page-toc nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px 16px; max-height: 300px; }
  .page-toc nav a { min-height: 44px; font-size: 12.5px; }
  .page-toc summary { padding: 0; }
  .page-toc details[open] summary { padding-bottom: 14px; }
  .article-body { max-width: none; }
  .contact-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .contact-details p { max-width: 680px; }
}
@media (max-width: 700px) {
  .media-gallery, .media-video-grid { grid-template-columns: minmax(0,1fr); }
  .media-gallery { gap: 22px; }
  .media-example-copy { padding: 18px 20px 20px; }
  .media-example-figure figcaption { padding-inline: 20px; }
  .media-example-copy h3, .media-video-copy h3 { font-size: 21px; }
  .media-video-grid { gap: 24px; margin-top: 32px; padding-top: 32px; }
  .lesson-image { margin-block: 21px; }
}
@media (max-width: 650px) {
  .audience-grid, .audience-choice { grid-template-columns: minmax(0,1fr); }
  .audience-card { padding: 23px 20px; }
  .audience-card h3 { font-size: 20px; }
  .audience-avatar { width: 66px; height: 66px; }
  .catalog-tools, .catalog-topic-grid { grid-template-columns: minmax(0,1fr); }
  .catalog-course-heading h3 { font-size: 20px; }
  .catalog-topic summary { padding-inline: 15px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 86px; }
  .container, .header-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 68px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand-name { font-size: 14px; line-height: 1.3; }
  .header-inner .brand-note { display: none; }
  .header-actions { gap: 4px; }
  .language-select { width: 62px; font-size: 12px; padding-inline: 3px; }
  .header-actions .button { padding: 10px 13px; font-size: 12px; }
  /* Menu keeps its accessible name but shows only the icon, so the top bar is not crowded. */
  .menu-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .menu-toggle { padding-inline: 11px; font-size: 16px; }
  .mobile-nav { padding: 8px 16px 14px; }
  .mobile-nav a { font-size: 14.5px; min-height: 48px; }
  .page-hero { padding: 34px 0 38px; }
  .page-hero h1 { font-size: clamp(2rem,9vw,2.4rem); line-height: 1.15; }
  .page-lead { font-size: 15.5px; line-height: 1.75; margin-top: 18px; }
  .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .hero-actions { gap: 10px 14px; margin-top: 24px; }
  .hero-actions > a:not(.button) { font-size: 13px; }
  .hero-actions .button { flex: 1 1 100%; }
  .button { min-height: 48px; padding: 11px 18px; font-size: 14px; }
  .home-hero { padding-block: 20px 38px; }
  .home-hero h1 { font-size: clamp(2.1rem,9.2vw,2.5rem); }
  .home-hero .page-lead { font-size: 15px; }
  .hero-grid { gap: 22px; }
  .hero-board { column-gap: 12px; padding: 16px 16px 4px; }
  .hero-board > h2 { font-size: 16px; }
  .board-row { padding-block: 10px; gap: 8px; font-size: 12.5px; }
  .content-section { padding-block: 54px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: clamp(1.6rem,7vw,1.85rem); line-height: 1.25; }
  .section-heading p { font-size: 15px; margin-top: 14px; }
  .section-grid, .section-grid.two-columns { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .content-card { padding: 25px 23px 21px; }
  .content-card h3 { font-size: 20px; }
  .content-card p { font-size: 14.5px; }
  .card-tag { margin-bottom: 14px; }
  .catalog-stat { margin-bottom: 30px; }
  .prose-layout { gap: 26px; padding-block: 36px 56px; }
  .page-toc { padding: 14px 16px; }
  .page-toc nav { grid-template-columns: minmax(0,1fr); gap: 2px; }
  .page-toc nav a { font-size: 13px; }
  .article-section { scroll-margin-top: 97px; }
  .article-section + .article-section { margin-top: 32px; padding-top: 30px; }
  .article-section h2 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 16px; }
  .article-section h3 { font-size: 19px; }
  .article-section p, .article-section ul, .article-section ol { font-size: 15px; line-height: 1.8; }
  .article-section ul, .article-section ol { padding-left: 20px; }
  .steps-list > li { padding: 20px 0 22px 44px; }
  .steps-list > li::before { top: 20px; width: 28px; height: 28px; font-size: 12px; }
  .step-heading { font-size: 17px; }
  .steps-list > li > p { font-size: 14px; }
  .prompt-block { padding: 0 16px 16px; margin-block: 21px; }
  .prompt-block pre { font-size: 12.5px; padding-top: 19px; }
  .reference-table th, .reference-table td, .table-scroll th, .table-scroll td { padding: 12px 14px; }
  .notice { padding: 14px 16px; font-size: 13px; }
  .resource-meta { font-size: 12px; }
  .faq-list summary { font-size: 15px; padding-block: 18px; }
  .faq-list details > p, .faq-list details > div { font-size: 14px; padding-bottom: 19px; }
  .breadcrumb { font-size: 12px; margin-bottom: 20px; }
  .video-frame { margin-block: 20px; }
  .video-frame > p { font-size: 13px; padding: 18px; }
  .download-list { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .download-list a { min-height: 50px; font-size: 13.5px; }
  .related-links { gap: 8px 18px; }
  .related-links a { font-size: 13px; }
  .contact-details h2, .contact-details h3 { font-size: 24px; }
  .contact-details p { font-size: 14.5px; }
  .contact-details address { font-size: 15px; }
  .contact-form { padding: 25px 21px; border-radius: var(--r-md); }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; min-height: 48px; }
  .contact-form .form-row { grid-template-columns: minmax(0,1fr); gap: 0; }
  .contact-form .consent { font-size: 12.5px; }
  .site-footer { padding-block: 44px 24px; }
  .footer-grid { gap: 30px 21px; }
  .footer-links { gap: 0 18px; }
  .footer-links a, .footer-links button { min-height: 44px; font-size: 13px; padding-block: 8px; }
  .legal-line { padding-top: 22px; }
  .dialog-card { padding: 28px 22px; }
  .dialog-heading { font-size: 23px; padding-right: 39px; margin-bottom: 20px; }
  .dialog-close { top: 14px; right: 14px; }
  .media-filters { display: flex; width: 100%; }
  .media-filters button { flex: 1 1 auto; padding-inline: 10px; font-size: 12.5px; }
  .compare-controls { padding-inline: 18px; }
  .compare-label-before, .compare-label-after { max-width: calc(50% - 23px); font-size: 10px; padding: 5px 9px; }
  .media-video-frame video { max-height: min(70vh,560px); }
}
@media (max-width: 380px) {
  .header-inner { gap: 6px; }
  .brand { gap: 6px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 12.5px; }
  .language-select { width: 56px; font-size: 11px; }
  .header-actions .button { padding-inline: 9px; font-size: 11px; }
  .menu-toggle { padding-inline: 9px; }
  .page-hero h1 { font-size: 1.95rem; }
  .home-hero h1 { font-size: 2rem; }
  .hero-board { grid-template-columns: minmax(0,1fr); padding-inline: 16px; }
  .content-card { padding-inline: 21px; }
  .contact-form { padding-inline: 18px; }
  .footer-grid, .footer-links { grid-template-columns: minmax(0,1fr); }
}

/* Chinese headlines: keep each clause whole so 自己 is never split across lines. */
h1 .phrase { display: inline-block; }

/* ---------- 14. Motion (everything here is transform / opacity / filter, and opt-in) ---------- */
@media (hover: hover) and (pointer: fine) {
  .content-card, .media-example, .audience-card { transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med); }
  .content-card:hover, .content-card:focus-within, .media-example:hover, .media-example:focus-within, .audience-card:hover, .audience-card:focus-within { transform: translateY(-6px); border-color: #b4c8f0; box-shadow: var(--shadow-2); }
  .tone-navy .content-card:hover, .tone-navy .content-card:focus-within { border-color: rgba(157,185,255,.5); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
  .content-card:hover::before, .media-example:hover::before, .audience-card:hover::before { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveal: gentle rise only; never fully transparent (2026-11-05 user: cases/video looked deleted). */
  .motion-reveal:not(.is-visible) { transform: translateY(14px); } /* content is never hidden: ad visitors must always see images, video and cases */
  .motion-reveal.is-visible { animation: reveal-in var(--t-slow) var(--ease-out) var(--reveal-delay,0ms) backwards; }
  /* Hero entrance */
  .home-hero .hero-copy > * { animation: hero-rise 900ms var(--ease-out) backwards; }
  .home-hero .hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .home-hero .hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .home-hero .hero-copy > :nth-child(4) { animation-delay: 240ms; }
  .home-hero .hero-copy > :nth-child(5) { animation-delay: 320ms; }
  .hero-photo { animation: photo-in 1100ms var(--ease-out) 120ms backwards; }
  .hero-board { animation: hero-rise 900ms var(--ease-out) 420ms backwards; }
  .hero-board .board-row { animation: row-in 700ms var(--ease-out) backwards; }
  .hero-board .board-row:nth-of-type(1) { animation-delay: 700ms; }
  .hero-board .board-row:nth-of-type(2) { animation-delay: 800ms; }
  .hero-board .board-row:nth-of-type(3) { animation-delay: 900ms; }
  .hero-board .board-row:nth-of-type(4) { animation-delay: 1000ms; }
  .hero-board .board-check { animation: check-pop 520ms var(--ease-spring) backwards; }
  .hero-board .board-row:nth-of-type(1) .board-check { animation-delay: 820ms; }
  .hero-board .board-row:nth-of-type(2) .board-check { animation-delay: 920ms; }
  .hero-board .board-row:nth-of-type(3) .board-check { animation-delay: 1020ms; }
  .hero-board .board-row:nth-of-type(4) .board-check { animation-delay: 1120ms; }
  /* Slow ambient drift of the two background glows (compositor-only). */
  .home-hero::before { animation: glow-drift 28s ease-in-out infinite alternate; }
  .home-hero::after { animation: glow-drift 34s ease-in-out -12s infinite alternate-reverse; }
  .hero-actions .button.primary { position: relative; overflow: hidden; }
  .hero-actions .button.primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg,transparent 30%,rgba(255,255,255,.28) 50%,transparent 70%); transform: translateX(-130%); animation: button-sheen 1.4s 1.3s 2; pointer-events: none; }
  /* Filter / choice changes fade in softly; panels replay this each time they leave display:none. */
  .media-gallery, .media-video-grid > * { animation: fade-up var(--t-med) var(--ease-out) backwards; }
  .audience-card.is-picked { animation: pick-in 520ms var(--ease-out) backwards; }
  .catalog-status.is-updating { animation: status-bump var(--t-med) var(--ease-out); }
  .mobile-nav:not([hidden]) { animation: fade-down var(--t-med) var(--ease-out); }
  .dialog-overlay[open] { animation: dialog-in var(--t-med) var(--ease-out); }
  .dialog-overlay[open]::backdrop { animation: fade-in var(--t-med) ease-out; }
  .is-playing .video-state::before { animation: playing-cue 1.8s ease-in-out infinite; }
}
/* Height transitions for <details> where the browser supports it; elsewhere they simply open. */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .catalog-topic, .faq-list details, .audience-detail, .audience-extra { interpolate-size: allow-keywords; }
    .catalog-topic::details-content, .faq-list details::details-content, .audience-detail::details-content, .audience-extra::details-content { height: 0; overflow: hidden; transition: height var(--t-med) var(--ease-out), content-visibility var(--t-med) allow-discrete; }
    .catalog-topic[open]::details-content, .faq-list details[open]::details-content, .audience-detail[open]::details-content, .audience-extra[open]::details-content { height: auto; }
  }
}
/* Rule (ISSUE-22/27): page content animations never start transparent; only user-opened menus/dialogs may fade from 0. */
@keyframes reveal-in { from { opacity: .82; transform: translateY(14px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hero-rise { from { transform: translateY(16px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes photo-in { from { transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes row-in { from { transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes check-pop { from { transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes glow-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(70px,50px,0) scale(1.12); } }
@keyframes button-sheen { to { transform: translateX(130%); } }
@keyframes fade-up { from { transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pick-in { from { opacity: .85; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes status-bump { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes playing-cue { 0%,100% { box-shadow: 0 0 0 0 rgba(31,138,110,.35); } 50% { box-shadow: 0 0 0 6px rgba(31,138,110,0); } }

/* ---------- 14b. Flagship course page (/courses/office) and fuller case write-ups ---------- */
.flagship-section p { max-width: 68ch; color: var(--text); font-size: 15.5px; line-height: 1.8; overflow-wrap: anywhere; }
.flagship-section:not(.tone-navy) .section-heading p { color: var(--muted); }
.flagship-section.tone-navy .section-heading p { color: #b8c7dd; }
.flagship-section .section-heading { margin-bottom: 36px; }
.flagship-split { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 24px 64px; align-items: start; }
.flagship-split .section-heading { margin-bottom: 0; }
.overview-body p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.85; }
.overview-body p:last-child { margin-bottom: 0; }
.flagship-section .content-card h3 { font-size: 19px; }
.flagship-section .content-card p { max-width: none; margin-bottom: 0; font-size: 14.5px; }
.outcome-grid .content-card { border-left: 3px solid var(--blue); }
.method-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.tone-navy .method-grid .content-card p { color: #c3d1e6; }
.fit-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.fit-grid .content-card { padding: 24px 22px; }
.flagship-note { margin-top: 28px; padding: 16px 20px; border-left: 3px solid var(--teal); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--blue-wash); color: var(--ink) !important; font-weight: 500; }
.next-courses .section-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.module-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.module-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); scroll-margin-top: 110px; }
.module-index { margin: 0 0 10px; color: var(--blue); font-size: 11.5px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.module-card h3 { margin: 0 0 14px; color: var(--ink); font-size: 21px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; overflow-wrap: anywhere; }
.module-card > p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.module-card .module-output { padding: 12px 14px; border-radius: var(--r-sm); background: var(--blue-wash); color: var(--ink); }
.module-card .module-output strong { color: var(--blue-dark); }
.module-topics { margin-top: auto; padding-top: 6px; }
.module-card .module-topics-label { margin: 6px 0 10px; color: var(--subtle); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; }
.module-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.module-tags li { margin: 0; padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.example-body { max-width: 760px; }
.example-body p { margin: 0 0 16px; }
.example-body .prompt-block { margin: 8px 0 20px; }
.course-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 14px; margin: 0 0 28px; }
.course-facts > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); }
.course-facts dt { margin-bottom: 6px; color: var(--subtle); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; }
.course-facts dd { margin: 0; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.instructor-card h3 { margin: 0 0 14px; color: var(--ink); font-size: 20px; font-weight: 600; }
.instructor-body { display: flex; align-items: flex-start; gap: 20px; }
.instructor-photo { flex: none; width: 120px; height: 120px; border-radius: var(--r-md); object-fit: cover; }
.instructor-name { margin: 0 0 4px; color: var(--ink) !important; font-size: 18px !important; font-weight: 600; }
.instructor-title { margin: 0 0 10px; color: var(--muted) !important; }
.flagship-closing .section-heading p { color: #b8c7dd; }
.closing-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 18px 28px; margin: 0 0 32px; max-width: 980px; }
.closing-facts dt { margin-bottom: 4px; color: #8fb2ff; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; }
.closing-facts dd { margin: 0; color: #e4ecf8; font-size: 14.5px; line-height: 1.65; overflow-wrap: anywhere; }
.closing-facts a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.flagship-closing .button.primary { color: var(--navy); background: #fff; border-color: #fff; box-shadow: 0 10px 26px -12px rgba(0,0,0,.6); }
.flagship-closing .button.primary:hover { color: var(--navy); background: #e8f0ff; border-color: #e8f0ff; filter: none; }
.media-detail { margin: 18px 0 18px; padding: 16px 18px 6px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--surface); }
.media-detail h4 { margin: 0 0 6px; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.media-detail p { margin: 0 0 14px !important; font-size: 14px !important; }
.media-detail ol { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.media-detail li { margin: 4px 0; overflow-wrap: anywhere; }
@media (max-width: 1020px) {
  .method-grid, .fit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .flagship-split { grid-template-columns: minmax(0,1fr); gap: 20px; }
}
@media (max-width: 800px) {
  .module-grid, .next-courses .section-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  .method-grid, .fit-grid { grid-template-columns: minmax(0,1fr); }
  .module-card { padding: 24px 20px 20px; }
  .instructor-body { flex-direction: column; }
  .overview-body p { font-size: 15.5px; }
}

/* ---------- 14c. Office page hero photo, before/after tables, case strip, home featured course ---------- */
.office-hero { padding: 56px 0 60px; }
.office-hero .hero-photo { max-width: 520px; aspect-ratio: 5/4; max-height: 440px; background-position: center; }
.office-hero h1 { font-size: clamp(2.1rem,3.6vw,3.2rem); }
.sub-heading { margin: 40px 0 18px; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.home-course .content-card h4, .home-course .module-card h4 { margin: 0 0 10px; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.module-grid.compact { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.module-grid.compact .module-card { padding: 20px 18px 18px; }
.module-grid.compact .module-card > p { font-size: 13.5px; margin-bottom: 10px; }
.module-grid.compact .module-output { font-size: 13px !important; }
.ba-block { max-width: 1040px; }
.ba-intro { margin: 0 0 20px; }
.ba-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.ba-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); }
.ba-tag { margin: 0 0 10px; color: var(--blue); font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ba-scroll { border-radius: var(--r-sm); }
.table-scroll .ba-table { min-width: 0; font-size: 14px; line-height: 1.5; text-align: center; }
.ba-table caption { padding: 0 0 10px; color: var(--muted); font-size: 12.5px; font-weight: 500; text-align: left; caption-side: top; }
.ba-scroll th, .ba-scroll td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.ba-scroll th[scope="row"] { text-align: left; white-space: nowrap; }
.ba-table td.cell-empty { background: #fdecc8; color: #7a4a00; font-weight: 600; }
.ba-table td.cell-filled { background: #dcf3e4; color: #14532d; font-weight: 700; }
.ba-table tfoot th, .ba-table tfoot td { background: #eef3fa; color: var(--ink); font-weight: 700; border-top: 2px solid var(--line-strong); border-bottom: 0; }
.ba-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.ba-legend li { display: flex; align-items: center; gap: 8px; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(11,27,51,.18); }
.swatch-empty { background: #fdecc8; }
.swatch-filled { background: #dcf3e4; }
.flagship-section .ba-formula, .flagship-section .ba-note { margin: 12px 0 0; font-size: 14px; }
.ba-formula code { padding: 2px 7px; border-radius: 6px; background: var(--blue-wash); color: var(--blue-dark); font-weight: 600; }
.ba-block > .text-link { display: inline-flex; margin-top: 16px; }
.case-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.case-mini { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; }
.case-mini-media { position: relative; display: block; aspect-ratio: 4/3; background: var(--surface); overflow: hidden; }
.case-mini-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-mini-media.is-video img { object-position: center 30%; }
.case-mini-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(11,27,51,.66); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .03em; }
.play-badge { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 6px 18px rgba(11,27,51,.35); }
.play-badge::after { content: ''; position: absolute; left: 17px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--blue-dark); }
.case-mini-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.case-mini-body h3 { margin: 0; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.4; }
.flagship-section .case-mini-body p { margin: 0; font-size: 14px; }
.case-mini-body .text-link { margin-top: 4px; }
.flagship-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 36px; }
@media (max-width: 1020px) {
  .module-grid.compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .case-strip { gap: 14px; }
}
@media (max-width: 800px) {
  .office-hero { padding-block: 20px 34px; }
  .office-hero .hero-photo { max-width: none; aspect-ratio: 16/9; max-height: 200px; }
  .ba-grid, .case-strip { grid-template-columns: minmax(0,1fr); }
  .case-mini-media { aspect-ratio: 16/9; }
}
@media (max-width: 600px) {
  .module-grid.compact { grid-template-columns: minmax(0,1fr); }
  .office-hero .breadcrumb { display: none; }
  .office-hero h1 { font-size: clamp(1.8rem,8vw,2.1rem); }
  .office-hero .page-lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.6; }
  .office-hero .hero-actions { margin-top: 16px; }
  .office-hero .hero-actions .button:not(.primary) { min-height: 42px; }
  .ba-card { padding: 12px; }
  .ba-scroll th, .ba-scroll td { padding: 8px 6px; }
  .flagship-cta .button { flex: 1 1 100%; }
}

/* ---------- 14b. Conversion UI: pill consult buttons, section CTA, mobile quick bar, back-to-top (2026-11-05) ---------- */
.button.pill { border-radius: 999px; }
.header-actions .button.pill { padding-inline: 20px; font-weight: 700; letter-spacing: .01em; border-color: transparent; background: linear-gradient(135deg,var(--blue) 0%,#1f77a8 100%); box-shadow: 0 8px 20px -8px rgba(36,92,228,.65); }
.header-actions .button.pill:hover { background: linear-gradient(135deg,var(--blue) 0%,#1f77a8 100%); border-color: transparent; filter: brightness(1.08); box-shadow: 0 14px 26px -10px rgba(36,92,228,.7); }
.cta-short { display: none; }
.section-cta { display: flex; justify-content: center; margin-top: 40px; }
.section-cta .button.pill { min-height: 52px; padding: 13px 32px; font-size: 15px; font-weight: 700; }
.flagship-cta .button.primary.pill, .hero-actions .button.primary.pill { padding-inline: 28px; font-weight: 700; }
.quick-bar { display: none; }
.to-top { position: fixed; right: 16px; bottom: 20px; z-index: 80; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--blue-dark); box-shadow: var(--shadow-2); cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-med) var(--ease-out); }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.to-top:active { transform: scale(.94); }
@media (max-width: 899px) {
  .quick-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 -1px 0 rgba(11,27,51,.1), 0 -8px 24px -12px rgba(11,27,51,.22); }
  .quick-bar > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 56px; padding: 6px 4px; border: 1.5px solid var(--blue); border-radius: 14px; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; transition: transform var(--t-fast) var(--ease-spring), filter var(--t-fast); -webkit-tap-highlight-color: transparent; }
  .quick-bar > *:active { transform: scale(.97); }
  .quick-bar span { max-width: 100%; overflow-wrap: anywhere; }
  .quick-call { background: #fff; color: var(--blue-dark); }
  .quick-zalo { background: #0068ff; border-color: #0068ff; color: #fff; }
  .quick-consult { background: var(--blue); color: #fff; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
  :root:has(.mobile-nav:not([hidden])) .quick-bar, :root:has(.mobile-nav:not([hidden])) .to-top, :root:has(dialog[open]) .quick-bar, :root:has(dialog[open]) .to-top { display: none; }
}
@media (max-width: 420px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header-actions .button.pill { padding-inline: 14px; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button.pill:hover { transform: translateY(-2px); }
  .button.pill:active { transform: scale(.97); }
}

/* ---------- 14d. Polish 2: line icons, logo, video poster, section pills, module timeline, swipe carousels, FAQ chevron, form check, table flash ---------- */
/* One icon set: inline SVG, 24px grid, 1.75px stroke, currentColor. */
.ico { display: block; flex: none; }
.ico-tile { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--blue-wash); color: var(--blue); }
.tone-navy .ico-tile { background: rgba(157,185,255,.14); color: #9db9ff; }
.card-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 16px; }
.card-top .ico-tile, .card-top .card-tag { margin: 0; }
.section-heading > .ico-tile { margin-bottom: 16px; }
.module-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.module-top .ico-tile { width: 40px; height: 40px; margin: 0; border-radius: 11px; }
.module-top .module-index { margin: 0; }
.quick-bar .ico { width: 20px; height: 20px; }

/* Video: custom poster layer (shown by script only); the native player stays underneath with its controls. */
.video-stage { position: relative; border-radius: var(--r-md); }
.video-overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); background: linear-gradient(180deg,rgba(11,27,51,.34) 0%,rgba(11,27,51,.08) 42%,rgba(11,27,51,.78) 100%), var(--poster) center/contain no-repeat #0f1a28; cursor: pointer; }
.video-chip { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(11,27,51,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .02em; }
.video-play { position: relative; display: grid; place-items: center; width: 84px; height: 84px; padding: 0; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(36,92,228,.84); color: #fff; backdrop-filter: blur(10px) saturate(1.5); -webkit-backdrop-filter: blur(10px) saturate(1.5); box-shadow: 0 16px 36px -10px rgba(11,27,51,.75), inset 0 1px 0 rgba(255,255,255,.4); cursor: pointer; transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast); }
.video-play-icon { display: grid; place-items: center; margin-left: 4px; }
.video-play:hover { background: rgba(36,92,228,.95); }
.video-play:active { transform: scale(.95); }
.video-play:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.video-overlay-title { position: absolute; left: 18px; right: 18px; bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.45; text-shadow: 0 1px 10px rgba(0,0,0,.45); text-wrap: balance; }
@media (hover: hover) and (pointer: fine) { .video-overlay:hover .video-play { transform: scale(1.06); } }
@media (prefers-reduced-motion: no-preference) {
  .video-play::after { content: ''; position: absolute; inset: -9px; border: 2px solid rgba(255,255,255,.5); border-radius: 50%; animation: play-ring 2.6s ease-out infinite; pointer-events: none; }
}
@keyframes play-ring { from { transform: scale(.88); opacity: .85; } to { transform: scale(1.3); opacity: 0; } }

/* Sticky section pills on /courses/office. */
:root:has([data-section-nav]) { scroll-padding-top: calc(var(--header-h,85px) + 64px); }
.section-nav { position: sticky; top: var(--header-h,85px); z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.section-nav ul { position: relative; display: flex; gap: 6px; margin: 0; padding: 8px 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav li { flex: none; }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast); }
.section-nav a:hover { color: var(--blue); background: var(--surface); }
.section-nav a[aria-current] { color: var(--blue-dark); background: var(--blue-wash); box-shadow: inset 0 0 0 1px #c6d6fb; }

/* Module timeline: numbered nodes on a rail above the cards (desktop); swipe carousel below 768px. */
.module-grid.timeline { --tl-gap: 24px; gap: 68px var(--tl-gap); padding-top: 40px; }
.module-grid.timeline.compact { --tl-gap: 16px; gap: 68px var(--tl-gap); }
.module-node { position: absolute; z-index: 1; top: -40px; left: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; box-shadow: 0 0 0 5px #fff, 0 6px 14px -6px rgba(36,92,228,.65); }
.module-grid.timeline .module-card::before { content: ''; position: absolute; top: -25px; left: 32px; right: calc(-1 * var(--tl-gap)); height: 2px; border-radius: 2px; background: linear-gradient(90deg,var(--blue),#c3d3f8); }
.module-grid.timeline .module-card:last-child::before { display: none; }
@media (min-width: 768px) and (max-width: 1179px) {
  .module-grid.timeline:not(.compact) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .module-grid.timeline:not(.compact) .module-card:nth-child(2n)::before { display: none; }
}
@media (min-width: 768px) and (max-width: 1020px) {
  .module-grid.timeline.compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .module-grid.timeline.compact .module-card:nth-child(2n)::before { display: none; }
}
@media (min-width: 1021px) { .module-grid.timeline.compact .module-card:nth-child(4n)::before { display: none; } }
@media (min-width: 1180px) {
  .module-grid.timeline:not(.compact) { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .module-grid.timeline:not(.compact) .module-card:nth-child(4n)::before { display: none; }
}
.carousel-dots { display: none; }
.module-grid.compact .module-top .ico-tile { width: 36px; height: 36px; }
@media (max-width: 767px) {
  .module-grid.timeline, .audience-grid[data-carousel] { display: flex; flex-wrap: nowrap; gap: 12px; margin-inline: -16px; padding: 16px 16px 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .module-grid.timeline { --tl-gap: 12px; padding-top: 48px; }
  .module-grid.timeline::-webkit-scrollbar, .audience-grid[data-carousel]::-webkit-scrollbar { display: none; }
  .module-grid.timeline .module-card, .audience-grid[data-carousel] .audience-card { flex: 0 0 min(82%,320px); scroll-snap-align: start; }
  .module-grid.timeline .module-card { padding: 22px 20px 20px; }
  .module-grid.timeline .module-node { left: 2px; }
  .carousel-dots { display: flex; align-items: center; justify-content: center; gap: 6px; height: 22px; margin-top: 4px; }
  .carousel-dots span { width: 6px; height: 6px; border-radius: 99px; background: var(--line-strong); transition: width var(--t-med) var(--ease-out), background-color var(--t-med); }
  .carousel-dots span.is-active { width: 20px; background: var(--blue); }
  .is-filtered .audience-grid[data-carousel] { display: grid; grid-template-columns: minmax(0,1fr); margin-inline: 0; padding: 0; overflow: visible; }
  .is-filtered .carousel-dots { display: none; }
}

/* FAQ: rotating chevron instead of +/-. Height animation comes from ::details-content (section 14). */
.faq-list summary::after { content: ''; position: absolute; top: 50%; right: 0; width: 22px; height: 22px; margin-top: -11px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; font-size: 0; transition: transform var(--t-med) var(--ease-out); }
.faq-list details[open] > summary::after { content: ''; transform: rotate(180deg); }

/* Enquiry success: animated check above the saved message (static when motion is reduced). */
.form-check { display: flex; justify-content: center; margin: 10px 0 2px; color: #1f8a6e; }
.form-check svg { width: 56px; height: 56px; }
.check-ring, .check-mark { stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; }
@media (prefers-reduced-motion: no-preference) {
  .form-check:not([hidden]) svg { animation: check-pop 520ms var(--ease-spring) backwards; }
  .form-check:not([hidden]) .check-ring { animation: check-draw 620ms var(--ease-out) backwards; }
  .form-check:not([hidden]) .check-mark { animation: check-draw 380ms var(--ease-out) 420ms backwards; }
}
@keyframes check-draw { from { stroke-dashoffset: 100; } }

/* Before/after: filled cells flash amber to green in sequence (--d set by script); without it the final colours show. */
.ba-table tfoot td, .ba-table td { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .ba-after.is-flashing td.cell-filled { animation: ba-fill 560ms var(--ease-out) var(--d,0ms) backwards; }
}
@keyframes ba-fill { from { background: #fdecc8; color: #7a4a00; } }

/* ---------- 15. Reduced motion: no transforms, blur, drift, count-up or sway; content is immediately visible ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .motion-reveal, .motion-reveal.is-visible { opacity: 1 !important; transform: none !important; filter: none !important; }
  .content-card:hover, .media-example:hover, .audience-card:hover, .content-card:focus-within, .media-example:focus-within, .audience-card:focus-within, .button:active, .download-list a:hover { transform: none !important; }
  .site-header::after { display: none; }
  .arrow, .text-link > span[aria-hidden] { transform: none !important; }
}
