:root {
  --ivory: #fbf8f2;
  --cream: #f3eee4;
  --sage: #dfe8df;
  --sage-deep: #7e9384;
  --eucalyptus: #a9bbb0;
  --lavender: #e6e1ed;
  --powder: #dfeaf1;
  --clay: #ead8cf;
  --charcoal: #252724;
  --taupe: #726d66;
  --white: #ffffff;
  --line: rgba(37, 39, 36, 0.12);
  --shadow: 0 18px 50px rgba(61, 62, 56, 0.10);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(92%, var(--container)); margin: 0 auto; }
.section-pad { padding: 105px 0; }

h1, h2, h3, h4 { margin: 0 0 18px; line-height: 1.1; }
h1, h2 { font-family: "Playfair Display", serif; }
h1 { font-size: clamp(3.4rem, 7vw, 6.2rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2.35rem, 4.7vw, 4.4rem); letter-spacing: -0.03em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 18px; color: var(--taupe); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--sage-deep); }
.large-copy { font-size: 1.35rem; color: var(--charcoal); }
.section-heading { margin-bottom: 52px; max-width: 780px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(37,39,36,.06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.brand { display: inline-flex; align-items: center; }
.brand-mark { width: 150px; height: 74px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 20px; font-size: .9rem; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px; background: var(--charcoal); transition: .25s ease; }
.main-nav a:hover::after { width: 100%; }
.nav-cta { padding: 11px 17px; border-radius: 999px; background: var(--charcoal); color: white; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--charcoal); margin: 5px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; transition: transform .25s ease, box-shadow .25s ease; border: 1px solid transparent; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--charcoal); color: white; box-shadow: var(--shadow); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.65); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.programme-hero {
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 90% 10%, var(--powder), transparent 38%), linear-gradient(135deg, var(--ivory), var(--sage));
}
.programme-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(37,39,36,.08); border-radius: 50%; right: -150px; bottom: -180px; }
.programme-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.programme-hero-copy { max-width: 760px; }
.programme-hero-lead { font-size: 1.3rem; line-height: 1.65; max-width: 720px; color: var(--charcoal); }
.programme-hero-card { padding: 38px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg); backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.mini-label { display: block; margin-bottom: 24px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--sage-deep); }
.programme-topic-list { display: flex; flex-wrap: wrap; gap: 12px; }
.programme-topic-list span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .87rem; }
.programme-topic-list i { color: var(--sage-deep); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.programme-intro { background: var(--cream); }
.programme-intro-copy p { font-size: 1.08rem; }

.programme-audience { background: var(--ivory); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.audience-card { min-height: 285px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .3s ease, box-shadow .3s ease; }
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.audience-card > span { display: block; margin-bottom: 55px; color: var(--sage-deep); font-size: .75rem; font-weight: 700; }

.workshop-options { background: var(--white); }
.workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.workshop-card { display: flex; flex-direction: column; min-height: 420px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ivory); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.workshop-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(126,147,132,.25); }
.tag { display: inline-block; margin-bottom: 13px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage-deep); font-weight: 700; }
.workshop-card ul { margin: 18px 0 25px; padding-left: 20px; color: var(--taupe); }
.workshop-card li { margin-bottom: 7px; }
.workshop-register { margin-top: auto; padding-top: 15px; font-weight: 600; }
.featured-workshop { background: linear-gradient(145deg, var(--sage), var(--cream)); }

.delivery-section { background: var(--ivory); }
.delivery-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.delivery-list { border-top: 1px solid var(--line); }
.delivery-list > div { padding: 22px 5px; border-bottom: 1px solid var(--line); }
.delivery-list strong { display: block; font-size: 1.08rem; }
.delivery-list p { margin: 6px 0 0; }

.programme-register-section { padding: 80px 0; background: linear-gradient(120deg, var(--lavender), var(--powder)); }
.register-box { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 55px; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg); box-shadow: 0 16px 45px rgba(61,62,56,.07); }
.register-box > div:first-child { max-width: 660px; }
.register-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.enquiry-section { background: var(--cream); }
.enquiry-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.programme-enquiry-form { padding: 38px; background: var(--white); border: 1px solid rgba(37,39,36,.06); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.programme-enquiry-form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; font-size: .86rem; font-weight: 600; }
input, textarea, select { width: 100%; border: 1px solid var(--line); background: var(--ivory); padding: 13px 14px; border-radius: 12px; color: var(--charcoal); outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgba(126,147,132,.12); }
textarea { resize: vertical; min-height: 145px; }
.form-message { margin-top: 15px; color: var(--sage-deep); font-weight: 600; }

.footer { background: #1e201e; color: white; padding: 70px 0 24px; }
.footer p { color: rgba(255,255,255,.58); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.42); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 1050px) {
  .main-nav { gap: 13px; font-size: .82rem; }
  .workshop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section-pad { padding: 82px 0; }
  .menu-toggle { display: block; z-index: 60; }
  .main-nav { position: fixed; inset: 80px 0 auto 0; background: rgba(251,248,242,.98); padding: 26px 4%; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .3s ease; }
  .main-nav.open { transform: translateY(0); }
  .programme-hero-grid, .split, .delivery-grid, .enquiry-grid { grid-template-columns: 1fr; gap: 45px; }
  .audience-grid { grid-template-columns: 1fr; }
  .register-box { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .programme-hero { padding: 55px 0; }
  .programme-hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .programme-hero-lead { font-size: 1.12rem; }
  .programme-hero-card { padding: 24px; }
  .workshop-grid, .form-row { grid-template-columns: 1fr; }
  .workshop-card { min-height: auto; }
  .register-box { padding: 32px 24px; }
  .programme-enquiry-form { padding: 24px; }
  .brand-mark { width: 115px; height: 62px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
