/* ===========================================================================
   ASF AB Daisy — "Daisy Got Lost" by Alison Ruth Barrett
   One night, start to finish: the sky, the ink and the particles follow the
   story from a honey-cream day through dusk, a moonlit forest and a lantern-
   lit night to a rose-gold dawn. JS (asf-ab-app.js) measures the sections
   live and writes --asf-ab-bg-top / --asf-ab-bg-bot / --asf-ab-ink /
   --asf-ab-night on <html> (+ .asf-ab-is-dark when the ink is light).
   TOKENS: honey #E7A93B · rust #A4472B · sage #7D9A5B · daisy #FFFDF7
           moon #CBD6EE · cocoa #3B2A1E
   =========================================================================== */

:root {
	color-scheme: light;
	/* live (JS) — defaults are "day" */
	--asf-ab-bg-top: #FFF6E6;
	--asf-ab-bg-bot: #FDE9C8;
	--asf-ab-ink: #3B2A1E;
	--asf-ab-night: 0;
	--asf-ab-hdr: 84px;

	--asf-ab-honey: #E7A93B;
	--asf-ab-honey-l: #F6CF7A;
	--asf-ab-honey-d: #9B5F12;
	--asf-ab-rust: #A4472B;
	--asf-ab-rust-d: #7E3119;
	--asf-ab-sage: #7D9A5B;
	--asf-ab-sage-d: #556E3A;
	--asf-ab-daisy: #FFFDF7;
	--asf-ab-moon: #CBD6EE;
	--asf-ab-cocoa: #3B2A1E;
	--asf-ab-cream: #FFF8EA;
	--asf-ab-paper: #FFF6E6;

	--asf-ab-accent: var(--asf-ab-rust);
	--asf-ab-say: var(--asf-ab-honey-d);
	--asf-ab-muted: color-mix(in srgb, var(--asf-ab-ink) 76%, transparent);
	--asf-ab-line: color-mix(in srgb, var(--asf-ab-ink) 16%, transparent);
	--asf-ab-glow: none;

	--asf-ab-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--asf-ab-sans: "Nunito", "Segoe UI", system-ui, sans-serif;
	--asf-ab-script: "Caveat", "Segoe Script", "Bradley Hand", cursive;

	--asf-ab-wrap: 75rem;
	--asf-ab-gutter: clamp(16px, 5vw, 64px);
	--asf-ab-r: 22px;
	--asf-ab-shadow: 0 34px 60px -30px rgba(74, 38, 12, .5), 0 12px 24px -14px rgba(74, 38, 12, .32);
	--asf-ab-ease: cubic-bezier(.22, .61, .36, 1);
	--asf-ab-spring: cubic-bezier(.34, 1.56, .64, 1);
}
.asf-ab-is-dark {
	--asf-ab-accent: var(--asf-ab-honey);
	--asf-ab-say: #F2C46B;
	--asf-ab-glow: 0 0 22px rgba(255, 214, 140, .18), 0 1px 2px rgba(5, 10, 30, .55);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
	scroll-padding-top: calc(var(--asf-ab-hdr) + 12px);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	background: var(--asf-ab-bg-top);
}
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
	margin: 0; min-height: 100vh; overflow-x: clip;
	background: var(--asf-ab-bg-top);
	color: var(--asf-ab-ink);
	font: 400 1.0625rem/1.7 var(--asf-ab-sans);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	text-shadow: var(--asf-ab-glow);
	transition: color .45s var(--asf-ab-ease);
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
img.is-missing { visibility: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 {
	margin: 0; font-family: var(--asf-ab-serif); font-weight: 700; line-height: 1.08;
	letter-spacing: -.012em; text-wrap: balance; color: inherit;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--asf-ab-honey-l); color: var(--asf-ab-cocoa); text-shadow: none; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--asf-ab-accent); outline-offset: 3px; border-radius: 6px; }
.asf-ab-is-dark :focus-visible { outline-color: var(--asf-ab-honey-l); }
.screen-reader-text, .asf-ab-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.asf-ab-skip {
	/* centred, so when focused it never sits on the wordmark (left) or the nav (right) */
	position: fixed; left: 50%; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 999px; transform: translateX(-50%);
	background: var(--asf-ab-cocoa); color: var(--asf-ab-cream); font-weight: 800; text-decoration: none; text-shadow: none; white-space: nowrap;
	transition: top .25s var(--asf-ab-ease);
}
.asf-ab-skip:focus { top: 12px; }

/* big screens: everything grows together (type is rem-based, containers follow) */
@media (min-width: 1900px) {
	html { font-size: 118.75%; }

}
@media (min-width: 2300px) {
	html { font-size: 137.5%; }

}

main, .asf-ab-main { position: relative; z-index: 2; display: block; }
.asf-ab-sec { position: relative; z-index: 2; }
.asf-ab-wrap { width: min(100% - 2 * var(--asf-ab-gutter), var(--asf-ab-wrap)); margin-inline: auto; }

/* ---------- the fixed sky + particle layers ---------- */
.asf-ab-sky, .asf-ab-particles { position: fixed; inset: 0; pointer-events: none; }
.asf-ab-sky {
	z-index: 0;
	background:
		/* the sun of the day, fading as night falls */
		radial-gradient(60vmax 50vmax at 12% -8%, rgba(255, 228, 160, calc(.55 * (1 - var(--asf-ab-night)))), transparent 70%),
		/* moonlight, rising as night falls */
		radial-gradient(46vmax 40vmax at 86% 6%, rgba(203, 214, 238, calc(.22 * var(--asf-ab-night))), transparent 70%),
		linear-gradient(180deg, var(--asf-ab-bg-top) 0%, var(--asf-ab-bg-bot) 100%);
}
.asf-ab-sky::before { /* watercolour paper by day, almost gone at night (normal blend, no boxes) */
	content: ''; position: absolute; inset: 0;
	background: url('../img/paper.webp') repeat; background-size: 900px;
	opacity: calc(.3 - .26 * var(--asf-ab-night));
}
.asf-ab-sky::after { /* the moon */
	content: ''; position: absolute; right: 9vw; top: 12vh; width: clamp(56px, 7vw, 110px); aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle at 38% 36%, #FFFDF2 0%, #F4EEDD 46%, #CBD6EE 100%);
	box-shadow: 0 0 60px 18px rgba(203, 214, 238, .35), 0 0 160px 60px rgba(203, 214, 238, .12);
	opacity: var(--asf-ab-moonup, 0);
	transform: translateY(calc((1 - var(--asf-ab-moonup, 0)) * 24vh));
}
@media (max-width: 480px) { .asf-ab-sky::after { display: none; } }
.asf-ab-particles { z-index: 1; width: 100%; height: 100%; }
.asf-ab-reduced .asf-ab-particles { display: none; }

/* ---------- type helpers ---------- */
.asf-ab-kicker, .asf-ab-eyebrow {
	display: inline-flex; align-items: center; gap: .7em; margin: 0;
	font: 800 .8rem/1.2 var(--asf-ab-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--asf-ab-accent);
}
.asf-ab-kicker::before, .asf-ab-eyebrow::before {
	content: ''; width: 18px; height: 18px; flex: none;
	background: radial-gradient(circle, var(--asf-ab-honey) 0 28%, transparent 30%),
		conic-gradient(from 0deg, var(--asf-ab-daisy) 0 10%, transparent 0 12.5%, var(--asf-ab-daisy) 0 22.5%, transparent 0 25%, var(--asf-ab-daisy) 0 35%, transparent 0 37.5%, var(--asf-ab-daisy) 0 47.5%, transparent 0 50%, var(--asf-ab-daisy) 0 60%, transparent 0 62.5%, var(--asf-ab-daisy) 0 72.5%, transparent 0 75%, var(--asf-ab-daisy) 0 85%, transparent 0 87.5%, var(--asf-ab-daisy) 0 97.5%, transparent 0);
	border-radius: 50%; filter: drop-shadow(0 1px 1px rgba(80, 40, 10, .35));
}
.asf-ab-h2, .asf-ab-sec h2 {
	font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); font-weight: 700; line-height: 1.04;
}
.asf-ab-h2 em, .asf-ab-sec h2 em { font-style: italic; font-weight: 500; color: var(--asf-ab-accent); }
.asf-ab-lede { font: 400 clamp(1.15rem, 1rem + .5vw, 1.4rem)/1.55 var(--asf-ab-serif); color: var(--asf-ab-muted); }
.asf-ab-script { font-family: var(--asf-ab-script); font-weight: 600; }
.asf-ab-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 46rem; margin-bottom: clamp(26px, 4vw, 44px); }
.asf-ab-head .asf-ab-lede { max-width: 40rem; }
.asf-ab-story__intro .asf-ab-head, .asf-ab-gallery .asf-ab-head, .asf-ab-characters .asf-ab-head, .asf-ab-contact__head {
	align-items: center; text-align: center; margin-inline: auto;
}

/* ---------- buttons ---------- */
.asf-ab-btn {
	--b: var(--asf-ab-ink);
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .8em 1.55em; border-radius: 999px; border: 2px solid var(--b);
	background: transparent; color: var(--asf-ab-ink); text-decoration: none; text-shadow: none;
	font: 800 1rem/1 var(--asf-ab-sans); letter-spacing: .02em; white-space: nowrap;
	transition: transform .4s var(--asf-ab-spring), box-shadow .35s, background-color .3s, color .3s, border-color .3s;
}
.asf-ab-btn:hover { transform: translateY(-2px); }
.asf-ab-btn:active { transform: translateY(1px) scale(.98); }
.asf-ab-btn--solid {
	--b: transparent;
	background: linear-gradient(180deg, #C25A35 0%, var(--asf-ab-rust) 55%, #8E3A21 100%);
	color: #FFF8EA;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -2px 0 rgba(0, 0, 0, .14) inset, 0 12px 24px -12px rgba(126, 49, 25, .75);
}
.asf-ab-btn--solid:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -2px 0 rgba(0, 0, 0, .14) inset, 0 18px 30px -12px rgba(126, 49, 25, .8); }
.asf-ab-is-dark .asf-ab-btn--solid { background: linear-gradient(180deg, var(--asf-ab-honey-l), var(--asf-ab-honey)); color: #2A1608; box-shadow: 0 12px 28px -12px rgba(231, 169, 59, .7); }
.asf-ab-btn--ghost { background: color-mix(in srgb, var(--asf-ab-daisy) 55%, transparent); }
.asf-ab-is-dark .asf-ab-btn--ghost { background: rgba(255, 253, 247, .06); }
.asf-ab-btn--ghost:hover { background: var(--asf-ab-ink); color: var(--asf-ab-bg-top); }

/* ---------- the wordmark (echoes the cover) ---------- */
.asf-ab-brand, .asf-ab-hero__title {
	--wm-size: 1.5rem;
	display: inline-flex; align-items: baseline; text-decoration: none; text-shadow: none;
	font-size: var(--wm-size); line-height: 1; white-space: nowrap;
}
.asf-ab-wm__a, .asf-ab-wm__b {
	position: relative;
	font-family: var(--asf-ab-serif); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em;
	font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 144;
	color: var(--asf-ab-rust);
	background: linear-gradient(180deg, #8C351C 0%, #B4532F 30%, #D67A48 46%, #F6C98E 56%, #E7A05E 64%, #B0502C 82%, #8A341B 100%);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	filter: drop-shadow(0 .06em .1em rgba(60, 20, 6, .3));
}
.asf-ab-wm__got {
	position: relative; z-index: 2;
	font-family: var(--asf-ab-script); font-weight: 700; font-size: 1.12em; letter-spacing: 0; text-transform: lowercase;
	color: #24140C; margin: 0 -.02em 0 -.08em; transform: translateY(-.18em) rotate(-10deg); display: inline-block;
}
.asf-ab-wm__got::after { /* the swash that sweeps back under "DAISY" */
	content: ''; position: absolute; right: 52%; top: 66%; width: 2.4em; height: .5em; z-index: -1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 50'%3E%3Cpath d='M236 6C200 30 150 44 96 42 56 40 22 30 4 20' fill='none' stroke='%2324140C' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	transform: rotate(10deg); transform-origin: right center;
}
.asf-ab-brand { --wm-size: clamp(1.15rem, .9rem + .7vw, 1.55rem); padding: 6px 4px; border-radius: 10px; }
.asf-ab-brand .asf-ab-wm__got::after { display: none; }
/* on the night sky the wordmark turns to moonlit honey with a soft glow */
.asf-ab-is-dark .asf-ab-brand .asf-ab-wm__a, .asf-ab-is-dark .asf-ab-brand .asf-ab-wm__b {
	background-image: linear-gradient(180deg, #FFF6DC 0%, #FBE3A6 42%, #FFF3D0 55%, #F2C46B 70%, #E7A93B 100%);
	filter: drop-shadow(0 0 .25em rgba(246, 207, 122, .55));
}
.asf-ab-is-dark .asf-ab-brand .asf-ab-wm__got { color: #FFF3D6; filter: drop-shadow(0 0 .2em rgba(246, 207, 122, .6)); }
.asf-ab-drawer-open .asf-ab-header .asf-ab-brand .asf-ab-wm__a, .asf-ab-drawer-open .asf-ab-header .asf-ab-brand .asf-ab-wm__b {
	background-image: linear-gradient(180deg, #8C351C 0%, #B4532F 30%, #D67A48 46%, #F6C98E 56%, #E7A05E 64%, #B0502C 82%, #8A341B 100%);
	filter: none;
}
.asf-ab-drawer-open .asf-ab-header .asf-ab-brand .asf-ab-wm__got { color: #24140C; filter: none; }

/* ===========================================================================
   HEADER
   =========================================================================== */
.asf-ab-header {
	position: fixed; inset: 0 0 auto; z-index: 60;
	color: var(--asf-ab-ink);
	transition: background-color .45s, box-shadow .45s, color .45s;
}
.asf-ab-header::before { /* soft cream wash at the very top so the nav reads over the hero */
	content: ''; position: absolute; inset: 0 0 -30px; pointer-events: none; z-index: -1;
	background: linear-gradient(180deg, rgba(255, 246, 230, .72), rgba(255, 246, 230, 0));
	transition: opacity .45s;
}
.asf-ab-header.is-condensed::before, .asf-ab-is-dark .asf-ab-header::before { opacity: 0; }
.asf-ab-header__inner {
	width: min(100% - 2 * var(--asf-ab-gutter), 85rem); margin-inline: auto;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	height: 84px; padding-top: env(safe-area-inset-top, 0px);
	transition: height .45s var(--asf-ab-ease);
}
.asf-ab-header.is-condensed {
	background: color-mix(in srgb, var(--asf-ab-bg-top) 84%, transparent);
	box-shadow: 0 1px 0 var(--asf-ab-line), 0 14px 30px -24px rgba(30, 18, 8, .5);
	-webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25);
}
.asf-ab-header.is-condensed .asf-ab-header__inner { height: 64px; }
.asf-ab-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.asf-ab-nav__link {
	position: relative; padding: 8px 2px; text-decoration: none;
	font: 800 .98rem/1 var(--asf-ab-sans); letter-spacing: .01em;
}
.asf-ab-nav__link::after { /* a petal-shaped underline */
	content: ''; position: absolute; left: 50%; bottom: -2px; width: 100%; height: 3px; border-radius: 3px;
	background: var(--asf-ab-honey); transform: translateX(-50%) scaleX(0); transition: transform .45s var(--asf-ab-spring);
}
.asf-ab-nav__link:hover::after, .asf-ab-nav__link.is-current::after { transform: translateX(-50%) scaleX(1); }
.asf-ab-nav .asf-ab-btn { min-height: 42px; padding: .65em 1.25em; font-size: .92rem; }
.asf-ab-burger { display: none; }

/* drawer (≤1100px) */
.asf-ab-drawer { display: none; }
@media (max-width: 1100px) {
	:root { --asf-ab-hdr: 68px; }
	.asf-ab-header__inner, .asf-ab-header.is-condensed .asf-ab-header__inner { height: 68px; }
	/* backdrop-filter would make the header the containing block for fixed children — solid bar instead */
	.asf-ab-header, .asf-ab-header.is-condensed { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
	.asf-ab-header.is-condensed { background: color-mix(in srgb, var(--asf-ab-bg-top) 97%, transparent); }
	.asf-ab-nav { display: none; }
	.asf-ab-burger {
		position: relative; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; margin-right: -6px;
		border: 0; border-radius: 50%; background: color-mix(in srgb, var(--asf-ab-daisy) 50%, transparent); color: inherit;
		transition: background-color .3s;
	}
	.asf-ab-is-dark .asf-ab-burger { background: rgba(255, 253, 247, .08); }
	.asf-ab-burger__bars, .asf-ab-burger__bars::before, .asf-ab-burger__bars::after {
		display: block; width: 22px; height: 2.5px; border-radius: 3px; background: currentColor;
		transition: transform .4s var(--asf-ab-ease), background-color .2s;
	}
	.asf-ab-burger__bars { position: relative; }
	.asf-ab-burger__bars::before, .asf-ab-burger__bars::after { content: ''; position: absolute; left: 0; }
	.asf-ab-burger__bars::before { top: -7px; width: 22px; }
	.asf-ab-burger__bars::after { top: 7px; width: 15px; }
	.asf-ab-drawer-open .asf-ab-burger__bars { background: transparent; }
	.asf-ab-drawer-open .asf-ab-burger__bars::before { transform: translateY(7px) rotate(45deg); }
	.asf-ab-drawer-open .asf-ab-burger__bars::after { width: 22px; transform: translateY(-7px) rotate(-45deg); }
	.asf-ab-drawer-open .asf-ab-header { color: var(--asf-ab-cocoa); background: transparent !important; box-shadow: none !important; text-shadow: none; }
	.asf-ab-drawer-open .asf-ab-header::before { opacity: 0; }
	.asf-ab-drawer-open .asf-ab-burger { background: rgba(164, 71, 43, .1); }

	.asf-ab-drawer {
		position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column;
		height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
		padding: calc(env(safe-area-inset-top, 0px) + 96px) max(var(--asf-ab-gutter), env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 28px) max(var(--asf-ab-gutter), env(safe-area-inset-left, 0px));
		color: var(--asf-ab-cocoa); text-shadow: none;
		background:
			url('../img/daisy-sit.webp') no-repeat right max(8px, 4vw) bottom calc(env(safe-area-inset-bottom, 0px) + 8px) / min(46vw, 230px) auto,
			url('../img/paper.webp') repeat 0 0 / 900px,
			linear-gradient(180deg, #FFF6E6, #FDE6C4);
		opacity: 0; visibility: hidden; clip-path: circle(0 at calc(100% - 44px) 34px);
		transition: clip-path .6s var(--asf-ab-ease), opacity .3s, visibility 0s linear .6s;
	}
	.asf-ab-drawer[hidden] { display: none; }
	.asf-ab-drawer-open .asf-ab-drawer { opacity: 1; visibility: visible; clip-path: circle(150% at calc(100% - 44px) 34px); transition: clip-path .7s var(--asf-ab-ease), opacity .2s, visibility 0s; }
	.asf-ab-drawer__nav { display: flex; flex-direction: column; border-top: 1.5px dashed rgba(59, 42, 30, .2); }
	.asf-ab-drawer__link {
		display: flex; align-items: baseline; gap: 16px; padding: 16px 4px; text-decoration: none;
		border-bottom: 1.5px dashed rgba(59, 42, 30, .2);
		font: 700 clamp(1.7rem, 7vw, 2.4rem)/1.1 var(--asf-ab-serif); color: var(--asf-ab-cocoa);
		opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--asf-ab-ease), color .25s;
	}
	.asf-ab-drawer-open .asf-ab-drawer__link { opacity: 1; transform: none; }
	.asf-ab-drawer__link:nth-child(2) { transition-delay: .05s; }
	.asf-ab-drawer__link:nth-child(3) { transition-delay: .1s; }
	.asf-ab-drawer__link:nth-child(4) { transition-delay: .15s; }
	.asf-ab-drawer__link:nth-child(5) { transition-delay: .2s; }
	.asf-ab-drawer__link:nth-child(6) { transition-delay: .25s; }
	.asf-ab-drawer__link:nth-child(n+7) { transition-delay: .3s; }
	.asf-ab-drawer__link:hover, .asf-ab-drawer__link.is-current { color: var(--asf-ab-rust); }
	.asf-ab-drawer__no { min-width: 2.2em; font: 700 1.5rem/1 var(--asf-ab-script); color: var(--asf-ab-honey-d); }
	.asf-ab-drawer__cta { margin-top: 28px; align-self: stretch; min-height: 56px; font-size: 1.05rem; }
	.asf-ab-drawer :focus-visible { outline-color: var(--asf-ab-rust); }
	.asf-ab-drawer-open, .asf-ab-drawer-open body { overflow: hidden; }
	.asf-ab-drawer-open .asf-ab-totop { opacity: 0 !important; pointer-events: none; }

}
@media (max-width: 1100px) and (max-height: 700px) {
	.asf-ab-drawer { background-size: 0 0, 900px, auto; }
}

/* ===========================================================================
   1 · HERO
   =========================================================================== */
.asf-ab-hero {
	position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
	display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
	padding: calc(var(--asf-ab-hdr) + clamp(28px, 7vh, 90px)) var(--asf-ab-gutter) clamp(260px, 40vh, 440px);
	text-align: center;
}
.asf-ab-hero__layers {
	--fore-h: clamp(150px, 30vh, 400px);
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, #F7B8A6 0%, #FBD3A4 45%, #E8D6A0 70%, #A8C27C 100%);
	-webkit-mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
}
.asf-ab-hero__sky { position: absolute; inset: -5% -4% -2%; display: block; }
.asf-ab-hero__sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.asf-ab-hero__layers::after { /* cream veil behind the words, sun glow kept */
	content: ''; position: absolute; inset: 0;
	background:
		radial-gradient(70% 46% at 50% 26%, rgba(255, 248, 234, .78) 0%, rgba(255, 248, 234, .45) 45%, rgba(255, 248, 234, 0) 75%),
		linear-gradient(180deg, rgba(255, 246, 230, .55) 0%, rgba(255, 246, 230, 0) 22%);
}
.asf-ab-hero__daisy {
	position: absolute; z-index: 2; left: 50%; bottom: calc(var(--fore-h) * .42);
	width: clamp(150px, 16vw, 360px); margin-left: clamp(60px, 9vw, 200px);
	filter: drop-shadow(0 18px 18px rgba(60, 40, 10, .28));
	transform-origin: 50% 100%;
}
.asf-ab-hero__fore {
	position: absolute; z-index: 3; left: -3%; bottom: -2%; width: 106%; max-width: none;
	height: var(--fore-h); object-fit: cover; object-position: 50% 0;
}
.asf-ab-hero__copy { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; max-width: 60rem; }
.asf-ab-hero .asf-ab-kicker { color: var(--asf-ab-rust-d); }
.asf-ab-hero__title {
	--wm-size: clamp(2.65rem, 1rem + 8.4vw, 8rem);
	margin: .32em 0 .1em; padding: 0 .1em; text-shadow: none;
}
.asf-ab-hero__title .asf-ab-wm__got { font-size: 1.18em; }
.asf-ab-hero__by {
	margin-top: .5rem; font: 700 clamp(1rem, .9rem + .4vw, 1.3rem)/1.3 var(--asf-ab-sans); letter-spacing: .2em; text-transform: uppercase;
	color: var(--asf-ab-rust-d);
}
.asf-ab-hero__tag {
	margin-top: 1rem; max-width: 34rem;
	font: italic 450 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.45 var(--asf-ab-serif); color: #3B2A1E;
	text-shadow: 0 0 18px rgba(255, 248, 234, .9), 0 0 2px rgba(255, 248, 234, .9);
}
.asf-ab-hero__scripture {
	display: inline-flex; align-items: center; gap: .7em; margin-top: .9rem; padding: .35em 1em; border-radius: 999px;
	font: 800 .74rem/1.3 var(--asf-ab-sans); letter-spacing: .2em; text-transform: uppercase; color: #6E3A1E;
	background: rgba(255, 250, 238, .62); box-shadow: 0 0 0 1px rgba(164, 71, 43, .14);
}
.asf-ab-hero__scripture::before, .asf-ab-hero__scripture::after { content: ''; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; opacity: .45; }
.asf-ab-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 1.7rem; }
.asf-ab-hero .asf-ab-btn--ghost { --b: #3B2A1E; color: #3B2A1E; background: rgba(255, 250, 238, .7); }
.asf-ab-hero .asf-ab-btn--ghost:hover { background: #3B2A1E; color: #FFF8EA; }
.asf-ab-scrollcue {
	position: absolute; z-index: 5; left: 50%; bottom: max(18px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
	font: 700 1.4rem/1 var(--asf-ab-script); color: #3B2A1E; text-decoration: none;
	text-shadow: 0 0 10px rgba(255, 248, 234, .95), 0 0 3px rgba(255, 248, 234, .9);
}
.asf-ab-scrollcue::after {
	content: ''; width: 22px; height: 34px; border-radius: 12px; border: 2px solid currentColor;
	background: radial-gradient(circle at 50% 30%, currentColor 0 3px, transparent 3.5px) no-repeat 0 0 / 100% 100%;
	background-color: rgba(255, 248, 234, .55);
	animation: asfAbCue 2s var(--asf-ab-ease) infinite;
}
@keyframes asfAbCue { 0%, 100% { background-position: 0 0; } 50% { background-position: 0 10px; } }

/* Daisy trots in (hops), then breathes. JS parallax uses `translate`, so they compose. */
@media (prefers-reduced-motion: no-preference) {
	.asf-ab-hero__daisy { animation: asfAbTrot 2.6s linear .3s both, asfAbBreathe 4.2s ease-in-out 2.9s infinite; will-change: transform; }
	.asf-ab-hero__copy > * { animation: asfAbRise 1s var(--asf-ab-ease) both; }
	.asf-ab-hero__copy > :nth-child(2) { animation-delay: .12s; }
	.asf-ab-hero__copy > :nth-child(3) { animation-delay: .24s; }
	.asf-ab-hero__copy > :nth-child(4) { animation-delay: .36s; }
	.asf-ab-hero__copy > :nth-child(5) { animation-delay: .48s; }
	.asf-ab-hero__title .asf-ab-wm__got { animation: asfAbGot 1.2s var(--asf-ab-spring) .5s both; }
}
@keyframes asfAbRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes asfAbGot { from { opacity: 0; transform: translateY(-.6em) rotate(-24deg) scale(.6); } to { opacity: 1; transform: translateY(-.18em) rotate(-10deg); } }
@keyframes asfAbTrot {
	  0.0% { transform: translateX(62.00vw) translateY(-0.00px) rotate(0.00deg); opacity: 0; }
	  2.5% { transform: translateX(57.47vw) translateY(-6.56px) rotate(1.02deg); }
	  5.0% { transform: translateX(53.16vw) translateY(-11.68px) rotate(1.81deg); opacity: 1; }
	  7.5% { transform: translateX(49.07vw) translateY(-14.47px) rotate(2.23deg); }
	 10.0% { transform: translateX(45.20vw) translateY(-14.53px) rotate(2.22deg); }
	 12.5% { transform: translateX(41.54vw) translateY(-11.96px) rotate(1.82deg); }
	 15.0% { transform: translateX(38.08vw) translateY(-7.34px) rotate(1.11deg); }
	 17.5% { transform: translateX(34.81vw) translateY(-1.61px) rotate(0.24deg); }
	 20.0% { transform: translateX(31.74vw) translateY(-4.14px) rotate(0.62deg); }
	 22.5% { transform: translateX(28.86vw) translateY(-8.86px) rotate(1.32deg); }
	 25.0% { transform: translateX(26.16vw) translateY(-11.74px) rotate(1.73deg); }
	 27.5% { transform: translateX(23.63vw) translateY(-12.36px) rotate(1.81deg); }
	 30.0% { transform: translateX(21.27vw) translateY(-10.72px) rotate(1.56deg); }
	 32.5% { transform: translateX(19.07vw) translateY(-7.23px) rotate(1.04deg); }
	 35.0% { transform: translateX(17.03vw) translateY(-2.65px) rotate(0.38deg); }
	 37.5% { transform: translateX(15.14vw) translateY(-2.14px) rotate(0.30deg); }
	 40.0% { transform: translateX(13.39vw) translateY(-6.25px) rotate(0.88deg); }
	 42.5% { transform: translateX(11.79vw) translateY(-8.97px) rotate(1.25deg); }
	 45.0% { transform: translateX(10.32vw) translateY(-9.89px) rotate(1.37deg); }
	 47.5% { transform: translateX(8.97vw) translateY(-8.96px) rotate(1.23deg); }
	 50.0% { transform: translateX(7.75vw) translateY(-6.50px) rotate(0.88deg); }
	 52.5% { transform: translateX(6.64vw) translateY(-3.05px) rotate(0.41deg); }
	 55.0% { transform: translateX(5.65vw) translateY(-0.66px) rotate(0.09deg); }
	 57.5% { transform: translateX(4.76vw) translateY(-3.94px) rotate(0.52deg); }
	 60.0% { transform: translateX(3.97vw) translateY(-6.22px) rotate(0.81deg); }
	 62.5% { transform: translateX(3.27vw) translateY(-7.16px) rotate(0.92deg); }
	 65.0% { transform: translateX(2.66vw) translateY(-6.72px) rotate(0.85deg); }
	 67.5% { transform: translateX(2.13vw) translateY(-5.11px) rotate(0.64deg); }
	 70.0% { transform: translateX(1.67vw) translateY(-2.77px) rotate(0.34deg); }
	 72.5% { transform: translateX(1.29vw) translateY(-0.22px) rotate(0.03deg); }
	 75.0% { transform: translateX(0.97vw) translateY(-2.02px) rotate(0.24deg); }
	 77.5% { transform: translateX(0.71vw) translateY(-3.56px) rotate(0.41deg); }
	 80.0% { transform: translateX(0.50vw) translateY(-4.20px) rotate(0.48deg); }
	 82.5% { transform: translateX(0.33vw) translateY(-3.94px) rotate(0.43deg); }
	 85.0% { transform: translateX(0.21vw) translateY(-2.99px) rotate(0.32deg); }
	 87.5% { transform: translateX(0.12vw) translateY(-1.68px) rotate(0.17deg); }
	 90.0% { transform: translateX(0.06vw) translateY(-0.40px) rotate(0.04deg); }
	 92.5% { transform: translateX(0.03vw) translateY(-0.55px) rotate(0.05deg); }
	 95.0% { transform: translateX(0.01vw) translateY(-0.95px) rotate(0.08deg); }
	 97.5% { transform: translateX(0.00vw) translateY(-0.76px) rotate(0.06deg); }
	100.0% { transform: translateX(0.00vw) translateY(-0.00px) rotate(0.00deg); }
}
@keyframes asfAbBreathe { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-3px) scaleY(1.012); } }

@media (max-width: 760px) {
	.asf-ab-hero { padding-bottom: clamp(240px, 42svh, 380px); }
	.asf-ab-hero__sky img { object-position: 50% 70%; }
	.asf-ab-hero__layers { --fore-h: clamp(130px, 24svh, 240px); }
	.asf-ab-hero__daisy { width: clamp(130px, 38vw, 200px); margin-left: 0; left: auto; right: 6vw; }
	.asf-ab-hero__fore { width: 160%; left: -30%; }
	.asf-ab-hero__scripture::before, .asf-ab-hero__scripture::after { display: none; }
	.asf-ab-hero__layers::after { background: radial-gradient(110% 52% at 50% 24%, rgba(255, 248, 234, .82) 0%, rgba(255, 248, 234, .5) 50%, rgba(255, 248, 234, 0) 80%); }
	.asf-ab-hero__ctas { flex-direction: column; align-items: stretch; width: min(100%, 320px); }
}

/* ===========================================================================
   2 · THE BOOK — real 3D book, blurb, facts
   =========================================================================== */
.asf-ab-book { padding: clamp(80px, 12vw, 170px) 0 clamp(70px, 10vw, 140px); }
.asf-ab-book__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.asf-ab-book3d {
	--w: min(25rem, 74vw); --d: calc(var(--w) * .118);
	position: relative; width: var(--w); aspect-ratio: 1; margin: 0 auto clamp(56px, 7vw, 80px);
	perspective: 1800px; perspective-origin: 50% 40%;
	cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
	border-radius: 8px;
}
.asf-ab-book3d.is-dragging { cursor: grabbing; }
.asf-ab-book3d__obj {
	position: absolute; inset: 0; transform-style: preserve-3d;
	transform: rotateX(-5deg) rotateY(-28deg);
	will-change: transform;
}
.asf-ab-book3d__front, .asf-ab-book3d__back, .asf-ab-book3d__spine, .asf-ab-book3d__pages {
	position: absolute; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.asf-ab-book3d__front, .asf-ab-book3d__back { inset: 0; border-radius: 2px 6px 6px 2px; background: linear-gradient(160deg, #F7D48A, #C25A35); }
.asf-ab-book3d__front { transform: translateZ(calc(var(--d) / 2)); }
.asf-ab-book3d__back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); border-radius: 6px 2px 2px 6px; }
.asf-ab-book3d__spine {
	top: 0; bottom: 0; left: 50%; width: var(--d); margin-left: calc(var(--d) / -2);
	transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: #8C351C;
}
.asf-ab-book3d__pages {
	top: 1.2%; bottom: 1.2%; left: 50%; width: calc(var(--d) - 4px); margin-left: calc((var(--d) - 4px) / -2);
	transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px));
	background: repeating-linear-gradient(90deg, #FBF4E4 0 1.5px, #E6D8BE 1.5px 3px);
	box-shadow: inset 0 0 12px rgba(120, 80, 30, .25);
}
.asf-ab-book3d__obj::before { /* top edge of the page block */
	content: ''; position: absolute; left: 1%; right: 1.2%; top: 50%; height: calc(var(--d) - 4px); margin-top: calc((var(--d) - 4px) / -2);
	transform: rotateX(90deg) translateZ(calc(var(--w) / 2 - 3px));
	background: repeating-linear-gradient(0deg, #FBF4E4 0 1.5px, #E6D8BE 1.5px 3px);
}
.asf-ab-book3d img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.asf-ab-book3d__front::after { /* gloss + hinge */
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(0, 0, 0, .28) 0, rgba(255, 255, 255, .22) 1.6%, rgba(0, 0, 0, .08) 3.4%, transparent 6%),
		linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 48%, transparent 60%);
}
.asf-ab-book__stage { display: flex; flex-direction: column; align-items: center; position: sticky; top: calc(var(--asf-ab-hdr) + 10vh); }
.asf-ab-book3d__shadow { /* floor shadow */
	position: absolute; left: 2%; right: 2%; bottom: -13%; height: 13%; border-radius: 50%; z-index: -1; pointer-events: none;
	background: radial-gradient(closest-side, rgba(70, 36, 10, .4), transparent);
}
.asf-ab-book__hint { margin-top: -18px; font: 600 1.4rem/1 var(--asf-ab-script); color: var(--asf-ab-muted); }
.asf-ab-book__hint::before { content: '‹ '; } .asf-ab-book__hint::after { content: ' ›'; }
.asf-ab-book3d:focus-visible { outline-offset: 18px; border-radius: 12px; }
.asf-ab-book__blurb { font-size: clamp(1.05rem, 1rem + .25vw, 1.18rem); line-height: 1.75; }
.asf-ab-book__blurb p + p { margin-top: 1em; }
.asf-ab-book__blurb p:first-child {
	font: 500 clamp(1.4rem, 1.1rem + 1vw, 1.95rem)/1.35 var(--asf-ab-serif); font-style: italic; color: var(--asf-ab-ink);
}
.asf-ab-facts { margin: clamp(28px, 4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px dotted var(--asf-ab-line); }
.asf-ab-facts > div { padding: 16px 16px 16px 0; border-bottom: 2px dotted var(--asf-ab-line); }
.asf-ab-facts > div:nth-child(even) { padding-left: 16px; border-left: 2px dotted var(--asf-ab-line); }
.asf-ab-facts dt { font: 800 .74rem/1.2 var(--asf-ab-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--asf-ab-accent); }
.asf-ab-facts dd { margin: 6px 0 0; font: 600 1.14rem/1.3 var(--asf-ab-serif); }
@media (max-width: 900px) {
	.asf-ab-book__grid { grid-template-columns: 1fr; }
	.asf-ab-book__stage { position: relative; top: 0; }
}
@media (max-width: 420px) {
	.asf-ab-facts { grid-template-columns: 1fr; }
	.asf-ab-facts > div:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ===========================================================================
   2b · DEDICATION — the book's dedication page, set as a printed page
   =========================================================================== */
.asf-ab-dedpage { padding: clamp(40px, 7vw, 100px) 0 0; }
.asf-ab-dedpage__page {
	position: relative; isolation: isolate; width: min(100%, 46rem); margin-inline: auto; overflow: hidden;
	padding: clamp(48px, 7vw, 88px) clamp(22px, 7vw, 92px) clamp(64px, 9vw, 110px);
	text-align: center; border-radius: var(--asf-ab-r);
	background: var(--asf-ab-daisy); box-shadow: 0 0 0 1px rgba(231, 169, 59, .32), var(--asf-ab-shadow);
}
.asf-ab-dedpage__corner { position: absolute; z-index: -1; width: clamp(120px, 22vw, 210px); height: auto; pointer-events: none; }
.asf-ab-dedpage__corner--bl { left: -6px; bottom: -6px; }
.asf-ab-dedpage__corner--tr { right: -6px; top: -6px; transform: scale(-1, -1); }
.asf-ab-dedpage__head { align-items: center; margin-inline: auto; }
.asf-ab-dedpage__for + .asf-ab-dedpage__for {
	margin-top: 34px; padding-top: 40px;
	background: url('../img/orn-daisy-chain.webp') no-repeat center top / min(200px, 60%) auto;
}
.asf-ab-dedpage__intro { font: italic 400 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.5 var(--asf-ab-serif); color: var(--asf-ab-muted); }
.asf-ab-dedpage__name { margin-top: 4px; font: 600 clamp(1.4rem, 1.15rem + 1vw, 1.9rem)/1.25 var(--asf-ab-serif); color: var(--asf-ab-rust); }
.asf-ab-dedpage__dates { margin-top: 6px; font: 800 .76rem/1.2 var(--asf-ab-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--asf-ab-muted); }
.asf-ab-dedpage__text { max-width: 34rem; margin: 1.1em auto 0; font: 400 clamp(1.05rem, .98rem + .3vw, 1.2rem)/1.65 var(--asf-ab-serif); }
.asf-ab-dedpage__close { margin-top: 34px; font: 700 clamp(1.8rem, 1.5rem + 1.2vw, 2.5rem)/1 var(--asf-ab-script); color: var(--asf-ab-accent); }
@media (max-width: 520px) {
	.asf-ab-dedpage__corner { width: 104px; opacity: .8; }
}

/* ===========================================================================
   3 · THE SHEPHERD — Alison's preface
   =========================================================================== */
.asf-ab-shepherd { padding: clamp(80px, 12vw, 170px) 0; overflow-x: clip; }
.asf-ab-preface__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.asf-ab-preface__aside { position: sticky; top: calc(var(--asf-ab-hdr) + 6vh); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(18px, 2.4vw, 32px); align-items: start; }
.asf-ab-preface__crook { grid-row: 1 / span 9; width: clamp(44px, 4.4vw, 64px); height: auto; opacity: .95; filter: drop-shadow(0 10px 12px rgba(60, 30, 10, .2)); }
.asf-ab-preface__lines { display: flex; flex-direction: column; gap: 1.1em; }
.asf-ab-preface__sign, .asf-ab-author__sign { margin-top: 1.6rem; font: 700 clamp(2rem, 1.6rem + 1.4vw, 2.8rem)/1 var(--asf-ab-script); color: var(--asf-ab-accent); }
.asf-ab-preface__line {
	--asf-ab-read: 1;
	font: 400 clamp(1.25rem, 1.05rem + .9vw, 1.75rem)/1.5 var(--asf-ab-serif);
	opacity: calc(.22 + .78 * var(--asf-ab-read));
	transform: translateY(calc((1 - var(--asf-ab-read)) * 12px));
}
.asf-ab-scripture {
	position: relative; grid-column: 2; margin: 0; padding: 0 0 22px;
	font: italic 500 clamp(1.25rem, 1rem + .9vw, 1.7rem)/1.32 var(--asf-ab-serif); color: var(--asf-ab-accent);
}
.asf-ab-scripture + .asf-ab-scripture { padding-top: 22px; border-top: 2px dotted var(--asf-ab-line); }
.asf-ab-scripture:first-of-type::before {
	content: '“'; display: block; height: .5em; font: 900 2.4em/1 var(--asf-ab-serif); color: var(--asf-ab-honey); opacity: .8;
}
@media (max-width: 900px) {
	.asf-ab-preface__grid { grid-template-columns: 1fr; }
	.asf-ab-preface__aside { position: static; }
}
.asf-ab-scripture cite, .asf-ab-scripture footer { display: block; margin-top: .8em; font: 700 1.5rem/1 var(--asf-ab-script); font-style: normal; color: var(--asf-ab-muted); }

/* ===========================================================================
   4 · THE STORY — acts, sticky picture-book spreads, footsteps rail
   =========================================================================== */
.asf-ab-story { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px); }
.asf-ab-story__head { text-align: center; }
.asf-ab-story__inner, .asf-ab-story > .asf-ab-wrap { position: relative; }

/* footsteps rail (desktop: left of the story) */
.asf-ab-rail {
	--asf-ab-p: 0;
	position: absolute; z-index: 3; top: 0; bottom: 0; left: max(10px, calc((100vw - 1440px) / 2 + 14px)); width: 44px; pointer-events: none;
}
.asf-ab-rail svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.asf-ab-rail__ghost { fill: none; stroke: var(--asf-ab-ink); stroke-opacity: .12; stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.asf-ab-rail__path { fill: none; stroke: var(--asf-ab-honey); stroke-width: 2; stroke-linecap: round; opacity: .75; }
.asf-ab-step { opacity: 0; transition: opacity .6s; }
.asf-ab-step.is-on { opacity: 1; }
.asf-ab-step__sole { fill: var(--asf-ab-ink); fill-opacity: .42; }
.asf-ab-step__hoof { fill: var(--asf-ab-accent); fill-opacity: .7; }
.asf-ab-rail__marker {
	position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
	background: #FFFDF7 url('../img/daisy-face-happy.webp') center 30% / 150% auto no-repeat;
	box-shadow: 0 0 0 3px var(--asf-ab-honey), 0 6px 14px rgba(40, 20, 6, .35), 0 0 26px rgba(246, 207, 122, calc(.2 + .6 * var(--asf-ab-night)));
	will-change: transform; opacity: 0; transition: opacity .5s;
}
.asf-ab-rail.is-active .asf-ab-rail__marker { opacity: 1; }
.asf-ab-rail__marker:has(img:not(.is-missing)) { background-image: none; }
.asf-ab-rail__marker img { position: absolute; left: 50%; bottom: 0; width: 88%; height: auto; transform: translateX(-50%); }
.asf-ab-rail__marker { overflow: hidden; }

/* acts */
.asf-ab-act { position: relative; padding: clamp(70px, 12vh, 140px) 0 clamp(30px, 6vh, 60px); }
.asf-ab-act__head { text-align: center; padding: 0 var(--asf-ab-gutter) clamp(30px, 8vh, 90px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.asf-ab-act__no { font: 700 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1 var(--asf-ab-script); color: var(--asf-ab-accent); }
.asf-ab-act__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); font-weight: 800; letter-spacing: -.02em; }
.asf-ab-act__head::after {
	content: ''; width: min(320px, 70%); height: 34px; margin-top: 6px;
	background: url('../img/orn-daisy-chain.webp') no-repeat center / contain; opacity: .95;
}

/* chapters: sticky art + scrolling text */
.asf-ab-ch {
	--asf-ab-n: 1;
	position: relative;
	width: min(100% - 2 * var(--asf-ab-gutter) - 60px, 80rem); margin: 0 auto; padding-left: 60px;
	display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 5vw, 96px); align-items: start;
}
.asf-ab-ch + .asf-ab-ch { margin-top: clamp(40px, 10vh, 120px); }
.asf-ab-ch--flip { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.asf-ab-ch--flip .asf-ab-ch__art { order: 2; }
.asf-ab-ch__art {
	position: sticky; top: calc(var(--asf-ab-hdr) + 3vh);
	height: calc(100vh - var(--asf-ab-hdr) - 6vh); height: calc(100svh - var(--asf-ab-hdr) - 6vh);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.asf-ab-ch__frame {
	--asf-ab-lx: 50%; --asf-ab-ly: 45%; --asf-ab-lit: 1;
	position: relative; width: min(100%, calc(100svh - var(--asf-ab-hdr) - 6vh - 60px)); aspect-ratio: 1;
	border-radius: var(--asf-ab-r); overflow: hidden; isolation: isolate;
	background: linear-gradient(160deg, #FBD9C0, #C9B6E4);
	box-shadow: 0 0 0 10px var(--asf-ab-daisy), 0 0 0 11px rgba(59, 42, 30, .1), var(--asf-ab-shadow);
	transform: rotate(-.6deg);
}
.asf-ab-ch--flip .asf-ab-ch__frame { transform: rotate(.6deg); }
.asf-ab-is-dark .asf-ab-ch__frame { box-shadow: 0 0 0 10px rgba(255, 253, 247, .92), 0 0 0 11px rgba(255, 253, 247, .2), 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 90px -20px rgba(246, 207, 122, .25); }
.asf-ab-ch__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--asf-ab-ease), transform 6s var(--asf-ab-ease);
}
.asf-ab-ch__img.is-on, .asf-ab-ch__img:only-child, .asf-ab-ch__img:first-child:not(.is-on ~ *):not(:has(~ .is-on)) { opacity: 1; transform: scale(1); z-index: 1; }
.asf-ab-ch__img:first-child:has(~ .is-on) { opacity: 0; }
.asf-ab-ch__dots { display: flex; gap: 8px; }
.asf-ab-ch__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--asf-ab-line); transition: background-color .4s, transform .5s var(--asf-ab-spring); }
.asf-ab-ch__dots i.is-on { background: var(--asf-ab-honey); transform: scale(1.35); }
.asf-ab-ch--few .asf-ab-ch__text { min-height: calc(var(--asf-ab-n) * 46vh); padding-block: 0; justify-content: flex-start; }
.asf-ab-ch--few .asf-ab-ch__stick {
	position: sticky; top: calc(var(--asf-ab-hdr) + 3vh); min-height: calc(100vh - var(--asf-ab-hdr) - 6vh);
	display: flex; flex-direction: column; justify-content: center;
}
.asf-ab-ch--few .asf-ab-ch__p, .asf-ab-ch--few .asf-ab-ch__pull { margin-top: 0; padding-top: 4vh; }
.asf-ab-ch__count {
	font: 800 .74rem/1 var(--asf-ab-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--asf-ab-muted);
	display: inline-flex; align-items: center; gap: 10px;
}
.asf-ab-ch__count::before, .asf-ab-ch__count::after { content: ''; width: 22px; height: 1.5px; background: currentColor; opacity: .5; }

.asf-ab-ch__text {
	position: relative; z-index: 2;
	min-height: max(80vh, calc(var(--asf-ab-n) * 48vh));
	padding-block: 16vh 22vh;
	display: flex; flex-direction: column; justify-content: flex-start;
}
.asf-ab-ch__title { margin-top: 12px; }
/* free space is shared out before each paragraph; 9vh is the minimum breath */
.asf-ab-ch__p, .asf-ab-ch__pull { margin-top: auto; padding-top: 9vh; }
.asf-ab-ch__num {
	display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
	font: 700 1.6rem/1 var(--asf-ab-script); color: var(--asf-ab-accent);
}
.asf-ab-ch__num::after { content: ''; width: 40px; height: 2px; border-radius: 2px; background: currentColor; opacity: .45; }
.asf-ab-ch__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); font-weight: 750; }
.asf-ab-ch__p {
	font: 400 clamp(1.3rem, 1.05rem + .85vw, 1.75rem)/1.58 var(--asf-ab-serif);
	font-optical-sizing: auto; letter-spacing: -.003em;
}
.asf-ab-ch__p::first-letter { }
.asf-ab-ch__pull {
	position: relative; padding-left: 1.1em;
	font: italic 500 clamp(1.5rem, 1.15rem + 1.3vw, 2.3rem)/1.32 var(--asf-ab-serif); color: var(--asf-ab-say);
}
.asf-ab-ch__pull::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(var(--asf-ab-honey), var(--asf-ab-rust)); }
.asf-ab-say { quotes: none; }
.asf-ab-say--shepherd { font-style: italic; font-weight: 520; color: var(--asf-ab-say); }
.asf-ab-say--daisy { font-style: normal; }

/* the Shepherd's lantern */
.asf-ab-js:not(.asf-ab-reduced) .asf-ab-ch__frame.is-dark::after {
	content: ''; position: absolute; inset: -1px; z-index: 3; pointer-events: none;
	background:
		radial-gradient(ellipse 30% 30% at var(--asf-ab-lx) var(--asf-ab-ly), rgba(255, 196, 110, .24) 0%, rgba(255, 170, 80, .08) 45%, rgba(255, 170, 80, 0) 100%),
		radial-gradient(ellipse 34% 34% at var(--asf-ab-lx) var(--asf-ab-ly), rgba(6, 9, 24, 0) 0%, rgba(6, 9, 24, .2) 40%, rgba(6, 9, 24, .8) 78%, rgba(6, 9, 24, .92) 100%);
	opacity: calc(1 - var(--asf-ab-lit));
}
.asf-ab-lamp {
	position: absolute; z-index: 4; left: var(--asf-ab-lx); top: var(--asf-ab-ly); width: clamp(26px, 7%, 46px);
	/* held above-left of the pool of light, never on top of what it reveals */
	transform: translate(-210%, -150%) rotate(-6deg); transform-origin: 50% 0; pointer-events: none;
	filter: drop-shadow(0 0 14px rgba(255, 190, 90, .85));
	opacity: calc(.95 * (1 - var(--asf-ab-lit)));
	animation: asfAbSwing 3.2s ease-in-out infinite;
}
@keyframes asfAbSwing { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
.asf-ab-ch--lantern .asf-ab-ch__frame { cursor: crosshair; touch-action: pan-y; }
.asf-ab-ch__frame.is-lit { cursor: default; }

/* His voice: "Daisy…" and three golden rings */
.asf-ab-voice {
	position: relative; display: grid; place-items: center; min-height: 140px; pointer-events: none; text-shadow: none;
}
.asf-ab-ch__frame .asf-ab-voice, .asf-ab-ch__art .asf-ab-voice { position: absolute; inset: 0; z-index: 5; min-height: 0; place-items: start center; padding-top: 9%; }
/* the call rings out from above her head, never over her face */
.asf-ab-ch__frame .asf-ab-voice .asf-ab-voice__ring { top: calc(9% + clamp(1.3rem, 1rem + 1.3vw, 2.3rem)); }
.asf-ab-voice__word {
	position: relative; z-index: 2;
	font: 700 clamp(2.6rem, 2rem + 2.6vw, 4.6rem)/1 var(--asf-ab-script); color: #FFE7A8;
	text-shadow: 0 0 18px rgba(246, 190, 90, .9), 0 0 50px rgba(246, 190, 90, .55), 0 2px 3px rgba(40, 20, 0, .5);
	opacity: 0; transform: scale(.85); transition: opacity 1s, transform 1.4s var(--asf-ab-spring);
}
.asf-ab-voice__ring {
	position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%;
	border: 3px solid rgba(255, 214, 130, .9); box-shadow: 0 0 18px rgba(255, 200, 100, .7), inset 0 0 12px rgba(255, 200, 100, .5);
	opacity: 0; transform: scale(.3);
}
.asf-ab-voice.is-heard .asf-ab-voice__word { opacity: 1; transform: none; }
.asf-ab-voice.is-calling .asf-ab-voice__ring { animation: asfAbEcho 2.4s cubic-bezier(.2, .6, .35, 1) 3 both; }
.asf-ab-voice.is-calling .asf-ab-voice__ring:nth-of-type(2), .asf-ab-voice.is-calling .asf-ab-voice__ring:nth-child(3) { animation-delay: .5s; }
.asf-ab-voice.is-calling .asf-ab-voice__ring:nth-of-type(3), .asf-ab-voice.is-calling .asf-ab-voice__ring:nth-child(4) { animation-delay: 1s; }
.asf-ab-voice.is-calling .asf-ab-voice__word { animation: asfAbCall 2.4s ease-in-out 3; }
@keyframes asfAbEcho { 0% { opacity: 0; transform: scale(.35); } 15% { opacity: .95; } 100% { opacity: 0; transform: scale(3.6); } }
@keyframes asfAbCall { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.08); } }
.asf-ab-reduced .asf-ab-voice__ring { opacity: .45; transform: scale(1.4); }
.asf-ab-reduced .asf-ab-voice__ring:nth-of-type(n+2) { display: none; }

/* mobile story: art sticky on top, words scroll beneath it; rail → top line */
@media (max-width: 860px) {
	.asf-ab-rail {
		position: fixed; inset: var(--asf-ab-hdr) 0 auto 0; width: auto; height: 3px; z-index: 58;
		background: var(--asf-ab-line); opacity: 0; transition: opacity .4s;
	}
	.asf-ab-rail::after {
		content: ''; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--asf-ab-p));
		background: linear-gradient(90deg, var(--asf-ab-honey), var(--asf-ab-rust));
		border-radius: 0 3px 3px 0;
	}
	.asf-ab-rail.is-active { opacity: 1; }
	.asf-ab-rail svg, .asf-ab-rail__marker { display: none; }
	.asf-ab-ch, .asf-ab-ch--flip {
		width: auto; margin: 0; padding: 0 var(--asf-ab-gutter);
		grid-template-columns: minmax(0, 1fr); gap: 0;
	}
	.asf-ab-ch--flip .asf-ab-ch__art { order: 0; }
	.asf-ab-ch__art {
		top: var(--asf-ab-hdr); z-index: 3; height: auto; padding: 14px 0 34px; margin: 0 calc(var(--asf-ab-gutter) * -1);
		background: none; /* no band: the words fade out instead (mask below, cut line set live by JS) */
	}
	.asf-ab-ch__text {
		--asf-ab-cut: -200px;
		-webkit-mask-image: linear-gradient(180deg, transparent 0, transparent var(--asf-ab-cut), #000 calc(var(--asf-ab-cut) + 40px));
		mask-image: linear-gradient(180deg, transparent 0, transparent var(--asf-ab-cut), #000 calc(var(--asf-ab-cut) + 40px));
	}
	.asf-ab-ch__frame { width: min(calc(100% - 2 * var(--asf-ab-gutter) - 12px), 46svh); box-shadow: 0 0 0 6px var(--asf-ab-daisy), var(--asf-ab-shadow); }
	.asf-ab-is-dark .asf-ab-ch__frame { box-shadow: 0 0 0 6px rgba(255, 253, 247, .92), 0 30px 50px -24px rgba(0, 0, 0, .7); }
	.asf-ab-ch__count { margin-top: 4px; font-size: .68rem; }
	.asf-ab-ch__head { display: flex; flex-direction: column; gap: 6px; padding: 8px 0 4px; }
	.asf-ab-ch__head .asf-ab-ch__title { margin-top: 0; }
	.asf-ab-ch__dots { margin-top: 2px; }
	.asf-ab-ch--few .asf-ab-ch__text { min-height: calc(var(--asf-ab-n) * 34vh); }
	.asf-ab-ch--few .asf-ab-ch__stick { top: calc(var(--asf-ab-hdr) + var(--asf-ab-arth, 50svh) + 30px); min-height: 0; display: block; }
	.asf-ab-ch__text { min-height: calc(var(--asf-ab-n) * 40vh); padding-block: 3vh 12vh; }
	.asf-ab-ch__p, .asf-ab-ch__pull { padding-top: 5vh; }
	.asf-ab-ch__p { font-size: clamp(1.2rem, 1.05rem + .8vw, 1.4rem); }
}

/* ===========================================================================
   THE 99 — interlude
   =========================================================================== */
.asf-ab-flock { position: relative; padding: clamp(70px, 12vh, 140px) var(--asf-ab-gutter) clamp(80px, 14vh, 160px); text-align: center; overflow: hidden; }
.asf-ab-flock__field { width: min(100%, 75rem); height: auto; aspect-ratio: 1200 / 560; margin: 0 auto; overflow: hidden; }
@media (max-width: 640px) { .asf-ab-flock { padding-inline: 8px; } }
.asf-ab-sh__wool { fill: #FFFDF7; stroke: #D8C7AE; stroke-width: 1.4; }
.asf-ab-sh__leg { fill: #4A372A; }
.asf-ab-sh__face { fill: #EBDCC6; stroke: #C9B497; stroke-width: 1; }
.asf-ab-sh__tuft { fill: #FFFDF7; stroke: #D8C7AE; stroke-width: 1; }
.asf-ab-sh__ear { fill: #E6C9B6; }
.asf-ab-sh__eye { fill: #2B1A12; }
.asf-ab-sh__shadow { fill: rgba(60, 40, 70, .16); }
.asf-ab-flock__lamb .asf-ab-sh__face { fill: #FFF7EA; }
.asf-ab-flock__lamb .asf-ab-sh__ear { fill: #F4B9B5; }
.asf-ab-flock__collar circle { fill: #FFFFFF; stroke: #DDD; stroke-width: .3; }
.asf-ab-flock__collar circle.c { fill: #E7A93B; stroke: none; }
.asf-ab-flock__gap { fill: none; stroke: var(--asf-ab-accent); stroke-width: 1.6; stroke-dasharray: 3 4; opacity: calc(var(--asf-ab-p, 0) * 2); }
.asf-ab-pine { fill: #2A2446; }
.asf-ab-pine--back { fill: #4A4170; opacity: .55; }
.asf-ab-pine--ground { fill: #2A2446; opacity: .35; }
.asf-ab-flock > * { position: relative; }
.asf-ab-flock__line, .asf-ab-flock__count { z-index: 2; }
.asf-ab-flock.is-on .asf-ab-sheep--graze { animation: asfAbGraze 5s ease-in-out var(--d, 0s) infinite; }
.asf-ab-sheep { transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes asfAbGraze { 0%, 70%, 100% { translate: 0 0; } 80% { translate: 0 1.5px; } 90% { translate: 0 0; } }
.asf-ab-flock__line {
	max-width: 40rem; margin: clamp(20px, 4vw, 40px) auto 0;
	font: italic 500 clamp(1.6rem, 1.15rem + 1.8vw, 2.8rem)/1.25 var(--asf-ab-serif);
}
.asf-ab-flock__count {
	margin-top: 14px; display: inline-flex; align-items: center; gap: .4em;
	font: 700 clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem)/1 var(--asf-ab-script); color: var(--asf-ab-accent);
}

/* ===========================================================================
   5 · HE KNOWS YOUR NAME
   =========================================================================== */
.asf-ab-name { padding: clamp(80px, 12vw, 170px) 0; }
.asf-ab-name__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.asf-ab-namecard {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 28px; align-items: end;
	padding: clamp(20px, 3vw, 34px); border-radius: 30px; color: var(--asf-ab-cocoa); text-shadow: none;
	background: color-mix(in srgb, #FFFDF7 62%, transparent); box-shadow: 0 30px 60px -40px rgba(120, 60, 30, .55), 0 0 0 1px rgba(255, 255, 255, .6) inset;
}
.asf-ab-namecard__preview { grid-column: 1 / -1; grid-row: 2; }
.asf-ab-namecard__field { grid-column: 1; }
.asf-ab-namecard [data-asf-ab-namecard-save] { grid-column: 2; grid-row: 1; margin: 0; min-height: 62px; }
.asf-ab-namecard__status { grid-column: 1 / -1; margin: 0 !important; text-align: center; min-height: 1.4em; }
.asf-ab-namecard label { color: var(--asf-ab-rust); }
.asf-ab-namecard__canvas {
	width: 100%; max-width: min(23.75rem, 46vh); height: auto; aspect-ratio: 1080 / 1350; margin: 0 auto;
	border-radius: 18px; background: #FFF8EA;
	box-shadow: var(--asf-ab-shadow), 0 0 0 1px rgba(59, 42, 30, .08);
	transform: rotate(1.4deg); transition: transform .6s var(--asf-ab-spring);
}
.asf-ab-namecard__canvas:hover { transform: rotate(0) translateY(-4px); }
.asf-ab-namecard label, .asf-ab-form label, .asf-ab-label {
	display: block; margin-bottom: 10px; font: 800 .8rem/1.2 var(--asf-ab-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--asf-ab-accent);
}
.asf-ab-namecard input[type="text"], .asf-ab-namecard input:not([type]), #asf-ab-childname {
	width: 100%; padding: .55em .8em; border-radius: 16px; border: 2px solid rgba(59, 42, 30, .18);
	background: #FFFDF7; color: var(--asf-ab-cocoa); text-shadow: none;
	font: 700 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1.2 var(--asf-ab-script);
	box-shadow: 0 10px 24px -18px rgba(60, 30, 10, .5) inset, 0 1px 0 #fff;
	transition: border-color .3s, box-shadow .3s;
}
#asf-ab-childname::placeholder { color: rgba(59, 42, 30, .38); }
#asf-ab-childname:focus { outline: none; border-color: var(--asf-ab-honey); box-shadow: 0 0 0 4px rgba(231, 169, 59, .3); }
[data-asf-ab-namecard-save] { margin-top: 18px; }
.asf-ab-namecard__status { font-size: .95rem; font-weight: 700; color: #5A3A1E; }
@media (max-width: 960px) {
	.asf-ab-name__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.asf-ab-namecard { grid-template-columns: 1fr; }
	.asf-ab-namecard__field { grid-row: 1; }
	.asf-ab-namecard [data-asf-ab-namecard-save] { grid-column: 1; grid-row: 3; }
	.asf-ab-namecard__canvas { max-width: 340px; }
}

/* ===========================================================================
   6 · GALLERY — drag / swipe carousel + lightbox
   =========================================================================== */
.asf-ab-gallery { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); overflow-x: clip; }
.asf-ab-carousel { position: relative; }
.asf-ab-carousel__track {
	--pad: max(var(--asf-ab-gutter), calc((100vw - var(--asf-ab-wrap)) / 2));
	display: flex; gap: clamp(18px, 2.4vw, 32px); overflow-x: auto; overflow-y: hidden;
	/* generous padding so the slides' shadows fade inside the scroller (it clips) */
	padding: 30px var(--pad) 70px; scroll-padding-inline: var(--pad);
	scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	cursor: grab; outline: none; list-style: none;
}
.asf-ab-carousel__track::-webkit-scrollbar { display: none; }
.asf-ab-carousel__track:focus-visible { box-shadow: inset 0 0 0 3px var(--asf-ab-accent); border-radius: 16px; }
.asf-ab-carousel__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.asf-ab-carousel__track.is-dragging .asf-ab-slide { pointer-events: none; }
.asf-ab-carousel__track.has-dragcursor, .asf-ab-carousel__track.has-dragcursor * { cursor: none; }
.asf-ab-slide {
	position: relative; flex: 0 0 auto; width: clamp(240px, 24vw, 21.25rem); padding: 10px; margin: 0;
	border: 0; border-radius: 20px; background: #FFFDF7; scroll-snap-align: start; text-align: left;
	box-shadow: 0 26px 40px -26px rgba(74, 38, 12, .55), 0 0 0 1px rgba(59, 42, 30, .06);
	transform: rotate(var(--tilt, 0deg)); transition: transform .6s var(--asf-ab-spring), box-shadow .5s;
}
.asf-ab-slide:nth-child(3n+1) { --tilt: -1.2deg; }
.asf-ab-slide:nth-child(3n+2) { --tilt: .8deg; }
.asf-ab-slide:nth-child(3n) { --tilt: -.4deg; }
.asf-ab-slide:hover, .asf-ab-slide:focus-visible { transform: rotate(0) translateY(-8px); box-shadow: 0 36px 50px -28px rgba(74, 38, 12, .6), 0 0 0 1px rgba(59, 42, 30, .06); }
.asf-ab-slide img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; -webkit-user-drag: none; background: linear-gradient(160deg, #FBD9C0, #C9B6E4); }
.asf-ab-slide__no {
	position: absolute; left: 20px; bottom: 20px; padding: 6px 10px; border-radius: 999px;
	background: rgba(255, 253, 247, .92); color: var(--asf-ab-cocoa); text-shadow: none;
	font: 800 .72rem/1 var(--asf-ab-sans); letter-spacing: .14em; text-transform: uppercase;
}
.asf-ab-carousel__controls { display: flex; align-items: center; gap: 18px; margin-top: -26px; }
.asf-ab-carousel:focus-visible { outline-offset: -3px; border-radius: 16px; }
.asf-ab-carousel__progress { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--asf-ab-line); overflow: hidden; }
.asf-ab-carousel__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 4px; background: linear-gradient(90deg, var(--asf-ab-honey), var(--asf-ab-rust)); }
.asf-ab-carousel__arrow {
	flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	border: 2px solid var(--asf-ab-line); background: color-mix(in srgb, var(--asf-ab-daisy) 70%, transparent); color: var(--asf-ab-ink);
	transition: background-color .3s, color .3s, transform .4s var(--asf-ab-spring), opacity .3s;
}
.asf-ab-carousel__arrow svg, .asf-ab-lightbox button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.asf-ab-carousel__arrow:hover:not(:disabled) { background: var(--asf-ab-rust); border-color: var(--asf-ab-rust); color: #FFF8EA; transform: scale(1.06); }
.asf-ab-carousel__arrow:disabled { opacity: .35; cursor: default; }
.asf-ab-dragcursor {
	position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
	width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; gap: 6px;
	background: radial-gradient(circle at 50% 50%, #C25A35, var(--asf-ab-rust)); color: #FFF8EA;
	box-shadow: 0 0 0 4px rgba(255, 253, 247, .7), 0 16px 30px -12px rgba(126, 49, 25, .7);
	font: 900 .8rem/1 var(--asf-ab-sans); letter-spacing: .14em; text-transform: uppercase; text-shadow: none;
	opacity: 0; scale: .3; transition: opacity .25s, scale .4s var(--asf-ab-spring);
}
.asf-ab-dragcursor__arrow { font-size: 1.3rem; font-weight: 700; transition: transform .35s var(--asf-ab-ease); }
.asf-ab-dragcursor.is-on { opacity: 1; scale: 1; }
.asf-ab-dragcursor.is-down { scale: .8; }
.asf-ab-dragcursor.is-down .asf-ab-dragcursor__arrow:first-child { transform: translateX(-5px); }
.asf-ab-dragcursor.is-down .asf-ab-dragcursor__arrow:last-child { transform: translateX(5px); }
@media (hover: none), (pointer: coarse) { .asf-ab-dragcursor { display: none; } }
@media (max-width: 760px) {
	.asf-ab-slide { width: 76vw; scroll-snap-align: center; }
	.asf-ab-carousel__arrow { width: 46px; height: 46px; }
}

.asf-ab-lightbox {
	width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0;
	background: transparent; color: #FFF8EA; overflow: hidden; text-shadow: none;
}
.asf-ab-lightbox[open] { display: grid; place-items: center; animation: asfAbFade .35s var(--asf-ab-ease); }
.asf-ab-lightbox::backdrop { background: rgba(14, 12, 28, .9); }
@supports not selector(::backdrop) { .asf-ab-lightbox { background: rgba(14, 12, 28, .9); } }
.asf-ab-lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 70px 76px 30px; max-height: 100%; }
.asf-ab-lightbox__img {
	max-width: min(88vw, 1000px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain;
	border-radius: 16px; box-shadow: 0 0 0 6px rgba(255, 253, 247, .95), 0 40px 80px -20px rgba(0, 0, 0, .7);
	background: #2A2440;
}
.asf-ab-lightbox__img.is-in { animation: asfAbZoom .5s var(--asf-ab-ease); }
.asf-ab-lightbox__cap { max-width: 44rem; text-align: center; font: 600 1rem/1.4 var(--asf-ab-sans); color: rgba(255, 248, 234, .85); }
.asf-ab-lightbox__close, .asf-ab-lightbox__prev, .asf-ab-lightbox__next {
	position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
	border: 2px solid rgba(255, 248, 234, .35); background: rgba(255, 248, 234, .08); color: #FFF8EA;
	transition: background-color .3s, color .3s, transform .4s var(--asf-ab-spring);
}
.asf-ab-lightbox__close:hover, .asf-ab-lightbox__prev:hover, .asf-ab-lightbox__next:hover { background: #FFF8EA; color: var(--asf-ab-cocoa); transform: scale(1.06); }
.asf-ab-lightbox__close { top: max(16px, env(safe-area-inset-top, 0px)); right: 16px; }
.asf-ab-lightbox__prev { left: 14px; top: 50%; margin-top: -27px; }
.asf-ab-lightbox__next { right: 14px; top: 50%; margin-top: -27px; }
.asf-ab-lightbox :focus-visible { outline-color: var(--asf-ab-honey-l); }
.asf-ab-lb-open, .asf-ab-lb-open body { overflow: hidden; }
@keyframes asfAbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes asfAbZoom { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
	.asf-ab-lightbox__fig { padding: 74px 12px 90px; }
	.asf-ab-lightbox__img { max-width: 94vw; max-height: calc(100dvh - 200px); }
	.asf-ab-lightbox__prev, .asf-ab-lightbox__next { top: auto; bottom: max(18px, env(safe-area-inset-bottom, 0px)); margin-top: 0; }
	.asf-ab-lightbox__prev { left: calc(50% - 66px); }
	.asf-ab-lightbox__next { right: calc(50% - 66px); }
}

/* ===========================================================================
   7 · CHARACTERS
   =========================================================================== */
.asf-ab-characters { padding: clamp(80px, 11vw, 150px) 0; }
.asf-ab-chars {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px);
	width: min(100% - 2 * var(--asf-ab-gutter), 68.75rem); margin: 0 auto; padding-top: 90px;
}
.asf-ab-char {
	--asf-ab-rx: 0deg; --asf-ab-ry: 0deg; --asf-ab-gx: 50%; --asf-ab-gy: 30%;
	position: relative; padding: clamp(150px, 16vw, 210px) clamp(22px, 3vw, 40px) clamp(28px, 3vw, 40px);
	border-radius: 28px; color: var(--asf-ab-cocoa); text-shadow: none;
	background:
		radial-gradient(120% 80% at var(--asf-ab-gx) var(--asf-ab-gy), rgba(255, 255, 255, .7), transparent 60%),
		url('../img/paper.webp') repeat 0 0 / 700px,
		linear-gradient(180deg, #FFF8EA, #FCE6C2);
	box-shadow: var(--asf-ab-shadow), 0 0 0 1px rgba(59, 42, 30, .06);
	transform: perspective(1100px) rotateX(var(--asf-ab-rx)) rotateY(var(--asf-ab-ry));
	transform-style: preserve-3d; transition: transform .7s var(--asf-ab-ease);
}
.asf-ab-char.is-tilting { transition: transform .12s linear; }
.asf-ab-char:nth-child(2) { background:
		radial-gradient(120% 80% at var(--asf-ab-gx) var(--asf-ab-gy), rgba(255, 255, 255, .6), transparent 60%),
		url('../img/paper.webp') repeat 0 0 / 700px,
		linear-gradient(180deg, #F7F0E2, #E9E2CF); }
.asf-ab-char__art {
	position: absolute; left: 50%; top: -90px; width: clamp(200px, 22vw, 290px); height: clamp(230px, 25vw, 300px);
	transform: translateX(-50%) translateZ(50px); pointer-events: none;
}
.asf-ab-char__art img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 18px rgba(60, 30, 10, .3)); }
.asf-ab-char h3 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); text-align: center; transform: translateZ(30px); }
.asf-ab-char__tag { margin-top: 8px; text-align: center; font: italic 500 1.2rem/1.45 var(--asf-ab-serif); color: var(--asf-ab-rust); transform: translateZ(20px); }
.asf-ab-char__traits { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.asf-ab-char__traits li {
	padding: 8px 14px; border-radius: 999px; background: #FFFDF7; border: 1.5px solid rgba(231, 169, 59, .55);
	font: 800 .85rem/1 var(--asf-ab-sans); color: #5A3A1E;
}
.asf-ab-char p:not(.asf-ab-char__tag) { margin-top: 14px; text-align: center; }
.asf-ab-char__faces { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.asf-ab-char__faces img, .asf-ab-char__faces figure {
	width: 72px; height: 72px; margin: 0; border-radius: 50%; object-fit: cover; background: #FDE9C8;
	box-shadow: 0 0 0 4px #FFFDF7, 0 10px 18px -10px rgba(60, 30, 10, .5);
	transition: transform .5s var(--asf-ab-spring);
}
.asf-ab-char__faces img:hover { transform: translateY(-4px) rotate(-4deg) scale(1.06); }
@media (max-width: 820px) {
	.asf-ab-chars { grid-template-columns: 1fr; gap: 120px; }
}

/* ===========================================================================
   8 · AUTHOR
   =========================================================================== */
.asf-ab-author { padding: clamp(80px, 11vw, 150px) 0; }
.asf-ab-author__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.asf-ab-author__photo {
	position: relative; width: min(100%, 26.25rem); margin: 0 auto; aspect-ratio: 3 / 4; overflow: hidden;
	border-radius: 999px 999px 28px 28px; background: linear-gradient(160deg, #FBD9C0, #E7A93B);
	box-shadow: 0 0 0 10px #FFFDF7, 0 0 0 11px rgba(59, 42, 30, .08), var(--asf-ab-shadow);
}
img.asf-ab-author__photo, .asf-ab-author__photo img { width: 100%; height: 100%; object-fit: cover; }
.asf-ab-author__quote {
	position: relative; margin: 1.4rem 0 0; padding: 0;
	font: italic 450 clamp(1.4rem, 1.1rem + 1.1vw, 2.1rem)/1.4 var(--asf-ab-serif);
}
.asf-ab-author__quote::before { content: '“'; position: absolute; left: -.55em; top: -.25em; font: 900 3em/1 var(--asf-ab-serif); color: var(--asf-ab-honey); opacity: .45; }
.asf-ab-author__quote p + p { margin-top: .6em; }
.asf-ab-author__quote cite, .asf-ab-author__quote footer { display: block; margin-top: 1rem; font: 700 1.8rem/1 var(--asf-ab-script); font-style: normal; color: var(--asf-ab-accent); }
.asf-ab-author__grid { align-items: start; }
.asf-ab-author__photo { position: sticky; top: calc(var(--asf-ab-hdr) + 6vh); }
.asf-ab-author__bio { margin-top: 1.8rem; max-width: 62ch; font: 400 clamp(1.0625rem, 1rem + .3vw, 1.2rem)/1.75 var(--asf-ab-serif); color: var(--asf-ab-ink); }
.asf-ab-author__bio p + p { margin-top: 1em; }
.asf-ab-author__bio p:first-child { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.42rem); line-height: 1.6; font-weight: 500; }

.asf-ab-author__creds { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; max-width: 38rem; margin-top: 1.8rem; }
.asf-ab-author__creds li {
	position: relative; padding: 12px 14px 12px 44px; border-radius: 16px; line-height: 1.4; font-weight: 700; font-size: .95rem;
	color: var(--asf-ab-cocoa); text-shadow: none; background: color-mix(in srgb, #FFFDF7 72%, transparent); box-shadow: 0 0 0 1px rgba(231, 169, 59, .38);
}
.asf-ab-author__creds li::before {
	content: ''; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border-radius: 50%;
	background: radial-gradient(circle, var(--asf-ab-honey) 0 28%, transparent 30%),
		conic-gradient(#FFFDF7 0 10%, transparent 0 12.5%, #FFFDF7 0 22.5%, transparent 0 25%, #FFFDF7 0 35%, transparent 0 37.5%, #FFFDF7 0 47.5%, transparent 0 50%, #FFFDF7 0 60%, transparent 0 62.5%, #FFFDF7 0 72.5%, transparent 0 75%, #FFFDF7 0 85%, transparent 0 87.5%, #FFFDF7 0 97.5%, transparent 0);
	filter: drop-shadow(0 1px 1px rgba(80, 40, 10, .45));
}
.asf-ab-author__sign { margin-top: 1.4rem; }

/* dedication — a picture-book dedication page */
.asf-ab-dedication {
	position: relative; width: min(100% - 2 * var(--asf-ab-gutter), 40rem); margin: clamp(90px, 12vw, 160px) auto 0; text-align: center;
	display: flex; flex-direction: column; align-items: center;
}
.asf-ab-dedication::before {
	content: ''; width: clamp(64px, 7vw, 86px); aspect-ratio: 400 / 361; margin-bottom: 22px;
	background: url('../img/heart-daisy.webp') no-repeat center / contain;
	filter: drop-shadow(0 10px 14px rgba(120, 50, 20, .2));
}
.asf-ab-dedication__verse { margin: 0; font: italic 400 clamp(1.35rem, 1.05rem + 1.1vw, 1.95rem)/1.5 var(--asf-ab-serif); }
.asf-ab-dedication__verse p::before { content: '“'; } .asf-ab-dedication__verse p::after { content: '”'; }
.asf-ab-dedication__ref { margin-top: 14px; font: 800 .76rem/1.2 var(--asf-ab-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--asf-ab-accent); }
.asf-ab-dedication__note {
	margin-top: 34px; padding-top: 40px; max-width: 30rem;
	font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.3 var(--asf-ab-script); color: var(--asf-ab-rust);
	background: url('../img/orn-daisy-chain.webp') no-repeat center top / min(260px, 70%) auto;
}
@media (max-width: 860px) {
	.asf-ab-author__grid { grid-template-columns: 1fr; }
	.asf-ab-author__photo { position: relative; top: 0; width: min(80%, 340px); }
}
@media (max-width: 520px) { .asf-ab-author__creds { grid-template-columns: 1fr; } }

/* ===========================================================================
   9 · BUY + 10 · CONTACT (dusk)
   =========================================================================== */
.asf-ab-buy, .asf-ab-contact { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.asf-ab-buy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.asf-ab-buy__art img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 0 0 10px #FFFDF7, 0 50px 80px -40px rgba(46, 36, 64, .7); transform: rotate(-1.2deg); }
.asf-ab-retailers { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.asf-ab-soon {
	margin-top: 8px; padding: clamp(22px, 3vw, 32px); border-radius: 26px; color: var(--asf-ab-cocoa); text-shadow: none;
	background: url('../img/paper.webp') repeat 0 0 / 700px, linear-gradient(180deg, #FFF8EA, #FBE6CC);
	box-shadow: 0 40px 70px -40px rgba(46, 36, 64, .65), 0 0 0 1px rgba(59, 42, 30, .06);
}
.asf-ab-soon__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.asf-ab-soon__body { margin-top: 8px; color: #5A4636; }
.asf-ab-form { margin-top: 20px; }
.asf-ab-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.asf-ab-form__row > input { flex: 1 1 220px; }
.asf-ab-form__row > .asf-ab-btn { flex: 0 0 auto; }
.asf-ab-form__label, .asf-ab-field label {
	display: block; margin-bottom: 8px; font: 800 .78rem/1.2 var(--asf-ab-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--asf-ab-rust);
}
.asf-ab-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .asf-ab-form textarea, .asf-ab-form select {
	width: 100%; min-height: 52px; padding: .8em 1.05em; border-radius: 16px;
	border: 2px solid rgba(59, 42, 30, .16); background: #FFFDF7; color: var(--asf-ab-cocoa); text-shadow: none;
	font: 600 1rem/1.4 var(--asf-ab-sans); transition: border-color .3s, box-shadow .3s;
}
.asf-ab-form select {
	appearance: none; -webkit-appearance: none; padding-right: 2.6em;
	background: #FFFDF7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23A4472B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.asf-ab-form textarea { min-height: 150px; resize: vertical; }
.asf-ab-form input:focus, .asf-ab-form textarea:focus, .asf-ab-form select:focus { outline: none; border-color: var(--asf-ab-honey); box-shadow: 0 0 0 4px rgba(231, 169, 59, .32); }
.asf-ab-form [aria-invalid="true"] { border-color: #B23A2A !important; }
.asf-ab-form.is-busy .asf-ab-btn { opacity: .6; pointer-events: none; }
.asf-ab-form__status { min-height: 1.5em; margin-top: 12px; font-weight: 700; font-size: .95rem; color: #6A5444; }
.asf-ab-form__status.is-ok { color: var(--asf-ab-sage-d); }
.asf-ab-form__status.is-err { color: #A3301F; }
.asf-ab-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.asf-ab-soon .asf-ab-btn--solid, .asf-ab-form--card .asf-ab-btn--solid {
	background: linear-gradient(180deg, #C25A35 0%, var(--asf-ab-rust) 55%, #8E3A21 100%); color: #FFF8EA; box-shadow: 0 12px 24px -12px rgba(126, 49, 25, .75);
}
.asf-ab-contact__corner { position: absolute; z-index: -1; left: 0; bottom: 0; width: clamp(150px, 18vw, 300px); opacity: .95; pointer-events: none; }
.asf-ab-form--card {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; width: min(100%, 51.25rem); margin: 0 auto;
	padding: clamp(24px, 4.4vw, 52px); border-radius: 32px; color: var(--asf-ab-cocoa); text-shadow: none;
	background: url('../img/paper.webp') repeat 0 0 / 700px, linear-gradient(180deg, #FFF8EA, #FBE6CC);
	box-shadow: 0 50px 80px -40px rgba(46, 36, 64, .6), 0 0 0 1px rgba(59, 42, 30, .06);
}
.asf-ab-field--full { grid-column: 1 / -1; }
.asf-ab-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.asf-ab-form__actions .asf-ab-form__status { margin: 0; flex: 1 1 220px; }
@media (max-width: 1100px) { .asf-ab-contact__corner { display: none; } }
@media (max-width: 860px) { .asf-ab-buy__grid { grid-template-columns: 1fr; } .asf-ab-buy__art { max-width: 520px; margin: 0 auto; } }
@media (max-width: 600px) { .asf-ab-form--card { grid-template-columns: 1fr; } .asf-ab-form__row > .asf-ab-btn { flex: 1 1 100%; } }

/* ===========================================================================
   FOOTER (night) — Daisy is home, asleep
   =========================================================================== */
.asf-ab-footer {
	position: relative; z-index: 2; padding: clamp(80px, 12vw, 150px) var(--asf-ab-gutter) calc(96px + env(safe-area-inset-bottom, 0px));
	text-align: center; color: var(--asf-ab-ink);
}
.asf-ab-footer__daisy { width: clamp(200px, 26vw, 340px); margin: 0 auto; filter: drop-shadow(0 0 50px rgba(203, 214, 238, .28)); }
.asf-ab-footer__wrap { width: min(100%, 58.75rem); margin: 0 auto; }
.asf-ab-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; }
.asf-ab-footer .asf-ab-brand { --wm-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); }
.asf-ab-footer__by { font: 800 .8rem/1.2 var(--asf-ab-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--asf-ab-muted); }
.asf-ab-footer__nav {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(18px, 3vw, 38px);
	margin-top: 30px; padding: 18px 0;
	border-block: 1.5px solid color-mix(in srgb, var(--asf-ab-honey) 32%, transparent);
}
.asf-ab-footer__nav a, .asf-ab-footer__meta a, .asf-ab-footer__credit a { text-decoration: none; font-weight: 800; transition: color .25s; }
.asf-ab-footer__nav a:hover, .asf-ab-footer__meta a:hover, .asf-ab-footer__credit a:hover { color: var(--asf-ab-honey-l); }
.asf-ab-footer__meta { margin-top: 16px; font-size: .92rem; color: var(--asf-ab-muted); }
.asf-ab-footer__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 20px; font-size: .9rem; color: var(--asf-ab-muted); }
.asf-ab-footer__copy { text-align: left; }
.asf-ab-footer__credit { text-align: right; }
.asf-ab-footer__line {
	margin: clamp(30px, 5vw, 50px) auto 0; max-width: 34rem;
	font: 700 clamp(1.5rem, 1.15rem + 1.1vw, 2.1rem)/1.3 var(--asf-ab-script); color: var(--asf-ab-honey-l);
}
@media (max-width: 600px) {
	.asf-ab-footer__bottom { grid-template-columns: 1fr; }
	.asf-ab-footer__copy, .asf-ab-footer__credit { text-align: center; }
}

/* floating back-to-top: reading ring + Daisy peeking over it */
.asf-ab-totop {
	position: fixed; z-index: 50; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
	display: block; width: 60px; height: 60px; border-radius: 50%; isolation: isolate;
	color: var(--asf-ab-cocoa); text-decoration: none; text-shadow: none;
	opacity: 0; transform: translateY(18px) scale(.85); pointer-events: none;
	transition: opacity .4s, transform .5s var(--asf-ab-spring);
}
.asf-ab-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.asf-ab-totop::before { /* the button face: Daisy hides behind it until she peeks */
	content: ''; position: absolute; inset: 0; z-index: 0; border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, #FFFDF7, #FBE6C4);
	box-shadow: 0 12px 26px -10px rgba(20, 10, 4, .55);
}
.asf-ab-totop__svg { position: absolute; inset: 2px; z-index: 1; width: calc(100% - 4px); height: calc(100% - 4px); overflow: visible; }
.asf-ab-totop__track, .asf-ab-totop__ring { fill: none; stroke-width: 3.5; transform: rotate(-90deg); transform-origin: 28px 28px; }
.asf-ab-totop__track { stroke: rgba(59, 42, 30, .12); }
.asf-ab-totop__ring { stroke: var(--asf-ab-honey); stroke-linecap: round; }
.asf-ab-totop__arrow { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--asf-ab-spring); }
.asf-ab-totop:hover .asf-ab-totop__arrow { transform: translateY(-2px); }
.asf-ab-totop__peek {
	position: absolute; z-index: -1; left: 50%; bottom: 36px; width: 58px; max-width: none;
	transform: translate(-50%, 75%); transition: transform .6s var(--asf-ab-spring);
}
.asf-ab-totop.is-visible .asf-ab-totop__peek { transform: translate(-50%, 0%); }
.asf-ab-totop:hover .asf-ab-totop__peek, .asf-ab-totop:focus-visible .asf-ab-totop__peek { transform: translate(-50%, -22%) rotate(-5deg); }

@media (max-width: 600px) {
	.asf-ab-totop { width: 44px; height: 44px; }
	.asf-ab-totop__peek { width: 42px; bottom: 26px; }
	.asf-ab-totop__track, .asf-ab-totop__ring { stroke-width: 4.5; }
}

/* ===========================================================================
   REVEALS (only hidden once JS is live; reduced motion = no hidden states)
   =========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.asf-ab-reveal-on [data-asf-ab-reveal]:not(.is-in),
	.asf-ab-reveal-on [data-asf-ab-stagger] > :not(.is-in) { opacity: 0; transform: translateY(28px); }
	.asf-ab-reveal-on [data-asf-ab-reveal="fade"]:not(.is-in) { transform: none; }
	.asf-ab-reveal-on [data-asf-ab-reveal="scale"]:not(.is-in) { transform: scale(.94); }
	.asf-ab-reveal-on [data-asf-ab-reveal], .asf-ab-reveal-on [data-asf-ab-stagger] > * {
		transition: opacity .9s var(--asf-ab-ease), transform 1s var(--asf-ab-ease);
		transition-delay: calc(var(--asf-ab-i, 0) * 90ms);
	}
}

/* ===========================================================================
   REDUCED MOTION
   =========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.asf-ab-preface__line { opacity: 1; transform: none; }
	.asf-ab-ch__img { transform: none; }
}

@media print {
	.asf-ab-sky, .asf-ab-particles, .asf-ab-header, .asf-ab-totop, .asf-ab-drawer, .asf-ab-rail { display: none !important; }
	body { background: #fff; color: #222; text-shadow: none; }
}

/* ---------- Teaser: cliffhanger + locked gallery slides ---------- */
.asf-ab-cliff { position: relative; padding: clamp(5rem, 12vw, 9rem) 0; text-align: center; }
.asf-ab-cliff__inner { max-width: 44rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.asf-ab-cliff__lantern { width: clamp(70px, 9vw, 104px); height: auto; filter: drop-shadow(0 0 28px rgba(255, 196, 92, .55)); animation: asf-ab-cliff-glow 3.2s ease-in-out infinite; }
.asf-ab-cliff__title { font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 100, "opsz" 96; font-weight: 700; font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.05; margin: 0; color: #fbebd0; text-shadow: 0 0 24px rgba(255, 210, 140, .25); }
.asf-ab-cliff__text { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: rgba(244, 238, 221, .9); margin: 0 0 .5rem; max-width: 36rem; }
.asf-ab-cliff .asf-ab-eyebrow { color: #e7a93b; }
.asf-ab-cliff__peek { display: flex; justify-content: center; gap: clamp(.5rem, 1.6vw, 1rem); margin: 1rem 0 1.6rem; }
.asf-ab-cliff__pic { width: clamp(64px, 12vw, 132px); aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 3px solid rgba(255, 253, 247, .85); box-shadow: 0 10px 28px rgba(0, 0, 0, .35); transform: rotate(var(--r, -3deg)); }
.asf-ab-cliff__pic:nth-child(2) { --r: 2deg; } .asf-ab-cliff__pic:nth-child(3) { --r: -1.5deg; } .asf-ab-cliff__pic:nth-child(4) { --r: 3deg; }
.asf-ab-cliff__pic img { width: 100%; height: 100%; object-fit: cover; filter: blur(7px) saturate(1.1); transform: scale(1.15); }
@keyframes asf-ab-cliff-glow { 50% { filter: drop-shadow(0 0 42px rgba(255, 196, 92, .8)); } }
.asf-ab-lockslide { position: relative; flex: 0 0 auto; width: clamp(240px, 24vw, 21.25rem); padding: 10px; border-radius: 20px; background: #FFFDF7; overflow: hidden; scroll-snap-align: start; user-select: none; box-shadow: 0 26px 40px -26px rgba(74, 38, 12, .55), 0 0 0 1px rgba(59, 42, 30, .06); }
@media (max-width: 760px) { .asf-ab-lockslide { width: 76vw; scroll-snap-align: center; } }
.asf-ab-lockslide img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; object-fit: cover; filter: blur(10px); transform: scale(1.15); pointer-events: none; }
.asf-ab-lockslide__label { position: absolute; inset: auto 0 50% 0; transform: translateY(50%); text-align: center; font-family: "Caveat", cursive; font-size: 1.9rem; color: #fffdf7; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: reduce) { .asf-ab-cliff__lantern { animation: none; } }
