/*
Theme Name: Respite 4 You
Theme URI: https://respite4you.co.uk
Description: Child theme of Twenty Twenty-Five for Respite 4 You CIC. Hand-made look: paper, tape, polaroids and doodles drawn from the logo. Activating it creates the six pages. Colours and fonts: Appearance > Editor > Styles.
Author: Respite 4 You CIC
Template: twentytwentyfive
Requires at least: 6.6
Requires PHP: 7.4
Version: 3.0.4
License: GNU General Public License v2 or later
Text Domain: r4y
*/

/* Only what blocks and theme.json cannot express. Class names are added in
   each block's Advanced > Additional CSS class(es). Do not rename them.
   Shared pieces (tape, polaroid, doodles, wavy bands, buttons) live in
   assets/kit.css, which loads first. */

:root {
	--r4y-f-head: var(--wp--preset--font-family--fraunces);
	--r4y-f-script: var(--wp--preset--font-family--caveat);
	--r4y-f-body: var(--wp--preset--font-family--lexend);
	--r4y-rule: rgba(0, 128, 125, .22);
	--r4y-gutter: 1.75rem;
	--r4y-shadow: 0 1px 2px rgba(59, 45, 52, .08), 0 14px 30px -10px rgba(59, 45, 52, .3);
}

body {
	background-color: var(--r4y-paper);
	background-image: radial-gradient(rgba(59, 45, 52, .035) 1px, transparent 1px), radial-gradient(rgba(212, 38, 127, .025) 1px, transparent 1px);
	background-size: 7px 7px, 13px 13px;
	background-position: 0 0, 3px 5px;
	overflow-x: clip;
}
h1, h2, h3, h4 { font-variation-settings: 'SOFT' 100, 'opsz' 72; letter-spacing: -.015em; }
html { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
p, h1, h2, h3, h4, li { text-wrap: pretty; }
a { text-underline-offset: 3px; }

/* ---------- Frame ---------- */
.wp-site-blocks > * { margin-block-start: 0; }
.r4y-main { padding-inline: var(--r4y-gutter); }

.r4y-skip { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--r4y-teal); color: #fff; padding: .9rem 1.4rem; font-weight: 600; }
.r4y-skip:focus { left: 0; color: #fff; }

.wp-site-blocks > header.wp-block-template-part {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 247, 241, .97);
	/* No backdrop-filter: it traps the fixed-position mobile menu inside the header. */
	padding: .55rem var(--r4y-gutter);
}
.wp-site-blocks > header.wp-block-template-part::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px; background: rgba(0, 128, 125, .35); -webkit-mask: var(--r4y-squig) 0 0 / 120px 8px repeat-x; mask: var(--r4y-squig) 0 0 / 120px 8px repeat-x; pointer-events: none; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
.r4y-header-inner { max-width: 1180px; margin: 0 auto; gap: 1.5rem; }
.r4y-logo { margin: 0; flex-shrink: 0; }
.r4y-logo img { width: 146px; height: auto; display: block; }
.r4y-nav { font-size: .875rem; font-weight: 500; }
.r4y-nav .wp-block-navigation__container { gap: .1rem; }
.r4y-nav .wp-block-navigation-item__content { position: relative; padding: .7rem .8rem; color: var(--r4y-head); }
.r4y-nav .wp-block-navigation-item__content:hover { color: var(--r4y-pink-ink); text-decoration: none; }
.r4y-nav .current-menu-item > .wp-block-navigation-item__content,
.r4y-nav [aria-current="page"] { color: var(--r4y-pink-ink); font-weight: 600; }
.r4y-nav .current-menu-item > .wp-block-navigation-item__content::after,
.r4y-nav [aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .15rem; height: .5em; background: var(--r4y-pink); -webkit-mask: var(--r4y-squig) center / 100% 100% no-repeat; mask: var(--r4y-squig) center / 100% 100% no-repeat; }

/* Footer: dark teal band with a wavy top edge */
.wp-site-blocks > footer.wp-block-template-part { position: relative; margin-top: 4rem; background: var(--r4y-teal-dark); color: #d6ebe9; padding: 3.5rem var(--r4y-gutter) 2.5rem; }
.wp-site-blocks > footer.wp-block-template-part::before { content: ""; position: absolute; left: 0; right: 0; top: -23px; height: 24px; background: var(--r4y-teal-dark); -webkit-mask: var(--r4y-wave) center / 100% 100% no-repeat; mask: var(--r4y-wave) center / 100% 100% no-repeat; }
.r4y-footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2.5rem; }
.r4y-accred { position: relative; background: #fff; padding: 1.5rem 1.75rem 1.25rem; transform: rotate(-1.5deg); box-shadow: var(--r4y-shadow); }
.r4y-accred > .r4y-eyebrow { margin: 0 0 .75rem; }
.r4y-accred-logos { gap: 1.75rem; align-items: center; }
.r4y-accred::after { content: ""; position: absolute; top: -14px; left: 50%; width: 96px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(42, 179, 163, .32); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-accred .wp-block-image { margin: 0; }
.r4y-accred img { height: 64px; width: auto; object-fit: contain; }
.r4y-footer-row { flex-direction: column; align-items: flex-end !important; gap: 1rem; }
.r4y-footer-left { flex-direction: column-reverse; align-items: flex-end !important; gap: .75rem; }
.r4y-footer-row p { margin: 0; }
.r4y-footer .r4y-small { color: #bcdcd9; }
.r4y-socials a { color: #fff; margin-left: 1.5rem; }
.r4y-socials a:first-child { margin-left: 0; }
.r4y-socials a:hover { color: #ffc2de; }
.r4y-pink-link a { font: 700 1.875rem/1 var(--r4y-f-script); color: #ffc2de; text-decoration: none; }
.r4y-pink-link a strong { font-weight: 700; }

/* ---------- Sections ---------- */
.r4y-section { padding-block: 3rem 0; }
.r4y-opener { padding-top: 5rem; }
.r4y-section-end { padding-bottom: 4.5rem; }
.r4y-split { gap: 4rem; margin: 0; }
.r4y-section-title { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 0; text-align: left !important; }
.r4y-section-sub { font: 700 1.75rem/1.1 var(--r4y-f-script); color: var(--r4y-pink); text-align: left !important; margin-top: .35rem !important; margin-bottom: 2.5rem; transform: rotate(-1.5deg); transform-origin: left; }
.r4y-page-title { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 0; }
.r4y-subhead { font-size: 1.75rem; }
.r4y-lede { font-size: 1.125rem; max-width: 640px; }
.r4y-lede.is-dark { font-family: var(--r4y-f-head); font-size: 1.375rem; font-weight: 500; line-height: 1.45; color: var(--r4y-head); }
.r4y-measure { max-width: 680px; }
.r4y-small { font-size: .875rem; }
.r4y-hello { font: 700 2.5rem/1.05 var(--r4y-f-script); color: var(--r4y-pink); transform: rotate(-2deg); transform-origin: left; margin-top: .4rem !important; }
.r4y-statement { font-family: var(--r4y-f-head); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; line-height: 1.35; color: var(--r4y-head); max-width: 820px; }

.r4y-eyebrow { font: 700 2rem/1.05 var(--r4y-f-script) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--r4y-pink); margin-bottom: .75rem; }
.r4y-eyebrow.is-teal { color: var(--r4y-teal); }
.r4y-eyebrow.is-muted { color: var(--r4y-teal-dark); font-size: 1.375rem !important; }

/* Location label: a strip of teal tape */
.r4y-pill { display: inline-block; background: var(--r4y-teal-soft); color: var(--r4y-teal-dark); padding: .5rem 1.1rem; font-size: .875rem; font-weight: 600; transform: rotate(-1.5deg); clip-path: polygon(2% 0, 98% 6%, 100% 50%, 97% 100%, 3% 94%, 0 50%); }

/* ---------- Hero ---------- */
.r4y-hero { padding-top: 5rem; padding-bottom: 3rem; }
.r4y-hero-title { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; margin: 1.5rem 0; }
.r4y-hero-a { display: block; color: var(--r4y-teal); font-weight: 700; }
.r4y-hero-b { display: block; font: 700 .82em/1.05 var(--r4y-f-script); color: var(--r4y-pink); margin-top: .6rem; transform: rotate(-2deg); transform-origin: left; letter-spacing: 0; }

/* Carousel as a taped polaroid, with two loose prints behind it */
.r4y-hero .wp-block-column:last-child { position: relative; padding-block: 2rem; }
.r4y-hero .wp-block-column:last-child::before,
.r4y-hero .wp-block-column:last-child::after { content: ""; position: absolute; aspect-ratio: 1; border: 11px solid #fff; border-bottom-width: 30px; background: #eee center / cover no-repeat; box-shadow: var(--r4y-shadow); }
.r4y-hero .wp-block-column:last-child::before { width: 52%; right: 0; top: 0; transform: rotate(8deg); background-image: url(assets/images/gallery-3.jpg); }
.r4y-hero .wp-block-column:last-child::after { width: 46%; left: 0; bottom: 6%; transform: rotate(-10deg); background-image: url(assets/images/gallery-5.jpg); }
.r4y-carousel { position: relative; z-index: 1; width: 100%; margin: 0 auto; cursor: pointer; background: #fff; padding: 12px 12px 36px; box-sizing: border-box; transform: rotate(-2.5deg); box-shadow: var(--r4y-shadow); }
.r4y-carousel::after { content: ""; position: absolute; z-index: 2; top: -14px; left: 50%; width: 96px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(239, 79, 155, .3); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-carousel-ring { display: none; }
.r4y-carousel-frame { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: #eee; }
.r4y-carousel-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.r4y-carousel-frame img.is-on { opacity: 1; }
.r4y-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(30, 22, 27, .86); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.r4y-lightbox .r4y-carousel-frame { width: min(72vh, 560px); height: auto; border: 14px solid #fff; border-bottom-width: 40px; transform: rotate(-1.5deg); box-shadow: 0 20px 80px rgba(0, 0, 0, .5); }
.r4y-lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; font-size: 20px; cursor: pointer; }

/* ---------- Buttons ---------- */
.wp-block-button__link.wp-element-button { border: 2px solid var(--r4y-teal-dark); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; box-shadow: 3px 4px 0 var(--r4y-pink); transition: transform .15s ease, box-shadow .15s ease; }
.wp-block-button__link.wp-element-button:hover { transform: translate(-1px, -2px); box-shadow: 5px 6px 0 var(--r4y-pink); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--r4y-pink-ink); border: 2px solid var(--r4y-pink); box-shadow: 3px 4px 0 var(--r4y-teal-soft); padding: calc(1rem - 2px) calc(1.6rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--r4y-pink-soft); color: var(--r4y-pink-ink); box-shadow: 5px 6px 0 var(--r4y-teal-soft); }
.r4y-btn-white > .wp-block-button__link { background: #fff; color: var(--r4y-teal-dark); border-color: #fff; }
.r4y-btn-white > .wp-block-button__link:hover { background: #fff; color: var(--r4y-teal-dark); }
.r4y-form button { border: 2px solid var(--r4y-teal-dark); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; box-shadow: 3px 4px 0 var(--r4y-pink); }

/* ---------- Cards: index cards by default ---------- */
.r4y-card { position: relative; background-color: #fff; background-image: linear-gradient(180deg, transparent 3.25rem, rgba(212, 38, 127, .35) 3.25rem, rgba(212, 38, 127, .35) calc(3.25rem + 2px), transparent calc(3.25rem + 2px)), repeating-linear-gradient(180deg, transparent 0 27px, rgba(0, 128, 125, .11) 27px 28px); background-position: 0 0, 0 calc(3.25rem + 2px); padding: 1.1rem 1.75rem 1.75rem; border-radius: 3px; box-shadow: var(--r4y-shadow); transform: rotate(-.7deg); }
.r4y-card:nth-child(even) { transform: rotate(.6deg); }
.r4y-card > * { margin-block: 0; }
.r4y-card > * + * { margin-block-start: 1.1rem; }
.r4y-card h3 { font-size: 1.375rem; line-height: 1.2; }
.r4y-card p { font-size: 1rem; line-height: 28px; }
.r4y-card.is-roomy h3 { font-size: 1.3125rem; }
.r4y-card.is-roomy p { font-size: 1rem; line-height: 1.7; }
.r4y-card-title { font: 700 1.875rem/1 var(--r4y-f-script) !important; color: var(--r4y-teal-dark); }

/* Lists of points: no boxes, dashed rules, numbered or starred */
.r4y-pillars, .r4y-join-offers { column-gap: 4rem !important; row-gap: 0 !important; counter-reset: r4y-n; }
.r4y-pillars .r4y-card, .r4y-join-offers .r4y-card { background: none; box-shadow: none; transform: none; border-radius: 0; border-bottom: 2px dashed rgba(212, 38, 127, .25); padding: 1.6rem 0 1.6rem 3.4rem; }
.r4y-join-offers .r4y-card { border-bottom-color: var(--r4y-rule); }
.r4y-pillars .r4y-card > * + *, .r4y-join-offers .r4y-card > * + * { margin-block-start: .5rem; }
.r4y-pillars .r4y-card { counter-increment: r4y-n; }
.r4y-pillars .r4y-card::before { content: counter(r4y-n); position: absolute; left: 0; top: 1.25rem; font: 700 2.875rem/1 var(--r4y-f-script); color: var(--r4y-pink); }
.r4y-join-offers .r4y-card::before { content: ""; position: absolute; left: 0; top: 1.65rem; width: 30px; height: 30px; background: var(--r4y-pink); -webkit-mask: var(--r4y-m-star) center / contain no-repeat; mask: var(--r4y-m-star) center / contain no-repeat; }
.r4y-join-offers .r4y-card:nth-child(even)::before { background: var(--r4y-teal); }

/* What we offer: one taped sheet of lined paper */
.r4y-offers { position: relative; background-color: #fff; background-image: linear-gradient(90deg, transparent 50px, rgba(212, 38, 127, .28) 50px, rgba(212, 38, 127, .28) 52px, transparent 52px), repeating-linear-gradient(180deg, transparent 0 33px, rgba(0, 128, 125, .13) 33px 34px); background-position: 0 0, 0 14px; padding: 2.75rem 2.5rem 2.5rem 4.75rem; box-shadow: var(--r4y-shadow); transform: rotate(-.6deg); gap: 2.25rem 3rem !important; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)) !important; }
.r4y-offers::before { content: ""; position: absolute; top: -14px; left: 18%; width: 96px; height: 28px; transform: translateX(-50%) rotate(-8deg); background: rgba(239, 79, 155, .3); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-offers::after { content: ""; position: absolute; top: -14px; left: 82%; width: 96px; height: 28px; transform: translateX(-50%) rotate(7deg); background: rgba(42, 179, 163, .32); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-offers .r4y-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 1.1rem; align-content: start; background: none; box-shadow: none; transform: none; padding: 0; }
.r4y-offers .r4y-card > * + * { margin-block-start: .4rem; }
.r4y-offers .r4y-card > :not(.r4y-glyph) { grid-column: 2; }
.r4y-offers .r4y-card p:not(.r4y-glyph) { line-height: 1.7; }
.r4y-glyph { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0 !important; font-size: 0 !important; color: var(--r4y-pink); }
.r4y-offers > :nth-child(even) .r4y-glyph { color: var(--r4y-teal); }

/* How it works: scribbled numbers on a drawn route */
.r4y-steps { position: relative; gap: 2.5rem !important; }
.r4y-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 4px; height: 60px; background: rgba(212, 38, 127, .55); -webkit-mask: var(--r4y-path) center / 100% 100% no-repeat; mask: var(--r4y-path) center / 100% 100% no-repeat; pointer-events: none; }
.r4y-step { position: relative; text-align: left; }
.r4y-step > * { margin-block: 0; }
.r4y-step > * + * { margin-block-start: .5rem; }
.r4y-step h3 { font-size: 1.375rem; }
.r4y-step p { font-size: 1rem; max-width: 300px; }
.r4y-step .r4y-step-num { width: 64px; height: 64px; background: var(--r4y-paper); border-radius: 50%; margin-bottom: 1rem; }
.r4y-steps > :nth-child(even) .r4y-step-num { color: var(--r4y-teal); }

/* Reviews: notes pinned on a full-width teal band */
.r4y-main .r4y-band { box-shadow: 0 0 0 100vmax var(--r4y-band, var(--r4y-teal-soft)); clip-path: inset(-24px -100vmax); padding-block: 4rem 4.5rem; margin-block: 4rem; }
.r4y-main .r4y-band::before, .r4y-main .r4y-band::after { left: calc(50% - 50vw); right: calc(50% - 50vw); }
.r4y-band .r4y-section-sub { color: var(--r4y-teal-dark); }
.r4y-reviews { align-items: start; gap: 2rem !important; }
.wp-block-quote.r4y-review { position: relative; background: #fffbe6; border: 0; border-radius: 3px; padding: 2.1rem 1.9rem 1.8rem; margin: 0; box-shadow: 0 1px 2px rgba(59, 45, 52, .08), 0 16px 32px -14px rgba(10, 77, 75, .45); font-size: .9375rem; font-style: normal; line-height: 1.75; display: flex; flex-direction: column; gap: 1rem; transform: rotate(-1.6deg); }
.wp-block-quote.r4y-review:nth-child(2) { background: #fff; transform: rotate(1.2deg); }
.wp-block-quote.r4y-review:nth-child(3) { background: #fdeef4; transform: rotate(-.7deg); }
.wp-block-quote.r4y-review::before { content: "\2605\2605\2605\2605\2605"; color: #d39a12; letter-spacing: .15em; font-size: 1.125rem; line-height: 1; }
.wp-block-quote.r4y-review::after { content: ""; position: absolute; top: -14px; left: 50%; width: 96px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(239, 79, 155, .3); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.wp-block-quote.r4y-review:nth-child(2)::after { background: rgba(42, 179, 163, .32); }
.wp-block-quote.r4y-review p { margin: 0; flex: 1; color: #4a4046; }
.wp-block-quote.r4y-review cite { font: 700 1.625rem/1.05 var(--r4y-f-script); font-style: normal; color: var(--r4y-pink-ink); }

/* Closing call to action: hand-cut teal panel */
.r4y-cta { position: relative; background: var(--r4y-teal); border-radius: 42px 18px 38px 24px / 22px 40px 20px 44px; padding: 3.5rem 2.5rem; }
.r4y-cta::before { content: ""; position: absolute; top: -14px; left: 18%; width: 96px; height: 28px; transform: translateX(-50%) rotate(-8deg); background: rgba(239, 79, 155, .45); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-cta h2 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.375rem); }
.r4y-cta p { color: #e3f3f2; margin-bottom: 1.75rem; }

/* Panels */
.r4y-panel-pink, .r4y-panel-teal { position: relative; padding: 2.5rem 2.75rem; }
.r4y-panel-pink { background: var(--r4y-pink-soft); border-radius: 42px 18px 38px 24px / 22px 40px 20px 44px; }
.r4y-panel-pink.is-centered { text-align: center; }
.r4y-panel-pink.is-centered .r4y-measure { margin-inline: auto; }
.r4y-panel-teal { background: var(--r4y-note); color: #3f3a33; border-radius: 3px; box-shadow: var(--r4y-shadow); transform: rotate(-.4deg); }
.r4y-panel-teal::before { content: ""; position: absolute; top: -14px; left: 18%; width: 96px; height: 28px; transform: translateX(-50%) rotate(-8deg); background: rgba(42, 179, 163, .32); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-panel-teal p { color: #3f3a33; }
.r4y-panel-teal strong { background: linear-gradient(100deg, transparent 1%, var(--r4y-sun) 3%, var(--r4y-sun) 97%, transparent 99%) 0 88% / 100% 42% no-repeat; color: var(--r4y-head); }
.r4y-panel-teal .r4y-eyebrow { color: var(--r4y-teal-dark); }

/* Luggage tags: who / ages / where, and the giving amounts */
.r4y-facts, .r4y-tiers { gap: 1.75rem !important; }
.r4y-fact, .r4y-tier { background-image: none; box-shadow: none; border-radius: 0; padding: 1.35rem 1.5rem 1.35rem 2.9rem; clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 50%); filter: drop-shadow(0 8px 14px rgba(59, 45, 52, .16)); }
.r4y-fact::before, .r4y-tier::before { content: ""; position: absolute; left: 14px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--r4y-paper); box-shadow: inset 0 0 0 2px rgba(0, 128, 125, .45); }
.r4y-fact > * + *, .r4y-tier > * + * { margin-block-start: .35rem; }
.r4y-fact .r4y-eyebrow { font-size: 1.75rem !important; margin: 0; }
.r4y-fact .r4y-fact-value { font-family: var(--r4y-f-head); font-size: 1.1875rem; font-weight: 500; color: var(--r4y-head); line-height: 1.35; }
.r4y-tier .r4y-amount { font: 700 3.375rem/1 var(--r4y-f-script); color: var(--r4y-pink); }
.r4y-tier h3 { font-size: 1.1875rem; }
.r4y-tier p { line-height: 1.6; }
.r4y-donate { max-width: 560px; padding: 2.6rem 2.5rem; background-image: none; }
.r4y-donate::after { content: ""; position: absolute; top: -14px; left: 50%; width: 96px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(239, 79, 155, .3); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-contact .r4y-card { background: var(--r4y-note); transform: rotate(1.5deg); padding: 2.2rem 1.9rem 1.9rem; }
.r4y-contact .r4y-card::after { content: ""; position: absolute; top: -14px; left: 50%; width: 96px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(239, 79, 155, .3); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-contact .r4y-card p, .r4y-contact .r4y-card li { line-height: 1.65; }

/* ---------- Team ---------- */
.r4y-team { margin-bottom: 3.5rem; gap: 2rem 1.25rem !important; }
.r4y-team-narrow { max-width: 640px; }
.r4y-member { text-align: center; }
.r4y-member > * { margin-block: 0; }
.r4y-member .r4y-initial { position: relative; width: 104px; height: 104px; margin: 0 auto .7rem; display: flex; align-items: center; justify-content: center; font: 700 3.375rem/1 var(--r4y-f-script); color: var(--r4y-pink); background: none; }
.r4y-member .r4y-initial::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .9; -webkit-mask: var(--r4y-scrib) center / 100% 100% no-repeat; mask: var(--r4y-scrib) center / 100% 100% no-repeat; }
.r4y-member .r4y-initial.is-teal { color: var(--r4y-teal); }
.r4y-team-narrow .r4y-member .r4y-initial { width: 64px; height: 64px; font-size: 1.875rem; }
.r4y-member .r4y-name { font-family: var(--r4y-f-head); font-size: 1.125rem; font-weight: 600; color: var(--r4y-head); }
.r4y-member .r4y-role { font-size: .8125rem; }

.r4y-dog { position: relative; margin: 0 0 .9rem; background: #fff; padding: 9px 9px 36px; box-shadow: var(--r4y-shadow); transform: rotate(-4deg); }
.r4y-member:nth-child(2) .r4y-dog { transform: rotate(2.5deg); }
.r4y-member:nth-child(3) .r4y-dog { transform: rotate(-1.5deg); }
.r4y-dog img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 0; }
.r4y-dog::after { content: ""; position: absolute; top: -12px; left: 50%; width: 76px; height: 24px; transform: translateX(-50%) rotate(-3deg); background: rgba(239, 79, 155, .3); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-dog + .r4y-name { position: relative; margin-top: -3.1rem !important; margin-bottom: 1.2rem !important; font: 700 1.5rem/1 var(--r4y-f-script) !important; }
.r4y-face-ken img { object-position: 50% 20%; }
.r4y-face-benji img { object-position: 46% 40%; }
.r4y-face-bindi img { object-position: 48% 42%; }

/* Photos: taped polaroids */
.r4y-photo { position: relative; margin: 0; background: #fff; padding: 12px 12px 16px; box-shadow: var(--r4y-shadow); transform: rotate(2.5deg); }
/* Frankie's photo is a round crop, so it is shown as a round cut-out rather than a polaroid */
.r4y-frankie { position: relative; max-width: 320px; margin: 0 auto; transform: rotate(-3deg); }
.r4y-frankie::after, .r4y-photo::after { content: ""; position: absolute; z-index: 2; top: -14px; left: 50%; width: 96px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(42, 179, 163, .32); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-circle.r4y-frankie img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 45%; border-radius: 50%; border: 10px solid #fff; box-sizing: border-box; box-shadow: var(--r4y-shadow); display: block; }
.r4y-split-reverse { align-items: center !important; }
.r4y-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; display: block; }
.r4y-photo.is-wide img { aspect-ratio: 16 / 10; }

/* ---------- Lists ---------- */
.r4y-ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .5rem 2rem; }
.r4y-ticks li { position: relative; padding-left: 2.2rem; font-size: 1rem; line-height: 1.5; min-height: 30px; display: flex; align-items: center; color: var(--r4y-head); }
.r4y-ticks li::before { content: ""; position: absolute; left: 0; top: 50%; margin-top: -13px; width: 26px; height: 26px; background: var(--r4y-pink); -webkit-mask: var(--r4y-m-tick) center / contain no-repeat; mask: var(--r4y-m-tick) center / contain no-repeat; }
.r4y-ticks.is-cards { background: #fff; border: 2px dashed rgba(0, 128, 125, .4); border-radius: 22px 14px 26px 16px / 16px 24px 14px 22px; padding: 2rem 2.25rem; gap: 1rem 2rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.r4y-panel-teal .r4y-ticks li { color: var(--r4y-head); }

.r4y-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; font-size: .9375rem; font-weight: 500; }
.r4y-rule-top { border-top: 2px dashed var(--r4y-rule); padding-top: 1.25rem; margin-top: 1.25rem !important; }

/* ---------- Forms: written on lined paper ---------- */
.r4y-form-wrap { position: relative; background-color: #fff; background-image: linear-gradient(90deg, transparent 50px, rgba(212, 38, 127, .28) 50px, rgba(212, 38, 127, .28) 52px, transparent 52px), repeating-linear-gradient(180deg, transparent 0 33px, rgba(0, 128, 125, .13) 33px 34px); background-position: 0 0, 0 14px; padding: 2.4rem 2.5rem 1.5rem 4.75rem; box-shadow: var(--r4y-shadow); }
.r4y-form-wrap::before { content: ""; position: absolute; top: -14px; left: 18%; width: 96px; height: 28px; transform: translateX(-50%) rotate(-8deg); background: rgba(42, 179, 163, .32); clip-path: polygon(3% 0, 97% 5%, 100% 30%, 97% 55%, 100% 80%, 96% 100%, 4% 95%, 0 70%, 3% 45%, 0 18%); }
.r4y-form p { margin: 0 0 1.4rem; }
.r4y-form label { display: block; font: 700 1.5rem/1.1 var(--r4y-f-script); color: var(--r4y-teal); margin-bottom: .1rem; }
.r4y-form label span { font: 400 .875rem var(--r4y-f-body); color: #7d7278; }
.r4y-form input, .r4y-form textarea { width: 100%; box-sizing: border-box; padding: .6rem 0; border: 0; border-bottom: 2px solid rgba(0, 128, 125, .3); background: transparent; font: inherit; font-size: 1rem; color: var(--r4y-head); border-radius: 0; }
.r4y-form input:focus, .r4y-form textarea:focus { outline: none; border-bottom-color: var(--r4y-teal); }
.r4y-form textarea { resize: vertical; line-height: 34px; }
.r4y-form button { cursor: pointer; }
.r4y-form-small { font-size: .8125rem; }
.r4y-form-note { padding: .85rem 1rem; border-radius: 10px; font-size: .9375rem; margin: 0 0 1.5rem; }
.r4y-form-note.is-ok { background: var(--r4y-teal-soft); color: var(--r4y-teal-dark); }
.r4y-form-note.is-error { background: #fde8e4; color: #9b2a17; }
.r4y-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.r4y-admin-note { padding: 1rem; border: 1px dashed var(--r4y-pink); border-radius: 12px; color: var(--r4y-pink-ink); font-size: .875rem; }
.r4y-contact { gap: 3.5rem; align-items: flex-start !important; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .r4y-carousel:focus-visible {
	outline: 3px solid var(--r4y-teal); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Accessibility toolbar ---------- */
/* Readable: one plain font everywhere. Dyslexia friendly: Lexend everywhere, wider tracking. */
html.r4y-font-readable { --wp--preset--font-family--fraunces: Verdana, Geneva, sans-serif; --wp--preset--font-family--caveat: Verdana, Geneva, sans-serif; --wp--preset--font-family--lexend: Verdana, Geneva, sans-serif; }
html.r4y-font-lexend { --wp--preset--font-family--fraunces: Lexend, Verdana, sans-serif; --wp--preset--font-family--caveat: Lexend, Verdana, sans-serif; }
html.r4y-font-lexend body { letter-spacing: .03em; }
html.r4y-font-readable .r4y-section-sub, html.r4y-font-lexend .r4y-section-sub, html.r4y-font-readable .r4y-hero-b, html.r4y-font-lexend .r4y-hero-b { transform: none; }
html.r4y-lh-wide .wp-site-blocks p, html.r4y-lh-wide .wp-site-blocks li { line-height: 2; }
html.r4y-lh-wider .wp-site-blocks p, html.r4y-lh-wider .wp-site-blocks li { line-height: 2.5; }
html.r4y-contrast .wp-site-blocks { filter: contrast(1.6) saturate(1.2); }

.r4y-a11y-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 997; transition: background .3s; }
.r4y-a11y-tab { position: fixed; left: 0; bottom: 1.25rem; z-index: 1001; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: .9rem .5rem; border: 0; border-radius: 0 16px 10px 0 / 0 10px 16px 0; background: var(--r4y-teal); color: #fff; cursor: pointer; font: 600 11px/1 var(--r4y-f-body); box-shadow: 3px 3px 0 var(--r4y-pink); }
.r4y-a11y-tab > span:first-child { font-size: 15px; }
.r4y-a11y-tab-text { writing-mode: vertical-rl; letter-spacing: .05em; }
.r4y-a11y-panel { position: fixed; left: 0; top: 0; bottom: 0; width: 290px; max-width: 90vw; z-index: 1002; overflow-y: auto; background: var(--r4y-paper); box-shadow: 4px 0 24px rgba(0, 0, 0, .12); padding: 1.25rem 1.25rem 2rem; font-family: var(--r4y-f-body); color: var(--r4y-head); }
.r4y-a11y-panel[hidden] { display: none; }
.r4y-a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.r4y-a11y-title { font: 700 1.75rem/1 var(--r4y-f-script); color: var(--r4y-teal); margin: 0; }
.r4y-a11y-x { background: none; border: 0; font-size: 16px; cursor: pointer; width: 44px; height: 44px; color: var(--r4y-ink); }
.r4y-a11y-group { margin-bottom: 1.1rem; }
.r4y-a11y-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #00706e; margin: 0 0 .5rem; }
.r4y-a11y-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.r4y-a11y-btn { min-height: 40px; padding: .45rem .7rem; border: 1.5px solid #e2d6db; border-radius: 10px 4px 10px 4px; background: #fff; color: var(--r4y-head); font: 500 12px/1.2 var(--r4y-f-body); cursor: pointer; }
.r4y-a11y-btn[aria-pressed="true"] { background: var(--r4y-teal-soft); border-color: var(--r4y-teal); color: var(--r4y-teal-dark); font-weight: 600; }
.r4y-a11y-swatch { width: 32px; height: 32px; min-height: 0; padding: 0; border-radius: 50%; }
.r4y-a11y-reset { width: 100%; margin-top: .5rem; }

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link.wp-element-button, .wp-block-button__link.wp-element-button:hover { transition: none; transform: none; }
	.r4y-carousel-frame img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.r4y-header-inner { flex-wrap: wrap !important; justify-content: center !important; }
}
@media (max-width: 880px) {
	.r4y-split { gap: 2.5rem; }
	.r4y-steps::before { display: none; }
}
@media (max-width: 781px) {
	.r4y-split-reverse .wp-block-column:first-child { order: 0; }
	.r4y-opener, .r4y-hero { padding-top: 3rem; }
	.r4y-carousel { max-width: 300px !important; }
	.r4y-hero .wp-block-column:last-child::before, .r4y-hero .wp-block-column:last-child::after { display: none; }
	.r4y-socials a { margin-left: 1rem; }
	.r4y-footer-inner, .r4y-footer-row, .r4y-footer-left { align-items: flex-start !important; }
	.r4y-offers { padding: 2.25rem 1.5rem 2rem 4rem; }
}
@media (max-width: 560px) {
	:root { --r4y-gutter: 1.1rem; }
	.r4y-panel-pink, .r4y-panel-teal, .r4y-donate { padding: 1.9rem 1.4rem; }
	.r4y-cta { padding: 2.5rem 1.4rem; }
	.r4y-form-wrap, .r4y-offers { padding: 2rem 1.25rem 1rem 1.5rem; background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(0, 128, 125, .13) 33px 34px); }
	.r4y-offers { padding-bottom: 1.75rem; }
	.r4y-ticks.is-cards { grid-template-columns: 1fr; padding: 1.5rem 1.25rem; }
	.r4y-team-narrow { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1rem !important; }
	.r4y-dog + .r4y-name { font-size: 1.25rem !important; }
	.r4y-a11y-tab { padding: .7rem .6rem; }
	.r4y-a11y-tab-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Grid columns ----------
   WordPress sizes grid columns from its own gap, so the wider gaps above
   would push a column onto the next row. Fix the column counts here. */
.r4y-steps, .r4y-reviews, .r4y-tiers, .r4y-facts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.r4y-offers, .r4y-pillars, .r4y-join-offers, .r4y-details { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.r4y-team:not(.r4y-team-narrow) { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.r4y-team-narrow { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 880px) {
	.r4y-team:not(.r4y-team-narrow) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 781px) {
	.r4y-steps, .r4y-reviews, .r4y-tiers, .r4y-facts, .r4y-offers, .r4y-pillars, .r4y-join-offers, .r4y-details { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
	.r4y-team:not(.r4y-team-narrow) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
