:root {
  --page: #fbfaf7;
  --surface: #ffffff;
  --ink: #17232a;
  --muted: #586a73;
  --line: #d4e4ec;
  --line-strong: #a9c9d8;
  --green: #b9deee;
  --green-strong: #6faac5;
  --green-dark: #1e5977;
  --blue: #2f78a4;
  --blue-wash: #e6f4fa;
  --cream: #eef8fc;
  --accent: #d7a95f;
  --accent-soft: #f4ead8;
  --shadow: 0 14px 32px rgba(23, 35, 42, 0.065);
  --radius: 8px;
  --container: 1240px;
  --hairmark: url("/assets/img/logo-hairmark.webp");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: none;
  font-size: 4.85rem;
}

h2 {
  max-width: none;
  font-size: 2.65rem;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin-block: 0;
}

.section-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  transform: translateY(-160%);
  padding: 0.7rem 0.9rem;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(80px, 1fr);
  align-items: center;
  gap: 2rem;
  width: min(100% - 2rem, var(--container));
  min-height: 76px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 780;
  text-decoration: none;
}

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
}

.brand__mark--official {
  width: 3rem;
  height: 2.7rem;
  object-fit: contain;
}

.brand__text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.35rem, 2.3vw, 2.1rem);
  justify-self: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle__lines {
  position: relative;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
  position: absolute;
  left: 0;
  transition: transform 160ms ease, background-color 160ms ease;
}

.menu-toggle__lines::before {
  transform: translateY(-0.4rem);
}

.menu-toggle__lines::after {
  transform: translateY(0.3rem);
}

.language-switcher {
  position: relative;
  justify-self: end;
}

.language-switcher__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
  font-weight: 780;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  display: grid;
  gap: 0.25rem;
  min-width: 11rem;
  padding: 0.45rem;
  margin: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.language-switcher__menu[hidden] {
  display: none;
}

.language-switcher__menu a {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
}

.language-switcher__menu a[aria-current="true"],
.language-switcher__menu a:hover,
.language-switcher__menu a:focus-visible {
  color: var(--ink);
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: var(--green);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(30, 89, 119, 0.28) 0%,
      rgba(30, 89, 119, 0.2) 28%,
      rgba(30, 89, 119, 0.08) 52%,
      rgba(30, 89, 119, 0) 78%
    ),
    linear-gradient(
      90deg,
      rgba(238, 248, 252, 0.9) 0%,
      rgba(238, 248, 252, 0.78) 42%,
      rgba(238, 248, 252, 0.56) 68%,
      rgba(238, 248, 252, 0.32) 100%
    );
  content: "";
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media picture,
.hero__media img {
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.08) saturate(0.82);
}

.hero__content {
  display: grid;
  align-content: center;
  max-width: none;
  min-height: 680px;
  padding-block: 6rem 5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__intro,
.page-hero p,
.cta-panel p {
  max-width: 58rem;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 520;
}

.hero__intro {
  margin-top: 1.2rem;
  color: var(--ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.72rem 1rem;
  font-weight: 780;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.button--primary {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-bottom: 1.4rem;
  color: var(--green-dark);
  font-weight: 780;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link--arrow::after {
  border-bottom: 0;
  content: "\2192";
}

.section {
  padding-block: 4.35rem;
}

.section--plain {
  background: var(--page);
}

.section--cta,
.section--tint {
  position: relative;
  overflow: hidden;
  background: var(--green);
}

.section--cta::before,
.section--tint::before,
.home-section--tint::before,
.page-hero::before {
  position: absolute;
  width: clamp(12rem, 20vw, 22rem);
  aspect-ratio: 1.14;
  pointer-events: none;
  background: var(--hairmark) center / contain no-repeat;
  content: "";
  filter: hue-rotate(145deg) saturate(0.85) brightness(1.05);
  opacity: 0.075;
}

.section--cta::before,
.section--tint::before {
  right: clamp(-5rem, -4vw, -2rem);
  bottom: clamp(-5rem, -5vw, -2.5rem);
  transform: rotate(-7deg);
}

.section--cta::before {
  content: none;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.listing-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.listing-card,
.detail-box,
.contact-form,
.teacher-info-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.listing-card {
  min-height: 18rem;
  padding: 1.25rem;
}

.listing-card h2 {
  font-size: 2rem;
}

.listing-card p {
  margin-top: 1rem;
  color: var(--muted);
}

.listing-card a {
  display: inline-flex;
  margin-top: 1.25rem;
  color: var(--green-dark);
  font-weight: 780;
}

.course-directory {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.course-directory__lead {
  position: sticky;
  top: 7rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--green-dark);
}

.course-directory__lead h2 {
  font-size: clamp(2.1rem, 3vw, 3.15rem);
}

.service-directory__intro h2 {
  max-width: 72rem;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
}

.course-directory__lead p:not(.eyebrow),
.service-directory__intro p:not(.eyebrow) {
  max-width: 64rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.course-directory__list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.course-entry {
  display: flex;
  flex-direction: column;
  padding: clamp(1.45rem, 2.6vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.course-entry__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}

.course-entry--primary,
.course-entry--secondary,
.course-entry--wide,
.course-entry--private,
.course-entry--compact {
  grid-column: span 6;
}

.course-entry--primary {
  grid-column: span 7;
  min-height: 22rem;
  padding: clamp(1.65rem, 3vw, 2.35rem);
  color: #fff;
  background: var(--green-dark);
  border-top: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.course-entry--secondary {
  grid-column: span 5;
  background: linear-gradient(145deg, rgba(238, 248, 252, 0.92), #fff 78%);
}

.course-entry--wide {
  grid-column: 1 / -1;
  padding: clamp(1.75rem, 3vw, 2.45rem);
  background:
    linear-gradient(90deg, rgba(244, 234, 216, 0.65), rgba(255, 255, 255, 0) 42%),
    var(--surface);
  border-color: var(--line-strong);
}

.course-entry--wide .course-entry__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  grid-template-areas:
    "group points"
    "title points"
    "summary points"
    "link points";
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 0.9rem;
  align-items: start;
}

.course-entry--wide .course-entry__group {
  grid-area: group;
}

.course-entry--wide h2 {
  grid-area: title;
}

.course-entry--wide .course-entry__body > p:not(.course-entry__group) {
  grid-area: summary;
  max-width: 52rem;
}

.course-entry--wide .text-link {
  grid-area: link;
}

.course-entry--private {
  grid-column: span 6;
  background: var(--cream);
}

.course-entry--compact {
  grid-column: span 3;
  padding: clamp(1.25rem, 2vw, 1.55rem);
}

.course-entry__group {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.course-entry h2 {
  margin: 0;
  font-size: clamp(1.72rem, 2.45vw, 2.45rem);
}

.course-entry--primary h2 {
  max-width: 42rem;
  font-size: clamp(2.1rem, 3.65vw, 3.55rem);
}

.course-entry--secondary h2,
.course-entry--wide h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.course-entry--compact h2 {
  font-family: inherit;
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  font-weight: 850;
  line-height: 1.2;
}

.course-entry__body > p:not(.course-entry__group) {
  margin: 0;
  color: var(--muted);
}

.course-entry--primary .course-entry__group,
.course-entry--primary .course-entry__body > p:not(.course-entry__group) {
  color: rgba(255, 255, 255, 0.78);
}

.course-entry--wide .course-entry__points {
  grid-area: points;
  align-self: center;
  justify-self: end;
  width: min(100%, 24rem);
}

.course-entry__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.course-entry__points span {
  display: inline-flex;
  padding: 0.38rem 0.58rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 720;
  background: rgba(238, 248, 252, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.course-entry--primary .course-entry__points span {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.course-entry--compact .course-entry__points {
  display: grid;
}

.course-entry--compact .course-entry__points span {
  width: 100%;
}

.course-entry .text-link,
.service-entry .text-link {
  margin-top: auto;
  padding-top: 0.25rem;
}

.course-entry--primary .text-link {
  color: #fff;
}

.service-directory {
  display: grid;
  gap: 2.25rem;
}

.service-directory__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.service-stack {
  display: grid;
  gap: 1rem;
}

.service-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.4fr);
  gap: clamp(1.35rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.45rem, 2.8vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-entry:first-child {
  background: linear-gradient(145deg, rgba(238, 248, 252, 0.94), #fff 76%);
  border-color: var(--line-strong);
}

.service-entry__main h2 {
  max-width: 44rem;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.45rem);
}

.service-entry__main p {
  max-width: 44rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.service-entry__aside {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 1rem;
}

.service-entry__points {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-entry__points li {
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
  background: rgba(238, 248, 252, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.home-section {
  padding-block: 4.5rem;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}

.home-section--tint {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.home-section--tint::before {
  top: clamp(1rem, 4vw, 3rem);
  right: clamp(-5rem, -3vw, -1.5rem);
  opacity: 0.055;
}

.people-preview,
.course-preview,
.prepare-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.home-section__copy h2,
.course-preview__intro h2 {
  max-width: 44rem;
}

.home-section__copy p,
.course-preview__intro p {
  max-width: 48rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.home-section__copy .text-link,
.home-section__button {
  margin-top: 1.5rem;
}

.people-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.person-card {
  padding-top: 1.25rem;
  border-top: 2px solid var(--green-dark);
}

.person-card__name {
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.person-card h3,
.course-mini-card h3,
.prepare-step h3 {
  margin-top: 0.65rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
}

.person-card p:last-child,
.course-mini-card p,
.prepare-step p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.method-strip {
  position: relative;
  overflow: hidden;
  padding-block: 4.4rem;
  color: #fff;
  background: var(--green-dark);
}

.method-strip__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

.method-strip .eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.method-strip h2 {
  max-width: 58rem;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.method-strip p:not(.eyebrow) {
  max-width: 54rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.course-preview {
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
}

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

.course-mini-card {
  min-height: 16rem;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.course-mini-card span {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--green-dark);
  font-weight: 850;
  background: var(--green);
  border-radius: 50%;
}

.prepare-preview {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.prepare-step-grid {
  display: grid;
  gap: 0;
}

.prepare-step {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line);
}

.prepare-step:last-child {
  border-bottom: 1px solid var(--line);
}

.gallery-section {
  padding-block: 4.5rem;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}

.gallery-section__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  margin-bottom: 2rem;
}

.gallery-section__intro .eyebrow {
  margin-bottom: 0.75rem;
}

.gallery-section__intro h2 {
  max-width: 72rem;
}

.gallery-section__intro > p {
  max-width: 64rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.puzzle-gallery {
  display: grid;
  grid-template-areas:
    "one five five two"
    "three five five four";
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  aspect-ratio: 8 / 3;
}

.puzzle-gallery__item {
  display: block;
  overflow: hidden;
  padding: 0;
  background: var(--green);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: zoom-in;
}

.puzzle-gallery__item:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}

.puzzle-gallery__item--feature {
  grid-area: one;
}

.puzzle-gallery__item--tall {
  grid-area: two;
}

.puzzle-gallery__item--small {
  grid-area: three;
}

.puzzle-gallery__item--small:nth-child(4) {
  grid-area: four;
}

.puzzle-gallery__item--wide {
  grid-area: five;
}

.puzzle-gallery picture {
  display: block;
  width: 100%;
  height: 100%;
}

.puzzle-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(23, 35, 42, 0.86);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__inner {
  position: relative;
  width: min(100%, 92rem);
}

.gallery-lightbox img {
  width: 100%;
  max-height: min(82vh, 58rem);
  object-fit: contain;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

.gallery-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.has-lightbox {
  overflow: hidden;
}

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 4.75rem 4rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  right: clamp(-4rem, -2vw, -1rem);
  bottom: clamp(-5rem, -4vw, -2rem);
  opacity: 0.06;
}

.page-hero--hair-pattern {
  background:
    linear-gradient(115deg, rgba(238, 248, 252, 0.98) 0%, rgba(238, 248, 252, 0.92) 64%, rgba(220, 237, 246, 0.86) 100%),
    var(--cream);
}

.page-hero--hair-pattern::before {
  content: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.hair-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hair-pattern__mark {
  position: absolute;
  display: block;
  width: clamp(7.5rem, 10vw, 12rem);
  aspect-ratio: 751 / 660;
  background: var(--hairmark) center / contain no-repeat;
  filter: hue-rotate(145deg) saturate(0.85) brightness(1.05);
  opacity: 0.032;
  transform-origin: center;
}

.hair-pattern__mark:nth-child(1) {
  top: -2.4rem;
  left: 7%;
  width: clamp(7rem, 8vw, 9.5rem);
  opacity: 0.018;
  transform: rotate(-18deg);
}

.hair-pattern__mark:nth-child(2) {
  top: 1.6rem;
  left: 41%;
  width: clamp(6.8rem, 7.8vw, 9rem);
  opacity: 0.022;
  transform: rotate(13deg);
}

.hair-pattern__mark:nth-child(3) {
  top: 1.1rem;
  right: 11%;
  opacity: 0.03;
  transform: rotate(-28deg);
}

.hair-pattern__mark:nth-child(4) {
  right: 2.5%;
  bottom: -5.5rem;
  width: clamp(13rem, 18vw, 21rem);
  opacity: 0.038;
  transform: rotate(7deg);
}

.hair-pattern__mark:nth-child(5) {
  bottom: 0.9rem;
  left: 64%;
  width: clamp(7rem, 8.5vw, 10rem);
  opacity: 0.022;
  transform: rotate(176deg);
}

.hair-pattern__mark:nth-child(6) {
  bottom: -2.6rem;
  left: 24%;
  width: clamp(7rem, 8vw, 9.5rem);
  opacity: 0.018;
  transform: rotate(24deg);
}

.method-strip .hair-pattern__mark {
  filter: brightness(0) invert(1);
}

.method-strip .hair-pattern__mark:nth-child(1) {
  top: -2rem;
  left: 4%;
  opacity: 0.032;
}

.method-strip .hair-pattern__mark:nth-child(2) {
  top: 1.2rem;
  left: 42%;
  opacity: 0.035;
}

.method-strip .hair-pattern__mark:nth-child(3) {
  top: 1.4rem;
  right: 13%;
  opacity: 0.052;
}

.method-strip .hair-pattern__mark:nth-child(4) {
  right: 2%;
  bottom: -5rem;
  opacity: 0.065;
}

.method-strip .hair-pattern__mark:nth-child(5) {
  bottom: 0.8rem;
  left: 66%;
  opacity: 0.038;
}

.method-strip .hair-pattern__mark:nth-child(6) {
  bottom: -2.8rem;
  left: 27%;
  opacity: 0.028;
}

.section--cta .hair-pattern__mark:nth-child(1) {
  top: -2rem;
  left: 8%;
  opacity: 0.03;
}

.section--cta .hair-pattern__mark:nth-child(2) {
  top: 1.4rem;
  left: 37%;
  opacity: 0.034;
}

.section--cta .hair-pattern__mark:nth-child(3) {
  top: 0.6rem;
  right: 14%;
  opacity: 0.04;
}

.section--cta .hair-pattern__mark:nth-child(4) {
  right: 2.5%;
  bottom: -5.8rem;
  opacity: 0.058;
}

.section--cta .hair-pattern__mark:nth-child(5) {
  bottom: 1rem;
  left: 66%;
  opacity: 0.033;
}

.section--cta .hair-pattern__mark:nth-child(6) {
  bottom: -2.8rem;
  left: 24%;
  opacity: 0.03;
}

.page-hero h1 {
  max-width: 66rem;
  font-size: clamp(2.65rem, 5.6vw, 5.35rem);
}

.page-hero__inner--split {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.hero-note {
  padding: 1.2rem 0 0 1.15rem;
  border-left: 2px solid var(--green-dark);
}

.hero-note p:not(.eyebrow) {
  color: var(--ink);
  font-weight: 650;
}

.cta-panel {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.55rem;
  text-align: center;
}

.cta-panel > div {
  display: grid;
  justify-items: center;
}

.cta-panel h2 {
  margin-bottom: 1rem;
}

.cta-panel p {
  margin-inline: auto;
}

.cta-panel > div > .button {
  margin-top: 2rem;
}

.location-section {
  background: var(--page);
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.location-panel__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.location-panel__copy h2,
.location-panel__copy p {
  margin: 0;
}

.location-panel__copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.location-panel__copy .button {
  align-self: flex-start;
  margin-top: 0.4rem;
}

.location-panel__map {
  min-height: 24rem;
  overflow: hidden;
  background: var(--green);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.location-panel__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 24rem;
  border: 0;
}

.teacher-list {
  display: grid;
  gap: 2rem;
}

.teacher-feature {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.4)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.teacher-feature__header {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.teacher-feature__content h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  margin-top: 0.5rem;
}

.teacher-lead {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.teacher-info-grid {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.teacher-info-box {
  min-height: 100%;
  padding: clamp(1.15rem, 2vw, 1.5rem);
}

.teacher-info-box h3 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0;
}

.teacher-info-box p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.detail-layout p {
  margin-top: 1rem;
  color: var(--muted);
}

.detail-layout .button {
  margin-top: 1.5rem;
}

.detail-story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.detail-story__main {
  padding-top: 0.5rem;
}

.detail-story__main h2 {
  max-width: 46rem;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
}

.detail-story__main p:not(.eyebrow) {
  max-width: 44rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.course-detail-media {
  max-width: 44rem;
  overflow: hidden;
  margin: 2rem 0 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.course-detail-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.94) contrast(0.98);
}

.detail-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(23, 35, 42, 0.045);
}

.detail-panel--service {
  background: var(--cream);
}

.detail-panel h2 {
  font-size: 2rem;
}

.detail-panel__button {
  margin-top: 1.35rem;
}

.detail-point-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
  counter-reset: detail;
}

.detail-point-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 700;
  counter-increment: detail;
}

.detail-point-list li::before {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  content: counter(detail, decimal-leading-zero);
}

.detail-box {
  padding: 1.25rem;
}

.detail-box h2 {
  font-size: 2rem;
}

.clean-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-weight: 620;
}

.clean-list li::before {
  position: absolute;
  left: 0;
  color: var(--green-dark);
  content: "-";
}

.prepare-map-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.prepare-map-guide {
  position: sticky;
  top: 7rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prepare-map-guide h2 {
  font-size: 2rem;
}

.prepare-assessment {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.prepare-assessment h3 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 850;
}

.prepare-assessment p {
  margin: 0;
  color: var(--muted);
}

.prepare-assessment .text-link {
  margin-top: 0.2rem;
}

.learning-map {
  position: relative;
  display: grid;
  gap: 2.2rem;
  padding-block: 0.5rem 1rem;
}

.learning-map::before {
  position: absolute;
  top: 1.5rem;
  bottom: 8rem;
  left: 50%;
  width: 0;
  border-left: 2px dashed var(--green-strong);
  opacity: 0.75;
  content: "";
  transform: translateX(-50%);
}

.map-step,
.map-arrival {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.6rem minmax(0, 1fr);
  align-items: center;
}

.map-step__marker {
  z-index: 1;
  display: grid;
  grid-column: 2;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  justify-self: center;
  color: #fff;
  font-weight: 850;
  background: var(--green-dark);
  border-radius: 999px;
  box-shadow: 0 0 0 8px var(--page);
}

.map-step__marker--arrival {
  background: var(--ink);
}

.map-step__card {
  display: grid;
  grid-column: 1;
  width: min(100%, 35rem);
  overflow: hidden;
  justify-self: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-panel .eyebrow,
.cta-panel p {
  color: var(--green-dark);
}

.cta-panel h2 {
  color: var(--ink);
}

.map-step--right .map-step__card {
  grid-column: 3;
  justify-self: start;
}

.map-step__copy {
  padding: 1.2rem 1.2rem 1rem;
}

.map-step__kicker {
  margin-bottom: 0.45rem;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-step__copy h2,
.map-arrival__card h2 {
  font-size: clamp(1.65rem, 2vw, 2.15rem);
}

.map-step__copy p:not(.map-step__kicker) {
  margin-top: 0.75rem;
  color: var(--muted);
}

.map-step__video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.map-arrival {
  row-gap: 1rem;
}

.map-arrival .map-step__marker {
  grid-row: 1;
}

.map-arrival__card {
  grid-row: 2;
  grid-column: 1 / -1;
  width: min(100%, 40rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  justify-self: center;
  color: #fff;
  text-align: center;
  background: var(--green-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-arrival__card .map-step__kicker,
.map-arrival__card p {
  color: rgba(255, 255, 255, 0.78);
}

.map-arrival__card p:not(.map-step__kicker) {
  margin-top: 0.8rem;
}

.form-shell {
  max-width: 820px;
}

.enroll-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.enroll-layout .form-shell {
  max-width: none;
}

.enroll-note {
  position: sticky;
  top: 7rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  background: var(--green-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.enroll-note .eyebrow,
.enroll-note p {
  color: rgba(255, 255, 255, 0.76);
}

.enroll-note h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.enroll-note p:not(.eyebrow) {
  margin-top: 1rem;
}

.enroll-steps {
  display: grid;
  gap: 1rem;
  padding: 1.2rem 0 0;
  margin: 1.2rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  counter-reset: enroll;
}

.enroll-steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  color: #fff;
  font-weight: 700;
  counter-increment: enroll;
}

.enroll-steps li::before {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
  content: counter(enroll, decimal-leading-zero);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field--hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field label {
  color: var(--muted);
  font-weight: 780;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field textarea {
  resize: vertical;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.5rem;
  font-weight: 780;
}

.placement-test-form.is-submitted .form-status {
  display: block;
  min-height: 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--blue-wash);
  color: var(--green-dark);
}

.placement-test-section {
  padding-top: 0;
}

.placement-test-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.86fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.placement-test-note {
  position: sticky;
  top: 7rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  background: var(--green-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.placement-test-note .eyebrow,
.placement-test-note p {
  color: rgba(255, 255, 255, 0.76);
}

.placement-test-note h2 {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.placement-test-note p:not(.eyebrow) {
  margin-top: 1rem;
}

.placement-test-form {
  display: grid;
  gap: 1.4rem;
}

.placement-test-student {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.placement-test-student .field:last-child {
  grid-column: 1 / -1;
}

.placement-test-heading {
  display: grid;
  gap: 0.35rem;
}

.placement-test-heading p {
  margin: 0;
  color: var(--muted);
}

.placement-question-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: placement;
}

.placement-question {
  padding: clamp(1rem, 2vw, 1.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(23, 35, 42, 0.05);
  counter-increment: placement;
}

.placement-question fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.placement-question legend {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  width: 100%;
  color: var(--ink);
  font-weight: 820;
  line-height: 1.35;
}

.placement-question legend::before {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  content: counter(placement, decimal-leading-zero);
}

.placement-question__context {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-weight: 720;
}

.placement-question__options {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.placement-question__options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.72rem 0.8rem;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.placement-question__options label:has(input:checked) {
  color: var(--ink);
  background: #fff;
  border-color: var(--green-dark);
}

.placement-question__options input {
  margin-top: 0.22rem;
  accent-color: var(--green-dark);
}

.placement-test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.placement-test-summary {
  width: 100%;
  min-height: 18rem;
  padding: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  resize: vertical;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding-block: 3rem;
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand__mark--official {
  filter: brightness(0) invert(1);
}

.site-footer p,
.site-footer h2 {
  margin: 0;
}

.site-footer__brand p {
  max-width: 28rem;
  margin-top: 1rem;
}

.footer-block {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  font-style: normal;
}

.footer-block h2 {
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 780;
}

.footer-block a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1020px) {
  .site-header__inner {
    position: relative;
    grid-template-columns: auto auto auto;
    gap: 0.75rem;
    justify-content: space-between;
  }

  .js .menu-toggle {
    display: inline-grid;
    order: 2;
  }

  .language-switcher {
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    z-index: 25;
    grid-column: 1 / -1;
    order: 4;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: min(18rem, calc(100vw - 2rem));
    justify-self: end;
    padding: 0.35rem 0;
    background: rgba(251, 250, 247, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(23, 35, 42, 0.12);
    backdrop-filter: blur(14px);
  }

  .js .site-nav {
    display: none;
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 2.85rem;
    padding: 0.72rem 1rem;
    color: var(--muted);
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a[aria-current="page"] {
    color: var(--green-dark);
    background: var(--cream);
    border-color: var(--line);
  }

  .site-header.is-open .menu-toggle__lines {
    background: transparent;
  }

  .site-header.is-open .menu-toggle__lines::before {
    transform: rotate(45deg);
  }

  .site-header.is-open .menu-toggle__lines::after {
    transform: rotate(-45deg);
  }

  h1 {
    font-size: 3.9rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .listing-grid,
  .listing-grid--two,
  .detail-layout,
  .detail-story,
  .page-hero__inner--split,
  .course-directory,
  .service-directory__intro,
  .enroll-layout,
  .people-preview,
  .course-preview,
  .prepare-preview,
  .location-panel,
  .gallery-section__intro,
  .prepare-map-layout,
  .placement-test-layout,
  .site-footer__inner,
  .teacher-feature__header {
    grid-template-columns: 1fr;
  }

  .enroll-note,
  .placement-test-note {
    position: static;
  }

  .course-directory__list {
    grid-template-columns: 1fr;
  }

  .course-entry--primary,
  .course-entry--secondary,
  .course-entry--wide,
  .course-entry--private,
  .course-entry--compact {
    grid-column: auto;
    min-height: 0;
  }

  .course-entry--wide .course-entry__body {
    display: flex;
    flex-direction: column;
  }

  .service-entry {
    grid-template-columns: 1fr;
  }

  .service-entry__aside {
    grid-column: auto;
  }

  .prepare-map-guide {
    position: static;
  }

  .learning-map::before {
    left: 1.3rem;
    bottom: 8rem;
    transform: none;
  }

  .map-step,
  .map-arrival {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .map-step__marker,
  .map-arrival .map-step__marker {
    grid-column: 1;
    justify-self: start;
    box-shadow: 0 0 0 7px var(--page);
  }

  .map-step__card,
  .map-step--right .map-step__card,
  .map-arrival__card {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
  }

  .map-arrival__card {
    text-align: left;
  }

  .teacher-lead {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .section-inner,
  .site-header__inner,
  .site-footer__inner {
    width: min(100% - 2.25rem, var(--container));
  }

  .brand__text {
    max-width: 13rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 590px;
  }

  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(30, 89, 119, 0.28) 0%,
        rgba(30, 89, 119, 0.14) 52%,
        rgba(30, 89, 119, 0) 100%
      ),
      linear-gradient(
        180deg,
        rgba(238, 248, 252, 0.9) 0%,
        rgba(238, 248, 252, 0.78) 58%,
        rgba(238, 248, 252, 0.54) 100%
      );
  }

  .hero__content {
    min-height: 590px;
    padding-block: 4rem 3rem;
  }

  h1 {
    max-width: none;
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .section,
  .page-hero,
  .home-section,
  .gallery-section {
    padding-block: 3.75rem;
  }

  .hair-pattern__mark {
    width: 8rem;
    opacity: 0.035;
  }

  .hair-pattern__mark:nth-child(1) {
    top: -1rem;
    left: -2.2rem;
    opacity: 0.025;
  }

  .hair-pattern__mark:nth-child(2),
  .hair-pattern__mark:nth-child(6) {
    display: none;
  }

  .hair-pattern__mark:nth-child(3) {
    top: 1.4rem;
    right: -2.5rem;
    opacity: 0.032;
  }

  .hair-pattern__mark:nth-child(4) {
    right: -3.6rem;
    bottom: -3.8rem;
    width: 12rem;
    opacity: 0.04;
  }

  .hair-pattern__mark:nth-child(5) {
    bottom: 2.2rem;
    left: 48%;
    width: 7rem;
    opacity: 0.024;
  }

  .method-strip .hair-pattern__mark:nth-child(1) {
    opacity: 0.038;
  }

  .method-strip .hair-pattern__mark:nth-child(3) {
    opacity: 0.052;
  }

  .method-strip .hair-pattern__mark:nth-child(4) {
    opacity: 0.06;
  }

  .method-strip .hair-pattern__mark:nth-child(5) {
    opacity: 0.036;
  }

  .method-strip {
    padding-block: 3.75rem;
  }

  .people-card-grid,
  .course-card-grid {
    grid-template-columns: 1fr;
  }

  .course-mini-card {
    min-height: auto;
  }

  .hero-note {
    padding-left: 1rem;
  }

  .course-entry,
  .service-entry {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .course-entry--primary,
  .course-entry--secondary,
  .course-entry--wide,
  .course-entry--private,
  .course-entry--compact {
    padding: 1.2rem;
  }

  .course-entry__points span {
    width: 100%;
  }

  .service-entry__aside {
    grid-column: auto;
  }

  .detail-panel,
  .contact-form {
    padding: 1rem;
  }

  .placement-test-student {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .placement-question legend {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .placement-question__options label {
    padding: 0.68rem 0.72rem;
  }

  .placement-test-actions .button {
    width: 100%;
  }

  .prepare-step {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .prepare-map-guide,
  .map-step__copy {
    padding: 1rem;
  }

  .learning-map {
    gap: 1.6rem;
  }

  .puzzle-gallery {
    display: grid;
    grid-template-areas:
      "five five"
      "one two"
      "three four";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 0.7rem;
    aspect-ratio: auto;
  }

  .puzzle-gallery__item--feature,
  .puzzle-gallery__item--tall,
  .puzzle-gallery__item--small,
  .puzzle-gallery__item--wide {
    grid-area: auto;
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .puzzle-gallery__item--feature {
    grid-area: one;
  }

  .puzzle-gallery__item--tall {
    grid-area: two;
  }

  .puzzle-gallery__item--small {
    grid-area: three;
  }

  .puzzle-gallery__item--small:nth-child(4) {
    grid-area: four;
  }

  .puzzle-gallery__item--wide {
    grid-area: five;
    aspect-ratio: 16 / 10;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel .button {
    max-width: 18rem;
  }

  .location-panel__copy .button {
    align-self: stretch;
  }

  .location-panel__map,
  .location-panel__map iframe {
    min-height: 20rem;
  }

  .teacher-list {
    gap: 4rem;
  }

  .teacher-feature {
    padding: 1.35rem;
  }

  .teacher-info-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 380px) {
  .brand__text {
    max-width: 10.25rem;
  }
}
