@font-face {
  font-family: "D-DIN Pro";
  src: url("Font/D-DIN-PRO-400-Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "D-DIN Pro";
  src: url("Font/D-DIN-PRO-700-Bold.otf") format("opentype");
  font-weight: 700;
}

@font-face {
  font-family: "D-DIN Pro";
  src: url("Font/D-DIN-PRO-900-Heavy.otf") format("opentype");
  font-weight: 900;
}

:root {
  --ink: #21172c;
  --muted: #66546f;
  --surface: #ffffff;
  --soft: #f6f0fb;
  --purple-950: #271139;
  --purple-800: #4a1f78;
  --purple-650: #6b33a3;
  --purple-500: #8d4bd0;
  --purple-150: #eadcf7;
  --aqua: #58d1c9;
  --gold: #f3bd4d;
  --rose: #e86893;
  --shadow: 0 22px 70px rgba(45, 20, 68, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "D-DIN Pro", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(248, 244, 252, 0.92), rgba(255, 255, 255, 0.96)),
    url("Design Elements/noise-bg.png");
  background-size: cover;
}

.app-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(39, 17, 57, 0.96), rgba(107, 51, 163, 0.94)),
    url("Design Elements/Flyer-BG.jpg") center / cover;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.app-splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-splash-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.app-splash-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.app-splash-card strong,
.app-splash-card span {
  display: block;
}

.app-splash-card strong {
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
}

.app-splash-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
}

.app-splash-spinner {
  width: 38px;
  height: 38px;
  border: 4px solid rgba(255, 255, 255, 0.24);
  border-top-color: var(--gold);
  border-radius: 999px;
  animation: spin 760ms linear infinite;
}

.catalogue-cover-splash {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: grid;
  place-items: end center;
  padding: clamp(24px, 6vw, 72px);
  background: var(--purple-950);
}

.catalogue-cover-splash[hidden] {
  display: none !important;
}

.catalogue-cover-splash img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalogue-cover-button {
  position: relative;
  z-index: 1;
  min-width: min(280px, 100%);
  box-shadow: 0 18px 44px rgba(33, 23, 44, 0.34);
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font-family: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(107, 51, 163, 0.16);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 46px;
  height: 46px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  color: var(--purple-800);
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--purple-950);
  font-weight: 700;
}

nav a {
  padding: 8px 0;
}

[hidden] {
  display: none !important;
}

.section-nav-links {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
}

.section-nav-links a {
  white-space: nowrap;
}

.catalogue-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-950);
  font-size: 0.82rem;
  font-weight: 800;
}

.catalogue-picker[hidden] {
  display: none !important;
}

.catalogue-picker span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.catalogue-picker select {
  min-width: 190px;
  max-width: 240px;
  border: 1px solid rgba(107, 51, 163, 0.22);
  border-radius: 8px;
  padding: 8px 32px 8px 10px;
  background: #fff;
  color: var(--purple-950);
  font: inherit;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 78px) clamp(54px, 8vw, 96px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(39, 17, 57, 0.88), rgba(92, 42, 132, 0.74)),
    url("Design Elements/Flyer-BG.jpg") center / cover;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12vw -18vw auto;
  width: min(56vw, 720px);
  aspect-ratio: 1;
  background: url("Design Elements/Ellipse2.png") center / contain no-repeat;
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 8vh 0 auto auto;
  width: min(52vw, 760px);
  height: 48vh;
  background: url("Design Elements/shapes1.png") right center / contain no-repeat;
  opacity: 0.38;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 7vw, 6.8rem);
  line-height: 0.92;
  font-weight: 900;
}

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #2b1735;
  box-shadow: 0 16px 36px rgba(243, 189, 77, 0.22);
}

.button:disabled,
.button.is-loading {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.button.is-loading,
.mini-button.is-loading {
  gap: 10px;
}

.submit-booking-button,
.cart-tray #open-booking {
  gap: 10px;
}

.button-spinner {
  width: 18px;
  height: 18px;
  display: none;
  border: 3px solid rgba(43, 23, 53, 0.24);
  border-top-color: #2b1735;
  border-radius: 999px;
  animation: spin 760ms linear infinite;
}

.button.is-loading .button-spinner,
.mini-button.is-loading .button-spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(20px);
}

.hero-stat {
  padding: 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-stat strong,
.hero-stat span {
  display: block;
}

.hero-stat strong {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
}

.hero-stat span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-carousel {
  align-content: stretch;
}

.hero-carousel-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  height: 400px;
  padding: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.hero-carousel-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.hero-carousel-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

.hero-carousel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.hero-carousel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 6px;
  color: #2b1735;
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(243, 189, 77, 0.22);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-carousel-link:hover,
.hero-carousel-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(243, 189, 77, 0.28);
}

.hero-carousel-controls {
  display: inline-flex;
  gap: 8px;
}

.hero-carousel-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
}

.hero-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hero-carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.hero-carousel-dots button.active {
  background: var(--gold);
  border-color: var(--gold);
}

.intro-band,
.sessions-section,
.booking-band,
.welcome-section {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 78px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading > p:not(.eyebrow),
#about-content p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.section-heading h2,
.booking-band h2 {
  color: var(--purple-950);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  font-weight: 900;
}

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

.pathway-grid article,
.session-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(107, 51, 163, 0.15);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pathway-grid article {
  padding: 24px;
}

.pathway-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--purple-150);
  color: var(--purple-800);
  font-size: 0.78rem;
  font-weight: 900;
}

.pathway-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.3rem;
}

.pathway-grid p,
.session-card p,
.booking-band p {
  color: var(--muted);
  line-height: 1.55;
}

.workshop-description {
  white-space: pre-line;
}

.sessions-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 240, 251, 0.98)),
    url("Design Elements/Ellipse.png") left 10% top 8% / 180px no-repeat;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
}

.search {
  display: grid;
  gap: 8px;
  color: var(--purple-950);
  font-weight: 900;
}

.search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(107, 51, 163, 0.24);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.filter {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(107, 51, 163, 0.24);
  border-radius: 6px;
  color: var(--purple-800);
  background: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.filter.active {
  background: var(--purple-800);
  color: #fff;
}

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

.session-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
}

.session-card.focused {
  outline: 3px solid var(--gold);
  box-shadow: 0 18px 44px rgba(74, 31, 120, 0.2);
}

.session-card::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple-500), var(--aqua));
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--purple-800);
  font-size: 0.78rem;
  font-weight: 900;
}

.code-pill {
  color: #fff;
  background: var(--purple-800);
}

.session-card h3 {
  margin-bottom: 12px;
  color: var(--purple-950);
  font-size: 1.38rem;
  line-height: 1.1;
}

.session-card p {
  margin-bottom: 18px;
}

.tools {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(107, 51, 163, 0.13);
}

.tools b {
  display: block;
  margin-bottom: 6px;
  color: var(--purple-950);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.duration {
  color: var(--muted);
  font-weight: 900;
}

.book-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--purple-800);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.book-button:hover {
  background: var(--purple-650);
}

.book-button:disabled {
  background: #9b8aa7;
  cursor: not-allowed;
}

.book-button:disabled:hover {
  background: #9b8aa7;
}

.book-button.added {
  background: var(--aqua);
  color: var(--purple-950);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed rgba(107, 51, 163, 0.35);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.booking-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--purple-950);
  color: #fff;
}

.booking-band h2 {
  color: #fff;
}

.booking-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.welcome-section {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(39, 17, 57, 0.96), rgba(74, 31, 120, 0.92)),
    url("Design Elements/noise-bg.png") center / cover;
  color: #fff;
}

#welcome.welcome-section {
  display: none !important;
}

.page-section {
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

.page-section.white {
  background: #fff;
}

.page-section.soft {
  background: rgba(246, 240, 251, 0.82);
}

.page-section.purple {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(39, 17, 57, 0.94), rgba(107, 51, 163, 0.9)),
    url("Design Elements/Flyer-BG.jpg") center / cover;
}

.page-section.purple .eyebrow,
.page-section.purple h2,
.page-section.purple .section-subtitle,
.page-section.purple .signature {
  color: #fff;
}

.page-section.purple p {
  color: rgba(255, 255, 255, 0.88);
}

.page-section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-section.text-only .page-section-inner {
  display: grid;
  gap: 16px;
}

.page-section.with-image .page-section-inner {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: start;
}

.page-section-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-section-copy {
  display: grid;
  gap: 12px;
}

.page-section-copy h2 {
  margin: 0;
  color: var(--purple-950);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.section-subtitle {
  margin: 0;
  color: var(--purple-800);
  font-weight: 800;
}

.section-body {
  display: grid;
  gap: 12px;
}

.section-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.welcome-photo {
  position: sticky;
  top: 96px;
}

.welcome-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.welcome-copy {
  max-width: 980px;
}

.welcome-copy h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 900;
}

.welcome-role {
  margin-bottom: 24px;
  color: var(--aqua);
  font-weight: 900;
}

.welcome-copy p:not(.eyebrow):not(.welcome-role):not(.signature) {
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.03rem;
  line-height: 1.62;
}

.signature {
  margin: 26px 0 0;
  color: var(--purple-800);
  font-size: 1.35rem;
  font-weight: 900;
}

.welcome-section .signature,
.page-section.purple .signature {
  color: #fff;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 18px;
  color: var(--muted);
  background: #fff;
}

footer img {
  width: 28px;
  height: 28px;
}

footer p {
  margin: 0;
  text-align: center;
}

.cart-tray {
  position: sticky;
  right: 0;
  bottom: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 0 auto;
  padding: 14px clamp(18px, 5vw, 78px);
  border-top: 1px solid rgba(107, 51, 163, 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -16px 40px rgba(45, 20, 68, 0.14);
  backdrop-filter: blur(18px);
}

.cart-tray #cart-text {
  flex: 1 1 auto;
  min-width: 0;
}

.cart-tray #open-booking {
  flex: 0 0 auto;
}

.cart-tray strong,
.cart-summary {
  display: block;
}

.cart-tray [hidden] {
  display: none !important;
}

.cart-tray strong {
  color: var(--purple-950);
  font-size: 1.05rem;
}

.cart-summary {
  max-width: min(62vw, 760px);
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-summary span {
  display: inline;
}

.cart-summary .cart-window-message {
  display: block;
  margin-top: 4px;
  color: #9b2245;
  font-weight: 900;
  white-space: normal;
}

.cart-more-button {
  margin-left: 6px;
  border: 0;
  color: var(--purple-800);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cart-more-popover {
  position: absolute;
  left: clamp(18px, 5vw, 78px);
  bottom: calc(100% - 4px);
  z-index: 12;
  display: none;
  width: min(560px, calc(100vw - 36px));
  max-height: 280px;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(107, 51, 163, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 50px rgba(45, 20, 68, 0.22);
}

.cart-more-popover.open {
  display: grid;
  gap: 10px;
}

.cart-more-popover strong {
  margin: 0;
  color: var(--purple-950);
  font-size: 0.95rem;
}

.cart-more-popover ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-more-popover li {
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--purple-950);
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
}

.cart-tray .button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.booking-dialog {
  width: min(92vw, 760px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 90px rgba(33, 23, 44, 0.34);
}

.booking-dialog::backdrop {
  background: rgba(33, 23, 44, 0.62);
  backdrop-filter: blur(4px);
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.request-notice-dialog {
  width: min(92vw, 560px);
}

.terms-dialog {
  width: min(92vw, 760px);
}

.terms-dialog-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.terms-content {
  display: grid;
  gap: 12px;
  max-height: min(56vh, 560px);
  overflow: auto;
  padding-right: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.terms-content p {
  margin: 0;
}

.request-notice {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 36px);
}

.request-notice h2 {
  margin-bottom: 12px;
  color: var(--purple-950);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
}

.request-notice p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.5;
}

.dialog-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.dialog-title-row h2 {
  margin-bottom: 8px;
  color: var(--purple-950);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.selected-workshop {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.selected-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.selected-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(107, 51, 163, 0.14);
  border-radius: 6px;
  background: var(--soft);
}

.selected-list span {
  color: var(--purple-950);
  font-weight: 900;
  line-height: 1.25;
}

.selected-list button {
  flex: 0 0 auto;
  border: 0;
  color: var(--purple-800);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.icon-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(107, 51, 163, 0.18);
  border-radius: 6px;
  color: var(--purple-800);
  background: var(--soft);
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--purple-950);
  font-weight: 900;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.booking-date-row {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(107, 51, 163, 0.24);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.booking-form textarea {
  resize: vertical;
}

.booking-terms-check {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px !important;
}

.booking-terms-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.inline-link-button {
  border: 0;
  padding: 0;
  color: var(--purple-800);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mini-button {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(107, 51, 163, 0.24);
  border-radius: 6px;
  color: var(--purple-800);
  background: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.booking-date-picker {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(107, 51, 163, 0.16);
  border-radius: 8px;
  background: var(--soft);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  scroll-margin: 18px;
}

.booking-date-picker.attention {
  border-color: rgba(243, 189, 77, 0.88);
  background: #fffaf0;
  box-shadow: 0 0 0 4px rgba(243, 189, 77, 0.2);
}

.booking-date-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.booking-date-topbar h3 {
  margin: 0;
  color: var(--purple-950);
  font-size: 1rem;
}

.booking-date-weekdays,
.booking-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.booking-date-weekdays span {
  color: var(--purple-800);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.booking-date-cell {
  min-height: 32px;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 5px 4px;
  border: 1px solid rgba(107, 51, 163, 0.18);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
}

.booking-date-cell strong,
.booking-date-cell span {
  display: block;
}

.booking-date-cell strong {
  color: var(--purple-950);
  font-size: 0.9rem;
}

.booking-date-cell span {
  display: none;
}

.booking-date-cell.available:hover,
.booking-date-cell.limited:hover,
.booking-date-cell.selected {
  border-color: rgba(74, 31, 120, 0.46);
  background: #f8fff8;
  box-shadow: 0 10px 22px rgba(74, 31, 120, 0.12);
}

.booking-date-cell.limited {
  border-color: rgba(177, 133, 32, 0.38);
  background: #fff9e8;
}

.booking-date-cell.selected {
  outline: 2px solid var(--gold);
}

.booking-date-cell.unavailable {
  border-color: rgba(102, 84, 111, 0.2);
  color: rgba(102, 84, 111, 0.7);
  background: #ece8ef;
  cursor: not-allowed;
}

.booking-date-cell.unavailable strong,
.booking-date-cell.unavailable span {
  color: rgba(102, 84, 111, 0.72);
}

.booking-date-cell.muted {
  opacity: 0.48;
}

.booking-message {
  min-height: 22px;
  margin: 0;
  color: var(--purple-800);
  font-weight: 900;
}

.calendar-public {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 78px);
}

.calendar-grid {
  display: block;
}

.calendar-grid h2,
.calendar-grid h3 {
  color: var(--purple-950);
}

.calendar-shell {
  display: grid;
  gap: 12px;
}

.calendar-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calendar-topbar h2,
.calendar-topbar h3 {
  margin: 0;
}

.calendar-weekdays,
.month-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays span {
  color: var(--purple-800);
  font-weight: 900;
  text-align: center;
}

.calendar-cell {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(107, 51, 163, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  text-align: left;
}

.calendar-cell strong {
  color: var(--purple-950);
}

.calendar-cell .availability {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.calendar-cell.muted {
  opacity: 0.45;
}

.calendar-cell.today {
  outline: 2px solid var(--gold);
}

.calendar-cell.available {
  background: #f8fff8;
}

.calendar-cell.unavailable {
  border-color: rgba(155, 34, 69, 0.24);
  background: #fff5f8;
}

.calendar-cell.limited {
  border-color: rgba(177, 133, 32, 0.34);
  background: #fff9e8;
}

.calendar-cell.has-session {
  border-color: rgba(74, 31, 120, 0.28);
}

.event {
  display: block;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
}

.event.approved {
  color: var(--purple-950);
  background: var(--purple-150);
}

.event.blocked {
  color: #9b2245;
  background: #ffe2ea;
}

@media (max-width: 1050px) {
  .hero,
  .toolbar,
  .welcome-section,
  .page-section.with-image .page-section-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .welcome-photo {
    position: static;
    max-width: 360px;
  }

  .page-section-image img {
    max-width: 360px;
  }

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

  .filter-group {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .section-nav-links {
    display: flex;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .section-nav-links a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid rgba(107, 51, 163, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--purple-800);
    font-size: 0.86rem;
    line-height: 1;
  }

  .section-nav-links:empty {
    display: none;
  }

  .catalogue-picker {
    width: 100%;
    justify-content: space-between;
  }

  .catalogue-picker select {
    min-width: 0;
    width: min(100%, 260px);
  }

  .hero {
    padding-top: 36px;
  }

  .pathway-grid,
  .session-grid {
    grid-template-columns: 1fr;
  }

  .booking-band,
  .welcome-section,
  .card-footer,
  .cart-tray,
  .form-row {
    align-items: flex-start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .booking-date-row {
    grid-template-columns: 1fr;
  }

  .book-button,
  .booking-band .button,
  .cart-tray .button {
    width: 100%;
  }

  .cart-summary {
    max-width: 100%;
  }
}
