/*
Theme Name: Aloura
Template: twentytwentyfive
Description: A warm, playful child theme for Aloura's babysitting & pet sitting site.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: alora
*/

:root {
	--alora-ink: var(--wp--preset--color--contrast);
	--alora-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C120 2 240 2 360 18s240 22 360 6S900 0 1000 14v26Z'/%3E%3C/svg%3E");
	--alora-paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%23FF8A7A'%3E%3Cellipse cx='50' cy='64' rx='19' ry='16'/%3E%3Cellipse cx='26' cy='44' rx='9' ry='11' transform='rotate(-20 26 44)'/%3E%3Cellipse cx='42' cy='28' rx='9' ry='12'/%3E%3Cellipse cx='58' cy='28' rx='9' ry='12'/%3E%3Cellipse cx='74' cy='44' rx='9' ry='11' transform='rotate(20 74 44)'/%3E%3C/svg%3E");
	--alora-paw-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%23fff'%3E%3Cellipse cx='50' cy='64' rx='19' ry='16'/%3E%3Cellipse cx='26' cy='44' rx='9' ry='11' transform='rotate(-20 26 44)'/%3E%3Cellipse cx='42' cy='28' rx='9' ry='12'/%3E%3Cellipse cx='58' cy='28' rx='9' ry='12'/%3E%3Cellipse cx='74' cy='44' rx='9' ry='11' transform='rotate(20 74 44)'/%3E%3C/svg%3E");
	--alora-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%232E2A4F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--wp--preset--color--accent-2); color: var(--alora-ink); }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px dashed var(--wp--preset--color--deep-coral);
	outline-offset: 3px;
	border-radius: 6px;
}
img { max-width: 100%; height: auto; }
.wp-element-button, .wp-block-button__link {
	box-shadow: 0 5px 0 var(--alora-ink);
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--alora-ink); }
.wp-element-button:active, .wp-block-button__link:active { transform: translateY(5px); box-shadow: 0 0 0 var(--alora-ink); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: var(--wp--preset--color--white);
	color: var(--alora-ink);
	border: 3px solid var(--alora-ink);
	padding: .7rem 1.6rem;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--accent-3); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--wp--preset--color--base);
	border-bottom: 3px dashed rgba(46, 42, 79, .12);
	padding-top: .65rem; padding-bottom: .65rem;
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0); }
.brand { gap: .6rem !important; align-items: center; }
.brand__logo { display: block; line-height: 0; flex: none; }
.brand__logo img, img.brand__logo { width: 44px; height: 44px; transition: transform .3s ease; }
.brand:hover .brand__logo img { transform: rotate(-12deg) scale(1.08); }
.brand .wp-block-site-title { margin: 0; line-height: 1; }
.main-nav .wp-block-navigation-item__content { padding: .35rem .2rem; position: relative; }
.main-nav .wp-block-navigation-item:not(.nav-cta) .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; border-radius: 4px;
	background: var(--wp--preset--color--accent-1); transform: scaleX(0); transition: transform .2s ease;
}
.main-nav .wp-block-navigation-item:hover .wp-block-navigation-item__content::after,
.main-nav .current-menu-item .wp-block-navigation-item__content::after { transform: scaleX(1); }
.main-nav .nav-cta .wp-block-navigation-item__content {
	background: var(--wp--preset--color--accent-1); border: 3px solid var(--alora-ink);
	border-radius: 999px; padding: .35rem 1.1rem; box-shadow: 0 4px 0 var(--alora-ink);
}
.main-nav .nav-cta .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--accent-2); }
.wp-block-navigation__responsive-container-open {
	width: 46px; height: 46px; border-radius: 14px; justify-content: center; align-items: center;
	background: var(--wp--preset--color--accent-2); border: 3px solid var(--alora-ink);
}
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--base) !important; padding: 1.5rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.1rem; font-size: 1.6rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:not(.nav-cta) .wp-block-navigation-item__content::after { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--deep-coral); }

/* ---------- Sections ---------- */
.section { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); position: relative; }
.wave-top { position: relative; }
.wave-top::before {
	content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: inherit; pointer-events: none;
	-webkit-mask: var(--alora-wave) center / 100% 100% no-repeat;
	mask: var(--alora-wave) center / 100% 100% no-repeat;
}
.eyebrow {
	display: inline-block; font-family: var(--wp--preset--font-family--heading); font-weight: 600;
	color: var(--wp--preset--color--deep-coral); letter-spacing: .04em; text-transform: uppercase; font-size: .95rem;
}
.section-intro { max-width: 640px; margin-left: auto !important; margin-right: auto !important; text-align: center; }
.section-intro > * { margin-left: auto; margin-right: auto; }
.lead { font-size: var(--wp--preset--font-size--large); line-height: 1.6; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2rem, 5vw, 4.5rem); padding-bottom: clamp(1rem, 3vw, 2rem); overflow: hidden; position: relative; }
.hero::after {
	content: ""; position: absolute; width: 380px; height: 380px; right: -160px; top: -120px; border-radius: 50%;
	background: var(--wp--preset--color--accent-5); opacity: .45; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero .wp-block-columns { align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.hero h1 { margin-top: .4rem; }
.hero h1 mark {
	background: linear-gradient(transparent 62%, var(--wp--preset--color--accent-2) 62%, var(--wp--preset--color--accent-2) 92%, transparent 92%) !important;
	color: inherit; padding: 0 .1em;
}
.hero-art img { width: 100%; max-width: 520px; margin: 0 auto; display: block; animation: alora-bob 5s ease-in-out infinite; }
@keyframes alora-bob { 50% { transform: translateY(-10px) rotate(-1deg); } }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chips li {
	background: var(--wp--preset--color--white); border: 2px solid var(--alora-ink); border-radius: 999px;
	padding: .3rem .9rem .3rem .7rem; font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .4rem;
}
.chips li::before {
	content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
	background: var(--wp--preset--color--accent-3) var(--alora-check) center / 12px no-repeat;
}

/* ---------- Cards ---------- */
.card {
	background: var(--wp--preset--color--white); border: 3px solid var(--alora-ink);
	border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.2rem) !important; box-shadow: 0 8px 0 var(--alora-ink);
	transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 12px 0 var(--alora-ink); }
.card > :first-child { margin-top: 0; }
.card h3 { margin-top: .9rem; margin-bottom: .4rem; }
.card p { margin-top: .3rem; }
.card-icon { margin: 0 !important; }
.card-icon img { width: 76px; height: 76px; display: block; }
.card.is-sky { background: #EAF6FE; }
.card.is-mint { background: #E9F9F2; }
.services-grid { max-width: 880px !important; }
.cards-grid { gap: clamp(1.25rem, 3vw, 2rem) !important; }
.service-card .wp-block-buttons { margin-top: 1.4rem; }

/* Paw / check lists */
ul.paws, ul.checks { list-style: none; padding-left: 0; }
ul.paws li, ul.checks li { position: relative; padding-left: 2rem; margin: .45rem 0; }
ul.paws li::before, ul.checks li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 1.3rem; height: 1.3rem; background: center / contain no-repeat;
}
ul.paws li::before { background-image: var(--alora-paw); }
ul.checks li::before { border-radius: 50%; background-color: var(--wp--preset--color--accent-3); background-size: 70%; background-image: var(--alora-check); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { counter-increment: step; text-align: center; padding: 1rem; }
.step::before {
	content: counter(step); display: grid; place-items: center; margin: 0 auto 1rem; width: 64px; height: 64px;
	border-radius: 50%; border: 3px solid var(--alora-ink); box-shadow: 0 5px 0 var(--alora-ink);
	font: 600 1.8rem/1 var(--wp--preset--font-family--heading); background: var(--wp--preset--color--accent-2);
}
.step:nth-child(2)::before { background: var(--wp--preset--color--accent-3); }
.step:nth-child(3)::before { background: var(--wp--preset--color--accent-4); }
.step h3 { margin: 0 0 .4rem; }

/* ---------- Meet Aloura / polaroid ---------- */
.polaroid {
	background: var(--wp--preset--color--white); padding: 14px 14px 18px; border: 3px solid var(--alora-ink);
	border-radius: 10px; box-shadow: 0 10px 0 var(--alora-ink); transform: rotate(-3deg);
	max-width: 380px; margin: 0 auto !important;
}
.polaroid img { width: 100%; border-radius: 4px; display: block; background: var(--wp--preset--color--accent-6); }
.polaroid figcaption { text-align: center; font: 500 1.15rem var(--wp--preset--font-family--heading); margin: .8rem 0 0; }
.quote {
	margin: 1.6rem 0; padding: 1.2rem 1.4rem 1.2rem 3.4rem; position: relative; border-radius: 20px;
	background: var(--wp--preset--color--white); border: 3px dashed var(--wp--preset--color--accent-1);
	font-family: var(--wp--preset--font-family--heading); font-size: 1.2rem; font-weight: 500;
}
.quote::before { content: "\201C"; position: absolute; left: .9rem; top: .1rem; font-size: 3.8rem; line-height: 1; color: var(--wp--preset--color--accent-1); font-family: Georgia, serif; }
.quote p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
	background: var(--wp--preset--color--accent-1); border: 3px solid var(--alora-ink);
	border-radius: 36px; box-shadow: 0 10px 0 var(--alora-ink); text-align: center;
	padding: clamp(2.2rem, 6vw, 4rem) clamp(1.2rem, 5vw, 4rem) !important; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
	content: ""; position: absolute; width: 120px; height: 120px; opacity: .3; background: var(--alora-paw-white) center / contain no-repeat;
}
.cta-band::before { left: -10px; bottom: -14px; transform: rotate(-25deg); }
.cta-band::after { right: -8px; top: -12px; transform: rotate(20deg); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .wp-block-buttons { justify-content: center; }
.cta-band .wp-block-button__link { background: var(--wp--preset--color--white); }
.cta-band .wp-block-button__link:hover { background: var(--wp--preset--color--accent-2); }

/* ---------- Inner page hero + breadcrumbs ---------- */
.page-hero {
	background: var(--wp--preset--color--accent-6); padding-top: clamp(1.6rem, 4vw, 2.6rem); padding-bottom: clamp(2.8rem, 6vw, 4.2rem);
	text-align: center; position: relative; margin-bottom: 0;
}
.page-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: var(--wp--preset--color--base);
	-webkit-mask: var(--alora-wave) center / 100% 100% no-repeat;
	mask: var(--alora-wave) center / 100% 100% no-repeat;
}
.page-hero h1 { margin: .8rem auto 0; }
.alora-breadcrumbs ol {
	list-style: none; margin: 0; padding: .35rem 1rem; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .2rem .5rem;
	background: var(--wp--preset--color--white); border: 2px solid var(--alora-ink); border-radius: 999px; font-size: .95rem; font-weight: 700;
}
.alora-breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.alora-breadcrumbs li + li::before { content: ""; width: 14px; height: 14px; background: var(--alora-paw) center / contain no-repeat; }
.alora-breadcrumbs a { color: var(--alora-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.alora-breadcrumbs a:hover { color: var(--wp--preset--color--deep-coral); text-decoration: underline; }
.alora-breadcrumbs [aria-current] { color: var(--wp--preset--color--deep-coral); }
.page-body { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.page-body > h2 { margin-top: 2.6rem; }
.not-found { padding-bottom: 6rem; min-height: 50vh; }
.not-found .wp-block-buttons { justify-content: center; }

/* ---------- FAQ ---------- */
.wp-block-details {
	background: var(--wp--preset--color--white); border: 3px solid var(--alora-ink); border-radius: 20px;
	padding: 1rem 1.3rem; margin-top: .9rem !important; box-shadow: 0 5px 0 var(--alora-ink);
}
.wp-block-details summary {
	font: 600 1.15rem/1.4 var(--wp--preset--font-family--heading); cursor: pointer; list-style: none; padding-right: 2.4rem; position: relative;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; border-radius: 50%;
	display: grid; place-items: center; background: var(--wp--preset--color--accent-2); font-size: 1.3rem; line-height: 1;
}
.wp-block-details[open] summary::after { content: "\2212"; }
.wp-block-details > p { margin-bottom: 0; }

/* ---------- Contact form ---------- */
.alora-form-wrap {
	background: var(--wp--preset--color--white); border: 3px solid var(--alora-ink); border-radius: 28px;
	padding: clamp(1.3rem, 4vw, 2.4rem); box-shadow: 0 8px 0 var(--alora-ink); scroll-margin-top: 110px;
}
.alora-form p { margin: 0 0 1.1rem; }
.alora-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1.2rem; }
.alora-form label { display: block; font-weight: 800; margin-bottom: .35rem; }
.alora-form label .opt { font-weight: 500; opacity: .7; }
.alora-form input, .alora-form select, .alora-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: inherit; background: var(--wp--preset--color--base);
	border: 2px solid rgba(46, 42, 79, .35); border-radius: 14px; padding: .75rem .95rem; transition: border-color .15s, box-shadow .15s;
}
.alora-form input:focus, .alora-form select:focus, .alora-form textarea:focus {
	outline: none; border-color: var(--alora-ink); box-shadow: 0 0 0 4px var(--wp--preset--color--accent-2);
}
.alora-form textarea { resize: vertical; min-height: 140px; }
.alora-form button { cursor: pointer; width: 100%; font-size: 1.15rem; }
.alora-small { font-size: .9rem; opacity: .85; text-align: center; margin-bottom: 0 !important; }
.alora-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alora-notice { border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; border: 2px solid var(--alora-ink); }
.alora-notice.is-success { background: var(--wp--preset--color--accent-3); }
.alora-notice.is-error { background: var(--wp--preset--color--accent-6); }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--alora-ink); color: var(--wp--preset--color--base); position: relative;
	margin-top: 40px; padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: 1.5rem;
}
.site-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: var(--alora-ink);
	-webkit-mask: var(--alora-wave) center / 100% 100% no-repeat;
	mask: var(--alora-wave) center / 100% 100% no-repeat;
}
.site-footer .wp-block-site-title, .site-footer .wp-block-site-title a, .site-footer h2 { color: var(--wp--preset--color--base); }
.site-footer a { color: var(--wp--preset--color--accent-2); }
.site-footer a:hover { color: var(--wp--preset--color--white); }
.site-footer .wp-block-button__link { color: var(--alora-ink); box-shadow: 0 5px 0 rgba(0, 0, 0, .35); }
.site-footer .footer-heading { font-size: 1.3rem; margin-bottom: .6rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .35rem 0; }
.site-footer__bottom {
	border-top: 2px dashed rgba(255, 249, 240, .2); margin-top: 2.5rem !important; padding-top: 1.2rem; font-size: .92rem; opacity: .9;
}
.site-footer__bottom p { margin: 0; }

/* ---------- Scroll pop-in (only when JS runs) ---------- */
.alora-anim .card, .alora-anim .step, .alora-anim .pop-in { opacity: 0; transform: translateY(18px); }
.alora-anim .card.is-visible, .alora-anim .step.is-visible, .alora-anim .pop-in.is-visible {
	opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2, .9, .3, 1.3), box-shadow .25s ease;
}
.alora-anim .card.is-visible:hover { transform: translateY(-4px) rotate(-.4deg); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-art img { animation: none; }
	.card, .card:hover { transition: none; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.hero { text-align: center; }
	.hero .wp-block-buttons, .hero .chips { justify-content: center; }
	.hero-art img { max-width: 340px; }
	.hero .wp-block-columns { flex-direction: column-reverse; }
	.meet .wp-block-columns { gap: 2.5rem; }
	.site-footer__cols { gap: 1.8rem; }
}
@media (max-width: 480px) {
	.brand .wp-block-site-title { font-size: 1.45rem !important; }
	.brand__logo img, img.brand__logo { width: 38px; height: 38px; }
	.wp-block-buttons { flex-direction: column; align-items: stretch !important; }
	.wp-block-buttons > .wp-block-button { width: 100%; }
	.wp-block-buttons .wp-block-button__link { width: 100%; text-align: center; }
	.card { border-radius: 22px; }
}

/* Reserve image space before the SVGs load (no layout shift). */
.hero-art img { aspect-ratio: 560 / 500; }
.polaroid img { aspect-ratio: 1; }
.card-icon img { aspect-ratio: 1; }

/* Grids: collapse empty tracks so short rows stay centred. */
.steps { max-width: 980px !important; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)) !important; }
.page-body .cta-band { margin-top: clamp(3rem, 7vw, 4.5rem) !important; }
.page-body .about-intro { align-items: center; margin-bottom: 1rem; }
@media (max-width: 781px) { .polaroid { max-width: 290px; } }

/* Mobile menu overlay */
.wp-block-navigation__responsive-container.is-menu-open { padding: 1.25rem 1.5rem 2rem !important; color: var(--alora-ink) !important; }
.wp-block-navigation__responsive-container.is-menu-open::after {
	content: ""; position: absolute; left: 50%; bottom: 2.5rem; width: 150px; height: 150px; transform: translateX(-50%) rotate(-12deg);
	background: var(--alora-paw) center / contain no-repeat; opacity: .25; pointer-events: none;
}
.is-menu-open .wp-block-navigation__responsive-container-content,
.is-menu-open .wp-block-navigation__container,
.is-menu-open .wp-block-navigation-item { align-items: center !important; justify-content: center !important; text-align: center; }
.is-menu-open .wp-block-navigation__container { width: 100%; padding-top: 2rem; }
.is-menu-open .wp-block-navigation-item__content { padding: .4rem 1.2rem !important; }
.is-menu-open .nav-cta { margin-top: .8rem; }
.is-menu-open .wp-block-navigation__responsive-container-close {
	width: 46px; height: 46px; display: grid !important; place-items: center; border-radius: 14px;
	background: var(--wp--preset--color--accent-2) !important; border: 3px solid var(--alora-ink) !important; top: 1rem !important; right: 1rem !important;
}

/* ======================================================================
 * v2 polish
 * ==================================================================== */
:root {
	--alora-doodles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg opacity='.55'%3E%3Cpath d='M40 30l4 9 10 1-7 7 2 10-9-5-9 5 2-10-7-7 10-1z' fill='%23D6C8F7'/%3E%3Ccircle cx='200' cy='50' r='6' fill='%239FE2C9'/%3E%3Cpath d='M120 140c-4-6-14-3-12 4 1 5 12 11 12 11s11-6 12-11c2-7-8-10-12-4z' fill='%23FFC9BF'/%3E%3Ccircle cx='60' cy='200' r='4' fill='%23FFD166'/%3E%3Cg fill='%23FFC9BF' transform='translate(200 190) rotate(-20) scale(.22)'%3E%3Cellipse cx='50' cy='64' rx='19' ry='16'/%3E%3Cellipse cx='26' cy='44' rx='9' ry='11'/%3E%3Cellipse cx='42' cy='28' rx='9' ry='12'/%3E%3Cellipse cx='58' cy='28' rx='9' ry='12'/%3E%3Cellipse cx='74' cy='44' rx='9' ry='11'/%3E%3C/g%3E%3Cpath d='M230 120l2 5 6 1-4 4 1 6-5-3-5 3 1-6-4-4 6-1z' fill='%23A8D8F8'/%3E%3Ccircle cx='150' cy='240' r='5' fill='%23D6C8F7'/%3E%3C/g%3E%3C/svg%3E");
	--alora-squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 12'%3E%3Cpath d='M3 6c7-6 14 6 21 0s14 6 21 0 14 6 21 0 14 6 21 0' fill='none' stroke='%23FF8A7A' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Brand lockup */
.brand__logo img, img.brand__logo { width: 52px; height: auto; }
.brand__text { gap: 0 !important; }
.brand__text .wp-block-site-title { font-size: 1.8rem !important; line-height: .95; letter-spacing: -.01em; }
.brand__tagline {
	margin: .3rem 0 0 !important; font: 800 .66rem/1.2 var(--wp--preset--font-family--body) !important;
	letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--deep-coral);
}
.site-footer .brand__tagline { color: var(--wp--preset--color--accent-2); }
.brand:hover .brand__logo img { transform: rotate(-8deg) scale(1.06); }

/* Doodle textures */
.hero, .page-hero { background-image: var(--alora-doodles); background-size: 260px; }
.section-intro h2::after {
	content: ""; display: block; width: 90px; height: 12px; margin: .8rem auto 0; background: var(--alora-squiggle) center / contain no-repeat;
}

/* Trust ribbon */
.ribbon-wrap { padding: .5rem 0 !important; margin-top: 0 !important; overflow: clip; }
.ribbon {
	background: var(--alora-ink); color: var(--wp--preset--color--base); transform: rotate(-1.6deg); margin: 1rem -3vw;
	border-top: 4px solid var(--wp--preset--color--accent-2); border-bottom: 4px solid var(--wp--preset--color--accent-1);
	padding: .85rem 0; overflow: hidden;
}
.ribbon__track { display: flex; width: max-content; animation: alora-marquee 38s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__group { display: flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; white-space: nowrap; font: 600 1.25rem/1 var(--wp--preset--font-family--heading); }
.ribbon__group i { font-style: normal; color: var(--wp--preset--color--accent-2); font-size: 1rem; }
@keyframes alora-marquee { to { transform: translateX(-50%); } }

/* Footer: peeking kitten + hello */
.site-footer { margin-top: 110px; }
.footer-peek { position: absolute; right: 9%; top: -118px; width: 150px; height: auto; z-index: 2; pointer-events: none; }
.footer-hello { font: 600 1.25rem var(--wp--preset--font-family--heading); color: var(--wp--preset--color--accent-2); margin-top: .6rem !important; }

/* Back to top */
.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
	background: var(--wp--preset--color--accent-2); border: 3px solid var(--alora-ink); box-shadow: 0 5px 0 var(--alora-ink); color: var(--alora-ink);
	opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--wp--preset--color--accent-1); }
.to-top svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
	.ribbon__track { animation: none; }
}
@media (max-width: 781px) {
	.footer-peek { width: 112px; top: -92px; right: 6%; }
	.ribbon__group { font-size: 1.05rem; }
}
@media (max-width: 480px) {
	.brand__logo img, img.brand__logo { width: 44px; }
	.brand__text .wp-block-site-title { font-size: 1.5rem !important; }
	.brand__tagline { font-size: .56rem !important; letter-spacing: .12em; }
}

/* Doodles live at the edges only, never behind text. */
.hero, .page-hero { background-image: none; }
.hero::before, .page-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
	background: var(--alora-doodles) 0 0 / 300px;
}
.hero::before {
	-webkit-mask-image: linear-gradient(to right, transparent 0 52%, #000 78%);
	mask-image: linear-gradient(to right, transparent 0 52%, #000 78%);
}
.page-hero::before {
	-webkit-mask-image: linear-gradient(to right, #000 0, transparent 26%, transparent 74%, #000 100%);
	mask-image: linear-gradient(to right, #000 0, transparent 26%, transparent 74%, #000 100%);
}
.page-hero > * { position: relative; z-index: 1; }
@media (max-width: 781px) {
	.hero::before { -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 40%); mask-image: linear-gradient(to bottom, #000 0, transparent 40%); }
}

/* Video section */
.video-section { padding-top: clamp(2.5rem, 6vw, 4rem); }
.video-frame {
	position: relative; max-width: 900px !important; margin: 2rem auto 0 !important; padding: 12px; background: var(--wp--preset--color--white);
	border: 4px solid var(--alora-ink); border-radius: 34px; box-shadow: 0 12px 0 var(--alora-ink);
}
.video-frame::before, .video-frame::after { content: ""; position: absolute; z-index: 2; pointer-events: none; background: center / contain no-repeat; }
.video-frame::before {
	width: 74px; height: 74px; left: -26px; top: -30px; rotate: -14deg;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21C5 16 2 12 2 8.5 2 5.5 4.4 3 7.3 3c2 0 3.6 1 4.7 2.6C13.1 4 14.7 3 16.7 3 19.6 3 22 5.5 22 8.5 22 12 19 16 12 21Z' fill='%23FF8A7A' stroke='%232E2A4F' stroke-width='1.4'/%3E%3C/svg%3E");
}
.video-frame::after { width: 80px; height: 80px; right: -28px; bottom: -32px; rotate: 18deg; background-image: url("/wp-content/themes/alora/assets/img/icon-paw.svg"); }
.video-frame .wp-block-video { margin: 0; }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--wp--preset--color--base); }
.video-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; cursor: pointer;
	display: inline-flex; align-items: center; gap: .8rem; padding: .7rem 1.6rem .7rem .7rem;
	font: 600 1.2rem var(--wp--preset--font-family--heading); color: var(--alora-ink);
	background: var(--wp--preset--color--accent-2); border: 4px solid var(--alora-ink); border-radius: 999px; box-shadow: 0 7px 0 var(--alora-ink);
	transition: transform .15s ease, box-shadow .15s ease;
}
.video-play:hover { transform: translate(-50%, -48%); box-shadow: 0 4px 0 var(--alora-ink); }
.video-play__icon {
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--accent-1);
	border: 3px solid var(--alora-ink); position: relative;
}
.video-play__icon svg { width: 26px; height: 26px; margin-left: 4px; }
.video-play__icon::after {
	content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 3px solid var(--wp--preset--color--accent-1);
	animation: alora-pulse 1.8s ease-out infinite;
}
@keyframes alora-pulse { from { opacity: .9; transform: scale(.8); } to { opacity: 0; transform: scale(1.35); } }
.video-frame.is-playing .video-play { display: none; }
@media (prefers-reduced-motion: reduce) { .video-play__icon::after { animation: none; } }
@media (max-width: 600px) {
	.video-frame { padding: 7px; border-radius: 22px; }
	.video-frame video { border-radius: 15px; }
	.video-play { padding: .45rem 1.1rem .45rem .45rem; font-size: 1rem; gap: .5rem; }
	.video-play__icon { width: 44px; height: 44px; }
	.video-frame::before { width: 54px; height: 54px; left: -14px; top: -20px; }
	.video-frame::after { width: 58px; height: 58px; right: -12px; bottom: -22px; }
}

/* Play button sits under "Meet Aloura!" on the poster */
.video-play { left: 7.5%; top: auto; bottom: 13%; transform: none; }
.video-play:hover { transform: translateY(3px); }
@media (max-width: 600px) {
	.video-play { left: 6%; bottom: 9%; padding: .35rem; }
	.video-play__label { display: none; }
}
@media (max-width: 600px) {
	.video-frame:not(.is-playing) { margin-bottom: 84px !important; }
	.video-play { left: 50%; bottom: -80px; padding: .4rem 1.2rem .4rem .4rem; transform: translateX(-50%); }
	.video-play:hover { transform: translateX(-50%) translateY(2px); }
	.video-play__label { display: inline; }
	.video-frame::after { right: -10px; bottom: -18px; }
}

/* a11y fixes */
.alora-small { opacity: 1; color: #4A4568; }
.alora-small a { color: var(--wp--preset--color--deep-coral); }
.card .card-title { font-size: var(--wp--preset--font-size--large); margin-top: .9rem; margin-bottom: .4rem; }
@media (max-width: 600px) { .video-play__label { display: inline; } }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

/* Video preview mode: silent autoplay, button invites sound */
.video-play .i-sound, .video-play .l-sound { display: none; }
.video-frame.is-preview .video-play .i-play, .video-frame.is-preview .video-play .l-play { display: none; }
.video-frame.is-preview .video-play .i-sound { display: block; margin-left: 0; }
.video-frame.is-preview .video-play .l-sound { display: inline; }
.video-frame.is-preview .video-play { left: auto; right: 4%; bottom: 6%; padding: .45rem 1.2rem .45rem .45rem; font-size: 1.05rem; }
.video-frame.is-preview .video-play__icon { width: 46px; height: 46px; }
.video-frame.is-preview .video-play__icon svg { width: 24px; height: 24px; }
@media (max-width: 600px) {
	.video-frame.is-preview .video-play { left: 50%; right: auto; bottom: -80px; }
}

/* ======================================================================
 * Design pass 3
 * ==================================================================== */

/* Header tightens with a soft shadow once you scroll */
.site-header { transition: box-shadow .25s ease, padding .25s ease, border-color .25s ease; }
.is-scrolled .site-header { box-shadow: 0 10px 30px rgba(46, 42, 79, .09); border-bottom-color: transparent; padding-top: .4rem; padding-bottom: .4rem; }
.brand__logo img { transition: width .25s ease, transform .3s ease; }
.is-scrolled .brand__logo img { width: 44px; }

/* Hero: location line + floating trust badges + handwritten note */
.hero-where { display: flex; align-items: center; gap: .55rem; margin-top: 1.5rem !important; font-weight: 700; }
.hero-where::before {
	content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--wp--preset--color--accent-6)
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.4 7-12a7 7 0 0 0-14 0c0 5.6 7 12 7 12Z' fill='%23FF8A7A' stroke='%232E2A4F' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%23fff' stroke='%232E2A4F' stroke-width='1.6'/%3E%3C/svg%3E") center / 16px no-repeat;
	border: 2px solid var(--alora-ink);
}
.hero-art-col { position: relative; }
.float-badge {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: .7rem; padding: .55rem 1.05rem .55rem .55rem;
	background: var(--wp--preset--color--white); border: 3px solid var(--alora-ink); border-radius: 20px; box-shadow: 0 6px 0 var(--alora-ink);
	animation: alora-float 6s ease-in-out infinite; text-align: left;
}
.float-badge img { width: 48px; height: 48px; flex: none; }
.float-badge strong { display: block; font: 600 1.02rem/1.2 var(--wp--preset--font-family--heading); }
.float-badge span { display: block; font-size: .84rem; font-weight: 700; line-height: 1.3; color: #5A5578; }
.fb-1 { left: -6%; top: 9%; rotate: -4deg; }
.fb-2 { right: -4%; bottom: 7%; rotate: 3deg; animation-delay: -3s; }
@keyframes alora-float { 50% { transform: translateY(-9px); } }
.hand-note { position: absolute; z-index: 2; font-family: var(--wp--preset--font-family--hand); font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--wp--preset--color--deep-coral); }
.hn-hero { right: 4%; top: -4%; rotate: 7deg; display: flex; flex-direction: column; align-items: flex-end; }
.hn-hero svg { width: 62px; height: auto; transform: scaleX(-1); margin-right: 4.5rem; margin-top: .1rem; }

/* Trust cards: 2 x 2, icon beside the words */
.trust-grid { max-width: 1000px !important; }
.trust-grid .card { display: grid !important; grid-template-columns: 76px 1fr; column-gap: 1.3rem; align-items: start; }
.trust-grid .card > * { margin: 0 !important; max-width: none !important; }
.trust-grid .card .card-icon { grid-row: span 2; }
.trust-grid .card h3 { margin: .35rem 0 .35rem !important; }

/* Polaroids get washi tape and a handwritten caption */
.polaroid { position: relative; }
.polaroid::before {
	content: ""; position: absolute; z-index: 2; top: -18px; left: 50%; width: 130px; height: 36px; translate: -50% 0; rotate: -5deg;
	background: repeating-linear-gradient(45deg, rgba(255, 209, 102, .9) 0 9px, rgba(255, 233, 179, .9) 9px 18px);
	box-shadow: 0 2px 3px rgba(46, 42, 79, .15);
}
.polaroid figcaption { font-family: var(--wp--preset--font-family--hand) !important; font-weight: 700 !important; font-size: 1.75rem !important; }
.signature { font-family: var(--wp--preset--font-family--hand); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--wp--preset--color--deep-coral); rotate: -3deg; margin: -.2rem 0 1.4rem .4rem !important; }

/* How it works: dashed path between the steps */
@media (min-width: 782px) {
	.steps { position: relative; }
	.steps::before { content: ""; position: absolute; z-index: 0; top: calc(1rem + 32px); left: 18%; right: 18%; border-top: 3px dashed rgba(46, 42, 79, .3); }
	.step { position: relative; z-index: 1; }
}

/* Inner page header: handwritten subtitle + floating stickers */
.page-subtitle { margin: .5rem auto 0 !important; font-family: var(--wp--preset--font-family--hand); font-weight: 700; font-size: 1.85rem; line-height: 1.15; color: var(--wp--preset--color--deep-coral); }
.page-stickers img { position: absolute; top: 34%; width: 96px; height: auto; animation: alora-float 5.5s ease-in-out infinite; }
.page-stickers .ps-l { left: 9%; rotate: -10deg; }
.page-stickers .ps-r { right: 9%; rotate: 10deg; animation-delay: -2.7s; }

/* Long checklists flow into two columns */
@media (min-width: 782px) {
	.page-body ul.paws:has(> li:nth-child(6)) { columns: 2; column-gap: 2.5rem; }
	.page-body ul.paws li { break-inside: avoid; }
}

/* Thank-you confetti (contact form) */
.confetti { position: fixed; top: -40px; z-index: 100; width: 26px; height: 26px; pointer-events: none; background: center / contain no-repeat; animation: alora-fall linear forwards; }
@keyframes alora-fall { to { transform: translateY(110vh) rotate(540deg); } }

@media (prefers-reduced-motion: reduce) {
	.float-badge, .page-stickers img { animation: none; }
}
@media (max-width: 900px) { .page-stickers { display: none; } }
@media (max-width: 781px) {
	.hero-where { justify-content: center; }
	.float-badge { padding: .4rem .8rem .4rem .4rem; border-radius: 16px; gap: .5rem; }
	.float-badge img { width: 36px; height: 36px; }
	.float-badge strong { font-size: .88rem; }
	.float-badge span { font-size: .74rem; }
	.fb-1 { left: 0; top: 2%; }
	.fb-2 { right: 0; bottom: 0; }
	.hn-hero { display: none; }
	.trust-grid .card { grid-template-columns: 60px 1fr; column-gap: 1rem; }
	.trust-grid .card .card-icon img { width: 60px; height: 60px; }
	.page-subtitle { font-size: 1.5rem; }
}

/* fixes */
.page-hero > .page-stickers { position: static; }
.hero-where { display: block; }
.hero-where::before { display: inline-block; vertical-align: middle; margin: -3px .55rem 0 0; }
@media (max-width: 781px) { .hero-where { text-align: center; } }
@media (min-width: 782px) {
	.page-body ul.paws:has(> li:nth-child(6)) li { margin: 0; padding: .3rem 0 .3rem 2rem; }
	.page-body ul.paws:has(> li:nth-child(6)) li::before { top: .6em; }
}
