/* Flowers Home Care Agency: the Services hub (home-care-services/). Loads after styles.css and site.css.

   1. Hero            a wide arch for the team and a bouquet of the seven service flowers
   2. Welcome         arch photograph, the four things families count on
   3. Which care fits the signature section: eight sentences, a flower bed of seven niches that light up
   4. Seven services  one large entry, a pair, one large entry, a pair, one large entry
   5. Two programs    two arched doors
   6. Signs, how care starts
   7. Schedule, paying, counties, the closing line

   Motion here moves transform (and translate, scale), opacity and clip-path only. */

/* ==========================================================================
   1. Hero
   ========================================================================== */
@media (min-width: 900px) {
  .phero--hub .phero__grid { grid-template-columns: minmax(0, 6.3fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5.5rem); }
  .phero--hub .phero__art { width: min(100%, 28.5rem); }
}
.phero--hub .phero__art .arch { aspect-ratio: 1 / 1.08; }
.phero--hub .arch > img { object-position: 66% 50%; }
/* the bouquet: every stem stands on the same point at the foot of the arch and leans its own way */
.phero--hub .hb { left: 4%; bottom: -9%; }
.phero--hub .hb--sunflower { height: 97%; transform: translateX(-50%) rotate(-5deg); z-index: 2; }
.phero--hub .hb--iris { height: 100%; transform: translateX(-50%) rotate(-15deg); z-index: 2; }
.phero--hub .hb--lavender { height: 88%; transform: translateX(-50%) rotate(-25deg); z-index: 3; }
.phero--hub .hb--lisianthus { height: 78%; transform: translateX(-50%) rotate(4deg); z-index: 3; }
.phero--hub .hb--peony { height: 70%; transform: translateX(-50%) rotate(-11deg); z-index: 4; }
.phero--hub .hb--ranunculus { height: 60%; transform: translateX(-50%) rotate(-31deg); z-index: 4; }
.phero--hub .hb--rose { height: 51%; transform: translateX(-50%) rotate(10deg); z-index: 5; }
@media (max-width: 899px) {
  .phero--hub .phero__art { width: min(74%, 20rem); justify-self: end; margin-right: 4%; }
  .phero--hub .hb { left: 3%; }
}

/* ==========================================================================
   2. Welcome
   ========================================================================== */
.intro { z-index: 1; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7fr); gap: clamp(3rem, 8vw, 8.5rem); align-items: center; }
.intro__art { position: relative; justify-self: center; width: min(100%, 23rem); }
.intro__art .arch { aspect-ratio: 4 / 5.1; }
.intro__art .stem { left: 98%; bottom: -8%; height: 76%; transform: translateX(-50%) rotate(9deg); transform-origin: 50% 100%; z-index: 3; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 99%); mask-image: linear-gradient(180deg, #000 82%, transparent 99%); }
.intro__big { margin-top: 2rem; font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.125rem); line-height: 1.28; color: var(--purple); }
.intro__p { margin-top: 1.4rem; max-width: 41rem; font-size: var(--fs-lead); }
.intro__count { max-width: 48rem; margin-top: clamp(4rem, 8vw, 7.5rem); font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.14; letter-spacing: -.008em; color: var(--purple); text-wrap: balance; }
.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 3.6vw, 3rem); }
.count { padding-top: 1.5rem; border-top: 1px solid rgba(200, 144, 48, .6); }
.count__icon { width: 4.75rem; height: 4.75rem; margin: 0 0 .9rem -.4rem; }
.count strong { display: block; margin-bottom: .55rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.15; letter-spacing: -.008em; color: var(--purple); text-wrap: balance; }
.intro__end { max-width: 44rem; margin-top: clamp(2.5rem, 5vw, 4rem); font-size: var(--fs-lead); }
.intro__end .tlink { color: var(--purple); }
@media (max-width: 1023px) {
  .counts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}
@media (max-width: 899px) {
  .intro__grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .intro__art { justify-self: start; width: min(64%, 17rem); }
}
@media (max-width: 559px) {
  .counts { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .count { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); column-gap: 1rem; align-items: start; padding: 1.4rem 0; }
  .count__icon { width: 4.25rem; height: 4.25rem; margin: -.2rem 0 0 -.3rem; }
}

/* ==========================================================================
   3. Which care fits? (the signature section)

   Without the page script every sentence is plain text with its answer and its links.
   services.js adds .is-live: the sentences become checkboxes, the seven niches of the
   flower bed light up for the care that fits, and the bed stays at the foot of the
   window while the list scrolls past it.
   ========================================================================== */
.fit { z-index: 2; padding-bottom: 0; }
.fit .sec__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* ---------- the sentences ---------- */
.say { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 16.5rem); column-gap: clamp(1.5rem, 3.2vw, 3.5rem); align-items: center; padding: 1.3rem 0; border-top: 1px solid var(--line-gold); }
.say::before { content: ""; position: absolute; z-index: -1; inset: 0 -1.5rem; border-radius: 1.25rem; background: linear-gradient(90deg, rgba(232, 181, 82, .17), rgba(232, 181, 82, .05) 58%, rgba(232, 181, 82, .11)); box-shadow: inset 0 0 0 1px rgba(232, 181, 82, .62); opacity: 0; pointer-events: none; transition: opacity 260ms ease; }
.say.is-on::before { opacity: 1; }
.say__pick { display: block; }
.say__box, .say__mark { display: none; }
.say__q { display: block; font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.8125rem); line-height: 1.2; letter-spacing: -.006em; color: var(--cream); text-wrap: balance; }
.say__q strong { font-weight: 400; }
.say__more { display: contents; }
.say__a { font-size: 1.125rem; line-height: 1.5; }
.say__fits { display: grid; justify-items: start; }
.fitlink { display: inline-flex; align-items: center; gap: .8rem; min-height: 3.25rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.25; color: var(--cream); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.fitlink img { flex: none; width: 2.9rem; height: 3.1rem; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(18, 5, 22, .5)); transition: transform 520ms var(--ease-spring); }
.fitlink span { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .28em; }

.fit.is-live .say { cursor: pointer; }
.fit.is-live .say__pick { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.15rem; align-items: center; min-height: 4.5rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fit.is-live .say__box { display: block; position: absolute; left: 0; top: 50%; width: 3rem; height: 3rem; margin: -1.5rem 0 0; opacity: 0; cursor: pointer; }
.fit.is-live .say__mark { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1.5px solid rgba(232, 181, 82, .78); border-radius: 50%; transition: background-color 220ms ease, border-color 220ms ease, transform 160ms var(--ease-out); }
.say__mark::after { content: ""; width: 1.1rem; height: .6rem; border-left: 3px solid #1D0A21; border-bottom: 3px solid #1D0A21; opacity: 0; transform: translateY(-.12rem) rotate(-45deg) scale(.4); transition: transform 320ms var(--ease-spring), opacity 140ms ease; }
.say__box:checked + .say__mark { background: var(--gold-light); border-color: var(--gold-light); }
.say__box:checked + .say__mark::after { opacity: 1; transform: translateY(-.12rem) rotate(-45deg) scale(1); }
.say__box:focus-visible + .say__mark { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.fit.is-live .say__pick:active .say__mark { transform: scale(.93); }
.fit.is-live .say:not(.is-on) .fitlink img { transform: scale(.86); }
.fit.is-live .say.is-on .fitlink img { transform: scale(1.14) rotate(-6deg); }
@media (hover: hover) and (pointer: fine) {
  .fit.is-live .say:not(.is-on):hover::before { opacity: .42; }
  .fitlink:hover span { text-decoration-color: currentColor; }
  .fit .say .fitlink:hover img { transform: scale(1.16) rotate(7deg); }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .say { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .say__pick { grid-row: 1 / span 2; }
  .say__a, .say__fits { grid-column: 2; }
  .say__fits { display: flex; flex-wrap: wrap; column-gap: 1.75rem; margin-top: .35rem; }
}
@media (max-width: 899px) {
  .say { display: block; padding: .35rem 0; }
  .say::before { inset: 0 -.65rem; }
  .say__pick { padding: 1rem 0 .6rem; }
  .fit.is-live .say__pick { padding: .35rem 0; }
  .say__more { display: block; padding: 0 0 1.1rem; }
  .fit.is-live .say__more { padding-left: 4.15rem; }
  .fit.is-live .say:not(.is-on) .say__more { display: none; }
  .fit.is-live .say.is-on .say__more { animation: say-open 440ms var(--ease-out); }
  .say__fits { margin-top: .5rem; }
}
@keyframes say-open { from { opacity: 0; transform: translateY(10px); } }

/* ---------- the flower bed ---------- */
.fit__bed { position: relative; z-index: 5; margin-top: -1px; background: linear-gradient(180deg, #210B26 0%, var(--plum-deep) 100%); border-top: 1px solid rgba(232, 181, 82, .62); box-shadow: 0 -34px 50px -34px rgba(8, 2, 10, .9); }
.fit.is-live .fit__bed { position: sticky; bottom: 0; }
.fit__bedin { display: grid; grid-template-columns: minmax(0, 14.5rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: end; padding-block: clamp(1.9rem, 4.2vh, 2.7rem) clamp(.8rem, 1.9vh, 1.35rem); }
.fit__status { align-self: center; }
.fit__label { font-size: .9375rem; font-weight: 600; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; color: var(--gold-light); }
.fit__tally { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; align-items: center; margin-top: .7rem; }
.fit__n { font-weight: 300; font-size: clamp(3.5rem, 5.4vw, 4.75rem); line-height: .9; letter-spacing: -.035em; font-variant-numeric: lining-nums; color: var(--gold-light); }
.fit__cap { font-size: 1.0625rem; line-height: 1.35; color: var(--on-dark); }
.fit__reset { margin-top: .9rem; min-height: 3.25rem; padding: 0 1.3rem; background: transparent; border: 1px solid rgba(232, 181, 82, .62); border-radius: 999px; font-size: 1rem; font-weight: 600; color: var(--cream); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease, opacity 200ms ease; }
.fit__reset.is-off { visibility: hidden; opacity: 0; }
.fit__reset:active { transform: scale(.97); }
.fit__arcade { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: clamp(.5rem, 1.3vw, 1.25rem); align-items: start; }
.niche { position: relative; display: flex; flex-direction: column; align-items: center; color: var(--cream); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.niche__arch { position: relative; display: block; width: 100%; height: clamp(5.75rem, calc((100vh - var(--header-h)) * .19), 9.25rem); border-radius: 999px 999px 0 0; }
.niche__arch::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(112, 56, 112, .34), rgba(42, 14, 48, 0) 88%); box-shadow: inset 0 0 0 1px rgba(232, 181, 82, .42); }
.niche__arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(86% 62% at 50% 34%, rgba(232, 181, 82, .52) 0%, rgba(146, 78, 142, .52) 52%, rgba(58, 18, 66, .25) 100%); box-shadow: inset 0 0 0 1.5px var(--gold-light), 0 0 36px -6px rgba(232, 181, 82, .6); opacity: 0; transition: opacity 480ms ease; }
.niche__ring { position: absolute; inset: 0; border: 1.5px solid var(--gold-light); border-radius: inherit; opacity: 0; pointer-events: none; }
.niche__stem { position: absolute; left: 50%; bottom: 0; z-index: 1; width: auto; max-width: none; height: 124%; transform: translateX(-50%); transform-origin: 50% 100%; filter: drop-shadow(0 10px 12px rgba(12, 3, 14, .55)); transition: transform 720ms var(--ease-out), opacity 420ms ease; }
.niche__name { margin-top: .75rem; font-size: 1rem; font-weight: 600; line-height: 1.25; text-align: center; text-wrap: balance; transition: color 240ms ease, opacity 240ms ease; }
.fit__bed.has-picks .niche:not(.is-lit) .niche__stem { opacity: .3; transform: translateX(-50%) translateY(5%) scale(.9); }
.fit__bed.has-picks .niche:not(.is-lit) .niche__name { opacity: .64; }
.niche.is-lit .niche__arch::after { opacity: 1; }
.niche.is-lit .niche__stem { transform: translateX(-50%) translateY(-5%) scale(1.07); }
.niche.is-lit .niche__name { color: var(--gold-light); }
.niche.is-lit .niche__ring { animation: niche-ring 900ms var(--ease-out); }
@keyframes niche-ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.2); } }
@media (hover: hover) and (pointer: fine) {
  .fit__reset:hover { background: rgba(232, 181, 82, .12); border-color: var(--gold-light); }
  .niche:hover .niche__name { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .26em; }
  .fit__bed .niche:hover .niche__stem { opacity: 1; transform: translateX(-50%) translateY(-4%) rotate(3deg) scale(1.04); }
}
@media (max-width: 1179px) {
  .fit__bedin { grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr); column-gap: 1.5rem; }
  .niche__name { font-size: .9688rem; }
}
@media (max-width: 899px) {
  .fit__bedin { grid-template-columns: minmax(0, 1fr); row-gap: 1.15rem; padding-block: .6rem calc(.55rem + env(safe-area-inset-bottom)); }
  .fit__status { display: flex; align-items: center; gap: .75rem; min-height: 3.25rem; }
  .fit__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fit__tally { flex: 1 1 auto; margin: 0; column-gap: .65rem; }
  .fit__n { font-size: 2.25rem; }
  .fit__cap { font-size: 1rem; line-height: 1.25; }
  .fit__reset { flex: none; margin: 0; padding: 0 1rem; }
  .fit__arcade { column-gap: .4rem; }
  .niche { pointer-events: none; }
  .niche__arch { height: 3.5rem; }
  .niche__stem { height: 120%; }
  .niche.is-lit .niche__stem { transform: translateX(-50%) translateY(-2%) scale(1.04); }
  .niche__name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* a low window (a phone on its side): the bed rests under the list instead of following */
@media (max-height: 599px) { .fit.is-live .fit__bed { position: relative; } }

.fit__close { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem clamp(2rem, 6vw, 6rem); padding-block: clamp(2.75rem, 5vw, 4.5rem) var(--sec-y); font-size: var(--fs-lead); color: var(--cream); }
.fit__close a { white-space: nowrap; }
.fit__close a[href^="#"] { white-space: normal; }
@media (max-width: 899px) { .fit__close { grid-template-columns: minmax(0, 1fr); } }

/* the board's own entrances (services.js adds .is-anim only when it can also take it off) */
@keyframes niche-grow { 0% { opacity: 0; clip-path: inset(100% -80% -12% -80%); } 16% { opacity: 1; } 100% { opacity: 1; clip-path: inset(-40% -80% -12% -80%); } }
@keyframes fit-rise { from { opacity: 0; transform: translateY(12px); } }
@media screen and (prefers-reduced-motion: no-preference) {
  .fit.is-anim .say { opacity: 0; translate: 0 18px; }
  .fit.is-anim .say.is-in { opacity: 1; translate: none; transition: opacity 650ms var(--rv-ease) var(--d, 0ms), translate 650ms var(--rv-ease) var(--d, 0ms); }
  .fit.is-anim .fit__bed:not(.is-in) .niche__stem, .fit.is-anim .fit__bed:not(.is-in) .niche__name, .fit.is-anim .fit__bed:not(.is-in) .fit__status { opacity: 0; }
  .fit.is-anim .fit__bed.is-in .niche__stem { animation: niche-grow 1200ms var(--rv-ease-soft) calc(var(--i, 0) * 80ms + 120ms) backwards; }
  .fit.is-anim .fit__bed.is-in .niche__name { animation: fit-rise 600ms var(--rv-ease) calc(var(--i, 0) * 80ms + 460ms) backwards; }
  .fit.is-anim .fit__bed.is-in .fit__status { animation: fit-rise 700ms var(--rv-ease) backwards; }
}

/* ==========================================================================
   4. The seven services
   ========================================================================== */
.cares { z-index: 1; }
.intro .stem img, .cares .stem img, .signs2 .stem img { filter: drop-shadow(0 10px 12px rgba(43, 16, 48, .14)); }
.cares__list { display: grid; grid-template-columns: minmax(0, 1fr); }
.care { position: relative; padding-block: clamp(2.75rem, 6vw, 5.5rem); border-top: 1px solid rgba(200, 144, 48, .6); scroll-margin-top: 1rem; --rv-rule-c: rgba(200, 144, 48, .6); }
.care:last-child { padding-bottom: 0; }
.care__art { position: relative; width: min(72%, 19rem); }
.care__art .arch { aspect-ratio: 4 / 5.1; }
.care__art .stem { left: 101%; bottom: -7%; height: 92%; transform: translateX(-50%) rotate(8deg); transform-origin: 50% 100%; z-index: 3; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 99%); mask-image: linear-gradient(180deg, #000 82%, transparent 99%); }
.care--flip .care__art { margin-left: auto; }
.care--flip .care__art .stem { left: -1%; transform: translateX(-50%) rotate(-8deg); }
.care__body { margin-top: 2.75rem; }
.care__title { display: grid; justify-items: start; }
.care__icon { width: 5rem; height: 5rem; margin: 0 0 .6rem -.45rem; }
.care__fit { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; padding: .4rem 1rem .4rem .8rem; border-radius: 999px; background: var(--purple); font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--cream); }
.care__fit::before { content: ""; flex: none; width: .9rem; height: .9rem; background: var(--gold-light); -webkit-mask: var(--leaf-mask) center / contain no-repeat; mask: var(--leaf-mask) center / contain no-repeat; }
.care__lead { max-width: 40rem; margin-top: 1.1rem; font-size: var(--fs-lead); line-height: 1.6; }
.care__list { display: grid; gap: .75rem; max-width: 40rem; margin-top: 1.6rem; }
.care__list li { position: relative; padding-left: 2rem; line-height: 1.5; }
.care__list li::before { content: ""; position: absolute; left: 0; top: .36em; width: 1.05rem; height: 1.05rem; background: var(--gold-deep); -webkit-mask: var(--leaf-mask) center / contain no-repeat; mask: var(--leaf-mask) center / contain no-repeat; }
.care__list strong { font-weight: 600; color: var(--purple); }
.care__more { margin-top: 1.3rem; font-size: 1.125rem; }
.care__more .tlink { display: inline-flex; align-items: center; gap: .7rem; min-height: 3.25rem; color: var(--purple); }
.care__more .tlink::after { content: ""; flex: none; width: .55rem; height: .55rem; border-top: 2px solid var(--gold-deep); border-right: 2px solid var(--gold-deep); transform: rotate(45deg); transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .care__more .tlink:hover::after { transform: translateX(.3rem) rotate(45deg); } }
@media (min-width: 900px) {
  .care { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.6fr); column-gap: clamp(3rem, 8vw, 8.5rem); align-items: center; }
  .care__art { justify-self: center; width: min(100%, 24.5rem); margin: 0; }
  .care__body { margin-top: 0; }
  .care--flip { grid-template-columns: minmax(0, 6.6fr) minmax(0, 5fr); }
  .care--flip .care__art { order: 2; margin: 0; }
}
@media (min-width: 900px) and (max-width: 1359px) {
  .care__art .stem { left: 96%; transform: translateX(-50%) rotate(-3deg); }
  .care--flip .care__art .stem { left: 4%; transform: translateX(-50%) rotate(3deg); }
}
/* wide screens: the second and third, and the fifth and sixth, stand side by side. Their arches sit on
   the outer edges and the text runs round them, the way a picture sits in a printed column. */
@media (min-width: 1360px) {
  .cares__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(3rem, 6vw, 6rem); }
  .care--feature { grid-column: 1 / -1; }
  .care--half { display: flow-root; }
  .care--half .care__art { float: left; width: 12.5rem; margin: .4rem 2.25rem 1.1rem 0; }
  .care--half .care__lead, .care--half .care__list { max-width: none; }
  .care--half .care__list { clear: both; padding-top: .35rem; }
  .care--half h3 { font-size: clamp(1.75rem, 2.35vw, 2.125rem); }
  .care--half .care__art .stem { left: 5%; height: 100%; transform: translateX(-50%) rotate(4deg); }
  .care--b .care__art { float: right; margin: .4rem 0 1.1rem 2.25rem; }
  .care--b .care__art .stem { left: 95%; transform: translateX(-50%) rotate(-4deg); }
  .care--b::after { content: ""; position: absolute; left: calc(clamp(3rem, 6vw, 6rem) / -2); top: clamp(2.75rem, 6vw, 5.5rem); bottom: clamp(2.75rem, 6vw, 5.5rem); width: 1px; background: rgba(200, 144, 48, .45); }
}

/* ==========================================================================
   5. The two programs: two arched doors
   ========================================================================== */
.programs { z-index: 2; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5.5vw, 5.5rem); align-items: start; }
.program { position: relative; }
.program--vets { margin-top: clamp(2rem, 7vw, 6.5rem); }
.door { position: relative; isolation: isolate; overflow: hidden; border-radius: 999px 999px 1.75rem 1.75rem; background: linear-gradient(180deg, #3D1546 0%, #2B0F32 100%); box-shadow: 0 50px 70px -50px rgba(8, 2, 10, .9); }
.door::before { content: ""; position: absolute; z-index: 3; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(232, 181, 82, .7); pointer-events: none; }
.door::after { content: ""; position: absolute; z-index: 3; inset: .85rem .85rem auto .85rem; aspect-ratio: 2 / 1.3; border: 1px solid rgba(232, 181, 82, .36); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.door__photo { position: relative; aspect-ratio: 1 / .68; }
.door__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.program--gapp .door__photo img { object-position: 50% 34%; }
.program--vets .door__photo img { object-position: 50% 14%; }
.door__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(55, 19, 63, 0) 50%, rgba(55, 19, 63, .9) 92%, #37133F 100%); }
.door__body { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; margin-top: -3.75rem; padding: 0 clamp(1.5rem, 3.6vw, 3.5rem) clamp(1.75rem, 3.6vw, 3.5rem); }
.door__icon { width: 5.75rem; height: 5.75rem; padding: .7rem; border-radius: 50%; background: #3A1242; box-shadow: 0 0 0 1px rgba(232, 181, 82, .65), 0 18px 24px -14px rgba(8, 2, 10, .8); }
.door h3 { margin-top: 1.4rem; color: var(--cream); }
.door p { margin-top: 1rem; }
.door .btn { margin-top: 1.9rem; }
.program .stem { z-index: 5; transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 98%); mask-image: linear-gradient(180deg, #000 76%, transparent 98%); }
.program .stem--gerbera { right: -2.6rem; top: -2.25rem; height: 21.5rem; transform: rotate(-13deg); }
.program .stem--euc { left: -2.75rem; top: -3.5rem; height: 22rem; transform: rotate(12deg); }
.program .stem--fern { left: -3.6rem; top: 2.75rem; height: 14.5rem; transform: rotate(-8deg); }
@media (min-width: 900px) and (max-width: 1179px) {
  .program .stem--gerbera { right: -1.9rem; top: -1.75rem; height: 17rem; }
  .program .stem--euc { left: -2rem; top: -2.75rem; height: 17.5rem; }
  .program .stem--fern { left: -2.6rem; top: 2.5rem; height: 11.5rem; }
}
@media (max-width: 899px) {
  .doors { grid-template-columns: minmax(0, 1fr); gap: 4rem; }
  .program--vets { margin-top: 0; }
  .program .stem--gerbera { right: -.4rem; top: -1.5rem; height: 13.5rem; }
  .program .stem--euc { left: -.6rem; top: -2rem; height: 14rem; }
  .program .stem--fern { display: none; }
  .door .btn { width: 100%; }
}

/* ==========================================================================
   6. Signs, and how care starts (one cream band in two parts)
   ========================================================================== */
.signs2 { z-index: 1; padding-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.signs2__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.6fr); gap: clamp(3rem, 7vw, 7.5rem); align-items: center; }
.signs2 .sec__head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.signlist li { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); column-gap: 1.25rem; align-items: center; padding: 1.1rem 0; border-top: 1px solid rgba(200, 144, 48, .6); }
.signlist li:last-child { border-bottom: 1px solid rgba(200, 144, 48, .6); }
.signlist img { width: 4.25rem; height: 4.4rem; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(43, 16, 48, .22)); }
.signlist strong { display: block; margin-bottom: .25rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.15; letter-spacing: -.008em; color: var(--purple); }
.signs2__after { max-width: 41rem; margin-top: 2rem; font-size: var(--fs-lead); }
.signs2__art { position: relative; justify-self: center; width: min(100%, 23rem); }
.signs2__art .arch { aspect-ratio: 4 / 5.1; }
.signs2__art .arch > img { object-position: 61% 50%; }
.signs2__art .stem { left: 2%; bottom: -8%; height: 70%; transform: translateX(-50%) rotate(-9deg); transform-origin: 50% 100%; z-index: 3; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 99%); mask-image: linear-gradient(180deg, #000 82%, transparent 99%); }
@media (max-width: 899px) {
  .signs2__grid { grid-template-columns: minmax(0, 1fr); }
  .signs2__art { order: -1; justify-self: end; width: min(64%, 17rem); }
  .signlist li { grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1rem; }
  .signlist img { width: 3.5rem; height: 3.7rem; }
}
.starts { padding-top: 0; }
.starts__head { max-width: none; padding-top: clamp(3.5rem, 7vw, 6.5rem); border-top: 1px solid rgba(200, 144, 48, .6); --rv-rule-c: rgba(200, 144, 48, .6); }
.starts__head h2 { max-width: 52rem; }
.how__step .how__t { margin-top: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.1; letter-spacing: -.008em; color: var(--purple); text-wrap: balance; }

/* ==========================================================================
   7. Schedule, paying, counties, the closing line
   ========================================================================== */
.hours__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-gold); }
.hours__row > li { padding: clamp(2rem, 3.4vw, 3rem) clamp(1.25rem, 2.6vw, 2.5rem) .5rem 0; }
.hours__row > li + li { padding-left: clamp(1.25rem, 2.6vw, 2.5rem); border-left: 1px solid var(--line-gold); }
.hours__w strong { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .9rem; font-weight: 300; font-size: clamp(3.5rem, 7.4vw, 6.75rem); line-height: .92; letter-spacing: -.03em; font-variant-numeric: lining-nums; color: var(--gold-light); }
.hours__w small { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 400; line-height: 1.2; letter-spacing: 0; color: var(--cream); }
.hours__row p + p { max-width: 23rem; margin-top: 1.1rem; font-size: var(--fs-lead); }
.hours__note { display: flex; align-items: center; gap: 1.35rem; max-width: 54rem; margin-top: clamp(3rem, 5.5vw, 5rem); font-family: var(--serif); font-size: clamp(1.4rem, 2.1vw, 1.875rem); line-height: 1.28; color: var(--cream); text-wrap: balance; }
.hours__note .lottie, .where__offices .lottie { flex: none; width: 4.75rem; height: 4.75rem; padding: .55rem; border-radius: 50%; background: #3A1242; box-shadow: 0 0 0 1px rgba(232, 181, 82, .6); }
@media (max-width: 899px) {
  .hours__row { grid-template-columns: minmax(0, 1fr); }
  .hours__row > li, .hours__row > li + li { padding: 1.9rem 0 2rem; border-left: 0; }
  .hours__row > li + li { border-top: 1px solid var(--line-gold); }
  .hours__w strong { font-size: clamp(3.5rem, 17vw, 4.75rem); }
  .hours__note { align-items: flex-start; }
  .hours__note .lottie { width: 4.25rem; height: 4.25rem; }
}

.pay__t { font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.1; letter-spacing: -.008em; color: var(--purple); text-wrap: balance; }
.pay__t a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.pay__t a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pay__t a:focus-visible { outline: none; }
.pay__t a:focus-visible::after { outline: 3px solid var(--purple); outline-offset: 3px; }
.pay .pay__line > span { flex: 1 1 24rem; max-width: 46rem; }

.where { z-index: 1; }
.where .sec__head { margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.where__big { max-width: 60rem; font-family: var(--serif); font-size: clamp(1.75rem, 3.5vw, 3.25rem); line-height: 1.18; letter-spacing: -.008em; color: var(--cream); text-wrap: balance; }
.where__big b { font-weight: 400; color: var(--gold-light); }
.where__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: clamp(2rem, 3.5vw, 3rem); border-top: 1px solid var(--line-gold); }
.where__offices { display: grid; gap: 1.5rem; }
.where__offices p { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); column-gap: 1.25rem; align-items: center; font-size: var(--fs-lead); color: var(--cream); }
.where__towns { font-size: var(--fs-lead); }
.where__stem { right: clamp(1rem, 5vw, 6rem); top: clamp(5rem, 9vw, 9rem); height: 31rem; transform: rotate(11deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 99%); mask-image: linear-gradient(180deg, #000 80%, transparent 99%); }
@media (max-width: 1279px) { .where__stem { display: none; } }
@media (max-width: 899px) { .where__grid { grid-template-columns: minmax(0, 1fr); } }

.faq__pull { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: clamp(3rem, 5vw, 4.5rem); border-top: 1px solid rgba(200, 144, 48, .6); }
.faq__pull .tlink { font-weight: 400; }
.faq__pull a[href^="tel"] { white-space: nowrap; }

/* ==========================================================================
   Reduced motion: every state is still shown, nothing travels
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .say::before, .say__mark, .say__mark::after, .fitlink img, .niche__stem, .niche__arch::after, .niche__name, .fit__reset, .care__more .tlink::after { transition-duration: .01ms !important; }
  .niche.is-lit .niche__ring, .fit.is-live .say.is-on .say__more { animation: none !important; }
  .niche.is-lit .niche__stem, .fit__bed.has-picks .niche:not(.is-lit) .niche__stem, .fit__bed .niche:hover .niche__stem { transform: translateX(-50%); }
  .fit.is-live .say .fitlink img, .fit .say .fitlink:hover img { transform: none; }
}
