@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
	font-family: 'Space Grotesk', Arial, sans-serif;
	color: #191919;
	background: #b7d9ef;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	--ink: #191919;
	--paper: #f5f0e9;
	--blue: #b7d9ef;
	--azure: #9cc2cc;
	--yellow: #ffc94d;
	--green: #49b574;
	--reddish: #d7524b;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	background: var(--azure);
}

a {
	color: inherit;
	text-decoration: none;
}

.poster {
	width: min(100%, 960px);
	margin: 0 auto;
	background: var(--paper);
	border-inline: 1px solid var(--ink);
	overflow: hidden;
}

.masthead {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 36px;
	border-bottom: 1px solid var(--ink);
}

.brand {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.07em;
}

.brand span {
	color: var(--reddish);
}

.brand i {
	font:
		500 10px 'DM Mono',
		monospace;
	letter-spacing: 0;
	font-style: normal;
	margin-left: 4px;
}

nav {
	display: flex;
	gap: 24px;
	font:
		11px 'DM Mono',
		monospace;
	text-transform: uppercase;
}

nav a {
	transition: color 0.2s ease;
}

nav a:hover {
	color: var(--green);
}

.hero {
	min-height: 550px;
	display: grid;
	grid-template-columns: 48% 52%;
	border-bottom: 1px solid var(--ink);
}

.hero-copy {
	padding: 72px 36px 56px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--paper);
}

.eyebrow,
.section-label {
	font:
		500 10px 'DM Mono',
		monospace;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.hero h1,
h2,
h3,
p {
	margin-top: 0;
}

.hero h1 {
	margin: 25px 0 26px;
	font-size: clamp(78px, 11vw, 132px);
	line-height: 0.78;
	letter-spacing: -0.095em;
	font-weight: 700;
}

h1 em,
h2 span,
h2 em,
.hero em {
	font-style: normal;
	color: var(--reddish);
}

.hero-intro {
	max-width: 270px;
	font-size: 17px;
	line-height: 1.25;
	letter-spacing: -0.03em;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	min-width: 184px;
	padding: 13px 15px;
	font:
		500 11px 'DM Mono',
		monospace;
	text-transform: uppercase;
	border: 1px solid var(--ink);
	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.button span {
	font-size: 18px;
	line-height: 10px;
}

.button:hover {
	transform: translateY(-3px);
}

.button-dark {
	margin-top: auto;
	color: var(--paper);
	background: var(--ink);
}

.button-dark:hover {
	background: var(--green);
	border-color: var(--green);
}

.hero-art {
	position: relative;
	min-height: 550px;
	overflow: hidden;
	background: #a4c1cb;
	border-left: 1px solid var(--ink);
}

.hero-img {
	position: absolute;
	top: auto;
	bottom: 0;
	right: -36px;
	height: calc(76% + 40px);
	width: auto;
	max-width: none;
	object-fit: contain;
	object-position: right bottom;
	pointer-events: none;
}

.hero-diag {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

.hero-diag line {
	stroke: var(--ink);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.art-note {
	position: absolute;
	z-index: 2;
	font:
		500 10px/1.1 'DM Mono',
		monospace;
	letter-spacing: 0.03em;
}

.note-one {
	bottom: 58px;
	left: 35px;
}

.note-two {
	top: 42px;
	right: 34px;
	text-align: right;
}

.flower {
	position: absolute;
	width: 74px;
	height: 74px;
	z-index: 3;
}

.flower i {
	position: absolute;
	left: 27px;
	top: 0;
	width: 20px;
	height: 38px;
	border-radius: 50%;
	background: var(--yellow);
	border: 1px solid var(--ink);
	transform-origin: 10px 37px;
}

.flower i:nth-child(2) {
	transform: rotate(72deg);
}

.flower i:nth-child(3) {
	transform: rotate(144deg);
}

.flower i:nth-child(4) {
	transform: rotate(216deg);
}

.flower i:nth-child(5) {
	transform: rotate(288deg);
}

.flower b {
	position: absolute;
	width: 19px;
	height: 19px;
	top: 28px;
	left: 28px;
	border-radius: 50%;
	background: var(--green);
	border: 1px solid var(--ink);
}

.marquee {
	border-bottom: 1px solid var(--ink);
	background: var(--green);
	padding: 18px 36px;
}

.marquee p {
	margin: 0;
	font-size: clamp(18px, 2.6vw, 24px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.1;
	text-align: center;
}

.manifesto {
	display: grid;
	grid-template-columns: 18% 1fr 145px;
	gap: 20px;
	padding: 45px 36px 48px;
	border-bottom: 1px solid var(--ink);
	background: var(--paper);
}

.manifesto h2,
.apps h2,
.closing h2 {
	margin: 0 0 22px;
	font-size: clamp(42px, 6vw, 70px);
	line-height: 0.84;
	letter-spacing: -0.09em;
}

.manifesto p {
	max-width: 380px;
	margin: 0;
	font-size: 17px;
	line-height: 1.3;
	letter-spacing: -0.03em;
}

.stamp {
	align-self: end;
	width: 118px;
	height: 118px;
	display: grid;
	place-content: center;
	text-align: center;
	border: 1px solid var(--ink);
	border-radius: 50%;
	transform: rotate(12deg);
	font:
		700 15px/1 'DM Mono',
		monospace;
	background: var(--yellow);
}

.stamp small {
	margin-top: 7px;
	font-size: 8px;
	font-weight: 400;
}

.apps {
	padding: 45px 36px 56px;
	border-bottom: 1px solid var(--ink);
}

.apps-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	margin: 25px 0 28px;
}

.apps-heading p {
	max-width: 150px;
	margin: 0 0 4px;
	font:
		11px/1.4 'DM Mono',
		monospace;
	text-transform: uppercase;
}

.app-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.app-card {
	min-height: 310px;
	display: flex;
	flex-direction: column;
	padding: 17px;
	border: 1px solid var(--ink);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.app-card:hover {
	transform: translateY(-5px) rotate(-0.5deg);
	box-shadow: 5px 5px 0 var(--ink);
}

.card-yellow {
	background: var(--yellow);
}

.card-pink {
	background: var(--azure);
}

.card-green {
	background: var(--green);
}

.card-top {
	display: flex;
	justify-content: space-between;
	font:
		9px 'DM Mono',
		monospace;
}

.app-icon {
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
	margin: 30px 0 20px;
	border: 1px solid var(--ink);
	border-radius: 50%;
	font-size: 52px;
	line-height: 1;
}

.icon-yellow {
	background: var(--green);
}

.icon-pink {
	background: var(--yellow);
	font-size: 48px;
}

.icon-green {
	background: var(--azure);
	font-size: 43px;
}

.app-card h3 {
	margin-bottom: 9px;
	font-size: 28px;
	letter-spacing: -0.08em;
}

.app-card p {
	max-width: 190px;
	margin-bottom: auto;
	font-size: 13px;
	line-height: 1.25;
}

.app-card a,
.app-card-action {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding-top: 15px;
	border: 0;
	border-top: 1px solid var(--ink);
	background: transparent;
	color: inherit;
	font:
		10px 'DM Mono',
		monospace;
	text-transform: uppercase;
	text-align: left;
	cursor: pointer;
}

.app-card a span,
.app-card-action span {
	font-size: 17px;
}

.closing {
	min-height: 380px;
	display: grid;
	grid-template-columns: 45% 55%;
	background: var(--paper);
	border-bottom: 1px solid var(--ink);
}

.closing-art {
	position: relative;
	overflow: hidden;
	border-right: 1px solid var(--ink);
	background: var(--green);
}

.closing-art::before,
.closing-art::after {
	content: '';
	position: absolute;
	border: 1px solid var(--ink);
	border-radius: 50%;
}

.closing-art::before {
	width: 390px;
	height: 170px;
	top: 97px;
	left: -150px;
	transform: rotate(30deg);
}

.closing-art::after {
	width: 410px;
	height: 180px;
	top: 94px;
	left: -155px;
	transform: rotate(-28deg);
}

.flower-two {
	top: 135px;
	left: 125px;
	transform: scale(1.35);
}

.flower-two i {
	background: var(--paper);
}

.flower-two b {
	background: var(--yellow);
}

.closing-copy {
	padding: 52px 36px 40px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.closing h2 {
	margin-top: 30px;
	font-size: clamp(42px, 6vw, 67px);
}

.button-light {
	margin-top: auto;
	background: var(--paper);
}

.button-light:hover {
	background: var(--yellow);
}

footer {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 36px;
	font:
		9px 'DM Mono',
		monospace;
}

.modal {
	width: min(92vw, 520px);
	max-height: min(90vh, 720px);
	margin: auto;
	padding: 0;
	border: 1px solid var(--ink);
	background: var(--paper);
	color: var(--ink);
	box-shadow: 10px 10px 0 var(--ink);
}

.modal::backdrop {
	background: rgba(25, 25, 25, 0.45);
}

.modal-panel {
	position: relative;
	padding: 36px 32px 32px;
	overflow: auto;
}

.modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: var(--ink);
	font:
		500 28px/1 'Space Grotesk',
		sans-serif;
	cursor: pointer;
}

.modal-close:hover {
	color: var(--reddish);
}

.modal h2 {
	margin: 14px 0 18px;
	font-size: clamp(42px, 8vw, 58px);
	line-height: 0.84;
	letter-spacing: -0.09em;
}

.modal-lead {
	max-width: 34em;
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.modal-list {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.modal-list li {
	position: relative;
	padding: 10px 0 10px 18px;
	border-top: 1px solid var(--ink);
	font-size: 14px;
	line-height: 1.35;
}

.modal-list li:last-child {
	border-bottom: 1px solid var(--ink);
}

.modal-list li::before {
	content: '→';
	position: absolute;
	left: 0;
	top: 10px;
}

.modal .button {
	width: 100%;
	min-width: 0;
}

.modal-form {
	display: grid;
	gap: 10px;
}

.modal-label {
	font:
		500 10px 'DM Mono',
		monospace;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.modal-form input[type='email'] {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--ink);
	background: #fff;
	color: var(--ink);
	font:
		15px 'Space Grotesk',
		sans-serif;
}

.modal-form input[type='email']:focus {
	outline: 2px solid var(--yellow);
	outline-offset: 1px;
}

.modal-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.modal-error {
	margin: 0;
	color: var(--reddish);
	font:
		12px/1.3 'DM Mono',
		monospace;
}

.modal-submit:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

@media (max-width: 640px) {
	.modal-panel {
		padding: 32px 20px 24px;
	}

	.masthead {
		padding: 0 20px;
	}

	nav {
		gap: 12px;
		font-size: 9px;
	}

	nav a:nth-child(2) {
		display: none;
	}

	.hero {
		grid-template-columns: 1fr;
	}

	.hero-copy {
		min-height: 480px;
		padding: 48px 20px 32px;
	}

	.hero-art {
		min-height: 300px;
		border-left: 0;
		border-top: 1px solid var(--ink);
	}

	.hero-img {
		top: auto;
		bottom: 0;
		right: -20px;
		height: calc(80% + 40px);
	}

	.note-one {
		bottom: 28px;
		left: 20px;
	}

	.note-two {
		top: 23px;
		right: 20px;
	}

	.manifesto {
		grid-template-columns: 1fr;
		padding: 36px 20px;
	}

	.manifesto .section-label {
		margin-bottom: 8px;
	}

	.stamp {
		margin-top: 20px;
		justify-self: end;
	}

	.apps {
		padding: 36px 20px 42px;
	}

	.apps-heading {
		display: block;
	}

	.apps-heading p {
		margin-top: 20px;
	}

	.app-grid {
		grid-template-columns: 1fr;
	}

	.app-card {
		min-height: 260px;
	}

	.closing {
		grid-template-columns: 1fr;
	}

	.closing-art {
		min-height: 260px;
		border-right: 0;
		border-bottom: 1px solid var(--ink);
	}

	.closing-copy {
		min-height: 370px;
		padding: 38px 20px;
	}

	footer {
		padding: 15px 20px;
		font-size: 8px;
	}

	footer span:nth-child(2) {
		display: none;
	}
}
