:root {
  --paper: #FBFAF6;
  --sand: #F3F0E7;
  --green: #30574E;
  --green-dark: #23423B;
  --text: #2B3835;
  --pink: #F3D3D6;
  --blue: #CFE1EE;
  --yellow: #F5E6B8;
  --pink-soft: #F9E9EA;
  --blue-soft: #E3EEF5;
  --heading: Aboreto, Georgia, serif;
  --body: Lexend, Verdana, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; }
a { color: var(--green-dark); }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid #E2A93B; outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 16px; }

h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--heading); font-weight: 400; color: var(--green-dark); }
h2 { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; }
h3 { font-weight: 500; color: var(--green-dark); line-height: 1.3; }
.light { font-weight: 300; }
.small { font-size: 16px; }
.strong { font-weight: 500; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stack { display: flex; flex-direction: column; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-direction: column; gap: 8px; }
.gap-40 { gap: 40px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; border-radius: 999px; z-index: 10; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 500;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-big { padding: 16px 30px; font-size: 19px; }
.btn-light { background: var(--paper); color: var(--green-dark); }
.btn-light:hover { background: #fff; color: var(--green-dark); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Header */
.site-header {
  padding-top: 20px; padding-bottom: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
}
.site-header .logo { display: block; }
.site-header .logo img { height: 72px; width: auto; display: block; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.site-nav a:not(.btn) { color: var(--green-dark); text-decoration: none; padding: 10px 0; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
.site-nav .btn { padding: 12px 22px; }

/* Hero */
.hero { padding-top: 48px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.eyebrow { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); font-weight: 500; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.08; text-wrap: balance; }
.hero .lead { font-size: 21px; font-weight: 300; max-width: 30em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 8px; }
.hero-actions .text-link { font-weight: 500; padding: 12px 0; }
.hero-img {
  flex: 1 1 380px; min-width: 0; height: 440px; display: block;
  object-fit: cover; object-position: 35% 55%;
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
}

/* What's on */
.sand { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.card { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.card img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; display: block; }
.card .date { display: flex; align-items: baseline; gap: 10px; color: var(--green-dark); }
.card .day { font-family: var(--heading); font-size: 48px; line-height: 1; }
.card .dow { font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.card h3 { font-size: 21px; }
.card .btn { margin-top: auto; }
.empty { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* Booking steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px 24px; }
.steps li { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.steps h3 { font-size: 21px; }
.puddle {
  width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-size: 28px; color: var(--green-dark);
}
.puddle-1 { background: var(--pink); border-radius: 55% 45% 48% 52% / 50% 56% 44% 50%; }
.puddle-2 { background: var(--blue); border-radius: 46% 54% 55% 45% / 54% 46% 54% 46%; }
.puddle-3 { background: var(--yellow); border-radius: 52% 48% 44% 56% / 46% 52% 48% 54%; }

/* Club */
.club { background: var(--green); color: #fff; }
.club h2 { color: #fff; }
.club-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.club-text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.club-text .lead { font-size: 21px; font-weight: 300; }
.club-text ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-weight: 300; }
.club-text li { padding-left: 26px; position: relative; }
.club-text li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 11px;
  background: var(--yellow); border-radius: 55% 45% 48% 52% / 50% 56% 44% 50%;
}
.trial { background: var(--green-dark); border-radius: 16px; padding: 18px 22px; font-size: 17px; }
.trial a { color: #fff; font-weight: 500; }
.club-groups { flex: 1.5 1 580px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.group { background: var(--paper); color: var(--text); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.group h3 { font-size: 22px; }
.group .price { font-family: var(--heading); font-size: 36px; color: var(--green-dark); }
.group .btn { margin-top: auto; }

/* Private */
.private-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.tile { border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.tile h3 { font-size: 24px; }
.tile .btn { margin-top: auto; }
.tile-pink { background: var(--pink-soft); }
.tile-blue { background: var(--blue-soft); }

/* Review */
.review { padding: 80px 0; }
.review figure { max-width: 760px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.review blockquote { margin: 0; font-size: clamp(20px, 3.4vw, 24px); font-weight: 300; line-height: 1.5; color: var(--green-dark); text-wrap: pretty; }
.review figcaption { font-size: 16px; }

/* About */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.about-photo {
  flex: 0 1 300px; width: 300px; max-width: 100%; aspect-ratio: 15 / 16; margin: 0 auto;
  background: var(--yellow); border-radius: 50% 50% 46% 54% / 54% 48% 52% 46%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.about-photo img.logo-mark { width: 62%; height: auto; }
.about-photo img.photo { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.about-text p { font-weight: 300; max-width: 34em; text-wrap: pretty; }

/* Footer */
.site-footer { background: var(--green-dark); color: #fff; padding: 72px 0 48px; }
.site-footer h2 { color: #fff; font-size: clamp(26px, 4.5vw, 32px); line-height: 1.2; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 56px; justify-content: space-between; }
.footer-contact { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-contact a:not(.btn) { color: #fff; }
.news { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.news label, .news-title { font-size: 20px; font-weight: 500; color: #fff; }
.news a:not(.btn) { color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1px solid var(--paper); }
.btn-outline:hover { background: var(--paper); color: var(--green-dark); }
.news-row { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.news input {
  flex: 1 1 200px; min-width: 0; padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--paper); background: var(--paper); color: var(--green-dark);
  font-family: inherit; font-size: 17px;
}
.news button {
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--paper);
  background: transparent; color: #fff; font-family: inherit; font-size: 17px; font-weight: 500; cursor: pointer;
}
.news button:hover { background: var(--paper); color: var(--green-dark); }
.copyright { margin-top: 48px; font-size: 15px; font-weight: 300; opacity: .8; }

/* Phones */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-header .logo img { height: 56px; }
  .site-nav { gap: 0 20px; font-size: 16px; width: 100%; }
  .site-nav .btn { display: none; }
  .hero { padding-top: 24px; padding-bottom: 64px; gap: 36px; }
  .hero .lead { font-size: 19px; }
  .hero-img { height: 300px; flex-basis: 100%; }
  .hero-actions .btn, .card .btn, .group .btn, .tile .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .card, .group { padding: 22px; }
  .tile { padding: 28px; }
  .club-inner, .about, .footer-inner { gap: 40px; }
  .news button { flex: 1 1 100%; }
}

/* Booking form: big, plain and easy to tap */
.card .form-link, .group .form-link { text-align: center; font-size: 16px; padding: 6px 0; }
.form-card {
  background: var(--sand); border-radius: 24px; padding: 40px;
  max-width: 680px; width: 100%; display: flex; flex-direction: column; gap: 28px;
  scroll-margin-top: 16px;
}
.form-card h3 { font-family: var(--heading); font-weight: 400; font-size: 30px; }
.book-form { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
.field { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 20px; font-weight: 500; color: var(--green-dark); padding: 0; }
.field legend { margin-bottom: 10px; }
.optional { font-weight: 300; font-size: 17px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 58px; padding: 14px 18px;
  border: 2px solid #8A9A95; border-radius: 14px; background: #fff; color: var(--text);
  font-family: inherit; font-size: 20px; line-height: 1.4;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid #E2A93B; outline-offset: 2px; border-color: var(--green); }
.field .invalid { border-color: #A8322D; }
.field-error { color: #A8322D; font-weight: 500; font-size: 18px; }
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 16px; min-height: 62px; padding: 12px 18px;
  background: #fff; border: 2px solid #8A9A95; border-radius: 14px; cursor: pointer;
  font-size: 19px !important; font-weight: 400 !important; color: var(--text) !important; line-height: 1.35;
}
.field label.choice { padding: 12px 18px; }
.choice span { min-width: 0; }
.choice input { flex: none; width: 26px; height: 26px; margin: 0; accent-color: var(--green); }
.choice:has(input:checked) { border-color: var(--green); background: #EEF4F1; font-weight: 500 !important; }
.choice:has(input:focus-visible) { outline: 3px solid #E2A93B; outline-offset: 2px; }
.choice small { display: block; font-size: 16px; font-weight: 300; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 62px; height: 62px; flex: none; border-radius: 50%; border: 2px solid var(--green);
  background: #fff; color: var(--green-dark); font-family: inherit; font-size: 32px; line-height: 1; cursor: pointer;
}
.stepper button:hover { background: #EEF4F1; }
.stepper input { width: 90px !important; text-align: center; font-size: 26px !important; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-form .btn { border: 0; font-family: inherit; cursor: pointer; align-self: flex-start; font-size: 21px; padding: 18px 34px; }
.book-form .btn[disabled] { opacity: .6; cursor: default; }
.book-done { background: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; font-size: 20px; }
.book-done h3 { font-size: 30px; }
@media (max-width: 640px) {
  .form-card { padding: 24px 20px; border-radius: 20px; }
  .book-form .btn { width: 100%; }
}

/* Class photos */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.photo-item { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.photo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; background: var(--sand); }
.photo-item figcaption { font-size: 17px; color: var(--green-dark); }
.tile img { width: 100%; height: 230px; object-fit: cover; border-radius: 16px; display: block; }
#book .form-card { background: #fff; }
#book .book-done { background: var(--sand); }
@media (max-width: 900px) { .photos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .photos { grid-template-columns: 1fr; }
  .tile img { height: 190px; }
}

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.review-card { margin: 0; background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review-card .stars { color: #C9962B; font-size: 22px; letter-spacing: 3px; line-height: 1; }
.review-card blockquote { margin: 0; font-size: 19px; font-weight: 300; line-height: 1.55; color: var(--green-dark); text-wrap: pretty; }
.review-card figcaption { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; color: var(--green); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } .review-card { padding: 22px; } }
@media (max-width: 520px) {
  .photos { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .photo-item { gap: 8px; }
  .photo-item img { border-radius: 14px; aspect-ratio: 1 / 1; }
  .photo-item figcaption { font-size: 15px; line-height: 1.35; }
}

/* Booking form pop-up */
.form-open { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; background: #fff; border-radius: 20px; padding: 24px 28px; }
.form-open p { font-size: 19px; font-weight: 300; }
.form-open strong { font-weight: 500; color: var(--green-dark); }
.form-open .btn { border: 0; font-family: inherit; cursor: pointer; }
html.form-is-open { overflow: hidden; }
.form-dialog {
  border: 0; padding: 0; margin: auto; background: var(--sand); color: var(--text);
  width: min(680px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  border-radius: 24px; overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.form-dialog::backdrop { background: rgba(35, 66, 59, .65); }
.form-dialog .form-card { background: transparent; max-width: none; border-radius: 0; position: relative; }
.form-dialog .section-head { padding-right: 120px; }
.form-close {
  position: absolute; top: 24px; right: 24px; min-height: 48px; padding: 8px 18px;
  border: 2px solid var(--green); border-radius: 999px; background: #fff; color: var(--green-dark);
  font-family: inherit; font-size: 18px; font-weight: 500; cursor: pointer;
}
.form-close:hover { background: #EEF4F1; }
#done-close { border: 0; font-family: inherit; cursor: pointer; align-self: flex-start; }
@media (max-width: 640px) {
  .form-open { padding: 20px; }
  .form-open .btn { width: 100%; }
  .form-dialog { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .form-close { top: 16px; right: 16px; }
  #done-close { width: 100%; }
}

/* Gift voucher, fully booked, children's club, phone WhatsApp button */
.gift { background: #fff; border-radius: 20px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.gift-text { display: flex; flex-direction: column; gap: 4px; }
.gift h3 { font-size: 21px; }
.full-badge { align-self: flex-start; background: var(--pink); color: var(--green-dark); font-size: 15px; font-weight: 500; padding: 4px 14px; border-radius: 999px; }
.btn-quiet { background: transparent; color: var(--green-dark); border: 2px solid var(--green); padding: 11px 22px; }
.btn-quiet:hover { background: #EEF4F1; color: var(--green-dark); }
.group .who { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: var(--green); }
.club-inner { flex-direction: column; gap: 48px; }
.club-text { flex: none; width: 100%; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 20px; align-items: start; }
.club-text h2, .club-text .lead, .club-text .trial { grid-column: 1; }
.club-text ul { grid-column: 2; grid-row: 1 / span 3; }
.club-groups { flex: none; width: 100%; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.site-footer .copyright a { color: #fff; }
.wa-float { display: none; }
@media (max-width: 760px) {
  .club-text { grid-template-columns: 1fr; }
  .club-text ul { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  .gift { padding: 20px; }
  .gift .btn { width: 100%; }
  .wa-float {
    display: inline-flex; align-items: center; position: fixed; right: 14px; bottom: 14px; z-index: 5;
    background: var(--green); color: #fff; text-decoration: none; font-weight: 500; font-size: 17px;
    padding: 14px 22px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .28); border: 2px solid var(--paper);
  }
  .wa-float:hover { color: #fff; background: var(--green-dark); }
  .site-footer { padding-bottom: 104px; }
}

/* Club terms inside each group card */
.group { gap: 10px; }
.group .term { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #DDD8CB; margin-top: 10px; padding-top: 18px; }
.group .term-name { font-size: 18px; font-weight: 500; color: var(--green-dark); }
.group .term .price { font-size: 32px; line-height: 1.1; }
.group .term .btn { margin-top: 6px; }
.group .group-note { border-top: 1px solid #DDD8CB; margin-top: 10px; padding-top: 16px; }

/* Book next term: a button that opens the later terms */
.group { gap: 12px; }
.next-terms { width: 100%; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.next-toggle {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  background: transparent; color: #fff; border: 2px solid var(--paper); border-radius: 999px;
  padding: 14px 28px; font-family: inherit; font-size: 19px; font-weight: 500;
}
.next-toggle:hover { background: var(--paper); color: var(--green-dark); }
.next-toggle .chev { font-size: 18px; transition: transform .15s ease; }
.next-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.next-panel { width: 100%; background: var(--paper); color: var(--text); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.next-head { display: flex; flex-direction: column; gap: 2px; }
.next-head h3 { font-size: 24px; }
.next-head + .next-rows { margin-bottom: 16px; }
.next-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 0; border-top: 1px solid #DDD8CB; }
.next-rows .next-row:first-child { margin-top: 12px; }
.next-info { display: flex; flex-direction: column; gap: 2px; flex: 1 1 260px; }
.next-info .strong { color: var(--green-dark); font-size: 19px; }
.next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.next-actions .form-link { font-size: 16px; }
@media (max-width: 640px) {
  .next-toggle { width: 100%; justify-content: center; }
  .next-panel { padding: 22px; }
  .next-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .next-actions .btn { width: 100%; }
  .next-actions .form-link { text-align: center; }
}

/* Watercolour wash, like the printed flyers */
body { position: relative; }
.paint { position: absolute; pointer-events: none; z-index: 0; background-repeat: no-repeat; background-size: contain; }
.paint-wash { top: 0; left: 0; width: min(620px, 62vw); aspect-ratio: 1; background-image: url(images/wash.svg); background-position: top left; }
.paint-splatter { top: 430px; right: 0; width: min(300px, 34vw); aspect-ratio: 1; background-image: url(images/splatter.svg); background-position: top right; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .paint-wash { width: 86vw; }
  .paint-splatter { top: 560px; width: 46vw; }
}

/* Deb's own paint shape, placed so only part of it is on the page */
.paint-wash {
  width: 980px; top: -430px; left: -500px; aspect-ratio: 1;
  background-image: url(images/wash.jpg); background-size: cover; background-position: center;
  mix-blend-mode: multiply; filter: hue-rotate(-38deg) saturate(0.9);
}
@media (max-width: 640px) {
  .paint-wash { width: 640px; top: -290px; left: -340px; }
}

/* Deb's own splatter shapes */
html { overflow-x: hidden; }
.paint-splatter {
  top: 230px; right: -190px; width: 600px; aspect-ratio: 1;
  background-image: url(images/splatter.png); background-size: contain; background-position: center;
  filter: hue-rotate(-38deg) saturate(0.9); opacity: 0.9;
}
#peek { position: relative; }
#peek::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -70px; right: calc(50% - 50vw - 150px); width: 440px; aspect-ratio: 1;
  background: url(images/blots.png) center / contain no-repeat;
  filter: hue-rotate(-38deg) saturate(0.9); opacity: 0.85;
}
@media (max-width: 640px) {
  .paint-splatter { top: 400px; right: -150px; width: 400px; }
  #peek::before { top: -60px; right: calc(50% - 50vw - 130px); width: 320px; }
}

/* Splatters sit against the right edge without widening the page */
.paint-splatter {
  top: 250px; right: 0; width: 400px; height: 600px; aspect-ratio: auto;
  background-size: 600px 600px; background-position: left top; opacity: 0.8;
}
#peek::before {
  top: -70px; right: calc(50% - 50vw); width: 290px; height: 440px; aspect-ratio: auto;
  background-size: 440px 440px; background-position: left top;
}
@media (max-width: 900px) {
  .paint-splatter { top: 500px; width: 300px; height: 460px; background-size: 460px 460px; opacity: 0.6; }
}
@media (max-width: 640px) {
  .paint-splatter { top: 470px; right: 0; width: 230px; height: 380px; background-size: 380px 380px; }
  #peek::before { top: -60px; right: calc(50% - 50vw); width: 190px; height: 320px; background-size: 320px 320px; }
}

/* Menu stays on one line. What does not fit goes into the burger. */
.site-header { flex-wrap: nowrap; z-index: 3; }
.site-header .logo { flex: none; }
.site-nav { flex: 0 1 auto; flex-wrap: nowrap; min-width: 0; overflow: hidden; margin-left: auto; white-space: nowrap; padding: 4px; }
.site-nav a { flex: none; }
.nav-toggle {
  flex: none; width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--green); background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--green-dark); }
.nav-toggle:hover { background: #EEF4F1; }
.nav-more {
  position: absolute; top: calc(100% - 8px); right: 24px; z-index: 4; min-width: 230px;
  background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
  display: flex; flex-direction: column; gap: 2px;
}
.nav-more a:not(.btn) { color: var(--green-dark); text-decoration: none; font-size: 19px; padding: 13px 16px; border-radius: 12px; }
.nav-more a:not(.btn):hover { background: var(--sand); }
.nav-more .btn { margin-top: 8px; }
@media (max-width: 640px) {
  .site-nav { gap: 0 18px; font-size: 16px; width: auto; }
  .site-nav .btn { display: inline-block; }
  .nav-more { right: 20px; }
}

/* Workshop cards: click to open wide, with more photos */
.cards { grid-auto-flow: dense; }
.card-media, .card-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-body { flex: 1; }
.card-open-able { cursor: pointer; transition: box-shadow .15s; }
.card-open-able:hover, .card-open-able.is-open { box-shadow: 0 6px 24px rgba(35, 66, 59, .12); }
.card-toggle {
  align-self: flex-start; background: none; border: 0; padding: 6px 0; margin: -6px 0;
  font: inherit; font-size: 16px; font-weight: 500; color: var(--green); cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px;
}
.card-toggle::after { content: " +"; }
.card-toggle[aria-expanded="true"]::after { content: " −"; }
.card-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card .card-photos img { height: 120px; border-radius: 10px; }
.card-tagline { font-size: 19px; font-weight: 500; color: var(--green); margin-top: -6px; }
.card-about { line-height: 1.6; max-width: 34em; }
.card-where { font-weight: 500; }
.card.is-open { grid-column: 1 / -1; }
@media (min-width: 761px) {
  .card.is-open { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 40px; padding: 32px; align-items: start; }
  .card.is-open .card-media { grid-column: 1; grid-row: 1; }
  .card.is-open .card-body { grid-column: 2; grid-row: 1 / span 2; }
  .card.is-open .card-invite { grid-column: 1; grid-row: 2; }
  .card.is-open .card-main { height: 340px; }
  .card.is-open h3 { font-size: 26px; }
  .card.is-open .btn { margin-top: 8px; align-self: flex-start; min-width: 240px; }
  .card.is-open .form-link { text-align: left; }
}

/* Bring a friend */
.card-invite {
  background: var(--pink-soft); border-radius: 16px; padding: 22px; cursor: default;
  display: flex; flex-direction: column; gap: 12px;
}
.card-invite h4 { font-family: var(--heading); font-size: 22px; font-weight: 400; color: var(--green-dark); }
.card-invite p { font-size: 16px; line-height: 1.5; }
.invite-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card .invite-actions .btn { margin-top: 0; min-width: 0; flex: 1 1 180px; text-align: center; }
.invite-note { font-weight: 500; color: var(--green-dark); }
.card-invite h4 { margin: 0; line-height: 1.2; }
.card-invite p { margin: 0; }
.card .invite-actions .btn { font-family: var(--body); font-size: 16px; font-weight: 500; line-height: 1.3; cursor: pointer; }

/* Paint splat that crosses from the section above into the Weekly Club,
   so the green block does not look like the end of the page */
#club { position: relative; }
#club .club-inner { position: relative; z-index: 1; }
#club::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -400px; right: 0; width: 540px; height: 820px;
  background: #8FB8AB;
  -webkit-mask: url(images/wash-mask.png) left top / 820px 820px no-repeat;
  mask: url(images/wash-mask.png) left top / 820px 820px no-repeat;
}
@media (max-width: 640px) {
  #club::before { top: -240px; width: 250px; height: 480px; -webkit-mask-size: 480px 480px; mask-size: 480px 480px; }
}
/* keep words in the section above in front of the paint */
#book > .wrap { position: relative; z-index: 2; }
#club::before { opacity: 0.7; }

/* Soft colour inside the wash shape, at 30% */
#club::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -400px; right: 0; width: 540px; height: 820px;
  background: radial-gradient(ellipse 35% 32% at 50% 51%, rgba(143, 184, 171, 0.3) 0 76%, rgba(143, 184, 171, 0) 100%) left top / 820px 820px no-repeat;
}
@media (max-width: 640px) {
  #club::after { top: -240px; width: 250px; height: 480px; background-size: 480px 480px; }
}

/* Burger menu that stays top right after scrolling down */
.float-menu { position: fixed; top: 14px; right: 14px; z-index: 30; }
.float-menu .nav-toggle { box-shadow: 0 4px 16px rgba(35, 66, 59, .22); }
.float-menu .nav-more { top: calc(100% + 8px); right: 0; }
