/*
Theme Name: Rustic Pools Waterline
Theme URI: https://rusticpools.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: Block theme for Rustic Pools, Inc., Orangevale, California: in-ground vinyl pool specialists since 1978. "Waterline": warm pool-deck pages, sunlight dancing on the water, the family's sun mascot, and a live 3D pool you can reline with 53 real liner patterns. Core blocks only; the interactive pieces are small HTML blocks wired by assets/site.js.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: rp-waterline
*/

/* =====================================================================================================================
   TOKENS
   ===================================================================================================================== */
:root {
	--rp-ink: var(--wp--preset--color--ink);
	--rp-ink-soft: var(--wp--preset--color--ink-soft);
	--rp-deep: var(--wp--preset--color--deep);
	--rp-pool: var(--wp--preset--color--pool);
	--rp-aqua: var(--wp--preset--color--aqua);
	--rp-foam: var(--wp--preset--color--foam);
	--rp-sun: var(--wp--preset--color--sun);
	--rp-sun-deep: var(--wp--preset--color--sun-deep);
	--rp-sun-soft: var(--wp--preset--color--sun-soft);
	--rp-shorts: var(--wp--preset--color--shorts);
	--rp-deck: var(--wp--preset--color--deck);
	--rp-sand: var(--wp--preset--color--sand);
	--rp-night: var(--wp--preset--color--night);
	--rp-amber-ink: #8A5300;            /* warm accent for text on light (5.3:1 on deck) */
	--rp-on-dark: #E7F2F7;
	--rp-on-dark-soft: #A9C1CF;
	--rp-rule: rgba(13, 34, 49, .12);
	--rp-rule-dark: rgba(231, 242, 247, .14);
	--rp-radius: 22px;
	--rp-radius-sm: 14px;
	--rp-ease: cubic-bezier(.2, .7, .2, 1);
	--rp-bounce: cubic-bezier(.34, 1.56, .64, 1);
	--rp-shadow: 0 1px 2px rgba(10, 32, 48, .06), 0 16px 36px -20px rgba(10, 32, 48, .38);
	--rp-shadow-lg: 0 2px 6px rgba(10, 32, 48, .06), 0 34px 70px -34px rgba(10, 32, 48, .55);
	--rp-header-h: 84px;
	--rp-display: var(--wp--preset--font-family--display);
	--rp-body: var(--wp--preset--font-family--body);
	--rp-caustics: url(assets/img/caustics-a.webp);
	--rp-caustics-b: url(assets/img/caustics-b.webp);
	/* poured-concrete deck: a whisper of aggregate grain */
	--rp-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .25 0 0 0 0 .16 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
	/* the waterline: a row of glass mosaic tile, the band every vinyl pool wears just under the coping */
	--rp-mosaic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='12'%3E%3Crect width='96' height='12' fill='%23dff1f6'/%3E%3Cg%3E%3Crect x='.5' y='.5' width='11' height='11' rx='1.6' fill='%231265AE'/%3E%3Crect x='12.5' y='.5' width='11' height='11' rx='1.6' fill='%233BC4E2'/%3E%3Crect x='24.5' y='.5' width='11' height='11' rx='1.6' fill='%230A3655'/%3E%3Crect x='36.5' y='.5' width='11' height='11' rx='1.6' fill='%235CA7DA'/%3E%3Crect x='48.5' y='.5' width='11' height='11' rx='1.6' fill='%231265AE'/%3E%3Crect x='60.5' y='.5' width='11' height='11' rx='1.6' fill='%23F6B21B'/%3E%3Crect x='72.5' y='.5' width='11' height='11' rx='1.6' fill='%233BC4E2'/%3E%3Crect x='84.5' y='.5' width='11' height='11' rx='1.6' fill='%230A3655'/%3E%3C/g%3E%3C/svg%3E");
}

html { scroll-padding-top: calc(var(--rp-header-h) + 1rem); -webkit-text-size-adjust: 100%; }
/* every theme component sizes border-box (block themes leave content-box: height:100% + padding overflowed on other builds) */
[class*="rp-"], [class*="rp-"]::before, [class*="rp-"]::after, .rp-form *, .rp-pool *, .rp-ba *, .rp-fan *, .rp-bucket *, .rp-map * { box-sizing: border-box; }
input, textarea, select { box-sizing: border-box; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--rp-sun); color: var(--rp-ink); }
img { height: auto; }
:where(h1, h2, h3, h4) { text-wrap: balance; font-variation-settings: "opsz" 120; }
:where(h3, h4) { font-variation-settings: "opsz" 60; }
:where(p, li) { text-wrap: pretty; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 420; color: var(--rp-pool); letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--rp-sun-deep); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text, .rp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.rp-skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--rp-sun); color: var(--rp-ink); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.rp-skip:focus { top: .75rem; }

/* small type roles */
.rp-eyebrow { font-family: var(--rp-body); font-size: .78rem !important; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--rp-amber-ink); margin-bottom: .1rem !important; display: flex; align-items: center; gap: .65rem; line-height: 1.45; }
.rp-eyebrow::before { content: ""; width: 1.9rem; height: 10px; flex: none; background: radial-gradient(circle at 5px 5px, var(--rp-sun) 0 3.4px, transparent 3.8px) 0 0 / 10px 10px no-repeat, linear-gradient(currentColor, currentColor) 13px 50% / calc(100% - 13px) 1.5px no-repeat; opacity: .9; }
.rp-eyebrow--center { justify-content: center; }
.rp-lead { font-size: var(--wp--preset--font-size--md) !important; line-height: 1.58; color: var(--rp-ink-soft); max-width: 40rem; }
.rp-fine { font-size: .87rem !important; color: var(--rp-ink-soft); line-height: 1.55; }
.rp-center { text-align: center; }
.rp-center .rp-lead, .rp-center > .rp-lead { margin-inline: auto; }
.rp-script { font-family: var(--rp-display); font-style: italic; font-weight: 420; }

/* =====================================================================================================================
   BUTTONS
   ===================================================================================================================== */
.wp-element-button, .wp-block-button__link { transition: background-color .2s, color .2s, transform .25s var(--rp-ease), box-shadow .25s; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 24px -14px rgba(226, 134, 11, .85); }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 18px 28px -16px rgba(226, 134, 11, .95); }
.wp-block-button__link:active { transform: translateY(1px); }
.wp-block-button.is-style-ghost > .wp-block-button__link { background: transparent; color: var(--rp-ink); border: 2px solid rgba(13, 34, 49, .85); box-shadow: none; padding: calc(.95rem - 2px) calc(1.6rem - 2px); }
.wp-block-button.is-style-ghost > .wp-block-button__link:hover { background: var(--rp-ink); color: #fff; border-color: var(--rp-ink); }
.wp-block-button.is-style-ghost-light > .wp-block-button__link { background: rgba(255, 255, 255, .06); color: #fff; border: 1.5px solid rgba(231, 242, 247, .55); box-shadow: none; padding: calc(.95rem - 1.5px) calc(1.6rem - 1.5px); }
.wp-block-button.is-style-ghost-light > .wp-block-button__link:hover { background: #fff; color: var(--rp-ink); border-color: #fff; }
.wp-block-button.is-style-link > .wp-block-button__link { background: none; color: var(--rp-pool); padding: .2rem 0; box-shadow: none; border-radius: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.wp-block-button.is-style-link > .wp-block-button__link::after { content: " →"; display: inline-block; transition: transform .25s var(--rp-ease); }
.wp-block-button.is-style-link > .wp-block-button__link:hover { color: var(--rp-deep); transform: none; }
.wp-block-button.is-style-link > .wp-block-button__link:hover::after { transform: translateX(4px); }
.rp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--rp-sun); color: var(--rp-ink); font-weight: 750; text-decoration: none; padding: .85rem 1.45rem; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 750; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 24px -14px rgba(226, 134, 11, .85); transition: background .2s, transform .25s var(--rp-ease); }
.rp-btn:hover { background: var(--rp-sun-deep); color: var(--rp-ink); transform: translateY(-2px); }
.rp-btn--ghost { background: transparent; color: inherit; border: 2px solid currentColor; box-shadow: none; padding: calc(.85rem - 2px) calc(1.45rem - 2px); }
.rp-btn--ghost:hover { background: var(--rp-ink); color: #fff; border-color: var(--rp-ink); }
.rp-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================================================================================
   HEADER: mosaic waterline (scrolls away) + frosted deck header (sticks)
   ===================================================================================================================== */
.rp-waterband { height: 12px; background: var(--rp-mosaic) 0 0 / auto 12px repeat-x; }
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: -12px; z-index: 60; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 20px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 34px; } }
.rp-header { position: relative; isolation: isolate; transition: box-shadow .3s var(--rp-ease); }
/* the frost lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.rp-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(248, 242, 232, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.rp-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(13, 34, 49, .14) 12%, rgba(13, 34, 49, .14) 88%, transparent); }
.rp-header.is-scrolled { box-shadow: 0 18px 34px -28px rgba(10, 32, 48, .55); }
.rp-header__row { min-height: var(--rp-header-h); gap: 1.25rem !important; margin-inline: auto; }
.rp-brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; color: var(--rp-ink); text-decoration: none; border-radius: 10px; }
.rp-brand__mark { width: 66px; height: auto; display: block; transition: transform .5s var(--rp-bounce); filter: drop-shadow(0 4px 6px rgba(226, 134, 11, .18)); }
.rp-brand:hover .rp-brand__mark { transform: rotate(-5deg) scale(1.05); }
.rp-brand__name { display: flex; flex-direction: column; font-family: var(--rp-display); font-weight: 620; font-size: 1.42rem; line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 48; }
.rp-brand__name small { font-family: var(--rp-body); font-weight: 650; font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; color: var(--rp-ink-soft); margin-top: .38rem; }
.rp-nav { flex: 1; }
.rp-nav .wp-block-navigation__container { gap: .2rem 1.5rem; }
.rp-nav .wp-block-navigation-item__content { color: var(--rp-ink); text-decoration: none; padding: .4rem 0; position: relative; }
.rp-nav > .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6'%3E%3Cpath d='M0 3 Q4 0 8 3 T16 3' fill='none' stroke='%23F6B21B' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 16px 6px repeat-x; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--rp-ease); }
.rp-nav .wp-block-navigation-item__content:hover::after, .rp-nav .current-menu-item > .wp-block-navigation-item__content::after, .rp-nav [aria-current="page"]::after, .rp-nav .current-menu-ancestor > .wp-block-navigation-item__content::after { transform: scaleX(1) !important; }
.rp-nav .wp-block-navigation-item__content:hover { color: var(--rp-pool); }
/* submenus: a little tile card under the item */
.rp-nav .wp-block-navigation__submenu-container { border: 0 !important; border-radius: 18px; padding: .6rem !important; min-width: 17rem !important; background: #fff !important; box-shadow: var(--rp-shadow-lg); margin-top: .35rem; }
.rp-nav .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -.9rem; height: .9rem; }
.rp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .62rem .85rem !important; border-radius: 12px; font-weight: 600; display: block; }
.rp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--rp-foam); color: var(--rp-deep); }
.rp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.rp-nav .wp-block-navigation__submenu-icon { margin-left: .3rem; }
.rp-header__ctas { display: flex; align-items: center; gap: .55rem; flex: none; }
.rp-call { display: inline-flex; align-items: center; gap: .6rem; color: var(--rp-ink); text-decoration: none; font-weight: 750; padding: .45rem .75rem .45rem .45rem; border-radius: 999px; white-space: nowrap; transition: background .2s; }
.rp-call:hover { background: rgba(255, 255, 255, .8); color: var(--rp-ink); }
.rp-call__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--rp-deep); color: var(--rp-sun); flex: none; }
.rp-call__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rp-call__text { display: flex; flex-direction: column; line-height: 1.12; font-size: 1.02rem; }
.rp-call__text small { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rp-ink-soft); font-weight: 700; }
.rp-cta { display: inline-flex; align-items: center; gap: .45rem; background: var(--rp-sun); color: var(--rp-ink); font-weight: 800; text-decoration: none; padding: .78rem 1.2rem; border-radius: 999px; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 22px -14px rgba(226, 134, 11, .95); transition: background .2s, transform .25s var(--rp-ease); }
.rp-cta:hover { background: var(--rp-sun-deep); color: var(--rp-ink); transform: translateY(-2px); }
.rp-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* nav: hamburger below 1240px (core only switches at 600px) */
@media (max-width: 1239px) {
	.rp-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.rp-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.rp-nav { flex: 0 0 auto; order: 3; }
	.rp-header__ctas { margin-left: auto; }
}
.rp-nav .wp-block-navigation__responsive-container-open { width: 46px; height: 46px; border-radius: 50%; background: var(--rp-deep); color: #fff; align-items: center; justify-content: center; }
.rp-nav .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; }
.rp-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--rp-deep) !important; color: #fff !important; padding: 1.25rem clamp(1rem, 5vw, 2.5rem) 2.5rem; overflow-y: auto; }
.rp-nav .wp-block-navigation__responsive-container.is-menu-open::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--rp-caustics) 0 0 / 420px, var(--rp-caustics-b) 0 0 / 700px; opacity: .14; pointer-events: none; animation: rp-drift 40s linear infinite; }
.rp-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4.5rem !important; align-items: flex-start !important; }
.rp-nav .is-menu-open .wp-block-navigation__container { gap: .15rem !important; align-items: flex-start !important; }
.rp-nav .is-menu-open .wp-block-navigation-item__content { color: #fff !important; font-family: var(--rp-display); font-weight: 560; font-size: clamp(1.6rem, 6.5vw, 2.3rem); padding: .2rem 0 !important; }
.rp-nav .is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; box-shadow: none; padding: 0 0 .6rem .2rem !important; margin: 0; min-width: 0 !important; }
.rp-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-family: var(--rp-body); font-size: 1.05rem; font-weight: 600; padding: .3rem 0 !important; color: var(--rp-on-dark) !important; }
.rp-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: none; color: var(--rp-sun) !important; }
.rp-nav .is-menu-open .wp-block-navigation-item__content::after { display: none !important; }
.rp-nav .rp-nav-cta { display: none !important; }
.rp-nav .is-menu-open .rp-nav-cta { display: block !important; }
.rp-nav .is-menu-open .rp-nav-cta--est { margin-top: 1.4rem !important; }
.rp-nav .is-menu-open .rp-nav-cta .wp-block-navigation-item__content { display: inline-flex !important; font-family: var(--rp-body) !important; font-size: 1.05rem !important; font-weight: 800 !important; padding: .85rem 1.4rem !important; border-radius: 999px; }
.rp-nav .is-menu-open .rp-nav-cta--est .wp-block-navigation-item__content { background: var(--rp-sun); color: var(--rp-ink) !important; }
.rp-nav .is-menu-open .rp-nav-cta--call .wp-block-navigation-item__content { border: 1.5px solid rgba(231, 242, 247, .5); margin-top: .5rem; }
.rp-nav .wp-block-navigation__responsive-container-close { width: 46px; height: 46px; top: 1rem !important; right: 1rem !important; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.rp-nav .wp-block-navigation__responsive-container-close svg { fill: currentColor; }
@media (max-width: 860px) {
	.rp-call__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.rp-call { padding: .2rem; }
}
@media (max-width: 600px) {
	:root { --rp-header-h: 70px; }
	.rp-brand__mark { width: 52px; }
	.rp-brand__name { font-size: 1.18rem; }
	.rp-brand__name small { display: none; }
	.rp-cta { padding: .66rem .95rem; font-size: .95rem; }
	.rp-cta svg { display: none; }
}
@media (max-width: 400px) { .rp-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .rp-cta { padding: .7rem; } .rp-cta svg { display: block; } .rp-brand__name { font-size: 1.05rem; } }

/* =====================================================================================================================
   LAYOUT: sections
   ===================================================================================================================== */
.rp-main { margin-top: 0 !important; }
.rp-main > .wp-block-post-content > *:first-child { margin-top: 0; }
.rp-section { padding-block: var(--wp--preset--spacing--60); margin-block: 0 !important; position: relative; }
.rp-section + .rp-section, .rp-waterline-wrap, .rp-waterline-wrap + *, .rp-hero + *, .rp-pagehead + * { margin-top: 0 !important; }
.rp-waterline-wrap { margin-bottom: 0 !important; }
.rp-section--tight { padding-block: var(--wp--preset--spacing--50); }
.rp-section--white { background: #fff; }
.rp-section--foam { background: var(--rp-foam); }
.rp-section--sand { background: var(--rp-sand); }
.rp-section__head { margin-bottom: clamp(1.75rem, 1rem + 2.2vw, 3.25rem) !important; }
.rp-section__head > * { max-width: 46rem; }
.rp-section__head.rp-center > * { margin-inline: auto; }
.rp-section__head h2 { margin-top: .45rem; }
.rp-section__head .rp-lead { margin-top: 1rem; }
.rp-deckgrain { background-image: var(--rp-grain); background-size: 220px; }

/* water sections: deep blue with sunlight moving across the floor */
.rp-water { background: radial-gradient(120% 90% at 20% 0%, #1A7CC4 0%, var(--rp-deep) 55%, #072A45 100%); color: var(--rp-on-dark); isolation: isolate; overflow: hidden; }
.rp-water::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: var(--rp-caustics) 0 0 / 520px, var(--rp-caustics-b) 0 0 / 860px; opacity: .2; animation: rp-drift 46s linear infinite; pointer-events: none; }
.rp-water :where(h1, h2, h3, h4) { color: #fff; }
.rp-water h1 em, .rp-water h2 em, .rp-water h3 em { color: var(--rp-sun); }
.rp-water .rp-eyebrow { color: var(--rp-sun-soft); }
.rp-water .rp-lead, .rp-water .rp-fine { color: var(--rp-on-dark); }
.rp-water a:where(:not(.wp-element-button):not(.rp-btn)) { color: var(--rp-sun-soft); }
.rp-water a:where(:not(.wp-element-button):not(.rp-btn)):hover { color: #fff; }
.rp-water .wp-block-button.is-style-link > .wp-block-button__link { color: var(--rp-sun-soft); }
@keyframes rp-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-520px, -260px, 0); } }

/* the waterline divider: coping edge, mosaic tile row, then water with light on it */
.rp-waterline { position: relative; height: 54px; margin: 0 !important; background: linear-gradient(#EADFCB, #E2D4BC) 0 0 / 100% 14px no-repeat, var(--rp-mosaic) 0 14px / auto 12px repeat-x, linear-gradient(180deg, #2E9BD3 0, #1673B9 100%) 0 26px / 100% 28px no-repeat; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .05); overflow: hidden; }
.rp-waterline::after { content: ""; position: absolute; left: 0; right: 0; top: 26px; bottom: 0; background: var(--rp-caustics) 0 0 / 260px; opacity: .45; animation: rp-drift-x 20s linear infinite; }
@keyframes rp-drift-x { from { background-position: 0 0; } to { background-position: -520px -40px; } }

/* =====================================================================================================================
   PAGE HEAD (interior pages): deck, sun, crumbs, a pool-shaped photo, then the waterline
   ===================================================================================================================== */
.rp-pagehead { position: relative; isolation: isolate; padding-block: clamp(2.6rem, 1.6rem + 4vw, 5.5rem) clamp(2.4rem, 1.5rem + 3vw, 4.5rem); background: var(--rp-deck); overflow: hidden; }
.rp-pagehead::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 80% at 92% 8%, rgba(246, 178, 27, .22), transparent 70%), var(--rp-grain); background-size: auto, 220px; }
.rp-pagehead__sun { position: absolute; z-index: -1; right: clamp(-6rem, -4vw, -2rem); top: clamp(-5rem, -3vw, -2rem); width: clamp(13rem, 10rem + 14vw, 26rem); opacity: .16; pointer-events: none; }
.rp-pagehead__sun img { width: 100%; height: auto; display: block; }
.rp-pagehead__inner { margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
.rp-pagehead__inner > * { margin-block: 0 !important; }
.rp-pagehead h1 { margin-top: .5rem !important; max-width: 17ch; }
.rp-pagehead .rp-lead { margin-top: 1.1rem !important; }
.rp-pagehead.has-media .rp-pagehead__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.rp-pagehead__copy > * { margin-block: 0; }
.rp-pagehead__copy > * + * { margin-top: 1rem; }
.rp-crumbs { font-size: .86rem !important; color: var(--rp-ink-soft); margin-bottom: 1.2rem !important; }
.rp-crumbs a { color: var(--rp-ink-soft); text-decoration: none; }
.rp-crumbs a:hover { color: var(--rp-pool); text-decoration: underline; }
.rp-crumbs span { margin-inline: .35rem; opacity: .6; }
@media (max-width: 860px) { .rp-pagehead.has-media .rp-pagehead__inner { grid-template-columns: minmax(0, 1fr); } }

/* photos clipped to pool shapes: rectangle with a Roman end, kidney, and an L */
.rp-poolshape { position: relative; margin: 0; }
.rp-poolshape img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.rp-shape-roman { border-radius: 999px 34px 34px 999px / 50% 34px 34px 50%; }
.rp-shape-kidney { border-radius: 58% 42% 46% 54% / 46% 60% 40% 54%; }
.rp-shape-soft { border-radius: var(--rp-radius); }
.rp-coping { padding: 10px; background: linear-gradient(145deg, #F4ECDD, #E3D5BC); box-shadow: var(--rp-shadow), inset 0 1px 0 rgba(255, 255, 255, .7); }
.rp-coping > img { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }

/* =====================================================================================================================
   HOME HERO: the deck at mid-morning, the sun coming up behind a pool you can reline
   ===================================================================================================================== */
.rp-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(1.75rem, .8rem + 4vw, 4.25rem) clamp(2rem, 1rem + 3vw, 3.75rem); background: var(--rp-deck); }
.rp-hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(48% 62% at 76% 14%, rgba(255, 210, 110, .5), rgba(255, 210, 110, 0) 72%), linear-gradient(180deg, #FBF6EE 0%, var(--rp-deck) 60%, #F4EBDD 100%); }
.rp-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--rp-grain) 0 0 / 220px; opacity: .55; pointer-events: none; }
.rp-hero__grid { margin-inline: auto; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.rp-hero__copy > * { margin-block: 0; }
.rp-hero__copy h1 { margin-top: 1rem; font-size: clamp(2.9rem, 1.6rem + 4.3vw, 5.6rem); line-height: .98; letter-spacing: -.028em; font-weight: 600; max-width: 12ch; }
.rp-hero__copy h1 em { display: block; color: var(--rp-pool); font-weight: 400; }
.rp-hero__copy .rp-lead { margin-top: 1.4rem; max-width: 34rem; }
.rp-hero__copy .wp-block-buttons { margin-top: 2rem; }
.rp-hero__badges { list-style: none; padding: 0; margin: 2rem 0 0 !important; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9rem; font-weight: 650; color: var(--rp-ink-soft); }
.rp-hero__badges li { display: inline-flex; align-items: center; gap: .45rem; }
.rp-hero__badges svg { width: 18px; height: 18px; fill: none; stroke: var(--rp-pool); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.rp-hero__media { position: relative; }
.rp-hero__media .rp-try { position: relative; z-index: 2; }
.rp-hero__sun { position: absolute; z-index: -1; width: 66%; right: -1%; top: -18%; pointer-events: none; }
.rp-hero__sun img { width: 100%; height: auto; display: block; -webkit-mask: linear-gradient(#000 70%, transparent 98%); mask: linear-gradient(#000 70%, transparent 98%); }
@media (max-width: 960px) {
	.rp-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.rp-hero__copy h1 { max-width: 12ch; }
	.rp-hero__sun { width: 70%; right: 6%; top: -8%; }
}

/* =====================================================================================================================
   THE POOL: CSS 3D. A box (floor + three walls) set into a deck, coping on top, water on the waterline, sunlight on
   the floor. Liner textures come from assets/liners/ (field = seamless floor/wall tile, border = seamless tile band).
   Everything scales with the pool's own width (cqw), so it is the same picture at 360 and 1440 px.
   ===================================================================================================================== */
.rp-pool { --W: 72cqw; --L: 38cqw; --D: 14.5cqw; --c: 3.4cqw; --bh: 4.1cqw; --tile: 11cqw; --water: 1cqw;
	container-type: inline-size; position: relative; margin: 0; z-index: 0; }
.rp-pool__stage { position: relative; aspect-ratio: 1.36; perspective: 135cqw; perspective-origin: 50% 8%; pointer-events: none; }
.rp-pool__world { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateY(4cqw) rotateX(-40deg) rotateY(-17deg); transition: transform 1.2s var(--rp-ease); }
.rp-pool__world > * { position: absolute; left: calc(50% - var(--fw) / 2); top: calc(50% - var(--fh) / 2); width: var(--fw); height: var(--fh); backface-visibility: hidden; transform-style: flat; }
.rp-pool__deck { --fw: calc(var(--W) * 1.62); --fh: calc(var(--L) * 2.7); transform: translateY(.02cqw) rotateX(90deg);
	background: var(--rp-grain) 0 0 / 7cqw, radial-gradient(closest-side, #E6D8C0 30%, #F1E7D7 62%, #F6EEE2 100%);
	-webkit-mask: linear-gradient(#000 0 0) 50% 50% / var(--W) var(--L) no-repeat, radial-gradient(closest-side, #000 76%, transparent 100%);
	-webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) 50% 50% / var(--W) var(--L) no-repeat exclude, radial-gradient(closest-side, #000 76%, transparent 100%); }
.rp-pool__face { background-color: var(--tone, #1d5c9a); }
.rp-pool__floor { --fw: var(--W); --fh: var(--L); transform: translateY(var(--D)) rotateX(90deg);
	background-image: linear-gradient(180deg, rgba(0, 18, 46, .5) 0%, rgba(0, 18, 46, .08) 45%, rgba(0, 18, 46, .2) 100%), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 16, 40, .35) 100%), var(--field);
	background-size: 100% 100%, 100% 100%, var(--tile) var(--tile); background-position: 0 0, 0 0, 0 0; }
.rp-pool__wall { --fh: var(--D);
	background-image: linear-gradient(180deg, rgba(0, 12, 30, .42) 0%, rgba(0, 12, 30, 0) 5%), linear-gradient(180deg, transparent 45%, rgba(0, 18, 46, .4) 100%), var(--border, none), var(--field);
	background-size: 100% 100%, 100% 100%, auto var(--bh), var(--tile) var(--tile); background-repeat: no-repeat, no-repeat, repeat-x, repeat; background-position: 0 0, 0 0, 0 .25cqw, 0 0; }
.rp-pool.is-borderless .rp-pool__wall { background-image: linear-gradient(180deg, rgba(0, 12, 30, .42) 0%, rgba(0, 12, 30, 0) 5%), linear-gradient(180deg, transparent 40%, rgba(0, 18, 46, .42) 100%), linear-gradient(transparent, transparent), var(--field); }
.rp-pool__wall--back { --fw: var(--W); transform: translateY(calc(var(--D) / 2)) translateZ(calc(var(--L) / -2)); }
.rp-pool__wall--front { --fw: var(--W); transform: translateY(calc(var(--D) / 2)) translateZ(calc(var(--L) / 2)) rotateY(180deg); }
.rp-pool__wall--left { --fw: var(--L); transform: translateY(calc(var(--D) / 2)) translateX(calc(var(--W) / -2)) rotateY(90deg); box-shadow: inset 0 0 0 999px rgba(0, 14, 34, .14); }
.rp-pool__wall--right { --fw: var(--L); transform: translateY(calc(var(--D) / 2)) translateX(calc(var(--W) / 2)) rotateY(-90deg); }
/* vinyl-over steps across the shallow (right) end */
.rp-pool { --s: 2.7cqw; --r: calc(var(--D) / 4); }
.rp-pool__step { background-image: linear-gradient(rgba(255, 255, 255, var(--lift, .1)), rgba(255, 255, 255, var(--lift, .1))), var(--field); background-size: 100% 100%, var(--tile) var(--tile); }
.rp-pool__tread { --fw: var(--s); --fh: var(--L); box-shadow: inset .25cqw 0 0 rgba(255, 255, 255, .5); }
.rp-pool__riser { --fw: var(--L); --fh: var(--r); --lift: 0; box-shadow: inset 0 0 0 999px rgba(0, 20, 50, .16); }
.rp-pool__tread--1 { --lift: .2; transform: translateX(calc(var(--W) / 2 - var(--s) * .5)) translateY(var(--r)) rotateX(90deg); }
.rp-pool__tread--2 { --lift: .14; transform: translateX(calc(var(--W) / 2 - var(--s) * 1.5)) translateY(calc(var(--r) * 2)) rotateX(90deg); }
.rp-pool__tread--3 { --lift: .08; transform: translateX(calc(var(--W) / 2 - var(--s) * 2.5)) translateY(calc(var(--r) * 3)) rotateX(90deg); }
.rp-pool__riser--1 { transform: translateX(calc(var(--W) / 2 - var(--s))) translateY(calc(var(--r) * 1.5)) rotateY(-90deg); }
.rp-pool__riser--2 { transform: translateX(calc(var(--W) / 2 - var(--s) * 2)) translateY(calc(var(--r) * 2.5)) rotateY(-90deg); }
.rp-pool__riser--3 { transform: translateX(calc(var(--W) / 2 - var(--s) * 3)) translateY(calc(var(--r) * 3.5)) rotateY(-90deg); }
/* the top slice of the right wall above the first tread stays; below it the steps cover the wall */
/* sunlight on the floor and walls: two caustic nets drifting at different speeds */
.rp-pool__light { overflow: hidden; background: none !important; mix-blend-mode: normal; }
.rp-pool__light::before, .rp-pool__light::after { content: ""; position: absolute; inset: -60%; background: var(--rp-caustics) 0 0 / calc(var(--tile) * 1.8); opacity: .42; animation: rp-caustic 26s linear infinite; }
.rp-pool__light::after { background: var(--rp-caustics-b) 0 0 / calc(var(--tile) * 3); opacity: .3; animation: rp-caustic-b 39s linear infinite; }
.rp-pool__light--floor { --fw: var(--W); --fh: var(--L); transform: translateY(calc(var(--D) - .06cqw)) rotateX(90deg); }
.rp-pool__light--back { --fw: var(--W); --fh: var(--D); transform: translateY(calc(var(--D) / 2)) translateZ(calc(var(--L) / -2 + .06cqw)); -webkit-mask: linear-gradient(transparent 6%, #000 22%, rgba(0, 0, 0, .55)); mask: linear-gradient(transparent 6%, #000 22%, rgba(0, 0, 0, .55)); }
.rp-pool__light--back::before, .rp-pool__light--back::after { opacity: .3; }
@keyframes rp-caustic { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--tile) * -1.8), calc(var(--tile) * -1.8), 0); } }
@keyframes rp-caustic-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--tile) * 3), calc(var(--tile) * -3), 0); } }
/* the water: clear near you, sky-bright toward the far side, a few sun glints */
.rp-pool__water { --fw: var(--W); --fh: var(--L); transform: translateY(var(--water)) rotateX(90deg);
	background: linear-gradient(180deg, rgba(220, 243, 252, .38) 0%, rgba(140, 212, 240, .2) 30%, rgba(40, 165, 220, .12) 65%, rgba(30, 150, 210, .18) 100%), linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, .24) 44%, transparent 56%), linear-gradient(rgba(25, 145, 205, .14), rgba(25, 145, 205, .14)); }
.rp-pool__water::before, .rp-pool__water::after { content: ""; position: absolute; inset: 0; background-repeat: no-repeat; animation: rp-glint 3.4s ease-in-out infinite alternate; }
.rp-pool__water::before { background-image: radial-gradient(ellipse 1.6cqw .55cqw, rgba(255, 255, 255, .95), transparent 70%), radial-gradient(ellipse 1.1cqw .4cqw, rgba(255, 255, 255, .9), transparent 70%), radial-gradient(ellipse 2cqw .6cqw, rgba(255, 255, 255, .8), transparent 70%); background-position: 18% 26%, 66% 18%, 44% 48%; }
.rp-pool__water::after { background-image: radial-gradient(ellipse 1.3cqw .45cqw, rgba(255, 255, 255, .9), transparent 70%), radial-gradient(ellipse .9cqw .35cqw, rgba(255, 255, 255, .95), transparent 70%), radial-gradient(ellipse 1.5cqw .5cqw, rgba(255, 255, 255, .85), transparent 70%); background-position: 82% 62%, 30% 72%, 58% 84%; animation-delay: -1.7s; }
@keyframes rp-glint { 0% { opacity: .2; } 50% { opacity: 1; } 100% { opacity: .35; } }
/* coping: cream stone with a rounded bullnose, a hair above the deck */
.rp-pool__cope { background: var(--rp-grain) 0 0 / 6cqw, linear-gradient(var(--cdir, 180deg), #E2D3B8 0%, #F3EBDD 55%, #FFFBF3 78%, #CDBB9C 100%); box-shadow: 0 0 0 .06cqw rgba(120, 96, 60, .25); }
.rp-pool__cope--back { --fw: calc(var(--W) + var(--c) * 2); --fh: var(--c); --cdir: 180deg; transform: translateY(-.15cqw) translateZ(calc(var(--L) / -2 - var(--c) / 2)) rotateX(90deg); }
.rp-pool__cope--front { --fw: calc(var(--W) + var(--c) * 2); --fh: var(--c); --cdir: 0deg; transform: translateY(-.15cqw) translateZ(calc(var(--L) / 2 + var(--c) / 2)) rotateX(90deg); }
.rp-pool__cope--left { --fw: var(--c); --fh: var(--L); --cdir: 90deg; transform: translateY(-.16cqw) translateX(calc(var(--W) / -2 - var(--c) / 2)) rotateX(90deg); }
.rp-pool__cope--right { --fw: var(--c); --fh: var(--L); --cdir: 270deg; transform: translateY(-.16cqw) translateX(calc(var(--W) / 2 + var(--c) / 2)) rotateX(90deg); }
/* the liner swap: a sweep of light across the pool while the new pattern goes in */
/* (never a filter on .rp-pool__world: filters flatten the 3D scene into a sliver) */
.rp-pool__stage::after { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); opacity: 0; pointer-events: none; }
.rp-pool.is-swapping .rp-pool__stage::after { animation: rp-swap .7s var(--rp-ease); }
@keyframes rp-swap { 0% { opacity: 0; transform: scale(.85); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(1.1); } }
.rp-pool__label { position: absolute; left: 2%; top: 6%; display: flex; flex-direction: column; gap: .1rem; padding: .7rem 1rem .75rem; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 16px; box-shadow: var(--rp-shadow); max-width: 70%; }
.rp-pool__series { font-size: .68rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--rp-amber-ink); }
.rp-pool__name { font-family: var(--rp-display); font-size: clamp(1.02rem, .9rem + .6vw, 1.32rem); font-weight: 600; line-height: 1.15; color: var(--rp-ink); }

/* liner chips: try a pattern on the pool */
.rp-try { margin-top: clamp(.75rem, .4rem + 1vw, 1.25rem); display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.rp-try__label { font-size: .8rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--rp-ink-soft); margin: 0; }
.rp-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.rp-chip { --s: 46px; width: var(--s); height: var(--s); border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--chip) center / cover; box-shadow: 0 0 0 3px #fff, 0 6px 14px -6px rgba(10, 32, 48, .6); position: relative; transition: transform .3s var(--rp-bounce), box-shadow .2s; }
.rp-chip:hover { transform: translateY(-3px) scale(1.06); }
.rp-chip[aria-checked="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--rp-sun), 0 8px 18px -6px rgba(10, 32, 48, .6); }
.rp-chip:focus-visible { outline: 3px solid var(--rp-deep); outline-offset: 6px; }
.rp-try__more { font-weight: 700; color: var(--rp-pool); text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
@media (max-width: 480px) { .rp-chip { --s: 40px; } }

/* =====================================================================================================================
   CALL TO ACTION BAND: the sunbather on the coping, the sun behind him
   ===================================================================================================================== */
.rp-cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 6rem) 0; background: linear-gradient(180deg, var(--rp-deck) 0%, #FFF1D2 100%); margin-top: 0 !important; }
.rp-cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rp-grain); background-size: 220px; opacity: .8; }
.rp-cta-band__inner { margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.rp-cta-band__copy { padding-bottom: clamp(3rem, 2rem + 3vw, 5.5rem); }
.rp-cta-band__copy > * { margin-block: 0; }
.rp-cta-band__copy h2 { margin-top: .6rem; }
.rp-cta-band__copy .rp-lead { margin-top: 1.1rem; }
.rp-cta-band__copy .wp-block-buttons { margin-top: 1.8rem; }
.rp-lounge { position: relative; align-self: end; aspect-ratio: 1.25; width: 100%; max-width: 560px; justify-self: end; }
.rp-lounge__sun { position: absolute; left: 4%; right: 4%; bottom: 30%; }
.rp-lounge__sun img { width: 100%; height: auto; display: block; }
.rp-lounge__pool { position: absolute; left: -6%; right: -40vw; bottom: 0; height: 34%; }
.rp-lounge__coping { position: absolute; left: 0; right: 0; top: 0; height: 26%; background: var(--rp-grain) 0 0 / 160px, linear-gradient(180deg, #FBF5EA 0%, #EADCC4 70%, #CDBB9C 100%); border-radius: 14px 0 0 0; box-shadow: 0 6px 10px -6px rgba(60, 40, 10, .4); }
.rp-lounge__tile { position: absolute; left: 0; right: 0; top: 26%; height: 12%; background: var(--rp-mosaic) 0 0 / auto 100% repeat-x; }
.rp-lounge__water { position: absolute; left: 0; right: 0; top: 38%; bottom: 0; background: linear-gradient(180deg, #2F9FD8, #1265AE); overflow: hidden; }
.rp-lounge__water::after { content: ""; position: absolute; inset: -40%; background: var(--rp-caustics) 0 0 / 240px; opacity: .5; animation: rp-drift 30s linear infinite; }
.rp-lounge__guy { position: absolute; width: 92%; left: 2%; bottom: calc(34% * .74 - 2%); height: auto; filter: drop-shadow(0 10px 8px rgba(60, 40, 10, .18)); }
@media (max-width: 860px) {
	.rp-cta-band__inner { grid-template-columns: minmax(0, 1fr); }
	.rp-cta-band__copy { padding-bottom: 0; }
	.rp-lounge { justify-self: center; max-width: 440px; margin-top: 1rem; }
	.rp-lounge__pool { left: -50vw; right: -50vw; }
}

/* =====================================================================================================================
   FOOTER: night swim, the pool light on
   ===================================================================================================================== */
.rp-footer__edge { line-height: 0; margin-top: 0 !important; background: #FFF1D2; }
.rp-footer__edge svg { display: block; width: 100%; height: clamp(40px, 5vw, 90px); }
footer.wp-block-template-part { margin-top: 0 !important; }
.rp-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--rp-night); color: var(--rp-on-dark); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1.5rem; margin-top: 0 !important; }
.rp-footer::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: var(--rp-caustics) 0 0 / 460px, var(--rp-caustics-b) 0 0 / 780px; opacity: .07; animation: rp-drift 60s linear infinite; pointer-events: none; }
.rp-footer__glow { position: absolute; z-index: -1; left: 50%; top: -10%; width: min(1100px, 140vw); aspect-ratio: 2; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(59, 196, 226, .38), rgba(18, 101, 174, .18) 45%, transparent 75%); pointer-events: none; }
.rp-footer__lamp { position: absolute; left: 50%; top: 22%; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, #bdf1ff 46%, rgba(59, 196, 226, .2) 70%, transparent 72%); box-shadow: 0 0 60px 30px rgba(120, 220, 245, .35); }
.rp-footer a { color: var(--rp-on-dark); text-decoration-color: rgba(231, 242, 247, .35); text-underline-offset: 4px; }
.rp-footer a:hover { color: var(--rp-sun); text-decoration-color: currentColor; }
.rp-footer__top { margin-inline: auto; text-align: center; padding: clamp(3.5rem, 2rem + 4vw, 6rem) 0 clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid var(--rp-rule-dark); }
.rp-footer__top > * { margin: 0; }
.rp-footer__kicker { font-size: .78rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: var(--rp-aqua); }
.rp-footer__big { font-family: var(--rp-display); font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem); font-weight: 560; line-height: 1; letter-spacing: -.025em; color: #fff; margin-top: .7rem !important; font-variation-settings: "opsz" 144; }
.rp-footer__big em { font-style: italic; font-weight: 400; color: var(--rp-sun); }
.rp-footer__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2rem !important; }
.rp-footer__actions .rp-btn--ghost { color: #fff; border-color: rgba(231, 242, 247, .55); }
.rp-footer__actions .rp-btn--ghost:hover { background: #fff; color: var(--rp-ink); border-color: #fff; }
.rp-footer__grid { margin-inline: auto; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: 2rem 3rem; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-size: .95rem; }
.rp-footer__grid h2 { font-family: var(--rp-body); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--rp-sun-soft); margin: 0 0 1rem; }
.rp-footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.rp-footer__grid p { margin: 0 0 .9rem; color: var(--rp-on-dark-soft); }
.rp-footer__grid strong { color: #fff; }
.rp-footer__brand img { width: 120px; height: auto; display: block; margin-bottom: 1rem; }
.rp-footer__badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.rp-footer__badges a { display: inline-flex; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--rp-rule-dark); text-decoration: none; font-weight: 650; font-size: .86rem; }
.rp-footer__badges a:hover { border-color: var(--rp-sun); }
.rp-footer__hours { color: var(--rp-sun-soft); font-weight: 650; }
.rp-footer__towns { line-height: 1.75; }
.rp-footer__base { margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.4rem; border-top: 1px solid var(--rp-rule-dark); font-size: .84rem; color: var(--rp-on-dark-soft); }
.rp-footer__base p { margin: 0; }
@media (max-width: 1000px) { .rp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rp-footer__grid { grid-template-columns: 1fr; } }

/* =====================================================================================================================
   MOTION: reveal, pause, reduced motion
   ===================================================================================================================== */
.js .rp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--rp-ease), transform .8s var(--rp-ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rp-reveal.is-in, .rp-noreveal .rp-reveal { opacity: 1; transform: none; }
.rp-motion { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--rp-ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--rp-shadow); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rp-motion svg { width: 16px; height: 16px; fill: currentColor; }
.rp-motion .rp-motion__play { display: none; }
.rp-paused .rp-motion .rp-motion__play { display: block; }
.rp-paused .rp-motion .rp-motion__pause { display: none; }
.rp-paused *, .rp-paused *::before, .rp-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .rp-reveal { opacity: 1; transform: none; }
}

/* =====================================================================================================================
   CARDS: services (bento), icon tile, link
   ===================================================================================================================== */
.rp-card { position: relative; isolation: isolate; overflow: hidden; background: #fff; border-radius: var(--rp-radius); padding: clamp(1.3rem, 1rem + 1vw, 1.9rem); box-shadow: var(--rp-shadow); display: flex; flex-direction: column; gap: .7rem; transition: transform .45s var(--rp-ease), box-shadow .45s var(--rp-ease); }
.rp-card > * { margin: 0 !important; }
.rp-card:hover { transform: translateY(-4px); box-shadow: var(--rp-shadow-lg); }
.rp-card h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.rp-card p { color: var(--rp-ink-soft); }
.rp-card .wp-block-buttons { margin-top: auto !important; padding-top: .4rem; }
.rp-card::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 70%; z-index: -1; background: var(--rp-caustics) 0 0 / 180px; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .8s var(--rp-ease); -webkit-mask: linear-gradient(transparent, #000 60%); mask: linear-gradient(transparent, #000 60%); filter: invert(37%) sepia(68%) saturate(1200%) hue-rotate(178deg); }
.rp-card:hover::after { opacity: .22; transform: none; }
.rp-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg, #1A7CC4, var(--rp-deep)); color: #fff; position: relative; overflow: hidden; box-shadow: 0 10px 18px -12px rgba(10, 54, 85, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.rp-icon::before { content: ""; position: absolute; inset: -50%; background: var(--rp-caustics) 0 0 / 90px; opacity: .35; animation: rp-drift 30s linear infinite; }
.rp-icon svg { position: relative; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rp-icon--sun { background: linear-gradient(145deg, #FFC94A, var(--rp-sun-deep)); color: var(--rp-ink); box-shadow: 0 10px 18px -12px rgba(226, 134, 11, .9), inset 0 1px 0 rgba(255, 255, 255, .45); }
.rp-icon--sun::before { opacity: .25; }
.rp-card--feature { grid-column: span 2; grid-row: span 3; padding: 0; background: var(--rp-deep); color: var(--rp-on-dark); justify-content: flex-end; min-height: 26rem; }
.rp-card--feature > .wp-block-image { position: absolute; inset: 0; z-index: -2; margin: 0 !important; }
.rp-card--feature > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--rp-ease); }
.rp-card--feature:hover > .wp-block-image img { transform: scale(1.04); }
.rp-card--feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 26, 42, 0) 25%, rgba(6, 26, 42, .82) 78%); }
.rp-card--feature .rp-card__body { padding: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); display: flex; flex-direction: column; gap: .7rem; }
.rp-card--feature .rp-card__body > * { margin: 0 !important; }
.rp-card--feature h3 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); }
.rp-card--feature p { color: var(--rp-on-dark); max-width: 34rem; }
.rp-card--feature .wp-block-button.is-style-link > .wp-block-button__link { color: var(--rp-sun-soft); }
.rp-card--feature::after { display: none; }
@media (max-width: 760px) { .rp-card--feature { grid-column: 1 / -1; grid-row: auto; min-height: 22rem; } }

/* =====================================================================================================================
   BEFORE / AFTER: the new liner spreads out like a ripple from where you tap
   ===================================================================================================================== */
.rp-ba { margin: 0; position: relative; }
.rp-ba__frame { position: relative; border-radius: calc(var(--rp-radius) + 6px); overflow: hidden; box-shadow: var(--rp-shadow-lg); aspect-ratio: 4 / 3; background: var(--rp-deep); cursor: pointer; }
.rp-ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-ba__after { clip-path: circle(var(--r, 150%) at var(--x, 50%) var(--y, 55%)); }
.rp-ba__ring { position: absolute; left: var(--x, 50%); top: var(--y, 55%); width: 0; height: 0; pointer-events: none; }
.rp-ba__ring::before, .rp-ba__ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); opacity: 0; }
.rp-ba.is-rippling .rp-ba__ring::before { animation: rp-ring 1.4s var(--rp-ease) forwards; }
.rp-ba.is-rippling .rp-ba__ring::after { animation: rp-ring 1.4s var(--rp-ease) .25s forwards; }
@keyframes rp-ring { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(14); opacity: 0; } }
.rp-ba__tag { position: absolute; top: 1rem; padding: .45rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: opacity .4s; pointer-events: none; }
.rp-ba__tag--before { left: 1rem; background: rgba(255, 255, 255, .9); color: var(--rp-ink); }
.rp-ba__tag--after { right: 1rem; background: var(--rp-sun); color: var(--rp-ink); }
.rp-ba.is-before .rp-ba__tag--after, .rp-ba:not(.is-before) .rp-ba__tag--before { opacity: .35; }
.rp-ba__controls { display: inline-flex; gap: .3rem; padding: .3rem; margin-top: 1rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid var(--rp-rule-dark); }
.rp-ba__controls button { border: 0; background: transparent; color: var(--rp-on-dark); font: inherit; font-weight: 750; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; }
.rp-ba__controls button[aria-pressed="true"] { background: var(--rp-sun); color: var(--rp-ink); }
.rp-ba__hint { font-size: .86rem; color: var(--rp-on-dark-soft); margin: .6rem 0 0; }
.no-js .rp-ba__frame { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.no-js .rp-ba__frame img { position: static; aspect-ratio: 4 / 3; clip-path: none; }
.no-js .rp-ba__controls, .no-js .rp-ba__hint { display: none; }
.rp-ba-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 1rem + 3vw, 4.5rem); align-items: center; margin-inline: auto; }
.rp-ba-wrap__copy > * { margin-block: 0; }
.rp-ba-wrap__copy > * + * { margin-top: 1rem; }
@media (max-width: 900px) { .rp-ba-wrap { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================================================================
   SWATCH FAN: the sample deck, riveted at the bottom, spreading open as it scrolls in
   ===================================================================================================================== */
.rp-fan-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; margin-inline: auto; }
.rp-fan-wrap__copy > * { margin-block: 0; }
.rp-fan-wrap__copy > * + * { margin-top: 1rem; }
.rp-fan { --n: 9; position: relative; height: clamp(20rem, 15rem + 14vw, 27rem); margin: 0; padding: 0; list-style: none; }
.rp-fan__item { position: absolute; left: 50%; bottom: 8%; width: clamp(8.5rem, 6.5rem + 5vw, 11rem); aspect-ratio: .62; margin-left: calc(clamp(8.5rem, 6.5rem + 5vw, 11rem) / -2); transform-origin: 50% 94%; transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 1.2deg)); transition: transform .9s var(--rp-bounce); transition-delay: calc(var(--d, 0) * 50ms); z-index: var(--z, 1); }
.rp-fan.is-open .rp-fan__item { transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 11deg)); }
.rp-fan__card { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 14px; background: #fff; box-shadow: 0 2px 4px rgba(10, 32, 48, .1), 0 18px 30px -18px rgba(10, 32, 48, .6); text-decoration: none; color: var(--rp-ink); overflow: hidden; transition: transform .4s var(--rp-ease), box-shadow .4s; }
.rp-fan__swatch { flex: 1; background: var(--chip) 50% 0 / cover; }
.rp-fan__label { padding: .55rem .7rem 1.6rem; display: flex; flex-direction: column; gap: .1rem; }
.rp-fan__label strong { font-family: var(--rp-display); font-weight: 600; font-size: .98rem; line-height: 1.15; }
.rp-fan__label span { font-size: .66rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--rp-amber-ink); }
.rp-fan__card::after { content: ""; position: absolute; left: 50%; bottom: .55rem; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle, #8C7C66 0 35%, #D9CDB8 40% 70%, #A8977D 75%); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .3); }
.rp-fan__item:hover .rp-fan__card, .rp-fan__card:focus-visible { transform: translateY(-1.8rem); box-shadow: 0 2px 4px rgba(10, 32, 48, .1), 0 30px 40px -18px rgba(10, 32, 48, .7); }
.rp-fan__item:hover { z-index: 50; }
@media (max-width: 900px) { .rp-fan-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
	.rp-fan { height: auto; display: flex; gap: .8rem; overflow-x: auto; padding: 1rem .2rem 1.4rem; scroll-snap-type: x mandatory; }
	.rp-fan__item, .rp-fan.is-open .rp-fan__item { position: relative; left: auto; bottom: auto; margin: 0; transform: none; flex: 0 0 9.5rem; scroll-snap-align: start; }
	.rp-fan__item:hover .rp-fan__card { transform: none; }
}

/* =====================================================================================================================
   LINER DAY: five steps that walk down into the water
   ===================================================================================================================== */
.rp-stairs { --rise: clamp(1.2rem, .4rem + 2.6vw, 3.4rem); list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.6rem, .3rem + .8vw, 1.1rem); position: relative; isolation: isolate; }
.rp-liner-day { overflow: hidden; }
.rp-stairs::before { content: ""; position: absolute; z-index: -1; left: -2rem; right: -2rem; top: calc(var(--rise) * 2.55 + 7.5rem); bottom: -2.5rem; background: linear-gradient(180deg, rgba(59, 196, 226, .2), rgba(18, 101, 174, .32)); border-top: 2px solid rgba(59, 196, 226, .55); border-radius: 0 0 var(--rp-radius) var(--rp-radius); }
.rp-stairs::after { content: ""; position: absolute; z-index: -1; left: -2rem; right: -2rem; top: calc(var(--rise) * 2.55 + 7.5rem); bottom: -2.5rem; background: var(--rp-caustics) 0 0 / 300px; opacity: .3; animation: rp-drift-x 30s linear infinite; -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent); }
.rp-stair { margin-top: calc(var(--n) * var(--rise)); display: flex; flex-direction: column; background: #fff; border-radius: var(--rp-radius-sm); box-shadow: var(--rp-shadow); overflow: hidden; }
.rp-stair__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--rp-sand); }
.rp-stair__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-stair__body { padding: 1rem 1.05rem 1.2rem; }
.rp-stair__body > * { margin: 0; }
.rp-stair__num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rp-sun); font-weight: 850; font-size: .95rem; margin-bottom: .6rem !important; }
.rp-stair h3 { font-size: 1.18rem; line-height: 1.2; margin-bottom: .4rem !important; font-variation-settings: "opsz" 30; }
.rp-stair p { font-size: .93rem; color: var(--rp-ink-soft); line-height: 1.55; }
.rp-stair--swatches .rp-stair__media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #fff; padding: 3px; }
.rp-stair--swatches .rp-stair__media span { background: var(--chip) 50% 0 / cover; border-radius: 6px; }
@media (max-width: 980px) {
	.rp-stairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rp-stair { margin-top: 0; }
	.rp-stairs::before, .rp-stairs::after { display: none; }
}
@media (max-width: 560px) { .rp-stairs { grid-template-columns: minmax(0, 1fr); } .rp-stair { flex-direction: row; } .rp-stair__media { flex: 0 0 38%; aspect-ratio: auto; } }

/* =====================================================================================================================
   STORY: golden hour, 1978
   ===================================================================================================================== */
.rp-golden { background: linear-gradient(180deg, #FFF4DA 0%, #FFE2B0 55%, #FBD08E 100%); overflow: hidden; isolation: isolate; }
.rp-golden::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 85% 20%, rgba(255, 255, 255, .55), transparent 70%); }
.rp-year { font-family: var(--rp-display); font-weight: 700; font-size: clamp(6rem, 3rem + 14vw, 15rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(138, 83, 0, .55); margin: 0 !important; font-variation-settings: "opsz" 144; user-select: none; }
.rp-story { margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 1rem + 3vw, 4.5rem); align-items: start; }
.rp-story__copy > * { margin-block: 0; }
.rp-story__copy > * + * { margin-top: 1.05rem; }
.rp-story__copy h2 { margin-top: .6rem; }
.rp-snaps { position: relative; min-height: 40rem; }
.rp-snap { position: absolute; margin: 0; background: #fff; padding: .65rem .65rem 2.6rem; box-shadow: 0 2px 4px rgba(60, 40, 10, .12), 0 24px 40px -22px rgba(60, 40, 10, .6); border-radius: 4px; transition: transform .6s var(--rp-ease); }
.rp-snap img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.rp-snap figcaption { position: absolute; left: .8rem; right: .8rem; bottom: .6rem; font-family: var(--rp-display); font-style: italic; font-size: .98rem; color: var(--rp-ink-soft); }
.rp-snap--a { width: 76%; left: 2%; top: 0; transform: rotate(-3deg); }
.rp-snap--b { width: 64%; right: 0; top: 34%; transform: rotate(4deg); z-index: 1; }
.rp-snap--c { width: 60%; left: 0; top: 64%; transform: rotate(-1.5deg); z-index: 2; }
.rp-snap:hover { transform: rotate(0) scale(1.02); z-index: 3; }
.rp-timeline { list-style: none; margin: 1.6rem 0 0 !important; padding: 0; display: grid; gap: .1rem; border-left: 2px dashed rgba(138, 83, 0, .35); }
.rp-timeline li { position: relative; padding: .55rem 0 .55rem 1.3rem; }
.rp-timeline li::before { content: ""; position: absolute; left: -7px; top: 1rem; width: 12px; height: 12px; border-radius: 50%; background: var(--rp-sun); box-shadow: 0 0 0 3px #FFE9BF; }
.rp-timeline strong { font-family: var(--rp-display); font-size: 1.15rem; font-weight: 650; margin-right: .5rem; }
.rp-pullquote { margin: 2rem 0 0 !important; padding: 1.4rem 1.6rem; border-radius: var(--rp-radius); background: rgba(255, 255, 255, .55); border: 1px solid rgba(138, 83, 0, .18); }
.rp-pullquote p { font-family: var(--rp-display); font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); line-height: 1.32; font-style: italic; font-weight: 420; margin: 0; }
.rp-pullquote cite { display: block; margin-top: .7rem; font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rp-amber-ink); }
@media (max-width: 900px) { .rp-story { grid-template-columns: minmax(0, 1fr); } .rp-snaps { min-height: 34rem; max-width: 34rem; } }

/* =====================================================================================================================
   PHOTO STRIP / MASONRY / LIGHTBOX
   ===================================================================================================================== */
.rp-masonry { columns: 4 15rem; column-gap: clamp(.7rem, .5rem + .6vw, 1.1rem); margin: 0 auto; padding: 0; list-style: none; }
.rp-masonry li { break-inside: avoid; margin: 0 0 clamp(.7rem, .5rem + .6vw, 1.1rem); }
.rp-shot { display: block; position: relative; overflow: hidden; border-radius: var(--rp-radius-sm); box-shadow: var(--rp-shadow); background: var(--rp-sand); border: 0; padding: 0; width: 100%; cursor: zoom-in; text-align: left; font: inherit; color: inherit; }
.rp-shot img { width: 100%; height: auto; display: block; transition: transform .9s var(--rp-ease); }
.rp-shot::after { content: ""; position: absolute; inset: 0; background: var(--rp-caustics) 0 0 / 220px; opacity: 0; mix-blend-mode: soft-light; transition: opacity .5s; pointer-events: none; }
.rp-shot:hover img { transform: scale(1.04); }
.rp-shot:hover::after { opacity: .9; animation: rp-drift 22s linear infinite; }
.rp-shot__cap { position: absolute; left: .7rem; bottom: .7rem; right: .7rem; padding: .4rem .65rem; border-radius: 10px; background: rgba(6, 26, 42, .72); color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--rp-ease); }
.rp-shot:hover .rp-shot__cap, .rp-shot:focus-visible .rp-shot__cap { opacity: 1; transform: none; }
.rp-lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.rp-lightbox::backdrop { background: rgba(6, 26, 42, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rp-lightbox img { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: 12px; margin: 0 auto; }
.rp-lightbox p { color: #fff; text-align: center; margin: .8rem 0 0; font-size: .95rem; }
.rp-lightbox__close, .rp-lightbox__nav { position: absolute; border: 0; border-radius: 50%; width: 46px; height: 46px; background: rgba(255, 255, 255, .92); color: var(--rp-ink); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.rp-lightbox__close { top: -18px; right: -18px; }
.rp-lightbox__nav { top: 50%; margin-top: -23px; }
.rp-lightbox__nav--prev { left: -23px; }
.rp-lightbox__nav--next { right: -23px; }
@media (max-width: 640px) { .rp-lightbox__nav--prev { left: 4px; } .rp-lightbox__nav--next { right: 4px; } .rp-lightbox__close { right: 4px; top: -54px; } }

/* =====================================================================================================================
   SERVICE AREA: one drop in Orangevale, ripples across greater Sacramento
   ===================================================================================================================== */
.rp-map-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; margin-inline: auto; }
.rp-map-wrap__copy > * { margin-block: 0; }
.rp-map-wrap__copy > * + * { margin-top: 1rem; }
.rp-map { margin: 0; position: relative; }
.rp-map > svg { width: 100%; height: auto; display: block; overflow: visible; }
.rp-map .rp-map__ripple { fill: none; stroke: var(--rp-aqua); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rp-map.is-in .rp-map__ripple { animation: rp-ripple 6s var(--rp-ease) infinite; }
.rp-map .rp-map__ripple:nth-of-type(2) { animation-delay: 2s; }
.rp-map .rp-map__ripple:nth-of-type(3) { animation-delay: 4s; }
@keyframes rp-ripple { 0% { transform: scale(.05); opacity: .9; } 80% { opacity: .15; } 100% { transform: scale(1); opacity: 0; } }
.rp-map .rp-map__ring { fill: none; stroke: rgba(13, 34, 49, .1); stroke-dasharray: 2 6; }
.rp-map .rp-map__river { fill: none; stroke: #8FD3EC; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.rp-map .rp-map__lake { fill: #A9DFF1; }
.rp-map > svg { overflow: hidden; }
.rp-map .rp-map__water-label { font: italic 400 21px var(--rp-display); fill: #2C86B6; }
.rp-map .rp-map__town circle { fill: var(--rp-pool); stroke: #fff; stroke-width: 3; transition: r .3s; }
.rp-map .rp-map__town text { font: 650 21px var(--rp-body); fill: var(--rp-ink); paint-order: stroke; stroke: var(--rp-deck); stroke-width: 5px; stroke-linejoin: round; }
.rp-map .rp-map__town--home circle { fill: var(--rp-sun); }
.rp-map .rp-map__town--home text { font: 700 27px var(--rp-display); }
.rp-towns { columns: 2; column-gap: 2rem; list-style: none; padding: 0; margin: 1.2rem 0 0 !important; font-weight: 600; }
.rp-towns li { padding: .25rem 0; break-inside: avoid; display: flex; align-items: center; gap: .5rem; }
.rp-towns li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rp-pool); flex: none; }
.rp-towns li:first-child::before { background: var(--rp-sun); }
@media (max-width: 900px) { .rp-map-wrap { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================================================================
   FAQ (details blocks)
   ===================================================================================================================== */
.rp-faq { display: grid; gap: .7rem; }
.rp-faq .wp-block-details { background: #fff; border-radius: var(--rp-radius-sm); box-shadow: var(--rp-shadow); padding: 0; overflow: hidden; margin: 0 !important; }
.rp-faq .wp-block-details summary { list-style: none; cursor: pointer; padding: 1.15rem 3.4rem 1.15rem 1.3rem; font-family: var(--rp-display); font-weight: 580; font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.3; position: relative; font-variation-settings: "opsz" 30; }
.rp-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.rp-faq .wp-block-details summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--rp-foam) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231265AE' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--rp-ease), background-color .3s; }
.rp-faq .wp-block-details[open] summary::after { transform: rotate(135deg); background-color: var(--rp-sun-soft); }
.rp-faq .wp-block-details > :not(summary) { padding: 0 1.3rem; margin: 0 0 1.15rem !important; color: var(--rp-ink-soft); max-width: 46rem; }
.rp-faq .wp-block-details summary:hover { color: var(--rp-pool); }

/* =====================================================================================================================
   LINER STUDIO
   ===================================================================================================================== */
.rp-studio-section { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.rp-studio { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.25rem, .8rem + 2vw, 3rem); align-items: start; }
.rp-studio__stage { position: sticky; top: calc(var(--rp-header-h) + 1rem); overflow: hidden; isolation: isolate; background: radial-gradient(70% 70% at 70% 10%, rgba(255, 214, 120, .35), transparent 70%), #FBF6EE; border-radius: calc(var(--rp-radius) + 6px); padding: clamp(.5rem, .3rem + 1vw, 1.25rem); box-shadow: var(--rp-shadow); transition: background .8s; }
.rp-studio__tools { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: flex-end; margin-top: .25rem; }
.rp-tool { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; border: 1.5px solid var(--rp-rule); background: #fff; color: var(--rp-ink); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.rp-tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rp-tool[aria-pressed="true"] { background: var(--rp-deep); border-color: var(--rp-deep); color: #fff; }
.rp-studio__tools .rp-motion { box-shadow: none; border: 1.5px solid var(--rp-rule); background: #fff; }
.rp-studio__panel { display: flex; flex-direction: column; gap: 1.1rem; }
.rp-studio__info { background: #fff; border-radius: var(--rp-radius); padding: 1.3rem 1.4rem; box-shadow: var(--rp-shadow); }
.rp-studio__info p { margin: 0; }
.rp-studio__series { font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--rp-amber-ink); }
.rp-studio__name { font-family: var(--rp-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 580; line-height: 1.08; margin-top: .25rem !important; letter-spacing: -.015em; }
.rp-studio__meta { color: var(--rp-ink-soft); font-size: .95rem; margin-top: .5rem !important; }
.rp-studio__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.rp-studio__actions .rp-btn { padding: .72rem 1.15rem; font-size: .95rem; }
.rp-studio__tabs { display: flex; flex-wrap: wrap; gap: .35rem; }
.rp-studio__tabs button { border: 0; border-radius: 999px; padding: .5rem .9rem; background: rgba(13, 34, 49, .06); color: var(--rp-ink); font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; }
.rp-studio__tabs button[aria-pressed="true"] { background: var(--rp-ink); color: #fff; }
.rp-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr)); gap: .6rem; max-height: min(64vh, 40rem); overflow-y: auto; padding: .3rem .3rem .6rem; margin: -.3rem; scrollbar-width: thin; }
.rp-swatch { display: flex; flex-direction: column; gap: .15rem; text-align: left; border: 0; padding: .35rem .35rem .55rem; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(10, 32, 48, .08), 0 6px 14px -10px rgba(10, 32, 48, .5); cursor: pointer; font: inherit; color: var(--rp-ink); transition: transform .25s var(--rp-ease), box-shadow .25s; }
.rp-swatch:hover { transform: translateY(-2px); }
.rp-swatch[aria-checked="true"] { box-shadow: 0 0 0 3px var(--rp-sun), 0 10px 18px -10px rgba(10, 32, 48, .6); }
.rp-swatch[hidden] { display: none; }
.rp-swatch__img { aspect-ratio: 1.4; border-radius: 10px; background: var(--chip) 50% 0 / cover; }
.rp-swatch__name { font-weight: 700; font-size: .82rem; line-height: 1.2; margin-top: .3rem; }
.rp-swatch__series { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rp-ink-soft); font-weight: 700; }
.rp-pool--studio { --W: 74cqw; --L: 40cqw; }
/* drained: no water, no sun on the floor, the bare liner */
.rp-pool.is-drained .rp-pool__water, .rp-pool.is-drained .rp-pool__light { opacity: 0; }
.rp-pool__water, .rp-pool__light { transition: opacity .8s var(--rp-ease); }
/* night swim: the deck goes dark, the pool light comes on */
.rp-studio.is-night .rp-studio__stage { background: radial-gradient(60% 70% at 50% 55%, #0E3F63, #061A2A 75%); }
.rp-studio.is-night .rp-pool__deck { background: radial-gradient(closest-side, #12324d 35%, #0b263c 70%, #08202f 100%); }
.rp-studio.is-night .rp-pool__cope { filter: brightness(.55) saturate(.5) hue-rotate(170deg); }

.rp-studio.is-night .rp-pool__water { background: radial-gradient(42% 60% at 50% 12%, rgba(120, 230, 255, .55), rgba(40, 170, 230, .22) 55%, rgba(10, 80, 140, .35) 100%); }
.rp-studio.is-night .rp-pool__light::before, .rp-studio.is-night .rp-pool__light::after { opacity: .55; filter: sepia(1) hue-rotate(150deg) saturate(4); }
.rp-studio.is-night .rp-pool__label { background: rgba(6, 26, 42, .8); }
.rp-studio.is-night .rp-pool__label .rp-pool__name { color: #fff; }
.rp-studio.is-night .rp-pool__label .rp-pool__series { color: var(--rp-sun-soft); }
.rp-pool__lamp { --fw: 4cqw; --fh: 4cqw; border-radius: 50%; transform: translateY(calc(var(--D) * .55)) translateZ(calc(var(--L) / -2 + .2cqw)); background: radial-gradient(circle, #fff 0 28%, #c8f6ff 42%, rgba(120, 230, 255, .4) 60%, transparent 70%); opacity: 0; transition: opacity .6s; }
.rp-studio.is-night .rp-pool__lamp { opacity: 1; box-shadow: 0 0 6cqw 3cqw rgba(120, 230, 255, .45); }
.rp-studio.is-night .rp-tool[aria-pressed="true"] { background: var(--rp-sun); border-color: var(--rp-sun); color: var(--rp-ink); }
@media (max-width: 1000px) {
	.rp-studio { grid-template-columns: minmax(0, 1fr); }
	.rp-studio__stage { position: relative; top: auto; }
	.rp-swatches { max-height: none; overflow: visible; grid-template-columns: repeat(auto-fill, minmax(5.6rem, 1fr)); }
}
.rp-notes .rp-card { box-shadow: none; background: rgba(255, 255, 255, .6); border: 1px solid var(--rp-rule); }
.rp-spotlight { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; margin-inline: auto; }
.rp-spotlight__copy > * { margin-block: 0; }
.rp-spotlight__copy > * + * { margin-top: 1rem; }
.rp-masonry--two { columns: 2 12rem; }
@media (max-width: 900px) { .rp-spotlight { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================================================================
   INTERIOR PIECES: page-head photo, splits, reasons, comparison table, track cut-away, signs
   ===================================================================================================================== */
.rp-pagehead__media { margin: 0 !important; transform: rotate(1.5deg); }
.rp-pagehead__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4.5rem); align-items: center; margin-inline: auto; }
.rp-split > * > * { margin-block: 0; }
.rp-split > * > * + * { margin-top: 1rem; }
.rp-split .wp-block-image img { border-radius: var(--rp-radius); box-shadow: var(--rp-shadow-lg); width: 100%; height: auto; }
.rp-split--flip > :first-child { order: 2; }
@media (max-width: 860px) { .rp-split { grid-template-columns: minmax(0, 1fr); } .rp-split--flip > :first-child { order: 0; } }
.rp-reasons { margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(1rem, .6rem + 1.4vw, 2rem); counter-reset: r; }
.rp-reason { position: relative; background: #fff; border-radius: var(--rp-radius); padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); box-shadow: var(--rp-shadow); overflow: hidden; }
.rp-reason > * { margin-block: 0 !important; }
.rp-reason > * + * { margin-top: .85rem !important; }
.rp-reason p { color: var(--rp-ink-soft); }
.rp-reason__num { position: absolute; right: 1.2rem; top: .6rem; font-family: var(--rp-display); font-weight: 700; font-size: 4.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(18, 101, 174, .22); margin: 0 !important; }
.rp-reason h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); padding-right: 4rem; }
.rp-reasons > .rp-reason:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem; align-items: start; background: var(--rp-deep); color: var(--rp-on-dark); }
.rp-reasons > .rp-reason:first-child > * + * { margin-top: 0 !important; }
.rp-reasons > .rp-reason:first-child h3 { color: #fff; }
.rp-reasons > .rp-reason:first-child p { color: var(--rp-on-dark); grid-column: 3; }
.rp-reasons > .rp-reason:first-child p + p { grid-column: 3; }
.rp-reasons > .rp-reason:first-child .rp-reason__num { -webkit-text-stroke-color: rgba(255, 255, 255, .25); }
@media (max-width: 900px) { .rp-reasons > .rp-reason:first-child { display: block; } .rp-reasons > .rp-reason:first-child > * + * { margin-top: .85rem !important; } }
.rp-compare { margin: 0; }
.rp-compare table { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border-radius: var(--rp-radius); overflow: hidden; box-shadow: var(--rp-shadow); font-size: .98rem; }
.rp-compare th, .rp-compare td { border: 0 !important; padding: 1rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rp-rule) !important; }
.rp-compare thead th { background: var(--rp-deep); color: #fff; font-family: var(--rp-display); font-weight: 600; font-size: 1.1rem; }
.rp-compare thead th:nth-child(2) { background: var(--rp-pool); }
.rp-compare tbody td:first-child { font-weight: 750; color: var(--rp-ink); width: 18%; }
.rp-compare tbody td:nth-child(2) { background: var(--rp-foam); color: var(--rp-deep); font-weight: 600; }
.rp-compare tbody td:nth-child(3) { color: var(--rp-ink-soft); }
.rp-compare tbody tr:last-child td { border-bottom: 0 !important; }
.rp-compare figcaption { font-size: .86rem; color: var(--rp-ink-soft); margin-top: .8rem; text-align: left; }
@media (max-width: 640px) { .rp-compare table { font-size: .9rem; } .rp-compare th, .rp-compare td { padding: .75rem .7rem; } }
.rp-ts-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; margin-inline: auto; }
.rp-ts-wrap__copy > * { margin-block: 0; }
.rp-ts-wrap__copy > * + * { margin-top: 1rem; }
.rp-ts { margin: 0; }
.rp-ts > svg { width: 100%; height: auto; display: block; border-radius: 26px; box-shadow: var(--rp-shadow-lg); }
.rp-ts__t { font: 700 22px var(--rp-display); fill: var(--rp-ink); }
.rp-ts__s { font: 500 16px var(--rp-body); fill: var(--rp-ink-soft); }
.rp-ts__label text { paint-order: stroke; stroke: #FBF6EE; stroke-width: 5px; stroke-linejoin: round; }
.rp-ts__label.is-wet text { stroke: #0E4F86; }
.rp-ts__label.is-wet .rp-ts__t { fill: #fff; }
.rp-ts__label.is-wet .rp-ts__s { fill: #E4F4F8; }
.rp-ts__label.is-wet path { stroke: #fff; }
.rp-ts__note { font: italic 14px var(--rp-display); fill: var(--rp-ink-soft); }
.rp-ts.is-in .rp-ts__bead { animation: rp-bead 1.4s var(--rp-bounce) .3s both; }
@keyframes rp-bead { 0% { transform: translate(0, 34px); } 60% { transform: translate(0, -3px); } 100% { transform: none; } }
.rp-ts.is-in .rp-ts__wave { animation: rp-wave 5s ease-in-out infinite alternate; }
@keyframes rp-wave { from { transform: translateX(0); } to { transform: translateX(-18px); } }
@media (max-width: 900px) { .rp-ts-wrap { grid-template-columns: minmax(0, 1fr); } }
.rp-signs-wrap { margin-inline: auto; }
.rp-signs-wrap .rp-signs__copy { margin-bottom: 2rem; }
.rp-signs-wrap .rp-signs__copy > * { margin-block: 0; max-width: 44rem; }
.rp-signs-wrap .rp-signs__copy > * + * { margin-top: 1rem; }

/* =====================================================================================================================
   STEPS: photo cards, scrubber, video facade, essay chapters, check lists
   ===================================================================================================================== */
.rp-pcard { background: #fff; border-radius: var(--rp-radius); overflow: hidden; box-shadow: var(--rp-shadow); display: flex; flex-direction: column; transition: transform .45s var(--rp-ease), box-shadow .45s; }
.rp-pcard:hover { transform: translateY(-4px); box-shadow: var(--rp-shadow-lg); }
.rp-pcard > * { margin: 0 !important; }
.rp-pcard__img { margin: 0 !important; overflow: hidden; }
.rp-pcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 1s var(--rp-ease); }
.rp-pcard:hover .rp-pcard__img img { transform: scale(1.04); }
.rp-pcard__body { padding: 1.2rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.rp-pcard__body > * { margin: 0 !important; }
.rp-pcard__body h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); }
.rp-pcard__body p:not(.rp-eyebrow) { color: var(--rp-ink-soft); }
.rp-pcard__body .wp-block-buttons { margin-top: auto !important; padding-top: .3rem; }
.rp-scrub-wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; margin-inline: auto; }
.rp-scrub-wrap__copy > * { margin-block: 0; }
.rp-scrub-wrap__copy > * + * { margin-top: 1rem; }
.rp-scrub__frame { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--rp-radius) + 4px); overflow: hidden; box-shadow: var(--rp-shadow-lg); background: var(--rp-sand); }
.rp-scrub__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--rp-ease); }
.rp-scrub__img.is-on { opacity: 1; }
.rp-scrub__bar { position: relative; margin-top: 1.1rem; }
.rp-scrub__range { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; position: relative; z-index: 2; margin: 0; }
.rp-scrub__range::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--rp-pool) var(--p, 0%), rgba(13, 34, 49, .2) var(--p, 0%)); }
.rp-scrub__range::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(13, 34, 49, .12); }
.rp-scrub__range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--rp-pool); }
.rp-scrub__range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--rp-sun); border: 4px solid #fff; box-shadow: 0 4px 10px rgba(10, 32, 48, .35); }
.rp-scrub__range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--rp-sun); border: 4px solid #fff; box-shadow: 0 4px 10px rgba(10, 32, 48, .35); }
.rp-scrub__range:focus-visible { outline: 3px solid var(--rp-sun-deep); outline-offset: 4px; border-radius: 99px; }
.rp-scrub__ticks { position: absolute; left: 15px; right: 15px; top: 50%; height: 0; z-index: 1; }
.rp-scrub__ticks span { position: absolute; left: calc(var(--t) * 100%); top: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; }
.rp-scrub__caps { position: relative; min-height: 3.2em; margin-top: .4rem; }
.rp-scrub__cap { position: absolute; inset: 0 0 auto 0; margin: 0; opacity: 0; transition: opacity .3s; color: var(--rp-ink-soft); }
.rp-scrub__cap.is-on { opacity: 1; position: relative; }
.rp-scrub__cap strong { color: var(--rp-pool); margin-right: .35rem; }
.no-js .rp-scrub__img { position: static; opacity: 1; margin-bottom: 4px; }
.no-js .rp-scrub__frame { aspect-ratio: auto; }
.no-js .rp-scrub__bar { display: none; }
.no-js .rp-scrub__cap { opacity: 1; position: relative; }
@media (max-width: 900px) { .rp-scrub-wrap { grid-template-columns: minmax(0, 1fr); } }
.rp-video { position: relative; border-radius: calc(var(--rp-radius) + 4px); overflow: hidden; box-shadow: var(--rp-shadow-lg); background: #000; aspect-ratio: 16 / 9; }
.rp-video__poster { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .82; }
.rp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rp-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.4rem .95rem 1.1rem; border-radius: 999px; border: 0; background: var(--rp-sun); color: var(--rp-ink); font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6); transition: transform .3s var(--rp-bounce); }
.rp-video__play:hover { transform: translate(-50%, -50%) scale(1.05); }
.rp-video__play svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.rp-video__note { position: absolute; left: 0; right: 0; bottom: .7rem; margin: 0; text-align: center; font-size: .78rem; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.rp-essay { counter-reset: ch; }
.rp-chapter { margin-inline: auto; display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: .4rem clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; padding-block: clamp(1.6rem, 1rem + 2vw, 3rem); border-top: 1px solid var(--rp-rule); }
.rp-chapter:first-child { border-top: 0; padding-top: 0; }
.rp-chapter > * { margin: 0 !important; grid-column: 1; }
.rp-chapter > .wp-block-html:last-child, .rp-chapter > .rp-masonry { grid-column: 2; grid-row: 1 / span 3; }
.rp-chapter__num { font-family: var(--rp-display); font-size: 3.4rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--rp-pool); }
.rp-chapter__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem) !important; }
.rp-chapter__text { color: var(--rp-ink-soft); }
.rp-masonry--essay { columns: 3 13rem; }
@media (max-width: 860px) { .rp-chapter { grid-template-columns: minmax(0, 1fr); } .rp-chapter > .rp-masonry, .rp-chapter > .wp-block-html:last-child { grid-column: 1; grid-row: auto; margin-top: 1rem !important; } }
.rp-checks { list-style: none; padding: 0; display: grid; gap: .8rem; }
.rp-checks li { position: relative; padding-left: 2.1rem; }
.rp-checks li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--rp-sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D2231' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.wp-block-image figcaption, .wp-element-caption { font-size: .86rem; color: var(--rp-ink-soft); }

/* =====================================================================================================================
   LEAK DETECTION: bucket test, detector sweep, snapshot strip. FILTERS: salt card, ranking.
   ===================================================================================================================== */
.rp-bucket-wrap, .rp-sweep-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; margin-inline: auto; }
.rp-bucket-wrap__copy > *, .rp-sweep-wrap__copy > * { margin-block: 0; }
.rp-bucket-wrap__copy > * + *, .rp-sweep-wrap__copy > * + * { margin-top: 1rem; }
@media (max-width: 960px) { .rp-bucket-wrap, .rp-sweep-wrap { grid-template-columns: minmax(0, 1fr); } }
.rp-bucket { background: #fff; border-radius: calc(var(--rp-radius) + 4px); box-shadow: var(--rp-shadow-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); }
.rp-bucket__visual > svg { display: block; width: 100%; height: auto; }
.rp-bucket__visual .rp-bk__mark { stroke: #0D2231; stroke-width: 2; stroke-dasharray: 6 6; }
.rp-bucket__visual .rp-bk__lbl { font: 700 20px var(--rp-display); fill: var(--rp-ink); }
.rp-bucket__visual .rp-bk__note { font: italic 14px var(--rp-display); fill: var(--rp-ink-soft); }
.rp-bk__poolwater, .rp-bk__bucketwater { transform: translateY(var(--drop, 0px)); transition: transform .6s var(--rp-ease); }
.rp-bucket__form { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: 1rem; }
.rp-field { display: grid; gap: .4rem; }
.rp-field label { font-weight: 750; font-size: .95rem; display: flex; justify-content: space-between; gap: 1rem; }
.rp-field output { font-family: var(--rp-display); font-weight: 600; color: var(--rp-pool); font-size: 1.05rem; }
.rp-field select, .rp-bucket__dims input { font: inherit; padding: .65rem .8rem; border-radius: 12px; border: 1.5px solid var(--rp-rule); background: #fff; color: var(--rp-ink); width: 100%; }
.rp-field input[type="range"] { width: 100%; accent-color: var(--rp-pool); height: 28px; }
.rp-field__scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--rp-ink-soft); font-weight: 650; }
.rp-bucket__size summary { cursor: pointer; font-weight: 700; color: var(--rp-pool); font-size: .92rem; }
.rp-bucket__dims { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .7rem; }
.rp-bucket__dims label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 700; }
.rp-bucket__result { border-radius: 16px; padding: 1rem 1.15rem; background: var(--rp-foam); transition: background .4s; }
.rp-bucket__result p { margin: 0; }
.rp-bucket__verdict { font-family: var(--rp-display); font-weight: 600; font-size: 1.25rem; line-height: 1.25; }
.rp-bucket__detail { margin-top: .4rem !important; color: var(--rp-ink-soft); font-size: .95rem; }
.rp-bucket__detail a { font-weight: 700; }
.rp-bucket.is-leak .rp-bucket__result { background: #FFE9C2; }
.rp-bucket.is-close .rp-bucket__result { background: #FFF5DD; }
.rp-sweep { margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid var(--rp-rule-dark); border-radius: calc(var(--rp-radius) + 4px); padding: clamp(.6rem, .4rem + .8vw, 1.1rem); }
.rp-sweep > svg { width: 100%; height: auto; display: block; }
.rp-sw__trail { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 8; }
.rp-sw__pole { stroke: #C8D2D9; stroke-width: 5; stroke-linecap: round; }
.rp-sw__tip { fill: #F6B21B; stroke: #0D2231; stroke-width: 3; }
.rp-sw__ring { fill: none; stroke: #F6B21B; stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rp-sweep.is-found .rp-sw__ring { animation: rp-found 1.2s var(--rp-ease) infinite; }
@keyframes rp-found { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(3.4); opacity: 0; } }
.rp-sweep__panel { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; margin-top: .8rem; }
.rp-sweep__meter { display: flex; align-items: flex-end; gap: 3px; height: 40px; width: 120px; }
.rp-sweep__meter span { flex: 1; height: 12%; border-radius: 3px; background: rgba(255, 255, 255, .25); transition: height .12s, background .12s; }
.rp-sweep__meter span.is-on { background: var(--rp-aqua); }
.rp-sweep.is-hot .rp-sweep__meter span.is-on { background: var(--rp-sun); }
.rp-sweep__status { margin: 0; font-weight: 650; color: var(--rp-on-dark); }
.rp-sweep__go { padding: .7rem 1.1rem; font-size: .95rem; }
.rp-sweep__go svg { fill: currentColor; stroke: none; }
@media (max-width: 560px) { .rp-sweep__panel { grid-template-columns: 1fr auto; } .rp-sweep__meter { grid-column: 1 / -1; width: 100%; } }
.rp-film { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 1.3rem 1rem; }
.rp-film figure { margin: 0; background: #fff; padding: .55rem .55rem .8rem; border-radius: 6px; box-shadow: 0 2px 4px rgba(10, 32, 48, .08), 0 14px 24px -16px rgba(10, 32, 48, .55); transition: transform .4s var(--rp-ease); }
.rp-film li:nth-child(odd) figure { transform: rotate(-1.4deg); }
@media (max-width: 560px) { .rp-film li figure { transform: none !important; } }
.rp-film li:nth-child(even) figure { transform: rotate(1.2deg); }
.rp-film figure:hover { transform: rotate(0) scale(1.03); }
.rp-film img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.rp-film figcaption { font-size: .86rem; line-height: 1.4; margin-top: .55rem; color: var(--rp-ink-soft); }
.rp-film figcaption strong { color: var(--rp-pool); font-family: var(--rp-display); font-size: 1rem; }
.rp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.rp-snap-sm { margin: 0; background: #fff; padding: .6rem .6rem .9rem; border-radius: 6px; box-shadow: var(--rp-shadow); }
.rp-snap-sm img { display: block; width: 100%; height: auto; }
.rp-snap-sm figcaption { font-family: var(--rp-display); font-style: italic; color: var(--rp-ink-soft); margin-top: .5rem; font-size: .95rem; }
.rp-saltcard { position: relative; background: linear-gradient(160deg, #EAF8FC, #CDEFF8); border-radius: var(--rp-radius); padding: 2rem 1.8rem; box-shadow: var(--rp-shadow); overflow: hidden; }
.rp-saltcard p { margin: 0 0 .8rem; color: var(--rp-ink-soft); }
.rp-saltcard__drop { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--rp-pool); box-shadow: var(--rp-shadow); margin-bottom: 1rem; }
.rp-saltcard__drop svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rp-saltcard__big { font-family: var(--rp-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 600; line-height: 1; color: var(--rp-deep) !important; letter-spacing: -.02em; }
.rp-saltcard__fine { font-size: .9rem; font-weight: 700; color: var(--rp-deep) !important; margin-bottom: 0 !important; }
.rp-rank { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.rp-rank__item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--rp-radius); padding: 1.3rem 1.2rem; box-shadow: var(--rp-shadow); }
.rp-rank__item strong { display: block; font-family: var(--rp-display); font-size: 1.2rem; font-weight: 600; line-height: 1.2; margin-bottom: .35rem; }
.rp-rank__item span:not(.rp-rank__num) { color: var(--rp-ink-soft); font-size: .95rem; }
.rp-rank__num { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--rp-display); font-weight: 700; font-size: 1.3rem; background: var(--rp-foam); color: var(--rp-deep); }
.rp-rank__item:first-child { background: var(--rp-deep); }
.rp-rank__item:first-child strong { color: #fff; }
.rp-rank__item:first-child span:not(.rp-rank__num) { color: var(--rp-on-dark); }
.rp-rank__item:first-child .rp-rank__num { background: var(--rp-sun); color: var(--rp-ink); }
.rp-never { list-style: none; margin: 1.2rem auto 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.rp-never li { position: relative; padding: 1.1rem 1.2rem 1.1rem 3.6rem; border-radius: var(--rp-radius); background: #FFF0EE; color: #5A1715; }
.rp-never li::before { content: ""; position: absolute; left: 1.1rem; top: 1.05rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--rp-shorts) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 14px no-repeat; }
.rp-masonry--three { columns: 3 14rem; }

/* =====================================================================================================================
   ALBUM, CONTACT, FORM (Ninja Forms), SUCCESS SCREEN, FAQ PAGE, CLEANERS, POSTS
   ===================================================================================================================== */
.rp-album__tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.rp-album__tabs button { border: 0; border-radius: 999px; padding: .6rem 1.05rem; background: rgba(13, 34, 49, .06); color: var(--rp-ink); font: inherit; font-weight: 700; cursor: pointer; }
.rp-album__tabs button[aria-pressed="true"] { background: var(--rp-ink); color: #fff; }
.rp-album__count { margin: 0 0 1.4rem !important; }
.rp-album__grid li[hidden] { display: none; }
.rp-contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; margin-inline: auto; }
@media (max-width: 900px) { .rp-contact { grid-template-columns: minmax(0, 1fr); } }
.rp-anchor { position: relative; top: calc(var(--rp-header-h) * -1 - 1rem); }
.rp-formcard { background: #fff; border-radius: calc(var(--rp-radius) + 4px); padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); box-shadow: var(--rp-shadow-lg); position: relative; overflow: hidden; }
.rp-formcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--rp-mosaic) 0 0 / auto 10px repeat-x; }
.rp-formcard > * { margin-block: 0 !important; }
.rp-formcard__title { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem) !important; }
.rp-formcard__lead { color: var(--rp-ink-soft); margin-top: .4rem !important; margin-bottom: 1.4rem !important; }
.rp-contact__side > * { margin-block: 0; }
.rp-contact__side > * + * { margin-top: 1rem; }
.rp-contactcard { background: var(--rp-deep); color: var(--rp-on-dark); border-radius: calc(var(--rp-radius) + 4px); padding: 1.6rem; position: relative; overflow: hidden; isolation: isolate; }
.rp-contactcard::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: var(--rp-caustics) 0 0 / 300px; opacity: .14; animation: rp-drift 40s linear infinite; }
.rp-contactcard a { color: #fff; text-decoration: none; }
.rp-contactcard a:hover { color: var(--rp-sun); }
.rp-contactcard svg { width: 22px; height: 22px; fill: none; stroke: var(--rp-sun); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; margin-top: .15rem; }
.rp-contactcard__big { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--rp-rule-dark); }
.rp-contactcard__big svg { width: 30px; height: 30px; }
.rp-contactcard__big span { display: flex; flex-direction: column; font-family: var(--rp-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 600; line-height: 1.1; }
.rp-contactcard__big small { font-family: var(--rp-body); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--rp-sun-soft); font-weight: 800; }
.rp-contactcard__row { display: flex; gap: .8rem; margin: 0 0 .9rem; line-height: 1.45; }
.rp-contactcard__links { margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rp-rule-dark); font-size: .92rem; }
/* Ninja Forms, styled to the site (opinionated styles are off) */
.rp-form .nf-form-content { padding: 0; max-width: none; }
.rp-form .nf-before-form-content { font-size: .85rem; color: var(--rp-ink-soft); margin-bottom: 1rem; }
.rp-form nf-fields-wrap { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.rp-form nf-field { flex: 1 1 100%; min-width: 0; }
.rp-form nf-field:has(.rp-half) { flex: 1 1 calc(50% - .6rem); }
@media (max-width: 560px) { .rp-form nf-field:has(.rp-half) { flex-basis: 100%; } }
.rp-form .nf-field-container { margin-bottom: 1.1rem !important; }
.rp-form .nf-field-label label, .rp-form .nf-field-label { font-weight: 750; font-size: .95rem; color: var(--rp-ink); margin-bottom: .35rem; }
.rp-form .ninja-forms-req-symbol { color: var(--rp-shorts); }
.rp-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), .rp-form select, .rp-form textarea { width: 100%; font: inherit; color: var(--rp-ink); background: #FBF8F3; border: 1.5px solid rgba(13, 34, 49, .16); border-radius: 14px; padding: .8rem .95rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.rp-form textarea { min-height: 8.5rem; resize: vertical; }
.rp-form input:focus, .rp-form select:focus, .rp-form textarea:focus { outline: none; border-color: var(--rp-pool); background: #fff; box-shadow: 0 0 0 4px rgba(18, 101, 174, .15); }
.rp-form .nf-field-description { font-size: .82rem; color: var(--rp-ink-soft); margin-top: .35rem; }
.rp-form .nf-error .ninja-forms-field { border-color: var(--rp-shorts) !important; }
.rp-form .nf-error-msg, .rp-form .nf-error-wrap { color: #A3201E; font-size: .86rem; font-weight: 650; margin-top: .3rem; }
.rp-form .rp-chips-field ul { list-style: none; padding: 0; margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.rp-form .rp-chips-field li { position: relative; margin: 0 !important; }
.rp-form .rp-chips-field li input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rp-form .rp-chips-field li label { display: inline-flex !important; align-items: center; gap: .4rem; padding: .55rem .95rem; border-radius: 999px; border: 1.5px solid rgba(13, 34, 49, .16); background: #FBF8F3; font-weight: 650; font-size: .92rem; cursor: pointer; margin: 0 !important; transition: background .2s, border-color .2s, color .2s; }
.rp-form .rp-chips-field li input:checked + label, .rp-form .rp-chips-field li label.nf-checked-label { background: var(--rp-deep); border-color: var(--rp-deep); color: #fff; }
.rp-form .rp-chips-field li input:focus-visible + label { outline: 3px solid var(--rp-sun-deep); outline-offset: 2px; }
.rp-form input[type="submit"], .rp-form input[type="button"] { font: inherit; font-weight: 800; font-size: 1.05rem; background: var(--rp-sun); color: var(--rp-ink); border: 0; border-radius: 999px; padding: 1rem 1.8rem; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 26px -14px rgba(226, 134, 11, .95); transition: background .2s, transform .25s var(--rp-ease); }
.rp-form input[type="submit"]:hover { background: var(--rp-sun-deep); transform: translateY(-2px); }
.rp-form .nf-pass .ninja-forms-field { border-color: rgba(13, 34, 49, .16); }
.rp-form .nf-form-fields-required { display: none; }
.rp-liner-note { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 16px; background: var(--rp-foam); margin: 0 0 1.2rem !important; font-weight: 650; }
.rp-liner-note__chip { width: 48px; height: 34px; border-radius: 8px; background: var(--chip) 50% 0 / cover; flex: none; box-shadow: 0 0 0 2px #fff; }
/* the happy screen after sending */
.rp-success { text-align: center; padding: 1rem 0 .5rem; outline: none; }
.rp-success__badge { width: 120px; height: 120px; margin: 0 auto 1rem; }
.rp-success__badge svg { width: 100%; height: 100%; }
.rp-success__ring { fill: var(--rp-foam); stroke: var(--rp-aqua); stroke-width: 5; }
.rp-success__wave { fill: none; stroke: var(--rp-pool); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 120; animation: rp-draw 1s var(--rp-ease) .2s forwards; }
.rp-success__tick { fill: none; stroke: var(--rp-ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: rp-draw .6s var(--rp-ease) .9s forwards; }
@keyframes rp-draw { to { stroke-dashoffset: 0; } }
.rp-success__eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--rp-amber-ink); margin: 0; }
.rp-success__title { font-family: var(--rp-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 600; line-height: 1.05; margin: .5rem 0 .8rem; letter-spacing: -.02em; }
.rp-success__title span { display: block; font-style: italic; font-weight: 400; color: var(--rp-pool); }
.rp-success__lead { color: var(--rp-ink-soft); max-width: 30rem; margin: 0 auto; }
.rp-success__note { font-size: .92rem; margin: 1rem 0 0; }
.rp-success__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.rp-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 9999; width: 100%; height: 100%; }
.rp-faq-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; margin-inline: auto; }
.rp-faq-page__main > * { margin-block: 0; }
.rp-faq__group { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem) !important; margin: 2.4rem 0 1rem !important; }
.rp-faq-page__main > .rp-faq__group:first-child { margin-top: 0 !important; }
.rp-faq-page__aside { position: sticky; top: calc(var(--rp-header-h) + 1.5rem); display: grid; gap: 1rem; }
.rp-asidecard { background: var(--rp-deep); color: var(--rp-on-dark); border-radius: var(--rp-radius); padding: 1.5rem; }
.rp-asidecard p { margin: 0 0 .8rem; }
.rp-asidecard a:not(.rp-btn) { color: var(--rp-sun-soft); font-weight: 700; }
.rp-asidecard .rp-eyebrow { color: var(--rp-sun-soft); }
.rp-asidecard__big { font-family: var(--rp-display); font-size: 1.5rem; line-height: 1.15; font-weight: 600; color: #fff; }
.rp-asidecard--tool { background: var(--rp-foam); color: var(--rp-ink); }
.rp-asidecard--tool .rp-asidecard__big { color: var(--rp-ink); }
.rp-asidecard--tool .rp-eyebrow { color: var(--rp-amber-ink); }
.rp-asidecard--tool a:not(.rp-btn) { color: var(--rp-pool); }
@media (max-width: 900px) { .rp-faq-page { grid-template-columns: minmax(0, 1fr); } .rp-faq-page__aside { position: static; } }
.rp-cleaners { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.rp-cleaners li { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: center; background: #fff; border-radius: var(--rp-radius); padding: 1.1rem 1.2rem; box-shadow: var(--rp-shadow); }
.rp-cleaners .rp-icon { grid-row: span 2; }
.rp-cleaners strong { font-family: var(--rp-display); font-size: 1.25rem; font-weight: 600; }
.rp-cleaners span { color: var(--rp-ink-soft); font-size: .95rem; }
.rp-prose { font-size: 1.08rem; }
.rp-prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 2.2rem; }
.rp-prose h2:first-child { margin-top: 0; }
.rp-postgallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .8rem; margin-block: 1.6rem !important; }
.rp-postgallery figure { margin: 0; }
.rp-postgallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rp-radius-sm); display: block; }
.rp-postgallery figcaption { font-size: .85rem; color: var(--rp-ink-soft); margin-top: .35rem; }
.rp-post-hero { margin-block: clamp(1.5rem, 1rem + 2vw, 3rem) !important; }
.rp-post-hero img { width: 100%; max-height: 70vh; object-fit: cover; border-radius: calc(var(--rp-radius) + 6px); box-shadow: var(--rp-shadow-lg); }
.rp-postmeta { gap: .4rem 1rem !important; color: var(--rp-ink-soft); font-size: .92rem; margin-top: 1rem !important; }
.rp-postmeta > * { margin: 0 !important; }
.rp-postnav a { font-weight: 700; }
.rp-posts .wp-block-post-template { gap: clamp(1rem, .7rem + 1vw, 1.6rem) !important; }
.rp-postcard { background: #fff; border-radius: var(--rp-radius); overflow: hidden; box-shadow: var(--rp-shadow); height: 100%; display: flex; flex-direction: column; }
.rp-postcard > * { margin: 0 !important; }
.rp-postcard .wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; }
.rp-postcard__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.rp-postcard__body > * { margin: 0 !important; }
.rp-postcard__body .wp-block-post-title { font-size: 1.45rem; }
.rp-postcard__body .wp-block-post-title a { color: var(--rp-ink); text-decoration: none; }
.rp-postcard__body .wp-block-post-title a:hover { color: var(--rp-pool); }
.rp-postcard__body .wp-block-post-date { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rp-amber-ink); }
.rp-postcard__body .wp-block-post-excerpt { color: var(--rp-ink-soft); }
/* phone menu: everything left-aligned, submenus indented under their heading */
.rp-nav .is-menu-open .wp-block-navigation__responsive-container-content, .rp-nav .is-menu-open .wp-block-navigation__container, .rp-nav .is-menu-open .wp-block-navigation-item, .rp-nav .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; justify-content: flex-start !important; text-align: left !important; }
.rp-nav .is-menu-open .wp-block-navigation__submenu-container { padding-left: .9rem !important; border-left: 2px solid rgba(59, 196, 226, .35) !important; margin: .2rem 0 .7rem !important; }
.rp-nav .is-menu-open .wp-block-navigation-item.has-child > .wp-block-navigation-item__content { margin-top: .5rem; }
