/* Seasonal homepage theme. Load after styles.css and site-footer.css. */
:root {
	--color-bg: #0b080e;
	--color-surface-strong: #ff912e0f;
	--color-border: #d5b0e021;
	--color-text: #fff5e9;
	--color-muted: #b8a9bc;
	--color-cyan: #ff912e;
	--color-yellow: #ffc28d;
}

html { scroll-snap-type: none; }
::selection { background: #ff912e40; color: white; }
:is(a, button):focus-visible { outline: 0.25vh solid #ff912e; outline-offset: 0.6vh; }
.site__texture { background: linear-gradient(115deg, #ff912e0b, transparent 42%), linear-gradient(295deg, #a986b809, transparent 35%); }
.site__glow { background: radial-gradient(ellipse at 15% 12%, #ff912e0d, transparent 42%), radial-gradient(ellipse at 85% 20%, #8b32c424, transparent 42%), radial-gradient(circle, transparent 40%, #0007); }
.site__grid { opacity: 0.3; }
.site-header, .site-header.is-scrolled { background: #0b080ef5; border-bottom-color: var(--color-border); backdrop-filter: none; }
.brand__logo { filter: drop-shadow(0 0 1.4vh #ff912e35); }
.site-nav { gap: 1.8vh; }
.site-nav .site-nav__halloween { color: #ffb677; opacity: 1; }
.button { border-color: #ff912e66; background: #ff912e14; }
.button:hover { background: #ff912e29; box-shadow: 0 0.8vh 2.8vh #ff912e18; }
.button--ghost { border-color: #d5b0e026; background: #ffffff07; }
.button--ghost:hover { background: #ff912e12; }
.button--warning { border-color: #ffc28d66; background: #ffc28d14; color: #ffc28d; }
.button--warning:hover { border-color: #ffc28d99; background: #ffc28d26; box-shadow: none; }
.panel:hover { box-shadow: 0 2vh 5vh #0005, 0 0 2.8vh #ff912e0d; }
.hero { overflow: hidden; border-bottom: 0.12vh solid var(--color-border); }
.hero__inner { min-height: 100vh; }
.hero__content { padding-top: 13vh; padding-bottom: 6vh; position: relative; z-index: 2; animation: halloween-enter 0.7s ease both; }
.hero__title > span { color: #ff912e; text-shadow: 0 0 5vh #ff912e26; }
.hero__title small { color: #f3e5f2; }
.halloween-kicker { margin: 0; color: #ffc28d; font-family: var(--font-body); font-size: 1.15vh; font-weight: 600; letter-spacing: 0.2em; line-height: 1.8; text-transform: uppercase; }
.hero__art { height: 76vh; align-self: center; margin-top: 9vh; animation: halloween-enter 0.9s 0.12s ease both; }
.hero__art::before { inset: 6%; background: radial-gradient(ellipse, #ff912e26, #8c31ca14 45%, transparent 72%); filter: none; }
.hero__silhouette { display: none; }
.hero__character { transform: scale(1); object-position: center; filter: drop-shadow(0 3vh 4vh #0009) drop-shadow(0 0 3vh #ff912e14); animation: halloween-logo-pulse 3.6s ease-in-out infinite; }
.halloween-web { position: absolute; top: 8vh; right: 0; width: 23vh; height: 23vh; stroke: #cdb2d5; stroke-width: 0.8; opacity: 0.16; pointer-events: none; }
.halloween-invitation { display: flex; align-items: center; justify-content: space-between; gap: 3vh; width: min(100%, 44vh); padding-block: 1.6vh; border-block: 0.12vh solid #ff912e33; color: #ffc28d; font-size: 2.3vh; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.halloween-invitation small { display: block; margin-top: 0.4vh; color: var(--color-muted); font-family: var(--font-body); font-size: 1.2vh; font-weight: 400; }
.halloween-invitation > span:last-child { font-size: 3vh; transition: transform 0.2s; }
.halloween-invitation:hover { color: white; }
.halloween-invitation:hover > span:last-child { transform: translate(0.4vh, -0.4vh); }
.section-heading__icon { background: #ff912e; color: #180c05; box-shadow: 0 0 2vh #ff912e40; }
.about__glow { background: radial-gradient(circle, #ff912e12, transparent 65%); }
.about__watermark { color: #ff912e09; }
.tag-list span { border-color: #ff912e40; }
.feature-card__icon { filter: drop-shadow(0 0 1.2vh #ff912e33); }
.step-card::after { background: linear-gradient(90deg, transparent, #ff912e55, transparent); }
.step-card--highlighted { background: linear-gradient(#ff912e0c, #ffffff02); }
.step-card--highlighted .step-card__header strong { color: #ff912e26; }
.connection-list iconify-icon { color: #ffb677; }

.halloween-popup { width: min(84vh, 92vw); max-width: none; max-height: 88dvh; padding: 5vh 4vh; position: fixed; border: 0.12vh solid #ff912e40; border-radius: 1.4vh; background: radial-gradient(ellipse at 12% 45%, #ff912e12, transparent 60%), #140e18; color: var(--color-text); overflow: auto; box-shadow: 0 4vh 15vh #000b; }
.halloween-popup:not([open]) { display: none; }
.halloween-popup[open] { display: grid; grid-template-columns: 25vh 1fr; align-items: center; gap: 3vh; animation: halloween-enter 0.25s ease both; }
.halloween-popup::backdrop { background: #08030ce8; }
.halloween-popup__close { position: absolute; top: 1vh; right: 1vh; display: grid; place-items: center; width: 4.8vh; height: 4.8vh; padding: 0; border: 0.12vh solid #d5b0e026; border-radius: 0.6vh; background: #ffffff06; color: #dfcce2; cursor: pointer; font-size: 2vh; }
.halloween-popup__close:hover { border-color: #ff912e; color: #ff912e; }
.halloween-popup__art { position: relative; }
.halloween-popup__art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2vh 3vh #0008); transform: rotate(-6deg); }
.halloween-popup__content { min-width: 0; }
.halloween-popup h2 { margin: 1.6vh 0; font-size: 4.8vh; font-weight: 500; line-height: 1; }
.halloween-popup h2 span { display: block; color: #ff912e; }
.halloween-popup__content > p:not(.halloween-kicker) { margin: 0; color: var(--color-muted); font-family: var(--font-body); font-size: 1.5vh; line-height: 1.8; }
.halloween-popup__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5vh; margin-top: 2.8vh; }
.halloween-popup__later { min-height: 4.8vh; padding: 1vh; border: 0; background: transparent; color: #d1b6d5; font-family: var(--font-body); font-size: 1.3vh; cursor: pointer; }
.halloween-popup__later:hover { color: #fff5e9; }

@keyframes halloween-enter { from { opacity: 0; transform: translateY(1.5vh); } to { opacity: 1; transform: translateY(0); } }
@keyframes halloween-logo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }

@media (max-width: 1100px) and (min-width: 901px) {
	.site-header__inner { flex-wrap: wrap; }
	.site-header__actions { width: 100%; margin-left: 0; }
	.hero__content { padding-top: 18vh; }
}
@media (max-width: 900px) {
	.hero__inner { min-height: auto; grid-template-columns: 1fr; padding-top: 19vh; }
	.hero__content { padding: 0 0 4vh; }
	.hero__art { display: block; width: min(46vh, 90%); height: 38vh; margin: -1vh auto 3vh; }
	.hero__title > span { font-size: 9vh; }
	.halloween-web { top: 12vh; width: 17vh; height: 17vh; }
}
@media (max-width: 560px) {
	.site-header__actions .social-links { display: none; }
	.site-header__actions > .button { grid-column: 3; }
	.site-nav { gap: 1.6vh; font-size: 1.1vh; }
	.hero__title > span { font-size: 8vh; }
	.halloween-popup[open] { grid-template-columns: 1fr; gap: 1.5vh; padding: 4vh 3vh 3vh; }
	.halloween-popup__art { width: 20vh; margin-inline: auto; }
	.halloween-popup .halloween-kicker { font-size: 1.1vh; }
	.halloween-popup h2 { font-size: 4.3vh; }
	.halloween-popup__content > p:not(.halloween-kicker) { font-size: 1.6vh; }
	.halloween-popup__actions .button, .halloween-popup__later { min-height: 5.5vh; font-size: 1.5vh; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
