@font-face {
  font-family: "Kanit";
  src: url("assets/fonts/Kanit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kanit";
  src: url("assets/fonts/Kanit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kanit";
  src: url("assets/fonts/Kanit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kanit";
  src: url("assets/fonts/Kanit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple-deep: #2d0b55;
  --purple-primary: #4a1a7a;
  --purple-mid: #6b2d9e;
  --purple-light: #9b5dc8;
  --purple-pale: #f3ebf9;
  --green-dark: #1e8a1e;
  --green: #28a428;
  --green-bright: #3cc43c;
  --green-pale: #e8f9e8;
  --ink: #1a1a2e;
  --muted: #646173;
  --line: rgba(74, 26, 122, 0.12);
  --paper: #fffdfa;
  --soft: #f8f7fb;
  --shadow: 0 18px 48px rgba(74, 26, 122, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Kanit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 250, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(60, 196, 60, 0.6);
}

.brand strong {
  display: block;
  color: var(--purple-primary);
  font-size: 0.98rem;
  line-height: 1.15;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--purple-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--purple-primary);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.lang-button {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--purple-primary);
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(40, 164, 40, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.35);
}

.button-small {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.section,
.hero,
.final-cta {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
}

.section-dark {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(45, 11, 85, 0.98), rgba(74, 26, 122, 0.96) 55%, rgba(26, 26, 46, 0.98));
}

.section-tint {
  max-width: none;
  background: var(--purple-pale);
}

.section-tint > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 80px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--green-bright), var(--green), var(--purple-light));
}

.hero::before {
  top: 0;
}

.hero::after {
  bottom: 0;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero h1.hero-title-en {
  max-width: 100%;
  font-size: 4.75rem;
  line-height: 1.15;
}

.hero-title-en span {
  display: block;
  white-space: nowrap;
}

@media (min-width: 981px) and (max-width: 1200px) {
  .hero h1.hero-title-en {
    font-size: 3.5rem;
  }
}

@media (max-width: 680px) {
  .hero h1.hero-title-en {
    font-size: 2.25rem;
    line-height: 1.2;
  }
}

html:lang(th) .hero h1 {
  max-width: 100%;
  font-size: 5.5rem;
  line-height: 1.45;
  overflow-wrap: normal;
}

@media (max-width: 680px) {
  html:lang(th) .hero h1 {
    font-size: 3rem;
    line-height: 1.5;
  }
}

h2 {
  margin-bottom: 14px;
  color: var(--purple-primary);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip span {
  padding: 7px 12px;
  border: 1px solid rgba(60, 196, 60, 0.38);
  border-radius: 8px;
  background: rgba(60, 196, 60, 0.12);
  color: #adffad;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-media {
  display: grid;
  gap: 14px;
  align-self: center;
}

.hero-video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #120725;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.hero-video-card iframe,
.youtube-poster {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.youtube-poster {
  position: relative;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(45, 11, 85, 0.96), rgba(74, 26, 122, 0.9)),
    url("assets/images/cch-logo.jpg") center / 92px auto no-repeat,
    #120725;
  cursor: pointer;
}

.youtube-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-poster img[src] {
  position: relative;
  z-index: 0;
}

.youtube-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 7, 37, 0.08), rgba(18, 7, 37, 0.32));
}

.youtube-poster-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #ffffff;
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.youtube-play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px;
  height: 48px;
  border-radius: 14px;
  background: #ff0033;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
}

.youtube-play-mark::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #ffffff;
}

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

.media-card,
.gallery-slot,
.video-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 24px;
  border: 2px dashed rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(160deg, rgba(155, 93, 200, 0.35), rgba(60, 196, 60, 0.2));
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  overflow: hidden;
}

.media-card::before,
.gallery-slot::before,
.video-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 5px solid var(--green-bright);
  pointer-events: none;
}

.hero-media-grid .media-card {
  aspect-ratio: 1;
  min-height: 0;
}

.media-card span,
.gallery-slot,
.video-slot p {
  position: relative;
  z-index: 1;
}

.play-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(60, 196, 60, 0.94);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.play-mark::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 16px 0 0 20px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #ffffff;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: -34px auto 0;
  padding: 0 clamp(18px, 5vw, 72px);
  position: relative;
  z-index: 4;
}

.quick-links a {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-right: 0;
  color: var(--purple-primary);
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow);
}

.quick-links a:first-child {
  border-radius: 8px 0 0 8px;
}

.quick-links a:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 46px);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.feature-grid,
.steps,
.channel-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.step-card,
.fee-panel,
.channel-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(74, 26, 122, 0.08);
}

.feature-card {
  padding: 26px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--purple-pale);
  color: var(--purple-primary);
  font-weight: 700;
}

.feature-card p,
.step-card p,
.fee-row p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.step-card {
  padding: 24px;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-light));
  color: #ffffff;
  font-weight: 700;
}

#fees {
  scroll-margin-top: 96px;
}

.fee-comparison {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.fee-comparison caption {
  text-align: left;
  color: var(--muted);
  padding-bottom: 16px;
}

.fee-name-column {
  width: 50%;
}

.fee-comparison th,
.fee-comparison td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.fee-comparison th {
  text-align: left;
  font-weight: 500;
}

.fee-comparison thead th {
  background: var(--purple-primary);
  color: #ffffff;
  font-weight: 600;
}

.fee-comparison thead th:not(:first-child),
.fee-comparison td {
  text-align: center;
}

.fee-comparison td {
  color: var(--purple-primary);
  font-weight: 600;
  white-space: nowrap;
}

.fee-comparison .fee-category th {
  padding-top: 12px;
  padding-bottom: 12px;
  background: var(--purple-pale);
  color: var(--purple-primary);
  font-weight: 600;
}

@media (max-width: 640px) {
  #fees {
    scroll-margin-top: 140px;
  }

  .fee-name-column {
    width: 46%;
  }

  .fee-comparison th,
  .fee-comparison td {
    padding: 14px 8px;
    font-size: 0.88rem;
  }
}

.fee-panel {
  overflow: hidden;
}

.fee-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

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

.fee-row strong {
  min-width: 118px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  text-align: center;
}

.activity-section {
  max-width: none;
}

.activity-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.activity-layout {
  display: grid;
  gap: 22px;
}

.featured-video {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.featured-video iframe,
.featured-video .youtube-poster {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #120725;
}

.featured-video-caption {
  padding: 22px 24px 24px;
}

.featured-video-caption h3 {
  margin-bottom: 6px;
}

.featured-video-caption p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

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

.gallery-slot {
  aspect-ratio: 1;
  min-height: 0;
  font-weight: 600;
}

.photo-card {
  padding: 0;
  border: 0;
  background: transparent;
}

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

.gallery-photo {
  min-width: 0;
  margin: 0;
}

.gallery-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-photo figcaption {
  padding-top: 12px;
  font-weight: 500;
}

.resource-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

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

.resources-heading-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.resources-heading-row > div {
  max-width: 760px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--purple-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--green-bright);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.resource-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(74, 26, 122, 0.08);
  overflow: hidden;
}

.resource-card-featured {
  grid-row: span 2;
}

.resource-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 24px;
  border-top: 5px solid var(--green-bright);
  background: linear-gradient(145deg, var(--purple-light), var(--purple-primary));
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.resource-card-body {
  padding: 24px;
}

.resource-card-body h2,
.resource-card-body h3 {
  color: var(--purple-primary);
  font-size: 1.35rem;
  line-height: 1.25;
}

.resource-card-body p:not(.resource-meta) {
  color: var(--muted);
}

.resource-meta {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.page-hero {
  padding: clamp(54px, 7vw, 94px) clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-primary));
  color: #ffffff;
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 260px;
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.article-content {
  min-width: 0;
  max-width: 100%;
}

.article-content h1 {
  width: 100%;
  max-width: none;
  color: var(--purple-primary);
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-content h2 {
  margin-top: 46px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.article-content p,
.article-content li {
  max-width: 100%;
  color: #3f3b49;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.article-content li + li {
  margin-top: 10px;
}

.article-lede {
  color: var(--muted);
  font-size: 1.22rem !important;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.article-photo {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 360px;
  margin: 30px 0;
  padding: 24px;
  border-radius: 8px;
  border-top: 6px solid var(--green-bright);
  background: linear-gradient(145deg, var(--purple-light), var(--purple-primary));
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
  text-align: center;
}

.article-aside {
  position: sticky;
  top: 104px;
  padding: 22px;
  border-radius: 8px;
  background: var(--purple-pale);
}

.article-aside h2 {
  font-size: 1.25rem;
}

.article-aside ul {
  padding-left: 20px;
}

.article-note {
  margin: 34px 0;
  padding: 22px;
  border-left: 4px solid var(--green-bright);
  background: var(--green-pale);
  border-radius: 0 8px 8px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--purple-primary);
  text-decoration: underline;
}

.article-aside-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-hero-compact {
  padding-bottom: clamp(42px, 5vw, 72px);
}

.workflow-banner,
.workflow-steps {
  max-width: 1180px;
  margin: 0 auto;
}

.workflow-banner {
  padding: 28px 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--purple-pale), #ffffff);
}

.workflow-banner h2 {
  margin-top: 8px;
  color: var(--purple-primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.workflow-banner p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
}

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

.workflow-step {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.workflow-step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 700;
}

.workflow-step h2,
.studio-article-header h2 {
  color: var(--purple-primary);
  font-size: 1.35rem;
}

.workflow-step p,
.studio-article-header p {
  color: var(--muted);
}

.studio-section {
  padding-top: 0;
}

.studio-article-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.social-toolkit {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(74, 26, 122, 0.08);
  overflow: hidden;
}

.social-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.social-tab {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--purple-primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.social-tab.is-active {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(74, 26, 122, 0.08);
}

.social-panel {
  padding: 20px;
}

.social-panel-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.social-copy-block {
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
  color: #3f3b49;
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.button.is-copied,
.social-panel-toolbar .button.is-copied {
  background: var(--green-dark);
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 98px;
  padding: 20px;
}

.channel-card span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--purple-pale);
  color: var(--purple-primary);
  font-weight: 700;
}

.channel-card strong {
  line-height: 1.25;
}

.channel-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
}

.channel-card .social-logo {
  width: 28px;
  height: 28px;
  border-radius: 0;
}

.channel-card.channel-unavailable {
  display: flex;
  width: auto;
  height: auto;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #ffffff;
}

.site-footer .social-logo {
  width: 24px;
  height: 24px;
  border-radius: 0;
}

.footer-social-link.channel-unavailable {
  opacity: 0.45;
}

.admissions-phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.phone-block span {
  display: block;
}

.admissions-phones a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  color: #ffffff;
}

.admissions-phones span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.admissions-phones strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.phone-numbers {
  white-space: nowrap;
}

.additional-inquiries-label {
  display: block;
  margin-top: 6px;
}

.site-footer {
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .gallery-grid-below {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.channel-primary {
  background: var(--purple-primary);
  color: #ffffff;
}

.channel-primary span {
  background: rgba(255, 255, 255, 0.14);
  color: var(--green-bright);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-primary));
  color: #ffffff;
}

.final-cta h2 {
  color: #ffffff;
}

.final-cta p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.site-footer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer strong {
  display: block;
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
  }

  .hero-media {
    max-width: 620px;
  }

  .feature-grid,
  .steps,
  .activity-layout,
  .channel-grid,
  .resource-preview-grid,
  .resource-grid,
  .workflow-steps,
  .final-cta {
    grid-template-columns: 1fr 1fr;
  }

  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .activity-layout,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .quick-links {
    grid-template-columns: 1fr 1fr;
  }

  .quick-links a,
  .quick-links a:first-child,
  .quick-links a:last-child {
    border-radius: 0;
    border: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    max-width: 150px;
    white-space: normal;
    font-size: 0.9rem;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    justify-content: space-between;
    gap: 8px;
  }

  .button-small {
    display: none;
  }

  .lang-button {
    min-width: 38px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.6rem, 12vw, 3.35rem);
    line-height: 1;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .trust-strip span {
    font-size: 0.84rem;
  }

  .hero-media {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: min(100%, 342px);
  }

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

  .hero-media-grid .media-card {
    min-height: 0;
  }

  .hero-copy,
  .hero-lede,
  .trust-strip {
    width: 100%;
    max-width: min(100%, 342px);
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    width: max-content;
    max-width: 100%;
  }

  .quick-links,
  .feature-grid,
  .steps,
  .channel-grid,
  .resource-preview-grid,
  .resource-grid,
  .workflow-steps,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .resources-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-shell {
    width: 100%;
    max-width: 390px;
    margin: 0;
    padding: 48px 24px;
  }

  .article-content,
  .article-aside {
    width: 100%;
    max-width: 342px;
  }

  .article-content h1 {
    font-size: clamp(2.15rem, 10vw, 2.75rem);
  }

  .quick-links {
    margin-top: 0;
    padding: 0;
  }

  .quick-links a {
    min-height: 68px;
    box-shadow: none;
  }

  .fee-row {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .fee-row strong {
    width: max-content;
  }

  .video-slot {
    min-height: 360px;
  }

  .final-cta {
    padding-top: 28px;
    padding-bottom: 28px;
    margin-bottom: 0;
    border-radius: 0;
  }

  .site-footer {
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .header-actions {
    justify-content: space-between;
  }

  .button,
  .hero-actions {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .site-header:has(.menu-toggle) {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .site-header:has(.menu-toggle) .header-actions {
    gap: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header:has(.menu-toggle) .nav-links.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(45, 11, 85, 0.12);
  }

  .nav-links.is-open a {
    padding: 12px 8px;
    min-height: 44px;
  }
}

@media (max-width: 680px) {
  .site-header:has(.menu-toggle) {
    padding: 10px 12px;
    gap: 6px;
  }

  .site-header:has(.menu-toggle) .brand {
    gap: 6px;
  }

  .site-header:has(.menu-toggle) .brand-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .site-header:has(.menu-toggle) .brand strong {
    max-width: none;
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .site-header:has(.menu-toggle) .header-actions {
    gap: 4px;
  }

  .site-header:has(.menu-toggle) .lang-button {
    min-width: 30px;
    min-height: 38px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 36px 20px 0;
    gap: 28px;
  }

  .hero-copy,
  .hero-lede,
  .trust-strip {
    max-width: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding: 12px 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
  }

  .trust-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .trust-strip span {
    min-width: 0;
    width: auto;
    padding: 6px;
    font-size: 0.75rem;
    text-align: center;
  }

  .hero-media {
    width: calc(100% + 40px);
    max-width: none;
    margin-inline: -20px;
    gap: 0;
  }

  .hero-video-card,
  .hero-media-grid .media-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-media-grid {
    gap: 0;
  }

  .hero-media-grid .media-card::before {
    display: none;
  }

  .gallery-photo {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  }

  .gallery-photo img {
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }

  .gallery-photo figcaption {
    padding: 22px 24px 24px;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
  }

  .admissions-phones {
    gap: 8px;
  }

  .admissions-phones strong {
    font-size: 0.9rem;
  }
}
