/* purpleDrop line illustrations: inline SVG, no image files, fixed aspect ratio so nothing shifts */
.ill { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.ill .l { fill: none; stroke: var(--violet); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ill .o { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ill .d { stroke-dasharray: 2 7; }
.ill .w { fill: #fff; stroke: var(--violet); stroke-width: 2.5; stroke-linejoin: round; }
.ill .v { fill: #F1EAFD; stroke: none; }
.ill .t { fill: var(--accent-tint); stroke: none; }
.ill .s { fill: var(--violet); stroke: none; }
.ill .a { fill: var(--accent); stroke: none; }
.ill .g { fill: none; stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.stage-ill { width: 100%; max-width: 11.5rem; margin-top: 1.25rem; }
@media (min-width: 48rem) {
  .stage-body { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; column-gap: 2rem; align-items: start; }
  .stage-body > * { grid-column: 1; }
  .stage-body > .stage-ill { grid-column: 2; grid-row: 1 / span 12; margin-top: 0; max-width: none; align-self: start; }
}
.ill-side { width: 100%; max-width: 20rem; margin-top: 1.5rem; }
.ill-float { width: 100%; max-width: 13rem; margin: 1.25rem 0 0; }
@media (min-width: 48rem) {
  .has-ill { display: flow-root; }
  .ill-float { float: right; width: 12.5rem; max-width: 12.5rem; margin: 0 0 .5rem 2.5rem; }
}

/* stage number: colour fades with the background so the digit never vanishes mid-change */
.stage-num { transition: transform .3s var(--ease-out), background-color .12s ease, color .12s ease, box-shadow .3s ease; }
/* services: balance text+art against the card */
#fix .grid-2, #update .grid-2, #redesign .grid-2, #ownership .grid-2 { align-items: center !important; }
#ownership .container > p { margin-top: 2.25rem; }
@media (min-width: 48rem) {
  .grid-2 > .ill-side { grid-row: 2; grid-column: 1; max-width: 17rem; margin: 1rem auto 0; }
  .grid-2 > .card { grid-row: 1 / span 2; grid-column: 2; }
  /* page headers: text left, illustration right, centred against the text */
  .has-ill { max-width: 70rem; }
  .has-ill > .reveal { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; column-gap: 3.5rem; align-items: center; }
  .has-ill > .reveal > * { grid-column: 1; }
  .has-ill > .reveal > .ill-float { grid-column: 2; grid-row: 1 / span 8; float: none; width: 100%; max-width: none; margin: 0; align-self: center; }
  .has-ill h1 { font-size: clamp(2.5rem, 4.4vw, 3.7rem); }
}

@media (min-width: 64rem) {
  #fix .grid-2, #update .grid-2, #redesign .grid-2, #ownership .grid-2 { grid-template-columns: minmax(0, 1fr) 18rem minmax(0, 1fr); column-gap: 3rem; }
  .grid-2 > .ill-side { grid-row: auto; grid-column: auto; max-width: none; margin: 0; }
  .grid-2 > .card { grid-row: auto; grid-column: auto; }
}

/* richer tier: glow, layered depth, gradient fills (inline SVG, no images) */
.ill { overflow: visible; }
.ill .rg { fill: none; stroke: var(--violet); stroke-opacity: .13; stroke-width: 1.4; }
.ill .dots circle { fill: var(--violet); opacity: .35; }
.ill .lav { fill: url(#pdLav); }
.ill .pk { fill: url(#pdPeach); }
.ill .w { filter: none; }
.stage-ill, .ill-side, .ill-float { position: relative; }
@media (min-width: 48rem) {
  .stage-body { grid-template-columns: minmax(0, 1fr) 20rem; }
  .has-ill > .reveal { grid-template-columns: minmax(0, 1fr) 25rem; }
}
@media (min-width: 64rem) {
  #fix .grid-2, #update .grid-2, #redesign .grid-2, #ownership .grid-2 { grid-template-columns: minmax(0, 1fr) 21rem minmax(0, 1fr); }
}

/* bespoke scenes: 320x240 canvas, 4:3 */
@media (min-width: 48rem) { .stage-body { grid-template-columns: minmax(0, 1fr) 14rem; column-gap: 1.5rem; } }
@media (max-width: 47.99rem) { .stage-ill { max-width: 17rem; } }
@media (min-width: 64rem) { #fix .grid-2, #update .grid-2, #redesign .grid-2, #ownership .grid-2 { grid-template-columns: minmax(0, 1fr) 22rem minmax(0, 1fr); } }
.ill .v { fill: #F1EAFD; }


/* 12.2 fixes: more text width on home, one-line copy button, roomier services gap */
@media (min-width: 64rem) { .stage-body { grid-template-columns: minmax(0, 1fr) 16rem; column-gap: 2rem; } #fix .grid-2, #update .grid-2, #redesign .grid-2, #ownership .grid-2 { column-gap: 4rem; } }
.copy-btn { white-space: nowrap; }
@media (min-width: 64rem) { .story { margin-inline: -7rem; } }

.path-art { width: 4.5rem; height: 4.5rem; }
@media (min-width: 64rem) { .stage-body > .stage-ill { width: 20rem; justify-self: end; margin: -1rem -2.5rem 0 0; } }
