/*
 * TGW Halloween Countdown  -  by Babar
 * Layout is pure CSS. Every colour and size below is a custom property that
 * the Elementor controls overwrite, so nothing here is a fixed value.
 */

.tgwhw {
	/* palette: ink night, cream paper, burnt orange */
	--tgwhw-bg: #F6E9D8;
	--tgwhw-edge: #E2D2BB;
	--tgwhw-accent: #675047;
	--tgwhw-title: #000000;
	--tgwhw-muted: #675047;
	--tgwhw-orn: #675047;

	/* scenery */
	--tgwhw-moon: #FFF9EC;
	--tgwhw-moon-pit: #EBDDC4;
	--tgwhw-moon-line: #D9C7AA;
	--tgwhw-moon-size: 58px;
	--tgwhw-moon-x: 58%;
	--tgwhw-moon-y: 16px;
	--tgwhw-tree-back: #E6D6BF;
	--tgwhw-tree-front: #D8C5A8;
	--tgwhw-house: #5E493F;
	--tgwhw-window: #F2B34A;
	--tgwhw-window-off: #43332C;
	--tgwhw-house-x: 40%;
	--tgwhw-bat: #5B473E;
	--tgwhw-web: rgba(103, 80, 71, .35);
	--tgwhw-sc: 1;
	--tgwhw-bat-speed: 22s;

	/* tags */
	--tgwhw-tw: 88px;
	--tgwhw-th: 108px;
	--tgwhw-gap: 14px;
	--tgwhw-string: 16px;
	--tgwhw-cut: 14px;
	--tgwhw-num: 40px;
	--tgwhw-strip-h: 9px;
	--tgwhw-pt: 26px;
	--tgwhw-jack-sc: 1;
	--tgwhw-paper: #142C26;
	--tgwhw-stitch: rgba(246, 233, 216, .32);
	--tgwhw-digit: #F6E9D8;
	--tgwhw-label: #C9BBA3;
	--tgwhw-string-c: #8A7366;
	--tgwhw-twine: #8A7366;
	--tgwhw-hole: #F6E9D8;
	--tgwhw-hole-ring: #4B6359;
	--tgwhw-shadow: rgba(60, 40, 25, .32);
	--tgwhw-a1: #D2661C;
	--tgwhw-a2: #3F8B8C;
	--tgwhw-a3: #A0482B;
	--tgwhw-a4: #C9A14A;
	--tgwhw-pk: #D2661C;
	--tgwhw-pk-rib: rgba(70, 28, 6, .34);
	--tgwhw-pk-stem: #142C26;
	--tgwhw-pk-face: #F7D98A;
	--tgwhw-l1: #D2661C;
	--tgwhw-l2: #E2A93B;
	--tgwhw-l3: #3F8B8C;
	--tgwhw-blink: 1.8s;
	--tgwhw-sway: 1.3deg;
	--tgwhw-speed: 520ms;
	--tgwhw-block-gap: 40px;
	--tgwhw-pl: 32px;
	--tgwhw-pr: 32px;

	/* button */
	--tgwhw-btn-bg: #142C26;
	--tgwhw-btn-ink: #FFFFFF;
	--tgwhw-btn-bg-h: #1F4137;
	--tgwhw-btn-ink-h: #FFFFFF;

	position: relative;
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
	padding: 26px 32px 30px;
	background-color: var(--tgwhw-bg);
	color: var(--tgwhw-title);
	border-top: 1px solid var(--tgwhw-edge);
	border-bottom: 1px solid var(--tgwhw-edge);
	font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	isolation: isolate;
}
.tgwhw *, .tgwhw *::before, .tgwhw *::after { box-sizing: border-box; }

/* ===================== scenery ===================== */
.tgwhw__scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

.tgwhw__moon {
	position: absolute; top: var(--tgwhw-moon-y); left: var(--tgwhw-moon-x);
	width: calc(var(--tgwhw-moon-size) * var(--tgwhw-sc)); height: auto; display: block;
}
.tgwhw-moon-disc { fill: var(--tgwhw-moon); stroke: var(--tgwhw-moon-line); stroke-width: 1.6; }
.tgwhw-moon-pit { fill: var(--tgwhw-moon-pit); }

.tgwhw__cobweb {
	position: absolute; top: 0; left: 0; width: calc(96px * var(--tgwhw-sc)); height: auto;
	transform: scaleX(-1); display: none; stroke: var(--tgwhw-web); stroke-width: 1;
}
.tgwhw--cobweb .tgwhw__cobweb { display: block; }

.tgwhw__trees { position: absolute; left: 0; right: 0; bottom: 0; display: block;
	-webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
	-webkit-mask-size: auto 100%; mask-size: auto 100%;
	-webkit-mask-position: left bottom; mask-position: left bottom; }
.tgwhw__trees--back {
	height: calc(70px * var(--tgwhw-sc)); background: var(--tgwhw-tree-back);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20380%2070%22%20width=%22380%22%20height=%2270%22%3E%3Cpath%20d=%22M18.0%2022.0%20L26.8%2035.4%20L22.4%2035.4%20L30.2%2048.4%20L24.5%2048.4%20L34.3%2062.0%20L20.0%2062.0%20L20.0%2070.0%20L16.0%2070.0%20L16.0%2062.0%20L1.7%2062.0%20L11.5%2048.4%20L5.8%2048.4%20L13.6%2035.4%20L9.2%2035.4ZM62.0%2036.0%20L68.8%2045.5%20L65.4%2045.5%20L71.4%2054.7%20L66.9%2054.7%20L74.5%2062.0%20L63.6%2062.0%20L63.6%2070.0%20L60.4%2070.0%20L60.4%2062.0%20L49.5%2062.0%20L57.1%2054.7%20L52.6%2054.7%20L58.6%2045.5%20L55.2%2045.5ZM104.0%2014.0%20L113.9%2029.7%20L108.9%2029.7%20L117.7%2044.8%20L111.2%2044.8%20L122.2%2062.0%20L106.3%2062.0%20L106.3%2070.0%20L101.7%2070.0%20L101.7%2062.0%20L85.8%2062.0%20L96.8%2044.8%20L90.3%2044.8%20L99.1%2029.7%20L94.1%2029.7ZM150.0%2030.0%20L157.8%2041.2%20L153.9%2041.2%20L160.8%2052.0%20L155.7%2052.0%20L164.4%2062.0%20L151.8%2062.0%20L151.8%2070.0%20L148.2%2070.0%20L148.2%2062.0%20L135.6%2062.0%20L144.3%2052.0%20L139.2%2052.0%20L146.1%2041.2%20L142.2%2041.2ZM196.0%2010.0%20L206.4%2026.8%20L201.2%2026.8%20L210.4%2043.0%20L203.6%2043.0%20L215.2%2062.0%20L198.4%2062.0%20L198.4%2070.0%20L193.6%2070.0%20L193.6%2062.0%20L176.8%2062.0%20L188.4%2043.0%20L181.6%2043.0%20L190.8%2026.8%20L185.6%2026.8ZM236.0%2034.0%20L242.8%2044.1%20L239.4%2044.1%20L245.4%2053.8%20L240.9%2053.8%20L248.5%2062.0%20L237.6%2062.0%20L237.6%2070.0%20L234.4%2070.0%20L234.4%2062.0%20L223.5%2062.0%20L231.1%2053.8%20L226.6%2053.8%20L232.6%2044.1%20L229.2%2044.1ZM278.0%2020.0%20L286.8%2034.0%20L282.4%2034.0%20L290.2%2047.5%20L284.5%2047.5%20L294.3%2062.0%20L280.0%2062.0%20L280.0%2070.0%20L276.0%2070.0%20L276.0%2062.0%20L261.7%2062.0%20L271.5%2047.5%20L265.8%2047.5%20L273.6%2034.0%20L269.2%2034.0ZM318.0%2038.0%20L324.2%2047.0%20L321.1%2047.0%20L326.6%2055.6%20L322.6%2055.6%20L329.5%2062.0%20L319.4%2062.0%20L319.4%2070.0%20L316.6%2070.0%20L316.6%2062.0%20L306.5%2062.0%20L313.4%2055.6%20L309.4%2055.6%20L314.9%2047.0%20L311.8%2047.0ZM352.0%2016.0%20L361.4%2031.1%20L356.7%2031.1%20L365.0%2045.7%20L358.8%2045.7%20L369.3%2062.0%20L354.2%2062.0%20L354.2%2070.0%20L349.8%2070.0%20L349.8%2062.0%20L334.7%2062.0%20L345.2%2045.7%20L339.0%2045.7%20L347.3%2031.1%20L342.6%2031.1Z%22%20fill=%22%23000%22/%3E%3Crect%20x=%220%22%20y=%2264%22%20width=%22380%22%20height=%226%22%20fill=%22%23000%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20380%2070%22%20width=%22380%22%20height=%2270%22%3E%3Cpath%20d=%22M18.0%2022.0%20L26.8%2035.4%20L22.4%2035.4%20L30.2%2048.4%20L24.5%2048.4%20L34.3%2062.0%20L20.0%2062.0%20L20.0%2070.0%20L16.0%2070.0%20L16.0%2062.0%20L1.7%2062.0%20L11.5%2048.4%20L5.8%2048.4%20L13.6%2035.4%20L9.2%2035.4ZM62.0%2036.0%20L68.8%2045.5%20L65.4%2045.5%20L71.4%2054.7%20L66.9%2054.7%20L74.5%2062.0%20L63.6%2062.0%20L63.6%2070.0%20L60.4%2070.0%20L60.4%2062.0%20L49.5%2062.0%20L57.1%2054.7%20L52.6%2054.7%20L58.6%2045.5%20L55.2%2045.5ZM104.0%2014.0%20L113.9%2029.7%20L108.9%2029.7%20L117.7%2044.8%20L111.2%2044.8%20L122.2%2062.0%20L106.3%2062.0%20L106.3%2070.0%20L101.7%2070.0%20L101.7%2062.0%20L85.8%2062.0%20L96.8%2044.8%20L90.3%2044.8%20L99.1%2029.7%20L94.1%2029.7ZM150.0%2030.0%20L157.8%2041.2%20L153.9%2041.2%20L160.8%2052.0%20L155.7%2052.0%20L164.4%2062.0%20L151.8%2062.0%20L151.8%2070.0%20L148.2%2070.0%20L148.2%2062.0%20L135.6%2062.0%20L144.3%2052.0%20L139.2%2052.0%20L146.1%2041.2%20L142.2%2041.2ZM196.0%2010.0%20L206.4%2026.8%20L201.2%2026.8%20L210.4%2043.0%20L203.6%2043.0%20L215.2%2062.0%20L198.4%2062.0%20L198.4%2070.0%20L193.6%2070.0%20L193.6%2062.0%20L176.8%2062.0%20L188.4%2043.0%20L181.6%2043.0%20L190.8%2026.8%20L185.6%2026.8ZM236.0%2034.0%20L242.8%2044.1%20L239.4%2044.1%20L245.4%2053.8%20L240.9%2053.8%20L248.5%2062.0%20L237.6%2062.0%20L237.6%2070.0%20L234.4%2070.0%20L234.4%2062.0%20L223.5%2062.0%20L231.1%2053.8%20L226.6%2053.8%20L232.6%2044.1%20L229.2%2044.1ZM278.0%2020.0%20L286.8%2034.0%20L282.4%2034.0%20L290.2%2047.5%20L284.5%2047.5%20L294.3%2062.0%20L280.0%2062.0%20L280.0%2070.0%20L276.0%2070.0%20L276.0%2062.0%20L261.7%2062.0%20L271.5%2047.5%20L265.8%2047.5%20L273.6%2034.0%20L269.2%2034.0ZM318.0%2038.0%20L324.2%2047.0%20L321.1%2047.0%20L326.6%2055.6%20L322.6%2055.6%20L329.5%2062.0%20L319.4%2062.0%20L319.4%2070.0%20L316.6%2070.0%20L316.6%2062.0%20L306.5%2062.0%20L313.4%2055.6%20L309.4%2055.6%20L314.9%2047.0%20L311.8%2047.0ZM352.0%2016.0%20L361.4%2031.1%20L356.7%2031.1%20L365.0%2045.7%20L358.8%2045.7%20L369.3%2062.0%20L354.2%2062.0%20L354.2%2070.0%20L349.8%2070.0%20L349.8%2062.0%20L334.7%2062.0%20L345.2%2045.7%20L339.0%2045.7%20L347.3%2031.1%20L342.6%2031.1Z%22%20fill=%22%23000%22/%3E%3Crect%20x=%220%22%20y=%2264%22%20width=%22380%22%20height=%226%22%20fill=%22%23000%22/%3E%3C/svg%3E");
}
.tgwhw__trees--front {
	height: calc(44px * var(--tgwhw-sc)); background: var(--tgwhw-tree-front);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20300%2044%22%20width=%22300%22%20height=%2244%22%3E%3Cpath%20d=%22M0%2044%20V30%20C40%2025%2086%2033%20138%2029%20S%20238%2022%20300%2030%20V44Z%22%20fill=%22%23000%22/%3E%3Cg%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222.2%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M212%2030%20C213%2022%20210%2014%20211%205%22/%3E%3Cpath%20d=%22M211.5%2019%20L199%2011%20L192%2012%22/%3E%3Cpath%20d=%22M211%2012%20L222%205%20L228%207%22/%3E%3Cpath%20d=%22M210.6%208%20L204%201%22/%3E%3Cpath%20d=%22M199%2011%20L196%205%22/%3E%3Cpath%20d=%22M60%2031%20C61%2025%2059%2019%2060%2012%22/%3E%3Cpath%20d=%22M60%2020%20L52%2014%22/%3E%3Cpath%20d=%22M60%2016%20L68%2010%20L72%2011%22/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20300%2044%22%20width=%22300%22%20height=%2244%22%3E%3Cpath%20d=%22M0%2044%20V30%20C40%2025%2086%2033%20138%2029%20S%20238%2022%20300%2030%20V44Z%22%20fill=%22%23000%22/%3E%3Cg%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222.2%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M212%2030%20C213%2022%20210%2014%20211%205%22/%3E%3Cpath%20d=%22M211.5%2019%20L199%2011%20L192%2012%22/%3E%3Cpath%20d=%22M211%2012%20L222%205%20L228%207%22/%3E%3Cpath%20d=%22M210.6%208%20L204%201%22/%3E%3Cpath%20d=%22M199%2011%20L196%205%22/%3E%3Cpath%20d=%22M60%2031%20C61%2025%2059%2019%2060%2012%22/%3E%3Cpath%20d=%22M60%2020%20L52%2014%22/%3E%3Cpath%20d=%22M60%2016%20L68%2010%20L72%2011%22/%3E%3C/g%3E%3C/svg%3E");
}

.tgwhw__house { position: absolute; left: var(--tgwhw-house-x); bottom: calc(10px * var(--tgwhw-sc)); width: calc(64px * var(--tgwhw-sc)); height: auto; display: block; }
.tgwhw-house-body { fill: var(--tgwhw-house); fill-rule: evenodd; }
.tgwhw-window { fill: var(--tgwhw-window); animation: tgwhw-lamp 7s linear infinite; }
.tgwhw-window--b, .tgwhw-door { fill: var(--tgwhw-window-off); animation: none; }


/* bats cross the strip and finish off-frame; the long tail of each loop is the pause */
.tgwhw__bat { position: absolute; left: 0; width: 100%; height: 0; opacity: .55; animation: tgwhw-fly var(--tgwhw-bat-speed) linear infinite; }
.tgwhw__bat span { display: block; animation: tgwhw-bob 2.4s ease-in-out infinite alternate; }
.tgwhw__bat svg { display: block; width: 100%; height: auto; fill: var(--tgwhw-bat); transform-origin: 50% 40%; animation: tgwhw-flap .22s ease-in-out infinite alternate; }
.tgwhw__bat--1 { top: 1%; } .tgwhw__bat--1 span { width: calc(30px * var(--tgwhw-sc)); }
.tgwhw__bat--2 { top: 4%; animation-delay: 7s;  animation-duration: calc(var(--tgwhw-bat-speed) * 1.25); } .tgwhw__bat--2 span { width: calc(38px * var(--tgwhw-sc)); animation-duration: 2.9s; }
.tgwhw__bat--3 { top: 0%;  animation-delay: 13s; animation-duration: calc(var(--tgwhw-bat-speed) * .9); }  .tgwhw__bat--3 span { width: calc(24px * var(--tgwhw-sc)); animation-duration: 2.1s; }

@keyframes tgwhw-fly {
	0%   { transform: translateX(-60px); }
	44%  { transform: translateX(calc(100% + 20px)); }
	100% { transform: translateX(calc(100% + 20px)); }
}
@keyframes tgwhw-bob  { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
@keyframes tgwhw-flap { from { transform: scaleY(1); } to { transform: scaleY(.42); } }
@keyframes tgwhw-lamp {
	0%, 100% { opacity: 1; } 8% { opacity: .82; } 11% { opacity: 1; } 34% { opacity: .9; }
	37% { opacity: 1; } 62% { opacity: .78; } 65% { opacity: .96; } 83% { opacity: 1; } 86% { opacity: .86; }
}

/* ===================== content ===================== */
.tgwhw__inner {
	position: relative; z-index: 2;
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--tgwhw-block-gap);
}
.tgwhw__lead { order: 1; flex: 0 1 auto; max-width: 52%; min-width: 0; text-align: left; }
.tgwhw__tags { order: 3; }
.tgwhw__inner > .tgwhw__btn { order: 4; flex: 0 0 auto; white-space: nowrap; }
.tgwhw__inner > .tgwhw__btn--before { order: 0; }
.tgwhw__btnrow { order: 5; flex-basis: 100%; text-align: center; }
.tgwhw--head-right .tgwhw__tags { order: 1; }
.tgwhw--head-right .tgwhw__lead { order: 3; }

.tgwhw__eyebrow { margin: 0 0 10px; font-family: Inter, Poppins, sans-serif; font-size: 14px; line-height: 1.3; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--tgwhw-accent); }
.tgwhw__title { margin: 0; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-size: 34px; line-height: 1.14; font-weight: 600; color: var(--tgwhw-title); }
.tgwhw__note { margin: 12px 0 0; font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--tgwhw-muted); }
.tgwhw__orn { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.tgwhw__orn i { display: block; width: 56px; height: 1px; background: var(--tgwhw-orn); }
.tgwhw__orn u { display: block; width: 8px; height: 8px; background: var(--tgwhw-orn); transform: rotate(45deg) scaleX(.78); }
.tgwhw--no-orn .tgwhw__orn { display: none; }

/* ===================== tags ===================== */
.tgwhw__tags { position: relative; display: flex; align-items: flex-start; gap: var(--tgwhw-gap); padding-top: 0; }
.tgwhw__twine {
	position: absolute; top: 0; left: -24px; right: -24px;
	height: 2px; background: var(--tgwhw-twine); border-radius: 1px; display: block;
}
.tgwhw__twine::before, .tgwhw__twine::after { /* the two nails it hangs from */
	content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%;
	background: var(--tgwhw-twine); box-shadow: inset 0 0 0 2px var(--tgwhw-bg);
}
.tgwhw__twine::before { left: -4px; } .tgwhw__twine::after { right: -4px; }

/* string of lights along the twine; each bulb goes dim and bright on its own beat */
.tgwhw__lights { position: absolute; top: 2px; left: -24px; right: -24px; display: flex; justify-content: space-between; padding: 0 22px; pointer-events: none; z-index: 0; }
.tgwhw__bulb { position: relative; display: block; width: 8px; height: 11px; margin-top: 3px; border-radius: 4px 4px 5px 5px; background: var(--tgwhw-l1); animation: tgwhw-blink var(--tgwhw-blink) steps(1, end) infinite; }
.tgwhw__bulb::before { content: ""; position: absolute; left: 2px; right: 2px; top: -4px; height: 4px; background: var(--tgwhw-twine); border-radius: 1px; }
.tgwhw__bulb:nth-child(3n+2) { background: var(--tgwhw-l2); animation-delay: calc(var(--tgwhw-blink) * -.35); }
.tgwhw__bulb:nth-child(3n+3) { background: var(--tgwhw-l3); animation-delay: calc(var(--tgwhw-blink) * -.7); }
.tgwhw__bulb:nth-child(even) { animation-direction: reverse; }
@keyframes tgwhw-blink { 0% { opacity: 1; } 50% { opacity: .22; } 100% { opacity: 1; } }

.tgwhw__hang { position: relative; z-index: 1; display: block; transform-origin: 50% 0; animation: tgwhw-sway 3.6s ease-in-out infinite alternate; filter: drop-shadow(0 5px 5px var(--tgwhw-shadow)); }
.tgwhw__hang--1 { animation-duration: 3.4s; animation-delay: -.4s; }
.tgwhw__hang--2 { animation-duration: 4.1s; animation-delay: -1.6s; }
.tgwhw__hang--3 { animation-duration: 3.1s; animation-delay: -2.2s; }
.tgwhw__hang--4 { animation-duration: 4.4s; animation-delay: -.9s; }
@keyframes tgwhw-sway { from { transform: rotate(calc(var(--tgwhw-sway) * -1)); } to { transform: rotate(var(--tgwhw-sway)); } }

.tgwhw__string { position: relative; z-index: 2; display: block; width: 1.5px; height: calc(var(--tgwhw-string) + 20px); margin: 0 auto -20px; background: var(--tgwhw-string-c); }

.tgwhw__tag {
	position: relative; z-index: 1;
	width: var(--tgwhw-tw); height: var(--tgwhw-th);
	display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
	padding: calc(var(--tgwhw-strip-h) + 28px) 4px 10px;
	background: var(--tgwhw-paper);
	clip-path: polygon(var(--tgwhw-cut) 0, calc(100% - var(--tgwhw-cut)) 0, 100% var(--tgwhw-cut), 100% 100%, 0 100%, 0 var(--tgwhw-cut));
}
.tgwhw__tag::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--tgwhw-strip-h); background: var(--tgwhw-a1); }
.tgwhw__tag::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; top: calc(var(--tgwhw-strip-h) + 20px); border: 1px dashed var(--tgwhw-stitch); pointer-events: none; }
.tgwhw--tint .tgwhw__hang--2 .tgwhw__tag::before { background: var(--tgwhw-a2); }
.tgwhw--tint .tgwhw__hang--3 .tgwhw__tag::before { background: var(--tgwhw-a3); }
.tgwhw--tint .tgwhw__hang--4 .tgwhw__tag::before { background: var(--tgwhw-a4); }

.tgwhw__hole { position: absolute; left: 50%; top: calc(var(--tgwhw-strip-h) + 6px); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--tgwhw-hole); box-shadow: 0 0 0 2px var(--tgwhw-hole-ring); }
.tgwhw__lab { position: relative; z-index: 1; display: block; margin-top: 4px; font-size: 9.5px; line-height: 1; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--tgwhw-label); }
.tgwhw__digits { position: relative; z-index: 1; display: flex; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-size: var(--tgwhw-num); line-height: 1.1; font-weight: 600; color: var(--tgwhw-digit); font-variant-numeric: tabular-nums lining-nums; }
.tgwhw__d { position: relative; display: block; width: .6em; height: 1.1em; overflow: hidden; text-align: center; }
.tgwhw__d b { position: absolute; left: 0; right: 0; top: 0; display: block; font-weight: inherit; text-align: center; }

/* digit changes: the old digit leaves, the new one arrives; all occlusion by the box */
.tgwhw--slide .tgwhw__d b.is-out { animation: tgwhw-out var(--tgwhw-speed) cubic-bezier(.5, 0, .75, 0) forwards; }
.tgwhw--slide .tgwhw__d b.is-in  { animation: tgwhw-in var(--tgwhw-speed) cubic-bezier(.2, .7, .3, 1) both; }
@keyframes tgwhw-out { to { transform: translateY(105%); } }
@keyframes tgwhw-in  { from { transform: translateY(-105%); } to { transform: translateY(0); } }
.tgwhw--fade .tgwhw__d b.is-out { animation: tgwhw-fo var(--tgwhw-speed) ease forwards; }
.tgwhw--fade .tgwhw__d b.is-in  { animation: tgwhw-fi var(--tgwhw-speed) ease both; }
@keyframes tgwhw-fo { to { opacity: 0; } }
@keyframes tgwhw-fi { from { opacity: 0; } to { opacity: 1; } }
.tgwhw--flicker .tgwhw__d b.is-out { opacity: 0; }
.tgwhw--flicker .tgwhw__d b.is-in  { animation: tgwhw-fl var(--tgwhw-speed) linear both; }
@keyframes tgwhw-fl { 0% { opacity: 0; } 12% { opacity: 1; } 24% { opacity: .15; } 38% { opacity: 1; } 52% { opacity: .5; } 66% { opacity: 1; } 100% { opacity: 1; } }

.tgwhw__tag.is-nudge { animation: tgwhw-nudge .5s ease-out; }
@keyframes tgwhw-nudge { 0% { transform: translateY(0) rotate(0); } 28% { transform: translateY(3px) rotate(1.2deg); } 62% { transform: translateY(-1px) rotate(-.6deg); } 100% { transform: translateY(0) rotate(0); } }

/* ===================== hanging jack-o'-lanterns (decoration only) ===================== */
.tgwhw__decor {
	order: 2; flex: 1 1 0; min-width: 0; align-self: stretch; margin-top: calc(var(--tgwhw-pt) * -1);
	display: flex; justify-content: space-evenly; align-items: flex-start; pointer-events: none;
	container-type: inline-size;
}
.tgwhw__jack { display: block; transform-origin: 50% 0; animation: tgwhw-sway 3.9s ease-in-out infinite alternate; filter: drop-shadow(0 5px 4px var(--tgwhw-shadow)); }
.tgwhw__jack--1 { --w: 58px; --len: 30px; animation-duration: 3.7s; animation-delay: -.8s; }
.tgwhw__jack--2 { --w: 44px; --len: 54px; animation-duration: 4.4s; animation-delay: -2.3s; }
.tgwhw__jack--3 { --w: 52px; --len: 18px; animation-duration: 3.3s; animation-delay: -1.5s; }
.tgwhw__jstring { display: block; width: 1.5px; height: calc(var(--len) * var(--tgwhw-jack-sc)); margin: 0 auto -4px; background: var(--tgwhw-string-c); }
.tgwhw__jshell { display: block; width: calc(var(--w) * var(--tgwhw-jack-sc)); height: auto; overflow: visible; position: relative; }
.tgwhw-jlobe { fill: var(--tgwhw-pk); stroke: var(--tgwhw-pk-rib); stroke-width: 1.3; stroke-linejoin: round; }
.tgwhw-jstem { fill: var(--tgwhw-pk-stem); }
.tgwhw-jvine { fill: none; stroke: var(--tgwhw-pk-stem); stroke-width: 1.6; stroke-linecap: round; }
.tgwhw-jface { fill: var(--tgwhw-pk-face); animation: tgwhw-lamp 4.8s linear infinite; }
.tgwhw__jack--2 .tgwhw-jface { animation-delay: -1.7s; } .tgwhw__jack--3 .tgwhw-jface { animation-delay: -3.1s; }
.tgwhw--jacks-2 .tgwhw__jack--3, .tgwhw--jacks-1 .tgwhw__jack--3, .tgwhw--jacks-1 .tgwhw__jack--2 { display: none; }
@container (max-width: 190px) { .tgwhw__jack--3 { display: none; } }
@container (max-width: 120px) { .tgwhw__jack--2 { display: none; } }
@container (max-width: 64px)  { .tgwhw__jack--1 { display: none; } }

/* ===================== button ===================== */
.tgwhw__btn {
	display: inline-block; padding: 15px 30px; border: 0; border-radius: 5px; text-decoration: none; cursor: pointer;
	font-family: Poppins, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px; line-height: 1.2; font-weight: 500; text-align: center;
	background: var(--tgwhw-btn-bg); color: var(--tgwhw-btn-ink); transition: background-color .2s ease, color .2s ease;
}
.tgwhw__btn:hover, .tgwhw__btn:focus { background: var(--tgwhw-btn-bg-h); color: var(--tgwhw-btn-ink-h); }
.tgwhw__btnrow { margin-top: 18px; }

/* ===================== switches ===================== */
.tgwhw--no-moon .tgwhw__moon, .tgwhw--no-trees .tgwhw__trees,
.tgwhw--no-house .tgwhw__house, .tgwhw--no-bats .tgwhw__bat { display: none; }
.tgwhw--no-twine .tgwhw__twine, .tgwhw--no-string .tgwhw__string, .tgwhw--no-lights .tgwhw__lights, .tgwhw--no-hole .tgwhw__hole { display: none; }
.tgwhw--no-stitch .tgwhw__tag::after { display: none; }
.tgwhw--lights-still .tgwhw__bulb { animation: none; }
.tgwhw--no-shadow .tgwhw__hang { filter: none; }
.tgwhw--still .tgwhw__hang { animation: none; }
.tgwhw--bats-still .tgwhw__bat { animation: none; left: 60%; }
.tgwhw--bats-still .tgwhw__bat--2 { left: 74%; } .tgwhw--bats-still .tgwhw__bat--3 { left: 86%; }
.tgwhw--bats-still .tgwhw__bat span, .tgwhw--bats-still .tgwhw__bat svg { animation: none; }
.tgwhw--no-flicker .tgwhw-window, .tgwhw--no-flicker .tgwhw-jface { animation: none; }

.tgwhw--expired .tgwhw__hang { opacity: .55; animation: none; }
.tgwhw--expired .tgwhw-window { animation: none; opacity: .25; }
.tgwhw--expired .tgwhw__bulb { animation: none; opacity: .25; }
.tgwhw--expired .tgwhw-jface { animation: none; opacity: .25; }

.tgwhw--head-right { --tgwhw-moon-x: 40%; --tgwhw-house-x: 40%; }
@media (max-width: 1024px) { .tgwhw--head-right { --tgwhw-moon-x: 44%; --tgwhw-house-x: 36%; } }
@media (max-width: 767px) { .tgwhw--head-right { --tgwhw-moon-x: 46%; --tgwhw-house-x: 6%; } }

.tgwhw__sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===================== stacking ===================== */
@media (max-width: 1024px) {
	.tgwhw--stack-tablet .tgwhw__inner { flex-direction: column; align-items: center; text-align: center; }
	.tgwhw--stack-tablet .tgwhw__lead { max-width: 100%; text-align: center; order: 1; }
	.tgwhw--stack-tablet .tgwhw__orn { justify-content: center; }
	.tgwhw--stack-tablet .tgwhw__tags { order: 2; margin: 0; width: 100%; justify-content: center; }
	.tgwhw--stack-tablet .tgwhw__decor { position: absolute; order: 0; left: calc(var(--tgwhw-pl) * -1); right: calc(var(--tgwhw-pr) * -1); top: calc(var(--tgwhw-pt) * -1); margin: 0; height: 0; padding: 0 16px; justify-content: space-between; container-type: normal; --tgwhw-jack-sc: .72; }
	.tgwhw--stack-tablet .tgwhw__decor .tgwhw__jack--2 { display: none; }
	.tgwhw--stack-tablet .tgwhw__twine { left: calc(var(--tgwhw-pl) * -1); right: calc(var(--tgwhw-pr) * -1); }
	.tgwhw--stack-tablet .tgwhw__inner > .tgwhw__btn { order: 3; }
	.tgwhw--stack-tablet .tgwhw__inner > .tgwhw__btn--before { order: 0; }
}
@media (max-width: 767px) {
	.tgwhw--stack-mobile .tgwhw__inner { flex-direction: column; align-items: center; text-align: center; }
	.tgwhw--stack-mobile .tgwhw__lead { max-width: 100%; text-align: center; order: 1; }
	.tgwhw--stack-mobile .tgwhw__tags { order: 2; margin: 0; width: 100%; justify-content: center; }
	.tgwhw--stack-mobile .tgwhw__decor { position: absolute; order: 0; left: calc(var(--tgwhw-pl) * -1); right: calc(var(--tgwhw-pr) * -1); top: calc(var(--tgwhw-pt) * -1); margin: 0; height: 0; padding: 0 16px; justify-content: space-between; container-type: normal; --tgwhw-jack-sc: .72; }
	.tgwhw--stack-mobile .tgwhw__decor .tgwhw__jack--2 { display: none; }
	.tgwhw--stack-mobile .tgwhw__twine { left: calc(var(--tgwhw-pl) * -1); right: calc(var(--tgwhw-pr) * -1); }
	.tgwhw--stack-mobile .tgwhw__inner > .tgwhw__btn { order: 3; }
	.tgwhw--stack-mobile .tgwhw__inner > .tgwhw__btn--before { order: 0; }
}
@media (max-width: 1024px) {
	.tgwhw__title { font-size: 30px; }
	.tgwhw { --tgwhw-tw: 76px; --tgwhw-th: 96px; --tgwhw-num: 34px; --tgwhw-gap: 11px; --tgwhw-block-gap: 28px; --tgwhw-sc: .9; --tgwhw-moon-x: 46%; }
}
@media (max-width: 767px) {
	.tgwhw { --tgwhw-tw: 64px; --tgwhw-th: 86px; --tgwhw-num: 29px; --tgwhw-gap: 6px; --tgwhw-block-gap: 20px; --tgwhw-sc: .8; --tgwhw-moon-x: 46%; --tgwhw-moon-y: 7px; --tgwhw-moon-size: 32px; --tgwhw-house-x: 6%; --tgwhw-pt: 46px; padding: 46px 16px 44px; --tgwhw-pl: 16px; --tgwhw-pr: 16px; }
	.tgwhw__title { font-size: 26px; }
	.tgwhw__eyebrow { font-size: 12px; letter-spacing: 3px; }
	.tgwhw__orn { justify-content: center; }
	.tgwhw__btn { padding: 14px 24px; font-size: 15px; white-space: normal; }
	.tgwhw__lab { font-size: 8.5px; letter-spacing: .12em; }
}
@media (max-width: 359px) {
	.tgwhw { --tgwhw-tw: 56px; --tgwhw-th: 80px; --tgwhw-num: 25px; --tgwhw-gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	.tgwhw__hang, .tgwhw__jack, .tgwhw__bat, .tgwhw__bat span, .tgwhw__bat svg, .tgwhw-window, .tgwhw-jface, .tgwhw__bulb, .tgwhw__tag.is-nudge { animation: none !important; }
	.tgwhw__bat { display: none; }
	.tgwhw__d b.is-out { display: none; }
	.tgwhw__d b.is-in { animation: none !important; }
}
