:root {
  --sage: #6a725d;
  --taupe: #ae9d85;
  --ivory: #f7f4ed;
  --paper: #ae9d85;
  --beige: #efe9df;
  --text: #24231f;
  --gold: #d8be78;
  --white-soft: #fffdf8;
  --line: rgba(36, 35, 31, 0.12);
  --sans: "Inter", "Noto Sans TC", system-ui, -apple-system, sans-serif;
  --sans-cjk: "Noto Sans TC", "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

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

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

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  margin: 0 auto;
  padding: 24px clamp(24px, 3vw, 56px) 14px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 68px;
  height: 92px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.brand-text span:first-child {
  font-family: var(--sans);
  font-size: 1.38rem;
  font-weight: 700;
}

.brand-text span:last-child {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(36, 35, 31, 0.72);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: rgba(36, 35, 31, 0.74);
  font-size: 0.88rem;
  font-weight: 500;
}

.main-nav a {
  transition: color 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.main-nav a:hover,
.nav-enroll:hover {
  color: var(--text);
}

.main-nav .active {
  color: var(--text);
}

.nav-button,
.button,
.nav-enroll {
  border-radius: 999px;
  font-family: var(--sans-cjk);
}

.nav-button {
  padding: 10px 22px;
  background: var(--gold);
  color: var(--text);
}

.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(106, 114, 93, 0.2);
  border-radius: 999px;
  background: rgba(247, 244, 237, 0.26);
  color: rgba(36, 35, 31, 0.72);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav-socials a:hover,
.nav-socials a:focus-visible {
  transform: translateY(-1px);
  background: rgba(216, 190, 120, 0.5);
  color: var(--text);
}

.nav-socials svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-socials path {
  fill: currentColor;
  stroke: none;
}

.nav-enroll {
  cursor: pointer;
  border: 1px solid transparent;
  padding: 9px 20px;
  background: #263326;
  color: #fffdf8;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
  box-shadow: 0 7px 16px rgba(38, 51, 38, 0.2);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-enroll:hover {
  transform: translateY(-1px);
  background: var(--gold);
  color: #263326;
  text-shadow: none;
  box-shadow: 0 9px 20px rgba(38, 51, 38, 0.24);
}

.nav-enroll:focus-visible {
  outline: 3px solid rgba(216, 190, 120, 0.36);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
}

.section-pad {
  padding: 108px 0;
}

.hero {
  padding-top: 72px;
  background:
    linear-gradient(rgba(174, 157, 133, 0.74), rgba(174, 157, 133, 0.74)),
    url("assets/colour2.jpg");
  background-size: cover;
}

.hero-grid,
.split-grid,
.about-grid {
  display: grid;
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(247, 244, 237, 0.76);
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 560px;
  font-size: clamp(3rem, 5.8vw, 5.7rem);
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.95rem);
}

h3 {
  font-size: 1.72rem;
}

.tagline {
  margin-top: 20px;
  color: rgba(36, 35, 31, 0.58);
  font-family: var(--sans);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
}

.lead {
  max-width: 590px;
  margin-top: 26px;
  color: rgba(36, 35, 31, 0.78);
  font-size: 1.08rem;
  line-height: 2.05;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.hero-actions p {
  color: rgba(36, 35, 31, 0.56);
  font-size: 0.82rem;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 25px 12px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease,
    border-color 180ms ease;
}

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

.button-gold {
  background: var(--gold);
  color: var(--text);
}

.button-gold:hover {
  background: #cdae61;
}

.button-ivory {
  background: var(--ivory);
  color: var(--text);
}

.button-ivory:hover {
  opacity: 0.86;
}

.button-outline {
  border-color: rgba(36, 35, 31, 0.22);
  color: var(--text);
}

.button-outline:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--ivory);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(480px, 50vw, 640px);
}

.tall-image,
.floating-image,
.about-image {
  overflow: hidden;
  background: var(--beige);
  box-shadow: 0 26px 70px rgba(36, 35, 31, 0.12);
}

.hero-rotator {
  position: relative;
  overflow: hidden;
  width: min(100%, 650px);
  height: clamp(430px, 48vw, 620px);
  border-radius: 8px;
  background: rgba(247, 244, 237, 0.28);
  box-shadow: 0 28px 80px rgba(36, 35, 31, 0.16);
}

.hero-rotator::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 35, 31, 0.02), rgba(36, 35, 31, 0.1));
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: saturate(0.88) contrast(0.95) sepia(0.08);
  object-position: center;
  animation: heroFade 10s infinite;
}

.hero-slide:nth-child(2) {
  animation-delay: 5s;
}

@keyframes heroFade {
  0%,
  42% {
    opacity: 1;
  }

  50%,
  92% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.dark-section {
  position: relative;
  overflow: hidden;
  background: var(--sage);
  color: var(--ivory);
}

.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/colour1.jpg");
  background-size: 320px auto;
  opacity: 0.08;
  mix-blend-mode: soft-light;
}

.dark-section > .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  margin-bottom: 58px;
}

.center {
  text-align: center;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 6vw, 72px);
  margin: 62px 0 46px;
}

.method-grid article {
  text-align: center;
}

.method-grid span {
  display: block;
  margin-bottom: 18px;
  color: rgba(247, 244, 237, 0.58);
  font-family: var(--sans);
  font-size: 1.25rem;
}

.method-grid h3 {
  margin-bottom: 18px;
  color: var(--white-soft);
}

.method-grid p,
.about-copy p {
  color: rgba(247, 244, 237, 0.78);
}

.split {
  background:
    linear-gradient(90deg, rgba(174, 157, 133, 0.86) 0 43%, rgba(174, 157, 133, 0.72) 43% 100%),
    url("assets/colour2.jpg");
  background-size: cover;
}

.split-grid {
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
}

.split-collage {
  position: relative;
  min-height: 610px;
}

.tall-image {
  width: 72%;
  height: 560px;
}

.floating-image {
  position: absolute;
  right: 0;
  bottom: 44px;
  width: 48%;
  height: 320px;
  border: 14px solid var(--paper);
}

.text-panel {
  max-width: 610px;
}

.text-panel h2,
.about-copy h2,
.contact-card h2 {
  margin-bottom: 28px;
}

.text-panel p,
.contact-card p {
  color: rgba(36, 35, 31, 0.74);
}

.text-panel p + p,
.about-copy p + p {
  margin-top: 18px;
}

.text-panel .button,
.about-copy .button {
  margin-top: 34px;
}

.about {
  padding: 118px 0;
}

.about::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -18%;
  width: 50vw;
  height: 62%;
  background: var(--taupe);
  opacity: 0.16;
  border-radius: 48% 0 0 0;
}

.about-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
}

.about-copy {
  max-width: 620px;
}

.about-image {
  height: 430px;
  border: 18px solid rgba(247, 244, 237, 0.92);
}

.expect {
  background:
    linear-gradient(rgba(174, 157, 133, 0.76), rgba(174, 157, 133, 0.76)),
    url("assets/colour2.jpg");
  background-size: cover;
  text-align: center;
}

.expect .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

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

.expect-grid article {
  min-height: 205px;
  padding: 34px 26px;
  border: 1px solid var(--line);
  background: rgba(247, 244, 237, 0.24);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.expect-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(106, 114, 93, 0.36);
  background: rgba(247, 244, 237, 0.36);
}

.expect-grid h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.expect-grid p {
  color: rgba(36, 35, 31, 0.66);
}

.course-feature {
  background:
    linear-gradient(rgba(247, 244, 237, 0.92), rgba(247, 244, 237, 0.92)),
    url("assets/colour2.jpg");
  background-size: cover;
}

.course-feature-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 76px);
  align-items: start;
}

.course-poster {
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(36, 35, 31, 0.1);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 28px 74px rgba(36, 35, 31, 0.16);
}

.course-poster img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: contain;
}

.course-details h2 {
  margin-bottom: 22px;
  color: #263326;
}

.course-lead {
  max-width: 650px;
  color: rgba(36, 35, 31, 0.74);
  font-size: 1.04rem;
  line-height: 1.9;
}

.course-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.course-badges span {
  padding: 7px 16px;
  border: 1px solid rgba(106, 114, 93, 0.18);
  border-radius: 999px;
  background: rgba(106, 114, 93, 0.12);
  color: #4d5749;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.course-schedule-card {
  padding: 0 21px 22px;
  border: 1px solid rgba(36, 35, 31, 0.11);
  border-radius: 9px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 12px 34px rgba(36, 35, 31, 0.07);
}

.course-class-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 34px;
  margin: -1px 0 18px;
  padding: 6px 16px;
  border-radius: 0 0 12px 12px;
  background: #8199a4;
  color: #fffdf8;
  font-size: 0.82rem;
  font-weight: 700;
}

.course-class-label.taupe {
  background: #aa9b90;
}

.course-schedule-card dl,
.course-schedule-card dd {
  margin: 0;
}

.course-schedule-card dl {
  display: grid;
  gap: 17px;
}

.course-schedule-card dt {
  margin-bottom: 4px;
  color: rgba(36, 35, 31, 0.48);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-schedule-card dd {
  color: #364036;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.7;
}

.course-content {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(36, 35, 31, 0.13);
}

.course-content h3 {
  margin-bottom: 18px;
  color: #263326;
  font-size: 1.34rem;
}

.course-content ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-content li {
  position: relative;
  padding-left: 22px;
  color: rgba(36, 35, 31, 0.7);
  font-size: 0.91rem;
  line-height: 1.82;
}

.course-content li::before {
  position: absolute;
  top: 0.75em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b99b4d;
  content: "";
}

.course-content strong,
.song-list {
  display: block;
}

.course-content strong {
  color: #394439;
}

.song-list {
  margin-top: 5px;
}

.course-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 30px;
  padding: 22px;
  border-radius: 9px;
  background: #263326;
  color: var(--white-soft);
}

.course-action strong,
.course-action div > a {
  display: block;
}

.course-action strong {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.course-action div > a {
  margin-top: 2px;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
}

.course-action .button {
  flex: 0 0 auto;
}

.course-tags {
  margin-top: 18px;
  color: rgba(36, 35, 31, 0.46);
  font-size: 0.75rem;
  line-height: 1.8;
}

.testimonials {
  background:
    linear-gradient(rgba(106, 114, 93, 0.95), rgba(106, 114, 93, 0.95)),
    url("assets/colour1.jpg");
  background-size: cover;
}

.testimonials-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.testimonials-heading h2 {
  color: var(--white-soft);
}

.testimonials-heading > p:last-child {
  margin-top: 20px;
  color: rgba(247, 244, 237, 0.72);
  font-size: 1.02rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.testimonial-card {
  overflow: hidden;
  border: 1px solid rgba(247, 244, 237, 0.16);
  border-radius: 10px;
  background: rgba(247, 244, 237, 0.96);
  color: var(--text);
  box-shadow: 0 26px 70px rgba(36, 35, 31, 0.2);
}

.testimonial-card-copy {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 24px 26px;
}

.testimonial-number {
  padding-top: 6px;
  color: #9a7e36;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.testimonial-card h3 {
  color: #263326;
  font-size: 1.42rem;
  line-height: 1.25;
}

.testimonial-card-copy p {
  margin-top: 10px;
  color: rgba(36, 35, 31, 0.66);
  font-size: 0.92rem;
  line-height: 1.75;
}

.testimonial-video {
  display: block;
  width: 100%;
  max-height: 720px;
  aspect-ratio: 352 / 624;
  border: 0;
  background: #171713;
  object-fit: cover;
}

.testimonial-note {
  position: relative;
  padding: 18px 18px 0;
  background: #e7ddce;
}

.testimonial-note img {
  width: 100%;
  height: auto;
  max-height: 720px;
  border-radius: 4px;
  object-fit: contain;
  box-shadow: 0 14px 34px rgba(36, 35, 31, 0.16);
}

.testimonial-note figcaption {
  padding: 14px 4px 17px;
  color: rgba(36, 35, 31, 0.56);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: right;
}

.more-testimonials {
  margin-top: clamp(58px, 7vw, 82px);
  padding-top: clamp(42px, 5vw, 58px);
  border-top: 1px solid rgba(247, 244, 237, 0.18);
}

.more-testimonials-heading {
  margin-bottom: 30px;
  text-align: center;
}

.more-testimonials-heading h3 {
  color: var(--white-soft);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
}

.testimonial-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.testimonial-screenshot-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 237, 0.16);
  border-radius: 10px;
  background: rgba(247, 244, 237, 0.96);
  color: var(--text);
  box-shadow: 0 22px 58px rgba(36, 35, 31, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.testimonial-screenshot-card:hover,
.testimonial-screenshot-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(36, 35, 31, 0.26);
}

.testimonial-screenshot-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.testimonial-screenshot-frame {
  display: block;
  height: 460px;
  overflow: hidden;
  background: #202322;
}

.testimonial-screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 220ms ease, filter 180ms ease;
}

.testimonial-screenshot-card:hover .testimonial-screenshot-frame img {
  transform: scale(1.015);
  filter: brightness(1.05);
}

.testimonial-screenshot-card.is-landscape .testimonial-screenshot-frame {
  height: auto;
  aspect-ratio: 867 / 628;
}

.testimonial-screenshot-card.is-landscape .testimonial-screenshot-frame img {
  object-fit: contain;
}

.testimonial-screenshot-caption {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 20px;
}

.testimonial-screenshot-caption > span:nth-child(2) {
  min-width: 0;
}

.testimonial-screenshot-caption strong,
.testimonial-screenshot-caption small {
  display: block;
}

.testimonial-screenshot-caption strong {
  color: #263326;
  font-size: 0.98rem;
  line-height: 1.5;
}

.testimonial-screenshot-caption small {
  margin-top: 4px;
  color: rgba(36, 35, 31, 0.54);
  font-size: 0.72rem;
}

.testimonial-screenshot-caption em {
  grid-column: 2;
  color: #8b7233;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-section {
  background:
    linear-gradient(rgba(174, 157, 133, 0.82), rgba(174, 157, 133, 0.82)),
    url("assets/colour2.jpg");
  background-size: cover;
  padding-top: 92px;
}

.contact-card {
  max-width: 830px;
  padding: clamp(48px, 7vw, 74px);
  background: rgba(247, 244, 237, 0.38);
  text-align: center;
  box-shadow: 0 26px 70px rgba(36, 35, 31, 0.1);
}

.contact-card .button {
  margin-top: 30px;
}

.contact-links {
  margin-top: 22px;
  color: rgba(36, 35, 31, 0.56);
  font-size: 0.9rem;
}

.gallery-hero {
  background:
    linear-gradient(rgba(174, 157, 133, 0.76), rgba(174, 157, 133, 0.76)),
    url("assets/colour2.jpg");
  background-size: cover;
  padding: clamp(52px, 7vw, 72px) 0 clamp(46px, 6vw, 62px);
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.gallery-hero h1 {
  max-width: 720px;
}

.gallery-hero-copy {
  max-width: 690px;
  color: rgba(36, 35, 31, 0.72);
  font-size: clamp(0.98rem, 1.2vw, 1.05rem);
  line-height: 1.9;
}

.gallery-section {
  background:
    linear-gradient(rgba(174, 157, 133, 0.78), rgba(174, 157, 133, 0.78)),
    url("assets/colour2.jpg");
  background-size: cover;
  padding-top: clamp(30px, 4vw, 46px);
  padding-bottom: clamp(72px, 8vw, 108px);
}

.gallery-masonry {
  column-count: 3;
  column-gap: 22px;
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  border: 0;
  border-radius: 8px;
  background: rgba(247, 244, 237, 0.32);
  box-shadow: 0 18px 50px rgba(36, 35, 31, 0.14);
  padding: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(36, 35, 31, 0.2);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 220ms ease, filter 180ms ease;
}

.gallery-item:hover img {
  transform: scale(1.018);
  filter: brightness(1.03) saturate(0.96);
}

.gallery-cta {
  background:
    linear-gradient(rgba(174, 157, 133, 0.82), rgba(174, 157, 133, 0.82)),
    url("assets/colour2.jpg");
  background-size: cover;
  padding-top: 72px;
}

.gallery-cta .contact-card p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.9;
}

.gallery-cta .contact-card p:not(.eyebrow) span {
  display: block;
}

.mentors-section {
  background:
    linear-gradient(rgba(174, 157, 133, 0.8), rgba(174, 157, 133, 0.8)),
    url("assets/colour2.jpg");
  background-size: cover;
  padding-top: clamp(32px, 4vw, 50px);
}

.mentor-list {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
}

.mentor-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: stretch;
  padding: clamp(18px, 2.8vw, 30px);
  border: 1px solid rgba(36, 35, 31, 0.1);
  border-radius: 8px;
  background: rgba(247, 244, 237, 0.42);
  box-shadow: 0 24px 70px rgba(36, 35, 31, 0.12);
}

.mentor-card:nth-child(even) .mentor-photo {
  order: 2;
}

.mentor-photo {
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(36, 35, 31, 0.08);
}

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

.mentor-profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 2vw, 18px) 0;
}

.mentor-profile h2 {
  max-width: 720px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.mentor-role {
  margin-top: 14px;
  color: var(--sage);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.65;
  text-transform: uppercase;
}

.mentor-copy {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  color: rgba(36, 35, 31, 0.72);
  font-size: 1rem;
  line-height: 1.95;
}

.mentor-highlight {
  color: rgba(36, 35, 31, 0.88);
  font-weight: 600;
}

.mentors-cta {
  background:
    linear-gradient(rgba(174, 157, 133, 0.82), rgba(174, 157, 133, 0.82)),
    url("assets/colour2.jpg");
  background-size: cover;
  padding-top: 72px;
}

.lightbox {
  width: min(92vw, 1180px);
  height: min(90vh, 860px);
  overflow: hidden;
  padding: clamp(44px, 6vw, 58px) clamp(16px, 4vw, 32px) clamp(18px, 4vw, 32px);
  border: 1px solid rgba(247, 244, 237, 0.2);
  border-radius: 16px;
  background: rgba(36, 35, 31, 0.92);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox::backdrop {
  background: rgba(18, 18, 15, 0.72);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  z-index: 2;
}

.enroll-modal {
  width: min(100% - 32px, 1080px);
  max-height: min(94vh, 940px);
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--ivory);
  color: #263326;
  box-shadow: 0 40px 110px rgba(18, 24, 18, 0.42);
}

.enroll-modal::backdrop {
  background: rgba(18, 24, 18, 0.68);
  backdrop-filter: blur(12px);
}

.enroll-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(285px, 0.8fr) minmax(0, 1.65fr);
  max-height: min(94vh, 940px);
}

.enroll-panel {
  overflow-y: auto;
  max-height: min(94vh, 940px);
  padding: clamp(36px, 5vw, 58px);
  background: var(--ivory);
}

.enroll-modal .modal-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  border: 1px solid rgba(38, 51, 38, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  opacity: 1;
  transition: transform 180ms ease, background-color 180ms ease;
}

.enroll-modal .modal-close:hover {
  transform: rotate(5deg);
  background: #fff;
}

.enroll-modal .modal-close span {
  position: absolute;
  left: 11px;
  top: 20px;
  width: 19px;
  height: 1.5px;
  background: #263326;
}

.enroll-modal .modal-close span:first-child {
  transform: rotate(45deg);
}

.enroll-modal .modal-close span:last-child {
  transform: rotate(-45deg);
}

.enroll-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(42px, 5vw, 64px) clamp(28px, 4vw, 48px);
  background: #263326;
  color: #fffaf2;
}

.enroll-intro::after {
  position: absolute;
  right: -80px;
  bottom: 70px;
  width: 190px;
  height: 190px;
  border: 46px solid var(--gold);
  border-radius: 50%;
  content: "";
  opacity: 0.85;
}

.enroll-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.enroll-intro h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: #fffaf2;
}

.enroll-lead {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.94rem;
  line-height: 1.75;
}

.enroll-steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: 42px 0 36px;
  padding: 0;
  list-style: none;
}

.enroll-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  min-height: 76px;
}

.enroll-steps li:not(:last-child)::after {
  position: absolute;
  top: 32px;
  bottom: 0;
  left: 15px;
  width: 1px;
  background: rgba(255, 250, 242, 0.18);
  content: "";
}

.enroll-steps li > span {
  display: grid;
  place-items: center;
  align-self: start;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 250, 242, 0.3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 800;
}

.enroll-steps strong,
.enroll-steps small {
  display: block;
}

.enroll-steps strong {
  color: #fffaf2;
  font-size: 0.92rem;
}

.enroll-steps small {
  margin-top: 4px;
  color: rgba(255, 250, 242, 0.5);
  font-size: 0.78rem;
}

.enroll-note {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 242, 0.16);
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.78rem;
  line-height: 1.5;
}

.enroll-note span {
  display: grid;
  place-items: center;
  flex: 0 0 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold);
  color: #263326;
  font-weight: 900;
}

.enroll-form {
  display: grid;
  gap: 34px;
}

.form-section {
  display: grid;
  gap: 17px;
}

.section-heading {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 3px;
}

.section-heading > span {
  padding-top: 5px;
  color: #b39851;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-heading h3 {
  margin: 0;
  color: #263326;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-heading p {
  margin-top: 3px;
  color: #7a7d72;
  font-size: 0.8rem;
}

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

.enroll-form label {
  display: grid;
  gap: 7px;
}

.enroll-form label > span {
  color: #394439;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.enroll-form label > span b {
  margin-left: 5px;
  color: #aa8d43;
  font-size: 0.62rem;
  font-weight: 800;
}

.enroll-form input,
.enroll-form select,
.enroll-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d5d3c9;
  border-radius: 4px;
  background: #fff;
  color: #263326;
  outline: none;
  padding: 13px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.enroll-form input:focus,
.enroll-form select:focus,
.enroll-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 190, 120, 0.18);
}

.enroll-form input::placeholder,
.enroll-form textarea::placeholder {
  color: #9a9b92;
}

.enroll-form select option {
  background: #fff;
  color: #263326;
}

.enroll-form textarea {
  min-height: 92px;
  resize: vertical;
}

.payment-box {
  display: grid;
  gap: 17px;
  padding: 24px;
  border: 0;
  border-radius: 12px;
  background: #e9e2d2;
}

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

.payment-detail-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(38, 51, 38, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(38, 51, 38, 0.06);
}

.payment-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 22px;
}

.payment-card-top span {
  color: #667066;
  font-size: 0.72rem;
  font-weight: 800;
}

.payment-card-top em {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eee2bd;
  color: #7b672f;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 850;
}

.payment-detail-card strong {
  overflow-wrap: anywhere;
  color: #263326;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.payment-detail-card small {
  color: #7e8279;
  font-size: 0.72rem;
}

.payment-help {
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  color: #666b62;
  font-size: 0.78rem;
  line-height: 1.6;
}

.payment-help strong { color: #263326; }

.final-section {
  padding-bottom: 4px;
}

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 2px;
}

.step-one {
  display: inline-flex;
  gap: 20px;
  justify-content: space-between;
  min-width: 220px;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: var(--gold);
  color: #263326;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(216, 190, 120, 0.28);
}

.step-two {
  color: #4e5b4e;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(78, 91, 78, 0.3);
  text-underline-offset: 5px;
}

.email-submit-note {
  margin-top: -5px;
  color: #777b72;
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.step-one:disabled {
  cursor: wait;
  opacity: 0.72;
}

.enroll-form.submitted .step-one {
  background: #a8c47f;
  box-shadow: 0 10px 22px rgba(107, 137, 76, 0.2);
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 18px;
    width: min(100% - 36px, 760px);
    padding-left: 0;
    padding-right: 0;
  }

  .brand {
    justify-content: center;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 14px 18px;
    flex-wrap: wrap;
  }

  .container {
    width: min(100% - 36px, 760px);
  }

  /* Mobile: centre the stacked layout */
  .hero-copy,
  .text-panel,
  .about-copy,
  .gallery-hero-copy,
  .gallery-hero-grid,
  .method-grid article,
  .expect-grid article,
  .mentor-profile {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy .lead,
  .tagline,
  .lead,
  .text-panel,
  .text-panel p,
  .about-copy,
  .about-copy p,
  .gallery-hero h1,
  .gallery-hero-copy,
  .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .mentor-profile {
    align-items: center;
  }

  .section-pad,
  .about {
    padding: 82px 0;
  }

  .hero-grid,
  .split-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-visual {
    justify-content: center;
    min-height: auto;
  }

  .hero-rotator {
    width: 100%;
    height: min(64vw, 520px);
  }

  .split {
    background:
      linear-gradient(rgba(174, 157, 133, 0.76), rgba(174, 157, 133, 0.76)),
      url("assets/colour2.jpg");
    background-size: cover;
  }

  .split-collage {
    min-height: 520px;
  }

  .tall-image {
    width: 74%;
    height: 500px;
  }

  .floating-image {
    bottom: 18px;
  }

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

  .gallery-hero-grid {
    grid-template-columns: 1fr;
  }

  .mentor-card,
  .mentor-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .mentor-card:nth-child(even) .mentor-photo {
    order: 0;
  }

  .mentor-photo {
    min-height: 620px;
  }

  .gallery-masonry {
    column-count: 2;
  }

  .about-image {
    height: 480px;
  }

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

  .course-poster {
    width: min(100%, 640px);
    margin: 0 auto;
  }

  .course-details {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    gap: 24px;
  }

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

  .testimonial-screenshot-card.is-landscape {
    grid-column: 1 / -1;
    width: min(100%, 650px);
    justify-self: center;
  }

}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    position: static;
    padding-top: 18px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    gap: 10px 16px;
    font-size: 0.82rem;
  }

  .nav-socials {
    gap: 6px;
  }

  .nav-socials a {
    width: 32px;
    height: 32px;
  }

  .nav-button {
    padding: 8px 16px;
  }

  .nav-enroll {
    padding: 8px 16px;
  }

  .section-pad,
  .about {
    padding: 66px 0;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 3.85rem);
  }

  h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .lead {
    font-size: 1rem;
    line-height: 1.9;
  }

  .hero-actions {
    align-items: center;
    flex-direction: column;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-rotator {
    height: 74vw;
    max-height: 360px;
  }

  .method-grid,
  .expect-grid {
    grid-template-columns: 1fr;
  }

  .method-grid article {
    text-align: center;
  }

  .split-collage {
    min-height: 430px;
  }

  .tall-image {
    width: 76%;
    height: 405px;
  }

  .floating-image {
    width: 54%;
    height: 220px;
    border-width: 10px;
  }

  .about-image {
    height: 350px;
    border-width: 12px;
  }

  .expect-grid article {
    min-height: 160px;
  }

  .course-details > .eyebrow,
  .course-details > h2,
  .course-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .course-badges {
    justify-content: center;
  }

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

  .course-action {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .course-action .button {
    width: 100%;
  }

  .course-tags {
    text-align: center;
  }

  .testimonials-heading {
    margin-bottom: 34px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .testimonial-card-copy {
    padding: 22px 20px;
    text-align: left;
  }

  .testimonial-video {
    max-height: 76vh;
    object-fit: contain;
  }

  .testimonial-note {
    padding: 12px 12px 0;
  }

  .more-testimonials {
    margin-top: 48px;
    padding-top: 40px;
  }

  .testimonial-screenshot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-screenshot-card.is-landscape {
    grid-column: auto;
  }

  .testimonial-screenshot-frame {
    height: min(132vw, 590px);
  }

  .gallery-hero {
    padding: 50px 0 42px;
  }

  .gallery-hero-grid {
    gap: 24px;
    text-align: center;
  }

  .gallery-hero-copy {
    max-width: none;
    line-height: 1.85;
  }

  .gallery-masonry {
    column-count: 1;
  }

  .gallery-item {
    margin-bottom: 18px;
  }

  .mentor-card {
    padding: 16px;
  }

  .mentor-photo {
    height: clamp(360px, 118vw, 520px);
    min-height: 0;
  }

  .mentor-copy {
    gap: 14px;
    margin-top: 22px;
    font-size: 0.96rem;
    line-height: 1.86;
  }

  .lightbox {
    width: calc(100vw - 28px);
    height: 82vh;
    padding: 50px 12px 16px;
  }

  .gallery-cta .contact-card p:not(.eyebrow) span {
    display: inline;
  }

  .contact-card {
    padding: 40px 24px;
  }

  .field-row,
  .payment-detail-grid {
    grid-template-columns: 1fr;
  }

  .enroll-modal {
    width: calc(100% - 20px);
    border-radius: 18px;
  }

  .enroll-shell {
    display: block;
    overflow-y: auto;
  }

  .enroll-intro {
    min-height: auto;
    padding: 36px 24px 30px;
  }

  .enroll-intro h2 { font-size: 2.15rem; }
  .enroll-lead { max-width: 500px; }
  .enroll-steps { display: none; }
  .enroll-note { margin-top: 24px; }

  .enroll-panel {
    max-height: none;
    overflow: visible;
    padding: 34px 22px;
  }

  .form-actions { align-items: stretch; flex-direction: column; }
  .step-one { width: 100%; }
  .step-two { padding: 8px 0; text-align: center; }

}

/* Content managed from /admin */
[hidden] {
  display: none !important;
}

.course-feature-grid + .course-feature-grid {
  margin-top: clamp(64px, 8vw, 104px);
}

.course-feature-grid.no-poster {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
}

.events-section {
  background: var(--ivory);
}

.events-heading {
  max-width: 640px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.events-heading h2 {
  color: #263326;
}

.events-heading p:last-child {
  margin-top: 12px;
  color: rgba(36, 35, 31, 0.66);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(36, 35, 31, 0.1);
  border-radius: 10px;
  background: var(--white-soft);
  box-shadow: 0 18px 48px rgba(36, 35, 31, 0.1);
}

.event-card.is-past {
  opacity: 0.78;
}

.event-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e7ddce;
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
}

.event-date {
  color: #8b7233;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.event-badge {
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #263326;
  color: var(--white-soft);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.event-card.is-past .event-badge {
  background: rgba(36, 35, 31, 0.45);
}

.event-body h3 {
  color: #263326;
  font-size: 1.25rem;
  line-height: 1.4;
}

.event-place {
  color: rgba(36, 35, 31, 0.62);
  font-size: 0.88rem;
}

.event-desc {
  color: rgba(36, 35, 31, 0.76);
  font-size: 0.95rem;
  line-height: 1.8;
}

.event-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 6px;
  color: #8b7233;
  font-size: 0.9rem;
  font-weight: 700;
}

.event-link:hover {
  text-decoration: underline;
}

.testimonial-screenshot-media {
  display: block;
  width: 100%;
  height: 100%;
  background: #171713;
  object-fit: contain;
}
