:root {
  color-scheme: light;
  --ink: #fff;
  --panel: #faf8fb;
  --panel-light: #ece8ef;
  --line: rgba(24, 18, 27, 0.14);
  --white: #201b22;
  --muted: #716b75;
  --red: #f12635;
  --red-dark: #c60f28;
  --pink: #ff5269;
  --violet: #8c35a9;
  --green: #8ed3ad;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(9, 8, 13, 0.96);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 1px;
  font-family: Outfit, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: #fff;
}

.brand-copy small {
  color: #b8b1bd;
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  padding: 9px 10px;
  border-radius: 999px;
  color: #cbc6cf;
  font-size: 12px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--red);
  color: white;
}

.nav-cta {
  margin-left: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--red);
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.nav-cta:hover,
.button-primary:hover {
  transform: translateY(-2px);
  background: #ff3444;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #15121b;
  color: #fff;
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 435px;
  margin-top: 24px;
  padding: 68px 58px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 80% 5%, rgba(126, 30, 111, 0.38), transparent 40%),
    linear-gradient(112deg, #111018 5%, #19101c 58%, #330e25 100%);
  color: #fff;
}

.hero-home {
  min-height: 435px;
  margin-top: 12px;
  border-radius: 20px;
}

.hero-home .eyebrow {
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.hero-home .eyebrow::before {
  display: none;
}

.hero-home h1 {
  max-width: 500px;
  font-size: clamp(48px, 5vw, 64px);
}

.hero-home .accent {
  position: relative;
  z-index: 0;
  color: #fff;
  white-space: nowrap;
}

.hero-home .accent::before {
  position: absolute;
  z-index: -1;
  inset: 9% -0.1em 2%;
  border-radius: 4px;
  background: var(--red);
  content: "";
  transform: skew(-7deg) rotate(-1deg);
}

.hero-home .hero-portrait {
  right: 11%;
  width: min(40%, 500px);
  height: 100%;
  object-position: center top;
}

.hero-home .hero-note {
  right: 5%;
}

.hero-home .hero-books {
  right: 1.5%;
}

.hero-home ~ .section .course-grid .card {
  box-shadow: 0 8px 22px rgba(32, 27, 34, 0.06);
}

.hero-home ~ .section .course-grid .card:nth-child(2) .course-art {
  background:
    radial-gradient(circle at 75% 30%, rgba(116, 55, 152, 0.55), transparent 36%),
    linear-gradient(130deg, #211326, #13121b 68%);
}

.hero-home ~ .section .course-grid .card:nth-child(3) .course-art {
  background:
    radial-gradient(circle at 75% 30%, rgba(241, 38, 53, 0.28), transparent 36%),
    linear-gradient(130deg, #171521, #211326 68%);
}

.hero::before,
.page-hero::before {
  position: absolute;
  z-index: -1;
  right: -9%;
  bottom: -34%;
  width: 68%;
  height: 64%;
  border: 28px solid rgba(241, 38, 53, 0.9);
  border-radius: 50%;
  content: "";
  transform: rotate(-13deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(54%, 540px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 17px;
  color: #ff6d7b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 19px;
  height: 2px;
  background: var(--red);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Outfit, sans-serif;
}

.hero h1 {
  max-width: 570px;
  margin-bottom: 16px;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -3.1px;
  line-height: 0.99;
}

.accent {
  color: var(--pink);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 435px;
  margin-bottom: 25px;
  color: #c3bdc8;
  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: var(--red);
  color: white;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(8, 7, 11, 0.25);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.07);
}

.button svg,
.text-link svg {
  width: 15px;
  height: 15px;
}

.hero-portrait {
  position: absolute;
  z-index: 1;
  right: 9%;
  bottom: 0;
  width: min(38%, 390px);
  height: 96%;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-note {
  position: absolute;
  z-index: 3;
  top: 27%;
  right: 7%;
  width: 112px;
  color: #fff1f4;
  font-family: Outfit, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.14;
  transform: rotate(-8deg);
}

.hero-note::after {
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 8px;
  background: var(--pink);
  content: "";
}

.hero-books {
  position: absolute;
  right: 1.5%;
  bottom: 18px;
  width: 132px;
  height: 73px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, #f8eee3 0 21%, transparent 21% 28%, #a51426 28% 52%, transparent 52% 59%, #23174b 59% 83%, transparent 83%),
    linear-gradient(90deg, transparent 8%, #d2a47f 8% 85%, transparent 85%);
  filter: drop-shadow(0 11px 10px rgba(0, 0, 0, 0.5));
  transform: perspective(200px) rotateY(-12deg);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 292px;
  margin-top: 24px;
  padding: 56px 52px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 82% 10%, rgba(126, 30, 111, 0.4), transparent 38%),
    linear-gradient(110deg, #111018, #26101f 80%, #390e27);
  color: #fff;
}

.page-hero::before {
  right: -8%;
  bottom: -70%;
  width: 60%;
  height: 95%;
  border-width: 21px;
}

.page-hero .hero-copy {
  width: 62%;
}

.page-hero h1 {
  max-width: 630px;
  margin-bottom: 11px;
  font-size: clamp(38px, 4.7vw, 56px);
  letter-spacing: -2.5px;
  line-height: 1;
}

.page-hero .hero-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 0;
  font-size: 14px;
}

.page-hero .hero-portrait {
  right: 10%;
  width: 260px;
  height: 112%;
}

.page-hero .hero-note {
  top: 25%;
  right: 5%;
  font-size: 15px;
}

.section {
  padding-block: 34px 5px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 23px;
}

.section-kicker {
  display: block;
  margin-bottom: 7px;
  color: #ff6574;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-head h2,
.center-heading h2 {
  margin-bottom: 0;
  font-size: clamp(27px, 3vw, 35px);
  letter-spacing: -1.5px;
  line-height: 1.08;
}

.section-head > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ff6878;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.text-link:hover {
  color: white;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -1px;
  padding: 18px 10px;
  border: 1px solid var(--line);
  border-radius: 0 0 19px 19px;
  background: var(--panel);
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 6px 12px;
}

.feature-item + .feature-item {
  border-left: 1px solid var(--line);
}

.feature-icon,
.icon-box {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(241, 38, 53, 0.24);
  border-radius: 12px;
  background: rgba(241, 38, 53, 0.09);
  color: #ff5869;
}

.feature-icon svg,
.icon-box svg {
  width: 19px;
  height: 19px;
}

.feature-item strong,
.feature-item small {
  display: block;
}

.feature-item strong {
  font-size: 12px;
}

.feature-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.grid {
  display: grid;
  gap: 16px;
}

.course-grid,
.material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 38, 53, 0.35);
}

.course-art {
  position: relative;
  display: flex;
  min-height: 145px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 30%, rgba(244, 44, 75, 0.4), transparent 33%),
    linear-gradient(130deg, #25131f, #13121b 68%);
}

.course-art::before {
  position: absolute;
  right: -25px;
  bottom: -68px;
  width: 210px;
  height: 140px;
  border: 16px solid rgba(241, 38, 53, 0.8);
  border-radius: 50%;
  content: "";
  transform: rotate(-17deg);
}

.course-art .icon-box {
  position: relative;
  z-index: 1;
  width: 67px;
  height: 67px;
  border-radius: 19px;
  background: rgba(10, 9, 14, 0.75);
  color: white;
}

.course-art .icon-box svg {
  width: 34px;
  height: 34px;
}

.course-level {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  border-radius: 99px;
  background: rgba(9, 8, 13, 0.8);
  color: #ffb8bf;
  font-size: 9px;
  font-weight: 700;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.45px;
}

.card-body p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  color: #625c66;
  font-size: 10px;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-meta svg {
  width: 13px;
  height: 13px;
  color: #ff6878;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  color: var(--white);
  font-family: Outfit, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.price small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 400;
}

.button-small {
  min-height: 34px;
  padding-inline: 13px;
  font-size: 10px;
}

.center-heading {
  margin-bottom: 24px;
  text-align: center;
}

.center-heading .section-kicker {
  margin-bottom: 8px;
}

.center-heading p {
  max-width: 520px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.profile-overview {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  overflow: hidden;
  margin-top: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 23px;
  background:
    radial-gradient(ellipse at 12% 0, rgba(126, 30, 111, 0.32), transparent 48%),
    linear-gradient(115deg, #111018, #21101f 68%, #320f28);
  box-shadow: 0 18px 42px rgba(32, 18, 38, 0.12);
  color: #fff;
}

.profile-intro {
  position: relative;
  z-index: 1;
  padding: clamp(25px, 4vw, 46px);
}

.profile-intro .section-kicker {
  color: #ff7885;
}

.profile-intro h2 {
  margin-bottom: 13px;
  font-size: clamp(31px, 4vw, 46px);
  letter-spacing: -2px;
  line-height: 1.02;
}

.profile-intro h2 span {
  color: #ff6574;
}

.profile-intro > p {
  max-width: 580px;
  margin-bottom: 18px;
  color: #d1cad5;
  font-size: 13px;
  line-height: 1.75;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0 22px;
}

.profile-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f7f1f7;
  font-size: 10px;
  font-weight: 600;
}

.profile-tags svg {
  width: 13px;
  height: 13px;
  color: #ff6878;
}

.profile-intro .button-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(10, 9, 14, 0.2);
  color: #fff;
}

.profile-intro .button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.profile-snapshot {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 19px;
  overflow: hidden;
  padding: 30px clamp(22px, 3vw, 38px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 7, 12, 0.22);
}

.profile-snapshot::after {
  position: absolute;
  right: -85px;
  bottom: -125px;
  width: 230px;
  height: 230px;
  border: 22px solid rgba(241, 38, 53, 0.76);
  border-radius: 50%;
  content: "";
}

.snapshot-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}

.snapshot-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 82, 105, 0.36);
  border-radius: 15px;
  background: rgba(241, 38, 53, 0.16);
  color: #ff7381;
}

.snapshot-mark svg {
  width: 23px;
  height: 23px;
}

.snapshot-heading small,
.snapshot-heading strong {
  display: block;
}

.snapshot-heading small,
.snapshot-focus > span {
  color: #c4b8c8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.snapshot-heading strong {
  margin-top: 4px;
  font-family: Outfit, sans-serif;
  font-size: 20px;
}

.snapshot-focus {
  position: relative;
  z-index: 1;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.snapshot-focus > span {
  display: block;
  margin-bottom: 8px;
  color: #ff8994;
}

.snapshot-focus strong {
  font-family: Outfit, sans-serif;
  font-size: clamp(16px, 2vw, 21px);
}

.snapshot-focus i {
  color: #ff6878;
  font-style: normal;
}

.snapshot-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.snapshot-facts > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.snapshot-facts small,
.snapshot-facts strong {
  display: block;
}

.snapshot-facts small {
  margin-bottom: 6px;
  color: #c4b8c8;
  font-size: 9px;
}

.snapshot-facts strong {
  font-size: 11px;
}

.snapshot-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ded6e0;
  font-size: 10px;
}

.snapshot-foot svg {
  width: 15px;
  height: 15px;
  color: #ff6878;
}

.credentials-grid,
.philosophy-grid,
.achievements-profile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credential-card,
.philosophy-card,
.profile-achievement {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(106, 34, 92, 0.06), transparent 40%),
    var(--panel);
  box-shadow: 0 8px 22px rgba(32, 27, 34, 0.045);
}

.credential-card::before,
.philosophy-card::before,
.profile-achievement::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--pink), var(--violet));
  content: "";
}

.credential-top,
.achievement-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.credential-category,
.achievement-category {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(241, 38, 53, 0.08);
  color: var(--red-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.credential-card h3,
.profile-achievement h3 {
  margin-bottom: 7px;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.credential-card p,
.profile-achievement p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.credential-detail {
  color: var(--white) !important;
  font-size: 12px !important;
  font-weight: 700;
}

.credential-source {
  margin-top: 5px;
}

.expertise-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.expertise-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}

.expertise-card .icon-box {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.expertise-level {
  display: block;
  margin-bottom: 6px;
  color: var(--red-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.expertise-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.expertise-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.journey-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-list::before {
  position: absolute;
  top: 22px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(241, 38, 53, 0.15));
  content: "";
}

.journey-item {
  position: relative;
  padding-top: 52px;
}

.journey-marker {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 18px;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.journey-card {
  height: 100%;
  padding: 18px 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  box-shadow: 0 7px 20px rgba(32, 27, 34, 0.04);
}

.journey-year {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 800;
}

.journey-card h3 {
  margin-bottom: 7px;
  font-size: 15px;
}

.journey-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.philosophy-card {
  padding-top: 25px;
}

.philosophy-number {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 11px;
  background: rgba(241, 38, 53, 0.09);
  color: var(--red-dark);
  font-family: Outfit, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.philosophy-card h3 {
  margin-bottom: 7px;
  font-size: 16px;
}

.philosophy-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.achievement-prompt {
  display: inline-block;
  margin-top: 14px;
  color: var(--red-dark);
  font-size: 9px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--white);
  font-family: Outfit, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -1px;
}

.stat-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.tab {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--panel);
  color: #49434d;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.tab:hover,
.tab[aria-selected="true"] {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.schedule-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.schedule {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.schedule th,
.schedule td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.schedule th {
  background: var(--panel-light);
  color: #625c66;
  font-size: 10px;
  font-weight: 600;
}

.schedule tr:last-child td {
  border-bottom: 0;
}

.schedule td:first-child {
  color: var(--white);
  font-weight: 700;
}

.class-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #49434d;
}

.class-type::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5d70;
  content: "";
}

.class-type.physical::before {
  background: #9c7dff;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.achievement {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(106, 34, 92, 0.07), transparent 44%),
    var(--panel);
}

.achievement::after {
  position: absolute;
  top: -25px;
  right: -16px;
  color: rgba(106, 34, 92, 0.07);
  content: "✦";
  font-size: 100px;
}

.achievement .icon-box {
  margin-bottom: 20px;
}

.achievement h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.achievement p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.achievement strong {
  color: #ff6a78;
  font-size: 11px;
}

.material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.material-card {
  padding: 19px;
}

.material-card .icon-box {
  margin-bottom: 16px;
}

.material-card h3 {
  margin-bottom: 7px;
  font-size: 16px;
}

.material-card p {
  min-height: 38px;
  margin-bottom: 15px;
}

.material-type {
  display: inline-block;
  margin-bottom: 10px;
  color: #ff7180;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.contact-card h2 {
  margin-bottom: 7px;
  font-size: 22px;
  letter-spacing: -0.8px;
}

.contact-card > p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #49434d;
  font-size: 10px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 18, 27, 0.16);
  border-radius: 9px;
  outline: none;
  background: var(--panel);
  color: var(--white);
  font-size: 11px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(241, 38, 53, 0.75);
  box-shadow: 0 0 0 3px rgba(241, 38, 53, 0.12);
}

.field textarea {
  min-height: 94px;
  resize: vertical;
}

.form-submit {
  margin-top: 14px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.contact-item .icon-box {
  width: 38px;
  height: 38px;
}

.contact-item strong,
.contact-item small {
  display: block;
}

.contact-item strong {
  font-size: 11px;
}

.contact-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 90% 50%, rgba(241, 38, 53, 0.35), transparent 30%),
    linear-gradient(100deg, #1a121c, #27101d);
  color: #fff;
}

.cta-band h2 {
  margin-bottom: 5px;
  font-size: 21px;
  letter-spacing: -0.6px;
}

.cta-band p {
  margin-bottom: 0;
  color: #c0b9c5;
  font-size: 11px;
}

.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  background: #0d0b11;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding-block: 31px 25px;
}

.footer-about p {
  max-width: 290px;
  margin: 13px 0 0;
  color: #aaa4b0;
  font-size: 10px;
  line-height: 1.7;
}

.footer-col h3 {
  margin-bottom: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #aba5b0;
  font-size: 10px;
}

.footer-links a:hover {
  color: #ff6878;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-block: 13px 17px;
  border-top: 1px solid var(--line);
  color: #817b87;
  font-size: 9px;
}

.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.modal {
  width: min(480px, 100%);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: #17141d;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.5);
}

.modal-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.modal h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.modal p {
  color: #c0bac6;
  font-size: 12px;
  line-height: 1.7;
}

.modal-close {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #211d27;
  cursor: pointer;
}

.modal-close svg {
  width: 17px;
  height: 17px;
}

.toast {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 20px;
  max-width: min(390px, calc(100% - 40px));
  padding: 13px 17px;
  border: 1px solid rgba(142, 211, 173, 0.4);
  border-radius: 12px;
  background: #15241d;
  color: #ddffea;
  font-size: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.toast[hidden] {
  display: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-wrap {
    gap: 14px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-link {
    padding-inline: 7px;
    font-size: 10px;
  }

  .nav-cta {
    padding-inline: 12px;
    font-size: 10px;
  }

  .hero {
    padding-inline: 38px;
  }

  .hero-portrait {
    right: 5%;
    width: 40%;
  }

  .course-grid,
  .material-grid,
  .credentials-grid,
  .expertise-grid,
  .philosophy-grid,
  .achievements-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 28px, 540px);
  }

  .nav-wrap {
    min-height: 67px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 12px 14px 17px;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 9, 15, 0.98);
  }

  .nav-links.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .nav-link {
    padding: 11px 12px;
    font-size: 12px;
  }

  .nav-cta {
    grid-column: 1 / -1;
    margin: 5px 0 0;
    padding: 12px;
    text-align: center;
    font-size: 12px;
  }

  .hero {
    display: flex;
    min-height: 570px;
    align-items: start;
    margin-top: 14px;
    padding: 34px 25px 250px;
    border-radius: 20px;
  }

  .hero-home {
    min-height: 300px;
    align-items: center;
    margin-top: 10px;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .hero-home .hero-copy {
    width: 61%;
  }

  .hero-home .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .hero-home h1 {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: clamp(33px, 8.5vw, 43px);
    letter-spacing: -1.8px;
    line-height: 0.98;
  }

  .hero-home .hero-copy > p:not(.eyebrow) {
    max-width: 250px;
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.45;
  }

  .hero-home .hero-actions {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .hero-home .hero-actions .button {
    min-height: 32px;
    gap: 5px;
    padding-inline: 7px;
    font-size: 8px;
  }

  .hero-home .button svg {
    display: none;
  }

  .hero-home .hero-portrait {
    right: 7%;
    width: 43%;
    height: 96%;
  }

  .hero-home .hero-note {
    top: 10%;
    right: 2%;
    width: 56px;
    font-size: 11px;
  }

  .hero-home .hero-books {
    right: 0;
    bottom: 5px;
    width: 82px;
    height: 46px;
    transform: scale(0.9);
    transform-origin: right bottom;
  }

  .hero-home::before {
    right: -25%;
    bottom: -34%;
    width: 78%;
    height: 54%;
    border-width: 15px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 440px;
    font-size: clamp(42px, 11vw, 59px);
    letter-spacing: -2.8px;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 400px;
    font-size: 13px;
  }

  .hero-portrait {
    right: 17%;
    width: 61%;
    height: 53%;
  }

  .hero-note {
    top: auto;
    right: 5%;
    bottom: 125px;
    width: 90px;
    font-size: 14px;
  }

  .hero-books {
    right: 1%;
    bottom: 11px;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .hero::before {
    right: -26%;
    bottom: -18%;
    width: 110%;
    height: 38%;
    border-width: 17px;
  }

  .page-hero {
    min-height: 390px;
    margin-top: 14px;
    padding: 32px 24px 195px;
    border-radius: 20px;
  }

  .page-hero .hero-copy {
    width: 100%;
  }

  .page-hero h1 {
    font-size: clamp(38px, 10vw, 50px);
    letter-spacing: -2px;
  }

  .page-hero .hero-portrait {
    right: 17%;
    width: 49%;
    height: 57%;
  }

  .page-hero .hero-note {
    top: auto;
    right: 5%;
    bottom: 84px;
    width: 84px;
    font-size: 12px;
  }

  .page-hero::before {
    right: -28%;
    bottom: -27%;
    width: 112%;
    height: 48%;
    border-width: 15px;
  }

  .section {
    padding-top: 32px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .section-head > p {
    font-size: 12px;
  }

  .feature-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px 4px;
    padding-block: 17px;
    border-radius: 0 0 16px 16px;
  }

  .feature-item {
    justify-content: start;
    padding-inline: 10px;
  }

  .feature-item + .feature-item {
    border-left: 0;
  }

  .feature-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .feature-icon {
    width: 36px;
    height: 36px;
  }

  .profile-overview {
    grid-template-columns: 1fr;
    margin-top: 24px;
    border-radius: 19px;
  }

  .profile-intro {
    padding: 25px 22px;
  }

  .profile-intro h2 {
    font-size: clamp(30px, 8vw, 39px);
  }

  .profile-intro > p {
    font-size: 12px;
  }

  .profile-snapshot {
    gap: 14px;
    padding: 21px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .snapshot-focus strong {
    font-size: 18px;
  }

  .profile-overview .hero-actions .button {
    min-height: 40px;
  }

  .course-grid,
  .material-grid {
    grid-template-columns: 1fr;
  }

  .credentials-grid,
  .expertise-grid,
  .philosophy-grid,
  .achievements-profile-grid {
    grid-template-columns: 1fr;
  }

  .journey-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 4px;
  }

  .journey-list::before {
    top: 18px;
    bottom: 18px;
    left: 21px;
    width: 2px;
    height: auto;
  }

  .journey-item {
    min-height: 120px;
    padding: 0 0 0 52px;
  }

  .journey-marker {
    top: 14px;
    left: 4px;
  }

  .course-art {
    min-height: 160px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .schedule-wrap {
    overflow-x: auto;
  }

  .schedule {
    min-width: 630px;
  }

  .cta-band {
    align-items: start;
    flex-direction: column;
    margin-top: 30px;
    padding: 21px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 420px) {
  .shell {
    width: calc(100% - 24px);
  }
}

.student-account-section {
  margin-top: 40px;
}

.student-account-section [hidden],
#student-resource-library[hidden] {
  display: none !important;
}

.student-account-heading,
.student-dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.student-account-heading h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.student-account-heading p,
.student-auth-card > p,
.student-dashboard-heading p,
.student-resource-card p {
  color: var(--muted);
  line-height: 1.55;
}

.student-account-lock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(241, 38, 53, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.student-account-lock svg,
.student-status-card svg {
  width: 20px;
  height: 20px;
}

.student-message {
  padding: 14px 16px;
  border: 1px solid #e8bbc1;
  border-radius: 12px;
  background: #fff1f2;
  color: #861b2a;
  font-weight: 600;
  line-height: 1.5;
}

.student-message.is-success {
  border-color: #b7dfc8;
  background: #effaf3;
  color: #17653a;
}

.student-message a {
  display: inline-block;
  margin-left: 6px;
  color: inherit;
  font-weight: 800;
}

.student-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.student-auth-card,
.student-dashboard {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(32, 27, 34, 0.06);
}

.student-auth-step {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.student-auth-card h3,
.student-dashboard h3,
.student-resource-card h4 {
  margin: 8px 0;
  font-size: 20px;
}

.student-form,
.student-receipt-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.student-form label,
.student-receipt-form label,
.student-reset-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.student-form input,
.student-form select,
.student-receipt-form input,
.student-reset-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}

.student-form .button,
.student-receipt-form .button {
  justify-self: start;
  gap: 8px;
}

.student-form .button svg,
.student-receipt-form .button svg {
  width: 16px;
  height: 16px;
}

.student-text-button {
  margin-top: 12px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--red);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.student-reset-request {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.student-reset-form {
  display: grid;
  width: min(600px, 100%);
  gap: 14px;
  margin: 0 auto;
}

.student-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.student-dashboard {
  margin-top: 18px;
}

.student-dashboard-heading {
  align-items: center;
  margin-bottom: 16px;
}

.student-dashboard-heading h3 {
  margin: 5px 0;
}

.student-status-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(241, 38, 53, 0.2);
  border-radius: 14px;
  background: #fff6f6;
  color: var(--ink);
}

.student-status-card > span {
  color: var(--red);
}

.student-status-card p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.student-receipt-form {
  margin: 18px 0;
  padding: 16px;
  border: 1px dashed rgba(241, 38, 53, 0.35);
  border-radius: 14px;
  background: #fffafa;
}

.student-resource-library {
  margin-top: 28px;
}

.student-resource-library > h3 {
  margin: 0 0 14px;
}

.student-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.student-resource-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.student-resource-card h4 {
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}

.student-resource-card p {
  margin: 0 0 10px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.student-resource-card video {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: 10px;
  background: #16121a;
}

.student-download-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.student-download-card > span {
  color: var(--red);
}

.student-download-card > span svg {
  width: 28px;
  height: 28px;
}

.student-download-card > div {
  min-width: 0;
  flex: 1;
}

.student-resource-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
}

@media (max-width: 700px) {
  .student-auth-grid,
  .student-resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .student-account-heading {
    flex-direction: column;
    gap: 10px;
  }

  .student-dashboard-heading {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 590px;
    padding-inline: 20px;
  }

  .hero-home {
    min-height: 270px;
    padding-inline: 15px;
  }

  .hero-home .hero-copy {
    width: 62%;
  }

  .hero-home h1 {
    font-size: clamp(30px, 8.2vw, 36px);
    letter-spacing: -1.6px;
  }

  .hero-home .hero-portrait {
    right: 5%;
    width: 44%;
  }

  .hero-actions .button {
    padding-inline: 13px;
    font-size: 11px;
  }

  .page-hero {
    padding-inline: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .contact-card {
    padding: 19px;
  }
}

.about-section {
  padding-block: 24px 2px;
}

.about-section .section-head {
  align-items: center;
  gap: 28px;
  margin-bottom: 17px;
}

.about-section .section-kicker {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 10px;
}

.about-section .section-head h2 {
  font-size: clamp(23px, 2.6vw, 30px);
  letter-spacing: -1.1px;
}

.about-section .section-head > p {
  max-width: 370px;
  font-size: 12px;
  line-height: 1.65;
}

.about-section .grid {
  gap: 13px;
}

.about-section .credential-card,
.about-section .philosophy-card,
.about-section .profile-achievement {
  padding: 19px;
  border-color: rgba(37, 27, 40, 0.13);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(142, 53, 169, 0.075), transparent 43%),
    linear-gradient(145deg, #fff, #fbf8fb);
  box-shadow: 0 8px 22px rgba(37, 27, 40, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-section .credential-card:hover,
.about-section .philosophy-card:hover,
.about-section .profile-achievement:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 15, 40, 0.25);
  box-shadow: 0 15px 32px rgba(37, 27, 40, 0.1);
}

.about-section .credential-top,
.about-section .achievement-topline {
  margin-bottom: 15px;
}

.about-section .credential-card h3,
.about-section .profile-achievement h3 {
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.about-section .credential-card p,
.about-section .profile-achievement p,
.about-section .philosophy-card p {
  font-size: 11px;
  line-height: 1.6;
}

.about-section .credential-card .icon-box,
.about-section .profile-achievement .icon-box {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(241, 38, 53, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(241, 38, 53, 0.1), rgba(255, 82, 105, 0.035));
  color: var(--red);
}

.about-section .credential-category,
.about-section .achievement-category {
  padding: 6px 10px;
  background: rgba(241, 38, 53, 0.075);
  font-size: 8px;
  letter-spacing: 0.55px;
}

.about-section .expertise-card {
  gap: 10px;
  padding: 16px;
  border-color: rgba(37, 27, 40, 0.13);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #fbf8fb);
  box-shadow: 0 7px 20px rgba(37, 27, 40, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-section .expertise-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 28px rgba(37, 27, 40, 0.09);
}

.about-section .expertise-card .icon-box {
  width: 36px;
  height: 36px;
}

.about-section .expertise-card p,
.about-section .journey-card p {
  font-size: 11px;
  line-height: 1.6;
}

.about-section .journey-list {
  gap: 13px;
}

.about-section .journey-item {
  padding-top: 46px;
}

.about-section .journey-list::before {
  top: 20px;
}

.about-section .journey-marker {
  top: 2px;
  left: 16px;
  width: 36px;
  height: 36px;
}

.about-section .journey-card {
  padding: 16px;
  border-color: rgba(37, 27, 40, 0.13);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #fbf8fb);
  box-shadow: 0 7px 20px rgba(37, 27, 40, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-section .journey-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 28px rgba(37, 27, 40, 0.09);
}

.about-section .journey-year {
  margin-bottom: 8px;
  font-size: 10px;
}

.about-section .journey-card h3,
.about-section .philosophy-card h3 {
  font-size: 15px;
}

.about-section .philosophy-card {
  padding-top: 20px;
}

.about-section .philosophy-number {
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  border-radius: 10px;
  font-size: 12px;
}

.about-section.profile-overview {
  margin-top: 24px;
}

.about-section.profile-overview .profile-intro {
  padding: clamp(24px, 3vw, 36px);
}

.about-section.profile-overview .profile-snapshot {
  gap: 13px;
  padding: 22px clamp(20px, 2.5vw, 30px);
}

@media (max-width: 700px) {
  .about-section {
    padding-top: 24px;
  }

  .about-section .section-head {
    gap: 10px;
    margin-bottom: 14px;
  }

  .about-section .section-head h2 {
    font-size: 24px;
  }

  .about-section .section-head > p {
    max-width: 460px;
    font-size: 11px;
  }

  .about-section .credential-card,
  .about-section .philosophy-card,
  .about-section .profile-achievement {
    padding: 17px;
  }

  .about-section .journey-list {
    gap: 11px;
  }

  .about-section .journey-item {
    min-height: 102px;
    padding: 0 0 0 50px;
  }

  .about-section .journey-marker {
    top: 12px;
    left: 4px;
  }

  .about-section .journey-list::before {
    top: 17px;
    bottom: 17px;
    left: 21px;
    width: 2px;
    height: auto;
  }
}

.about-focus {
  display: grid;
  grid-template-columns: minmax(155px, 0.8fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  padding-block: 28px 20px;
}

.about-focus .focus-heading {
  padding-right: 22px;
}

.about-focus .focus-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 35px);
  letter-spacing: -1.5px;
  line-height: 0.98;
}

.about-focus .focus-heading h2 span,
.qualification-heading h2 span,
.philosophy-intro h2 span {
  color: var(--red);
}

.about-focus .focus-topic {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 13px;
  padding: 5px 16px;
  border-left: 1px solid var(--line);
}

.focus-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(241, 38, 53, 0.08);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(241, 38, 53, 0.11), rgba(140, 53, 169, 0.08));
  color: var(--red);
}

.focus-icon svg {
  width: 26px;
  height: 26px;
}

.focus-topic h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.focus-topic p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.about-qualifications {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-top: 34px;
}

.qualification-art {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 300px;
  align-items: center;
  justify-items: center;
}

.qualification-art::before,
.qualification-art::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.qualification-art::before {
  inset: 5% 1% 2% 12%;
  border-radius: 29px;
  background: linear-gradient(145deg, rgba(255, 82, 105, 0.21), rgba(140, 53, 169, 0.1));
  transform: rotate(-7deg);
}

.qualification-art::after {
  right: -3%;
  bottom: 13%;
  left: -4%;
  height: 37%;
  border: 10px solid rgba(241, 38, 53, 0.92);
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-16deg);
}

.qualification-art img {
  width: 91%;
  height: 248px;
  border: 5px solid white;
  border-radius: 25px;
  box-shadow: 0 18px 42px rgba(32, 27, 34, 0.18);
  object-fit: cover;
  object-position: center;
}

.qualification-art-caption {
  position: absolute;
  right: 3%;
  bottom: 4%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(18, 15, 22, 0.8);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.qualification-art-caption svg {
  width: 15px;
  height: 15px;
  color: #ff7381;
}

.qualification-heading {
  margin-bottom: 16px;
}

.qualification-heading .section-kicker {
  margin-bottom: 5px;
}

.qualification-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(23px, 2.7vw, 31px);
  letter-spacing: -1.2px;
  line-height: 1.05;
}

.qualification-heading > p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.qualification-details {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(140px, 0.75fr);
  align-items: stretch;
  gap: 16px;
}

.qualification-list {
  display: grid;
  align-content: center;
}

.qualification-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 10px 13px 0;
}

.qualification-row + .qualification-row {
  border-top: 1px solid var(--line);
}

.qualification-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(241, 38, 53, 0.11);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(241, 38, 53, 0.11), rgba(255, 82, 105, 0.035));
  color: var(--red);
}

.qualification-icon svg {
  width: 23px;
  height: 23px;
}

.qualification-row h3,
.training-card h3 {
  margin: 0 0 3px;
  font-size: 13px;
}

.qualification-row strong,
.training-card strong {
  display: block;
  font-size: 11px;
}

.qualification-row p,
.training-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.qualification-row i,
.training-card i {
  color: var(--red);
  font-style: normal;
}

.training-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 17px;
  border: 1px solid rgba(140, 53, 169, 0.1);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(241, 38, 53, 0.09), rgba(140, 53, 169, 0.08));
}

.training-card .qualification-icon {
  margin-bottom: 12px;
}

.about-journey {
  padding-top: 32px;
}

.about-journey .section-head {
  margin-bottom: 17px;
}

.about-journey .section-head h2 .accent {
  color: var(--red);
}

.journey-track {
  position: relative;
  padding-top: 2px;
}

.about-journey .journey-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-journey .journey-list::before {
  display: none;
}

.about-journey .journey-item {
  z-index: 1;
  min-width: 0;
  padding: 42px 0 0;
}

.about-journey .journey-item:nth-child(2) {
  padding-top: 53px;
}

.about-journey .journey-item:nth-child(3) {
  padding-top: 45px;
}

.about-journey .journey-item:nth-child(4) {
  padding-top: 31px;
}

.about-journey .journey-marker {
  top: 0;
  left: 50%;
  width: 36px;
  height: 36px;
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 2px rgba(241, 38, 53, 0.12);
  transform: translateX(-50%);
}

.about-journey .journey-marker svg {
  width: 15px;
  height: 15px;
}

.about-journey .journey-card {
  min-height: 145px;
  padding: 16px;
  border-color: rgba(37, 27, 40, 0.06);
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #f8f4f8);
  box-shadow: 0 9px 22px rgba(37, 27, 40, 0.07);
}

.about-journey .journey-item-current .journey-card {
  border-color: rgba(255, 255, 255, 0.15);
  background:
    radial-gradient(ellipse at 100% 0, rgba(126, 30, 111, 0.45), transparent 55%),
    linear-gradient(140deg, #21101f, #3b1234);
  box-shadow: 0 14px 30px rgba(32, 18, 38, 0.2);
  color: #fff;
}

.journey-item-current .journey-card p {
  color: #ded6e0;
}

.journey-item-current .journey-year {
  color: #ff7381;
}

.journey-year {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.about-philosophy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 32px;
  overflow: hidden;
  margin-top: 30px;
  padding: 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 20% 0, rgba(126, 30, 111, 0.32), transparent 48%),
    linear-gradient(110deg, #111018, #26101f 80%, #390e27);
  box-shadow: 0 16px 38px rgba(32, 18, 38, 0.12);
  color: #fff;
}

.about-philosophy::after {
  position: absolute;
  right: -5%;
  bottom: -155px;
  width: 330px;
  height: 190px;
  border: 14px solid rgba(241, 38, 53, 0.74);
  border-radius: 50%;
  content: "";
}

.philosophy-intro {
  position: relative;
  z-index: 1;
  padding-right: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.philosophy-intro .section-kicker {
  color: #ff7381;
}

.philosophy-intro h2 {
  margin-bottom: 9px;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: -1.2px;
  line-height: 1.08;
}

.philosophy-intro h2 span {
  color: #ff6574;
}

.philosophy-intro > p {
  max-width: 470px;
  margin: 0;
  color: #d1cad5;
  font-size: 11px;
  line-height: 1.65;
}

.philosophy-pillars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.philosophy-pillar {
  min-width: 0;
  padding: 3px 4px;
}

.philosophy-pillar > span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  place-items: center;
  border: 1px solid rgba(255, 82, 105, 0.16);
  border-radius: 50%;
  background: rgba(241, 38, 53, 0.16);
  color: #ff7381;
}

.philosophy-pillar svg {
  width: 21px;
  height: 21px;
}

.philosophy-pillar h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.philosophy-pillar p {
  margin: 0;
  color: #d1cad5;
  font-size: 10px;
  line-height: 1.55;
}

.about-progress {
  padding-top: 30px;
}

.about-progress .section-head {
  margin-bottom: 15px;
}

.progress-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.55fr);
  align-items: stretch;
  gap: 20px;
}

.progress-highlights {
  display: grid;
  align-content: center;
  gap: 10px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.progress-highlight {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 13px;
  border: 1px solid rgba(140, 53, 169, 0.08);
  border-radius: 15px;
  background: linear-gradient(110deg, rgba(241, 38, 53, 0.075), rgba(140, 53, 169, 0.055));
}

.progress-highlight > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--red);
}

.progress-highlight svg {
  width: 22px;
  height: 22px;
}

.progress-highlight h3 {
  margin: 0 0 3px;
  font-size: 14px;
}

.progress-highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.progress-story {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 225px;
  align-items: center;
  overflow: hidden;
  padding: 25px 32px;
  border-radius: 20px;
  background: linear-gradient(120deg, #271226, #613059);
  color: #fff;
}

.progress-story > img,
.progress-story-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.progress-story > img {
  object-fit: cover;
  object-position: center 43%;
}

.progress-story-shade {
  background: linear-gradient(90deg, rgba(31, 13, 30, 0.97) 0%, rgba(52, 18, 48, 0.88) 45%, rgba(42, 17, 38, 0.13) 100%);
}

.progress-story-copy {
  position: relative;
  max-width: 53%;
}

.progress-story-copy .section-kicker {
  margin-bottom: 8px;
  color: #ff8792;
}

.progress-story-copy h3 {
  margin-bottom: 8px;
  font-size: clamp(20px, 2.6vw, 29px);
  letter-spacing: -0.8px;
  line-height: 1.08;
}

.progress-story-copy p {
  margin: 0;
  color: #eee5ee;
  font-size: 11px;
  line-height: 1.6;
}

.story-quote-mark {
  display: block;
  height: 35px;
  color: #ff536a;
  font-family: Georgia, serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
}

.story-decoration {
  position: absolute;
  right: -72px;
  bottom: -132px;
  width: 265px;
  height: 220px;
  border: 14px solid rgba(241, 38, 53, 0.8);
  border-radius: 50%;
  transform: rotate(-18deg);
}

@media (max-width: 900px) {
  .about-focus {
    grid-template-columns: minmax(150px, 0.75fr) repeat(3, minmax(0, 1fr));
  }

  .about-focus .focus-topic {
    gap: 9px;
    padding-inline: 11px;
  }

  .focus-icon {
    width: 43px;
    height: 43px;
  }

  .about-qualifications {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: 24px;
  }

  .qualification-art {
    min-height: 260px;
  }

  .qualification-art img {
    height: 215px;
  }

  .qualification-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .training-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    padding: 12px;
  }

  .training-card .qualification-icon {
    grid-row: span 3;
    margin: 0;
  }

  .training-card h3,
  .training-card strong,
  .training-card p {
    grid-column: 2;
  }

  .about-philosophy {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 22px;
    padding-inline: 23px;
  }

  .progress-layout {
    grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.3fr);
    gap: 14px;
  }

  .progress-highlights {
    padding-right: 13px;
  }

  .progress-highlight {
    gap: 9px;
    padding: 10px;
  }

  .progress-highlight > span {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 700px) {
  .about-focus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
    padding-top: 23px;
  }

  .about-focus .focus-heading {
    grid-column: 1 / -1;
    padding: 0;
  }

  .about-focus .focus-heading h2 br {
    display: none;
  }

  .about-focus .focus-topic {
    min-height: 65px;
    padding: 5px 9px;
  }

  .about-focus .focus-topic:nth-of-type(2) {
    border-left: 0;
  }

  .about-focus .focus-topic h3 {
    font-size: 13px;
  }

  .about-focus .focus-topic p {
    font-size: 9px;
  }

  .focus-icon {
    width: 38px;
    height: 38px;
  }

  .focus-icon svg {
    width: 20px;
    height: 20px;
  }

  .about-qualifications {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    padding-top: 25px;
  }

  .qualification-art {
    min-height: 220px;
  }

  .qualification-art img {
    width: 92%;
    height: 205px;
  }

  .qualification-art-caption {
    right: 2%;
    bottom: 1%;
  }

  .qualification-heading h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .qualification-details {
    grid-template-columns: minmax(0, 1.35fr) minmax(120px, 0.8fr);
    gap: 10px;
  }

  .qualification-row {
    gap: 9px;
    padding-block: 11px;
  }

  .qualification-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .qualification-icon svg {
    width: 19px;
    height: 19px;
  }

  .qualification-row h3,
  .training-card h3 {
    font-size: 11px;
  }

  .qualification-row strong,
  .training-card strong {
    font-size: 9px;
  }

  .qualification-row p,
  .training-card p {
    font-size: 9px;
  }

  .training-card {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: start;
    padding: 12px;
  }

  .training-card .qualification-icon {
    grid-row: auto;
    margin: 0 0 10px;
  }

  .training-card h3,
  .training-card strong,
  .training-card p {
    grid-column: auto;
  }

  .about-journey {
    padding-top: 25px;
  }

  .about-journey .section-head {
    margin-bottom: 12px;
  }

  .about-journey .journey-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    padding-left: 2px;
  }

  .about-journey .journey-list::before {
    display: block;
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 18px;
    width: 2px;
    height: auto;
    background: linear-gradient(var(--red), rgba(241, 38, 53, 0.12));
    content: "";
  }

  .about-journey .journey-item,
  .about-journey .journey-item:nth-child(2),
  .about-journey .journey-item:nth-child(3),
  .about-journey .journey-item:nth-child(4) {
    min-height: 112px;
    padding: 0 0 0 47px;
  }

  .about-journey .journey-marker {
    top: 11px;
    left: 1px;
  }

  .about-journey .journey-card {
    min-height: 0;
    padding: 14px;
  }

  .about-philosophy {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 24px;
    padding: 21px;
    border-radius: 18px;
  }

  .philosophy-intro {
    padding: 0 0 15px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .philosophy-intro h2 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .philosophy-pillars {
    gap: 9px;
  }

  .philosophy-pillar > span {
    width: 34px;
    height: 34px;
    margin-bottom: 7px;
  }

  .philosophy-pillar svg {
    width: 18px;
    height: 18px;
  }

  .philosophy-pillar h3 {
    font-size: 12px;
  }

  .philosophy-pillar p {
    font-size: 9px;
  }

  .progress-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .progress-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 0 0 13px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .progress-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 10px;
  }

  .progress-highlight > span {
    width: 32px;
    height: 32px;
  }

  .progress-highlight svg {
    width: 18px;
    height: 18px;
  }

  .progress-highlight h3 {
    font-size: 10px;
  }

  .progress-highlight p {
    font-size: 8px;
  }

  .progress-story {
    min-height: 220px;
    padding: 20px;
    border-radius: 17px;
  }

  .progress-story-copy {
    max-width: 72%;
  }
}

.classes-hero {
  min-height: 270px;
  padding: 38px 44px;
}

.classes-hero .hero-copy {
  width: min(63%, 660px);
}

.classes-hero h1 {
  max-width: 640px;
  margin-bottom: 9px;
  font-size: clamp(42px, 5vw, 58px);
}

.classes-hero .hero-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin-bottom: 14px;
  font-size: 13px;
}

.classes-hero .hero-portrait {
  right: 9%;
  width: min(31%, 350px);
  height: 118%;
}

.classes-hero .hero-note {
  top: 27%;
  right: 5%;
  width: 100px;
  font-size: 14px;
}

.classes-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.classes-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f5edf4;
  font-size: 10px;
  font-weight: 600;
}

.classes-hero-points svg {
  width: 16px;
  height: 16px;
  color: #ff566b;
}

.classes-catalog {
  padding-top: 20px;
}

.classes-heading {
  margin-bottom: 17px;
}

.classes-heading .section-kicker {
  margin-bottom: 5px;
  color: var(--red);
  font-size: 10px;
}

.classes-heading h2 {
  font-size: clamp(23px, 3vw, 32px);
}

.classes-heading p {
  margin-top: 7px;
  font-size: 11px;
}

.class-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.class-category-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 176px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(24, 18, 27, 0.13);
  border-radius: 17px;
  background-color: #1a1420;
  background-image:
    linear-gradient(90deg, rgba(16, 13, 20, 0.92), rgba(24, 14, 26, 0.66) 61%, rgba(12, 12, 17, 0.3)),
    linear-gradient(0deg, rgba(15, 11, 18, 0.86), transparent 72%),
    var(--class-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.class-category-card::after {
  position: absolute;
  z-index: -1;
  right: -52px;
  bottom: -96px;
  width: 220px;
  height: 160px;
  border: 13px solid rgba(241, 38, 53, 0.58);
  border-radius: 50%;
  content: "";
  transform: rotate(-17deg);
  transition: transform 220ms ease;
}

.class-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(32, 18, 38, 0.15);
}

.class-category-card:hover::after {
  transform: rotate(-17deg) scale(1.08);
}

.class-category-card.is-selected {
  border: 2px solid #ff4058;
  box-shadow: 0 0 0 3px rgba(241, 38, 53, 0.12), 0 12px 26px rgba(32, 18, 38, 0.16);
}

.class-card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 12, 19, 0.64);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.class-category-card.is-selected .class-card-status {
  border-color: transparent;
  background: var(--red);
}

.class-card-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 7px;
  place-items: center;
  color: #fff;
}

.class-card-icon svg {
  width: 32px;
  height: 32px;
}

.class-category-card.is-selected .class-card-icon {
  color: #ff4359;
}

.class-card-copy {
  display: grid;
  gap: 4px;
  max-width: 88%;
}

.class-card-copy strong {
  font-family: Outfit, sans-serif;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.class-card-copy small {
  color: rgba(255, 255, 255, 0.83);
  font-size: 9px;
  line-height: 1.45;
}

.class-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.class-card-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(15, 12, 19, 0.48);
  color: #fff;
  font-size: 8px;
}

.class-card-tags svg {
  width: 12px;
  height: 12px;
  color: #ff6878;
}

.class-card-arrow {
  position: absolute;
  right: 12px;
  bottom: 14px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #21101f;
  transition: background 160ms ease, color 160ms ease;
}

.class-card-arrow svg {
  width: 16px;
  height: 16px;
}

.class-category-card.is-selected .class-card-arrow {
  background: var(--red);
  color: #fff;
}

.class-program-section {
  padding-top: 19px;
}

.class-dashboard {
  overflow: hidden;
  border: 1px solid rgba(49, 35, 54, 0.14);
  border-radius: 18px;
  background: linear-gradient(145deg, #fcfafd, #f8f5f9);
  box-shadow: 0 8px 26px rgba(32, 27, 34, 0.055);
}

.class-dashboard-header {
  display: flex;
  min-height: 61px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 17px;
  border-bottom: 1px solid rgba(49, 35, 54, 0.1);
}

.class-dashboard-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.class-dashboard-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--red);
}

.class-dashboard-icon svg {
  width: 26px;
  height: 26px;
}

.class-dashboard-title strong,
.class-dashboard-title small {
  display: block;
}

.class-dashboard-title strong {
  font-family: Outfit, sans-serif;
  font-size: 18px;
  letter-spacing: -0.4px;
}

.class-dashboard-title small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.class-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid rgba(140, 53, 169, 0.1);
  border-radius: 999px;
  background: rgba(140, 53, 169, 0.06);
  color: #51425b;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.class-preview-badge svg {
  width: 13px;
  height: 13px;
  color: var(--violet);
}

.class-dashboard-body {
  display: grid;
  grid-template-columns: minmax(255px, 0.72fr) minmax(0, 1.35fr);
  gap: 13px;
  padding: 13px;
}

.class-module-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.class-module {
  overflow: hidden;
  border: 1px solid rgba(49, 35, 54, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
}

.class-module-toggle {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.class-module-toggle > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.class-module-toggle small {
  flex: 0 0 auto;
  color: var(--red-dark);
  font-size: 8px;
  font-weight: 800;
}

.class-module-toggle strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.class-module-toggle > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #776681;
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.class-module-toggle[aria-expanded="true"] {
  background: linear-gradient(90deg, rgba(241, 38, 53, 0.085), rgba(140, 53, 169, 0.035));
}

.class-module-toggle[aria-expanded="true"] > svg {
  color: var(--red);
  transform: rotate(-90deg);
}

.class-module-lessons {
  padding: 2px 6px 7px;
}

.class-lesson-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 7px;
  padding: 7px 6px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #38323d;
  cursor: pointer;
  text-align: left;
}

.class-lesson-row:hover,
.class-lesson-row.is-active {
  background: rgba(241, 38, 53, 0.09);
  color: var(--red-dark);
}

.class-lesson-play {
  display: grid;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(47, 39, 51, 0.25);
  border-radius: 50%;
}

.class-lesson-play svg {
  width: 9px;
  height: 9px;
  margin-left: 1px;
}

.class-lesson-name {
  overflow: hidden;
  flex: 1 1 auto;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.class-lesson-duration {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 8px;
}

.class-lesson-preview {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(49, 35, 54, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
}

.class-lesson-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.class-lesson-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.class-lesson-heading h2 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -0.25px;
}

.class-lesson-tag {
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(140, 53, 169, 0.08);
  color: #644273;
  font-size: 8px;
  font-weight: 700;
}

.class-video-preview {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  padding: 20px;
  border-radius: 11px;
  background-color: #221822;
  background-image: linear-gradient(110deg, rgba(18, 13, 20, 0.79), rgba(34, 17, 34, 0.56)), var(--lesson-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.class-video-preview::after {
  position: absolute;
  z-index: -1;
  right: -57px;
  bottom: -122px;
  width: 250px;
  height: 180px;
  border: 14px solid rgba(241, 38, 53, 0.68);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
}

.class-video-overlay {
  display: grid;
  justify-items: center;
  max-width: 340px;
}

.class-video-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.57);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.19);
  color: #fff;
  backdrop-filter: blur(7px);
}

.class-video-icon svg {
  width: 21px;
  height: 21px;
  margin-left: 2px;
}

.class-video-overlay > strong {
  font-family: Outfit, sans-serif;
  font-size: 17px;
}

.class-video-overlay > p {
  margin: 5px 0 11px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
  line-height: 1.5;
}

.class-video-overlay .button {
  min-height: 34px;
  padding-inline: 12px;
  font-size: 10px;
}

.class-video-duration {
  position: absolute;
  right: 10px;
  bottom: 9px;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(12, 10, 15, 0.75);
  color: #fff;
  font-size: 9px;
}

.class-lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  padding-top: 10px;
}

.class-lesson-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #534b59;
  font-size: 8px;
  font-weight: 600;
}

.class-lesson-meta svg {
  width: 12px;
  height: 12px;
  color: var(--red-dark);
}

.class-benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 5px;
  padding: 16px 3px;
}

.class-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 4px 10px;
}

.class-benefit + .class-benefit {
  border-left: 1px solid var(--line);
}

.class-benefit > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--red);
}

.class-benefit > span svg {
  width: 21px;
  height: 21px;
}

.class-benefit strong,
.class-benefit small {
  display: block;
}

.class-benefit strong {
  font-size: 9px;
}

.class-benefit small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.classes-page-cta {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .classes-hero {
    min-height: 255px;
    padding: 33px 34px;
  }

  .classes-hero .hero-portrait {
    right: 7%;
    width: 35%;
  }

  .class-category-grid {
    gap: 10px;
  }

  .class-category-card {
    min-height: 165px;
    padding: 14px;
  }

  .class-card-copy strong {
    font-size: 17px;
  }

  .class-dashboard-body {
    grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
    gap: 9px;
    padding: 9px;
  }

  .class-video-preview {
    min-height: 215px;
  }

  .class-benefit {
    gap: 6px;
    padding-inline: 7px;
  }
}

@media (max-width: 700px) {
  .classes-hero {
    min-height: 340px;
    margin-top: 14px;
    padding: 27px 22px 178px;
    border-radius: 19px;
  }

  .classes-hero .hero-copy {
    width: 100%;
  }

  .classes-hero h1 {
    max-width: 75%;
    font-size: clamp(34px, 9vw, 45px);
    letter-spacing: -2px;
  }

  .classes-hero .hero-copy > p:not(.eyebrow) {
    max-width: 75%;
    font-size: 11px;
  }

  .classes-hero-points {
    max-width: 80%;
    gap: 8px 12px;
  }

  .classes-hero-points span {
    gap: 5px;
    font-size: 8px;
  }

  .classes-hero-points svg {
    width: 13px;
    height: 13px;
  }

  .classes-hero .hero-portrait {
    right: 13%;
    width: 48%;
    height: 59%;
  }

  .classes-hero .hero-note {
    right: 4%;
    bottom: 78px;
    width: 72px;
    font-size: 10px;
  }

  .classes-catalog {
    padding-top: 24px;
  }

  .classes-heading {
    margin-bottom: 13px;
  }

  .classes-heading h2 {
    font-size: 25px;
  }

  .class-category-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .class-category-card {
    min-height: 152px;
    padding: 15px;
  }

  .class-card-copy {
    max-width: 82%;
  }

  .class-card-copy small {
    max-width: 400px;
  }

  .class-program-section {
    padding-top: 15px;
  }

  .class-dashboard {
    border-radius: 15px;
  }

  .class-dashboard-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 12px;
  }

  .class-dashboard-title strong {
    font-size: 16px;
  }

  .class-preview-badge {
    margin-left: 43px;
    font-size: 8px;
  }

  .class-dashboard-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 9px;
  }

  .class-module-list {
    gap: 6px;
  }

  .class-lesson-name {
    font-size: 9px;
  }

  .class-lesson-preview {
    padding: 9px;
  }

  .class-lesson-heading h2 {
    font-size: 13px;
  }

  .class-video-preview {
    min-height: 220px;
  }

  .class-lesson-meta {
    gap: 8px 12px;
  }

  .class-benefit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 0;
    padding-block: 15px;
  }

  .class-benefit {
    justify-content: flex-start;
    padding-inline: 9px;
  }

  .class-benefit:nth-child(odd) {
    border-left: 0;
  }

  .class-benefit:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .class-benefit strong {
    font-size: 8px;
  }

  .class-benefit small {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.lesson-catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.lesson-catalog-heading h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 32px);
}

.lesson-catalog-heading p {
  max-width: 390px;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.class-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lesson-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(245px, 0.8fr);
  align-items: start;
  gap: 16px;
}

.lesson-course-panel,
.lesson-sidebar-card,
.lesson-access-card {
  min-width: 0;
  border: 1px solid rgba(49, 35, 54, 0.12);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(32, 27, 34, 0.045);
}

.lesson-course-panel {
  overflow: hidden;
  padding: 18px;
}

.lesson-course-overview {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 19px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.lesson-course-image {
  position: relative;
  display: flex;
  min-height: 138px;
  align-items: end;
  overflow: hidden;
  padding: 13px;
  border-radius: 13px;
  background-color: #261b2a;
  background-image: linear-gradient(0deg, rgba(15, 11, 18, 0.82), rgba(15, 11, 18, 0.05) 76%), var(--course-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.lesson-course-image span {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.lesson-course-summary h2 {
  margin: 0 0 7px;
  font-size: clamp(18px, 2.2vw, 23px);
  letter-spacing: -0.5px;
}

.lesson-course-summary > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.lesson-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  margin-top: 13px;
}

.lesson-course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #57515d;
  font-size: 9px;
  font-weight: 600;
}

.lesson-course-meta svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.lesson-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 0 10px;
}

.lesson-list-heading h3 {
  margin: 0;
  font-size: 15px;
}

.lesson-expand-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--red-dark);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.lesson-expand-all:hover {
  background: rgba(241, 38, 53, 0.07);
}

.lesson-expand-all svg {
  width: 13px;
  height: 13px;
}

.lesson-module-list {
  display: grid;
  gap: 8px;
}

.lesson-module {
  overflow: hidden;
  border: 1px solid rgba(49, 35, 54, 0.1);
  border-radius: 11px;
  background: #fff;
}

.lesson-module-toggle {
  display: grid;
  width: 100%;
  min-height: 58px;
  grid-template-columns: 36px minmax(0, 1fr) auto 32px;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border: 0;
  background: #fff;
  color: #302935;
  cursor: pointer;
  text-align: left;
  transition: background 160ms ease;
}

.lesson-module-toggle:hover,
.lesson-module-toggle[aria-expanded="true"] {
  background: linear-gradient(100deg, #fff8f9, #fff 72%);
}

.lesson-module-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(241, 38, 53, 0.12);
  border-radius: 11px;
  background: linear-gradient(145deg, #fff0f2, #ffe5e9);
  color: #c91d31;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(175, 31, 51, 0.09);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.lesson-module-toggle:hover .lesson-module-number,
.lesson-module-toggle[aria-expanded="true"] .lesson-module-number {
  border-color: transparent;
  background: linear-gradient(145deg, #f6384b, #d91e35);
  color: #fff;
  box-shadow: 0 4px 10px rgba(217, 30, 53, 0.22);
}

.lesson-module-toggle strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-module-count {
  padding: 6px 10px;
  border: 1px solid rgba(92, 75, 96, 0.08);
  border-radius: 999px;
  background: #f8f6f8;
  color: #625968;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.lesson-module-toggle > svg {
  width: 32px;
  height: 32px;
  padding: 8px;
  border: 1px solid rgba(92, 75, 96, 0.1);
  border-radius: 50%;
  background: #fff;
  color: #746b77;
  transform: rotate(90deg);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.lesson-module-toggle[aria-expanded="true"] > svg {
  border-color: rgba(241, 38, 53, 0.16);
  background: #fff0f2;
  color: var(--red-dark);
  transform: rotate(-90deg);
}

.lesson-module-toggle:hover .lesson-module-count,
.lesson-module-toggle[aria-expanded="true"] .lesson-module-count {
  border-color: rgba(241, 38, 53, 0.12);
  background: #fff0f2;
  color: #b91f32;
}

.lesson-module-items {
  display: grid;
  padding: 0 10px 9px;
}

.lesson-module-items[hidden] {
  display: none;
}

.lesson-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 8px 1px;
  border-top: 1px solid rgba(49, 35, 54, 0.08);
}

.lesson-select {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #342d38;
  cursor: pointer;
  text-align: left;
}

.lesson-thumb {
  position: relative;
  display: grid;
  width: 51px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background-color: #291d2c;
  background-image: linear-gradient(rgba(18, 12, 21, 0.2), rgba(18, 12, 21, 0.35)), var(--lesson-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.lesson-thumb svg {
  width: 16px;
  height: 16px;
}

.lesson-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.lesson-copy strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-length {
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

.lesson-access {
  padding: 5px 7px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.lesson-access.is-free {
  background: rgba(36, 148, 88, 0.1);
  color: #167443;
}

.lesson-access.is-locked {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  background: linear-gradient(135deg, #f8edf1, #f2eaf5);
  color: #704155;
  font-size: 10px;
  box-shadow: inset 0 0 0 1px rgba(139, 71, 103, 0.08);
}

.lesson-access.is-locked svg {
  width: 12px;
  height: 12px;
}

.lesson-action {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 8px;
  border: 1px solid rgba(241, 38, 53, 0.2);
  border-radius: 7px;
  background: #fff;
  color: var(--red-dark);
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.lesson-action:hover {
  background: rgba(241, 38, 53, 0.07);
}

.lesson-action.is-locked {
  min-height: 34px;
  padding: 6px 10px;
  border-color: rgba(139, 71, 103, 0.2);
  background: linear-gradient(135deg, #fff8fa, #f8f1fa);
  color: #704155;
  font-size: 10px;
  box-shadow: 0 3px 10px rgba(74, 38, 65, 0.07);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.lesson-action.is-locked:hover {
  border-color: rgba(139, 71, 103, 0.38);
  background: linear-gradient(135deg, #fcebf0, #f1e8f7);
  box-shadow: 0 5px 14px rgba(74, 38, 65, 0.12);
  transform: translateY(-1px);
}

.lesson-item.is-locked .lesson-thumb {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-image: linear-gradient(rgba(35, 21, 39, 0.48), rgba(50, 29, 49, 0.62)), var(--lesson-image);
  box-shadow: 0 3px 9px rgba(48, 30, 48, 0.16);
}

.lesson-item.is-locked .lesson-thumb svg {
  width: 17px;
  height: 17px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.lesson-action svg {
  width: 12px;
  height: 12px;
}

.lesson-sidebar {
  display: grid;
  gap: 12px;
}

.lesson-sidebar-card,
.lesson-access-card {
  padding: 16px;
}

.lesson-sidebar-card h3,
.lesson-access-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
}

.lesson-sidebar-card h3 svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.lesson-about-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-about-card li {
  display: flex;
  align-items: start;
  gap: 7px;
  color: #5b5560;
  font-size: 9px;
  line-height: 1.55;
}

.lesson-about-card li svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: #27945b;
}

.lesson-access-card {
  padding: 19px;
  border: 1px solid rgba(255, 112, 137, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(226, 40, 83, 0.2), transparent 58%),
    linear-gradient(145deg, #21131f, #351329 72%, #40132c);
  color: #fff;
  box-shadow: 0 12px 25px rgba(48, 15, 39, 0.16);
}

.lesson-access-emblem {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin: 0 10px 0 0;
  vertical-align: middle;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: linear-gradient(145deg, #ff5366, #d51f4a);
  color: #fff;
  box-shadow: 0 5px 14px rgba(239, 35, 75, 0.25);
}

.lesson-access-emblem svg {
  width: 20px;
  height: 20px;
}

.lesson-access-card h3 {
  display: inline-flex;
  margin: 0;
  font-size: 15px;
  vertical-align: middle;
}

.lesson-access-card p,
.lesson-progress-card p {
  margin: 13px 0 16px;
  color: #d3cad5;
  font-size: 11px;
  line-height: 1.55;
}

.lesson-access-card .button {
  width: 100%;
  min-height: 43px;
  padding: 9px 12px;
  border-radius: 12px;
  background: linear-gradient(100deg, #ff374a, #ed203b);
  box-shadow: 0 5px 15px rgba(232, 28, 57, 0.25);
  font-size: 11px;
}

.lesson-access-card .button:hover {
  background: linear-gradient(100deg, #ff4d5d, #f52a45);
  box-shadow: 0 7px 18px rgba(232, 28, 57, 0.34);
  transform: translateY(-1px);
}

.lesson-access-card .button svg:last-child {
  margin-left: auto;
}

.lesson-progress-card p {
  color: var(--muted);
}

.lesson-progress-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(93, 82, 99, 0.13);
}

.lesson-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #d75c83);
}

.lesson-progress-card > small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
}

.lessons-free-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding: 17px 19px;
  border: 1px solid rgba(241, 38, 53, 0.15);
  border-radius: 15px;
  background: linear-gradient(100deg, #fff, #fff6f7);
}

.lessons-free-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: rgba(241, 38, 53, 0.09);
  color: var(--red);
}

.lessons-free-icon svg {
  width: 19px;
  height: 19px;
}

.lessons-free-banner > div {
  flex: 1 1 auto;
}

.lessons-free-banner h2 {
  margin: 0 0 3px;
  font-size: 14px;
}

.lessons-free-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.lessons-free-banner .button svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .class-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-dashboard {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.8fr);
    gap: 10px;
  }

  .lesson-course-panel {
    padding: 13px;
  }

  .lesson-course-overview {
    grid-template-columns: minmax(125px, 0.72fr) minmax(0, 1.28fr);
    gap: 12px;
  }

  .lesson-course-image {
    min-height: 120px;
  }

  .lesson-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }

  .lesson-length {
    display: none;
  }
}

@media (max-width: 700px) {
  .lesson-catalog-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .lesson-catalog-heading p {
    max-width: none;
  }

  .class-category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lesson-dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .lesson-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-progress-card {
    grid-column: 1 / -1;
  }

  .lessons-free-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .lessons-free-banner > div {
    min-width: calc(100% - 60px);
  }

  .lessons-free-banner .button {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .classes-hero .hero-note {
    right: 20px;
    width: 72px;
  }

  .lesson-course-panel {
    padding: 11px;
  }

  .lesson-course-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .lesson-course-image {
    min-height: 115px;
  }

  .lesson-item {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 6px;
  }

  .lesson-access {
    margin-left: 60px;
  }

  .lesson-action {
    margin-left: 60px;
  }

  .lesson-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .lesson-progress-card {
    grid-column: auto;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.timetable-section {
  padding-top: 21px;
}

.timetable-hero {
  min-height: 250px;
  padding: 34px 40px;
}

.timetable-hero h1 {
  max-width: 560px;
  font-size: clamp(36px, 4.4vw, 52px);
}

.timetable-hero .hero-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin-bottom: 12px;
  font-size: 12px;
}

.timetable-hero .hero-portrait {
  right: 9%;
  width: min(30%, 310px);
  height: 118%;
}

.timetable-hero .hero-note {
  top: 24%;
  right: 5%;
  width: 100px;
  font-size: 14px;
}

.timetable-hero .classes-hero-points {
  gap: 17px;
}

.timetable-hero .classes-hero-points span {
  font-size: 9px;
}

.timetable-heading {
  margin-bottom: 20px;
}

.timetable-heading .section-kicker {
  color: var(--red);
}

.timetable-heading h2 {
  font-size: clamp(24px, 3vw, 33px);
}

.timetable-heading p {
  margin-top: 5px;
}

.timetable-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(180px, 230px);
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}

.timetable-tabs {
  justify-content: flex-start;
  gap: 7px;
  margin: 0;
}

.timetable-filter {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding-inline: 12px;
  font-size: 11px;
  white-space: nowrap;
}

.timetable-filter svg {
  width: 14px;
  height: 14px;
}

.timetable-select-wrap,
.timetable-search {
  display: flex;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.timetable-select-wrap select {
  width: 100%;
  min-width: 0;
  padding: 0 11px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
}

.timetable-search {
  gap: 7px;
  padding: 0 10px;
}

.timetable-search svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--muted);
}

.timetable-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 11px;
}

.timetable-search input::placeholder {
  color: #96909a;
}

.timetable-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(250px, 0.82fr);
  align-items: start;
  gap: 16px;
}

.timetable-main,
.timetable-sidebar {
  min-width: 0;
}

.timetable-list-heading {
  display: flex;
  min-height: 37px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.timetable-list-heading h3,
.timetable-features h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.3px;
}

.timetable-list-heading h3::before,
.timetable-features h3::before {
  display: inline-block;
  width: 3px;
  height: 16px;
  margin-right: 9px;
  background: var(--red);
  content: "";
  vertical-align: -3px;
}

.timetable-list-heading p {
  margin: 3px 0 0 12px;
  color: var(--muted);
  font-size: 10px;
}

.timetable-clear-day {
  padding: 7px 10px;
  border: 1px solid rgba(241, 38, 53, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--red-dark);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.timetable-class-list {
  display: grid;
  gap: 9px;
}

.timetable-class-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(118px, 0.55fr) minmax(0, 1.45fr) minmax(138px, 0.62fr);
  align-items: center;
  gap: 12px;
  min-height: 104px;
  padding: 11px;
  border: 1px solid rgba(91, 47, 91, 0.12);
  border-left: 3px solid #d72d52;
  border-radius: 15px;
  background: linear-gradient(110deg, #fff 0%, #fff 66%, #fff8fa 100%);
  box-shadow: 0 5px 17px rgba(48, 26, 48, 0.055);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.timetable-class-card:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 30, 65, 0.3);
  box-shadow: 0 10px 24px rgba(48, 26, 48, 0.11);
}

.timetable-class-card[hidden] {
  display: none;
}

.timetable-class-art {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: linear-gradient(125deg, #ae164e, #351239);
  color: #fff;
}

.timetable-art-1 {
  background: linear-gradient(125deg, #c32552, #56153f);
}

.timetable-art-2 {
  background: linear-gradient(125deg, #56227f, #24152f);
}

.timetable-art-3 {
  background: linear-gradient(125deg, #9b1d67, #321234);
}

.timetable-class-art > span {
  display: grid;
  width: 23px;
  height: 23px;
  margin-bottom: 4px;
  place-items: center;
}

.timetable-class-art svg {
  width: 18px;
  height: 18px;
}

.timetable-class-art strong {
  font-family: Outfit, sans-serif;
  font-size: 11px;
  line-height: 1.2;
}

.timetable-class-art small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
}

.timetable-class-info {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.timetable-class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
}

.timetable-class-meta > span,
.timetable-class-mode {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #3b3440;
  font-size: 11px;
  font-weight: 600;
}

.timetable-class-meta > span {
  min-height: 26px;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(105, 73, 113, 0.1);
  border-radius: 999px;
  background: #faf7fb;
  color: #403444;
  font-size: 10px;
  font-weight: 700;
}

.timetable-class-meta svg,
.timetable-class-mode svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #612776;
}

.timetable-class-mode {
  width: fit-content;
  max-width: 100%;
  padding: 3px 1px;
  min-width: 0;
  color: #5b5560;
  font-weight: 500;
}

.timetable-class-mode span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timetable-class-action {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.timetable-availability {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(41, 162, 85, 0.11);
  color: #237b3e;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.timetable-availability svg {
  width: 12px;
  height: 12px;
}

.timetable-class-action > small {
  color: var(--muted);
  font-size: 9px;
}

.timetable-class-action .button {
  min-height: 28px;
  padding: 6px 9px;
  font-size: 10px;
}

.timetable-class-action .button svg {
  width: 12px;
  height: 12px;
}

.timetable-empty {
  margin: 0;
  padding: 24px 15px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.timetable-empty[hidden] {
  display: none;
}

.timetable-sidebar {
  display: grid;
  gap: 10px;
}

.timetable-side-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(49, 35, 54, 0.12);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(32, 27, 34, 0.035);
}

.timetable-calendar-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-color: rgba(122, 57, 103, 0.16);
  background:
    radial-gradient(ellipse at 100% 0, rgba(243, 69, 100, 0.09), transparent 45%),
    #fff;
  box-shadow: 0 9px 24px rgba(56, 27, 56, 0.075);
}

.timetable-calendar-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #f33853, #9f3e87);
  content: "";
}

.timetable-side-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timetable-side-title > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(241, 38, 53, 0.09);
  color: var(--red);
}

.timetable-side-title svg {
  width: 15px;
  height: 15px;
}

.timetable-side-title h3,
.timetable-updates-card h3 {
  margin: 0;
  font-size: 12px;
}

.timetable-calendar-card .timetable-side-title {
  margin-bottom: 12px;
}

.timetable-calendar-card .timetable-side-title > span {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff0f2, #f5eafa);
}

.timetable-calendar-card .timetable-side-title h3 {
  font-size: 15px;
}

.timetable-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
  padding: 7px 8px;
  border: 1px solid rgba(104, 69, 110, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.timetable-calendar-nav strong {
  color: #342838;
  font-size: 12px;
  font-weight: 800;
}

.timetable-calendar-nav button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border: 1px solid rgba(105, 73, 113, 0.1);
  border-radius: 9px;
  background: #fff;
  color: #6b3f68;
  cursor: pointer;
}

.timetable-calendar-nav button:hover {
  background: rgba(241, 38, 53, 0.08);
  color: var(--red-dark);
}

.timetable-calendar-nav button svg {
  width: 14px;
  height: 14px;
}

.timetable-calendar-nav button:first-child svg {
  transform: rotate(180deg);
}

.timetable-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.timetable-calendar-weekdays {
  margin-bottom: 6px;
}

.timetable-calendar-weekdays span {
  padding: 3px 0;
  color: #8a7e8d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.timetable-calendar-empty,
.timetable-calendar-day {
  display: grid;
  min-width: 0;
  aspect-ratio: 1;
  place-items: center;
}

.timetable-calendar-day {
  position: relative;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #413847;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.timetable-calendar-day:hover,
.timetable-calendar-day.is-selected {
  border-color: transparent;
  background: linear-gradient(145deg, #f64057, #ce2450);
  color: #fff;
  box-shadow: 0 4px 10px rgba(203, 32, 75, 0.23);
  transform: translateY(-1px);
}

.timetable-calendar-day.has-class:not(.is-selected)::after {
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.timetable-calendar-day.is-selected::after {
  background: #fff;
}

.timetable-calendar-day.is-today:not(.is-selected) {
  border-color: rgba(219, 40, 75, 0.58);
  background: #fff5f7;
  color: #bf2345;
  font-weight: 800;
}

.timetable-calendar-legend {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 12px;
}

.timetable-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(105, 73, 113, 0.09);
  border-radius: 999px;
  background: #fff;
  color: #756a79;
  font-size: 10px;
  font-weight: 600;
}

.timetable-calendar-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-class {
  background: var(--red);
}

.legend-today {
  border: 1px solid var(--red);
}

.timetable-calendar-note {
  margin: 12px 0 0;
  padding: 9px 10px;
  border: 1px solid rgba(105, 73, 113, 0.08);
  border-radius: 10px;
  background: rgba(248, 245, 249, 0.8);
  color: #756a79;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.timetable-location-placeholder {
  display: flex;
  min-height: 63px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 80% 20%, rgba(241, 38, 53, 0.08), transparent 35%),
    linear-gradient(135deg, #f5f1f6, #ece7ef);
  color: #473b4b;
  text-align: center;
}

.timetable-location-placeholder svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--red);
}

.timetable-location-placeholder strong {
  font-size: 10px;
}

.timetable-location-card > p,
.timetable-updates-card p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.timetable-location-card .text-link {
  font-size: 10px;
}

.timetable-location-card .text-link svg {
  width: 13px;
  height: 13px;
}

.timetable-updates-card {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}

.timetable-updates-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: rgba(241, 38, 53, 0.09);
  color: var(--red);
}

.timetable-updates-icon svg {
  width: 16px;
  height: 16px;
}

.timetable-updates-card p {
  margin: 4px 0 0;
}

.timetable-updates-card .button {
  grid-column: 1 / -1;
  justify-content: center;
}

.timetable-features {
  margin-top: 12px;
  padding: 17px;
  border: 1px solid rgba(132, 59, 105, 0.14);
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(246, 78, 111, 0.07), transparent 42%),
    linear-gradient(135deg, #fff, #fcf9fc);
  box-shadow: 0 7px 22px rgba(48, 26, 48, 0.05);
}

.timetable-features h3 {
  margin-bottom: 14px;
}

.timetable-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.timetable-feature {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 10px 8px;
  border: 1px solid rgba(132, 59, 105, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.84);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.timetable-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(218, 42, 78, 0.2);
  box-shadow: 0 7px 15px rgba(63, 31, 57, 0.07);
}

.timetable-feature > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(241, 38, 53, 0.08);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff0f2, #f8eafa);
  color: var(--red);
}

.timetable-feature svg {
  width: 19px;
  height: 19px;
}

.timetable-feature strong,
.timetable-feature small {
  display: block;
}

.timetable-feature strong {
  color: #2b2430;
  font-size: 11px;
  line-height: 1.3;
}

.timetable-feature small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.timetable-map-panel {
  display: grid;
  grid-column: 1 / -1;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(121, 57, 103, 0.15);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(47, 28, 48, 0.07);
  animation: timetable-map-enter 180ms ease-out;
}

.timetable-map-panel[hidden] {
  display: none;
}

.timetable-map-panel iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
  background: #f3eef4;
}

.timetable-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
}

.timetable-map-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #514555;
  font-size: 10px;
  font-weight: 700;
}

.timetable-map-footer > span svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--red);
}

.timetable-subscribe-card {
  display: grid;
  gap: 9px;
  padding: 17px;
  border-color: rgba(132, 59, 105, 0.15);
  background:
    radial-gradient(ellipse at 100% 0, rgba(246, 78, 111, 0.08), transparent 44%),
    #fff;
}

.timetable-subscribe-emblem {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(241, 38, 53, 0.1);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff0f2, #f8eafa);
  color: var(--red);
}

.timetable-subscribe-emblem svg {
  width: 18px;
  height: 18px;
}

.timetable-subscribe-card h3 {
  margin: 0;
  color: #302435;
  font-size: 14px;
}

.timetable-subscribe-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

#timetable-subscribe-form {
  display: grid;
  gap: 9px;
  margin-top: 3px;
}

#timetable-subscribe-form > label:not(.timetable-consent):not(.timetable-honeypot) input {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid rgba(91, 67, 96, 0.16);
  border-radius: 10px;
  background: #fff;
  color: #302435;
  font: inherit;
  font-size: 11px;
}

#timetable-subscribe-form > label:not(.timetable-consent):not(.timetable-honeypot) input:focus {
  border-color: rgba(217, 30, 65, 0.5);
  outline: 3px solid rgba(241, 38, 53, 0.12);
}

#timetable-subscribe-form .timetable-consent {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #625967;
  font-size: 9px;
  line-height: 1.45;
}

#timetable-subscribe-form .timetable-consent input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--red);
}

#timetable-subscribe-form .timetable-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

#timetable-subscribe-form .button {
  width: 100%;
  justify-content: center;
}

.timetable-subscribe-status {
  margin: 0;
  color: #267345;
  font-size: 10px;
  line-height: 1.45;
}

.timetable-subscribe-status.is-error {
  color: #b51f37;
}

@keyframes timetable-map-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .timetable-hero {
    min-height: 238px;
    padding: 30px;
  }

  .timetable-hero .hero-copy {
    width: 65%;
  }

  .timetable-hero .classes-hero-points {
    gap: 10px 13px;
  }

  .timetable-controls {
    grid-template-columns: minmax(0, 1fr) 130px;
  }

  .timetable-search {
    grid-column: 1 / -1;
  }

  .timetable-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr);
    gap: 10px;
  }

  .timetable-class-card {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 9px;
  }

  .timetable-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timetable-class-action {
    grid-column: 2;
    grid-template-columns: 1fr auto;
    justify-items: start;
    align-items: center;
  }

  .timetable-class-action > small {
    display: none;
  }
}

@media (max-width: 700px) {
  .page-hero.timetable-hero {
    min-height: 390px;
    padding: 32px 24px 195px;
  }

  .timetable-hero .hero-copy {
    width: 100%;
  }

  .timetable-hero h1 {
    max-width: 72%;
  }

  .timetable-hero .hero-copy > p:not(.eyebrow) {
    max-width: 70%;
  }

  .timetable-hero .classes-hero-points {
    max-width: 76%;
    gap: 8px 11px;
  }

  .timetable-hero .classes-hero-points span {
    font-size: 9px;
  }

  .timetable-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .timetable-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timetable-filter {
    justify-content: center;
    padding-inline: 7px;
  }

  .timetable-search {
    grid-column: auto;
  }

  .timetable-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .timetable-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .timetable-calendar-card {
    grid-row: span 2;
  }

  .timetable-features {
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .page-hero.timetable-hero {
    padding-inline: 18px;
  }

  .timetable-hero h1 {
    max-width: 76%;
  }

  .timetable-hero .hero-copy > p:not(.eyebrow) {
    max-width: 76%;
  }

  .timetable-hero .classes-hero-points {
    max-width: 78%;
    gap: 7px 9px;
  }

  .timetable-class-card {
    grid-template-columns: 83px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .timetable-class-art {
    min-height: 64px;
    padding: 7px;
  }

  .timetable-class-art strong {
    font-size: 10px;
  }

  .timetable-class-meta {
    gap: 5px 8px;
  }

  .timetable-class-meta > span,
  .timetable-class-mode {
    font-size: 10px;
  }

  .timetable-class-action {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px;
  }

  .timetable-availability {
    padding: 4px 6px;
    font-size: 9px;
  }

  .timetable-class-action .button {
    padding-inline: 7px;
    font-size: 9px;
  }

  .timetable-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .timetable-calendar-card {
    grid-row: auto;
  }

  .timetable-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 8px;
  }

  .timetable-feature {
    padding: 9px 7px;
  }

  .timetable-feature > span {
    width: 32px;
    height: 32px;
  }

  .timetable-feature strong {
    font-size: 10px;
  }

  .timetable-feature small {
    font-size: 9px;
  }

  .timetable-map-panel iframe {
    height: 210px;
  }

  .timetable-map-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.results-hero {
  min-height: 250px;
  padding: 34px 40px;
}

.results-hero h1 {
  max-width: 550px;
  font-size: clamp(36px, 4.4vw, 52px);
}

.results-hero .hero-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin-bottom: 12px;
  font-size: 12px;
}

.results-hero .hero-portrait {
  right: 9%;
  width: min(30%, 310px);
  height: 118%;
}

.results-hero .hero-note {
  top: 24%;
  right: 5%;
  width: 100px;
  font-size: 14px;
}

.results-hero .classes-hero-points {
  gap: 15px;
}

.results-hero .classes-hero-points span {
  font-size: 9px;
}

.results-section {
  padding-top: 20px;
}

.results-heading {
  margin-bottom: 16px;
}

.results-heading .section-kicker {
  color: var(--red);
}

.results-heading h2 {
  font-size: clamp(22px, 3vw, 30px);
}

.results-heading p {
  margin-top: 5px;
}

.results-category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 13px;
}

.results-category-tab {
  display: grid;
  min-width: 0;
  min-height: 64px;
  grid-template-columns: 35px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.results-category-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 38, 53, 0.5);
}

.results-category-tab.is-active {
  border-color: var(--red);
  background: linear-gradient(110deg, #a71953, #351239);
  box-shadow: 0 5px 16px rgba(89, 19, 61, 0.18);
  color: #fff;
}

.results-category-tab > span:first-child {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--red);
}

.results-category-tab > span:first-child svg {
  width: 24px;
  height: 24px;
}

.results-category-tab.is-active > span:first-child {
  color: #fff;
}

.results-category-tab > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.results-category-tab strong {
  overflow: hidden;
  font-family: Outfit, sans-serif;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.results-category-tab small {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.results-category-tab.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.results-category-tab > svg {
  width: 17px;
  height: 17px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(241, 38, 53, 0.1);
  color: var(--red);
}

.results-category-tab.is-active > svg {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: rotate(-45deg);
}

.results-category-panel {
  padding: 14px;
  border: 1px solid rgba(49, 35, 54, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff, #fbf8fc);
}

.results-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.results-panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.results-panel-title > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}

.results-panel-title svg {
  width: 18px;
  height: 18px;
}

.results-panel-title h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.5px;
}

.results-panel-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.results-year-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4a414e;
  font-size: 9px;
  font-weight: 700;
}

.results-year-select select {
  min-width: 90px;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--white);
  font-size: 9px;
}

.results-year-status {
  margin: 10px 0;
  color: var(--muted);
  font-size: 10px;
}

.results-highlights {
  position: relative;
  display: grid;
  grid-template-columns: minmax(128px, 0.55fr) minmax(0, 2.45fr);
  gap: 9px;
  padding: 9px;
  border-radius: 12px;
  background: linear-gradient(100deg, #f8eff6, #f3eaf3);
}

.results-featured-label {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 117px;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #351239, #a71953);
  color: #fff;
  text-align: center;
}

.results-featured-label > span {
  margin-bottom: 5px;
}

.results-featured-label svg {
  width: 25px;
  height: 25px;
}

.results-featured-label strong {
  font-family: Outfit, sans-serif;
  font-size: 13px;
  line-height: 1.15;
}

.results-featured-label small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
}

.results-profile-list {
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  padding-right: 28px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.results-profile-list::-webkit-scrollbar {
  display: none;
}

.results-profile-card {
  display: grid;
  min-width: 0;
  flex: 0 0 calc(33.333% - 6px);
  align-items: center;
  justify-items: center;
  align-content: start;
  gap: 5px;
  padding: 9px;
  border: 1px solid rgba(49, 35, 54, 0.1);
  border-radius: 13px;
  background: linear-gradient(160deg, #fff 62%, #fbf5fc);
  text-align: center;
  box-shadow: 0 5px 14px rgba(49, 35, 54, 0.07);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.results-profile-photo {
  display: block;
  width: 100%;
  height: 132px;
  margin-bottom: 2px;
  border: 3px solid #fff;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 35%;
  background: #f0eaf2;
  box-shadow: 0 2px 9px rgba(49, 35, 54, 0.16);
}

.results-profile-list.is-count-1 .results-profile-card {
  flex-basis: 100%;
}

.results-profile-list.is-count-2 .results-profile-card {
  flex-basis: calc(50% - 4px);
}

.results-profile-card.is-highlighted {
  transform: translateY(-3px);
  border-color: #e5a817;
  box-shadow: 0 0 0 2px rgba(229, 168, 23, 0.14), 0 8px 18px rgba(49, 35, 54, 0.12);
}

.results-profile-avatar {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 6px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0f2, #efe2f0);
  color: var(--red);
}

.results-profile-avatar svg {
  width: 22px;
  height: 22px;
}

.results-profile-card > strong {
  font-size: 12px;
  line-height: 1.25;
}

.results-profile-card > small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.results-profile-grade {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(241, 38, 53, 0.09);
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.results-item-sample {
  margin-top: 4px;
  color: #76520d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.results-profile-controls {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  gap: 5px;
  transform: translateY(-50%);
}

.results-profile-controls button {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
}

.results-profile-controls button:hover {
  background: var(--red-dark);
}

.results-profile-controls button svg {
  width: 14px;
  height: 14px;
}

.results-profile-controls button:first-child svg {
  transform: rotate(180deg);
}

.results-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr) minmax(130px, 0.62fr);
  gap: 9px;
  margin-top: 9px;
}

.results-metric-card,
.results-excellence-card,
.results-story-card,
.results-gallery-card {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(49, 35, 54, 0.12);
  border-radius: 11px;
  background: #fff;
}

.results-sample-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #f1d8a4;
  border-radius: 999px;
  background: #fff9eb;
  color: #76520d;
  font-size: 10px;
  font-weight: 700;
}

.results-sample-tag {
  margin-left: auto;
  padding: 3px 6px;
  font-size: 7px;
}

.results-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.results-metric-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.results-metric-heading > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(241, 38, 53, 0.14);
  border-radius: 11px;
  background: linear-gradient(145deg, #fff1f4, #f8e9f4);
  color: var(--red);
}

.results-metric-heading > span svg {
  width: 19px;
  height: 19px;
}

.results-year-card > span {
  float: left;
  margin-right: 6px;
  color: var(--red);
}

.results-year-card > span svg {
  width: 15px;
  height: 15px;
}

.results-metric-heading h4,
.results-excellence-card h4,
.results-card-heading h4 {
  margin: 0;
  font-size: 14px;
}

.results-metric-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.results-key-metric-card {
  padding: 14px;
  border-color: rgba(167, 25, 83, 0.16);
  background:
    radial-gradient(circle at 100% 0, rgba(237, 199, 222, 0.28), transparent 48%),
    linear-gradient(150deg, #fff, #fdf8fc);
  box-shadow: 0 8px 20px rgba(81, 31, 72, 0.07);
}

.results-metric-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.results-metric-values > div {
  display: grid;
  min-height: 65px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 8px 4px;
  border: 1px solid rgba(167, 25, 83, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 9px rgba(49, 35, 54, 0.04);
}

.results-metric-values strong {
  color: #8d1d59;
  font-family: Outfit, sans-serif;
  font-size: 21px;
  line-height: 1;
}

.results-metric-values small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.results-year-card p {
  clear: both;
  margin: 7px 0;
  color: var(--muted);
  font-size: 10px;
}

.results-year-table {
  display: grid;
  grid-template-columns: 0.7fr repeat(3, 1fr);
  gap: 6px 4px;
  padding: 6px;
  border-radius: 7px;
  background: #fbf8fb;
  font-size: 9px;
  text-align: center;
}

.results-year-table > :nth-child(-n + 4) {
  color: var(--muted);
  font-weight: 700;
}

.results-year-table strong {
  color: var(--red-dark);
}

.results-excellence-card {
  display: grid;
  align-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at 16% 50%, rgba(255, 200, 81, 0.25), transparent 35%),
    linear-gradient(140deg, #321234, #6d1b51);
  color: #fff;
  text-align: center;
}

.results-excellence-card > span svg {
  width: 32px;
  height: 32px;
  color: #ffd15a;
}

.results-excellence-card h4 {
  margin: 5px 0;
  font-size: 11px;
}

.results-excellence-card p {
  max-width: 130px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  line-height: 1.4;
}

.results-stories-row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.4fr);
  gap: 9px;
  margin-top: 9px;
}

.results-card-heading {
  display: flex;
  align-items: center;
  gap: 6px;
}

.results-card-heading > svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--red);
}

.results-card-heading h4 {
  margin: 0;
}

.results-story-slides {
  display: grid;
  min-height: 100px;
  margin-top: 8px;
  padding: 9px;
  border-radius: 9px;
  background: linear-gradient(130deg, #fcf8fc, #f8f3fa);
}

.results-story-slide {
  display: none;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  animation: results-story-enter 260ms ease both;
}

.results-story-slide.is-active {
  display: grid;
}

.results-story-slide img {
  width: 54px;
  height: 54px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(49, 35, 54, 0.15);
}

.results-story-slide blockquote {
  margin: 0 0 7px;
  color: #33283a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.results-story-slide strong,
.results-story-slide small {
  display: block;
  font-size: 10px;
}

.results-story-slide small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.results-story-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 7px;
}

.results-story-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ebc7d7;
  cursor: pointer;
}

.results-story-dots button.is-active {
  background: var(--red);
}

.results-gallery-window {
  overflow: hidden;
  margin-top: 8px;
  border-radius: 9px;
}

.results-gallery-track {
  display: flex;
  gap: 8px;
  transition: transform 450ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.results-gallery-photo {
  display: grid;
  align-content: start;
  min-width: calc(50% - 4px);
  overflow: hidden;
  padding: 5px;
  border: 1px solid rgba(49, 35, 54, 0.13);
  border-radius: 12px;
  background: linear-gradient(150deg, #fff, #fbf6fc);
  box-shadow: 0 5px 14px rgba(49, 35, 54, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.results-gallery-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(49, 35, 54, 0.13);
}

.results-gallery-photo img {
  display: block;
  width: 100%;
  height: 102px;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 400ms ease;
}

.results-gallery-photo:hover img {
  transform: scale(1.04);
}

.results-gallery-photo figcaption {
  min-height: 34px;
  padding: 7px 5px 4px;
  color: #33283a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.results-gallery-sample {
  display: inline-flex;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 999px;
  background: #fff9eb;
  color: #76520d;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.results-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
}

.results-gallery-controls button {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(241, 38, 53, 0.2);
  border-radius: 50%;
  background: #fff5f7;
  color: var(--red-dark);
  cursor: pointer;
}

.results-gallery-controls button:last-child svg {
  transform: rotate(180deg);
}

.results-gallery-controls svg {
  width: 14px;
  height: 14px;
}

.results-gallery-controls span {
  color: var(--muted);
  font-size: 9px;
}

@keyframes results-story-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-story-slide {
    animation: none;
  }

  .results-gallery-track,
  .results-gallery-photo img {
    transition: none;
  }
}

.results-coming-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 8px;
}

.results-coming-note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: #27854c;
}

.results-benefit-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid rgba(241, 38, 53, 0.1);
  border-radius: 11px;
  background: #fff5f7;
}

.results-benefit-strip > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.results-benefit-strip > div > span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
}

.results-benefit-strip svg {
  width: 14px;
  height: 14px;
}

.results-benefit-strip strong,
.results-benefit-strip small {
  display: block;
}

.results-benefit-strip strong {
  font-size: 8px;
}

.results-benefit-strip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
}

.timetable-class-info {
  align-content: center;
}

.timetable-zoom-locked,
.timetable-map-link {
  display: inline-flex;
  width: fit-content;
  min-height: 29px;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(147, 54, 117, 0.16);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff5f8, #f8f2fb);
  color: #713361;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.timetable-zoom-locked:hover,
.timetable-map-link:hover {
  border-color: rgba(195, 40, 85, 0.35);
  background: #ffedf1;
  transform: translateY(-1px);
}

.timetable-zoom-locked svg,
.timetable-map-link svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.timetable-map-link {
  border-color: rgba(211, 37, 69, 0.14);
  background: #fff7f8;
  color: var(--red-dark);
}

.timetable-map-link[aria-expanded="true"] {
  border-color: rgba(211, 37, 69, 0.28);
  background: #ffeef1;
}

.timetable-map-footer .button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 10px;
}

.timetable-map-footer .button svg {
  width: 13px;
  height: 13px;
}

.timetable-location-placeholder {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.timetable-location-placeholder:hover {
  outline: 1px solid rgba(241, 38, 53, 0.35);
}

.timetable-location-placeholder > small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--red-dark);
  font-size: 8px;
  font-weight: 700;
}

.timetable-location-placeholder > small svg {
  width: 12px;
  height: 12px;
}

.timetable-calendar-day.is-in-range:not(.is-selected) {
  border-radius: 0;
  background: rgba(241, 38, 53, 0.12);
  color: var(--red-dark);
}

.timetable-calendar-day.is-in-range:not(.is-selected)::after {
  background: var(--red);
}

.timetable-calendar-day.is-selected:first-of-type {
  border-radius: 50%;
}

@media (max-width: 1000px) {
  .results-hero {
    min-height: 238px;
    padding: 30px;
  }

  .results-hero .hero-copy {
    width: 65%;
  }

  .results-hero .classes-hero-points {
    gap: 10px 13px;
  }
}

@media (max-width: 700px) {
  .page-hero.results-hero {
    min-height: 390px;
    padding: 32px 24px 195px;
  }

  .results-hero .hero-copy {
    width: 100%;
  }

  .results-hero h1 {
    max-width: 72%;
  }

  .results-hero .hero-copy > p:not(.eyebrow) {
    max-width: 70%;
  }

  .results-hero .classes-hero-points {
    max-width: 76%;
    gap: 8px 11px;
  }

  .results-hero .classes-hero-points span {
    font-size: 8px;
  }

  .results-category-tabs {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .results-category-tab {
    min-height: 58px;
  }

  .results-metrics {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .results-excellence-card {
    grid-column: 1 / -1;
    min-height: 105px;
  }

  .results-benefit-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .page-hero.results-hero {
    padding-inline: 18px;
  }

  .results-hero h1,
  .results-hero .hero-copy > p:not(.eyebrow) {
    max-width: 76%;
  }

  .results-hero .classes-hero-points {
    max-width: 80%;
    gap: 7px 9px;
  }

  .results-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-category-panel {
    padding: 10px;
  }

  .results-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-featured-label {
    min-height: 82px;
  }

  .results-featured-label strong br {
    display: none;
  }

  .results-profile-list {
    padding-right: 0;
  }

  .results-profile-card {
    min-width: 132px;
    flex-basis: min(44%, 190px);
  }

  .results-profile-photo {
    height: 112px;
  }

  .results-profile-controls {
    position: static;
    display: flex;
    justify-content: center;
    transform: none;
  }

  .results-metrics,
  .results-stories-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-excellence-card {
    grid-column: auto;
  }

  .results-benefit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timetable-zoom-locked {
    flex-wrap: wrap;
  }
}

.materials-hero {
  min-height: 250px;
  padding: 34px 40px;
}

.materials-hero h1 {
  max-width: 550px;
  font-size: clamp(36px, 4.4vw, 52px);
}

.materials-hero .hero-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin-bottom: 12px;
  font-size: 12px;
}

.materials-hero .hero-portrait {
  right: 9%;
  width: min(30%, 310px);
  height: 118%;
}

.materials-hero .hero-note {
  top: 24%;
  right: 5%;
  width: 100px;
  font-size: 14px;
}

.materials-hero .classes-hero-points {
  gap: 16px;
}

.materials-hero .classes-hero-points span {
  font-size: 9px;
}

.materials-section {
  padding-top: 20px;
}

.materials-heading {
  margin-bottom: 16px;
}

.materials-heading .section-kicker {
  color: var(--red);
}

.materials-heading h2 {
  font-size: clamp(22px, 3vw, 30px);
}

.materials-heading p {
  margin-top: 5px;
}

.materials-subject-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 13px;
}

.materials-subject-tab {
  display: grid;
  min-width: 0;
  min-height: 66px;
  grid-template-columns: 39px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.materials-subject-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 38, 53, 0.48);
}

.materials-subject-tab.is-active {
  border-color: var(--red);
  background: linear-gradient(110deg, #a71953, #351239);
  box-shadow: 0 5px 16px rgba(89, 19, 61, 0.16);
  color: #fff;
}

.materials-subject-tab > span:first-child {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: var(--red);
}

.materials-subject-tab > span:first-child svg {
  width: 28px;
  height: 28px;
}

.materials-subject-tab.is-active > span:first-child {
  color: #fff;
}

.materials-subject-tab > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.materials-subject-tab strong {
  overflow: hidden;
  font-family: Outfit, sans-serif;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.materials-subject-tab small {
  color: var(--muted);
  font-size: 8px;
}

.materials-subject-tab.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.materials-subject-tab > svg {
  width: 19px;
  height: 19px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(241, 38, 53, 0.1);
  color: var(--red);
}

.materials-subject-tab.is-active > svg {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: rotate(-45deg);
}

.materials-type-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 14px;
  padding: 7px 4px;
  border: 1px solid rgba(241, 38, 53, 0.1);
  border-radius: 14px;
  background: #fff8fa;
}

.materials-type-button {
  display: grid;
  min-width: 0;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 4px;
  border: 0;
  border-right: 1px solid rgba(241, 38, 53, 0.17);
  background: transparent;
  color: #3e3542;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.materials-type-button:last-child {
  border-right: 0;
}

.materials-type-button:hover,
.materials-type-button.is-active {
  border-radius: 8px;
  background: rgba(241, 38, 53, 0.08);
  color: var(--red-dark);
}

.materials-type-button > span {
  display: grid;
  place-items: center;
  color: var(--red);
}

.materials-type-button svg {
  width: 22px;
  height: 22px;
}

.materials-type-button small {
  overflow: hidden;
  max-width: 100%;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.materials-catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.materials-catalog-heading h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.materials-catalog-heading h3::before {
  display: inline-block;
  width: 3px;
  height: 17px;
  margin-right: 9px;
  background: var(--red);
  content: "";
  vertical-align: -3px;
}

.materials-catalog-heading > div:first-child > p {
  margin: 4px 0 0 12px;
  color: var(--muted);
  font-size: 8px;
}

.materials-sort-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.materials-sort-controls label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4c434f;
  font-size: 8px;
  font-weight: 700;
}

.materials-sort-controls select {
  min-width: 92px;
  min-height: 29px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--white);
  font-size: 8px;
}

.materials-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.material-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(49, 35, 54, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(32, 27, 34, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.material-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px rgba(32, 27, 34, 0.1);
}

.material-product-cover {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 133px;
  overflow: hidden;
  margin: 7px 7px 0;
  padding: 0;
  border-radius: 8px;
  background: linear-gradient(145deg, #63234f, #241229);
}

.material-product-cover::before,
.material-product-cover::after {
  display: none;
}

.material-product-cover > img {
  width: 100%;
  height: 100%;
  min-height: 133px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.material-product-card:hover .material-product-cover > img {
  transform: scale(1.035);
}

.cover-rose {
  background: linear-gradient(145deg, #c82b59, #4a143f);
}

.cover-blue {
  background: linear-gradient(145deg, #145681, #172644);
}

.cover-green {
  background: linear-gradient(145deg, #28764b, #203b35);
}

.cover-orange {
  background: linear-gradient(145deg, #df6e1d, #79351b);
}

.cover-violet {
  background: linear-gradient(145deg, #683db0, #2d204d);
}

.material-cover-course {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 7px;
  font-weight: 600;
}

.material-cover-icon {
  display: grid;
  width: 23px;
  height: 23px;
  margin-bottom: 5px;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
}

.material-cover-icon svg {
  width: 21px;
  height: 21px;
}

.material-product-cover > strong {
  max-width: 78%;
  font-family: Outfit, sans-serif;
  font-size: 14px;
  line-height: 1.1;
}

.material-product-cover > small {
  max-width: 78%;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 7px;
  line-height: 1.35;
}

.material-cover-pages {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 9px;
  padding: 3px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 7px;
}

.material-cover-pages svg {
  width: 10px;
  height: 10px;
}

.material-product-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 9px;
}

.material-product-info h3 {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 10px;
  line-height: 1.3;
}

.material-product-info > p {
  min-height: 42px;
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.material-format-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}

.material-format-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.material-format-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.material-format-options label > span {
  display: inline-flex;
  min-height: 34px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 6px;
  border: 1px solid rgba(241, 38, 53, 0.11);
  border-radius: 9px;
  background: #fff8fa;
  color: #58505a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.material-format-options label > span svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--red);
}

.material-format-options input:checked + span {
  border-color: rgba(241, 38, 53, 0.4);
  background: #fff0f3;
  color: #a9142b;
}

.material-format-options input:focus-visible + span {
  outline: 3px solid rgba(241, 38, 53, 0.3);
  outline-offset: 2px;
}

.material-product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.material-price {
  color: var(--red-dark);
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.material-product-actions .button {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 11px;
  white-space: nowrap;
}

.material-product-actions .button svg {
  width: 14px;
  height: 14px;
}

.materials-empty {
  padding: 22px 14px;
  border: 1px dashed var(--line);
  border-radius: 11px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.materials-empty[hidden] {
  display: none;
}

.materials-bundle {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 10px 15px;
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(241, 38, 53, 0.38), transparent 27%),
    linear-gradient(100deg, #29112b, #52123e 62%, #21101f);
  color: #fff;
}

.materials-bundle-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #ff8291;
}

.materials-bundle-art svg:first-child {
  width: 39px;
  height: 39px;
}

.materials-bundle-art svg:last-child {
  width: 26px;
  height: 26px;
}

.materials-bundle-copy > span {
  color: #ff98a4;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.materials-bundle-copy h3 {
  margin: 2px 0 3px;
  font-family: Outfit, sans-serif;
  font-size: 15px;
}

.materials-bundle-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 8px;
}

.materials-bundle-action {
  display: grid;
  justify-items: end;
  gap: 6px;
  padding-left: 13px;
  border-left: 1px solid rgba(255, 255, 255, 0.23);
}

.materials-bundle-action > small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 7px;
}

.materials-bundle-action .button {
  min-height: 32px;
  padding: 7px 11px;
  font-size: 8px;
}

.materials-bundle-action .button svg {
  width: 13px;
  height: 13px;
}

.materials-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.materials-benefits article {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.materials-benefits article > span {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(241, 38, 53, 0.09);
  color: var(--red);
}

.materials-benefits svg {
  width: 17px;
  height: 17px;
}

.materials-benefits strong,
.materials-benefits small {
  display: block;
}

.materials-benefits strong {
  font-size: 8px;
}

.materials-benefits small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.35;
}

@media (max-width: 1000px) {
  .materials-hero {
    min-height: 238px;
    padding: 30px;
  }

  .materials-hero .hero-copy {
    width: 65%;
  }

  .materials-type-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .materials-type-button:nth-child(4) {
    border-right: 0;
  }

  .materials-type-button:nth-child(n + 5) {
    border-top: 1px solid rgba(241, 38, 53, 0.13);
  }

  .materials-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page-hero.materials-hero {
    min-height: 390px;
    padding: 32px 24px 195px;
  }

  .materials-hero .hero-copy {
    width: 100%;
  }

  .materials-hero h1 {
    max-width: 72%;
  }

  .materials-hero .hero-copy > p:not(.eyebrow) {
    max-width: 70%;
  }

  .materials-hero .classes-hero-points {
    max-width: 76%;
    gap: 8px 11px;
  }

  .materials-hero .classes-hero-points span {
    font-size: 8px;
  }

  .materials-subject-tabs {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .materials-subject-tab {
    min-height: 58px;
  }

  .materials-catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .materials-sort-controls {
    width: 100%;
    justify-content: space-between;
  }

  .materials-sort-controls label {
    flex: 1 1 auto;
    justify-content: space-between;
  }

  .materials-sort-controls select {
    min-width: 0;
  }

  .materials-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .materials-bundle {
    grid-template-columns: 55px minmax(0, 1fr);
  }

  .materials-bundle-art svg:first-child {
    width: 30px;
    height: 30px;
  }

  .materials-bundle-art svg:last-child {
    width: 20px;
    height: 20px;
  }

  .materials-bundle-action {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: start;
    padding: 9px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .materials-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .page-hero.materials-hero {
    padding-inline: 18px;
  }

  .materials-hero h1,
  .materials-hero .hero-copy > p:not(.eyebrow) {
    max-width: 76%;
  }

  .materials-hero .classes-hero-points {
    max-width: 80%;
    gap: 7px 9px;
  }

  .materials-type-strip {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .materials-type-button {
    min-width: 82px;
    border-top: 0 !important;
    border-right: 1px solid rgba(241, 38, 53, 0.17) !important;
  }

  .materials-type-button:last-child {
    border-right: 0 !important;
  }

  .material-product-cover {
    min-height: 120px;
    padding: 10px;
  }

  .material-product-cover > strong {
    font-size: 12px;
  }

  .material-product-info {
    padding: 7px;
  }

  .material-product-actions {
    align-items: center;
  }

  .material-product-actions .button {
    width: auto;
    padding-inline: 7px;
    font-size: 9px;
  }

  .material-price {
    font-size: 14px;
  }

  .material-format-options label > span {
    min-height: 32px;
    gap: 3px;
    padding-inline: 4px;
    font-size: 8px;
  }

  .materials-benefits {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-hero {
  min-height: 225px;
  padding: 38px 40px;
}

.contact-hero h1 {
  max-width: 580px;
  font-size: clamp(38px, 4.7vw, 55px);
}

.contact-hero .hero-copy > p:not(.eyebrow) {
  max-width: 445px;
  margin-bottom: 0;
  font-size: 12px;
}

.contact-hero .hero-portrait {
  right: 12%;
  width: min(25%, 260px);
  height: 110%;
  object-position: center 30%;
}

.contact-hero .hero-note {
  top: 29%;
  right: 5%;
  width: 90px;
  font-size: 12px;
}

.contact-quick-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}

.contact-quick-link {
  display: grid;
  min-width: 0;
  min-height: 57px;
  grid-template-columns: 31px minmax(0, 1fr) 17px;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.contact-quick-link:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 38, 53, 0.3);
  box-shadow: 0 6px 15px rgba(32, 27, 34, 0.07);
}

.contact-quick-link > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: rgba(241, 38, 53, 0.09);
  color: var(--red);
}

.contact-quick-link > span svg {
  width: 17px;
  height: 17px;
}

.contact-quick-link > strong {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-quick-link > strong small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 400;
  text-overflow: ellipsis;
}

.contact-quick-link > svg {
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(241, 38, 53, 0.08);
  color: var(--red);
}

.contact-main-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  padding-top: 12px;
}

.contact-main-grid .contact-card {
  padding: 17px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #fbf8fc);
}

.contact-main-grid .contact-card h2 {
  margin-bottom: 4px;
  font-size: 16px;
  letter-spacing: -0.4px;
}

.contact-main-grid .contact-card > p {
  margin-bottom: 11px;
  font-size: 9px;
}

.contact-main-grid .form-grid {
  gap: 9px 10px;
}

.contact-main-grid .field {
  gap: 4px;
}

.contact-main-grid .field label,
.contact-main-grid .contact-preferences legend {
  font-size: 8px;
}

.contact-main-grid .field label span,
.contact-main-grid .contact-preferences legend span {
  color: var(--red);
}

.contact-main-grid .field input,
.contact-main-grid .field select {
  min-height: 35px;
  padding: 7px 9px;
  border-radius: 7px;
  background: #fff;
  font-size: 9px;
}

.contact-main-grid .field textarea {
  min-height: 64px;
  padding: 8px 9px;
  border-radius: 7px;
  background: #fff;
  font-size: 9px;
}

.contact-preferences {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-preferences legend {
  margin-bottom: 5px;
  color: #49434d;
  font-weight: 600;
}

.contact-preference-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.contact-preference-options label {
  display: flex;
  min-width: 0;
  min-height: 25px;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #48414b;
  cursor: pointer;
  font-size: 7px;
}

.contact-preference-options input {
  width: 11px;
  height: 11px;
  min-height: 0;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--red);
}

.contact-main-grid .contact-preference-options input {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-preference-options label:has(input:checked) {
  border-color: var(--red);
  background: rgba(241, 38, 53, 0.05);
}

.contact-main-grid .form-submit {
  min-height: 31px;
  margin-top: 9px;
  padding: 7px 12px;
  font-size: 9px;
}

.contact-main-grid .form-submit svg {
  width: 14px;
  height: 14px;
}

.contact-main-grid .contact-list {
  gap: 6px;
}

.contact-main-grid .contact-item {
  min-height: 43px;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 9px;
  background: #fff;
}

.contact-main-grid .contact-item .icon-box {
  width: 29px;
  height: 29px;
  border-radius: 8px;
}

.contact-main-grid .contact-item .icon-box svg {
  width: 15px;
  height: 15px;
}

.contact-main-grid .contact-item strong {
  font-size: 8px;
}

.contact-main-grid .contact-item small {
  margin-top: 2px;
  font-size: 7px;
}

.contact-main-grid .contact-item > svg:last-child {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: var(--red);
}

.contact-location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  align-items: center;
  gap: 18px;
  padding-top: 17px;
}

.contact-location-copy {
  padding: 7px 9px;
}

.contact-location-copy .section-kicker,
.contact-faq-intro .section-kicker {
  color: var(--red);
  font-size: 8px;
}

.contact-location-copy h2,
.contact-faq-intro h2 {
  margin: 3px 0 5px;
  font-size: 20px;
  letter-spacing: -0.7px;
}

.contact-location-copy > p,
.contact-faq-intro > p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

.contact-location-facts {
  display: grid;
  gap: 6px;
  margin: 9px 0;
}

.contact-location-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
}

.contact-location-facts svg {
  width: 13px;
  height: 13px;
  color: var(--red);
}

.contact-location-copy .button {
  min-height: 30px;
  font-size: 8px;
}

.contact-location-copy .button svg {
  width: 13px;
  height: 13px;
}

.contact-map-preview {
  position: relative;
  display: block;
  min-height: 166px;
  overflow: hidden;
  border: 1px solid rgba(49, 35, 54, 0.14);
  border-radius: 12px;
  box-shadow: inset 0 0 0 4px #fff;
}

.contact-map-preview iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.contact-map-preview:hover {
  border-color: rgba(241, 38, 53, 0.4);
}

.contact-map-roads {
  position: absolute;
  inset: -10%;
  background:
    linear-gradient(26deg, transparent 48%, rgba(255, 255, 255, 0.94) 49% 51%, transparent 52%),
    linear-gradient(155deg, transparent 33%, rgba(255, 255, 255, 0.96) 34% 36%, transparent 37%),
    linear-gradient(88deg, transparent 58%, rgba(255, 255, 255, 0.92) 59% 61%, transparent 62%);
  opacity: 0.9;
}

.contact-map-pin {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--red);
  filter: drop-shadow(0 3px 3px rgba(45, 28, 38, 0.25));
}

.contact-map-pin svg {
  width: 30px;
  height: 30px;
  fill: var(--red);
  stroke: #fff;
}

.contact-map-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(50% + 17px);
  display: grid;
  gap: 3px;
  padding: 7px 9px;
  border: 1px solid rgba(49, 35, 54, 0.11);
  border-radius: 7px;
  background: #fff;
  color: var(--white);
  box-shadow: 0 3px 12px rgba(32, 27, 34, 0.12);
  transform: translateY(-50%);
}

.contact-map-label strong {
  font-size: 8px;
}

.contact-map-label small {
  color: var(--muted);
  font-size: 7px;
}

.contact-map-zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 24px;
  height: 42px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #403841;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.contact-faq-section {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 2.3fr);
  gap: 15px;
  align-items: stretch;
  padding-top: 16px;
}

.contact-faq-intro {
  padding: 6px 13px 6px 8px;
  border-right: 1px solid var(--line);
}

.contact-faq-intro h2 {
  font-size: 17px;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.contact-faq-card {
  position: relative;
  min-width: 0;
  min-height: 98px;
  padding: 11px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(145deg, #fff, #faf6fb);
}

.contact-faq-card::after {
  position: absolute;
  top: -19px;
  right: -9px;
  color: rgba(106, 34, 92, 0.08);
  content: "✦";
  font-size: 58px;
}

.contact-faq-card > span {
  display: grid;
  width: 25px;
  height: 25px;
  margin-bottom: 7px;
  place-items: center;
  border-radius: 8px;
  background: rgba(241, 38, 53, 0.09);
  color: var(--red);
}

.contact-faq-card > span svg {
  width: 14px;
  height: 14px;
}

.contact-faq-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 5px;
  font-size: 9px;
}

.contact-faq-card p {
  position: relative;
  z-index: 1;
  max-width: 90%;
  margin: 0;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.5;
}

.contact-faq-card > svg:last-child {
  position: absolute;
  right: 9px;
  bottom: 12px;
  width: 14px;
  height: 14px;
  color: var(--red);
}

.contact-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
  padding: 13px 18px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 87% 50%, rgba(241, 38, 53, 0.28), transparent 30%),
    linear-gradient(100deg, #17111c, #31112a);
  color: #fff;
}

.contact-final-cta h2 {
  margin: 0 0 3px;
  font-size: 15px;
}

.contact-final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 8px;
}

.contact-final-cta > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.button-outline {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button-outline svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 1000px) {
  .contact-hero {
    min-height: 145px;
    padding: 20px 30px;
  }

  .contact-hero .hero-copy {
    width: 66%;
  }

  .contact-hero h1 {
    font-size: clamp(32px, 4.2vw, 40px);
  }

  .contact-hero .hero-portrait {
    width: min(23%, 190px);
    height: 110%;
  }

  .contact-hero .hero-note {
    font-size: 9px;
  }

  .contact-quick-links {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }

  .contact-quick-link {
    min-height: 43px;
    grid-template-columns: 27px minmax(0, 1fr) 15px;
    gap: 6px;
    padding: 5px 7px;
  }

  .contact-quick-link > span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .contact-quick-link > span svg {
    width: 15px;
    height: 15px;
  }

  .contact-quick-link > strong {
    font-size: 8px;
  }

  .contact-quick-link > strong small {
    margin-top: 1px;
    font-size: 7px;
  }

  .contact-main-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 10px;
  }

  .contact-main-grid .contact-card {
    padding: 13px;
    border-radius: 12px;
  }

  .contact-main-grid .contact-card h2 {
    font-size: 15px;
  }

  .contact-main-grid .contact-card > p {
    margin-bottom: 7px;
    font-size: 8px;
  }

  .contact-main-grid .form-grid {
    gap: 5px 8px;
  }

  .contact-main-grid .field {
    gap: 3px;
  }

  .contact-main-grid .field label,
  .contact-main-grid .contact-preferences legend {
    font-size: 7px;
  }

  .contact-main-grid .field input,
  .contact-main-grid .field select {
    min-height: 23px;
    padding: 4px 7px;
    border-radius: 6px;
    font-size: 8px;
  }

  .contact-main-grid .field textarea {
    min-height: 40px;
    padding: 5px 7px;
    border-radius: 6px;
    font-size: 8px;
  }

  .contact-preferences legend {
    margin-bottom: 3px;
  }

  .contact-preference-options {
    gap: 4px;
  }

  .contact-preference-options label {
    min-height: 21px;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 7px;
  }

  .contact-preference-options input {
    width: 10px;
    height: 10px;
  }

  .contact-main-grid .form-submit {
    min-height: 25px;
    margin-top: 6px;
    padding: 5px 9px;
    font-size: 8px;
  }

  .contact-main-grid .contact-list {
    gap: 4px;
  }

  .contact-main-grid .contact-item {
    min-height: 35px;
    gap: 6px;
    padding: 4px 6px;
    border-radius: 7px;
  }

  .contact-main-grid .contact-item .icon-box {
    width: 25px;
    height: 25px;
    border-radius: 7px;
  }

  .contact-main-grid .contact-item .icon-box svg {
    width: 13px;
    height: 13px;
  }

  .contact-main-grid .contact-item strong {
    font-size: 7px;
  }

  .contact-main-grid .contact-item small {
    font-size: 6px;
  }

  .contact-location-section {
    gap: 12px;
    padding-top: 12px;
  }

  .contact-map-preview {
    min-height: 120px;
    border-radius: 10px;
  }

  .contact-location-copy h2 {
    font-size: 17px;
  }

  .contact-location-copy > p,
  .contact-faq-intro > p {
    font-size: 7px;
  }

  .contact-location-facts {
    gap: 4px;
    margin: 6px 0;
  }

  .contact-location-facts span {
    font-size: 7px;
  }

  .contact-location-copy .button {
    min-height: 25px;
    padding: 5px 9px;
    font-size: 7px;
  }

  .contact-faq-section {
    gap: 10px;
    padding-top: 12px;
  }

  .contact-faq-intro {
    padding-right: 9px;
  }

  .contact-faq-intro h2 {
    font-size: 16px;
  }

  .contact-faq-card {
    min-height: 83px;
    padding: 8px;
    border-radius: 9px;
  }

  .contact-faq-card > span {
    width: 21px;
    height: 21px;
    margin-bottom: 5px;
    border-radius: 6px;
  }

  .contact-faq-card > span svg {
    width: 12px;
    height: 12px;
  }

  .contact-faq-card h3 {
    margin-bottom: 3px;
    font-size: 8px;
  }

  .contact-faq-card p {
    font-size: 6px;
  }

  .contact-faq-card > svg:last-child {
    right: 7px;
    bottom: 8px;
    width: 12px;
    height: 12px;
  }

  .contact-final-cta {
    margin-top: 12px;
    padding: 10px 14px;
  }

  .contact-final-cta h2 {
    font-size: 13px;
  }

  .contact-final-cta p {
    font-size: 7px;
  }

  .contact-final-cta .button,
  .contact-final-cta .button-outline {
    min-height: 26px;
    padding: 5px 9px;
    font-size: 7px;
  }
}

.contact-main-grid .contact-preferences .contact-preference-options input {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (min-width: 701px) and (max-width: 1000px) {
  .contact-main-grid .contact-card {
    padding: 11px;
  }

  .contact-main-grid .contact-card h2 {
    margin-bottom: 3px;
  }

  .contact-main-grid .contact-card > p {
    margin-bottom: 6px;
  }

  .contact-main-grid .form-grid {
    gap: 4px 8px;
  }

  .contact-main-grid .field input,
  .contact-main-grid .field select {
    min-height: 21px;
  }

  .contact-main-grid .field textarea {
    min-height: 38px;
  }

  .contact-preference-options label {
    min-height: 19px;
    padding: 2px 5px;
  }

  .contact-location-copy > p,
  .contact-faq-intro > p {
    margin-bottom: 6px;
    line-height: 1.4;
  }

  .contact-faq-intro h2 {
    margin-bottom: 3px;
    font-size: 15px;
  }
}

.home-page .hero-home {
  min-height: 360px;
  margin-top: 12px;
  padding: 48px;
  border-radius: 20px;
}

.home-page .hero-home .hero-copy {
  width: min(52%, 570px);
}

.home-page .hero-home h1 {
  max-width: 560px;
  margin-bottom: 12px;
  font-size: clamp(42px, 4.7vw, 58px);
  line-height: 1;
}

.home-page .hero-home .hero-copy > p:not(.eyebrow) {
  max-width: 440px;
  margin-bottom: 15px;
  font-size: 13px;
  line-height: 1.5;
}

.hero-class-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 17px;
}

.hero-class-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.hero-class-links a:hover {
  color: #ff9aa4;
}

.hero-class-links svg {
  width: 23px;
  height: 23px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #ff8792;
}

.home-page .feature-strip {
  margin-top: 12px;
  padding: 12px 8px;
  border-radius: 13px;
  box-shadow: 0 5px 15px rgba(32, 27, 34, 0.06);
}

.home-page .feature-item {
  justify-content: flex-start;
  gap: 10px;
  padding: 5px 14px;
}

.home-page .feature-item + .feature-item {
  border-left: 1px solid var(--line);
}

.home-page .feature-icon {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--red);
}

.home-page .feature-icon svg {
  width: 26px;
  height: 26px;
}

.home-page .feature-item strong {
  font-family: Outfit, sans-serif;
  font-size: 12px;
}

.home-page .feature-item small {
  margin-top: 2px;
  font-size: 9px;
}

.home-classes-section {
  padding-top: 24px;
}

.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.home-section-heading .section-kicker {
  margin-bottom: 4px;
  color: var(--red);
  font-size: 9px;
}

.home-section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -1.2px;
}

.home-section-heading > p {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid var(--red);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.home-section-heading .text-link {
  grid-column: 2;
  justify-self: end;
  color: var(--red);
  font-size: 9px;
}

.home-section-heading .text-link svg {
  width: 14px;
  height: 14px;
}

.home-course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-course-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #f8f6f9);
  box-shadow: 0 5px 13px rgba(32, 27, 34, 0.05);
}

.home-course-heading {
  position: relative;
  min-height: 79px;
  padding: 11px 15px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 62%, rgba(241, 38, 53, 0.4), transparent 34%),
    linear-gradient(115deg, #19131f, #351027);
  color: #fff;
}

.home-course-heading::after {
  position: absolute;
  right: -25px;
  bottom: -64px;
  width: 150px;
  height: 105px;
  border: 10px solid rgba(241, 38, 53, 0.82);
  border-radius: 50%;
  content: "";
  transform: rotate(-17deg);
}

.home-course-level {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 3px 8px;
  border: 1px solid rgba(255, 76, 100, 0.75);
  border-radius: 999px;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
}

.home-course-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.home-course-title svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}

.home-course-title h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.3px;
}

.home-course-body {
  padding: 12px 14px;
}

.home-course-body p {
  min-height: 33px;
  margin: 0 0 7px;
  color: #514a54;
  font-size: 9px;
  line-height: 1.45;
}

.home-course-body ul {
  display: grid;
  gap: 3px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.home-course-body li {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #514a54;
  font-size: 8px;
}

.home-course-body li svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: var(--red);
}

.home-course-body .button {
  min-height: 27px;
  padding: 5px 10px;
  font-size: 8px;
}

.home-course-body .button svg {
  width: 13px;
  height: 13px;
}

.home-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 13px;
}

.home-promo {
  position: relative;
  display: grid;
  min-height: 132px;
  grid-template-columns: 35px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 86% 20%, rgba(133, 38, 114, 0.62), transparent 45%),
    linear-gradient(105deg, #17121e, #35102c);
  color: #fff;
}

.home-promo-materials {
  background:
    radial-gradient(ellipse at 86% 20%, rgba(133, 38, 114, 0.7), transparent 45%),
    linear-gradient(105deg, #201020, #421332);
}

.home-promo-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 100, 122, 0.6);
  border-radius: 9px;
  color: #ff6575;
}

.home-promo-icon svg {
  width: 22px;
  height: 22px;
}

.home-promo > div {
  position: relative;
  z-index: 1;
  max-width: 68%;
}

.home-promo h2 {
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: -0.5px;
}

.home-promo p {
  margin: 0 0 8px;
  color: #e0d8e2;
  font-size: 9px;
  line-height: 1.45;
}

.home-promo .button {
  min-height: 26px;
  padding: 5px 10px;
  font-size: 8px;
}

.home-promo .button svg {
  width: 13px;
  height: 13px;
}

.home-promo-art {
  position: absolute;
  right: 12px;
  bottom: 8px;
  display: grid;
  width: 105px;
  height: 90px;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  transform: rotate(-9deg);
}

.home-promo-art svg {
  width: 74px;
  height: 74px;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.35));
}

.home-promo-materials .home-promo-art {
  right: 8px;
  bottom: 5px;
  color: #ffb6bd;
}

.home-promo-materials .home-promo-art svg {
  width: 86px;
  height: 86px;
}

.home-results-strip {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 2fr);
  gap: 12px;
  margin-top: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f4f1f6;
}

.home-results-intro {
  padding: 15px;
  background:
    radial-gradient(ellipse at 90% 15%, rgba(241, 38, 53, 0.2), transparent 45%),
    linear-gradient(125deg, #201321, #35112f);
  color: #fff;
}

.home-results-intro > span {
  display: grid;
  width: 31px;
  height: 31px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 9px;
  background: rgba(241, 38, 53, 0.18);
  color: #ff6575;
}

.home-results-intro > span svg {
  width: 20px;
  height: 20px;
}

.home-results-intro h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.home-results-intro p {
  margin: 0 0 9px;
  color: #ddd4df;
  font-size: 8px;
  line-height: 1.45;
}

.home-results-intro .button {
  min-height: 25px;
  padding: 4px 9px;
  font-size: 8px;
}

.home-result-card {
  display: flex;
  min-width: 0;
  min-height: 92px;
  flex: 0 0 calc((100% - 16px) / 3);
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid rgba(24, 18, 27, 0.1);
  border-radius: 10px;
  background: linear-gradient(145deg, #fff, #f9f7fa);
}

.home-result-card > img {
  width: 52px;
  height: 62px;
  flex: 0 0 52px;
  border-radius: 8px;
  object-fit: cover;
}

.home-results-carousel {
  min-width: 0;
  padding: 10px 10px 5px;
}

.home-result-window {
  overflow: hidden;
}

.home-result-track {
  display: flex;
  gap: 8px;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.3, 1);
  will-change: transform;
}

.home-results-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
  color: var(--muted);
  font-size: 8px;
}

.home-results-controls > span {
  margin-right: auto;
}

.home-results-controls button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.home-results-controls button:first-of-type svg {
  transform: rotate(180deg);
}

.home-results-controls svg {
  width: 13px;
  height: 13px;
}

.home-result-card strong,
.home-result-card small {
  display: block;
}

.home-result-card strong {
  font-size: 10px;
  line-height: 1.3;
}

.home-result-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.3;
}

.home-result-card .home-result-sample {
  color: #875d12;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-result-card .home-result-grade {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border: 1px solid rgba(241, 38, 53, 0.25);
  border-radius: 50%;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.home-results-empty {
  margin: 12px;
  color: var(--muted);
  font-size: 12px;
}

.home-benefits {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin-top: 13px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #f8f6f9);
}

.home-benefits-intro {
  padding: 3px 13px;
  border-left: 3px solid var(--red);
}

.home-benefits-intro h2 {
  margin: 0 0 3px;
  font-size: 16px;
  letter-spacing: -0.5px;
}

.home-benefits-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.home-benefit {
  display: grid;
  min-height: 48px;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-left: 1px solid var(--line);
}

.home-benefit > span {
  color: var(--red);
}

.home-benefit > span svg {
  width: 23px;
  height: 23px;
}

.home-benefit strong,
.home-benefit small {
  display: block;
  font-size: 8px;
  line-height: 1.3;
}

.home-benefit small {
  color: var(--muted);
  font-weight: 400;
}

.home-testimonials {
  display: grid;
  grid-template-columns: minmax(190px, 0.74fr) minmax(0, 2fr);
  align-items: center;
  gap: 13px;
  margin-top: 13px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #f8f6f9);
}

.home-testimonials-intro {
  position: relative;
  padding-left: 32px;
}

.home-quote-mark {
  position: absolute;
  top: -8px;
  left: 0;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 45px;
  line-height: 1;
}

.home-testimonials-intro h2 {
  margin: 0 0 4px;
  font-size: 15px;
}

.home-testimonials-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.home-testimonial-placeholder {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 18, 27, 0.08);
  border-radius: 11px;
  background: #fff;
}

.home-testimonial-placeholder > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(241, 38, 53, 0.09);
  color: var(--red);
}

.home-testimonial-placeholder > span svg {
  width: 18px;
  height: 18px;
}

.home-testimonial-placeholder strong {
  font-size: 9px;
}

.home-testimonial-placeholder p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.home-testimonial-placeholder .text-link {
  margin-left: auto;
  color: var(--red);
  font-size: 8px;
}

.home-testimonial-placeholder .text-link svg {
  width: 13px;
  height: 13px;
}

.home-success-cta {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(126, 30, 111, 0.55), transparent 43%),
    linear-gradient(100deg, #17111c, #3a102d);
  color: #fff;
}

.home-success-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}

.home-success-icon svg {
  width: 23px;
  height: 23px;
}

.home-success-cta h2 {
  margin: 0 0 3px;
  font-size: 17px;
}

.home-success-cta p {
  margin: 0;
  color: #e2dce4;
  font-size: 9px;
}

.home-success-cta .button {
  min-height: 31px;
  padding: 7px 12px;
  font-size: 9px;
}

.home-success-cta .button svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1000px) {
  .home-page .hero-home {
    min-height: 214px;
    margin-top: 10px;
    padding: 20px 30px;
    border-radius: 15px;
  }

  .home-page .hero-home .hero-copy {
    width: 53%;
  }

  .home-page .hero-home .eyebrow {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .home-page .hero-home h1 {
    max-width: 390px;
    margin-bottom: 8px;
    font-size: clamp(31px, 4.3vw, 40px);
    letter-spacing: -1.6px;
  }

  .home-page .hero-home .hero-copy > p:not(.eyebrow) {
    max-width: 300px;
    margin-bottom: 9px;
    font-size: 9px;
  }

  .home-page .hero-home .hero-actions {
    gap: 7px;
  }

  .home-page .hero-home .hero-actions .button {
    min-height: 27px;
    padding: 5px 10px;
    font-size: 8px;
  }

  .home-page .hero-home .hero-actions .button svg {
    width: 12px;
    height: 12px;
  }

  .home-page .hero-home .hero-portrait {
    right: 12%;
    width: min(30%, 220px);
    height: 112%;
    object-position: center 26%;
  }

  .home-page .hero-home .hero-note {
    top: 24%;
    right: 4%;
    width: 75px;
    font-size: 10px;
  }

  .hero-class-links {
    gap: 12px;
    margin-top: 10px;
  }

  .hero-class-links a {
    gap: 5px;
    font-size: 8px;
  }

  .hero-class-links svg {
    width: 19px;
    height: 19px;
    padding: 3px;
  }

  .home-page .feature-strip {
    margin-top: 9px;
    padding: 8px 5px;
  }

  .home-page .feature-item {
    gap: 5px;
    padding: 4px 8px;
  }

  .home-page .feature-icon {
    width: 27px;
    height: 27px;
  }

  .home-page .feature-icon svg {
    width: 21px;
    height: 21px;
  }

  .home-page .feature-item strong {
    font-size: 9px;
  }

  .home-page .feature-item small {
    font-size: 7px;
  }

  .home-classes-section {
    padding-top: 17px;
  }

  .home-section-heading {
    gap: 12px;
    margin-bottom: 10px;
  }

  .home-section-heading h2 {
    font-size: 22px;
  }

  .home-section-heading > p {
    padding-left: 10px;
    font-size: 8px;
  }

  .home-section-heading .text-link {
    font-size: 8px;
  }

  .home-course-grid {
    gap: 8px;
  }

  .home-course-heading {
    min-height: 67px;
    padding: 8px 10px;
  }

  .home-course-title {
    gap: 7px;
    margin-top: 6px;
  }

  .home-course-title h3 {
    font-size: 12px;
  }

  .home-course-title svg {
    width: 19px;
    height: 19px;
  }

  .home-course-body {
    padding: 9px 10px;
  }

  .home-course-body p {
    min-height: 32px;
    font-size: 7px;
  }

  .home-course-body ul {
    margin-bottom: 7px;
  }

  .home-course-body li {
    font-size: 7px;
  }

  .home-course-body .button {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 7px;
  }

  .home-promo-grid,
  .home-results-strip,
  .home-promo {
    gap: 8px;
  }

  .home-promo {
    min-height: 89px;
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 10px;
  }

  .home-promo-icon {
    width: 27px;
    height: 27px;
  }

  .home-promo-icon svg {
    width: 18px;
    height: 18px;
  }

  .home-promo h2 {
    font-size: 12px;
  }

  .home-promo p {
    margin-bottom: 6px;
    font-size: 7px;
  }

  .home-promo .button {
    min-height: 22px;
    padding: 4px 8px;
    font-size: 7px;
  }

  .home-promo-art {
    right: 5px;
    width: 70px;
    height: 64px;
  }

  .home-promo-art svg {
    width: 54px;
    height: 54px;
  }

  .home-promo-materials .home-promo-art svg {
    width: 58px;
    height: 58px;
  }

  .home-results-strip {
    grid-template-columns: minmax(140px, 0.72fr) minmax(0, 2fr);
  }

  .home-results-intro {
    padding: 10px;
  }

  .home-results-intro > span {
    width: 25px;
    height: 25px;
    margin-bottom: 5px;
  }

  .home-results-intro h2 {
    font-size: 12px;
  }

  .home-results-intro p {
    font-size: 7px;
  }

  .home-results-intro .button {
    min-height: 22px;
    font-size: 7px;
  }

  .home-result-placeholders {
    gap: 5px;
    padding: 6px;
  }

  .home-result-card {
    min-height: 59px;
    grid-template-columns: 22px minmax(0, 1fr) 17px;
    gap: 4px;
    padding: 5px;
    border-radius: 8px;
  }

  .home-result-card > span:first-child {
    width: 22px;
    height: 22px;
  }

  .home-result-card > span:first-child svg {
    width: 14px;
    height: 14px;
  }

  .home-result-card strong {
    font-size: 7px;
  }

  .home-result-card small {
    font-size: 6px;
  }

  .home-result-card .home-result-grade {
    width: 17px;
    height: 17px;
    font-size: 8px;
  }

  .home-benefits {
    margin-top: 9px;
    padding: 7px;
  }

  .home-benefits-intro {
    padding-inline: 8px;
  }

  .home-benefits-intro h2 {
    font-size: 12px;
  }

  .home-benefits-intro p {
    font-size: 6px;
  }

  .home-benefit {
    min-height: 38px;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 4px;
    padding: 2px 6px;
  }

  .home-benefit > span svg {
    width: 18px;
    height: 18px;
  }

  .home-benefit strong,
  .home-benefit small {
    font-size: 6px;
  }

  .home-testimonials {
    margin-top: 9px;
    padding: 8px;
  }

  .home-testimonials-intro {
    padding-left: 25px;
  }

  .home-quote-mark {
    font-size: 36px;
  }

  .home-testimonials-intro h2 {
    font-size: 11px;
  }

  .home-testimonials-intro p {
    font-size: 6px;
  }

  .home-testimonial-placeholder {
    min-height: 48px;
    gap: 7px;
    padding: 7px;
  }

  .home-testimonial-placeholder > span {
    width: 28px;
    height: 28px;
  }

  .home-testimonial-placeholder strong,
  .home-testimonial-placeholder p,
  .home-testimonial-placeholder .text-link {
    font-size: 7px;
  }

  .home-success-cta {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: 9px;
    padding: 9px 12px;
  }

  .home-success-icon {
    width: 30px;
    height: 30px;
  }

  .home-success-icon svg {
    width: 18px;
    height: 18px;
  }

  .home-success-cta h2 {
    font-size: 12px;
  }

  .home-success-cta p {
    font-size: 7px;
  }

  .home-success-cta .button {
    min-height: 25px;
    padding: 5px 9px;
    font-size: 7px;
  }
}

@media (max-width: 700px) {
  .home-page .hero-home {
    min-height: 300px;
    padding: 22px 18px;
  }

  .home-page .hero-home .hero-copy {
    width: 61%;
  }

  .home-page .hero-home h1 {
    font-size: clamp(30px, 8.5vw, 42px);
  }

  .home-page .hero-home .hero-portrait {
    right: 7%;
    width: 43%;
    height: 96%;
  }

  .home-page .hero-home .hero-note {
    top: 10%;
    right: 2%;
    width: 56px;
    font-size: 10px;
  }

  .hero-class-links {
    gap: 7px;
    margin-top: 9px;
  }

  .hero-class-links a {
    gap: 3px;
    font-size: 7px;
  }

  .hero-class-links svg {
    width: 17px;
    height: 17px;
  }

  .home-section-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
  }

  .home-section-heading > p {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-left: 8px;
  }

  .home-section-heading .text-link {
    grid-column: 2;
    grid-row: 1;
  }

  .home-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-course-card:last-child {
    grid-column: 1 / -1;
  }

  .home-promo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-results-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-result-card {
    flex-basis: calc(100% - 4px);
  }

  .home-results-intro {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 8px;
  }

  .home-results-intro > span {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .home-results-intro h2 {
    grid-column: 2;
    grid-row: 1;
  }

  .home-results-intro p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }

  .home-results-intro .button {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .home-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .home-benefits-intro {
    grid-column: 1 / -1;
    padding: 4px 8px;
  }

  .home-benefit:nth-child(odd) {
    border-left: 0;
  }

  .home-testimonials {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .home-success-cta {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .home-success-cta > .button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 42px;
  }
}

@media (max-width: 420px) {
  .home-page .hero-home {
    min-height: 270px;
    padding-inline: 15px;
  }

  .home-page .hero-home .hero-copy {
    width: 62%;
  }

  .home-page .hero-home h1 {
    font-size: clamp(29px, 8.2vw, 35px);
    letter-spacing: -1.6px;
  }

  .home-page .hero-home .hero-copy > p:not(.eyebrow) {
    font-size: 8px;
  }

  .home-page .hero-home .hero-actions .button {
    min-height: 27px;
    padding-inline: 7px;
    font-size: 7px;
  }

  .hero-class-links {
    gap: 5px;
  }

  .hero-class-links a {
    font-size: 6px;
  }

  .hero-class-links svg {
    width: 15px;
    height: 15px;
  }

  .home-page .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 2px;
    padding: 8px 3px;
  }

  .home-page .feature-item {
    padding-inline: 5px;
  }

  .home-page .feature-item:nth-child(odd) {
    border-left: 0;
  }

  .home-page .feature-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .home-page .feature-item strong {
    font-size: 8px;
  }

  .home-page .feature-item small {
    font-size: 6px;
  }

  .home-course-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-course-card:last-child {
    grid-column: auto;
  }

  .home-course-body p {
    min-height: 0;
  }

  .home-promo > div {
    max-width: 75%;
  }

  .home-result-placeholders {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-result-card {
    min-height: 48px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 6px 8px;
  }

  .home-result-card > span:first-child {
    width: 26px;
    height: 26px;
  }

  .home-result-card strong {
    font-size: 8px;
  }

  .home-result-card small {
    font-size: 7px;
  }

  .home-testimonial-placeholder {
    flex-wrap: wrap;
  }

  .home-testimonial-placeholder .text-link {
    width: 100%;
    margin-left: 41px;
  }

  .home-success-cta h2 {
    font-size: 11px;
  }
}

@media (max-width: 700px) {
  .page-hero.contact-hero {
    min-height: 370px;
    padding: 30px 23px 180px;
  }

  .contact-hero .hero-copy {
    width: 100%;
  }

  .contact-hero h1 {
    max-width: 75%;
    font-size: clamp(35px, 9vw, 46px);
  }

  .contact-hero .hero-copy > p:not(.eyebrow) {
    max-width: 75%;
  }

  .contact-hero .hero-portrait {
    right: 17%;
    width: 49%;
    height: 57%;
  }

  .contact-hero .hero-note {
    top: auto;
    right: 5%;
    bottom: 75px;
    width: 77px;
    font-size: 10px;
  }

  .contact-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .contact-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-location-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .contact-map-preview {
    min-height: 185px;
  }

  .contact-faq-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .contact-faq-intro {
    padding: 0;
    border-right: 0;
  }
}

@media (max-width: 480px) {
  .contact-quick-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-quick-link {
    min-height: 52px;
  }

  .contact-preference-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-faq-card {
    min-height: 90px;
  }

  .contact-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-final-cta > div:last-child {
    width: 100%;
  }

  .contact-final-cta > div:last-child > a {
    flex: 1 1 0;
  }
}

main p,
.site-footer p {
  font-size: 15px !important;
  line-height: 1.6;
}

main li {
  font-size: 14px !important;
  line-height: 1.5;
}

main small,
.site-footer small {
  font-size: 13px !important;
  line-height: 1.4;
}

main strong {
  font-size: 14px !important;
  line-height: 1.35;
}

main h2 {
  font-size: clamp(23px, 2.2vw, 30px) !important;
  line-height: 1.2;
}

main h3 {
  font-size: clamp(18px, 1.6vw, 21px) !important;
  line-height: 1.25;
}

main h4,
.site-footer h3 {
  font-size: 17px !important;
  line-height: 1.3;
}

main :is(button, input, select, textarea, .button, .text-link),
.site-footer .footer-links a {
  font-size: 14px !important;
}

main :is(.eyebrow, .section-kicker, [class*="level"], [class*="badge"], [class*="status"], [class*="category"]),
.home-page .hero-class-links a {
  font-size: 12px !important;
  line-height: 1.4;
}

.nav-link,
.nav-cta {
  font-size: 14px;
}

.brand-copy small {
  font-size: 10px;
}

.site-footer .footer-bottom {
  font-size: 12px;
  line-height: 1.5;
}

.home-page .hero-class-links a {
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-link,
  .nav-cta {
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  main p,
  .site-footer p {
    font-size: 15px !important;
  }

  main li {
    font-size: 14px !important;
  }

  main small,
  .site-footer small {
    font-size: 12px !important;
  }

  main h2 {
    font-size: clamp(22px, 5.7vw, 26px) !important;
  }

  main h3 {
    font-size: clamp(17px, 4.5vw, 19px) !important;
  }

  main h4,
  .site-footer h3 {
    font-size: 16px !important;
  }

  main :is(button, input, select, textarea, .button, .text-link),
  .nav-link,
  .nav-cta,
  .site-footer .footer-links a {
    font-size: 14px !important;
  }

  main :is(.eyebrow, .section-kicker, [class*="level"], [class*="badge"], [class*="status"], [class*="category"]),
  .home-page .hero-class-links a {
    font-size: 11px !important;
  }

  .home-page .hero-home {
    min-height: 350px;
  }

  .home-page .hero-home .hero-copy {
    width: 68%;
  }

  .home-page .hero-home .hero-copy > p:not(.eyebrow) {
    max-width: 100%;
    font-size: 15px;
  }

  .home-page .hero-home .hero-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .home-page .hero-home .hero-actions .button {
    min-height: 38px;
    padding-inline: 10px;
  }

  .home-page .feature-item strong,
  .home-page .home-result-card strong,
  .home-page .home-benefit strong,
  .home-page .home-testimonial-placeholder strong {
    font-size: 14px !important;
    line-height: 1.3;
  }

  .home-page .feature-item small,
  .home-page .home-result-card small {
    font-size: 12px !important;
  }

  .home-page .home-result-card {
    min-height: 58px;
  }

  .home-page .home-course-body .button,
  .home-page .home-promo .button,
  .home-page .home-results-intro .button {
    min-height: 38px;
    padding-inline: 10px;
  }

  .home-page .home-success-cta > .button {
    min-height: 42px;
    padding-inline: 14px;
  }

  .site-footer .footer-bottom {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .home-page .hero-home {
    min-height: 370px;
  }

  .home-page .hero-home .hero-copy {
    width: 72%;
  }

  .home-page .hero-home h1 {
    font-size: clamp(34px, 9.2vw, 40px);
  }
}

.home-results-strip {
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 2fr);
  gap: 16px;
  margin-top: 20px;
  border-color: rgba(91, 48, 86, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 92% 4%, rgba(196, 159, 196, 0.2), transparent 42%),
    linear-gradient(135deg, #f8f3fa, #f0e9f4);
  box-shadow: 0 16px 38px rgba(49, 26, 54, 0.1);
}

.home-results-intro {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 18px 0 0 18px;
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 108, 132, 0.27), transparent 35%),
    linear-gradient(145deg, #26142a, #52143f 72%, #751c4c);
}

.home-results-intro > span {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
}

.home-results-intro h2 {
  margin-bottom: 6px;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.035em;
}

.home-results-intro p {
  max-width: 32ch;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.55;
}

.home-results-intro .button {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

.home-results-carousel {
  align-self: stretch;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 18px 12px;
}

.home-result-window {
  width: 100%;
}

.home-result-track {
  gap: 12px;
}

.home-result-card {
  min-height: 126px;
  flex-basis: calc((100% - 24px) / 3);
  gap: 13px;
  padding: 12px;
  border-color: rgba(67, 45, 70, 0.12);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #fcf9fd);
  box-shadow: 0 8px 22px rgba(47, 28, 53, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.home-result-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 25, 83, 0.25);
  box-shadow: 0 14px 28px rgba(47, 28, 53, 0.13);
}

.home-result-card > img {
  width: 76px;
  height: 92px;
  flex-basis: 76px;
  border: 3px solid #fff;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(47, 28, 53, 0.15);
  object-position: center 32%;
}

.home-result-card > div {
  min-width: 0;
  flex: 1;
}

.home-result-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.home-result-card small {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.4;
}

.home-result-card .home-result-sample {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.home-result-card .home-result-grade {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-color: rgba(241, 38, 53, 0.28);
  background: #fff;
  box-shadow: 0 3px 10px rgba(241, 38, 53, 0.08);
  font-size: 16px;
}

.home-results-controls {
  gap: 8px;
  padding-top: 11px;
  font-size: 11px;
}

.home-results-controls button {
  width: 34px;
  height: 34px;
  border-color: rgba(49, 35, 54, 0.14);
  box-shadow: 0 3px 10px rgba(49, 35, 54, 0.06);
}

.home-results-controls svg {
  width: 16px;
  height: 16px;
}

.results-category-panel {
  padding: clamp(15px, 2vw, 24px);
  border-color: rgba(74, 42, 78, 0.15);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(233, 213, 233, 0.28), transparent 30%),
    linear-gradient(140deg, #fff, #fbf8fc);
  box-shadow: 0 16px 40px rgba(49, 26, 54, 0.08);
}

.results-panel-title {
  gap: 13px;
}

.results-panel-title > span {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(145deg, #ee3049, #be1744);
  box-shadow: 0 7px 16px rgba(195, 25, 66, 0.2);
}

.results-panel-title h3 {
  font-size: clamp(20px, 2.2vw, 27px);
  letter-spacing: -0.035em;
}

.results-panel-title p {
  margin-top: 5px;
  font-size: 13px;
}

.results-year-select {
  gap: 10px;
  font-size: 13px;
}

.results-year-select select {
  min-width: 126px;
  min-height: 42px;
  padding: 7px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
}

.results-year-status {
  margin: 14px 0;
  font-size: 13px;
}

.results-highlights {
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 2.45fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(119, 72, 116, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 94% 10%, rgba(207, 176, 214, 0.24), transparent 45%),
    linear-gradient(115deg, #f7eff8, #f2eaf5);
}

.results-featured-label {
  min-height: 236px;
  padding: 22px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 80% 6%, rgba(248, 125, 165, 0.22), transparent 35%),
    linear-gradient(150deg, #341239, #761946 65%, #a32258);
  box-shadow: 0 14px 26px rgba(67, 21, 64, 0.18);
}

.results-featured-label > span {
  margin-bottom: 12px;
}

.results-featured-label svg {
  width: 34px;
  height: 34px;
}

.results-featured-label strong {
  font-size: 18px;
  line-height: 1.22;
}

.results-featured-label small {
  margin-top: 10px;
  font-size: 13px;
}

.results-profile-list {
  gap: 12px;
  padding-right: 36px;
}

.results-profile-card {
  flex-basis: calc(33.333% - 8px);
  gap: 8px;
  padding: 12px;
  border-color: rgba(62, 42, 65, 0.1);
  border-radius: 16px;
  background: linear-gradient(160deg, #fff 50%, #fbf5fc);
  box-shadow: 0 8px 20px rgba(49, 35, 54, 0.08);
}

.results-profile-photo {
  height: clamp(170px, 18vw, 230px);
  margin-bottom: 4px;
  border-width: 4px;
  border-radius: 13px;
  object-position: center 30%;
  box-shadow: 0 5px 16px rgba(49, 35, 54, 0.17);
}

.results-profile-card > strong {
  font-size: 16px;
  line-height: 1.35;
}

.results-profile-card > small {
  margin-top: 2px;
  font-size: 13px;
}

.results-profile-grade {
  min-height: 31px;
  margin-top: 4px;
  padding: 5px 13px;
  font-size: 13px;
}

.results-item-sample {
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.results-profile-controls {
  right: 12px;
  gap: 8px;
}

.results-profile-controls button {
  width: 36px;
  height: 36px;
  box-shadow: 0 4px 12px rgba(155, 20, 57, 0.2);
}

.results-profile-controls button svg {
  width: 18px;
  height: 18px;
}

.results-metrics {
  gap: 13px;
  margin-top: 13px;
}

.results-metric-card,
.results-excellence-card,
.results-story-card,
.results-gallery-card {
  padding: 18px;
  border-color: rgba(49, 35, 54, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(49, 35, 54, 0.06);
}

.results-metric-heading {
  gap: 12px;
  margin-bottom: 15px;
}

.results-metric-heading > span {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.results-metric-heading > span svg {
  width: 22px;
  height: 22px;
}

.results-metric-heading h4,
.results-excellence-card h4,
.results-card-heading h4 {
  font-size: 17px;
}

.results-metric-heading p {
  font-size: 12px;
}

.results-metric-values {
  gap: 9px;
}

.results-metric-values > div {
  min-height: 80px;
  gap: 7px;
  padding: 10px 6px;
  border-radius: 12px;
}

.results-metric-values strong {
  font-size: 25px;
}

.results-metric-values small {
  font-size: 12px;
}

.results-year-card > span svg {
  width: 21px;
  height: 21px;
}

.results-year-card h4 {
  font-size: 17px;
}

.results-year-card p {
  margin: 10px 0 12px;
  font-size: 13px;
  line-height: 1.45;
}

.results-year-table {
  gap: 8px 6px;
  padding: 11px;
  border: 1px solid rgba(167, 25, 83, 0.08);
  border-radius: 12px;
  background: linear-gradient(145deg, #fbf6fb, #f7eff6);
  font-size: 12px;
}

.results-year-table > :nth-child(-n + 4) {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(105, 78, 108, 0.12);
  font-size: 11px;
}

.results-year-table strong {
  font-size: 14px;
}

.results-excellence-card {
  gap: 8px;
  background:
    radial-gradient(circle at 16% 50%, rgba(255, 200, 81, 0.25), transparent 35%),
    linear-gradient(140deg, #321234, #6d1b51);
}

.results-excellence-card > span svg {
  width: 40px;
  height: 40px;
}

.results-excellence-card h4 {
  font-size: 16px;
}

.results-excellence-card p {
  max-width: 22ch;
  font-size: 12px;
}

.results-stories-row {
  gap: 13px;
  margin-top: 13px;
}

.results-card-heading {
  gap: 9px;
}

.results-card-heading > svg {
  width: 20px;
  height: 20px;
}

.results-sample-tag {
  padding: 4px 8px;
  font-size: 9px;
}

.results-story-slides {
  min-height: 170px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(132, 81, 128, 0.08);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(224, 198, 226, 0.34), transparent 45%),
    linear-gradient(130deg, #fcf8fc, #f7f0f8);
}

.results-story-slide {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
}

.results-story-slide img {
  width: 78px;
  height: 78px;
  border-width: 3px;
}

.results-story-slide blockquote {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.results-story-slide strong {
  font-size: 13px;
}

.results-story-slide small {
  font-size: 12px;
}

.results-story-dots {
  gap: 7px;
  margin-top: 10px;
}

.results-story-dots button {
  width: 10px;
  height: 10px;
}

.results-gallery-window {
  margin-top: 12px;
  border-radius: 13px;
}

.results-gallery-track {
  gap: 12px;
}

.results-gallery-photo {
  min-width: calc(50% - 6px);
  padding: 7px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(49, 35, 54, 0.09);
}

.results-gallery-photo img {
  height: clamp(170px, 18vw, 230px);
  border-radius: 11px;
}

.results-gallery-photo figcaption {
  min-height: 42px;
  padding: 10px 7px 6px;
  font-size: 13px;
}

.results-gallery-sample {
  padding: 2px 6px;
  font-size: 9px;
}

.results-gallery-controls {
  margin-top: 10px;
}

.results-gallery-controls button {
  width: 36px;
  height: 36px;
}

.results-gallery-controls svg {
  width: 18px;
  height: 18px;
}

.results-gallery-controls span {
  font-size: 12px;
}

@media (max-width: 900px) {
  .results-profile-photo,
  .results-gallery-photo img {
    height: 180px;
  }

  .results-featured-label {
    min-height: 210px;
  }
}

@media (max-width: 700px) {
  .home-results-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-radius: 18px;
  }

  .home-results-intro {
    min-height: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 18px;
    border-radius: 17px 17px 0 0;
  }

  .home-results-intro > span {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .home-results-intro h2 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 21px;
  }

  .home-results-intro p {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    margin: 0;
    font-size: 13px;
  }

  .home-results-intro .button {
    grid-column: 3;
    grid-row: 1 / span 2;
    min-height: 38px;
    font-size: 12px;
  }

  .home-results-carousel {
    min-height: 0;
    padding: 14px;
  }

  .home-result-card {
    min-height: 116px;
    flex-basis: calc((100% - 12px) / 2);
    gap: 11px;
    padding: 10px;
  }

  .home-result-card > img {
    width: 66px;
    height: 82px;
    flex-basis: 66px;
  }

  .home-result-card strong {
    font-size: 13px !important;
  }

  .home-result-card small {
    font-size: 11px !important;
  }

  .home-result-card .home-result-grade {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 15px;
  }

  .results-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-featured-label {
    min-height: 115px;
  }

  .results-featured-label strong br {
    display: none;
  }

  .results-profile-list {
    padding-right: 0;
  }

  .results-profile-card {
    min-width: 0;
    flex-basis: calc((100% - 12px) / 2);
  }

  .results-profile-photo {
    height: 190px;
  }

  .results-metrics,
  .results-stories-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-excellence-card {
    min-height: 150px;
    grid-column: auto;
  }

  .results-gallery-photo {
    min-width: calc(50% - 6px);
  }

  .results-gallery-photo img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .home-results-intro {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 5px 10px;
  }

  .home-results-intro > span {
    width: 36px;
    height: 36px;
    grid-row: 1 / span 2;
  }

  .home-results-intro h2 {
    font-size: 19px;
  }

  .home-results-intro p {
    font-size: 12px;
  }

  .home-results-intro .button {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    margin-top: 6px;
  }

  .home-result-card {
    flex-basis: calc(100% - 2px);
    min-height: 112px;
  }

  .results-category-panel {
    padding: 12px;
  }

  .results-panel-title h3 {
    font-size: 21px;
  }

  .results-year-select {
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
  }

  .results-year-select select {
    min-width: 140px;
    min-height: 42px;
  }

  .results-profile-list {
    gap: 10px;
  }

  .results-profile-card {
    flex-basis: 100%;
    padding: 11px;
  }

  .results-profile-photo {
    height: clamp(220px, 72vw, 310px);
  }

  .results-profile-card > strong {
    font-size: 17px;
  }

  .results-profile-card > small {
    font-size: 13px;
  }

  .results-metric-card,
  .results-excellence-card,
  .results-story-card,
  .results-gallery-card {
    padding: 15px;
  }

  .results-story-slides {
    min-height: 180px;
    padding: 13px;
  }

  .results-story-slide {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
  }

  .results-story-slide img {
    width: 64px;
    height: 64px;
  }

  .results-story-slide blockquote {
    font-size: 13px;
  }

  .results-gallery-photo {
    min-width: 100%;
  }

  .results-gallery-photo img {
    height: clamp(210px, 68vw, 280px);
  }

  .results-year-table {
    gap: 8px 3px;
    padding: 9px 5px;
    font-size: 11px;
  }

  .results-year-table > :nth-child(-n + 4) {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-result-track,
  .home-result-card,
  .results-profile-card {
    scroll-behavior: auto;
    transition: none;
  }
}

.home-testimonials {
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 2fr);
  gap: clamp(18px, 3vw, 36px);
  margin-top: 20px;
  padding: clamp(20px, 3vw, 34px);
  border-color: rgba(91, 48, 86, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(227, 208, 231, 0.38), transparent 44%),
    linear-gradient(135deg, #fff, #f8f3fa);
  box-shadow: 0 16px 38px rgba(49, 26, 54, 0.08);
}

.home-testimonials-intro {
  padding-left: 42px;
}

.home-testimonials-intro .section-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-testimonials-intro h2 {
  margin-bottom: 8px;
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.home-testimonials-intro p {
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.55;
}

.home-quote-mark {
  top: -12px;
  font-size: 58px;
}

.home-testimonial-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(115, 77, 117, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 9px 24px rgba(49, 35, 54, 0.06);
}

.home-testimonial-story {
  position: relative;
  display: grid;
  min-height: 152px;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  overflow: hidden;
  padding: 19px 24px;
  border: 1px solid rgba(132, 81, 128, 0.1);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(218, 196, 224, 0.44), transparent 48%),
    linear-gradient(130deg, #fcf8fc, #f7f0f8);
  animation: results-story-enter 260ms ease both;
}

.home-testimonial-avatar {
  width: 86px;
  height: 86px;
  padding: 4px;
  border: 1px solid rgba(153, 89, 143, 0.2);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 7px 18px rgba(49, 35, 54, 0.14);
}

.home-testimonial-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
}

.home-testimonial-copy {
  position: relative;
  min-width: 0;
}

.home-testimonial-quote-mark {
  position: absolute;
  top: -20px;
  left: -3px;
  color: rgba(194, 34, 79, 0.2);
  font-family: Georgia, serif;
  font-size: 60px;
  line-height: 1;
}

.home-testimonial-copy blockquote {
  position: relative;
  margin: 0 0 12px;
  color: #33283a;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 600;
  line-height: 1.6;
}

.home-testimonial-copy strong,
.home-testimonial-copy small {
  display: block;
}

.home-testimonial-copy strong {
  color: #271d2d;
  font-size: 14px;
}

.home-testimonial-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.home-testimonial-sample {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(165, 111, 21, 0.18);
  border-radius: 999px;
  background: #fff9eb;
  color: #76520d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-testimonial-empty {
  display: flex;
  min-height: 132px;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(130deg, #fcf8fc, #f7f0f8);
}

.home-testimonial-empty > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: rgba(241, 38, 53, 0.09);
  color: var(--red);
}

.home-testimonial-empty strong {
  font-size: 15px;
}

.home-testimonial-empty p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.home-results-intro {
  position: relative;
}

.home-results-intro::after {
  position: absolute;
  right: 18px;
  bottom: 17px;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-result-card {
  position: relative;
  overflow: hidden;
}

.home-result-card > img {
  object-position: center 28%;
}

.home-result-card .home-result-grade {
  flex-shrink: 0;
}

.home-result-card .home-result-sample {
  width: fit-content;
  margin-top: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fff7e6;
}

.home-results-controls > span {
  font-size: 12px;
}

.results-stories-row {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 16px;
  margin-top: 16px;
}

.results-story-card,
.results-gallery-card {
  padding: 20px;
  border-color: rgba(81, 55, 85, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(230, 215, 233, 0.26), transparent 42%),
    linear-gradient(145deg, #fff, #fbf8fc);
  box-shadow: 0 10px 26px rgba(49, 35, 54, 0.07);
}

.results-card-heading {
  min-height: 28px;
}

.results-card-heading h4 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.results-story-slides {
  min-height: 205px;
  padding: 20px;
  border-color: rgba(132, 81, 128, 0.1);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(218, 196, 224, 0.42), transparent 48%),
    linear-gradient(130deg, #fcf8fc, #f7f0f8);
}

.results-story-slide {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
}

.results-story-slide img {
  width: 84px;
  height: 84px;
  border-color: #fff;
  box-shadow: 0 7px 18px rgba(49, 35, 54, 0.16);
}

.results-story-slide blockquote {
  font-size: 15px;
  line-height: 1.65;
}

.results-story-slide strong {
  font-size: 14px;
}

.results-story-slide small {
  font-size: 12px;
}

.results-gallery-photo {
  padding: 8px;
  border-color: rgba(81, 55, 85, 0.12);
  border-radius: 16px;
  background: linear-gradient(155deg, #fff, #faf5fb);
  box-shadow: 0 8px 20px rgba(49, 35, 54, 0.09);
}

.results-gallery-photo img {
  height: clamp(200px, 21vw, 270px);
  border-radius: 11px;
}

.results-gallery-photo figcaption {
  padding: 11px 8px 7px;
  font-size: 13px;
}

.results-gallery-controls button {
  width: 38px;
  height: 38px;
  box-shadow: 0 4px 12px rgba(194, 34, 79, 0.1);
}

@media (max-width: 700px) {
  .home-testimonials {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .home-testimonials-intro {
    padding-left: 36px;
  }

  .home-testimonials-intro h2 {
    font-size: 22px;
  }

  .home-testimonials-intro p {
    font-size: 13px;
  }

  .home-testimonial-panel {
    padding: 10px;
  }

  .home-testimonial-story {
    min-height: 145px;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
  }

  .home-testimonial-avatar {
    width: 68px;
    height: 68px;
  }

  .home-testimonial-copy blockquote {
    padding-right: 35px;
    font-size: 14px;
  }

  .results-stories-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-gallery-photo img {
    height: 230px;
  }
}

@media (max-width: 480px) {
  .home-testimonials {
    padding: 14px;
  }

  .home-testimonial-story {
    min-height: 164px;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 12px;
  }

  .home-testimonial-avatar {
    width: 54px;
    height: 54px;
  }

  .home-testimonial-copy blockquote {
    padding-right: 0;
    font-size: 13px;
  }

  .home-testimonial-sample {
    top: 7px;
    right: 7px;
    padding: 3px 6px;
    font-size: 8px;
  }

  .results-story-card,
  .results-gallery-card {
    padding: 14px;
  }

  .results-story-slides {
    min-height: 190px;
    padding: 13px;
  }

  .results-story-slide {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 11px;
  }

  .results-story-slide img {
    width: 60px;
    height: 60px;
  }

  .results-story-slide blockquote {
    font-size: 13px;
  }

  .results-gallery-photo img {
    height: clamp(220px, 68vw, 280px);
  }
}

.home-results-strip {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow:
    0 22px 48px rgba(24, 18, 27, 0.08),
    0 2px 6px rgba(24, 18, 27, 0.03);
}

.home-results-strip::before {
  display: none;
}

.home-results-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 116, 145, 0.25), transparent 33%),
    radial-gradient(ellipse at 10% 110%, rgba(173, 47, 105, 0.34), transparent 48%),
    linear-gradient(145deg, #211325, #4a143d 70%, #681744);
}

.home-results-intro::before,
.home-results-intro::after {
  position: absolute;
  right: -42px;
  bottom: -96px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-results-intro::after {
  right: -8px;
  bottom: -130px;
  width: 270px;
  height: 270px;
  border-color: rgba(255, 255, 255, 0.07);
}

.home-results-intro > span {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 180, 193, 0.25);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(245, 63, 94, 0.25), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 8px 18px rgba(12, 4, 17, 0.16);
  color: #ff9aab;
}

.home-results-intro > span svg {
  width: 23px;
  height: 23px;
}

.home-results-intro h2 {
  position: relative;
  max-width: 12ch;
  font-size: clamp(23px, 2.45vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-results-intro p {
  position: relative;
  max-width: 30ch;
  margin-bottom: 17px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.6;
}

.home-results-intro .button {
  position: relative;
  min-height: 42px;
  gap: 9px;
  padding-inline: 16px;
  box-shadow: 0 8px 18px rgba(238, 30, 65, 0.24);
  font-size: 13px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-results-intro .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(238, 30, 65, 0.32);
}

.home-results-carousel {
  position: relative;
  min-height: 220px;
  padding: 22px 22px 15px;
}

.home-result-window {
  overflow: hidden;
  padding: 4px 2px 12px;
  margin: -4px -2px -2px;
}

.home-result-track {
  align-items: stretch;
  gap: 14px;
}

.home-result-card {
  position: relative;
  min-height: 132px;
  flex-basis: calc((100% - 28px) / 3);
  gap: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 9px 22px rgba(24, 18, 27, 0.07),
    inset 0 1px rgba(255, 255, 255, 0.9);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-result-card::after {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(193, 33, 79, 0.48), rgba(193, 33, 79, 0));
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.home-result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 18, 27, 0.18);
  box-shadow: 0 16px 30px rgba(24, 18, 27, 0.12);
}

.home-result-card:hover::after {
  opacity: 1;
}

.home-result-card > img {
  width: 80px;
  height: 100px;
  flex-basis: 80px;
  border: 3px solid #fff;
  border-radius: 13px;
  box-shadow: 0 6px 15px rgba(47, 28, 53, 0.16);
  object-position: center 30%;
}

.home-result-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-right: 2px;
}

.home-result-card strong {
  color: #2b2230;
  font-size: clamp(13px, 1.13vw, 15px);
  line-height: 1.35;
}

.home-result-card small {
  color: #766b7b;
  font-size: 12px;
}

.home-result-card .home-result-sample {
  margin-top: 7px;
  padding: 3px 7px;
  border: 1px solid rgba(173, 119, 26, 0.15);
  border-radius: 999px;
  background: #fff8e9;
  color: #8d5b08;
  font-size: 9px;
  letter-spacing: 0.09em;
}

.home-result-card .home-result-grade {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border: 1px solid rgba(226, 42, 75, 0.28);
  background: linear-gradient(145deg, #fff, #fff6f7);
  box-shadow: 0 5px 13px rgba(194, 34, 79, 0.1);
  color: #c51e4a;
  font-size: 17px;
}

.home-results-controls {
  gap: 9px;
  padding: 12px 2px 0;
  color: #75697a;
  font-size: 11px;
}

.home-results-controls > span {
  font-size: 11px;
}

.home-results-controls button {
  width: 38px;
  height: 38px;
  border-color: rgba(92, 63, 99, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 13px rgba(49, 35, 54, 0.08);
  color: #551a48;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.home-results-controls button:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 8px 18px rgba(49, 35, 54, 0.13);
}

@media (max-width: 700px) {
  .home-results-intro {
    padding: 20px;
  }

  .home-results-intro h2 {
    max-width: none;
    font-size: 21px;
  }

  .home-results-intro p {
    font-size: 12px;
  }

  .home-results-intro .button {
    min-height: 38px;
    font-size: 12px;
  }

  .home-results-carousel {
    min-height: 0;
    padding: 15px;
  }

  .home-result-card {
    min-height: 120px;
    flex-basis: calc((100% - 14px) / 2);
    gap: 11px;
    padding: 10px;
    border-radius: 15px;
  }

  .home-result-card > img {
    width: 66px;
    height: 84px;
    flex-basis: 66px;
  }

  .home-result-card .home-result-grade {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .home-results-strip {
    border-radius: 17px;
  }

  .home-results-intro {
    padding: 18px;
  }

  .home-results-carousel {
    padding: 12px;
  }

  .home-result-card {
    min-height: 114px;
    flex-basis: calc(100% - 2px);
    gap: 12px;
    padding: 10px 12px;
  }

  .home-result-card > img {
    width: 70px;
    height: 86px;
    flex-basis: 70px;
  }

  .home-result-card strong {
    font-size: 14px !important;
  }

  .home-result-card small {
    font-size: 12px !important;
  }

  .home-results-controls button {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-results-intro .button,
  .home-result-card,
  .home-result-card::after,
  .home-results-controls button {
    transition: none;
  }
}

.home-results-strip {
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: 0;
  min-height: 0;
  background: #fff;
}

.home-results-intro {
  min-height: 180px;
  justify-content: center;
  padding: clamp(20px, 2.4vw, 32px);
}

.home-results-intro::before,
.home-results-intro::after {
  display: none;
}

.home-results-intro h2 {
  max-width: none;
  font-size: clamp(22px, 2.1vw, 29px);
}

.home-results-intro p {
  max-width: 26ch;
  margin-bottom: 12px;
  font-size: clamp(12px, 1.05vw, 14px);
}

.home-results-intro .button {
  min-height: 38px;
  font-size: 12px;
}

.home-results-carousel {
  min-height: 180px;
  justify-content: center;
  padding: 8px 14px 6px;
}

.home-result-window {
  padding: 5px 2px 9px;
  margin: -5px -2px -2px;
}

.home-result-track {
  gap: 11px;
}

.home-result-card {
  display: grid;
  height: 216px;
  min-height: 0;
  flex: 0 0 calc((100% - 44px) / 5);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 150px minmax(0, 1fr);
  align-content: stretch;
  align-items: stretch;
  gap: 0;
  overflow: visible;
  padding: 5px;
  border: 1px solid rgba(24, 18, 27, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(24, 18, 27, 0.08);
}

.home-result-card::after {
  display: none;
}

.home-result-card:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 18, 27, 0.17);
  box-shadow: 0 9px 20px rgba(24, 18, 27, 0.12);
}

.home-result-card > img {
  width: 100%;
  height: 150px;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  border: 0;
  border-radius: 10px 10px 4px 4px;
  box-shadow: none;
  object-position: center 28%;
}

.home-result-card > div {
  grid-column: 1;
  grid-row: 2;
  align-items: center;
  justify-content: center;
  padding: 4px 3px 1px;
  text-align: center;
}

.home-result-card strong {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #201b22;
  font-size: clamp(10px, 0.9vw, 12px);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-result-card small {
  margin-top: 3px;
  color: #716b75;
  font-size: clamp(8px, 0.72vw, 10px);
  line-height: 1.2;
}

@media (max-width: 1000px) {
  .home-results-strip {
    grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  }

  .home-result-card {
    height: 202px;
    flex-basis: calc((100% - 33px) / 4);
  }
}

@media (max-width: 700px) {
  .home-results-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-results-intro {
    min-height: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 18px;
    border-radius: 17px 17px 0 0;
  }

  .home-results-intro > span {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .home-results-intro h2 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 21px;
  }

  .home-results-intro p {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    margin: 0;
    font-size: 12px;
  }

  .home-results-intro .button {
    grid-column: 3;
    grid-row: 1 / span 2;
    min-height: 38px;
  }

  .home-results-carousel {
    min-height: 0;
    padding: 12px;
  }

  .home-result-card {
    height: 190px;
    min-height: 0;
    flex-basis: calc((100% - 22px) / 3);
    grid-template-rows: 128px minmax(0, 1fr);
  }

  .home-result-card > img {
    height: 128px;
  }
}

@media (max-width: 480px) {
  .home-results-intro {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 5px 10px;
  }

  .home-results-intro > span {
    width: 36px;
    height: 36px;
    grid-row: 1 / span 2;
  }

  .home-results-intro h2 {
    font-size: 19px;
  }

  .home-results-intro p {
    font-size: 11px;
  }

  .home-results-intro .button {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    margin-top: 5px;
  }

  .home-result-card {
    height: 186px;
    min-height: 0;
    flex-basis: calc((100% - 11px) / 2);
    grid-template-rows: 124px minmax(0, 1fr);
  }

  .home-result-card > img {
    height: 124px;
  }
}

.home-result-track.is-count-4 .home-result-card {
  flex-basis: calc((100% - 33px) / 4);
}

.home-result-track.is-count-3 .home-result-card {
  flex-basis: calc((100% - 22px) / 3);
}

.home-result-track.is-count-2 .home-result-card {
  flex-basis: calc((100% - 11px) / 2);
}

.home-result-track.is-count-1 .home-result-card {
  flex-basis: 100%;
}

@media (max-width: 1000px) {
  .home-result-track.is-count-3 .home-result-card {
    flex-basis: calc((100% - 22px) / 3);
  }

  .home-result-track.is-count-2 .home-result-card {
    flex-basis: calc((100% - 11px) / 2);
  }
}

@media (max-width: 700px) {
  .home-result-track.is-count-4 .home-result-card,
  .home-result-track.is-count-5 .home-result-card {
    flex-basis: calc((100% - 22px) / 3);
  }
}

@media (max-width: 480px) {
  .home-result-track.is-count-3 .home-result-card,
  .home-result-track.is-count-4 .home-result-card,
  .home-result-track.is-count-5 .home-result-card {
    flex-basis: calc((100% - 11px) / 2);
  }
}

.results-story-card {
  border-color: var(--line);
  background: #fff;
}

.results-story-slides,
.home-testimonial-story,
.home-testimonial-empty {
  border-color: var(--line);
  background: #fff;
}

.results-section {
  padding-top: clamp(28px, 4vw, 52px);
}

.results-heading {
  max-width: 760px;
  margin: 0 auto clamp(22px, 3vw, 34px);
}

.results-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(241, 38, 53, 0.18);
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.results-heading h2 {
  margin: 10px 0 8px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.results-heading p {
  max-width: 60ch;
  margin-inline: auto;
  font-size: 14px;
  line-height: 1.65;
}

.results-category-tabs {
  gap: 12px;
  margin-bottom: 18px;
}

.results-category-tab {
  min-height: 78px;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  gap: 12px;
  padding: 13px 15px;
  border-color: rgba(32, 27, 34, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(24, 18, 27, 0.045);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.results-category-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 38, 53, 0.4);
  box-shadow: 0 10px 22px rgba(24, 18, 27, 0.08);
}

.results-category-tab.is-active {
  border-color: #351239;
  background: linear-gradient(115deg, #351239, #201b22);
  box-shadow: 0 9px 22px rgba(32, 27, 34, 0.17);
}

.results-category-tab > span:first-child {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(241, 38, 53, 0.14);
  border-radius: 13px;
  background: #fff;
}

.results-category-tab.is-active > span:first-child {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.results-category-tab strong {
  font-size: 14px;
}

.results-category-tab small {
  font-size: 11px;
}

.results-category-tab > svg {
  width: 26px;
  height: 26px;
  padding: 5px;
}

.results-category-panel {
  padding: clamp(16px, 2.4vw, 28px);
  border-color: rgba(32, 27, 34, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(24, 18, 27, 0.07);
}

.results-panel-heading {
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(32, 27, 34, 0.09);
}

.results-panel-title {
  gap: 13px;
}

.results-panel-title > span {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(145deg, #f12635, #c60f28);
  box-shadow: 0 6px 14px rgba(198, 15, 40, 0.16);
}

.results-panel-title h3 {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.035em;
}

.results-panel-title p {
  font-size: 12px;
}

.results-year-select {
  gap: 9px;
  font-size: 12px;
}

.results-year-select select {
  min-width: 132px;
  min-height: 42px;
  border-color: rgba(32, 27, 34, 0.16);
  border-radius: 10px;
  font-size: 13px;
}

.results-year-status {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  margin: 14px 0;
  padding: 5px 10px;
  border: 1px solid rgba(32, 27, 34, 0.09);
  border-radius: 999px;
  background: #f7f6f7;
  color: #5f5962;
  font-size: 12px;
}

.results-highlights {
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 2.52fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(32, 27, 34, 0.09);
  border-radius: 18px;
  background: #f7f6f7;
}

.results-featured-label {
  min-height: 250px;
  padding: 20px;
  border-radius: 15px;
  background: linear-gradient(145deg, #201b22, #351239);
  box-shadow: 0 12px 24px rgba(32, 27, 34, 0.16);
}

.results-featured-label > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.results-profile-list {
  gap: 12px;
  padding-right: 42px;
}

.results-profile-card {
  flex-basis: calc(33.333% - 8px);
  gap: 8px;
  padding: 11px;
  border-color: rgba(32, 27, 34, 0.11);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(24, 18, 27, 0.055);
}

.results-profile-card:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 38, 53, 0.28);
  box-shadow: 0 12px 24px rgba(24, 18, 27, 0.1);
}

.results-profile-photo {
  height: clamp(170px, 19vw, 235px);
  border-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(24, 18, 27, 0.12);
}

.results-profile-card > strong {
  font-size: 15px;
}

.results-profile-card > small {
  font-size: 12px;
}

.results-profile-controls {
  right: 12px;
  gap: 7px;
}

.results-profile-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(241, 38, 53, 0.18);
  background: #fff;
  box-shadow: 0 4px 12px rgba(24, 18, 27, 0.08);
  color: var(--red-dark);
}

.results-profile-controls button:hover {
  background: #f7f6f7;
  color: var(--red-dark);
}

.results-metrics {
  gap: 13px;
  margin-top: 14px;
}

.results-metric-card,
.results-excellence-card {
  border-color: rgba(32, 27, 34, 0.11);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(24, 18, 27, 0.05);
}

.results-key-metric-card {
  border-color: rgba(32, 27, 34, 0.11);
  background: #fff;
  box-shadow: 0 7px 20px rgba(24, 18, 27, 0.05);
}

.results-metric-heading > span {
  border-color: rgba(241, 38, 53, 0.15);
  background: #f7f6f7;
}

.results-metric-values > div {
  border-color: rgba(32, 27, 34, 0.1);
  background: #f9f8f9;
  box-shadow: none;
}

.results-metric-values strong {
  color: var(--red-dark);
}

.results-year-table {
  border-color: rgba(32, 27, 34, 0.1);
  background: #f7f6f7;
}

.results-year-table strong {
  color: var(--red-dark);
}

.results-excellence-card {
  background: linear-gradient(145deg, #201b22, #351239);
}

.results-stories-row {
  gap: 14px;
  margin-top: 14px;
}

.results-story-card,
.results-gallery-card {
  border-color: rgba(32, 27, 34, 0.11);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(24, 18, 27, 0.05);
}

.results-card-heading h4 {
  font-size: 16px;
}

.results-story-slides {
  min-height: 188px;
  border-color: rgba(32, 27, 34, 0.1);
  border-radius: 13px;
  background: #f7f6f7;
}

.results-story-slide img {
  border-color: #fff;
}

.results-gallery-photo {
  border-color: rgba(32, 27, 34, 0.11);
  background: #fff;
  box-shadow: 0 6px 16px rgba(24, 18, 27, 0.07);
}

.results-coming-note {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(32, 27, 34, 0.1);
  border-radius: 12px;
  background: #fff;
  font-size: 12px;
}

@media (max-width: 900px) {
  .results-highlights {
    grid-template-columns: minmax(155px, 0.42fr) minmax(0, 2fr);
  }

  .results-featured-label {
    min-height: 220px;
  }

  .results-profile-photo {
    height: 180px;
  }

  .results-metrics {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .results-excellence-card {
    grid-column: 1 / -1;
    min-height: 145px;
  }
}

@media (max-width: 700px) {
  .results-heading {
    margin-bottom: 20px;
  }

  .results-heading h2 {
    font-size: clamp(24px, 6vw, 31px);
  }

  .results-heading p {
    font-size: 13px;
  }

  .results-category-tabs {
    gap: 8px;
  }

  .results-category-tab {
    min-height: 68px;
    grid-template-columns: 40px minmax(0, 1fr) 26px;
    padding: 10px 12px;
  }

  .results-category-tab > span:first-child {
    width: 38px;
    height: 38px;
  }

  .results-category-panel {
    padding: 16px;
  }

  .results-panel-heading {
    align-items: flex-start;
  }

  .results-highlights {
    grid-template-columns: minmax(0, 1fr);
    padding: 11px;
  }

  .results-featured-label {
    min-height: 118px;
  }

  .results-profile-list {
    padding-right: 0;
  }

  .results-profile-card {
    flex-basis: calc((100% - 12px) / 2);
  }

  .results-profile-photo {
    height: 200px;
  }

  .results-profile-controls {
    position: static;
    display: flex;
    justify-content: center;
    margin-top: 8px;
    transform: none;
  }

  .results-metrics,
  .results-stories-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-excellence-card {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .results-section {
    padding-top: 24px;
  }

  .results-heading h2 {
    font-size: 25px;
  }

  .results-category-tab {
    min-height: 64px;
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 13px;
  }

  .results-category-tab > span:first-child {
    width: 34px;
    height: 34px;
  }

  .results-category-tab strong {
    font-size: 13px;
  }

  .results-category-tab small {
    font-size: 10px;
  }

  .results-panel-heading {
    gap: 13px;
  }

  .results-panel-title > span {
    width: 42px;
    height: 42px;
  }

  .results-panel-title h3 {
    font-size: 20px;
  }

  .results-panel-title p {
    font-size: 11px;
  }

  .results-year-select {
    width: 100%;
    justify-content: space-between;
  }

  .results-year-select select {
    min-width: 140px;
  }

  .results-profile-card {
    flex-basis: 100%;
  }

  .results-profile-photo {
    height: clamp(220px, 72vw, 310px);
  }

  .results-metric-card,
  .results-excellence-card,
  .results-story-card,
  .results-gallery-card {
    padding: 14px;
  }
}

@media (max-width: 360px) {
  .home-page .hero-home {
    min-height: 0;
  }

  .home-page .hero-home .hero-copy {
    width: 100%;
  }

  .home-page .hero-home h1 {
    max-width: 100%;
    font-size: clamp(20px, 8.5vw, 30px);
    letter-spacing: -1px;
    line-height: 1.05;
  }

  .home-page .hero-home .accent {
    white-space: normal;
  }

  .home-page .hero-home .hero-portrait,
  .home-page .hero-home .hero-note,
  .home-page .hero-home .hero-books {
    display: none;
  }
}

/* Results page — reference layout alignment */
.results-section {
  padding-top: 22px;
}

.results-heading {
  max-width: 820px;
  margin-bottom: 20px;
}

.results-heading h2 {
  margin-top: 10px;
  font-size: clamp(25px, 3vw, 34px);
}

.results-category-tabs {
  gap: 12px;
  margin-bottom: 18px;
}

.results-category-tab {
  min-height: 66px;
  padding: 10px 14px;
  border-radius: 13px;
}

.results-category-panel {
  padding: 18px;
  border-radius: 19px;
}

.results-panel-heading {
  padding-bottom: 13px;
}

.results-panel-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.results-view-all {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 17px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3345, #e81732);
  box-shadow: 0 7px 16px rgba(232, 23, 50, 0.2);
  color: #fff;
  cursor: pointer;
  font: 700 11px "DM Sans", sans-serif;
  white-space: nowrap;
}

.results-view-all svg {
  width: 15px;
  height: 15px;
}

.results-view-all:hover {
  transform: translateY(-1px);
  background: #ff3444;
}

.results-year-status {
  display: none;
}

.results-highlights {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px;
  margin-top: 0;
  padding: 10px;
}

.results-featured-label {
  min-height: 205px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 76%, rgba(167, 25, 83, 0.38), transparent 40%),
    linear-gradient(145deg, #18131c, #40143b);
}

.results-featured-label > span {
  width: auto;
  height: auto;
  margin-bottom: 8px;
  border: 0;
  background: transparent;
  color: #ffd34f;
}

.results-featured-label > span svg {
  width: 34px;
  height: 34px;
}

.results-featured-label strong {
  font-size: 18px;
  line-height: 1.18;
}

.results-featured-label small {
  max-width: 150px;
  margin-top: 13px;
  font-size: 10px;
  line-height: 1.5;
}

.results-profile-list {
  gap: 8px;
  padding-right: 34px;
}

.results-profile-card,
.results-profile-list.is-count-1 .results-profile-card,
.results-profile-list.is-count-2 .results-profile-card {
  flex-basis: calc((100% - 32px) / 5);
  gap: 4px;
  padding: 7px;
  border-radius: 12px;
}

.results-profile-photo {
  height: 124px;
  border-width: 0;
  border-radius: 9px;
}

.results-profile-card > strong {
  margin-top: 2px;
  font-size: 10px;
}

.results-profile-card > small {
  margin-top: 0;
  font-size: 8px;
}

.results-profile-grade {
  min-height: 20px;
  margin-top: 3px;
  padding: 2px 8px;
  font-size: 9px;
}

.results-item-sample {
  display: none;
}

.results-profile-controls {
  right: 5px;
}

.results-profile-controls button {
  width: 28px;
  height: 28px;
}

.results-metrics {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(180px, 0.72fr);
  gap: 12px;
  margin-top: 12px;
}

.results-metric-card,
.results-excellence-card {
  min-height: 142px;
  padding: 13px;
  border-radius: 13px;
}

.results-metric-values > div {
  min-height: 58px;
}

.results-key-metric-card {
  display: flex;
  flex-direction: column;
}

.results-performance-summary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(241, 38, 53, 0.09);
  border-radius: 11px;
  background: linear-gradient(135deg, #fff8f9, #faf7fa);
}

.results-performance-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.results-performance-title strong {
  font-size: 10px;
}

.results-performance-title span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.results-performance-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
}

.results-performance-row > i {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee7ec;
}

.results-performance-row > i > b {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff5362, #e81732);
}

.results-performance-row > strong {
  color: #423943;
  font-size: 9px;
  text-align: right;
}

.results-year-table {
  grid-template-columns: 0.8fr repeat(4, 1fr);
  font-size: 8px;
}

.results-excellence-card {
  grid-template-columns: 62px minmax(0, 1fr);
  align-content: center;
  justify-items: start;
  padding-inline: 18px;
  text-align: left;
}

.results-excellence-card > span {
  grid-row: 1 / span 2;
}

.results-excellence-card > span svg {
  width: 42px;
  height: 42px;
}

.results-excellence-card h4 {
  margin: 0 0 7px;
  font-size: 17px;
}

.results-excellence-card p {
  max-width: 180px;
  font-size: 10px;
}

.results-stories-row {
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.45fr);
  gap: 12px;
  margin-top: 12px;
}

.results-story-card,
.results-gallery-card {
  padding: 13px;
  border-radius: 13px;
}

.results-story-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(177, 32, 77, 0.14);
  background:
    radial-gradient(circle at 0 100%, rgba(241, 38, 53, 0.055), transparent 34%),
    linear-gradient(145deg, #fff, #fdfbfc);
  box-shadow: 0 12px 30px rgba(45, 25, 43, 0.07);
}

.results-story-card .results-card-heading {
  position: relative;
  z-index: 1;
  min-height: 30px;
}

.results-card-heading > div {
  min-width: 0;
}

.results-card-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.results-story-slides {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 184px;
  flex: 1;
  align-items: center;
  overflow: hidden;
  padding: 22px 20px;
  border: 1px solid rgba(86, 55, 81, 0.1);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 255, 255, 0.96), transparent 29%),
    linear-gradient(125deg, #f8f4f7, #f3edf3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.results-story-slides::before {
  position: absolute;
  z-index: -1;
  top: -32px;
  right: 12px;
  color: rgba(167, 25, 83, 0.07);
  content: "“";
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
}

.results-story-slide.is-active {
  width: 100%;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
}

.results-story-slide img {
  width: 78px;
  height: 78px;
  border: 4px solid #fff;
  outline: 1px solid rgba(241, 38, 53, 0.13);
  box-shadow: 0 12px 24px rgba(53, 20, 48, 0.2);
}

.results-story-slide blockquote {
  position: relative;
  margin-bottom: 11px;
  color: #2f2631;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.62;
}

.results-story-slide strong {
  color: #211b23;
  font-size: 11px;
}

.results-story-slide small {
  margin-top: 4px;
  font-size: 9px;
}

.results-story-dots {
  min-height: 25px;
  align-items: end;
  margin-top: 7px;
}

.results-story-dots button {
  width: 7px;
  height: 7px;
  transition: width 180ms ease, background 180ms ease;
}

.results-story-dots button.is-active {
  width: 20px;
  border-radius: 999px;
}

.results-gallery-photo {
  min-width: calc((100% - 16px) / 3);
}

.results-gallery-photo img {
  height: 94px;
}

.results-coming-note {
  margin-top: 11px;
  padding: 9px 13px;
}

@media (max-width: 1000px) {
  .results-profile-card,
  .results-profile-list.is-count-1 .results-profile-card,
  .results-profile-list.is-count-2 .results-profile-card {
    flex-basis: calc((100% - 16px) / 3);
  }

  .results-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-excellence-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .results-panel-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .results-view-all {
    width: 100%;
  }

  .results-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-featured-label {
    min-height: 128px;
  }

  .results-profile-card,
  .results-profile-list.is-count-1 .results-profile-card,
  .results-profile-list.is-count-2 .results-profile-card {
    flex-basis: calc((100% - 8px) / 2);
  }

  .results-profile-photo {
    height: 190px;
  }

  .results-stories-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-story-card {
    min-height: 0;
  }

  .results-story-slides {
    min-height: 170px;
  }

  .results-gallery-photo {
    min-width: calc(50% - 4px);
  }
}

@media (max-width: 480px) {
  .results-category-tabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-profile-card,
  .results-profile-list.is-count-1 .results-profile-card,
  .results-profile-list.is-count-2 .results-profile-card {
    flex-basis: 100%;
  }

  .results-profile-photo {
    height: clamp(230px, 72vw, 315px);
  }

  .results-metric-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-story-slides {
    min-height: 220px;
    padding: 20px 16px;
  }

  .results-story-slide.is-active {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
    text-align: center;
  }

  .results-story-slide img {
    width: 76px;
    height: 76px;
  }
}

.results-gallery-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(32, 27, 34, 0.28);
  background:
    radial-gradient(ellipse at 100% 0, rgba(241, 38, 53, 0.2), transparent 42%),
    linear-gradient(145deg, #201b22, #351239);
  box-shadow: 0 16px 34px rgba(32, 27, 34, 0.18);
  color: #fff;
}

.results-gallery-card::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #f12635, #ff5269, transparent 82%);
  content: "";
}

.results-gallery-card .results-card-heading {
  position: relative;
  min-height: 48px;
  align-items: flex-start;
  gap: 12px;
}

.results-gallery-card .results-card-heading > svg {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(241, 38, 53, 0.16);
  color: #ff6575;
}

.results-gallery-card .results-card-heading h4 {
  color: #fff;
}

.results-gallery-card .results-card-heading p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.5;
}

.results-gallery-card .results-sample-tag {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.results-gallery-window {
  margin-top: 15px;
  border-radius: 15px;
}

.results-gallery-track {
  align-items: stretch;
  gap: 12px;
}

.results-gallery-photo {
  position: relative;
  flex: 0 0 calc((100% - 24px) / 3);
  min-width: 0;
  height: 220px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: #201b22;
  box-shadow: 0 12px 25px rgba(9, 8, 13, 0.25);
}

.results-gallery-photo::after {
  position: absolute;
  inset: 34% 0 0;
  background: linear-gradient(180deg, transparent, rgba(16, 12, 19, 0.82));
  content: "";
  pointer-events: none;
}

.results-gallery-photo img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 500ms ease;
}

.results-gallery-photo:hover img {
  transform: scale(1.055);
}

.results-gallery-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 66px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 25px 13px 12px;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}

.results-gallery-sample {
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.results-gallery-track.is-count-1 .results-gallery-photo {
  flex-basis: 100%;
}

.results-gallery-controls {
  margin-top: 12px;
}

.results-gallery-controls button {
  width: 36px;
  height: 36px;
  border-color: rgba(255, 255, 255, 0.2);
  background: #fff;
  box-shadow: 0 5px 14px rgba(9, 8, 13, 0.22);
  color: #c60f28;
  transition: transform 160ms ease, background 160ms ease;
}

.results-gallery-controls button:hover {
  transform: translateY(-2px);
  background: #fff1f3;
}

.results-gallery-controls button:focus-visible {
  outline: 2px solid #ff5269;
  outline-offset: 3px;
}

.results-gallery-controls span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
}

.results-gallery-controls span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5269;
  box-shadow: 0 0 0 4px rgba(255, 82, 105, 0.14);
  content: "";
}

.results-gallery-card .results-empty {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 700px) {
  .results-gallery-photo {
    flex-basis: calc((100% - 12px) / 2);
    height: 205px;
  }
}

@media (max-width: 480px) {
  .results-gallery-card {
    padding: 15px;
  }

  .results-gallery-card .results-card-heading {
    gap: 10px;
  }

  .results-gallery-card .results-card-heading > svg {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  .results-gallery-card .results-card-heading h4 {
    font-size: 15px;
  }

  .results-gallery-photo {
    flex-basis: 84%;
    height: 195px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-gallery-photo,
  .results-gallery-photo img,
  .results-gallery-controls button {
    transition: none;
  }
}

.results-featured-label {
  position: relative;
  min-height: 194px;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.results-featured-label > span {
  margin-bottom: 5px;
}

.results-featured-label strong {
  font-size: 17px;
  line-height: 1.2;
}

.results-featured-label strong::after {
  display: block;
  width: 30px;
  height: 2px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  content: "";
}

.results-featured-label small {
  max-width: 22ch;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.45;
}

.results-excellence-card {
  align-self: stretch;
  min-height: 142px;
  height: auto;
}

.results-stories-row {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: stretch;
}

.results-story-card {
  min-height: 0;
  align-self: stretch;
}

.results-story-slides {
  min-height: 150px;
  flex: 1;
  padding: 16px;
}

.results-story-slide.is-active {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
}

.results-story-slide img {
  width: 68px;
  height: 68px;
}

.results-story-slide blockquote {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.results-story-dots {
  min-height: 18px;
  align-items: center;
  margin-top: 8px;
}

.results-gallery-card {
  border-color: rgba(32, 27, 34, 0.11);
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 18, 27, 0.07);
  color: var(--white);
}

.results-gallery-card::before {
  display: none;
}

.results-gallery-card .results-card-heading > svg {
  border-color: rgba(241, 38, 53, 0.12);
  background: #fff4f5;
  color: var(--red);
}

.results-gallery-card .results-card-heading {
  min-height: 0;
}

.results-gallery-card .results-card-heading h4 {
  color: var(--white);
}

.results-gallery-card .results-card-heading p {
  color: var(--muted);
}

.results-gallery-card .results-sample-tag {
  border-color: rgba(118, 82, 13, 0.12);
  background: #fff9eb;
  color: #76520d;
}

.results-gallery-window {
  margin-top: 10px;
  border-radius: 12px;
}

.results-gallery-track {
  gap: 10px;
}

.results-gallery-photo {
  flex-basis: calc((100% - 20px) / 3);
  height: auto;
  min-height: 0;
  margin: 0;
  grid-template-rows: 100px auto;
  padding: 5px;
  border-color: rgba(32, 27, 34, 0.11);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(24, 18, 27, 0.07);
}

.results-gallery-photo::after {
  display: none;
}

.results-gallery-photo img {
  height: 100px;
  border-radius: 8px;
}

.results-gallery-photo figcaption {
  position: static;
  min-height: 30px;
  align-items: center;
  padding: 7px 5px 4px;
  color: #302a32;
  font-size: 11px;
  text-shadow: none;
}

.results-gallery-sample {
  border-color: rgba(118, 82, 13, 0.1);
  background: #fff9eb;
  color: #76520d;
  text-shadow: none;
}

.results-gallery-controls {
  margin-top: 9px;
}

.results-gallery-controls button {
  width: 30px;
  height: 30px;
  border-color: rgba(241, 38, 53, 0.18);
  background: #fff;
  box-shadow: 0 3px 10px rgba(24, 18, 27, 0.07);
}

.results-gallery-controls span {
  color: var(--muted);
}

.results-gallery-controls span::before {
  box-shadow: 0 0 0 4px rgba(255, 82, 105, 0.1);
}

.results-gallery-card .results-empty {
  color: var(--muted);
}

@media (max-width: 700px) {
  .results-stories-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-excellence-card {
    align-self: stretch;
  }

  .results-gallery-photo {
    flex-basis: calc((100% - 10px) / 2);
    grid-template-rows: 120px auto;
  }

  .results-gallery-photo img {
    height: 120px;
  }
}

.results-gallery-zoom {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}

.results-gallery-zoom:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.gallery-lightbox-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.gallery-lightbox {
  position: relative;
  width: min(1100px, 100%);
  max-height: 90vh;
  padding: 42px 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: #17141d;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox > img {
  display: block;
  width: 100%;
  max-height: calc(86vh - 60px);
  border-radius: 9px;
  object-fit: contain;
}

.gallery-lightbox > p {
  margin: 12px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #211d27;
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox-close svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 480px) {
  .gallery-lightbox-backdrop {
    padding: 12px;
  }

  .gallery-lightbox {
    padding: 40px 10px 12px;
  }
}

.results-year-select select,
.results-year-select select option {
  color: #302a32;
}

.results-year-select select {
  color-scheme: light;
}

.student-form label,
.student-receipt-form label,
.student-reset-form label {
  color: #302a32;
}

.student-form input,
.student-form select,
.student-form select option,
.student-receipt-form input,
.student-reset-form input {
  color: #302a32;
}

.results-excellence-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 100% 100%, rgba(167, 25, 83, 0.3), transparent 58%),
    radial-gradient(circle at 100% 0, rgba(255, 209, 90, 0.12), transparent 38%),
    linear-gradient(145deg, #201b22, #351239);
}

.results-excellence-card::before,
.results-excellence-card::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.results-excellence-card::before {
  top: -88px;
  right: -66px;
  width: 220px;
  height: 220px;
  box-shadow:
    0 0 0 16px rgba(255, 255, 255, 0.025),
    0 0 0 34px rgba(255, 255, 255, 0.02);
}

.results-excellence-card::after {
  right: 20px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-color: rgba(255, 209, 90, 0.18);
  box-shadow: 0 0 0 9px rgba(255, 209, 90, 0.035);
}

@media (max-width: 480px) {
  .results-featured-label {
    min-height: 150px;
  }

  .results-story-slides {
    min-height: 0;
    flex: 0 0 auto;
    padding: 14px;
  }

  .results-story-slide.is-active {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 10px;
    text-align: center;
  }

  .results-gallery-photo {
    flex-basis: 84%;
    grid-template-rows: 120px auto;
  }

  .results-gallery-photo img {
    height: 120px;
  }
}
