@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/vazirmatn-arabic-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/vazirmatn-arabic-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/vazirmatn-arabic-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/vazirmatn-arabic-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/vazirmatn-arabic-800-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

/* Shared first-paint skeleton. Geometry varies by template; no remote assets. */
.website-skeleton { position: fixed; inset: 0; z-index: 200; overflow: hidden; background: #faf8f3; color: #696f69; direction: rtl; font-family: Vazirmatn, Tahoma, sans-serif; }
.website-skeleton__status { position: absolute; top: 101px; inset-inline: 24px; margin: 0; text-align: center; font-size: 12px; line-height: 24px; }
.website-skeleton__visual { animation: website-skeleton-pulse 1.8s ease-in-out infinite alternate; }
.website-skeleton__width { width: min(1360px, calc(100% - 64px)); margin-inline: auto; }
.website-skeleton__block { display: block; border-radius: 7px; background: #e8e3da; }
.website-skeleton__header { height: 86px; border-bottom: 1px solid #e4ded4; }
.website-skeleton__header > div { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 100%; }
.website-skeleton__brand { width: 200px; height: 40px; }
.website-skeleton__links { display: flex; gap: 28px; }
.website-skeleton__links > span { width: 80px; height: 14px; }
.website-skeleton__header .website-skeleton__button { width: 112px; }
.website-skeleton__content { padding-block: 58px 40px; }
.website-skeleton__breadcrumb { width: 180px; max-width: 65%; height: 13px; margin-bottom: 36px; }
.website-skeleton__hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; }
.website-skeleton__copy { min-width: 0; }
.website-skeleton__eyebrow { width: 100px; height: 12px; margin-bottom: 24px; }
.website-skeleton__title { width: 90%; height: clamp(28px, 3.5vw, 48px); margin-bottom: 18px; }
.website-skeleton__line { width: 100%; height: 13px; margin-block: 20px; }
.website-skeleton__short { width: 65%; }
.website-skeleton__actions { display: flex; gap: 14px; margin-top: 32px; }
.website-skeleton__button { width: 145px; max-width: 45%; height: 46px; border-radius: 24px; }
.website-skeleton__media { width: 100%; aspect-ratio: 1.35; border-radius: 24px; }
.website-skeleton__tabs { display: flex; gap: 34px; padding-block: 28px; margin-top: 42px; border-block: 1px solid #e4ded4; }
.website-skeleton__tabs > span { width: 110px; height: 16px; }
.website-skeleton__results { display: grid; gap: 28px; margin-top: 32px; }
.website-skeleton__sidebar { display: none; }
.website-skeleton__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.website-skeleton__card { min-width: 0; padding: 14px; border: 1px solid #e4ded4; border-radius: 20px; background: #fffdf9; }
.website-skeleton__poster { height: 140px; border-radius: 12px; }
.website-skeleton[data-layout="home"] .website-skeleton__breadcrumb { display: none; }
.website-skeleton[data-layout="home"] .website-skeleton__media { aspect-ratio: 1.18; }
.website-skeleton:is([data-layout="catalogue"], [data-layout="directory"]) .website-skeleton__hero { grid-template-columns: 1fr; max-width: 660px; }
.website-skeleton:is([data-layout="catalogue"], [data-layout="directory"]) .website-skeleton__media,
.website-skeleton:is([data-layout="catalogue"], [data-layout="directory"]) .website-skeleton__actions,
.website-skeleton:is([data-layout="catalogue"], [data-layout="directory"]) .website-skeleton__title.website-skeleton__short { display: none; }
.website-skeleton[data-layout="catalogue"] .website-skeleton__results { grid-template-columns: 220px minmax(0, 1fr); }
.website-skeleton[data-layout="catalogue"] .website-skeleton__sidebar { display: block; padding: 20px; border: 1px solid #e4ded4; border-radius: 18px; }
.website-skeleton[data-layout="article"] .website-skeleton__content { max-width: 960px; }
.website-skeleton[data-layout="article"] .website-skeleton__hero { grid-template-columns: 1fr; }
.website-skeleton[data-layout="article"] .website-skeleton__media { aspect-ratio: 2.4; }
.website-skeleton[data-layout="article"] :is(.website-skeleton__tabs, .website-skeleton__results, .website-skeleton__actions) { display: none; }
.website-skeleton[data-layout="form"] .website-skeleton__content { max-width: 700px; }
.website-skeleton[data-layout="form"] .website-skeleton__hero { grid-template-columns: 1fr; }
.website-skeleton[data-layout="form"] :is(.website-skeleton__media, .website-skeleton__tabs, .website-skeleton__results, .website-skeleton__links) { display: none; }
@keyframes website-skeleton-pulse { from { opacity: 1; } to { opacity: .58; } }
@media (max-width: 1000px) { .website-skeleton__links > span:nth-child(n+3) { display: none; } .website-skeleton[data-layout="catalogue"] .website-skeleton__results { grid-template-columns: 170px minmax(0, 1fr); } .website-skeleton__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .website-skeleton__width { width: calc(100% - 36px); }
  .website-skeleton__header { height: 74px; }
  .website-skeleton__brand { width: 154px; height: 34px; }
  .website-skeleton__header .website-skeleton__button { width: 38px; height: 38px; }
  .website-skeleton__links { display: none; }
  .website-skeleton__status { top: 85px; }
  .website-skeleton__hero { grid-template-columns: 1fr; gap: 30px; }
  .website-skeleton__media, .website-skeleton[data-layout="home"] .website-skeleton__media { aspect-ratio: 1.8; }
  .website-skeleton__tabs { gap: 20px; margin-top: 28px; }
  .website-skeleton__tabs > span { flex: 1; }
  .website-skeleton__tabs > span:nth-child(n+4) { display: none; }
  .website-skeleton[data-layout="catalogue"] .website-skeleton__results { grid-template-columns: 1fr; }
  .website-skeleton[data-layout="catalogue"] .website-skeleton__sidebar { display: none; }
  .website-skeleton__cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .website-skeleton__visual { animation: none; } }
@media print { .website-skeleton { display: none; } }

:root {
  --paper: #f4f0e8;
  --paper-light: #faf8f3;
  --surface: #ffffff;
  --surface-warm: #eee8dc;
  --ink: #151916;
  --ink-soft: #242a26;
  --muted: #696f69;
  --muted-light: #9ca29c;
  --line: rgba(21, 25, 22, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --brand: #960004;
  --brand-bright: #b31920;
  --brand-deep: #690004;
  --coral: #d95d43;
  --blue: #3155d9;
  --green: #1d7650;
  --shadow-sm: 0 8px 30px rgba(23, 19, 15, 0.08);
  --shadow-md: 0 24px 70px rgba(23, 19, 15, 0.13);
  --shadow-lg: 0 36px 110px rgba(17, 12, 8, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 42px;
  --container: min(1360px, calc(100vw - 64px));
  --header-height: 86px;
  --mobile-navigation-height: 0px;
  --page-action-safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
html.home-anchor-scrolling, html.home-anchor-scrolling body { overflow-anchor: none; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.search-is-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--brand);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
  text-wrap: balance;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid rgba(150, 0, 4, 0.35);
  outline-offset: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  right: 16px;
  padding: 10px 16px;
  color: #fff;
  background: var(--brand);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-weight: 700;
  line-height: 1.25;
  transition:
    transform 240ms var(--ease-out),
    box-shadow 240ms ease,
    background 240ms ease,
    color 240ms ease,
    border-color 240ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  transition: transform 240ms var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(-3px);
}

.button--small {
  min-height: 43px;
  padding: 10px 18px;
  font-size: 0.86rem;
}

.button--large {
  min-height: 58px;
  padding: 15px 28px;
}

.button--primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 15px 34px rgba(150, 0, 4, 0.23);
}

.button--primary:hover {
  color: #fff;
  background: var(--brand-bright);
  box-shadow: 0 19px 44px rgba(150, 0, 4, 0.31);
}

.button--ink {
  color: #fff;
  background: var(--ink);
}

.button--ink:hover {
  color: #fff;
  background: var(--brand);
}

.button--outline {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.button--outline:hover {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.button--ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.button--text {
  min-height: 46px;
  padding-inline: 5px;
  color: var(--ink);
  border-radius: 0;
  border-bottom-color: var(--ink);
}

.button--text:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.button--coral {
  color: #fff;
  background: #b43b29;
}

.button--light {
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: transparent;
}

.announcement {
  position: relative;
  z-index: 92;
  color: rgba(255, 255, 255, 0.88);
  background: var(--ink);
  max-height: 54px;
  opacity: 1;
  overflow: hidden;
  transition:
    max-height 300ms ease,
    opacity 200ms ease;
}

.announcement.is-hidden {
  max-height: 0;
  opacity: 0;
}

.announcement__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-block: 7px;
}

.announcement p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.79rem;
}

.announcement a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.announcement__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef7461;
  box-shadow: 0 0 0 5px rgba(239, 116, 97, 0.14);
}

.announcement__close {
  position: absolute;
  left: 22px;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.7);
}

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(244, 240, 232, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(250, 248, 243, 0.95);
  box-shadow: 0 8px 30px rgba(24, 20, 16, 0.06);
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 28px;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(21, 25, 22, 0.1);
  border-radius: 12px;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__copy strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.brand__copy small {
  margin-top: 4px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.11em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.desktop-nav > a,
.nav-disclosure > a,
.nav-disclosure__trigger {
  position: relative;
  padding-block: 12px;
  color: #343a35;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav > a::after,
.nav-disclosure > a::after,
.nav-disclosure__trigger::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--brand);
  transition: width 220ms var(--ease-out);
}

.desktop-nav > a:hover::after,
.nav-disclosure > a:hover::after,
.nav-disclosure__trigger:hover::after,
.nav-disclosure__trigger[aria-expanded="true"]::after {
  width: 100%;
}

/* One disclosure inside the primary navigation; ordinary links retain native keyboard behavior. */
.nav-disclosure__trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-inline: 0;
  background: transparent;
}

.nav-disclosure__trigger > svg {
  width: 14px;
  height: 14px;
  transition: transform 200ms ease;
}

.nav-disclosure__trigger[aria-expanded="true"] { color: var(--brand); }
.nav-disclosure__trigger[aria-expanded="true"] > svg,
.mobile-departments__toggle[aria-expanded="true"] > svg { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline: 0;
  width: min(1120px, calc(100% - 64px));
  max-height: calc(var(--nav-available-height, 75vh) - 24px);
  margin-inline: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(150, 0, 4, 0.12);
  border-top: 3px solid var(--brand);
  border-radius: 24px;
  background: var(--paper-light);
  box-shadow: 0 28px 70px rgba(21, 25, 22, 0.18), 0 4px 10px rgba(21, 25, 22, 0.04);
  animation: mega-menu-enter 200ms var(--ease-out) both;
}

.mega-menu__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  padding: 28px;
}

.mega-menu__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.mega-menu__eyebrow {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
}

.mega-menu__heading h2 { margin: 0; font-size: 1.7rem; font-weight: 800; }
.mega-menu__heading h2 span { color: var(--brand); }

.mega-menu__all {
  min-height: 44px;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 0.79rem;
  font-weight: 700;
}

.mega-menu__all svg { width: 17px; height: 17px; }
.mega-menu__all:hover { text-decoration: underline; text-underline-offset: 5px; }

.mega-menu__departments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.department-link {
  min-height: 102px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.department-link:hover,
.department-link:focus-visible {
  border-color: rgba(150, 0, 4, 0.27);
  background: #fbf4f1;
  box-shadow: 0 5px 15px rgba(150, 0, 4, 0.045);
}

.department-link__icon {
  width: 42px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand);
  background: var(--paper);
}

.department-link__icon svg { width: 23px; height: 23px; }
.department-link__copy { min-width: 0; }
.department-link__copy strong { display: block; font-size: 0.9rem; font-weight: 700; }
.department-link__copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 0.75rem; line-height: 1.9; }
.department-link__arrow { width: 15px; height: 15px; flex-shrink: 0; margin-inline-start: auto; color: var(--muted); }
.department-link:hover .department-link__arrow { color: var(--brand); }

.mega-menu__guide {
  overflow: hidden;
  align-self: stretch;
  border-radius: 17px;
  color: #fff;
  background: var(--ink);
}

.mega-menu__guide-art { position: relative; height: 148px; overflow: hidden; }
.mega-menu__guide-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(transparent 35%, var(--ink)); }
.mega-menu__guide-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.mega-menu__guide-art span {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ede4d4;
  font-size: 0.71rem;
}
.mega-menu__guide-art span svg { width: 17px; height: 17px; }
.mega-menu__guide-copy { padding: 15px 20px 20px; }
.mega-menu__guide h3 { margin-bottom: 10px; font-size: 1.03rem; line-height: 1.6; }
.mega-menu__guide p { margin-bottom: 12px; color: #c5c9c3; font-size: 0.77rem; line-height: 1.95; }
.mega-menu__guide a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.17);
  padding-top: 10px;
  font-size: 0.79rem;
  font-weight: 700;
}
.mega-menu__guide a:hover { color: #f8bfb7; }
.mega-menu__guide a:focus-visible { outline-color: #fff; }

.mega-menu__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 28px;
  border-top: 1px solid var(--line);
  background: #eee9df;
  font-size: 0.73rem;
}
.mega-menu__footer p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.mega-menu__footer > div { display: flex; align-items: center; gap: 26px; }
.mega-menu__footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.mega-menu__footer a:hover { color: var(--brand); }
.mega-menu__footer svg { width: 16px; height: 16px; }

.nav-backdrop {
  position: fixed;
  z-index: 89;
  inset: var(--nav-header-bottom, var(--header-height)) 0 0;
  background: rgba(21, 25, 22, 0.22);
  animation: nav-backdrop-enter 200ms ease both;
}

.nav-disclosure [hidden],
.mobile-departments [hidden],
.nav-backdrop[hidden] { display: none; }

@keyframes mega-menu-enter { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nav-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.header-search,
.menu-toggle {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition:
    color 200ms ease,
    background 200ms ease;
}

.header-search:hover,
.menu-toggle:hover {
  color: #fff;
  background: var(--ink);
}

.header-search svg,
.menu-toggle svg {
  width: 19px;
  height: 19px;
}

.site-search-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: clamp(16px, 12vh, 120px) auto auto;
  padding: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 0 28px 80px rgba(21, 25, 22, .28);
}
.site-search-dialog::backdrop { background: rgba(21, 25, 22, .48); backdrop-filter: blur(4px); }
.site-search-dialog__header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.site-search-dialog__icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px; color: var(--brand); background: var(--surface-warm); }
.site-search-dialog h2 { margin: 0; font-size: 1.25rem; line-height: 1.6; }
.site-search-dialog__close { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; margin-inline-start: auto; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.site-search-dialog__close:hover { color: var(--brand); background: var(--surface-warm); }
.site-search-dialog__close svg { width: 20px; height: 20px; }
.site-search-dialog > p { color: var(--muted); font-size: .88rem; }
.site-search-dialog__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.site-search-dialog__form input { width: 100%; min-width: 0; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #fff; font-size: 16px; }
.site-search-dialog__form input:focus { border-color: var(--brand); }
.site-search-dialog__form .button { border-radius: 14px; }
.site-search-dialog .site-search-dialog__hint { margin: 16px 0 0; font-size: .75rem; }

@media (max-width: 540px) {
  .site-search-dialog { margin-top: 16px; padding: 20px; border-radius: 20px; }
  .site-search-dialog__header { gap: 8px; }
  .site-search-dialog__icon { display: none; }
  .site-search-dialog h2 { font-size: 1.05rem; }
  .site-search-dialog__form { grid-template-columns: 1fr; }
}

.login-link {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-inline: 10px;
  font-size: 0.86rem;
  font-weight: 700;
}

.login-link svg {
  width: 18px;
  height: 18px;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.section {
  position: relative;
  padding-block: 124px;
  overflow-wrap: anywhere;
}

/* Editable copy must be able to shrink inside its grid or flex column. */
:is(.section, .final-cta, .site-footer) :is(
  .container, .section-heading, .program-grid, .program-card__meta,
  .program-card__footer, .path-options, .path-option, .path-result,
  .clarity-card__head, .summary-course, .summary-lines > div,
  .payment-choices, .payment-choice, .journey-steps, .workspace-grid,
  .workspace-card, .stats, .outcome-grid, .accordion-item button,
  .final-cta__inner, .final-cta__actions, .footer__main, .footer__bottom,
  .footer__contact
) > * {
  min-width: 0;
}

.section .button,
.final-cta .button {
  max-width: 100%;
}

:is(.section, .final-cta, .site-footer) .button > svg {
  flex-shrink: 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-kicker::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section-kicker--light {
  color: #e99587;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 54px;
}

.section-heading h2,
.clarity__content h2,
.pathfinder__intro h2,
.faq__intro h2,
.ecosystem__header h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4.3vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.section-heading h2 span,
.clarity__content h2 span,
.pathfinder__intro h2 span,
.faq__intro h2 span,
.ecosystem__header h2 span {
  color: var(--brand);
  font-weight: 800;
}

.section-heading > p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2;
}

.section-heading--center {
  max-width: 980px;
  margin-inline: auto;
  grid-template-columns: 1fr;
  gap: 18px;
  text-align: center;
}

.section-heading--center > p {
  max-width: 650px;
  margin-inline: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  padding: 16px 0 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(150, 0, 4, 0.07), transparent 30%),
    linear-gradient(145deg, var(--paper-light) 0%, var(--paper) 66%, #eae3d7 100%);
}

.hero__blueprint {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(21, 25, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 25, 22, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to left, #000 0%, transparent 66%);
}

.hero__blueprint::before,
.hero__blueprint::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(150, 0, 4, 0.13);
  border-radius: 50%;
}

.hero__blueprint::before {
  width: 430px;
  height: 430px;
  top: 9%;
  right: -210px;
}

.hero__blueprint::after {
  width: 270px;
  height: 270px;
  top: 19%;
  right: -130px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(52px, 6vw, 96px);
}

.hero__copy {
  padding-block: 8px 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: #535a54;
  font-size: 0.8rem;
  font-weight: 700;
}

.eyebrow__line {
  width: 29px;
  height: 2px;
  background: var(--brand);
}

.hero :is(h1, .hero__title) {
  max-width: 720px;
  margin-bottom: 25px;
  font-size: clamp(3.2rem, 6.25vw, 6.55rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.09;
}

.hero__title-dark,
.hero__title-accent {
  display: block;
  overflow-wrap: anywhere;
}

.hero__title-dark { color: var(--ink); font-weight: 500; }
.hero__title-accent {
  color: var(--brand);
  font-weight: 800;
}

.hero__lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: #555d57;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 2;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-bottom: 31px;
}

.hero__visual {
  position: relative;
  align-self: start;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding-bottom: 0;
}

.hero-media {
  position: relative;
  width: 100%;
  /* Fit the frame below measured page chrome, including the mobile dock. */
  height: max(180px, min(var(--hero-media-cap, 640px), calc(100svh - var(--hero-media-top, 190px) - var(--mobile-navigation-height, 0px) - 16px)));
  min-height: 0;
  overflow: hidden;
  background: #2d2924;
  border-radius: 7px 7px 90px 7px;
  box-shadow: var(--shadow-lg);
}

.hero-media::before {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  width: 76px;
  height: 76px;
  content: "";
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-image-position, center);
  transform: scale(1.015);
  transition: transform 1.2s var(--ease-out);
}

.hero__visual:hover .hero-media img {
  transform: scale(1.045);
}

.hero-media__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(12, 11, 9, 0.78), transparent 42%),
    linear-gradient(to right, rgba(12, 11, 9, 0.14), transparent 36%);
}

.hero-media__caption {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  color: #fff;
  max-width: calc(100% - 64px);
  overflow-wrap: anywhere;
}

.hero-media__caption strong {
  margin-top: 8px;
  font-size: 1.25rem;
}

.live-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.74rem;
}

.live-mark i {
  width: 7px;
  height: 7px;
  background: #ef7560;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(239, 117, 96, 0.2);
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.91);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(15px);
  max-width: min(360px, 82%);
  overflow-wrap: anywhere;
}

.hero-media__image,
.hero-media__image picture { display: block; width: 100%; height: 100%; }
.hero-media::before { pointer-events: none; }
.hero-media[data-hero-frame="false"]::before { display: none; }
.hero-media__image:focus-visible { outline: 3px solid #fff; outline-offset: -7px; }
.hero-media__caption:focus-visible { outline-color: #fff; }
.hero-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-image-position, center);
  opacity: 0;
  pointer-events: none;
}
.hero-media.is-video-ready .hero-media__video { opacity: 1; }
.hero-video-controls {
  position: absolute;
  z-index: 3;
  top: 112px;
  left: 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  max-width: calc(100% - 44px);
}
.hero-video-controls :is(button, a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  background: rgba(22, 26, 25, 0.88);
  color: #fff;
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.hero-video-controls :is(button, a):hover { background: var(--ink); }
.hero-video-controls :is(button, a):focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero-video-controls svg { width: 17px; height: 17px; flex: 0 0 17px; pointer-events: none; }
.hero-video-controls__status {
  position: absolute;
  z-index: 3;
  inset-inline: 24px;
  top: 278px;
  width: fit-content;
  max-width: calc(100% - 48px);
  border-radius: 8px;
  color: #fff;
  background: rgba(22, 26, 25, 0.9);
  padding: 6px 10px;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}
.hero-video-controls__status:empty { display: none; }
.hero__title-link { display: block; }
.hero .hero-content-link:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.hero__highlight-item { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; min-height: 44px; }
.hero__item-text { overflow-wrap: anywhere; }
.hero .audience-rail[hidden], .hero__blueprint[hidden] { display: none; }
[data-hero-floating-animation="false"] .floating-card { animation: none; }
.hero-carousel__dots { flex-wrap: wrap; }

.floating-card small,
.floating-card strong {
  display: block;
}

.floating-card small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.65rem;
}

.floating-card strong {
  font-size: 0.79rem;
}

.floating-card__icon {
  width: 45px;
  height: 45px;
  display: grid;
  flex: 0 0 45px;
  place-items: center;
  margin-left: 11px;
  color: #fff;
  background: var(--brand);
  border-radius: 13px;
}

.floating-card__icon svg {
  width: 22px;
  height: 22px;
}

.floating-card--route {
  top: 24px;
  right: -34px;
  animation: float-card 5.4s ease-in-out infinite;
}

.floating-card--class {
  bottom: 28px;
  left: -38px;
  gap: 18px;
  padding-right: 20px;
  animation: float-card 6.2s ease-in-out 700ms infinite reverse;
}

.floating-card__arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
}

/* Each slide contains the complete text/image pair, including floating cards. */
.hero-carousel__viewport {
  display: grid;
  overflow: hidden;
  overflow: clip;
  padding-block: 12px 40px;
  margin-block: -12px -40px;
  touch-action: pan-y pinch-zoom;
}

.hero-slide { min-width: 0; }
.hero-slide[hidden], [data-hero-controls][hidden] { display: none; }
.hero-carousel.is-ready .hero-slide {
  display: grid;
  grid-area: 1 / 1;
  align-self: stretch;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(var(--hero-shift, 8%));
  transition: transform 540ms var(--ease-out), opacity 360ms ease;
}
.hero-carousel.is-ready .hero-slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.hero-carousel.is-ready .hero-slide.is-leaving {
  visibility: visible;
  opacity: 0;
  transform: translateX(calc(-1 * var(--hero-shift, 8%)));
}
.hero-carousel.is-ready .hero-slide .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.hero-slide:not(.is-active) .floating-card { animation-play-state: paused; }

.hero__highlights {
  width: min(100%, 650px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0;
  padding: 10px 18px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.hero__highlights li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.hero__highlights svg { width: 20px; height: 20px; flex: none; color: var(--brand); }

.hero-carousel__controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block: 8px 26px;
  padding-block: 15px;
}
.hero-carousel__progress {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(150, 0, 4, 0.12);
  pointer-events: none;
}
.hero-carousel__progress > span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(to left, var(--brand), var(--brand-bright));
  transform: scaleX(0);
  transform-origin: right center;
}
.hero-carousel__caption { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 0.76rem; }
.hero-carousel__caption bdi { color: var(--ink); font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-carousel__navigation, .hero-carousel__dots { display: flex; align-items: center; gap: 8px; }
.hero-carousel__controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper-light); color: var(--ink); border-radius: 50%; cursor: pointer; }
.hero-carousel__controls button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.hero-carousel__controls button:hover { border-color: var(--brand); color: var(--brand); }
.hero-carousel__controls svg { width: 19px; height: 19px; pointer-events: none; }
.hero-carousel__arrow--prev svg { transform: rotate(180deg); }
.hero-carousel__dots { gap: 0; }
.hero-carousel__dots button { border-color: transparent; background: transparent; }
.hero-carousel__dots span { width: 7px; height: 7px; border: 1px solid var(--muted); border-radius: 8px; transition: width 180ms ease; }
.hero-carousel__dots [aria-current="true"] span { width: 24px; border-color: var(--brand); background: var(--brand); }
.hero-carousel__controls .hero-carousel__toggle { gap: 7px; width: auto; min-width: 94px; padding-inline: 12px; border-radius: 24px; font-size: 0.75rem; }

/* A second, compact control group above the media; bottom controls stay intact. */
.hero-carousel__top-controls { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.hero-carousel__top-controls .hero-carousel__navigation {
  gap: 5px; padding: 6px; border: 1px solid rgba(150, 0, 4, .12); border-radius: 999px;
  background: var(--paper-light); box-shadow: 0 4px 16px rgba(50, 25, 16, .05);
}
.hero-carousel__top-controls button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-width: 88px; min-height: 44px; padding: 9px 16px; border: 1px solid transparent; border-radius: 999px;
  background: var(--brand); color: #fff; cursor: pointer; font-size: .8rem; font-weight: 700;
  transition: background 160ms ease, box-shadow 160ms ease;
}
.hero-carousel__top-controls button:hover { background: var(--brand-deep); box-shadow: 0 3px 9px rgba(150, 0, 4, .16); }
.hero-carousel__top-controls .hero-carousel__arrow--prev { background: transparent; color: var(--ink-soft); }
.hero-carousel__top-controls .hero-carousel__arrow--prev:hover { background: var(--surface-warm); box-shadow: none; }
.hero-carousel__top-controls button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.hero-carousel__top-controls button:active { box-shadow: inset 0 2px 4px rgba(0, 0, 0, .14); }
.hero-carousel__top-controls svg { width: 18px; height: 18px; flex: none; pointer-events: none; }
.hero-carousel__top-counter { min-width: 54px; padding-inline: 7px; color: var(--muted); text-align: center; font-size: .78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.audience-rail {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  margin-top: 3px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 50px rgba(31, 25, 19, 0.06);
  backdrop-filter: blur(18px);
}

.audience-card {
  position: relative;
  min-height: 142px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 26px 28px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  transition:
    color 280ms ease,
    background 280ms ease;
}

.audience-card:last-child {
  border-left: 0;
}

.audience-card::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  content: "";
  background: var(--brand);
  transition: width 300ms var(--ease-out);
}

.audience-card:hover::before {
  width: 100%;
}

.audience-card--featured {
  color: #fff;
  background: var(--ink);
  border-radius: 20px 20px 0 0;
}

.audience-card--featured::before {
  background: #d6494e;
}

.audience-card__index {
  position: absolute;
  top: 12px;
  left: 14px;
  color: #687069;
  font-family: Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.audience-card--featured .audience-card__index {
  color: rgba(255, 255, 255, 0.64);
}

.audience-card__icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.audience-card--featured .audience-card__icon {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.19);
  background: rgba(255, 255, 255, 0.07);
}

.audience-card__icon svg {
  width: 23px;
  height: 23px;
}

.audience-card__content {
  display: flex;
  flex-direction: column;
}

.audience-card__content small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.67rem;
}

.audience-card--featured .audience-card__content small,
.audience-card--featured .audience-card__content em {
  color: rgba(255, 255, 255, 0.62);
}

.audience-card__content strong {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.audience-card__content em {
  color: #818781;
  font-size: 0.69rem;
  font-style: normal;
}

.audience-card__arrow {
  width: 20px;
  height: 20px;
  color: #8b918c;
  transition: transform 260ms var(--ease-out);
}

.audience-card:hover .audience-card__arrow {
  transform: translateX(-5px);
}

.programs {
  background: var(--paper-light);
}

.filter-row {
  display: flex;
  gap: 9px;
  margin-bottom: 30px;
  padding-bottom: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  min-height: 43px;
  flex: 0 0 auto;
  padding: 9px 18px;
  color: #5e655f;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.program-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 26px;
  transition:
    transform 320ms var(--ease-out),
    box-shadow 320ms ease,
    opacity 220ms ease;
}

.program-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.program-card[hidden],
.program-card.is-filtered {
  display: none;
}

.program-card--large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.program-art {
  position: relative;
  min-height: 265px;
  overflow: hidden;
  color: #e7e2d9;
  background: var(--ink);
}

.program-card--large .program-art {
  min-height: 100%;
  order: 2;
}

.program-art::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.program-art > svg {
  position: absolute;
  right: 5%;
  bottom: 2%;
  width: 90%;
  height: 88%;
  color: currentColor;
  opacity: 0.72;
  stroke-width: 1.15;
  transition:
    transform 650ms var(--ease-out),
    opacity 300ms ease;
}

.program-card:hover .program-art > svg {
  opacity: 0.95;
  transform: scale(1.035) translateY(-4px);
}

.program-art__number {
  position: absolute;
  z-index: 2;
  top: 19px;
  right: 21px;
  font-family: Arial, sans-serif;
  font-size: 0.61rem;
  letter-spacing: 0.12em;
}

.program-art__tag {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-family: Arial, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
}

.program-art--architecture {
  background: #1c2421;
}

.program-art--bim {
  color: #d9e0f9;
  background: #263a84;
}

.program-art--interior {
  color: #f0ddd1;
  background: #8c3a2f;
}

.program-art--site {
  color: #ebe3ca;
  background: #5a5645;
}

.program-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 25px 27px 24px;
}

.program-card--large .program-card__body {
  min-height: 390px;
  justify-content: center;
  padding: 38px 36px;
}

.program-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  color: #656d67;
  font-size: 0.66rem;
}

.program-card__meta span:first-child {
  color: var(--brand);
  font-weight: 800;
}

.program-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.program-card--large h3 {
  font-size: 1.8rem;
}

.program-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.9;
}

.program-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
}

.program-card__skills {
  color: #626a64;
  font-size: 0.67rem;
}

.program-card__footer a {
  width: 43px;
  height: 43px;
  display: grid;
  flex: 0 0 43px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  transition:
    color 200ms ease,
    background 200ms ease,
    transform 250ms var(--ease-out);
}

.program-card:hover .program-card__footer a {
  background: var(--brand);
  transform: rotate(-4deg);
}

.program-card__footer svg {
  width: 18px;
  height: 18px;
}

.search-status {
  min-height: 30px;
  margin: 18px 0 0;
  color: var(--brand);
  font-size: 0.8rem;
  text-align: center;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.pathfinder {
  isolation: isolate;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.pathfinder::before {
  position: absolute;
  z-index: -1;
  top: -190px;
  right: -100px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.018),
    0 0 0 180px rgba(255, 255, 255, 0.012);
}

.pathfinder__grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to right, #000, transparent 70%);
}

.pathfinder__layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(55px, 8vw, 125px);
}

.pathfinder__intro h2 span {
  color: #e77a68;
}

.pathfinder__intro > p {
  max-width: 430px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 2;
}

.pathfinder__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 43px;
  color: rgba(255, 255, 255, 0.28);
  font-family: Arial, sans-serif;
  font-size: 0.62rem;
}

.pathfinder__steps span.is-active {
  color: #fff;
}

.pathfinder__steps i {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.pathfinder__steps i:first-of-type {
  background: #e77a68;
}

.pathfinder__panel {
  position: relative;
  padding: clamp(27px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.pathfinder__question-number {
  display: inline-block;
  margin-bottom: 10px;
  color: #e99587;
  font-size: 0.67rem;
  font-weight: 700;
}

.pathfinder__panel > h3 {
  margin-bottom: 24px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.path-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.path-option {
  position: relative;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.08);
  border-radius: 17px;
  text-align: right;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    transform 250ms var(--ease-out);
}

.path-option:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
}

.path-option.is-selected {
  color: var(--ink);
  border-color: #fff;
  background: #fff;
}

.path-option > svg {
  width: 27px;
  height: 27px;
  margin-bottom: 20px;
  color: #e77a68;
}

.path-option span {
  display: flex;
  flex-direction: column;
}

.path-option strong {
  margin-bottom: 6px;
  font-size: 0.83rem;
}

.path-option small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.65rem;
  line-height: 1.7;
}

.path-option.is-selected small {
  color: var(--muted);
}

.path-option > i {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 22px;
  height: 22px;
  display: none;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
}

.path-option.is-selected > i {
  display: grid;
}

.path-option > i svg {
  width: 13px;
  height: 13px;
}

.path-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
  margin-top: 13px;
  padding: 22px;
  background: rgba(150, 0, 4, 0.28);
  border-radius: 17px;
}

.path-result small,
.path-result strong {
  display: block;
}

.path-result small {
  margin-bottom: 4px;
  color: #e99587;
  font-size: 0.65rem;
}

.path-result strong {
  font-size: 1rem;
}

.path-result p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.7rem;
  line-height: 1.7;
}

.path-result .button {
  min-width: 165px;
  font-size: 0.74rem;
}

.clarity {
  background: var(--paper);
}

.clarity__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: clamp(70px, 9vw, 145px);
}

.clarity__content h2 span {
  color: var(--brand);
}

.clarity__content > p {
  margin: 27px 0 30px;
  color: var(--muted);
  line-height: 2.05;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #404641;
  font-size: 0.84rem;
  font-weight: 600;
}

.check-list li > span {
  width: 27px;
  height: 27px;
  display: grid;
  flex: 0 0 27px;
  place-items: center;
  color: var(--green);
  background: rgba(29, 118, 80, 0.09);
  border-radius: 50%;
}

.check-list svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.1;
}

.clarity-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.clarity-card::before {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -18px;
  width: 100%;
  height: 100%;
  content: "";
  border: 1px solid rgba(150, 0, 4, 0.15);
  border-radius: 30px;
}

.clarity-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.clarity-card__head small,
.clarity-card__head strong {
  display: block;
}

.clarity-card__head small {
  color: var(--muted);
  font-size: 0.65rem;
}

.clarity-card__head strong {
  margin-top: 2px;
  font-size: 0.95rem;
}

.clarity-card__head > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: var(--green);
  background: rgba(29, 118, 80, 0.08);
  border-radius: 100px;
  font-size: 0.6rem;
  font-weight: 700;
}

.clarity-card__head svg {
  width: 14px;
  height: 14px;
}

.summary-course {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block: 20px;
  padding: 15px;
  background: var(--paper-light);
  border-radius: 16px;
}

.summary-course__art {
  width: 52px;
  height: 52px;
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 13px;
}

.summary-course__art svg {
  width: 25px;
  height: 25px;
}

.summary-course div {
  display: flex;
  flex-direction: column;
}

.summary-course small,
.summary-course em {
  color: var(--muted);
  font-size: 0.62rem;
  font-style: normal;
}

.summary-course strong {
  margin-block: 2px;
  font-size: 0.82rem;
}

.summary-lines {
  display: grid;
  gap: 4px;
}

.summary-lines > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.summary-lines strong {
  color: var(--ink);
  font-size: 0.72rem;
}

.summary-lines strong.summary-lines__positive {
  color: var(--green);
}

.summary-lines__total {
  margin-top: 4px;
  padding-top: 15px !important;
  border-top: 1px dashed var(--line);
  color: var(--ink) !important;
  font-weight: 700;
}

.payment-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 17px;
}

.payment-choice {
  position: relative;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  padding-inline-end: 32px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  text-align: right;
  transition:
    border-color 200ms ease,
    background 200ms ease;
}

.payment-choice.is-active {
  border-color: rgba(150, 0, 4, 0.32);
  background: rgba(150, 0, 4, 0.035);
}

.payment-choice > span:first-child {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(150, 0, 4, 0.07);
  border-radius: 10px;
}

.payment-choice > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.payment-choice strong {
  font-size: 0.75rem;
}

.payment-choice small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.58rem;
}

.payment-choice > i {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 18px;
  height: 18px;
  display: none;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
}

.payment-choice.is-active > i {
  display: grid;
}

.payment-choice > i svg {
  width: 11px;
  height: 11px;
}

.clarity-card__note {
  display: flex;
  gap: 9px;
  margin-top: 17px;
  padding: 11px 13px;
  color: #687069;
  background: #f2f1ed;
  border-radius: 10px;
  font-size: 0.59rem;
  line-height: 1.75;
}

.clarity-card__note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  color: var(--green);
}

.journey {
  background: var(--surface);
}

.journey-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 0;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.journey-steps::before {
  position: absolute;
  top: 42px;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
  background: repeating-linear-gradient(to left, var(--line) 0 9px, transparent 9px 17px);
}

.journey-step {
  position: relative;
  padding-inline: 17px;
  text-align: center;
}

.journey-step__number {
  position: absolute;
  top: -21px;
  right: calc(50% + 28px);
  color: #69716b;
  font-family: Arial, sans-serif;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.journey-step__icon {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin: 0 auto 21px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 8px #fff;
  transition:
    color 250ms ease,
    border-color 250ms ease,
    background 250ms ease,
    transform 300ms var(--ease-out);
}

.journey-step:hover .journey-step__icon {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
  transform: translateY(-5px);
}

.journey-step__icon svg {
  width: 28px;
  height: 28px;
}

.journey-step h3 {
  margin-bottom: 9px;
  font-size: 0.94rem;
}

.journey-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.8;
}

.ecosystem {
  isolation: isolate;
  color: #fff;
  background: #111613;
  overflow: hidden;
  overflow: clip;
}

.ecosystem::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.ecosystem__orb {
  position: absolute;
  z-index: -1;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.17;
}

.ecosystem__orb--one {
  top: -160px;
  right: -80px;
  background: var(--brand-bright);
}

.ecosystem__orb--two {
  bottom: -220px;
  left: -80px;
  background: var(--blue);
}

.ecosystem__header {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-bottom: 58px;
}

.ecosystem__header h2 {
  /* Keep wrapped Persian lines clear when editors extend the heading. */
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ecosystem__header h2 span {
  color: #e77a68;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.workspace-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 30px;
  min-height: 520px;
  padding: 34px 0 0 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 28px;
  backdrop-filter: blur(12px);
}

.workspace-card--teacher {
  background: rgba(150, 0, 4, 0.14);
}

.workspace-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 34px 34px 0;
}

.workspace-card__label {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  font-size: 0.65rem;
}

.workspace-card__label svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #e99587;
}

.workspace-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  font-weight: 700;
}

.workspace-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  line-height: 1.95;
}

.workspace-card ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 25px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
}

.workspace-card li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.workspace-card li svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #e99587;
}

.workspace-card__link {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.73rem;
  font-weight: 700;
}

.workspace-card__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dashboard-mock {
  position: relative;
  align-self: end;
  min-width: 350px;
  height: 385px;
  overflow: hidden;
  color: var(--ink);
  background: #f6f4ef;
  border: 6px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  border-radius: 19px 19px 0 0;
  box-shadow: -20px -5px 70px rgba(0, 0, 0, 0.22);
  transform: perspective(1000px) rotateY(5deg) translateX(-8px);
  transform-origin: bottom left;
}

.workspace-card--teacher .dashboard-mock {
  transform: perspective(1000px) rotateY(5deg) translateX(-8px);
}

.dashboard-mock__top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-inline: 14px;
  border-bottom: 1px solid rgba(21, 25, 22, 0.08);
  background: #fff;
}

.dashboard-mock__top i,
.dashboard-mock__top b {
  width: 7px;
  height: 7px;
  background: #d6d4ce;
  border-radius: 50%;
}

.dashboard-mock__top span {
  width: 60px;
  height: 7px;
  margin-right: auto;
  background: #ddd9d1;
  border-radius: 100px;
}

.dashboard-mock__top b {
  background: var(--brand);
}

.dashboard-mock__body {
  height: calc(100% - 42px);
  display: grid;
  grid-template-columns: 58px 1fr;
  direction: ltr;
}

.dashboard-mock__body aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 21px;
  background: #1d2521;
}

.dashboard-mock__body aside span {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
}

.dashboard-mock__body aside span:first-child {
  background: var(--brand);
  border-color: var(--brand);
}

.dashboard-mock__body main,
.dashboard-mock__content {
  min-width: 0;
  padding: 20px;
}

.mock-welcome small,
.mock-welcome strong {
  display: block;
  height: 7px;
  background: #c7c8c2;
  border-radius: 100px;
}

.mock-welcome small {
  width: 55px;
  margin-bottom: 8px;
}

.mock-welcome strong {
  width: 130px;
  height: 10px;
  background: #272e29;
}

.mock-next-class {
  display: flex;
  gap: 11px;
  margin-top: 23px;
  padding: 15px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 8px 25px rgba(21, 25, 22, 0.06);
}

.mock-next-class > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 10px;
}

.mock-next-class div {
  flex: 1;
}

.mock-next-class small,
.mock-next-class strong,
.mock-next-class i {
  display: block;
  height: 6px;
  background: #d7d8d3;
  border-radius: 100px;
}

.mock-next-class small {
  width: 45px;
}

.mock-next-class strong {
  width: 90%;
  height: 9px;
  margin-block: 7px;
  background: #3f4641;
}

.mock-next-class i {
  width: 65%;
}

.mock-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 13px;
}

.mock-row span {
  height: 84px;
  background: #e7e4dd;
  border-radius: 11px;
}

.mock-row span:nth-child(2) {
  background: #ded0c8;
}

.mock-chart {
  height: 132px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border-radius: 13px;
}

.mock-chart i {
  flex: 1;
  height: 35%;
  background: #d7d5ce;
  border-radius: 5px 5px 0 0;
}

.mock-chart i:nth-child(2) { height: 66%; }
.mock-chart i:nth-child(3) { height: 48%; }
.mock-chart i:nth-child(4) { height: 84%; background: var(--brand); }
.mock-chart i:nth-child(5) { height: 70%; }

.mock-person {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 11px;
  background: #fff;
  border-radius: 11px;
}

.mock-person > span {
  width: 32px;
  height: 32px;
  background: #d8d1c5;
  border-radius: 50%;
}

.mock-person strong,
.mock-person small {
  display: block;
  height: 6px;
  background: #555b56;
  border-radius: 100px;
}

.mock-person small {
  width: 60%;
  margin-top: 6px;
  background: #d6d7d2;
}

.mock-person b {
  width: 25px;
  height: 9px;
  background: rgba(29, 118, 80, 0.16);
  border-radius: 100px;
}

.legacy {
  padding-block: 110px;
  background: var(--brand);
  color: #fff;
}

.legacy::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(45deg, transparent 48%, #fff 49% 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, #fff 49% 51%, transparent 52%);
  background-size: 54px 54px;
  mask-image: linear-gradient(to left, #000, transparent 62%);
}

.legacy__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 90px;
}

.legacy__since {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  font-size: 0.7rem;
}

.legacy__statement h2 {
  margin-bottom: 19px;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.legacy__statement h2 span {
  font-weight: 800;
}

.legacy__statement p {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}

.stats > div {
  padding: 25px 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.stats > div:last-child {
  border-left: 0;
}

.stats dt {
  margin-bottom: 6px;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
}

.stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.66rem;
}

.outcomes {
  background: var(--paper-light);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.outcome-card {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 27px;
  /* The illustration ends at 258px; reserve its space as copy grows. */
  padding-top: 290px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border-radius: 27px;
  transition: transform 320ms var(--ease-out);
}

.outcome-card:hover {
  transform: translateY(-6px);
}

.outcome-card--two {
  color: var(--ink);
  background: #d9d4c9;
}

.outcome-card--three {
  background: var(--brand);
}

.outcome-card__index {
  position: absolute;
  top: 22px;
  left: 23px;
  font-family: Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  opacity: 0.8;
}

.outcome-card__diagram {
  position: absolute;
  top: 68px;
  right: 12%;
  width: 76%;
  height: 190px;
}

.outcome-card__diagram:not(.outcome-card__diagram--cube):not(.outcome-card__diagram--lines) i {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.outcome-card__diagram i:nth-child(1) { inset: 30px 25px 0 0; transform: skewY(-18deg); }
.outcome-card__diagram i:nth-child(2) { inset: 0 65px 28px 35px; transform: skewY(14deg); }
.outcome-card__diagram i:nth-child(3) { width: 85px; height: 85px; top: 55px; left: 35px; border-color: rgba(217, 93, 67, 0.8) !important; }
.outcome-card__diagram i:nth-child(4) { width: 56px; height: 56px; bottom: 5px; right: 2px; }

.outcome-card__diagram--cube {
  display: grid;
  place-items: center;
}

.outcome-card__diagram--cube svg {
  width: 155px;
  height: 155px;
  color: var(--brand);
  stroke-width: 0.8;
}

.outcome-card__diagram--lines {
  display: grid;
  align-content: center;
  gap: 20px;
}

.outcome-card__diagram--lines span {
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transform-origin: right;
}

.outcome-card__diagram--lines span:nth-child(1) { width: 100%; transform: rotate(-13deg); }
.outcome-card__diagram--lines span:nth-child(2) { width: 72%; transform: rotate(21deg); }
.outcome-card__diagram--lines span:nth-child(3) { width: 86%; transform: rotate(-4deg); }

.outcome-card small {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
}

.outcome-card--two small {
  color: rgba(21, 25, 22, 0.76);
}

.outcome-card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.outcome-card p {
  padding-inline-end: 36px;
  max-width: 300px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
}

.outcome-card--two p {
  color: rgba(21, 25, 22, 0.76);
}

.outcome-card__arrow {
  position: absolute;
  bottom: 29px;
  left: 27px;
  width: 25px;
  height: 25px;
  opacity: 0.65;
  transition: transform 250ms var(--ease-out);
}

.outcome-card:hover .outcome-card__arrow {
  transform: translate(-4px, -4px);
}

/* CMS images use the established artwork frames and their existing proportions. */
.page-content-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

:is(.program-art, .outcome-card__diagram, .dashboard-mock) > .page-content-image,
.page-content-image-link {
  position: absolute;
  inset: 0;
}

.page-content-image-link {
  z-index: 1;
  display: block;
}

.page-content-image-link:focus-visible {
  outline-offset: -4px;
}

.page-outcome-link {
  display: block;
  min-width: 0;
}

.page-outcome-link:focus-visible {
  outline-color: currentColor;
}

.faq {
  background: var(--surface);
}

.faq__layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: clamp(60px, 9vw, 145px);
}

.faq__intro {
  position: sticky;
  top: var(--home-anchor-offset, 125px);
}

.faq__intro > p {
  margin: 25px 0 28px;
  color: var(--muted);
  line-height: 2;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item h3 {
  margin: 0;
}

.accordion-item button {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  background: transparent;
  font-weight: 700;
  text-align: right;
}

.accordion-item button > i {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 260ms var(--ease-out);
}

.accordion-item.is-open button > i {
  color: #fff;
  background: var(--brand);
  transform: rotate(180deg);
}

.accordion-item button svg {
  width: 16px;
  height: 16px;
}

.accordion-panel {
  padding: 0 0 22px 60px;
}

.accordion-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 2;
}

.final-cta {
  overflow-wrap: anywhere;
  position: relative;
  isolation: isolate;
  padding-block: 105px;
  overflow: hidden;
  color: #fff;
  background: var(--brand);
}

.final-cta__pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: radial-gradient(circle at 20% 50%, #000, transparent 53%);
}

.final-cta::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -150px;
  width: 430px;
  height: 430px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.035);
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.3vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
}

.final-cta__contact {
  display: flex;
  align-items: center;
  gap: 11px;
}

.final-cta__contact > svg {
  width: 24px;
  height: 24px;
}

.final-cta__contact span {
  display: flex;
  flex-direction: column;
}

.final-cta__contact small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.6rem;
}

.final-cta__contact strong {
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.site-footer {
  overflow-wrap: anywhere;
  padding: 78px 0 20px;
  color: rgba(255, 255, 255, 0.7);
  background: #0c100e;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 0.7fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  padding-bottom: 60px;
}

.brand--footer {
  max-width: 100%;
  color: #fff;
}

.brand--footer .brand__mark {
  border-color: rgba(255, 255, 255, 0.15);
}

.brand--footer .brand__copy small {
  color: rgba(255, 255, 255, 0.45);
}

.footer__brand > p {
  max-width: 380px;
  margin: 23px 0 25px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  line-height: 1.95;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__socials a {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.footer__socials a:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.footer__socials a.has-text-fallback {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 39px;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: .72rem;
  overflow-wrap: anywhere;
}

.footer__socials svg {
  width: 17px;
  height: 17px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__column h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 0.87rem;
}

.footer__column > a {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  transition: color 180ms ease;
}

.footer__column > a:hover {
  color: #fff;
}

.footer__contact p,
.footer__contact > a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
  line-height: 1.8;
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 3px;
  color: #d17264;
}

.footer__bottom {
  position: relative;
  min-height: 58px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.64rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer__bottom > div span {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.back-to-top {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  border-radius: 50%;
}

.back-to-top svg {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}

.mobile-bottom-nav {
  display: none;
}

.mobile-bottom-nav[hidden] { display: none !important; }

.toast {
  position: fixed;
  z-index: 1000;
  right: 50%;
  bottom: 25px;
  min-width: min(440px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  color: #fff;
  background: var(--ink);
  border-radius: 13px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 20px);
  transition:
    opacity 230ms ease,
    transform 280ms var(--ease-out);
  font-size: 0.76rem;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.toast svg {
  width: 18px;
  height: 18px;
  color: #e99587;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 800ms var(--ease-out);
}

.reveal--delay {
  transition-delay: 120ms;
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}
.reveal.is-anchor-revealed { transition: none; transform: none; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 1240px) {
  :root {
    --container: min(1160px, calc(100vw - 44px));
  }

  .header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand__copy small {
    display: none;
  }

  .desktop-nav {
    gap: 18px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    gap: 48px;
  }

  .floating-card--route {
    right: -15px;
  }

  .floating-card--class {
    left: -15px;
  }

  .workspace-card {
    grid-template-columns: 1fr;
    padding-left: 28px;
  }

  .dashboard-mock {
    width: 92%;
    min-width: 0;
    justify-self: end;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-height: 76px;
  }

  .desktop-nav,
  .header__actions > .button,
  .login-link {
    display: none;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: grid;
  }

  .menu-toggle__close {
    display: none;
  }

  .menu-open .menu-toggle__open {
    display: none;
  }

  .menu-open .menu-toggle__close {
    display: block;
  }

  .mobile-menu {
    position: absolute;
    z-index: 89;
    top: 100%;
    right: 0;
    left: 0;
    height: var(--nav-available-height, calc(100svh - var(--header-height)));
    display: block;
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper-light);
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 220ms ease,
      transform 260ms var(--ease-out),
      visibility 220ms;
  }

  .menu-open .mobile-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu__inner {
    padding-block: 18px calc(32px + env(safe-area-inset-bottom));
  }

  .mobile-departments { border-bottom: 1px solid var(--line); }
  .mobile-departments__toggle,
  .mobile-departments > a {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    background: transparent;
    font-weight: 700;
    text-align: start;
  }
  .mobile-departments__toggle > span { display: flex; align-items: center; gap: 10px; }
  .mobile-departments__toggle svg { width: 19px; height: 19px; flex-shrink: 0; transition: transform 180ms ease; }
  .mobile-departments__toggle[aria-expanded="true"] { color: var(--brand); }
  .mobile-departments__panel { padding: 0 12px 10px; margin-bottom: 12px; border-radius: 16px; background: #eee8dc; }
  .mobile-departments__panel ul { margin: 0; padding: 4px 0; list-style: none; }
  .mobile-departments__panel li + li { border-top: 1px solid rgba(21,25,22,.07); }
  .mobile-departments__panel a { min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 8px 4px; font-size: 0.86rem; font-weight: 600; }
  .mobile-departments__panel a:hover { color: var(--brand); }
  .mobile-departments__panel svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--brand); }
  .mobile-departments__panel .mobile-departments__all { justify-content: space-between; border-top: 1px solid var(--line); color: var(--brand); font-size: 0.8rem; }

  .mobile-menu__inner > a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
  }

  .mobile-menu__inner > a svg {
    width: 18px;
    height: 18px;
  }

  .mobile-menu__cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
  }

  .hero {
    min-height: auto;
    padding-top: 16px;
    --hero-media-cap: 540px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 760px;
    padding-bottom: 10px;
  }

  .hero :is(h1, .hero__title) {
    font-size: clamp(3.5rem, 10vw, 6.8rem);
  }

  .hero__visual {
    order: -1;
  }

  .hero-media img, .hero-media__video {
    object-position: var(--hero-image-tablet-position, center 58%);
  }

  .audience-rail {
    grid-template-columns: 1fr;
    margin-top: 25px;
    border-radius: 22px;
  }

  .audience-card,
  .audience-card:last-child {
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .audience-card:last-child {
    border-bottom: 0;
  }

  .audience-card--featured {
    border-radius: 20px 20px 0 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .program-grid {
    grid-template-columns: 1fr 1fr;
  }

  .program-card--large {
    grid-column: 1 / -1;
  }

  .pathfinder__layout,
  .clarity__layout,
  .faq__layout {
    grid-template-columns: 1fr;
  }

  .pathfinder__intro > p {
    max-width: 660px;
  }

  .clarity__content {
    max-width: 720px;
  }

  .clarity-card {
    max-width: 720px;
  }

  .journey-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 0;
  }

  .journey-steps::before {
    display: none;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .workspace-card {
    grid-template-columns: 0.75fr 1.25fr;
    min-height: 480px;
  }

  .legacy__layout,
  .final-cta__inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    gap: 45px;
  }

  .legacy__layout {
    display: grid;
  }

  .faq__intro {
    position: static;
    max-width: 650px;
  }

  .footer__main {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer__contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__contact h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --container: calc(100vw - 32px);
    --radius-lg: 24px;
  }

  html {
    scroll-padding-top: 88px;
  }

  body.has-mobile-navigation {
    --mobile-navigation-height: calc(69px + env(safe-area-inset-bottom, 0px));
    --page-action-safe-bottom: 0px;
    padding-bottom: var(--mobile-navigation-height);
  }

  .announcement p {
    padding-left: 30px;
    font-size: 0.67rem;
    line-height: 1.6;
  }

  .announcement p a {
    display: none;
  }

  .announcement__inner {
    justify-content: flex-start;
  }

  .announcement__close {
    left: 9px;
  }

  .brand__mark {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    border-radius: 10px;
  }

  .brand__copy strong {
    font-size: 0.82rem;
  }

  .section {
    padding-block: 84px;
  }

  .section-heading h2,
  .clarity__content h2,
  .pathfinder__intro h2,
  .faq__intro h2,
  .ecosystem__header h2 {
    font-size: clamp(2rem, 10.5vw, 3rem);
  }

  .hero {
    padding-top: 12px;
    --hero-media-cap: 430px;
  }

  .hero__grid {
    gap: 24px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.7rem;
  }

  .hero :is(h1, .hero__title) {
    margin-bottom: 19px;
    font-size: clamp(2.75rem, 14.2vw, 4.2rem);
    line-height: 1.13;
  }

  .hero__lead {
    font-size: 0.93rem;
    line-height: 1.95;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__highlights { padding: 8px 16px; gap: 12px; font-size: 0.78rem; }
  .hero-carousel__controls { flex-direction: column; gap: 10px; margin-top: 12px; }
  .hero-carousel__caption { justify-content: space-between; width: 100%; }
  .hero-carousel__navigation { gap: 4px; }
  .hero-carousel__controls .hero-carousel__toggle { min-width: 88px; padding-inline: 10px; }

  .hero__visual {
    order: -1;
  }

  .hero-carousel__top-controls { justify-content: center; margin-bottom: 12px; }
  .website-skeleton[data-layout="home"] .website-skeleton__media { order: -1; }

  .hero-media {
    border-radius: 6px 6px 54px 6px;
  }

  .hero-media img, .hero-media__video {
    object-position: var(--hero-image-mobile-position, 44% center);
  }

  .hero-media__caption {
    right: 21px;
    bottom: 22px;
  }

  .hero-media__caption strong {
    font-size: 1rem;
  }

  .floating-card--route {
    top: 22px;
    right: -6px;
  }

  .floating-card--class {
    bottom: 43px;
    left: -6px;
  }

  .floating-card {
    max-width: 245px;
    padding: 10px;
    border-radius: 13px;
  }

  .floating-card__icon {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
  }

  .floating-card strong {
    font-size: 0.68rem;
  }

  .floating-card small {
    font-size: 0.57rem;
  }

  .audience-card {
    min-height: 125px;
    gap: 13px;
    padding: 21px 18px;
  }

  .audience-card__content em {
    display: none;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading > p {
    font-size: 0.85rem;
  }

  .filter-row {
    margin-left: -16px;
    padding-left: 16px;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-card--large {
    display: block;
    grid-column: auto;
  }

  .program-card--large .program-art,
  .program-art {
    min-height: 240px;
  }

  .program-card--large .program-card__body,
  .program-card__body {
    min-height: 0;
    padding: 24px;
  }

  .program-card--large h3 {
    font-size: 1.35rem;
  }

  .pathfinder__layout {
    gap: 42px;
  }

  .pathfinder__steps {
    margin-top: 25px;
  }

  .pathfinder__panel {
    margin-inline: -5px;
    padding: 20px;
    border-radius: 22px;
  }

  .path-options {
    grid-template-columns: 1fr;
  }

  .path-option {
    min-height: 88px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 13px;
    padding-inline-end: 44px;
  }

  .path-option > svg {
    margin: 0;
  }

  .path-result {
    grid-template-columns: 1fr;
  }

  .path-result .button {
    width: 100%;
  }

  .clarity__layout {
    gap: 52px;
  }

  .clarity-card {
    padding: 18px;
    border-radius: 22px;
  }

  .clarity-card::before {
    display: none;
  }

  .clarity-card__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .payment-choices {
    grid-template-columns: 1fr;
  }

  .journey-steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 50px;
  }

  .journey-step {
    min-height: 128px;
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    column-gap: 17px;
    padding: 0 0 30px;
    text-align: right;
  }

  .journey-step:not(:last-child)::after {
    position: absolute;
    top: 62px;
    right: 31px;
    bottom: 0;
    width: 1px;
    content: "";
    background: repeating-linear-gradient(to bottom, var(--line) 0 7px, transparent 7px 13px);
  }

  .journey-step__number {
    top: -13px;
    right: 44px;
  }

  .journey-step__icon {
    width: 62px;
    height: 62px;
    grid-row: 1 / 3;
    margin: 0;
    box-shadow: 0 0 0 5px #fff;
  }

  .journey-step__icon svg {
    width: 22px;
    height: 22px;
  }

  .journey-step h3 {
    align-self: end;
    margin: 0 0 4px;
  }

  .journey-step p {
    align-self: start;
  }

  .workspace-card {
    grid-template-columns: 1fr;
    min-height: 640px;
    padding: 26px 0 0 22px;
  }

  .workspace-card__content {
    padding: 0 25px 0 3px;
  }

  .dashboard-mock {
    width: 94%;
    height: 330px;
    min-width: 0;
  }

  .legacy__layout {
    gap: 42px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stats > div,
  .stats > div:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .stats > div:last-child {
    border-bottom: 0;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .outcome-card {
    min-height: 410px;
  }

  .accordion-item button {
    min-height: 74px;
    font-size: 0.82rem;
  }

  .accordion-panel {
    padding-left: 0;
  }

  .final-cta {
    padding-block: 82px;
  }

  .final-cta__actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .final-cta__actions .button {
    width: 100%;
  }

  .final-cta__contact {
    justify-content: center;
  }

  .site-footer {
    padding-top: 62px;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__contact {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding-inline-end: 54px;
  }

  .back-to-top {
    position: absolute;
    inset-inline-end: 0;
    top: 17px;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 85;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: var(--mobile-navigation-height);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 5px calc(5px + env(safe-area-inset-right, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)) calc(5px + env(safe-area-inset-left, 0px));
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #111613;
    border-radius: 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 2px;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border-radius: 12px;
    font-size: 0.59rem;
  }

  .mobile-bottom-nav a.is-active {
    color: #fff;
    background: var(--brand);
  }

  .mobile-bottom-nav svg {
    width: 18px;
    height: 18px;
  }

  .toast {
    bottom: calc(14px + var(--mobile-navigation-height));
    font-size: 0.68rem;
  }
}

@media (max-width: 440px) {
  .brand__copy strong {
    font-size: 0.76rem;
  }

  .mobile-menu__cta {
    grid-template-columns: 1fr;
  }

  .hero :is(h1, .hero__title) {
    font-size: clamp(2.5rem, 13vw, 3.4rem);
  }

  .floating-card--class {
    display: none;
  }

  .hero { --hero-media-cap: 390px; }

  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__brand,
  .footer__contact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-carousel.is-ready .hero-slide,
  .hero-carousel.is-ready .hero-slide.is-active,
  .hero-carousel.is-ready .hero-slide.is-leaving { transform: none; transition: none; }
}

@media print {
  .announcement,
  .site-header,
  .mobile-bottom-nav,
  .toast,
  .hero-carousel__controls,
  .hero-carousel__top-controls,
  .hero__actions,
  .filter-row,
  .final-cta,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  body.has-mobile-navigation { --mobile-navigation-height: 0px; padding-bottom: 0; }

  .section,
  .hero {
    padding-block: 35px;
    break-inside: avoid;
  }
}

/* A disabled configurable section must not be revived by its layout display rule. */
[data-page-section][hidden] { display: none !important; }

/* Shared footer: full navigation on desktop, compact sections on small screens. */
.site-footer .footer__column-toggle { display:none; }
.site-footer .footer__links { display:flex; flex-direction:column; align-items:flex-start; gap:10px; min-width:0; }
.site-footer .footer__links[hidden] { display:none !important; }
.site-footer .footer__links > a { color:rgba(255,255,255,.64); font-size:.72rem; transition:color 180ms ease; }
.site-footer .footer__links > a:hover { color:#fff; }
.site-footer .footer__column-toggle:focus-visible, .site-footer a:focus-visible { outline:2px solid #d17264; outline-offset:4px; border-radius:4px; }
@media(max-width:640px){
  .site-footer { padding-block:30px calc(24px + env(safe-area-inset-bottom)); }
  body.has-mobile-navigation .site-footer { padding-bottom:24px; }
  .site-footer .footer__main { grid-template-columns:minmax(0,1fr); gap:0; padding-bottom:20px; }
  .site-footer .footer__brand { grid-column:1 / -1; padding-bottom:20px; }
  .site-footer .brand--footer { gap:12px; }
  .site-footer .brand--footer .brand__mark { width:46px; height:46px; flex:0 0 46px; }
  .site-footer .brand--footer .brand__copy strong { font-size:.85rem; }
  .site-footer .brand--footer .brand__copy small { font-size:.46rem; letter-spacing:.08em; }
  .site-footer .footer__brand > p { margin:12px 0; max-width:none; font-size:.8125rem; line-height:1.85; color:rgba(255,255,255,.66); }
  .site-footer .footer__socials a { width:44px; height:44px; }
  .site-footer .footer__socials a.has-text-fallback { width:auto; min-height:44px; height:auto; }
  .site-footer .footer__main > div.footer__column { gap:0; align-items:stretch; border-top:1px solid rgba(255,255,255,.12); }
  .site-footer .footer__main > div.footer__column > h2 { margin:0; }
  .site-footer .footer__column-title { display:none; }
  .site-footer .footer__column-toggle { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:54px; padding:12px 0; border:0; color:#fff; background:transparent; text-align:start; font:inherit; cursor:pointer; }
  .site-footer .footer__toggle-icon { position:relative; width:18px; height:18px; flex:0 0 18px; color:#d17264; }
  .site-footer .footer__toggle-icon::before, .site-footer .footer__toggle-icon::after { position:absolute; content:""; background:currentColor; border-radius:1px; }
  .site-footer .footer__toggle-icon::before { width:12px; height:2px; top:8px; left:3px; }
  .site-footer .footer__toggle-icon::after { width:2px; height:12px; top:3px; left:8px; }
  .site-footer .footer__column-toggle[aria-expanded="true"] .footer__toggle-icon::after { display:none; }
  .site-footer .footer__links { gap:0; padding-bottom:12px; align-items:stretch; }
  .site-footer .footer__links > a { min-height:44px; display:flex; align-items:center; padding-block:8px; font-size:.76rem; line-height:1.65; }
  .site-footer .footer__contact { grid-column:1 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 12px; padding-top:20px; border-top:1px solid rgba(255,255,255,.12); }
  .site-footer .footer__contact > h2, .site-footer .footer__contact > p, .site-footer .footer__contact > a[href^="mailto:"] { grid-column:1 / -1; }
  .site-footer .footer__contact > h2 { margin:0 0 4px; }
  .site-footer .footer__contact > a { min-height:44px; align-items:center; padding-block:5px; font-size:.8125rem; color:rgba(255,255,255,.66); }
  .site-footer .footer__contact > p { font-size:.8125rem; line-height:1.85; color:rgba(255,255,255,.66); }
  .site-footer .footer__bottom { gap:8px; padding-top:16px; padding-inline-end:56px; font-size:.6875rem; line-height:1.9; }
  .site-footer .footer__bottom > div { gap:9px; }
  .site-footer .footer__bottom > div > a { min-height:44px; display:inline-flex; align-items:center; font-size:.75rem; }
  .site-footer .back-to-top { width:44px; height:44px; }
}
