/*
Theme Name: SuperCause
Author: U Know Who
Description: Landing page for Super Cause. Film front and centre, Benzin and DM Sans, supplied lockup and stickers.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: supercause
*/

@font-face {
	font-family: "Benzin";
	src: url("assets/fonts/benzin-bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/dm-sans-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/dm-sans-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/dm-sans-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/dm-sans-900.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #17150f;
	--cream: #faf7f6;
	--pink: #ff4e9b;
	--sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--display: "Benzin", "Arial Black", Impact, sans-serif;
	--wrap: 1120px;
	--header-offset: 108px;
}

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

html {
	scroll-behavior: smooth;
	background: var(--cream);
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.55;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
}

iframe {
	border: 0;
}

p {
	margin: 0;
}

::selection {
	background: var(--pink);
	color: var(--ink);
}

:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
}

.sc-skip {
	position: absolute;
	left: 16px;
	top: -48px;
	z-index: 80;
	padding: 10px 14px;
	background: var(--ink);
	color: var(--cream);
	font-weight: 700;
	text-decoration: none;
}

.sc-skip:focus {
	top: 12px;
}

.sc-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--cream);
	border-bottom: 3px solid var(--ink);
}

body.admin-bar .sc-header {
	top: 32px;
}

.sc-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 40px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 18px 28px;
}

.sc-logo {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
}

.sc-logo img {
	width: 148px;
	height: auto;
}

.sc-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
}

.sc-nav a {
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.sc-nav a:not(.sc-btn):hover {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-decoration-color: var(--pink);
	text-underline-offset: 0.28em;
}

.sc-kicker {
	margin: 0 0 14px;
	color: var(--ink);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.sc-display {
	margin: 0;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(32px, 5.5vw, 76px);
	letter-spacing: -0.03em;
	line-height: 0.95;
	text-wrap: balance;
}

.sc-display--section {
	font-size: clamp(32px, 4.4vw, 60px);
	max-width: 14em;
}

.sc-display--point {
	font-size: clamp(32px, 3vw, 44px);
}

.sc-display--cta {
	font-size: clamp(36px, 5vw, 72px);
	max-width: 10em;
}

.sc-display--page {
	font-size: clamp(32px, 4.6vw, 64px);
	max-width: 12em;
	margin-bottom: 20px;
}

.sc-lead {
	max-width: 38rem;
	margin: 22px auto 0;
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.5;
}

.sc-lead--left {
	margin-left: 0;
	margin-right: 0;
}

.sc-hero {
	position: relative;
	overflow: hidden;
	padding: 48px 0 72px;
	background: var(--ink);
	color: var(--cream);
}

.sc-hero .sc-kicker,
.sc-hero .sc-lead,
.sc-hero .sc-display {
	color: var(--cream);
}

.sc-hero :focus-visible {
	outline-color: var(--cream);
}

.sc-hero__inner {
	width: min(var(--wrap), calc(100% - 40px));
	margin: 0 auto;
	text-align: center;
}

.sc-hero__title {
	margin-inline: auto;
}

.sc-film {
	width: min(1040px, 100%);
	margin: 40px auto 0;
	text-align: left;
}

.sc-film .sc-kicker {
	margin-bottom: 12px;
}

.sc-film__frame {
	position: relative;
	width: calc(100% - 10px);
	aspect-ratio: 16 / 9;
	background: var(--ink);
	border: 4px solid var(--ink);
	box-shadow: 10px 10px 0 var(--pink);
}

.sc-film__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.sc-lockup {
	width: min(420px, 100%);
	min-width: 220px;
	margin: 72px auto 0;
}

.sc-lockup img {
	display: block;
	width: 100%;
	height: auto;
}

.sc-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 36px;
}

.sc-tickets {
	display: grid;
	grid-template-columns: minmax(0, 360px);
	justify-content: center;
	gap: 16px;
	margin-top: 40px;
}

@media (min-width: 720px) {
	.sc-tickets {
		grid-template-columns: repeat(2, minmax(280px, 340px));
	}
}

.sc-ticket {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 16px 18px 14px;
	background: var(--pink);
	color: var(--ink);
	border: 3px solid var(--ink);
	box-shadow: 5px 5px 0 var(--cream);
	cursor: pointer;
	font: inherit;
	text-align: center;
	appearance: none;
}

.sc-ticket:hover {
	transform: translate(2px, 2px);
	box-shadow: 3px 3px 0 var(--cream);
}

.sc-ticket__title {
	font-family: var(--display);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 0.95;
	white-space: nowrap;
}

.sc-ticket__rule {
	display: block;
	height: 3px;
	margin: 12px 0 10px;
	background: var(--ink);
}

.sc-ticket__meta {
	font-family: var(--sans);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.sc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	min-height: 52px;
	padding: 0.9rem 1.3rem;
	background: var(--pink);
	color: var(--ink);
	border: 3px solid var(--ink);
	box-shadow: 4px 4px 0 var(--ink);
	font-family: var(--sans);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.sc-btn:hover {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--ink);
}

.sc-btn--small {
	min-height: 44px;
	padding: 0.7rem 0.95rem;
	font-size: 0.78rem;
	box-shadow: 3px 3px 0 var(--ink);
}

.sc-btn--ghost {
	background: transparent;
}

.sc-btn--ink {
	background: var(--ink);
	color: var(--cream);
	box-shadow: 4px 4px 0 var(--cream);
}

.sc-btn--ink:hover {
	box-shadow: 2px 2px 0 var(--cream);
}

.sc-cause,
.sc-cta,
.sc-page {
	position: relative;
	scroll-margin-top: var(--header-offset);
}

.sc-hero,
.sc-film {
	scroll-margin-top: var(--header-offset);
}

.sc-cause {
	overflow: hidden;
	border-top: 3px solid var(--ink);
	padding: 80px 0 72px;
}

.sc-cause__inner,
.sc-page__inner {
	width: min(var(--wrap), calc(100% - 48px));
	margin: 0 auto;
}

.sc-points {
	list-style: none;
	margin: 48px 0 0;
	padding: 0;
	border-bottom: 3px solid var(--ink);
}

.sc-point {
	display: grid;
	grid-template-columns: minmax(200px, 280px) minmax(0, 36rem);
	gap: 12px 36px;
	align-items: baseline;
	border-top: 3px solid var(--ink);
	padding: 26px 0 28px;
}

.sc-point p {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 500;
	max-width: 36rem;
}

.sc-cta {
	overflow: hidden;
	background: var(--pink);
	padding: 88px 0 96px;
}

.sc-cta__inner {
	width: min(760px, calc(100% - 48px));
	margin: 0 auto;
	text-align: center;
}

.sc-cta .sc-display,
.sc-cta .sc-lead {
	margin-inline: auto;
}

.sc-cta .sc-lead {
	font-weight: 500;
}

.sc-footer {
	background: var(--ink);
	color: var(--cream);
	padding: 56px 24px 48px;
}

.sc-footer__inner {
	width: min(var(--wrap), 100%);
	margin: 0 auto;
	text-align: center;
}

.sc-footer__mark {
	width: 160px;
	height: auto;
}

.sc-footer__line {
	margin-top: 28px;
	font-size: 1.05rem;
	font-weight: 700;
}

.sc-footer__meta {
	margin-top: 8px;
	font-size: 0.95rem;
	font-weight: 500;
	opacity: 0.82;
}

.sc-signup {
	width: min(520px, calc(100% - 32px));
	max-height: min(860px, calc(100% - 32px));
	margin: auto;
	padding: 22px 22px 28px;
	overflow: auto;
	border: 3px solid var(--ink);
	background: var(--cream);
	color: var(--ink);
	box-shadow: 8px 8px 0 var(--pink);
}

.sc-signup::backdrop {
	background: rgba(23, 21, 15, 0.72);
}

.sc-signup__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
}

.sc-signup__bar .sc-kicker {
	margin: 0;
}

.sc-signup__close {
	min-height: 40px;
	padding: 0.45rem 0.8rem;
	background: transparent;
	color: var(--ink);
	border: 3px solid var(--ink);
	box-shadow: 3px 3px 0 var(--ink);
	cursor: pointer;
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.sc-signup__close:hover {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--ink);
}

.sc-page {
	padding: 72px 0 96px;
}

.sc-prose {
	max-width: 40rem;
	font-size: 1.125rem;
}

.sc-prose > * + * {
	margin-top: 1rem;
}

.sc-prose a {
	color: var(--ink);
	text-decoration-thickness: 3px;
	text-decoration-color: var(--pink);
	text-underline-offset: 0.18em;
}

.sc-sticker {
	display: none;
	position: absolute;
	z-index: 1;
	pointer-events: none;
	user-select: none;
	height: auto;
}

.sc-sticker--flame {
	width: 120px;
	top: 28px;
	right: 36px;
	transform: rotate(-8deg);
}

.sc-sticker--heart {
	width: 140px;
	top: 48px;
	right: 36px;
	transform: rotate(8deg);
}

.sc-sticker--hello {
	width: 150px;
	left: 36px;
	bottom: 36px;
	transform: rotate(-6deg);
}

@media (max-width: 782px) {
	body.admin-bar .sc-header {
		top: 46px;
	}
}

@media (min-width: 1400px) {
	.sc-sticker {
		display: block;
	}
}

@media (max-width: 520px) {
	.sc-hero__title br {
		display: none;
	}
}

@media (max-width: 640px) {
	:root {
		--header-offset: 128px;
	}

	.sc-header__inner {
		padding: 12px 16px;
		gap: 12px;
	}

	.sc-nav a:not(.sc-btn) {
		display: none;
	}
}

@media (max-width: 860px) {
	.sc-point {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.sc-logo img {
		width: 128px;
	}

	.sc-hero {
		padding-top: 32px;
	}

	.sc-lockup {
		min-width: 0;
		width: min(420px, 100%);
		margin-top: 56px;
	}
}

@media (max-width: 420px) {
	.sc-header__inner,
	.sc-cause__inner,
	.sc-page__inner,
	.sc-cta__inner {
		width: min(100% - 32px, var(--wrap));
	}

	.sc-hero__inner {
		width: min(100% - 28px, var(--wrap));
	}

	.sc-film__frame {
		box-shadow: 6px 6px 0 var(--pink);
		width: calc(100% - 6px);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.sc-btn:hover,
	.sc-btn--ink:hover,
	.sc-ticket:hover,
	.sc-signup__close:hover {
		transform: none;
	}
}
