/* Nights of Fright — Fish Creek direction */

:root {
	--ink: #05080b;
	--night: #0a0f14;
	--deep: #0d1319;
	--line: #232a31;
	--bone: #f3efe6;
	--text: #d8d4ca;
	--muted: #a9a59c;
	--red: #b3261e;
	--red-deep: #8f1d17;
	--red-soft: #f3c9c4;
	--serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--sans: 'Archivo Narrow', 'Arial Narrow', system-ui, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--serif);
	font-size: clamp(19px, 1.35vw, 21px);
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--bone); }
a:hover { color: #ffffff; }
:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; color: var(--bone); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--bone); color: var(--ink); padding: 10px 16px; font-family: var(--sans); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { width: 100%; max-width: 780px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- type ---------- */
.label {
	margin: 0 0 14px;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--muted);
}
.display { margin: 0 0 .35em; font-family: var(--serif); font-weight: 300; line-height: .98; letter-spacing: -.01em; color: var(--bone); font-size: clamp(48px, 7vw, 104px); }
.display--xl { font-size: clamp(64px, 12vw, 176px); line-height: .86; }
.display--md { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; }
.display--sm { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; }
.big { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.08; color: var(--bone); margin: 0; }
.lead { font-size: clamp(22px, 2.2vw, 28px); font-style: italic; color: #e3ded3; max-width: 36ch; }
.muted { color: var(--muted); }
.link { color: var(--bone); text-decoration-color: #6d6a63; text-underline-offset: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--sans); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid #6d6a63; }
.link-arrow::after { content: ''; width: 22px; height: 1px; background: var(--red); transition: width .4s; }
.link-arrow:hover::after { width: 40px; }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 50px; padding: 0 28px;
	font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .2em; text-transform: uppercase;
	text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.btn--red { background: var(--red-deep); color: #f6f2ea; }
.btn--red:hover { background: #a8241c; color: #fff; }
.btn--line { background: transparent; color: var(--bone); border-color: #5d5a54; }
.btn--line:hover { border-color: var(--bone); color: #fff; }
.btn--ghost { background: rgba(5, 8, 11, .35); color: var(--bone); border-color: rgba(243, 239, 230, .35); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--bone); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .5s, backdrop-filter .5s; }
.site-header.is-solid { background: rgba(5, 8, 11, .82); backdrop-filter: blur(8px); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header); padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--bone); }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.brand-sub { font-family: var(--sans); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 26px; flex-wrap: wrap; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: #cfcac0; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: #fff; }
.nav-list .current-menu-item > a { box-shadow: inset 0 -1px 0 var(--red); }
.header-tools { display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid transparent; color: var(--bone); cursor: pointer; border-radius: 50%; }
.icon-btn:hover { border-color: rgba(243, 239, 230, .3); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .i-on { display: none; }
.sound-toggle[aria-pressed="true"] .i-on { display: block; }
.sound-toggle[aria-pressed="true"] .i-off { display: none; }
.sound-toggle.is-pending { animation: nof-pulse 2.4s infinite; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
	.menu-toggle { display: inline-flex; }
	.nav { position: fixed; inset: 0; z-index: -1; background: rgba(5, 8, 11, .97); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
	.nav.is-open { opacity: 1; visibility: visible; }
	.nav-list { flex-direction: column; align-items: center; gap: 8px; }
	.nav-list a { font-family: var(--serif); font-size: 34px; letter-spacing: 0; text-transform: none; font-weight: 300; }
}

/* ---------- entry gate ---------- */
.gate { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(ellipse at 50% 60%, #0d141a 0%, #030507 70%); text-align: center; }
.gate[hidden] { display: none; }
.gate-inner { max-width: 640px; }
.gate-title { margin: 0 0 18px; font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 10vw, 112px); line-height: .9; color: var(--bone); }
.gate-text { font-size: 22px; font-style: italic; color: #cfcac0; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 30px 0 18px; }
.gate-fine { font-family: var(--sans); font-size: 14px; letter-spacing: .04em; color: #8e8a82; }
.gate.is-leaving { animation: nof-fadeout .9s forwards; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: max(640px, 100svh); display: flex; align-items: flex-end; isolation: isolate; }
.hero--page { min-height: max(560px, 86svh); }
.hero--plain { min-height: 420px; background: var(--night); }
.hero-media, .scene-media, .band-media, .tale-media, .cause-media { position: absolute; inset: 0; z-index: -2; background: var(--night); }
.nof-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .nof-video { animation: nof-push 50s ease-in-out infinite alternate; filter: saturate(.8) brightness(.86); }
/* A slow creep toward the far end of the hall (and into each tale) that never snaps back. */
.band-media .nof-video, .tale-media .nof-video { animation: nof-push 60s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 8, 11, .62) 0%, rgba(5, 8, 11, 0) 26%, rgba(5, 8, 11, .15) 55%, var(--ink) 100%); pointer-events: none; }
.hero-copy { position: relative; padding-top: calc(var(--header) + 40px); padding-bottom: clamp(56px, 9vh, 96px); }
.hero--home .hero-copy { padding-bottom: clamp(90px, 14vh, 140px); }
.subtitle { display: flex; align-items: center; gap: 18px; margin: 4px 0 22px; font-size: clamp(28px, 3.2vw, 42px); color: #e3ded3; }
.rule { display: inline-block; width: 64px; height: 1px; background: var(--red); }
.state-line { font-family: var(--sans); font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: #cfcac0; margin-bottom: 28px; }
.season-tonight .state-line { color: var(--red-soft); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #8e8a82; text-decoration: none; min-height: 44px; }
.scroll-cue::after { content: ''; width: 1px; height: 38px; background: linear-gradient(var(--muted), transparent); animation: nof-cue 2.8s ease-in-out infinite; }

/* ---------- fog ---------- */
.nof-fog { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fog { position: absolute; left: 0; width: 200%; background-repeat: repeat-x; background-size: 50% 100%; will-change: transform; }
.fog-a { bottom: -6%; height: 52%; background-image: url(../img/fog-a.png); opacity: .55; animation: nof-drift 110s linear infinite; }
.fog-b { bottom: 10%; height: 40%; background-image: url(../img/fog-b.png); opacity: .32; animation: nof-drift-r 75s linear infinite; }
.nof-fog--low .fog-a { opacity: .4; }
.nof-fog--low .fog-b { opacity: .2; }
.nof-fog--footer { z-index: 0; }
.nof-fog--footer .fog-a { opacity: .22; height: 70%; }
.nof-fog--footer .fog-b { opacity: .12; }

/* ---------- the watcher ---------- */
.nof-watcher { position: absolute; left: var(--x, 50%); top: var(--y, 40%); height: var(--h, 20vh); aspect-ratio: 100 / 320; z-index: -2; opacity: 0; transition: opacity 2.6s ease; pointer-events: none; filter: blur(1.4px); mix-blend-mode: multiply; }
.nof-watcher svg { width: 100%; height: 100%; fill: #020304; }
.nof-watcher.is-there { opacity: var(--o, .15); transition-duration: 4.5s; }
.nof-watcher.is-gone { opacity: 0; transition-duration: .5s; }

/* ---------- sections ---------- */
.section { position: relative; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(80px, 12vw, 150px); }
.statement { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px 64px; align-items: start; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 72px; align-items: start; }
.split--media { align-items: center; }
.frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); }

/* band with flashlight */
.band { position: relative; min-height: max(560px, 92svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.band-copy, .scene-copy { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(60px, 10vh, 110px); }
.band-copy .big { max-width: 16ch; }
.flashlight { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; background: radial-gradient(circle at var(--fx, 50%) var(--fy, 46%), rgba(3, 5, 7, 0) 0, rgba(3, 5, 7, .1) 7rem, rgba(3, 5, 7, .9) 19rem, rgba(3, 5, 7, .97) 34rem); }
.js .flashlight { display: block; }
.calm .flashlight { background: linear-gradient(180deg, rgba(3, 5, 7, .2), rgba(3, 5, 7, .75)); }

/* scenes */
.scene { position: relative; min-height: max(620px, 100svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.scene--short { min-height: max(520px, 78svh); }
.scene-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(5, 8, 11, .25) 28%, rgba(5, 8, 11, .45) 62%, var(--ink) 100%); pointer-events: none; }
.ages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px 40px; margin-top: 28px; max-width: 860px; }
.age { border-top: 1px solid #3a4148; padding-top: 16px; }
.age--off { border-top-color: var(--red); }
.age-time { margin: 0 0 6px; font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone); }
.age--off .age-time { color: var(--red-soft); }

/* nights */
.nights { list-style: none; margin: 0; padding: 0; }
.night { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 6px 28px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.night:last-child { border-bottom: 1px solid var(--line); }
.night time { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--bone); }
.night span { font-family: var(--sans); font-size: 16px; letter-spacing: .05em; color: #b9b5ab; }
.night.is-tonight time { color: var(--red-soft); }
.night.is-tonight time::after { content: 'Tonight'; display: inline-block; margin-left: 14px; vertical-align: middle; font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--bone); background: var(--red-deep); padding: 4px 8px; }
.nights.is-past time { color: #8e8a82; text-decoration: line-through; text-decoration-color: rgba(179, 38, 30, .7); text-decoration-thickness: 1px; }
.next-season { margin-top: 22px; font-size: 26px; font-style: italic; color: var(--bone); }
@media (max-width: 560px) { .night { grid-template-columns: 1fr; } }

/* tales teaser grid */
.tale-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
@media (min-width: 1000px) { .tale-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tale-grid { grid-template-columns: 1fr; } .tale-tile { aspect-ratio: 4 / 3; } }
/* The cloak reads as a figure; keep it mostly swallowed by the dark. */
.nof-video[data-src*="v6-red-cloak"] { filter: brightness(.36) contrast(1.18) saturate(.7) !important; }
.tale-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; background: var(--night); }
.tale-tile .tile-media { position: absolute; inset: 0; }
.tale-tile .nof-video { filter: brightness(.68) saturate(.8); transition: filter .8s, transform 1.6s; }
.tale-tile:hover .nof-video, .tale-tile:focus-visible .nof-video { filter: brightness(.9) saturate(.9); transform: scale(1.04); }
.tale-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 8, 11, .92)); }
.tile-copy { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.tile-title { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.05; color: var(--bone); }
.tile-line { font-style: italic; color: #cfcac0; font-size: 19px; }

/* tales page */
.tale { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: max(600px, 100svh); align-items: center; }
.tale-media { position: sticky; top: 0; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate; }
.tale-media .nof-video { filter: brightness(.8) saturate(.85); }
.tale-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 11, 0) 55%, var(--ink) 100%); pointer-events: none; }
.tale--flip .tale-media { order: 2; }
.tale--flip .tale-media::after { background: linear-gradient(270deg, rgba(5, 8, 11, 0) 55%, var(--ink) 100%); }
.tale-copy { padding: clamp(60px, 10vw, 120px) var(--gutter); max-width: 620px; }
.tale-line { font-size: 26px; color: var(--red-soft); margin-bottom: 1.1em; }
@media (max-width: 900px) {
	.tale { grid-template-columns: 1fr; min-height: 0; }
	.tale-media { position: relative; height: 62svh; min-height: 380px; }
	.tale-media::after, .tale--flip .tale-media::after { background: linear-gradient(180deg, rgba(5, 8, 11, 0) 50%, var(--ink) 100%); }
	.tale--flip .tale-media { order: 0; }
	.tale-copy { padding-top: 8px; }
}

/* cause */
.cause { overflow: hidden; isolation: isolate; }
.cause-media .nof-video { filter: brightness(.55) saturate(.8); }
.cause-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 10%, rgba(5, 8, 11, .6) 55%, rgba(5, 8, 11, .2) 100%); }
.cause-copy { max-width: var(--wrap); }
.cause-copy > * { max-width: 620px; }
.price { font-family: var(--serif); font-weight: 300; font-size: clamp(80px, 12vw, 160px); line-height: .9; color: var(--bone); margin: 0 0 10px; }

/* sponsors */
.thanks { text-align: center; }
.sponsors { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; font-size: clamp(22px, 2.4vw, 30px); color: #e3ded3; }
.sponsors li + li::before { content: '·'; margin: 0 18px; color: var(--red); }

/* facts and houses */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.facts--three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.fact { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.fact-big { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.2vw, 58px); line-height: 1; color: var(--bone); margin: 0 0 12px; }
.fact--off .label, .fact--off .fact-big { color: var(--red-soft); }
.two-houses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.house { padding: clamp(28px, 4vw, 48px); background: var(--deep); border-top: 1px solid #3a4148; }
.house--off { background: #0f0807; border-top-color: var(--red); }
.house--off .label { color: var(--red-soft); }
.house-time { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--bone); margin: 0 0 18px; }
.rule-list { list-style: none; counter-reset: r; margin: 0; padding: 0; }
.rule-list li { counter-increment: r; position: relative; padding: 22px 0 22px 72px; border-top: 1px solid var(--line); }
.rule-list li::before { content: counter(r, upper-roman); position: absolute; left: 0; top: 18px; font-family: var(--serif); font-size: 34px; font-weight: 300; color: var(--red); }
.rule-list span { display: block; font-size: 28px; color: var(--bone); line-height: 1.2; margin-bottom: 4px; }

/* editor content */
.entry { padding-top: 20px; padding-bottom: clamp(60px, 8vw, 110px); }
.entry h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4vw, 52px); line-height: 1.06; color: var(--bone); margin: 1.6em 0 .5em; }
.entry h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone); margin: 2em 0 .6em; }
.entry ul { padding-left: 1.1em; }
.entry li { margin-bottom: .4em; }
.entry a { color: var(--bone); text-underline-offset: 4px; text-decoration-color: #6d6a63; }
.entry details { border-top: 1px solid var(--line); padding: 4px 0; }
.entry details:last-of-type { border-bottom: 1px solid var(--line); }
.entry summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; font-size: 25px; color: var(--bone); }
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after { content: '+'; font-family: var(--sans); font-size: 26px; color: var(--red); transition: transform .3s; }
.entry details[open] summary::after { transform: rotate(45deg); }
.entry details > :not(summary) { padding-bottom: 16px; color: #cfcac0; }
.entry--cards .wp-block-columns { gap: 24px; }
.entry--cards .wp-block-column { background: var(--deep); padding: 28px 28px 32px; border-top: 1px solid #3a4148; }
.entry--cards .wp-block-column h3 { margin-top: 0; }
.entry .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 48px 0; }

/* footer */
.site-footer { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); padding: 72px 0 28px; background: #040608; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px 48px; }
.footer-title { font-family: var(--serif); font-size: 34px; font-weight: 300; color: var(--bone); margin-bottom: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer-links a { display: inline-flex; min-height: 40px; align-items: center; font-family: var(--sans); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #cfcac0; }
.footer-base { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 14px; letter-spacing: .06em; color: #8e8a82; }
.calm-toggle { background: none; border: 1px solid #3a4148; color: #cfcac0; font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 0 16px; min-height: 44px; cursor: pointer; }
.calm-toggle:hover { border-color: var(--muted); }
.post-item { padding: 28px 0; border-top: 1px solid var(--line); }
.footer-base p { margin: 0; }
.footer-base .credit { flex-basis: 100%; order: 3; }

/* in-place page changes */
main#main { transition: opacity .6s ease; }
html.is-swapping main#main { opacity: 0; transition-duration: .35s; }
main h1:focus { outline: none; }

/* ---------- lights / scares ---------- */
.lights { position: fixed; inset: 0; z-index: 100; background: #000; opacity: 0; pointer-events: none; }
.lights.is-dim { opacity: .55; transition: opacity 9s ease; }
.lights.is-out { opacity: 1; transition: none; }
.lights.is-back { opacity: 0; transition: opacity 1.2s ease; }
.lights.is-flicker { animation: nof-flicker 1.4s steps(1) 1; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.4s ease, transform 1.4s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- motion ---------- */
@keyframes nof-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nof-drift-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes nof-push { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, .8%); } }
@keyframes nof-cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .3; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes nof-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(179, 38, 30, .0); } 50% { box-shadow: 0 0 0 6px rgba(179, 38, 30, .35); } }
@keyframes nof-fadeout { to { opacity: 0; visibility: hidden; } }
/* two slow dips, well under three flashes a second */
@keyframes nof-flicker { 0% { opacity: 0; } 18% { opacity: .82; } 40% { opacity: .08; } 70% { opacity: .9; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.fog, .hero-media .nof-video, .band-media .nof-video, .tale-media .nof-video, .scroll-cue::after, .sound-toggle.is-pending { animation: none !important; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.nof-watcher { display: none; }
}
.calm .fog, .calm .hero-media .nof-video { animation-duration: 400s; }
.calm .nof-watcher, .calm .lights { display: none; }
