@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&family=Caveat+Brush&family=Noto+Sans+Arabic:wght@400;500;600;700&family=Schibsted+Grotesk:wght@400;500;600;700&display=swap');

/* Studio 6: one authoritative layer. Public pages are editorial; product pages are quiet. */
:root {
  --pf-blue: #2457a6;
  --pf-blue-dark: #183f7b;
  --pf-blue-soft: #eaf1fb;
  --pf-green: #17a567;
  --pf-green-dark: #0d7649;
  --pf-green-soft: #e8f7f0;
  --pf-green-stage: oklch(48% .135 155);
  --pf-green-deep: oklch(31% .085 155);
  --pf-green-mint: oklch(88% .105 155);
  --pf-green-wash: oklch(97% .018 155);
  --pf-on-green: oklch(96% .015 155);
  /* Warm marigold accent — used sparingly on the catchiest conversion elements
     (primary CTAs, featured flags). Always paired with ink text for contrast. */
  --pf-amber: #f4b942;
  --pf-amber-dark: #d89a1c;
  --pf-amber-soft: #fdf1d5;
  --pf-amber-ink: #7a5408;
  --pf-ink: #10233f;
  --pf-ink-2: #263b57;
  --pf-muted: #5c6b7e;
  --pf-line: #dce4ee;
  --pf-line-strong: #c8d3e0;
  --pf-paper: #f7f9fc;
  --pf-white: #fff;
  --pf-danger: #c63f48;
  /* Semantic aliases: components consume intent while the original PharmaFacts
     palette remains the single source of truth. */
  --color-brand-primary: var(--pf-blue);
  --color-brand-primary-strong: var(--pf-blue-dark);
  --color-brand-secondary: var(--pf-green);
  --color-brand-accent: var(--pf-amber);
  --color-background: var(--pf-paper);
  --color-surface: var(--pf-white);
  --color-surface-elevated: var(--pf-white);
  --color-text-primary: var(--pf-ink);
  --color-text-secondary: var(--pf-muted);
  --color-border: var(--pf-line);
  --color-success: var(--pf-green-dark);
  --color-warning: var(--pf-amber-ink);
  --color-error: var(--pf-danger);
  --color-focus: var(--pf-blue);
  --font-brand: "Schibsted Grotesk", "Noto Sans Arabic", sans-serif;
  --font-ui: "Schibsted Grotesk", "Noto Sans Arabic", system-ui, sans-serif;
  --font-greeting-latin: "Caveat Brush", "Schibsted Grotesk", cursive;
  --font-greeting-arabic: "Aref Ruqaa", "Noto Sans Arabic", serif;
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 16px;
  --button-radius: 999px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --container: 1240px;
  --shadow-small: 0 8px 20px rgba(16, 35, 63, .08);
  --layer-sticky: 20;
  --layer-nav: 40;
  --layer-backdrop: 60;
  --layer-drawer: 70;
  --layer-alert: 80;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--pf-ink);
  background: var(--pf-white);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html[dir="rtl"] body { font-family: "Noto Sans Arabic", var(--font-ui); }
body::before, body::after { content: none !important; }
body.nav-open, body.dashboard-menu-open, body.curriculum-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { color: var(--pf-muted); letter-spacing: 0; }
h1, h2, h3, h4, h5, h6 {
  color: var(--pf-ink);
  font-family: var(--font-brand);
  letter-spacing: -.035em;
  line-height: 1.06;
}
em { color: inherit; font-family: inherit; font-style: normal; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.content-shell { max-width: 760px; }
.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
/* Scroll reveals — active only when JS opts a page in (html.js-reveal); public
   pages get it, product/admin and the homepage (own system) do not. */
[data-reveal] { opacity: 1; }
html.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--rd, 0s); will-change: opacity, transform; }
html.js-reveal [data-reveal="scale"] { transform: scale(.95); }
html.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; } }
.scroll-progress { display: none !important; }
.icon { width: 18px; height: 18px; fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { z-index: 100; }

/* Actions */
.btn {
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font: 600 .9rem/1 var(--font-ui);
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  background-clip: padding-box;
  transform: none !important;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease), filter 120ms ease;
}
.btn:hover { transform: none !important; }
.btn:active { filter: brightness(.94) saturate(.96); box-shadow: inset 0 2px 5px rgba(16, 35, 63, .22); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .48; cursor: not-allowed; box-shadow: none; pointer-events: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(36, 87, 166, .28); outline-offset: 3px; }
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: .95rem; }
.btn--primary { background: linear-gradient(112deg, color-mix(in srgb, var(--pf-blue) 86%, #fff), var(--pf-blue) 48%, var(--pf-blue-dark)); color: #fff; box-shadow: 0 12px 24px -12px rgba(36, 87, 166, .5), inset 0 1px 0 rgba(255,255,255,.24); }
.btn--primary:hover { background: linear-gradient(112deg, var(--pf-blue), var(--pf-blue-dark)); box-shadow: 0 16px 30px -12px rgba(36, 87, 166, .55), inset 0 1px 0 rgba(255,255,255,.2); }
/* Amber accent CTA — the catchy conversion action (nav + explicit .btn--accent). Ink text. */
.btn--nav, .btn--accent { background: linear-gradient(112deg, #f9c95f, var(--pf-amber) 58%, var(--pf-amber-dark)); color: var(--pf-ink); box-shadow: 0 12px 24px -13px rgba(216, 154, 28, .7), inset 0 1px 0 rgba(255,255,255,.38); }
.btn--nav:hover, .btn--accent:hover { background: var(--pf-amber-dark); color: var(--pf-ink); box-shadow: 0 16px 30px -13px rgba(216, 154, 28, .75); }
.btn--secondary, .btn--quiet { background: #fff; color: var(--pf-ink); border-color: var(--pf-line-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.btn--secondary:hover, .btn--quiet:hover { border-color: var(--pf-blue); color: var(--pf-blue); }
.btn--light { background: #fff; color: var(--pf-blue-dark); box-shadow: 0 12px 24px -14px rgba(16, 35, 63, .28); }
.btn--success { background: linear-gradient(112deg, #25b879, var(--pf-green), var(--pf-green-dark)); color: #fff; box-shadow: 0 12px 24px -12px rgba(23, 165, 103, .45), inset 0 1px 0 rgba(255,255,255,.22); }
.btn--block { width: 100%; }
.plain-link, .text-link { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--pf-blue); font-weight: 650; text-decoration: none; }
.plain-link span, .text-link svg { transition: transform 180ms var(--ease); }
.plain-link:hover span, .text-link:hover svg { transform: translateX(4px); }
.badge, .chip { border-radius: 999px; font-size: .75rem; font-weight: 650; letter-spacing: 0; }
.badge--blue, .chip--active { background: var(--pf-blue-soft); color: var(--pf-blue-dark); }
.badge--green { background: var(--pf-green-soft); color: var(--pf-green-dark); }
.badge--amber { background: var(--pf-amber-soft); color: var(--pf-amber-ink); }
.badge--aqua { background: var(--pf-green-soft); color: var(--pf-green-dark); }
.badge--muted { background: #edf1f5; color: var(--pf-muted); }
.badge--error { background: #faeaec; color: var(--pf-danger); }
button, [role="button"], summary, input, select, textarea { touch-action: manipulation; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--pf-danger); box-shadow: 0 0 0 3px rgba(198, 63, 72, .12); }

/* Navigation */
.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: var(--layer-nav);
  background: transparent;
  border: 0;
  padding-top: var(--s-4);
}
/* Persistent public navigation; the learner workspace uses the same shell as a
   sticky orientation anchor so deep pages never lose their route back out. */
.ns-pages .site-nav, .ns-catalog .site-nav { position: fixed; }
.ns-dashboard { --nav-height: 88px; }
.ns-dashboard .site-nav { position: sticky; display: block; background: var(--pf-paper); }
.ns-dashboard .site-nav.nav--scrolled { padding-top: var(--s-4); }
.site-nav.nav--scrolled { padding-top: 10px; }
.site-nav.nav--scrolled .site-nav__inner { box-shadow: 0 16px 36px -16px rgba(16, 35, 63, .26); }
.site-nav__inner {
  min-height: 72px;
  padding: 8px 8px 8px 16px;
  border: 1px solid rgba(200, 211, 224, .86);
  border-radius: var(--r-3);
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 20px rgba(16,35,63,.07);
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.site-nav__brand { display: inline-flex; align-items: center; gap: 9px; }
.site-nav__brand img { filter: none !important; }
.site-nav__mark { height: 38px; width: auto; }
.site-nav__word { height: 30px; width: auto; }
.site-nav__links { margin-inline: auto; gap: var(--s-5); }
.site-nav__links a, .site-nav__login { color: var(--pf-ink-2); font-size: .875rem; font-weight: 550; text-decoration: none; position: relative; white-space: nowrap; }
.site-nav__links a::after { content: ""; position: absolute; inset: auto 0 -8px; height: 2px; background: var(--pf-green); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); }
.site-nav__links a:hover::after, .site-nav__links a.is-active::after { transform: scaleX(1); }
.site-nav__actions { gap: var(--s-4); }
.site-nav .btn--nav { min-height: 48px; padding-inline: 16px; }
.language-switcher summary { min-height: 44px; border: 0; background: var(--pf-paper); border-radius: var(--button-radius); padding: 8px 14px; font-size: .8rem; }
.language-switcher__globe { color: var(--pf-blue); background: var(--pf-blue-soft); border-radius: var(--r-1); }
.language-switcher form { top: calc(100% + 8px); border: 1px solid var(--pf-line); border-radius: var(--r-2); box-shadow: var(--shadow-small); }
.language-switcher form button { min-height: 44px; }
.site-nav__toggle { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--pf-ink); display: none; padding: 0; position: relative; }
.site-nav__toggle span { position: absolute; left: 13px; width: 22px; height: 2px; border-radius: 0; background: #fff; transition: transform 220ms var(--ease), top 220ms var(--ease), opacity 140ms ease; }
.site-nav__toggle span:nth-child(1) { top: 16px; }
.site-nav__toggle span:nth-child(2) { top: 23px; }
.site-nav__toggle span:nth-child(3) { top: 30px; }
.nav-open .site-nav__toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .site-nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .site-nav__toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }
.mobile-nav__backdrop { position: fixed; inset: 0; z-index: var(--layer-backdrop); background: rgba(16,35,63,.44); opacity: 0; visibility: hidden; border: 0; transition: opacity 200ms ease; }
.mobile-nav { position: fixed; z-index: var(--layer-drawer); inset: 0 0 0 auto; width: min(420px, 92vw); padding: 20px 24px 24px; background: #fff; color: var(--pf-ink); transform: translateX(100%); visibility: hidden; transition: transform 240ms var(--ease), visibility 240ms; display: flex; flex-direction: column; }
.nav-open .mobile-nav { transform: translateX(0); visibility: visible; }
.nav-open .mobile-nav__backdrop { opacity: 1; visibility: visible; }
.mobile-nav__head { position: sticky; top: 0; z-index: 1; padding: 4px 0 var(--s-5); background: #fff; border-bottom: 1px solid var(--pf-line); }
.mobile-nav__head img { width: 160px; height: auto; filter: none !important; }
.mobile-nav__close { width: 44px; height: 44px; border-radius: var(--r-2); background: var(--pf-paper); border: 1px solid var(--pf-line); position: relative; }
.mobile-nav__close span { position: absolute; width: 20px; height: 2px; background: var(--pf-ink); left: 11px; top: 20px; }
.mobile-nav__close span:first-child { transform: rotate(45deg); }
.mobile-nav__close span:last-child { transform: rotate(-45deg); }
.mobile-nav > .overline { margin: 24px 0 8px; color: var(--pf-muted); }
.mobile-nav__links { gap: 0; }
.mobile-nav__links a { min-height: 64px; padding: 12px 0; border-bottom: 1px solid var(--pf-line); color: var(--pf-ink); font-size: 1.15rem; text-decoration: none; }
.mobile-nav__links a small { color: var(--pf-muted); font-size: .75rem; }
.mobile-language-switcher { margin-top: auto; padding-top: var(--s-5); border-top: 1px solid var(--pf-line); }
.mobile-language-switcher button { min-width: 44px; min-height: 44px; border-radius: var(--button-radius); }
.mobile-nav__head button, .password-control button, .alert__close { border-radius: 50%; }
.mobile-nav__actions { margin-top: var(--s-5); }
.mobile-nav__foot { color: var(--pf-muted); border: 0; padding-bottom: 0; }

/* Shared editorial markers */
.section-code { margin: 0 0 var(--s-5); color: var(--pf-muted); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.section-code span { display: inline-block; margin-right: var(--s-3); color: var(--pf-blue); font-variant-numeric: tabular-nums; }
.section-code--light { color: rgba(255,255,255,.66); }
.section-code--light span { color: #63d7a6; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.55; }

/* Home: editorial field guide */
.home-hero { min-height: 100vh; padding: 152px 0 0; background: var(--pf-paper); overflow: hidden; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .82fr); align-items: center; gap: var(--s-8); padding-bottom: var(--s-8); }
.home-hero__grid > * { min-width: 0; }
.home-hero__copy { padding-block: var(--s-7); }
.home-hero h1 { max-width: 820px; margin: 0; font-size: clamp(3.4rem, 6.7vw, 6rem); line-height: .98; letter-spacing: -.04em; font-weight: 500; }
.home-hero h1 strong { color: var(--pf-blue); font-weight: 650; }
.home-hero__lead { max-width: 640px; margin: var(--s-6) 0 0; color: var(--pf-ink-2); font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; }
.home-hero__actions { display: flex; align-items: center; gap: var(--s-5); margin-top: var(--s-6); }
.home-hero__note { max-width: 520px; margin: var(--s-6) 0 0; padding: var(--s-3) var(--s-4); border-radius: var(--r-2); background: var(--pf-green-soft); font-size: .9rem; }
.field-sheet { margin: 0; background: #fff; border-radius: var(--r-4); box-shadow: 14px 18px 0 #dfe8f4; overflow: hidden; transform: rotate(1.5deg); }
.field-sheet__image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.field-sheet__image img { width: 100%; height: 100%; object-fit: cover; }
.field-sheet__image > span { position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--pf-ink); border-radius: var(--r-1); padding: 7px 10px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.field-sheet figcaption { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); padding: var(--s-5); border-bottom: 1px solid var(--pf-line); }
.field-sheet__number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--pf-green); color: #fff; font-weight: 700; }
.field-sheet figcaption small { display: block; color: var(--pf-muted); font-size: .75rem; }
.field-sheet figcaption strong { display: block; margin-top: 4px; font-size: 1.05rem; line-height: 1.35; }
.field-sheet__steps { list-style: none; padding: 8px 24px 24px; margin: 0; }
.field-sheet__steps li { display: flex; gap: var(--s-4); padding: 12px 0; border-bottom: 1px solid var(--pf-line); color: var(--pf-ink-2); font-size: .9rem; }
.field-sheet__steps li:last-child { border-bottom: 0; }
.field-sheet__steps span { color: var(--pf-blue); font-size: .75rem; font-weight: 700; }
.promise-index { min-height: 80px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--pf-line-strong); }
.promise-index > span { display: flex; align-items: center; gap: var(--s-3); padding: 16px 20px; border-right: 1px solid var(--pf-line-strong); color: var(--pf-ink-2); font-size: .82rem; }
.promise-index > span:first-child { border-left: 1px solid var(--pf-line-strong); }
.promise-index b { color: var(--pf-green); font-size: .72rem; }

.practice-gap { background: #fff; }
.practice-gap__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-8); }
.practice-gap__title h2, .editorial-head h2, .learning-life h2 { max-width: 720px; margin: 0; font-size: clamp(2.5rem, 4.8vw, 4.5rem); }
.practice-gap__title h2 em, .editorial-head h2 em, .learning-life h2 em, .home-faq h2 em { color: var(--pf-blue); }
.practice-gap__copy { padding-top: var(--s-7); }
.practice-gap__copy p:last-child { max-width: 650px; }
.capability-list { grid-column: 1/-1; list-style: none; padding: var(--s-7) 0 0; margin: var(--s-7) 0 0; border-top: 1px solid var(--pf-line-strong); display: grid; grid-template-columns: repeat(3, 1fr); }
.capability-list li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); padding: 0 var(--s-6); border-right: 1px solid var(--pf-line); }
.capability-list li:first-child { padding-left: 0; }
.capability-list li:last-child { border-right: 0; }
.capability-list > li > span { color: var(--pf-green); font-size: .78rem; font-weight: 700; }
.capability-list h3 { margin: 0 0 8px; font-size: 1.5rem; }
.capability-list p { margin: 0; font-size: .95rem; }

.case-study { background: var(--pf-ink); }
.case-study__grid { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 720px; }
.case-study__photo { margin: 0; position: relative; min-height: 720px; }
.case-study__photo img { width: 100%; height: 100%; object-fit: cover; }
.case-study__photo figcaption { position: absolute; inset: auto 24px 24px; max-width: 420px; padding: 12px 16px; background: #fff; color: var(--pf-ink); border-radius: var(--r-2); font-size: .85rem; font-weight: 600; }
.case-study__content { display: flex; flex-direction: column; justify-content: center; padding: var(--s-8); }
.case-study__content h2 { margin: 0; color: #fff; font-size: clamp(2.4rem, 4vw, 4.1rem); }
.case-study__content h2 em { color: #63d7a6; }
.case-study__content > p:not(.section-code) { max-width: 560px; margin-top: var(--s-5); color: rgba(255,255,255,.7); }
.case-study blockquote { margin: var(--s-6) 0; padding: var(--s-5) 0; border-block: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 1.4rem; }
.case-study .btn { align-self: flex-start; }

.editorial-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-7); margin-bottom: var(--s-7); }
.editorial-head h2 { max-width: 820px; }
.featured-learning__layout { display: grid; grid-template-columns: 1.45fr .75fr; gap: var(--s-7); }
.feature-course { border-bottom: 1px solid var(--pf-line-strong); }
.feature-course__media { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--r-4); }
.feature-course__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.feature-course__media:hover img { transform: scale(1.025); }
.feature-course__media > span { position: absolute; left: 16px; top: 16px; padding: 8px 12px; border-radius: var(--r-1); background: var(--pf-green); color: #fff; font-size: .75rem; font-weight: 700; }
.feature-course__body { padding: var(--s-5) 0 var(--s-6); }
.feature-course__body > small, .course-index small { color: var(--pf-blue); font-size: .75rem; font-weight: 650; }
.feature-course__body h3 { margin: 8px 0 12px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.feature-course__body h3 a { text-decoration: none; }
.feature-course__body p { max-width: 660px; }
.feature-course__body > div { margin-top: var(--s-5); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.feature-course__body > div > strong { font-size: 1.1rem; }
.course-index { border-top: 1px solid var(--pf-ink); }
.course-index > a { display: grid; grid-template-columns: 32px 1fr 24px; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--pf-line); text-decoration: none; }
.course-index > a > span { color: var(--pf-green); font-size: .75rem; font-weight: 700; }
.course-index h3 { margin: 4px 0 8px; font-size: 1.2rem; }
.course-index p { margin: 0; font-size: .84rem; line-height: 1.5; }
.course-index > a > b { color: var(--pf-blue); transition: transform 180ms var(--ease); }
.course-index > a:hover > b { transform: translateX(4px); }
.course-index__help { margin-top: var(--s-6); padding: var(--s-5); border: 1px solid var(--pf-green); border-radius: var(--r-2); background: var(--pf-paper); }
.course-index__help span { font-weight: 700; }
.course-index__help p { margin: 8px 0; }
.course-index__help a { color: var(--pf-blue); font-weight: 650; }

.learning-life { background: var(--pf-paper); overflow: hidden; }
.learning-life__layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: var(--s-9); }
.learning-life__copy > p:not(.section-code) { max-width: 620px; margin-top: var(--s-5); }
.learning-life dl { margin: var(--s-7) 0 0; }
.learning-life dl > div { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-5); padding: var(--s-4) 0; border-top: 1px solid var(--pf-line-strong); }
.learning-life dt { color: var(--pf-ink); font-weight: 700; }
.learning-life dd { margin: 0; color: var(--pf-muted); }
.learning-life__visual { position: relative; min-height: 680px; }
.learning-life__visual figure { width: 72%; height: 680px; margin: 0 0 0 auto; border-radius: var(--r-4); overflow: hidden; }
.learning-life__visual figure img { width: 100%; height: 100%; object-fit: cover; }
.lesson-slip { position: absolute; left: 0; bottom: 64px; width: 62%; padding: var(--s-5); background: #fff; border-top: 4px solid var(--pf-blue); box-shadow: 0 4px 8px rgba(16,35,63,.08); }
.lesson-slip small { display: block; color: var(--pf-green-dark); font-size: .72rem; font-weight: 700; }
.lesson-slip strong, .lesson-slip span { display: block; }
.lesson-slip strong { margin-top: 8px; font-size: 1.15rem; }
.lesson-slip span { color: var(--pf-muted); font-size: .82rem; }
.lesson-slip i { display: block; width: 68%; height: 4px; margin-top: var(--s-4); background: var(--pf-green); }

.evidence-section { padding: var(--s-9) 0 0; background: var(--pf-blue-dark); }
.evidence-section__head h2 { max-width: 1000px; margin: 0; color: #fff; font-size: clamp(2.7rem, 5.4vw, 5.2rem); }
.evidence-section__head h2 em { color: #63d7a6; }
.evidence-ledger { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--s-8); border-top: 1px solid rgba(255,255,255,.22); }
.evidence-ledger article { min-height: 300px; padding: var(--s-6) var(--s-5); border-right: 1px solid rgba(255,255,255,.18); }
.evidence-ledger article:first-child { border-left: 1px solid rgba(255,255,255,.18); }
.evidence-ledger span { color: #63d7a6; font-size: .75rem; font-weight: 700; }
.evidence-ledger h3 { margin: var(--s-7) 0 var(--s-4); color: #fff; font-size: 1.35rem; }
.evidence-ledger p { color: rgba(255,255,255,.68); font-size: .9rem; }

.learner-voices__list { margin-top: var(--s-6); border-top: 1px solid var(--pf-line-strong); }
.learner-voices figure { display: grid; grid-template-columns: 1fr 260px; gap: var(--s-8); margin: 0; padding: var(--s-6) 0; border-bottom: 1px solid var(--pf-line); }
.learner-voices blockquote { margin: 0; max-width: 800px; color: var(--pf-ink); font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.35; }
.learner-voices figcaption { display: flex; align-items: center; gap: var(--s-3); }
.learner-voices figcaption > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pf-blue-soft); color: var(--pf-blue); font-weight: 700; }
.learner-voices figcaption strong, .learner-voices figcaption small { display: block; }
.learner-voices figcaption small { color: var(--pf-muted); }

.home-faq__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: var(--s-9); }
.home-faq h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 3.8rem); }
.home-faq__grid > div:first-child > p:not(.section-code) { margin: var(--s-5) 0; }
.faq-list { border-top: 1px solid var(--pf-ink); }
.faq-list details { border-bottom: 1px solid var(--pf-line-strong); }
.faq-list summary { min-height: 72px; padding: 20px 48px 20px 0; color: var(--pf-ink); font-size: 1rem; font-weight: 650; list-style: none; cursor: pointer; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { position: absolute; right: 4px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); }
.faq-list summary > span::before, .faq-list summary > span::after { content: ""; position: absolute; background: var(--pf-blue); }
.faq-list summary > span::before { width: 14px; height: 2px; left: 3px; top: 9px; }
.faq-list summary > span::after { width: 2px; height: 14px; left: 9px; top: 3px; transition: transform 180ms ease; }
.faq-list details[open] summary > span::after { transform: rotate(90deg); }
.faq-list details > p { max-width: 740px; margin: -8px 0 24px; padding-right: 48px; }

.home-closing { padding-block: var(--s-9); background: var(--pf-green-dark); text-align: center; }
.home-closing p { color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.home-closing h2 { margin: var(--s-4) 0 var(--s-6); color: #fff; font-size: clamp(3rem, 7vw, 6rem); }

/* Catalogue: indexed library, not homepage cards */
.catalog-header { padding: 176px 0 var(--s-8); background: var(--pf-blue-soft); }
.catalog-header__inner { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: var(--s-8); }
.catalog-header .eyebrow, .page-hero .eyebrow { display: block; margin-bottom: var(--s-4); color: var(--pf-green-dark); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.catalog-header h1 { max-width: 780px; margin: 0; font-size: clamp(3.2rem, 6vw, 5.6rem); }
.catalog-header__inner > p { max-width: 460px; margin: 0 0 var(--s-2); font-size: 1.05rem; }
.catalog-main { background: #fff; }
.discovery-toolbar { display: grid; grid-template-columns: 1fr 220px auto; gap: var(--s-3); padding-bottom: var(--s-5); border-bottom: 1px solid var(--pf-line-strong); background: transparent; border-radius: 0; box-shadow: none; }
.search-control, .sort-control { min-height: 52px; border: 1px solid var(--pf-line-strong); border-radius: var(--r-2); background: #fff; }
.search-control:focus-within, .sort-control:focus-within { border-color: var(--pf-blue); box-shadow: 0 0 0 3px rgba(36,87,166,.12); }
.search-control input, .sort-control select { font: 500 .95rem var(--font-ui); }
.catalog-filters { margin: 0 0 var(--s-7); padding: var(--s-4) 0; border-bottom: 1px solid var(--pf-line); }
.catalog-filters__chips { gap: var(--s-2); }
.chip { min-height: 40px; padding: 9px 14px; border: 1px solid var(--pf-line); background: #fff; }
.chip--active { border-color: var(--pf-blue); }
.catalog-main .course-grid, .related-courses .course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--pf-ink); }
.catalog-main .course-card, .related-courses .course-card { display: grid; grid-template-columns: 42% 1fr; min-height: 330px; border: 0; border-bottom: 1px solid var(--pf-line-strong); border-radius: 0; box-shadow: none; overflow: visible; }
.catalog-main .course-card:nth-child(odd), .related-courses .course-card:nth-child(odd) { padding-right: var(--s-6); border-right: 1px solid var(--pf-line-strong); }
.catalog-main .course-card:nth-child(even), .related-courses .course-card:nth-child(even) { padding-left: var(--s-6); }
.catalog-main .course-card__media, .related-courses .course-card__media { min-height: 240px; height: calc(100% - 48px); margin-block: 24px; border-radius: var(--r-3); }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; }
.course-card__lessons { inset: auto 8px 8px auto; padding: 6px 9px; background: #fff; color: var(--pf-ink); border-radius: var(--r-1); box-shadow: none; font-size: .72rem; }
.catalog-main .course-card__body, .related-courses .course-card__body { padding: var(--s-5); }
.course-card__tags { gap: var(--s-2); }
.course-card__body h3 { margin: 12px 0; font-size: 1.35rem; }
.course-card__body p { font-size: .88rem; }
.course-card__facts { padding-top: var(--s-4); border-top: 1px solid var(--pf-line); color: var(--pf-muted); font-size: .76rem; }
.course-card__footer { margin-top: auto; padding-top: var(--s-4); border-top: 0; }
.course-card__link { color: var(--pf-blue); font-weight: 650; }

/* Course detail: evidence-led */
.course-detail-hero { padding: 152px 0 var(--s-8); background: var(--pf-ink); }
.breadcrumb { margin-bottom: var(--s-7); color: rgba(255,255,255,.58); font-size: .78rem; }
.breadcrumb a { color: #fff; }
.course-detail-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: var(--s-8); align-items: center; }
.course-detail-hero h1 { max-width: 780px; margin: var(--s-4) 0 var(--s-5); color: #fff; font-size: clamp(2.8rem, 5vw, 4.8rem); }
.course-detail-hero__grid > div:first-child > p { max-width: 680px; color: rgba(255,255,255,.68); font-size: 1.05rem; }
.course-hero-facts { margin-top: var(--s-6); padding: var(--s-4) 0; border-block: 1px solid rgba(255,255,255,.18); gap: var(--s-5); color: #fff; font-size: .82rem; }
.instructor-line { margin-top: var(--s-5); }
.instructor-line > span { background: var(--pf-green); color: #fff; }
.instructor-line small { color: rgba(255,255,255,.55); }
.instructor-line strong { color: #fff; }
.course-detail-hero__media { border-radius: var(--r-4); overflow: hidden; transform: none; }
.course-detail-hero__media img { aspect-ratio: 4/3; object-fit: cover; }
.course-detail-hero__media > span { position: static; display: flex; padding: var(--s-3) var(--s-4); background: var(--pf-green); color: #fff; border-radius: 0; font-size: .78rem; }
.course-promise { background: var(--pf-blue-soft); border-bottom: 1px solid var(--pf-line-strong); }
.course-promise .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.course-promise span { display: grid; grid-template-columns: 32px 1fr; padding: var(--s-5); border-right: 1px solid var(--pf-line-strong); }
.course-promise span:first-child { border-left: 1px solid var(--pf-line-strong); }
.course-promise b { grid-row: 1/3; color: var(--pf-green-dark); font-size: .72rem; }
.course-promise strong { font-size: .9rem; }
.course-promise small { margin-top: 4px; color: var(--pf-muted); line-height: 1.45; }
.course-detail { padding-top: var(--s-8); }
.course-detail__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-8); }
.course-detail__content > section { padding: 0 0 var(--s-8); margin-bottom: var(--s-8); border-bottom: 1px solid var(--pf-line-strong); }
.course-detail__content .eyebrow, .overline { color: var(--pf-blue); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.course-detail__content h2 { max-width: 720px; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.prose { max-width: 72ch; }
.outcomes > div { border-top: 1px solid var(--pf-line-strong); }
.outcomes article { min-height: 64px; padding: var(--s-4) 0; border-bottom: 1px solid var(--pf-line); border-radius: 0; background: transparent; }
.outcomes article > span { background: var(--pf-green-soft); color: var(--pf-green-dark); }
.course-context { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.course-context article { padding: var(--s-5); border: 1px solid var(--pf-line); border-radius: var(--r-3); background: var(--pf-paper); }
.syllabus__list { border-top: 1px solid var(--pf-ink); }
.syllabus details { border: 0; border-bottom: 1px solid var(--pf-line-strong); border-radius: 0; }
.syllabus summary { min-height: 76px; padding: var(--s-4) 0; }
.syllabus__number { color: var(--pf-green); }
.syllabus ul { padding: 0 0 var(--s-4) 48px; }
.syllabus li { border-radius: var(--r-1); background: var(--pf-paper); }
.enrol-card { position: sticky; top: var(--s-5); padding: var(--s-5); border: 1px solid var(--pf-line-strong); border-radius: var(--r-3); background: linear-gradient(var(--pf-blue) 0 0) top / 100% 4px no-repeat, #fff; box-shadow: none; }
.enrol-card__price { color: var(--pf-ink); font-size: 2.3rem; }
.enrol-card__trust { border-top: 1px solid var(--pf-line); }
.enrol-card__trust span { font-size: .82rem; }

/* Generic editorial pages */
.page-hero { padding: 176px 0 var(--s-8); background: var(--pf-paper); }
.page-hero h1 { max-width: 980px; margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); }
.page-hero .lead { max-width: 760px; margin-top: var(--s-5); }
.editorial-intro { grid-template-columns: .8fr 1.2fr; gap: var(--s-8); }
.editorial-intro h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.values-section { padding: var(--s-8) 0; background: var(--pf-blue-soft); }
.values-grid { display: grid; grid-template-columns: .8fr 1fr 1.2fr; gap: 0; border-top: 1px solid var(--pf-ink); }
.values-grid article { min-height: 320px; padding: var(--s-5); border-right: 1px solid var(--pf-line-strong); border-radius: 0; background: transparent; }
.values-grid article:last-child { border-right: 0; }
.values-grid article > span { color: var(--pf-green); }
.values-grid article .icon { margin: var(--s-7) 0 var(--s-4); color: var(--pf-blue); }
.about-instructor { grid-template-columns: 1.1fr .9fr; gap: var(--s-8); }
.about-instructor > div:first-child { border-radius: var(--r-4); overflow: hidden; }
.about-instructor img { width: 100%; height: 100%; object-fit: cover; }
.cta-panel { border-radius: var(--r-4); background: var(--pf-blue-dark); box-shadow: none; }

.contact-grid { grid-template-columns: 1.05fr .95fr; gap: var(--s-9); align-items: start; }
.contact-grid .card { border: 0; border-top: 1px solid var(--pf-ink); border-radius: 0; box-shadow: none; padding: var(--s-6) 0 0; }
.field label { color: var(--pf-ink); font-size: .85rem; }
.input, input.input, textarea.input, select.input { min-height: 48px; padding: 11px 12px; border: 1px solid var(--pf-line-strong); border-radius: var(--r-2); background: #fff; color: var(--pf-ink); font: 500 1rem var(--font-ui); box-shadow: none; }
textarea.input { min-height: 144px; }
.input:focus { border-color: var(--pf-blue); box-shadow: 0 0 0 3px rgba(36,87,166,.12); }
.contact-aside { padding: var(--s-6); border-radius: var(--r-2); background: linear-gradient(var(--pf-green) 0 0) top / 100% 4px no-repeat, var(--pf-paper); }
.contact-aside h2 { font-size: 2.5rem; }
.contact-aside > a:not(.btn), .contact-aside > div { border-color: var(--pf-line-strong); }

.faq-page-grid { grid-template-columns: 280px 1fr; gap: var(--s-9); }
.faq-page-grid > aside { position: sticky; top: var(--s-5); padding: var(--s-5); background: var(--pf-green-soft); border-radius: var(--r-2); }
.legal-shell { max-width: 820px; }
.legal-shell .prose { max-width: 72ch; }

.method-hero__grid, .contact-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-8); align-items: end; }
.method-hero h1 em, .contact-hero h1 em, .faq-hero h1 em, .catalog-header h1 em { color: var(--pf-blue); }
.method-hero__grid > .lead, .contact-hero__grid > .lead { margin: 0; }
.method-manifesto__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-8); align-items: center; }
.method-manifesto figure { height: 700px; margin: 0; border-radius: var(--r-4); overflow: hidden; }
.method-manifesto figure img { width: 100%; height: 100%; object-fit: cover; }
.method-manifesto h2, .method-proof h2, .contact-grid form > h2 { margin: 0 0 var(--s-5); font-size: clamp(2.2rem, 4vw, 3.8rem); }
.teaching-sequence { padding: var(--s-9) 0; background: var(--pf-ink); }
.teaching-sequence ol { list-style: none; margin: var(--s-7) 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); }
.teaching-sequence li { display: grid; grid-template-columns: 80px 1fr; gap: var(--s-5); padding: var(--s-6) 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.teaching-sequence li > span { color: #63d7a6; font-size: .78rem; font-weight: 700; }
.teaching-sequence li > div { display: grid; grid-template-columns: 280px 1fr; gap: var(--s-7); }
.teaching-sequence h2 { margin: 0; color: #fff; font-size: 2rem; }
.teaching-sequence p { max-width: 640px; margin: 0; color: rgba(255,255,255,.68); }
.method-proof__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s-8); }
.method-proof dl { margin: 0; border-top: 1px solid var(--pf-ink); }
.method-proof dl > div { display: grid; grid-template-columns: 160px 1fr; gap: var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--pf-line); }
.method-proof dt { color: var(--pf-blue); font-weight: 700; }
.method-proof dd { margin: 0; color: var(--pf-muted); }
.instructor-note { background: var(--pf-blue-soft); }
.instructor-note__grid { display: grid; grid-template-columns: 1fr 420px; gap: var(--s-9); align-items: center; }
.instructor-note h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.instructor-note figure { height: 560px; margin: 0; border-radius: var(--r-4); overflow: hidden; }
.instructor-note figure img { width: 100%; height: 100%; object-fit: cover; }

.contact-routes { background: #fff; }
.contact-routes nav { display: grid; grid-template-columns: repeat(4, 1fr); border-inline: 1px solid var(--pf-line-strong); border-bottom: 1px solid var(--pf-line-strong); }
.contact-routes a { min-height: 160px; padding: var(--s-5); border-right: 1px solid var(--pf-line-strong); text-decoration: none; transition: background 180ms ease; }
.contact-routes a:last-child { border-right: 0; }
.contact-routes a:hover { background: var(--pf-blue-soft); }
.contact-routes strong, .contact-routes small { display: block; }
.contact-routes strong { margin-top: var(--s-5); color: var(--pf-ink); }
.contact-routes small { margin-top: 4px; color: var(--pf-muted); }
.contact-aside__privacy { align-items: flex-start !important; margin-top: var(--s-6); padding: var(--s-4) 0 0 !important; border-top: 1px solid var(--pf-line-strong); }
.contact-aside__privacy p { margin: 0; font-size: .82rem; }

.faq-topics { border-bottom: 1px solid var(--pf-line-strong); background: #fff; }
.faq-topics nav { display: flex; gap: var(--s-6); min-height: 64px; align-items: center; overflow-x: auto; }
.faq-topics a { color: var(--pf-muted); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.faq-topics a:hover { color: var(--pf-blue); }

.catalog-header__note > span { display: block; margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--r-2); background: var(--pf-green-soft); color: var(--pf-ink-2); font-size: .84rem; }
.catalog-result-head { display: grid; grid-template-columns: 1fr 1fr; padding: 0 0 var(--s-3); color: var(--pf-muted); font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
.catalog-result-head span:last-child { padding-left: var(--s-6); }
.catalog-advice { display: flex; align-items: end; justify-content: space-between; gap: var(--s-7); margin-top: var(--s-8); padding: var(--s-7); border-radius: var(--r-3); background: var(--pf-blue-dark); }
.catalog-advice .section-code { margin-bottom: var(--s-4); }
.catalog-advice h2 { margin: 0; color: #fff; font-size: clamp(2rem, 3.5vw, 3.2rem); }

/* Footer: logo-safe, original colors */
.footer { background: var(--pf-paper); color: var(--pf-ink); }
.footer-callout { padding: var(--s-8) 0; border-bottom: 1px solid var(--pf-line-strong); }
.footer-callout h2 { max-width: 760px; color: var(--pf-ink); font-size: clamp(2rem, 4vw, 3.4rem); text-transform: none; letter-spacing: -.035em; font-weight: 600; line-height: 1.04; }
.footer-callout .btn--light { background: var(--pf-blue); color: #fff; box-shadow: 0 5px 0 var(--pf-blue-dark); }
.footer__top { padding: var(--s-8) 0; border: 0; }
.footer__intro img { width: 150px; height: auto; filter: none !important; }
.footer__intro p, .footer nav a, .footer__bottom, .footer-trust { color: var(--pf-muted); }
.footer nav h2 { color: var(--pf-ink); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.footer nav a:hover { color: var(--pf-blue); }
.footer__status, .footer__status i { color: var(--pf-green-dark); }
.footer-trust { border-color: var(--pf-line-strong); }
.footer-trust b { background: #fff; border-color: var(--pf-line-strong); color: var(--pf-ink); }
.footer__bottom { background: var(--pf-ink); color: rgba(255,255,255,.7); }

/* Account and checkout: compact, reassuring task flows */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(480px, .86fr) minmax(520px, 1.14fr); background: #fff; }
.auth-shell__form { padding: 128px max(32px, 8vw) 64px; display: flex; align-items: center; }
.auth-card { width: min(100%, 520px); margin-inline: auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.auth-card__back { margin-bottom: var(--s-8); color: var(--pf-muted); font-size: .875rem; }
.auth-card .eyebrow { color: var(--pf-green-dark); font-size: .75rem; }
.auth-card h1 { margin: var(--s-3) 0 var(--s-3); font-size: 2rem; letter-spacing: -.025em; }
.auth-card__subtitle { font-size: 1rem; }
.auth-form { margin-top: var(--s-6); }
.auth-form .field { margin-bottom: var(--s-4); }
.auth-form label { font-size: .875rem; }
.auth-shell__visual { position: relative; padding: 136px 8vw 64px; background: var(--pf-blue-dark); overflow: hidden; }
.auth-shell__visual::before { content: "PF"; position: absolute; right: -32px; bottom: -96px; color: rgba(255,255,255,.04); font: 700 22rem/1 var(--font-brand); letter-spacing: -.08em; }
.auth-shell__visual-copy { position: relative; max-width: 620px; }
.auth-shell__visual-copy .kicker { color: #63d7a6; font-size: .75rem; }
.auth-shell__visual-copy h2 { margin: var(--s-5) 0; color: #fff; font-size: clamp(2.4rem, 4.2vw, 4rem); }
.auth-shell__visual-copy p { color: rgba(255,255,255,.7); font-size: 1.05rem; }
.auth-preview { position: relative; max-width: 560px; margin-top: var(--s-8); border: 0; border-radius: var(--r-3); background: #fff; box-shadow: 14px 14px 0 rgba(0,0,0,.17); transform: none; }
.auth-preview__top { border-color: var(--pf-line); }
.auth-preview__top img { filter: none !important; }
.auth-preview__course { border-radius: var(--r-2); background: var(--pf-paper); }
.auth-assurances { position: relative; margin-top: var(--s-6); color: rgba(255,255,255,.72); }

.checkout-shell { min-height: 100vh; padding: 128px 0 var(--s-8); background: var(--pf-paper); }
.checkout-shell__inner { width: min(calc(100% - 48px), 1120px); }
.checkout-header { max-width: 720px; margin-bottom: var(--s-7); }
.checkout-header > a { color: var(--pf-muted); font-size: .875rem; }
.checkout-header .eyebrow { margin-top: var(--s-6); color: var(--pf-green-dark); font-size: .75rem; }
.checkout-header h1 { margin: 8px 0 12px; font-size: 2.5rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: var(--s-8); }
.checkout-form { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.checkout-section { padding: 0 0 var(--s-6); margin-bottom: var(--s-6); border-bottom: 1px solid var(--pf-line-strong); }
.checkout-section__title { gap: var(--s-4); margin-bottom: var(--s-5); }
.checkout-section__title > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pf-blue); color: #fff; font-size: .78rem; font-weight: 700; }
.checkout-section h2 { margin: 0; font-size: 1.35rem; }
.checkout-section p { margin: 4px 0 0; font-size: .875rem; }
.checkout-course { border: 1px solid var(--pf-line); border-radius: var(--r-3); background: #fff; }
.checkout-course img { border-radius: var(--r-2); }
.promo-control { gap: var(--s-3); }
.check-control { font-size: .875rem; }
.order-summary { position: sticky; top: var(--s-5); padding: var(--s-5); border: 1px solid var(--pf-line-strong); border-radius: var(--r-3); background: linear-gradient(var(--pf-green) 0 0) top / 100% 4px no-repeat, #fff; box-shadow: none; }
.order-summary h2 { font-size: 1.5rem; }
.order-summary__line { font-size: .875rem; }
.order-summary__total strong { color: var(--pf-ink); font-size: 1.7rem; }
.payment-trust span { font-size: .8rem; }

/* Learner dashboard: useful density */
.ns-dashboard > .footer { display: none; }
.dashboard-layout { min-height: 100vh; padding-left: 264px; background: var(--pf-paper); }
.dashboard-sidebar { width: 264px; padding: var(--s-5) var(--s-4); background: #fff; color: var(--pf-ink); border-right: 1px solid var(--pf-line-strong); }
.dashboard-sidebar::before { content: ""; display: block; width: 144px; height: 50px; margin-bottom: var(--s-6); background: url("../brand/logo-horizontal-v2.fce90ac1bc50.png") center/contain no-repeat; }
.dashboard-sidebar__profile { padding: var(--s-4); border: 1px solid var(--pf-line); border-radius: var(--r-2); background: var(--pf-paper); }
.avatar { background: var(--pf-blue-soft); color: var(--pf-blue); }
.dashboard-sidebar__profile strong, .dashboard-sidebar__profile small { color: var(--pf-ink); }
.dashboard-sidebar__profile small { color: var(--pf-muted); }
.dashboard-sidebar__access { margin: var(--s-4) 0 var(--s-5); padding: 0 var(--s-2); color: var(--pf-muted); }
.dashboard-sidebar__access span { color: var(--pf-green-dark); }
.dashboard-sidebar nav a, .dashboard-sidebar > form button { min-height: 44px; margin: 2px 0; padding: 10px 14px; border-radius: var(--button-radius); color: var(--pf-muted); font-size: .875rem; }
.dashboard-sidebar nav a:hover, .dashboard-sidebar nav a.active { background: var(--pf-blue-soft); color: var(--pf-blue-dark); }
.dashboard-sidebar nav a.active::before { content: none; }
.dashboard-sidebar > form { border-top: 1px solid var(--pf-line); }
.dashboard-sidebar > form button:hover { color: var(--pf-danger); }
.dashboard-content { max-width: 1280px; margin: 0 auto; padding: var(--s-7); }
.dashboard-header { align-items: start; margin-bottom: var(--s-6); }
.dashboard-header .overline { color: var(--pf-green-dark); }
.dashboard-header h1 { margin: 6px 0 8px; font-size: 2rem; line-height: 1.2; letter-spacing: -.025em; }
.dashboard-header p { margin: 0; font-size: .95rem; }
.dashboard-date { border-radius: var(--r-2); background: #fff; border: 1px solid var(--pf-line); color: var(--pf-muted); font-size: .8rem; }
.notice-card { border-radius: var(--r-2); box-shadow: none; }
.continue-card { display: grid; grid-template-columns: 36% 1fr; min-height: 320px; border: 1px solid var(--pf-line-strong); border-radius: var(--r-3); background: #fff; box-shadow: none; overflow: hidden; }
.continue-card__media { min-height: 320px; }
.continue-card__media img { width: 100%; height: 100%; object-fit: cover; }
.continue-card__body { padding: var(--s-6); }
.continue-card h2 { font-size: 1.75rem; }
.progress { height: 6px; background: #e7edf4; border-radius: 999px; }
.progress i { background: var(--pf-green); border-radius: inherit; }
.dashboard-section-head { margin: var(--s-7) 0 var(--s-4); }
.dashboard-section-head h2 { font-size: 1.5rem; }
.learning-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.learning-card { padding: var(--s-5); border: 1px solid var(--pf-line); border-radius: var(--r-2); background: #fff; box-shadow: none; }
.learning-card:hover { transform: none; border-color: var(--pf-blue); }
.learning-card h3 { font-size: 1.125rem; }
.learning-card__icon { border-radius: var(--r-2); background: var(--pf-blue-soft); color: var(--pf-blue); }
.recent-order { border-radius: var(--r-2); box-shadow: none; }
.tabs { padding: 0; margin-bottom: var(--s-5); border-bottom: 1px solid var(--pf-line-strong); background: transparent; border-radius: 0; }
.tabs a { min-height: 44px; border-radius: 0; font-size: .875rem; }
.tabs a.active { color: var(--pf-blue); background: transparent; box-shadow: inset 0 -2px var(--pf-blue); }
.my-course-list { border-top: 1px solid var(--pf-ink); }
.my-course-row { grid-template-columns: 180px 1fr auto; padding: var(--s-4) 0; border: 0; border-bottom: 1px solid var(--pf-line-strong); border-radius: 0; background: transparent; box-shadow: none; }
.my-course-row__media { border-radius: var(--r-2); }
.my-course-row h2 { font-size: 1.2rem; }
.settings-grid { display: grid; grid-template-columns: 260px 1fr; gap: var(--s-7); }
.settings-summary, .settings-form { padding: var(--s-5); border: 1px solid var(--pf-line); border-radius: var(--r-2); background: #fff; box-shadow: none; }
.dashboard-mobile-toggle { z-index: var(--layer-nav); border-radius: var(--button-radius); }

/* Management console: neutral operational UI */
.segmented { padding: 3px; border: 1px solid var(--pf-line); border-radius: var(--button-radius); background: #fff; }
.segmented a { border-radius: var(--button-radius); font-size: .8rem; }
.segmented a.active { background: var(--pf-blue); color: #fff; }
.kpi-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.kpi { padding: var(--s-5); border: 1px solid var(--pf-line); border-radius: var(--r-2); background: #fff; box-shadow: none; }
.kpi--accent { background: var(--pf-blue-dark); border-color: var(--pf-blue-dark); }
.kpi__icon { border-radius: var(--r-2); }
.kpi small, .kpi p { font-size: .78rem; }
.kpi strong { font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.table-wrap { border: 1px solid var(--pf-line); border-radius: var(--r-2); box-shadow: none; }
table.data { font-size: .84rem; }
.data th { padding: 10px 12px; background: #f1f4f8; color: var(--pf-ink-2); font-size: .75rem; }
.data td { padding: 11px 12px; }
.row-action { border-radius: var(--r-1); }

/* Status and empty states */
.status-page { background: var(--pf-paper); }
.status-panel, .empty-state { padding: var(--s-7); border: 1px solid var(--pf-line-strong); border-radius: var(--r-3); background: #fff; box-shadow: none; }
.status-panel__icon, .empty-state__icon { border-radius: var(--r-2); }

/* Script and accessibility */
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] .section-code, html[dir="rtl"] .eyebrow, html[dir="rtl"] .overline,
html[dir="rtl"] .badge, html[dir="rtl"] .kicker { letter-spacing: 0; text-transform: none; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.3; }
html[dir="rtl"] .section-code span { margin-right: 0; margin-left: var(--s-3); }
html[dir="rtl"] .home-hero__note, html[dir="rtl"] .contact-aside, html[dir="rtl"] .faq-page-grid > aside { padding: var(--s-4); }
html[dir="rtl"] .lesson-slip { left: auto; right: 0; }
html[dir="rtl"] .faq-list summary { padding: 20px 0 20px 48px; }
html[dir="rtl"] .faq-list summary > span { right: auto; left: 4px; }

@media (max-width: 1100px) {
  .site-nav__links { display: none; }
  .site-nav__actions { margin-left: auto; }
  .site-nav__toggle { display: block; }
  .home-hero__grid { grid-template-columns: 1fr 420px; gap: var(--s-7); }
  .promise-index { grid-template-columns: 1fr 1fr; }
  .promise-index > span { border-bottom: 1px solid var(--pf-line-strong); }
  .featured-learning__layout, .learning-life__layout { gap: var(--s-7); }
  .evidence-ledger { grid-template-columns: 1fr 1fr; }
  .evidence-ledger article:nth-child(2) { border-right: 1px solid rgba(255,255,255,.18); }
  .evidence-ledger article { border-bottom: 1px solid rgba(255,255,255,.18); }
  .catalog-main .course-grid, .related-courses .course-grid { grid-template-columns: 1fr; }
  .catalog-main .course-card:nth-child(n), .related-courses .course-card:nth-child(n) { padding-inline: 0; border-right: 0; }
  .auth-shell { grid-template-columns: 1fr 1fr; }
  .dashboard-layout { padding-left: 232px; }
  .dashboard-sidebar { width: 232px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .ns-dashboard { --nav-height: 72px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding-block: var(--s-8); }
  .site-nav { padding-top: var(--s-2); }
  .site-nav__inner { min-height: 64px; padding: 8px 8px 8px 12px; }
  .site-nav__brand img { width: 132px; }
  .site-nav__inner { justify-content: space-between; gap: var(--s-2); }
  .site-nav__actions { display: none; }
  .site-nav__toggle { flex: 0 0 48px; }
  .home-hero { min-height: auto; padding-top: 112px; }
  .home-hero__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .home-hero__copy { padding-block: var(--s-6); }
  .home-hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .field-sheet { width: min(100%, 560px); max-width: 100%; margin-inline: auto; transform: none; box-shadow: 8px 10px 0 #dfe8f4; }
  .practice-gap__grid, .case-study__grid, .featured-learning__layout, .learning-life__layout, .home-faq__grid,
  .catalog-header__inner, .course-detail-hero__grid, .course-detail__grid, .contact-grid, .faq-page-grid,
  .editorial-intro, .about-instructor, .method-hero__grid, .contact-hero__grid, .method-manifesto__grid,
  .method-proof__grid, .instructor-note__grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .capability-list { grid-template-columns: 1fr; padding-top: 0; }
  .capability-list li { padding: var(--s-5) 0; border-right: 0; border-bottom: 1px solid var(--pf-line); }
  .case-study__photo { min-height: 460px; }
  .case-study__grid { min-height: auto; }
  .case-study__content { padding: var(--s-7) var(--s-5); }
  .editorial-head { display: block; }
  .editorial-head .plain-link { margin-top: var(--s-5); }
  .learning-life__visual { min-height: 560px; }
  .learning-life__visual figure { height: 560px; }
  .evidence-ledger { grid-template-columns: 1fr; }
  .evidence-ledger article { min-height: 220px; border-left: 1px solid rgba(255,255,255,.18); }
  .learner-voices figure { grid-template-columns: 1fr; gap: var(--s-5); }
  .catalog-header, .page-hero { padding-top: 136px; }
  .discovery-toolbar { grid-template-columns: 1fr; }
  .course-context { grid-template-columns: 1fr; }
  .course-promise .container { grid-template-columns: 1fr; }
  .course-promise span { border-left: 1px solid var(--pf-line-strong); border-bottom: 1px solid var(--pf-line-strong); }
  .enrol-card { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--pf-line-strong); }
  .faq-page-grid > aside { position: static; }
  .method-manifesto figure { height: 520px; }
  .teaching-sequence li > div { grid-template-columns: 1fr; gap: var(--s-3); }
  .contact-routes nav { grid-template-columns: 1fr 1fr; }
  .contact-routes a:nth-child(2) { border-right: 0; }
  .contact-routes a:nth-child(-n+2) { border-bottom: 1px solid var(--pf-line-strong); }
  .catalog-advice { align-items: flex-start; flex-direction: column; }
  .auth-shell { display: block; }
  .auth-shell__form { min-height: 100vh; padding: 112px 24px 48px; }
  .auth-shell__visual { display: none; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .dashboard-layout { padding-left: 0; padding-top: 64px; }
  .dashboard-sidebar { z-index: var(--layer-drawer); transform: translateX(-100%); visibility: hidden; transition: transform 220ms var(--ease), visibility 220ms; }
  .dashboard-menu-open .dashboard-sidebar { transform: translateX(0); visibility: visible; }
  .dashboard-mobile-toggle { display: flex; }
  .dashboard-content { padding: var(--s-5); }
  .continue-card { grid-template-columns: 1fr; }
  .continue-card__media { min-height: 240px; }
  .learning-grid { grid-template-columns: 1fr; }
  .my-course-row { grid-template-columns: 128px 1fr; }
  .my-course-row__action { grid-column: 1/-1; flex-direction: row; }
  .settings-grid { grid-template-columns: 1fr; gap: var(--s-4); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding-block: var(--s-7); }
  .home-hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .home-hero__actions { align-items: stretch; flex-direction: column; }
  .home-hero__actions .btn { width: 100%; }
  .promise-index { grid-template-columns: 1fr; }
  .promise-index > span { border-left: 1px solid var(--pf-line-strong); }
  .field-sheet figcaption { padding: var(--s-4); }
  .field-sheet__steps { padding-inline: var(--s-4); }
  .practice-gap__title h2, .editorial-head h2, .learning-life h2 { font-size: 2.5rem; }
  .case-study__photo { min-height: 380px; }
  .case-study__content { padding: var(--s-7) var(--s-4); }
  .feature-course__body > div { align-items: flex-start; flex-direction: column; }
  .learning-life__visual { min-height: 480px; }
  .learning-life__visual figure { width: 82%; height: 480px; }
  .lesson-slip { width: 76%; bottom: 32px; }
  .learning-life dl > div { grid-template-columns: 1fr; gap: 4px; }
  .catalog-header h1, .page-hero h1 { font-size: 3rem; }
  .catalog-main .course-card, .related-courses .course-card { display: block; min-height: 0; }
  .catalog-main .course-card__media, .related-courses .course-card__media { height: 220px; margin: 16px 0 0; }
  .catalog-main .course-card__body, .related-courses .course-card__body { padding-inline: 0; }
  .course-detail-hero h1 { font-size: 2.7rem; }
  .method-manifesto figure { height: 420px; }
  .teaching-sequence li { grid-template-columns: 40px 1fr; }
  .method-proof dl > div { grid-template-columns: 1fr; gap: 4px; }
  .instructor-note figure { height: 440px; }
  .contact-routes nav { grid-template-columns: 1fr; }
  .contact-routes a { min-height: 132px; border-right: 0; border-bottom: 1px solid var(--pf-line-strong); }
  .catalog-result-head { display: none; }
  .catalog-advice { padding: var(--s-5); }
  .footer-callout { display: block; }
  .footer-callout .btn { margin-top: var(--s-5); }
  .checkout-shell { padding-top: 104px; }
  .checkout-shell__inner { width: min(calc(100% - 24px), 1120px); }
  .dashboard-content { padding: var(--s-4); }
  .dashboard-header { display: block; }
  .dashboard-date { margin-top: var(--s-3); }
  .kpi-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* --------------------------------------------------------------------------
   Studio 7 — cinematic brand surface
   A decisive, image-led academy narrative. New classes isolate this direction
   from the retired field-sheet homepage without another global override stack.
   -------------------------------------------------------------------------- */
.cinema-hero {
  position: relative;
  min-height: 820px;
  height: 100svh;
  max-height: 1040px;
  overflow: hidden;
  background: #071b38;
  color: #fff;
}
.cinema-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; animation: hero-settle 1.4s var(--ease) both; }
.cinema-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,20,45,.98) 0%, rgba(5,20,45,.9) 36%, rgba(5,20,45,.38) 63%, rgba(5,20,45,.08) 100%); }
.cinema-hero__content { position: relative; z-index: 2; height: 100%; display: flex; justify-content: center; flex-direction: column; padding-top: 100px; }
.cinema-hero__signal { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: rgba(255,255,255,.76); font-size: .82rem; font-weight: 650; }
.cinema-hero__signal span { width: 10px; height: 10px; border-radius: 50%; background: #42d895; box-shadow: 0 0 0 7px rgba(66,216,149,.13); }
.cinema-hero h1 { max-width: 880px; margin: 0; color: #fff; font-size: clamp(3.6rem, 6vw, 6rem); line-height: .98; letter-spacing: -.04em; text-wrap: balance; animation: hero-copy-in .8s .12s var(--ease) both; }
.cinema-hero__content > p:not(.cinema-hero__signal) { max-width: 680px; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; text-wrap: pretty; animation: hero-copy-in .8s .2s var(--ease) both; }
.cinema-hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; animation: hero-copy-in .8s .3s var(--ease) both; }
.cinema-hero__actions > a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: .9rem; font-weight: 650; text-decoration: none; }
.cinema-hero__actions > a:not(.btn) span { color: #42d895; font-size: 1.2rem; transition: transform .22s var(--ease); }
.cinema-hero__actions > a:not(.btn):hover span { transform: translateY(4px); }
.cinema-hero__caption { position: absolute; z-index: 2; inset: auto 0 0; border-top: 1px solid rgba(255,255,255,.2); background: rgba(5,20,45,.72); }
.cinema-hero__caption .container { min-height: 78px; display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); }
.cinema-hero__caption strong { margin-right: auto; color: #fff; font-size: .92rem; }
.cinema-hero__caption span { color: rgba(255,255,255,.66); font-size: .78rem; }

.reality-section { padding: clamp(96px, 10vw, 150px) 0 0; overflow: hidden; background: #fff; }
.reality-section__intro { display: grid; grid-template-columns: .52fr 1.08fr .7fr; gap: clamp(32px, 5vw, 80px); align-items: start; margin-bottom: 72px; }
.reality-section__intro > p:first-child { margin: 8px 0 0; color: var(--pf-green-dark); font-size: .9rem; font-weight: 700; }
.reality-section__intro h2 { margin: 0; font-size: clamp(2.45rem, 4.6vw, 4.7rem); line-height: 1.03; text-wrap: balance; }
.reality-section__intro > div p { margin-top: 0; color: var(--pf-ink-2); font-size: 1.02rem; }
.reality-film { width: min(1540px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr .65fr .95fr; gap: 12px; align-items: end; }
.reality-film figure { position: relative; height: 540px; margin: 0; overflow: hidden; background: var(--pf-ink); }
.reality-film__wide { height: 640px !important; }
.reality-film figure:nth-child(2) { height: 480px; }
.reality-film img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reality-film figure:hover img { transform: scale(1.025); }
.reality-film figcaption { position: absolute; inset: auto 16px 16px; width: max-content; max-width: calc(100% - 32px); padding: 9px 12px; border-radius: 6px; background: #fff; color: var(--pf-ink); font-size: .78rem; font-weight: 650; }

.reasoning-stage { padding: clamp(96px, 10vw, 150px) 0; background: #071b38; color: #fff; }
.reasoning-stage__head { display: grid; grid-template-columns: 1.35fr .65fr; gap: 72px; align-items: end; }
.reasoning-stage__head span, .continuity-section__copy > span, .programs-stage__head span, .evidence-promise span, .voices-stage header span, .home-faq__grid > div:first-child > span { display: block; margin-bottom: 18px; color: var(--pf-green-dark); font-size: .86rem; font-weight: 700; }
.reasoning-stage__head span { color: #63d7a6; }
.reasoning-stage__head h2 { max-width: 920px; margin: 0; color: #fff; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.03; }
.reasoning-stage__head > p { margin: 0 0 6px; color: rgba(255,255,255,.68); font-size: 1.02rem; }
.reasoning-stage__steps { list-style: none; margin-top: 72px; padding: 0; border-top: 1px solid rgba(255,255,255,.25); }
.reasoning-stage__steps li { display: grid; grid-template-columns: 72px 1fr 180px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.reasoning-stage__steps b { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(99,215,166,.55); border-radius: 50%; color: #63d7a6; font-size: .9rem; }
.reasoning-stage__steps h3 { margin: 0 0 8px; color: #fff; font-size: 1.8rem; }
.reasoning-stage__steps p { max-width: 720px; margin: 0; color: rgba(255,255,255,.64); }
.reasoning-stage__steps > li > span { color: rgba(255,255,255,.46); font-size: .8rem; text-align: right; }

.programs-stage { padding: clamp(96px, 10vw, 150px) 0; background: #eef4fc; }
.programs-stage__head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 48px; }
.programs-stage__head h2 { max-width: 860px; margin: 0; font-size: clamp(2.8rem, 5vw, 5rem); }
.programs-list { border-top: 2px solid var(--pf-ink); }
.program-row { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) 190px; gap: 32px; align-items: stretch; padding: 24px 0; border-bottom: 1px solid var(--pf-line-strong); }
.program-row > * { min-width: 0; }
.program-row__media { position: relative; min-height: 210px; overflow: hidden; border-radius: 12px; background: var(--pf-ink); }
.program-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.program-row:hover .program-row__media img { transform: scale(1.035); }
.program-row__media > span { position: absolute; top: 12px; left: 12px; padding: 7px 10px; border-radius: 6px; background: var(--pf-green); color: #fff; font-size: .72rem; font-weight: 700; }
.program-row__copy { display: flex; justify-content: center; flex-direction: column; padding-block: 12px; }
.program-row__copy > small { color: var(--pf-blue); font-size: .78rem; font-weight: 700; }
.program-row__copy h3 { max-width: 680px; margin: 8px 0 10px; font-size: clamp(1.55rem, 2.5vw, 2.35rem); line-height: 1.12; }
.program-row__copy h3 a { text-decoration: none; }
.program-row__copy > p { max-width: 68ch; margin: 0; }
.program-row__facts { display: flex; gap: 20px; margin-top: 20px; color: var(--pf-muted); font-size: .78rem; }
.program-row__action { display: flex; align-items: flex-end; justify-content: space-between; flex-direction: column; padding-block: 12px; }
.program-row__action > strong { color: var(--pf-ink); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.program-row__action > strong small { color: var(--pf-muted); font-size: .68rem; }

.continuity-section { padding: clamp(96px, 10vw, 150px) 0; background: #fff; }
.continuity-section__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.continuity-section__visual { position: relative; min-height: 720px; overflow: hidden; border-radius: 16px; background: var(--pf-ink); }
.continuity-section__visual img { width: 100%; height: 720px; object-fit: cover; }
.continuity-section__visual > p { position: absolute; inset: auto 20px 20px; margin: 0; padding: 18px 20px; border-radius: 10px; background: #fff; color: var(--pf-ink); }
.continuity-section__visual > p strong, .continuity-section__visual > p span { display: block; }
.continuity-section__visual > p span { margin-top: 4px; color: var(--pf-muted); font-size: .82rem; }
.continuity-section__copy h2 { margin: 0; font-size: clamp(2.6rem, 4.5vw, 4.5rem); }
.continuity-section__copy > p { max-width: 650px; margin: 24px 0 36px; font-size: 1.05rem; }
.continuity-section__copy ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pf-ink); }
.continuity-section__copy li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--pf-line); }
.continuity-section__copy li strong { color: var(--pf-ink); font-size: .92rem; }
.continuity-section__copy li span { color: var(--pf-muted); font-size: .88rem; }

.evidence-promise { padding: clamp(90px, 9vw, 130px) 0; background: var(--pf-green-dark); color: #fff; }
.evidence-promise__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 96px; align-items: start; }
.evidence-promise span { color: rgba(255,255,255,.68); }
.evidence-promise h2 { margin: 0; color: #fff; font-size: clamp(2.6rem, 4.8vw, 4.8rem); }
.evidence-promise p { margin-top: 0; color: rgba(255,255,255,.74); font-size: 1.04rem; }
.evidence-promise .btn { margin-top: 18px; }

.voices-stage { padding: 112px 0; background: #eef4fc; }
.voices-stage header { display: grid; grid-template-columns: .55fr 1.45fr; align-items: end; margin-bottom: 48px; }
.voices-stage header h2 { margin: 0; font-size: clamp(2.6rem, 4vw, 4rem); }
.voices-stage > .container > div { border-top: 2px solid var(--pf-ink); }
.voices-stage figure { display: grid; grid-template-columns: 1fr 240px; gap: 48px; margin: 0; padding: 32px 0; border-bottom: 1px solid var(--pf-line-strong); }
.voices-stage blockquote { margin: 0; color: var(--pf-ink); font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.4; }
.voices-stage figcaption b, .voices-stage figcaption span { display: block; }
.voices-stage figcaption span { color: var(--pf-muted); font-size: .82rem; }

.cinema-close { padding: clamp(100px, 11vw, 170px) 0; background: var(--pf-blue-dark); color: #fff; text-align: center; }
.cinema-close span { color: #63d7a6; font-size: .9rem; font-weight: 700; }
.cinema-close h2 { margin: 18px auto 36px; color: #fff; font-size: clamp(3rem, 6.4vw, 6rem); }

@keyframes hero-settle { from { transform: scale(1.055); } to { transform: scale(1); } }
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .cinema-hero__image { object-position: 66% center; }
  .cinema-hero__shade { background: linear-gradient(90deg, rgba(5,20,45,.98), rgba(5,20,45,.7)); }
  .cinema-hero__content > p:not(.cinema-hero__signal) { max-width: 590px; }
  .cinema-hero__caption span { display: none; }
  .reality-section__intro { grid-template-columns: 1fr 2fr; }
  .reality-section__intro > div { grid-column: 2; }
  .reality-film { grid-template-columns: 1.25fr .75fr; }
  .reality-film figure:last-child { display: none; }
  .reasoning-stage__head, .continuity-section__grid, .evidence-promise__grid { grid-template-columns: 1fr; gap: 48px; }
  .program-row { grid-template-columns: 260px minmax(0, 1fr); }
  .program-row__action { grid-column: 2; align-items: center; flex-direction: row; padding-top: 0; }
  .continuity-section__visual, .continuity-section__visual img { min-height: 560px; height: 560px; }
}

@media (max-width: 700px) {
  .cinema-hero { min-height: 760px; height: 100svh; max-height: none; }
  .cinema-hero__image { object-position: 66% center; opacity: .62; }
  .cinema-hero__shade { background: rgba(5,20,45,.74); }
  .cinema-hero__content { justify-content: flex-end; padding: 120px 0 116px; }
  .cinema-hero__signal { font-size: .75rem; }
  .cinema-hero h1 { font-size: clamp(2.7rem, 12vw, 4.5rem); }
  .cinema-hero__content > p:not(.cinema-hero__signal) { margin-top: 20px; font-size: 1rem; }
  .cinema-hero__actions { align-items: stretch; flex-direction: column; gap: 18px; margin-top: 26px; }
  .cinema-hero__actions .btn { width: 100%; }
  .cinema-hero__caption .container { min-height: 72px; }
  .reality-section { padding-top: 80px; }
  .reality-section__intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .reality-section__intro > div { grid-column: auto; }
  .reality-film { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .reality-film figure, .reality-film__wide { height: 440px !important; }
  .reality-film figure:nth-child(2) { display: none; }
  .reasoning-stage, .programs-stage, .continuity-section { padding-block: 80px; }
  .reasoning-stage__head { gap: 24px; }
  .reasoning-stage__steps { margin-top: 48px; }
  .reasoning-stage__steps li { grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; }
  .reasoning-stage__steps > li > span { display: none; }
  .reasoning-stage__steps b { width: 42px; height: 42px; }
  .reasoning-stage__steps h3 { font-size: 1.4rem; }
  .programs-stage__head { display: block; }
  .programs-stage__head .plain-link { margin-top: 20px; }
  .program-row { display: block; padding: 20px 0 26px; }
  .program-row__media { display: block; min-height: 0; height: 240px; }
  .program-row__copy { padding: 20px 0 14px; }
  .program-row__action { display: flex; align-items: center; flex-direction: row; }
  .continuity-section__visual, .continuity-section__visual img { min-height: 450px; height: 450px; }
  .continuity-section__copy li { grid-template-columns: 1fr; gap: 4px; }
  .evidence-promise { padding-block: 80px; }
  .voices-stage { padding-block: 80px; }
  .voices-stage header, .voices-stage figure { grid-template-columns: 1fr; gap: 20px; }
  .cinema-close { padding-block: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-hero__image, .cinema-hero h1, .cinema-hero__content > p, .cinema-hero__actions { animation: none !important; }
}

/* Catalogue — functional library, stable at every content length */
.library-hero { padding: 170px 0 76px; overflow: hidden; background: var(--pf-blue-dark); color: #fff; }
.library-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.library-hero__grid > div { min-width: 0; }
.library-hero__grid > div:first-child > span { color: #63d7a6; font-size: .86rem; font-weight: 700; }
.library-hero h1 { max-width: 820px; margin: 18px 0 22px; color: #fff; font-size: clamp(3rem, 5.4vw, 5.4rem); line-height: 1; }
.library-hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.library-hero__film { height: 430px; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 8px; transform: rotate(2deg); }
.library-hero__film img { width: 100%; height: 100%; min-width: 0; object-fit: cover; border-radius: 10px; }
.library-hero__film img:first-child { grid-row: 1/3; }
.library-main { padding: 56px 0 110px; background: #fff; }
.library-tools { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--pf-line-strong); }
.library-tools label { min-width: 0; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--pf-line-strong); border-radius: 8px; }
.library-tools label:focus-within { border-color: var(--pf-blue); box-shadow: 0 0 0 3px rgba(36,87,166,.12); }
.library-tools input { min-width: 0; min-height: 48px; padding: 0; border: 0; box-shadow: none; font: 500 .95rem var(--font-ui); }
.library-tools input:focus { box-shadow: none; }
.library-tools select { min-height: 52px; border: 1px solid var(--pf-line-strong); border-radius: 8px; background: #fff; font: 600 .88rem var(--font-ui); }
.library-filterbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0 38px; }
.library-filterbar > div { display: flex; gap: 8px; flex-wrap: wrap; }
.library-filterbar a { min-height: 38px; display: inline-flex; align-items: center; padding: 7px 13px; border: 1px solid var(--pf-line); border-radius: 999px; color: var(--pf-ink-2); font-size: .8rem; font-weight: 650; text-decoration: none; }
.library-filterbar a.active { border-color: var(--pf-blue); background: var(--pf-blue); color: #fff; }
.library-filterbar p { margin: 0; white-space: nowrap; font-size: .8rem; }
.catalog-course-list { border-top: 2px solid var(--pf-ink); }
.catalog-course-row { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr) 170px; gap: 32px; align-items: stretch; padding: 24px 0; border-bottom: 1px solid var(--pf-line-strong); }
.catalog-course-row > * { min-width: 0; }
.catalog-course-row__media { height: 230px; overflow: hidden; border-radius: 12px; background: var(--pf-ink); }
.catalog-course-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.catalog-course-row:hover .catalog-course-row__media img { transform: scale(1.035); }
.catalog-course-row__copy { display: flex; justify-content: center; flex-direction: column; padding-block: 10px; }
.catalog-course-row__copy > div { display: flex; gap: 8px; align-items: center; }
.catalog-course-row__copy > div span, .catalog-course-row__copy > div b { color: var(--pf-blue); font-size: .75rem; font-weight: 700; }
.catalog-course-row__copy > div b { padding: 4px 8px; border-radius: 999px; background: var(--pf-amber-soft); color: var(--pf-amber-ink); }
.catalog-course-row h2 { max-width: 720px; margin: 8px 0 10px; font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.catalog-course-row h2 a { text-decoration: none; }
.catalog-course-row__copy > p { max-width: 70ch; margin: 0; font-size: .92rem; }
.catalog-course-row__copy ul { display: flex; gap: 22px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--pf-muted); font-size: .76rem; }
.catalog-course-row__action { display: flex; align-items: flex-end; justify-content: space-between; flex-direction: column; padding-block: 10px; }
.catalog-course-row__action > strong { font-size: 1.22rem; font-variant-numeric: tabular-nums; }
.catalog-course-row__action > strong small { color: var(--pf-muted); font-size: .68rem; }
.library-advice { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-top: 72px; padding: 48px; border-radius: 14px; background: var(--pf-green-dark); color: #fff; }
.library-advice span { color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 700; }
.library-advice h2 { max-width: 760px; margin: 12px 0 0; color: #fff; font-size: clamp(2rem, 3.6vw, 3.4rem); }

@media (max-width: 900px) {
  .library-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .library-hero__film { height: 340px; }
  .catalog-course-row { grid-template-columns: 240px minmax(0, 1fr); }
  .catalog-course-row__action { grid-column: 2; align-items: center; flex-direction: row; padding-top: 0; }
}
@media (min-width: 981px) {
  .mobile-nav,
  .mobile-nav__backdrop { display: none !important; }
}
@media (max-width: 650px) {
  .library-hero { padding: 128px 0 64px; }
  .library-hero h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .library-hero__film { height: 260px; }
  .library-tools { grid-template-columns: 1fr; }
  .library-filterbar { align-items: flex-start; flex-direction: column; padding-bottom: 28px; }
  .catalog-course-row { display: block; }
  .catalog-course-row__media { display: block; height: 240px; }
  .catalog-course-row__copy { padding: 20px 0 14px; }
  .catalog-course-row__copy ul { gap: 8px 16px; flex-wrap: wrap; }
  .catalog-course-row__action { display: flex; align-items: center; flex-direction: row; }
  .library-advice { align-items: flex-start; flex-direction: column; padding: 28px 22px; }
}

/* Secondary brand pages and footer cleanup */
.page-signal { display: block; margin-bottom: 18px; color: var(--pf-green-dark); font-size: .86rem; font-weight: 700; }
.page-signal--light { color: #63d7a6; }
.method-cinema { position: relative; min-height: 720px; display: flex; align-items: flex-end; overflow: hidden; background: #071b38; }
.method-cinema > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.method-cinema__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,20,45,.96), rgba(5,20,45,.78) 48%, rgba(5,20,45,.18)); }
.method-cinema .method-hero__grid { position: relative; z-index: 1; padding: 190px 0 86px; }
.method-cinema .method-hero__grid > div > span { display: block; margin-bottom: 18px; color: #63d7a6; font-weight: 700; }
.method-cinema h1 { max-width: 920px; margin: 0; color: #fff; font-size: clamp(3.2rem, 5.7vw, 5.7rem); }
.method-cinema h1 em { color: #63d7a6; }
.method-cinema .lead { margin: 0 0 8px; color: rgba(255,255,255,.74); }
.method-manifesto .page-signal, .method-proof .page-signal, .instructor-note .page-signal { margin-bottom: 18px; }
.teaching-sequence > .container > .page-signal { margin-bottom: 40px; }

.contact-hero { background: var(--pf-green-dark); }
.contact-hero h1, .contact-hero h1 em { color: #fff; }
.contact-hero .page-signal { color: rgba(255,255,255,.7); }
.contact-hero .lead { color: rgba(255,255,255,.76); }
.faq-hero { background: var(--pf-blue-dark); }
.faq-hero h1, .faq-hero h1 em { color: #fff; }
.faq-hero .page-signal { color: #63d7a6; }
.faq-hero .lead { color: rgba(255,255,255,.72); }

.home-faq { padding: 112px 0; background: #fff; }
.home-faq__grid > div:first-child > span { color: var(--pf-green-dark); }

.footer { padding-top: 0; background: #f3f6fa; }
.footer-callout { min-height: 0; margin: 0 auto; padding: 52px 0; border: 0; border-bottom: 1px solid var(--pf-line-strong); border-radius: 0; background: transparent; box-shadow: none; color: var(--pf-ink); }
.footer-callout::after { content: none; }
.footer-callout h2 { margin: 10px 0 0; color: var(--pf-ink); }
.footer-callout .kicker { color: var(--pf-green-dark); }
.footer-callout .btn--light { background: var(--pf-blue); color: #fff; box-shadow: 0 5px 0 var(--pf-blue-dark); }
.page-home .footer-callout { display: none; }

@supports (animation-timeline: view()) {
  .reality-film figure { animation: film-enter linear both; animation-timeline: view(); animation-range: entry 8% cover 34%; }
  .reality-film figure:nth-child(2) { animation-range: entry 12% cover 40%; }
  .reality-film figure:nth-child(3) { animation-range: entry 16% cover 46%; }
  .program-row__media img { animation: image-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes film-enter { from { transform: translateY(34px); clip-path: inset(12% 0 0 0); } to { transform: translateY(0); clip-path: inset(0 0 0 0); } }
  @keyframes image-drift { from { object-position: 50% 42%; } to { object-position: 50% 58%; } }
}

@media (max-width: 820px) {
  .method-cinema { min-height: 680px; }
  .method-cinema__shade { background: rgba(5,20,45,.72); }
  .method-cinema .method-hero__grid { padding: 150px 0 72px; }
}
@media (max-width: 560px) {
  .method-cinema h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .home-faq { padding: 80px 0; }
  .footer-callout { display: block; padding: 42px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reality-film figure, .program-row__media img { animation: none !important; }
}

/* Studio 8 — homepage color direction: committed clinical green */
.verdant-hero { position: relative; min-height: 780px; margin-bottom: 220px; padding: 170px 0 270px; background: var(--pf-green-stage); color: #fff; }
.verdant-hero__content { position: relative; z-index: 1; }
.verdant-hero__signal { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; color: var(--pf-on-green); font-size: .86rem; font-weight: 700; }
.verdant-hero__signal span { width: 10px; height: 10px; border-radius: 50%; background: var(--pf-green-mint); box-shadow: 0 0 0 7px oklch(88% .105 155 / .16); }
.verdant-hero h1 { max-width: 1100px; margin: 0; color: #fff; font-size: clamp(3.7rem, 6.7vw, 6rem); line-height: .98; letter-spacing: -.04em; text-wrap: balance; animation: verdant-copy .8s var(--ease) both; }
.verdant-hero h1 em { color: var(--pf-green-mint); }
.verdant-hero__bottom { display: grid; grid-template-columns: minmax(0, 620px) auto; gap: 64px; align-items: end; justify-content: space-between; margin-top: 36px; }
.verdant-hero__bottom > p { margin: 0; color: var(--pf-on-green); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.65; text-wrap: pretty; }
.verdant-hero__bottom > div { display: flex; align-items: center; gap: 26px; }
.verdant-hero__bottom > div > a:not(.btn) { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.verdant-hero__bottom > div > a:not(.btn) span { color: var(--pf-green-mint); font-size: 1.15rem; transition: transform .22s var(--ease); }
.verdant-hero__bottom > div > a:not(.btn):hover span { transform: translateY(4px); }
.verdant-hero__stage { position: absolute; z-index: 2; left: 50%; bottom: -190px; width: min(calc(100% - 48px), var(--container)); height: 410px; margin: 0; overflow: hidden; border-radius: 16px; background: var(--pf-ink); box-shadow: 0 8px 0 var(--pf-green-deep); transform: translateX(-50%); animation: verdant-stage 1s .16s var(--ease) both; }
.verdant-hero__stage > img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.verdant-hero__stage figcaption { position: absolute; inset: auto 0 0; min-height: 66px; display: flex; align-items: center; gap: clamp(22px, 4vw, 58px); padding: 12px 24px; background: var(--pf-blue-dark); color: #fff; }
.verdant-hero__stage figcaption strong { margin-right: auto; font-size: .9rem; }
.verdant-hero__stage figcaption span { color: oklch(91% .02 250); font-size: .77rem; }

.page-home .reality-section { background: #fff; }
.page-home .reality-section__intro > p:first-child { color: var(--pf-green-stage); }
.page-home .reasoning-stage { background: var(--pf-green-deep); }
.page-home .reasoning-stage__head span, .page-home .reasoning-stage__steps b { color: var(--pf-green-mint); }
.page-home .reasoning-stage__steps b { border-color: oklch(88% .105 155 / .55); }
.page-home .programs-stage { background: var(--pf-green-wash); }
.page-home .program-row__media > span { background: var(--pf-green-stage); }
.page-home .continuity-section { background: #fff; }
.page-home .continuity-section__copy > span { color: var(--pf-green-stage); }
.page-home .evidence-promise { background: var(--pf-blue-dark); }
.page-home .evidence-promise span { color: var(--pf-green-mint); }
.page-home .voices-stage { background: var(--pf-green-wash); }
.page-home .home-faq { background: #fff; }
.page-home .cinema-close { background: var(--pf-green-stage); }
.page-home .cinema-close span { color: var(--pf-green-mint); }

@keyframes verdant-copy { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes verdant-stage { from { opacity: .4; clip-path: inset(0 12% 0 12%); transform: translate(-50%, 28px); } to { opacity: 1; clip-path: inset(0); transform: translate(-50%, 0); } }

@media (max-width: 980px) {
  .verdant-hero { margin-bottom: 190px; padding-bottom: 250px; }
  .verdant-hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .verdant-hero__bottom > div { justify-content: flex-start; }
  .verdant-hero__stage { bottom: -165px; height: 350px; }
  .verdant-hero__stage figcaption span { display: none; }
}
@media (max-width: 650px) {
  .verdant-hero { min-height: 780px; margin-bottom: 145px; padding: 126px 0 220px; }
  .verdant-hero h1 { font-size: clamp(2.8rem, 12.4vw, 4.3rem); }
  .verdant-hero__bottom { margin-top: 26px; gap: 24px; }
  .verdant-hero__bottom > div { align-items: stretch; flex-direction: column; gap: 16px; }
  .verdant-hero__bottom .btn { width: 100%; }
  .verdant-hero__stage { bottom: -126px; width: calc(100% - 24px); height: 270px; border-radius: 12px; }
  .verdant-hero__stage > img { object-position: 58% center; }
  .verdant-hero__stage figcaption { min-height: 56px; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .verdant-hero h1, .verdant-hero__stage { animation: none !important; }
}

/* Studio 9 — controlled brand colour, one decisive human story */
.page-home .verdant-hero {
  min-height: 690px;
  margin-bottom: 176px;
  padding: 150px 0 232px;
  overflow: visible;
  background: #f4f7fb;
  color: var(--pf-ink);
  isolation: isolate;
}
.page-home .verdant-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: clamp(260px, 28vw, 540px);
  background: var(--pf-green-stage);
}
.page-home .verdant-hero__content { z-index: 2; padding-right: clamp(280px, 28vw, 430px); }
.page-home .verdant-hero__signal { color: var(--pf-green-deep); }
.page-home .verdant-hero__signal span {
  background: var(--pf-green-stage);
  box-shadow: 0 0 0 7px oklch(48% .135 155 / .12);
}
.page-home .verdant-hero h1 { max-width: 850px; color: var(--pf-ink); font-size: clamp(3.25rem, 5.2vw, 4.9rem); }
.page-home .verdant-hero h1 em { color: var(--pf-blue); }
.page-home .verdant-hero__bottom { max-width: 820px; grid-template-columns: 1fr; gap: 24px; }
.page-home .verdant-hero__bottom > div { justify-content: flex-start; }
.page-home .verdant-hero__bottom > p { color: var(--pf-ink-2); }
.page-home .verdant-hero__bottom > p { max-width: 66ch; }
.page-home .verdant-hero__bottom > div > a:not(.btn) { color: var(--pf-ink); }
.page-home .verdant-hero__bottom > div > a:not(.btn) span { color: var(--pf-green-stage); }
.page-home .verdant-hero .btn--light { background: var(--pf-blue); color: #fff; box-shadow: 0 5px 0 var(--pf-blue-dark); }
.page-home .verdant-hero .btn--light:hover { background: var(--pf-blue-dark); }
.page-home .verdant-hero__stage {
  bottom: -158px;
  height: 390px;
  border-radius: 14px;
  box-shadow: 10px 10px 0 var(--pf-green-deep);
}
.page-home .verdant-hero__stage figcaption { background: var(--pf-green-deep); }
.page-home .verdant-hero__stage figcaption span { color: var(--pf-green-mint); }

.page-home .reality-section { padding: clamp(82px, 7.5vw, 112px) 0 clamp(92px, 9vw, 136px); }
.page-home .reality-section__intro {
  grid-template-columns: minmax(220px, .48fr) minmax(0, 1.52fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 68px);
}
.page-home .reality-section__intro > p:first-child {
  max-width: 240px;
  margin: 0 0 10px;
  color: var(--pf-green-deep);
  font-size: 1.03rem;
  line-height: 1.55;
}
.page-home .reality-section__intro h2 { max-width: 980px; font-size: clamp(2.55rem, 4.65vw, 4.8rem); }
.experience-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, .58fr);
  min-height: 590px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--pf-blue-dark);
}
.experience-scene__image { position: relative; min-width: 0; min-height: 590px; margin: 0; overflow: hidden; }
.experience-scene__image::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(4, 19, 43, .76));
  pointer-events: none;
}
.experience-scene__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; transition: transform .8s var(--ease); }
.experience-scene:hover .experience-scene__image img { transform: scale(1.018); }
.experience-scene__image figcaption {
  position: absolute;
  z-index: 1;
  inset: auto clamp(22px, 3vw, 42px) clamp(24px, 3vw, 42px);
  display: grid;
  gap: 7px;
  color: #fff;
}
.experience-scene__image figcaption span { color: var(--pf-green-mint); font-size: .87rem; font-weight: 700; }
.experience-scene__image figcaption strong { max-width: 610px; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.35; }
.experience-scene__copy { display: flex; flex-direction: column; padding: clamp(38px, 4.5vw, 64px); color: #fff; background: var(--pf-blue-dark); }
.experience-scene__copy h3 { margin: 0; color: #fff; font-size: clamp(1.8rem, 2.5vw, 2.65rem); line-height: 1.08; letter-spacing: -.03em; }
.experience-scene__copy > p { margin: 22px 0 32px; color: #c9d6e7; line-height: 1.65; }
.experience-scene__copy ul { margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.17); }
.experience-scene__copy li { display: grid; gap: 6px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.experience-scene__copy li span { color: var(--pf-green-mint); font-size: .78rem; font-weight: 700; }
.experience-scene__copy li strong { color: #fff; font-size: .95rem; line-height: 1.4; }
.experience-scene__copy .plain-link { margin-top: auto; color: #fff; }
.experience-scene__copy .plain-link span { color: var(--pf-green-mint); }

.page-home .reasoning-stage { background: var(--pf-blue-dark); }
.page-home .reasoning-stage__head span,
.page-home .reasoning-stage__steps b { color: var(--pf-green-mint); }
.page-home .reasoning-stage__steps p { max-width: 68ch; }
.page-home .programs-stage,
.page-home .voices-stage { background: #f3f6fa; }
.page-home .faq-list p { max-width: 68ch; }
.page-home .cinema-close { background: var(--pf-green-deep); }

@media (max-width: 980px) {
  .mobile-nav {
    transform: none;
    clip-path: inset(0 0 0 100% round 16px 0 0 16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: clip-path 300ms var(--ease), opacity 180ms ease, visibility 300ms;
  }
  .nav-open .mobile-nav {
    clip-path: inset(0 round 16px 0 0 16px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .page-home .verdant-hero { min-height: 750px; margin-bottom: 164px; padding-bottom: 238px; }
  .page-home .verdant-hero::before { width: 23vw; min-width: 150px; }
  .page-home .verdant-hero__content { padding-right: clamp(120px, 20vw, 190px); }
  .page-home .verdant-hero__stage { bottom: -138px; height: 330px; }
  .experience-scene { grid-template-columns: 1fr; }
  .experience-scene__image { min-height: 520px; }
  .experience-scene__copy { min-height: 510px; }
}
@media (max-width: 650px) {
  .page-home .verdant-hero { min-height: 740px; margin-bottom: 126px; padding: 126px 0 210px; }
  .page-home .verdant-hero::before { inset: auto 0 0 auto; width: 28%; height: 250px; }
  .page-home .verdant-hero__content { padding-right: 0; }
  .page-home .verdant-hero h1 { font-size: clamp(2.35rem, 9.2vw, 3.2rem); line-height: 1.02; text-wrap: wrap; overflow-wrap: break-word; }
  .page-home .verdant-hero__stage { bottom: -108px; height: 250px; box-shadow: 6px 6px 0 var(--pf-green-deep); }
  .page-home .verdant-hero__stage figcaption { min-height: 52px; }
  .page-home .reality-section { padding-top: 72px; }
  .page-home .reality-section__intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  .page-home .reality-section__intro > p:first-child { max-width: 290px; }
  .page-home .reality-section__intro h2 { font-size: clamp(2.2rem, 9.3vw, 3rem); text-wrap: wrap; overflow-wrap: break-word; }
  .experience-scene { width: calc(100% - 24px); padding-inline: 0; border-radius: 12px; }
  .experience-scene__image { min-height: 430px; }
  .experience-scene__image img { object-position: 48% center; }
  .experience-scene__copy { min-height: auto; padding: 34px 24px 38px; }
  .experience-scene__image figcaption strong { text-wrap: wrap; overflow-wrap: break-word; }
}

@media (prefers-reduced-motion: reduce) {
  .experience-scene__image img { transition: none !important; }
}

/* Studio 10 — one navigation language across public and learner pages.
   Desktop keeps the homepage's white capsule; mobile becomes a compact academy dock. */
.ns-dashboard { --nav-height: 82px; }
.site-nav { -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-nav__inner {
  padding: 8px 10px 8px 22px;
  border-radius: var(--button-radius);
  box-shadow: 0 16px 40px -20px rgba(16, 35, 63, .3);
}
html[dir="rtl"] .site-nav__inner { padding: 8px 22px 8px 10px; }

@media (max-width: 1100px) {
  .mobile-nav,
  .mobile-nav__backdrop { display: block !important; }
  .mobile-nav__backdrop {
    position: fixed;
    inset: 0;
    z-index: var(--layer-backdrop);
    border: 0;
    background: rgba(8, 25, 48, .58);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(2px);
    transition: opacity 190ms ease-out, visibility 190ms;
  }
  .nav-open .mobile-nav__backdrop { opacity: 1; visibility: visible; }
  .mobile-nav,
  html[dir="rtl"] .mobile-nav {
    position: fixed;
    inset: auto 12px max(12px, env(safe-area-inset-bottom));
    z-index: var(--layer-drawer);
    display: grid !important;
    width: auto;
    height: auto;
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
    padding: 18px;
    gap: 12px;
    overflow: hidden auto;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 -12px 34px rgba(8, 25, 48, .24);
    color: var(--pf-ink);
    opacity: 1;
    clip-path: none;
    transform: translate3d(0, calc(100% + 28px), 0) scale(.985);
    transform-origin: 50% 100%;
    visibility: hidden;
    pointer-events: none;
    transition: transform 260ms cubic-bezier(.16, 1, .3, 1), visibility 260ms;
  }
  .nav-open .mobile-nav,
  html[dir="rtl"] .nav-open .mobile-nav {
    opacity: 1;
    clip-path: none;
    transform: translate3d(0, 0, 0) scale(1);
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-nav__head {
    position: relative;
    top: auto;
    display: flex;
    min-height: 58px;
    padding: 0 56px 12px 0;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid var(--pf-line);
    background: #fff;
  }
  html[dir="rtl"] .mobile-nav__head { padding: 0 0 12px 56px; }
  .mobile-nav__brand { display: inline-flex; min-width: 0; min-height: 44px; align-items: center; gap: 8px; }
  .mobile-nav__brand .site-nav__mark { width: 54px; height: 40px; object-fit: contain; }
  .mobile-nav__brand .site-nav__word { width: 132px; height: 34px; object-fit: contain; }
  .mobile-nav__close {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--pf-blue) 18%, var(--pf-line));
    border-radius: 50%;
    background: var(--pf-paper);
    color: var(--pf-ink-2);
  }
  .mobile-nav__close span { left: 12px; top: 21px; width: 20px; height: 1.5px; background: currentColor; }
  .mobile-nav > .overline { display: none; }
  .mobile-nav__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mobile-nav__links a {
    display: flex;
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    border: 1px solid color-mix(in srgb, var(--pf-blue) 16%, var(--pf-line));
    border-radius: var(--button-radius);
    background: color-mix(in srgb, var(--pf-blue) 4%, #fff);
    color: var(--pf-ink-2);
    font: 600 .94rem/1.25 var(--font-ui);
    text-decoration: none;
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(.985);
    transition: border-color 180ms ease-out, background 180ms ease-out, color 180ms ease-out, transform 220ms cubic-bezier(.16, 1, .3, 1), opacity 180ms ease-out;
  }
  .mobile-nav__links a:first-child,
  .mobile-nav__links a:last-child { grid-column: 1 / -1; }
  .mobile-nav__links a:first-child { min-height: 68px; }
  .mobile-nav__links a span { min-width: 0; }
  .mobile-nav__links a small { display: block; margin-top: 3px; color: var(--pf-muted); font: 400 .75rem/1.25 var(--font-ui); }
  .mobile-nav__links a .icon {
    width: 32px;
    height: 32px;
    margin-inline-start: auto;
    padding: 7px;
    flex: none;
    border-radius: 50%;
    background: #fff;
    color: var(--pf-blue);
  }
  .mobile-nav__links a:hover { border-color: color-mix(in srgb, var(--pf-blue) 34%, var(--pf-line)); background: var(--pf-blue-soft); color: var(--pf-blue-dark); }
  .mobile-nav__links a.is-active {
    border-color: transparent;
    background: linear-gradient(112deg, color-mix(in srgb, var(--pf-blue) 86%, #fff), var(--pf-blue) 48%, var(--pf-blue-dark));
    color: #fff;
  }
  .mobile-nav__links a.is-active small { color: rgba(255, 255, 255, .78); }
  .mobile-nav__links a.is-active .icon { background: rgba(255, 255, 255, .16); color: #fff; }
  .nav-open .mobile-nav__links a { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  .nav-open .mobile-nav__links a:nth-child(1) { transition-delay: 35ms; }
  .nav-open .mobile-nav__links a:nth-child(2) { transition-delay: 60ms; }
  .nav-open .mobile-nav__links a:nth-child(3) { transition-delay: 85ms; }
  .nav-open .mobile-nav__links a:nth-child(4) { transition-delay: 110ms; }
  .mobile-language-switcher {
    display: flex;
    min-height: 60px;
    margin: 0;
    padding: 8px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--pf-line);
    border-radius: 16px;
    background: var(--pf-paper);
  }
  .mobile-language-switcher > span { margin: 0 4px; flex: 1; color: var(--pf-muted); font-size: .6875rem; line-height: 1.3; }
  .mobile-language-switcher > div { display: grid; width: min(52%, 190px); grid-template-columns: repeat(3, minmax(44px, 1fr)); gap: 5px; }
  .mobile-language-switcher button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid color-mix(in srgb, var(--pf-blue) 14%, var(--pf-line));
    border-radius: var(--button-radius);
    background: #fff;
    color: var(--pf-ink-2);
    font: 600 .75rem/1 var(--font-ui);
  }
  .mobile-language-switcher button.active { border-color: var(--pf-blue-dark); background: var(--pf-blue-dark); color: #fff; }
  .mobile-nav__actions { display: grid; margin: 0; gap: 8px; }
  .mobile-nav__actions .btn { min-height: 50px; border-radius: var(--button-radius); }
  .mobile-nav__foot {
    display: flex;
    min-height: 30px;
    margin: 0;
    padding: 0 4px;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--pf-muted);
    font-size: .75rem;
  }
  .mobile-nav__foot .status-dot { width: 7px; height: 7px; margin-inline-end: 8px; border-radius: 50%; background: var(--pf-green); }
}

@media (max-width: 460px) {
  .site-nav__inner { padding-inline: 12px 8px; }
  html[dir="rtl"] .site-nav__inner { padding-inline: 8px 12px; }
  .mobile-nav,
  html[dir="rtl"] .mobile-nav { inset-inline: 8px; bottom: max(8px, env(safe-area-inset-bottom)); padding: 16px; }
}

@media (max-width: 1100px) and (max-height: 560px) {
  .mobile-nav,
  html[dir="rtl"] .mobile-nav { gap: 8px; padding: 14px; }
  .mobile-nav__head { min-height: 46px; padding-bottom: 8px; }
  .mobile-nav__brand .site-nav__mark { width: 46px; height: 34px; }
  .mobile-nav__brand .site-nav__word { width: 112px; height: 30px; }
  .mobile-nav__links { gap: 6px; }
  .mobile-nav__links a,
  .mobile-nav__links a:first-child { min-height: 48px; padding-block: 6px; }
  .mobile-nav__links a:first-child,
  .mobile-nav__links a:last-child { grid-column: auto; }
  .mobile-nav__links a:first-child small,
  .mobile-nav__foot { display: none; }
  .mobile-language-switcher { min-height: 50px; padding: 4px 6px; }
  .mobile-language-switcher button { min-height: 42px; }
  .mobile-nav__actions { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .mobile-nav__actions .btn { min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav__backdrop,
  .mobile-nav__links a { transition: none !important; }
}

/* Course feedback, physical-certificate operations, and moderation. */
.course-reviews { width: min(100% - 48px, var(--container)); margin: var(--s-9) auto 0; padding-top: var(--s-8); border-top: 1px solid var(--pf-ink); }
.course-reviews__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); }
.course-reviews__heading h2 { max-width: 760px; margin: var(--s-3) 0 0; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.review-score { display: flex; min-width: 260px; align-items: center; gap: 14px; }
.review-score > strong { color: var(--pf-blue-dark); font-size: 3.25rem; line-height: 1; letter-spacing: -.04em; }
.review-score span, .review-score b, .review-score small { display: block; }
.review-score b { color: var(--pf-ink); font-size: .875rem; }
.review-score small { max-width: 24ch; margin-top: 3px; color: var(--pf-muted); font-size: .75rem; line-height: 1.4; }
.course-card__rating { display: inline-flex; min-height: 24px; margin-inline-start: auto; align-items: center; gap: 4px; color: #805600; font-size: .75rem; font-weight: 750; }
.course-card__rating small { color: var(--pf-muted); font-size: .68rem; font-weight: 600; }
.field-error { display: block; margin-top: 6px; color: var(--color-error); font-size: .75rem; }

.operations-queue { display: grid; margin: 0 0 var(--s-5); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.operations-queue > a { display: flex; min-height: 78px; padding: var(--s-3) var(--s-4); align-items: center; gap: var(--s-3); border: 1px solid var(--pf-line); border-radius: var(--r-2); background: #fff; color: var(--pf-ink); text-decoration: none; }
.operations-queue > a:hover { border-color: var(--pf-blue); }
.operations-queue > a > span:nth-child(2) { min-width: 0; flex: 1; }
.operations-queue small, .operations-queue strong { display: block; }
.operations-queue small { color: var(--pf-muted); font-size: .72rem; }
.operations-queue strong { margin-top: 3px; font-size: .9rem; }
.operations-queue__icon { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border-radius: var(--r-2); background: var(--pf-blue-soft); color: var(--pf-blue); }
.physical-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.detail-list { display: grid; margin: 0; }
.detail-list > div { display: grid; padding: 11px 0; grid-template-columns: 130px minmax(0, 1fr); gap: var(--s-3); border-top: 1px solid var(--pf-line); }
.detail-list > div:first-child { border-top: 0; }
.detail-list dt { color: var(--pf-muted); font-size: .78rem; }
.detail-list dd { margin: 0; color: var(--pf-ink); font-size: .875rem; overflow-wrap: anywhere; }
.delivery-fees-form { border: 1px solid var(--pf-line); border-radius: var(--r-2); background: #fff; overflow: hidden; }
.delivery-fees-toolbar { display: flex; padding: var(--s-3) var(--s-4); align-items: center; justify-content: space-between; gap: var(--s-3); border-bottom: 1px solid var(--pf-line); }
.delivery-fees-toolbar--bottom { border-top: 1px solid var(--pf-line); border-bottom: 0; }
.delivery-fees-form .table-wrap { border: 0; border-radius: 0; }
.delivery-fees-form input[type="number"] { width: 140px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--pf-line-strong); border-radius: var(--r-1); }
.toggle-field { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; cursor: pointer; }
.toggle-field input { width: 18px; height: 18px; accent-color: var(--pf-green); }
.review-moderation-list { display: grid; gap: var(--s-3); }
.moderation-item { padding: var(--s-4); border: 1px solid var(--pf-line); border-radius: var(--r-2); background: #fff; }
.moderation-item header, .moderation-item footer { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.moderation-item header strong, .moderation-item header span { display: block; }
.moderation-item header span { margin-top: 3px; color: var(--pf-muted); font-size: .75rem; }
.moderation-rating { color: #805600 !important; font-size: .9rem !important; font-weight: 750; }
.moderation-item > p { max-width: 78ch; margin: var(--s-4) 0; color: var(--pf-ink-2); line-height: 1.6; }
.moderation-actions { display: flex; gap: var(--s-2); }
.moderation-actions form { margin: 0; }
.data-stack, .data-stack small, .data-stack strong { display: block; }
.data-stack small { margin-top: 3px; color: var(--pf-muted); font-size: .78rem; }

@media (max-width: 900px) {
  .course-reviews__heading { align-items: flex-start; flex-direction: column; }
  .physical-admin-grid { grid-template-columns: 1fr; }
  .operations-queue { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .course-reviews { width: min(100% - 32px, var(--container)); }
  .detail-list > div { grid-template-columns: 1fr; gap: 3px; }
  .delivery-fees-toolbar { align-items: stretch; flex-direction: column; }
  .moderation-item header, .moderation-item footer { align-items: flex-start; flex-direction: column; }
  .moderation-actions { width: 100%; }
  .moderation-actions form, .moderation-actions .btn { flex: 1; width: 100%; }
}
/* Content studio --------------------------------------------------------- */
.content-head{align-items:flex-end}.content-section-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:1.5rem 0;background:var(--border,#dfe4ea);border:1px solid var(--border,#dfe4ea);border-radius:14px;overflow:hidden}.content-section-nav a{display:flex;min-height:82px;flex-direction:column;justify-content:center;gap:.25rem;padding:1rem;background:#fff;color:inherit;text-decoration:none}.content-section-nav a:hover{background:#f7f9fc}.content-section-nav a.active{background:#153d72;color:#fff}.content-section-nav small{font-size:.72rem;line-height:1.35;opacity:.72}.content-workspace{padding:1.5rem;background:#fff;border:1px solid var(--border,#dfe4ea);border-radius:16px}.content-workspace__head,.content-group-title,.content-savebar{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.content-workspace__head{padding-bottom:1.25rem;border-bottom:1px solid var(--border,#dfe4ea)}.content-workspace__head h2,.content-group-title h3{margin:.25rem 0}.content-workspace__head p,.content-group-title p{margin:0;color:var(--muted,#667085)}.content-search{width:min(340px,100%)}.content-group-title{margin:2rem 0 1rem}.content-group-title>p{max-width:42rem;font-size:.88rem}.content-settings{margin-top:1.25rem;border:1px solid var(--border,#dfe4ea);border-radius:12px}.content-settings summary{cursor:pointer;padding:1rem 1.2rem}.content-settings summary span{display:flex;flex-direction:column;gap:.2rem}.content-settings summary small{color:var(--muted,#667085)}.content-settings__form{padding:0 1.2rem 1.2rem;border-top:1px solid var(--border,#dfe4ea)}.content-settings__form>.grid{margin:1.2rem 0}.content-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.content-image-card{overflow:hidden;border:1px solid var(--border,#dfe4ea);border-radius:14px;background:#fff}.content-image-card__preview{position:relative;aspect-ratio:16/10;background:#eef2f6}.content-image-card__preview img{width:100%;height:100%;object-fit:cover}.content-image-card__preview>span{position:absolute;left:.7rem;bottom:.7rem;padding:.25rem .5rem;border-radius:999px;background:rgba(15,23,42,.82);color:#fff;font-size:.7rem}.content-image-card__body{padding:1rem}.content-image-card h4,.content-text-row h4{margin:0}.content-image-card h4+small,.content-text-row h4+small{display:block;margin:.2rem 0 .8rem;color:var(--muted,#667085);font-family:monospace;font-size:.68rem}.file-control{display:flex;flex-direction:column;gap:.45rem;margin:.8rem 0;padding:.75rem;border:1px dashed #aab5c2;border-radius:10px;font-size:.8rem}.file-control input{max-width:100%}.check-control--compact{margin:.5rem 0;font-size:.75rem}.content-language-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.content-language-fields--stacked{grid-template-columns:1fr;margin-top:.8rem}.content-language-fields label{display:flex;flex-direction:column;gap:.35rem}.content-language-fields label>span{font-size:.7rem;font-weight:700;color:#475467}.content-text-list{display:grid;gap:.7rem}.content-text-row{padding:1rem;border:1px solid var(--border,#dfe4ea);border-radius:12px}.content-text-row>header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.content-text-row textarea{resize:vertical;min-height:7rem}.content-savebar{position:sticky;z-index:5;bottom:1rem;margin-top:1.5rem;padding:.8rem 1rem;border:1px solid rgba(36,87,166,.18);border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 14px 34px rgba(16,37,63,.15);backdrop-filter:blur(14px)}.content-savebar>span{display:flex;flex-direction:column}.content-savebar small{color:var(--muted,#667085)}.collection-launchers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.collection-launchers a{display:flex;flex-direction:column;gap:.35rem;padding:1.25rem;border:1px solid var(--border,#dfe4ea);border-radius:12px;color:inherit;text-decoration:none}.collection-launchers a:hover{border-color:#2457a6;background:#f7f9fc}.collection-launchers span{color:#2457a6;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.collection-launchers small{color:var(--muted,#667085)}.collection-editor__list{display:grid;gap:1rem}.collection-editor__item{padding:1.25rem;border:1px solid var(--border,#dfe4ea);border-radius:14px;background:#fff}.collection-editor__item>header{display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--border,#dfe4ea)}.collection-editor__wide{grid-column:1/-1}.collection-editor textarea{resize:vertical}
@media(max-width:1050px){.content-section-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.content-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-language-fields{grid-template-columns:1fr}}
@media(max-width:680px){.content-section-nav{grid-template-columns:1fr 1fr}.content-section-nav a{min-height:68px;padding:.75rem}.content-section-nav small{display:none}.content-workspace{padding:1rem}.content-workspace__head,.content-group-title,.content-savebar{align-items:stretch;flex-direction:column}.content-search{width:100%}.content-image-grid,.collection-launchers{grid-template-columns:1fr}.content-savebar .btn{width:100%}}

/* ---- Course reviews: a single centred thread -------------------------------
   Composer on top, published reviews below, one column — the comment-thread
   shape people already know. Everything here is scoped to .review-* classes
   used only on the course detail page.
   -------------------------------------------------------------------------- */
.review-thread { width: min(100%, 860px); margin-inline: auto; }
.review-thread .rating-defs { position: absolute; width: 0; height: 0; }

.review-thread__count {
  margin: 34px 0 4px; padding-bottom: 14px;
  border-bottom: 1px solid var(--pf-line);
  color: var(--pf-ink); font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
}

/* ---- Avatars ---------------------------------------------------------------- */
.review-avatar {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; background: var(--pf-blue-soft); color: var(--pf-blue);
  font-size: 1rem; font-weight: 750; text-transform: uppercase; user-select: none;
}
.review-avatar--me { background: var(--pf-blue); color: #fff; }

/* ---- Composer --------------------------------------------------------------- */
.review-compose { display: flex; gap: 14px; align-items: flex-start; padding: 4px 0 8px; }
.review-compose .review-form { flex: 1 1 auto; min-width: 0; display: grid; gap: 12px; }
.rating-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.review-form legend {
  margin-bottom: 8px; padding: 0; color: var(--pf-ink);
  font-size: .8125rem; font-weight: 750; letter-spacing: .01em;
}

.rating-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.rating-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating-stars input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rating-stars label {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: var(--r-2); cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease);
}

/* Empty and filled differ in SHAPE, not only in hue. Amber fill against the grey
   of an unfilled star measures 1.17:1 — indistinguishable to anyone with reduced
   colour vision. An outline star beside a solid one is unmistakable to everyone. */
.rating-star {
  width: 30px; height: 30px;
  fill: none; stroke: var(--pf-muted); stroke-width: 1.6; stroke-linejoin: round;
  transition: fill 160ms var(--ease), stroke 160ms var(--ease);
}

/* A checked star fills itself and, because the row is reversed, every star that
   follows it in the DOM — which is every lower rating, to its visual left. */
.rating-stars input:checked + label .rating-star,
.rating-stars input:checked ~ input + label .rating-star {
  fill: var(--pf-amber); stroke: var(--pf-amber-dark);
}
.rating-stars:hover .rating-star { fill: none; stroke: var(--pf-muted); }
.rating-stars label:hover .rating-star,
.rating-stars label:hover ~ label .rating-star { fill: var(--pf-amber); stroke: var(--pf-amber-dark); }
.rating-stars label:hover { transform: scale(1.14); background: var(--pf-amber-soft); }
.rating-stars label:active { transform: scale(.94); }
.rating-stars input:focus-visible + label { outline: 3px solid var(--color-focus); outline-offset: 2px; }

.rating-stars input:checked + label .rating-star { animation: rvPop 320ms var(--ease); }
@keyframes rvPop {
  0% { transform: scale(.6) rotate(-14deg); }
  55% { transform: scale(1.22) rotate(4deg); }
  100% { transform: none; }
}

.rating-verdict { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.rating-verdict span { color: var(--pf-amber-ink); font-size: .9375rem; font-weight: 750; letter-spacing: -.01em; }
.rating-verdict small { color: var(--pf-muted); font-size: .8125rem; }

/* ---- Comment field ---------------------------------------------------------- */
.review-field { position: relative; }
.review-form textarea {
  display: block; width: 100%; min-height: 108px; padding: 13px 14px 30px;
  resize: vertical; border: 1px solid var(--pf-line-strong); border-radius: var(--r-3);
  background: #fff; color: var(--pf-ink); font: 500 .9375rem/1.6 var(--font-ui);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.review-form textarea::placeholder { color: var(--pf-muted); }
.review-form textarea:hover { border-color: var(--pf-blue); }
.review-form textarea:focus {
  outline: none; border-color: var(--pf-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-blue) 18%, transparent);
}
.review-field__meter {
  position: absolute; right: 12px; bottom: 9px; margin: 0;
  color: var(--pf-muted); font-size: .75rem; font-variant-numeric: tabular-nums;
  pointer-events: none; transition: color 160ms var(--ease);
}
.review-field__meter[data-state="short"] { color: var(--pf-amber-ink); }
.review-field__meter[data-state="ready"] { color: var(--pf-green-dark); }
.review-field__meter[data-state="limit"] { color: var(--color-error, #b3261e); font-weight: 650; }

.review-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.review-form__note { display: flex; align-items: center; gap: 7px; color: var(--pf-muted); font-size: .78125rem; }
.review-form__note .icon { width: 15px; height: 15px; color: var(--pf-green); }

.review-form__submit { position: relative; }
.review-form__submit[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.review-form__spinner {
  display: none; width: 15px; height: 15px; margin-left: 9px;
  border: 2px solid rgba(16, 35, 63, .28); border-top-color: var(--pf-ink);
  border-radius: 50%; animation: rvSpin .7s linear infinite;
}
.review-form__submit.is-busy .review-form__spinner { display: inline-block; }
@keyframes rvSpin { to { transform: rotate(360deg); } }

/* ---- Published reviews ------------------------------------------------------ */
.review-list { display: grid; gap: 4px; }
.review-entry { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; }
.review-entry + .review-entry { border-top: 1px solid var(--pf-line); }
.review-entry__body { min-width: 0; flex: 1 1 auto; }
.review-entry__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.review-entry__meta strong { color: var(--pf-ink); font-size: .875rem; font-weight: 700; }
.review-entry__meta time { color: var(--pf-muted); font-size: .8125rem; }
.review-entry__stars { display: flex; gap: 1px; margin: 0 0 8px; }
.review-entry__stars .rating-star { width: 17px; height: 17px; }
.review-entry__stars .rating-star.is-on { fill: var(--pf-amber); stroke: var(--pf-amber-dark); }
.review-entry__text { margin: 0; color: var(--pf-ink-2); font-size: .9375rem; line-height: 1.65; overflow-wrap: anywhere; }

.review-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px;
  border-radius: 999px; background: var(--pf-neutral); color: var(--pf-muted);
  font-size: .6875rem; font-weight: 650;
}
.review-chip .icon { width: 12px; height: 12px; }
.review-chip--verified { background: #e6f6ef; color: var(--pf-green-dark); }
.review-chip--pending { background: var(--pf-amber-soft); color: var(--pf-amber-ink); }
.review-chip--approved { background: #e6f6ef; color: var(--pf-green-dark); }
.review-chip--rejected { background: #fdeceb; color: #b3261e; }

/* The author's own copy: visible to them, never in the public list until approved. */
.review-mine { margin-top: 22px; }
.review-entry--mine {
  padding: 16px 18px; border: 1px solid var(--pf-amber);
  border-radius: var(--r-3); background: var(--pf-amber-soft);
}
.review-entry--mine + .review-entry { border-top: 0; }

/* Landing animation for a review that was just posted: a brief amber sweep, then
   the card settles. Fires once, on the element the script inserts. */
.review-entry--landing { animation: rvLand 620ms var(--ease) both; }
@keyframes rvLand {
  0% { opacity: 0; transform: translateY(-10px) scale(.985); }
  60% { opacity: 1; transform: translateY(2px) scale(1); }
  100% { opacity: 1; transform: none; }
}
.review-entry--landing::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(244, 185, 66, .55), transparent 70%);
  background-size: 260% 100%;
  animation: rvSweep 900ms 160ms var(--ease) both;
}
.review-entry--mine { position: relative; overflow: hidden; }
@keyframes rvSweep {
  from { background-position: 190% 0; opacity: 1; }
  to { background-position: -60% 0; opacity: 0; }
}

.review-empty {
  padding: 26px; border: 1px dashed var(--pf-line-strong); border-radius: var(--r-3);
  background: var(--pf-neutral); text-align: center;
}
.review-empty strong { display: block; color: var(--pf-ink); font-size: .9375rem; }
.review-empty p { margin: 6px 0 0; color: var(--pf-muted); font-size: .875rem; }

.review-gate {
  padding: 22px; border: 1px solid var(--pf-line); border-radius: var(--r-3);
  background: #fff; box-shadow: 0 1px 2px rgba(16, 35, 63, .04);
}
.review-gate strong { display: block; margin-bottom: 6px; color: var(--pf-ink); font-size: 1rem; }
.review-gate p { margin: 0 0 14px; color: var(--pf-muted); font-size: .9375rem; line-height: 1.55; }

/* ---- Toast ------------------------------------------------------------------ */
.review-toast {
  position: fixed; z-index: var(--layer-alert, 80);
  left: 50%; bottom: 28px; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 13px;
  width: min(440px, calc(100vw - 32px)); padding: 14px 14px 14px 16px;
  border: 1px solid var(--pf-amber); border-radius: var(--r-3);
  background: #fff; box-shadow: 0 22px 50px -20px rgba(16, 35, 63, .45);
  opacity: 0; transition: transform 420ms var(--ease), opacity 260ms var(--ease);
}
.review-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.review-toast p { flex: 1 1 auto; min-width: 0; margin: 0; }
.review-toast strong { display: block; color: var(--pf-ink); font-size: .9375rem; font-weight: 700; }
.review-toast small { display: block; margin-top: 2px; color: var(--pf-muted); font-size: .8125rem; line-height: 1.45; }
.review-toast button {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border: 0; border-radius: 50%; background: transparent; color: var(--pf-muted); cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.review-toast button:hover { background: var(--pf-neutral); color: var(--pf-ink); }
.review-toast button .icon { width: 15px; height: 15px; }

/* The amber spark: a filled disc that pulses once as the toast lands. */
.review-toast__spark {
  position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 50%; background: var(--pf-amber);
}
.review-toast__spark::before {
  content: ""; width: 15px; height: 11px;
  border-left: 2.5px solid var(--pf-ink); border-bottom: 2.5px solid var(--pf-ink);
  transform: rotate(-45deg) translate(1px, -2px);
}
.review-toast.is-on .review-toast__spark::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--pf-amber);
  animation: rvSpark 900ms 180ms var(--ease) both;
}
@keyframes rvSpark {
  from { transform: scale(1); opacity: .85; }
  to { transform: scale(2.1); opacity: 0; }
}

@media (max-width: 720px) {
  .review-compose { gap: 10px; }
  .review-avatar { width: 38px; height: 38px; font-size: .875rem; }
  .rating-stars label { width: 40px; height: 40px; }
  .rating-star { width: 27px; height: 27px; }
  .review-form__foot { flex-direction: column-reverse; align-items: stretch; }
  .review-form__submit { width: 100%; justify-content: center; }
  .review-toast { bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .rating-stars label, .review-form textarea, .review-field__meter, .review-toast { transition-duration: 1ms; }
  .rating-stars label:hover, .rating-stars label:active { transform: none; }
  .rating-stars input:checked + label .rating-star,
  .review-entry--landing, .review-entry--landing::after,
  .review-toast.is-on .review-toast__spark::after { animation: none; }
  .review-entry--landing { opacity: 1; }
  .review-form__spinner { animation-duration: 1.4s; }
}
