/* Official Lucky self-hosted typography. */
@font-face {
	font-family: "Hanken Grotesk";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/HankenGrotesk-Variable-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
		U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
		U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Hanken Grotesk";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/HankenGrotesk-Variable-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
		U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
		U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/SourceSerif4-Variable-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
		U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
		U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/SourceSerif4-Variable-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
		U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
		U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--officiallucky-font-sans: "Hanken Grotesk", Arial, sans-serif;
	--officiallucky-font-serif: "Source Serif 4", Georgia, serif;
	--officiallucky-green: #137a4b;
	--officiallucky-green-deep: #075237;
	--officiallucky-green-dark: #043c2b;
	--officiallucky-gold: #ffc928;
	--officiallucky-orange: #f58220;
	--officiallucky-blue: #1477d4;
	--officiallucky-paper: #fff8e7;
	--officiallucky-ink: #111827;
}

body,
button,
input,
select,
textarea {
	font-family: var(--officiallucky-font-sans);
}

.officiallucky-editorial,
.officiallucky-governor-message,
blockquote {
	font-family: var(--officiallucky-font-serif);
}

/* Temporary launch page. It is intentionally independent of Veto's layout. */
body.officiallucky-coming-soon {
	margin: 0;
	min-width: 320px;
	background: var(--officiallucky-green-deep);
	color: #fff;
	overflow-x: hidden;
}

body.officiallucky-coming-soon,
body.officiallucky-coming-soon * {
	box-sizing: border-box;
}

.ol-coming-soon {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	min-height: 100vh;
	min-height: 100svh;
	padding: clamp(1.5rem, 4vw, 4rem);
	overflow: hidden;
	background:
		radial-gradient(circle at 64% 52%, rgba(20, 119, 212, 0.18), transparent 34%),
		linear-gradient(135deg, var(--officiallucky-green-dark) 0%, var(--officiallucky-green) 50%, #0a6945 100%);
}

body.admin-bar .ol-coming-soon {
	min-height: calc(100svh - 32px);
}

.ol-coming-soon::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.65px, transparent 0.65px);
	background-size: 6px 6px;
	content: "";
	opacity: 0.08;
	pointer-events: none;
}

.ol-coming-soon__glow {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(2px);
	pointer-events: none;
}

.ol-coming-soon__glow--gold {
	top: -18vw;
	right: -12vw;
	width: min(44rem, 53vw);
	aspect-ratio: 1;
	background: radial-gradient(circle at 42% 58%, rgba(255, 201, 40, 0.6), rgba(245, 130, 32, 0.2) 48%, transparent 72%);
}

.ol-coming-soon__glow--blue {
	right: 18vw;
	bottom: -29vw;
	width: min(46rem, 58vw);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(20, 119, 212, 0.42), transparent 68%);
}

.ol-coming-soon__header,
.ol-coming-soon__footer {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.ol-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: #fff;
	font-size: clamp(0.85rem, 1.15vw, 1.05rem);
	font-weight: 750;
	letter-spacing: 0.14em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.ol-wordmark:hover,
.ol-wordmark:focus,
.ol-coming-soon__footer a:hover,
.ol-coming-soon__footer a:focus {
	color: var(--officiallucky-gold);
}

.ol-wordmark__sun {
	display: inline-block;
	width: 2.65rem;
	height: 0.45rem;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--officiallucky-gold), var(--officiallucky-orange));
	box-shadow: 0 0 1.4rem rgba(255, 201, 40, 0.55);
}

.ol-state-label,
.ol-coming-soon__footer p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ol-coming-soon__hero {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 7rem);
	width: min(100%, 100rem);
	margin: 0 auto;
	padding: clamp(3rem, 5vw, 5.5rem) 0;
}

.ol-coming-soon__copy {
	position: relative;
	z-index: 2;
	max-width: 62rem;
}

.ol-eyebrow {
	max-width: 36rem;
	margin: 0 0 clamp(1.25rem, 2.2vw, 2rem);
	font-family: var(--officiallucky-font-serif);
	font-size: clamp(1rem, 1.5vw, 1.35rem);
	font-weight: 450;
	letter-spacing: 0.015em;
	line-height: 1.4;
}

.ol-coming-soon h1 {
	margin: 0;
	color: #fff;
	font-family: var(--officiallucky-font-sans);
	font-size: clamp(4.6rem, 10vw, 10rem);
	font-weight: 420;
	letter-spacing: -0.072em;
	line-height: 0.78;
	text-transform: uppercase;
}

.ol-coming-soon h1 span {
	display: block;
}

.ol-yoruba {
	margin: clamp(2rem, 3.25vw, 3.25rem) 0 0;
	color: var(--officiallucky-gold);
	font-family: var(--officiallucky-font-serif);
	font-size: clamp(1.35rem, 2.2vw, 2rem);
	font-style: italic;
	font-weight: 520;
	line-height: 1.15;
}

.ol-intro {
	max-width: 34rem;
	margin: 0.7rem 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: clamp(0.95rem, 1.1vw, 1.1rem);
	line-height: 1.55;
}

.ol-orb-stage {
	--ol-orb-x: 0px;
	--ol-orb-y: 0px;
	display: grid;
	place-items: center;
	transform: translate3d(var(--ol-orb-x), var(--ol-orb-y), 0);
	transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
	will-change: transform;
}

.ol-orb {
	position: relative;
	width: min(37vw, 34rem);
	min-width: 19rem;
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background:
		radial-gradient(circle at 38% 31%, rgba(255, 255, 255, 0.46), transparent 8%),
		radial-gradient(circle at 49% 54%, rgba(255, 201, 40, 0.2), transparent 26%),
		linear-gradient(145deg, rgba(255, 248, 231, 0.22), rgba(20, 119, 212, 0.1) 45%, rgba(7, 82, 55, 0.34));
	box-shadow:
		inset -1.8rem -1.8rem 4rem rgba(3, 43, 31, 0.28),
		inset 1.2rem 1.2rem 3.2rem rgba(255, 255, 255, 0.08),
		0 2rem 6rem rgba(2, 38, 27, 0.38),
		0 0 7rem rgba(255, 201, 40, 0.12);
	backdrop-filter: blur(14px);
	animation: ol-orb-float 7s ease-in-out infinite;
}

.ol-orb::before {
	position: absolute;
	inset: 7%;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: inherit;
	content: "";
}

.ol-orb__ring {
	position: absolute;
	top: 50%;
	left: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.ol-orb__ring--outer {
	width: 71%;
	aspect-ratio: 1;
}

.ol-orb__ring--inner {
	width: 44%;
	aspect-ratio: 1;
	border-color: rgba(255, 201, 40, 0.32);
}

.ol-orb__sun {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 34% 30%, #fff8d6 0 8%, var(--officiallucky-gold) 28%, var(--officiallucky-orange) 72%);
	box-shadow: 0 0 2rem rgba(255, 201, 40, 0.66), 0 0 5rem rgba(245, 130, 32, 0.35);
	transform: translate(-50%, -50%);
}

.ol-orb__hand {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2px;
	border-radius: 99px;
	background: linear-gradient(to top, var(--officiallucky-orange), var(--officiallucky-gold));
	box-shadow: 0 0 1rem rgba(255, 201, 40, 0.65);
	transform-origin: 50% 100%;
}

.ol-orb__hand--long {
	height: 29%;
	animation: ol-orb-turn 18s linear infinite;
}

.ol-orb__hand--short {
	height: 20%;
	background: linear-gradient(to top, rgba(255, 255, 255, 0.45), #fff);
	animation: ol-orb-turn 42s linear infinite reverse;
}

.ol-orb__spark {
	position: absolute;
	width: 0.58rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--officiallucky-gold);
	box-shadow: 0 0 1.2rem rgba(255, 201, 40, 0.92);
}

.ol-orb__spark--one {
	top: 20%;
	left: 34%;
}

.ol-orb__spark--two {
	top: 42%;
	right: 15%;
	width: 0.36rem;
}

.ol-orb__spark--three {
	right: 32%;
	bottom: 18%;
	width: 0.42rem;
}

.ol-coming-soon__footer {
	align-items: flex-end;
}

.ol-coming-soon__footer a {
	color: #fff;
	font-size: clamp(0.75rem, 1vw, 0.9rem);
	font-weight: 750;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
}

@keyframes ol-orb-turn {
	from { transform: translate(-50%, -100%) rotate(0deg); }
	to { transform: translate(-50%, -100%) rotate(360deg); }
}

@keyframes ol-orb-float {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-1rem) rotate(1deg); }
}

@media (max-width: 900px) {
	.ol-coming-soon {
		min-height: 100svh;
		padding: 1.4rem;
	}

	.ol-coming-soon__hero {
		grid-template-columns: 1fr;
		align-content: center;
		gap: 1.5rem;
		padding: 3.5rem 0 2rem;
	}

	.ol-coming-soon__copy {
		z-index: 3;
	}

	.ol-coming-soon h1 {
		font-size: clamp(4.4rem, 20vw, 8rem);
	}

	.ol-orb-stage {
		position: absolute;
		right: -8rem;
		bottom: -5rem;
		z-index: -1;
		opacity: 0.62;
	}

	.ol-orb {
		width: min(84vw, 31rem);
		min-width: 19rem;
	}

	.ol-state-label {
		display: none;
	}
}

@media (max-width: 520px) {
	body.admin-bar .ol-coming-soon {
		min-height: calc(100svh - 46px);
	}

	.ol-coming-soon {
		padding: 1.25rem;
	}

	.ol-wordmark__sun {
		width: 1.9rem;
	}

	.ol-coming-soon h1 {
		font-size: clamp(4rem, 21vw, 6.25rem);
		line-height: 0.8;
	}

	.ol-eyebrow {
		max-width: 20rem;
		font-size: 1rem;
	}

	.ol-coming-soon__footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.65rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ol-orb,
	.ol-orb__hand {
		animation: none;
	}

	.ol-orb-stage {
		transform: none !important;
		transition: none;
	}
}
