/* FWG Christmas Sky. Colours follow FWG's own proposal mockups. Everything is scoped to .fwg-sky. */

.fwg-sky {
	--sky-night: #12302a;
	--sky-night-2: #0d2420;
	--sky-cream: #f4ecd8;
	--sky-cream-2: #fbf7ee;
	--sky-mint: #e6f0e3;
	--sky-berry: #8c1a3f;
	--sky-berry-2: #731433;
	--sky-ink: #183b33;
	--sky-muted: #4d6a62;
	--sky-line: #d5e0d8;
	--sky-serif: var(--e-global-typography-primary-font-family, Georgia), Georgia, "Times New Roman", serif;
	--sky-radius: 14px;
	color: var(--sky-ink);
	/* FWG's site sets its sans on elements, not on body, so name it here or text falls back to Times. */
	font-family: "Basis Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.fwg-sky,
.fwg-sky *,
.fwg-sky *::before,
.fwg-sky *::after { box-sizing: border-box; }

.fwg-sky [hidden] { display: none !important; }

.fwg-sky h1, .fwg-sky h2, .fwg-sky h3 {
	font-family: var(--sky-serif);
	font-weight: 400;
	letter-spacing: 0;
	margin: 0;
	color: inherit;
	text-transform: none;
}

.fwg-sky p { margin: 0 0 1em; }
.fwg-sky a { color: inherit; }

.fwg-sky__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Hero and sky */

.fwg-sky__hero {
	background: var(--sky-night);
	color: var(--sky-cream);
	padding: 48px 0 28px;
	text-align: center;
}

.fwg-sky__kicker {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.75;
	margin-bottom: 12px !important;
}

.fwg-sky__title {
	font-size: clamp(30px, 5.4vw, 48px);
	line-height: 1.12;
	max-width: 15em;
	margin: 0 auto 16px !important;
}

.fwg-sky__intro {
	max-width: 38em;
	margin: 0 auto 28px !important;
	opacity: 0.88;
}

.fwg-sky__stage {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	/* Half as tall as wide, but no taller than 58% of the screen so the counters stay near the fold.
	   A height, not aspect-ratio + max-height: that pairing also shrinks the width. */
	height: max(400px, min(590px, 50vw, 58vh));
	background: radial-gradient(ellipse at 50% 120%, #1b4239 0%, var(--sky-night-2) 70%);
	border-radius: 0;
	overflow: hidden;
}

@media (min-width: 1200px) {
	.fwg-sky__stage { border-radius: var(--sky-radius); }
}

@media (max-width: 700px) {
	.fwg-sky__hero { padding-top: 36px; }
	.fwg-sky__stage { height: auto; aspect-ratio: 4 / 5; }
}

.fwg-sky__canvas {
	display: block;
	width: 100%;
	height: 100%;
	touch-action: manipulation;
}

.fwg-sky__canvas.is-pointer { cursor: pointer; }

.fwg-sky__hint {
	position: absolute;
	top: 12px;
	right: 16px;
	margin: 0 !important;
	font-size: 13px;
	opacity: 0.7;
	pointer-events: none;
}

@media (max-width: 700px) {
	.fwg-sky__hint { left: 0; right: 0; text-align: center; }
}

.fwg-sky__empty {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	margin: 0 !important;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(13, 36, 32, 0.6);
	color: var(--sky-cream);
	font-family: var(--sky-serif);
	font-size: clamp(18px, 2.4vw, 22px);
	white-space: nowrap;
	pointer-events: none;
}

.fwg-sky__card {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	width: min(360px, calc(100% - 32px));
	max-height: calc(100% - 40px);
	overflow: auto;
	background: var(--sky-cream);
	color: var(--sky-ink);
	border-radius: 12px;
	padding: 18px 20px 14px;
	text-align: left;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
	animation: fwg-sky-rise 0.25s ease-out;
}

.fwg-sky__card.is-top { bottom: auto; top: 20px; }

@keyframes fwg-sky-rise {
	from { opacity: 0; transform: translate(-50%, 8px); }
	to { opacity: 1; transform: translate(-50%, 0); }
}

.fwg-sky__card:focus { outline: none; }
.fwg-sky__card-kicker {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sky-berry);
	margin-bottom: 4px !important;
}
.fwg-sky__card-name { font-size: 24px; line-height: 1.2; margin-bottom: 6px !important; padding-right: 28px; }
.fwg-sky__card-message { white-space: pre-line; margin-bottom: 8px !important; }
.fwg-sky__card-from { font-size: 14px; color: var(--sky-muted); }

.fwg-sky__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--sky-ink);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.fwg-sky__close:hover { background: rgba(0, 0, 0, 0.06); }

.fwg-sky__link-btn {
	background: none;
	border: 0;
	padding: 6px 0;
	color: var(--sky-berry);
	font: inherit;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.fwg-sky__counters {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 40px;
	padding-top: 22px;
}
.fwg-sky__counters p { margin: 0 !important; font-size: 14px; opacity: 0.9; }
.fwg-sky__counters strong { font-family: var(--sky-serif); font-weight: 400; font-size: 26px; margin-right: 6px; opacity: 1; }

/* How it works */

.fwg-sky__how { background: var(--sky-mint); padding: 48px 0; }
.fwg-sky__h2 { font-size: clamp(24px, 3.4vw, 30px); text-align: center; margin-bottom: 24px !important; }
.fwg-sky__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
@media (max-width: 760px) { .fwg-sky__steps { grid-template-columns: 1fr; } }
.fwg-sky__steps li { background: #fff; border-radius: var(--sky-radius); padding: 20px; margin: 0; }
.fwg-sky__steps h3 { font-family: inherit; font-weight: 600; font-size: 16px; margin: 4px 0 6px !important; }
.fwg-sky__steps p { font-size: 15px; color: var(--sky-muted); margin: 0 !important; }
.fwg-sky__step-n { font-family: var(--sky-serif); color: var(--sky-berry); font-size: 22px; }

/* Message wall */

.fwg-sky__wall { background: #fff; padding: 48px 0; }
.fwg-sky__search { max-width: 420px; margin: 0 auto 20px; }
.fwg-sky__search label { display: block; font-weight: 600; margin-bottom: 6px; }
.fwg-sky__search input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--sky-line);
	border-radius: 10px;
	font: inherit;
	color: var(--sky-ink);
	background: #fff;
}
.fwg-sky__wall-status { text-align: center; color: var(--sky-muted); }

.fwg-sky__cards {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
@media (max-width: 1000px) { .fwg-sky__cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .fwg-sky__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fwg-sky__cards { grid-template-columns: 1fr; } }

.fwg-sky__cards li {
	margin: 0;
	border: 1px solid var(--sky-line);
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
}
.fwg-sky__cards li.is-highlight { border-color: var(--sky-berry); box-shadow: 0 0 0 2px rgba(140, 26, 63, 0.15); }
.fwg-sky__cards .fwg-sky__mini-star { color: var(--sky-berry); font-size: 14px; line-height: 1; }
.fwg-sky__cards h3 { font-size: 19px; margin: 6px 0 4px !important; overflow-wrap: anywhere; }
.fwg-sky__cards .fwg-sky__msg { font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; margin-bottom: 6px !important; }
.fwg-sky__cards .fwg-sky__from { font-size: 13px; color: var(--sky-muted); margin-bottom: 8px !important; }
.fwg-sky__cards .fwg-sky__link-btn { margin-top: auto; align-self: flex-start; font-size: 13px; }

/* Buttons */

.fwg-sky__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	border: 1px solid var(--sky-cream);
	background: var(--sky-cream);
	color: var(--sky-ink) !important;
	font: inherit;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
}
.fwg-sky__btn--ghost { background: transparent; color: var(--sky-cream) !important; }
.fwg-sky__btn--ghost-dark { background: transparent; border-color: var(--sky-ink); color: var(--sky-ink) !important; }
.fwg-sky__btn--primary { background: var(--sky-berry); border-color: var(--sky-berry); color: #fff !important; }
.fwg-sky__btn--primary:hover { background: var(--sky-berry-2); }
.fwg-sky__btn--primary[disabled] { opacity: 0.6; cursor: wait; }
.fwg-sky__btn--block { width: 100%; }
.fwg-sky__wall .fwg-sky__btn { display: flex; margin: 0 auto; }

/* Call to action and note */

.fwg-sky__cta { background: var(--sky-night); color: var(--sky-cream); text-align: center; padding: 48px 0; }
.fwg-sky__cta p { max-width: 36em; margin-left: auto; margin-right: auto; opacity: 0.9; }
.fwg-sky__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.fwg-sky__toast { min-height: 1.5em; margin-top: 12px !important; font-size: 14px; }
.fwg-sky__hero-actions { margin: -8px 0 28px !important; }
.fwg-sky a.fwg-sky__btn--primary:hover, .fwg-sky a.fwg-sky__btn--primary:focus { background: var(--sky-berry-2); border-color: var(--sky-berry-2); color: #fff !important; }
.fwg-sky__toast--dark { text-align: center; color: var(--sky-ink); }
.fwg-sky__toast--dark:empty { display: none; }
.fwg-sky__note {
	background: var(--sky-night-2);
	color: var(--sky-cream);
	font-size: 13px;
	opacity: 1;
	margin: 0 !important;
	padding: 18px 20px;
	text-align: center;
}
.fwg-sky__note a { color: var(--sky-cream); }

/* Dedication form */

.fwg-sky--form { padding: 24px 16px 48px; background: var(--sky-cream-2); }
.fwg-sky__panel {
	max-width: 480px;
	margin: 0 auto;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 6px 30px rgba(18, 48, 42, 0.12);
}
.fwg-sky__panel-head { background: var(--sky-night); color: var(--sky-cream); padding: 28px 24px 24px; }
.fwg-sky__panel-head p { margin: 0 !important; opacity: 0.85; }
.fwg-sky__panel-title { font-size: 30px; line-height: 1.15; margin: 10px 0 8px !important; }
.fwg-sky__panel-star {
	display: block;
	width: 28px;
	height: 28px;
	background: var(--sky-cream);
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
	filter: drop-shadow(0 0 6px rgba(244, 236, 216, 0.8));
}
.fwg-sky__panel-body { padding: 24px; }

.fwg-sky__field { margin-bottom: 20px; }
.fwg-sky__field label { display: block; font-weight: 600; margin-bottom: 6px; }
.fwg-sky__field label span { font-weight: 400; color: var(--sky-muted); }
.fwg-sky__field input:not([type=checkbox]),
.fwg-sky__field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #b9c9c0;
	border-radius: 10px;
	font: inherit;
	font-size: 16px; /* stops iOS zooming in */
	color: var(--sky-ink);
	background: #fff;
}
.fwg-sky__field input:focus,
.fwg-sky__field textarea:focus,
.fwg-sky__search input:focus { outline: 2px solid var(--sky-berry); outline-offset: 1px; border-color: transparent; }
.fwg-sky__field textarea { resize: vertical; min-height: 110px; }
.fwg-sky__help, .fwg-sky__counter { font-size: 13px; color: var(--sky-muted); margin: 6px 0 0 !important; }
.fwg-sky__counter { text-align: right; }
.fwg-sky__counter.is-over { color: var(--sky-berry); font-weight: 600; }
.fwg-sky__error { color: var(--sky-berry); font-size: 14px; font-weight: 600; margin: 6px 0 0 !important; }
.fwg-sky__error:empty { display: none; }
.fwg-sky__field.has-error input,
.fwg-sky__field.has-error textarea { border-color: var(--sky-berry); }

.fwg-sky__public { background: var(--sky-mint); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.fwg-sky__field--check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.fwg-sky__field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sky-berry); }
.fwg-sky__field--check label { font-weight: 400; font-size: 15px; margin: 0; }
.fwg-sky__field--check .fwg-sky__error { grid-column: 2; }

.fwg-sky__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.fwg-sky__preview {
	background: var(--sky-night);
	color: var(--sky-cream);
	border-radius: 12px;
	padding: 18px;
	margin-bottom: 16px;
}
.fwg-sky__preview h3 { font-size: 22px; margin-bottom: 6px !important; }
.fwg-sky__preview p { margin: 0 0 6px !important; white-space: pre-line; }
.fwg-sky__preview .fwg-sky__from { opacity: 0.8; font-size: 14px; }
.fwg-sky__actions-col { display: flex; flex-direction: column; gap: 10px; }
.fwg-sky [data-fwg-state]:focus { outline: none; }
[data-fwg-state="thanks"] .fwg-sky__btn { width: 100%; }
.fwg-sky__panel-body .fwg-sky__btn:not(.fwg-sky__btn--primary):not(.fwg-sky__btn--ghost-dark) { background: var(--sky-night); border-color: var(--sky-night); color: var(--sky-cream) !important; }
.fwg-sky__small { font-size: 13px; color: var(--sky-muted); border-top: 1px solid var(--sky-line); padding-top: 16px; margin: 24px 0 0 !important; }
.fwg-sky__small a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
	.fwg-sky__card { animation: none; }
}

/* Theme guards. FWG's Elementor kit styles every <button> (and its hover) with a filled berry box,
   so the plugin's own buttons restate their look with enough weight to win. */
.fwg-sky button.fwg-sky__link-btn,
.fwg-sky button.fwg-sky__link-btn:hover,
.fwg-sky button.fwg-sky__link-btn:focus,
.fwg-sky button.fwg-sky__link-btn:active {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--sky-berry) !important;
	padding: 6px 0 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	min-height: 0 !important;
}
.fwg-sky button.fwg-sky__link-btn:hover { text-decoration-thickness: 2px; }
.fwg-sky button.fwg-sky__close,
.fwg-sky button.fwg-sky__close:focus {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--sky-ink) !important;
	padding: 0 !important;
}
.fwg-sky button.fwg-sky__close:hover { background: rgba(0, 0, 0, 0.06) !important; color: var(--sky-ink) !important; }
.fwg-sky button.fwg-sky__btn { text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; }
.fwg-sky button.fwg-sky__btn--ghost:hover,
.fwg-sky button.fwg-sky__btn--ghost:focus { background: rgba(244, 236, 216, 0.12) !important; color: var(--sky-cream) !important; border-color: var(--sky-cream) !important; }
.fwg-sky button.fwg-sky__btn--ghost-dark:hover,
.fwg-sky button.fwg-sky__btn--ghost-dark:focus { background: rgba(24, 59, 51, 0.06) !important; color: var(--sky-ink) !important; border-color: var(--sky-ink) !important; }
.fwg-sky button.fwg-sky__btn--primary,
.fwg-sky button.fwg-sky__btn--primary:focus { background: var(--sky-berry) !important; border-color: var(--sky-berry) !important; color: #fff !important; }
.fwg-sky button.fwg-sky__btn--primary:hover { background: var(--sky-berry-2) !important; border-color: var(--sky-berry-2) !important; color: #fff !important; }
.fwg-sky :focus-visible { outline: 2px solid var(--sky-berry); outline-offset: 2px; }
.fwg-sky__hero :focus-visible, .fwg-sky__cta :focus-visible { outline-color: var(--sky-cream); }
/* Containers focused by script (the star card, the form states) need no ring. */
.fwg-sky [tabindex="-1"]:focus, .fwg-sky [tabindex="-1"]:focus-visible { outline: none; }

/* ------------------------------------------------------------------ Cinematic layout
   [fwg_christmas_sky layout="cinematic"], markup in includes/cinematic.php. A story told over the sky:
   the sky is held one screen tall while five chapters scroll over it, then the messages, how it works
   and a quiet close, all at night.

   The look: no boxes. Words sit on the sky and the sky makes room for them (sky.js fades the stars
   beneath any words). The only lines are hairlines: above an entry in a list, under a field you write
   on. One kind of button, for the one thing we ask of people; everything else is a plain link. Serif
   for anything a person says, sans for small working text.

   sky.js sets --fwg-pin-h (one screen), --fwg-ch-h (one chapter), --fwg-first-pad (where the opening
   line sits), data-state on the pin (fixed / after), --o and --y on each chapter's words, .is-focus
   while a star is open and .is-bar while the shortcuts should show. */

.fwg-sky--cinematic {
	--sky-glow: #fff1d6;
	--sky-gold: #ffd89a;
	--cine-rule: rgba(244, 236, 216, 0.16);
	--cine-soft: rgba(244, 236, 216, 0.66);
	--fwg-pin-h: 100vh;
	--fwg-ch-h: 100vh;
	--cine-shadow: 0 1px 18px rgba(3, 10, 12, 0.9), 0 0 2px rgba(3, 10, 12, 0.7);
	background: #06140f;
	color: var(--sky-cream);
}

/* The sky: deep night above, the green of the valley below, and a warm glow behind the hills. */
.fwg-cine__story { position: relative; }
.fwg-cine__pin { position: absolute; top: 0; left: 0; right: 0; height: var(--fwg-pin-h); z-index: 1; overflow: hidden; }
.fwg-cine__pin[data-state="fixed"] { position: fixed; right: auto; }
.fwg-cine__pin[data-state="after"] { top: auto; bottom: 0; }
.fwg-sky--cinematic .fwg-sky__stage {
	height: 100%;
	max-width: none;
	aspect-ratio: auto;
	border-radius: 0;
	background:
		radial-gradient(ellipse 75% 24% at 50% 86%, rgba(238, 162, 96, 0.26) 0%, rgba(238, 162, 96, 0) 72%),
		radial-gradient(ellipse 60% 22% at 26% 28%, rgba(150, 196, 190, 0.07) 0%, rgba(150, 196, 190, 0) 70%),
		radial-gradient(ellipse 52% 18% at 72% 42%, rgba(214, 196, 160, 0.055) 0%, rgba(214, 196, 160, 0) 70%),
		radial-gradient(ellipse 140% 92% at 50% 100%, #214a40 0%, #0e2b29 40%, #050f16 100%);
}
@media (min-width: 1200px) { .fwg-sky--cinematic .fwg-sky__stage { border-radius: 0; } }
@media (max-width: 700px) { .fwg-sky--cinematic .fwg-sky__stage { height: 100%; aspect-ratio: auto; } }
.fwg-sky--cinematic .fwg-sky__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 90% 80% at 50% 45%, rgba(2, 8, 10, 0) 55%, rgba(2, 8, 10, 0.5) 100%);
}
.fwg-sky--cinematic .fwg-sky__canvas { animation: fwg-cine-fade 1.8s ease-out both; }
.fwg-sky--cinematic .fwg-sky__hint { display: none !important; }

@keyframes fwg-cine-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fwg-cine-in { from { opacity: 0; filter: blur(7px); } to { opacity: 1; filter: blur(0); } }

/* The chapters, scrolling over the sky. They sit close enough that as one line leaves, the next arrives. */
.fwg-cine__chapters { position: relative; z-index: 2; pointer-events: none; overflow-x: clip; }
.fwg-cine__chapter {
	min-height: calc(var(--fwg-ch-h) * 0.82);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	/* Keep the words in the sky, above the hills. */
	padding: 48px 24px calc(var(--fwg-ch-h) * 0.2);
}
.fwg-cine__chapter--top { align-items: flex-start; padding-top: calc(var(--fwg-ch-h) * 0.1); }
.fwg-cine__chapter:first-child { align-items: flex-start; padding-top: var(--fwg-first-pad, 12vh); }
/* Room to scroll while the messages come and go. */
.fwg-cine__chapter--long { min-height: calc(var(--fwg-ch-h) * 1.7); }
.fwg-cine__chapter--last { min-height: var(--fwg-ch-h); }
.fwg-cine__inner {
	position: relative;
	max-width: 780px;
	opacity: var(--o, 1);
	transform: translateY(var(--y, 0));
	/* Words come into focus as they arrive, and soften as they leave. --b only rises once the words
	   are well faded (set in sky.js), so the blur never catches them mid-read. The short transition
	   smooths out the steps of a mouse wheel. */
	filter: blur(calc(var(--b, 0) * 4px));
	transition: opacity 0.35s ease-out, transform 0.35s ease-out, filter 0.35s ease-out;
}
.fwg-cine__chapter--last .fwg-cine__inner { filter: none; }
.fwg-sky--cinematic.is-focus .fwg-cine__inner { opacity: 0; transition: opacity 0.6s ease; }
.fwg-cine__inner a,
.fwg-cine__inner button,
.fwg-cine__inner input,
.fwg-cine__inner textarea,
.fwg-cine__inner label { pointer-events: auto; }
.fwg-sky--cinematic.is-focus .fwg-cine__inner * { pointer-events: none !important; }

.fwg-cine__line {
	font-family: var(--sky-serif);
	font-size: clamp(30px, 4.4vw, 58px);
	line-height: 1.16;
	margin: 0 auto !important;
	max-width: 15em;
	text-wrap: balance;
	text-shadow: var(--cine-shadow);
}
.fwg-cine__line--soft { font-style: italic; }
.fwg-cine__line--small { font-size: clamp(24px, 3vw, 34px); opacity: 0.9; }
.fwg-cine__em { font-style: italic; color: var(--sky-gold); }
.fwg-sky--cinematic .fwg-sky__kicker { font-family: var(--sky-serif); font-style: italic; font-size: 19px; letter-spacing: 0; text-transform: none; opacity: 0.8; margin-bottom: 14px !important; text-shadow: var(--cine-shadow); }
.fwg-cine__title {
	font-size: clamp(46px, 8.4vw, 104px) !important;
	line-height: 1.02 !important;
	max-width: 10em;
	margin: 0 auto 24px !important;
	text-wrap: balance;
	text-shadow: var(--cine-shadow);
}
.fwg-cine__sub {
	font-size: clamp(16px, 1.5vw, 18px);
	line-height: 1.6;
	max-width: 30em;
	margin: 16px auto 0 !important;
	opacity: 0.88;
	text-wrap: balance;
	text-shadow: var(--cine-shadow);
}
.fwg-cine__ask {
	font-size: clamp(32px, 5vw, 62px) !important;
	line-height: 1.08 !important;
	max-width: 12em;
	margin: 0 auto 26px !important;
	text-wrap: balance;
	text-shadow: var(--cine-shadow);
}
.fwg-cine__ask--small { font-size: clamp(28px, 3.6vw, 42px) !important; margin-bottom: 18px !important; }
.fwg-cine__small { text-wrap: balance; font-size: 14px; line-height: 1.55; max-width: 32em; margin: 0 auto !important; color: var(--cine-soft); text-shadow: var(--cine-shadow); }
.fwg-cine__small a { color: inherit; }

/* The opening arrives by itself: the sky, then the line, then a thread of light that says "go on". */
.fwg-cine__chapter:first-child .fwg-cine__line { animation: fwg-cine-in 2.4s ease-out 0.7s both; }
.fwg-cine__scroll {
	display: block;
	width: 1px;
	height: 64px;
	margin: 40px auto 0;
	background: linear-gradient(rgba(255, 216, 154, 0), rgba(255, 216, 154, 0.9));
	transform-origin: top;
	animation: fwg-cine-fade 1.2s ease-out 2.8s both, fwg-cine-thread 2.8s ease-in-out 2.8s infinite;
}
@keyframes fwg-cine-thread {
	0% { transform: scaleY(0); transform-origin: top; }
	50% { transform: scaleY(1); transform-origin: top; }
	51% { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}
.fwg-cine__skip { display: block; margin: 14px auto 0 !important; animation: fwg-cine-fade 1.2s ease-out 3.4s both; }

/* Plain links. Everything that isn't the one button is one of these. */
.fwg-sky--cinematic button.fwg-cine__textbtn,
.fwg-sky--cinematic button.fwg-cine__textbtn:hover,
.fwg-sky--cinematic button.fwg-cine__textbtn:focus,
.fwg-sky--cinematic button.fwg-cine__textbtn:active {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 12px 6px !important;
	min-height: 44px !important;
	color: var(--cine-soft) !important;
	font: inherit;
	font-size: 15px !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	text-decoration: underline;
	text-decoration-color: rgba(244, 236, 216, 0.3);
	text-underline-offset: 5px;
	text-shadow: var(--cine-shadow);
	cursor: pointer;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.fwg-sky--cinematic button.fwg-cine__textbtn:hover,
.fwg-sky--cinematic button.fwg-cine__textbtn:focus-visible { color: var(--sky-cream) !important; text-decoration-color: var(--sky-cream); }

/* Lighting a star. The star itself is drawn in the sky, in the space kept for it here. */
.fwg-cine__starslot { height: 92px; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.fwg-cine__preview {
	font-family: var(--sky-serif);
	font-style: italic;
	font-size: 26px;
	line-height: 1.2;
	color: var(--sky-glow);
	min-height: 1.2em;
	margin-bottom: 8px;
	opacity: 0;
	transition: opacity 0.8s ease;
	text-shadow: 0 0 22px rgba(255, 216, 154, 0.5), var(--cine-shadow);
}
.fwg-cine__preview.is-on { opacity: 1; }

/* A line to write on, not a box to fill in. */
.fwg-sky--cinematic .fwg-cine__invite input,
.fwg-sky--cinematic .fwg-cine__words input:not([type="checkbox"]),
.fwg-sky--cinematic .fwg-cine__words textarea {
	display: block;
	width: 100%;
	border: 0 !important;
	border-bottom: 1px solid rgba(244, 236, 216, 0.4) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--sky-glow) !important;
	font-family: var(--sky-serif);
	text-shadow: var(--cine-shadow);
	transition: border-color 0.3s ease;
}
.fwg-sky--cinematic .fwg-cine__invite input::placeholder,
.fwg-sky--cinematic .fwg-cine__words input::placeholder,
.fwg-sky--cinematic .fwg-cine__words textarea::placeholder { color: rgba(244, 236, 216, 0.48); font-style: italic; }
.fwg-sky--cinematic .fwg-cine__invite input:focus,
.fwg-sky--cinematic .fwg-cine__words input:not([type="checkbox"]):focus,
.fwg-sky--cinematic .fwg-cine__words textarea:focus { outline: none; border-bottom-color: var(--sky-gold) !important; }
.fwg-cine__invite { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 420px; margin: 0 auto 22px; }
.fwg-sky--cinematic .fwg-cine__invite input { height: 62px; padding: 0 8px; font-size: clamp(26px, 3vw, 34px); text-align: center; }
.fwg-cine__invite .fwg-sky__btn { min-height: 54px; padding: 0 30px; }

.fwg-cine__words { max-width: 460px; margin: 0 auto; }
.fwg-sky--cinematic .fwg-cine__words textarea { padding: 8px 2px 12px; font-size: 21px; line-height: 1.45; resize: none; min-height: 100px; margin-bottom: 14px; }
.fwg-sky--cinematic .fwg-cine__words input:not([type="checkbox"]) { height: 48px; padding: 0 2px; font-size: 19px; margin-bottom: 22px; }
.fwg-cine__consent { display: flex; gap: 12px; align-items: flex-start; text-align: left; font-size: 14px; line-height: 1.5; margin: 0 0 18px; color: rgba(244, 236, 216, 0.82); cursor: pointer; text-shadow: var(--cine-shadow); }
.fwg-cine__consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sky-berry); }
.fwg-cine__error { margin: 0 0 12px !important; font-size: 14px; color: #ffc9b8; text-shadow: var(--cine-shadow); }
.fwg-cine__error:empty { display: none; }
.fwg-cine__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 22px; margin: 0 0 14px; }
.fwg-cine__words .fwg-cine__actions .fwg-sky__btn { min-height: 54px; padding: 0 34px; }
[data-fwg-step="thanks"] .fwg-cine__actions { margin-top: 26px; }
.fwg-cine__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fwg-cine__vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Their words, beside their star. The stars around them fade to make room. */
.fwg-cine__voice {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 3;
	width: min(340px, calc(100% - 32px));
	text-align: left;
	cursor: pointer;
	opacity: 0;
	filter: blur(6px);
	pointer-events: none;
	transition: opacity 1.1s ease, filter 1.1s ease;
	text-shadow: var(--cine-shadow);
}
.fwg-cine__voice.is-left { text-align: right; }
.fwg-cine__voice.is-on { opacity: 1; filter: blur(0); pointer-events: auto; }
.fwg-sky--cinematic.is-focus .fwg-cine__voice { opacity: 0; pointer-events: none; }
.fwg-cine__voice-name { display: block; font-family: var(--sky-serif); font-size: 30px; line-height: 1.12; color: var(--sky-glow); margin-bottom: 8px; }
.fwg-cine__voice-msg { display: block; font-family: var(--sky-serif); font-style: italic; font-size: 20px; line-height: 1.45; color: rgba(244, 236, 216, 0.96); }
.fwg-cine__voice-msg::before { content: "\201C"; }
.fwg-cine__voice-msg::after { content: "\201D"; }
.fwg-cine__voice-from { display: block; margin-top: 10px; font-size: 13px; color: var(--cine-soft); }

/* The name that appears as you pass over a star */
.fwg-cine__label {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 3;
	margin: 0 !important;
	font-family: var(--sky-serif);
	font-style: italic;
	font-size: 17px;
	color: var(--sky-glow);
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.25s ease;
	text-shadow: var(--cine-shadow);
}
.fwg-cine__label.is-on { opacity: 1; }

/* An open star: its words on the sky itself, under the star the view has moved towards. */
.fwg-sky--cinematic .fwg-sky__card,
.fwg-sky--cinematic .fwg-sky__card.is-top {
	top: auto;
	/* In the sky, clear of the village. */
	bottom: calc(var(--fwg-pin-h) * 0.2);
	width: min(600px, calc(100% - 40px));
	max-height: none;
	overflow: visible;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--sky-cream);
	text-align: center;
	text-shadow: var(--cine-shadow);
	z-index: 5;
	animation: fwg-cine-card 1s ease-out 0.35s both;
}
@keyframes fwg-cine-card { from { opacity: 0; filter: blur(6px); transform: translateX(-50%); } to { opacity: 1; filter: blur(0); transform: translateX(-50%); } }
.fwg-sky--cinematic .fwg-sky__card-kicker { font-family: var(--sky-serif); font-style: italic; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--sky-gold); margin-bottom: 6px !important; }
.fwg-sky--cinematic .fwg-sky__card-name { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; padding: 0; color: var(--sky-glow); margin-bottom: 14px !important; }
.fwg-sky--cinematic .fwg-sky__card-message { font-family: var(--sky-serif); font-style: italic; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.45; max-width: 24em; margin: 0 auto 10px !important; text-wrap: balance; }
.fwg-sky--cinematic .fwg-sky__card-from { font-size: 14px; color: var(--cine-soft); margin-bottom: 0 !important; }
.fwg-cine__nav { display: flex; align-items: baseline; justify-content: center; gap: 26px; margin-top: 18px; }
.fwg-cine__nav--quiet { margin-top: 0; }
.fwg-cine__count { min-width: 5em; font-size: 13px; color: rgba(244, 236, 216, 0.5); }

/* "Light a star" and the way to the messages, always to hand. */
.fwg-cine__bar {
	position: absolute;
	left: 50%;
	bottom: calc(var(--fwg-pin-h) * 0.04);
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 18px;
	opacity: 0;
	transform: translate(-50%, 0);
	pointer-events: none;
	transition: opacity 0.8s ease;
}
.fwg-sky--cinematic.is-bar .fwg-cine__bar { opacity: 1; pointer-events: auto; }
.fwg-cine__bar .fwg-sky__btn { min-height: 46px; padding: 0 26px; font-size: 15px; white-space: nowrap; }
.fwg-cine__bar .fwg-cine__textbtn { white-space: nowrap; }

/* After the story: a book of remembrance. Names and words, a hairline between them, nothing else. */
.fwg-sky--cinematic .fwg-sky__h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 12px !important; }
.fwg-cine__tally { text-align: center; font-size: 15px; color: var(--cine-soft); margin: 0 0 30px !important; }
.fwg-cine__tally strong { font-weight: 400; }
.fwg-sky--cinematic .fwg-sky__wall { background: linear-gradient(#06140f 0, #06161a 420px); padding: 120px 0 88px; }
.fwg-sky--cinematic .fwg-sky__search { max-width: 340px; margin-bottom: 64px; }
.fwg-sky--cinematic .fwg-sky__search input {
	height: 46px;
	padding: 0 4px;
	border: 0 !important;
	border-bottom: 1px solid rgba(244, 236, 216, 0.32) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--sky-cream) !important;
	font-family: var(--sky-serif);
	font-style: italic;
	font-size: 18px;
	text-align: center;
}
.fwg-sky--cinematic .fwg-sky__search input:focus { outline: none; border-bottom-color: var(--sky-gold) !important; }
.fwg-sky--cinematic .fwg-sky__search input::placeholder { color: rgba(244, 236, 216, 0.5); }
.fwg-sky--cinematic .fwg-sky__wall-status { color: var(--cine-soft); }
.fwg-sky--cinematic .fwg-sky__cards { grid-template-columns: repeat(3, 1fr); gap: 0 64px; margin-bottom: 40px; }
@media (max-width: 1000px) { .fwg-sky--cinematic .fwg-sky__cards { grid-template-columns: repeat(2, 1fr); gap: 0 48px; } }
@media (max-width: 640px) { .fwg-sky--cinematic .fwg-sky__cards { grid-template-columns: 1fr; } }
.fwg-sky--cinematic .fwg-sky__cards li {
	border: 0;
	border-top: 1px solid var(--cine-rule);
	border-radius: 0;
	background: none;
	padding: 26px 0 30px;
}
.fwg-sky--cinematic .fwg-sky__cards .fwg-sky__mini-star { display: none; }
.fwg-sky--cinematic .fwg-sky__cards h3 { color: var(--sky-glow); font-size: 25px; line-height: 1.15; margin: 0 0 8px !important; }
.fwg-sky--cinematic .fwg-sky__cards .fwg-sky__msg { font-family: var(--sky-serif); font-style: italic; font-size: 18px; line-height: 1.5; color: rgba(244, 236, 216, 0.92); margin-bottom: 8px !important; }
.fwg-sky--cinematic .fwg-sky__cards .fwg-sky__from { font-size: 13px; color: var(--cine-soft); margin-bottom: 4px !important; }
/* Now and then one is set large, across the page, like a pull quote. */
.fwg-sky--cinematic .fwg-sky__cards li.is-feature { grid-column: 1 / -1; align-items: center; text-align: center; padding: 60px 0 64px; }
.fwg-sky--cinematic .fwg-sky__cards li.is-feature h3 { font-size: 22px; color: var(--sky-gold); order: 2; margin: 18px 0 2px !important; }
.fwg-sky--cinematic .fwg-sky__cards li.is-feature .fwg-sky__msg { font-size: clamp(26px, 3.1vw, 40px); line-height: 1.28; max-width: 22em; color: var(--sky-glow); order: 1; margin: 0 !important; text-wrap: balance; }
.fwg-sky--cinematic .fwg-sky__cards li.is-feature .fwg-sky__msg::before { content: "\201C"; }
.fwg-sky--cinematic .fwg-sky__cards li.is-feature .fwg-sky__msg::after { content: "\201D"; }
.fwg-sky--cinematic .fwg-sky__cards li.is-feature .fwg-sky__from { order: 3; }
.fwg-sky--cinematic .fwg-sky__cards li.is-feature .fwg-sky__link-btn { order: 4; align-self: center; }
.fwg-sky--cinematic .fwg-sky__cards .fwg-sky__link-btn { margin-top: auto; }

.fwg-sky--cinematic .fwg-sky__how { background: #06161a; padding: 24px 0 88px; }
.fwg-sky--cinematic .fwg-sky__how .fwg-sky__h2 { font-size: clamp(24px, 2.6vw, 30px); text-align: left; margin-bottom: 22px !important; }
.fwg-sky--cinematic .fwg-sky__steps { gap: 0 64px; }
.fwg-sky--cinematic .fwg-sky__steps li { background: none; border: 0; border-top: 1px solid var(--cine-rule); border-radius: 0; padding: 20px 0 24px; }
.fwg-sky--cinematic .fwg-sky__steps h3 { font-family: var(--sky-serif); font-weight: 400; font-size: 21px; color: var(--sky-glow); margin: 2px 0 8px !important; }
.fwg-sky--cinematic .fwg-sky__steps p { color: var(--cine-soft); }
.fwg-sky--cinematic .fwg-sky__step-n { font-style: italic; font-size: 17px; color: var(--sky-gold); }
.fwg-sky--cinematic .fwg-sky__cta { background: radial-gradient(ellipse 70% 110% at 50% 100%, rgba(238, 162, 96, 0.16) 0%, rgba(238, 162, 96, 0) 70%), #06161a; padding: 96px 0 88px; }
.fwg-sky--cinematic .fwg-sky__cta p { font-size: 18px; text-wrap: balance; }
.fwg-sky--cinematic .fwg-sky__cta .fwg-sky__actions { align-items: center; gap: 8px 22px; margin-top: 22px; }
.fwg-sky--cinematic .fwg-sky__note { background: #040d10; color: var(--cine-soft); }
.fwg-sky--cinematic .fwg-sky__note a { color: inherit; }

/* Theme guards again, for the dark version. */
.fwg-sky--cinematic button.fwg-sky__link-btn,
.fwg-sky--cinematic button.fwg-sky__link-btn:hover,
.fwg-sky--cinematic button.fwg-sky__link-btn:focus,
.fwg-sky--cinematic button.fwg-sky__link-btn:active { color: rgba(244, 236, 216, 0.55) !important; font-size: 13px !important; text-decoration-color: rgba(244, 236, 216, 0.25); text-underline-offset: 4px; }
.fwg-sky--cinematic button.fwg-sky__link-btn:hover { color: var(--sky-cream) !important; }
.fwg-sky--cinematic button.fwg-sky__btn--ghost-dark,
.fwg-sky--cinematic button.fwg-sky__btn--ghost-dark:hover,
.fwg-sky--cinematic button.fwg-sky__btn--ghost-dark:focus {
	display: block;
	margin: 0 auto;
	min-height: 44px;
	padding: 12px 6px !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: var(--cine-soft) !important;
	font-weight: 400;
	text-decoration: underline;
	text-decoration-color: rgba(244, 236, 216, 0.3);
	text-underline-offset: 5px;
}
.fwg-sky--cinematic button.fwg-sky__btn--ghost-dark:hover { color: var(--sky-cream) !important; }
.fwg-sky--cinematic button.fwg-sky__btn:not(.fwg-sky__btn--primary):not(.fwg-sky__btn--ghost):not(.fwg-sky__btn--ghost-dark),
.fwg-sky--cinematic button.fwg-sky__btn:not(.fwg-sky__btn--primary):not(.fwg-sky__btn--ghost):not(.fwg-sky__btn--ghost-dark):hover,
.fwg-sky--cinematic button.fwg-sky__btn:not(.fwg-sky__btn--primary):not(.fwg-sky__btn--ghost):not(.fwg-sky__btn--ghost-dark):focus { background: var(--sky-cream) !important; border-color: var(--sky-cream) !important; color: var(--sky-ink) !important; }
.fwg-sky--cinematic :focus-visible { outline-color: var(--sky-gold); }

/* Phones */
@media (max-width: 700px) {
	.fwg-cine__chapter { padding-left: 22px; padding-right: 22px; }
	.fwg-cine__chapter--long { min-height: calc(var(--fwg-ch-h) * 1.5); }
	.fwg-cine__chapter--last { padding-top: 24px; padding-bottom: calc(var(--fwg-ch-h) * 0.14); }
	.fwg-cine__line { font-size: clamp(28px, 8.2vw, 38px); }
	.fwg-cine__title { font-size: clamp(42px, 12.5vw, 56px) !important; }
	.fwg-cine__sub { font-size: 16px; }
	.fwg-cine__ask { font-size: clamp(30px, 8.8vw, 40px) !important; }
	.fwg-cine__ask--small { font-size: clamp(26px, 7.2vw, 32px) !important; }
	.fwg-cine__starslot { height: 84px; }
	.fwg-cine__preview { font-size: 23px; }
	.fwg-cine__voice, .fwg-cine__voice.is-left { text-align: center; }
	.fwg-cine__voice-name { font-size: 26px; }
	.fwg-cine__voice-msg { font-size: 18px; }
	.fwg-sky--cinematic .fwg-sky__card,
	.fwg-sky--cinematic .fwg-sky__card.is-top { bottom: calc(var(--fwg-pin-h) * 0.17); }
	.fwg-cine__nav { gap: 14px; }
	/* Clear of the site's chat button in the corner. */
	.fwg-cine__bar { bottom: 76px; gap: 10px; }
	.fwg-cine__bar .fwg-sky__btn { padding: 0 22px; }
	.fwg-sky--cinematic .fwg-sky__wall { padding-top: 80px; }
	.fwg-sky--cinematic .fwg-sky__search { margin-bottom: 40px; }
	.fwg-sky--cinematic .fwg-sky__cards li.is-feature { padding: 44px 0 48px; }
	.fwg-sky--cinematic .fwg-sky__how .fwg-sky__h2 { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.fwg-sky--cinematic .fwg-sky__canvas,
	.fwg-cine__chapter:first-child .fwg-cine__line,
	.fwg-cine__skip,
	.fwg-sky--cinematic .fwg-sky__card { animation: none; }
	.fwg-cine__scroll { animation: none; transform: none; }
	.fwg-cine__inner { filter: none; transition: none; }
	.fwg-cine__voice { filter: none; transition: none; }
	.fwg-cine__preview, .fwg-cine__bar, .fwg-cine__label { transition: none; }
}

/* With a mouse, the way to each star only shows on the entry you're reading. Always there on touch and for keyboards. */
@media (hover: hover) {
	.fwg-sky--cinematic .fwg-sky__cards .fwg-sky__link-btn { opacity: 0; transition: opacity 0.25s ease; }
	.fwg-sky--cinematic .fwg-sky__cards li:hover .fwg-sky__link-btn,
	.fwg-sky--cinematic .fwg-sky__cards li:focus-within .fwg-sky__link-btn { opacity: 1; }
}

/* HubSpot's chat button covers the sky, so it's hidden on the sky pages only (this file only loads there). */
#hubspot-messages-iframe-container { display: none !important; }
