/* Overview figures: hand-drawn "ink doodle" scenes (generated by a script, inlined in index.html): a pen line with the colour printed a
   touch off it, on soft brand-colour panels. Each shape is <g class="hs c-…"> with .hf (colour) and .hl (outline); .hk = loose strokes. */
.hand { --ink: 43, 45, 49; }
/* restrained palette: brand coral, brand blue, sand and paper only */
.hand .c-coral { --c: #f09281; } .hand .c-blue { --c: #a9cdce; } .hand .c-sand { --c: #eadcc4; } .hand .c-paper { --c: #fffdf8; } .hand .c-ink { --c: #2b2d31; }
.hand path { stroke-linecap: round; stroke-linejoin: round; }
.hand .hf { fill: var(--c); }
.hand .hl, .hand .hk { fill: none; stroke: rgb(var(--ink)); stroke-width: 1.25; }
.hand .hk.soft { stroke-opacity: .32; }
.hand .hk.dash { stroke-opacity: .55; stroke-dasharray: .5 4.5; stroke-width: 1.5; }
.hand .hk.ring { stroke: #c75a47; stroke-opacity: .45; }
.hand .dot .hl { stroke: none; }
/* the panel hugs the drawing: a fixed 5:4 panel (so the titles below line up) with a thin margin; the SVG viewBoxes are cropped to the art */
.feat[data-v="ink"] .fg { position: relative; display: block; height: auto; aspect-ratio: 5 / 4; padding: 0; border-radius: 14px; margin: calc(1.4 * var(--u)) 0 calc(2.4 * var(--u)); }

/* Ink doodle: black pen outlines, colour printed slightly off the line (like a risograph), on light versions of the brand panels */
.feat[data-v="ink"] .fc:nth-child(1) .fg { background: #dde9e7; } .feat[data-v="ink"] .fc:nth-child(2) .fg { background: #f6e1da; } .feat[data-v="ink"] .fc:nth-child(3) .fg { background: #efe6d6; }
.feat[data-v="ink"] .hand .hf { transform: translate(3.2px, 2.6px); }   /* colour printed a touch off the line, like an editorial print */

/* hand-drawn motion, kept slow and small: the lifted card floats, rings breathe inside the phone, the cloud drifts, replies appear in turn */
.feat.mo .hand .mv-pop { transform-box: fill-box; transform-origin: 50% 100%; animation: fig-pop 4.2s ease-in-out infinite; }
@keyframes fig-pop { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-1.5deg); } }
.feat.mo .hand .mv-cloud { animation: fig-drift 7s ease-in-out infinite; }
@keyframes fig-drift { 50% { transform: translate(7px, -3px); } }
.feat.mo .hand .mv-ring { transform-box: fill-box; transform-origin: center; animation: fig-breathe 4s ease-in-out infinite; } .feat.mo .hand .mv-ring.r2 { animation-delay: .6s; }
@keyframes fig-breathe { 0%, 100% { transform: scale(.94); opacity: .55; } 50% { transform: scale(1.04); opacity: 1; } }
.feat.mo .hand .mv-b { transform-box: fill-box; transform-origin: 15% 100%; animation: fig-bub 7s cubic-bezier(.16, 1, .3, 1) infinite; }
.feat.mo .hand .mv-b.b2 { animation-delay: .45s; } .feat.mo .hand .mv-b.b3 { animation-delay: .9s; }
@keyframes fig-bub { 0% { transform: translateY(6px); opacity: 0; } 10%, 86% { transform: none; opacity: 1; } 95%, 100% { transform: none; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .feat.mo .hand * { animation: none !important; } }

.feat .fg svg.hand { position: absolute; top: 7%; bottom: 7%; left: 6.5%; right: 6.5%; width: 87%; height: 86%; overflow: visible; }
@media (max-width: 860px), (max-aspect-ratio: 1/1) { .feat[data-v="ink"] .fg { height: auto; margin: 12px 0 22px; } }
