/* SECTION: Theme Variables */
:root {
  --ink: #172326;
  --muted: #667579;
  --line: #d8e2df;
  --paper: #f8f4eb;
  --soft: #eef4ef;
  --teal: #6f777a;
  --teal-dark: #3f474a;
  --maroon: #8b1e2d;
  --gold: #e0b54f;
  --coral: #f0a646;
  --cream: #fff8e8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(63, 71, 74, 0.12);
  --public-header-height: 134px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* SECTION: Base Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body::before {
  display: none;
}

.page-home::before {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: linear-gradient(90deg, rgba(63, 71, 74, 0.68), rgba(63, 71, 74, 0.04)), url("../images/02.JPG");
  background-position: 38% center;
  background-size: cover;
  filter: contrast(1.06) saturate(1.03);
}

.page-about::before {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: linear-gradient(90deg, rgba(63, 71, 74, 0.84), rgba(63, 71, 74, 0.26)), url("../images/about-hero/about.jpg");
  background-color: #3f474a;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  filter: contrast(1.04) saturate(1.02);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* SECTION: Public Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(248, 244, 235, 0.18);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 244, 235, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  position: relative;
  padding: 10px 4px;
  color: #334044;
  font-size: 15px;
  font-weight: 800;
  transition: color 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 4px;
  bottom: 3px;
  left: 4px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

/* SECTION: Home Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: end;
  overflow: visible;
  background: transparent;
}

.hero-media,
.page-hero {
  background-position: center;
  background-size: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin: 0 clamp(20px, 6vw, 90px) 88px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* SECTION: Heading Defaults */
h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-content h1 {
  font-size: 112px;
}

.hero-content p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions,
.section-heading.split,
.gallery-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transform: translateY(0);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 45%, transparent 70%);
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 0.42s ease;
}

.button > * {
  position: relative;
  z-index: 1;
}

.button:hover {
  box-shadow: 0 12px 24px rgba(23, 35, 38, 0.16);
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button:active {
  box-shadow: 0 5px 12px rgba(23, 35, 38, 0.2);
  filter: brightness(0.96);
  transform: translateY(2px) scale(0.98);
}

.button.primary {
  color: var(--white);
  background: #111111;
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 248, 232, 0.48);
}

.button.wide {
  width: 100%;
}

.page-home .button {
  min-height: 58px;
  padding: 15px 34px;
  border-radius: 999px;
}

.page-home .hero-actions {
  gap: 18px;
}

.page-home .hero-actions .button {
  min-width: 210px;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
}

/* SECTION: Scroll Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate] .section-heading,
[data-animate] .feature-grid article,
[data-animate] .program-choice .copy-stack article,
[data-animate] .about-reason-grid article,
[data-animate] .person-card,
[data-animate] .flip-card,
[data-animate] .calendar-card,
[data-animate] .schedule-batch-card,
[data-animate] .registration-card,
[data-animate] .copy-stack,
[data-animate] .hero-content {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

[data-animate] .section-heading h2 {
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.program-choice[data-animate] > div:first-child .eyebrow {
  opacity: 0;
  transform: translateY(-110px);
  transition: opacity 1s ease, transform 1.18s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate] .section-heading .eyebrow,
[data-animate] .intro-grid .eyebrow,
.intro-grid[data-animate] .eyebrow {
  opacity: 0;
  transform: translateY(-84px);
  transition: opacity 0.95s ease, transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.scope-section[data-animate] .scope-banner .eyebrow {
  opacity: 0;
  transform: translateY(-54px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scope-section[data-animate] .scope-banner h2 {
  opacity: 0;
  transform: translateY(58px);
  transition: opacity 1s ease, transform 1.08s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate] .feature-grid article:nth-child(1) {
  transform: translateX(-70px);
}

[data-animate] .feature-grid article:nth-child(2) {
  transform: translateY(70px);
}

[data-animate] .feature-grid article:nth-child(3) {
  transform: translateX(70px);
}

[data-animate].is-visible .section-heading,
[data-animate].is-visible .feature-grid article,
[data-animate].is-visible .program-choice .copy-stack article,
[data-animate].is-visible .about-reason-grid article,
[data-animate].is-visible .person-card,
[data-animate].is-visible .flip-card,
[data-animate].is-visible .calendar-card,
[data-animate].is-visible .schedule-batch-card,
[data-animate].is-visible .registration-card,
[data-animate].is-visible .copy-stack,
[data-animate].is-visible .hero-content {
  opacity: 1;
  transform: translateY(0);
}

[data-animate].is-visible .section-heading .eyebrow,
[data-animate].is-visible .intro-grid .eyebrow,
.intro-grid[data-animate].is-visible .eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.scope-section[data-animate].is-visible .scope-banner .eyebrow,
.scope-section[data-animate].is-visible .scope-banner h2 {
  opacity: 1;
  transform: translateY(0);
}

.program-choice[data-animate].is-visible > div:first-child .eyebrow {
  opacity: 1;
  transform: translateY(0);
}

[data-animate].is-visible .feature-grid article:nth-child(2),
[data-animate].is-visible .program-choice .copy-stack article:nth-child(2),
[data-animate].is-visible .about-reason-grid article:nth-child(2),
[data-animate].is-visible .person-card:nth-child(2),
[data-animate].is-visible .flip-card:nth-child(2),
[data-animate].is-visible .schedule-batch-card {
  transition-delay: 0.22s;
}

[data-animate].is-visible .registration-card {
  transition-delay: 0.34s;
}

[data-animate].is-visible .section-heading h2 {
  transition-delay: 0.12s;
}

.scope-section[data-animate].is-visible .scope-banner h2 {
  transition-delay: 0.14s;
}

[data-animate].is-visible .feature-grid article:nth-child(3),
[data-animate].is-visible .program-choice .copy-stack article:nth-child(3),
[data-animate].is-visible .about-reason-grid article:nth-child(3),
[data-animate].is-visible .person-card:nth-child(3),
[data-animate].is-visible .flip-card:nth-child(3) {
  transition-delay: 0.44s;
}

[data-animate].is-visible .flip-card:nth-child(4) {
  transition-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate] .section-heading,
  [data-animate] .feature-grid article,
  [data-animate] .program-choice .copy-stack article,
  [data-animate] .about-reason-grid article,
  .program-choice[data-animate] > div:first-child .eyebrow,
  [data-animate] .person-card,
  [data-animate] .flip-card,
  [data-animate] .calendar-card,
  [data-animate] .schedule-batch-card,
  [data-animate] .registration-card,
  [data-animate] .copy-stack,
  [data-animate] .hero-content,
  [data-animate] .section-heading .eyebrow,
  [data-animate] .intro-grid .eyebrow,
  .scope-section[data-animate] .scope-banner .eyebrow,
  .scope-section[data-animate] .scope-banner h2,
  .intro-grid[data-animate] .eyebrow {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-hero .eyebrow,
  .about-hero h1 {
    opacity: 1;
    animation: none;
  }

  .flip-card-inner,
  .flip-card-front img {
    transition: none;
  }

  .social-feature-track {
    animation: none;
    transform: none;
  }

}

/* SECTION: Shared Public Sections */
.section {
  position: relative;
  padding: 90px 72px;
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

/* SECTION: Home Intro */
.intro-grid {
  padding-top: 40px;
} 

.intro-grid h2 {
  font-size: 50px;
}

.intro-grid > div:first-child {
  padding-top: 72px;
}

.intro-grid .eyebrow,
.section-heading .eyebrow {
  color: var(--maroon);
}

.intro-grid .copy-stack {
  padding-top: 56px;
}

.intro-grid .copy-stack p {
  color: var(--ink);
  font-size: 17px;
  text-align: left;
}

/* SECTION: Program Choice */
.program-choice {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #172326;
}

.program-choice::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(23, 35, 38, 0.92), rgba(23, 35, 38, 0.76)),
    url("../images/hero-enhanced.jpg");
  background-position: center;
  background-size: cover;
  opacity: 0.42;
}

.program-choice > * {
  position: relative;
  z-index: 1;
}

.program-choice > div:first-child {
  max-width: 620px;
}

.program-choice .eyebrow {
  color: var(--gold);
}

.program-choice h2 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(42px, 5vw, 74px);
}

.program-choice .copy-stack {
  display: grid;
  gap: 14px;
  padding-top: 0;
}

.program-choice .copy-stack article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.program-choice .copy-stack article:hover {
  border-color: rgba(224, 181, 79, 0.64);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24);
  transform: translateY(-10px);
}

.program-choice .copy-stack article:active {
  transform: translateY(-4px) scale(0.99);
}

.program-choice .copy-stack span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #172326;
  background: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.program-choice .copy-stack p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  text-align: justify;
}

/* SECTION: Schedule Section */
.schedule {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
  align-items: start;
  padding-bottom: 28px;
  color: var(--white);
  background: rgba(63, 71, 74, 0.74);
  backdrop-filter: blur(3px);
}

.schedule > div:first-child {
  max-width: 840px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.copy-stack p,
.schedule p {
  color: var(--muted);
  font-size: 17px;
}

.schedule p {
  color: rgba(255, 255, 255, 0.82);
}

.schedule .eyebrow {
  color: var(--maroon);
  text-shadow: 0 1px 22px rgba(255, 255, 255, 0.42);
}

.reason-band {
  background: var(--cream);
}

.social-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  background: #ffffff;
}

.social-feature-copy {
  max-width: 520px;
  padding-top: 0;
}

.social-feature-copy .eyebrow {
  margin-bottom: 12px;
  color: var(--maroon);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-feature-copy h2 {
  margin-bottom: 16px;
  color: #111111;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.social-feature-copy p {
  margin: 0;
  color: #111111;
  font-size: 17px;
  line-height: 1.7;
}

.social-feature-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 8px;
  color: #ffffff;
  background: #111111;
  font-weight: 900;
}

.page-home .social-feature-button {
  min-height: 58px;
  border-radius: 999px;
}

.social-feature-gallery {
  display: grid;
  align-items: start;
  padding-bottom: 52px;
  --carousel-gap: 14px;
  --carousel-per-view: 3;
}

.social-feature-viewport {
  overflow: hidden;
  width: 100%;
}

.social-feature-track {
  display: flex;
  align-items: start;
  gap: var(--carousel-gap);
  animation: social-feature-marquee 28s linear infinite;
  will-change: transform;
}

.social-feature-image {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - (var(--carousel-gap) * (var(--carousel-per-view) - 1))) / var(--carousel-per-view));
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 24px 70px rgba(23, 35, 38, 0.18);
}

.social-feature-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(23, 35, 38, 0.05), rgba(23, 35, 38, 0.48));
}

.social-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.social-feature-image:hover img {
  transform: scale(1.035);
}

@keyframes social-feature-marquee {
  from {
    transform: translateX(calc(-50% - (var(--carousel-gap) / 2)));
  }

  to {
    transform: translateX(0);
  }
}

.classes-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 35, 38, 0.88), rgba(63, 71, 74, 0.74)),
    url("../images/14.png");
  background-position: center;
  background-size: cover;
}

.classes-section::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(23, 35, 38, 0.12), rgba(23, 35, 38, 0.28));
  pointer-events: none;
}

.classes-section > * {
  position: relative;
  z-index: 1;
}

.classes-section .section-heading {
  max-width: 1050px;
}

.classes-section .section-heading .eyebrow {
  color: var(--gold);
  text-shadow: none;
}

.classes-section .section-heading h2 {
  color: var(--white);
  font-size: clamp(34px, 4.6vw, 62px);
}

.classes-section .flip-card-front h3 {
  position: absolute;
  right: auto;
  bottom: 26px;
  left: 0;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 26px);
  align-items: center;
  justify-content: center;
  padding: 8px 14px 8px 40px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  color: #172326;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: 56px;
}

.section-heading.split {
  display: block;
  max-width: none;
}

.section-heading.split > div {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading.split .text-link {
  display: inline-flex;
  margin-top: 12px;
}

.assessor-section {
  padding-top: 44px;
  padding-bottom: 50px;
}

.feature-grid,
.assessor-grid,
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flip-showcase {
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 35, 38, 0.88), rgba(63, 71, 74, 0.74)),
    url("../images/14.png");
  background-position: center;
  background-size: cover;
}

.flip-showcase .section-heading {
  max-width: 1050px;
}

.flip-showcase .section-heading .eyebrow {
  color: var(--gold);
}

.flip-showcase .section-heading h2 {
  color: var(--white);
  font-size: clamp(34px, 4.6vw, 62px);
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
  perspective: 1400px;
}

.class-format-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1260px;
}

.flip-card {
  min-height: clamp(300px, 31vw, 420px);
  outline: 0;
  perspective: inherit;
}

.flip-card:focus-visible .flip-card-front,
.flip-card:focus-visible .flip-card-back {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.24), 0 24px 54px rgba(0, 0, 0, 0.22);
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 0.78s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-visible .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-face {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backface-visibility: hidden;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.flip-card-front {
  align-items: end;
  isolation: isolate;
  background: #182224;
}

.flip-card-front::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(23, 35, 38, 0.1), rgba(23, 35, 38, 0.72));
}

.flip-card-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
  transition: transform 0.78s ease;
}

.flip-card:hover .flip-card-front img,
.flip-card:focus-visible .flip-card-front img,
.flip-card:focus-within .flip-card-front img {
  transform: scale(1.06);
}

.flip-card-front h3,
.flip-card-back h3,
.flip-card-back p,
.flip-card-back span {
  position: relative;
  z-index: 2;
}

.flip-card-front h3 {
  align-self: end;
  margin: 0;
  padding: 26px;
  color: var(--white);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
}

.flip-card-back {
  align-content: center;
  gap: 12px;
  padding: clamp(24px, 3vw, 34px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(86, 94, 97, 0.92) 44%, rgba(14, 19, 21, 0.96)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 42px 42px;
  transform: rotateY(180deg);
}

.flip-card-back span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: #111111;
  font-size: 13px;
  font-weight: 900;
}

.flip-card-back h3 {
  margin: 8px 0 0;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.04;
}

.flip-card-back p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

/* SECTION: Cards And Grids */
.feature-grid article,
.values article,
.schedule-panel,
details {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-grid article {
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.feature-grid article:hover {
  border-color: rgba(224, 181, 79, 0.72);
  box-shadow: 0 22px 48px rgba(23, 35, 38, 0.12);
  transform: translateY(-8px);
}

[data-animate].is-visible .feature-grid article:hover {
  transform: translateY(-8px);
}

.feature-grid span {
  color: var(--gold);
  font-weight: 900;
}

.feature-grid p,
.values p,
.person-card p,
.profile-row p,
details p {
  color: var(--muted);
}

.feature-grid p {
  color: #111111;
}

.person-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.person-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.person-card div {
  padding: 20px;
}

.assessor-grid {
  display: block;
  max-width: 1320px;
  margin: 0 auto;
  overflow: visible;
  padding-bottom: 72px;
}

.assessor-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  width: 100%;
  gap: 16px;
}

.assessor-grid .person-card {
  position: relative;
  min-height: 360px;
  isolation: isolate;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 18px 44px rgba(23, 35, 38, 0.16);
}

.assessor-grid .person-card::before,
.assessor-grid .person-card::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 8px;
  transition: opacity 0.38s ease, transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.assessor-grid .person-card::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 35, 38, 0.02), rgba(23, 35, 38, 0.36));
}

.assessor-grid .person-card::after {
  z-index: 2;
  background: linear-gradient(180deg, rgba(58, 66, 69, 0.3), rgba(23, 35, 38, 0.76));
  opacity: 0;
  transform: none;
  backdrop-filter: blur(2px);
}

.assessor-grid .person-card:hover::after,
.assessor-grid .person-card:focus-within::after {
  opacity: 1;
}

.assessor-grid .person-card:hover::before,
.assessor-grid .person-card:focus-within::before {
  opacity: 0.18;
}

.assessor-grid .person-card img {
  height: 100%;
  min-height: 360px;
  border-radius: 8px;
  aspect-ratio: auto;
  object-position: center;
  transition: transform 0.65s ease, filter 0.65s ease;
}

.assessor-grid .person-card:nth-child(2) img {
  object-position: center 8%;
}

.assessor-grid .person-card:hover img,
.assessor-grid .person-card:focus-within img {
  filter: saturate(0.92);
  transform: scale(1.05);
}

.person-card-panel {
  position: absolute;
  inset: auto 18px -60px;
  z-index: 3;
  display: grid;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(rgba(63, 71, 74, 0.1) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(63, 71, 74, 0.1) 1px, transparent 1px) 0 0 / 24px 24px,
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 48px rgba(63, 71, 74, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.26s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.assessor-grid .person-card:hover .person-card-panel,
.assessor-grid .person-card:focus-within .person-card-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.person-card-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 9px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
  transform: translateY(-5px);
  transition: transform 0.46s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.46s ease;
}

.person-card-kicker,
.person-card-more {
  color: var(--maroon);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.assessor-grid .person-card h3 {
  max-width: 420px;
  margin: 6px 0 6px;
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.1;
}

.assessor-grid .person-card p {
  display: -webkit-box;
  max-height: none;
  margin-bottom: 10px;
  overflow: hidden;
  color: var(--teal-dark);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.person-card-more {
  display: inline-flex;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.42s ease, opacity 0.42s ease;
}

.assessor-grid .person-card:hover .person-card-icon,
.assessor-grid .person-card:focus-within .person-card-icon,
.assessor-grid .person-card:hover .person-card-more,
.assessor-grid .person-card:focus-within .person-card-more {
  transform: translateY(0);
  opacity: 1;
}

/* SECTION: Schedule Workspace */
.schedule-panel,
.calendar-card,
.schedule-batch-card,
.registration-card {
  color: var(--ink);
  background: var(--white);
}

.schedule-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(280px, 0.74fr) minmax(420px, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.calendar-card,
.schedule-batch-card,
.registration-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.calendar-card {
  padding: 18px;
  background: #fbfaf6;
}

.calendar-card::before,
.schedule-batch-card::before,
.registration-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, #1f9d63, #36c884, var(--teal-dark));
}

.schedule-batch-card::before {
  background: linear-gradient(90deg, var(--maroon), #c43a4a, #5f121e);
}

.registration-card::before {
  background: linear-gradient(90deg, #111111, #3f474a, #111111);
}

.registration-card {
  padding-top: 18px;
  padding-bottom: 18px;
}

.registration-card .registration-card-kicker {
  display: block;
  margin-top: 10px;
}

.schedule-batch-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding-top: 34px;
}

.batch-card-meta {
  display: grid;
  gap: 0;
}

.batch-card-kicker,
.registration-card-kicker {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.batch-card-meta div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  border-top: 1px solid var(--line);
}

.batch-card-meta div:first-child {
  border-top: 0;
}

.batch-card-meta span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(139, 30, 45, 0.18);
  border-radius: 8px;
  color: var(--maroon);
  background: rgba(139, 30, 45, 0.06);
}

.batch-card-meta svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.batch-card-meta strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.calendar-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-head strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.calendar-head p {
  margin: 0;
  padding: 7px 10px;
  border-radius: 8px;
  color: #0f5132;
  background: #dcfce7;
  font-size: 12px;
  font-weight: 900;
}

.calendar-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #b7e4c7;
  border-radius: 8px;
  background: linear-gradient(135deg, #eafaf0, #ffffff);
}

.calendar-summary span,
.calendar-summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.calendar-summary strong {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: #1f9d63;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 14px 24px rgba(31, 157, 99, 0.28);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-grid span {
  display: grid;
  min-height: 32px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: #f2efe8;
  font-size: 14px;
  font-weight: 800;
}

.calendar-grid .calendar-day-name {
  min-height: 18px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.calendar-grid .is-muted {
  color: #a0a7a8;
  background: #f8f7f3;
}

.calendar-grid .is-empty {
  color: transparent;
  background: #f8f7f3;
}

.calendar-grid .is-soon {
  position: relative;
  color: var(--white);
  border-color: #16734a;
  background: #1f9d63;
  box-shadow: 0 12px 22px rgba(31, 157, 99, 0.3);
}

.calendar-grid .is-soon::after {
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 999px;
  background: var(--white);
}

.calendar-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #f6f3eb;
}

.calendar-note span {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 999px;
  background: #1f9d63;
}

.calendar-note p,
.registration-card p {
  color: var(--muted);
}

.registration-card h3 {
  margin-bottom: 4px;
  font-size: 30px;
  line-height: 1.1;
}

.schedule-panel dl {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}

.schedule-panel dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  font-weight: 800;
}

/* SECTION: Public Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 18px;
  margin-top: 0;
  padding: 24px clamp(20px, 5vw, 72px) 14px;
  color: var(--ink);
  background: var(--white);
}

.site-footer h2,
.site-footer h3 {
  color: var(--ink);
}

.site-footer h2 {
  font-size: 32px;
}

.footer-logo {
  width: 210px;
  height: 58px;
  margin-bottom: 10px;
  object-fit: contain;
  object-position: left center;
}

.site-footer h3 {
  font-size: 18px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.site-footer small {
  color: var(--ink);
  font-size: 12px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.footer-social a {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  margin: 0;
  color: #111111;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-social a:hover {
  color: #111111;
  transform: translateY(-2px);
}

.footer-social svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.site-footer.compact {
  display: block;
  padding: 26px clamp(20px, 5vw, 72px);
}

/* SECTION: Inner Page Hero */
.page-hero {
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: 150px clamp(20px, 5vw, 72px) 72px;
  color: var(--white);
}

.page-hero h1 {
  max-width: 900px;
  font-size: 80px;
}

.about-hero {
  min-height: 100vh;
  align-content: end;
  padding-top: 150px;
  padding-bottom: 86px;
  background-image: none;
  background-color: transparent;
}

.about-hero .eyebrow {
  opacity: 0;
  animation: aboutEyebrowIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.about-hero h1 {
  opacity: 0;
  animation: aboutTitleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
}

@keyframes aboutEyebrowIn {
  from {
    opacity: 0;
    transform: translateY(-42px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutTitleIn {
  from {
    opacity: 0;
    transform: translateY(54px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.assessor-hero {
  background-image: linear-gradient(90deg, rgba(63, 71, 74, 0.84), rgba(63, 71, 74, 0.26)), url("../images/asesor-hero.png");
}

.page-assessors {
  overflow-x: hidden;
  overflow-y: auto;
}

.page-assessors .site-header {
  background: rgba(248, 244, 235, 0.18);
  border-color: transparent;
  backdrop-filter: blur(8px);
}

.assessor-story-page {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  background: var(--paper);
  scrollbar-width: thin;
}

.assessor-snap-panel {
  flex: 0 0 100vw;
  width: 100vw;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.page-assessors .assessor-hero {
  position: relative;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: 190px clamp(20px, 7vw, 110px) 60px;
  background-position: center 18%;
  text-align: center;
}

.page-assessors .assessor-hero h1 {
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(52px, 5.8vw, 86px);
  text-align: center;
}

.page-assessors .assessor-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(248, 244, 235, 0.18));
  pointer-events: none;
}

.page-assessors .assessor-hero .eyebrow,
.page-assessors .assessor-hero h1,
.page-assessors .assessor-profile-copy .eyebrow,
.page-assessors .assessor-profile-copy h2,
.page-assessors .assessor-profile-copy p,
.page-assessors .assessor-cv-list,
.page-assessors .assessor-photo-mosaic {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.82s ease, transform 0.92s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-assessors .assessor-hero .eyebrow,
.page-assessors .assessor-profile-copy .eyebrow {
  transform: translateY(-34px);
}

.page-assessors .assessor-hero.is-visible .eyebrow,
.page-assessors .assessor-hero.is-visible h1,
.page-assessors .assessor-profile-card.is-visible .assessor-profile-copy .eyebrow,
.page-assessors .assessor-profile-card.is-visible .assessor-profile-copy h2,
.page-assessors .assessor-profile-card.is-visible .assessor-profile-copy p,
.page-assessors .assessor-profile-card.is-visible .assessor-cv-list,
.page-assessors .assessor-profile-card.is-visible .assessor-photo-mosaic {
  opacity: 1;
  transform: translateY(0);
}

.page-assessors .assessor-hero.is-visible h1,
.page-assessors .assessor-profile-card.is-visible .assessor-profile-copy h2 {
  transition-delay: 0.16s;
}

.page-assessors .assessor-profile-card.is-visible .assessor-profile-copy p,
.page-assessors .assessor-profile-card.is-visible .assessor-cv-list {
  transition-delay: 0.32s;
}

.page-assessors .assessor-profile-card.is-visible .assessor-photo-mosaic {
  transition-delay: 0.12s;
}

.gallery-hero {
  background-image: linear-gradient(90deg, rgba(63, 71, 74, 0.84), rgba(63, 71, 74, 0.26)), url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1800&q=80");
}

.faq-hero {
  background-image: linear-gradient(90deg, rgba(63, 71, 74, 0.84), rgba(63, 71, 74, 0.26)), url("../images/assessors/faq-hero.jpg");
  background-position: 72% 58%;
}


/* SECTION: Inner Page Content */
.about-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 6vw, 96px);
  min-height: 440px;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(54px, 6vw, 92px);
  color: var(--ink);
  background: var(--white);
}

.about-story-heading {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 24px;
  align-content: center;
  justify-items: start;
  padding: 0;
  text-align: left;
}

.about-story-heading::after {
  width: min(260px, 70%);
  height: 6px;
  content: "";
  border-radius: 999px;
  background: var(--maroon);
}

.about-story h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 78px);
  line-height: 1.04;
  text-wrap: balance;
}

.about-story .eyebrow {
  color: var(--maroon);
}

.about-story .copy-stack {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  align-content: center;
  overflow: hidden;
  max-width: 720px;
  padding: clamp(26px, 4vw, 44px);
  border-left: 7px solid var(--maroon);
  border-radius: 8px;
  background: #fbfaf6;
  box-shadow: 0 22px 58px rgba(63, 71, 74, 0.1);
}

.about-story .copy-stack p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 400;
  line-height: 1.85;
  text-align: justify;
}

.about-certification {
  overflow: hidden;
  background: transparent;
}

.about-certification::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(23, 35, 38, 0.76);
  pointer-events: none;
}

.about-certification > * {
  position: relative;
  z-index: 1;
}

.about-certification .section-heading h2 {
  color: var(--white);
  line-height: 1.14;
}

.about-certification .section-heading {
  margin-bottom: 54px;
}

.about-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-reason-grid article {
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.about-reason-grid span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 8px;
  color: #172326;
  background: var(--gold);
  font-weight: 900;
}

.about-reason-grid h3 {
  color: var(--white);
  font-size: 26px;
}

.about-reason-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.vision-mission {
  overflow: visible;
  padding-right: clamp(16px, 2vw, 32px);
  padding-left: clamp(16px, 2vw, 32px);
  background: var(--paper);
}

.vision-mission-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  grid-template-areas:
    "title vision"
    "mission image";
  gap: clamp(28px, 4vw, 54px);
  width: 100%;
  max-width: none;
  margin: 0 auto;
  overflow: visible;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.vision-mission-panel::before,
.vision-mission-panel::after {
  display: none;
}

.vision-mission-panel::before {
  right: -80px;
  bottom: -120px;
  width: 300px;
  height: 300px;
}

.vision-mission-panel::after {
  top: -90px;
  left: -70px;
  width: 210px;
  height: 210px;
}

.vision-mission-title,
.vision-mission-panel .vision-card,
.vision-mission-panel .mission-card,
.vision-mission-image {
  position: relative;
  z-index: 1;
}

.vision-mission-title {
  grid-area: title;
  align-self: center;
}

.vision-mission-title p {
  margin-bottom: clamp(18px, 3vw, 32px);
  color: var(--maroon);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vision-mission-title h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.1vw, 64px);
  line-height: 0.98;
  text-wrap: balance;
}

.vision-mission-panel span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #7a4f00;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vision-mission-panel span::before {
  width: 34px;
  height: 2px;
  content: "";
  background: currentColor;
}

.vision-mission-panel p,
.vision-mission-panel li {
  color: var(--ink);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.65;
}

.vision-mission-panel p {
  max-width: 640px;
  margin-bottom: 0;
  font-weight: 500;
  text-align: justify;
}

.vision-mission-panel .vision-mission-title p {
  max-width: none;
  margin-bottom: clamp(18px, 3vw, 32px);
  color: var(--maroon);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vision-mission-panel .vision-card,
.vision-mission-panel .mission-card {
  position: relative;
  overflow: visible;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(224, 181, 79, 0.95), rgba(255, 248, 232, 0.64));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.vision-mission-panel .vision-card::after {
  position: absolute;
  top: -76px;
  right: 0;
  z-index: 0;
  width: min(36%, 220px);
  height: 118px;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.vision-mission-panel .vision-card {
  grid-area: vision;
  align-self: start;
}

.vision-mission-panel .mission-card {
  grid-area: mission;
  align-self: end;
}

.mission-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mission-card li {
  position: relative;
  padding-left: 18px;
}

.mission-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 999px;
  background: #7a4f00;
  box-shadow: none;
}

.vision-mission-image {
  position: relative;
  grid-area: image;
  align-self: end;
  min-height: 230px;
  margin: 0;
  overflow: visible;
  border-radius: 8px;
}

.vision-mission-image::after {
  position: absolute;
  right: 0;
  bottom: -72px;
  z-index: 0;
  width: min(42%, 260px);
  height: 150px;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

.vision-mission-panel .vision-card > * {
  position: relative;
  z-index: 3;
}

.vision-mission-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 230px;
  border-radius: 8px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.certification-scheme {
  background: var(--white);
}

.scheme-heading {
  max-width: 1040px;
  margin: 0 auto 42px;
  text-align: center;
}

.scheme-heading .eyebrow {
  color: var(--maroon);
}

.scheme-heading h2 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  color: var(--ink);
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.06;
}

.scheme-heading > p:last-child {
  max-width: 760px;
  margin: -4px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.3;
}

.scheme-content {
  display: grid;
  gap: 16px;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.scheme-content article {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
  box-shadow: 0 18px 46px rgba(63, 71, 74, 0.08);
}

.scheme-content article:nth-child(1) {
  border-left: 7px solid var(--maroon);
}

.scheme-content article:nth-child(2) {
  border-right: 7px solid var(--maroon);
}

.scheme-content p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 400;
  line-height: 1.75;
  text-align: justify;
}

.competency-units {
  background: var(--paper);
}

.competency-units .section-heading .eyebrow {
  color: var(--maroon);
}

.competency-table-wrap {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.competency-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.competency-table th,
.competency-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.competency-table th {
  color: var(--white);
  background: var(--maroon);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.competency-table td {
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

.competency-table th:first-child,
.competency-table td:first-child {
  width: 90px;
  text-align: center;
}

.competency-table th:nth-child(2),
.competency-table td:nth-child(2) {
  width: 260px;
  text-align: center;
  font-weight: 850;
}

.competency-table th:nth-child(3),
.competency-table td:nth-child(3) {
  text-align: center;
}

.competency-table tbody tr:last-child td {
  border-bottom: 0;
}

.competency-table tbody tr:nth-child(even) {
  background: #fbfaf6;
}

.competency-table tbody tr:hover {
  background: #f5ede9;
}

.stakeholder-scheme {
  background: var(--white);
}

.stakeholder-scheme .scheme-heading .eyebrow {
  color: var(--maroon);
}

.stakeholder-competency-units {
  padding-top: clamp(72px, 8vw, 110px);
  padding-bottom: 0;
}

.stakeholder-copy {
  max-width: 1180px;
  margin: 0 auto 34px;
  padding: clamp(22px, 3vw, 34px);
  border-left: 6px solid var(--maroon);
  border-radius: 8px;
  background: #fbfaf6;
  box-shadow: 0 18px 46px rgba(63, 71, 74, 0.08);
}

.stakeholder-copy p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 18px;
  text-align: justify;
}

.scope-section {
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  background: transparent;
}

.scope-showcase {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.scope-banner {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  text-align: center;
  background: rgba(63, 71, 74, 0.24);
}

.scope-banner .eyebrow {
  color: var(--maroon);
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.82);
}

.scope-banner h2 {
  max-width: 880px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  text-wrap: balance;
}

.scope-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(23, 35, 38, 0.46);
}

.scope-content article {
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 260px;
  padding: clamp(28px, 4vw, 46px);
  text-align: center;
}

.scope-content article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.26);
}

.scope-content span {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--maroon);
  font-size: 13px;
  font-weight: 900;
}

.scope-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.scope-content h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 360px;
  min-height: 52px;
  margin: 0 0 14px;
  color: var(--white);
  font-size: 22px;
  line-height: 1.15;
}

.scope-content p {
  max-width: 460px;
  margin-top: 0;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .scope-content {
    grid-template-columns: 1fr;
  }

  .scope-content article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    border-left: 0;
  }

  .scope-content h3 {
    min-height: 0;
  }
}

.assessor-list {
  display: grid;
  gap: 18px;
}

.faq-page {
  background: var(--white);
}

.faq-section {
  position: relative;
  display: grid;
  gap: 28px;
  overflow: hidden;
  padding-top: 168px;
  background:
    linear-gradient(180deg, rgba(23, 35, 38, 0.7) 0%, rgba(23, 35, 38, 0.5) 34%, rgba(255, 255, 255, 0.94) 34%, #ffffff 100%),
    url("../images/faq/02.png");
  background-position: center top;
  background-size: cover;
}

.faq-section::before,
.faq-section::after {
  position: absolute;
  width: 92px;
  height: 92px;
  content: "";
  opacity: 0.42;
  background-image: radial-gradient(circle, rgba(63, 71, 74, 0.24) 1.5px, transparent 2px);
  background-size: 14px 14px;
  pointer-events: none;
}

.faq-section::before {
  top: 160px;
  left: clamp(20px, 13vw, 190px);
}

.faq-section::after {
  top: 280px;
  right: clamp(20px, 13vw, 190px);
}

.faq-intro {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

.faq-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-intro h1 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.05;
}

.faq-intro > p:not(.faq-breadcrumb) {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
}

.faq-search {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  width: min(560px, 100%);
  min-height: 54px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(23, 35, 38, 0.08);
}

.faq-search span {
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}

.faq-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.faq-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.faq-tabs button {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.faq-tabs button.is-active {
  color: #d95d16;
  border-color: rgba(240, 166, 70, 0.7);
  background: rgba(240, 166, 70, 0.08);
}

.faq-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  width: min(1180px, 100%);
  margin: 78px auto 0;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 26px 70px rgba(23, 35, 38, 0.1);
}

.faq-list details {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.faq-list details + details {
  border-top: 1px solid var(--line);
}

.faq-list details::before {
  position: absolute;
  top: 21px;
  left: 22px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  content: "+";
  background: #f36b21;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.faq-list details[open]::before {
  content: "-";
}

.faq-list summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 26px;
  gap: 18px;
  align-items: center;
  min-height: 60px;
  padding: 18px 24px 18px 58px;
  color: var(--ink);
  list-style: none;
  font-size: 15px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--ink);
  content: "⌄";
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list details > p,
.faq-list details > ol,
.faq-list details > ul {
  margin-right: 62px;
  margin-left: 58px;
}

.faq-list details > p:first-of-type {
  margin-top: -4px;
}

.faq-list details > p:last-child,
.faq-list details > ol:last-child,
.faq-list details > ul:last-child {
  margin-bottom: 22px;
}

.faq-list details > p,
.faq-list details > ol,
.faq-list details > ul {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}

.faq-list details > p {
  white-space: pre-line;
}

.faq-list details > ol,
.faq-list details > ul {
  padding-left: 20px;
}

.faq-list li + li {
  margin-top: 7px;
}

.faq-contact-card {
  display: grid;
  justify-items: center;
  padding: 34px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f7f7f7, #ffffff);
  text-align: center;
}

.faq-contact-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--maroon);
  box-shadow: 22px 8px 0 -10px #f36b21;
  font-size: 34px;
  font-weight: 900;
}

.faq-contact-card h2 {
  margin-bottom: 8px;
  color: var(--maroon);
  font-size: 22px;
}

.faq-contact-card p {
  color: var(--muted);
  font-size: 14px;
}

.faq-contact-card .button {
  min-height: 42px;
  margin: 8px 0 22px;
  padding: 10px 18px;
  background: #f36b21;
}

.faq-contact-details {
  display: grid;
  gap: 8px;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.faq-contact-details p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}

.profile-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.profile-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.assessor-profile-card {
  grid-template-columns: minmax(340px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(18px, 2.5vw, 30px);
}

.assessor-photo-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(120px, 0.82fr);
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 12px;
  min-height: 430px;
}

.assessor-photo-mosaic img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(23, 35, 38, 0.16);
}

.assessor-photo-main {
  grid-row: 1 / span 2;
}

.assessor-profile-copy .eyebrow {
  color: var(--maroon);
}

.assessor-profile-copy h2 {
  margin-top: 8px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
}

.assessor-profile-copy p {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.8;
}

.page-assessors .assessor-list {
  display: contents;
}

.page-assessors .assessor-profile-card {
  position: relative;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  padding: calc(var(--public-header-height) + 28px) clamp(20px, 5vw, 72px) 56px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(242, 244, 243, 0.94) 48%, rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 24% 78%, rgba(63, 71, 74, 0.08), transparent 26%),
    repeating-linear-gradient(135deg, rgba(63, 71, 74, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: none;
}

.page-assessors .assessor-profile-card::before,
.page-assessors .assessor-profile-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.page-assessors .assessor-profile-card::before {
  right: 7vw;
  bottom: 9vh;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(63, 71, 74, 0.14);
  transform: rotate(45deg);
}

.page-assessors .assessor-profile-card::after {
  display: none;
}

.page-assessors .assessor-photo-mosaic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(118px, 0.82fr);
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 12px;
  min-height: min(66vh, 620px);
  border-radius: 8px;
}

.page-assessors .assessor-photo-mosaic img {
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.26);
}

.page-assessors .assessor-photo-main-frame {
  grid-row: 1 / span 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  clip-path: inset(0 round 8px);
  box-shadow: 18px 18px 0 rgba(255, 255, 255, 0.88), 0 0 34px rgba(255, 255, 255, 0.48);
}

.page-assessors .assessor-photo-main-frame .assessor-photo-main {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.page-assessors .assessor-photo-support {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(23, 35, 38, 0.12);
}

.page-assessors .assessor-profile-copy {
  position: relative;
  z-index: 1;
  max-width: 740px;
  color: var(--ink);
  transform: translateY(-34px);
}

.page-assessors .assessor-profile-copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.page-assessors .assessor-profile-copy h2 {
  margin-bottom: 18px;
  color: var(--maroon);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(38px, 4.2vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: none;
}

.page-assessors .assessor-profile-copy p {
  max-width: 760px;
  color: var(--teal-dark);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
}

.page-assessors .assessor-cv-list {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 750;
  line-height: 1.55;
}

.page-assessors .assessor-cv-list li {
  padding-left: 4px;
}

.gallery-filter {
  margin-bottom: 24px;
}

.gallery-filter button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--white);
  font-weight: 800;
}

.gallery-filter button.is-active {
  color: var(--teal-dark);
  background: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item div {
  padding: 14px;
}

.gallery-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--maroon);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-item h2 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 18px;
  line-height: 1.25;
}

.gallery-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

details summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

/* SECTION: Alert Messages */
.flash-message,
.error-box {
  margin: 18px clamp(20px, 5vw, 72px);
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.flash-message {
  color: #064e3b;
  background: #d7f8e8;
}

.error-box {
  color: #842018;
  background: #ffe1da;
}

/* SECTION: Forms */
.registration-form,
.admin-form {
  display: grid;
  gap: 14px;
}

.registration-form {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.registration-form label,
.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.registration-card .registration-form {
  gap: 8px;
}

.registration-card input,
.registration-card select {
  min-height: 36px;
  padding: 7px 10px;
}

.registration-card .button {
  justify-self: center;
  width: auto;
  min-width: 210px;
  min-height: 58px;
  padding: 15px 34px;
  border-radius: 999px;
}

.registration-card .button.primary {
  background: #111111;
  color: var(--white);
}

.registration-card .registration-form label {
  gap: 5px;
  font-size: 13px;
}

.registration-page-section {
  align-items: start;
}

.schedule-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.schedule-list-item {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.schedule-list-item span {
  color: var(--muted);
  font-size: 14px;
}

.registration-empty-state {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.registration-contact {
  padding-top: 0;
}

textarea {
  resize: vertical;
}

.schedule-item + .schedule-item {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.schedule-item {
  display: block;
}

.schedule-item h3 {
  max-width: 620px;
  margin-bottom: 8px;
  font-size: 32px;
}

.schedule-panel .schedule-item > p,
.schedule-panel .registration-form label {
  color: var(--muted);
}

/* SECTION: Admin Layout */
.admin-body {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  color: #1f2a2e;
  background: #f4f7f6;
  line-height: 1.5;
}

.admin-body::before {
  display: none;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: #253235;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar .brand {
  display: flex;
  gap: 12px;
  color: var(--white);
  margin-bottom: 34px;
  padding: 0 6px;
}

.brand-mark {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #253235;
  background: var(--coral);
  font-size: 19px;
  font-weight: 900;
}

.admin-sidebar .brand span:last-child {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.admin-sidebar .brand strong {
  color: var(--white);
  font-size: 15px;
  line-height: 1.15;
  white-space: nowrap;
}

.admin-sidebar .brand small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a {
  padding: 11px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 750;
  transition: background 0.18s ease, color 0.18s ease;
}

.admin-nav a:hover,
.admin-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(240, 166, 70, 0.18);
}

.admin-logout-form {
  margin-top: 18px;
  padding: 0 6px;
}

.admin-logout-form button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.admin-logout-form button:hover {
  background: rgba(240, 166, 70, 0.18);
}

.admin-main {
  width: 100%;
  max-width: 1280px;
  padding: 32px clamp(24px, 4vw, 48px);
}

.admin-auth-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(240, 166, 70, 0.16), transparent 36%),
    linear-gradient(180deg, #f6f8fb 0%, #edf2f7 100%);
  color: #1f2a2e;
}

.admin-auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-auth-card {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #d8e2df;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(31, 42, 46, 0.1);
  padding: 28px;
}

.admin-auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.admin-auth-brand strong,
.admin-auth-brand small {
  display: block;
}

.admin-auth-brand strong {
  font-size: 16px;
}

.admin-auth-brand small {
  color: #667579;
  font-size: 13px;
  font-weight: 700;
}

.admin-auth-head {
  margin-bottom: 20px;
}

.admin-auth-head .eyebrow {
  margin-bottom: 10px;
}

.admin-auth-head h1 {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.05;
}

.admin-auth-head p:last-child {
  margin: 0;
  color: #667579;
}

.admin-auth-form {
  display: grid;
  gap: 14px;
}

.admin-auth-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.admin-auth-check input {
  width: auto;
  min-height: auto;
}

.admin-auth-switch {
  margin: 18px 0 0;
  color: #667579;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.admin-auth-switch a {
  color: #9f2735;
  text-decoration: none;
}

.admin-auth-switch a:hover {
  text-decoration: underline;
}

.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-heading h1 {
  margin: 3px 0 0;
  color: #172326;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

.admin-heading .eyebrow {
  margin: 0;
  color: #8a6a1e;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.admin-subtitle {
  margin: 8px 0 0;
  color: #667579;
  font-size: 15px;
  font-weight: 600;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stats article,
.admin-card,
.admin-form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(31, 42, 46, 0.06);
}

.admin-stats span {
  display: block;
  color: #253235;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.admin-stats p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.admin-card {
  overflow-x: auto;
}

.admin-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(520px, 1.25fr);
  gap: 18px;
  align-items: start;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.card-heading h2 {
  margin: 0;
}

.card-heading a {
  color: var(--maroon);
  font-weight: 850;
}

.admin-gallery-list {
  display: grid;
  gap: 12px;
}

.admin-gallery-list article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-gallery-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.admin-gallery-list img {
  display: block;
  width: 86px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.admin-gallery-list strong,
.admin-gallery-list small {
  display: block;
}

.admin-gallery-list strong {
  color: #172326;
  font-size: 15px;
  line-height: 1.25;
}

.admin-gallery-list small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.admin-table tbody tr:hover {
  background: #fbfcfb;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table small {
  display: block;
  max-width: 360px;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.admin-thumb {
  display: block;
  width: 88px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.current-image {
  max-width: 420px;
}

.current-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.table-actions,
.inline-form,
.form-actions,
.form-grid {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table-actions button,
.inline-form button,
.button.secondary {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--white);
  font-weight: 800;
}

.admin-body .button.primary {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--maroon);
  color: var(--white);
  box-shadow: none;
}

.admin-body .button.primary:hover,
.admin-body .button.secondary:hover,
.table-actions button:hover,
.inline-form button:hover {
  filter: brightness(0.97);
}

.flash-message,
.error-box {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 750;
}

.flash-message {
  color: #285247;
  background: #e8f4ee;
  border: 1px solid #c8e4d4;
}

.error-box {
  color: #7c2d12;
  background: #fff1ea;
  border: 1px solid #ffd2bd;
}

.error-box p {
  margin: 0;
}

.checkbox-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
}

.checkbox-row input {
  width: auto;
  min-height: auto;
}

/* SECTION: Tablet Responsive */
@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 620px;
  }

  .page-about::before {
    background-position: center 38%;
  }

  .about-hero {
    min-height: 760px;
  }

  .intro-grid,
  .program-choice,
  .about-story,
  .schedule-workspace,
  .social-feature,
  .feature-grid,
  .flip-grid,
  .about-reason-grid,
  .assessor-grid,
  .faq-content,
  .values,
  .site-footer,
  .profile-row,
  .gallery-grid,
  .admin-body,
  .admin-stats,
  .dashboard-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 18px;
  }

  .admin-sidebar .brand {
    margin-bottom: 18px;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-main {
    padding: 24px 18px;
  }

  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-table {
    min-width: 680px;
  }

  .intro-grid .copy-stack {
    padding-top: 0;
  }

  .intro-grid > div:first-child {
    padding-top: 0;
  }

  .program-choice h2 {
    font-size: 42px;
  }

  .social-feature-copy {
    max-width: none;
    padding-top: 0;
    text-align: center;
  }

  .social-feature-gallery {
    --carousel-per-view: 2;
    padding-bottom: 28px;
  }

  .flip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flip-card {
    min-height: 340px;
  }

  .assessor-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vision-mission-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "vision"
      "mission"
      "image";
  }

  .vision-mission-title h2 {
    font-size: clamp(32px, 7vw, 52px);
  }

  .about-story {
    gap: 34px;
    min-height: auto;
  }

  .about-story-heading {
    grid-column: 1;
    grid-row: auto;
    gap: 16px;
    justify-items: center;
    text-align: center;
  }

  .about-story-heading::after {
    display: none;
  }

  .about-story .copy-stack {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    max-width: 760px;
  }

  .about-story .copy-stack p {
    text-align: center;
  }

  .assessor-profile-card {
    grid-template-columns: 1fr;
  }

  .page-assessors {
    overflow: auto;
  }

  .page-assessors .assessor-story-page {
    display: block;
    width: auto;
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .page-assessors .assessor-snap-panel {
    width: auto;
    min-height: auto;
    scroll-snap-align: none;
  }

  .page-assessors .assessor-list {
    display: grid;
    gap: 0;
    padding: 0 clamp(20px, 5vw, 72px);
  }

  .page-assessors .assessor-hero {
    min-height: 720px;
  }

  .page-assessors .assessor-profile-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 72px 0;
  }

  .page-assessors .assessor-photo-mosaic {
    min-height: 430px;
  }

  .assessor-grid .person-card,
  .assessor-grid .person-card img {
    min-height: 360px;
  }

  .faq-section {
    gap: 24px;
    padding-top: 142px;
  }

  .faq-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .faq-tabs button {
    flex: 0 0 auto;
  }

  .footer-bottom {
    grid-column: auto;
  }

}

/* SECTION: Mobile Responsive */
@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .hero-content {
    margin-bottom: 56px;
  }

  .page-about::before {
    background-position: center top;
  }

  .about-hero {
    min-height: 700px;
    padding-bottom: 56px;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 48px;
  }

  .admin-heading h1 {
    font-size: 30px;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }

  .intro-grid h2,
  .section-heading h2,
  .schedule h2 {
    font-size: 32px;
  }

  .social-feature-gallery {
    --carousel-per-view: 1;
    padding-bottom: 0;
  }

  .social-feature-image {
    aspect-ratio: 4 / 5;
  }

  .flip-grid {
    grid-template-columns: 1fr;
  }

  .flip-card {
    min-height: 310px;
  }

  .assessor-track {
    grid-template-columns: 1fr;
  }

  .faq-list summary {
    grid-template-columns: 1fr 26px;
    min-height: 60px;
    padding: 18px 18px 18px 54px;
  }

  .faq-list summary::after {
    width: 26px;
    height: 26px;
    font-size: 20px;
  }

  .faq-list details > p,
  .faq-list details > ol,
  .faq-list details > ul {
    margin-right: 18px;
    margin-left: 54px;
  }

  .assessor-photo-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    min-height: 0;
  }

  .assessor-photo-main-frame {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .assessor-photo-support {
    aspect-ratio: 1 / 1;
  }

  .scheme-content article {
    grid-template-columns: 1fr;
  }

  .schedule-panel dl > div {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

.seo-form-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
}

.admin-muted {
  color: rgba(29, 37, 43, 0.64);
}

.admin-hint {
  color: rgba(29, 37, 43, 0.64);
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
}

.seo-snippet-preview {
  background: #fff;
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 22px;
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 22px 24px;
}

.seo-snippet-url {
  color: #1a7f37;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.seo-snippet-preview strong {
  color: #1a0dab;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.seo-snippet-preview p {
  color: #4d5156;
  margin: 0;
}

.seo-metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.seo-metrics article {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 18px;
  padding: 18px;
}

.seo-metrics span {
  color: #9f2735;
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.seo-metrics small {
  color: rgba(29, 37, 43, 0.68);
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.editor-toolbar button {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 12px;
  color: #24313b;
  cursor: pointer;
  min-width: 46px;
  padding: 10px 14px;
}

.editor-toolbar button:hover {
  border-color: rgba(159, 39, 53, 0.4);
  color: #9f2735;
}

.seo-editor {
  background: #fff;
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 18px;
  font: inherit;
  min-height: 260px;
  padding: 16px 18px;
  resize: vertical;
  width: 100%;
}

.seo-subheading {
  margin-top: 24px;
}

.seo-dashboard-links,
.seo-dashboard-list {
  display: grid;
  gap: 12px;
}

.seo-dashboard-links {
  margin-bottom: 20px;
}

.seo-dashboard-links a,
.seo-dashboard-list article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 18px;
  padding: 14px 16px;
}

.seo-dashboard-links a {
  color: #24313b;
  font-weight: 600;
  text-decoration: none;
}

.seo-dashboard-links a:hover {
  border-color: rgba(159, 39, 53, 0.45);
  color: #9f2735;
}

.seo-dashboard-list article strong,
.seo-dashboard-list article small,
.seo-dashboard-list article span {
  display: block;
}

.seo-dashboard-list article small {
  color: rgba(29, 37, 43, 0.68);
  margin: 6px 0;
}

.seo-dashboard-list article span {
  color: #9f2735;
  font-size: 13px;
  font-weight: 700;
}

.seo-score-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 20px;
  margin-top: 18px;
  padding: 18px;
}

.seo-score-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.seo-score-head span {
  color: #9f2735;
  font-size: 22px;
  font-weight: 800;
}

.seo-score-bar {
  background: rgba(189, 198, 207, 0.5);
  border-radius: 999px;
  height: 10px;
  margin: 14px 0 16px;
  overflow: hidden;
}

.seo-score-bar span {
  display: block;
  height: 100%;
  transition: width 180ms ease;
  width: 0;
}

.seo-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.seo-checklist li {
  color: #43515c;
}

.seo-checklist li.is-passed {
  color: #1a7f37;
}

.seo-checklist li.is-missed {
  color: #9f2735;
}

.seo-image-preview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.seo-image-preview-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 18px;
  overflow: hidden;
}

.seo-image-preview-card span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px 0;
}

.seo-image-preview-card img {
  aspect-ratio: 1.91 / 1;
  display: block;
  object-fit: cover;
  padding: 12px 14px 14px;
  width: 100%;
}

.seo-redirect-form,
.redirect-inline-form {
  align-items: end;
  display: grid;
  gap: 14px;
}

.seo-redirect-form {
  grid-template-columns: minmax(0, 1.6fr) 180px;
  margin-bottom: 20px;
}

.redirect-inline-form {
  grid-template-columns: minmax(0, 1fr);
}

.redirect-inline-form input,
.redirect-inline-form select {
  margin: 0;
}

.cms-field-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-field-grid label.is-full {
  grid-column: 1 / -1;
}

.cms-editor-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
}

.cms-editor-main {
  display: grid;
  gap: 24px;
}

.cms-wp-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.cms-wp-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.75fr) 320px;
}

.cms-wp-main {
  display: grid;
  gap: 20px;
}

.cms-wp-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 24px;
}

.cms-title-card {
  padding: 0;
}

.cms-title-input {
  min-height: 74px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #1d2327;
  font-size: 34px;
  font-weight: 500;
  padding: 22px 24px 14px;
}

.cms-title-input:focus {
  outline: none;
}

.cms-title-meta {
  border-top: 1px solid #dcdcde;
  color: #50575e;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 12px 24px 18px;
}

.cms-meta-box {
  border-color: #c3c4c7;
  border-radius: 0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  padding: 0;
}

.cms-meta-box-head {
  align-items: center;
  border-bottom: 1px solid #dcdcde;
  margin: 0;
  padding: 14px 16px;
}

.cms-meta-box-head h2 {
  color: #1d2327;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.cms-meta-box-head span {
  color: #646970;
  font-size: 12px;
  font-weight: 700;
}

.cms-meta-box .cms-field-grid {
  padding: 16px;
}

.cms-field-wrap {
  align-content: start;
}

.cms-field-label {
  color: #1d2327;
  font-size: 13px;
  font-weight: 700;
}

.cms-preview-panel {
  align-self: start;
  position: sticky;
  top: 24px;
}

.cms-preview-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 238, 224, 0.92));
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 24px;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 22px;
}

.cms-preview-label {
  color: #9f2735;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cms-preview-card h3 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0;
}

.cms-preview-card p {
  color: #50606d;
  margin: 0;
}

.cms-preview-card img {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  object-fit: cover;
  width: 100%;
}

.cms-preview-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cms-preview-meta span {
  color: rgba(29, 37, 43, 0.64);
  font-size: 13px;
}

.cms-block-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.cms-html-editor {
  display: grid;
  gap: 12px;
}

.cms-editor-topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.cms-add-media {
  min-height: 32px;
}

.cms-editor-mode {
  display: flex;
  gap: 8px;
}

.cms-editor-mode button {
  background: rgba(239, 234, 223, 0.9);
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-bottom-width: 2px;
  border-radius: 12px 12px 0 0;
  color: #52616b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 38px;
  padding: 8px 14px;
}

.cms-editor-mode button.is-active {
  background: #fff;
  border-color: rgba(159, 39, 53, 0.4);
  color: #9f2735;
}

.cms-block-tools span {
  color: rgba(29, 37, 43, 0.64);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cms-block-tools button {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 999px;
  color: #24313b;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
}

.cms-block-tools button:hover {
  border-color: rgba(159, 39, 53, 0.45);
  color: #9f2735;
}

.cms-html-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
  padding: 10px 12px;
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-bottom: 0;
}

.cms-html-toolbar span {
  color: rgba(29, 37, 43, 0.64);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cms-html-toolbar button {
  background: rgba(249, 244, 235, 0.9);
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 8px;
  color: #24313b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  min-height: 34px;
  min-width: 34px;
  padding: 6px;
}

.cms-html-toolbar button:hover {
  border-color: rgba(159, 39, 53, 0.45);
  color: #9f2735;
}

.cms-toolbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.cms-toolbar-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cms-html-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.cms-html-pane,
.cms-html-preview-pane {
  min-width: 0;
}

.cms-html-pane {
  display: grid;
  gap: 0;
}

.cms-visual-editor {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 0;
  min-height: 420px;
  outline: none;
  overflow: auto;
  padding: 16px 18px;
}

.cms-visual-editor:focus {
  border-color: rgba(159, 39, 53, 0.45);
  box-shadow: 0 0 0 4px rgba(159, 39, 53, 0.08);
}

.cms-html-textarea {
  min-height: 420px;
  border: 1px solid #dcdcde;
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
}

.cms-editor-footer {
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-top: 0;
  color: #50575e;
  padding: 10px 14px;
}

.cms-html-preview-pane {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dcdcde;
  border-radius: 0;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.cms-html-preview-head {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.cms-html-preview-head strong {
  color: #24313b;
  font-size: 14px;
}

.cms-html-preview-head small {
  color: rgba(29, 37, 43, 0.64);
}

.cms-html-preview {
  background: #fffdf7;
  border: 1px dashed rgba(159, 39, 53, 0.2);
  border-radius: 14px;
  max-height: 420px;
  overflow: auto;
  padding: 16px;
}

.cms-html-preview-empty {
  color: rgba(29, 37, 43, 0.54);
  font-style: italic;
}

.cms-inline-image-preview {
  margin-top: 14px;
}

.cms-inline-image-preview img {
  aspect-ratio: 16 / 9;
  border: 1px solid #dcdcde;
  border-radius: 0;
  display: block;
  max-width: 420px;
  object-fit: cover;
  width: 100%;
}

.media-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.media-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 20px;
  overflow: hidden;
}

.media-card img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.media-card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.media-card-body code {
  background: rgba(239, 234, 223, 0.75);
  border-radius: 10px;
  font-size: 12px;
  overflow-wrap: anywhere;
  padding: 6px 8px;
}

.cms-repeater {
  background: #fbfbfc;
  border: 1px solid #dcdcde;
  border-radius: 0;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.cms-repeater-headline {
  display: grid;
  gap: 4px;
}

.cms-repeater-headline strong {
  color: #1d2327;
  font-size: 13px;
}

.cms-repeater-headline span {
  color: #646970;
  font-size: 12px;
}

.cms-repeater-list {
  display: grid;
  gap: 14px;
}

.cms-repeater-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dcdcde;
  border-radius: 0;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.cms-repeater-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cms-repeater-head button {
  background: transparent;
  border: 0;
  color: #9f2735;
  cursor: pointer;
  font-weight: 700;
}

.cms-richtext p,
.cms-richtext ul,
.cms-richtext ol,
.cms-richtext li {
  color: inherit;
}

.cms-richtext p:last-child,
.cms-richtext ul:last-child,
.cms-richtext ol:last-child {
  margin-bottom: 0;
}

.cms-grid-cards > article {
  height: 100%;
}

.cms-side-card {
  border-color: #c3c4c7;
  border-radius: 0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  padding: 0;
}

.cms-side-card-head {
  border-bottom: 1px solid #dcdcde;
  margin: 0;
  padding: 12px 14px;
}

.cms-side-card-head h2 {
  color: #1d2327;
  font-size: 14px;
}

.cms-side-card-body {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.cms-side-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-side-meta,
.cms-side-list {
  color: #50575e;
  font-size: 13px;
}

.cms-side-meta p,
.cms-side-list p {
  margin: 0;
}

.cms-side-links {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.cms-side-links a {
  color: #2271b1;
  font-size: 13px;
  font-weight: 700;
}

.cms-preview-panel {
  align-self: start;
  position: static;
}

.cms-html-preview blockquote {
  border-left: 4px solid rgba(159, 39, 53, 0.35);
  margin: 0;
  padding-left: 14px;
}

.cms-html-preview table {
  border-collapse: collapse;
  width: 100%;
}

.cms-html-preview th,
.cms-html-preview td {
  border: 1px solid rgba(189, 198, 207, 0.9);
  padding: 10px 12px;
  text-align: left;
}

.cms-html-preview details {
  border: 1px solid rgba(189, 198, 207, 0.9);
  border-radius: 12px;
  padding: 12px 14px;
}

.cms-html-preview details + details {
  margin-top: 10px;
}

.cms-html-preview summary {
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 980px) {
  .seo-form-grid {
    grid-template-columns: 1fr;
  }

  .seo-image-preview-grid,
  .seo-redirect-form,
  .cms-field-grid,
  .cms-editor-layout,
  .cms-html-grid,
  .cms-wp-layout {
    grid-template-columns: 1fr;
  }

  .cms-preview-panel,
  .cms-wp-sidebar {
    position: static;
  }
}
