/* One Catch Coming Soon — huisstijl: navy basis, crème tekst, rood beeldmerk als groot grafisch vlak. */

@font-face {
	font-display: swap;
	font-family: 'Bricolage Grotesque';
	font-weight: 600 800;
	src: url('fonts/bricolage-grotesque-var.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Gotham';
	font-weight: 400;
	src: url('fonts/gotham-book.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Gotham';
	font-weight: 700;
	src: url('fonts/gotham-bold.woff2') format('woff2');
}

:root {
	--creme: #fef8e6;
	--creme-600: #eadcb4;
	--navy: #131527;
	--navy-800: #20253d;
	--navy-600: #3d404f;
	--navy-200: #d0d0d4;
	--rood: #af1920;
	--rood-700: #b82937;
	--radius: 14px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html,
body {
	height: 100%;
}

body.occs {
	background: var(--navy);
	color: var(--creme);
	font-family: 'Gotham', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
	min-height: 100%;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* Beeldmerk groot en afgesneden rechts, zoals op de cover van het huisstijlhandboek. */
.occs-mark {
	bottom: -14vh;
	color: var(--rood);
	height: 118vh;
	pointer-events: none;
	position: fixed;
	right: -16vh;
	width: auto;
	z-index: 0;
}

.occs-main {
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 3vh, 2.5rem);
	margin: 0 auto;
	max-width: 1240px;
	min-height: 100vh;
	min-height: 100svh;
	padding: clamp(1.25rem, 3.5vh, 2.5rem) clamp(1.25rem, 0.5rem + 4vw, 4rem);
	position: relative;
	z-index: 1;
}

/*
 * Desktop/tablet liggend: alles in één scherm. Tekst links, aanmeldkaart rechts
 * (over het rode beeldmerk), header en footer boven en onder.
 */
@media (min-width: 900px) {
	.occs-main {
		align-items: end;
		column-gap: clamp(2rem, 5vw, 5rem);
		display: grid;
		grid-template-areas:
			'header header'
			'hero signup'
			'footer footer';
		grid-template-columns: minmax(0, 1.15fr) minmax(320px, 440px);
		grid-template-rows: auto 1fr auto;
		height: 100vh;
		height: 100svh;
	}

	.occs-header {
		grid-area: header;
	}

	.occs-hero {
		grid-area: hero;
	}

	.occs-signup {
		grid-area: signup;
	}

	.occs-footer {
		grid-area: footer;
	}

	.occs-hero,
	.occs-signup {
		align-self: center;
	}
}

.occs-logo {
	display: block;
	height: auto;
	width: clamp(110px, 8vw + 60px, 170px);
}

.occs-hero {
	max-width: 720px;
}

.occs-label {
	color: var(--creme-600);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.075em;
	margin: 0 0 clamp(0.5rem, 1.5vh, 1rem);
	text-transform: uppercase;
}

.occs-title {
	font-family: 'Bricolage Grotesque', Arial, sans-serif;
	font-size: clamp(2.25rem, min(1.4rem + 4.5vw, 9vh), 5.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.02;
	margin: 0 0 clamp(0.75rem, 2vh, 1.25rem);
	max-width: 12ch;
	text-wrap: balance;
}

.occs-text {
	color: var(--navy-200);
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
	margin: 0;
	max-width: 50ch;
}

.occs-countdown {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: clamp(1rem, 3vh, 2rem);
}

.occs-countdown div {
	align-items: center;
	background: var(--creme);
	border-radius: var(--radius);
	color: var(--navy);
	display: flex;
	flex-direction: column;
	min-width: 76px;
	padding: 0.75rem;
}

.occs-countdown strong {
	font-family: 'Bricolage Grotesque', Arial, sans-serif;
	font-size: 2.25rem;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	line-height: 1;
}

.occs-countdown span {
	color: var(--rood);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.075em;
	margin-top: 0.25rem;
	text-transform: uppercase;
}

/* Aanmeldblok: crème kaart op navy. */
.occs-signup {
	background: var(--creme);
	border-radius: 22px;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
	color: var(--navy);
	max-width: 560px;
	padding: clamp(1.25rem, 3vh, 2rem);
}

.occs-signup__title {
	font-family: 'Bricolage Grotesque', Arial, sans-serif;
	font-size: 1.625rem;
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 0.5rem;
}

.occs-signup__text {
	color: var(--navy-600);
	margin: 0 0 1rem;
}

.occs-form__row {
	background: #fffefa;
	border: 1.5px solid var(--navy);
	border-radius: var(--radius);
	display: flex;
	gap: 6px;
	padding: 6px;
}

.occs-form input[type='email'] {
	background: transparent;
	border: 0;
	color: var(--navy);
	flex: 1;
	font: inherit;
	min-height: 46px;
	min-width: 0;
	padding: 0 0.75rem;
}

.occs-form input[type='email']:focus {
	outline: none;
}

.occs-form__row:focus-within {
	box-shadow: 0 0 0 3px rgba(19, 21, 39, 0.18);
}

.occs-btn {
	background: var(--rood);
	border: 0;
	border-radius: 10px;
	color: var(--creme);
	cursor: pointer;
	flex: 0 0 auto;
	font-family: 'Gotham', Arial, sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	min-height: 46px;
	padding: 0 1.25rem;
	transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}

.occs-btn:hover {
	background: var(--rood-700);
	transform: translateY(-1px);
}

.occs-btn--navy {
	background: var(--navy);
	width: 100%;
}

.occs-btn--navy:hover {
	background: var(--navy-800);
}

.occs-consent {
	align-items: flex-start;
	color: var(--navy-600);
	cursor: pointer;
	display: flex;
	font-size: 0.8125rem;
	gap: 0.5rem;
	line-height: 1.4;
	margin-top: 0.75rem;
}

.occs-consent input {
	accent-color: var(--navy);
	flex: 0 0 auto;
	height: 16px;
	margin: 1px 0 0;
	width: 16px;
}

.occs-notice {
	border-radius: 10px;
	font-size: 0.9375rem;
	font-weight: 700;
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
}

.occs-notice--success {
	background: var(--navy);
	color: var(--creme);
}

.occs-notice--error {
	background: #efd1d2;
	color: var(--navy);
}

.occs-footer {
	align-items: center;
	border-top: 1px solid rgba(254, 248, 230, 0.15);
	color: var(--navy-200);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.875rem;
	gap: 0.75rem 2rem;
	justify-content: space-between;
	padding-top: 1.25rem;
}

.occs-footer p {
	margin: 0;
}

.occs-footer__socials {
	display: flex;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.occs-footer a {
	color: var(--creme);
	text-decoration: none;
}

.occs-footer a:hover {
	text-decoration: underline;
}

/* Zwevend slotje rechtsonder. */
.occs-lock {
	align-items: center;
	background: rgba(254, 248, 230, 0.1);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(254, 248, 230, 0.35);
	border-radius: 50%;
	bottom: 20px;
	color: var(--creme);
	cursor: pointer;
	display: flex;
	height: 48px;
	justify-content: center;
	position: fixed;
	right: 20px;
	transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
	width: 48px;
	z-index: 10;
}

.occs-lock:hover {
	background: var(--creme);
	color: var(--navy);
	transform: scale(1.06);
}

.occs-dialog {
	background: var(--creme);
	border: 0;
	border-radius: 22px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
	color: var(--navy);
	max-width: 380px;
	padding: 0;
	width: calc(100% - 32px);
}

.occs-dialog::backdrop {
	background: rgba(19, 21, 39, 0.7);
	backdrop-filter: blur(3px);
}

.occs-dialog__form {
	display: grid;
	gap: 0.75rem;
	padding: 1.75rem;
	position: relative;
}

.occs-dialog h2 {
	font-family: 'Bricolage Grotesque', Arial, sans-serif;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
}

.occs-dialog p {
	color: var(--navy-600);
	margin: 0;
}

.occs-dialog input[type='password'] {
	background: #fffefa;
	border: 1.5px solid var(--navy);
	border-radius: var(--radius);
	color: var(--navy);
	font: inherit;
	min-height: 50px;
	padding: 0 1rem;
}

.occs-dialog__close {
	background: none;
	border: 0;
	color: var(--navy);
	cursor: pointer;
	font-size: 1.75rem;
	line-height: 1;
	padding: 0.25rem 0.5rem;
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
}

:focus-visible {
	outline: 2px solid var(--creme-600);
	outline-offset: 3px;
}

.occs-signup :focus-visible,
.occs-dialog :focus-visible {
	outline-color: var(--navy);
}

.occs-hp,
.occs-sr {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@media (max-width: 640px) {
	/* Compact op telefoon. Het slotje zweeft hier rechtsboven, naast het logo,
	   zodat er onderaan geen extra ruimte nodig is. */
	.occs-main {
		gap: 1.25rem;
	}

	.occs-lock {
		bottom: auto;
		height: 44px;
		right: clamp(1.25rem, 0.5rem + 4vw, 4rem);
		top: clamp(1.25rem, 3.5vh, 2.5rem);
		width: 44px;
	}

	.occs-hero {
		margin-top: auto;
	}

	.occs-title {
		font-size: clamp(2rem, 7.5vh, 2.75rem);
	}

	.occs-text {
		font-size: 0.9375rem;
	}

	.occs-signup__title {
		font-size: 1.3125rem;
	}

	.occs-signup__text {
		font-size: 0.875rem;
	}

	.occs-form input[type='email'],
	.occs-btn {
		min-height: 42px;
	}

	.occs-footer {
		font-size: 0.8125rem;
		padding-top: 0.75rem;
	}

	.occs-mark {
		bottom: auto;
		height: 70vh;
		opacity: 0.35;
		right: -32vh;
		top: 12vh;
	}

	/* Veld en knop naast elkaar houden: scheelt een regel hoogte. */
	.occs-btn {
		padding: 0 1rem;
	}

	.occs-btn--navy {
		width: 100%;
	}
}

/* Lage telefoonschermen (bijv. iPhone SE): nog iets compacter. */
@media (max-width: 640px) and (max-height: 720px) {
	.occs-main {
		gap: 1rem;
	}

	.occs-text {
		font-size: 0.875rem;
	}

	.occs-signup__text {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}
