/*!
 * Riptide inner pages: the page header and the blocks every inner page shares.
 * Colours only from the palette tokens (palette.css) and theme.css's surface
 * tokens (--rt-card, --rt-card-line, --rt-band), so light and dark both follow.
 */

/* ---------- page header: the hero's deep water ---------- */
.rtpage{position:relative;overflow:hidden;color:var(--on-deep);padding:clamp(3rem,6vw,4.75rem) 0 clamp(7rem,10vw,9.5rem);
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--deep) 72%,transparent) 0%,color-mix(in srgb,var(--deep) 55%,transparent) 45%,color-mix(in srgb,var(--deep) 85%,transparent) 100%),
    linear-gradient(135deg,var(--blue) 0%,var(--blue-dk) 55%,var(--deep) 100%)}
.rtpage--photo .hbg::after{content:"";position:absolute;inset:0;
  background:linear-gradient(100deg,color-mix(in srgb,var(--deep) 90%,transparent) 0%,color-mix(in srgb,var(--deep) 74%,transparent) 55%,color-mix(in srgb,var(--deep) 50%,transparent) 100%)}
.rtpage .hbg img{transform:none}
.rtpage__in{position:relative;z-index:4;display:flex;flex-direction:column;align-items:flex-start}
.rtpage h1{font-size:clamp(2.3rem,5vw,4rem);letter-spacing:-.03em;line-height:1.02;max-width:20ch;color:var(--on-deep)}
.rtpage h1 .hl{position:relative;display:inline-block;padding:0 .08em .12em 0;font-style:italic;color:var(--sun);
  background:linear-gradient(100deg,var(--sun) 10%,var(--orange) 80%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.rtpage h1 .hl::after{content:"";position:absolute;left:.04em;right:.1em;bottom:-.02em;height:.2em;background:var(--orange);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M2 8 C 20 0, 40 14, 60 6 S 100 2, 118 7' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M2 8 C 20 0, 40 14, 60 6 S 100 2, 118 7' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
  clip-path:inset(0 100% 0 0);animation:rtdraw 1s cubic-bezier(.6,0,.2,1) .5s forwards}
.rtpage__lead{margin-top:1.2rem;max-width:58ch;font-size:clamp(1.02rem,1.4vw,1.18rem);color:color-mix(in srgb,var(--on-deep) 90%,transparent)}
.rtpage .hbtns{margin-top:2rem}
.rtpage__in>*{animation:rtrise .8s cubic-bezier(.2,.8,.2,1) both}
.rtpage__in>:nth-child(2){animation-delay:.08s}
.rtpage__in>:nth-child(3){animation-delay:.16s}
.rtpage__in>:nth-child(4){animation-delay:.24s}
.rtpage__in>:nth-child(5){animation-delay:.32s}
/* Breadcrumbs: small, on the water, the current page in full white. */
.rtpage__crumbs{margin-bottom:1.4rem;font-size:.88rem;color:var(--on-deep-dim)}
.rtpage__crumbs ol{display:flex;flex-wrap:wrap;gap:.2rem .55rem;list-style:none}
.rtpage__crumbs li{display:inline-flex;align-items:center;gap:.55rem}
.rtpage__crumbs li+li::before{content:"/" / "";color:color-mix(in srgb,var(--on-deep) 45%,transparent)}
.rtpage__crumbs a{color:var(--on-deep-dim);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:color .15s ease,text-decoration-color .15s ease}
.rtpage__crumbs a:hover{color:var(--on-deep);text-decoration-color:var(--sun)}
.rtpage__crumbs li[aria-current]{color:var(--on-deep);font-weight:600}
/* The frosted label, as the hero's pills. */
.rtpage__tag{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:1.2rem;padding:.42rem .95rem;border-radius:var(--r-pill);
  font-family:var(--disp);font-weight:700;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--on-deep);
  background:color-mix(in srgb,var(--on-deep) 14%,transparent);border:1px solid color-mix(in srgb,var(--on-deep) 24%,transparent);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.rtpage__tag .ic{width:15px;height:15px;color:var(--sun)}
/* A life-ring bobbing on the water, wide screens only. */
.rtpage__ring{position:absolute;z-index:2;right:max(2rem,calc((100% - var(--wrap)) / 2 + 2rem));top:50%;width:clamp(170px,17vw,250px);aspect-ratio:1;
  margin-top:-7rem;border-radius:50%;pointer-events:none;
  background:conic-gradient(from 22.5deg,var(--orange) 0 12.5%,var(--on-deep) 0 25%,var(--orange) 0 37.5%,var(--on-deep) 0 50%,var(--orange) 0 62.5%,var(--on-deep) 0 75%,var(--orange) 0 87.5%,var(--on-deep) 0);
  -webkit-mask:radial-gradient(circle,transparent 0 37%,var(--ink) 37.5%);mask:radial-gradient(circle,transparent 0 37%,var(--ink) 37.5%);
  box-shadow:0 30px 60px color-mix(in srgb,var(--deep) 45%,transparent);opacity:.92;animation:rtring 7s ease-in-out infinite}
.rtpage__ring::after{content:"";position:absolute;inset:8%;border-radius:50%;border:2px dashed color-mix(in srgb,var(--deep) 30%,transparent)}
@keyframes rtring{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-14px) rotate(6deg)}}
.rtpage .hwaves{height:110px}
.rtpage .hwaves span:nth-child(1){height:110px}
.rtpage .hwaves span:nth-child(2){height:90px}
.rtpage .hwaves span:nth-child(3){height:70px}
.rtpage+section,.rtpage+.sp-alt+section{padding-top:4rem}
@media(max-width:1100px){.rtpage__ring{display:none}}
@media(max-width:620px){
  .rtpage{padding:2.4rem 0 6rem}
  .rtpage h1{font-size:clamp(2rem,9vw,2.6rem)}
  /* A highlight that wraps onto two lines would get one long wave under both. */
  .rtpage h1 .hl{display:inline;padding:0 .14em 0 0}
  .rtpage h1 .hl::after{display:none}
  .rtpage .hbtns{flex-direction:column;align-items:stretch;width:100%}
  .rtpage .hwaves,.rtpage .hwaves span:nth-child(1){height:70px}
  .rtpage .hwaves span:nth-child(2){height:58px}
  .rtpage .hwaves span:nth-child(3){height:46px}
}
@media(prefers-reduced-motion:reduce){
  .rtpage__in>*,.rtpage__ring{animation:none}
  .rtpage h1 .hl::after{animation:none;clip-path:none}
}

/* A deep ticker straight under the header: the water runs on into it. */
.rtpage:has(+.rtticker) .hwaves span{background:var(--deep)}
.rtpage+.spticker.rtticker{margin-top:0}

/* Icons inside buttons keep the button's size (core icons are unsized). */
.btn .ic{width:18px;height:18px;flex:none}
.hbtns .btn{white-space:nowrap}

/* Round-ticked points, used on several inner pages. */
.rtticks{list-style:none;display:grid;gap:.5rem;margin-top:1.1rem}
.rtticks li{display:flex;gap:.6rem;align-items:flex-start;font-weight:600;font-size:.97rem;color:var(--ink)}
.rtticks .ic{width:20px;height:20px;flex:none;margin-top:.15rem;padding:3px;border-radius:50%;background:var(--blue-dk);color:var(--paper)}

/* ---------- text block ---------- */
.rttext__grid{max-width:780px}
.rttext__grid.has-img{max-width:none;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
.rttext .shead{margin-bottom:1.4rem}
.rttext__body{color:var(--muted);font-size:1.05rem}
.rttext__body>*+*{margin-top:1em}
.rttext__body :is(h2,h3,h4){margin-top:1.6em;font-size:1.35rem;color:var(--ink)}
.rttext__body strong{color:var(--ink)}
.rttext__body a{color:var(--blue-dk);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.rttext__body a:hover{color:var(--ink)}
.rttext__body ul{list-style:none;display:grid;gap:.7rem}
.rttext__body ul li{position:relative;padding-left:2.1rem;color:var(--ink);font-weight:500}
.rttext__body ul li::before{content:"" / "";position:absolute;left:0;top:.15em;width:24px;height:24px;border-radius:50%;background:var(--blue-dk);
  -webkit-mask:radial-gradient(circle,var(--ink) 0 70%,transparent 71%);mask:radial-gradient(circle,var(--ink) 0 70%,transparent 71%)}
.rttext__body ul li::after{content:"" / "";position:absolute;left:8px;top:calc(.15em + 6px);width:6px;height:10px;border:solid var(--paper);border-width:0 2px 2px 0;transform:rotate(45deg)}
.rttext__body ol{padding-left:1.3rem;display:grid;gap:.5rem}
.rttext__ph{position:relative;isolation:isolate;aspect-ratio:4/3}
.rttext__ph::before{content:"";position:absolute;z-index:-1;inset:auto -1.2rem -1.2rem 1.6rem;height:62%;border-radius:var(--r-lg);
  background:linear-gradient(140deg,var(--blue-lt),color-mix(in srgb,var(--blue) 22%,var(--rt-band)))}
.rttext__ph img{width:100%;height:100%;object-fit:cover;border-radius:var(--r-lg);border:6px solid var(--rt-card);box-shadow:var(--sh-2)}

/* ---------- service area with a map: a route of town stops ---------- */
.rtroute__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:1.5rem;align-items:stretch}
.rtroute__grid--nomap{grid-template-columns:minmax(0,1fr)}
.rtroute__card{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:1.4rem;padding:2.2rem 2rem 5rem;border-radius:var(--r-lg);color:var(--on-deep);
  background:linear-gradient(135deg,var(--blue) 0%,var(--blue-dk) 55%,var(--deep) 100%)}
[data-theme="dark"] .rtroute__card{background:linear-gradient(135deg,var(--blue-lt) 0%,var(--deep) 100%);border:1px solid var(--rt-card-line)}
.rtroute__card .rtarea__pin{margin:0}
.rtroute__towns{list-style:none;columns:2;column-gap:1.5rem}
.rtroute__grid--nomap .rtroute__towns{columns:3}
.rtroute__towns li{position:relative;break-inside:avoid;padding-left:1.8rem}
.rtroute__towns li::after{content:"";position:absolute;left:6px;top:0;bottom:0;border-left:2px dashed color-mix(in srgb,var(--on-deep) 28%,transparent)}
.rtroute__towns li::before{content:"";position:absolute;left:0;top:50%;z-index:1;width:14px;height:14px;margin-top:-7px;border-radius:50%;
  background:var(--blue-dk);border:3px solid var(--sun);transition:background .2s ease,transform .2s ease}
[data-theme="dark"] .rtroute__towns li::before{background:var(--deep)}
.rtroute__towns li:hover::before,.rtroute__towns li.is-here::before{background:var(--sun);transform:scale(1.25)}
.rtroute__towns a,.rtroute__towns span{display:flex;align-items:center;min-height:44px;padding:.45rem .7rem;border-radius:10px;font-weight:600;color:var(--on-deep);
  transition:background .2s ease}
.rtroute__towns a:hover,.rtroute__towns a:focus-visible{background:color-mix(in srgb,var(--on-deep) 12%,transparent)}
.rtroute__towns a[aria-current]{background:var(--sun);color:var(--on-sun)}
.rtroute__towns .is-more span{font-weight:400;font-style:italic;color:var(--on-deep-dim)}
.rtroute__foot{position:relative;z-index:4;display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.4rem;margin-top:auto;padding-top:1.2rem;border-top:1px solid var(--rule-on-deep)}
.rtroute__foot p{color:color-mix(in srgb,var(--on-deep) 88%,transparent)}
.rtroute__foot p a{font-weight:700;color:var(--on-deep);text-decoration:underline;text-decoration-color:var(--sun);text-decoration-thickness:2px;text-underline-offset:3px;white-space:nowrap}
.rtroute__foot .btn{padding:.85rem 1.4rem;font-size:.97rem}
.rtroute__card .wv{height:50px;background:color-mix(in srgb,var(--on-deep) 12%,transparent)}
.rtroute__card :focus-visible{outline-color:var(--on-deep)}
.rtroute__map{min-height:420px;height:100%}

@media(max-width:960px){
  .rttext__grid.has-img,.rtroute__grid{grid-template-columns:1fr}
  .rttext__ph{max-width:560px}
  .rtroute__map{min-height:320px}
}
@media(max-width:620px){
  .rtroute__grid--nomap .rtroute__towns{columns:2}
  .rttext__ph::before{inset:auto -.6rem -.8rem .8rem}
}

/* ---------- call strip ---------- */
.rtstrip{padding:1rem 0}
.rtstrip__box{position:relative;overflow:hidden;display:flex;align-items:center;gap:1.4rem;padding:1.6rem 1.8rem;border-radius:var(--r-lg);
  background:var(--rt-band);border:1px solid var(--rt-card-line)}
.alt+.rtstrip:not(.is-bold) .rtstrip__box,.sp-alt+.alt+.rtstrip:not(.is-bold) .rtstrip__box{background:var(--rt-card)}
.rtstrip__ic{width:58px;height:58px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--sun);color:var(--on-sun);
  box-shadow:0 0 0 6px color-mix(in srgb,var(--sun) 22%,transparent)}
.rtstrip__ic .ic{width:26px;height:26px}
.rtstrip__txt{flex:1;min-width:0}
.rtstrip__t{font-family:var(--disp);font-weight:800;font-size:clamp(1.15rem,1.9vw,1.4rem);line-height:1.25;color:var(--ink)}
.rtstrip__t em{font-style:italic;color:var(--blue-dk)}
.rtstrip__s{margin-top:.25rem;color:var(--muted);font-size:.97rem}
.rtstrip__btns{position:relative;z-index:4;display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.2rem;flex:none}
.rtstrip__btns .btn{padding:.85rem 1.5rem;font-size:.98rem}
.rtstrip__tel{display:inline-flex;align-items:center;gap:.45rem;font-family:var(--disp);font-weight:800;color:var(--ink);white-space:nowrap}
.rtstrip__tel .ic{width:18px;height:18px;color:var(--blue-dk)}
.rtstrip__tel:hover{color:var(--blue-dk)}
.rtstrip.is-bold .rtstrip__box{padding:2rem 2.2rem 3.2rem;color:var(--on-deep);border-color:transparent;
  background:radial-gradient(45% 160% at 100% 50%,color-mix(in srgb,var(--blue) 45%,transparent),transparent 70%),linear-gradient(90deg,var(--deep) 40%,color-mix(in srgb,var(--blue-dk) 60%,var(--deep)))}
[data-theme="dark"] .rtstrip.is-bold .rtstrip__box{background:linear-gradient(135deg,var(--blue-lt),var(--deep));border-color:var(--rt-card-line)}
.rtstrip.is-bold .rtstrip__t{color:var(--on-deep)}
.rtstrip.is-bold .rtstrip__t em{color:var(--sun)}
.rtstrip.is-bold .rtstrip__s{color:color-mix(in srgb,var(--on-deep) 85%,transparent)}
.rtstrip.is-bold .rtstrip__tel{color:var(--on-deep)}
.rtstrip.is-bold .rtstrip__tel .ic{color:var(--sun)}
.rtstrip.is-bold .wv{height:40px;background:color-mix(in srgb,var(--on-deep) 10%,transparent)}
.rtstrip.is-bold :focus-visible{outline-color:var(--on-deep)}
.rtstrip+section,.rtstrip+.sp-alt+section{padding-top:4.5rem}

@media(max-width:960px){.rtstrip__box{flex-wrap:wrap}.rtstrip__btns{width:100%}}
@media(max-width:620px){.rtstrip__box{padding:1.4rem}.rtstrip__btns .btn{width:100%}}
/* Town names break between words only (a Splash rule lets any word break anywhere). */
.rtroute__towns :is(a,span){overflow-wrap:normal;word-break:normal;hyphens:manual}
@media(max-width:400px){.rtroute__towns{column-gap:.6rem}.rtroute__towns li{padding-left:1.5rem}.rtroute__towns :is(a,span){padding:.45rem .4rem}}

/* ---------- contact page: the form first, details and map beside it ---------- */
.rtvisit__row--form{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);grid-template-areas:"form nap" "form map";gap:1.5rem}
.rtvisit__row--form.rtvisit__row--nomap{grid-template-areas:"form nap"}
.rtvisit__row--form .rtform{grid-area:form;padding:clamp(1.8rem,3vw,2.6rem);box-shadow:var(--sh-1)}
.rtvisit__row--form .rtnap{grid-area:nap}
.rtvisit__row--form .rtmap{grid-area:map;min-height:240px}
.rtvisit__row--form .rtform h3{font-size:1.6rem}
.rtvisit__row--form .rtform__form{grid-template-columns:1fr 1fr;column-gap:1rem}
.rtvisit__row--form .rtform__form label:nth-of-type(n+3),.rtvisit__row--form .rtform__form :is(button,.prt-contact-status){grid-column:1/-1}
.rtvisit__row--form .rtnap dl{grid-template-columns:1fr 1fr;gap:1rem 1.2rem}
@media(max-width:960px){
  .rtvisit__row--form,.rtvisit__row--form.rtvisit__row--nomap{grid-template-columns:1fr;grid-template-areas:"form" "nap" "map"}
}
@media(max-width:620px){
  .rtvisit__row--form .rtform__form,.rtvisit__row--form .rtnap dl{grid-template-columns:1fr}
}

/* ---------- dark mode for core-drawn pieces ----------
   Core prints its --prt-* colours as fixed light values (prt_tokens), so the
   pieces it draws (booking pages, blog, lightbox, related cards) would stay
   light when a visitor turns Riptide dark. Under the dark button they follow
   the palette instead. Buttons keep their own readable grounds. */
:root[data-theme="dark"]{
  --prt-bg:var(--paper);--prt-surface:var(--rt-card);--prt-surface-alt:var(--rt-band);
  --prt-ink:var(--ink);--prt-muted:var(--muted);--prt-line:var(--rt-card-line);--prt-ui-mark:var(--muted);
  --prt-primary-text:var(--blue-dk);--prt-cta-text:var(--orange-dk);
  --prt-shadow:0 18px 40px color-mix(in srgb,var(--deep) 70%,transparent);
  /* Our plugins (BookFlow, FrontDesk, Toolkit) read their own --wdz- set, also printed light. */
  --wdz-text:var(--ink);--wdz-text-muted:var(--muted);--wdz-border:var(--rt-card-line);
  --wdz-surface:var(--rt-card);--wdz-surface-alt:var(--rt-band);--wdz-body:var(--paper);
}

/* Core also prints Toolkit's --wdz-io-* colours and Elementor's kit colours from
   the light tokens (core/inc/bridge.php). Under the dark button they follow the
   palette too: the rental title, prices and details on the booking pages, and
   the headings of Toolkit's town pages, were dark navy on the dark ground. */
:root[data-theme="dark"] body.prt{
  --wdz-io-accent-primary:var(--blue-dk);--wdz-io-accent-secondary:var(--sun);
  --wdz-io-accent-tertiary:var(--orange-dk);--wdz-io-accent-quaternary:var(--sun);
  --wdz-io-product-title:var(--ink);--wdz-io-product-price:var(--blue-dk);
  --wdz-io-detail-bg:var(--rt-card);--wdz-io-detail-label:var(--muted);--wdz-io-detail-value:var(--ink);
  --wdz-io-text-on-dark:var(--ink);--wdz-io-brand-navy:var(--ink);
  --wdz-io-brand-teal:var(--blue-dk);--wdz-io-brand-red-hover:var(--orange-dk);
}
:root[data-theme="dark"] body.prt[class*="elementor-kit-"]{
  --e-global-color-primary:var(--blue);--e-global-color-secondary:var(--sun);
  --e-global-color-text:var(--ink);--e-global-color-accent:var(--orange);
}
/* Toolkit's town pages and town FAQ force #222 text (!important): invisible on
   the dark ground. In dark they read in the palette; light is unchanged. */
:root[data-theme="dark"] body.prt :is(.wdz-entry-content,.wdz-entry-faq),
:root[data-theme="dark"] body.prt :is(.wdz-entry-content,.wdz-entry-faq) :is(p,li,ul,ol,span,div){color:var(--muted)!important}
:root[data-theme="dark"] body.prt :is(.wdz-entry-content,.wdz-entry-faq) :is(strong,h2,h3,h4),
:root[data-theme="dark"] body.prt .wdz-ai-faq__title{color:var(--ink)!important}
:root[data-theme="dark"] body.prt :is(.wdz-entry-content,.wdz-entry-faq) a:not([href*="book"]):not([href*="Book"]):not([href*="reserve"]){color:var(--blue-dk)!important}

/* ---------- pages built with Elementor ----------
   Elementor wraps every section in its own boxes, so "this section right
   after that one" rules above never match there (the live demo builds its
   inner pages this way). Each one has a twin that reads Elementor's
   top-level boxes instead: the box holding section A, then the box holding B.
   Same look with or without Elementor, whichever layout system it uses. */
.elementor>:has(.rtpage):has(+* .rtticker) .rtpage .hwaves span{background:var(--deep)}
.elementor>:has(.rtpage)+:has(.rtticker) .spticker.rtticker{margin-top:0}
.elementor>:has(.rtpage)+:not(:has(.rtticker)) :is(.elementor-widget-container,.elementor-widget)>section{padding-top:4rem}
.elementor>:has(section.alt)+:has(.rtstrip:not(.is-bold)) .rtstrip:not(.is-bold) .rtstrip__box{background:var(--rt-card)}
.elementor>:has(.rtstrip)+* :is(.elementor-widget-container,.elementor-widget)>section{padding-top:4.5rem}
.elementor>:has(section.alt)+:has(.rtdepth) .rtdepth::before{background:var(--rt-band)}
.elementor>:has(.rtchips)+* :is(.elementor-widget-container,.elementor-widget)>section{padding-top:4rem}
/* The home page's dark hairline between sections, when Home is built in Elementor. */
[data-theme="dark"] body.home .elementor>*+* :is(.elementor-widget-container,.elementor-widget)>section{border-top:1px solid var(--rt-card-line)}
[data-theme="dark"] body.home .elementor>*+* section.rtsteps--lift{border-top:0}

/* Dark mode: the page is near-black, and so was the foot of the deep-water
   head, so its wave edge vanished. The head takes a lifted navy instead (the
   closing band's dark ground), and the wave in the page colour shows again. */
:root[data-theme="dark"] :is(.rtpage,.prt-blog-hero,.prt-blog-art,.pagehead:not(.pagehead--io)){
  background:
    radial-gradient(60% 120% at 85% 0%,color-mix(in srgb,var(--blue) 22%,transparent),transparent 70%),
    linear-gradient(160deg,color-mix(in srgb,var(--blue) 30%,var(--paper)) 0%,color-mix(in srgb,var(--blue) 16%,var(--paper)) 100%)}
:root[data-theme="dark"] .rtpage--photo .hbg::after{background:linear-gradient(100deg,color-mix(in srgb,var(--paper) 88%,transparent) 0%,color-mix(in srgb,var(--paper) 70%,transparent) 55%,color-mix(in srgb,var(--paper) 45%,transparent) 100%)}

/* Elementor-built pages: Elementor's `.elementor img{height:auto;max-width:100%;border:none;
   border-radius:0;box-shadow:none}` loads after this theme and ties on weight, so framed and
   round photos lost their shape (the category life-rings showed square photos). `body` lifts
   the image rules over it, as the seven live themes do (Hopscotch round 10). */
body .ph img{height:100%}
body .hbg img{height:100%}
body .rtcard__ph img{height:100%}
body .rtmosaic__ph img{height:100%}
body .rtcat__ph img{height:100%;border-radius:50%;box-shadow:0 0 0 4px var(--on-deep)}
body .rtevt__ph img{height:100%}
body .rtabout__img img{height:100%}
@media(max-width:900px){body .cat .ph img{height:100%}}
body .cstep__img img{height:100%}
body .rttext__ph img{height:100%;border-radius:var(--r-lg);border:6px solid var(--rt-card);box-shadow:var(--sh-2)}
body .rtclean__ph img{height:100%}
body .rtfeat__ph img{height:100%}
body .rttype__ph img{height:100%;border-radius:var(--r-lg);box-shadow:var(--sh-2)}
body .rtioring__ph img{height:100%}
body .prt-blog-art__fig img{border:6px solid var(--rt-card);border-radius:var(--r-lg);box-shadow:0 22px 50px color-mix(in srgb,var(--deep) 22%,transparent)}
@media(max-width:620px){body .prt-blog-art__fig img{border-width:4px}}

/* Service area route: the page's own town is highlighted (no link back to
   itself); every other town slides a little and shows an
   arrow under the pointer, its stop filling in sun. */
.rtroute__towns .is-here>span{background:var(--sun);color:var(--on-sun);font-weight:700}
.rtroute__towns .is-here::before{animation:rthere 2.4s ease-out infinite}
@keyframes rthere{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--sun) 70%,transparent)}70%,100%{box-shadow:0 0 0 10px color-mix(in srgb,var(--sun) 0%,transparent)}}
.rtroute__towns a{justify-content:space-between;transition:background .2s ease,transform .2s ease}
.rtroute__go{opacity:0;transform:translateX(-6px);transition:opacity .2s ease,transform .2s ease;color:var(--sun)}
.rtroute__towns a:hover,.rtroute__towns a:focus-visible{transform:translateX(4px)}
.rtroute__towns a:is(:hover,:focus-visible) .rtroute__go{opacity:1;transform:none}
.rtroute__towns li:has(>a:is(:hover,:focus-visible))::before{background:var(--sun);transform:scale(1.25)}
@media(prefers-reduced-motion:reduce){.rtroute__towns .is-here::before{animation:none}.rtroute__towns a:is(:hover,:focus-visible){transform:none}}

/* =====================================================================
   Inner pages: a little more life, in the home page's water language.
   Everything here stops with reduced motion.
   ===================================================================== */
/* Banners: the hero's light-through-water (theme.js) over the deep water. */
.rtpage .hglow{z-index:2}
.rtpage .hripple{z-index:2}
/* The map card's pin sends out sonar rings; a new ping when the route points
   at another town (theme.js sets .is-ping). */
.rtroute__map .rtmap__pin{position:relative}
.rtroute__map .rtmap__pin::before,.rtroute__map .rtmap__pin::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--orange);
  animation:rtsonar 2.8s ease-out infinite;pointer-events:none}
.rtroute__map .rtmap__pin::after{animation-delay:1.4s}
@keyframes rtsonar{from{transform:scale(1);opacity:.7}to{transform:scale(2.6);opacity:0}}
.rtroute.is-ping .rtmap__in b{animation:rtpop .45s cubic-bezier(.3,1.5,.5,1)}
@keyframes rtpop{0%{transform:translateY(6px);opacity:.3}100%{transform:none;opacity:1}}
.rtroute__map b{display:inline-block;min-height:1.4em}
/* How it works, away from the home page: a dashed route draws itself behind
   the step cards as they come into view; the cards lift under the pointer. */
@media(min-width:961px){
  .spsec.rtsteps .rtsteps__grid{position:relative;isolation:isolate}
  .spsec.rtsteps .rtsteps__grid::before{content:"";position:absolute;z-index:-1;left:4%;right:4%;top:50%;border-top:3px dashed color-mix(in srgb,var(--blue) 35%,transparent);
    transform-origin:left;transform:scaleX(0);transition:transform 1.2s cubic-bezier(.6,0,.2,1) .2s}
  .spsec.rtsteps.in .rtsteps__grid::before,.spsec.rtsteps:not(.reveal) .rtsteps__grid::before{transform:none}
}
.spsec.rtsteps .rtstep{position:relative;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.spsec.rtsteps .rtstep:hover{transform:translateY(-6px);box-shadow:var(--sh-2);border-color:color-mix(in srgb,var(--blue) 40%,var(--rt-card-line))}
.spsec.rtsteps .rtstep__n{transition:color .2s ease,letter-spacing .2s ease}
.spsec.rtsteps .rtstep:hover .rtstep__n{color:var(--orange-dk);letter-spacing:.18em}
/* Text block photo: lifts, its pale water sliding the other way. */
.rttext__ph img,.rttext__ph::before{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.rttext__ph:hover img{transform:translate(-6px,-6px) rotate(-1deg)}
.rttext__ph:hover::before{transform:translate(8px,6px)}
@media(prefers-reduced-motion:reduce){
  .rtroute__map .rtmap__pin::before,.rtroute__map .rtmap__pin::after{animation:none;opacity:0}
  .rtroute.is-ping .rtmap__in b{animation:none}
  .spsec.rtsteps .rtsteps__grid::before{transform:none;transition:none}
  .spsec.rtsteps .rtstep:hover,.rttext__ph:hover img,.rttext__ph:hover::before{transform:none}
}

/* ---------- QA round ---------- */
/* Gold reads only on the deep navy (4.8:1); on the bright blue of the light-mode
   cards it was 1.5:1. There loose icons, route stops and figures turn white;
   the pin tile is already solid gold with dark ink (theme.css). Dark mode keeps
   the gold. */
:root:not([data-theme="dark"]) .rtask__info .ic{color:var(--on-deep)}
:root:not([data-theme="dark"]) .rtroute__towns li:not(.is-here)::before{border-color:var(--on-deep)}
:root:not([data-theme="dark"]) .rtroute__go{color:var(--on-deep)}
/* Phones: the floating bubbles stay out of the banner's words. */
@media(max-width:620px){.rtpage .hfx{display:none}}
/* Sideways-scrolling tab rows: a fade at the edge says there is more, and the
   last tab can scroll clear of it. */
@media(max-width:960px){
  :is(.rtfqtabs,.rttypes__tabs) ul{padding-right:2.4rem;
    -webkit-mask:linear-gradient(90deg,var(--ink) calc(100% - 2.4rem),transparent);mask:linear-gradient(90deg,var(--ink) calc(100% - 2.4rem),transparent)}
}
/* Questions use the full width of their row (a balanced wrap left a third empty). */
:is(.rtfqq,.rtfqq span,.rtfaq summary){text-wrap:wrap}
/* An email address breaks at its @ only when it truly has to. */
:is(.rtnap,.rtask__info,.rtfoot__reach) a[href^="mailto:"]{overflow-wrap:normal;word-break:normal}
.rtvisit__row--form .rtnap dl>div:has(a[href^="mailto:"]){grid-column:1/-1}
@media(min-width:1081px){.rtfoot__reach a[href^="mailto:"]{white-space:nowrap;font-size:.9rem}.rtfoot__reach a[href^="mailto:"] wbr{display:none}}
/* Event pages: the category chips start on the text's edge (core's even-rows
   script centres the narrowed row). */
.rtpicks__cats{margin-inline:0!important}
/* Review carousels (all pages): the dots are hidden on phones, where one card
   shows at a time and a dot per review wrapped onto two rows; the arrows stay.
   The track's foot gets room so card shadows are not cut off in dark mode. */
@media(max-width:620px){.rtrevs .prt-slider__dots{display:none}}
.rtrevs__list.rtrevs__list--slide{padding-bottom:2rem;margin-bottom:-1.5rem}
/* The home service-area card's big town count: white on the blue in light mode
   (gold was 1.5:1, under the 3:1 large-text floor); gold stays in dark mode. */
:root:not([data-theme="dark"]) .rtarea__n b{color:var(--on-deep)}
/* Home reviews' numbers: a rating like "5.0" never splits ("5." / "0") in the
   narrow phone tiles; its stars go under it when the tile is too narrow. */
.rtnums dd{flex-wrap:wrap;overflow-wrap:normal;word-break:normal;white-space:nowrap;row-gap:.3rem}

/* The current town (a span) is sized like the linked towns, so the two
   columns of the route stay level (it was 44px against their 58px). */
.rtroute__towns li>span{box-sizing:content-box}
/* A call strip straight after the ticker band had 16px under the band. */
.rtticker+.rtstrip,.elementor-element:has(.rtticker)+.elementor-element .rtstrip{padding-top:clamp(2.5rem,5vw,4rem)}
/* QA round: the text section's photo on tablets sits centred (it hugged the
   left at 75% width). */
@media(max-width:960px){.rttext__ph{margin-inline:auto}}
