/* Flowers Home Care Agency: shared by the seven service pages.
   Loads after site.css and before pages/<key>.css. How to use it: site-src/SERVICE-PAGES.md.

   0. Ground tokens           one set of values for aubergine, one for cream
   1. Small shared pieces     label titles, the large opening paragraph, closing lines, the hero seal
   2. What it is              text beside an arch photograph with the service's flower
   3. What is included        a ruled ledger with an animated icon per line
   4. Who it helps            a feature arch beside a list marked with the service's flower
   5. How care starts         additions to the homepage's four steps on a stem
   6. Why families choose     the homepage's numbered reasons, on either ground, any count from 5 to 8
   7. Where we provide it     text beside the map of the ten counties
   8. Paying for care         the five accepted methods as one strip
   9. Related care            three flower cards and the closing links
  10. Band decoration         the service's stem lying across a band edge
  11. Phones and tablets

   Motion here is hover feedback only (transform, opacity). Entrances come from reveal.js. */

/* ==========================================================================
   0. Ground tokens
   ========================================================================== */
.dark, .phero { --sv-line: var(--line-gold); --sv-strong: var(--cream); --sv-num: var(--gold-light); --sv-soft: var(--on-dark); --sv-rule: var(--line-gold); }
.cream { --sv-line: rgba(200, 144, 48, .6); --sv-strong: var(--purple); --sv-num: var(--gold-deep); --sv-soft: var(--ink-soft); --sv-rule: rgba(200, 144, 48, .6); }

/* ==========================================================================
   1. Small shared pieces
   ========================================================================== */
/* a bold label from the copy, set as a title (it is not a heading) */
.sv-t { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.14; letter-spacing: -.008em; color: var(--sv-strong); text-wrap: balance; }
/* the first paragraph of a band, set large */
.sv-big { max-width: 41rem; font-family: var(--serif); font-size: clamp(1.4375rem, 2vw, 1.8125rem); line-height: 1.32; color: var(--sv-strong); }
/* a paragraph that closes a band, after a list or a row of cards */
.sv-after { max-width: 44rem; margin-top: clamp(2.25rem, 4vw, 3.5rem); font-size: var(--fs-lead); }
.sv-after--line { padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--sv-line); max-width: none; }
.sv-after .btn { margin: .25rem .9rem .25rem 0; vertical-align: middle; }
/* the service's own animated icon, as a seal on the hero arch */
.sv-seal { position: absolute; right: -1.9rem; bottom: 2.4rem; z-index: 4; width: 6.5rem; height: 6.5rem; padding: 1.15rem; border-radius: 50%; background: radial-gradient(circle at 50% 34%, #5C2567 0%, var(--aub-2) 72%); box-shadow: 0 0 0 1px rgba(232, 181, 82, .8), 0 24px 30px -14px rgba(18, 5, 22, .6); }
/* a band whose stem hangs over the next band */
.sv-over { z-index: 3; }
.sec .tlink { text-decoration-color: var(--gold); }

/* ==========================================================================
   2. What it is
   ========================================================================== */
.sv-what__grid { display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 4.6fr); gap: clamp(2.5rem, 7vw, 7.5rem); align-items: center; }
.sv-what__grid--flip { grid-template-columns: minmax(0, 4.6fr) minmax(0, 6.4fr); }
.sv-what__grid--flip .sv-what__art { order: -1; }
.sv-what__copy h2 { margin-bottom: clamp(1.5rem, 2.8vw, 2.5rem); }
.sv-what__copy .prose { margin-top: 1.6rem; }
.sv-what__art { position: relative; justify-self: center; width: min(100%, 30rem); }
.sv-what__art .arch { aspect-ratio: 4 / 5; }
/* a landscape photograph keeps more of itself in a low, wide arch */
.sv-what__art--wide { width: min(100%, 33rem); }
.sv-what__art--wide .arch { aspect-ratio: 3 / 2.5; }
/* the service's flower head, tucked against the foot of the arch on the side of the text */
.sv-bud { position: absolute; left: -17%; bottom: -8%; z-index: 2; height: 40%; width: auto; max-width: none; transform: rotate(-9deg); filter: drop-shadow(0 16px 18px rgba(43, 16, 48, .32)); pointer-events: none; }
.dark .sv-bud { filter: drop-shadow(0 16px 18px rgba(18, 5, 22, .55)); }
.sv-what__grid--flip .sv-bud { left: auto; right: -17%; transform: rotate(9deg); }
.sv-bud--thin { height: 62%; left: -6%; }
.sv-what__grid--flip .sv-bud--thin { right: -6%; }

/* ==========================================================================
   3. What is included
   ========================================================================== */
.sv-inc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5.5vw, 6rem); }
.sv-inc__item { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); column-gap: clamp(1rem, 1.6vw, 1.5rem); align-items: start; padding: 1.75rem 0 2rem; border-top: 1px solid var(--sv-line); }
.sv-inc__icon { width: 4.75rem; height: 4.75rem; margin: -.4rem 0 0 -.45rem; }
.sv-inc__body > span { display: block; max-width: 31rem; margin-top: .5rem; }
/* nine or six lines read well in three columns, the icon above its text */
.sv-inc__list--three { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3.4vw, 3.5rem); }
.sv-inc__list--three .sv-inc__item { grid-template-columns: minmax(0, 1fr); row-gap: .9rem; padding-top: 1.5rem; }
.sv-inc__list--three .sv-inc__icon { margin-top: 0; }

/* ==========================================================================
   4. Who it helps
   ========================================================================== */
.sv-who__grid { display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 6.7fr); gap: clamp(2.5rem, 7vw, 7.5rem); align-items: start; }
.sv-who__grid--flip { grid-template-columns: minmax(0, 6.7fr) minmax(0, 4.3fr); }
.sv-who__grid--flip .sv-who__art { order: 2; }
.sv-who__art { position: sticky; top: calc(var(--header-h) + 2.5rem); justify-self: center; width: min(100%, 25.5rem); margin-top: 2.75rem; }
.sv-who__art .arch { aspect-ratio: 4 / 5.1; }
.sv-who__copy .lead { max-width: 40rem; margin-top: 1.5rem; }
.sv-who__list { margin-top: clamp(2rem, 4vw, 3.25rem); }
.sv-who__item { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); column-gap: clamp(1rem, 1.6vw, 1.5rem); align-items: center; padding: 1.4rem 0 1.5rem; border-top: 1px solid var(--sv-line); }
.sv-who__item:last-child { border-bottom: 1px solid var(--sv-line); }
.sv-who__bud { width: 4.25rem; height: 4.25rem; object-fit: contain; filter: drop-shadow(0 8px 9px rgba(18, 5, 22, .45)); }
.cream .sv-who__bud { filter: drop-shadow(0 8px 9px rgba(43, 16, 48, .22)); }
/* the same flower five times, turned a little each time so it reads as five flowers */
.sv-who__item:nth-child(2n) .sv-who__bud { transform: scaleX(-1) rotate(-7deg); }
.sv-who__item:nth-child(3n) .sv-who__bud { transform: rotate(9deg) scale(.92); }
.sv-who__item:nth-child(5n) .sv-who__bud { transform: scaleX(-1) rotate(4deg); }
.sv-who__body > span { display: block; max-width: 36rem; margin-top: .4rem; }
/* no photograph to spare: the service's own flower stands in an arch instead */
.sv-niche { position: relative; aspect-ratio: 4 / 5.1; border-radius: 999px 999px 1.75rem 1.75rem; background: radial-gradient(90% 62% at 50% 40%, #5C2567 0%, var(--aub-2) 52%, var(--aub) 100%); box-shadow: 0 40px 60px -40px rgba(18, 5, 22, .8), inset 0 0 0 1px rgba(232, 181, 82, .55); overflow: hidden; isolation: isolate; }
.sv-niche::before, .sv-niche::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(232, 181, 82, .5); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.sv-niche::before { inset: .8rem .8rem 0 .8rem; }
.sv-niche::after { inset: 1.6rem 1.6rem 0 1.6rem; opacity: .5; }
.sv-niche .stem { left: 50%; bottom: -7%; height: 90%; transform: translateX(-50%) rotate(5deg); transform-origin: 50% 100%; }

/* ==========================================================================
   5. How care starts (the homepage's .how__track, with a label title in place of the h3)
   ========================================================================== */
.how__step .sv-t + p { margin-top: .7rem; }
.how .sv-after { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ==========================================================================
   6. Why families choose Flowers (the homepage's .why__grid)
   ========================================================================== */
.why__item .sv-t { grid-column: 2; }
.dark .why__n { color: var(--gold-light); }
.dark .pull { color: var(--cream); }
/* from 900px up only: on phones every reason takes the full width (styles.css) */
@media (min-width: 900px) {
  /* six reasons: three and three */
  .why__item:first-child:nth-last-child(6), .why__item:first-child:nth-last-child(6) ~ .why__item { grid-column: span 2; }
  /* seven reasons: two, two and three */
  .why__item:first-child:nth-last-child(7) ~ .why__item:nth-child(-n+4) { grid-column: span 3; }
}

/* ==========================================================================
   7. Where we provide it
   ========================================================================== */
.sv-where__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; }
.sv-where__grid--flip .sv-map { order: -1; }
.sv-where__copy h2 { margin-bottom: clamp(1.5rem, 2.8vw, 2.5rem); font-size: clamp(2.125rem, 3.9vw, 3.5rem); }
.sv-map { position: relative; justify-self: center; width: min(100%, 37rem); }
.sv-map svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 34px 30px rgba(43, 16, 48, .28)); }
.sv-map .co { fill: #5F2A69; stroke: #E8B552; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.sv-map .co:nth-of-type(3n) { fill: #6B3476; }
.sv-map .co:nth-of-type(3n+1) { fill: #55235F; }
.sv-map .cn { font-family: var(--serif); font-size: 29px; letter-spacing: .03em; fill: var(--cream); text-anchor: middle; paint-order: stroke; stroke: rgba(28, 9, 32, .5); stroke-width: 4px; stroke-linejoin: round; }
.sv-map .of { fill: var(--gold-light); stroke: var(--plum-deep); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sv-map .of-ring { fill: none; stroke: var(--gold-light); stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ring 3.2s var(--ease-out) infinite; }
.sv-map__key { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; font-size: 1.0625rem; color: var(--sv-soft); }
.sv-map__key i { flex: none; width: .95rem; height: .95rem; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 2px var(--plum-deep), 0 0 0 5px rgba(232, 181, 82, .3); }

/* ==========================================================================
   8. Paying for care
   ========================================================================== */
.sv-pay .sec__head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sv-pay__lead { font-size: var(--fs-lead); color: var(--sv-strong); }
.sv-pay__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 1.25rem; border-top: 1px solid var(--sv-line); border-bottom: 1px solid var(--sv-line); }
.sv-pay__item { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.4rem, 2.2vw, 2rem) clamp(1rem, 1.8vw, 1.75rem) clamp(1.5rem, 2.4vw, 2.25rem); }
.sv-pay__item + .sv-pay__item { border-left: 1px solid var(--sv-line); }
.sv-pay__item:first-child { padding-left: 0; }
.sv-pay__icon { width: 4.75rem; height: 4.75rem; margin-left: -.45rem; }
.sv-pay__name { font-family: var(--serif); font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.14; color: var(--sv-strong); text-wrap: balance; }
.sv-pay__more { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 6.6fr); gap: clamp(2rem, 7vw, 7.5rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 4.25rem); }
.sv-pay__verify { font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.125rem); line-height: 1.22; color: var(--sv-strong); text-wrap: balance; }
.sv-pay__call { margin-top: 1.75rem; }

/* ==========================================================================
   9. Related care
   ========================================================================== */
.sv-rel.cream { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.sv-rel .sec__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sv-rel .rel__line { color: var(--sv-soft); }
.dark .sv-rel .rel__line, .sv-rel.dark .rel__line { color: var(--on-dark); }

/* ==========================================================================
   10. Band decoration: the service's stem lying across a band edge.
       Put the stem as the last child of the <section>, and .sv-over on the section
       when the stem hangs over the band below it.
   ========================================================================== */
.sv-stem--br { right: -9.5rem; bottom: -19rem; height: 35rem; transform: rotate(-31deg); transform-origin: 50% 100%; z-index: 3; }
.sv-stem--bl { left: -10.5rem; bottom: -19rem; height: 35rem; transform: rotate(33deg); transform-origin: 50% 100%; z-index: 3; }
/* .stem--head (styles.css) lays a stem across the top right of a band, beside a left-aligned head */

/* ==========================================================================
   11. Phones and tablets
   ========================================================================== */
@media (max-width: 1099px) {
  .sv-inc__list--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-pay__list { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0; }
  .sv-pay__item { border-bottom: 1px solid var(--sv-line); }
  .sv-pay__item:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 899px) {
  .sv-what__grid, .sv-what__grid--flip, .sv-who__grid, .sv-who__grid--flip, .sv-where__grid, .sv-pay__more { grid-template-columns: minmax(0, 1fr); }
  .sv-what__grid--flip .sv-what__art, .sv-who__grid--flip .sv-who__art { order: 0; }
  .sv-what__art { width: min(74%, 20rem); justify-self: start; margin-left: 9%; }
  .sv-what__art--wide { width: min(88%, 24rem); margin-left: 6%; }
  .sv-what__grid--flip .sv-bud { right: auto; left: -17%; transform: rotate(-9deg); }
  .sv-what__grid--flip .sv-bud--thin { left: -6%; }
  .sv-inc__list, .sv-inc__list--three { grid-template-columns: minmax(0, 1fr); }
  .sv-inc__list--three .sv-inc__item { grid-template-columns: 4.25rem minmax(0, 1fr); row-gap: 0; }
  .sv-inc__item { grid-template-columns: 4.25rem minmax(0, 1fr); padding: 1.4rem 0 1.6rem; }
  .sv-inc__icon { width: 4.25rem; height: 4.25rem; }
  .sv-who__art { position: relative; top: auto; width: min(70%, 19rem); margin-top: 0; }
  .sv-who__item { grid-template-columns: 3.5rem minmax(0, 1fr); align-items: start; }
  .sv-who__bud { width: 3.5rem; height: 3.5rem; }
  .sv-where__grid--flip .sv-map { order: 0; }
  .sv-map { width: min(100%, 30rem); }
  .sv-map .cn { font-size: 38px; }
  .sv-pay__list { grid-template-columns: minmax(0, 1fr); }
  .sv-pay__item, .sv-pay__item:first-child { flex-direction: row; align-items: center; gap: 1rem; padding: .85rem 0; }
  .sv-pay__item + .sv-pay__item { border-left: 0; }
  .sv-pay__icon { flex: none; width: 4rem; height: 4rem; }
  .sv-pay__call { width: 100%; }
  .sv-stem--br, .sv-stem--bl { display: none; }
  .sv-seal { right: -1.4rem; bottom: 1.5rem; width: 5.25rem; height: 5.25rem; padding: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sv-map .of-ring { animation: none; }
}

/* ---------- the map: white with purple lettering (Coach Michele, 17 Nov 2026) ---------- */
.sv-map { background: #fff; border-radius: var(--r-card); padding: clamp(.75rem, 2vw, 1.5rem); box-shadow: 0 30px 60px -36px rgba(28, 9, 32, .55); }
.sv-map .ctx { stroke: rgba(78, 26, 88, .16); }
.sv-map .co { fill: #fff; stroke: rgba(112, 56, 112, .6); }
.sv-map .co:nth-of-type(3n) { fill: #FBF5FB; }
.sv-map .co:nth-of-type(3n+1) { fill: #F5ECF6; }
.sv-map .cn { fill: var(--purple); stroke: rgba(255, 255, 255, .92); }
.sv-map .of-ring { stroke: var(--purple-soft); }
.sv-map .of { fill: var(--purple); stroke: var(--gold-light); }
.sv-map svg { filter: none; }
.sv-map .of { stroke: var(--purple); }
.sv-map .of-ring { stroke: var(--purple-soft); }
.sv-map .sv-map__key { color: var(--ink-soft); }
.sv-map .sv-map__key i { background: var(--purple); box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(78, 26, 88, .25); }
