/* Pouya Behzadnia — design system & site styles. RTL-first, no framework. */

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Nastaliq Urdu";
  src: url("/fonts/NotoNastaliqUrdu-wght.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Cormorant";
  src: url("/fonts/Cormorant-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Cormorant";
  src: url("/fonts/Cormorant-latin-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  --navy-950: #02202a;
  --navy-900: #043441;
  --navy-800: #0a4553;
  --navy-700: #11586a;
  --navy-600: #1b7488;
  --navy-100: #ddedf0;
  --navy-50: #f0f7f8;

  --gold-700: #85602c;
  --gold-600: #9c7440;
  --gold-500: #b48a4e;
  --gold-300: #d8c19a;
  --gold-100: #f4ecdf;

  --ink: #1c2230;
  --ink-2: #485164;
  --ink-3: #5f6878;
  --line: #e5e7ec;
  --line-soft: #eef0f3;
  --paper: #ffffff;
  --sand: #f6f4ef;

  --ok: #1f7a4d;
  --ok-bg: #e8f5ee;
  --err: #b3261e;
  --err-bg: #fdeceb;
  --draft: #8a5a00;
  --draft-bg: #fff3d6;

  /* Semantic tokens: these are what flip in dark mode */
  --surface: #ffffff;
  --header-bg: rgba(255, 255, 255, .94);
  --heading: var(--navy-900);
  --heading-2: var(--navy-800);
  --link: var(--navy-700);
  --body-ink: #2b3242;
  --stage: #fbfbfc;
  color-scheme: light;

  --font: "Vazirmatn", Tahoma, sans-serif;
  --font-latin: "Cormorant", Georgia, "Times New Roman", serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(4,52,65, .06), 0 2px 8px rgba(4,52,65, .04);
  --shadow-md: 0 10px 30px -12px rgba(4,52,65, .18), 0 2px 6px rgba(4,52,65, .05);
  --shadow-lg: 0 30px 60px -24px rgba(4,52,65, .35);

  --container: 1200px;
  --gutter: 16px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) {
  :root { --gutter: 28px; --header-h: 84px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 800; color: var(--heading); letter-spacing: -.005em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-300); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
.latin { font-family: var(--font-latin); direction: ltr; unicode-bidi: isolate; letter-spacing: .02em; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-900); --fg: #fff; --bd: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .6em 1.35em;
  border: 1.5px solid var(--bd); border-radius: 12px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(-4px); }
.btn-primary:hover { --bg: var(--navy-800); }
.btn-gold { --bg: var(--gold-500); --bd: var(--gold-500); --fg: var(--navy-950); }
.btn-gold:hover { --bg: var(--gold-300); --bd: var(--gold-300); }
.btn-ghost { --bg: transparent; --fg: var(--heading); --bd: var(--line); }
.btn-ghost:hover { --bd: var(--navy-900); }
.btn-light { --bg: var(--navy-50); --bd: var(--navy-100); --fg: var(--heading); }
.btn-light:hover { --bg: var(--navy-100); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.35); }
.btn-outline-light:hover { --bd: #fff; --bg: rgba(255,255,255,.06); }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .88rem; border-radius: 10px; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--heading-2); font-size: .93rem; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--gold-700); }
.link-arrow:hover .icon { transform: translateX(-4px); }

/* ---------- Badges & chips ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: .85rem; font-weight: 700; color: var(--gold-700); letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .8; }
.eyebrow.on-dark { color: var(--gold-300); }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .25em .8em; border-radius: 999px; background: var(--navy-50); color: var(--link); font-size: .8rem; font-weight: 600; line-height: 1.7; border: 1px solid var(--navy-100); }
.chip-gold { background: var(--gold-100); color: var(--gold-700); border-color: #ecdfc8; }
.draft-badge { display: inline-flex; align-items: center; gap: .35em; padding: .1em .65em; border-radius: 999px; background: var(--draft-bg); color: var(--draft); font-size: .72rem; font-weight: 700; border: 1px dashed #e2b65a; vertical-align: middle; }

.preview-bar { background: var(--draft-bg); color: var(--draft); font-size: .82rem; text-align: center; padding: 6px var(--gutter); border-bottom: 1px solid #f0d9a2; }
.preview-bar a { font-weight: 700; text-decoration: underline; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--navy-950); color: rgba(255,255,255,.78); font-size: .8rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 20px; align-items: center; }
.topbar-contact a { display: inline-flex; gap: .4em; align-items: center; }
.socials { display: flex; gap: 6px; align-items: center; }
.socials a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; transition: background .2s, color .2s; }
.socials a:hover { background: rgba(255,255,255,.1); }
.socials .icon { width: 17px; height: 17px; }
@media (max-width: 767px) { .topbar-text { display: none; } .topbar .container { justify-content: center; } .topbar:not(.has-links) { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(4,52,65,.35); }
.site-header .container { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--navy-900); color: var(--gold-300); font-family: var(--font-latin); font-size: 1.35rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(216,193,154,.45); border-radius: 22px 22px 8px 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 800; font-size: 1.12rem; color: var(--heading); }
.brand-latin { font-family: var(--font-latin); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-700); direction: ltr; text-align: right; }

.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; white-space: nowrap; padding: 8px 11px; font-size: .92rem; font-weight: 600; color: var(--ink-2); border-radius: 8px; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; background: var(--gold-500); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.main-nav a:hover { color: var(--heading); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--heading); }
.header-cta { flex: none; }
.menu-toggle { display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); cursor: pointer; place-items: center; }
.menu-toggle .icon { width: 22px; height: 22px; }
@media (max-width: 1240px) { .main-nav a { padding: 8px 8px; font-size: .88rem; } .header-cta { display: none; } }
@media (max-width: 991px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(2,32,42,.5); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; inset-block: 0; right: 0; width: min(86vw, 360px); background: var(--surface); display: flex; flex-direction: column; padding: 18px 20px 24px; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); font-weight: 600; color: var(--ink); }
.drawer nav a[aria-current="page"] { color: var(--gold-700); }
.drawer nav a .icon { width: 16px; height: 16px; color: var(--ink-3); }
.drawer .btn { margin-top: 22px; width: 100%; }
.drawer .socials { margin-top: 18px; justify-content: center; color: var(--heading-2); }
.drawer .socials a:hover { background: var(--navy-50); }
body.no-scroll { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-sand { background: var(--sand); }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 1.25rem); margin-top: 10px; }
.section-head p { max-width: 560px; color: var(--ink-2); margin: 10px 0 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .8; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 7vw, 96px); background:
  radial-gradient(1200px 500px at 85% -10%, var(--navy-50), transparent 60%),
  linear-gradient(180deg, var(--paper), var(--paper)); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-top: 18px; }
.hero-name { display: block; font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.25; font-weight: 900; color: var(--heading); letter-spacing: -.015em; }
.hero-tagline { display: block; margin-top: 14px; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.75; font-weight: 600; color: var(--link); max-width: 30ch; }
.hero-text { margin-top: 18px; max-width: 54ch; color: var(--ink-2); font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; margin-top: 40px; max-width: 580px; }
.hero-fact { --c: var(--gold-600); --t: var(--gold-100); display: flex; align-items: center; gap: 12px; }
.hero-fact-icon { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: start end; }
.hero-fact-icon::before { content: ""; position: absolute; width: 34px; height: 34px; border-radius: 50%; background: var(--t); left: 0; bottom: 0; transition: transform .35s var(--ease); }
.hero-fact-icon .icon { position: relative; width: 27px; height: 27px; color: var(--c); stroke-width: 1.9; }
.hero-fact:hover .hero-fact-icon::before { transform: scale(1.12); }
.hero-fact-text { font-size: clamp(.98rem, 1.12vw, 1.06rem); font-weight: 800; color: var(--ink); line-height: 1.6; text-wrap: balance; }
a.hero-fact:hover .hero-fact-text { color: var(--link); }
.hero-fact .draft-badge { font-style: normal; margin-inline-start: 4px; }
.tone-rose { --c: #e0245e; --t: #fde3ea; }
.tone-slate { --c: #8b95a7; --t: #eceff4; }
.tone-violet { --c: #9b2fe0; --t: #f1e4fc; }
.tone-sky { --c: #3aa0f0; --t: #e1f0fd; }
.tone-gold { --c: var(--gold-600); --t: var(--gold-100); }
.tone-emerald { --c: #1d8a6b; --t: #ddf3ec; }
.tone-navy { --c: var(--navy-700); --t: var(--navy-100); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 460px); }
.arch-frame { position: relative; isolation: isolate; padding: 18px 18px 34px 0; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy-900) 58%, var(--navy-950) 100%); overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.arch::before { content: ""; position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(closest-side at 50% 38%, rgba(216,193,154,.22), transparent 70%),
  repeating-radial-gradient(circle at 50% 105%, transparent 0 38px, rgba(216,193,154,.10) 38px 39px); }
.arch img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.arch-outline { position: absolute; inset: 0 0 16px 18px; border: 1.5px solid var(--gold-500); border-radius: 999px 999px 28px 28px; opacity: .55; z-index: -1; border-bottom-color: transparent; border-left-color: transparent; }
.arch-monogram { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; color: var(--gold-300); }
.arch-monogram .mono { font-family: var(--font-latin); font-size: clamp(6rem, 14vw, 9rem); line-height: .9; font-weight: 500; font-style: italic; letter-spacing: -.04em; }
.arch-monogram .mono-sub { margin-top: 18px; font-family: var(--font-latin); letter-spacing: .38em; font-size: .82rem; text-transform: uppercase; color: rgba(216,193,154,.8); direction: ltr; }
.hero-badge { position: absolute; z-index: 3; bottom: 0; inset-inline-start: -8px; background: var(--surface); border-radius: 16px; padding: 14px 18px 14px 22px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px; max-width: 90%; }
.hero-badge::before { content: ""; width: 3px; align-self: stretch; border-radius: 3px; background: var(--gold-500); }
.hero-badge b { display: block; font-family: var(--font-latin); font-size: 1.2rem; font-weight: 600; color: var(--heading); line-height: 1.2; direction: ltr; text-align: right; }
.hero-badge small { display: block; font-family: var(--font-latin); color: var(--gold-700); letter-spacing: .08em; font-size: .85rem; direction: ltr; text-align: right; }
.hero-deco { position: absolute; z-index: 0; inset-inline-end: -120px; top: 40px; width: 420px; height: 420px; border-radius: 50%; border: 1px dashed var(--navy-100); }

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(80%, 340px); }
  .arch-frame { padding: 12px 12px 26px 0; }
  .arch-outline { inset: 0 0 14px 12px; }
  .hero-badge { inset-inline-start: -14px; padding: 10px 14px 10px 16px; }
  .hero-badge b { font-size: 1.05rem; }
  .hero-badge small { font-size: .78rem; }
  .hero-copy { text-align: right; }
  .hero-deco { display: none; }
}
@media (max-width: 479px) {
  .hero-facts { grid-template-columns: 1fr; gap: 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.intro-quote { position: sticky; top: calc(var(--header-h) + 32px); }
.intro-quote blockquote { margin: 18px 0 28px; font-size: clamp(1.45rem, 2.8vw, 2rem); line-height: 1.7; font-weight: 800; color: var(--heading); }
.intro-quote blockquote .icon { width: 38px; height: 38px; color: var(--gold-500); margin-bottom: 10px; transform: scaleX(-1); }
.intro-list { display: grid; gap: 0; counter-reset: q; }
.intro-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.intro-item:last-child { border-bottom: 1px solid var(--line); }
.intro-num { font-family: var(--font-latin); font-size: 2.4rem; line-height: 1; color: var(--gold-500); font-weight: 500; font-style: italic; }
.intro-item h3 { font-size: 1.18rem; margin-bottom: 6px; }
.intro-item p { margin: 0; color: var(--ink-2); }
@media (max-width: 899px) { .intro-grid { grid-template-columns: 1fr; } .intro-quote { position: static; } }
@media (max-width: 479px) { .intro-item { grid-template-columns: 44px 1fr; gap: 12px; } .intro-num { font-size: 1.9rem; } }

/* ---------- Stats ---------- */
.stats { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 0% 120%, transparent 0 46px, rgba(216,193,154,.06) 46px 47px); pointer-events: none; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 34px 28px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid rgba(255,255,255,.1); }
.stat-value { display: flex; justify-content: center; align-items: baseline; gap: 4px; font-size: clamp(2.3rem, 4.6vw, 3.2rem); font-weight: 900; line-height: 1.2; color: #fff; }
.stat-value .affix { color: var(--gold-300); font-size: .6em; font-weight: 700; }
.stat-label { margin-top: 6px; color: rgba(255,255,255,.72); font-size: .95rem; }
.stat .draft-badge { margin-top: 8px; }
@media (max-width: 599px) { .stat + .stat { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.1); } }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.services-grid.is-bento > :first-child { grid-row: span 2; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card { display: flex; flex-direction: column; padding: 28px; overflow: hidden; }
.service-card::after { content: ""; position: absolute; inset-inline: 28px; bottom: 0; height: 3px; background: var(--gold-500); border-radius: 3px 3px 0 0; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--link); margin-bottom: 22px; transition: background .3s, color .3s; }
.service-icon .icon { width: 27px; height: 27px; }
.service-card:hover .service-icon { background: var(--navy-900); color: var(--gold-300); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card h3 a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card p { color: var(--ink-2); font-size: .95rem; margin-bottom: 18px; }
.service-card .link-arrow { margin-top: auto; }
.service-card.is-featured { background: var(--navy-900); border-color: var(--navy-900); color: #fff; justify-content: flex-end; min-height: 100%; }
.service-card.is-featured::before { content: ""; position: absolute; inset: auto -80px -120px auto; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(216,193,154,.25); box-shadow: 0 0 0 40px rgba(216,193,154,.04), 0 0 0 80px rgba(216,193,154,.03); }
.service-card.is-featured .service-icon { background: rgba(255,255,255,.08); color: var(--gold-300); }
.service-card.is-featured h3 { color: #fff; font-size: 1.45rem; }
.service-card.is-featured p { color: rgba(255,255,255,.75); }
.service-card.is-featured .link-arrow { color: var(--gold-300); margin-top: 8px; }
.service-card .draft-badge { position: absolute; top: 16px; inset-inline-end: 16px; }
@media (max-width: 991px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .services-grid.is-bento > :first-child { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 599px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 24px; } }

/* ---------- Timeline ---------- */
.timeline-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.timeline-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; flex-direction: column; align-items: flex-start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 7px; width: 1.5px; background: linear-gradient(var(--gold-300), var(--line)); }
.tl-item { position: relative; padding-inline-start: 40px; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--gold-500); box-shadow: 0 0 0 5px var(--paper); }
.section-sand .tl-item::before { box-shadow: 0 0 0 5px var(--sand); }
.tl-period { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--gold-700); background: var(--gold-100); padding: 1px 10px; border-radius: 999px; }
.tl-item h3 { font-size: 1.12rem; margin-top: 8px; }
.tl-org { color: var(--link); font-weight: 600; font-size: .93rem; }
.tl-item p { color: var(--ink-2); margin: 6px 0 0; font-size: .95rem; }
.tl-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: .88rem; }
.tl-links a { display: inline-flex; gap: .35em; align-items: center; color: var(--link); font-weight: 600; }
.tl-links a:hover { color: var(--gold-700); }
.tl-links .icon { width: 15px; height: 15px; }
@media (max-width: 899px) { .timeline-wrap { grid-template-columns: 1fr; } .timeline-wrap .section-head { position: static; } }

/* ---------- Media placeholders ---------- */
.ph { position: relative; background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: var(--gold-300); display: grid; place-items: center; overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 100% 100%, transparent 0 26px, rgba(216,193,154,.12) 26px 27px); }
.ph .icon { position: relative; width: 38px; height: 38px; opacity: .85; }
.ph-letter { position: relative; font-family: var(--font-latin); font-style: italic; font-size: 3.4rem; line-height: 1; }

/* ---------- Article & project cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 991px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards-3 { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-cover { aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; background: var(--navy-50); }
.post-cover img, .post-cover .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8rem; color: var(--ink-3); }
.post-meta span { display: inline-flex; align-items: center; gap: .35em; }
.post-meta .icon { width: 14px; height: 14px; }
.post-card h3 { font-size: 1.08rem; line-height: 1.7; margin: 10px 0 8px; }
.post-card h3 a::before { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--ink-2); font-size: .92rem; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .chip { position: relative; z-index: 1; }
.post-card .post-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-soft); }

.journal { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: stretch; }
.journal-panel { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy-900); color: #fff; padding: 34px 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.journal-panel::before { content: ""; position: absolute; top: -60px; inset-inline-start: -60px; width: 260px; height: 260px; border-radius: 999px 999px 24px 24px; border: 1px solid rgba(216,193,154,.3); }
.journal-panel h2 { color: #fff; font-size: 1.7rem; margin: 10px 0 10px; position: relative; }
.journal-panel p { color: rgba(255,255,255,.72); position: relative; font-size: .95rem; }
.journal-panel .btn { position: relative; align-self: flex-start; margin-top: 8px; }
.journal .cards-3 { gap: 20px; }
@media (max-width: 1100px) { .journal { grid-template-columns: 1fr; } .journal-panel { min-height: 0; } }

/* ---------- Media cards ---------- */
.media-card { overflow: hidden; display: flex; flex-direction: column; }
.media-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; }
.media-thumb img, .media-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.media-thumb .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(transparent 40%, rgba(2,32,42,.55)); }
.media-thumb .play .icon { width: 56px; height: 56px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.media-card .post-body h3 { font-size: 1.05rem; margin: 8px 0 6px; line-height: 1.7; }
.media-embed { aspect-ratio: 16 / 9; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; overflow: hidden; background: #000; }
.media-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA ---------- */
.section:not(.section-sand):not(.stats):not(.podcast-band) + .cta-section { padding-top: 0; }
.cta { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.cta::before { content: ""; position: absolute; inset-block: -40% -10%; inset-inline-start: -8%; width: 46%; border-radius: 999px 999px 0 0; border: 1px solid rgba(216,193,154,.25); box-shadow: 0 0 0 36px rgba(216,193,154,.035), 0 0 0 72px rgba(216,193,154,.025); }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.6; margin-top: 12px; position: relative; }
.cta p { color: rgba(255,255,255,.75); margin: 14px 0 0; position: relative; max-width: 56ch; }
.cta-actions { position: relative; display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { width: 100%; }
.cta-actions .link-arrow { color: var(--gold-300); justify-content: center; margin-top: 4px; }
@media (max-width: 899px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--sand); padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; inset-inline-end: -60px; bottom: -120px; width: 300px; height: 360px; border-radius: 999px 999px 0 0; border: 1px solid var(--gold-300); opacity: .55; box-shadow: 0 0 0 26px rgba(180,138,78,.05); }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-top: 14px; position: relative; z-index: 1; max-width: 22ch; }
.page-hero .lead { max-width: 100%; color: var(--ink-2); font-size: 1.05rem; margin: 14px 0 0; position: relative; z-index: 1; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 6px; font-size: .84rem; color: var(--ink-3); }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--gold-500); }
.breadcrumbs a:hover { color: var(--heading); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink-2); }

/* ---------- Prose ---------- */
.prose { font-size: 1.06rem; line-height: 2.1; color: var(--body-ink); }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.22rem; }
.prose > * + h2 { margin-top: 2em; }
.prose > * + h3 { margin-top: 1.6em; }
.prose > h2 + *, .prose > h3 + * { margin-top: .55em; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-color: var(--gold-300); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--gold-700); }
.prose ul, .prose ol { padding-inline-start: 1.4em; margin-block: 1em 0; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold-500); }
.prose blockquote { margin: 1.6em 0 0; padding: 18px 22px; border-inline-start: 3px solid var(--gold-500); background: var(--sand); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--heading-2); font-weight: 600; }
.prose img { border-radius: var(--r-md); margin-inline: auto; }
.prose figure { margin: 1.6em 0 0; }
.prose figcaption { font-size: .85rem; color: var(--ink-3); text-align: center; margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: right; }
.prose th { background: var(--navy-50); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .embed { aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; }
.prose .embed iframe { width: 100%; height: 100%; border: 0; }
.prose code { background: var(--navy-50); padding: .1em .4em; border-radius: 4px; font-size: .9em; }

/* ---------- Article page ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-head { max-width: 100%; }
.article-head h1 { font-size: clamp(1.5rem, 4vw, 1.2rem); line-height: 1.55; margin: 14px 0 0; max-width: 100%; }
.article-head .lead { font-size: 1.12rem; color: var(--ink-2); margin-top: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--ink-3); font-size: .88rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .4em; }
.article-meta .icon { width: 16px; height: 16px; }
.article-cover { margin-top: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--navy-50); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: var(--surface); }
.aside-box h2, .aside-box h3 { font-size: .95rem; margin-bottom: 10px; color: var(--heading); }
.toc ol { list-style: none; margin: 0; padding: 0; font-size: .9rem; line-height: 1.8; }
.toc li { border-inline-start: 2px solid var(--line); }
.toc li.lvl-3 { padding-inline-start: 12px; font-size: .86rem; }
.toc a { display: block; padding: 4px 12px; color: var(--ink-2); }
.toc a:hover, .toc a.is-active { color: var(--heading); }
.toc li:has(a.is-active) { border-color: var(--gold-500); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: .82rem; padding: 3px 12px; border-radius: 999px; background: var(--navy-50); color: var(--link); border: 1px solid var(--navy-100); }
.tags a:hover { border-color: var(--navy-700); }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--heading-2); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--navy-800); }
.share .icon { width: 18px; height: 18px; }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 48px; padding: 22px; border-radius: var(--r-lg); background: var(--sand); }
.author-box .brand-mark { width: 56px; height: 56px; font-size: 1.6rem; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-box b { color: var(--heading); }
.author-box p { margin: 2px 0 0; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 991px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; order: -1; } .article-aside .toc-box { display: none; } .article-aside .aside-box:not(.toc-box) { display: none; } }

/* ---------- Filters / search ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-2); background: var(--surface); transition: all .2s; }
.filters a:hover { border-color: var(--navy-800); color: var(--heading); }
.filters a[aria-current="page"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.search { position: relative; width: min(100%, 320px); }
.search input { width: 100%; height: 46px; padding: 0 16px 0 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.search input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px var(--navy-100); }
.search button { position: absolute; left: 4px; top: 4px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: var(--navy-900); color: #fff; border-radius: 9px; cursor: pointer; }
.search button .icon { width: 18px; height: 18px; }

/* ---------- Empty states ---------- */
.empty { text-align: center; padding: clamp(40px, 7vw, 72px) 24px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); background: var(--surface); }
.empty .ph { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 18px; }
.empty .ph .icon { width: 30px; height: 30px; }
.empty h2, .empty h3 { font-size: 1.2rem; }
.empty p { color: var(--ink-2); max-width: 46ch; margin: 8px auto 20px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 48px; list-style: none; padding: 0; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 10px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); background: var(--surface); }
.pagination a:hover { border-color: var(--navy-800); color: var(--heading); }
.pagination [aria-current] span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.pagination .is-disabled span { opacity: .45; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-visual { position: sticky; top: calc(var(--header-h) + 32px); }
.about-visual .arch { aspect-ratio: 4 / 5; }
.about-visual figcaption { margin-top: 16px; font-size: .88rem; color: var(--ink-3); text-align: center; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.value { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.value-num { font-family: var(--font-latin); font-style: italic; color: var(--gold-500); font-size: 1.6rem; line-height: 1; }
.value h3 { font-size: 1.1rem; margin: 12px 0 6px; }
.value p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.pull-quote { margin: 40px 0 0; padding: 30px 32px; border-radius: var(--r-lg); background: var(--navy-900); color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 700; line-height: 1.9; position: relative; }
.pull-quote .icon { width: 30px; height: 30px; color: var(--gold-300); margin-bottom: 8px; transform: scaleX(-1); }
@media (max-width: 899px) { .about-grid { grid-template-columns: 1fr; } .about-visual { position: static; max-width: 380px; margin-inline: auto; width: 100%; } }
@media (max-width: 599px) { .values { grid-template-columns: 1fr; } }

/* ---------- Detail pages ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.facts { display: grid; gap: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.facts dt { font-size: .82rem; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--heading); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-weight: 600; color: var(--ink-2); font-size: .93rem; }
.side-list a:hover { color: var(--heading); }
.side-list .icon { width: 18px; height: 18px; color: var(--gold-600); }
.story { display: grid; gap: 22px; margin-bottom: 36px; }
.story-block { padding: 24px 26px; border-radius: var(--r-md); background: var(--sand); }
.story-block h2 { font-size: 1.05rem; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.story-block h2 .icon { color: var(--gold-600); }
.story-block p { margin: 0; color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 36px; }
.gallery a { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 991px) { .detail-grid { grid-template-columns: 1fr; } }

.service-hero-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); margin-bottom: 8px; position: relative; z-index: 1; }
.service-hero-icon .icon { width: 30px; height: 30px; }
.service-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row .service-icon { margin: 0; width: 64px; height: 64px; }
.service-row h2 { font-size: 1.3rem; }
.service-row h2 a::before { content: ""; position: absolute; inset: 0; }
.service-row p { margin: 6px 0 0; color: var(--ink-2); max-width: 70ch; }
.service-row:hover .service-icon { background: var(--navy-900); color: var(--gold-300); }
.service-row:hover h2 { color: var(--gold-700); }
@media (max-width: 599px) { .service-row { grid-template-columns: 56px 1fr; } .service-row .service-icon { width: 52px; height: 52px; } .service-row > .link-arrow { display: none; } }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--heading); }
.field label .opt { font-weight: 500; color: var(--ink-3); font-size: .82rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.9; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687184' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; background-size: 18px; padding-left: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px var(--navy-100); }
.field input[dir="ltr"] { text-align: left; }
.field input[dir="ltr"]::placeholder { text-align: right; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: .84rem; display: flex; gap: .3em; align-items: center; }
.field-hint { color: var(--ink-3); font-size: .82rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--heading); flex: none; }
.check a { color: var(--link); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); margin-bottom: 22px; font-size: .95rem; }
.alert .icon { width: 22px; height: 22px; margin-top: 3px; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-err { background: var(--err-bg); color: var(--err); }
.alert b { display: block; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--navy-700); box-shadow: var(--shadow-sm); }
.contact-card .service-icon { width: 46px; height: 46px; margin: 0; border-radius: 12px; }
.contact-card .service-icon .icon { width: 21px; height: 21px; }
.contact-card small { display: block; color: var(--ink-3); font-size: .8rem; }
.contact-card b { color: var(--heading); font-weight: 700; }
.contact-note { padding: 20px; border-radius: var(--r-md); background: var(--sand); font-size: .9rem; color: var(--ink-2); }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); margin-top: clamp(64px, 9vw, 112px); font-size: .93rem; }
.site-footer.flush { margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 48px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-latin { color: var(--gold-300); }
.site-footer .brand-mark { background: rgba(255,255,255,.06); }
.footer-about { margin: 18px 0; max-width: 36ch; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--gold-300); }
.footer-posts a { display: block; line-height: 1.7; }
.footer-posts small { display: block; color: rgba(255,255,255,.45); font-size: .78rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px; font-size: .84rem; }
.footer-bottom nav { display: flex; gap: 18px; }
.to-top { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.07); color: #fff; border: 0; cursor: pointer; }
.to-top:hover { background: var(--gold-500); color: var(--navy-950); }
.to-top .icon { width: 18px; height: 18px; }
@media (max-width: 991px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-top { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 36px; } }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.error-code { font-family: var(--font-latin); font-style: italic; font-size: clamp(6rem, 18vw, 10rem); line-height: 1; color: var(--gold-500); }
.error-page h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 8px; }
.error-page p { color: var(--ink-2); max-width: 48ch; margin: 12px auto 28px; }
.error-page .hero-actions { justify-content: center; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-40 { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.stack-24 > * + * { margin-top: 24px; }

/* ---------- Rendering performance ---------- */
/* Skip layout/paint of off-screen sections until they approach the viewport. */
main > .section, main > .stats, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 720px; }
@media (max-width: 767px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
}

/* =====================================================================
   Learning & media: dropdown nav, podcast player, videos, courses, packages
   ===================================================================== */

/* ---------- Dropdown navigation ---------- */
.main-nav li { position: relative; }
.main-nav .has-sub > a { display: flex; align-items: center; gap: 4px; }
.main-nav .has-sub > a .chev { width: 14px; height: 14px; opacity: .6; transition: transform .25s var(--ease); }
.main-nav .sub { position: absolute; top: calc(100% + 10px); right: -8px; min-width: 270px; display: grid !important; gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; z-index: 60; }
.main-nav .sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .has-sub:hover > a .chev, .main-nav .has-sub:focus-within > a .chev { transform: rotate(180deg); }
.main-nav .sub a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; }
.main-nav .sub a::after { display: none; }
.main-nav .sub a:hover, .main-nav .sub a[aria-current="page"] { background: var(--navy-50); }
.main-nav .sub .sub-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-700); flex: none; }
.main-nav .sub .sub-icon .icon { width: 18px; height: 18px; }
.main-nav .sub b { display: block; color: var(--heading); font-size: .9rem; line-height: 1.6; }
.main-nav .sub small { display: block; color: var(--ink-3); font-size: .78rem; line-height: 1.6; font-weight: 500; }
.drawer .sub-list a { padding-inline-start: 18px; font-weight: 500; color: var(--ink-2); font-size: .93rem; }
.drawer .sub-list a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); margin-inline-end: 10px; }
.drawer .sub-list a { justify-content: flex-start; }

/* ---------- Dark hero (media pages) ---------- */
.dark-hero { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 15% 0%, rgba(27,116,136,.55), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #fff; padding-block: clamp(36px, 6vw, 72px) clamp(44px, 7vw, 88px); }
.dark-hero::after { content: ""; position: absolute; inset-inline-start: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(216,193,154,.14); box-shadow: 0 0 0 60px rgba(216,193,154,.03), 0 0 0 120px rgba(216,193,154,.02); pointer-events: none; }
.dark-hero h1 { color: #fff; }
.dark-hero .breadcrumbs ol { color: rgba(255,255,255,.6); }
.dark-hero .breadcrumbs [aria-current] { color: rgba(255,255,255,.85); }
.dark-hero .breadcrumbs a:hover { color: #fff; }
.dark-hero .lead { color: rgba(255,255,255,.72); }
.dark-hero .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.88); }
.dark-hero .chip-gold { background: rgba(180,138,78,.18); border-color: rgba(216,193,154,.3); color: var(--gold-300); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--ink-3); }
.meta-row span { display: inline-flex; align-items: center; gap: .45em; }
.meta-row .icon { width: 17px; height: 17px; }
.dark-hero .meta-row { color: rgba(255,255,255,.7); }
.dark-hero .meta-row .icon { color: var(--gold-300); }

/* ---------- Generated cover art ---------- */
.art { --a1: var(--navy-700); --a2: var(--navy-950); position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(150deg, var(--a1), var(--a2)); color: var(--gold-300); isolation: isolate; }
.art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-radial-gradient(circle at 85% 110%, transparent 0 22px, rgba(216,193,154,.13) 22px 23px); }
.art::after { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; inset-inline-end: -18%; top: -22%; background: radial-gradient(closest-side, rgba(216,193,154,.22), transparent); }
.art-inner { text-align: center; padding: 12%; }
.art-kicker { display: block; font-size: .72em; letter-spacing: .02em; color: rgba(216,193,154,.85); font-weight: 600; }
.art-title { display: block; margin-top: .3em; font-weight: 900; color: #fff; line-height: 1.5; font-size: 1.05em; }
.art-num { display: block; font-family: var(--font-latin); font-style: italic; font-size: 3.2em; line-height: 1; color: var(--gold-300); }
.art .icon { width: 2.4em; height: 2.4em; }
.accent-gold { --a1: #8a6634; --a2: #3b2a12; --accent: #9c7440; }
.accent-emerald { --a1: #1d6b5a; --a2: #0b2e27; --accent: #1d6b5a; }
.accent-burgundy { --a1: #7a2236; --a2: #2e0b14; --accent: #7a2236; }
.accent-slate { --a1: #4b5567; --a2: #1c2230; --accent: #4b5567; }
.accent-navy { --a1: var(--navy-700); --a2: var(--navy-950); --accent: var(--navy-700); }

/* ---------- Audio player ---------- */
.player { --p: 0%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 18px; padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); }
.player.is-light { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.player audio { grid-column: 1 / -1; width: 100%; }
.js .player.is-ready audio { display: none; }
.player-play { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--gold-500); color: var(--navy-950); display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease), background .2s; box-shadow: 0 10px 24px -10px rgba(180,138,78,.8); }
.player-play:hover { transform: scale(1.06); background: var(--gold-300); }
.player-play svg { width: 24px; height: 24px; }
.player-play .i-pause { display: none; }
.player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.player-main { min-width: 0; }
.wave { position: relative; height: 46px; direction: ltr; border-radius: 8px; }
.wave-bars, .wave-fill { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; pointer-events: none; }
.wave-bars i, .wave-fill i { flex: 1; min-width: 2px; border-radius: 2px; background: rgba(255,255,255,.22); height: var(--h); }
.player.is-light .wave-bars i { background: var(--navy-100); }
.wave-fill { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.wave-fill i { background: var(--gold-300); }
.player.is-light .wave-fill i { background: var(--gold-500); }
.wave input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.wave:has(input:focus-visible) { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.player-times { display: flex; justify-content: space-between; direction: ltr; font-size: .78rem; margin-top: 4px; color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; }
.player.is-light .player-times { color: var(--ink-3); }
.player-tools { display: flex; gap: 6px; align-items: center; }
.player-tools button, .player-tools a { height: 38px; min-width: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; font-size: .8rem; font-weight: 700; }
.player.is-light .player-tools button, .player.is-light .player-tools a { border-color: var(--line); }
.player-tools button:hover, .player-tools a:hover { border-color: var(--gold-300); color: var(--gold-300); }
.player.is-light .player-tools button:hover, .player.is-light .player-tools a:hover { color: var(--gold-700); border-color: var(--gold-500); }
.player-tools .icon { width: 17px; height: 17px; }
.player-missing { grid-column: 1 / -1; font-size: .9rem; color: rgba(255,255,255,.7); display: flex; gap: 8px; align-items: center; }
.player.is-light .player-missing { color: var(--ink-3); }
.no-js-only { display: none; }
@media (max-width: 599px) {
  .player { grid-template-columns: auto 1fr; padding: 14px; }
  .player-tools { grid-column: 1 / -1; justify-content: center; }
  .player-play { width: 52px; height: 52px; }
}

/* ---------- Podcast show / episodes ---------- */
.show-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.show-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-top: 14px; }
.show-stack { position: relative; height: 320px; }
.show-stack .art, .show-stack img { position: absolute; width: 230px; aspect-ratio: 1; border-radius: 22px; box-shadow: var(--shadow-lg); object-fit: cover; font-size: 15px; }
.show-stack > :nth-child(1) { inset-inline-end: 0; top: 40px; transform: rotate(-8deg); opacity: .55; }
.show-stack > :nth-child(2) { inset-inline-end: 90px; top: 0; transform: rotate(4deg); opacity: .8; }
.show-stack > :nth-child(3) { inset-inline-end: 170px; top: 60px; }
.subscribe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.subscribe a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: .85rem; font-weight: 600; transition: background .2s, border-color .2s; }
.subscribe a:hover { background: rgba(255,255,255,.08); border-color: var(--gold-300); }
.subscribe .icon { width: 16px; height: 16px; color: var(--gold-300); }
.subscribe.on-light a { color: var(--heading-2); border-color: var(--line); }
.subscribe.on-light a:hover { background: var(--navy-50); border-color: var(--navy-700); }
@media (max-width: 899px) { .show-hero-grid { grid-template-columns: 1fr; } .show-stack { display: none; } }

.featured-episode { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: #fff; position: relative; overflow: hidden; }
.featured-episode .art, .featured-episode .ep-cover { width: 100%; aspect-ratio: 1; border-radius: 20px; object-fit: cover; font-size: 14px; box-shadow: var(--shadow-lg); }
.featured-episode h2, .featured-episode h3 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 8px 0 6px; }
.featured-episode h2 a:hover, .featured-episode h3 a:hover { color: var(--gold-300); }
.featured-episode p { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0 0 16px; }
.featured-episode .meta-row { color: rgba(255,255,255,.65); margin-bottom: 16px; }
.featured-episode .meta-row .icon { color: var(--gold-300); }
@media (max-width: 767px) { .featured-episode { grid-template-columns: 1fr; } .featured-episode .art, .featured-episode .ep-cover { max-width: 200px; } }

.episodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.episode { position: relative; display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; align-items: center; padding: 14px; padding-inline-end: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.episode:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.episode .art, .episode .ep-cover { width: 92px; aspect-ratio: 1; border-radius: 14px; object-fit: cover; font-size: 8px; }
.episode-num { font-size: .8rem; font-weight: 700; color: var(--gold-700); }
.episode h3 { font-size: 1.05rem; line-height: 1.7; margin: 2px 0; }
.episode h3 a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.episode p { margin: 0; color: var(--ink-2); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.episode .meta-row { font-size: .8rem; margin-top: 4px; }
.episode-go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); transition: background .25s, transform .25s var(--ease); }
.episode:hover .episode-go { background: var(--gold-500); color: var(--navy-950); transform: scale(1.06); }
.episode-go .icon { width: 22px; height: 22px; }
.on-dark .episode { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.on-dark .episode:hover { background: rgba(255,255,255,.07); box-shadow: none; }
.on-dark .episode h3 { color: #fff; }
.on-dark .episode p { color: rgba(255,255,255,.65); }
.on-dark .episode .meta-row { color: rgba(255,255,255,.55); }
.on-dark .episode-num { color: var(--gold-300); }
.on-dark .episode-go { background: rgba(255,255,255,.08); }
@media (max-width: 599px) { .episode { grid-template-columns: 72px 1fr; gap: 14px; padding-inline-end: 14px; } .episode .art, .episode .ep-cover { width: 72px; } .episode-go { display: none; } }

/* Home podcast band */
.podcast-band { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #fff; position: relative; overflow: hidden; }
.podcast-band::before { content: ""; position: absolute; inset-inline-end: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(216,193,154,.12); box-shadow: 0 0 0 70px rgba(216,193,154,.025); }
.podcast-band .section-head h2 { color: #fff; }
.podcast-band .section-head p { color: rgba(255,255,255,.7); }
.podcast-band .eyebrow { color: var(--gold-300); }
.podcast-band .link-arrow { color: var(--gold-300); }
.podcast-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.podcast-grid .featured-episode { grid-template-columns: 1fr; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.podcast-grid .featured-episode .ep-top { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; }
@media (max-width: 991px) { .podcast-grid { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .podcast-grid .featured-episode .ep-top { grid-template-columns: 1fr; } .podcast-grid .featured-episode .ep-top > :first-child { max-width: 150px; } }

/* Episode page */
.episode-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.episode-hero-grid .art, .episode-hero-grid .ep-cover { width: 100%; aspect-ratio: 1; border-radius: 26px; object-fit: cover; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); font-size: 18px; }
.episode-hero h1 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); line-height: 1.55; margin: 12px 0 10px; }
.episode-hero .player { margin-top: 26px; }
@media (max-width: 899px) { .episode-hero-grid { grid-template-columns: 1fr; } .episode-hero-grid > :first-child { max-width: 240px; } }
.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters button, .chapters span.ch { width: 100%; display: flex; gap: 16px; align-items: center; padding: 12px 4px; border: 0; background: none; text-align: right; cursor: pointer; color: var(--ink); font-weight: 600; }
.chapters button:hover { color: var(--gold-700); }
.chapters time { direction: ltr; min-width: 64px; font-variant-numeric: tabular-nums; font-size: .82rem; padding: 2px 10px; border-radius: 999px; background: var(--navy-50); color: var(--link); text-align: center; }
.chapters button:hover time { background: var(--gold-100); color: var(--gold-700); }
.transcript { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--r-md); }
.transcript summary { padding: 16px 20px; cursor: pointer; font-weight: 700; color: var(--heading); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary .icon { transition: transform .25s; }
.transcript[open] summary .icon { transform: rotate(180deg); }
.transcript .prose { padding: 0 20px 20px; font-size: .98rem; }
.ep-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.ep-nav a { display: block; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); transition: border-color .2s; }
.ep-nav a:hover { border-color: var(--navy-700); }
.ep-nav small { display: block; color: var(--ink-3); font-size: .8rem; }
.ep-nav b { color: var(--heading); font-size: .95rem; line-height: 1.7; }
.ep-nav .next { text-align: left; }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mini-list a { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; }
.mini-list a:hover { background: var(--navy-50); }
.mini-list .art, .mini-list img { width: 52px; aspect-ratio: 1; border-radius: 10px; object-fit: cover; font-size: 5px; }
.mini-list b { display: block; font-size: .88rem; line-height: 1.6; color: var(--heading); }
.mini-list small { color: var(--ink-3); font-size: .76rem; }

/* ---------- Videos ---------- */
.video-card { overflow: hidden; display: flex; flex-direction: column; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; background: var(--navy-900); }
.video-thumb img, .video-thumb .art { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); font-size: 12px; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2,32,42,.6)); }
.play-badge { position: absolute; z-index: 2; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #043441; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); transition: transform .3s var(--ease), background .3s; }
.play-badge svg { width: 24px; height: 24px; margin-inline-start: -3px; }
.video-card:hover .play-badge { transform: scale(1.1); background: var(--gold-300); }
.dur-badge { position: absolute; z-index: 2; bottom: 10px; left: 10px; direction: ltr; padding: 2px 8px; border-radius: 6px; background: rgba(2,32,42,.8); color: #fff; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.video-card h3 { font-size: 1.05rem; line-height: 1.7; margin: 8px 0 6px; }
.video-card h3 a::before { content: ""; position: absolute; inset: 0; }
.video-feature { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--navy-950); color: #fff; box-shadow: var(--shadow-lg); }
.video-feature .video-thumb { border-radius: 0; aspect-ratio: auto; min-height: 320px; }
.video-feature .video-thumb::after { background: linear-gradient(270deg, transparent 50%, rgba(2,32,42,.85)); }
.video-feature .play-badge { width: 84px; height: 84px; }
.video-feature .vf-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.video-feature h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 10px 0; }
.video-feature h2 a::before { content: ""; position: absolute; inset: 0; }
.video-feature p { color: rgba(255,255,255,.7); }
@media (max-width: 899px) { .video-feature { grid-template-columns: 1fr; } .video-feature .video-thumb { aspect-ratio: 16/9; min-height: 0; } }
.theater { background: #01141a; color: #fff; padding-block: clamp(20px, 4vw, 40px) clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.theater::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 380px at 50% 30%, rgba(27,116,136,.45), transparent 70%); pointer-events: none; }
.theater .container { position: relative; max-width: 1180px; }
.theater .breadcrumbs ol { color: rgba(255,255,255,.55); }
.theater .breadcrumbs [aria-current] { color: rgba(255,255,255,.8); }
.screen { margin-top: 18px; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 40px 100px -30px rgba(27,116,136,.6), 0 0 0 1px rgba(255,255,255,.06); }
.screen iframe, .screen video { width: 100%; height: 100%; border: 0; display: block; }
.screen .art { width: 100%; height: 100%; font-size: 20px; }
.theater h1 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.6; margin: 24px 0 10px; }
.theater .meta-row { color: rgba(255,255,255,.65); }
.theater .meta-row .icon { color: var(--gold-300); }

/* ---------- Programs: cards ---------- */
.program-card { display: flex; flex-direction: column; overflow: hidden; }
.program-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; }
.program-cover img, .program-cover .art { width: 100%; height: 100%; object-fit: cover; font-size: 13px; transition: transform .7s var(--ease); }
.program-card:hover .program-cover img { transform: scale(1.04); }
.status-badge { position: absolute; z-index: 2; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.95); color: #043441; font-size: .75rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.status-badge.is-open::before { background: #1f9d61; box-shadow: 0 0 0 3px rgba(31,157,97,.2); }
.status-badge.is-soon::before { background: var(--gold-500); }
.discount-badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 3px 10px; border-radius: 999px; background: #b3261e; color: #fff; font-size: .75rem; font-weight: 800; }
.program-card h3 { font-size: 1.12rem; line-height: 1.7; margin: 8px 0 4px; }
.program-card h3 a::before { content: ""; position: absolute; inset: 0; }
.program-card .subtitle { color: var(--ink-2); font-size: .9rem; margin: 0 0 12px; }
.program-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--ink-3); margin-bottom: 4px; }
.program-facts span { display: inline-flex; align-items: center; gap: .35em; }
.program-facts .icon { width: 15px; height: 15px; color: var(--gold-600); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 1.15rem; font-weight: 900; color: var(--heading); }
.price small { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.price del { color: var(--ink-3); font-size: .85rem; }
.price.is-free b { color: var(--ok); }

/* Package box mock */
.pkg-stage { perspective: 1200px; display: grid; place-items: center; padding: 20px 10px 40px; }
.pkg-box { --a1: var(--navy-700); --a2: var(--navy-950); position: relative; width: min(300px, 70vw); aspect-ratio: 3 / 4; transform: rotateY(18deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.pkg-stage:hover .pkg-box { transform: rotateY(8deg) rotateX(2deg); }
.pkg-front { position: absolute; inset: 0; border-radius: 10px 16px 16px 10px; overflow: hidden; box-shadow: -30px 40px 60px -20px rgba(0,0,0,.55); }
.pkg-front img, .pkg-front .art { width: 100%; height: 100%; object-fit: cover; font-size: 15px; }
.pkg-front .art-inner { padding: 14% 12%; }
.pkg-side { position: absolute; top: 0; bottom: 0; right: 100%; width: 34px; transform-origin: right; transform: rotateY(-90deg); background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.2)), linear-gradient(150deg, var(--a1), var(--a2)); border-radius: 6px 0 0 6px; }
.pkg-shine { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,.18), transparent 30%, transparent 70%, rgba(255,255,255,.06)); pointer-events: none; }
.pkg-label { position: absolute; bottom: 14px; inset-inline: 14px; display: flex; justify-content: space-between; align-items: center; font-size: .7rem; color: rgba(255,255,255,.75); font-weight: 600; }
.pkg-label .latin { font-size: .8rem; color: var(--gold-300); }
@media (prefers-reduced-motion: reduce) { .pkg-box { transform: none; } }

/* ---------- Program detail ---------- */
.program-hero { position: relative; overflow: hidden; padding-block: clamp(32px, 6vw, 64px) clamp(40px, 6vw, 80px); background: var(--sand); border-bottom: 1px solid var(--line); }
.program-hero.is-dark { background: radial-gradient(900px 480px at 10% 10%, rgba(255,255,255,.08), transparent 60%), linear-gradient(150deg, var(--a1, var(--navy-800)), var(--a2, var(--navy-950))); color: #fff; border: 0; }
.program-hero.is-dark h1 { color: #fff; }
.program-hero.is-dark .lead { color: rgba(255,255,255,.75); }
.program-hero.is-dark .breadcrumbs ol { color: rgba(255,255,255,.6); }
.program-hero.is-dark .breadcrumbs [aria-current] { color: rgba(255,255,255,.85); }
.program-hero.is-dark .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); color: #fff; }
.program-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.program-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.5; margin: 14px 0 0; }
.program-hero .lead { font-size: 1.08rem; color: var(--ink-2); margin: 12px 0 0; max-width: 60ch; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 28px; }
.qf { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.qf .qf-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-700); flex: none; }
.qf .qf-icon .icon { width: 19px; height: 19px; }
.qf small { display: block; color: var(--ink-3); font-size: .74rem; line-height: 1.5; }
.qf b { display: block; color: var(--heading); font-size: .9rem; line-height: 1.5; }
.program-hero.is-dark .qf { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.program-hero.is-dark .qf small { color: rgba(255,255,255,.6); }
.program-hero.is-dark .qf b { color: #fff; }
.program-hero.is-dark .qf .qf-icon { background: rgba(216,193,154,.15); color: var(--gold-300); }
.course-visual { position: relative; }
.course-visual .art, .course-visual img { width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; object-fit: cover; box-shadow: var(--shadow-lg); font-size: 16px; }
.course-date { position: absolute; bottom: 22px; inset-inline-start: -18px; background: var(--surface); border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow-md); text-align: center; min-width: 120px; }
.course-date small { display: block; color: var(--ink-3); font-size: .75rem; }
.course-date b { display: block; color: var(--heading); font-size: 1.05rem; }
@media (max-width: 899px) { .program-hero-grid { grid-template-columns: 1fr; } .course-visual { max-width: 300px; } .program-hero .pkg-stage { order: -1; } }

.program-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.program-layout > aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 991px) { .program-layout { grid-template-columns: 1fr; } .program-layout > aside { position: static; order: -1; } }
.block + .block { margin-top: clamp(40px, 6vw, 64px); }
.block-title { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 8px 0 20px; }
.enroll-card { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; }
.enroll-head { padding: 22px 24px; background: var(--navy-900); color: #fff; }
.enroll-head .price b { color: #fff; font-size: 1.6rem; }
.enroll-head .price small, .enroll-head .price del { color: rgba(255,255,255,.6); }
.enroll-head .status-badge { position: static; margin-bottom: 10px; }
.enroll-body { padding: 20px 24px 24px; }
.enroll-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.enroll-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.enroll-list .icon { width: 18px; height: 18px; color: var(--gold-600); margin-top: 5px; }
.enroll-list b { color: var(--heading); }
.enroll-card .btn { width: 100%; }
.enroll-help { margin-top: 14px; font-size: .85rem; color: var(--ink-3); text-align: center; }
.enroll-help a { color: var(--link); font-weight: 700; }
.audience-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.audience-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--sand); font-size: .95rem; color: var(--ink); }
.audience-item .icon { width: 20px; height: 20px; color: var(--gold-600); margin-top: 5px; }
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.outcomes li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.outcomes .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--navy-900); color: var(--gold-300); display: grid; place-items: center; flex: none; margin-top: 4px; }
.outcomes .tick .icon { width: 13px; height: 13px; stroke-width: 3; }
@media (max-width: 599px) { .outcomes { grid-template-columns: 1fr; } }
.sessions { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.session { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 26px; }
.session::before { content: ""; position: absolute; top: 56px; bottom: 0; right: 27px; width: 1.5px; background: var(--line); }
.session:last-child::before { display: none; }
.session-num { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--heading-2); font-weight: 900; font-size: 1.1rem; border: 1px solid var(--navy-100); }
.session h3 { font-size: 1.05rem; margin: 4px 0 4px; }
.session p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.session ul { margin: 8px 0 0; padding-inline-start: 1.2em; color: var(--ink-2); font-size: .9rem; }
.accordion { display: grid; gap: 10px; }
.acc { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.acc[open] { border-color: var(--navy-100); box-shadow: var(--shadow-sm); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--navy-50); }
.acc-num { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-700); font-weight: 800; font-size: .9rem; }
.acc summary b { color: var(--heading); font-size: 1rem; line-height: 1.6; }
.acc summary small { display: block; color: var(--ink-3); font-size: .8rem; font-weight: 500; }
.acc summary .chev { width: 20px; height: 20px; color: var(--ink-3); transition: transform .3s var(--ease); }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc-body { padding: 0 18px 16px; }
.acc-body p { margin: 0 0 10px; color: var(--ink-2); font-size: .94rem; }
.lessons { list-style: none; margin: 0; padding: 0; border-top: 1px dashed var(--line); }
.lessons li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px dashed var(--line); font-size: .92rem; color: var(--ink); }
.lessons li:last-child { border-bottom: 0; }
.lessons li span { display: inline-flex; gap: 10px; align-items: center; }
.lessons .icon { width: 16px; height: 16px; color: var(--link); }
.lessons time { direction: ltr; color: var(--ink-3); font-size: .82rem; font-variant-numeric: tabular-nums; }
.faq .acc summary { grid-template-columns: 1fr auto; }
.faq .acc-body p { font-size: .96rem; }
.instructor { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 26px; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: #fff; }
.instructor .arch { aspect-ratio: 4/5; border-radius: 999px 999px 16px 16px; box-shadow: none; }
.instructor .arch-monogram .mono { font-size: 2.6rem; }
.instructor .arch-monogram .mono-sub { display: none; }
.instructor h3 { color: #fff; font-size: 1.2rem; }
.instructor p { color: rgba(255,255,255,.72); margin: 6px 0 10px; font-size: .94rem; }
.instructor .link-arrow { color: var(--gold-300); }
.instructor small { color: var(--gold-300); font-weight: 700; }
@media (max-width: 479px) { .instructor { grid-template-columns: 1fr; } .instructor .arch { max-width: 120px; } }
.includes-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.includes-strip span { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: #fff; }
.includes-strip .icon { width: 17px; height: 17px; color: var(--gold-300); }
.hero-price { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px; }
.hero-price .price b { color: #fff; font-size: 1.7rem; }
.hero-price .price small, .hero-price .price del { color: rgba(255,255,255,.6); }
.preview-video { aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-md); }
.preview-video iframe, .preview-video video { width: 100%; height: 100%; border: 0; }

/* Learning hub */
.hub-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hub-tile { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 40px); min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(150deg, var(--a1), var(--a2)); transition: transform .4s var(--ease), box-shadow .4s; }
.hub-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hub-tile::before { content: ""; position: absolute; top: -80px; inset-inline-start: -60px; width: 300px; height: 340px; border-radius: 999px 999px 24px 24px; border: 1px solid rgba(216,193,154,.3); }
.hub-tile .icon-lg { position: absolute; top: 28px; inset-inline-end: 28px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--gold-300); }
.hub-tile .icon-lg .icon { width: 28px; height: 28px; }
.hub-tile h2 { color: #fff; font-size: 1.6rem; position: relative; }
.hub-tile h2 a::before { content: ""; position: absolute; inset: -400px; }
.hub-tile p { color: rgba(255,255,255,.75); margin: 8px 0 14px; position: relative; max-width: 42ch; }
.hub-tile .link-arrow { color: var(--gold-300); position: relative; }
@media (max-width: 767px) { .hub-split { grid-template-columns: 1fr; } }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards-4 { grid-template-columns: 1fr; } }
.side-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.side-layout > aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 991px) { .side-layout { grid-template-columns: 1fr; } .side-layout > aside { position: static; } }
@media (max-width: 899px) { .dark-hero .hub-split { grid-template-columns: 1fr !important; } }

/* Full-composition portrait (designed image with its own background and signature) */
.hero-visual--full { width: min(100%, 580px); justify-self: end; margin-inline-start: auto; }
.hero-visual--full img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect; }
.hero:has(.hero-visual--full) { padding-bottom: clamp(40px, 5vw, 72px); }
.hero:has(.hero-visual--full) .hero-deco { display: none; }
@media (max-width: 899px) { .hero-visual--full { width: min(92%, 420px); justify-self: center; margin-inline: auto; } }
.about-full { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-md); background: var(--surface); }
/* Filter rows that reuse .toolbar spacing: keep the chips together at the start. */
.filters.toolbar { justify-content: flex-start; }

/* ---------- Brands ---------- */
.brands-section { background: linear-gradient(180deg, var(--paper) 0%, var(--navy-50) 100%); }
.brands-section + .section:not(.section-sand):not(.podcast-band) { padding-top: clamp(48px, 6vw, 72px); }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; gap: 24px; }
.brand-card { --acc: var(--navy-700); position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.brand-card::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 4px; background: var(--acc); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.brand-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px color-mix(in srgb, var(--acc) 45%, transparent), var(--shadow-sm); border-color: color-mix(in srgb, var(--acc) 22%, var(--line)); }
.brand-card:hover::before { transform: scaleX(1); }
.brand-stage { position: relative; height: 200px; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 115%, color-mix(in srgb, var(--acc) 14%, #fff) 0%, var(--stage) 62%); border-bottom: 1px solid var(--line-soft); }
.brand-stage::before { content: ""; position: absolute; z-index: -1; width: 210px; height: 250px; bottom: -110px; left: 50%; translate: -50% 0; border-radius: 999px 999px 0 0; border: 1px solid color-mix(in srgb, var(--acc) 22%, transparent); box-shadow: 0 0 0 26px color-mix(in srgb, var(--acc) 4%, transparent), 0 0 0 52px color-mix(in srgb, var(--acc) 3%, transparent); }
.brand-stage img { max-width: 58%; max-height: 118px; width: auto; height: auto; object-fit: contain; transition: transform .6s var(--ease); mix-blend-mode: multiply; }
.brand-card:hover .brand-stage img { transform: scale(1.06); }
.brand-mono { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 80%, #fff), var(--acc)); color: #fff; font-size: 2.6rem; font-weight: 900; box-shadow: 0 18px 36px -16px color-mix(in srgb, var(--acc) 70%, transparent); }
.brand-mono.latin { font-family: var(--font-latin); font-style: italic; font-weight: 500; font-size: 2.9rem; letter-spacing: -.02em; }
.brand-draft { position: absolute; top: 14px; inset-inline-end: 14px; }
.brand-body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 22px; }
.brand-meta { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--ink-3); margin-bottom: 10px; }
.brand-card h3 { font-size: 1.28rem; line-height: 1.6; }
.brand-latin { display: block; margin-top: 2px; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); text-align: right; }
.brand-tagline { margin: 12px 0 0; color: var(--heading-2); font-weight: 700; font-size: .95rem; }
.brand-body p { margin: 10px 0 0; color: var(--ink-2); font-size: .93rem; line-height: 1.95; }
.brand-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px dashed var(--line); margin-top: 20px; }
.brand-body > :last-child.brand-foot { margin-top: auto; }
.brand-body p + .brand-foot, .brand-body h3 + .brand-foot, .brand-latin + .brand-foot { margin-top: 20px; }
.brand-role { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--ink-2); font-weight: 600; }
.brand-role .icon { width: 16px; height: 16px; color: var(--acc); }
.brand-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 8%, #fff); color: var(--acc); font-size: .82rem; font-weight: 700; transition: background .25s, color .25s; }
.brand-link .icon { width: 14px; height: 14px; }
.brand-link:hover { background: var(--acc); color: #fff; }
.brand-navy { --acc: #11586a; }
.brand-gold { --acc: #9c7440; }
.brand-red { --acc: #b4182f; }
.brand-teal { --acc: #2f7f8a; }
.brand-emerald { --acc: #1d6b5a; }
.brand-burgundy { --acc: #0f5b6b; }
.brand-slate { --acc: #4b5567; }

/* =====================================================================
   Brief 2 — announcement, ticker, story, sectors, books, academy, demo, requests
   ===================================================================== */

/* Announcement bar */
.announce { background: var(--navy-950); color: #fff; font-size: .86rem; border-bottom: 1px solid rgba(216,193,154,.18); }
.announce[hidden] { display: none; }
.announce .container { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 6px; }
.announce p { margin: 0; flex: 1; line-height: 1.7; color: rgba(255,255,255,.92); }
.announce-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 0 4px rgba(216,193,154,.18); }
.announce-link { flex: none; display: inline-flex; align-items: center; gap: .4em; color: var(--gold-300); font-weight: 800; white-space: nowrap; border-bottom: 1px solid rgba(216,193,154,.4); padding-bottom: 1px; }
.announce-link:hover { color: #fff; border-color: #fff; }
.announce-link .icon { width: 14px; height: 14px; }
.announce-close { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,.7); cursor: pointer; }
.announce-close:hover { background: rgba(255,255,255,.1); color: #fff; }
.announce-close .icon { width: 16px; height: 16px; }
.topbar.links-only .topbar-contact { margin-inline-start: auto; }
@media (max-width: 767px) {
  .announce .container { flex-wrap: wrap; row-gap: 4px; padding-block: 8px; }
  .announce p { flex-basis: calc(100% - 60px); font-size: .82rem; }
  .announce-link { margin-inline-start: 19px; }
}

/* Hero additions */
.hero-kicker { margin: 0; font-size: clamp(.9rem, 1.4vw, 1.02rem); font-weight: 800; color: var(--gold-700); letter-spacing: .01em; }
.hero-creds { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hero-creds li { display: inline-flex; align-items: center; gap: .45em; padding: .3em .9em .3em .8em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 700; color: var(--heading-2); }
.hero-creds .icon { width: 15px; height: 15px; color: var(--gold-600); }
.hero-mission { margin-top: 18px; max-width: 52ch; color: var(--ink-2); font-size: 1.04rem; line-height: 2; padding-inline-start: 16px; border-inline-start: 2px solid var(--gold-500); }
.btn-demo { --bg: transparent; --fg: var(--heading); --bd: var(--gold-500); }
.btn-demo:hover { --bg: var(--gold-100); }
.btn-demo .icon { color: var(--gold-600); }
.hero-actions .btn { padding-inline: 1.15em; }

/* Ticker */
.marquee { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; border-block: 1px solid rgba(216,193,154,.2); }
.marquee-viewport { display: flex; width: max-content; direction: ltr; animation: marquee 70s linear infinite; }
.marquee-track { display: flex; flex: none; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee-track li { display: inline-flex; align-items: center; gap: 22px; padding: 17px 22px 17px 0; font-size: .95rem; font-weight: 700; white-space: nowrap; direction: rtl; }
.marquee-dot { width: 7px; height: 7px; background: var(--gold-300); transform: rotate(45deg); flex: none; margin-inline-start: 22px; }
.marquee:hover .marquee-viewport, .marquee:focus-within .marquee-viewport, .marquee.is-paused .marquee-viewport { animation-play-state: paused; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--navy-900), transparent); }
.marquee-toggle { position: absolute; z-index: 2; inset-inline-start: 10px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: var(--navy-900); color: #fff; cursor: pointer; opacity: .8; }
.marquee-toggle:hover, .marquee-toggle:focus-visible { opacity: 1; }
.marquee-toggle .icon { width: 14px; height: 14px; }
.marquee-toggle .i-play { display: none; }
.marquee.is-paused .marquee-toggle .i-play { display: block; }
.marquee.is-paused .marquee-toggle .i-pause { display: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-viewport { animation: none; width: auto; overflow-x: auto; } .marquee-track[aria-hidden="true"] { display: none; } }
/* logo ticker */
.logo-strip { margin-top: 56px; }
.marquee--logos { background: var(--surface); color: var(--ink); border-color: var(--line); }
.marquee--logos::before { background: linear-gradient(90deg, var(--surface), transparent); }
.marquee--logos::after { background: linear-gradient(270deg, var(--surface), transparent); }
.marquee--logos .marquee-viewport { animation-duration: 55s; }
.marquee--logos .marquee-toggle { background: var(--surface); color: var(--heading); border-color: var(--line); }
.marquee-logo { padding: 18px 28px !important; }
.marquee-logo img { height: 52px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; background: #fff; border-radius: 8px; padding: 4px 8px; }
.marquee-logo img:hover { filter: none; opacity: 1; }

/* Story */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.story-main h2 { font-size: clamp(1.2rem, 2.2vw, 1.9rem); margin-top: 12px; }
.story-lead { margin: 12px 0 0; font-size: 1.12rem; font-weight: 700; color: var(--link); max-width: 46ch; }
.story-text { margin-top: 22px; max-width: 64ch; }
.story-text p { font-size: 1.04rem; line-height: 2.15; color: var(--body-ink, var(--ink)); }
.story-text strong { color: var(--heading); font-weight: 800; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--gold-300) 55%, transparent) 62%); padding-inline: 2px; }
.story-more summary { list-style: none; display: inline-flex; align-items: center; gap: .5em; margin-top: 6px; padding: .5em 1.1em; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 800; font-size: .9rem; color: var(--heading-2); }
.story-more summary::-webkit-details-marker { display: none; }
.story-more summary:hover { border-color: var(--gold-500); color: var(--gold-700); }
.story-more summary .icon { width: 14px; height: 14px; transition: transform .3s; }
.story-more[open] summary .icon { transform: rotate(180deg); }
.story-more .less, .story-more[open] .more { display: none; }
.story-more[open] .less { display: inline; }
.story-rest { margin-top: 10px; }
.story-main .link-arrow { margin-top: 24px; }
.story-aside { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 28px); }
.story-photo { margin: 0; border-radius: var(--r-xl) var(--r-xl) 120px var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--navy-100); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-quote { margin: 0; padding: 28px; border-radius: var(--r-lg); background: var(--navy-900); color: #fff; position: relative; }
.story-quote .icon { width: 30px; height: 30px; color: var(--gold-300); transform: scaleX(-1); }
.story-quote p { margin: 10px 0 14px; font-size: 1.2rem; font-weight: 800; line-height: 1.9; }
.story-quote footer { color: var(--gold-300); font-size: .86rem; font-weight: 700; }
@media (max-width: 899px) { .story-grid { grid-template-columns: 1fr; } .story-aside { position: static; } }
.story-grid.has-video { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.story-grid.has-video .story-aside { position: static; }
.story-grid.has-video .story-quote { margin-top: 4px; }
@media (max-width: 899px) { .story-grid.has-video { grid-template-columns: 1fr; } .story-grid.has-video .story-aside { order: -1; } }

/* Consulting */
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.focus-grid { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.focus-card { position: relative; padding: 26px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.focus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.focus-num { display: block; font-family: var(--font-latin); font-size: 2.1rem; font-weight: 500; line-height: 1; color: var(--gold-500); margin-bottom: 14px; }
.focus-card h3 { font-size: 1.08rem; }
.focus-card p { margin: 8px 0 0; color: var(--ink-2); font-size: .92rem; line-height: 1.95; }
.sectors-title { font-size: 1.15rem; margin: 0 0 20px; color: var(--heading); display: flex; align-items: center; gap: 14px; }
.sectors-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.sector-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.sector-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.sector-icon { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-700); }
.sector-icon .icon { width: 22px; height: 22px; }
.sector-card h4 { font-size: .98rem; line-height: 1.7; }
.org-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.org-list li { display: inline-flex; align-items: center; gap: 8px; padding: .35em .85em; border-radius: 10px; background: var(--navy-50); border: 1px solid var(--navy-100); font-size: .86rem; font-weight: 600; color: var(--heading-2); }
.org-list li img { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; background: #fff; }
.org-list li small { color: var(--ink-3); font-weight: 500; font-size: .74rem; }
.org-list li.is-draft { border-style: dashed; border-color: #e2b65a; }
.draft-note { display: flex; gap: 10px; align-items: center; margin: 18px 0 0; padding: 12px 16px; background: var(--draft-bg); color: var(--draft); border-radius: 12px; font-size: .86rem; }
.draft-note .icon { width: 18px; height: 18px; flex: none; }

/* Gallery + lightbox */
.gallery-block { margin-top: 56px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.gallery li { display: flex; flex-direction: column; gap: 8px; }
.gallery a { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--navy-100); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery .draft-badge { position: absolute; top: 8px; inset-inline-end: 8px; }
.gallery-cap { font-size: .84rem; color: var(--ink-2); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(1,20,26,.92); }
dialog.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 56px 16px 24px; }
dialog.lightbox img { max-width: min(96vw, 1200px); max-height: 78vh; object-fit: contain; border-radius: 10px; }
dialog.lightbox figcaption { color: #fff; font-size: .95rem; text-align: center; }
.lb-btn { position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 14px; inset-inline-end: 14px; }
.lb-next { left: 14px; top: 50%; translate: 0 -50%; }
.lb-prev { right: 14px; top: 50%; translate: 0 -50%; }

/* Brand cards: photo variant */
.brand-stage.has-photo { padding: 0; }
.brand-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; mix-blend-mode: normal; opacity: .85; z-index: -1; }
.brand-stage.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,32,42,.15), rgba(2,32,42,.55)); }
.brand-plate { display: grid; place-items: center; background: #fff; border-radius: 16px; padding: 14px 22px; box-shadow: var(--shadow-md); }
.brand-plate img { max-width: 150px; max-height: 70px; mix-blend-mode: normal; }
.brand-video { display: inline-flex; align-items: center; gap: .45em; margin-top: 14px; font-weight: 700; font-size: .88rem; color: var(--acc); }
.brand-video .icon { width: 18px; height: 18px; }

/* Education / degrees */
.degrees .tl-item h3 { font-size: 1.2rem; }

/* Books */
.books-section { background: radial-gradient(900px 400px at 15% 0%, var(--navy-50), transparent 70%); }
.books-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: end; margin-bottom: 40px; }
.books-head h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-top: 10px; max-width: 24ch; }
.series-box { padding: 22px 24px; border: 1px solid var(--line); border-inline-start: 3px solid var(--gold-500); border-radius: var(--r-md); background: var(--surface); }
.series-box b { display: block; font-size: 1.05rem; color: var(--heading); }
.series-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: .86rem; color: var(--ink-2); font-weight: 600; }
.series-meta span { display: inline-flex; align-items: center; gap: .4em; }
.series-meta .icon { width: 15px; height: 15px; color: var(--gold-600); }
.series-box p { margin: 10px 0 0; color: var(--ink-2); font-size: .92rem; line-height: 1.95; }
.books-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 196px), 1fr)); gap: 28px 20px; }
.book-card { display: flex; flex-direction: column; gap: 16px; }
.book-visual { display: grid; place-items: center; padding: 26px 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--navy-50), var(--sand)); border: 1px solid var(--line); perspective: 900px; }
.book-visual img, .book-tile { width: min(100%, 168px); aspect-ratio: 5 / 7; border-radius: 4px 10px 10px 4px; box-shadow: -10px 14px 26px -10px rgba(4,52,65,.45), inset 4px 0 0 rgba(255,255,255,.18); transform: rotateY(14deg); transition: transform .5s var(--ease), box-shadow .5s var(--ease); object-fit: cover; }
.book-card:hover .book-visual img, .book-card:hover .book-tile { transform: rotateY(0) translateY(-4px); }
.book-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: #fff; background: linear-gradient(155deg, var(--navy-700), var(--navy-900) 70%); position: relative; overflow: hidden; }
.book-tile::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(216,193,154,.4); border-radius: 2px 6px 6px 2px; }
.book-tile-vol { font-size: 3.4rem; font-weight: 900; line-height: 1; color: var(--gold-300); }
.book-tile-label { font-size: .9rem; font-weight: 700; letter-spacing: .02em; }
.book-tile--large { width: min(100%, 260px); }
.book-tile--large .book-tile-vol { font-size: 5rem; }
.book-card.is-writing .book-tile { background: linear-gradient(155deg, #5a6578, #323a49 70%); }
.book-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.book-body h3 { font-size: 1.05rem; line-height: 1.75; }
.book-body p { margin: 6px 0 12px; color: var(--ink-2); font-size: .9rem; line-height: 1.9; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.book-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: center; }
.book-hero-visual { display: grid; place-items: center; perspective: 1000px; }
.book-3d { width: min(100%, 280px); border-radius: 4px 12px 12px 4px; box-shadow: -18px 24px 40px -16px rgba(4,52,65,.55); transform: rotateY(-12deg); }
.toc-list { padding-inline-start: 1.4em; line-height: 2.2; }
.spec-list { margin: 0; display: grid; gap: 10px; }
.spec-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.spec-list dt { color: var(--ink-3); } .spec-list dd { margin: 0; font-weight: 700; color: var(--heading); }
@media (max-width: 899px) { .books-head, .book-hero-grid { grid-template-columns: 1fr; } .book-hero-visual { order: -1; } }

/* Academy */
.academy-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: 28px; }
.academy-head h2 {
	font-size: clamp(1.55rem, 3vw, 1.2rem);
	margin-top: 10px;
	max-width: 40ch;
}
.academy-head p { max-width: 56ch; color: var(--ink-2); margin: 10px 0 0; }
.academy-stat { display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.academy-stat .service-icon { margin: 0; width: 46px; height: 46px; }
.academy-stat b { font-size: 1rem; line-height: 1.7; max-width: 22ch; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.topic-chips .chip { padding: .4em 1em; transition: background .2s, border-color .2s; }
.topic-chips .chip:hover { border-color: var(--gold-500); background: var(--gold-100); }
.program-topic { color: var(--ink-3); font-size: .8rem; font-weight: 600; }
.status-badge.is-prereg { background: var(--gold-100); color: var(--gold-700); }

/* Responsibilities */
.resp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.resp-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; transition: border-color .3s, box-shadow .3s; }
.resp-card:hover { border-color: var(--gold-300); box-shadow: var(--shadow-md); }
.resp-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.resp-card h3 { font-size: 1.08rem; }
.resp-card p { margin: 8px 0 0; color: var(--ink-2); font-size: .92rem; line-height: 1.95; }
.resp-foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: var(--ink-2); }
.resp-foot span, .resp-foot a { display: inline-flex; align-items: center; gap: .4em; }
.resp-foot a { color: var(--link); font-weight: 700; }
.resp-foot .icon { width: 15px; height: 15px; }
.status-dot { font-size: .76rem; font-weight: 700; color: var(--ink-3); }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-inline-end: 5px; }
.status-dot.is-current { color: var(--ok); }

/* Demo */
.demo-band { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.demo-band::before { content: ""; position: absolute; inset-inline-end: -140px; top: -140px; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(216,193,154,.2); box-shadow: 0 0 0 40px rgba(216,193,154,.03); }
.demo-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.demo-copy h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.6; margin-top: 12px; }
.demo-copy > p { color: rgba(255,255,255,.78); max-width: 58ch; }
.demo-disclaimer { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; padding: 12px 14px; border: 1px dashed rgba(216,193,154,.4); border-radius: 12px; color: rgba(255,255,255,.7) !important; }
.demo-disclaimer .icon { width: 18px; height: 18px; flex: none; color: var(--gold-300); margin-top: 3px; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.demo-visual { position: relative; }
.demo-visual > img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.demo-mock { border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.demo-mock-bar { display: flex; gap: 6px; padding: 12px 14px; background: #eef5f6; }
.demo-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c6cdda; }
.demo-mock-body { padding: 18px; display: grid; gap: 12px; }
.demo-mock-row { display: grid; grid-template-columns: 14px 1fr 80px; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e5e7ec; border-radius: 12px; }
.demo-mock-row .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-500); }
.demo-mock-row b { font-size: .92rem; color: #1c2230; }
.demo-mock-row .bar { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--navy-700) 60%, #e5e7ec 60%); }
.demo-status { position: absolute; bottom: -14px; inset-inline-start: 18px; padding: .4em 1em; border-radius: 999px; background: var(--gold-500); color: var(--navy-950); font-weight: 800; font-size: .82rem; box-shadow: var(--shadow-md); }
.demo-status.is-ready { background: #6fd3a0; }
.demo-player { margin: 28px 0; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.demo-player iframe, .demo-player video { width: 100%; height: 100%; border: 0; }
.demo-pending { text-align: center; max-width: 620px; margin: 36px auto 0; padding: 44px 28px; border: 1px dashed var(--gold-500); border-radius: var(--r-xl); background: var(--surface); }
.demo-pending .service-icon { margin-inline: auto; }
.demo-pending p { color: var(--ink-2); }
@media (max-width: 899px) { .demo-grid { grid-template-columns: 1fr; } }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin: 0 0 24px; border-radius: 14px; background: var(--navy-50); border: 1px solid var(--navy-100); color: var(--ink-2); font-size: .9rem; line-height: 1.9; }
.notice .icon { width: 20px; height: 20px; flex: none; color: var(--gold-600); margin-top: 3px; }

/* Action cards */
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.action-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.action-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3vw, 38px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.action-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.action-card h3 { font-size: 1.3rem; line-height: 1.7; }
.action-sub { margin: 8px 0 0; font-weight: 700; color: var(--link); font-size: .95rem; line-height: 1.8; }
.action-card p { color: var(--ink-2); font-size: .95rem; line-height: 2; }
.action-card .btn { margin-top: auto; }
.action-card p + .btn, .action-card h3 + .btn { margin-top: 20px; }
.action-card.is-feature { background: var(--navy-900); border-color: var(--navy-900); }
.action-card.is-feature h3 { color: #fff; }
.action-card.is-feature .action-sub { color: var(--gold-300); }
.action-card.is-feature p { color: rgba(255,255,255,.78); }
.action-card.is-feature .service-icon { background: rgba(255,255,255,.08); color: var(--gold-300); }
@media (max-width: 991px) { .action-grid, .action-grid.two { grid-template-columns: 1fr; } }

/* Modal */
dialog.modal { border: 0; padding: 0; background: transparent; width: min(720px, 94vw); max-height: 90vh; margin: auto; color: var(--ink); }
dialog.modal::backdrop { background: rgba(2,32,42,.6); backdrop-filter: blur(3px); }
.modal-box { background: var(--surface); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; border: 1px solid var(--line); }
.modal-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.modal-head h2 { font-size: 1.3rem; line-height: 1.7; }
.modal-head p { margin: 6px 0 0; color: var(--ink-2); font-size: .9rem; }
.modal-courses { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.modal-courses li { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); }
.modal-courses h3 { font-size: 1rem; line-height: 1.7; }
.modal-courses h3 a:hover { color: var(--gold-700); }
.modal-courses p { margin: 4px 0 8px; color: var(--ink-2); font-size: .86rem; line-height: 1.85; }
.modal-courses .btn { flex: none; }
.modal-foot { margin-top: 18px; }
@media (max-width: 599px) { .modal-courses li { flex-direction: column; align-items: stretch; } }

/* Contact band */
.contact-band { background: var(--sand); }
.contact-band-grid { display: grid; grid-template-columns: 1.1fr 1fr .7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 10px; }
.contact-band-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-lines li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-lines .icon { width: 20px; height: 20px; color: var(--gold-600); flex: none; }
.contact-lines a:hover { color: var(--gold-700); }
.contact-band-social b { display: block; margin-bottom: 10px; font-size: .9rem; }
.contact-band-social .socials { color: var(--heading-2); }
.contact-band-social .socials a { border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 991px) { .contact-band-grid { grid-template-columns: 1fr; } }

/* Request forms */
.request-aside { padding: 26px; border-radius: var(--r-lg); background: var(--navy-900); color: #fff; }
.request-aside .service-icon { background: rgba(255,255,255,.08); color: var(--gold-300); }
.request-aside h2 { color: #fff; font-size: 1.2rem; line-height: 1.7; }
.request-aside p { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 2; }
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks .icon { width: 17px; height: 17px; flex: none; color: var(--gold-300); margin-top: 5px; }
.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group legend { font-weight: 700; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: .65em 1.1em; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; background: var(--surface); }
.choice:has(input:checked) { border-color: var(--gold-500); background: var(--gold-100); }
.choice input { accent-color: var(--gold-600); width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; }
input[type=file] { padding: 10px 12px; height: auto; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface); width: 100%; font-size: .88rem; }

/* Dark additions */
:root[data-theme="dark"] .demo-band, :root[data-theme="dark"] .action-card.is-feature, :root[data-theme="dark"] .request-aside, :root[data-theme="dark"] .story-quote { box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .marquee { border-color: var(--line); }
:root[data-theme="dark"] .marquee--logos .marquee-logo img { filter: grayscale(1) brightness(.95); }
:root[data-theme="dark"] .org-list li img { background: #fff; }
:root[data-theme="dark"] .book-visual { background: linear-gradient(160deg, var(--navy-50), var(--sand)); }
:root[data-theme="dark"] .hero-creds .icon { color: var(--gold-700); }
:root[data-theme="dark"] .story-text strong { background: linear-gradient(transparent 62%, rgba(214,180,124,.28) 62%); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .demo-band, :root:not([data-theme]) .action-card.is-feature, :root:not([data-theme]) .request-aside, :root:not([data-theme]) .story-quote { box-shadow: inset 0 0 0 1px var(--line); }
  :root:not([data-theme]) .marquee { border-color: var(--line); }
  :root:not([data-theme]) .story-text strong { background: linear-gradient(transparent 62%, rgba(214,180,124,.28) 62%); }
}

/* Inner-page hero (navy banner) */
.phero { background:
    radial-gradient(520px 320px at 8% 110%, rgba(216,193,154,.20), transparent 70%),
    radial-gradient(700px 360px at 100% -20%, rgba(31,135,150,.28), transparent 65%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #fff; border-bottom: 0; padding-block: clamp(40px, 6.5vw, 84px) clamp(44px, 6.5vw, 84px); isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1.3px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(270deg, #000, transparent 55%); }
.phero::after { inset: auto auto -40% 4%; width: 360px; height: 420px; border-radius: 999px 999px 0 0; border: 1px solid rgba(216,193,154,.38); opacity: 1; box-shadow: 0 0 0 30px rgba(216,193,154,.035), 0 0 0 60px rgba(216,193,154,.025); z-index: -1; }
.phero > .container { position: relative; }
.phero .breadcrumbs ol { display: inline-flex; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.68); backdrop-filter: blur(4px); }
.phero .breadcrumbs li + li::before { color: var(--gold-300); }
.phero .breadcrumbs a:hover { color: #fff; }
.phero .breadcrumbs [aria-current] { color: rgba(255,255,255,.92); }
.phero .eyebrow { color: var(--gold-300); font-size: .9rem; display: flex; width: fit-content; }
.phero h1 { color: #fff; max-width: 88ch; text-wrap: balance; font-size:clamp(1.9rem, 3.2vw, 1rem); line-height: 1.5; margin-top: 14px; letter-spacing: -.01em; }
.phero h1::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 3px; margin-top: 22px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); }
.phero .lead { color: rgba(255,255,255,.78); max-width: 60ch; font-size: 1.08rem; line-height: 2.05; margin-top: 20px; text-wrap: pretty; }
.phero .service-hero-icon { background: rgba(255,255,255,.08); border: 1px solid rgba(216,193,154,.4); color: var(--gold-300); margin-bottom: 18px; backdrop-filter: blur(4px); }
.phero .draft-badge { background: rgba(242,196,90,.16); color: #f2c45a; border-color: rgba(242,196,90,.5); }
.phero .btn-light { --bg: rgba(255,255,255,.1); --bd: rgba(255,255,255,.22); --fg: #fff; }
.phero .btn-ghost { --fg: #fff; --bd: rgba(255,255,255,.3); }
.phero .btn-primary { --bg: var(--gold-500); --bd: var(--gold-500); --fg: var(--navy-950); }
.phero + .section, .phero + section { position: relative; }
.phero-edge { display: none; }
@media (max-width: 767px) {
  .phero::after { width: 240px; height: 280px; inset: auto auto -45% -40px; }
  .phero .breadcrumbs ol { margin-bottom: 16px; font-size: .78rem; }
  .phero h1::after { margin-top: 16px; width: 52px; }
  .phero .lead { font-size: 1rem; }
}
:root[data-theme="dark"] .phero { box-shadow: inset 0 -1px 0 var(--line), inset 0 0 0 1px rgba(255,255,255,.03); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .phero { box-shadow: inset 0 -1px 0 var(--line); } }

/* Intro video */
.intro-video { background: var(--sand); position: relative; overflow: hidden; isolation: isolate; border-block: 1px solid var(--line); }
.intro-video::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(560px 340px at 90% 10%, color-mix(in srgb, var(--navy-100) 70%, transparent), transparent 70%), radial-gradient(460px 280px at 4% 100%, color-mix(in srgb, var(--gold-300) 30%, transparent), transparent 70%); }
.iv-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.iv-copy h2 { color: var(--heading); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.6; margin-top: 12px; text-wrap: balance; }
.iv-copy p { color: var(--ink-2); line-height: 2.05; max-width: 46ch; }
.iv-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 18px 0 26px; font-size: .88rem; color: var(--gold-700); font-weight: 700; }
.iv-meta span { display: inline-flex; align-items: center; gap: .45em; }
.iv-meta .icon { width: 17px; height: 17px; }
.iv-copy .btn .icon { fill: currentColor; stroke: none; width: 1em; height: 1em; }
.iv-stage { position: relative; padding: 0 0 18px 18px; }
.iv-frame { position: absolute; z-index: 0; inset: 18px 18px 0 0; border: 1.5px solid var(--gold-500); border-radius: calc(var(--r-xl) + 4px); opacity: .6; }
.iv-player { position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: #01141a; box-shadow: 0 36px 60px -28px rgba(4,52,65,.55); }
.iv-player video, .iv-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.iv-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy-700), var(--navy-950)); }
.iv-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iv-poster img.iv-portrait { object-position: center 18%; opacity: .55; filter: saturate(.85); }
.iv-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,32,42,.05) 35%, rgba(2,32,42,.6)); }
.iv-play { position: relative; z-index: 2; width: clamp(68px, 9vw, 92px); height: clamp(68px, 9vw, 92px); border-radius: 50%; display: grid; place-items: center; background: var(--gold-500); color: var(--navy-950); box-shadow: 0 0 0 10px rgba(216,193,154,.22), 0 20px 40px -12px rgba(0,0,0,.6); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.iv-play .icon { width: 40%; height: 40%; fill: currentColor; stroke: none; margin-inline-start: -4%; }
.iv-poster:hover .iv-play, .iv-poster:focus-visible .iv-play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(216,193,154,.2), 0 24px 44px -12px rgba(0,0,0,.65); }
.iv-player.is-playing .iv-poster, .iv-player.is-playing .iv-fallback { display: none; }
.iv-fallback { position: absolute; z-index: 3; inset-inline-start: 14px; bottom: 12px; font-size: .78rem; color: rgba(255,255,255,.75); text-decoration: underline; }
.iv-player.is-js .iv-fallback { display: none; }
.iv-empty { position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: var(--r-xl); border: 1px dashed var(--gold-500); display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 24px; background: var(--surface); }
.iv-empty .icon { width: 36px; height: 36px; color: var(--gold-600); }
.iv-empty span { color: var(--ink-2); font-size: .88rem; max-width: 36ch; line-height: 1.9; }
@media (max-width: 899px) { .iv-grid { grid-template-columns: 1fr; } .iv-stage { order: -1; } .iv-copy p { max-width: none; } }
@media (max-width: 479px) { .iv-stage { padding: 0 0 12px 12px; } .iv-frame { inset: 12px 12px 0 0; } }

/* Hero copy — tidy, modern layout (overrides earlier hero rules) */
.hero-copy { max-width: 640px; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6em; padding: .4em 1.05em; border-radius: 999px; background: var(--gold-100); border: 1px solid color-mix(in srgb, var(--gold-300) 55%, transparent); color: var(--gold-700); font-size: .85rem; font-weight: 800; }
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold-500) 22%, transparent); }
.hero h1 { margin-top: 22px; }
.hero-name { font-size: clamp(2.7rem, 5.6vw, 4.3rem); line-height: 1.18; letter-spacing: -.02em; }
.hero-tagline { margin-top: 16px; font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.9; font-weight: 600; color: var(--ink-2); max-width: 36ch; text-wrap: balance; }
.hero-creds { margin-top: 22px; gap: 8px; }
.hero-creds li { padding: .38em .95em; background: var(--gold-100); border: 1px solid color-mix(in srgb, var(--gold-300) 45%, transparent); font-size: .83rem; color: var(--heading-2); }
.hero-mission { margin-top: 22px; max-width: 50ch; padding-inline-start: 18px; border-inline-start: 3px solid var(--gold-500); font-size: 1rem; line-height: 2.05; color: var(--ink-2); }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 540px; margin-top: 30px; }
.hero-actions .btn { min-height: 54px; justify-content: center; padding-inline: 1em; font-size: .95rem; }
.hero-actions .btn-demo { grid-column: 1 / -1; --bg: var(--surface); --bd: var(--line); --fg: var(--heading); justify-content: center; gap: .7em; box-shadow: var(--shadow-sm); }
.hero-actions .btn-demo:hover { --bd: var(--gold-500); --bg: var(--surface); }
.hero-actions .btn-demo .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gold-100); color: var(--gold-700); flex: none; }
.hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 30px; max-width: 540px; padding: 4px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.hero-fact { padding: 16px 16px; gap: 14px; }
.hero-fact:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
.hero-fact:nth-child(even) { border-inline-start: 1px solid var(--line-soft); }
.hero-fact-icon { width: 42px; height: 42px; display: grid; place-items: center; }
.hero-fact-icon::before { inset: 0; width: 100%; height: 100%; border-radius: 13px; left: auto; bottom: auto; }
.hero-fact-icon .icon { width: 22px; height: 22px; }
.hero-fact:hover .hero-fact-icon::before { transform: scale(1.06) rotate(-3deg); }
.hero-fact-text { font-size: clamp(.92rem, 1.05vw, 1rem); line-height: 1.7; }
@media (max-width: 899px) { .hero-copy { max-width: none; } .hero-actions, .hero-facts { max-width: none; } .hero-kicker { border-radius: 16px; line-height: 1.7; } }
@media (max-width: 479px) {
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .btn-demo { grid-column: auto; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-fact:nth-child(even) { border-inline-start: 0; }
  .hero-fact:nth-child(n+2) { border-top: 1px solid var(--line-soft); }
}
:root[data-theme="dark"] .hero-kicker, :root[data-theme="dark"] .hero-creds li { border-color: color-mix(in srgb, var(--gold-500) 35%, transparent); }
:root[data-theme="dark"] .hero-actions .btn-demo .icon { background: color-mix(in srgb, var(--gold-500) 22%, transparent); }

/* Hero name: Persian nastaliq calligraphy, in tune with the signature in the portrait */
.hero-name { font-family: "Noto Nastaliq Urdu", var(--font); font-weight: 700; font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.95; letter-spacing: 0; margin-block: -.28em -.1em; color: var(--heading); }
.hero-name::after { content: ""; display: block; width: 92px; height: 3px; margin-top: .1em; border-radius: 3px; background: linear-gradient(90deg, var(--gold-500), transparent); }
@media (max-width: 479px) { .hero-name { font-size: clamp(2.3rem, 12.5vw, 3.2rem); } }

/* Full-screen hero (desktop): fills the first screen exactly, one even vertical rhythm */
@media (min-width: 900px) {
  .hero { min-height: calc(100vh - var(--hero-top, 128px)); min-height: calc(100svh - var(--hero-top, 128px)); display: flex; align-items: center; padding-block: clamp(20px, 3.5vh, 48px); }
  .hero > .hero-grid { width: 100%; }
  .hero-grid { gap: clamp(28px, 4.5vw, 72px); align-items: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 2.4vh, 26px); width: 100%; max-width: 640px; }
  .hero-copy > * { margin: 0; }
  .hero h1 { margin: 0; }
  .hero-kicker { font-size: .8rem; line-height: 1.7; padding: .35em 1em; }
  .hero-name { font-size: clamp(2.6rem, min(5vw, 8.4vh), 4.7rem); line-height: 1.6; margin-block: -.16em -.12em; }
  .hero-name::after { width: 76px; margin-top: 0; }
  .hero-tagline { margin: 12px 0 0; font-size: clamp(1rem, min(1.4vw, 2.5vh), 1.18rem); line-height: 1.85; font-weight: 600; max-width: 100%; }
  .hero-creds { gap: 8px; }
  .hero-creds li { padding: .3em .85em; font-size: .8rem; font-weight: 700; }
  .hero-mission { font-size: .94rem; line-height: 1.95; max-width: 54ch; padding-inline-start: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; width: 100%; max-width: none; }
  .hero-actions .btn { min-height: 48px; font-size: .88rem; font-weight: 800; padding-inline: .8em; white-space: nowrap; width: 100%; }
  .hero-actions .btn-demo { grid-column: auto; box-shadow: none; gap: .5em; }
  .hero-actions .btn-demo .icon { width: 24px; height: 24px; padding: 4px; }
  .hero-facts { width: 100%; max-width: none; margin: 0; padding: 2px; border-radius: 18px; }
  .hero-fact { padding: clamp(9px, 1.6vh, 15px) 14px; gap: 12px; }
  .hero-fact-icon { width: 36px; height: 36px; }
  .hero-fact-icon::before { border-radius: 11px; }
  .hero-fact-icon .icon { width: 20px; height: 20px; }
  .hero-fact-text { font-size: .92rem; line-height: 1.55; }
  .hero-visual { align-self: stretch; display: flex; align-items: center; justify-content: center; }
  .hero-visual--full img { width: auto; max-width: 100%; max-height: min(700px, calc(100vh - var(--hero-top, 128px) - 40px)); max-height: min(700px, calc(100svh - var(--hero-top, 128px) - 40px)); object-fit: contain; margin: 0 auto; }
}
@media (min-width: 900px) and (max-height: 700px) { .hero-mission { display: none; } }
@media (min-width: 1500px) and (min-height: 950px) {
  .hero-copy { max-width: 720px; }
  .hero-name { font-size: clamp(3.4rem, min(5vw, 8.4vh), 5.8rem); }
  .hero-kicker { font-size: .9rem; }
  .hero-tagline { font-size: 1.28rem; }
  .hero-creds li { font-size: .88rem; }
  .hero-mission { font-size: 1.04rem; }
  .hero-actions .btn { min-height: 56px; font-size: .96rem; }
  .hero-fact { padding-block: 17px; }
  .hero-fact-icon { width: 42px; height: 42px; }
  .hero-fact-text { font-size: 1.02rem; }
  .hero-visual--full img { max-height: min(860px, calc(100vh - var(--hero-top, 128px) - 40px)); max-height: min(860px, calc(100svh - var(--hero-top, 128px) - 40px)); }
  .hero-visual { width: 100%; }
}
@media (max-width: 899px) { .hero-copy { gap: 0; } }

/* Demo launch card */
.demo-launch { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: 28px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-md); }
.demo-launch-mock { border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.demo-launch-mock .demo-mock-bar { background: #eef5f6; }
.demo-launch-url { padding: 40px 20px; text-align: center; font-weight: 800; font-size: clamp(1rem, 2vw, 1.3rem); color: #1c2230; background: linear-gradient(160deg, #fff, #f0f7f8); word-break: break-all; }
.demo-launch-copy h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 14px 0 8px; }
.demo-launch-copy p { color: var(--ink-2); line-height: 2; margin: 0 0 20px; }
@media (max-width: 899px) { .demo-launch { grid-template-columns: 1fr; } }

/* Course registration */
.reg-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: start; max-width: 1040px; }
.reg-card { margin: 0; }
.reg-side { padding: 26px; border-radius: var(--r-lg); background: var(--navy-900); color: #fff; }
.reg-side h2 { color: #fff; font-size: 1.15rem; line-height: 1.8; }
.reg-side p { color: rgba(255,255,255,.75); font-size: .92rem; }
.reg-side .program-facts { list-style: none; padding: 0; display: grid; gap: 8px; color: rgba(255,255,255,.85); }
.reg-side .program-facts li { display: flex; gap: 8px; align-items: center; }
.reg-side .program-facts .icon { width: 17px; height: 17px; color: var(--gold-300); }
.reg-side .link-arrow { color: var(--gold-300); }
.reg-done { text-align: center; padding: 18px 6px; }
.reg-done h2 { font-size: 1.4rem; margin: 14px 0 6px; }
.reg-done p { color: var(--ink-2); }
.reg-done-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.reg-done-icon .icon { width: 30px; height: 30px; }
:root[data-theme="dark"] .reg-side { box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 899px) { .reg-wrap { grid-template-columns: 1fr; } .reg-side { order: -1; } }

/* Home: autoplaying intro video in the story section */
.iv-card { position: relative; margin: 0; }
.iv-wrap { position: relative; padding: 0 0 16px 16px; }
.iv-card .iv-frame { inset: 16px 16px 0 0; }
.iv-card figcaption { position: relative; z-index: 1; margin-top: 14px; font-size: .88rem; font-weight: 700; color: var(--heading-2); }
.iv-card figcaption small { color: var(--ink-3); font-weight: 500; }
.iv-card .iv-player { box-shadow: 0 30px 55px -26px rgba(4,52,65,.6); }
.iv-sound { position: absolute; z-index: 4; inset-inline-end: 12px; top: 12px; display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(2,32,42,.72); color: #fff; font: 700 .8rem var(--font); cursor: pointer; backdrop-filter: blur(6px); animation: iv-pulse 2.4s ease-in-out infinite; }
.iv-sound[hidden] { display: none; }
.iv-sound:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); animation: none; }
.iv-sound .icon { width: 16px; height: 16px; }
@keyframes iv-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(216,193,154,.5); } 50% { box-shadow: 0 0 0 8px rgba(216,193,154,0); } }
@media (prefers-reduced-motion: reduce) { .iv-sound { animation: none; } }
.iv-card-empty { aspect-ratio: 16 / 9; }

/* =====================================================================
   Cinematic hero (.hx): navy → wine, warm glow behind the portrait, gold arches, glass stat bar
   ===================================================================== */
.hx { position: relative; isolation: isolate; overflow: hidden; color: #fff; display: flex; flex-direction: column;
  min-height: calc(100vh - var(--hero-top, 128px)); min-height: calc(100svh - var(--hero-top, 128px));
  background:
    radial-gradient(900px 480px at 10% 10%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(150deg, #0a4a5a 0%, #043441 46%, #03252f 72%, #02181f 135%); }
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx-glow { position: absolute; left: -2%; bottom: -14%; width: min(820px, 62vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224,180,110,.52), rgba(31,130,140,.26) 52%, transparent 72%); filter: blur(10px); }
.hx-ring { position: absolute; left: 4%; bottom: -34%; border-radius: 50%; border: 1px solid rgba(232,199,160,.22); aspect-ratio: 1; }
.hx-ring-1 { width: min(640px, 48vw); }
.hx-ring-2 { width: min(860px, 64vw); left: -4%; border-color: rgba(232,199,160,.14); }
.hx-ring-3 { width: min(1100px, 82vw); left: -12%; border-color: rgba(232,199,160,.08); }
.hx-word { position: absolute; left: 1%; top: 1%; font-family: var(--font-latin); font-size: clamp(5rem, 15vw, 14rem); line-height: 1; letter-spacing: .02em; white-space: nowrap; font-weight: 500; font-style: italic;
  color: transparent; -webkit-text-stroke: 1px rgba(232,199,160,.13); direction: ltr; user-select: none; }

.hx-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: end; gap: clamp(20px, 4vw, 64px); padding-top: clamp(28px, 5vh, 64px); }
.hx-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 2.2vh, 24px); padding-bottom: clamp(70px, 11vh, 110px); max-width: 680px; align-self: center; }
.hx-copy > * { margin: 0; }
.hx-kicker { display: inline-flex; align-items: center; gap: .6em; padding: .38em 1.05em; border-radius: 999px; background: rgba(232,199,160,.1); border: 1px solid rgba(232,199,160,.32); color: #e8c7a0; font-size: .82rem; font-weight: 800; line-height: 1.7; backdrop-filter: blur(6px); }
.hx-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e8c7a0; box-shadow: 0 0 0 4px rgba(232,199,160,.2); }
.hx h1 { margin: 0; font-weight: 400; }
.hx-name { display: block; font-family: "Noto Nastaliq Urdu", var(--font); font-weight: 700; font-size: clamp(2.8rem, min(6vw, 9.5vh), 5.2rem); line-height: 1.75; margin-block: -.12em -.1em;
  background: linear-gradient(180deg, #fff 35%, #ecd5ab 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(0,0,0,.35)); }
.hx-name::after { content: ""; display: block; width: 96px; height: 3px; border-radius: 3px; margin-top: .05em; background: linear-gradient(90deg, #e8c7a0, transparent); }
.hx-tagline { display: block; margin-top: 12px; font-size: clamp(1rem, min(1.45vw, 2.6vh), 1.2rem); line-height: 1.9; font-weight: 600; color: rgba(255,255,255,.82); max-width: 44ch; text-wrap: balance; }
.hx-creds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hx-creds li { display: inline-flex; align-items: center; gap: .45em; padding: .34em .9em; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.92); backdrop-filter: blur(6px); }
.hx-creds .icon { width: 14px; height: 14px; color: #e8c7a0; }
.hx-mission { max-width: 54ch; padding-inline-start: 16px; border-inline-start: 3px solid #c9a468; font-size: .96rem; line-height: 2; color: rgba(255,255,255,.76); }
.hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.hx-actions .btn { min-height: 50px; font-size: .88rem; font-weight: 800; white-space: nowrap; padding-inline: 1em; }
.hx-btn-glass { --bg: rgba(255,255,255,.08); --bd: rgba(255,255,255,.28); --fg: #fff; backdrop-filter: blur(8px); }
.hx-btn-glass:hover { --bg: rgba(255,255,255,.16); --bd: rgba(255,255,255,.5); }
.hx-btn-link { --bg: transparent; --bd: transparent; --fg: #e8c7a0; padding-inline: .3em !important; }
.hx-btn-link:hover { --fg: #fff; box-shadow: none; }
.hx-btn-link .icon { width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: rgba(232,199,160,.16); fill: currentColor; stroke: none; }

.hx-visual { position: relative; align-self: end; justify-self: center; width: 100%; max-width: 640px; display: flex; justify-content: center; }
.hx-arch { position: absolute; inset-inline: 10% 10%; bottom: 0; top: 6%; border-radius: 999px 999px 0 0; border: 1.5px solid rgba(232,199,160,.5); border-bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 70%, transparent); box-shadow: 0 0 0 18px rgba(232,199,160,.04), 0 0 0 36px rgba(232,199,160,.025); }
.hx-portrait { position: relative; z-index: 1; display: block; width: auto; max-width: 100%; height: auto; max-height: min(720px, calc(100svh - var(--hero-top, 128px) - 20px)); object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.hx-mono { position: relative; z-index: 1; display: grid; place-items: center; width: min(100%, 420px); aspect-ratio: 4/5; }
.hx-mono .mono { font-family: var(--font-latin); font-style: italic; font-size: clamp(6rem, 14vw, 10rem); color: #e8c7a0; }
.hx-badge { position: absolute; z-index: 2; left: 0; top: 54%; padding: 12px 18px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); direction: ltr; text-align: left; }
.hx-badge b { display: block; font-size: 1.1rem; font-weight: 600; line-height: 1.2; color: #fff; }
.hx-badge small { display: block; font-size: .8rem; letter-spacing: .08em; color: #e8c7a0; }
.hx-badge::before { content: ""; position: absolute; inset-block: 12px; inset-inline-start: -1px; width: 3px; border-radius: 3px; background: #c9a468; }

.hx-stats-wrap { position: relative; z-index: 3; padding-bottom: clamp(18px, 3.5vh, 36px); margin-top: calc(-1 * clamp(34px, 6vh, 56px)); }
.hx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.2); overflow: hidden; }
.hx-stat { display: flex; align-items: center; gap: 12px; padding: clamp(12px, 2vh, 20px) 18px; }
.hx-stat + .hx-stat { border-inline-start: 1px solid rgba(255,255,255,.14); }
.hx-stat-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--c) 26%, rgba(255,255,255,.04)); }
.hx-stat-icon .icon { width: 21px; height: 21px; color: color-mix(in srgb, var(--c) 55%, #fff); }
.hx-stat-text { font-weight: 800; font-size: .95rem; line-height: 1.6; color: #fff; text-wrap: balance; }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .hx-copy > *, .hx-stats, .hx-badge { animation: hx-up .8s var(--ease) both; }
  .hx-copy > :nth-child(2) { animation-delay: .08s; } .hx-copy > :nth-child(3) { animation-delay: .16s; } .hx-copy > :nth-child(4) { animation-delay: .24s; } .hx-copy > :nth-child(5) { animation-delay: .32s; }
  .hx-stats { animation-delay: .45s; } .hx-badge { animation-delay: .6s; }
  .hx-portrait { animation: hx-rise 1.1s var(--ease) both; } .hx-arch { animation: hx-arch 1.2s var(--ease) both; }
  .hx-ring-1 { animation: hx-spin 80s linear infinite; }
}
@keyframes hx-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes hx-rise { from { opacity: 0; transform: translateY(40px) scale(.98); } }
@keyframes hx-arch { from { opacity: 0; transform: scaleY(.9); transform-origin: bottom; } }
@keyframes hx-spin { to { transform: rotate(360deg); } }

@media (max-width: 899px) {
  .hx { min-height: 0; }
  .hx-main { grid-template-columns: 1fr; padding-top: 20px; }
  .hx-visual { order: -1; max-width: 420px; }
  .hx-portrait { max-height: 400px; }
  .hx-copy { align-items: flex-start; padding-bottom: 56px; max-width: none; }
  .hx-badge { top: 50%; left: 0; padding: 9px 13px; }
  .hx-badge b { font-size: .95rem; }
  .hx-stats-wrap { margin-top: -28px; }
  .hx-word { top: 1%; }
}
@media (max-width: 599px) {
  .hx-badge { display: none; }
  .hx-kicker { border-radius: 16px; font-size: .78rem; }
  .hx-actions .btn { flex: 1 1 100%; }
  .hx-btn-link { justify-content: flex-start; }
  .hx-stats { grid-template-columns: 1fr; }
  .hx-stat + .hx-stat { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.14); }
}
@media (max-height: 700px) and (min-width: 900px) { .hx-mission { display: none; } }
@media (min-width: 1500px) and (min-height: 950px) { .hx-visual { max-width: 780px; } .hx-portrait { max-height: min(900px, calc(100svh - var(--hero-top, 128px) - 20px)); } .hx-copy { max-width: 720px; } .hx-actions .btn { min-height: 56px; font-size: .96rem; } .hx-mission { font-size: 1.04rem; } .hx-stat-text { font-size: 1.02rem; } }

/* =====================================================================
   Dark theme — explicit choice, or system preference when none is stored
   ===================================================================== */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #03252f;
  --surface: #0b3744;
  --sand: #062d39;
  --header-bg: rgba(3,37,47, .9);
  --heading: #f0f7f8;
  --heading-2: #d6eaee;
  --link: #6fd6da;
  --ink: #e2eef0;
  --ink-2: #b2c9ce;
  --ink-3: #8aa7ae;
  --body-ink: #d3e4e7;
  --line: #1d4c59;
  --line-soft: #143f4b;
  --navy-50: #0f3d4a;
  --navy-100: #184a58;
  --gold-100: #2b2316;
  --gold-600: #c79f62;
  --gold-700: #d6b47c;
  --stage: #eef5f6;
  --ok: #6fd3a0; --ok-bg: #0f2e22;
  --err: #ff8f86; --err-bg: #3a1616;
  --draft: #f2c45a; --draft-bg: #33280e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25);
  --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-lg: 0 30px 70px -24px rgba(0, 0, 0, .75);
}

/* Primary actions read as gold on a dark page */
:root[data-theme="dark"] .btn-primary { --bg: var(--gold-500); --bd: var(--gold-500); --fg: #043441; }
:root[data-theme="dark"] .btn-primary:hover { --bg: var(--gold-300); --bd: var(--gold-300); }
:root[data-theme="dark"] .filters a[aria-current="page"], :root[data-theme="dark"] .pagination [aria-current] span { background: var(--gold-500); border-color: var(--gold-500); color: #043441; }
:root[data-theme="dark"] .check input { accent-color: var(--gold-500); }
:root[data-theme="dark"] ::selection { background: var(--gold-500); color: #043441; }
/* Dark navy blocks get an outline so they don't melt into the page */
:root[data-theme="dark"] .cta, :root[data-theme="dark"] .journal-panel, :root[data-theme="dark"] .service-card.is-featured, :root[data-theme="dark"] .instructor, :root[data-theme="dark"] .featured-episode, :root[data-theme="dark"] .stats, :root[data-theme="dark"] .pull-quote, :root[data-theme="dark"] .video-feature { box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .site-footer { border-top: 1px solid var(--line-soft); }
:root[data-theme="dark"] .brand-mark { box-shadow: inset 0 0 0 1px rgba(216, 193, 154, .25); }
/* Logos stay on a light plate so their own colours read correctly */
:root[data-theme="dark"] .brand-stage { border-bottom-color: transparent; }
:root[data-theme="dark"] .brand-link { background: color-mix(in srgb, var(--acc) 22%, var(--surface)); color: color-mix(in srgb, var(--acc) 45%, #fff); }
:root[data-theme="dark"] .brand-role .icon { color: color-mix(in srgb, var(--acc) 45%, #fff); }
:root[data-theme="dark"] .hero-fact-icon::before { background: color-mix(in srgb, var(--c) 24%, transparent); }
:root[data-theme="dark"] .hero-visual--full img { -webkit-mask-image: none; mask-image: none; border-radius: 28px; box-shadow: var(--shadow-lg); }
:root[data-theme="dark"] .about-full { box-shadow: var(--shadow-lg); }
:root[data-theme="dark"] .arch { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea, :root[data-theme="dark"] .search input { background: var(--paper); }
:root[data-theme="dark"] .prose code { background: var(--navy-100); }
:root[data-theme="dark"] .chip { color: var(--link); }
:root[data-theme="dark"] .tl-period, :root[data-theme="dark"] .chip-gold { color: var(--gold-700); }
:root[data-theme="dark"] .wave-bars i { background: rgba(255, 255, 255, .18); }
:root[data-theme="dark"] img:not(.brand-stage img) { filter: brightness(.94); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #03252f;
    --surface: #0b3744;
    --sand: #062d39;
    --header-bg: rgba(3,37,47, .9);
    --heading: #f0f7f8;
    --heading-2: #d6eaee;
    --link: #6fd6da;
    --ink: #e2eef0;
    --ink-2: #b2c9ce;
    --ink-3: #8aa7ae;
    --body-ink: #d3e4e7;
    --line: #1d4c59;
    --line-soft: #143f4b;
    --navy-50: #0f3d4a;
    --navy-100: #184a58;
    --gold-100: #2b2316;
    --gold-600: #c79f62;
    --gold-700: #d6b47c;
    --stage: #eef5f6;
    --ok: #6fd3a0; --ok-bg: #0f2e22;
    --err: #ff8f86; --err-bg: #3a1616;
    --draft: #f2c45a; --draft-bg: #33280e;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25);
    --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3);
    --shadow-lg: 0 30px 70px -24px rgba(0, 0, 0, .75);
  }

/* Primary actions read as gold on a dark page */
:root:not([data-theme]) .btn-primary { --bg: var(--gold-500); --bd: var(--gold-500); --fg: #043441; }
:root:not([data-theme]) .btn-primary:hover { --bg: var(--gold-300); --bd: var(--gold-300); }
:root:not([data-theme]) .filters a[aria-current="page"], :root:not([data-theme]) .pagination [aria-current] span { background: var(--gold-500); border-color: var(--gold-500); color: #043441; }
:root:not([data-theme]) .check input { accent-color: var(--gold-500); }
:root:not([data-theme]) ::selection { background: var(--gold-500); color: #043441; }
/* Dark navy blocks get an outline so they don't melt into the page */
:root:not([data-theme]) .cta, :root:not([data-theme]) .journal-panel, :root:not([data-theme]) .service-card.is-featured, :root:not([data-theme]) .instructor, :root:not([data-theme]) .featured-episode, :root:not([data-theme]) .stats, :root:not([data-theme]) .pull-quote, :root:not([data-theme]) .video-feature { box-shadow: inset 0 0 0 1px var(--line); }
:root:not([data-theme]) .site-footer { border-top: 1px solid var(--line-soft); }
:root:not([data-theme]) .brand-mark { box-shadow: inset 0 0 0 1px rgba(216, 193, 154, .25); }
/* Logos stay on a light plate so their own colours read correctly */
:root:not([data-theme]) .brand-stage { border-bottom-color: transparent; }
:root:not([data-theme]) .brand-link { background: color-mix(in srgb, var(--acc) 22%, var(--surface)); color: color-mix(in srgb, var(--acc) 45%, #fff); }
:root:not([data-theme]) .brand-role .icon { color: color-mix(in srgb, var(--acc) 45%, #fff); }
:root:not([data-theme]) .hero-fact-icon::before { background: color-mix(in srgb, var(--c) 24%, transparent); }
:root:not([data-theme]) .hero-visual--full img { -webkit-mask-image: none; mask-image: none; border-radius: 28px; box-shadow: var(--shadow-lg); }
:root:not([data-theme]) .about-full { box-shadow: var(--shadow-lg); }
:root:not([data-theme]) .arch { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); }
:root:not([data-theme]) .field input, :root:not([data-theme]) .field select, :root:not([data-theme]) .field textarea, :root:not([data-theme]) .search input { background: var(--paper); }
:root:not([data-theme]) .prose code { background: var(--navy-100); }
:root:not([data-theme]) .chip { color: var(--link); }
:root:not([data-theme]) .tl-period, :root:not([data-theme]) .chip-gold { color: var(--gold-700); }
:root:not([data-theme]) .wave-bars i { background: rgba(255, 255, 255, .18); }
:root:not([data-theme]) img:not(.brand-stage img) { filter: brightness(.94); }
}

/* Theme toggle */
.theme-toggle { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); cursor: pointer; transition: border-color .2s, color .2s, transform .3s var(--ease); }
.theme-toggle:hover { border-color: var(--gold-500); color: var(--gold-600); }
.theme-toggle .icon { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-toggle .i-sun { display: block; } :root:not([data-theme]) .theme-toggle .i-moon { display: none; } }
@media (max-width: 991px) { .theme-toggle { margin-inline-start: auto; width: 46px; height: 46px; } .menu-toggle { margin-inline-start: 8px; } }
@media (prefers-reduced-motion: no-preference) { .theme-anim, .theme-anim * { transition: background-color .35s ease, border-color .35s ease, color .35s ease !important; } }

/* =====================================================================
   Signature gradient (from the training-package covers) across the site's dark surfaces.
   Accent classes (.accent-*) change --a1/--a2; the default is navy.
   ===================================================================== */
.phero, .cta, .journal-panel, .stats, .demo-band, .podcast-band, .action-card.is-feature, .story-quote, .pull-quote,
.request-aside, .reg-side, .service-card.is-featured, .enroll-head, .featured-episode, .instructor, .video-feature,
.marquee:not(.marquee--logos), .site-footer, .iv-poster, .intro-video .iv-player {
  background:
    radial-gradient(900px 480px at 10% 10%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(150deg, var(--a1, var(--navy-800)), var(--a2, var(--navy-950)));
}
/* Section heroes keep their warm glow on top of the signature gradient */
.phero {
  background:
    radial-gradient(520px 320px at 8% 110%, rgba(216,193,154,.20), transparent 70%),
    radial-gradient(900px 480px at 10% 10%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(150deg, var(--a1, var(--navy-800)), var(--a2, var(--navy-950)));
}
/* Footer sits deeper: same colours, darker start */
.site-footer {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-950));
}
.podcast-band, .demo-band { --a1: var(--navy-800); --a2: var(--navy-950); }
/* Book covers: one accent per volume */
.book-tile, .book-tile--large {
  background:
    radial-gradient(260px 200px at 18% 12%, rgba(255,255,255,.14), transparent 62%),
    linear-gradient(150deg, var(--a1, var(--navy-700)), var(--a2, var(--navy-950)));
}
.book-card.is-writing .book-tile { --a1: #5a6578; --a2: #232a37; }
/* Small navy tiles */
.brand-mark, .service-hero-icon, .episode-go, .outcomes .tick, .search button {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-950));
}
:root[data-theme="dark"] .marquee:not(.marquee--logos), :root[data-theme="dark"] .site-footer { box-shadow: inset 0 0 0 1px var(--line); }

/* Real book cover mock-ups (transparent PNG, already 3D): show whole, no extra tilt */
.book-visual { padding: 22px 16px 18px; }
.book-visual img { width: auto; max-width: 100%; height: clamp(210px, 22vw, 270px); aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; transform: none; filter: drop-shadow(0 16px 16px rgba(4,52,65,.28)); transition: transform .5s var(--ease), filter .5s var(--ease); }
.book-card:hover .book-visual img { transform: translateY(-6px) scale(1.03); filter: drop-shadow(0 22px 20px rgba(4,52,65,.34)); }
.book-3d { width: auto; max-width: 100%; max-height: clamp(320px, 46vh, 460px); border-radius: 0; box-shadow: none; transform: none; filter: drop-shadow(0 26px 26px rgba(4,52,65,.34)); }
:root[data-theme="dark"] .book-visual img, :root[data-theme="dark"] .book-3d { filter: drop-shadow(0 16px 16px rgba(0,0,0,.55)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .book-visual img, :root:not([data-theme]) .book-3d { filter: drop-shadow(0 16px 16px rgba(0,0,0,.55)); } }

/* =====================================================================
   Third brand colour: wine / burgundy (navy · gold · wine)
   Same gradient recipe as the covers; used where it adds warmth and rhythm.
   ===================================================================== */
.on-wine, .cta, .journal-panel, .marquee:not(.marquee--logos), .action-card.is-feature, .story-quote, .pull-quote,
.request-aside, .reg-side, .service-card.is-featured, .enroll-head, .instructor {
  --a1: #0f5b6b; --a2: #02181f;
}
.on-wine.phero::before { background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.3px); }
.on-wine.phero::after { border-color: rgba(170,225,228,.38); box-shadow: 0 0 0 30px rgba(170,225,228,.04), 0 0 0 60px rgba(170,225,228,.025); }
.on-wine .eyebrow, .on-wine .breadcrumbs li + li::before { color: #e8c7a0; }
.marquee:not(.marquee--logos)::before { background: linear-gradient(90deg, #0a4553, transparent); }
.marquee:not(.marquee--logos)::after { background: linear-gradient(270deg, #0a4553, transparent); }
.marquee:not(.marquee--logos) .marquee-toggle { background: #043441; }
.cta::before, .journal-panel::before { border-color: rgba(170,225,228,.28); }
.btn-gold { --bg: #c9a468; --bd: #c9a468; }
.btn-gold:hover { --bg: #dcc08e; --bd: #dcc08e; }
.story-quote footer, .on-wine .eyebrow.on-dark { color: #e8c7a0; }

/* =====================================================================
   Purchase flow
   ===================================================================== */
.book-price { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; }
.book-price .price b { font-size: 1.7rem; }
.book-card-price { margin: 2px 0 10px; font-weight: 800; color: var(--heading); }
.book-card-price b { font-size: 1.1rem; }
.book-card-price small { color: var(--ink-3); font-weight: 600; }
.book-card-price del { margin-inline-start: 8px; color: var(--ink-3); font-weight: 500; font-size: .85rem; }
.book-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.co-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; max-width: 1100px; }
.co-form { margin: 0; }
.co-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.co-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 3px solid var(--line); }
.co-steps li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-50); font-size: .76rem; }
.co-steps .is-done, .co-steps .is-current { color: var(--heading); border-color: var(--gold-500); }
.co-steps .is-done span { background: var(--ok-bg); color: var(--ok); }
.co-steps .is-current span { background: var(--gold-500); color: var(--navy-950); }
.co-title { font-size: 1.3rem; margin: 0 0 4px; }
.co-submit { width: 100%; margin-top: 22px; min-height: 54px; font-size: 1rem; }
.co-safe { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: .84rem; line-height: 1.9; color: var(--ink-2); }
.co-safe .icon { width: 18px; height: 18px; flex: none; color: var(--gold-600); margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); height: 48px; }
.qty button { width: 46px; height: 100%; border: 0; background: var(--navy-50); color: var(--heading); font-size: 1.3rem; cursor: pointer; }
.qty button:hover { background: var(--gold-100); }
.qty input { width: 64px; height: 100%; border: 0 !important; border-radius: 0 !important; text-align: center; box-shadow: none !important; background: transparent !important; -moz-appearance: textfield; padding: 0 !important; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.co-summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.co-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-md); }
.co-item { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; }
.co-cover { border-radius: 12px; overflow: hidden; background: var(--navy-50); aspect-ratio: 4 / 5; display: grid; place-items: center; }
.co-cover img { width: 100%; height: 100%; object-fit: contain; }
.co-cover .art { width: 100%; height: 100%; }
.co-item h3 { font-size: 1.05rem; line-height: 1.7; margin: 8px 0 4px; }
.co-item p { margin: 0; color: var(--ink-2); font-size: .86rem; line-height: 1.9; }
.co-facts, .co-includes { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.co-facts li, .co-includes li { display: flex; align-items: center; gap: 8px; }
.co-facts .icon, .co-includes .icon { width: 16px; height: 16px; color: var(--gold-600); flex: none; }
.co-facts b { color: var(--heading); }
.co-price { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.co-price div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.co-price dt { color: var(--ink-2); } .co-price dd { margin: 0; font-weight: 700; color: var(--heading); text-align: left; }
.co-price del { color: var(--ink-3); font-weight: 500; }
.co-price .is-off { color: var(--ok); }
.co-price .is-total { padding-top: 12px; border-top: 1px dashed var(--line); font-size: 1.05rem; }
.co-price .is-total b { font-size: 1.35rem; color: var(--heading); }
.co-ship { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: .82rem; line-height: 1.9; color: var(--ink-2); }
.co-ship .icon { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--gold-600); }
.co-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .84rem; color: var(--ink-2); }
.co-trust li { display: flex; gap: 8px; align-items: center; }
.co-trust .icon { width: 17px; height: 17px; color: var(--gold-600); flex: none; }
@media (max-width: 899px) { .co-wrap { grid-template-columns: 1fr; } .co-summary { position: static; order: -1; } }

.done-wrap { max-width: 640px; }
.done-card { margin: 0; text-align: center; }
.done-ref { margin: 14px 0 0; font-size: 1.15rem; }
.done-ref b { display: inline-block; padding: .2em .8em; margin-inline-start: 8px; border-radius: 10px; background: var(--gold-100); color: var(--gold-700); letter-spacing: .08em; }
.done-sum { text-align: right; background: var(--navy-50); border-radius: var(--r-md); padding: 16px 18px; border: 0; }
.done-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; text-align: right; }
.done-steps li { display: flex; gap: 14px; align-items: flex-start; }
.done-steps li > span { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); font-weight: 800; }
.done-steps b { display: block; } .done-steps small { color: var(--ink-2); font-size: .86rem; line-height: 1.8; }

/* Social networks band */
.social-band { background: var(--sand); }
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; max-width: 1040px; margin-inline: auto; }
.social-card { --c: var(--navy-700); position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.social-card::before { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 4px; background: var(--c); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.social-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -22px color-mix(in srgb, var(--c) 55%, transparent); border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.social-card:hover::before { transform: scaleY(1); }
.social-icon { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 16px; background: color-mix(in srgb, var(--c) 12%, var(--surface)); color: var(--c); transition: background .3s, color .3s, transform .3s var(--ease); }
.social-icon .icon { width: 26px; height: 26px; }
.social-card:hover .social-icon { background: var(--c); color: #fff; transform: rotate(-6deg) scale(1.05); }
.social-text { display: grid; gap: 2px; min-width: 0; }
.social-text b { font-size: 1.02rem; color: var(--heading); }
.social-text small { font-size: .88rem; color: var(--ink-2); letter-spacing: .02em; text-align: right; overflow-wrap: anywhere; }
.social-text em { display: inline-flex; align-items: center; gap: .4em; margin-top: 4px; font-style: normal; font-size: .82rem; font-weight: 700; color: var(--c); }
.social-text em .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.social-card:hover em .icon { transform: translateX(-4px); }
.sc-ig { --c: #c13584; } .sc-tg { --c: #229ed9; } .sc-wa { --c: #1fa855; } .sc-in { --c: #0a66c2; } .sc-yt { --c: #d62d20; } .sc-ap { --c: #e91e63; } .sc-x { --c: #475569; } .sc-ei { --c: #f08a24; }
:root[data-theme="dark"] .social-icon { background: color-mix(in srgb, var(--c) 24%, var(--surface)); color: color-mix(in srgb, var(--c) 55%, #fff); }
:root[data-theme="dark"] .social-text em { color: color-mix(in srgb, var(--c) 55%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .social-icon { background: color-mix(in srgb, var(--c) 24%, var(--surface)); color: color-mix(in srgb, var(--c) 55%, #fff); } :root:not([data-theme]) .social-text em { color: color-mix(in srgb, var(--c) 55%, #fff); } }

/* =====================================================================
   Dark glass header — one continuous navy surface with the page heroes
   ===================================================================== */
.announce { background: linear-gradient(90deg, #02181f, #0a4553 50%, #02181f); border-bottom-color: rgba(232,199,160,.22); }
.site-header { background: linear-gradient(180deg, rgba(10,66,80,.97), rgba(4,52,65,.94)); border-bottom: 1px solid rgba(232,199,160,.14); color: #fff; }
.site-header::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(232,199,160,.55), transparent); opacity: .7; }
.site-header.is-scrolled { border-color: rgba(232,199,160,.26); box-shadow: 0 14px 34px -16px rgba(0,0,0,.65); }
.site-header .brand-name { color: #fff; }
.site-header .brand-latin { color: #e8c7a0; }
.site-header .brand-mark { background: linear-gradient(150deg, #11586a, #043441); box-shadow: inset 0 0 0 1px rgba(232,199,160,.5), 0 6px 18px -8px rgba(0,0,0,.6); }
.site-header .main-nav a { color: rgba(255,255,255,.8); }
.site-header .main-nav a:hover, .site-header .main-nav a[aria-current="page"] { color: #fff; }
.site-header .main-nav > ul > li > a:hover { background: rgba(255,255,255,.06); }
.site-header .main-nav a::after { background: #e8c7a0; bottom: 3px; }
.site-header .main-nav .has-sub > a .chev { opacity: .75; }
.site-header .main-nav .sub { background: linear-gradient(160deg, rgba(10,69,83,.98), rgba(3,40,51,.98)); border-color: rgba(232,199,160,.24); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); backdrop-filter: blur(14px); }
.site-header .main-nav .sub a { color: #fff; }
.site-header .main-nav .sub a:hover, .site-header .main-nav .sub a[aria-current="page"] { background: rgba(255,255,255,.07); }
.site-header .main-nav .sub b { color: #fff; }
.site-header .main-nav .sub small { color: rgba(255,255,255,.6); }
.site-header .main-nav .sub .sub-icon { background: rgba(232,199,160,.14); color: #e8c7a0; }
.site-header .header-cta { --bg: #c9a468; --bd: #c9a468; --fg: #043441; }
.site-header .header-cta:hover { --bg: #e0c293; --bd: #e0c293; }
.site-header .theme-toggle, .site-header .menu-toggle { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); color: #fff; }
.site-header .theme-toggle:hover, .site-header .menu-toggle:hover { border-color: #e8c7a0; color: #e8c7a0; background: rgba(255,255,255,.1); }
@media (max-width: 767px) { .site-header { background: linear-gradient(180deg, #0a4250, #043441); backdrop-filter: none; } }
:root[data-theme="dark"] .site-header { background: linear-gradient(180deg, rgba(3,37,47,.97), rgba(2,30,39,.95)); }

/* All covers share one canvas (1000x1100, body height equal): same visual size everywhere */
.book-visual { padding: 10px 6px 6px; }
.book-visual img { width: 100%; height: auto; max-width: 100%; aspect-ratio: 10 / 11; object-fit: contain; }
.book-3d { width: min(100%, 380px); max-height: none; aspect-ratio: 10 / 11; object-fit: contain; }

/* =====================================================================
   Home books showcase: dark stage, glowing covers standing on a shelf
   ===================================================================== */
.books-dark { position: relative; overflow: hidden; isolation: isolate; color: #fff; background:
    radial-gradient(900px 480px at 10% 10%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(700px 420px at 92% 100%, rgba(201,164,104,.16), transparent 70%),
    linear-gradient(160deg, #0a4a5a 0%, #043441 42%, #043441 125%); }
.bd-ring { position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(232,199,160,.14); aspect-ratio: 1; pointer-events: none; }
.bd-ring-1 { width: 620px; inset-inline-end: -180px; top: -240px; box-shadow: 0 0 0 50px rgba(232,199,160,.03); }
.bd-ring-2 { width: 880px; inset-inline-start: -380px; bottom: -520px; }
.bd-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.bd-head h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 1.4rem); line-height: 1.7; margin-top: 12px; max-width: 40ch; text-wrap: balance; }
.books-dark .series-box { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.16); border-inline-start: 3px solid #c9a468; backdrop-filter: blur(12px); }
.books-dark .series-box b { color: #fff; }
.books-dark .series-meta { color: rgba(255,255,255,.78); }
.books-dark .series-meta .icon { color: #e8c7a0; }
.books-dark .series-box p { color: rgba(255,255,255,.72); }
@media (max-width: 899px) { .bd-head { grid-template-columns: 1fr; } }

.bshelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 22px); }
.bk { --glow: #aab3c4; display: flex; flex-direction: column; }
.bk-stage { position: relative; display: block; aspect-ratio: 10 / 11; margin-bottom: 6px; }
.bk-glow { z-index: -1; position: absolute; left: 50%; top: 55%; translate: -50% -50%; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 70%, transparent), transparent 74%); opacity: .8; filter: blur(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.bk-num { position: absolute; inset-inline: 0; top: 4%; text-align: center; font-family: var(--font-latin); font-style: italic; font-weight: 500; font-size: clamp(4.5rem, 9vw, 8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.3); direction: ltr; pointer-events: none; z-index: 0; }
.bk-img, .bk .book-tile { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(0,0,0,.5)); transition: transform .55s var(--ease), filter .55s var(--ease); transform: none; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.bk .book-tile { width: 62%; height: 80%; margin: 8% auto 0; border-radius: 4px 10px 10px 4px; }
.bk-shelf { position: absolute; z-index: 0; left: 8%; right: 8%; bottom: 7%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(3px); transition: transform .5s var(--ease), opacity .5s; }
.bk:hover .bk-img, .bk:focus-within .bk-img { transform: translateY(-12px) rotate(-1.5deg) scale(1.04); filter: drop-shadow(0 34px 28px rgba(0,0,0,.55)); }
.bk:hover .bk-glow { opacity: .95; transform: scale(1.08); }
.bk:hover .bk-shelf { transform: scaleX(.88); opacity: .7; }
.bk-info { display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center; padding-top: 6px; }
.bk-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; min-height: 26px; }
.bk-chip { display: inline-flex; align-items: center; padding: .15em .8em; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--glow) 60%, transparent); background: color-mix(in srgb, var(--glow) 16%, transparent); color: #fff; font-size: .76rem; font-weight: 700; line-height: 1.8; }
.bk-chip.is-soft { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.85); }
.bk-info h3 { margin: 0; font-size: 1rem; line-height: 1.75; color: #fff; text-wrap: balance; }
.bk-info h3 a { color: inherit; }
.bk-info h3 a:hover { color: #e8c7a0; }
.bk-info p { margin: 0; font-size: .84rem; line-height: 1.9; color: rgba(255,255,255,.7); }
.bk-more { display: inline-flex; align-items: center; gap: .45em; margin-top: 4px; font-weight: 800; font-size: .86rem; color: #e8c7a0; }
.bk-more .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.bk-more:hover { color: #fff; } .bk-more:hover .icon { transform: translateX(-4px); }
.bk-buy { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }
.bk-price b { font-size: 1.05rem; color: #fff; } .bk-price small { color: rgba(255,255,255,.65); }
.books-dark .center-actions { margin-top: clamp(32px, 4vw, 52px); }

@media (max-width: 899px) {
  .bshelf { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 4px 4px 18px; margin-inline: -4px; scrollbar-width: none; }
  .bshelf::-webkit-scrollbar { display: none; }
  .bk { flex: 0 0 62%; max-width: 260px; scroll-snap-align: center; }
}
@media (min-width: 900px) and (max-width: 1100px) { .bk-info p { display: none; } .bk-num { font-size: 4.2rem; } }
@media (prefers-reduced-motion: reduce) { .bk-img, .bk-glow, .bk-shelf { transition: none; } .bk:hover .bk-img { transform: none; } }
/* showcase tuning: bigger halo, numeral peeking out beside the book */
.bk-glow { width: 135%; top: 52%; opacity: .85; filter: blur(4px); background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 62%, transparent), color-mix(in srgb, var(--glow) 18%, transparent) 55%, transparent 78%); }
.bk-num { inset-inline: auto; inset-inline-end: 2%; top: -2%; font-size: clamp(5rem, 10.5vw, 9.5rem); -webkit-text-stroke: 1.4px color-mix(in srgb, var(--glow) 70%, #fff); opacity: .55; }
.bk:hover .bk-num { opacity: .9; }

.footer-end { display: flex; align-items: center; gap: 14px; }
.footer-credit { font-size: .74rem; color: rgba(255,255,255,.5); white-space: nowrap; transition: color .2s; }
.footer-credit:hover { color: #e8c7a0; }
@media (max-width: 599px) { .footer-end { width: 100%; justify-content: space-between; } }

/* =====================================================================
   Stage hero (.hs): full-bleed video/image backdrop, calligraphic logotype, rotating headline
   ===================================================================== */
.hs { position: relative; isolation: isolate; overflow: hidden; color: #fff; display: flex; flex-direction: column; background: #032a35;
  min-height: max(640px, calc(100vh - var(--hero-top, 128px))); min-height: max(640px, calc(100svh - var(--hero-top, 128px))); }
.hs-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: linear-gradient(150deg, #0a4a5a, #032a35 60%, #02181f 140%); }
.hs-video, .hs-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-video { opacity: 0; transition: opacity 1.2s ease; z-index: 1; }
.hs-video.is-ready { opacity: 1; }
.hs-facade { position: absolute; inset: -10%; background:
    repeating-linear-gradient(176deg, rgba(255,255,255,.07) 0 2px, transparent 2px 54px),
    repeating-linear-gradient(86deg, rgba(110,205,215,.06) 0 1px, transparent 1px 120px),
    radial-gradient(900px 500px at 70% 10%, rgba(31,150,165,.35), transparent 65%);
  transform: perspective(900px) rotateX(18deg) scale(1.15); transform-origin: 50% 100%; }
.hs-veil { position: absolute; inset: 0; z-index: 2; background:
    linear-gradient(100deg, rgba(0,44,56,.35) 0%, rgba(0,50,63,.62) 38%, rgba(0,48,61,.88) 100%),
    radial-gradient(700px 420px at 12% 100%, rgba(0,110,120,.38), transparent 70%),
    linear-gradient(180deg, rgba(0,34,44,.5), transparent 28%, rgba(0,34,44,.65)); }
.hs-word { position: absolute; z-index: -1; inset-inline: 0; bottom: 3%; text-align: center; font-family: var(--font-latin); font-style: italic; font-weight: 500; font-size: clamp(5rem, 16vw, 15rem); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(232,199,160,.12); direction: ltr; user-select: none; pointer-events: none; }

.hs-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(280px, .72fr); align-items: center; gap: clamp(20px, 3.5vw, 56px); padding-block: clamp(28px, 5vh, 64px) clamp(16px, 3vh, 32px); }
.hs-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(12px, 2vh, 20px); }
.hs-copy > * { margin: 0; }
.hs-logo { margin: 0; font-weight: 400; display: grid; gap: 0; }
.hs-name { font-family: "Noto Nastaliq Urdu", var(--font); font-weight: 700; font-size: clamp(3.2rem, min(7vw, 12vh), 6.4rem); line-height: 1.65; margin-block: -.14em -.1em; color: #fff; text-shadow: 0 8px 30px rgba(0,0,0,.45); }
.hs-name-en { font-family: var(--font-latin); font-size: clamp(1.15rem, 2.2vw, 1.7rem); font-weight: 500; letter-spacing: .14em; color: #e8c7a0; text-transform: none; text-align: right; direction: ltr; padding-inline-start: .15em; }
.hs-name-en::after { content: ""; display: block; width: 84px; height: 2px; margin-top: 10px; margin-inline-start: auto; background: linear-gradient(270deg, #e8c7a0, transparent); }
.hs-tagline { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 600; line-height: 1.9; color: rgba(255,255,255,.86); max-width: 38ch; text-wrap: balance; }

.hs-slides { position: relative; display: grid; width: 100%; max-width: 640px; padding-inline-start: 18px; border-inline-start: 3px solid #c9a468; margin-top: 6px; }
.hs-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .6s ease, transform .6s var(--ease), visibility 0s .6s; }
.hs-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s var(--ease), visibility 0s; }
.hs-headline { font-size: clamp(1.15rem, 2.1vw, 1.65rem); font-weight: 800; line-height: 1.9; color: #fff; text-wrap: balance; max-width: 34ch; }
.hs-btn { --bg: rgba(255,255,255,.06); --bd: rgba(255,255,255,.6); --fg: #fff; min-height: 46px; padding-inline: 1.5em; font-weight: 800; font-size: .9rem; border-radius: 12px; backdrop-filter: blur(6px); }
.hs-btn:hover { --bg: #c9a468; --bd: #c9a468; --fg: #043441; }
.hs-arrows { position: absolute; inset-inline-end: 0; bottom: 0; display: flex; gap: 8px; }
.hs-arrow { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; }
.hs-arrow .icon { width: 15px; height: 15px; }
.hs-arrow[data-slide-next] .icon { transform: rotate(90deg); } .hs-arrow[data-slide-prev] .icon { transform: rotate(-90deg); }
.hs-arrow:hover { background: #c9a468; border-color: #c9a468; color: #043441; }
.hs-creds { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hs-creds li { display: inline-flex; align-items: center; gap: .45em; padding: .28em .85em; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.9); backdrop-filter: blur(6px); }
.hs-creds .icon { width: 13px; height: 13px; color: #e8c7a0; }

.hs-portrait { margin: 0; align-self: end; justify-self: center; display: flex; justify-content: center; align-items: flex-end; width: 100%; position: relative; }
.hs-portrait::before { content: ""; position: absolute; inset-inline: 4% 4%; bottom: 0; top: 14%; border-radius: 999px 999px 0 0; border: 1.5px solid rgba(232,199,160,.4); border-bottom: 0; background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 80%); }
.hs-portrait img { position: relative; display: block; width: auto; max-width: 100%; max-height: min(640px, calc(100svh - var(--hero-top, 128px) - 150px)); height: auto; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(0,0,0,.5)); -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent); mask-image: linear-gradient(180deg, #000 84%, transparent); }
.hs-mono { position: relative; font-size: clamp(6rem, 12vw, 9rem); font-style: italic; color: #e8c7a0; }

.hs-panel { align-self: center; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18); }
.hs-panel-title { margin: 0 0 14px; font-size: 1rem; text-align: center; color: #fff; }
.hs-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hs-panel li { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 800; font-size: .92rem; line-height: 1.6; }
.hs-panel li:last-child { border-bottom: 0; }
.hs-panel-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--c) 28%, rgba(255,255,255,.04)); }
.hs-panel-icon .icon { width: 19px; height: 19px; color: color-mix(in srgb, var(--c) 55%, #fff); }
.hs-btn-block { width: 100%; margin-top: 14px; }
.hs-panel-link { display: flex; align-items: center; justify-content: center; gap: .5em; margin-top: 12px; font-weight: 800; font-size: .86rem; color: #e8c7a0; }
.hs-panel-link .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.hs-panel-link:hover { color: #fff; }

.hs-dots { position: absolute; z-index: 3; right: clamp(10px, 1.6vw, 24px); top: 50%; translate: 0 -50%; display: grid; gap: 14px; }
.hs-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: transform .3s, background .3s; }
.hs-dot.is-active { background: #fff; transform: scale(1.5); box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.hs-ticker { position: relative; z-index: 2; margin-bottom: 8px; }
.hs-ticker .marquee { border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,92,120,.45); backdrop-filter: blur(10px); }
.hs-ticker .marquee::before, .hs-ticker .marquee::after { display: none; }
.hs-ticker .marquee-track li { padding-block: 13px; font-size: .86rem; }
.hs-scroll { position: relative; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; margin: 6px auto 14px; border-radius: 11px; background: #c9a468; color: #043441; animation: hs-bob 2.2s ease-in-out infinite; }
.hs-scroll .icon { width: 14px; height: 14px; grid-area: 1 / 1; }
.hs-scroll .icon:first-child { translate: 0 -4px; } .hs-scroll .icon:last-child { translate: 0 4px; }
@keyframes hs-bob { 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hs-scroll { animation: none; } .hs-slide { transition: none; } }

@media (max-width: 1099px) {
  .hs-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hs-panel { grid-column: 1 / -1; }
  .hs-panel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
}
@media (max-width: 767px) {
  .hs { min-height: 0; }
  .hs-grid { grid-template-columns: 1fr; padding-top: 24px; }
  .hs-portrait { order: -1; max-width: 340px; margin-inline: auto; }
  .hs-portrait img { max-height: 340px; }
  .hs-name { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hs-slides { max-width: none; }
  .hs-panel ul { grid-template-columns: 1fr; }
  .hs-dots { display: none; }
  .hs-arrows { position: static; margin-top: 14px; }
  .hs-slide { gap: 12px; }
}
:root[data-theme="dark"] .hs { box-shadow: inset 0 -1px 0 var(--line); }

/* stage hero: fit one screen */
@media (min-width: 768px) {
  .hs-grid { padding-block: clamp(16px, 3vh, 40px) clamp(10px, 2vh, 20px); grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr) minmax(270px, .7fr); }
  .hs-name { font-size: clamp(3rem, min(6.2vw, 10.5vh), 5.8rem); }
  .hs-copy { gap: clamp(8px, 1.5vh, 16px); }
  .hs-tagline { font-size: clamp(.95rem, 1.3vw, 1.1rem); line-height: 1.8; }
  .hs-headline { font-size: clamp(1.1rem, 1.1vw, 1.3rem); line-height: 1.85; max-width: 42ch; }
  .hs-slide { gap: 12px; }
  .hs-btn { min-height: 42px; }
  .hs-portrait img { max-height: min(600px, calc(100svh - var(--hero-top, 128px) - 130px)); }
}
@media (min-width: 768px) and (max-height: 880px) { .hs-scroll { display: none; } .hs-ticker { margin-bottom: 14px; } }
@media (min-width: 768px) and (max-height: 760px) { .hs-creds { display: none; } }
@media (min-width: 768px) and (min-height: 950px) { .hs-portrait img { max-height: min(760px, calc(100svh - var(--hero-top, 128px) - 130px)); } .hs-name { font-size: clamp(3rem, min(6.4vw, 11vh), 6.6rem); } .hs-headline { font-size: clamp(1.2rem, 1.8vw, 1.7rem); } }
.hs-kicker { display: inline-flex; align-items: center; gap: .6em; padding: .3em 1em; border-radius: 999px; background: rgba(232,199,160,.1); border: 1px solid rgba(232,199,160,.32); color: #e8c7a0; font-size: .8rem; font-weight: 800; line-height: 1.7; backdrop-filter: blur(6px); }
.hs-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e8c7a0; box-shadow: 0 0 0 4px rgba(232,199,160,.2); }
.hs-demo { display: inline-flex; align-items: center; gap: .55em; font-weight: 800; font-size: .88rem; color: #e8c7a0; }
.hs-demo .icon { width: 26px; height: 26px; padding: 7px; border-radius: 50%; background: rgba(232,199,160,.16); fill: currentColor; stroke: none; }
.hs-demo:hover { color: #fff; }
@media (max-width: 767px) { .hs-kicker { border-radius: 14px; font-size: .76rem; } }
.hs-lockup { display: block; width: clamp(300px, 36vw, 540px); margin-block: -6px -10px; }
.hs-lockup img { display: block; width: 79%; height: auto; filter: drop-shadow(0 10px 26px rgba(0,0,0,.4)); }
@media (min-width: 768px) { .hs-lockup { width: clamp(300px, min(30vw, 40vh * 1.21), 520px); } }
@media (max-width: 767px) { .hs-lockup { width: min(88%, 420px); } }
@media (min-width: 768px) { .hs-lockup { width: clamp(250px, min(23vw, 31vh * 1.21), 420px); margin-block: -10px -14px; } }
@media (min-width: 768px) and (min-height: 950px) { .hs-lockup { width: clamp(300px, min(26vw, 33vh * 1.21), 500px); } }
.hs-lockup + .hs-tagline, .hs-logo + .hs-tagline { margin-top: 10px; }
/* ---------- Official calligraphic logo (header, drawer, footer) ---------- */
.brand-logo-link { gap: 0; }
.brand-logo { display: block; }
.brand-logo img { display: block; height: 40px; width: auto; }
.brand-logo.is-ink { display: none; }
.footer-top .brand-logo img { height: 52px; }
/* The drawer follows the page theme, so it needs the dark-ink version on white. */
.drawer .brand-logo.is-light { display: none; }
.drawer .brand-logo.is-ink { display: block; }
:root[data-theme="dark"] .drawer .brand-logo.is-light { display: block; }
:root[data-theme="dark"] .drawer .brand-logo.is-ink { display: none; }
@media (max-width: 480px) { .brand-logo img { height: 34px; } }
/* Hero lockup is now the wide official logo (≈2.74 : 1). */
.hs-lockup { width: min(100%, 520px); margin-block: 2px 8px; }
.hs-lockup img { filter: drop-shadow(0 8px 22px rgba(0,0,0,.35)); }
@media (min-width: 768px) { .hs-lockup { width: clamp(300px, min(36vw, 33vh * 2.74), 540px); margin-block: 0 6px; } }
@media (min-width: 768px) and (min-height: 950px) { .hs-lockup { width: clamp(340px, min(36vw, 34vh * 2.74), 600px); } }
@media (max-width: 767px) { .hs-lockup { width: min(92%, 420px); } }

/* ---------- Book attachments (downloads) ---------- */
.att-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.att-count { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.att-count b { color: var(--heading); font-size: 1.15rem; }
.att-count i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500, #c9a468); }
.att-search { display: flex; align-items: center; gap: 10px; min-width: min(100%, 340px); padding: 0 16px; height: 48px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-3); transition: border-color .2s, box-shadow .2s; }
.att-search:focus-within { border-color: var(--gold-500, #c9a468); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold-500, #c9a468) 20%, transparent); }
.att-search svg { width: 18px; height: 18px; flex: none; }
.att-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: .95rem; }
.att-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.att-index { position: sticky; top: calc(var(--header-h, 76px) + 20px); max-height: calc(100vh - var(--header-h, 76px) - 40px); overflow: auto; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.att-index-title { margin: 0 4px 10px; font-weight: 800; color: var(--heading); font-size: .95rem; }
.att-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.att-index a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--ink-2); font-size: .88rem; line-height: 1.7; transition: background .2s, color .2s; }
.att-index a:hover, .att-index a.is-current { background: color-mix(in srgb, var(--gold-500, #c9a468) 16%, transparent); color: var(--heading); }
.att-index a small { flex: none; min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--paper, #f4f2ed); color: var(--ink-3); font-size: .75rem; text-align: center; }
.att-main { display: grid; gap: 20px; }
.att-card { scroll-margin-top: calc(var(--header-h, 76px) + 24px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.att-card:target { border-color: var(--gold-500, #c9a468); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold-500, #c9a468) 22%, transparent); }
.att-card header { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: linear-gradient(150deg, var(--a1, var(--navy-800, #12284b)), var(--a2, var(--navy-950, #043441))); color: #fff; }
.att-card header h2 { margin: 0; font-size: 1.08rem; line-height: 1.8; color: #fff; }
.att-card header p { margin: 4px 0 0; color: rgba(255,255,255,.75); font-size: .88rem; }
.att-card header > div { flex: 1; min-width: 0; }
.att-card-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.1); color: var(--gold-300, #e8c7a0); box-shadow: inset 0 0 0 1px rgba(232,199,160,.35); }
.att-card-ic svg { width: 22px; height: 22px; }
.att-card-n { flex: none; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .8rem; color: var(--gold-300, #e8c7a0); }
.att-files { list-style: none; margin: 0; padding: 8px 12px 12px; display: grid; }
.att-file { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 14px; color: var(--ink); transition: background .2s; }
.att-file + .att-file, .att-files li + li .att-file { border-top: 0; }
.att-files li + li { border-top: 1px dashed var(--line); }
.att-file:hover { background: color-mix(in srgb, var(--gold-500, #c9a468) 12%, transparent); }
.att-file-name { flex: 1; min-width: 0; font-weight: 600; line-height: 1.9; }
.att-file small { flex: none; color: var(--ink-3); font-size: .8rem; }
.att-type { flex: none; min-width: 56px; padding: 4px 8px; border-radius: 9px; text-align: center; font: 700 .72rem/1.6 inherit; font-family: inherit; letter-spacing: .04em; background: var(--paper, #f4f2ed); color: var(--ink-2); }
.att-type-excel { background: #e3f4ea; color: #146c3d; }
.att-type-pdf { background: #fbe6e6; color: #a32323; }
.att-type-zip { background: #eceafb; color: #4538a6; }
.att-dl { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900, #043441); color: var(--gold-300, #e8c7a0); transition: transform .25s var(--ease, ease), background .25s; }
.att-dl svg { width: 18px; height: 18px; }
.att-file:hover .att-dl { transform: translateY(2px); background: var(--gold-500, #c9a468); color: #043441; }
.att-none { padding: 28px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 20px; }
.att-back { margin-top: 28px; text-align: center; }
:root[data-theme="dark"] .att-type-excel { background: rgba(60,180,110,.16); color: #7fd9a2; }
:root[data-theme="dark"] .att-type-pdf { background: rgba(230,90,90,.16); color: #f2a0a0; }
:root[data-theme="dark"] .att-type-zip { background: rgba(130,120,230,.18); color: #bdb6f5; }
@media (max-width: 960px) {
  .att-layout { grid-template-columns: 1fr; gap: 20px; }
  .att-index { position: static; max-height: none; padding: 12px; }
  .att-index ul { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .att-index li { flex: none; }
  .att-index a { border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; padding: 6px 14px; }
  .att-index-title { display: none; }
}
@media (max-width: 560px) {
  .att-card header { padding: 16px; gap: 12px; flex-wrap: wrap; }
  .att-card-n { display: none; }
  .att-file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 6px; }
  .att-type { grid-row: 1 / 3; min-width: 52px; }
  .att-file-name { grid-column: 2; line-height: 1.8; font-size: .93rem; }
  .att-file small { grid-column: 2; grid-row: 2; }
  .att-dl { grid-column: 3; grid-row: 1 / 3; }
}

/* ---------- Stage hero: a much larger portrait ----------
   The portrait is as tall as the hero allows and spills over into the neighbouring columns
   (copy on the right, stats panel on the left stay above it). */
.hs-portrait::after { content: ""; position: absolute; z-index: -1; inset: 8% -10% 0; background: radial-gradient(closest-side at 50% 55%, rgba(232,199,160,.22), rgba(232,199,160,0) 72%); pointer-events: none; }
@media (min-width: 1100px) {
  .hs-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(260px, .62fr); }
  .hs-copy, .hs-panel { position: relative; z-index: 2; }
  .hs-portrait { z-index: 1; justify-content: center; margin-bottom: calc(-1 * clamp(10px, 2vh, 20px)); }
  .hs-portrait::before { inset-inline: calc(50% - var(--hs-pw, 300px) * .46); top: 12%; }
  .hs-portrait img { --hs-pw: min(calc(100svh - var(--hero-top, 128px) - 140px), 48vw, 780px); width: var(--hs-pw); max-width: none; max-height: none; height: auto; flex: none; }
  .hs-portrait { --hs-pw: min(calc(100svh - var(--hero-top, 128px) - 140px), 48vw, 780px); }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .hs-portrait img { max-height: min(560px, calc(100svh - var(--hero-top, 128px) - 150px)); width: 118%; max-width: none; flex: none; }
}
@media (min-width: 768px) and (max-width: 1099px) { .hs-portrait img { width: 140%; max-height: min(640px, calc(100svh - var(--hero-top, 128px) - 120px)); } }
@media (max-width: 767px) { .hs-portrait { max-width: 440px; width: 112%; margin-inline: -6%; } .hs-portrait img { max-height: 440px; width: 100%; } }
.news-source { margin: 24px 0 0; color: var(--ink-3); font-size: .88rem; }
.news-source a { color: var(--ink-2); text-decoration: underline; }
.news-related { margin-top: 32px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper, #f4f2ed); }
.news-related h2 { margin: 0 0 10px; font-size: 1.05rem; }
.news-related ul { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; }
.news-related a { font-weight: 700; }

/* Logo uploaded in Settings: keep any shape within the header/footer; dark plate on the light drawer */
.brand-logo.is-custom img { max-width: 220px; object-fit: contain; }
.drawer .brand-logo.is-custom { padding: 6px 10px; border-radius: 10px; background: var(--navy-900); }
:root[data-theme="dark"] .drawer .brand-logo.is-custom { background: transparent; padding-inline: 0; }

/* Ticker loop: the over-wide row must start at the left edge (in RTL it hugged the right one and left a growing gap).
   Text inside each item stays RTL; the pause button keeps its place on the right. */
.marquee { direction: ltr; }
.marquee-toggle { inset-inline-start: auto; right: 10px; }

/* ---------- About page photo gallery ---------- */
.ag { display: grid; gap: 12px; min-width: 0; }
.ag-stage { position: relative; display: grid; align-items: center; justify-items: center; width: fit-content; max-width: 100%; margin-inline: auto; } /* no backdrop: the frame is the photo itself */
.ag-slide { grid-area: 1 / 1; display: block; max-width: 100%; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; cursor: zoom-in; }
.ag-slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
.ag-photo { display: block; width: auto; height: auto; max-width: 100%; max-height: min(68vh, 640px); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.ag-arrow { position: absolute; z-index: 2; top: 50%; translate: 0 -50%; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(2,32,42,.55); color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .25s, color .25s; }
.ag-arrow:hover { background: #fff; color: #04303c; }
.ag-arrow .icon { width: 16px; height: 16px; }
.ag-arrow.is-prev { right: 12px; } .ag-arrow.is-prev .icon { transform: rotate(-90deg); }
.ag-arrow.is-next { left: 12px; } .ag-arrow.is-next .icon { transform: rotate(90deg); }
.ag-count { position: absolute; z-index: 2; bottom: 12px; left: 50%; translate: -50% 0; padding: 2px 12px; border-radius: 999px; background: rgba(2,32,42,.6); color: #fff; font-size: .8rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ag-thumbs { display: flex; justify-content: safe center; gap: 8px; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
.ag-thumb { flex: 0 0 68px; height: 68px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--surface); cursor: pointer; opacity: .6; transition: opacity .25s, border-color .25s, transform .25s var(--ease); }
.ag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ag-thumb:hover { opacity: 1; transform: translateY(-2px); }
.ag-thumb.is-active { opacity: 1; border-color: var(--gold-500); }

/* ---------- Photo gallery page (/fa/gallery): dark stage, masonry, album filters ---------- */
.gx { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 104px); min-height: 60vh;
  background: radial-gradient(900px 480px at 85% 0%, rgba(35,201,198,.2), transparent 65%), radial-gradient(700px 420px at 0% 35%, rgba(201,164,104,.1), transparent 70%), linear-gradient(170deg, #054251, #02202a 55%, #01161d); }
.gx::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 420px; background-image: radial-gradient(circle, rgba(255,255,255,.09) 1px, transparent 1.6px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.gx-head { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.gx-head .breadcrumbs ol { justify-content: center; color: rgba(255,255,255,.6); }
.gx-head .breadcrumbs [aria-current] { color: #fff; }
.gx-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; font-size: .85rem; font-weight: 800; color: #5fdcd9; }
.gx-eyebrow::before, .gx-eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.gx-head h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 6px; }
.gx-head p { max-width: 56ch; margin: 10px auto 0; color: rgba(255,255,255,.72); }

.gx-filters { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(24px, 4vw, 40px); }
.js .gx-filters { display: flex; }
.gx-filter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: rgba(255,255,255,.85); font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.gx-filter small { min-width: 24px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .74rem; line-height: 22px; }
.gx-filter:hover { border-color: rgba(35,201,198,.6); color: #fff; transform: translateY(-2px); }
.gx-filter[aria-pressed="true"] { background: #fff; border-color: #fff; color: #04303c; }
.gx-filter[aria-pressed="true"] small { background: #04303c; color: #fff; }

.gx-grid { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 18px; }
.gx-grid:has(> :nth-child(1):last-child) { columns: 1; max-width: 520px; margin-inline: auto; }
.gx-grid:has(> :nth-child(2):last-child) { columns: 2; max-width: 820px; margin-inline: auto; }
.gx-item { break-inside: avoid; margin-bottom: 18px; }
.gx-item a { position: relative; display: block; overflow: hidden; border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: 0 30px 50px -34px rgba(0,0,0,.85); cursor: zoom-in; transition: transform .45s var(--ease), box-shadow .45s; }
.gx-item img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.gx-item a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: box-shadow .35s; pointer-events: none; }
.gx-item a:hover, .gx-item a:focus-visible { transform: translateY(-6px); box-shadow: 0 40px 60px -32px rgba(0,0,0,.95); }
.gx-item a:hover::after, .gx-item a:focus-visible::after { box-shadow: inset 0 0 0 1.5px rgba(35,201,198,.75); }
.gx-item a:hover img, .gx-item a:focus-visible img { transform: scale(1.06); }
.gx-over { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px;
  background: linear-gradient(180deg, transparent 45%, rgba(1,24,32,.9)); opacity: 0; transition: opacity .35s; }
.gx-zoom { align-self: flex-end; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: #04303c; translate: 0 -8px; transition: translate .45s var(--ease); }
.gx-zoom .icon { width: 18px; height: 18px; }
.gx-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: auto; translate: 0 10px; transition: translate .45s var(--ease); }
.gx-chip { padding: 1px 12px; border-radius: 999px; background: rgba(35,201,198,.22); border: 1px solid rgba(35,201,198,.45); font-size: .72rem; font-weight: 800; }
.gx-cap { font-size: .9rem; font-weight: 700; line-height: 1.8; color: #fff; }
.gx-item a:hover .gx-over, .gx-item a:focus-visible .gx-over { opacity: 1; }
.gx-item a:hover .gx-zoom, .gx-item a:hover .gx-meta, .gx-item a:focus-visible .gx-zoom, .gx-item a:focus-visible .gx-meta { translate: 0 0; }
.gx-item .draft-badge { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; }
@media (hover: none) { .gx-over { opacity: 1; } .gx-zoom { display: none; } .gx-meta { translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) { .gx-item.is-entering { animation: gx-in .55s var(--ease) backwards; } .gx-item { animation: gx-in .7s var(--ease) backwards; } }
@keyframes gx-in { from { opacity: 0; transform: translateY(22px) scale(.97); } }
@media (max-width: 991px) { .gx-grid { columns: 2; column-gap: 12px; } .gx-item { margin-bottom: 12px; } .gx-item a { border-radius: 16px; } .gx-over { padding: 10px; } .gx-cap { font-size: .76rem; } .gx-chip { font-size: .66rem; } }

.gx-empty { max-width: 520px; margin: 0 auto; text-align: center; padding: clamp(32px, 6vw, 56px) 24px; border-radius: 28px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.gx-empty-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: linear-gradient(145deg, rgba(35,201,198,.26), rgba(35,201,198,.07)); border: 1px solid rgba(35,201,198,.35); color: #7ce8e5; }
.gx-empty-icon .icon { width: 34px; height: 34px; }
.gx-empty h2 { color: #fff; font-size: 1.3rem; margin-top: 18px; }
.gx-empty p { color: rgba(255,255,255,.7); margin: 8px 0 22px; }
@media (max-width: 599px) { .gx-chip { display: none; } }
@media (hover: none) { .gx-over:not(:has(.gx-cap)) { background: none; } }

/* About page: one-line title (site.js sizes it to the column) and justified text */
.about-main { min-width: 0; }
.about-title { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 10px 0 20px; text-wrap: balance; }
.about-main .prose p, .about-main .prose li, .about-main .value p { text-align: justify; text-justify: inter-word; }

/* Compact banner (about page): name and summary beside a gold rule, breadcrumbs at the other end */
.page-hero.phero.phero--compact { padding-block: clamp(22px, 3vw, 32px); }
.phero.phero--compact::after { display: none; }
.phero--compact > .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title crumbs" "lead crumbs"; align-items: center; column-gap: 28px; }
.phero.phero--compact .eyebrow { display: none; } /* repeats the breadcrumb */
.phero.phero--compact h1 { grid-area: title; margin: 0; max-width: none; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.6; }
.phero.phero--compact h1::after { display: none; }
.phero.phero--compact .lead { grid-area: lead; margin: 0; max-width: none; font-size: .96rem; line-height: 1.9; }
.phero.phero--compact h1, .phero.phero--compact .lead { padding-inline-start: 16px; border-inline-start: 3px solid var(--gold-500); }
.phero.phero--compact .breadcrumbs { grid-area: crumbs; margin: 0; }
.phero.phero--compact .breadcrumbs ol { margin: 0; }
.phero--compact + .section { padding-top: clamp(28px, 4vw, 48px); }
@media (max-width: 699px) {
  .phero--compact > .container { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumbs" "title" "lead"; justify-items: start; }
  .phero.phero--compact .breadcrumbs { margin-bottom: 14px; }
  .phero.phero--compact h1, .phero.phero--compact .lead { width: 100%; }
}

/* ---------- Compact banners on every inner page ---------- */
/* shared banner: extras */
.phero--compact > .container { grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
.phero.phero--compact .breadcrumbs { max-width: min(420px, 36vw); }
.phero.phero--compact .breadcrumbs ol { flex-wrap: nowrap; max-width: 100%; }
.phero.phero--compact .breadcrumbs li { flex: none; white-space: nowrap; }
.phero.phero--compact .breadcrumbs li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.phero.phero--compact.phero--eyebrow > .container { grid-template-areas: "eyebrow crumbs" "title crumbs" "lead crumbs"; }
.phero.phero--compact.phero--eyebrow .eyebrow { grid-area: eyebrow; display: flex; padding-inline-start: 16px; border-inline-start: 3px solid var(--gold-500); }
.phero.phero--compact.phero--eyebrow .eyebrow::before { display: none; }
.phero--compact > .container:has(> .service-hero-icon) { grid-template-columns: auto minmax(0, 1fr) minmax(0, auto); grid-template-areas: "icon title crumbs" "icon lead crumbs"; column-gap: 16px; }
.phero.phero--compact .service-hero-icon { grid-area: icon; width: 54px; height: 54px; margin: 0; border-radius: 16px; }
.phero.phero--compact .service-hero-icon .icon { width: 26px; height: 26px; }
.phero.phero--compact > .container:has(> .service-hero-icon) :is(h1, .lead) { border: 0; padding: 0; }
@media (max-width: 699px) {
  .phero--compact > .container { grid-template-columns: minmax(0, 1fr); }
  .phero.phero--compact .breadcrumbs { max-width: 100%; }
  .phero.phero--compact.phero--eyebrow > .container { grid-template-areas: "crumbs" "eyebrow" "title" "lead"; }
  .phero--compact > .container:has(> .service-hero-icon) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumbs" "icon" "title" "lead"; row-gap: 6px; }
}

/* media pages */
.dark-hero { padding-block: clamp(22px, 3vw, 32px); }
.dark-hero::after { display: none; }
.dark-hero .breadcrumbs ol { margin-bottom: 8px; }
.dark-hero:not(.episode-hero) .eyebrow { display: none; }
.dark-hero h1 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.6; margin: 0; max-width: none; }
.dark-hero .lead { font-size: .96rem; margin: 2px 0 0; max-width: 70ch; line-height: 1.9; }
.dark-hero .video-feature { margin-top: 20px; }
.dark-hero .video-feature .video-thumb { min-height: 240px; }
.dark-hero .video-feature .vf-body { padding: 22px 26px; }
.dark-hero .video-feature h2 { font-size: 1.2rem; }
.dark-hero .video-feature .play-badge { width: 64px; height: 64px; }
/* the media hub tiles become a slim row of shortcuts */
.hub-split.hub-compact { margin-top: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.dark-hero .hub-compact .hub-tile { min-height: 0; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); }
.dark-hero .hub-compact .hub-tile :is(p, .link-arrow) { display: none; }
.dark-hero .hub-compact .hub-tile .icon-lg { position: static; width: 40px; height: 40px; flex: none; border-radius: 12px; }
.dark-hero .hub-compact .hub-tile .icon-lg .icon { width: 20px; height: 20px; }
.dark-hero .hub-compact .hub-tile h2 { margin: 0; font-size: 1rem; }
.dark-hero .hub-compact .hub-tile h2 a::before { content: ""; position: absolute; inset: 0; }
.dark-hero .hub-compact .hub-tile::before, .dark-hero .hub-compact .hub-tile::after { display: none; }

.show-hero .show-stack { height: 170px; }
.show-hero .show-stack .art, .show-hero .show-stack img { width: 130px; border-radius: 16px; font-size: 10px; }
.show-hero .show-stack > :nth-child(1) { top: 24px; }
.show-hero .show-stack > :nth-child(2) { inset-inline-end: 56px; top: 4px; }
.show-hero .show-stack > :nth-child(3) { inset-inline-end: 112px; top: 32px; }
.episode-hero .episode-hero-grid { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
.episode-hero .player { margin-top: 14px; }
@media (max-width: 899px) { .episode-hero .episode-hero-grid { grid-template-columns: minmax(0, 1fr); } .episode-hero-grid > :first-child { max-width: 160px; } }

/* course and package pages */
.program-hero { padding-block: clamp(20px, 3vw, 32px); }
.program-hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); }
.program-hero h1 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); line-height: 1.6; margin-top: 8px; }
.program-hero .lead { font-size: .96rem; line-height: 1.9; margin-top: 4px; }
.program-hero .quick-facts { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 16px; }
.program-hero .qf { padding: 8px 10px; gap: 10px; border-radius: 12px; }
.program-hero .qf .qf-icon { width: 32px; height: 32px; }
.program-hero .hero-price { margin-top: 14px; }
.program-hero .course-visual { width: 220px; }
.program-hero .course-visual :is(.art, img) { font-size: 11px; border-radius: 999px 999px 18px 18px; }
.program-hero .course-date { padding: 8px 12px; bottom: 12px; min-width: 0; }
.program-hero .course-date b { font-size: .9rem; }
.program-hero .pkg-stage { zoom: .72; }
@media (max-width: 899px) { .program-hero-grid { grid-template-columns: minmax(0, 1fr); } .program-hero .course-visual { width: 200px; margin-inline: auto; } }

/* book page */
.page-hero.book-hero { padding-block: clamp(20px, 3vw, 32px); }
.book-hero::after { display: none; }
.book-hero .book-hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
.book-hero h1 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); margin: 8px 0 4px; }
.book-hero .lead { font-size: .96rem; margin: 0; line-height: 1.9; }
.book-hero p { margin-bottom: 4px; }
.book-hero .book-price { margin-block: 6px; }
.book-hero .hero-actions { margin-top: 12px; display: flex; flex-wrap: wrap; max-width: none; }
.book-hero .hero-actions .btn { min-height: 44px; }
.book-hero .book-hero-visual .book-3d { width: 230px; max-height: none; }
.book-hero .book-tile--large { zoom: .7; }
@media (max-width: 899px) { .book-hero .book-hero-grid { grid-template-columns: minmax(0, 1fr); } .book-hero .book-hero-visual .book-3d { width: 180px; } .book-hero .book-hero-visual { order: -1; } }

/* article and other plain page headers */
header.page-hero:not(.phero) { padding-block: clamp(20px, 3vw, 32px); }
header.page-hero:not(.phero)::after { display: none; }
header.page-hero:not(.phero) .article-head h1 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.7; margin-top: 8px; }
header.page-hero:not(.phero) .lead { font-size: .96rem; margin-top: 6px; line-height: 1.9; }
header.page-hero:not(.phero) .article-meta { margin-top: 10px; }
@media (min-width: 600px) { .book-hero .hero-actions .btn { flex: 0 0 auto; width: auto; grid-column: auto; } }
/* less empty space between a compact banner and the content under it */
.program-hero + .section, .book-hero + .section, .dark-hero + .section, header.page-hero:not(.phero) + .section { padding-top: clamp(28px, 4vw, 48px); }

/* ---------- Compact footer ---------- */
.site-footer { contain-intrinsic-size: auto 280px; }
.site-footer .footer-top { grid-template-columns: 1.15fr 1.25fr 1.35fr .9fr; gap: clamp(20px, 3vw, 36px); padding-block: 28px 20px; font-size: .85rem; line-height: 1.8; }
.site-footer h2 { font-size: .92rem; margin-bottom: 10px; }
.site-footer ul { gap: 3px; }
.site-footer .footer-two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.site-footer .footer-brand .brand-logo img { height: 40px; }
.site-footer .footer-about { margin: 8px 0; font-size: .8rem; line-height: 1.85; color: rgba(255,255,255,.6); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.site-footer .socials a { width: 30px; height: 30px; }
.site-footer .footer-contact { margin-top: 10px; }
.site-footer .footer-bottom .container { padding-block: 10px; font-size: .78rem; }
.site-footer .to-top { width: 34px; height: 34px; }
.site-footer.flush { margin-top: 0; }
.site-footer:not(.flush) { margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 991px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr; } .site-footer .footer-brand { grid-column: 1 / -1; } .site-footer .footer-companies { grid-column: 1 / -1; } .site-footer .footer-companies ul { display: flex; flex-wrap: wrap; column-gap: 18px; } }
@media (max-width: 599px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 20px 14px; padding-block: 24px 16px; } .site-footer .footer-two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Offices: slim footer row and contact-page cards ---------- */
.site-footer .footer-offices { border-top: 1px solid rgba(255,255,255,.08); padding-block: 12px; font-size: .79rem; line-height: 1.8; }
.site-footer .footer-office-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; }
.site-footer .footer-office-list li { display: flex; gap: 8px; align-items: flex-start; color: rgba(255,255,255,.68); }
.site-footer .footer-office-list b { display: block; color: #fff; font-size: .82rem; }
.site-footer .footer-office-list li span[dir] { display: block; }
.site-footer .footer-offices .icon { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--gold-300); }
.site-footer .footer-phones { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 8px 0 0; }
.site-footer .footer-phones .icon { margin: 0 -14px 0 0; }
.offices { margin-top: clamp(32px, 5vw, 56px); }
.offices h2 { font-size: 1.3rem; margin-bottom: 16px; }
.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.office-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-content: start; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.office-icon { grid-row: span 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--gold-100); color: var(--gold-700); }
.office-icon .icon { width: 20px; height: 20px; }
.office-card h3 { font-size: 1rem; }
.office-card address { font-style: normal; font-size: .88rem; line-height: 1.9; color: var(--ink-2); text-align: start; }
.office-card a { font-weight: 700; justify-self: start; }
.office-phones { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 18px 0 0; }
.office-phones .icon { width: 18px; height: 18px; color: var(--gold-600); margin-inline-end: -12px; }
.office-phones a { font-weight: 700; }
.footer-office-list .addr-latin, .office-card address.addr-latin { font-feature-settings: "ss01" 0, "tnum" 0; text-align: right; font-family: Arial, Helvetica, sans-serif; }

/* footer without link columns: logo on one side, social icons on the other */
.site-footer .footer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 18px 14px; }
.site-footer .footer-head .socials { gap: 8px; }
.site-footer .footer-head .footer-contact { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: .82rem; }
.site-footer { contain-intrinsic-size: auto 240px; }
