/* Erinea – coming soon (minimal, self-hosted fonts) */

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/montserrat-normal-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/montserrat-normal-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("../fonts/playfairdisplay-normal-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("../fonts/playfairdisplay-normal-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

html {
	-webkit-text-size-adjust: 100%;
	height: 100%;
}

body {
	min-height: 100%;
	min-height: 100dvh;
	max-height: 100dvh;
	overflow: hidden;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--color-text);
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(124, 60, 141, 0.18), transparent 55%),
		radial-gradient(900px 500px at -10% 100%, rgba(127, 179, 71, 0.16), transparent 50%),
		linear-gradient(165deg, #fbfaf7 0%, #f3efe8 45%, #efe6f2 100%);
	display: flex;
	flex-direction: column;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--transition-fast);
}

a:hover,
a:focus-visible {
	color: var(--color-primary-dark);
}

.page-alert {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	background: #7c3c8d;
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.45;
	animation: rise 0.45s ease both;
	flex-shrink: 0;
}

.page-alert[hidden] {
	display: none;
}

.page-alert p {
	margin: 0;
	flex: 1;
	max-width: 52rem;
	margin-inline: auto;
	text-align: center;
}

.page-alert__close {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 0.15rem;
	opacity: 0.85;
}

.page-alert__close:hover,
.page-alert__close:focus-visible {
	opacity: 1;
}

.wrap {
	width: min(100% - 2rem, 960px);
	margin-inline: auto;
	padding-block: clamp(1rem, 3.5vh, 2rem);
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(0.85rem, 2.2vh, 1.5rem);
}

.brand {
	display: inline-flex;
	align-items: center;
	animation: rise 0.7s ease both;
	flex-shrink: 0;
}

.brand img {
	width: min(168px, 42vw);
	height: auto;
	aspect-ratio: 194 / 50;
}

.row {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2.5vw, 1.75rem);
	align-items: stretch;
	min-height: 0;
	animation: rise 0.8s ease 0.08s both;
}

.col {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: fit-content;
	padding: 0.35rem 0.8rem;
	border-radius: var(--radius-pill);
	background: rgba(127, 179, 71, 0.14);
	color: var(--color-brand-green-dark);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.badge::before {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--color-brand-green);
	box-shadow: 0 0 0 4px rgba(127, 179, 71, 0.2);
	animation: pulse 2s ease infinite;
}

.hero-copy {
	display: grid;
	gap: 0.65rem;
}

.hero-copy h1 {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.65rem, 3.4vw, 2.55rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--color-secondary);
	max-width: 14ch;
}

.hero-copy p {
	color: var(--color-text-muted);
	max-width: 36ch;
	font-size: clamp(0.9rem, 1.5vw, 1.02rem);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: auto;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.55rem;
	padding: 0.55rem 1.15rem;
	border-radius: var(--radius-pill);
	font: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	border: 1.5px solid transparent;
	transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn:hover,
.btn:focus-visible {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--color-primary);
	color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
	background: var(--color-primary-dark);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: var(--color-primary);
	border-color: rgba(124, 60, 141, 0.35);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
	background: var(--color-primary-light);
	color: var(--color-primary-dark);
}

.contact {
	padding: clamp(1rem, 2vh, 1.25rem) clamp(1rem, 2vw, 1.35rem);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(226, 224, 220, 0.9);
	box-shadow: var(--shadow-sm);
	backdrop-filter: blur(8px);
	justify-content: center;
}

.contact h2 {
	font-family: var(--font-heading);
	font-size: clamp(1.1rem, 2vw, 1.3rem);
	font-weight: 600;
	color: var(--color-secondary);
}

.contact dl {
	display: grid;
	gap: 0.55rem;
}

.contact div {
	display: grid;
	gap: 0.1rem;
}

.contact dt {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--color-brand-green-dark);
}

.contact dd {
	color: var(--color-text);
	font-size: 0.9rem;
}

.contact a {
	font-weight: 600;
	text-decoration: none;
}

.contact a:hover,
.contact a:focus-visible {
	text-decoration: underline;
}

.foot {
	width: min(100% - 2rem, 960px);
	margin: 0 auto;
	padding: 0.65rem 0 0.85rem;
	border-top: 1px solid rgba(226, 224, 220, 0.9);
	font-size: 0.8rem;
	color: var(--color-text-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
	justify-content: space-between;
	flex-shrink: 0;
	animation: rise 0.9s ease 0.15s both;
}

.foot a {
	font-weight: 600;
	text-decoration: none;
}

@media (min-width: 768px) {
	.row {
		grid-template-columns: 1fr 1fr;
		gap: clamp(1.25rem, 3vw, 2.25rem);
	}

	.col {
		gap: 1rem;
	}

	.contact dl {
		gap: 0.65rem;
	}
}

@media (max-width: 767px) {
	body {
		overflow: auto;
		max-height: none;
	}

	.wrap {
		justify-content: flex-start;
		padding-block: 1.25rem 1rem;
	}
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0%,
	100% {
		box-shadow: 0 0 0 4px rgba(127, 179, 71, 0.2);
	}
	50% {
		box-shadow: 0 0 0 7px rgba(127, 179, 71, 0.08);
	}
}

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