/* ==========================================================================
   Public academy website: design system
   Loaded after assets/css/output.css (compiled Tailwind) by website/base.html.

   Direction: warm, scholarly, lively. Paper-warm surfaces, deep brand ink, one warm accent,
   photography in a soft arch, a faint 8-point-star pattern in the dark bands only.
   Colours are ONLY the academy's theme tokens (--theme-*, printed by base.html for a custom
   theme, Tailwind defaults otherwise); every tint is derived with color-mix().
   Logical properties everywhere, so Arabic (RTL) and English (LTR) share one stylesheet.
   ========================================================================== */

/* ---------- 1. Tokens -------------------------------------------------------------------------------- */
:root {
  --c-brand: var(--theme-primary, #1e3a5f);
  --c-ink: var(--theme-primary-900, #102a43);
  --c-accent2: var(--theme-secondary, #8b2942);
  --c-gold: var(--theme-accent, #d4a847);
  --c-paper: var(--theme-neutral, #faf8f5);

  --c-brand-deep: color-mix(in srgb, var(--c-brand) 78%, var(--c-ink));
  --c-accent2-ink: color-mix(in srgb, var(--c-accent2) 78%, var(--c-ink));
  --c-muted: color-mix(in srgb, var(--c-ink) 72%, white);
  --c-line: color-mix(in srgb, var(--c-ink) 12%, transparent);
  --c-line-strong: color-mix(in srgb, var(--c-ink) 28%, white);
  --c-brand-tint: color-mix(in srgb, var(--c-brand) 4%, color-mix(in srgb, var(--c-gold) 8%, var(--c-paper)));
  --c-brand-soft: color-mix(in srgb, var(--c-brand) 14%, white);
  --c-accent2-soft: color-mix(in srgb, var(--c-accent2) 12%, white);
  --c-gold-soft: color-mix(in srgb, var(--c-gold) 26%, white);
  --c-surface: #fff;
  --c-on-dark: rgb(255 255 255 / 0.78);

  --f-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero: clamp(2.25rem, 1.35rem + 3.8vw, 4.1rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.3vw, 2.8rem);
  --fs-h3: clamp(1.125rem, 1.06rem + 0.35vw, 1.3rem);
  --fs-lede: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);

  --r-lg: 28px;
  --r: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-1: 0 1px 2px color-mix(in srgb, var(--c-ink) 8%, transparent),
              0 12px 32px -16px color-mix(in srgb, var(--c-ink) 30%, transparent);
  --shadow-2: 0 2px 4px color-mix(in srgb, var(--c-ink) 8%, transparent),
              0 24px 48px -20px color-mix(in srgb, var(--c-ink) 40%, transparent);

  --gutter: 16px;
  --hdr-h: 72px;
  --lh-head: 1.2;
  --lh-hero: 1.12;

  /* faint 8-point star (rub el hizb) tile, white on the dark bands */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80' fill='none' stroke='white' stroke-opacity='.055'%3E%3Cpath d='M40 16 47.03 23.03 56.97 23.03 56.97 32.97 64 40 56.97 47.03 56.97 56.97 47.03 56.97 40 64 32.97 56.97 23.03 56.97 23.03 47.03 16 40 23.03 32.97 23.03 23.03 32.97 23.03Z'/%3E%3Cpath d='M0 0h.01M80 0h.01M0 80h.01M80 80h.01' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
html[lang="ar"] { --lh-head: 1.45; --lh-hero: 1.4; }

/* ---------- 2. Base ---------------------------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--hdr-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body.site {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="ar"] body.site { line-height: 1.85; }

/* output.css sets a font on every element ("* { font-family }" and the RTL variant): beat it by specificity */
html body.site, html body.site * { font-family: var(--f-body); }
html body.site :is(h1, h2, h3, h4, h5, h6, .f-display, .brand__mark, .brand__name, .nlist__n, .step__n, .col__n, .quote__avatar, .mod__title, .enrol__price) {
  font-family: var(--f-display);
}
/* heading rhythm only inside the redesigned components, so the older public pages keep their Tailwind classes */
html body.site :where(.sec, .hero, .phero, .cta, .ftr, .detail, .contact) :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 600; line-height: var(--lh-head); text-wrap: balance;
}
/* Font Awesome (social icons, legacy pages) keeps its own font */
.fas, .fab, .far, .fa-solid, .fa-brands, .fa-regular, [class^="fa-"], [class*=" fa-"] {
  font-style: normal !important;
  display: inline-block !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}
.fas, .fa-solid, .far, .fa-regular { font-family: "Font Awesome 6 Free" !important; }
.fab, .fa-brands { font-family: "Font Awesome 6 Brands" !important; }

.site p { text-wrap: pretty; }
main:focus { outline: none; }
.site :focus-visible { outline: 3px solid var(--c-brand-deep); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--c-gold); }
.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 1.125rem; height: 1.125rem; }
.icon--lg { width: 1.875rem; height: 1.875rem; }
.icon--solid { fill: currentColor; stroke: none; }
[dir="rtl"] .i-flip { transform: scaleX(-1); }

/* ---------- 3. Buttons, tags, chips ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--c-brand-deep); color: #fff; }
.btn--primary:hover { background: var(--c-ink); box-shadow: var(--shadow-1); }
.btn--accent { background: var(--c-gold); color: var(--c-ink); }
.btn--accent:hover { background: color-mix(in srgb, var(--c-gold) 84%, white); box-shadow: var(--shadow-1); }
.btn--ghost { border-color: var(--c-brand-deep); color: var(--c-brand-deep); background: transparent; }
.btn--ghost:hover { background: var(--c-brand-deep); color: #fff; }
.btn--ghost-light { border-color: rgb(255 255 255 / 0.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding: 0.45rem 1.15rem; font-size: 0.9375rem; }

.tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.2rem 0.8rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; line-height: 1.6;
  background: var(--c-brand-soft); color: var(--c-brand-deep);
}
.tag--gold { background: var(--c-gold-soft); color: var(--c-ink); }
.tag--accent { background: var(--c-accent2-soft); color: var(--c-accent2-ink); }
.tag--glass { background: rgb(255 255 255 / 0.14); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--c-brand-deep); text-decoration: none;
}
.link-arrow .icon { transition: translate 0.2s ease; }
.link-arrow:hover .icon { translate: 3px 0; }
[dir="rtl"] .link-arrow:hover .icon { translate: -3px 0; }

/* ---------- 4. Motion: reveal on scroll and hover lift ---------------------------------------------- */
html.js .reveal {
  opacity: 0; translate: 0 16px;
  transition: opacity 0.5s ease, translate 0.5s ease;
  transition-delay: calc(min(var(--i, 0), 6) * 70ms);
}
html.js .reveal.is-in { opacity: 1; translate: 0 0; }
/* if site.js never runs (blocked, failed), nothing stays hidden */
html.js .reveal:not(.is-in) { animation: reveal-failsafe 0.01s linear 3.5s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; translate: 0 0; } }
.lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
html.js .reveal.lift {
  transition: opacity 0.5s ease, translate 0.5s ease, transform 0.25s ease, box-shadow 0.25s ease;
  transition-delay: calc(min(var(--i, 0), 6) * 70ms), calc(min(var(--i, 0), 6) * 70ms), 0s, 0s;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal:not(.is-in) { opacity: 1; translate: none; transition: none; animation: none; }
  .btn, .lift, .link-arrow .icon, .ccard__img img { transition: none; }
  .btn:hover, .lift:hover { transform: none; }
  .link-arrow:hover .icon, [dir="rtl"] .link-arrow:hover .icon { translate: none; }
}

/* ---------- 5. Header -------------------------------------------------------------------------------- */
.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1.25rem; border-radius: var(--r-sm);
  background: var(--c-ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

.hdr {
  position: sticky; top: 0; z-index: 60;
  background: var(--c-surface);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.hdr.is-scrolled {
  background: rgb(255 255 255 / 0.82);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom-color: var(--c-line);
  box-shadow: 0 8px 24px -18px color-mix(in srgb, var(--c-ink) 55%, transparent);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hdr.is-scrolled { background: var(--c-surface); }
}
.hdr__bar { display: flex; align-items: center; gap: 1rem; min-height: var(--hdr-h); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-width: 0; min-height: 44px; text-decoration: none; color: var(--c-ink); }
.brand__logo { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.brand__mark {
  display: grid; place-items: center; flex: none; width: 40px; height: 44px;
  border-radius: 999px 999px 10px 10px;
  background: var(--c-brand-deep); color: var(--c-gold);
  font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; line-height: 1;
}
.brand__name {
  font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw;
}

.nav { display: none; align-items: center; gap: 0.125rem; margin-inline: auto; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.7rem;
  border-radius: 999px; font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--c-ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav__link:hover { background: var(--c-brand-soft); }
.nav__link[aria-current="page"] { background: var(--c-brand-soft); color: var(--c-brand-deep); font-weight: 600; }

.hdr__tools { display: none; align-items: center; gap: 0.75rem; }
.iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--c-ink); background: transparent; border: 0; cursor: pointer; text-decoration: none;
  transition: background-color 0.2s ease;
}
.iconbtn:hover { background: var(--c-brand-soft); }

.lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: var(--c-brand-soft); }
.lang form { margin: 0; display: flex; }
.lang__btn {
  min-width: 42px; min-height: 38px; padding: 0 0.7rem; border: 0; border-radius: 999px; background: transparent;
  color: var(--c-ink); font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lang__btn:hover { background: rgb(255 255 255 / 0.7); }
.lang__btn[aria-pressed="true"] { background: var(--c-brand-deep); color: #fff; }

.burger { margin-inline-start: auto; }
.burger .icon--close { display: none; }
.burger[aria-expanded="true"] .icon--close { display: block; }
.burger[aria-expanded="true"] .icon--menu { display: none; }

.sheet {
  border-top: 1px solid var(--c-line); background: var(--c-surface);
  max-height: calc(100vh - var(--hdr-h)); max-height: calc(100dvh - var(--hdr-h));
  overflow-y: auto; overscroll-behavior: contain;
}
.sheet__inner { max-width: 640px; margin-inline: auto; padding: 0.5rem var(--gutter) 1.5rem; }
.sheet__link {
  display: flex; align-items: center; gap: 0.75rem; min-height: 52px;
  border-bottom: 1px solid var(--c-line); font-size: 1.0625rem; font-weight: 500; text-decoration: none; color: var(--c-ink);
}
.sheet__link[aria-current="page"] { color: var(--c-accent2-ink); font-weight: 700; }
.sheet__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.sheet .lang__btn { min-height: 44px; min-width: 88px; font-size: 1rem; }
html:not(.js) .sheet { display: block; }

@media (min-width: 1100px) {
  .nav, .hdr__tools { display: flex; }
  .burger { display: none; }
  .sheet, html:not(.js) .sheet { display: none !important; }
}

/* ---------- 6. Footer -------------------------------------------------------------------------------- */
.ftr { position: relative; isolation: isolate; background: var(--c-ink); color: var(--c-on-dark); margin-top: 0; border-top: 1px solid rgb(255 255 255 / 0.12); }
.ftr::before, .pat::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--pattern); background-size: 80px 80px;
}
.ftr__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2.5rem; }
@media (min-width: 640px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; } }
.ftr__logo { display: inline-block; margin-bottom: 1rem; padding: 0.5rem 0.9rem; border-radius: var(--r-sm); background: #fff; }
.ftr__logo img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }
html body.site .ftr__name { font-size: 1.375rem; color: var(--c-gold); margin-bottom: 0.75rem; }
.ftr__blurb { max-width: 34ch; }
html body.site .ftr__h { font-size: 1rem; color: #fff; margin-bottom: 1rem; }
.ftr__list { display: grid; gap: 0.15rem; }
.ftr__list a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: var(--c-on-dark); transition: color 0.2s ease; }
.ftr__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr__h--sp { margin-top: 1.75rem; }
.ftr__contact { display: grid; gap: 0.9rem; }
.ftr__contact li { display: flex; gap: 0.75rem; align-items: flex-start; }
.ftr__contact .icon { color: var(--c-gold); margin-top: 0.2rem; }
.ftr__contact a { color: inherit; text-decoration: none; }
.ftr__contact a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgb(255 255 255 / 0.1); color: #fff; font-size: 1.1rem; text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.social a:hover { background: rgb(255 255 255 / 0.22); transform: translateY(-2px); }
.ftr__bottom { border-top: 1px solid rgb(255 255 255 / 0.14); padding-block: 1.25rem; text-align: center; font-size: 0.9375rem; color: rgb(255 255 255 / 0.68); }

/* ---------- 7. Section scaffolding ------------------------------------------------------------------- */
.sec { position: relative; overflow-x: clip; padding-block: clamp(3.5rem, 2.4rem + 5vw, 7rem); }
.sec--white { background: #fff; }
.sec--paper { background: var(--c-paper); }
.sec--tint { background: var(--c-brand-tint); }
.sec--ink { background: var(--c-ink); color: #fff; isolation: isolate; }
.sec--ink .sec-lede { color: var(--c-on-dark); }

.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
html body.site .sec-title { font-size: var(--fs-h2); font-weight: 600; }
html[lang="en"] .sec-title { letter-spacing: -0.012em; }
.sec-title::before {
  content: ""; display: block; width: 44px; height: 3px; margin-bottom: 1rem; border-radius: 3px; background: var(--c-gold);
}
.sec-head--center .sec-title::before { margin-inline: auto; }
.sec-lede { margin-top: 0.9rem; max-width: 40rem; font-size: var(--fs-lede); color: var(--c-muted); }
.sec-head--center .sec-lede { margin-inline: auto; }
.sec-foot { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); display: flex; justify-content: center; }

/* photo: soft rounded image; frame: the offset outline behind it; arch: the soft arch mask */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--c-brand-soft); aspect-ratio: var(--ar, 4 / 3); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--arch { border-radius: 999px 999px var(--r) var(--r); }
.frame { position: relative; }
.frame::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  inset-block: 14px -14px; inset-inline: 14px -14px;
  border: 2px solid color-mix(in srgb, var(--c-gold) 75%, transparent); border-radius: calc(var(--r) + 4px);
}
.frame--arch::before { border-radius: 999px 999px calc(var(--r) + 4px) calc(var(--r) + 4px); }
.frame > .photo { position: relative; z-index: 1; }

/* ---------- 8. Home hero ----------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow-x: clip; background: var(--c-paper); padding-block: clamp(2.5rem, 1.5rem + 4.5vw, 6.5rem); }
.hero::before { /* the one soft glow */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset-block-start: -25%; inset-inline-end: -12%; width: min(70vw, 760px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c-gold) 30%, transparent), transparent);
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4rem; } }
html body.site .hero__title { font-size: var(--fs-hero); line-height: var(--lh-hero); }
html[lang="en"] .hero__title { letter-spacing: -0.02em; }
.hero__title em { display: block; font-style: normal; color: var(--c-accent2-ink); }
.hero__lede { margin-top: 1.25rem; max-width: 36rem; font-size: var(--fs-lede); color: var(--c-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__art { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__art .photo { --ar: 6 / 7; }
.hero__art img.is-default { object-position: 24% 50%; }
.hero__star { position: absolute; z-index: 2; inset-block-end: 9%; inset-inline-start: -20px; width: 64px; height: 64px; color: var(--c-gold); }
@media (max-width: 899px) { .hero__art .photo { --ar: 1 / 1; } .hero__art { width: min(100%, 380px); } }

/* ---------- 9. Home sections ------------------------------------------------------------------------- */
/* trust: icon row with hairline dividers (the clipped negative margin gives dividers at any column count) */
.divided { overflow: hidden; }
.divided__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-inline-start: -1px; margin-block-start: -1px;
}
.divided__grid > * { border-inline-start: 1px solid var(--c-line); border-block-start: 1px solid var(--c-line); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.fi__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.1rem; border-radius: 50%;
  background: var(--c-brand-soft); color: var(--c-brand-deep);
}
html body.site .fi__title { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.fi__text { color: var(--c-muted); }

/* paths: sticky head and photo beside a numbered editorial list */
.paths { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (min-width: 960px) { .paths { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
@media (min-width: 960px) and (min-height: 780px) { .paths__lead { position: sticky; top: calc(var(--hdr-h) + 1.5rem); } }
.paths__lead .sec-head { margin-bottom: 1.75rem; }
.paths__lead .photo { --ar: 4 / 3; }
.paths__lead .frame { margin-top: 2.5rem; margin-inline-end: 14px; }
.nlist > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; padding-block: 1.75rem; border-block-start: 1px solid var(--c-line); }
.nlist > li:last-child { border-block-end: 1px solid var(--c-line); }
.nlist__n { min-width: 3.25rem; font-family: var(--f-display); font-size: 2.4rem; line-height: 1; font-weight: 500; color: var(--c-accent2-ink); font-feature-settings: "tnum"; }
html body.site .nlist__title { font-size: 1.35rem; margin-bottom: 0.5rem; }
.nlist__text { color: var(--c-muted); }
.nlist .tag { margin-top: 0.9rem; }

/* audiences: two contrasting panels */
.aud-head { display: grid; gap: 2rem; align-items: center; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.aud-head .sec-head { margin-bottom: 0; }
.aud-head .frame { width: min(100% - 14px, 420px); justify-self: end; margin-inline-end: 14px; }
.aud-head .photo { --ar: 3 / 2; }
@media (min-width: 900px) { .aud-head { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); } }
.duo { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2.2vw, 2.75rem); }
.panel--light { background: var(--c-brand-tint); border: 1px solid var(--c-line); }
.panel--dark { background: var(--c-ink); color: #fff; }
.panel__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.25rem; }
.panel__icon { display: grid; place-items: center; flex: none; width: 52px; height: 58px; border-radius: 999px 999px 14px 14px; background: var(--c-brand-deep); color: var(--c-gold); }
.panel--dark .panel__icon { background: var(--c-gold); color: var(--c-ink); }
html body.site .panel__title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); }
.ticks > li { display: flex; align-items: flex-start; gap: 0.85rem; padding-block: 0.8rem; border-block-start: 1px solid var(--c-line); font-size: 1.0625rem; }
.panel--dark .ticks > li { border-block-start-color: rgb(255 255 255 / 0.16); }
.ticks__mark { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin-top: 0.1rem; border-radius: 50%; background: var(--c-gold-soft); color: var(--c-ink); font-size: 1rem; line-height: 1; }
.panel--dark .ticks__mark { background: rgb(255 255 255 / 0.14); color: var(--c-gold); }
.ticks__mark .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.25; }

/* live: dark band with a photo */
.live { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .live { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.live .sec-head { margin-bottom: 2rem; }
.live__list { display: grid; gap: 1.25rem; }
.live__list li { display: flex; gap: 1rem; align-items: flex-start; }
.live__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--r-sm); background: rgb(255 255 255 / 0.1); color: var(--c-gold); }
html body.site .live__title { font-size: var(--fs-h3); margin-bottom: 0.25rem; }
.live__text { color: var(--c-on-dark); }
.live .btn { margin-top: 2.25rem; }
.live__media { margin-inline-end: 14px; }
.live__media .photo { --ar: 4 / 3; box-shadow: var(--shadow-2); }

/* assessment: numbered steps on a connecting line */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 2.25rem 0; }
.step { position: relative; padding-inline: 1.1rem; }
.step::before { /* the line through the circles */
  content: ""; position: absolute; inset-block-start: 22px; inset-inline: 0; border-block-start: 2px dashed var(--c-line-strong);
}
.step:first-child::before { inset-inline-start: 22px; }
.step:last-child::before { inset-inline-end: calc(100% - 22px); }
.step:first-child { padding-inline-start: 0; }
.step__n {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.25rem; border-radius: 50%;
  background: var(--c-brand-deep); color: #fff; font-family: var(--f-display); font-weight: 600; box-shadow: 0 0 0 6px var(--c-paper);
}
.sec--white .step__n { box-shadow: 0 0 0 6px #fff; }
html body.site .step__title { font-size: var(--fs-h3); margin-bottom: 0.4rem; }
.step__text { color: var(--c-muted); }
@media (max-width: 639px) { .step::before { display: none; } .step { padding-inline: 0; } }

/* dashboard: an obviously illustrative preview */
.dash { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .dash { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 959px) { .dash > :first-child { order: 2; } }
.mock { position: relative; padding: clamp(1rem, 0.5rem + 2vw, 2rem); border-radius: var(--r-lg); background: var(--c-brand-soft); }
.mock__win { border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1rem; border-block-end: 1px solid var(--c-line); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-line-strong); }
.mock__bar .sk { margin-inline-start: auto; width: 28%; }
.mock__body { display: grid; gap: 1rem; padding: 1rem; }
.mock__card { padding: 1rem; border-radius: var(--r-sm); background: var(--c-paper); }
.mock__label { margin-bottom: 0.7rem; font-size: 0.8125rem; font-weight: 700; color: var(--c-brand-deep); }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.55rem 0.75rem; margin-bottom: 0.45rem; border-radius: 10px; background: #fff; font-size: 0.875rem; }
.mock__row:last-child { margin-bottom: 0; }
.sk { display: block; height: 10px; border-radius: 999px; background: var(--c-line-strong); }
.mock__row .sk { width: 3.5rem; background: var(--c-gold-soft); }
.mock__bars { display: grid; gap: 0.85rem; }
.mock__bar-name { display: flex; justify-content: space-between; margin-bottom: 0.3rem; font-size: 0.8125rem; color: var(--c-muted); }
.mock__track { height: 8px; border-radius: 999px; background: #fff; overflow: hidden; }
.mock__fill { display: block; width: var(--w, 50%); height: 100%; border-radius: 999px; background: var(--c-brand-deep); }
.mock__fill--gold { background: var(--c-gold); }
.mock__fill--accent { background: var(--c-accent2); }
.mock__note { margin-top: 0.9rem; text-align: center; font-size: 0.8125rem; font-weight: 600; color: var(--c-brand-deep); }
.dash .ticks { margin-block: 1.75rem 2rem; }
.dash .ticks > li { align-items: center; }
.dash .ticks > li:last-child { border-block-end: 1px solid var(--c-line); }

/* method: numbered columns */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 2.5rem 2rem; }
.col { padding-block-start: 1.25rem; border-block-start: 3px solid var(--c-gold); }
.col__n { display: block; margin-bottom: 0.75rem; font-family: var(--f-display); font-size: clamp(3rem, 2.4rem + 2vw, 4.25rem); line-height: 1; font-weight: 600; color: color-mix(in srgb, var(--c-brand) 22%, white); }
html body.site .col__title { font-size: 1.35rem; margin-bottom: 0.6rem; }
.col__text { color: var(--c-muted); }

/* ages: age cards */
.ages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.age { padding: 1.75rem; border-radius: var(--r); background: var(--c-brand-tint); border: 1px solid var(--c-line); }
.age:nth-child(3n + 2) { background: color-mix(in srgb, var(--c-gold) 12%, var(--c-paper)); }
.age:nth-child(3n) { background: color-mix(in srgb, var(--c-accent2) 7%, var(--c-paper)); }
.age__pill { display: inline-grid; place-items: center; width: 64px; height: 44px; margin-bottom: 1.1rem; border-radius: 999px; background: var(--c-brand-deep); color: var(--c-gold); }
html body.site .age__title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.age__text { color: var(--c-muted); }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.quote { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.75rem; border-radius: var(--r); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-1); }
.quote::before {
  content: "\201C"; position: absolute; inset-block-start: 0.35rem; inset-inline-end: 1.25rem;
  font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: 1; color: color-mix(in srgb, var(--c-gold) 55%, white);
}
.quote__text { position: relative; flex: 1; font-size: 1.0625rem; }
.quote__who { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.5rem; padding-top: 1.25rem; border-block-start: 1px solid var(--c-line); }
.quote__avatar { display: grid; place-items: center; flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; background: var(--c-brand-soft); color: var(--c-brand-deep); font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
html body.site .quote__name { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.stars { display: block; width: calc(var(--n, 5) * 1.05em); height: 1.05em; margin-top: 0.2rem; font-size: 0.95rem; background: var(--c-gold);
  -webkit-mask: var(--star) 0 0 / 1.05em 1.05em repeat-x; mask: var(--star) 0 0 / 1.05em 1.05em repeat-x;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.94 6.26 6.86.84-5.06 4.7 1.34 6.8L12 17.1 5.92 20.6l1.34-6.8L2.2 9.1l6.86-.84z'/%3E%3C/svg%3E"); }
.quote__course { margin-top: 1rem; font-size: 0.875rem; color: var(--c-muted); }
.quote__course b { color: var(--c-accent2-ink); font-weight: 600; }

/* final call to action: image band */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--c-ink); color: #fff; padding-block: clamp(4rem, 2.5rem + 6.5vw, 8.5rem); text-align: center; }
.cta--plain::before { background: var(--pattern) 0 0 / 80px 80px; }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--c-ink) 82%, transparent); }
html body.site .cta__title { max-width: 20ch; margin-inline: auto; font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem); }
.cta__title::before { content: ""; display: block; width: 44px; height: 3px; margin: 0 auto 1.25rem; border-radius: 3px; background: var(--c-gold); }
.cta__lede { max-width: 40rem; margin: 1.1rem auto 0; font-size: var(--fs-lede); color: rgb(255 255 255 / 0.86); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.25rem; }

/* ---------- 10. Inner pages -------------------------------------------------------------------------- */
.phero { position: relative; isolation: isolate; overflow-x: clip; background: var(--c-ink); color: #fff; padding-block: clamp(2.75rem, 1.5rem + 5vw, 6rem); }
.phero::after { /* the one soft glow */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset-block-start: -40%; inset-inline-end: -10%; width: min(60vw, 640px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c-gold) 22%, transparent), transparent);
}
.phero__grid { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 900px) { .phero__grid--art { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 4rem; } }
html body.site .phero__title { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem); font-weight: 600; }
html[lang="en"] .phero__title { letter-spacing: -0.015em; }
.phero__lede { margin-top: 1rem; max-width: 40rem; font-size: var(--fs-lede); color: var(--c-on-dark); }
.phero--center .phero__grid { text-align: center; }
.phero--center .phero__lede { margin-inline: auto; }
@media (min-width: 900px) { .phero__grid--media { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3.5rem; } }
.phero__media { width: 100%; }
.phero__media .photo { --ar: 16 / 10; box-shadow: var(--shadow-2); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.phero__art { justify-self: center; width: min(100%, 340px); }
.phero__art .photo { --ar: 5 / 6; }
@media (max-width: 899px) { .phero__art .photo { --ar: 4 / 3; border-radius: var(--r); } .phero__art { width: min(100%, 420px); } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-bottom: 1.25rem; font-size: 0.9375rem; color: var(--c-on-dark); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }
.crumbs .icon { width: 0.9rem; height: 0.9rem; }
[dir="rtl"] .crumbs .icon { transform: scaleX(-1); }

/* about */
.story { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .story { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.story--solo { grid-template-columns: minmax(0, 1fr) !important; }
.story .photo { --ar: 4 / 3; }
.story .frame { margin-inline-end: 14px; }
.mv { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .mv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mv__card { padding: clamp(1.5rem, 1rem + 1.8vw, 2.25rem); border-radius: var(--r); background: var(--c-brand-tint); border: 1px solid var(--c-line); }
.mv__card:nth-child(2) { background: color-mix(in srgb, var(--c-gold) 12%, var(--c-paper)); }
html body.site .mv__title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); }
.mv__title .fi__icon { margin: 0; width: 48px; height: 48px; background: var(--c-brand-deep); color: var(--c-gold); }
.mv__text { font-size: 1.0625rem; color: color-mix(in srgb, var(--c-ink) 82%, white); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 2rem 1.5rem; }
.value { text-align: center; padding: 1rem; }
.value .fi__icon { margin-inline: auto; width: 64px; height: 72px; border-radius: 999px 999px 16px 16px; background: var(--c-brand-deep); color: var(--c-gold); }
html body.site .value__title { font-size: 1.35rem; margin-bottom: 0.5rem; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 2rem 1.5rem; }
.member { text-align: center; }
.member__photo { width: min(100%, 220px); aspect-ratio: 4 / 5; margin: 0 auto 1.25rem; overflow: hidden; border-radius: 999px 999px var(--r-md) var(--r-md); background: var(--c-brand-soft); display: grid; place-items: center; font-size: 4.5rem; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
html body.site .member__name { font-size: 1.2rem; }
.member__role { margin-top: 0.25rem; font-weight: 600; color: var(--c-accent2-ink); }
.member__bio { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--c-muted); }

/* courses list */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1.2rem; border: 1.5px solid var(--c-line-strong); border-radius: 999px; background: #fff; color: var(--c-ink); font-weight: 500; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.chip:hover { border-color: var(--c-brand-deep); }
.chip[aria-current="page"] { background: var(--c-brand-deep); border-color: var(--c-brand-deep); color: #fff; }
.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.ccard { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-1); }
.ccard__img { overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-brand-soft); }
.ccard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ccard:hover .ccard__img img { transform: scale(1.04); }
.ccard__body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem 1.5rem 1.5rem; }
.ccard__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
html body.site .ccard__title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.ccard__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-muted); }
.ccard__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.25rem; }
.ccard__meta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: var(--c-muted); }
.ccard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.empty { padding: 3rem 1rem; text-align: center; font-size: 1.125rem; color: var(--c-muted); }

/* course detail */
.facts { position: relative; z-index: 2; margin-block-start: calc(-1 * clamp(1.5rem, 1rem + 2vw, 2.5rem)); }
.facts__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); border-radius: var(--r); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-2); overflow: hidden; }
.fact { display: flex; align-items: center; gap: 0.85rem; padding: 1.1rem 1.25rem; border-inline-start: 1px solid var(--c-line); }
.fact:first-child { border-inline-start: 0; }
.fact__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-brand-soft); color: var(--c-brand-deep); }
.fact__label { display: block; font-size: 0.8125rem; color: var(--c-muted); line-height: 1.4; }
.fact__value { display: block; font-weight: 600; line-height: 1.4; }
@media (max-width: 639px) { .fact { border-inline-start: 0; border-block-start: 1px solid var(--c-line); } .fact:first-child { border-block-start: 0; } }
.detail { display: grid; gap: 2rem; align-items: start; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
@media (min-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; } .detail__side { position: sticky; top: calc(var(--hdr-h) + 1.5rem); } }
html body.site .detail__h { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); margin-bottom: 1.5rem; }
.richtext { color: color-mix(in srgb, var(--c-ink) 86%, white); }
.richtext > * + * { margin-top: 0.9em; }
.richtext ul { list-style: disc; padding-inline-start: 1.4em; }
.richtext ol { list-style: decimal; padding-inline-start: 1.4em; }
.richtext a { color: var(--c-brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.richtext img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.phero .richtext { margin-top: 1rem; color: var(--c-on-dark); font-size: var(--fs-lede); }
.phero .richtext a { color: var(--c-gold); }
.mods { display: grid; gap: 0.75rem; }
.mod { border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.mod[open] { box-shadow: var(--shadow-1); }
.mod__sum { display: flex; align-items: center; gap: 1rem; min-height: 64px; padding: 0.9rem 1.25rem; cursor: pointer; list-style: none; }
.mod__sum::-webkit-details-marker { display: none; }
.mod__num { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c-brand-soft); color: var(--c-brand-deep); font-weight: 700; font-size: 0.9375rem; }
.mod__title { flex: 1; min-width: 0; font-family: var(--f-display); font-size: 1.0625rem; font-weight: 600; }
.mod__count { flex: none; font-size: 0.875rem; color: var(--c-muted); }
.mod__chev { flex: none; color: var(--c-muted); transition: transform 0.25s ease; }
.mod[open] .mod__chev { transform: rotate(180deg); }
.mod__body { padding: 0 1.25rem 1.25rem; }
.mod__desc { margin-bottom: 1rem; color: var(--c-muted); }
.lessons { display: grid; gap: 0.4rem; }
.lesson { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.9rem; border-radius: var(--r-sm); background: var(--c-paper); }
.lesson__name { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.lesson__name .icon { color: var(--c-accent2-ink); width: 1.25rem; height: 1.25rem; }
.lesson__min { flex: none; font-size: 0.875rem; color: var(--c-muted); }
.enrol { padding: 1.75rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-2); }
.enrol__price { font-family: var(--f-display); font-size: 2.25rem; font-weight: 600; line-height: 1.2; }
.enrol__note { margin-top: 0.15rem; color: var(--c-muted); }
.enrol__list { margin-block: 1.25rem 1.5rem; border-block-start: 1px solid var(--c-line); }
.enrol__list li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; border-block-end: 1px solid var(--c-line); font-size: 0.9375rem; }
.enrol__list span:first-child { color: var(--c-muted); }
.enrol__list span:last-child { font-weight: 600; text-align: end; }

/* contact */
.contact { display: grid; gap: 2rem; align-items: start; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; } .contact--solo { grid-template-columns: minmax(0, 720px); justify-content: center; } }
.fcard { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-1); }
html body.site .fcard__title { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); margin-bottom: 1.5rem; }
.fcard .sec-lede { margin: -0.75rem 0 1.5rem; }
.form { display: grid; gap: 1.25rem; }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 600; }
.req { margin-inline-start: 0.2rem; color: var(--c-accent2-ink); }
.field input, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 0.7rem 1rem;
  border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm); background: #fff; color: var(--c-ink);
  font: inherit; line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--c-brand); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-brand-deep); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-brand) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field-error { margin-top: 0.4rem; font-size: 0.9375rem; font-weight: 500; color: #b42318; }
.alert { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem; padding: 0.9rem 1.1rem; border-radius: var(--r-sm); border: 1.5px solid; font-weight: 600; }
.alert .icon { margin-top: 0.15rem; }
.alert--success { background: #ecfdf3; border-color: #12b76a; color: #05603a; }
.alert--error { background: #fef3f2; border-color: #f04438; color: #912018; }
.alert--info { background: var(--c-brand-tint); border-color: var(--c-brand); color: var(--c-brand-deep); }
.icards { display: grid; gap: 1rem; }
.icard { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-line); }
.icard__icon { display: grid; place-items: center; flex: none; width: 48px; height: 54px; border-radius: 999px 999px 12px 12px; background: var(--c-brand-deep); color: var(--c-gold); }
html body.site .icard__label { font-size: 0.875rem; font-weight: 600; color: var(--c-muted); }
.icard__value { margin-top: 0.15rem; font-size: 1.0625rem; font-weight: 500; overflow-wrap: anywhere; }
.icard__value a { text-decoration: none; }
.icard__value a:hover { text-decoration: underline; text-underline-offset: 3px; }
html body.site .follow__h { margin: 2rem 0 1rem; font-size: 1.15rem; }
.follow { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.follow a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-brand-soft); color: var(--c-brand-deep); font-size: 1.15rem; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.follow a:hover { background: var(--c-brand-deep); color: #fff; transform: translateY(-2px); }

/* ---------- 11. Live classes, pricing and blog ------------------------------------------------------- */
/* shared: an empty state with an arch plate; the page header that a featured image overlaps */
.empty__icon { display: grid; place-items: center; width: 64px; height: 72px; margin: 0 auto 1.25rem; border-radius: 999px 999px 16px 16px; background: var(--c-brand-deep); color: var(--c-gold); }
.empty p { max-width: 36rem; margin-inline: auto; }
.phero--lap, .art__media { --lap: clamp(2rem, 1.2rem + 3vw, 4rem); }
.phero--lap { padding-block-end: calc(clamp(2.75rem, 1.5rem + 5vw, 6rem) + var(--lap)); }
.phero--post .phero__title, .art__body { overflow-wrap: anywhere; }

/* live: feature cards and a vertical timeline */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.feat { padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); border-radius: var(--r); background: #fff; border: 1px solid var(--c-line); }
.feat__icon { display: grid; place-items: center; width: 52px; height: 60px; margin-bottom: 1.25rem; border-radius: 999px 999px 14px 14px; background: var(--c-brand-deep); color: var(--c-gold); }
html body.site .feat__title { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.feat__text { color: var(--c-muted); }
.tl { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (min-width: 960px) { .tl { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
@media (min-width: 960px) and (min-height: 780px) { .tl__lead { position: sticky; top: calc(var(--hdr-h) + 1.5rem); } }
.tl__lead .sec-head { margin-bottom: 0; }
.tl__item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; padding-block-end: 2.25rem; }
.tl__item:last-child { padding-block-end: 0; }
.tl__item::before { /* the dashed line from this circle to the next */
  content: ""; position: absolute; inset-block: 52px 8px; inset-inline-start: 21px; border-inline-start: 2px dashed var(--c-line-strong);
}
.tl__item:last-child::before { display: none; }
.tl__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-brand-deep); color: #fff; font-family: var(--f-display); font-weight: 600; }
html body.site .tl__title { margin-top: 0.4rem; margin-bottom: 0.4rem; font-size: 1.35rem; }
.tl__text { color: var(--c-muted); }

/* pricing: plan cards, the featured one on a dark ground */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; gap: 1.5rem; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 1rem + 1.8vw, 2.25rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-1); }
.plan--feat { isolation: isolate; overflow: hidden; background: var(--c-ink); border-color: var(--c-gold); border-width: 2px; color: #fff; box-shadow: var(--shadow-2); }
.plan .tag { align-self: flex-start; margin-bottom: 1rem; }
html body.site .plan__name { font-size: 1.4rem; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.5rem; margin-top: 1rem; }
.plan__amount { font-family: var(--f-display); font-size: clamp(2.4rem, 2rem + 1.5vw, 3.25rem); font-weight: 600; line-height: 1.1; font-feature-settings: "tnum"; }
.plan__cur { font-size: 1.125rem; font-weight: 600; color: var(--c-muted); }
.plan__period { margin-top: 0.1rem; color: var(--c-muted); }
.plan__desc { margin-top: 1rem; color: var(--c-muted); }
.plan__list { margin-block: 1.5rem 2rem; border-block-start: 1px solid var(--c-line); }
.plan__list li { display: flex; align-items: flex-start; gap: 0.75rem; padding-block: 0.7rem; border-block-end: 1px solid var(--c-line); }
.plan__mark { display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin-top: 0.1rem; border-radius: 50%; background: var(--c-gold-soft); color: var(--c-ink); }
.plan__mark .icon { width: 0.95rem; height: 0.95rem; stroke-width: 2.25; }
.plan__list .is-off { color: var(--c-muted); }
.plan__list .is-off .plan__mark { background: var(--c-line); color: var(--c-muted); }
.plan .btn { margin-top: auto; }
.plan--feat .plan__cur, .plan--feat .plan__period, .plan--feat .plan__desc, .plan--feat .plan__list .is-off { color: var(--c-on-dark); }
.plan--feat .plan__list li { border-block-end-color: rgb(255 255 255 / 0.16); }
.plan--feat .plan__list { border-block-start-color: rgb(255 255 255 / 0.16); }
.plan--feat .plan__mark { background: rgb(255 255 255 / 0.14); color: var(--c-gold); }
.plan--feat .plan__list .is-off .plan__mark { background: rgb(255 255 255 / 0.08); color: var(--c-on-dark); }

/* blog list: the newest post leads, a typographic tile stands in for a missing picture */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(2rem, 1.5rem + 1.5vw, 3rem) 1.5rem; }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pcard__img { overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r); background: var(--c-brand-soft); }
.pcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__ph { position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; height: 100%; background: var(--c-ink); color: var(--c-gold); font-family: var(--f-display); font-size: clamp(3.5rem, 3rem + 3vw, 5rem); font-weight: 600; line-height: 1; }
.pcard:nth-child(3n + 2) .pcard__ph { background: var(--c-brand-deep); }
.pcard:nth-child(3n) .pcard__ph { background: var(--c-accent2-ink); }
.pcard__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-width: 0; padding-block-start: 1.1rem; }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1rem; font-size: 0.875rem; color: var(--c-muted); }
.pcard__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
html body.site .pcard__title { margin-top: 0.6rem; font-size: 1.35rem; overflow-wrap: anywhere; }
.pcard__link { color: inherit; text-decoration: none; }
.pcard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.pcard__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.6rem; color: var(--c-muted); }
.pcard .link-arrow { margin-top: auto; padding-top: 1rem; }
@media (min-width: 900px) {
  .pcard--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2.5rem; align-items: center; }
  .pcard--lead .pcard__img { aspect-ratio: 16 / 10; }
  .pcard--lead .pcard__body { padding-block-start: 0; }
  html body.site .pcard--lead .pcard__title { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem); }
  .pcard--lead .pcard__text { -webkit-line-clamp: 4; font-size: var(--fs-lede); }
}

/* blog article: the picture overlaps the header, the text sits in a narrow reading column */
.pmeta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.25rem; color: var(--c-on-dark); }
.pmeta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.art__media { position: relative; z-index: 2; margin-block-start: calc(-1 * var(--lap)); }
.art__media .photo { --ar: 16 / 9; max-width: 60rem; margin-inline: auto; box-shadow: var(--shadow-2); }
.art__body { max-width: 44rem; margin-inline: auto; padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.art .richtext { font-size: 1.125rem; line-height: 1.9; color: var(--c-ink); }
.art .richtext > * + * { margin-top: 1.1em; }
.art .richtext :is(h1, h2, h3, h4, h5, h6) { margin-top: 1.8em; font-family: var(--f-display); font-weight: 600; line-height: var(--lh-head); text-wrap: balance; }
.art .richtext :is(h1, h2) { font-size: 1.75rem; }
.art .richtext h3 { font-size: 1.4rem; }
.art .richtext :is(h4, h5, h6) { font-size: 1.15rem; }
.art .richtext blockquote { padding: 0.25rem 1.25rem; border-inline-start: 4px solid var(--c-gold); color: var(--c-muted); }
html body.site .art .richtext :is(pre, code) { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
.art .richtext pre { overflow-x: auto; padding: 1rem; border-radius: var(--r-sm); background: var(--c-brand-tint); direction: ltr; text-align: left; }
.art .richtext table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.art .richtext :is(th, td) { padding: 0.5rem 0.75rem; border: 1px solid var(--c-line-strong); }
.art .richtext hr { margin-block: 2em; border: 0; border-block-start: 1px solid var(--c-line); }
@media (prefers-reduced-motion: reduce) {
  .pcard__img img { transition: none; }
  .pcard:hover .pcard__img img { transform: none; }
}
