/* ==================================================================
   D’oba — Coming Soon (built on the theme’s base.css tokens)
   Moved verbatim from the original index.html <style> block. Changes are
   marked “WP:” and limited to asset paths and WordPress-specific additions.
   ================================================================== */
html,
body {
	min-height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	background:
		radial-gradient(60% 55% at 72% 32%, rgba(239, 178, 208, 0.75), transparent 70%),
		radial-gradient(45% 45% at 18% 85%, rgba(155, 70, 113, 0.28), transparent 70%),
		var(--c-pink);
}

/* WP: keep the page exactly one screen tall when the admin toolbar is showing. */
body.admin-bar {
	min-height: calc(100vh - 32px);
	min-height: calc(100svh - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		min-height: calc(100vh - 46px);
		min-height: calc(100svh - 46px);
	}
}

/* Header -------------------------------------------------------- */
.cs-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: clamp(1.25rem, 0.9rem + 1.2vw, 2rem);
}

.cs-logo img {
	width: clamp(140px, 6rem + 6vw, 190px);
}

.cs-header__mail {
	font-family: var(--f-display);
	font-weight: 650;
	font-variation-settings: "SOFT" 100;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--c-ink);
}

/* Hero ---------------------------------------------------------- */
.cs-main {
	flex: 1;
	display: flex;
	align-items: center;
}

.cs-hero {
	display: grid;
	gap: clamp(2rem, 1rem + 3vw, 4rem);
	align-items: center;
	padding-bottom: clamp(3rem, 1.5rem + 2.5vw, 4rem);
}

@media (min-width: 900px) {
	.cs-hero {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	}
}

/* Arch with Teta */
.cs-arch {
	position: relative;
	width: min(86%, 420px);
	margin-inline: auto;
	aspect-ratio: 4 / 5;
}

.cs-arch::before,
.cs-arch::after {
	content: "";
	position: absolute;
	border-radius: 999px 999px 0 0;
}

.cs-arch::before {
	inset: 0 4% 0;
	background: linear-gradient(180deg, rgba(255, 250, 245, 0.28), rgba(255, 250, 245, 0.08));
}

.cs-arch::after {
	inset: -12px calc(4% - 12px) 0;
	border: 2px solid rgba(255, 250, 245, 0.45);
	border-bottom: 0;
}

.cs-arch img {
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: 0;
	width: 112%;
	max-width: none;
	transform: translateX(-50%);
	filter: drop-shadow(0 22px 30px rgba(42, 22, 16, 0.25));
	animation: cs-bob 6s var(--ease-out) infinite alternate;
}

@keyframes cs-bob {
	to {
		transform: translateX(-50%) translateY(-10px) rotate(-1deg);
	}
}

.cs-sticker {
	position: absolute;
	z-index: 2;
	top: 8%;
	right: -2%;
	display: grid;
	place-items: center;
	width: clamp(96px, 5rem + 3vw, 124px);
	aspect-ratio: 1;
	padding: 0.75rem;
	border-radius: var(--r-blob);
	background: var(--c-coral);
	color: var(--c-cream);
	font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem);
	text-align: center;
	--rot: 10deg;
	box-shadow: var(--shadow-soft);
}

/* Copy */
.cs-copy {
	text-align: center;
}

@media (min-width: 900px) {
	.cs-copy {
		text-align: left;
	}
}

.cs-kicker {
	color: var(--c-white);
	--rot: -3deg;
}

.cs-title {
	font-size: clamp(2.5rem, 1.4rem + 3.8vw, 4.75rem);
	color: var(--c-ink);
	line-height: 0.95;
}

.cs-title em {
	display: block;
	color: var(--c-brown);
}

.cs-sub {
	margin-top: 1.1rem;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: var(--fs-lg);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--c-ink);
}

.cs-lede {
	max-width: 34ch;
	margin: 1rem auto 0;
	font-size: var(--fs-lg);
	line-height: 1.5;
	color: var(--c-ink);
}

@media (min-width: 900px) {
	.cs-lede {
		margin-inline: 0;
	}
}

/* Notify form */
.cs-form {
	margin-top: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
}

.cs-form__label {
	display: block;
	margin-bottom: 0.75rem;
	font-family: var(--f-display);
	font-weight: 650;
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-ink);
}

.cs-form__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem 1rem;
	justify-content: center;
	align-items: center;
}

@media (min-width: 900px) {
	.cs-form__row {
		justify-content: flex-start;
	}
}

.cs-input {
	flex: 1 1 240px;
	max-width: 340px;
	min-height: 54px;
	padding: 0.8em 1.4em;
	border: 2px solid var(--c-ink);
	border-radius: var(--r-pill);
	background: var(--c-white);
	color: var(--c-ink);
}

.cs-input::placeholder {
	color: rgba(42, 22, 16, 0.55);
}

.cs-form__note {
	min-height: 1.6em;
	margin-top: 0.85rem;
	font-size: var(--fs-sm);
	color: var(--c-ink);
}

.cs-form__note.is-success {
	font-family: var(--f-hand);
	font-size: var(--fs-xl);
	line-height: 1.2;
}

/* WP: spam trap field — kept off-screen for people, still visible to bots. */
.cs-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* WP: button state while the sign-up is being sent. */
.cs-form.is-sending .btn {
	opacity: 0.7;
	pointer-events: none;
}

.cs-hand {
	margin-top: 1.25rem;
	font-size: var(--fs-xl);
	color: var(--c-brown);
	--rot: -2deg;
}

/* Socials */
.cs-social {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 1.5rem;
}

@media (min-width: 900px) {
	.cs-social {
		justify-content: flex-start;
	}
}

.cs-social a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 2px solid var(--c-ink);
	border-radius: var(--r-blob);
	color: var(--c-ink);
	transition: transform 0.35s var(--ease-bounce), background-color 0.25s ease, color 0.25s ease, border-radius 0.5s var(--ease-out);
}

.cs-social a:hover {
	background: var(--c-ink);
	color: var(--c-cream);
	border-radius: var(--r-blob-alt);
	transform: translateY(-2px) rotate(-4deg);
}

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

/* Footer with pattern band ---------------------------------------- */
.cs-footer {
	background: var(--c-brown);
	color: var(--c-cream);
}

.cs-footer .band {
	margin-top: calc(var(--band-h) / -2);
}

.cs-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	justify-content: space-between;
	align-items: center;
	padding-block: 1.1rem 1.4rem;
	font-size: var(--fs-xs);
	letter-spacing: 0.04em;
}

.cs-footer a {
	color: var(--c-cream);
}

/* WP: dark footer uses a cream focus ring (same rule base.css applies to .site-footer). */
.cs-footer :focus-visible {
	--c-focus: var(--c-cream);
}

/* WP: optional “Footer links” menu (Appearance → Menus). Renders nothing when empty. */
.cs-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	margin: 0;
}

@media (max-width: 599px) {
	.cs-header__mail {
		display: none;
	}

	.cs-footer__inner {
		justify-content: center;
		text-align: center;
	}

	.cs-footer__menu {
		justify-content: center;
	}
}

/* Theme band (from components.css, trimmed) */
.band {
	--band-bg: var(--c-brown);
	--band-ink: var(--c-pink);
	--pattern-size: 78%;
	--tile-ratio: 7.125;
	position: relative;
	display: block;
	height: var(--band-h);
	background: var(--band-bg);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 9C180 3 330 12 520 7s360-6 560 1 260 4 360-2v54H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 9C180 3 330 12 520 7s360-6 560 1 260 4 360-2v54H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}

/* WP: the pattern URL used to live in a --pattern custom property in the page’s inline <style>.
   Relative URLs inside custom properties resolve inconsistently once moved into an external
   stylesheet, so the path is written directly here, relative to this file. */
.band__pattern {
	position: absolute;
	inset: 0;
	background: var(--band-ink);
	-webkit-mask: url("../images/pattern-motif.png") 0 50% / auto var(--pattern-size) repeat-x;
	mask: url("../images/pattern-motif.png") 0 50% / auto var(--pattern-size) repeat-x;
	animation: band-drift 60s linear infinite;
}

@keyframes band-drift {
	to {
		-webkit-mask-position: calc(var(--band-h) * var(--tile-ratio) * 0.78) 50%;
		mask-position: calc(var(--band-h) * var(--tile-ratio) * 0.78) 50%;
	}
}

/* Theme button (from components.css) */
.btn {
	--btn-bg: var(--c-ink);
	--btn-fg: var(--c-cream);
	--btn-ring: var(--c-cream);
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0.95em 2.3em 0.9em;
	border: 0;
	border-radius: var(--r-blob);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--f-display);
	font-weight: 650;
	font-variation-settings: "SOFT" 100;
	font-size: 1rem;
	line-height: 1.1;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: transform 0.35s var(--ease-bounce), border-radius 0.5s var(--ease-out), background-color 0.25s ease;
}

.btn::before {
	content: "";
	position: absolute;
	inset: -5px -3px -3px -6px;
	z-index: -1;
	border: 1.5px solid var(--btn-ring);
	border-radius: var(--r-blob-alt);
	pointer-events: none;
	transition: border-radius 0.5s var(--ease-out), inset 0.35s var(--ease-out);
}

.btn:hover {
	--btn-bg: var(--c-brown);
	transform: translateY(-2px) rotate(-0.6deg);
	border-radius: var(--r-blob-alt);
}

.btn:hover::before {
	inset: -3px -6px -5px -3px;
	border-radius: var(--r-blob);
}

.btn:active {
	transform: scale(0.98);
}

/* Entrance */
.cs-in {
	animation: cs-in 0.9s var(--ease-out) both;
	animation-delay: var(--d, 0s);
}

@keyframes cs-in {
	from {
		opacity: 0;
		transform: translate3d(0, 24px, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cs-in,
	.cs-arch img,
	.band__pattern {
		animation: none;
	}
}

/* WP: generic content (pages, posts, 404) ----------------------------------
   The original site has a single page. These styles let any other WordPress
   page — e.g. a Privacy Policy — sit in the same shell, using the same tokens. */
.cs-content {
	width: 100%;
	padding-bottom: clamp(3rem, 1.5rem + 2.5vw, 4rem);
}

.cs-content__card {
	padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
	border-radius: var(--r-card);
	background: var(--c-white);
	box-shadow: var(--shadow-soft);
}

.cs-content__card + .cs-content__card {
	margin-top: 1.5rem;
}

.cs-content__title {
	font-size: var(--fs-h2);
	color: var(--c-ink);
}

.cs-content__title a {
	text-decoration: none;
}

.cs-entry {
	margin-top: 1.25rem;
}

.cs-entry > * + * {
	margin-top: 1em;
}

.cs-entry h2,
.cs-entry h3 {
	margin-top: 1.5em;
}

.cs-entry h2 {
	font-size: var(--fs-h3);
}

/* base.css resets ul[class]/ol[class]; block-editor lists carry a class, so restore markers here. */
.cs-entry ul,
.cs-entry ol {
	padding-left: 1.25em;
}

.cs-entry ul {
	list-style: disc;
}

.cs-entry ol {
	list-style: decimal;
}

.cs-entry img {
	border-radius: var(--r-soft);
}

.cs-entry .alignwide,
.cs-entry .alignfull {
	max-width: 100%;
}

.cs-content .btn {
	margin-top: 1.5rem;
	text-decoration: none;
}

.cs-pagination {
	margin-top: 1.5rem;
	text-align: center;
}

.cs-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	justify-content: center;
}
