/* =========================================================================
   Alessandro Morricella - public root landing (temporary)
   Self-contained: system fonts only, no remote assets, no JavaScript.
   Visual identity aligned with the AM Memorial Theme (this is a standalone
   copy of the relevant tokens, not a dependency on the theme).
   ========================================================================= */

:root {
	--am-color-background: #f8f5ef;
	--am-color-surface: #fffdf8;
	--am-color-warm: #f4e7da;
	--am-color-text: #202722;
	--am-color-muted: #59635d;
	--am-color-border: #d8d0c3;
	--am-color-accent: #285746;
	--am-color-accent-dark: #17392e;
	--am-color-secondary: #95593f;
	--am-color-gold: #ad8549;
	--am-color-focus: #005fcc;
	--am-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--am-font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
	--am-radius: 0.85rem;
	--am-radius-small: 0.35rem;
	--am-shadow-soft: 0 1.25rem 3.5rem rgb(32 39 34 / 8%);
	--am-space-page: 1.25rem;
}

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

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

body {
	margin: 0;
	background:
		radial-gradient(circle at 84% 8%, rgb(173 133 73 / 14%) 0, rgb(173 133 73 / 0%) 28rem),
		radial-gradient(circle at 4% 96%, rgb(40 87 70 / 8%) 0, rgb(40 87 70 / 0%) 26rem),
		linear-gradient(160deg, #faf7f1 0%, #f1ebe1 100%);
	color: var(--am-color-text);
	font-family: var(--am-font-sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* ----- Accessibility helpers ------------------------------------------- */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	padding: 0.75rem 1rem;
	background: var(--am-color-surface);
	color: var(--am-color-text);
	border-radius: var(--am-radius-small);
	text-decoration: none;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	z-index: 10;
	box-shadow: 0 0 0 3px var(--am-color-focus);
}

:focus-visible {
	outline: 3px solid var(--am-color-focus);
	outline-offset: 3px;
}

/* ----- Layout shell ---------------------------------------------------- */

.page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: min(100% - (var(--am-space-page) * 2), 60rem);
	margin-inline: auto;
	padding-block: clamp(2rem, 6vw, 3.5rem);
}

/* ----- Header / brand -------------------------------------------------- */

.site-header {
	margin-bottom: clamp(2.5rem, 7vw, 4.5rem);
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

/* Engraved double-ring monogram seal (pure CSS, no image). */
.brand__seal {
	display: grid;
	place-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 0.7rem;
	background: linear-gradient(155deg, var(--am-color-surface), var(--am-color-warm));
	box-shadow:
		inset 0 0 0 1px var(--am-color-accent),
		inset 0 0 0 4px var(--am-color-surface),
		inset 0 0 0 5px rgb(40 87 70 / 22%);
	color: var(--am-color-accent);
	font-family: var(--am-font-serif);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.brand__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.brand__name {
	font-family: var(--am-font-serif);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.05;
}

.brand__payoff {
	color: var(--am-color-secondary);
	font-size: 0.62rem;
	font-weight: 750;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* ----- Main ------------------------------------------------------------ */

.main {
	flex: 1 1 auto;
}

.main:focus {
	outline: none;
}

.eyebrow {
	margin: 0 0 0.9rem;
	color: var(--am-color-secondary);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.intro {
	max-width: 42rem;
}

.intro__title {
	margin: 0;
	font-size: clamp(2rem, 6vw, 3.4rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	text-wrap: balance;
}

.intro__lead {
	margin: 1.6rem 0 0;
	color: var(--am-color-accent-dark);
	font-family: var(--am-font-serif);
	font-size: clamp(1.15rem, 2.6vw, 1.5rem);
	line-height: 1.45;
	text-wrap: pretty;
}

.intro__status {
	display: inline-block;
	margin: 1.6rem 0 0;
	padding: 0.5rem 1rem;
	border: 1px solid var(--am-color-border);
	border-radius: 999px;
	background: var(--am-color-surface);
	color: var(--am-color-muted);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* ----- Future sections grid -------------------------------------------- */

.sections {
	margin-top: clamp(3rem, 8vw, 4.5rem);
}

.sections__title {
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--am-color-muted);
}

.sections__list {
	display: grid;
	gap: 1rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.section-card {
	padding: 1.4rem 1.4rem 1.5rem;
	border: 1px solid var(--am-color-border);
	border-radius: var(--am-radius);
	background: var(--am-color-surface);
	box-shadow: var(--am-shadow-soft);
}

.section-card h3 {
	margin: 0 0 0.4rem;
	font-size: 1.2rem;
	letter-spacing: -0.01em;
}

.section-card p {
	margin: 0;
	color: var(--am-color-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* ----- Editorial note -------------------------------------------------- */

.note {
	margin-top: clamp(3rem, 8vw, 4.5rem);
	padding: clamp(1.5rem, 4vw, 2.25rem);
	border-left: 4px solid var(--am-color-gold);
	border-radius: 0 var(--am-radius) var(--am-radius) 0;
	background: var(--am-color-warm);
}

.note__title {
	margin: 0 0 0.75rem;
	font-size: 1.15rem;
}

.note p {
	margin: 0;
	max-width: 44rem;
	color: var(--am-color-accent-dark);
}

.note__contact {
	margin-top: 0.85rem !important;
	color: var(--am-color-muted) !important;
	font-size: 0.92rem;
}

/* ----- Footer ---------------------------------------------------------- */

.site-footer {
	margin-top: clamp(3rem, 8vw, 4.5rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--am-color-border);
}

.site-footer__line {
	margin: 0;
	font-family: var(--am-font-serif);
	font-weight: 700;
}

.site-footer__meta {
	margin: 0.35rem 0 0;
	color: var(--am-color-muted);
	font-size: 0.85rem;
}

/* ----- Responsive ------------------------------------------------------ */

@media (min-width: 40rem) {
	.sections__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (min-width: 58rem) {
	.sections__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

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