/* ============================================================
   PAWSHTAILS — COMING SOON / MAINTENANCE PAGE
   Self-contained. Loaded only by template-coming-soon.php.
   No dependency on main.css.
   ============================================================ */

@font-face {
	font-family: 'Allenoire';
	src: url('../fonts/allenoire-allenoire-regular-400-webfont.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--cs-orange:       #FF4E00;
	--cs-orange-dark:  #CC3E00;
	--cs-cream:        #FFFFFF;
	--cs-cream-warm:   #F0E6D6;
	--cs-black:        #0A0A0A;
	--cs-grey-700:     #4A4A4A;
	--cs-grey-500:     #8A8A8A;
	--cs-border:       #D9D2C7;
	--cs-white:        #FFFFFF;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	background: var(--cs-cream);
	color: var(--cs-black);
	font-family: 'Sen', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.pawshtails-coming-soon {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* HERO */
.cs-hero {
	width: 100%;
	height: 38vh;
	min-height: 240px;
	max-height: 460px;
	/* background-image is set inline on the element in
	   template-coming-soon.php so the URL can be built dynamically
	   from home_url() and works on both staging + live. */
	background-size: cover;
	background-position: center 35%;
	background-repeat: no-repeat;
	background-color: var(--cs-cream-warm);
}

/* CARD */
.cs-card {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	padding: 48px 24px 64px;
	text-align: center;
	flex: 1 0 auto;
}

.cs-logo-link {
	display: inline-block;
	text-decoration: none;
	margin-bottom: 32px;
}

.cs-logo {
	display: block;
	height: 56px;
	width: auto;
	max-width: 100%;
}

/* HEADLINE / COPY */
.cs-title {
	font-family: 'Allenoire', Georgia, serif;
	font-size: 44px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--cs-black);
	margin: 0 0 20px;
}

.cs-date {
	font-family: 'Sen', sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: var(--cs-black);
	margin: 0 0 16px;
}

.cs-body {
	font-family: 'Sen', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--cs-grey-700);
	margin: 0 auto 32px;
	max-width: 440px;
}

/* FORM */
.cs-form { margin: 0 0 32px; }

.cs-form-label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.cs-form-row {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 460px;
	margin: 0 auto;
}

.cs-form input[type="email"] {
	width: 100%;
	padding: 14px 16px;
	font-family: 'Sen', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: var(--cs-black);
	background: var(--cs-white);
	border: 1px solid var(--cs-border);
	border-radius: 0;
	outline: none;
	transition: border-color 150ms;
}

.cs-form input[type="email"]:focus {
	border-color: var(--cs-orange);
}

.cs-cta-button {
	display: inline-block;
	width: 100%;
	padding: 14px 24px;
	font-family: 'Sen', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cs-white);
	background: var(--cs-orange);
	border: none;
	cursor: pointer;
	min-height: 48px;
	transition: background 150ms;
}

.cs-cta-button:hover,
.cs-cta-button:focus-visible {
	background: var(--cs-orange-dark);
	outline: none;
}

/* SUCCESS STATE */
.cs-success {
	font-family: 'Sen', sans-serif;
	font-size: 15px;
	color: var(--cs-black);
	background: var(--cs-cream-warm);
	border-left: 3px solid var(--cs-orange);
	padding: 16px 20px;
	margin: 0 auto 32px;
	text-align: left;
	max-width: 460px;
}

/* SOCIAL ROW */
.cs-social {
	list-style: none;
	padding: 0;
	margin: 24px 0;
	display: flex;
	justify-content: center;
	gap: 18px;
}

.cs-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: var(--cs-grey-700);
	text-decoration: none;
	transition: color 150ms;
}

.cs-social a:hover,
.cs-social a:focus-visible {
	color: var(--cs-orange);
	outline: none;
}

.cs-social svg {
	width: 22px;
	height: 22px;
}

/* TAGLINE + MEMORIAL */
.cs-tagline {
	font-family: 'Sen', sans-serif;
	font-size: 13px;
	color: var(--cs-grey-500);
	margin: 0 0 8px;
}

.cs-memorial {
	font-family: 'Sen', sans-serif;
	font-size: 12px;
	font-style: italic;
	color: var(--cs-grey-500);
	margin: 0;
	letter-spacing: 0.02em;
}

/* TABLET */
@media (min-width: 600px) {
	.cs-card { padding: 56px 32px 72px; }
	.cs-title { font-size: 54px; }
	.cs-form-row {
		flex-direction: row;
		align-items: stretch;
	}
	.cs-cta-button {
		width: auto;
		min-width: 160px;
		flex-shrink: 0;
	}
}

/* DESKTOP */
@media (min-width: 900px) {
	.cs-hero {
		height: 44vh;
		max-height: 520px;
	}
	.cs-title { font-size: 64px; }
}
