/* Section illustrations (inline SVG from scripts/content/illus). Colours follow the theme through CSS variables. */
.headrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(24px, 5vw, 72px); align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.headrow .head { margin-bottom: 0; }
.illus { margin: 0; width: 100%; max-width: 400px; justify-self: end; }
.illus svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 860px) { .headrow { grid-template-columns: 1fr; gap: 20px; } .illus { max-width: 300px; justify-self: center; margin-inline: auto; } }

.il .gl, .il .gr, .il .gt { stroke: var(--line); stroke-width: 2.4; stroke-linejoin: round; }
.il .gt { fill: var(--face-top); } .il .gl { fill: var(--face-a); } .il .gr { fill: color-mix(in srgb, var(--face-a) 55%, transparent); }
.il .ot, .il .ol, .il .orr { stroke: rgba(255, 222, 196, .9); stroke-width: 2.4; stroke-linejoin: round; }
.il .ot { fill: #ffb36b; } .il .ol { fill: #ff6a35; } .il .or { filter: drop-shadow(0 0 16px rgba(255, 91, 46, .5)); }
.il .orr { fill: #d9421a; }
.il .fl { fill: rgba(0, 0, 0, .5); filter: blur(10px); opacity: .32; }
@media (prefers-color-scheme: light) { .il .fl { fill: rgba(21, 22, 27, .22); } }
:root[data-theme="light"] .il .fl { fill: rgba(21, 22, 27, .22); } :root[data-theme="dark"] .il .fl { fill: rgba(0, 0, 0, .5); }
.il .gw { opacity: .8; }
.il .ln { fill: none; stroke: var(--line); stroke-width: 2.4; stroke-linecap: round; } .il .ln.thin { stroke-width: 1.8; }
.il .oln { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.il .ck { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.il .trail { opacity: .55; } .il .trail + .trail { opacity: .4; } .il .trail + .trail + .trail { opacity: .28; }

/* calm motion: the orange piece breathes slightly */
@keyframes il-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.il .bx.or { animation: il-breathe 6s ease-in-out infinite; }
.il .trail .bx.or { animation: none; }
@media (prefers-reduced-motion: reduce) { .il .bx.or { animation: none; } }

/* glass section images (one picture, two themes) */
.illus-img { max-width: 360px; }
.illus-img img { width: 100%; height: auto; }
@media (max-width: 860px) { .illus-img { max-width: min(340px, 88%); justify-self: center; margin-inline: auto; } }
