/* 2026-11-25: final CanHealth logo. Colours are only the logo's (owner's Illustrator artwork): indigo #1B1464, cyan #29ABE2, red #ED1C24, plus white and a light cyan tint.
   THE SIGNATURE (owner rule): the logo's C ring, big, sitting in the bottom-right corner of a box and rising out of it,
   exactly like the "Ready to plan" box. Same orientation everywhere, never flipped, open side never shown. */
:root { --brand-indigo: #1B1464; --brand-cyan: #29ABE2; --brand-red: #ED1C24; --brand-tint: #EEF6FC;
  --red-ink: #D3141B; /* buttons: same red, one step deeper so white text passes 4.5:1 (5.4:1) */
  --arc: url("c-arc.svg"); }
.btn-primary:hover { background: #B81118; }

/* logo sizes: larger in the header so the tagline stays readable */
.site-header .brand img { height: 74px; width: auto; }
@media (max-width: 920px) { .site-header .brand img { height: 56px; } }
.site-footer .foot-logo { height: 80px; width: auto; }

/* logo on photo cards: red leaves on a small white disc */
.hc-card.ph .wm { opacity: 1; width: 34px; padding: 3px; background: rgba(255,255,255,.94); border-radius: 50%; box-shadow: 0 4px 14px rgba(27,20,100,.16); }

/* ---------- The signature C: one placement, reused ----------
   Anchor = bottom-right corner of the box. Ring centre sits just outside the corner, so the box shows the ring's
   upper-left quarter rising from the bottom edge and leaving through the right edge. */
.hc::before, .hc::after, .page-head::after, .cta-band .wrap::after, .site-footer::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; aspect-ratio: 1;
  background: var(--arc) center / contain no-repeat;
  right: 0; bottom: 0; transform: translate(38%, 46%) rotate(180deg); }

/* Home hero: the C rises from the bottom-right of the copy area, above the photo cards */
.hc { position: relative; overflow: hidden; isolation: isolate; }
.hc::before { display: none; }
.hc.hero::after { display: block; height: auto; translate: none; border: 0; border-radius: 0; transform: none; opacity: 1;
  /* owner 2026-11-25: same move as the "Ready to plan" box. The logo C, cut off at the top (level with the headline)
     and at the bottom, entering from the right. Box = headline level down to the hero bottom; ring drawn inside it. */
  left: 0; right: 0; top: 0; bottom: 0; width: auto; aspect-ratio: auto;
  background: url("c-arc-r.svg") right -620px top 120px / 1120px 1120px no-repeat;
  animation: cRise 1.2s cubic-bezier(.2,.7,.2,1) .25s both; }
@keyframes cRise { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
.hc .actions .btn-ghost { background: #FFFFFF; }
@media (max-width: 1180px) { .hc.hero::after { background-position: right -700px top 120px; } }
@media (max-width: 700px) { .hc.hero::after { top: 470px; background-size: 560px 560px; background-position: right -330px top 0; opacity: .9; } }

/* Home hero: a few faded maple leaves on the left only, away from the words */
.hc .bgb::after { content: ""; position: absolute; left: 0; top: 110px; width: 50%; height: min(560px, 70%);
  background: url("leaves-l.svg") left clamp(8px, 3vw, 64px) top / auto 100% no-repeat; opacity: .8; }
@media (max-width: 1180px) { .hc .bgb::after { top: 96px; height: 440px; background-position: left -60px top; } }
@media (max-width: 700px) { .hc .bgb::after { display: none; } }

/* Inner page heads (not About) */
.page-head { position: relative; overflow: hidden; isolation: isolate; }
.page-head::before { display: none; }
/* owner 2026-11-25: no C at the top of inner pages. The big C at the top lives on the Home page only;
   every page still has it in the "Ready to plan" box and the footer. */
.page-head::after { display: none; }

/* "Ready to plan" box: the reference placement */
.cta-band { overflow: visible; isolation: auto; }
.cta-band::after { display: none; }
.cta-band .wrap { position: relative; overflow: hidden; isolation: isolate; }
.cta-band .wrap::after { width: clamp(380px, 38vw, 540px); }
@media (max-width: 920px) { .cta-band .wrap::after { width: 340px; transform: translate(45%, 50%) rotate(180deg); opacity: .5; } }

/* Footer: same placement, bottom-right; the bottom row keeps clear of it */
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
/* owner 2026-11-25: same move as the "Ready to plan" box, starting level with the "Contact" heading,
   entering from the right edge and cut off at the bottom; keeps clear of the Contact column */
.site-footer::after { width: auto; aspect-ratio: auto; transform: none; left: 0; right: 0; top: 65px; bottom: 0;
  background: url("c-arc-r.svg") right -460px top 125px / 840px 840px no-repeat; }
@media (min-width: 921px) { .site-footer .foot-bottom { margin-right: 300px; } }
@media (max-width: 920px) { .site-footer::after { top: auto; height: 320px; background-size: 520px 520px; background-position: right -380px top 0; opacity: .45; } }

@media (prefers-reduced-motion: reduce) { .hc.hero::after { animation: none; } }
