:root {
  --bg: #f5efe4;
  --bg-deep: #eadfcb;
  --paper: #fbf6ee;
  --paper-strong: #f0e4d1;
  --ink: #33231c;
  --ink-soft: #6c584e;
  --line: rgba(111, 82, 67, 0.18);
  --brand: #f2771c;
  --brand-deep: #c75914;
  --earth: #755549;
  --mint: #b9d9d1;
  --mint-deep: #6b9f95;
  --shadow: 0 28px 70px rgba(78, 55, 37, 0.12);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --content-width: min(1180px, calc(100vw - 40px));
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 119, 28, 0.13), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(107, 159, 149, 0.18), transparent 20%),
    linear-gradient(180deg, #f8f3ea 0%, #f1e7d8 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto auto 0 0;
  width: 320px;
  height: 320px;
  background: url("public/pdf-assets/page1_1_X6.png") center/contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
  transform: translate(-14%, 8%) rotate(-8deg);
  z-index: 0;
}

body::after {
  inset: 8% -50px auto auto;
  width: 380px;
  height: 380px;
  background-image: url("public/pdf-assets/page1_2_X9.png");
  opacity: 0.045;
  transform: rotate(6deg);
}

.page-shell {
  position: relative;
  z-index: 1;
}

.reveal-up,
.reveal-down {
  opacity: 0;
  transition:
    opacity 720ms var(--ease-out-expo),
    transform 720ms var(--ease-out-expo),
    filter 720ms var(--ease-out-expo);
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
  filter: blur(6px);
}

.reveal-up {
  transform: translate3d(0, 36px, 0);
}

.reveal-down {
  transform: translate3d(0, -20px, 0);
}

.reveal-up.in-view,
.reveal-down.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: transform 240ms linear;
  will-change: transform;
}

[data-float] {
  animation: ambient-float 7.5s var(--ease-out-quart) infinite;
  animation-delay: var(--float-delay, 0s);
}

.site-header,
.section,
.site-footer {
  width: var(--content-width);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 12px;
}

.header-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.brand img,
.footer-brand img {
  display: block;
  width: 132px;
  height: auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(117, 85, 73, 0.15);
  border-radius: 50%;
  background: rgba(255, 249, 241, 0.78);
  box-shadow: 0 12px 24px rgba(88, 66, 49, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--earth);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-nav a,
.footer-nav a,
.contact-actions a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a,
.footer-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.header-cta,
.button-primary {
  padding: 14px 22px;
  color: #fff7f0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 16px 35px rgba(198, 88, 20, 0.2);
}

.button-secondary {
  padding: 13px 21px;
  color: var(--earth);
  background: rgba(255, 247, 238, 0.78);
  border: 1px solid rgba(117, 85, 73, 0.14);
  box-shadow: 0 10px 24px rgba(88, 66, 49, 0.08);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-4px) scale(1.02);
}

.hero {
  width: var(--content-width);
  margin: 24px auto 0;
  padding: 70px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-deep);
}

h1,
h2 {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.7rem, 4.9vw, 4.35rem);
  max-width: 8.8ch;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: nowrap;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  max-width: none;
  width: 100%;
  text-wrap: balance;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  font-weight: 700;
}

.hero-text,
.section p,
.trainer-copy li {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.hero-text {
  margin: 22px 0 0;
  max-width: 58ch;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 10px;
}

.hero-highlights li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 500;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  padding-top: 38px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: rgba(251, 246, 238, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-card img,
.gallery-grid img,
.trainer-card img,
.trust-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-card-anatomy {
  right: 0;
  top: 0;
  width: 40%;
  padding: 26px;
  background:
    radial-gradient(circle at center, rgba(242, 119, 28, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 247, 240, 0.96), rgba(247, 235, 220, 0.96));
}

.hero-card-photo {
  left: 2%;
  bottom: 0;
  width: 72%;
  height: 68%;
}

.floating-note {
  position: absolute;
  right: -2%;
  bottom: 10%;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(78, 55, 37, 0.9);
  color: #f9f1e9;
  box-shadow: 0 18px 36px rgba(61, 41, 27, 0.2);
}

.floating-note span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(249, 241, 233, 0.75);
}

.floating-note strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.section {
  padding: 70px 0;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.section-heading.compact h2 {
  max-width: none;
}

.section-heading h2,
.gallery-copy h2,
.contact-copy h2 {
  max-width: none;
  width: 100%;
  font-size: clamp(2.45rem, 4.4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.intro-panels,
.topics-grid,
.gallery-grid {
  display: grid;
  gap: 20px;
}

.intro-panels {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-grid .section-heading p:last-child {
  max-width: 58ch;
}

.workshops-page .site-header {
  margin-bottom: 10px;
}

.workshops-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 30px 44px;
  align-items: center;
}

.workshops-hero-copy,
.contact-hero-copy,
.track-hero-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.workshops-hero-copy h1 {
  max-width: 12.5ch;
  text-wrap: balance;
  font-size: clamp(2.7rem, 4.1vw, 4.15rem);
  line-height: 0.94;
}

.workshops-hero-visual {
  position: relative;
  min-height: 540px;
  z-index: 0;
}

.workshops-hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.workshops-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshops-hero-badge {
  position: absolute;
  right: -2%;
  bottom: 24px;
  max-width: 310px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(78, 55, 37, 0.92);
  color: #fff4ea;
  box-shadow: 0 18px 34px rgba(61, 41, 27, 0.2);
}

.workshops-hero-badge span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 244, 234, 0.74);
}

.stats-grid,
.tracks-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.engage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stat-card,
.track-card,
.engage-card,
.testimonial-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(117, 85, 73, 0.12);
  background: rgba(251, 246, 238, 0.84);
  box-shadow: 0 16px 34px rgba(83, 61, 45, 0.06);
  transition:
    transform 320ms var(--ease-out-quart),
    box-shadow 320ms var(--ease-out-quart);
}

.stat-card:hover,
.track-card:hover,
.engage-card:hover,
.testimonial-card:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 24px 44px rgba(83, 61, 45, 0.12);
}

.stat-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 2rem;
  line-height: 1;
}

.track-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(242, 119, 28, 0.14);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track-card a,
.engage-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  margin-top: 16px;
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.panel,
.format-card,
.topics-grid article,
.contact-section,
.trust-panel {
  border: 1px solid var(--line);
}

.panel-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.panel {
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(98, 76, 58, 0.08);
  transition:
    transform 320ms var(--ease-out-quart),
    box-shadow 320ms var(--ease-out-quart),
    background-color 320ms var(--ease-out-quart);
}

.panel img {
  width: 100%;
  max-width: 186px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 20px;
}

.panel-cream {
  background: #f9f2e7;
}

.panel-mint {
  background: linear-gradient(180deg, #d7ebe6, #c3dfd8);
}

.panel-sand {
  background: #efe4d7;
}

.panel-link-label {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.formats-visual {
  position: relative;
  overflow: visible;
  margin-top: 12px;
}

.formats-visual img {
  width: 100%;
  display: block;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.format-markers {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  pointer-events: none;
}

.format-markers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f3b785;
  color: #fff7f0;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(163, 110, 59, 0.18);
}

.format-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.format-card {
  min-height: 100%;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f2dfca, #ead7c3);
  box-shadow: 0 16px 34px rgba(95, 73, 55, 0.08);
  text-align: center;
  transition:
    transform 340ms var(--ease-out-quart),
    box-shadow 340ms var(--ease-out-quart);
}

.format-card h3 {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: clamp(1.55rem, 2.1vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.98;
}

.format-subtitle {
  margin: 10px 0 24px;
  color: var(--earth);
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.format-rate {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 800;
}

.format-pricing {
  color: var(--ink);
  font-weight: 700;
}

.format-note {
  font-style: italic;
}

.format-kit {
  width: 88px;
  margin: 18px auto 0;
  display: block;
}

.topics-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 18px;
  background: rgba(242, 119, 28, 0.12);
  color: var(--brand-deep);
  font-weight: 800;
}

.format-card small {
  display: block;
  margin-top: 24px;
  color: var(--earth);
  font-weight: 700;
}

.topics-visual {
  margin-top: 10px;
}

.topics-visual img {
  width: 100%;
  display: block;
  box-shadow: var(--shadow);
}

.topics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.topic-card {
  position: relative;
  padding: 56px 24px 26px;
  border-radius: 22px;
  background: rgba(241, 232, 223, 0.9);
  box-shadow: 0 14px 30px rgba(90, 66, 47, 0.05);
  text-align: center;
  overflow: visible;
  transition:
    transform 340ms var(--ease-out-quart),
    box-shadow 340ms var(--ease-out-quart),
    background-color 340ms var(--ease-out-quart);
}

.topic-card span {
  position: absolute;
  top: -22px;
  left: 18px;
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  background: #f39247;
  color: #fff7f0;
}

.topic-card h3 {
  margin-bottom: 14px;
  color: #f0a06c;
  font-size: clamp(1.25rem, 1.8vw, 1.85rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
}

.topic-card p {
  margin: 0 0 14px;
  color: #60493d;
  font-size: 0.98rem;
  line-height: 1.35;
}

.gallery-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 24px;
  align-items: start;
}

.gallery-grid {
  grid-template-columns: 1.2fr 0.9fr;
  grid-auto-rows: 250px;
}

.gallery-grid img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition:
    transform 380ms var(--ease-out-quart),
    box-shadow 380ms var(--ease-out-quart);
}

.gallery-grid img:first-child {
  grid-row: span 2;
  min-height: 100%;
}

.trainer-section {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 34px;
  align-items: center;
}

.trainer-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #f3ecdd, #e7d8c2);
  transition:
    transform 340ms var(--ease-out-quart),
    box-shadow 340ms var(--ease-out-quart);
}

.trainer-copy {
  padding: 8px 0;
}

.trainer-lead {
  font-size: 1.12rem;
  color: var(--ink);
}

.credentials {
  margin: 26px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.trust-panel {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(255, 249, 241, 0.72);
  box-shadow: 0 16px 36px rgba(81, 60, 44, 0.08);
  transition:
    transform 340ms var(--ease-out-quart),
    box-shadow 340ms var(--ease-out-quart);
}

.trust-panel img {
  object-fit: contain;
}

.trust-logo-marquee {
  position: relative;
  display: flex;
  gap: 18px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 249, 241, 0.82);
  box-shadow: 0 16px 36px rgba(81, 60, 44, 0.08);
  isolation: isolate;
}

.trust-logo-marquee::before,
.trust-logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.trust-logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 249, 241, 0.96), rgba(255, 249, 241, 0));
}

.trust-logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 249, 241, 0.96), rgba(255, 249, 241, 0));
}

.trust-logo-track {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  min-width: max-content;
  animation: trust-logo-scroll 34s linear infinite;
}

.trust-logo-marquee:hover .trust-logo-track {
  animation-play-state: paused;
}

.trust-logo-item {
  display: grid;
  place-items: center;
  min-width: 178px;
  min-height: 94px;
  padding: 14px 18px;
  border-radius: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.trust-logo-item a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 10px 14px;
  color: inherit;
  text-decoration: none;
}

.trust-logo-item img {
  display: block;
  width: auto;
  max-width: 138px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  filter: saturate(0.96) contrast(1.02);
}

.trust-logo-label {
  display: block;
  max-width: 140px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.trust-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.trust-view-all {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.trust-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.trust-modal[hidden] {
  display: none;
}

.trust-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 30, 25, 0.56);
  backdrop-filter: blur(6px);
}

.trust-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(191, 151, 118, 0.18);
  background: rgba(255, 250, 244, 0.98);
  box-shadow: 0 30px 60px rgba(41, 30, 25, 0.2);
}

.trust-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.trust-modal-head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 0.96;
}

.trust-modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(117, 85, 73, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.trust-modal-body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(83, 61, 45, 0.08);
}

@keyframes trust-logo-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-100% - 18px), 0, 0);
  }
}

.contact-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  padding: 38px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(117, 85, 73, 0.94), rgba(66, 49, 43, 0.94)),
    url("public/pdf-assets/page1_1_X6.png") right 24px bottom 24px / 180px no-repeat;
  box-shadow: 0 20px 40px rgba(58, 40, 30, 0.18);
}

.contact-section .eyebrow,
.contact-section h2,
.contact-section p,
.contact-actions a {
  color: #fff4ea;
}

.contact-actions {
  display: grid;
  gap: 14px;
  align-content: center;
}

.contact-actions a {
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 700;
  transition:
    transform 220ms var(--ease-out-quart),
    background-color 220ms var(--ease-out-quart),
    border-color 220ms var(--ease-out-quart);
}

.enquiry-form {
  display: grid;
  gap: 18px;
  align-content: start;
}

.booking-context {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.booking-context strong,
.booking-context span {
  display: block;
}

.booking-context strong {
  margin-top: 4px;
  color: #fff4ea;
  font-size: 1.02rem;
}

.booking-context span {
  margin-top: 6px;
  color: rgba(255, 244, 234, 0.72);
  font-size: 0.88rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 244, 234, 0.82);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff4ea;
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition:
    border-color 220ms var(--ease-out-quart),
    background-color 220ms var(--ease-out-quart),
    transform 220ms var(--ease-out-quart);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 244, 234, 0.54);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(255, 244, 234, 0.36);
  background: rgba(255, 255, 255, 0.12);
}

.field-full {
  grid-column: 1 / -1;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #fff4ea;
}

.checkbox-field span {
  color: rgba(255, 244, 234, 0.8);
  line-height: 1.6;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-status {
  min-height: 1.2em;
  margin: 0;
  color: rgba(255, 244, 234, 0.78);
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: #ffe2b8;
}

.form-status[data-state="error"] {
  color: #ffd4ca;
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.panel:hover,
.format-card:hover,
.topic-card:hover,
.gallery-grid img:hover,
.trainer-card:hover,
.trust-panel:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 24px 46px rgba(78, 55, 37, 0.14);
}

.contact-actions a:hover {
  transform: translate3d(0, -4px, 0);
  background: rgba(255, 255, 255, 0.14);
}

.topic-card:hover {
  background: rgba(245, 236, 228, 0.96);
}

.panel:hover {
  box-shadow: 0 22px 42px rgba(98, 76, 58, 0.12);
}

@keyframes ambient-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-up,
  .reveal-down {
    opacity: 1;
    transform: none;
    filter: none;
  }

  [data-parallax] {
    transform: none !important;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px 40px;
  padding: 18px 24px 14px;
  margin-top: 18px;
  border: 1px solid rgba(117, 85, 73, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(242, 119, 28, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(251, 246, 238, 0.94), rgba(239, 228, 214, 0.96));
  box-shadow: 0 22px 46px rgba(83, 61, 45, 0.08);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand-mark {
  display: inline-flex;
  width: fit-content;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255, 251, 246, 0.86);
  box-shadow: 0 14px 30px rgba(84, 60, 42, 0.08);
}

.footer-kicker,
.footer-label,
.footer-note {
  margin: 0;
  color: var(--ink-soft);
}

.footer-kicker,
.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-summary {
  max-width: 52ch;
  margin: 0;
  color: var(--ink-soft);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
}

.footer-column {
  display: grid;
  gap: 6px;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 4px;
}

.footer-nav a,
.footer-contact a {
  display: inline-flex;
  width: fit-content;
  padding: 2px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 220ms var(--ease-out-quart),
    color 220ms var(--ease-out-quart);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--brand-deep);
  transform: translateX(4px);
}

.footer-meta {
  display: grid;
  gap: 6px;
}

.footer-note {
  font-size: 0.88rem;
}

.footer-legal {
  width: var(--content-width);
  margin: 10px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
}

.footer-legal p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.contact-page .site-header {
  margin-bottom: 10px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.9fr);
  gap: 28px 40px;
  align-items: center;
}

.contact-hero-copy h1 {
  max-width: 10.5ch;
  text-wrap: balance;
  font-size: clamp(2.65rem, 4vw, 4rem);
  line-height: 0.94;
}

.contact-hero-visual {
  position: relative;
  min-height: 520px;
}

.contact-hero-card {
  position: absolute;
  inset: 0 0 46px 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.contact-hero-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contact-hero-note {
  position: absolute;
  right: -2%;
  bottom: 0;
  max-width: 320px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(78, 55, 37, 0.92);
  color: #fff4ea;
  box-shadow: 0 18px 34px rgba(61, 41, 27, 0.2);
}

.contact-hero-note span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 244, 234, 0.74);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  padding: 26px;
  border-radius: 24px;
  background: rgba(251, 246, 238, 0.84);
  border: 1px solid rgba(117, 85, 73, 0.12);
  box-shadow: 0 16px 34px rgba(83, 61, 45, 0.06);
  transition:
    transform 320ms var(--ease-out-quart),
    box-shadow 320ms var(--ease-out-quart);
}

.contact-card:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 24px 44px rgba(83, 61, 45, 0.12);
}

.contact-card a {
  display: inline-flex;
  margin: 6px 0 10px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.track-page .site-header {
  margin-bottom: 10px;
}

.track-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 28px 40px;
  align-items: center;
}

.track-hero-copy h1 {
  max-width: 11.5ch;
  text-wrap: balance;
  font-size: clamp(2.6rem, 3.85vw, 3.95rem);
  line-height: 0.94;
}

.track-hero-visual {
  position: relative;
  min-height: 500px;
  z-index: 0;
}

.track-hero-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.track-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card,
.track-copy-panel {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(117, 85, 73, 0.12);
  background: rgba(251, 246, 238, 0.84);
  box-shadow: 0 16px 34px rgba(83, 61, 45, 0.06);
}

.track-copy-panel {
  max-width: 900px;
}

.benefit-card h3 {
  margin-bottom: 12px;
}

.programme-grid,
.programme-detail-grid,
.programme-overview-grid {
  display: grid;
  gap: 18px;
}

.programme-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.programme-card,
.programme-overview,
.programme-detail-card,
.overview-pill {
  border: 1px solid rgba(117, 85, 73, 0.12);
  background: rgba(251, 246, 238, 0.84);
  box-shadow: 0 16px 34px rgba(83, 61, 45, 0.06);
}

.programme-card,
.programme-detail-card,
.overview-pill {
  border-radius: 24px;
}

.programme-card,
.programme-detail-card {
  padding: 26px;
}

.programme-card {
  display: grid;
  align-content: start;
  transition:
    transform 320ms var(--ease-out-quart),
    box-shadow 320ms var(--ease-out-quart),
    background-color 320ms var(--ease-out-quart);
}

.programme-card-accent {
  background: linear-gradient(180deg, rgba(243, 228, 209, 0.92), rgba(236, 219, 200, 0.94));
}

.programme-card:hover,
.programme-detail-card:hover,
.overview-pill:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 24px 44px rgba(83, 61, 45, 0.12);
}

.programme-meta,
.programme-bullets {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.programme-meta li + li,
.programme-bullets li + li {
  margin-top: 8px;
}

.programme-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.programme-overview {
  padding: 20px;
  border-radius: 30px;
}

.programme-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.programme-overview-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-pill {
  padding: 22px 20px;
}

.overview-pill span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.overview-pill strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.45;
}

.seniors-modules {
  display: grid;
  gap: 22px;
}

.seniors-module-card {
  padding: 28px 32px;
  border: 1px solid rgba(191, 151, 118, 0.75);
  border-radius: 32px;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 18px 40px rgba(94, 68, 44, 0.08);
  transition:
    transform 320ms var(--ease-out-quart),
    box-shadow 320ms var(--ease-out-quart);
}

.seniors-module-card:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 24px 44px rgba(94, 68, 44, 0.12);
}

.seniors-module-card .eyebrow {
  margin-bottom: 16px;
}

.seniors-module-card h3 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.seniors-module-summary {
  max-width: 52ch;
  margin-bottom: 28px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.seniors-module-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.seniors-module-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.seniors-module-meta strong {
  display: block;
  color: var(--ink-strong);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
}

.seniors-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 26px;
}

.seniors-module-tags span {
  color: var(--ink-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.programme-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.programme-testimonial {
  max-width: 720px;
}

.shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.shop-products {
  display: grid;
  gap: 18px;
}

.shop-product-card,
.shop-summary-card,
.shop-promo-card,
.shop-checkout-card,
.shop-next-card {
  border: 1px solid rgba(117, 85, 73, 0.12);
  background: rgba(251, 246, 238, 0.84);
  box-shadow: 0 16px 34px rgba(83, 61, 45, 0.06);
  border-radius: 24px;
}

.shop-product-card,
.shop-summary-card,
.shop-promo-card,
.shop-checkout-card,
.shop-next-card {
  padding: 24px;
}

.shop-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  transition:
    transform 320ms var(--ease-out-quart),
    box-shadow 320ms var(--ease-out-quart);
}

.shop-product-card:hover,
.shop-summary-card:hover,
.shop-promo-card:hover,
.shop-checkout-card:hover,
.shop-next-card:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 24px 44px rgba(83, 61, 45, 0.12);
}

.shop-product-copy h3 {
  margin-bottom: 6px;
}

.shop-product-copy p:not(.shop-price) {
  max-width: 42ch;
}

.shop-price {
  margin: 10px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.shop-qty {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 18px;
  padding: 0 8px;
}

.shop-qty button {
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.shop-qty span {
  min-width: 22px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-strong);
}

.shop-sidebars {
  display: grid;
  gap: 18px;
}

.shop-summary-head,
.shop-summary-line,
.shop-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-summary-head {
  margin-bottom: 18px;
}

.shop-summary-head h3,
.shop-checkout-card h3,
.shop-promo-card h3,
.shop-next-card h3 {
  margin-bottom: 0;
}

.shop-summary-head span {
  color: var(--brand-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.shop-summary-line {
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.shop-summary-line strong {
  color: var(--ink-strong);
  font-size: 1rem;
}

.shop-summary-line-savings {
  border-bottom: 1px solid rgba(117, 85, 73, 0.1);
  color: #0d9488;
}

.shop-summary-line-savings strong {
  color: #0d9488;
}

.shop-summary-total {
  padding-top: 14px;
  font-size: 1.15rem;
  font-weight: 700;
}

.shop-summary-total strong {
  font-size: 1.95rem;
  color: var(--ink-strong);
}

.shop-promo-card {
  background: rgba(248, 244, 235, 0.92);
}

.shop-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  margin-top: 18px;
}

.shop-promo-row input {
  width: 100%;
  min-height: 60px;
  padding: 0 22px;
  border-radius: 24px;
  border: 1px solid rgba(117, 85, 73, 0.18);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  color: var(--ink-strong);
}

.shop-promo-row input::placeholder {
  color: rgba(85, 67, 55, 0.48);
}

.shop-promo-row button {
  min-width: 174px;
  min-height: 60px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff7ef;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(242, 119, 28, 0.18);
}

.shop-promo-card p {
  margin-top: 14px;
  max-width: 32ch;
}

.shop-checkout-card {
  background: rgba(248, 244, 235, 0.92);
}

.shop-checkout-form {
  display: grid;
  gap: 16px;
}

.shop-checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shop-field {
  display: grid;
  gap: 8px;
}

.shop-field span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-field input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(117, 85, 73, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-strong);
  font: inherit;
}

.shop-field input::placeholder {
  color: rgba(85, 67, 55, 0.45);
}

.shop-field-full {
  grid-column: 1 / -1;
}

.shop-submit {
  width: 100%;
}

.shop-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.shop-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 600;
}

.shop-status[data-state="success"] {
  color: #0d9488;
}

.shop-status[data-state="error"] {
  color: #c2410c;
}

.shop-next-card {
  background: rgba(248, 244, 235, 0.92);
}

.shop-next-card .programme-bullets {
  margin-top: 16px;
}

.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.resource-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.86);
  border: 1px solid rgba(117, 85, 73, 0.14);
  box-shadow: 0 18px 34px rgba(83, 61, 45, 0.08);
  transition:
    transform 320ms var(--ease-out-quart),
    box-shadow 320ms var(--ease-out-quart);
}

.resource-card:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 24px 40px rgba(83, 61, 45, 0.12);
}

.resource-card-image,
.resource-card-image-empty {
  display: block;
  width: 100%;
  min-height: 250px;
  background:
    linear-gradient(135deg, rgba(242, 119, 28, 0.08), rgba(117, 85, 73, 0.08)),
    rgba(248, 241, 231, 0.92);
}

.resource-card-image {
  object-fit: cover;
}

.resource-card-body {
  display: grid;
  gap: 12px;
  padding: 20px 22px 22px;
}

.resource-card-meta,
.resource-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.resource-card-meta {
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.resource-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.resource-card-footer {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.course-market-page {
  background:
    radial-gradient(circle at top left, rgba(242, 119, 28, 0.08), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(107, 159, 149, 0.1), transparent 18%),
    linear-gradient(180deg, #f8f4ee 0%, #efe5d6 100%);
}

.course-market-shell {
  width: var(--content-width);
  margin: 18px auto 0;
  padding-bottom: 36px;
}

.course-market-top {
  padding: 18px 0 22px;
}

.course-market-main {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.64fr);
  gap: 24px;
  align-items: start;
}

.course-market-summary,
.course-market-purchase,
.course-market-tab-shell {
  border: 1px solid rgba(117, 85, 73, 0.12);
  background: rgba(255, 252, 248, 0.88);
  box-shadow: 0 20px 44px rgba(83, 61, 45, 0.08);
}

.course-market-summary {
  padding: 28px 30px 26px;
  border-radius: 30px;
  min-height: 100%;
}

.course-market-breadcrumb {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.course-market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.course-market-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(242, 119, 28, 0.1);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-market-summary h1 {
  max-width: 14ch;
  text-wrap: balance;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 0.94;
}

.course-market-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 600;
}

.course-market-stats span:first-child {
  color: var(--brand-deep);
}

.course-market-description {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.course-market-instructor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(117, 85, 73, 0.1);
}

.course-market-instructor-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.course-market-instructor {
  display: flex;
  align-items: center;
  gap: 12px;
}

.course-market-instructor img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(83, 61, 45, 0.12);
}

.course-market-instructor span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.course-market-instructor strong {
  display: block;
  margin-top: 4px;
  font-size: 0.98rem;
}

.course-market-sidebar {
  position: sticky;
  top: 20px;
}

.course-market-purchase {
  padding: 16px;
  border-radius: 28px;
}

.course-market-purchase .button {
  justify-content: center;
}

.course-market-preview {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 220px;
}

.course-market-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-market-preview-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(51, 35, 28, 0.66);
  color: #fff8f2;
  font-size: 0.74rem;
  font-weight: 700;
}

.course-market-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.course-market-price-row strong {
  font-size: 2rem;
  line-height: 1;
}

.course-market-price-row span {
  color: rgba(108, 88, 78, 0.72);
  text-decoration: line-through;
  font-weight: 600;
}

.course-market-price-row em {
  margin-left: auto;
  color: #2f9c69;
  font-style: normal;
  font-weight: 700;
}

.course-market-buy,
.course-market-ghost {
  width: 100%;
  margin-top: 14px;
}

.course-market-note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.course-market-includes {
  margin-top: 24px;
}

.course-market-includes h2 {
  font-size: 1.28rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.course-market-includes ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.course-market-tabs {
  padding-top: 6px;
}

.course-market-tab-shell {
  padding: 14px;
  border-radius: 30px;
}

.course-market-tab-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 6px;
  border-radius: 22px;
  background: rgba(245, 238, 228, 0.84);
}

.course-tab {
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 220ms var(--ease-out-quart),
    color 220ms var(--ease-out-quart),
    box-shadow 220ms var(--ease-out-quart);
}

.course-tab.is-active {
  background: rgba(255, 253, 250, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(83, 61, 45, 0.08);
}

.course-tab-panel {
  padding: 24px 12px 12px;
}

.course-tab-panel[hidden] {
  display: none;
}

.course-learn-section h2,
.course-content-head h2,
.course-overview-copy h2,
.course-instructor-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

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

.course-learn-card,
.course-review-card,
.course-review-list article,
.course-instructor-card,
.course-content-list {
  border: 1px solid rgba(117, 85, 73, 0.12);
  background: rgba(250, 246, 239, 0.86);
  box-shadow: 0 16px 34px rgba(83, 61, 45, 0.05);
}

.course-learn-card,
.course-review-card,
.course-review-list article,
.course-instructor-card {
  padding: 22px;
  border-radius: 24px;
}

.course-learn-card ul,
.course-review-list article p,
.course-instructor-card ul {
  margin: 0;
}

.course-learn-card ul {
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.course-overview-copy {
  margin-top: 28px;
}

.course-overview-copy p {
  max-width: 68ch;
  color: var(--ink-soft);
  line-height: 1.8;
}

.course-content-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.course-content-head p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.course-content-list {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 24px;
}

.course-content-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 88px 88px;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid rgba(117, 85, 73, 0.1);
}

.course-content-row:first-child {
  border-top: 0;
}

.course-content-row span,
.course-content-row em,
.course-content-row small {
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 600;
}

.course-content-row strong {
  font-size: 1rem;
}

.course-instructor-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.course-instructor-card img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 16px 32px rgba(83, 61, 45, 0.1);
}

.course-instructor-card p,
.course-review-card p,
.course-review-list article span {
  color: var(--ink-soft);
}

.course-instructor-card ul {
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.course-review-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.course-review-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.course-review-list article span {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 1120px) {
  .course-market-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-market-sidebar {
    position: static;
  }

  .course-market-purchase {
    max-width: 420px;
  }
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .header-panel {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .hero,
  .workshops-hero,
  .track-hero,
  .contact-hero,
  .gallery-section,
  .trainer-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .tracks-grid,
  .testimonials-grid,
  .benefits-grid,
  .contact-grid,
  .programme-grid,
  .programme-detail-grid,
  .programme-overview-grid,
  .shop-grid,
  .resource-card-grid {
    grid-template-columns: 1fr;
  }

  .shop-product-card,
  .shop-promo-row,
  .shop-checkout-grid {
    grid-template-columns: 1fr;
  }

  .shop-qty {
    justify-content: start;
    padding: 6px 0 0;
  }

  .shop-promo-row button {
    width: 100%;
  }

  .engage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .section-heading h2,
  .gallery-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.8rem, 6vw, 4.6rem);
  }

  .hero-visual {
    min-height: 540px;
  }

  .workshops-hero-visual,
  .track-hero-visual,
  .contact-hero-visual {
    min-height: 420px;
  }

  .course-market-summary {
    padding: 24px;
  }

  .course-market-summary h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 7vw, 3rem);
  }

  .course-market-description {
    max-width: 100%;
  }

  .course-market-instructor-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-market-purchase {
    max-width: none;
  }

  .course-market-tab-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .course-instructor-card img {
    max-width: 220px;
  }

  .course-content-row {
    grid-template-columns: 76px minmax(0, 1fr) 70px 78px;
    gap: 12px;
    padding: 16px 18px;
  }

  .intro-panels,
  .topics-grid,
  .format-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-panel {
    position: fixed;
    top: 84px;
    left: 20px;
    right: 20px;
    display: none;
    z-index: 120;
    margin-left: 0;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 20px;
    border: 1px solid rgba(117, 85, 73, 0.12);
    border-radius: 28px;
    background: rgba(251, 246, 238, 0.98);
    box-shadow: 0 18px 40px rgba(78, 55, 37, 0.14);
    backdrop-filter: blur(10px);
  }

  .header-panel.is-open {
    display: grid;
    gap: 18px;
  }

  .site-nav,
  .footer-nav {
    justify-content: flex-start;
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 0;
  }

  .site-nav a {
    font-size: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(117, 85, 73, 0.1);
    pointer-events: auto;
  }

  .header-cta {
    pointer-events: auto;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
    max-width: none;
    text-wrap: balance;
  }

  h2 {
    font-size: clamp(2.3rem, 10vw, 3.5rem);
  }

  .section-heading h2,
  .gallery-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
    line-height: 0.96;
    text-wrap: pretty;
  }

  .section {
    padding: 54px 0;
  }

  .hero-visual {
    min-height: 440px;
  }

  .workshops-hero-visual,
  .track-hero-visual,
  .contact-hero-visual {
    min-height: 380px;
  }

  .hero-card-anatomy {
    width: 43%;
    padding: 16px;
  }

  .hero-card-photo {
    left: 0;
    width: 100%;
    height: 72%;
  }

  .floating-note {
    right: 16px;
    left: 16px;
    bottom: 16px;
  }

  .workshops-hero-badge,
  .contact-hero-note {
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .intro-panels,
  .topics-grid,
  .format-cards,
  .gallery-grid,
  .stats-grid,
  .tracks-grid,
  .engage-grid,
  .testimonials-grid,
  .benefits-grid,
  .contact-grid,
  .programme-grid,
  .programme-detail-grid,
  .programme-overview-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    padding-top: 52px;
  }

  .format-markers {
    position: static;
    margin-top: 16px;
    gap: 12px;
  }

  .format-markers span {
    width: 72px;
    height: 72px;
  }

  .format-cards {
    margin-top: 24px;
  }

  .contact-section {
    gap: 18px;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-grid img:first-child {
    grid-row: span 1;
  }

  .trainer-section {
    gap: 20px;
  }

  .trainer-card {
    max-width: 340px;
  }

  .contact-actions a {
    font-size: 0.96rem;
    word-break: break-word;
  }

  .contact-section,
  .panel,
  .trust-panel {
    padding: 24px;
  }

  .course-market-summary,
  .course-market-purchase,
  .course-market-tab-shell {
    border-radius: 24px;
  }

  .course-tab {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .course-tab-panel {
    padding: 20px 6px 8px;
  }

  .course-content-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-content-row {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
  }

  .course-content-row span,
  .course-content-row em,
  .course-content-row small {
    font-size: 0.84rem;
  }

  .course-content-row strong {
    font-size: 1rem;
  }

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

  .course-instructor-card img {
    max-width: 220px;
  }

  .trust-logo-marquee {
    padding: 18px;
  }

  .trust-logo-marquee::before,
  .trust-logo-marquee::after {
    width: 46px;
  }

  .trust-logo-item {
    min-width: 156px;
    min-height: 82px;
  }

  .trust-logo-item img {
    max-width: 118px;
    max-height: 48px;
  }

  .site-footer {
    padding: 16px 18px 12px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-cta {
    width: 100%;
  }
}

@media (max-width: 520px) {
  :root {
    --content-width: min(100vw - 24px, 1180px);
  }

  .brand img,
  .footer-brand img {
    width: 116px;
  }

  .header-cta {
    width: 100%;
    padding-inline: 18px;
  }

  .hero {
    margin-top: 8px;
    padding-top: 24px;
  }

  .hero-text,
  .section p,
  .trainer-copy li {
    line-height: 1.7;
  }

  .hero-highlights li {
    padding-left: 16px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .workshops-hero-visual,
  .track-hero-visual,
  .contact-hero-visual {
    min-height: 320px;
  }

  .hero-card-anatomy {
    width: 40%;
  }

  .floating-note {
    padding: 14px 16px;
  }

  .format-card,
  .topics-grid article,
  .panel {
    border-radius: 20px;
  }

  .contact-section,
  .trust-panel {
    padding: 20px;
  }

  .course-market-shell {
    margin-top: 8px;
  }

  .course-market-summary {
    padding: 20px;
  }

  .course-market-summary h1 {
    font-size: clamp(1.9rem, 11vw, 2.7rem);
    line-height: 0.96;
  }

  .course-market-stats {
    gap: 10px;
    font-size: 0.86rem;
  }

  .course-market-description {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .course-market-purchase {
    padding: 14px;
  }

  .course-market-preview {
    min-height: 188px;
  }

  .course-market-price-row strong {
    font-size: 1.7rem;
  }

  .course-market-tab-bar {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

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

  .course-learn-card,
  .course-review-card,
  .course-review-list article,
  .course-instructor-card {
    padding: 18px;
  }

  .footer-meta {
    gap: 4px;
  }

  .footer-legal {
    margin-top: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
}
