/* ==========================================================================
   FEEL: the home page's soft layer, shared by every page            (feel.css)
   --------------------------------------------------------------------------
   Linked from includes/common/theme-head.php, after content.css and BEFORE
   each page's own stylesheet, so pages build on it and can still override.

   The rule (user, 2026-11-20): no page may read as a stack of flat square
   boxes. Every page carries what the home page has:
   - colour spots: soft rose / peach / lilac radial glows on the grounds
     (never a whole page of flat white or flat blush);
   - a little radius: --dst-r (cards, boxes, glass panels and the photos
     inside them), --dst-r-sm (thumbs, inputs, small tiles), --dst-pill
     (chips, badges, buttons). Full-width bands, page heroes and the header
     dropdowns stay square;
   - glass: frosted white panels (blur + a white edge highlight, no grey
     border, no drop shadow) for sidebars, "at a glance" and booking cards;
   - motion: sections reveal (custom/js/reveal.js), spots drift slowly,
     icons float, cards lift a little on hover; all off for reduced motion;
   - timelines and figures instead of plain lists where the content is a
     sequence or a count.
   Tokens for colour live in nav.css.
   ========================================================================== */

:root {
	--dst-r: 14px;            /* cards, boxes, glass panels, photos in them */
	--dst-r-sm: 10px;         /* thumbs, inputs, small tiles, icon frames */
	--dst-pill: 999px;        /* chips, badges, buttons */

	/* the three home glows */
	--dst-spot-rose: rgba(240, 86, 151, .15);
	--dst-spot-peach: rgba(255, 178, 140, .2);
	--dst-spot-lilac: rgba(176, 130, 255, .1);
	--dst-spots:
		radial-gradient(42% 60% at 0% 12%, var(--dst-spot-rose), rgba(240, 86, 151, 0) 70%),
		radial-gradient(36% 55% at 100% 0%, var(--dst-spot-peach), rgba(255, 178, 140, 0) 70%),
		radial-gradient(40% 60% at 62% 104%, var(--dst-spot-lilac), rgba(176, 130, 255, 0) 70%);
	--dst-spots-soft:
		radial-gradient(38% 50% at 100% 20%, rgba(240, 86, 151, .08), rgba(240, 86, 151, 0) 70%),
		radial-gradient(34% 50% at 0% 90%, rgba(255, 178, 140, .12), rgba(255, 178, 140, 0) 70%);

	/* glass */
	--dst-glass-bg: rgba(255, 255, 255, .62);
	--dst-glass-ring: inset 0 0 0 1px rgba(255, 255, 255, .85);   /* a white edge highlight, not a border */
	--dst-glass-filter: blur(16px) saturate(160%);

	--dst-lift: translateY(-3px);
}

/* ---------- Grounds ---------- */
.dst-ground { position: relative; isolation: isolate; background: var(--dst-spots), var(--dst-blush); }
.dst-ground--white { background: var(--dst-spots-soft), #fff; }
/* drifting glows behind a section's content (add <span class="dst-drift" aria-hidden="true"></span>) */
.dst-drift { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.dst-drift::before, .dst-drift::after {
	content: ""; position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(240, 86, 151, .16), rgba(240, 86, 151, 0));
	top: -18vmax; left: -12vmax; animation: dst-drift 22s ease-in-out infinite alternate;
}
.dst-drift::after {
	background: radial-gradient(closest-side, rgba(255, 178, 140, .2), rgba(255, 178, 140, 0));
	top: auto; left: auto; bottom: -20vmax; right: -14vmax; animation-duration: 26s; animation-direction: alternate-reverse;
}

/* ---------- Glass ---------- */
.dst-glass {
	border-radius: var(--dst-r);
	background: var(--dst-glass-bg);
	box-shadow: var(--dst-glass-ring);
	-webkit-backdrop-filter: var(--dst-glass-filter); backdrop-filter: var(--dst-glass-filter);
}

/* ---------- Motion ---------- */
@keyframes dst-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(5vmax, 3vmax) scale(1.15); } }
@keyframes dst-float { from { transform: translateY(2px); } to { transform: translateY(-3px); } }
.dst-float { animation: dst-float 3.6s ease-in-out infinite alternate; }
@media (hover: hover) and (pointer: fine) {
	.dst-lift { transition: transform .35s cubic-bezier(.23, 1, .32, 1); }
	.dst-lift:hover { transform: var(--dst-lift); }
}
@media (prefers-reduced-motion: reduce) {
	.dst-drift::before, .dst-drift::after, .dst-float { animation: none; }
	.dst-lift, .dst-lift:hover { transition: none; transform: none; }
}
