/* ===========================================================
   CREZZIO COMING SOON — Landing Page
   Aesthetic: CrezzioLab dark, editorial, cinematic
   =========================================================== */

:root {
	--ccs-bg: #070707;
	--ccs-surface: #101010;
	--ccs-text: #f5f0e8;
	--ccs-muted: rgba(245, 240, 232, .52);
	--ccs-border: rgba(245, 240, 232, .10);
	--ccs-red: #e8281e;
	--ccs-red-glow: rgba(232, 40, 30, .25);
	--ccs-success: #42a56b;
}

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

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: 'Space Mono', monospace;
	background: var(--ccs-bg);
	color: var(--ccs-text);
	min-height: 100vh;
	overflow-x: clip;
	background-image: linear-gradient(rgba(245,240,232,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(245,240,232,.025) 1px, transparent 1px);
	background-size: 72px 72px;
}

/* Noise texture */
.ccs-noise {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	opacity: .035;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
	background-size: 256px;
}

/* Badge — live indicator */
.ccs-badge {
	position: fixed;
	top: 28px;
	left: 28px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px 7px 14px;
	background: rgba(232, 40, 30, .10);
	border: 1px solid rgba(232, 40, 30, .22);
	border-radius: 100px;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ccs-red);
	z-index: 100;
}

.ccs-topmark {
	position: fixed;
	top: 31px;
	right: 30px;
	color: var(--ccs-muted);
	font-size: 8px;
	letter-spacing: .2em;
	z-index: 100;
}

.ccs-badge__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ccs-red);
	display: block;
	animation: ccs-blink 2s ease-in-out infinite;
}

@keyframes ccs-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: .25; }
}

/* Main */
.ccs-main {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
	align-items: center;
	gap: clamp(50px, 8vw, 150px);
	min-height: 100vh;
	padding: 110px clamp(40px, 8vw, 150px) 70px;
	text-align: left;
}

/* Hero */
.ccs-hero {
	position: relative;
	max-width: 900px;
}

.ccs-overline {
	display: block;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--ccs-red);
	margin-bottom: 28px;
}

.ccs-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(72px, 14vw, 200px);
	font-weight: 400;
	line-height: .88;
	letter-spacing: -.03em;
	text-transform: uppercase;
	margin-bottom: 28px;
}

.ccs-subtitle {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	font-size: clamp(14px, 1.5vw, 18px);
	line-height: 1.65;
	color: var(--ccs-muted);
	max-width: 540px;
	margin: 0 0 42px;
}

.ccs-orbit { position: absolute; right: -2%; bottom: -13%; width: clamp(150px, 16vw, 245px); aspect-ratio: 1; opacity: .92; }
.ccs-orbit__ring { position: absolute; inset: 0; display: block; border: 1px solid rgba(232,40,30,.38); border-radius: 50%; }
.ccs-orbit__ring--one { transform: rotate(24deg) scaleY(.42); }
.ccs-orbit__ring--two { transform: rotate(-42deg) scaleY(.42); }
.ccs-orbit__core { position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--ccs-red); transform: translate(-50%,-50%); box-shadow: 0 0 35px var(--ccs-red-glow); }
.ccs-orbit__label { position: absolute; left: 50%; top: 50%; width: 100%; color: var(--ccs-muted); font-size: 7px; letter-spacing: .14em; line-height: 1.5; text-align: center; transform: translate(-50%,-50%); }

/* Countdown */
.ccs-countdown {
	margin-bottom: 64px;
}

.ccs-countdown__label {
	display: block;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ccs-muted);
	margin-bottom: 16px;
}

.ccs-countdown__grid {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ccs-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 62px;
	padding: 14px 8px;
	background: var(--ccs-surface);
	border: 1px solid var(--ccs-border);
	border-radius: 14px;
}

.ccs-countdown__number {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 36px;
	line-height: 1;
	letter-spacing: .02em;
}

.ccs-countdown__name {
	font-size: 7px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ccs-muted);
	margin-top: 4px;
}

.ccs-countdown__sep {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 28px;
	color: var(--ccs-muted);
	opacity: .4;
	padding-bottom: 16px;
}

/* Form block */
.ccs-form-block {
	width: 100%;
	max-width: 480px;
	padding: clamp(24px, 3vw, 42px);
	background: rgba(16,16,16,.82);
	border: 1px solid var(--ccs-border);
	box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.ccs-form-block__eyebrow {
	display: block;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ccs-red);
	margin-bottom: 12px;
}

.ccs-form-block__title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(28px, 3.5vw, 44px);
	font-weight: 400;
	letter-spacing: -.01em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.ccs-form-block__description {
	font-size: 12px;
	line-height: 1.6;
	color: var(--ccs-muted);
	margin-bottom: 28px;
}

.ccs-form__row {
	display: flex;
	gap: 0;
	background: var(--ccs-surface);
	border: 1px solid var(--ccs-border);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color .3s ease;
}

.ccs-form__row:focus-within {
	border-color: rgba(245, 240, 232, .22);
}

.ccs-form__input {
	flex: 1;
	background: transparent;
	border: none;
	padding: 16px 20px;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ccs-text);
	outline: none;
	min-width: 0;
}

.ccs-form__input::placeholder {
	color: var(--ccs-muted);
	opacity: .7;
}

.ccs-form__button {
	background: var(--ccs-text);
	color: var(--ccs-bg);
	border: none;
	padding: 16px 26px;
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .3s ease, color .3s ease;
	white-space: nowrap;
	position: relative;
}

.ccs-form__button:hover {
	background: var(--ccs-red);
	color: #fff;
}

.ccs-form__button-loading {
	display: none;
}

.ccs-form__button.is-loading .ccs-form__button-text {
	visibility: hidden;
}

.ccs-form__button.is-loading .ccs-form__button-loading {
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	visibility: visible;
}

.ccs-form__honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.ccs-form__privacy {
	font-size: 10px;
	color: var(--ccs-muted);
	opacity: .55;
	margin-top: 14px;
	letter-spacing: .04em;
}

.ccs-form__status {
	margin-top: 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	min-height: 1.2em;
}

.ccs-form__status[data-status="success"] {
	color: var(--ccs-success);
}

.ccs-form__status[data-status="error"] {
	color: var(--ccs-red);
}

/* Footer */
.ccs-footer {
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 26px 40px 28px;
}

.ccs-footer p {
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ccs-muted);
	opacity: .45;
}

/* Reveal animations */
.ccs-reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity .8s cubic-bezier(.2, .72, .2, 1),
				transform .8s cubic-bezier(.2, .72, .2, 1);
}

.ccs-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ccs-reveal:nth-child(1) { transition-delay: .1s; }
.ccs-reveal:nth-child(2) { transition-delay: .25s; }
.ccs-reveal:nth-child(3) { transition-delay: .4s; }
.ccs-reveal:nth-child(4) { transition-delay: .55s; }
.ccs-reveal:nth-child(5) { transition-delay: .7s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.ccs-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.ccs-badge__dot {
		animation: none;
		opacity: 1;
	}
}

/* Responsive */
@media (max-width: 768px) {
	.ccs-main {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 46px;
		padding: 100px 24px 80px;
		text-align: center;
		width: 100%;
		overflow-x: hidden;
	}

	.ccs-hero {
		max-width: 100%;
		width: 100%;
		min-width: 0;
		overflow-x: clip;
	}

	.ccs-badge {
		top: 18px;
		left: 18px;
	}

	.ccs-countdown__unit {
		min-width: 52px;
		padding: 12px 6px;
	}

	.ccs-countdown__number {
		font-size: 28px;
	}

	.ccs-form__row {
		flex-direction: column;
		border-radius: 12px;
	}

	.ccs-form__input {
		padding: 14px 18px;
		text-align: center;
	}

	.ccs-form__button {
		padding: 14px 24px;
	}

	.ccs-subtitle { margin-inline: auto; width: 100%; max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
	.ccs-form-block { margin-inline: auto; width: 100%; max-width: 480px; text-align: center; }
	.ccs-orbit { position: relative; right: auto; bottom: auto; margin: 10px auto -18px; }
	.ccs-footer { position: static; padding-bottom: 25px; }
	.ccs-topmark { top: 23px; right: 20px; }
}

@media (max-width: 480px) {
	.ccs-main {
		padding: 100px 20px 40px;
	}

	.ccs-countdown__grid {
		gap: 4px;
	}

	.ccs-countdown__unit {
		min-width: 44px;
		padding: 10px 4px;
		border-radius: 10px;
	}

	.ccs-countdown__number {
		font-size: 24px;
	}

	.ccs-countdown__sep {
		font-size: 20px;
	}
}

/* Sitewide maintenance veil: the live page remains visible and scrollable below. */
.ccs-sitewide-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	overflow-y: auto;
	padding: clamp(28px, 6vw, 84px) 24px;
	color: #f5f0e8;
	background: rgba(7, 7, 7, .48);
	backdrop-filter: blur(16px) saturate(.72);
	-webkit-backdrop-filter: blur(16px) saturate(.72);
	cursor: default;
}

.ccs-sitewide-overlay:focus { outline: none; }

.ccs-sitewide-overlay__wash {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(circle at 50% 42%, rgba(232, 40, 30, .12), transparent 29%), linear-gradient(135deg, rgba(245, 240, 232, .04), transparent 42%);
}

.ccs-sitewide-overlay__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100%, 540px);
	padding: clamp(32px, 6vw, 66px) clamp(24px, 6vw, 58px) 42px;
	text-align: center;
	background: linear-gradient(145deg, rgba(24, 24, 24, .62), rgba(7, 7, 7, .36));
	border: 1px solid rgba(245, 240, 232, .18);
	box-shadow: 0 32px 110px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .08);
	border-radius: 4px;
}

.ccs-sitewide-overlay__label,
.ccs-sitewide-overlay__hint {
	font: 700 8px/1.2 'Space Mono', monospace;
	letter-spacing: .28em;
	text-transform: uppercase;
}

.ccs-sitewide-overlay__label { color: var(--ccs-red); }
.ccs-sitewide-overlay__hint { color: rgba(245, 240, 232, .42); }

.ccs-lock-scene {
	width: 142px;
	height: 160px;
	perspective: 650px;
	display: grid;
	place-items: center;
	margin: 28px 0 12px;
}

.ccs-lock {
	position: relative;
	width: 78px;
	height: 92px;
	animation: ccs-lock-breathe 4.8s ease-in-out infinite;
}

.ccs-lock__body {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 78px;
	height: 60px;
	border: 1px solid rgba(245, 240, 232, .76);
	border-radius: 8px 8px 13px 13px;
	background: linear-gradient(135deg, #ded8ce 0%, #807a72 42%, #292726 100%);
	box-shadow: 10px 15px 26px rgba(0, 0, 0, .42), inset 5px 4px 10px rgba(255, 255, 255, .3), inset -6px -8px 13px rgba(0, 0, 0, .52);
	z-index: 1;
}

.ccs-lock__body::after {
	content: '';
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(7, 7, 7, .28);
	border-radius: 4px 4px 9px 9px;
}

.ccs-lock__shackle {
	position: absolute;
	left: 17px;
	top: 0;
	width: 44px;
	height: 52px;
	border: 9px solid #aaa49b;
	border-bottom: 0;
	border-radius: 28px 28px 0 0;
	box-shadow: inset 4px 2px 5px rgba(255, 255, 255, .35), inset -4px 0 6px rgba(0, 0, 0, .45);
	z-index: 0;
}

.ccs-lock__keyhole {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 18px;
	border-radius: 50% 50% 5px 5px;
	background: var(--ccs-red);
	transform: translate(-50%, -36%);
	box-shadow: 0 0 22px rgba(232, 40, 30, .72);
}

.ccs-lock__keyhole::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -5px;
	width: 4px;
	height: 10px;
	background: var(--ccs-red);
	transform: translateX(-50%);
}

@keyframes ccs-lock-breathe {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-7px) rotate(1deg); }
}

.ccs-sitewide-overlay h1 {
	max-width: 100%;
	font: 400 clamp(52px, 10vw, 92px)/.84 'Bebas Neue', sans-serif;
	letter-spacing: -.025em;
	text-transform: uppercase;
}

.ccs-sitewide-overlay p {
	max-width: 390px;
	margin: 22px auto 30px;
	font: italic clamp(14px, 1.5vw, 17px)/1.55 'Playfair Display', serif;
	color: rgba(245, 240, 232, .66);
}

.ccs-sitewide-overlay__rule {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin-bottom: 26px;
}

.ccs-sitewide-overlay__rule i {
	flex: 1;
	height: 1px;
	background: rgba(245, 240, 232, .16);
}

.ccs-sitewide-overlay__rule b {
	width: 5px;
	height: 5px;
	background: var(--ccs-red);
	transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
	.ccs-lock { animation: none; }
}

@media (max-width: 480px) {
	.ccs-sitewide-overlay { align-items: start; padding-top: 10vh; }
	.ccs-sitewide-overlay__content { padding: 30px 22px 34px; }
	.ccs-lock-scene { margin-top: 20px; }
}
