/**
 * PSH Hospitality — design tokens, layout, reset.
 */

:root {
	--psh-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
	--psh-font-display: "Georgia", "Times New Roman", serif;
	--psh-space-1: 0.25rem;
	--psh-space-2: 0.5rem;
	--psh-space-3: 0.75rem;
	--psh-space-4: 1rem;
	--psh-space-5: 1.5rem;
	--psh-space-6: 2rem;
	--psh-space-7: 3rem;
	--psh-space-8: 4rem;
	--psh-space-9: 6rem;
	--psh-radius-sm: 4px;
	--psh-radius-md: 8px;
	--psh-radius-lg: 16px;
	--psh-radius-xl: 24px;
	--psh-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
	--psh-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
	--psh-shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.12);
	--psh-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--psh-duration: 0.35s;
	--psh-color-bg: #faf8f5;
	--psh-color-surface: #ffffff;
	--psh-color-text: #1a1a1a;
	--psh-color-muted: #5c5c5c;
	--psh-color-border: rgba(0, 0, 0, 0.08);
	--psh-color-primary: #1a1a1a;
	--psh-color-accent: #c9a962;
	--psh-color-hero-overlay: rgba(0, 0, 0, 0.35);
	--psh-max-w: 1200px;
	--psh-gutter: clamp(1rem, 4vw, 2rem);
	--psh-header-h: 72px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--psh-font-sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--psh-color-text);
	background: var(--psh-color-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--psh-color-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	text-decoration: none;
}

.psh-container {
	width: 100%;
	max-width: var(--psh-max-w);
	margin-inline: auto;
	padding-inline: var(--psh-gutter);
	box-sizing: border-box;
}

.psh-skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	z-index: 100000;
	padding: var(--psh-space-3) var(--psh-space-4);
	background: var(--psh-color-primary);
	color: var(--psh-color-surface);
}

.psh-skip-link:focus {
	left: var(--psh-space-4);
	top: var(--psh-space-4);
}

#main {
	outline: none;
}

.psh-section {
	padding-block: var(--psh-space-8);
}

.psh-section--tight {
	padding-block: var(--psh-space-7);
}

.psh-kicker {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--psh-color-muted);
	margin: 0 0 var(--psh-space-3);
}

.psh-h1 {
	font-family: var(--psh-font-display);
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 var(--psh-space-4);
}

.psh-h2 {
	font-family: var(--psh-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 400;
	margin: 0 0 var(--psh-space-5);
}

.psh-lead {
	font-size: 1.125rem;
	color: var(--psh-color-muted);
	max-width: 52ch;
}

/* Contenuti editor: titoli e paragrafi seguono le scelte Branding (--psh-font-display / --psh-font-sans) */
.psh-entry-content {
	font-family: var(--psh-font-sans);
}

.psh-entry-content p,
.psh-entry-content li,
.psh-entry-content blockquote,
.psh-entry-content figcaption {
	font-family: inherit;
}

.psh-entry-content h1,
.psh-entry-content h2,
.psh-entry-content h3,
.psh-entry-content h4,
.psh-entry-content h5,
.psh-entry-content h6,
.psh-entry-content .wp-block-heading {
	font-family: var(--psh-font-display);
	font-weight: 600;
}

.psh-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity var(--psh-duration) var(--psh-ease), transform var(--psh-duration) var(--psh-ease);
}

.psh-reveal.is-visible {
	opacity: 1;
	transform: none;
}
