/* Vivara Architectural Edition: a quiet editorial layer over the existing WP templates. */
:root {
	--va-dark: #142124;
	--va-dark-2: #1d2b2d;
	--va-ivory: #f3f0e8;
	--va-white: #fff;
	--va-bronze: #b48b69;
	--va-sage: #6e786d;
	--va-ink: #192326;
	--va-muted: #586260;
	--va-rule: rgba(25, 35, 38, .16);
	--va-rule-light: rgba(243, 240, 232, .2);
	--va-serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
	--va-sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

body,
button,
input,
select,
textarea {
	font-family: var(--va-sans);
}

body {
	background: var(--va-ivory);
	color: var(--va-ink);
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
}

h1, h2, h3, h4,
.brand-mark__name,
.landing-hero h1,
.landing-section h2,
.landing-cta h2,
.page-hero h1,
.content-block h2 {
	font-family: var(--va-serif);
	font-weight: 400;
}

.site-header--landing {
	background: linear-gradient(180deg, rgba(20, 33, 36, .78), rgba(20, 33, 36, 0));
	border-bottom: 1px solid rgba(255, 255, 255, .16);
	box-shadow: none;
}

.site-header--landing .site-header__inner {
	max-width: 1440px;
	min-height: 88px;
	padding-inline: clamp(1.25rem, 5vw, 4.75rem);
}

.brand-mark__symbol { width: 48px; height: 48px; }
.site-header--landing .brand-mark__name,
.site-header--landing .brand-mark__meta,
.site-header--landing .menu-list a { color: rgba(255, 255, 255, .94); }
.site-header--landing .menu-list a::after { background: var(--va-bronze); }

.landing-hero {
	min-height: min(920px, 100svh);
	padding: clamp(8rem, 16vh, 11rem) clamp(1.25rem, 7vw, 7rem) clamp(4.5rem, 10vh, 7rem);
	align-items: end;
	background: var(--va-dark);
	overflow: hidden;
}

.landing-hero__media img { object-position: 58% center; }
.landing-hero__overlay {
	background: linear-gradient(90deg, rgba(20, 33, 36, .86) 0%, rgba(20, 33, 36, .38) 48%, rgba(20, 33, 36, .1) 100%);
}

.landing-hero__content { max-width: 760px; text-align: left; }
.landing-kicker {
	font-family: var(--va-sans);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .2em;
	line-height: 1.3;
	text-transform: uppercase;
}
.landing-hero h1 {
	max-width: 11ch;
	font-size: clamp(3.4rem, 7.7vw, 8.6rem);
	line-height: .9;
	letter-spacing: -.055em;
	text-wrap: balance;
}
.landing-hero p:last-of-type {
	max-width: 39rem;
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	line-height: 1.55;
}
.landing-actions { justify-content: flex-start; gap: .7rem; }
.landing-button {
	min-height: 50px;
	border: 1px solid transparent;
	border-radius: 0;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.landing-button:hover { transform: translateY(-2px); }
.landing-button--light { background: var(--va-ivory); color: var(--va-dark); }
.landing-button--light:hover { background: var(--va-white); }
.landing-button--ghost { border-color: rgba(255,255,255,.55); background: transparent; color: var(--va-white); }
.landing-button--ghost:hover { border-color: var(--va-white); background: rgba(255,255,255,.1); }
.landing-button--dark { background: var(--va-dark); color: var(--va-ivory); }
.landing-button--dark:hover { background: var(--va-bronze); color: var(--va-white); }

.landing-section {
	width: 100%;
	max-width: none;
	padding: clamp(5rem, 10vw, 10rem) max(1.25rem, calc((100vw - 1320px) / 2));
}
.landing-section h2,
.landing-cta h2 {
	max-width: 12ch;
	font-size: clamp(2.7rem, 5.5vw, 6.2rem);
	line-height: .94;
	letter-spacing: -.055em;
	text-wrap: balance;
}
.landing-section__split { max-width: 1320px; margin-inline: auto; gap: clamp(2rem, 8vw, 9rem); }
.landing-section__split > p { max-width: 34rem; margin-top: .8rem; color: var(--va-muted); font-size: 1.08rem; }
.landing-section--features,
.landing-section--search-intent,
.landing-section--value,
.landing-section--fit,
.landing-section--guides,
.landing-section--faq { background: var(--va-ivory); }
.landing-section--investor,
.landing-section--service,
.landing-section--process,
.landing-section--reference,
.landing-section--case-studies { background: var(--va-dark); color: var(--va-ivory); }
.landing-section--investor h2,
.landing-section--service h2,
.landing-section--process h2,
.landing-section--reference h2,
.landing-section--case-studies h2 { color: var(--va-ivory); }
.landing-section--investor .landing-section__split > p,
.landing-section--service .landing-section__split > p,
.landing-section--process .landing-section__split > p,
.landing-section--reference .landing-section__split > p,
.landing-section--case-studies .landing-section__split > p { color: rgba(243,240,232,.7); }
.landing-kicker--dark { color: var(--va-bronze); }

.landing-features,
.landing-investor-grid,
.landing-process-grid,
.landing-service-grid,
.landing-search-grid,
.landing-value-grid,
.landing-fit-grid,
.landing-case-studies { max-width: 1320px; margin-inline: auto; }
.landing-features { margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--va-rule); }
.landing-feature {
	min-height: 260px;
	padding: 2rem 1.5rem 2.2rem 0;
	border-bottom: 1px solid var(--va-rule);
	background: transparent;
	box-shadow: none;
}
.landing-feature:hover { transform: none; background: rgba(180,139,105,.08); }
.landing-feature h3,
.landing-investor-card h3,
.landing-process-card h3,
.landing-service-card h3,
.landing-search-card h3,
.landing-value-card h3,
.landing-fit-card h3 { font-family: var(--va-serif); font-size: clamp(1.45rem, 2.3vw, 2.35rem); font-weight: 400; letter-spacing: -.03em; }
.landing-feature__number { color: var(--va-bronze); }
.landing-feature__icon { opacity: .7; }

.landing-investor-grid,
.landing-process-grid { gap: 1px; margin-top: clamp(3rem, 7vw, 6rem); background: var(--va-rule-light); }
.landing-investor-card,
.landing-process-card { min-height: 260px; padding: clamp(1.5rem, 3vw, 2.75rem); border: 0; border-radius: 0; background: var(--va-dark-2); }
.landing-investor-card p,
.landing-process-card p { color: rgba(243,240,232,.7); }
.landing-service-showcase,
.landing-sales-showcase,
.landing-case-study { border-radius: 0; }
.landing-service-showcase { margin-top: clamp(3rem, 7vw, 6rem); background: #0c1719; box-shadow: 0 2rem 5rem rgba(0,0,0,.2); }
.landing-service-showcase__image img,
.landing-sales-showcase__image img,
.landing-case-study__image img { filter: saturate(.84) contrast(1.04); }
.landing-service-card,
.landing-search-card,
.landing-value-card,
.landing-fit-card { border-radius: 0; box-shadow: none; }
.landing-inline-link { text-decoration-color: var(--va-bronze); text-underline-offset: .25em; }
.landing-reference-gallery,
.landing-cta { border-radius: 0; }
.landing-reference-card__image img { transition: transform .6s ease; }
.landing-reference-card:hover .landing-reference-card__image img { transform: scale(1.04); }

.contact-band,
.landing-section--cta { width: 100%; max-width: none; margin: 0; }
.landing-section--cta { background: var(--va-dark); }
.landing-cta { max-width: 1320px; margin-inline: auto; padding: clamp(2rem, 5vw, 5rem); border: 1px solid var(--va-rule-light); background: var(--va-dark-2); }
.landing-cta h2 { color: var(--va-ivory); }
.landing-cta p { max-width: 42rem; color: rgba(243,240,232,.72); }

.site-footer--landing { width: 100%; max-width: none; margin: 0; background: #0d1719; color: var(--va-ivory); }
.site-footer__landing,
.site-footer__bottom { max-width: 1320px; margin-inline: auto; }
.site-footer__landing { padding-block: clamp(4rem, 8vw, 8rem); }
.site-footer__bottom { border-top-color: rgba(243,240,232,.18); }
.site-footer__eyebrow { color: var(--va-bronze); }

/* Secondary pages inherit the same editorial typography without touching their content. */
.page-hero,
.main-content,
.content-block,
.editorial-section,
.featured-layout,
.materials-section,
.process-section,
.contact-band { max-width: 1320px; }
.page-hero { padding-top: clamp(8rem, 13vw, 12rem); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 7rem); line-height: .94; }
.content-block h2,
.editorial-section h2,
.featured-layout h2,
.materials-section h2,
.process-section h2,
.contact-band h2 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: .96; }

@media (max-width: 760px) {
	.site-header--landing .site-header__inner { min-height: 72px; }
	.brand-mark__symbol { width: 42px; height: 42px; }
	.brand-mark__name { font-size: 1.35rem; }
	.brand-mark__meta { max-width: 18ch; font-size: .64rem; }
	.landing-hero { min-height: 760px; padding: 8.5rem 1.25rem 4rem; }
	.landing-hero__media img { object-position: 64% center; }
	.landing-hero__media img { transform: none; }
	.landing-hero__overlay { background: linear-gradient(180deg, rgba(20,33,36,.18) 20%, rgba(20,33,36,.86) 78%); }
	.landing-hero h1 { max-width: 10ch; font-size: clamp(2.8rem, 13vw, 4.5rem); line-height: .94; }
	.landing-hero p:last-of-type { font-size: 1rem; }
	.landing-actions { flex-direction: column; align-items: stretch; max-width: 22rem; }
	.landing-button { width: 100%; justify-content: center; }
	.landing-section { padding-block: 5rem; }
	.landing-section h2, .landing-cta h2 { max-width: 13ch; font-size: clamp(2.45rem, 11vw, 4rem); }
	.landing-section__split { gap: 1.5rem; }
	.landing-section__split > p { font-size: 1rem; }
	.landing-feature { min-height: 0; padding-right: 0; }
	.landing-cta { padding: 2rem 1.25rem; }
}

@media (max-width: 1100px) {
	.site-header--landing.is-menu-open .header-nav--primary .menu-list a,
	.site-header--landing.is-menu-open .header-nav--primary .menu-list a:visited {
		color: var(--va-ink);
	}
	.site-header--landing.is-menu-open .header-nav--primary .menu-list a::after { background: var(--va-bronze); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
