/* =====================================================================
   Vanaswara type + colour system
   Headings: Fraunces (soft organic serif, pairs with the logo wordmark)
   Body/UI:  Source Serif 4 (text serif with optical sizes, legible at small sizes)
   Palette:  forest green from the logo, warm ochre accent from the photos
   ===================================================================== */

:root {
	--vs-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--vs-font-body: "Source Serif 4", "Iowan Old Style", Charter, Georgia, "Times New Roman", serif;
	--vs-green-900: #1f3320;
	--vs-green-800: #2d452c; /* logo green */
	--vs-green-600: #4a6b47;
	--vs-ochre: #b8863b;
	--vs-ochre-dark: #94692a;
	--vs-ink: #2a2c28;
	--vs-text: #3d403a;
	--vs-muted: #6b7066;
	--vs-cream: #f6f3ec;
	/* Fixed header height: anchors and sticky bars read it (owned here, nobody else redefines it) */
	--vs-header-h: 135px;
}
@media (max-width: 991px) {
	:root { --vs-header-h: 103px; }
}
@media (orientation: landscape) and (max-height: 500px) {
	:root { --vs-header-h: 56px; }
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--vs-header-h, 110px) + 8px); }
body {
	font-family: var(--vs-font-body);
	font-size: 16px;
	line-height: 1.7;
	font-weight: 400;
	color: var(--vs-text);
	text-rendering: optimizeLegibility;
}
p, li, dd, td, th, input, textarea, select, button, label { font-family: var(--vs-font-body); }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 600; }
small, .small { font-size: 0.875em; }
.lead, p.lead { font-size: 19px; line-height: 1.65; font-weight: 300; color: var(--vs-ink); }

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6,
.main_title, h1.main_title, h2.main_title, h3.main_title,
#sub_header h1, .parallax-window #subheader h1,
.promo_full_wp div h3, h3.slide_typo, .slide_typo_2 {
	font-family: var(--vs-font-display);
	font-optical-sizing: auto;
	color: var(--vs-ink);
	letter-spacing: -0.005em;
	line-height: 1.2;
}
h1 { font-size: clamp(32px, 22.4px + 2.4vw, 52px); font-weight: 600; }
h2 { font-size: clamp(28px, 20.8px + 1.8vw, 42px); font-weight: 600; }
h3 { font-size: clamp(22px, 18.4px + 0.9vw, 30px); font-weight: 500; }
h4 { font-size: 21px; font-weight: 500; }
h5 { font-size: 18px; font-weight: 500; }
h6 { font-size: 16px; font-weight: 600; }

/* Serif display reads better in title case than all caps */
h1.text-uppercase, h2.text-uppercase, h3.text-uppercase, h4.text-uppercase,
h1.main_title, h2.main_title, h3.main_title, .promo_full_wp div h3, h3.slide_typo {
	text-transform: none;
}
h1.main_title, h2.main_title {
	color: var(--vs-green-800);
	font-weight: 600;
	font-size: clamp(32px, 22.4px + 2.2vw, 48px);
}
h3.main_title { color: var(--vs-green-800); font-weight: 500; }
h1.main_title span, h2.main_title span, h3.main_title span {
	font-family: var(--vs-font-body);
	font-weight: 300;
	font-size: 18px;
	letter-spacing: 0;
	color: var(--vs-text);
	margin-top: 0.4em;
}
h1.main_title em, h2.main_title em { background-color: var(--vs-ochre); height: 3px; width: 48px; margin-top: 14px; }

/* Headings on photos stay white */
h3.slide_typo, .slide_typo_2, .promo_full_wp div h3, .promo_full_wp div h3 span,
#sub_header h1, .parallax-window #subheader h1, .parallax-content-1 h1, .parallax-content-1 h3 {
	color: #fff !important;
}
h3.slide_typo { font-weight: 600; letter-spacing: -0.01em; }
.slide_typo_2 { font-family: var(--vs-font-body); font-weight: 400; letter-spacing: 0.02em; }

/* ---------- Navigation ---------- */
.main-menu > ul > li > a,
.main-menu ul ul li a {
	font-family: var(--vs-font-body);
	font-weight: 500;
	letter-spacing: 0.08em;
	font-size: 13px;
}
.main-menu ul ul li a { letter-spacing: 0.04em; font-weight: 400; }

/* ---------- Links + buttons (replace template orange) ---------- */
a { color: var(--vs-green-600); }
a:hover, a:focus { color: var(--vs-ochre-dark); }
/* Links inside running text are told apart by more than colour */
.lead a, p a:not(.btn_1) { text-decoration: underline; text-underline-offset: 2px; }
a.btn_1, .btn_1, button.btn_1, input.btn_1 {
	font-family: var(--vs-font-body);
	background: var(--vs-green-800);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 12px 26px;
	border-radius: 999px;
}
a.btn_1:hover, .btn_1:hover, a.btn_1:focus, .btn_1:focus { background: var(--vs-ochre); color: #fff; }
a.btn_1.white, .btn_1.white { background: #fff; color: var(--vs-green-800); }
a.btn_1.white:hover, .btn_1.white:hover { background: var(--vs-ochre); color: #fff; }
.btn_1:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--vs-ochre); outline-offset: 3px; }

/* ---------- Footer ---------- */
footer h3, #footer h3, footer h4 { font-family: var(--vs-font-display); font-weight: 500; color: #fff; }
footer, footer p, footer a { font-family: var(--vs-font-body); }

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
	body { font-size: 15.5px; }
	.lead, p.lead { font-size: 17px; }
	h3.slide_typo { white-space: normal; }
	/* Justified text makes rivers in narrow columns */
	.text-justify { text-align: left; }
}

/* Keep the 9-item desktop menu on one line */
@media (min-width: 992px) {
	.main-menu > ul > li > a { padding-left: 8px; padding-right: 8px; letter-spacing: 0.05em; }
}
@media (min-width: 992px) and (max-width: 1399px) {
	.main-menu > ul > li > a { font-size: 12px; padding-left: 6px; padding-right: 6px; letter-spacing: 0.04em; }
}
@media (min-width: 992px) and (max-width: 1199px) {
	.main-menu > ul > li > a { font-size: 11.5px; padding-left: 4px; padding-right: 4px; letter-spacing: 0.02em; }
}

/* Home intro title: real <h1> for SEO, styled like the former h3 */
h1.vs-home-title { font-size: clamp(28px, 22.4px + 1.2vw, 36px); font-weight: 600; margin: 0 0 14px; color: inherit; }
h1.vs-home-title span { display: block; margin-top: 6px; font-family: var(--vs-font-body); font-size: 15px; font-weight: 400; letter-spacing: 0.04em; opacity: 0.9; }

/* Footer contact (also keeps visible content in step with the structured data) */
.vs-footer-contact { font-style: normal; margin: 14px 0 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.vs-footer-contact a { color: #fff; align-self: flex-start; }
@media (max-width: 991px), (pointer: coarse) {
	.vs-footer-contact { gap: 0; }
	.vs-footer-contact a { display: inline-block; padding: 10px 0; line-height: 24px; }
}
@media (max-width: 991px) {
	.vs-footer-contact { margin-bottom: 28px; }
}
.vs-footer-contact a:hover, .vs-footer-contact a:focus { color: #d9b77a; }

/* Footer: photo fills the full width at every screen size, with a forest-green wash for legibility */
footer {
	position: relative;
	background-color: var(--vs-green-900);
	background-image:
		linear-gradient(180deg, rgba(20, 34, 21, 0.72) 0%, rgba(20, 34, 21, 0.86) 100%),
		url(../img/promo_bg.jpg);
	background-image:
		linear-gradient(180deg, rgba(20, 34, 21, 0.72) 0%, rgba(20, 34, 21, 0.86) 100%),
		image-set(url(../img/promo_bg-900.webp) type("image/webp"), url(../img/promo_bg.jpg) type("image/jpeg"));
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
/* Phones: the green wash alone, no 1.1 MB photo behind a column that is mostly text */
@media (max-width: 767px) {
	footer {
		background-image: linear-gradient(180deg, rgba(20, 34, 21, 0.72) 0%, rgba(20, 34, 21, 0.86) 100%);
	}
}
#copy {
	font-size: 14px;
	background-color: #142215;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.65);
}
