/*
Theme Name: WowSkills
Theme URI: https://wowskills.ca/
Author: WowSkills
Description: Pastel sticker-book workshop theme for WowSkills, kids woodworking and 3D printing classes in Kitchener-Waterloo.
Version: 2.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wowskills
*/

/* ---------------------------------------------------------------------------
   Tokens and base
   --------------------------------------------------------------------------- */
:root {
	--ink: var(--wp--preset--color--ink, #2E2A4F);
	--ink-soft: var(--wp--preset--color--ink-soft, #555170);
	--cream: var(--wp--preset--color--cream, #FFF8EE);
	--paper: var(--wp--preset--color--paper, #FFFDF8);
	--butter: var(--wp--preset--color--butter, #FFE08A);
	--peach: var(--wp--preset--color--peach, #FFC9AE);
	--mint: var(--wp--preset--color--mint, #BDEBD3);
	--sky: var(--wp--preset--color--sky, #C2E0FF);
	--lilac: var(--wp--preset--color--lilac, #DDD0FF);
	--pink: var(--wp--preset--color--pink, #FFCFE1);
	--pine: var(--wp--preset--color--pine, #F1C98F);
	--coral: var(--wp--preset--color--coral, #FF8A65);
	--display: var(--wp--preset--font-family--display);
	--line: 3px solid var(--ink);
	--radius: 26px;
	--shadow: 6px 6px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: .7rem 1rem; background: var(--butter); color: var(--ink); border: var(--line); border-radius: 999px; font-weight: 800; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* Eyebrow labels and the display H1 */
.eyebrow { display: block; margin: 0 0 .6rem; font-family: var(--wp--preset--font-family--body); font-size: 15px; font-weight: 800; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; color: var(--ink-soft); }
h1 .eyebrow { font-size: 15px; }
h1 .display { display: block; font-family: var(--display); font-size: var(--wp--preset--font-size--xx-large); font-weight: 800; line-height: 1.04; }
.wow-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 40rem; }
.has-text-align-center.wow-lede, .wow-center .wow-lede { margin-inline: auto; }
.wow-center { text-align: center; }
.wow-center > * { margin-inline: auto; }
.wow-small { font-size: var(--wp--preset--font-size--small); color: var(--ink-soft); }
.wow-strong-line { font-weight: 800; font-size: 1.1rem; }

/* Sections */
.wow-section { padding-block: var(--wp--preset--spacing--60) !important; }
.wow-section--tight { padding-block: var(--wp--preset--spacing--50) !important; }
.wow-section > .wp-block-heading:first-child, .wow-section .wow-section-head { margin-bottom: var(--wp--preset--spacing--40); }
.wow-section-head > * { max-width: 760px; }
.wow-section-head.wow-center > * { margin-left: auto; margin-right: auto; }
.wow-faq-teaser > .wp-block-details { max-width: 900px; }
.wow-section:not(.wow-center) > .wow-lede { margin-left: max(0px, calc((100% - 1200px) / 2)) !important; }
.wow-hero:not(.wow-center) .wp-block-column .wow-lede { margin-left: 0 !important; }
.wow-cta-band .wp-block-buttons, .wow-center > .wp-block-buttons { justify-content: center; }
.wow-sessions [data-wow-group] + [data-wow-group] { margin-top: 1.8rem; }
.wow-footer .wow-form { gap: .6rem; }
.wow-grid > *, .wow-steps > *, .wow-session-list > * { margin: 0 !important; }
.wow-section-head > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   Buttons (sticker press)
   --------------------------------------------------------------------------- */
.wp-element-button, .wp-block-button__link, .wow-btn,
.wc-block-components-button:not(.is-link), .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
	min-height: 48px;
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	border: var(--line) !important;
	border-radius: 999px !important;
	background: var(--ink); color: var(--cream) !important;
	font-family: var(--wp--preset--font-family--body); font-weight: 800; font-size: 1.05rem; line-height: 1.2;
	padding: .7rem 1.4rem;
	text-decoration: none !important;
	box-shadow: 4px 4px 0 var(--coral);
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
	cursor: pointer;
	white-space: nowrap;
}
.wp-element-button:hover, .wp-block-button__link:hover, .wow-btn:hover,
.wc-block-components-button:not(.is-link):hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--coral); }
.wp-element-button:active, .wp-block-button__link:active, .wow-btn:active,
.wc-block-components-button:not(.is-link):active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--coral); }
.is-style-secondary .wp-block-button__link, .wow-btn--secondary {
	background: var(--butter) !important; color: var(--ink) !important; box-shadow: 4px 4px 0 var(--ink);
}
.is-style-secondary .wp-block-button__link:hover, .wow-btn--secondary:hover { box-shadow: 6px 6px 0 var(--ink); }
.is-style-secondary .wp-block-button__link:active, .wow-btn--secondary:active { box-shadow: 2px 2px 0 var(--ink); }
.wow-btn--small { min-height: 44px; padding: .5rem 1.05rem; font-size: .98rem; }
.wow-btn--ghost { background: var(--paper) !important; color: var(--ink) !important; box-shadow: 4px 4px 0 var(--ink); }
.wow-btn[aria-disabled="true"], .wow-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.wp-block-buttons { gap: 1rem 1.1rem; }

/* ---------------------------------------------------------------------------
   Cards, chips, stickers
   --------------------------------------------------------------------------- */
.wow-card {
	position: relative;
	background: var(--paper);
	border: var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 16px 16px 20px;
	height: 100%;
}
.wow-card > :last-child { margin-bottom: 0; }
.wow-card__media { margin: 0 0 14px; border-radius: 18px; background: var(--peach); padding: 12px; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; }
.wow-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.wow-card h3, .wow-card .wow-card__title { margin: 0 0 .4rem; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.wow-card p { margin: .35rem 0; }
.wow-card a.wow-card__link { text-decoration: none; color: inherit; }
.wow-card a.wow-card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.wow-card a.wow-card__link:focus-visible::after { outline: 3px solid var(--coral); outline-offset: 4px; }
.wow-tint-butter { background: var(--butter); } .wow-tint-peach { background: var(--peach); } .wow-tint-mint { background: var(--mint); }
.wow-tint-sky { background: var(--sky); } .wow-tint-lilac { background: var(--lilac); } .wow-tint-pink { background: var(--pink); } .wow-tint-pine { background: var(--pine); }

@media (min-width: 782px) {
	.wow-tilt > :nth-child(3n+1) .wow-card, .wow-tilt > .wow-card:nth-child(3n+1) { transform: rotate(-1.5deg); }
	.wow-tilt > :nth-child(3n+2) .wow-card, .wow-tilt > .wow-card:nth-child(3n+2) { transform: rotate(1.2deg); }
	.wow-tilt > :nth-child(3n) .wow-card, .wow-tilt > .wow-card:nth-child(3n) { transform: rotate(-.6deg); }
}

.wow-grid { display: grid; gap: clamp(20px, 3vw, 34px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none; margin: 0; padding: 0; }
.wow-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.wow-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.wow-grid--5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.wow-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: .5rem 0; padding: 0; list-style: none; }
.wow-chip { display: inline-flex; align-items: center; gap: .3em; padding: .22rem .75rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.wow-chip--butter { background: var(--butter); } .wow-chip--pine { background: var(--pine); } .wow-chip--sky { background: var(--sky); }
.wow-chip--lilac { background: var(--lilac); } .wow-chip--mint { background: var(--mint); } .wow-chip--pink { background: var(--pink); } .wow-chip--peach { background: var(--peach); }

.wow-stickers { display: flex; flex-wrap: wrap; gap: 16px 18px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.wow-sticker { display: inline-block; padding: .55rem 1.1rem .45rem; border: var(--line); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.15; background: var(--butter); transform: rotate(var(--r, -2deg)); }
.wow-sticker:nth-child(6n+1) { --r: -4deg; background: var(--butter); }
.wow-sticker:nth-child(6n+2) { --r: 3deg; background: var(--pink); }
.wow-sticker:nth-child(6n+3) { --r: -1.5deg; background: var(--sky); }
.wow-sticker:nth-child(6n+4) { --r: 2.5deg; background: var(--mint); }
.wow-sticker:nth-child(6n+5) { --r: -3deg; background: var(--lilac); }
.wow-sticker:nth-child(6n+6) { --r: 4deg; background: var(--peach); }

/* Measuring-tape divider (core/separator, "Tape" style) */
.wp-block-separator.is-style-tape {
	height: 30px !important; width: 100% !important; max-width: none !important; margin: 0 !important;
	border: 0 !important; border-block: 3px solid var(--ink) !important; opacity: 1 !important;
	background-color: var(--pine) !important;
	background-image:
		repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 48px),
		repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 24px),
		repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 12px) !important;
	background-size: 100% 14px, 100% 9px, 100% 5px !important;
	background-repeat: no-repeat !important;
	background-position: 0 0, 0 0, 0 0 !important;
}

/* Boxes and admin notes */
.wow-box { border: var(--line); border-radius: 22px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); padding: clamp(18px, 3vw, 28px); }
.wow-box > :first-child { margin-top: 0; } .wow-box > :last-child { margin-bottom: 0; }
.wow-box h2, .wow-box h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.wow-admin-note { margin: 1rem 0; padding: .9rem 1.1rem; border: 3px dashed #8a6d00; border-radius: 14px; background: #FFF3BF; color: #3d3000; font-size: 15px; font-weight: 600; }
.wow-admin-note::before { content: "Admin only · "; font-weight: 800; }

/* Lists with check marks */
.wow-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.wow-checks li { position: relative; padding-left: 2rem; }
.wow-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%232E2A4F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 90% no-repeat; }
.wow-two-col { columns: 2 300px; column-gap: 2.5rem; }
.wow-two-col li { break-inside: avoid; margin-bottom: .55rem; }

/* Steps */
.wow-steps { counter-reset: step; display: grid; gap: clamp(18px, 3vw, 30px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; padding: 0; margin: 0; }
.wow-step { position: relative; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 22px; }
.wow-step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 16px; width: 42px; height: 42px; display: grid; place-items: center; border: var(--line); border-radius: 50%; background: var(--butter); font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.wow-step img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: contain; border-radius: 16px; background: var(--sky); margin-bottom: 12px; }
.wow-step h2, .wow-step h3 { font-size: 1.3rem; margin: .2rem 0 .35rem; }
.wow-step p { margin: 0; }

/* Tiles (why parents choose, values) */
.wow-tile { background: var(--paper); border: var(--line); border-radius: 22px; box-shadow: 4px 4px 0 var(--ink); padding: 16px 16px 18px; height: 100%; }
.wow-tile img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: contain; border-radius: 14px; margin-bottom: 10px; }
.wow-tile h3 { font-size: 1.25rem; margin: 0 0 .3rem; }
.wow-tile p { margin: 0; font-size: 1rem; }

/* ---------------------------------------------------------------------------
   Header, announcement bar, footer, sticky bar
   --------------------------------------------------------------------------- */
.wow-announce { background: var(--ink); color: var(--cream); text-align: center; font-size: 15px; font-weight: 600; padding: .55rem 16px; }
.wow-announce p { margin: 0; }
.wow-announce strong { color: var(--butter); }
.wow-announce a { color: var(--cream); font-weight: 800; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wow-announce[hidden] { display: none !important; }

.wow-header { position: relative; z-index: 50; background: var(--cream); border-bottom: 3px solid var(--ink); }
.wow-header__row { gap: 12px 20px; padding-block: 12px; }
.wow-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--ink) !important; flex: none; }
.wow-logo svg { width: 52px; height: 52px; flex: none; }
.wow-wordmark { font-family: var(--display); font-weight: 900; font-size: 1.95rem; line-height: 1; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: .08em; }
.wow-wordmark__wow { color: var(--ink); text-shadow: 2px 2px 0 var(--coral); }
.wow-wordmark__skills { display: inline-block; background: var(--butter); color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; padding: .04em .22em .1em; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-3deg); }
.wow-nav .wp-block-navigation-item__content { font-weight: 800; text-decoration: none; padding: .35rem .15rem; }
.wow-nav .wp-block-navigation-item__content:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--coral); text-underline-offset: 6px; }
.wow-nav .wp-block-navigation__submenu-container { border: var(--line) !important; border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); background: var(--paper) !important; padding: 8px !important; min-width: 220px !important; }
.wow-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .45rem .7rem !important; border-radius: 10px; }
.wow-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--cream) !important; padding: 24px 20px !important; }
.wow-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1.1rem; font-size: 1.3rem; }
.wow-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: .4rem 0 0 1rem !important; background: transparent !important; }
.wow-nav .wp-block-navigation__responsive-container-open, .wow-nav .wp-block-navigation__responsive-container-close { width: 48px; height: 48px; align-items: center; justify-content: center; border: var(--line); border-radius: 14px; background: var(--butter); }
.wow-nav .wp-block-navigation__responsive-container-close { position: static; margin-left: auto; }
.wow-header-enroll .wp-block-button__link { white-space: nowrap; }
@media (max-width: 599px) {
	.wow-header-enroll { display: none !important; }
	.wow-wordmark { font-size: 1.6rem; }
	.wow-logo svg { width: 44px; height: 44px; }
}

.wow-footer { margin-top: 0; background: var(--ink); color: var(--cream); padding-block: var(--wp--preset--spacing--50) 7rem !important; }
@media (min-width: 782px) { .wow-footer { padding-bottom: var(--wp--preset--spacing--40) !important; } }
.wow-footer a { color: var(--cream); }
.wow-footer .wow-wordmark__wow { color: var(--cream); }
.wow-footer .wow-wordmark__skills { box-shadow: 3px 3px 0 var(--coral); }
.wow-footer h2 { color: var(--butter); font-size: 1.35rem; margin: 0 0 .6rem; }
.wow-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.wow-footer .wow-small { color: #E6E1FF; }
.wow-footer .wow-form input[type="email"] { background: var(--paper); }
.wow-footer .wow-form label { color: var(--cream); }
.wow-footer .wow-form .wow-btn { background: var(--butter); color: var(--ink) !important; box-shadow: 4px 4px 0 var(--coral); }
.wow-footer-bottom { border-top: 2px solid rgba(255, 248, 238, .25); padding-top: 1rem; margin-top: 2rem; font-size: 15px; }

.wow-sticky { display: none; }
@media (max-width: 781px) {
	.wow-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: block; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 248, 238, .96); border-top: 3px solid var(--ink); }
	.wow-sticky .wow-btn { width: 100%; }
	body.wow-no-sticky .wow-sticky, body.woocommerce-cart .wow-sticky, body.woocommerce-checkout .wow-sticky { display: none; }
}

/* Breadcrumbs (Rank Math) */
.wow-crumbs { font-size: 15px; color: var(--ink-soft); padding-top: 1rem; }
.wow-crumbs .rank-math-breadcrumb p { margin: 0; }
.wow-crumbs a { color: var(--ink-soft); }

/* ---------------------------------------------------------------------------
   Home hero and build scene
   --------------------------------------------------------------------------- */
.wow-hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 6vw, 5rem) !important; }
.wow-hero .wp-block-columns { align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 782px) { .wow-hero .wp-block-column:first-child { flex: 1 1 58% !important; } .wow-hero .wp-block-column:last-child { flex: 1 1 42% !important; } }
.wow-hero h1 { margin: 0 0 1rem; }
.wow-hero .wow-chips { margin-top: 1.4rem; }
.wow-scene { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.wow-scene svg { display: block; width: 100%; height: auto; overflow: visible; }

/* staggered page-load reveal */
@keyframes wow-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wow-stagger > * , .wow-stagger .wow-word { animation: wow-rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.wow-stagger .eyebrow { animation-delay: 0ms; }
.wow-stagger .wow-word { display: inline-block; }
.wow-stagger .wow-word:nth-child(1) { animation-delay: 70ms; } .wow-stagger .wow-word:nth-child(2) { animation-delay: 140ms; }
.wow-stagger .wow-word:nth-child(3) { animation-delay: 210ms; } .wow-stagger .wow-word:nth-child(4) { animation-delay: 280ms; }
.wow-stagger .wow-word:nth-child(5) { animation-delay: 350ms; } .wow-stagger .wow-word:nth-child(6) { animation-delay: 420ms; }
.wow-stagger .wow-word:nth-child(7) { animation-delay: 490ms; } .wow-stagger .wow-word:nth-child(8) { animation-delay: 560ms; }
.wow-stagger h1 { animation: none; }
.wow-stagger .wow-lede { animation-delay: 620ms; }
.wow-stagger .wp-block-buttons { animation-delay: 690ms; }
.wow-stagger .wow-chips { animation-delay: 760ms; }

/* build scene: 9s loop */
.ws-block { animation: ws-drop 9s cubic-bezier(.3, 1.4, .5, 1) infinite; transform-box: fill-box; transform-origin: center bottom; }
.ws-axle-f { animation: ws-axle-f 9s ease-out infinite; }
.ws-axle-b { animation: ws-axle-b 9s ease-out infinite; }
.ws-wheel { animation: ws-print 9s infinite; }
.ws-wheel-b { animation-name: ws-print-b; }
.ws-nozzle { animation: ws-nozzle 9s linear infinite; }
.ws-nozzle-head { animation: ws-sweep .5s ease-in-out infinite alternate; }
.ws-car { animation: ws-roll 9s ease-in-out infinite; }
.ws-spin { animation: ws-spin 9s linear infinite; transform-box: fill-box; transform-origin: center; }
.ws-float { animation: ws-bob 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ws-float:nth-of-type(2) { animation-delay: -1.1s; }
.ws-float:nth-of-type(3) { animation-delay: -2.2s; }
@keyframes ws-drop { 0% { transform: translateY(-140px); opacity: 0; } 4% { opacity: 1; } 10% { transform: translateY(0); } 13% { transform: translateY(-10px); } 16%, 100% { transform: translateY(0); } }
@keyframes ws-axle-f { 0%, 16% { transform: translateX(-220px); opacity: 0; } 17% { opacity: 1; } 24%, 100% { transform: translateX(0); opacity: 1; } }
@keyframes ws-axle-b { 0%, 20% { transform: translateX(-220px); opacity: 0; } 21% { opacity: 1; } 28%, 100% { transform: translateX(0); opacity: 1; } }
@keyframes ws-print { 0%, 30% { clip-path: inset(100% 0 0 0); } 30% { animation-timing-function: steps(6, end); } 44%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes ws-print-b { 0%, 44% { clip-path: inset(100% 0 0 0); } 44% { animation-timing-function: steps(6, end); } 58%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes ws-nozzle { 0%, 28% { transform: translate(0, -60px); opacity: 0; } 30% { transform: translate(0, 0); opacity: 1; } 44% { transform: translate(0, 0); } 45% { transform: translate(-90px, 0); } 58% { transform: translate(-90px, 0); opacity: 1; } 62%, 100% { transform: translate(-90px, -70px); opacity: 0; } }
@keyframes ws-sweep { from { transform: translateX(-18px); } to { transform: translateX(18px); } }
@keyframes ws-roll { 0%, 62% { transform: translateX(0); } 76% { transform: translateX(150px); } 80% { transform: translateX(150px); } 94%, 100% { transform: translateX(0); } }
@keyframes ws-spin { 0%, 62% { transform: rotate(0); } 76% { transform: rotate(540deg); } 80% { transform: rotate(540deg); } 94%, 100% { transform: rotate(0); } }
@keyframes ws-bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }

/* ---------------------------------------------------------------------------
   Formats, projects grid, reveal, wiggle
   --------------------------------------------------------------------------- */
.wow-format { padding: clamp(20px, 3vw, 30px); }
.wow-format--wood { background: var(--butter); }
.wow-format--3d { background: var(--sky); }
.wow-format h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .3rem; }
.wow-format .wow-format__facts { font-weight: 800; margin: 0 0 .6rem; }
.wow-thumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 1rem 0 1.2rem; padding: 0; }
.wow-thumbs li { width: 76px; height: 76px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); padding: 6px; display: grid; place-items: center; }
.wow-thumbs img { width: 100%; height: 100%; object-fit: contain; }

html.wow-js .wow-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--wow-delay, 0ms); }
html.wow-js .wow-reveal.is-in { opacity: 1; transform: none; }
@media (min-width: 782px) {
	html.wow-js .wow-tilt > .wow-reveal.is-in:nth-child(3n+1) .wow-card { transform: rotate(-1.5deg); }
}
.wow-project .wow-card { transition: transform .3s ease, box-shadow .3s ease; }
.wow-project .wow-card:hover, .wow-project .wow-card:focus-within { box-shadow: 9px 9px 0 var(--ink); }
.wow-project .wow-card:hover .wow-card__media img, .wow-project .wow-card:focus-within .wow-card__media img, .wow-project.is-wiggle .wow-card__media img { animation: wow-wiggle .7s ease-in-out; transform: translateY(-6px) scale(1.03); }
@keyframes wow-wiggle { 0% { transform: rotate(0) translateY(0); } 25% { transform: rotate(-3deg) translateY(-6px); } 50% { transform: rotate(3deg) translateY(-6px); } 75% { transform: rotate(-2deg) translateY(-6px); } 100% { transform: rotate(0) translateY(-6px) scale(1.03); } }

html.wow-js .wow-stickers .wow-sticker { opacity: 0; transform: scale(1.3) rotate(calc(var(--r) - 8deg)); }
html.wow-js .wow-stickers.is-in .wow-sticker { animation: wow-stamp .45s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes wow-stamp { from { opacity: 0; transform: scale(1.3) rotate(calc(var(--r) - 8deg)); } to { opacity: 1; transform: scale(1) rotate(var(--r)); } }

/* ---------------------------------------------------------------------------
   4-week road
   --------------------------------------------------------------------------- */
.wow-road { --p: 0; position: relative; margin-top: 1rem; }
.wow-road__track { position: relative; height: 70px; margin: 0 6% 18px; }
.wow-road__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 5px dashed var(--ink); transform: translateY(-50%); }
.wow-road__car { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 84px; transform: translate(-50%, -62%); transition: left .12s linear; }
.wow-road__car svg { display: block; width: 100%; }
.wow-road__stops { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.wow-road__stop { position: relative; background: var(--paper); border: var(--line); border-radius: 22px; box-shadow: 4px 4px 0 var(--ink); padding: 16px 16px 18px; transition: background-color .4s ease, transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.wow-road__stop::before { content: ""; position: absolute; top: -32px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border: var(--line); border-radius: 50%; background: var(--paper); transition: background-color .4s ease; }
.wow-road__stop.is-on { transform: translateY(-4px); }
.wow-road__stop.is-on:nth-child(1), .wow-road__stop.is-on:nth-child(1)::before { background: var(--butter); }
.wow-road__stop.is-on:nth-child(2), .wow-road__stop.is-on:nth-child(2)::before { background: var(--pine); }
.wow-road__stop.is-on:nth-child(3), .wow-road__stop.is-on:nth-child(3)::before { background: var(--sky); }
.wow-road__stop.is-on:nth-child(4), .wow-road__stop.is-on:nth-child(4)::before { background: var(--lilac); }
.wow-road__week { display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.wow-road__stop h3 { font-size: 1.35rem; margin: .2rem 0 .35rem; }
.wow-road__stop p { margin: 0; font-size: 1rem; }
.wow-road__stop .wow-printer { width: 120px; margin: .6rem auto 0; }
html:not(.wow-js) .wow-road__stop { background: var(--paper); }
@media (max-width: 781px) {
	.wow-road { display: grid; grid-template-columns: 54px 1fr; gap: 0 14px; }
	.wow-road__track { height: auto; margin: 0; }
	.wow-road__track::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 5px dashed var(--ink); transform: translateX(-50%); }
	.wow-road__car { left: 50%; top: calc(var(--p) * 100%); width: 54px; transform: translate(-50%, -50%) rotate(90deg); transition: top .12s linear; }
	.wow-road__stops { grid-template-columns: 1fr; gap: 22px; }
	.wow-road__stop::before { top: 50%; left: -45px; margin: -11px 0 0; }
}

/* 3D printer mini animation */
.wow-printer svg { display: block; width: 100%; height: auto; }
.wp-nozzle { animation: wp-nozzle 1.1s ease-in-out infinite alternate; }
.wp-star { animation: wp-grow 5s steps(1, end) infinite; }
@keyframes wp-nozzle { from { transform: translateX(-22px); } to { transform: translateX(22px); } }
@keyframes wp-grow {
	0% { clip-path: inset(100% 0 0 0); } 12% { clip-path: inset(84% 0 0 0); } 24% { clip-path: inset(68% 0 0 0); } 36% { clip-path: inset(52% 0 0 0); }
	48% { clip-path: inset(36% 0 0 0); } 60% { clip-path: inset(20% 0 0 0); } 72% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); }
}
.wp-head { animation: wp-rise 5s steps(1, end) infinite; }
@keyframes wp-rise { 0% { transform: translateY(0); } 12% { transform: translateY(-5px); } 24% { transform: translateY(-10px); } 36% { transform: translateY(-15px); } 48% { transform: translateY(-20px); } 60% { transform: translateY(-25px); } 72%, 100% { transform: translateY(-30px); } }

/* ---------------------------------------------------------------------------
   Sessions list, class cards, class page
   --------------------------------------------------------------------------- */
.wow-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.wow-filter { min-height: 44px; padding: .4rem 1rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.wow-filter[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.wow-sessions h3.wow-month { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.wow-sessions h3.wow-month:first-child { margin-top: 0; }
.wow-session-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.wow-session { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px 18px; align-items: center; background: var(--paper); border: var(--line); border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); padding: 12px 16px; }
.wow-session[hidden] { display: none; }
.wow-session__img { width: 84px; height: 84px; border-radius: 14px; padding: 6px; display: grid; place-items: center; }
.wow-session__img img { width: 100%; height: 100%; object-fit: contain; }
.wow-session--2-week .wow-session__img { background: var(--butter); }
.wow-session--4-week .wow-session__img { background: var(--sky); }
.wow-session h4 { margin: 0; font-size: 1.3rem; }
.wow-session h4 a { text-decoration: none; }
.wow-session h4 a:hover { text-decoration: underline; }
.wow-session__meta { margin: .2rem 0 0; font-size: 1rem; }
.wow-session__seats { font-weight: 800; }
.wow-session__seats.is-low { color: #A1361A; }
.wow-session__seats.is-full { color: #A1361A; }
.wow-session__cta { text-align: right; }
.wow-session__price { display: block; font-weight: 800; margin-bottom: .4rem; font-size: 1rem; }
.wow-featured { background: var(--pink); border: var(--line); border-radius: 24px; padding: clamp(16px, 2.5vw, 24px); margin-bottom: 2rem; }
.wow-featured > h3 { margin-top: 0; }
.wow-empty { padding: 1.5rem; border: 3px dashed var(--ink); border-radius: 20px; background: var(--paper); }
@media (max-width: 680px) {
	.wow-session { grid-template-columns: 64px minmax(0, 1fr); }
	.wow-session__img { width: 64px; height: 64px; }
	.wow-session__cta { grid-column: 1 / -1; text-align: left; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
	.wow-session__cta .wow-btn { flex: 1 1 auto; }
	.wow-session__price { margin: 0; }
}

.wow-class { padding-block: clamp(1.5rem, 4vw, 3rem) var(--wp--preset--spacing--50); }
.wow-class__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.wow-class__media { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(16px, 3vw, 34px); display: grid; place-items: center; }
.wow-class__media img { width: 100%; height: auto; }
.wow-class h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 .6rem; }
.wow-price { font-size: 1.3rem; margin: .6rem 0; }
.wow-price strong { font-family: var(--display); font-size: 1.9rem; }
.wow-book { margin: 1.4rem 0; display: grid; gap: .8rem; }
.wow-book label { font-weight: 800; }
.wow-book select, .wow-form input, .wow-form select, .wow-form textarea {
	width: 100%; min-height: 48px; padding: .6rem .9rem; border: var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem;
}
.wow-book__row { display: flex; align-items: center; gap: .8rem; }
.wow-book__row label { display: flex; align-items: center; gap: .6rem; }
.wow-book__row select { width: auto; min-width: 84px; }
.wow-class__body > * { align-self: start; }
.wow-class__body { margin-top: var(--wp--preset--spacing--50); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.wow-weeks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.wow-weeks li { border: 2px solid var(--ink); border-radius: 16px; background: var(--paper); padding: 12px 14px; }
.wow-weeks b { display: block; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 781px) { .wow-class__top { grid-template-columns: 1fr; } }

/* Compare table */
.wow-compare table { border-collapse: separate; border-spacing: 0; width: 100%; background: var(--paper); border: var(--line); border-radius: 20px; overflow: hidden; box-shadow: 4px 4px 0 var(--ink); }
.wow-compare th, .wow-compare td { padding: .8rem 1rem; border: 0; border-bottom: 2px solid #E8DFCF; text-align: left; vertical-align: top; }
.wow-compare tr:last-child td { border-bottom: 0; }
.wow-compare thead th { background: var(--ink); color: var(--cream); font-weight: 800; }
.wow-compare td:first-child { font-weight: 800; }
.wow-compare td:nth-child(2) { background: #FFF6D9; }
.wow-compare td:nth-child(3) { background: #EAF4FF; }

/* Forms */
.wow-form { display: grid; gap: 1rem; }
.wow-form .wow-form__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.wow-form label { display: grid; gap: .3rem; font-weight: 800; font-size: 1rem; }
.wow-form label small { font-weight: 500; color: var(--ink-soft); }
.wow-form textarea { min-height: 120px; resize: vertical; }
.wow-form fieldset { border: 2px solid var(--ink); border-radius: 14px; padding: .8rem 1rem; margin: 0; }
.wow-form legend { font-weight: 800; padding: 0 .3rem; }
.wow-form .wow-check { display: flex; align-items: center; gap: .55rem; font-weight: 600; }
.wow-form .wow-check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--ink); }
.wow-form .wow-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wow-form--inline { gap: .8rem; }
.wow-form-done { padding: 1.2rem 1.4rem; border: var(--line); border-radius: 18px; background: var(--mint); font-weight: 700; }
.wow-form-error { padding: .9rem 1.1rem; border: var(--line); border-radius: 14px; background: var(--peach); font-weight: 700; }
.wow-form-wrap { scroll-margin-top: 24px; }

/* Details / FAQ */
.wp-block-details { background: var(--paper); border: var(--line); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); padding: 0; margin-bottom: 14px; }
.wp-block-details summary { list-style: none; cursor: pointer; padding: 1rem 3.2rem 1rem 1.2rem; font-weight: 800; font-size: 1.1rem; position: relative; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--butter); font-family: var(--display); font-size: 1.3rem; line-height: 1; }
.wp-block-details[open] summary::after { content: "–"; background: var(--mint); }
.wp-block-details > :not(summary) { margin: 0 1.2rem 1rem; }
.wow-faq-group { margin-top: var(--wp--preset--spacing--50); }

/* Timeline */
.wow-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wow-timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 10px 14px; }
.wow-timeline b { font-family: var(--display); font-size: 1.3rem; }

/* Safety poster */
.wow-poster { background: var(--butter); border: var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(20px, 4vw, 40px); }
.wow-poster ol { margin: 0; padding-left: 1.6rem; display: grid; gap: .6rem; font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 700; }
.wow-poster ol li::marker { font-family: var(--display); font-weight: 800; }

/* Map */
.wow-map iframe { display: block; width: 100%; height: 380px; border: var(--line); border-radius: 22px; box-shadow: var(--shadow); }

/* Blog */
.wow-post-card { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: 100%; }
.wow-post-card .wp-block-post-featured-image { margin: 0; border-bottom: var(--line); }
.wow-post-card .wp-block-post-featured-image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.wow-post-card__body { padding: 14px 18px 20px; }
.wow-post-card .wp-block-post-title { font-size: 1.35rem; margin: 0 0 .4rem; }
.wow-post-card .wp-block-post-title a { text-decoration: none; }
.wow-post-card .wp-block-post-title a:hover { text-decoration: underline; }
.wow-post-card .wp-block-post-excerpt__excerpt { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.wow-article .wp-block-post-featured-image img { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.wow-article .wp-block-post-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 2.2rem; }
.wow-article .wp-block-post-content figure.wp-block-image img { border-radius: 20px; background: var(--sky); border: 2px solid var(--ink); }
.wow-cta-box { background: var(--butter); border: var(--line); border-radius: 22px; box-shadow: 4px 4px 0 var(--ink); padding: 20px 22px; margin-top: 2.4rem; }
.wow-cta-box > :first-child { margin-top: 0; }

/* CTA band */
.wow-cta-band { background: var(--butter); border-block: 3px solid var(--ink); }
.wow-cta-band h2 { margin: 0 0 .5rem; }

/* WooCommerce touches */
.wc-block-components-notice-banner { border-radius: 14px; border: 2px solid var(--ink); }
.woocommerce-checkout .wp-block-woocommerce-checkout, .woocommerce-cart .wp-block-woocommerce-cart { padding-block: 1rem 3rem; }
.wow-deposit-lines { font-size: 15px; }

/* ---------------------------------------------------------------------------
   Reduced motion: everything static and readable
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	html.wow-js .wow-reveal, html.wow-js .wow-stickers .wow-sticker { opacity: 1 !important; transform: none !important; }
	html.wow-js .wow-stickers .wow-sticker { transform: rotate(var(--r)) !important; }
	.ws-wheel, .ws-wheel-b, .wp-star { clip-path: none !important; }
	.ws-nozzle { opacity: 0 !important; }
}

/* ---------------------------------------------------------------------------
   Weekend booking picker: one card per age group
   --------------------------------------------------------------------------- */
.wow-booker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 0 0 1.2rem; }
.wow-booker__card { padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; }
.wow-booker__card--butter { background: linear-gradient(var(--butter), var(--butter)) top / 100% 12px no-repeat, var(--paper); }
.wow-booker__card--sky { background: linear-gradient(var(--sky), var(--sky)) top / 100% 12px no-repeat, var(--paper); }
.wow-booker__card h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: .4rem 0 .1rem; }
.wow-booker__card h3 a { text-decoration: none; }
.wow-booker__tagline { font-weight: 700; margin: 0 0 .8rem; color: var(--ink-soft); }
.wow-booker__learn-title { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin: .4rem 0 .3rem; }
.wow-booker__card .wow-checks { margin-top: 0; }
.wow-booker__price { margin: .6rem 0 0; }
.wow-booker__card .wow-book { margin-top: auto; padding-top: 1rem; }
@media (max-width: 781px) {
	.wow-booker { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* Room for the numbered badges under the hero text */
.wow-hero .wow-steps { margin-top: 2.2rem !important; }

/* Coming-soon class card */
.wow-coming-soon { padding: clamp(20px, 3vw, 30px); margin-top: 28px !important; background: repeating-linear-gradient(-45deg, var(--paper), var(--paper) 18px, var(--lilac) 18px, var(--lilac) 20px); }
.wow-coming-soon h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .3rem 0 .4rem; }
