:root {
	--paper: #fbf7f1;
	--card: #ffffff;
	--ink: #2e2a1c;
	--muted: #5c5648;
	--olive: #3a3718;
	--gold: #7c6e2c;
	--terra: #8f4b1e;
	--line: rgba(58, 55, 24, 0.12);
	--shadow: 0 16px 40px rgba(58, 55, 24, 0.08);
	--radius: 22px;
	--header: 128px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.syndrasi-body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Noto Sans", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.7;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; }

h1, h2, h3 {
	font-family: Manrope, "Noto Sans", sans-serif;
	line-height: 1.2;
	font-weight: 650;
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0.2rem 0 0.4rem; color: var(--olive); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0 0 1rem; color: var(--olive); }
h3 { font-size: 1.05rem; margin: 0 0 0.6rem; letter-spacing: 0.01em; }

p { margin: 0 0 1rem; }

a { color: var(--terra); }

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	background: var(--olive);
	color: #fff;
	padding: 0.6rem 1rem;
	z-index: 20;
}
.skip-link:focus { top: 1rem; }

.wrap {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(251, 247, 241, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header);
	gap: 1rem;
}

.header-tag {
	margin: 0;
	padding: 0.35rem 1rem;
	max-height: 3rem;
	overflow: hidden;
	text-align: center;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--olive);
	transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 480px) {
	.header-tag { font-size: 0.62rem; letter-spacing: 0.02em; padding: 0.35rem 0.5rem; }
}
body.is-scrolled .header-tag {
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
}

.brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
	max-width: 12.5rem;
	text-decoration: none;
}
.brand img {
	height: 58px;
	width: auto;
	display: block;
}
.brand-line {
	color: var(--terra);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.25;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	border: 1px solid var(--line);
	background: var(--card);
	border-radius: 999px;
	padding: 0.55rem 0.9rem;
	font: inherit;
	color: var(--olive);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--olive);
	position: relative;
	content: "";
}
.nav-toggle-lines::before { position: absolute; top: -6px; }
.nav-toggle-lines::after { position: absolute; top: 6px; }

.site-nav {
	display: none;
	position: absolute;
	inset: var(--header) 0 auto 0;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	padding: 0.5rem 1rem 1.2rem;
}
body.nav-open .site-nav { display: block; }

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}
.site-nav a {
	display: block;
	padding: 0.7rem 0.2rem;
	color: var(--olive);
	text-decoration: none;
	font-weight: 600;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--terra);
	color: #fff !important;
	text-decoration: none;
	border-radius: 999px;
	padding: 0.85rem 1.25rem;
	font-weight: 650;
	font-family: Manrope, "Noto Sans", sans-serif;
}
.btn:focus-visible,
.nav-toggle:focus-visible,
.hero-controls button:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}
.site-nav .btn { margin-top: 0.4rem; }

.call-item { display: none; }

.hero { padding: 1.5rem 0 1rem; }
.hero-grid { display: grid; gap: 0.7rem; }
.kicker, .tagline { color: var(--gold); font-weight: 650; margin-bottom: 0.35rem; }
.motto {
	font-family: Manrope, "Noto Sans", sans-serif;
	font-size: clamp(1.25rem, 2.4vw, 1.7rem);
	line-height: 1.35;
	min-height: 3.4em;
	margin: 1rem 0;
	color: var(--olive);
}
.hero-photos {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
	background: #efe7da;
	box-shadow: var(--shadow);
}
.hero-photos img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.6s ease;
}
.hero-photos img.is-active { opacity: 1; }
.photo-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 2.2rem 1rem 0.9rem;
	background: linear-gradient(to top, rgba(40, 36, 18, 0.82), rgba(40, 36, 18, 0));
	color: #fff;
	font-family: Manrope, "Noto Sans", sans-serif;
	font-weight: 650;
	font-size: 1.08rem;
	line-height: 1.35;
}
.hero-cta { margin: 0; text-align: center; }
@media (min-width: 860px) {
	.photo-caption { display: none; }
	.hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
	.hero-photos { grid-column: 2; grid-row: 1 / span 2; }
	.hero-cta { grid-column: 1; grid-row: 2; align-self: start; text-align: left; }
}
.hero-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
.hero-controls button {
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--olive);
	border-radius: 999px;
}
.slider-prev, .slider-next {
	width: 42px;
	height: 42px;
	font-size: 1.4rem;
	line-height: 1;
}
.slider-dots { display: flex; gap: 0.45rem; }
.slider-dots button {
	width: 11px;
	height: 11px;
	padding: 0;
	background: transparent;
}
.slider-dots button[aria-selected="true"] { background: var(--terra); border-color: var(--terra); }

.section { padding: 3.2rem 0; }
.section-tint { background: #f3eee4; }
.split { display: grid; gap: 1.5rem; align-items: center; }
.about-photo {
	width: 100%;
	border-radius: var(--radius);
	object-fit: cover;
	max-height: 460px;
	box-shadow: var(--shadow);
}
.principles {
	list-style: none;
	padding: 0;
	margin: 1.5rem auto 0;
	display: grid;
	gap: 0.8rem;
}
.principles li, .card, .steps li {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.principles li { padding: 1rem 1.15rem; font-weight: 650; color: var(--olive); }

.cards {
	display: grid;
	gap: 1rem;
}
.card { padding: 1.25rem 1.2rem 1.1rem; overflow: hidden; }
.card p { color: var(--muted); margin: 0; }
.card-photo {
	display: block;
	width: calc(100% + 2.4rem);
	height: 190px;
	margin: -1.25rem -1.2rem 1rem;
	object-fit: cover;
	border-radius: var(--radius) var(--radius) 0 0;
}
.icon { width: 48px; height: 48px; display: block; margin-bottom: 0.7rem; }

.steps {
	list-style: none;
	padding: 0;
	margin: 1.4rem 0 0;
	display: grid;
	gap: 0.7rem;
	counter-reset: step;
}
.steps li {
	padding: 0.95rem 1rem 0.95rem 3.2rem;
	position: relative;
	font-weight: 650;
	color: var(--olive);
}
.steps li::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 0.9rem;
	top: 0.85rem;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: #f6efe4;
	color: var(--terra);
	display: grid;
	place-items: center;
	font-size: 0.85rem;
}

.narrow { width: min(760px, calc(100% - 2rem)); }
.cta { text-align: center; }
.placeholders {
	font-weight: 700;
	color: var(--terra);
}

.site-footer {
	background: var(--olive);
	color: #f6f1e7;
	padding: 2.5rem 0 1.5rem;
}
.site-footer a { color: #f6f1e7; }
.footer-grid { display: grid; gap: 1.4rem; }
.footer-logo {
	display: inline-block;
	background: var(--paper);
	border-radius: 16px;
	padding: 0.35rem 0.65rem;
	line-height: 0;
}
.footer-logo img {
	height: 64px;
	width: auto;
	display: block;
}
.footer-line {
	margin: 0.7rem 0 0.2rem;
	font-weight: 700;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0.25rem 0; }

@media (min-width: 860px) {
	.nav-toggle { display: none; }
	.header-bar { width: min(1280px, calc(100% - 1.5rem)); gap: 1.25rem; }
	.brand { max-width: 13rem; }
	.brand img { height: 52px; }
	.site-nav {
		display: block;
		position: static;
		background: transparent;
		border: 0;
		padding: 0;
		min-width: 0;
	}
	.site-nav ul {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		gap: 0.85rem;
	}
	.site-nav > ul > li { flex: 0 0 auto; }
	.site-nav > ul > li > a {
		padding: 0.3rem 0;
		white-space: nowrap;
		font-size: 0.92rem;
	}
	.site-nav .btn {
		margin: 0 0 0 0.15rem;
		padding: 0.62rem 0.95rem;
		font-size: 0.92rem;
		white-space: nowrap;
	}
	.hero-grid {
		grid-template-columns: 1.05fr 0.95fr;
		align-items: center;
		gap: 1.15rem;
		padding-top: 1rem;
	}
	.hero-grid.is-text { grid-template-columns: min(40rem, 100%); }
	.hero-photos { aspect-ratio: 4 / 3; }
	.split { grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; }
	.principles, .cards, .steps { grid-template-columns: repeat(3, 1fr); }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(5, 1fr); }
	.steps li { padding: 1rem 0.9rem 1rem 0.9rem; text-align: center; }
	.steps li::before { position: static; margin: 0 auto 0.55rem; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 859px) {
	.header-bar {
		flex-wrap: wrap;
		min-height: 0;
		align-items: center;
	}
	.site-nav {
		position: static;
		inset: auto;
		width: 100%;
		max-height: calc(100dvh - 10.5rem);
		padding-bottom: 0.8rem;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.site-nav a { padding: 0.32rem 0.2rem; }
	.site-nav ul { gap: 0.1rem; }
	.site-nav a.btn {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		margin-top: 0.35rem;
		padding: 0.85rem 1.1rem;
		text-align: center;
		white-space: normal;
	}
	.call-item { display: block; }
}

.card h2 a,
.card h3 a {
	color: var(--olive);
	text-decoration: none;
}
#ypiresies h2,
#ypiresies .card h2 a,
#ypiresies .card h3 a,
.syndrasi-services .page-hero h1,
.syndrasi-services .prose h2,
.syndrasi-guides .prose h2 {
	color: var(--terra);
}
.services-lead { max-width: 46rem; }

.page-hero {
	background:
		radial-gradient(circle at 88% 0%, rgba(124, 110, 44, 0.2), transparent 42%),
		linear-gradient(180deg, #efe6d4 0%, var(--paper) 100%);
	padding: 2.4rem 0 0.6rem;
}
.page-hero h1 { margin: 0; max-width: 16ch; }
.section { padding-bottom: 3rem; }

.prose > p:first-of-type {
	font-size: 1.2rem;
	line-height: 1.55;
	color: var(--olive);
}
.prose h2 { margin-top: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.page-cta { margin-top: 1.6rem; }

.news-grid {
	display: grid;
	gap: 1rem;
}
.news-card time,
.page-hero time {
	display: block;
	color: var(--gold);
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 0.45rem;
}
.news-card h2,
.news-card h3 { margin-bottom: 0.45rem; }
.news-card h2 a,
.news-card h3 a { color: var(--olive); text-decoration: none; }
.news-kicker { margin: 0 0 0.4rem; }
.news-kicker a { color: var(--terra); font-weight: 700; text-decoration: none; }
@media (min-width: 860px) {
	.news-grid { grid-template-columns: repeat(3, 1fr); }
}

.page-figure {
	margin: 0 0 1.4rem;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.page-figure img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.block {
	background: var(--card);
	border-radius: var(--radius);
	padding: 1.15rem 1.2rem 0.35rem;
	margin: 0 0 1rem;
	box-shadow: var(--shadow);
	border-top: 4px solid var(--gold);
}
.block .acc { box-shadow: none; background: #fbf7f1; }

.pull {
	font-family: Manrope, "Noto Sans", sans-serif;
	font-size: 1.35rem;
	line-height: 1.35;
	color: var(--olive);
	border-left: 4px solid var(--terra);
	padding: 0.15rem 0 0.15rem 1rem;
	margin-top: 1.4rem;
}

.prose > ul:not(.principles) {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}
.prose > ul:not(.principles) li {
	background: var(--card);
	border-radius: 14px;
	padding: 0.75rem 0.95rem;
	box-shadow: var(--shadow);
	margin: 0;
}

@media (min-width: 860px) {
	.prose.has-photo .page-figure {
		float: right;
		width: 280px;
		margin: 0 0 1.4rem 2rem;
	}
	.prose.has-photo .page-figure img { height: 360px; }
	.prose.has-photo .acc,
	.prose.has-photo .block,
	.prose.has-photo .inpage,
	.prose.has-photo .page-cta {
		clear: both;
	}
	.prose > ul:not(.principles) { grid-template-columns: 1fr 1fr; }
}

.inpage ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0 0 1.4rem;
}
.inpage a {
	display: inline-block;
	background: var(--card);
	color: var(--olive);
	text-decoration: none;
	border-radius: 999px;
	padding: 0.45rem 0.8rem;
	font-size: 0.82rem;
	font-weight: 650;
}

.acc {
	background: var(--card);
	border-radius: 16px;
	margin: 0 0 0.7rem;
	box-shadow: var(--shadow);
}
.acc summary {
	cursor: pointer;
	padding: 0.95rem 1.1rem;
	font-weight: 700;
	color: var(--olive);
}
.acc p, .acc ul { padding: 0 1.1rem; }
.prose .acc > p {
	margin: 0;
	padding: 0 1.1rem 1rem;
}
.prose .acc > ul {
	margin: 0;
	padding: 0 1.1rem 0.6rem 2.6rem;
	list-style-position: outside;
}
.acc p:last-child, .acc ul:last-child { padding-bottom: 1.1rem; }

.legal-note, .map-note {
	background: #f6efe4;
	border-radius: 16px;
	padding: 0.9rem 1rem;
	color: var(--terra);
	font-weight: 700;
}
.contact-form { margin-top: 1.5rem; }
.wpcf7 label { display: block; font-weight: 650; margin: 0.8rem 0 0.3rem; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 0.75rem 0.85rem;
	font: inherit;
	background: #fff;
}
.wpcf7 textarea { min-height: 140px; }
.wpcf7 input[type="submit"] {
	margin-top: 0.8rem;
	border: 0;
	background: var(--terra);
	color: #fff;
	border-radius: 999px;
	padding: 0.85rem 1.25rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.has-sub > ul { display: none; list-style: none; margin: 0; padding: 0.4rem 0 0.4rem 0.8rem; }
body.nav-open .has-sub > ul { display: grid; gap: 0.2rem; }
.has-sub > ul a { font-size: 0.92rem; font-weight: 600; }

@media (min-width: 860px) {
	.has-sub { position: relative; }
	.has-sub > ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 280px;
		background: #fff;
		border-radius: 16px;
		box-shadow: var(--shadow);
		padding: 0.6rem;
		z-index: 40;
	}
	.has-sub:hover > ul,
	.has-sub:focus-within > ul { display: grid; }
	.has-sub > ul a { padding: 0.45rem 0.55rem; }
	.prose .cards { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-photos img { transition: none; }
}
