/* =====================================================================
   Netball Kids – main stylesheet
   Fonts: Caveat Brush (headings) / Poppins (body)
   Brand: purple #68248b · orange #e06b2b · green #23cc83
   ===================================================================== */

:root {
	--purple: #68248b;
	--purple-deep: #3b1352;
	--purple-soft: #f6f1fb;
	--orange: #e06b2b;
	--orange-dark: #c4571b;
	--green: #23cc83;
	--ink: #2b2140;
	--muted: #6b6478;
	--line: #e8e1f0;
	--white: #fff;

	--font-head: 'Caveat Brush', 'Comic Sans MS', cursive;
	--font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--container: 1140px;
	--gutter: 20px;
	--r-img: 8px;      /* images: soft 5–10px per brief */
	--r-ui: 10px;      /* buttons, inputs */
	--r-panel: 40px;   /* big coloured panels */
	--shadow: 0 14px 40px rgba(104, 36, 139, 0.14);
	--header-h: 96px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; height: auto; display: block; }
img { border-radius: var(--r-img); }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--orange); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

h1, h2, h3, h4, .h3 {
	font-family: var(--font-head);
	font-weight: 400;
	line-height: 1.05;
	color: var(--purple);
	margin: 0 0 0.45em;
	letter-spacing: 0.01em;
}
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(36px, 4.6vw, 54px); }
h3, .h3 { font-size: clamp(26px, 3vw, 34px); }
h4 { font-size: 24px; }
.accent { color: var(--orange); }
.emphasis { color: var(--purple); font-weight: 600; }
.kicker { font-weight: 600; color: var(--orange); margin-bottom: 0.3em; font-size: 15px; }
.lead { font-size: 18px; max-width: 760px; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--purple); color: #fff; padding: 8px 14px; border-radius: var(--r-ui); z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; }
.section--tight { padding-top: 24px; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.section-head--row { max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; }
.section-head--row h2 { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--font-head); font-size: 22px; line-height: 1; letter-spacing: 0.02em;
	padding: 14px 26px; border-radius: var(--r-ui); border: 2px solid transparent;
	cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
	white-space: nowrap;
}
.btn--lg { font-size: 26px; padding: 17px 34px; }
.btn--orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-2px); }
.btn--purple { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn--purple:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; }
.btn--purple-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn--purple-outline:hover { background: var(--purple); color: #fff; }
.btn--white { background: #fff; color: var(--purple); border-color: #fff; }
.btn--white:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s; }
.link-arrow:hover::after { transform: translate(3px, 0) rotate(45deg); }

/* ---------- Header (purple, wave bottom edge) ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--purple);
}
.site-header::after {
	content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath fill='%2368248b' d='M0 0H200V5C175 5 175 12 150 12S125 5 100 5 75 12 50 12 25 5 0 5Z'/%3E%3C/svg%3E") repeat-x;
	background-size: 360px 12px;
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { width: auto; height: 74px; border-radius: 0; }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-list a { display: block; padding: 10px 12px; font-weight: 500; color: #fff; border-radius: var(--r-ui); font-size: 15px; }
.nav-list a:hover { color: #fff; background: rgba(255,255,255,.14); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-book { font-size: 20px; padding: 11px 20px; }
.cart-link { position: relative; color: #fff; display: inline-flex; padding: 6px; }
.cart-link:hover { color: var(--green); }
.cart-count { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; display: none; }
.cart-count.is-visible { display: block; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: #fff; border-radius: var(--r-ui); padding: 11px 10px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--purple); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Floating side CTAs */
.side-cta { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 8px; }
.side-cta a {
	writing-mode: vertical-rl; transform: rotate(180deg);
	background: var(--purple); color: #fff; font-family: var(--font-head); font-size: 20px; letter-spacing: .03em;
	padding: 18px 10px; border-radius: 0 var(--r-ui) var(--r-ui) 0; box-shadow: var(--shadow);
}
.side-cta a:last-child { background: var(--orange); }
.side-cta a:hover { background: var(--green); color: var(--ink); }

/* ---------- Hero (home): full-width rotating photos ---------- */
.hero-full { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--purple-deep); color: #fff; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; animation: heroFade 24s infinite; }
.hero-slide--0 { animation-delay: 0s; opacity: 1; }
.hero-slide--1 { animation-delay: 6s; }
.hero-slide--2 { animation-delay: 12s; }
.hero-slide--3 { animation-delay: 18s; }
.hero-slide-img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; border-radius: 0; }
@keyframes heroFade { 0% { opacity: 0; } 6% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
.hero-full::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(100deg, rgba(59,19,82,.92) 0%, rgba(59,19,82,.84) 50%, rgba(59,19,82,.4) 78%, rgba(59,19,82,.15) 100%);
}
.hero-full-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 40px; padding-top: 72px; padding-bottom: 0; min-height: inherit; }
.hero-full .hero-copy { padding-bottom: 72px; align-self: center; }
.hero-full h1 { color: #fff; margin-bottom: .35em; }
.hero-full p { font-size: 17px; max-width: 700px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 10px; }
.hero-full .link-arrow { color: #fff; }
.hero-full .link-arrow:hover { color: var(--green); }
.hero-full-mascot { justify-self: end; width: 80%; max-width: 300px; margin-bottom: -4px; filter: drop-shadow(0 18px 22px rgba(0,0,0,.35)); }
.hero-full-mascot img { border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .hero-slide { animation: none; } .hero-slide--0 { opacity: 1; } }

/* Photo strip (slow marquee) */
.strip { margin: 0; overflow: hidden; padding: 10px 0 40px; }
.strip-track { display: flex; gap: 14px; width: max-content; animation: strip 70s linear infinite; }
.strip-item { width: 260px; flex: none; }
.strip-item img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@keyframes strip { to { transform: translateX(-50%); } }
.strip:hover .strip-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
	.strip-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.strip-item { width: calc(25% - 14px); }
	html { scroll-behavior: auto; }
}

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefit { display: flex; flex-direction: column; align-items: flex-start; }
.benefit-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 20px; }
.benefit h3 { margin-bottom: .3em; }
.benefit p { flex: 1; }

/* ---------- Programmes ---------- */
.programmes { padding-top: 10px; }
.programmes-panel {
	display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: end;
	background: var(--purple-soft); border-radius: var(--r-panel); padding: 56px 64px 56px 48px;
}
.programmes-art { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.programmes-art img { width: 100%; max-width: 360px; border-radius: 0; margin-bottom: -56px; filter: drop-shadow(0 16px 20px rgba(104,36,139,.25)); }
.prog-list { margin: 8px 0 28px; }
.prog { border-top: 1px solid var(--line); }
.prog:last-child { border-bottom: 1px solid var(--line); }
.prog summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 14px; padding: 18px 44px 18px 0; position: relative; }
.prog summary::-webkit-details-marker { display: none; }
.prog summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-size: 34px; color: var(--orange); line-height: 1; transition: transform .2s; }
.prog[open] summary::after { content: "–"; }
.prog-name { font-family: var(--font-head); font-size: 30px; color: var(--purple); line-height: 1; }
.prog-age { font-weight: 600; color: var(--orange); font-size: 15px; }
.prog p { margin: 0 0 20px; max-width: 620px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.quote { margin: 0; background: var(--purple); color: #fff; border-radius: 24px; padding: 32px 30px 28px; position: relative; display: flex; flex-direction: column; }
.quote::before { content: "“"; font-family: var(--font-head); font-size: 90px; line-height: .6; color: var(--green); position: absolute; top: 26px; left: 24px; opacity: .9; }
.quote p { position: relative; padding-top: 26px; flex: 1; font-size: 15.5px; }
.quote footer { display: flex; align-items: baseline; gap: 10px; }
.quote footer strong { font-family: var(--font-head); font-size: 26px; font-weight: 400; color: var(--green); }
.quote footer span { font-size: 14px; opacity: .85; }
.quote:nth-child(2) { background: var(--orange); }
.quote:nth-child(2)::before, .quote:nth-child(2) footer strong { color: #fff; }
.img-wide { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.img-rounded { width: 100%; object-fit: cover; }

/* ---------- Home shop ---------- */
.home-shop { background: var(--purple-soft); }

/* ---------- Taster CTA (above footer) ---------- */
.taster { padding: 40px 0 0; }
.taster-inner {
	display: grid; grid-template-columns: 240px 1fr; align-items: end; gap: 32px;
	background: var(--orange); border-radius: var(--r-panel) var(--r-panel) 0 0; padding: 0 64px; color: #fff; overflow: hidden;
}
.taster-mascot { width: 100%; max-width: 230px; border-radius: 0; margin-top: 24px; margin-bottom: -6px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.2)); }
.taster-copy { padding: 48px 0 44px; }
.taster-copy h2 { color: #fff; margin-bottom: .2em; }
.taster-copy p { font-size: 18px; max-width: 560px; }
.taster .btn--orange { background: var(--purple); border-color: var(--purple); }
.taster .btn--orange:hover { background: var(--purple-deep); border-color: var(--purple-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-deep); color: #e9ddf2; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.3fr; gap: 40px; }
.footer-about img { width: 180px; border-radius: 0; margin-bottom: 18px; }
.footer-about p { font-size: 15px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #fff; }
.socials a:hover { background: var(--orange); color: #fff; }
.site-footer h4 { color: #fff; font-size: 26px; margin-bottom: .5em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: #e9ddf2; }
.site-footer a:hover { color: var(--green); }
.footer-kicker { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.footer-mailing-title { font-size: 32px !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; font-size: 14px; }
.footer-bottom p { margin: 0; }

/* Mailing list form inside footer (Contact Form 7 markup) */
.footer-mailing .wpcf7 p { margin: 0 0 8px; }
.footer-mailing .wpcf7 input:not([type="submit"]) { width: 100%; background: #fff; border: 0; border-radius: var(--r-ui); padding: 12px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink); }
.footer-mailing .wpcf7 input[type="submit"] { font-family: var(--font-head); font-size: 22px; background: var(--orange); color: #fff; border: 0; border-radius: var(--r-ui); padding: 11px 22px; cursor: pointer; }
.footer-mailing .wpcf7 input[type="submit"]:hover { background: var(--green); color: var(--ink); }
.footer-mailing .wpcf7 label { font-size: 14px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 64px 0 24px; }
.page-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero-copy p { font-size: 17px; }
.page-hero-copy .btn { margin-top: 8px; }
.page-hero-art--mascot { display: flex; justify-content: center; }
.page-hero-art--mascot img { max-height: 440px; width: auto; border-radius: 0; filter: drop-shadow(0 16px 20px rgba(104,36,139,.22)); }
.page-hero--short .page-hero-inner { grid-template-columns: 1.3fr .7fr; }
.page-hero--plain { padding: 64px 0 8px; text-align: left; }
.page-hero--plain h1 { max-width: 820px; }

.photo-stack { position: relative; display: block; padding-bottom: 20%; }
.photo-stack-main { width: 86%; aspect-ratio: 4 / 3; object-fit: cover; transform: rotate(-2deg); box-shadow: var(--shadow); }
.photo-stack-small { position: absolute; width: 48%; right: 0; bottom: 0; aspect-ratio: 4 / 3; object-fit: cover; transform: rotate(3deg); box-shadow: var(--shadow); border: 5px solid #fff; }

/* ---------- Panels ---------- */
.panel { position: relative; border-radius: var(--r-panel); padding: 56px 64px; }
.panel--purple { background: var(--purple); color: #fff; }
.panel--purple h2, .panel--purple h3 { color: #fff; }
.panel--mascot-left { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: end; }
.panel--mascot-right { display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: end; }
.panel--mascot-right .panel-mascot { order: 2; }
.panel-mascot { width: 100%; border-radius: 0; margin-bottom: -56px; align-self: end; filter: drop-shadow(0 16px 20px rgba(0,0,0,.25)); }
.panel-body { padding-bottom: 8px; }
.included { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.included li { position: relative; padding-left: 34px; font-size: 16px; }
.included li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: inset 0 0 0 4px var(--purple); }
.included strong { font-family: var(--font-head); font-weight: 400; font-size: 22px; color: var(--green); display: block; line-height: 1.1; margin-bottom: 2px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.col-panel { border-radius: 24px; padding: 40px 40px 32px; }
.col-panel--lilac { background: var(--purple-soft); }
.col-panel--purple { background: var(--purple); color: #fff; }
.col-panel--purple h3 { color: var(--green); }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 30px; font-size: 15.5px; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 15px; border-right: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(45deg); }
.col-panel--purple .tick-list li::before { border-color: var(--green); }

.closing { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; background: var(--purple-soft); border-radius: var(--r-panel); padding: 0 64px 0 32px; overflow: hidden; }
.closing-mascot { width: 100%; max-width: 280px; border-radius: 0; margin-top: 40px; margin-bottom: -4px; }
.closing-copy { padding: 48px 0; }
.closing-copy h3 { font-size: 28px; }
.closing-accent { color: var(--orange); }

/* ---------- Parties / franchising bits ---------- */
.themes-title { text-align: center; margin: 48px 0 24px; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.theme-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 18px; }
.theme h4 { color: var(--purple); font-size: 28px; margin-bottom: .2em; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trio-item { background: var(--purple-soft); border-radius: 24px; padding: 32px 30px; }
.trio-item h3 { font-size: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-photo img { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps li { background: var(--purple); color: #fff; border-radius: 20px; padding: 26px 22px 22px; }
.steps h3 { color: #fff; font-size: 24px; margin: 0; }
.step-n { display: inline-block; font-family: var(--font-head); font-size: 32px; line-height: 1; color: var(--green); margin-bottom: 10px; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-row img { aspect-ratio: 4 / 3; }
.video-card { position: relative; display: block; border-radius: var(--r-img); overflow: hidden; box-shadow: var(--shadow); }
.video-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.3); transition: transform .18s; }
.video-card:hover .play { transform: scale(1.08); background: var(--purple); }
.video-embed { aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r-img); }
.contact-lines a { font-weight: 600; font-size: 18px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-family: var(--font-head); font-size: 26px; color: var(--purple); position: relative; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 34px; color: var(--orange); line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq-answer { padding: 0 0 20px; max-width: 640px; }
.faq-answer ul { padding-left: 1.2em; }
.faq-ask { position: sticky; top: calc(var(--header-h) + 24px); background: var(--purple-soft); border-radius: 24px; padding: 36px 32px; }

/* ---------- Forms (Contact Form 7) ---------- */
.form-panel { background: var(--purple-soft); border-radius: var(--r-panel); padding: 56px 64px; }
.form-panel .section-head { margin-bottom: 28px; }
.form-wrap .wpcf7 p { margin: 0 0 14px; }
.form-wrap .wpcf7 label { font-weight: 600; font-size: 14px; color: var(--purple); display: block; }
.form-wrap .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.form-wrap .wpcf7 textarea,
.form-wrap .wpcf7 select {
	width: 100%; background: #fff; border: 2px solid transparent; border-radius: var(--r-ui);
	padding: 13px 16px; font-family: var(--font-body); font-size: 15px; color: var(--ink);
	transition: border-color .15s;
}
.form-wrap .wpcf7 input:focus, .form-wrap .wpcf7 textarea:focus, .form-wrap .wpcf7 select:focus { border-color: var(--purple); outline: none; }
.form-wrap .wpcf7 textarea { min-height: 150px; resize: vertical; }
.form-wrap .wpcf7 input[type="submit"], .form-wrap .wpcf7 button {
	font-family: var(--font-head); font-size: 24px; background: var(--orange); color: #fff; border: 0; border-radius: var(--r-ui);
	padding: 14px 30px; cursor: pointer; transition: background .18s;
}
.form-wrap .wpcf7 input[type="submit"]:hover { background: var(--purple); }
.form-wrap .wpcf7-acceptance label { display: flex; gap: 10px; font-weight: 400; color: var(--ink); align-items: flex-start; }
.form-wrap .wpcf7-not-valid-tip { color: #b3261e; font-size: 13px; margin-top: 4px; }
.form-wrap .wpcf7-response-output { border-radius: var(--r-ui) !important; margin: 16px 0 0 !important; padding: 12px 16px !important; border: 2px solid var(--purple) !important; color: var(--purple); }
.form-wrap .wpcf7-spinner { display: none; }
.form-wrap--two .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.form-wrap--two .wpcf7-form > p:has(textarea),
.form-wrap--two .wpcf7-form > p:has(input[type="submit"]),
.form-wrap--two .wpcf7-form > p:has(.wpcf7-acceptance),
.form-wrap--two .wpcf7-form > .wpcf7-response-output { grid-column: 1 / -1; }
.form-missing { padding: 20px; background: #fff; border-radius: var(--r-ui); }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.map-panel { border-radius: var(--r-panel); overflow: hidden; min-height: 420px; }
.map-panel iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Prose (policy pages, blog) ---------- */
.prose { max-width: 780px; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose h3 { font-size: 30px; }
.prose strong { color: var(--purple); }
.prose p + ul, .prose strong + ul { margin-top: -.6em; }
.prose img { margin: 1.5em 0; }
.post-thumb { margin-bottom: 36px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card-thumb img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 14px; }
.post-card h2 a { color: var(--purple); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--r-ui); background: var(--purple-soft); }
.pagination .current { background: var(--purple); color: #fff; }
.notfound { margin-top: 24px; display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; }
.notfound img { border-radius: 0; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; border: 2px solid var(--line); border-radius: var(--r-ui); padding: 12px 14px; font-family: var(--font-body); }

/* ---------- WooCommerce ---------- */
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--purple); }
.crumb-sep { margin: 0 8px; opacity: .5; }
.woocommerce-result-count, .woocommerce-ordering { font-size: 14px; }
.woocommerce .woocommerce-ordering select { border: 2px solid var(--line); border-radius: var(--r-ui); padding: 8px 12px; font-family: var(--font-body); }
.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top: 0 !important; border-radius: var(--r-ui); background: var(--purple-soft) !important; color: var(--ink);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--purple) !important; }

ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0 0 20px; }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; }
ul.products li.product a img { aspect-ratio: 1; object-fit: cover; width: 100%; margin: 0 0 14px !important; border-radius: var(--r-img); background: var(--purple-soft); }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-head); font-size: 26px !important; color: var(--purple); padding: 0 !important; line-height: 1.1; }
ul.products li.product .price { color: var(--ink) !important; font-weight: 600; font-size: 16px !important; margin-bottom: 12px; }
ul.products li.product .price del { opacity: .5; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .button { margin-top: auto !important; align-self: flex-start; }
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale { background: var(--green) !important; color: var(--ink) !important; border-radius: 999px; font-family: var(--font-head); font-size: 18px; min-height: 0; line-height: 1; padding: 8px 14px; top: 10px; left: 10px; right: auto; margin: 0; }

/* Woo buttons → brand buttons */
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button, .checkout-button, .single_add_to_cart_button {
	font-family: var(--font-head) !important; font-size: 20px !important; font-weight: 400 !important;
	background: var(--orange) !important; color: #fff !important; border-radius: var(--r-ui) !important; padding: 12px 22px !important;
	line-height: 1 !important; border: 0 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .single_add_to_cart_button:hover { background: var(--purple) !important; color: #fff !important; }
.woocommerce a.added_to_cart { display: block; margin-top: 10px; font-weight: 600; }

/* Single product */
.woocommerce div.product .product_title { font-size: clamp(36px, 4vw, 48px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink) !important; font-size: 24px !important; font-weight: 600; }
.woocommerce div.product div.images img { border-radius: var(--r-img); }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: var(--r-img); }
.woocommerce div.product form.cart .variations td.label { padding-right: 14px; }
.woocommerce div.product form.cart .variations select { border: 2px solid var(--line); border-radius: var(--r-ui); padding: 9px 12px; font-family: var(--font-body); min-width: 180px; }
.woocommerce .quantity .qty { border: 2px solid var(--line); border-radius: var(--r-ui); padding: 10px; font-family: var(--font-body); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 1em; display: flex; gap: 6px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--purple-soft); border: 0; border-radius: var(--r-ui); margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--purple); padding: 10px 18px; font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--purple); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 30px; }
.product-reassure { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.product-reassure li { background: var(--purple-soft); color: var(--purple); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.woocommerce .product_meta { font-size: 14px; color: var(--muted); margin-top: 20px; }
.woocommerce .related.products > h2, .woocommerce .up-sells > h2 { font-size: 36px; margin: 48px 0 24px; }

/* Cart / checkout / account */
.woocommerce table.shop_table { border: 0; border-radius: 0; }
.woocommerce table.shop_table th { font-family: var(--font-head); font-weight: 400; font-size: 22px; color: var(--purple); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top: 1px solid var(--line) !important; padding: 14px 10px; }
.woocommerce-cart table.cart img { width: 80px; border-radius: var(--r-img); }
.woocommerce .cart-collaterals .cart_totals { background: var(--purple-soft); border-radius: 24px; padding: 28px; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 30px; }
.woocommerce .cart-collaterals .cart_totals table th, .woocommerce .cart-collaterals .cart_totals table td { border: 0 !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single {
	border: 2px solid var(--line) !important; border-radius: var(--r-ui) !important; padding: 11px 14px !important; font-family: var(--font-body); height: auto !important; line-height: 1.4 !important;
}
.select2-container .select2-selection--single .select2-selection__arrow { top: 50% !important; transform: translateY(-50%); }
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; color: var(--purple); }
.woocommerce-checkout #payment { background: var(--purple-soft); border-radius: 24px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: var(--r-ui); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-checkout h3, .woocommerce-account h2, .woocommerce-account h3 { font-size: 30px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: var(--r-ui); background: var(--purple-soft); margin-bottom: 6px; font-weight: 600; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--purple); color: #fff; }
.woocommerce-form-login, .woocommerce-form-register { border: 0 !important; border-radius: 24px !important; background: var(--purple-soft); padding: 32px !important; }
.woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 20px; }

/* WooCommerce block-based cart/checkout */
.wc-block-components-button { font-size: 20px !important; }
.wc-block-cart .wc-block-components-sidebar, .wc-block-checkout .wc-block-components-sidebar { background: var(--purple-soft); border-radius: 24px; padding: 20px; }
.wc-block-components-product-name, .wc-block-components-title { font-family: var(--font-body); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hero-full-mascot { max-width: 260px; }
	.panel, .form-panel { padding: 44px 40px; }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.nav-list a { padding: 10px 9px; font-size: 14px; }
}

@media (max-width: 920px) {
	:root { --header-h: 76px; --r-panel: 28px; }
	.brand img { height: 56px; }
	.nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px var(--gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility 0s .25s; overflow-y: auto; z-index: 49; }
	.nav.is-open { transform: none; visibility: visible; transition: transform .25s; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { font-family: var(--font-head); font-size: 28px; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--purple); }
	.nav-list a:hover { background: none; color: var(--orange); }
	.nav-mobile-extra { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
	.nav-mobile-extra .btn { align-self: flex-start; }
	.nav-mobile-extra .socials a { background: var(--purple-soft); color: var(--purple); }
	.header-book { display: none; }
	.nav-toggle { display: flex; }
	body.nav-open { overflow: hidden; }
	.side-cta { display: none; }

	.hero-full { min-height: 0; }
	.hero-full-inner { grid-template-columns: 1fr; padding-top: 56px; gap: 0; }
	.hero-full .hero-copy { padding-bottom: 40px; }
	.hero-full-mascot { width: 34%; max-width: 150px; justify-self: end; margin-top: -32px; }
	.hero-full::before { background: linear-gradient(180deg, rgba(59,19,82,.78) 0%, rgba(59,19,82,.7) 60%, rgba(59,19,82,.45) 100%); }
	.strip-item { width: 190px; }

	.section { padding: 56px 0; }
	.benefits, .themes, .trio, .quotes, .two-col, .photo-row, .post-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
	ul.products { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.programmes-panel { grid-template-columns: 1fr; padding: 36px 28px; }
	.programmes-art img { max-width: 200px; margin-bottom: 0; }
	.page-hero-inner, .page-hero--short .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
	.page-hero-art--mascot img { max-height: 280px; }
	.panel--mascot-left, .panel--mascot-right { grid-template-columns: 1fr; gap: 24px; }
	.panel-mascot, .panel--mascot-right .panel-mascot { width: 160px; margin: 0 0 -44px; order: 2; }
	.closing { grid-template-columns: 1fr; padding: 32px 28px 0; }
	.closing-mascot { max-width: 180px; margin: 0; }
	.closing-copy { padding: 0 0 28px; }
	.faq-layout, .contact-layout, .split { grid-template-columns: 1fr; gap: 28px; }
	.faq-ask { position: static; }
	.taster-inner { grid-template-columns: 160px 1fr; padding: 0 28px; gap: 20px; }
	.footer-grid { gap: 32px; }
}

@media (max-width: 640px) {
	/* Mobile: everything left-aligned, never mixed. */
	.section-head, .themes-title, .page-hero--plain, .text-center { text-align: left; }
	.section-head { margin-left: 0; }
	.section-head .lead { margin-left: 0; }
	.section-head--row { flex-direction: column; align-items: flex-start; }
	h1 { font-size: 40px; }
	h2 { font-size: 34px; }
	.btn { font-size: 20px; padding: 12px 20px; }
	.btn--lg { font-size: 22px; padding: 14px 24px; }
	.hero-actions { gap: 16px; }
	.benefits, .themes, .trio, .quotes, .two-col, .photo-row, .post-grid, .steps { grid-template-columns: 1fr; }
	.panel, .form-panel { padding: 32px 22px; }
	.col-panel { padding: 28px 22px; }
	.form-wrap--two .wpcf7-form { grid-template-columns: 1fr; }
	.taster-inner { grid-template-columns: 1fr; padding: 0 22px; }
	.taster-mascot { max-width: 140px; margin: 24px 0 -6px; }
	.taster-copy { padding: 16px 0 36px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.notfound { grid-template-columns: 1fr; }
	.notfound img { width: 140px; }
	.img-wide { aspect-ratio: 4 / 3; }
	.prog summary { flex-direction: column; gap: 4px; }
	.map-panel { min-height: 320px; }
}
