:root {
  --canvas: #f3f0ee;
  --surface: #fcfbfa;
  --surface-strong: #ffffff;
  --ink: #141413;
  --charcoal: #262627;
  --muted: #696969;
  --hairline: rgba(20, 20, 19, 0.14);
  --brand: #1a5f7a;
  --brand-dark: #134b63;
  --brand-soft: #dcebf0;
  --gold: #f8b400;
  --orange: #f37338;
  --green: #2f8b57;
  --shadow-soft: 0 20px 60px rgba(20, 20, 19, 0.08);
  --shadow-nav: 0 4px 24px rgba(20, 20, 19, 0.08);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Sofia Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}

.nav-shell {
  width: min(calc(100% - 36px), 1220px);
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 12px 10px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
  background: #fff;
  border: 1px solid rgba(20, 20, 19, 0.06);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
  pointer-events: auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-logo {
  width: 188px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.brand-orb {
  position: relative;
  width: 42px;
  height: 42px;
}

.brand-orb::before,
.brand-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.brand-orb::before {
  background: var(--brand);
  transform: translateX(-5px);
}

.brand-orb::after {
  background: rgba(248, 180, 0, 0.88);
  transform: translateX(8px);
  mix-blend-mode: multiply;
}

.brand-name {
  display: grid;
  line-height: 1.1;
}

.brand-name strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-name span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1;
}

.primary-nav a {
  position: relative;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 3px;
  background: currentColor;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-dark {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}

.btn-brand {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-outline {
  background: var(--surface-strong);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}

.arrow {
  width: 1.1em;
  height: 1.1em;
}

.page {
  overflow: hidden;
}

.section {
  position: relative;
  padding: 104px 24px;
}

.section.compact {
  padding: 72px 24px;
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero {
  padding: 126px 24px 64px;
  display: flex;
  align-items: flex-start;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: 54px;
  align-items: center;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-lede {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--charcoal);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 660px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.proof-item strong {
  display: block;
  color: var(--brand);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.hero-photo {
  position: absolute;
  inset: 18px 0 0 42px;
  overflow: hidden;
  border-radius: 48px;
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-img {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-slide-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-card {
  position: absolute;
  left: 0;
  bottom: 42px;
  width: 270px;
  padding: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.hero-card strong {
  display: block;
  color: var(--brand);
  font-size: 42px;
  line-height: 1;
}

.hero-card span {
  display: block;
  margin-top: 10px;
  color: var(--charcoal);
  font-size: 15px;
}

.hero-dots {
  position: absolute;
  right: 34px;
  bottom: 38px;
  display: flex;
  gap: 9px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px rgba(20, 20, 19, 0.08);
  backdrop-filter: blur(12px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 95, 122, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: var(--brand);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head-wide {
  display: block;
}

.section-head-wide .section-title {
  white-space: nowrap;
}

.section-head.centered {
  display: block;
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.56px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.16;
}

.section-text {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.systems-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.systems-grid::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 126px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.system-card {
  position: relative;
  text-align: center;
}

.system-image {
  position: relative;
  width: min(290px, 74vw);
  aspect-ratio: 1;
  margin: 0 auto 28px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.system-card h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
}

.system-card p {
  max-width: 330px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

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

.pathway {
  display: grid;
  gap: 18px;
}

.path-step {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 32px;
}

.path-code {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.path-step:nth-child(even) .path-code {
  background: var(--ink);
  color: var(--gold);
}

.path-step h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.path-step p {
  margin: 8px 0 0;
  color: var(--muted);
}

.learning-overview-section .section-head {
  align-items: start;
}

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

.core-course-card {
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 30px;
  box-shadow: 0 16px 42px rgba(20, 20, 19, 0.04);
}

.course-abbr.dark {
  background: var(--ink);
  color: var(--gold);
}

.core-course-card small {
  margin-top: 22px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.core-course-card h3 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.2;
}

.core-course-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.coach-pathway {
  margin-top: 22px;
  padding: 30px;
  background: var(--ink);
  color: #fff;
  border-radius: 34px;
}

.pathway-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.pathway-head h3 {
  margin: 0;
  font-size: 30px;
}

.cert-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
}

.cert-flow > li {
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.cert-flow > li::before {
  content: counter(list-item, decimal-leading-zero);
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.cert-flow strong,
.cert-flow span {
  display: block;
}

.cert-flow strong {
  font-size: 18px;
}

.cert-flow span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.cert-flow ul {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.cert-flow ul li {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #f4c94d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.cert-flow ul li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: rgba(244, 201, 77, 0.72);
}

.cert-flow-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.communicator-pathway-flow {
  background: #14324f;
}

.pathway-flow-intro,
.pathway-flow-note {
  max-width: 920px;
  margin: -8px 0 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.pathway-flow-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.pathway-compare-flow {
  margin-top: 22px;
  background: #101918;
}

.pathway-compare-flow .pathway-head {
  align-items: flex-start;
}

.pathway-compare-flow .pathway-head h3 {
  color: #fff;
}

.compare-flow-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
}

.compare-flow-row {
  display: grid;
  grid-template-columns: 0.78fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.compare-flow-row:last-child {
  border-bottom: 0;
}

.compare-flow-row span,
.compare-flow-row strong,
.compare-flow-row p {
  margin: 0;
  padding: 16px 18px;
  line-height: 1.55;
}

.compare-flow-row span {
  color: var(--gold);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
}

.compare-flow-row strong {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.compare-flow-row p {
  color: rgba(255, 255, 255, 0.78);
}

.compare-planning-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.compare-planning-note strong {
  display: block;
  color: var(--gold);
}

.compare-planning-note p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.communicator-pathway,
.pathway-comparison {
  margin-top: 22px;
  padding: 30px;
  border-radius: 34px;
  border: 1px solid rgba(0, 92, 122, 0.14);
  background: #fff;
  box-shadow: 0 16px 42px rgba(20, 20, 19, 0.04);
}

.communicator-pathway .pathway-head,
.pathway-comparison .pathway-head {
  align-items: flex-start;
}

.communicator-pathway .pathway-head h3,
.pathway-comparison .pathway-head h3 {
  color: var(--ink);
}

.pathway-intro,
.pathway-note {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.communicator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.communicator-grid article {
  padding: 22px;
  border-radius: 22px;
  background: var(--brand-soft);
}

.communicator-grid h4 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 18px;
}

.communicator-grid ul,
.planning-reasons ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.communicator-grid li,
.planning-reasons li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.communicator-grid li::before,
.planning-reasons li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: var(--gold);
}

.pathway-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(248, 180, 0, 0.12);
  color: var(--ink);
}

.path-compare-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 22px;
}

.path-compare-table > div {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  border-bottom: 1px solid rgba(20, 20, 19, 0.08);
}

.path-compare-table > div:last-child {
  border-bottom: 0;
}

.path-compare-table span,
.path-compare-table strong,
.path-compare-table p {
  margin: 0;
  padding: 16px 18px;
  line-height: 1.55;
}

.path-compare-table span {
  color: var(--brand-dark);
  font-weight: 700;
  background: rgba(0, 92, 122, 0.08);
}

.path-compare-table strong {
  color: var(--ink);
  background: rgba(248, 180, 0, 0.12);
}

.path-compare-table p {
  color: var(--muted);
}

.planning-reasons {
  margin-top: 22px;
  padding: 24px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
}

.planning-reasons h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 20px;
}

.planning-reasons li,
.planning-reasons p {
  color: rgba(255, 255, 255, 0.82);
}

.planning-reasons p {
  margin: 16px 0 0;
  line-height: 1.7;
}

.home-pathway-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.home-pathway-summary article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(0, 92, 122, 0.12);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(20, 20, 19, 0.04);
}

.home-pathway-summary h3 {
  margin: 14px 0 12px;
  font-size: 28px;
  line-height: 1.2;
}

.home-pathway-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.home-pathway-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-pathway-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
}

.home-compare-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0, 92, 122, 0.07);
}

.home-compare-row strong {
  color: var(--brand-dark);
}

.home-compare-row span {
  color: var(--muted);
  line-height: 1.6;
}

.home-planning-note {
  margin-top: 18px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 20, 19, 0.08);
}

.path-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.chip.gold {
  background: rgba(248, 180, 0, 0.18);
  color: #8b6200;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: center;
}

.feature-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.16;
}

.feature-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.check-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.check-list li::before {
  content: "";
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--gold) 0 36%, rgba(248, 180, 0, 0.22) 37% 100%);
}

.media-frame {
  overflow: hidden;
  border-radius: 44px;
  box-shadow: var(--shadow-soft);
}

.media-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.course-schedule-frame {
  background: #eef6fb;
}

.course-schedule-frame img {
  height: auto;
  object-fit: contain;
}

.community-stack {
  display: grid;
  gap: 36px;
}

.community-stack .feature-copy {
  max-width: 880px;
}

.community-stack .media-frame {
  max-width: 1040px;
  margin: 0 auto;
  background: #fff;
}

.community-stack .media-frame img {
  height: auto;
  aspect-ratio: 3301 / 1202;
  object-fit: contain;
  display: block;
}

.membership-stack {
  display: grid;
  gap: 36px;
}

.membership-stack .feature-copy {
  max-width: 900px;
}

.membership-stack .media-frame {
  max-width: 1040px;
  margin: 0 auto;
  background: #fff;
}

.membership-stack .media-frame img {
  height: auto;
  object-fit: contain;
  display: block;
}

.portrait-frame {
  background: #eef3f6;
}

.portrait-frame img {
  object-fit: contain;
  object-position: center center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.12);
}

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

.stat-box {
  padding: 38px 30px;
  background: var(--ink);
}

.stat-box strong {
  display: block;
  color: var(--gold);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}

.stat-box span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.mentor-card {
  padding: 18px 18px 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 34px;
}

.mentor-photo {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand-soft);
}

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

.mentor-grid .mentor-card:nth-child(1) .mentor-photo img,
.mentor-grid .mentor-card:nth-child(2) .mentor-photo img {
  object-position: center 18%;
}

.mentor-card h3 {
  margin: 20px 0 0;
  font-size: 21px;
  line-height: 1.2;
}

.mentor-level {
  margin: 7px 0 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.mentor-card p:not(.mentor-level) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.article-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
}

.article-feature,
.article-list {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 36px;
}

.article-feature {
  overflow: hidden;
}

.article-feature img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.article-body {
  padding: 28px;
}

.article-body time,
.article-row time {
  color: var(--muted);
  font-size: 13px;
}

.article-body h3,
.article-row h3 {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1.3;
}

.article-body p {
  margin: 14px 0 0;
  color: var(--muted);
}

.article-list {
  display: grid;
  align-content: stretch;
  overflow: hidden;
}

.article-row {
  padding: 26px;
  border-bottom: 1px solid var(--hairline);
}

.article-row:last-child {
  border-bottom: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 46px;
  align-items: start;
  padding: 42px;
  background: var(--brand);
  color: #fff;
  border-radius: 46px;
}

.contact-panel h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.16;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-methods {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contact-method {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.contact-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method strong,
.contact-method div span {
  display: block;
}

.contact-method div span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.qr-card {
  display: grid;
  align-content: start;
  padding: 22px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 32px;
}

.qr-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(20, 20, 19, 0.1);
  border-radius: 24px;
  background: #fff;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px dashed rgba(20, 20, 19, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(18, 103, 128, 0.08) 50%, transparent 0) 0 0 / 18px 18px,
    linear-gradient(rgba(18, 103, 128, 0.08) 50%, transparent 0) 0 0 / 18px 18px,
    #fff;
}

.qr-placeholder span {
  width: min-content;
  min-width: 7em;
  padding: 10px 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-pill);
}

.qr-card h3 {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.qr-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 32px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(20, 20, 19, 0.12);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  padding: 13px 16px;
  outline: none;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-form .form-note {
  color: var(--muted);
}

.site-footer {
  padding: 70px 24px 30px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 42px;
}

.footer-brand p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col h3 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  letter-spacing: 0.56px;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.74);
}

.page-hero {
  padding: 150px 24px 76px;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.55fr);
  gap: 52px;
  align-items: end;
}

.contact-hero-inner {
  display: block;
  max-width: var(--max);
  text-align: left;
}

.contact-hero-inner h1,
.contact-hero-inner p {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.08;
}

.page-hero p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.page-hero-card {
  padding: 30px;
  background: var(--surface-strong);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

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

.subnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.66);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 600;
}

.info-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 32px;
}

.info-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
}

.info-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.info-card .small-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.book-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.book-card img {
  width: 100%;
  display: block;
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 22px;
  background: #fff;
  object-fit: contain;
}

.about-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(243, 240, 238, 0.96) 0%, rgba(243, 240, 238, 0.9) 46%, rgba(243, 240, 238, 0.56) 100%), url("../images/update0712/aboutus.jpeg") center 8% / cover no-repeat;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 140px;
  background: linear-gradient(180deg, rgba(243, 240, 238, 0), var(--surface));
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.audience-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
}

.audience-card h3 {
  margin: 0;
  color: var(--brand);
  font-size: 22px;
}

.audience-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.audience-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.audience-card li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  line-height: 1.55;
}

.audience-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.comparison-table {
  overflow: hidden;
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--hairline);
}

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

.comparison-table span,
.comparison-table strong,
.comparison-table p {
  margin: 0;
  padding: 18px 20px;
}

.comparison-table span {
  color: var(--brand);
  font-weight: 700;
}

.comparison-table p {
  color: var(--muted);
  line-height: 1.65;
  border-left: 1px solid var(--hairline);
}

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

.comparison-head span,
.comparison-head strong {
  color: #fff;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: benefit;
}

.benefit-list li {
  counter-increment: benefit;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--muted);
  line-height: 1.7;
}

.benefit-list li::before {
  content: counter(benefit, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
}

.relationship-card {
  display: grid;
  gap: 16px;
}

#self-actualization .feature-split {
  align-items: start;
}

.relationship-card article {
  padding: 24px;
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.relationship-card h3 {
  margin: 0;
  font-size: 22px;
}

.relationship-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.partner-logo {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--brand);
  text-align: center;
  font-weight: 700;
}

.course-detail-list {
  display: grid;
  gap: 26px;
}

.course-detail {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 28px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 34px;
}

.course-detail h2 {
  margin: 16px 0 0;
  font-size: 30px;
  line-height: 1.2;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-item {
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
}

.detail-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 13px;
}

.detail-item span {
  color: var(--muted);
  font-size: 14px;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.member-shell {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 30px;
}

.mock-login {
  display: grid;
  gap: 14px;
}

.placeholder-screen {
  padding: 24px;
  border-radius: 30px;
  background: var(--ink);
  color: #fff;
}

.placeholder-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
}

.placeholder-row:last-child {
  border-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 54px;
  align-items: start;
}

.sticky-aside {
  position: sticky;
  top: 116px;
}

.panel {
  padding: 32px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 34px;
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.history-logo {
  display: block;
  width: min(240px, 72%);
  height: auto;
  margin: 18px 0 22px;
}

.timeline {
  display: grid;
  gap: 22px;
}

.timeline-item {
  position: relative;
  padding-left: 42px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: -26px;
  width: 1px;
  background: var(--hairline);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-item h3 {
  margin: 0;
  font-size: 22px;
}

.timeline-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.timeline-item ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.timeline-item li {
  margin: 7px 0;
  line-height: 1.72;
}

.timeline-item li::marker {
  color: var(--gold);
}

.timeline-item strong {
  color: var(--charcoal);
}

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

.course-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 34px;
}

.course-card h3 {
  margin: 18px 0 0;
  font-size: 25px;
  line-height: 1.24;
}

.course-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.course-hero-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 20, 19, 0.84), rgba(20, 20, 19, 0.48)),
    url("../images/update0711/kechengtixibanner.png") center/cover no-repeat;
}

.course-hero-banner .page-hero-inner {
  display: block;
  max-width: 880px;
  color: #fff;
}

.course-hero-banner p {
  color: rgba(255, 255, 255, 0.82);
}

.course-hero-banner .subnav a {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.six-courses {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-module {
  min-height: 290px;
}

.course-logo-mark {
  width: min(360px, 80vw);
  margin: 0 auto 26px;
}

.course-system-head {
  max-width: 880px;
}

.course-system-head .section-text + .section-text {
  margin-top: 14px;
}

.wide-media {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.wide-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.course-modal[hidden] {
  display: none;
}

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
}

.course-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 19, 0.62);
  backdrop-filter: blur(8px);
}

.course-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  padding: 34px;
  background: var(--surface-strong);
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.modal-course h2 {
  margin: 18px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.modal-course .lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
}

.course-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.course-modal-grid section,
.course-table {
  padding: 22px;
  background: var(--surface);
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 22px;
}

.modal-course h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.modal-course ol,
.modal-course ul {
  margin: 0;
  padding-left: 20px;
}

.modal-course li + li {
  margin-top: 10px;
}

.modal-course li span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.course-table {
  margin: 20px 0;
  overflow-x: auto;
}

.course-table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.course-table th,
.course-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(20, 20, 19, 0.08);
  text-align: left;
  vertical-align: top;
}

.course-table th {
  color: var(--brand);
  font-size: 13px;
}

.modal-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.modal-images.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modal-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.course-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.course-abbr {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.standard-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.standard-table th,
.standard-table td {
  padding: 20px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.standard-table th {
  color: var(--brand);
  font-size: 14px;
}

.standard-table tr:last-child td {
  border-bottom: 0;
}

.news-list {
  display: grid;
  gap: 22px;
}

.news-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 20, 19, 0.08);
  border-radius: 34px;
}

.news-item img {
  width: 100%;
  height: 190px;
  border-radius: 24px;
  object-fit: cover;
}

.news-item img.portrait-thumb {
  object-position: center top;
}

.news-item h3 {
  margin: 10px 0 0;
  font-size: 25px;
  line-height: 1.28;
}

.news-item p {
  color: var(--muted);
}

body.modal-open {
  overflow: hidden;
}

.directory-hero .page-hero-card strong {
  display: block;
  color: var(--brand);
  font-size: 64px;
  line-height: 1;
}

.directory-shell {
  display: grid;
  gap: 28px;
}

.directory-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
  gap: 28px;
  align-items: end;
}

.directory-toolbar h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.directory-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 12px;
  align-items: end;
}

.directory-search {
  display: grid;
  gap: 6px;
}

.directory-search span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.directory-search input,
.directory-controls select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(20, 20, 19, 0.14);
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  color: var(--ink);
  outline: 0;
}

.directory-search input:focus,
.directory-controls select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.12);
}

.directory-count {
  color: var(--muted);
  font-weight: 600;
}

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

.directory-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  min-height: 190px;
  padding: 16px;
  border: 1px solid rgba(20, 20, 19, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(20, 20, 19, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.directory-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 95, 122, 0.34);
  box-shadow: 0 18px 34px rgba(20, 20, 19, 0.09);
}

.directory-photo {
  width: 112px;
  height: 144px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--brand-soft);
}

.directory-photo img,
.profile-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-card-body {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.profile-category {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.directory-card strong {
  font-size: 20px;
  line-height: 1.22;
}

.directory-credential,
.directory-number,
.directory-summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
}

.directory-credential,
.directory-number {
  -webkit-line-clamp: 2;
}

.directory-summary {
  -webkit-line-clamp: 3;
}

.profile-modal[hidden] {
  display: none;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.profile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 19, 0.48);
  backdrop-filter: blur(10px);
}

.profile-dialog {
  position: relative;
  width: min(940px, 100%);
  max-height: min(84vh, 760px);
  overflow: auto;
  border-radius: 34px;
  background: var(--surface-strong);
  box-shadow: 0 30px 90px rgba(20, 20, 19, 0.24);
}

.modal-close {
  position: sticky;
  top: 16px;
  left: calc(100% - 62px);
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 16px 16px 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.profile-dialog-body {
  padding: 0 34px 34px;
}

.profile-detail {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 34px;
}

.profile-detail-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 30px;
  background: var(--brand-soft);
}

.profile-detail-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.profile-credential,
.profile-number {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-weight: 700;
}

.profile-number {
  color: var(--muted);
}

.profile-text {
  margin-top: 18px;
  color: var(--charcoal);
}

.profile-text p {
  margin: 0 0 12px;
}

.profile-source {
  margin-top: 18px;
}

.mobile-panel {
  display: none;
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 12px;
  }

  .primary-nav a {
    font-size: 13px;
  }

  .hero-grid,
  .feature-split,
  .contact-panel,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 520px;
  }

  .mentor-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-grid,
  .content-grid,
  .audience-grid,
  .partners-grid,
  .category-row,
  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-toolbar,
  .profile-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
  }

  .nav-shell {
    width: calc(100% - 24px);
    min-height: 62px;
    padding: 9px 9px 9px 16px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .primary-nav,
  .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 110px 30px 30px;
    background: rgba(243, 240, 238, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.menu-open .mobile-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-panel a {
    padding: 16px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 26px;
    font-weight: 600;
  }

  .section-head,
  .two-column,
  .article-grid,
  .course-detail,
  .learning-overview,
  .course-modal-grid,
  .member-shell,
  .directory-toolbar {
    grid-template-columns: 1fr;
  }

  .directory-controls {
    grid-template-columns: 1fr;
  }

  .section-head-wide .section-title {
    white-space: normal;
  }

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

  .cert-flow,
  .six-courses {
    grid-template-columns: 1fr;
  }

  .pathway-head {
    display: block;
  }

  .systems-grid::before {
    display: none;
  }

  .path-step {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .path-meta {
    grid-column: 2;
    justify-content: flex-start;
  }

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

@media (max-width: 680px) {
  .brand-name span {
    display: none;
  }

  .brand-mark {
    min-width: 0;
  }

  .brand-logo {
    width: 166px;
    max-height: 46px;
  }

  .hero,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-proof,
  .stats-grid,
  .mentor-grid,
  .course-grid,
  .content-grid,
  .audience-grid,
  .partners-grid,
  .category-row,
  .directory-grid,
  .benefit-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .comparison-table,
  .comparison-table > div {
    display: block;
  }

  .comparison-table > div {
    padding: 18px;
  }

  .comparison-table span,
  .comparison-table strong,
  .comparison-table p {
    display: block;
    padding: 8px 0;
    border-left: 0;
  }

  .contact-qr-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-photo {
    inset: 26px 0 0 0;
    border-radius: 34px;
  }

  .hero-card {
    width: 220px;
    bottom: 18px;
  }

  .hero-dots {
    right: 16px;
    bottom: 16px;
  }

  .section {
    padding: 76px 18px;
  }

  .path-step,
  .news-item {
    grid-template-columns: 1fr;
  }

  .course-dialog {
    padding: 24px;
    border-radius: 26px;
  }

  .modal-images,
  .modal-images.three {
    grid-template-columns: 1fr;
  }

  .path-meta {
    grid-column: auto;
  }

  .contact-panel {
    padding: 28px;
    border-radius: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .media-frame img {
    height: 340px;
  }

  .directory-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    min-height: 172px;
    padding: 14px;
    border-radius: 24px;
  }

  .directory-photo {
    width: 92px;
    height: 126px;
    border-radius: 18px;
  }

  .profile-modal {
    padding: 12px;
  }

  .profile-dialog {
    border-radius: 28px;
  }

  .profile-dialog-body {
    padding: 0 20px 26px;
  }

  .profile-detail-photo {
    max-height: 360px;
  }
}

@media (max-width: 1080px) {
  .communicator-grid,
  .home-pathway-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .communicator-pathway,
  .pathway-comparison {
    padding: 22px;
    border-radius: 26px;
  }

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

  .home-pathway-summary {
    grid-template-columns: 1fr;
  }

  .home-pathway-summary article {
    min-height: 0;
    padding: 22px;
    border-radius: 24px;
  }

  .home-pathway-summary h3 {
    font-size: 24px;
  }

  .home-compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cert-flow-four {
    grid-template-columns: 1fr;
  }

  .compare-flow-row {
    grid-template-columns: 1fr;
  }

  .pathway-flow-intro,
  .pathway-flow-note {
    margin-top: 0;
  }

  .pathway-compare-flow {
    padding: 22px;
    border-radius: 26px;
  }

  .path-compare-table {
    border-radius: 18px;
  }

  .path-compare-table > div {
    grid-template-columns: 1fr;
  }

  .path-compare-table span,
  .path-compare-table strong,
  .path-compare-table p {
    padding: 12px 14px;
  }
}
