/* Certified Independent Appraisers */
:root {
	--ink: #23292e;
	--text: #3a4147;
	--muted: #5d656c;
	--gold: #927923;
	--gold-text: #7a6519;
	--gold-soft: #f6f1e2;
	--band: #f4f4f2;
	--line: #e3e3df;
	--white: #ffffff;
	--max: 1120px;
	--radius: 10px;
}

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

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

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(32px, 4.5vw, 46px); }
h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 1.6em; }
h3 { font-size: 21px; margin-top: 1.4em; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 20; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.lead { font-size: 21px; color: var(--muted); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 22px; border-radius: 999px;
	font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none;
	border: 2px solid var(--ink); background: var(--ink); color: var(--white);
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--gold-text); border-color: var(--gold-text); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.logo { flex: none; }
.logo img { width: 190px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 30px; }
.main-nav a { color: var(--ink); font-size: 16px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--gold-text); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.main-nav .header-call { padding: 10px 18px; color: var(--white); border: 2px solid var(--ink); }
.main-nav .header-call:hover { color: var(--white); border-color: var(--gold-text); }

.nav-toggle {
	display: none; font: inherit; font-size: 16px; font-weight: 600;
	background: none; border: 1px solid var(--line); border-radius: 999px;
	padding: 8px 16px; color: var(--ink); cursor: pointer;
}

/* Page sections */
.page-head { background: var(--band); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 0.3em; }
.page-head .lead { margin: 0; max-width: 760px; }
.section { padding: 72px 0; }
.section-alt { background: var(--band); }
.section-title { margin-top: 0; }
.section-intro { color: var(--muted); max-width: 720px; margin-bottom: 36px; }

/* Home hero */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, var(--band), var(--white)); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.hero p { font-size: 19px; }
.hero-media img { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(35, 41, 46, 0.14); }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-top: 0; font-size: 20px; }
.card p:last-child { margin-bottom: 0; }
.card-link { font-weight: 600; font-size: 16px; }

.purpose-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.purpose-list li { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0; padding: 18px 20px; font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.5; }

.check-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.check-list li { position: relative; padding-left: 36px; margin-bottom: 14px; }
.check-list li::before {
	content: ""; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6519' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.content ul:not([class]) { padding-left: 1.2em; }
.content ul:not([class]) li { margin-bottom: 0.5em; }
.content ul:not([class]) ul { margin-top: 0.5em; }

/* USPAP band */
.standard { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--gold-soft); border-radius: var(--radius); padding: 36px 40px; }
.standard-badge { width: 72px; height: 72px; border-radius: 50%; background: var(--white); display: grid; place-items: center; border: 2px solid var(--gold); }
.standard-badge svg { width: 34px; height: 34px; }
.standard p { margin: 0; }
.standard h2 { margin: 0 0 0.3em; font-size: 24px; }

/* Approaches page */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.jump a:hover { border-color: var(--gold); color: var(--gold-text); }
.approach { scroll-margin-top: 110px; }
.approach + .approach { border-top: 1px solid var(--line); padding-top: 8px; }
.method-card ul { margin: 0; padding-left: 1.1em; }
.method-card li { margin-bottom: 0.5em; font-size: 17px; }

/* Contact */
.contact-card { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; }
.contact-icon svg { width: 24px; height: 24px; }
.contact-card .label { font-size: 15px; color: var(--muted); margin: 0 0 2px; }
.contact-card .value { font-size: 22px; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.contact-card .value a { color: var(--ink); text-decoration: none; }
.contact-card .value a[data-email] { font-size: 18px; }
.contact-card .value a:hover { color: var(--gold-text); text-decoration: underline; }
.contact-card .note { font-size: 15px; color: var(--muted); margin: 6px 0 0; }

/* Call to action band */
.cta { background: var(--ink); color: #d9dcdf; padding: 64px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta h2 { color: var(--white); margin: 0 0 0.3em; }
.cta p { margin: 0; max-width: 620px; }
.cta .btn { background: var(--gold-text); border-color: var(--gold-text); color: var(--white); }
.cta .btn:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.cta .btn-outline { background: transparent; border-color: #8a9096; }
.cta .btn-row { margin-top: 0; }

/* Footer */
.site-footer { background: #1b2024; color: #b9bec2; font-size: 16px; padding: 56px 0 28px; }
.site-footer a { color: #e6e8ea; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: inline-block; background: var(--white); border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; }
.footer-logo img { width: 160px; }
.site-footer h2 { color: var(--white); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #343b41; margin-top: 40px; padding-top: 22px; font-size: 14px; }

@media (max-width: 980px) {
	.hero .wrap { grid-template-columns: 1fr; gap: 36px; }
	.hero-media { max-width: 640px; }
	.grid-3, .purpose-list { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.site-header .wrap { flex-wrap: wrap; min-height: 76px; padding-top: 12px; padding-bottom: 12px; }
	.logo img { width: 160px; }
	.nav-toggle { display: inline-block; }
	.main-nav { flex-basis: 100%; display: none; padding-bottom: 8px; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.main-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--gold-text); }
	.main-nav li:last-child { padding-top: 14px; }
	.main-nav .header-call { display: flex; justify-content: center; border-bottom: 2px solid var(--ink); }
}

@media (max-width: 640px) {
	body { font-size: 17px; }
	.wrap { padding: 0 16px; }
	.hero { padding: 44px 0 56px; }
	.page-head { padding: 44px 0 40px; }
	.section { padding: 52px 0; }
	.lead { font-size: 19px; }
	.grid-2, .grid-3, .purpose-list, .footer-grid { grid-template-columns: 1fr; }
	.standard { grid-template-columns: 1fr; padding: 28px 24px; }
	.btn-row .btn { flex: 1 1 100%; justify-content: center; }
	.cta { padding: 48px 0; }
}
