:root {
  color-scheme: light;
  --ink: #24142e;
  --muted: #624d65;
  --dark: #1b1027;
  --accent: #a91d68;
  --pink: #ff81c5;
  --pale: #f9e6f2;
  --paper: #fff8fc;
  --line: #eed8e7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 system-ui, sans-serif;
}

h1, h2, h3, p { margin: 0; }
p + p { margin-top: .75rem; }
h1, h2, h3 { line-height: 1.07; }
h2 { font-size: clamp(2rem, 4.3vw, 3.4rem); letter-spacing: -.055em; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #9f58db; outline-offset: 4px; }
[id] { scroll-margin-top: 1rem; }

.shell { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }

.site-header, .site-footer, .hero { background: var(--dark); color: white; }
.site-header { border-bottom: 1px solid #ffffff29; }
.header-inner, .footer-inner, .brand, nav { display: flex; align-items: center; }
.header-inner, .footer-inner { justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.brand { gap: .65rem; font-weight: 750; line-height: 1.2; text-decoration: none; }
.brand img { border-radius: .5rem; }
nav { flex-wrap: wrap; gap: clamp(.7rem, 2.5vw, 1.8rem); font-size: .93rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.site-header a, .site-footer a { color: inherit; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 2.75rem;
  border-radius: .65rem;
  padding: .78rem 1.12rem;
  background: var(--pink);
  color: var(--dark);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.site-header .button { color: var(--dark); }
.button:hover { background: #ffa5d6; }
.button-small { font-size: .9rem; }

.hero {
  background: radial-gradient(ellipse at 20% 80%, #572361, transparent 68%),
    linear-gradient(130deg, #30173c, var(--dark) 72%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2rem, 5vw, 4.25rem);
}

.programme-name { color: #ffd5ec; font-size: .95rem; font-weight: 750; }
.programme-name span { white-space: nowrap; }
.hero h1 { margin: .65rem 0 1rem; font-size: clamp(3.25rem, 7vw, 6.3rem); letter-spacing: -.07em; }
.hero h1 em { display: block; color: var(--pink); font-style: normal; }
.hero-intro { color: #f1deee; max-width: 40ch; font-size: clamp(1rem, 1.7vw, 1.2rem); }

.session-panel {
  padding: clamp(1rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-top: .3rem solid var(--pink);
  border-radius: 1.1rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 48px #11071960;
}

.session-panel h2 { font-size: clamp(1.65rem, 3.1vw, 2.5rem); }
.session-panel > p { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.venue { margin-top: .85rem; }
.venue-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .2rem .7rem; }
.venue h3 { font-size: 1rem; }
.directions { font-size: .8rem; font-weight: 650; }
.sessions { display: grid; gap: .3rem; list-style: none; padding: 0; margin: .35rem 0 0; }
.sessions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .25rem .6rem;
  min-height: 2.75rem;
  padding: .48rem .68rem;
  border-radius: .55rem;
  background: var(--pale);
  color: var(--ink);
  text-decoration: none;
  line-height: 1.25;
}

.sessions a:hover { background: #f5cfe8; }
.session-time { white-space: nowrap; }
.session-action { color: var(--accent); font-size: .81rem; font-weight: 800; white-space: nowrap; }
.session-panel .parking { margin-top: .75rem; font-size: .83rem; }

.first-class { background: #a81164; color: white; }
.trial-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 1.65rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.trial-steps li {
  counter-increment: step;
  padding-top: .85rem;
  border-top: 1px solid #ffffff7a;
}
.trial-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: .65rem;
  border-radius: 50%;
  background: white;
  color: var(--accent);
  font-weight: 850;
}
.trial-steps h3 { font-size: 1.2rem; }
.trial-steps p { margin-top: .45rem; color: #fff1f9; }

.experience {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.4rem, 6vw, 5rem);
}
.experience-photos { display: grid; gap: .85rem; }
.experience img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}
.experience h2 + p, .instructor h2 + p { margin-top: .75rem; }
.experience p { max-width: 51ch; }
.profile-area { background: var(--pale); }
.instructor { max-width: 50rem; }
.instructor p { max-width: 65ch; }
.instructor-role { color: var(--accent); font-weight: 750; }

.student-review {
  margin: 1.5rem 0 0;
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
  border-inline-start: .25rem solid var(--accent);
  border-radius: .65rem;
  background: var(--paper);
}
.student-review blockquote { margin: 0; }
.student-review figcaption { margin-top: .65rem; color: var(--muted); font-size: .9rem; }

.questions { max-width: 50rem; }
.faq-list { display: grid; gap: .55rem; margin-top: 1.35rem; }
.faq-list details { border: 1px solid var(--line); border-radius: .65rem; background: white; }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 3rem;
  padding: .7rem 1rem;
  cursor: pointer;
  font-weight: 750;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+' / ''; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: '−' / ''; }
.faq-list details p { padding: 0 1rem .9rem; color: var(--muted); }

.offer { max-width: 56rem; }
.starter-pack {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1.2rem 2.5rem;
  padding: clamp(1.35rem, 4vw, 2.7rem);
  border-radius: 1.1rem;
  background: var(--dark);
  color: white;
}
.starter-pack h2 span { color: var(--pink); }
.starter-pack ul { padding-left: 1.2rem; margin: 0 0 .65rem; }
.offer-terms { font-size: .9rem; color: #f0dcec; }
.closing { display: grid; justify-content: center; padding-block: 1.4rem clamp(2.75rem, 6vw, 4rem); }
.closing .button { padding: .95rem 1.45rem; font-size: 1.08rem; }

.booking-section:not(:target):not(:has(#trial-form:target, .selected-trial:not([hidden]))) { display: none; }
.booking-card {
  max-width: 55rem;
  margin-inline: auto;
  padding: clamp(1rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: white;
}
.booking-card h2 { margin-bottom: .65rem; }
.selected-trial { background: var(--pale); border-radius: .55rem; margin-block: .8rem; padding: .65rem .8rem; }
.jotform-wrap { margin-block: 1rem; }
.jotform-wrap iframe { display: block; width: 100%; min-width: 100%; height: 2600px; border: 0; }
.small { font-size: .88rem; color: var(--muted); overflow-wrap: anywhere; }

.site-footer { font-size: .9rem; }
.footer-inner { padding-block: 1.3rem; flex-wrap: wrap; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 52rem) {
  .header-inner nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .trial-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 37rem) {
  .shell { width: calc(100% - 2rem); }
  .brand img { width: 2.25rem; height: 2.25rem; }
  .experience, .starter-pack { grid-template-columns: 1fr; }
  .experience-photos { grid-row: 2; }
}

@media (max-width: 24rem) {
  .brand { max-width: 9rem; font-size: .88rem; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 3.1rem); }
  .sessions strong { font-size: .9rem; }
  .header-inner { gap: .55rem; }
  .button-small { padding-inline: .65rem; font-size: .81rem; white-space: nowrap; }
  .trial-steps { grid-template-columns: 1fr; }
}
